Ulrich Drepper [Wed, 7 Jan 2009 23:45:39 +0000 (23:45 +0000)]
(in_flight_stack): New variable. (stack_list_del): New function. Use instead of list_del. (stack_list_add): New function. Use instead of list_add when adding to stack_cache and stack_used lists. (__reclaim_stacks): Complete operations on stack_cache and stack_used lists when the fork call interrupted another thread.
Roland McGrath [Wed, 7 Jan 2009 01:59:43 +0000 (01:59 +0000)]
* sysdeps/mach/hurd/Makefile (sysdep_headers) [subdir=socket]:
Add net/ethernet.h net/if_arp.h net/if_ether.h net/if_ppp.h
net/route.h.
* hurd/report-wait.c (describe_number): Use __stpcpy to prepend
flavor to description only when flavor is not NULL.
* hurd/hurdsig.c (signal_allowed): Unlock _hurd_dtable_lock
mutex after SIGIO/SIGURG lookup loop.
Roland McGrath [Wed, 7 Jan 2009 01:59:26 +0000 (01:59 +0000)]
2009-01-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
* hurd/report-wait.c (describe_number): Use __stpcpy to prepend
flavor to description only when flavor is not NULL.
Ulrich Drepper [Sun, 4 Jan 2009 18:10:04 +0000 (18:10 +0000)]
* init.c (__pthread_initialize_minimal_internal): Optimize test
FUTEX_CLOCK_REALTIME a bit.
Ulrich Drepper [Sat, 3 Jan 2009 23:18:50 +0000 (23:18 +0000)]
(__lll_timedlock_wait): Use FUTEX_WAIT_BITSET|FUTEX_CLOCK_REALTIME
Use FUTEX_WAIT_BITSET|FUTEX_CLOCK_REALTIME instead of computing
Ulrich Drepper [Sat, 3 Jan 2009 23:18:34 +0000 (23:18 +0000)]
* init.c (__pthread_initialize_minimal_internal): Cheat a bit by
only passing five parameters to FUTEX_WAIT_BITSET call.
* sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S
(__lll_timedlock_wait): Use FUTEX_WAIT_BITSET|FUTEX_CLOCK_READTIME
instead of computing relative timeout.
Ulrich Drepper [Sat, 3 Jan 2009 23:17:21 +0000 (23:17 +0000)]
(__lll_timedlock_wait): Use FUTEX_WAIT_BITSET|FUTEX_CLOCK_READTIME instead of computing relative timeout.
Roland McGrath [Sat, 3 Jan 2009 21:04:07 +0000 (21:04 +0000)]
* bits/resource.h (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Add macros.
Roland McGrath [Sat, 3 Jan 2009 21:04:01 +0000 (21:04 +0000)]
2009-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
* bits/resource.h (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Add macros.
Ulrich Drepper [Sat, 3 Jan 2009 20:36:44 +0000 (20:36 +0000)]
* sysdeps/unix/sysv/linux/i386/sysdep.h: Describe 6th argument
handling.
Ulrich Drepper [Sat, 3 Jan 2009 05:06:46 +0000 (05:06 +0000)]
* init.c (__pthread_initialize_minimal_internal): Check for
FUTEX_CLOCK_REALTIME flag.
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.S (__lll_timedlock_wait):
Use FUTEX_WAIT_BITSET|FUTEX_CLOCK_READTIME instead of computing
relative timeout.
Ulrich Drepper [Sat, 3 Jan 2009 03:45:07 +0000 (03:45 +0000)]
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Define
FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
* sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
Ulrich Drepper [Sat, 3 Jan 2009 01:52:29 +0000 (01:52 +0000)]
* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_FUTEX_CLOCK_REALTIME): Define.
Ulrich Drepper [Fri, 2 Jan 2009 19:28:55 +0000 (19:28 +0000)]
* wcsmbs/wcsnrtombs.c (__wcsnrtombs): Create temporary state object
if no output is written.
Ulrich Drepper [Fri, 2 Jan 2009 19:22:24 +0000 (19:22 +0000)]
* version.h: Bump to 2.10 development.
Ulrich Drepper [Fri, 2 Jan 2009 08:47:18 +0000 (08:47 +0000)]
* posix/getconf.c: Update copyright year.
* nss/getent.c: Likewise.
* iconv/iconvconfig.c: Likewise.
* iconv/iconv_prog.c: Likewise.
* elf/ldconfig.c: Likewise.
* catgets/gencat.c: Likewise.
* csu/version.c: Likewise.
* elf/ldd.bash.in: Likewise.
* elf/sprof.c (print_version): Likewise.
* locale/programs/locale.c: Likewise.
* locale/programs/localedef.c: Likewise.
* nscd/nscd.c (print_version): Likewise.
* debug/xtrace.sh: Likewise.
* malloc/memusage.sh: Likewise.
* malloc/mtrace.pl: Likewise.
* debug/catchsegv.sh: Likewise.
Ulrich Drepper [Wed, 31 Dec 2008 14:58:14 +0000 (14:58 +0000)]
* locales/iso14651_t1_common: Fix sorting of U+0AB3.
Patch by Pravin Satpute <psatpute@redhat.com>.
Ulrich Drepper [Tue, 30 Dec 2008 16:49:30 +0000 (16:49 +0000)]
Patch by Pravin Satpute <psatpute@redhat.com>.
Ulrich Drepper [Tue, 30 Dec 2008 16:49:06 +0000 (16:49 +0000)]
* locales/i18n: Move Indic Matra characters to punct.
* locales/as_IN: Add support for internationalized digits.
* locales/bn_BD: Likewise.
* locales/bn_IN: Likewise.
* locales/gu_IN: Likewise.
* locales/hi_IN: Likewise.
* locales/kn_IN: Likewise.
* locales/ml_IN: Likewise.
* locales/mr_IN: Likewise.
* locales/or_IN: Likewise.
* locales/pa_IN: Likewise.
* locales/ta_IN: Likewise.
* locales/te_IN: Likewise.
Ulrich Drepper [Tue, 30 Dec 2008 02:18:00 +0000 (02:18 +0000)]
* iconvdata/Makefile (iconv-rules): Use LC_ALL=C when running awk
script.
Ulrich Drepper [Mon, 29 Dec 2008 23:47:07 +0000 (23:47 +0000)]
* sysdeps/posix/getaddrinfo.c (gaih_inet): When the
gethostbyname4_r function call succeeded, just leave the loop.
Ulrich Drepper [Mon, 29 Dec 2008 23:21:21 +0000 (23:21 +0000)]
* wctype/wctype.h: Get wint_t definition directly from <stddef.h>.
* wctype/Makefile (tests): Add bug-wctypeh.
* wctype/bug-wctypeh.c: New file.
Ulrich Drepper [Mon, 29 Dec 2008 23:01:38 +0000 (23:01 +0000)]
[BZ #9694]
* wcsmbs/wchar.h: Move undefs for local __need_* constants to the
very end.
Ulrich Drepper [Mon, 29 Dec 2008 20:56:13 +0000 (20:56 +0000)]
* nscd/nscd_gethst_r.c (nscd_gethst_r): Don't use nscd if
LOCALDOMAIN is defined.
* nscd/nscd_getai.c (__nscd_getai): Likewise.
Ulrich Drepper [Mon, 29 Dec 2008 20:16:11 +0000 (20:16 +0000)]
* sysdeps/x86_64/bits/select.h: New file.
Ulrich Drepper [Mon, 29 Dec 2008 19:53:48 +0000 (19:53 +0000)]
* resolv/res_init.c (__res_vinit): Count all servers in statp->nscount.
Ulrich Drepper [Fri, 26 Dec 2008 19:02:29 +0000 (19:02 +0000)]
[BZ #9677]
2008-12-21 Bruno Haible <bruno@clisp.org>
[BZ #9677]
* wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Create temporary state object
if no output is written.
Ulrich Drepper [Fri, 26 Dec 2008 18:59:44 +0000 (18:59 +0000)]
* tests-mbwc/tst_types.h (TIN)MBRLEN_REC): Use correct array
length constant.
Ulrich Drepper [Tue, 23 Dec 2008 16:50:07 +0000 (16:50 +0000)]
* login/utmp_file.c (pututline_file): Replace call to dup2 with
libc internal symbol __dup2 to avoid access through the PLT.
Ulrich Drepper [Fri, 12 Dec 2008 18:46:28 +0000 (18:46 +0000)]
* pthread_mutex_lock.c (__pthread_mutex_lock): Handle only the
fast path here, for robust/PI/PP mutexes call
__pthread_mutex_lock_full. Don't use switch, instead use a series
of ifs according to their probability.
(__pthread_mutex_lock_full): New function.
* pthread_mutex_unlock.c: Include assert.h.
(__pthread_mutex_unlock_usercnt): Handle only the
fast path here, for robust/PI/PP mutexes call
__pthread_mutex_unlock_full. Don't use switch, instead use a series
of ifs according to their probability.
(__pthread_mutex_unlock_full): New function.
* sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c
(__pthread_mutex_lock_full): Define.
Ulrich Drepper [Tue, 9 Dec 2008 23:25:02 +0000 (23:25 +0000)]
[BZ #6545]
* sysdeps/unix/sysv/linux/bits/socket.h (SCM_CREDENTIALS): Make
available only for __USE_GNU.
Ulrich Drepper [Tue, 9 Dec 2008 22:58:58 +0000 (22:58 +0000)]
[BZ #7058]
Ulrich Drepper [Tue, 9 Dec 2008 22:47:54 +0000 (22:47 +0000)]
* inet/Makefile (tests): Add tst-getni2.
* inet/tst-getni2.c: New file.
Ulrich Drepper [Tue, 9 Dec 2008 10:02:20 +0000 (10:02 +0000)]
[BZ #7080]
2008-12-08 Ulrich Drepper <drepper@redhat.com>
[BZ #7080]
* inet/getnameinfo.c (getnameinfo): Check for output buffers being
NULL when NI_NAMEREQD is set.
Patch mostly by Yang Hongyang <yanghy@cn.fujitsu.com>.
* inet/Makefile (tests): Add tst-getni1.
* inet/tst-getni1.c: New file.
Ulrich Drepper [Tue, 9 Dec 2008 05:24:37 +0000 (05:24 +0000)]
[BZ #7067]
2008-12-03 Petr Baudis <pasky@suse.cz>
[BZ #7067]
* nscd/connections.c (invalidate_cache): Use prune_run_lock
instead of prune_lock.
(nscd_run_prune): Before calling prune_cache, take prune_run_lock.
* nscd/nscd.h (database_dyn): Add prune_run_cache.
Ulrich Drepper [Mon, 8 Dec 2008 23:39:50 +0000 (23:39 +0000)]
Fix typo.
* inet/getnetgrent_r.c (setup): Encrypt static pointer.
Ulrich Drepper [Mon, 8 Dec 2008 23:30:25 +0000 (23:30 +0000)]
* sysdeps/x86_64/tls.h (tcbhead_t): Add fields reserved for TM
implementation. Add necessary padding and.
* descr.h (struct pthread): Increase padding for tcbhead_t to 24
words.
Ulrich Drepper [Mon, 8 Dec 2008 23:25:14 +0000 (23:25 +0000)]
(struct pthread): Increase padding for tcbhead_t to 24 words.
Jakub Jelinek [Mon, 8 Dec 2008 11:32:58 +0000 (11:32 +0000)]
Move 2 ChangeLog entries to correct ChangeLog.
2008-11-24 Arkadiusz MiĆkiewicz <arekm@maven.pl>
* sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use LOAD_PIC_REG
instead of doing things manually.
2008-11-26 Chris Steel <chris.steel.lnx@googlemail.com>
* posix/regex_internal.h (build_wcs_upper_buffer):
Return type is reg_error_t.
Ulrich Drepper [Mon, 8 Dec 2008 04:08:51 +0000 (04:08 +0000)]
* resolv/res_send.c (send_dg): Use correct guards for SOCK_CLOEXEC
use.
* sysdeps/unix/sysv/linux/kernel-features.h: Fix typo in accept4
handling.
Ulrich Drepper [Mon, 8 Dec 2008 03:59:18 +0000 (03:59 +0000)]
* resolv/res_init.c (__res_vinit): Always assign to statp->nscount
after reading name server list.
Ulrich Drepper [Sun, 7 Dec 2008 10:01:11 +0000 (10:01 +0000)]
* nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname4_r): Fix memory
handling for host name aliases.
Ulrich Drepper [Sat, 6 Dec 2008 06:05:54 +0000 (06:05 +0000)]
* posix/globtest.sh: Use mktemp to create temporary file and
directory.
Ulrich Drepper [Sat, 6 Dec 2008 05:40:29 +0000 (05:40 +0000)]
* sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S): Handle large
sets correctly.
(__CPU_CLR_S): Likewise.
(__CPU_ISSET_S): Likewise.
Ulrich Drepper [Sat, 6 Dec 2008 03:02:56 +0000 (03:02 +0000)]
* SUPPORTED (SUPPORTED-LOCALES): Add hne_IN.
Ulrich Drepper [Sat, 6 Dec 2008 02:13:20 +0000 (02:13 +0000)]
2008-12-05 Joseph Myers <joseph@codesourcery.com>
Ulrich Drepper <drepper@redhat.com>
* scripts/firstversion.awk: Use custom comparison function to compare
version numbers.
* scripts/versions.awk: Use sort invocation which can handle
multi-digit sub-version numbers.
Ulrich Drepper [Sat, 6 Dec 2008 00:15:34 +0000 (00:15 +0000)]
* sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use LOAD_PIC_REG
instead of doing things manually.
Ulrich Drepper [Sat, 6 Dec 2008 00:13:04 +0000 (00:13 +0000)]
* posix/regex_internal.h (build_wcs_upper_buffer):
Return type is reg_error_t.
Ulrich Drepper [Fri, 5 Dec 2008 22:05:24 +0000 (22:05 +0000)]
* sysdeps/unix/sysv/linux/sh/lowlevellock.h: Define FUTEX_WAIT_BITSET
and FUTEX_WAKE_BITSET.
Ulrich Drepper [Fri, 5 Dec 2008 03:26:21 +0000 (03:26 +0000)]
* locale/programs/ld-address.c (DEFINE_LANGUAGE_CODE2): Define.
* locale/iso-639.def: Add Chhattisgarhi entry.
Ulrich Drepper [Fri, 5 Dec 2008 03:25:18 +0000 (03:25 +0000)]
(DEFINE_LANGUAGE_CODE2): Define.
Roland McGrath [Wed, 3 Dec 2008 19:01:25 +0000 (19:01 +0000)]
2008-11-26 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Renamed to ...
* sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: ... here.
Ulrich Drepper [Wed, 3 Dec 2008 07:30:39 +0000 (07:30 +0000)]
* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Recognize
ESRCH return value.
(_nss_dns_gethostbyname4_r): Likewise.
* resolv/res_init.c (__res_vinit): Initialize nscount to zero.
* sysdeps/posix/getaddrinfo.c (gaih_inet): In case we use
gethostbyname4_r, we don't have a separate IPv6 status, so copy
the no_data variable.
Ulrich Drepper [Wed, 3 Dec 2008 05:20:19 +0000 (05:20 +0000)]
* resolv/res_init.c (__res_vinit): Fill in IPv4 name server
information at the correct index.
Ulrich Drepper [Wed, 3 Dec 2008 04:23:18 +0000 (04:23 +0000)]
* socket/sys/socket.h: Declare accept4.
* socket/accept4.c: New file.
* sysdeps/unix/sysv/linux/accept4.c: New file.
* sysdeps/unix/sysv/linux/i386/accept4.S: New file.
* socket/Makefile (routines): Add accept4.
* socket/Versions: Export accept4 with version GLIBC_2.10.
* socket/paccept.c: Removed.
* sysdeps/unix/sysv/linux/paccept.c: Removed.
* sysdeps/unix/sysv/linux/i386/paccept.S: Removed.
* Versions.def: Define GLIBC_2.10 for libc.
* sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_ACCEPT4.
* nscd/connections.c: Use accept4.
* sysdeps/unix/sysv/linux/i386/socket.S: Fix comment.
Ulrich Drepper [Tue, 2 Dec 2008 06:21:18 +0000 (06:21 +0000)]
* resolv/res_send.c (send_dg): Create sockets with non-blocking
flag already set.
Ulrich Drepper [Tue, 2 Dec 2008 02:27:43 +0000 (02:27 +0000)]
* stdlib/Makefile (tests): Add tst-unsetenv1.
* stdlib/tst-unsetenv1.c: New file.
Ulrich Drepper [Tue, 2 Dec 2008 01:40:59 +0000 (01:40 +0000)]
* stdlib/setenv.c (unsetenv): Don't search environment if it does
not exist.
Ulrich Drepper [Sun, 30 Nov 2008 06:56:27 +0000 (06:56 +0000)]
* login/utmp_file.c (file_writable): New variable.
(setutent_file): Don't try to open file for writing.
(pututline_file): Before writing, make descriptor writable if
necessary.
Ulrich Drepper [Thu, 27 Nov 2008 06:31:04 +0000 (06:31 +0000)]
* sysdeps/posix/getaddrinfo.c (getaddrinfo): Only restrict search
to IPv4 or IPv6 if an interface has been found.
Ulrich Drepper [Thu, 27 Nov 2008 00:25:32 +0000 (00:25 +0000)]
* sysdeps/posix/getaddrinfo.c (getaddrinfo): If the system has
neither IPv4 nor IPv6 addresses defined, don't do anything.
Ulrich Drepper [Wed, 26 Nov 2008 23:09:12 +0000 (23:09 +0000)]
Regenerated: autoconf configure.in
Roland McGrath [Wed, 26 Nov 2008 19:45:00 +0000 (19:45 +0000)]
* sysdeps/mach/strerror_l.c: New file.
Roland McGrath [Wed, 26 Nov 2008 19:20:20 +0000 (19:20 +0000)]
* sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Renamed to ...
* sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: ... here.
* sysdeps/unix/sysv/linux/alpha/wordexp.c: Renamed to ...
* sysdeps/unix/sysv/linux/ia64/wordexp.c: ... here.
* sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: Change #include.
Roland McGrath [Wed, 26 Nov 2008 09:15:38 +0000 (09:15 +0000)]
* elf/elf.h (NT_386_IOPERM): New macro.
(NT_PPC_VSX): New macro.
Roland McGrath [Wed, 26 Nov 2008 07:26:32 +0000 (07:26 +0000)]
Moved alpha to ports repository.
2008-11-25 Roland McGrath <roland@redhat.com>
* sysdeps/alpha, sysdeps/unix/bsd/osf/alpha,
sysdeps/unix/bsd/Attic/osf1/alpha, sysdeps/unix/sysv/linux/alpha,
sysdeps/unix/sysv/linux/alpha/alpha, sysdeps/unix/alpha,
sysdeps/mach/alpha, sysdeps/mach/hurd/alpha:
Subdirectories moved to ports repository.
* configure.in (base_machine): Remove alpha case.
Ulrich Drepper [Mon, 17 Nov 2008 14:13:14 +0000 (14:13 +0000)]
.
Ulrich Drepper [Mon, 17 Nov 2008 02:49:45 +0000 (02:49 +0000)]
[BZ #6411]
2008-11-13 Ryan S. Arnold <rsa@us.ibm.com>
[BZ #6411]
* sysdeps/powerpc/fpu/Makefile: Added test case tst-setcontext-fpscr.
* sysdeps/powerpc/fpu/feholdexcpt.c (_FPU_MASK_ALL): Define to replace
magic numbers.
* sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_register): Dynamically
choose mtfsf insn based on PPC_FEATURE_HAS_DFP.
(relax_fenv_state): Same as above.
(FPSCR_29): Reserve bit in ISA 2.05.
(FPSCR_NI): Provide define for compat.
* sysdeps/powerpc/fpu/fesetenv.c (_FPU_MASK_ALL): Define to replace
magic numbers.
* sysdeps/powerpc/fpu/feupdateenv.c (_FPU_MASK_ALL): Define to replace
magic numbers.
* sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: New file. Test case to
test setcontext and swapcontext with dynamic 64-bit FPSCR detection.
* sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Adjust
access to hwcap to account for hwcap size increase to uint64_t.
* sysdeps/powerpc/powerpc32/fpu/setjmp-common.S (__sigsetjmp ):
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
(*setcontext): Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
(*setcontext): dynamically select mtfsf insn based on
PPC_FEATURE_HAS_DFP. Adjust access to hwcap to account for hwcap size
increase to uint64_t.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
(*swapcontext): dynamically select mtfsf insn based on
PPC_FEATURE_HAS_DFP. Adjust access to hwcap to account for hwcap size
increase to uint64_t.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
(*setcontext): dynamically select mtfsf insn based on
PPC_FEATURE_HAS_DFP.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
(*swapcontext): dynamically select mtfsf insn based on
PPC_FEATURE_HAS_DFP.
Ulrich Drepper [Thu, 13 Nov 2008 21:41:41 +0000 (21:41 +0000)]
* include/features.h (__GLIBC_MINOR__): Bump to 9.
Ulrich Drepper [Thu, 13 Nov 2008 20:05:26 +0000 (20:05 +0000)]
* version.h: Bump for 2.9 release.
Ulrich Drepper [Thu, 13 Nov 2008 19:57:18 +0000 (19:57 +0000)]
[BZ #7029]
2008-11-13 Ulrich Drepper <drepper@redhat.com>
[BZ #7029]
* sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ALLOC_SIZE):
Multiply with sizeof of __cpu_mask, not 8 unconditionally after
all the rounding.
Ulrich Drepper [Wed, 12 Nov 2008 13:41:14 +0000 (13:41 +0000)]
[BZ #7009]
Ulrich Drepper [Wed, 12 Nov 2008 07:52:27 +0000 (07:52 +0000)]
* resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Don't abort for
unknown request types for now.
Ulrich Drepper [Wed, 12 Nov 2008 07:52:20 +0000 (07:52 +0000)]
(gaih_getanswer_slice): Don't abort for unknown request types for now.
Roland McGrath [Tue, 11 Nov 2008 09:50:20 +0000 (09:50 +0000)]
* sysdeps/x86_64/configure: New file.
* configure.in: Add AC_SUBST(libc_cv_cpp_asm_debuginfo).
* configure: Regenerated.
Roland McGrath [Tue, 11 Nov 2008 09:50:06 +0000 (09:50 +0000)]
2008-11-11 Roland McGrath <roland@redhat.com>
* sysdeps/x86_64/configure: New file.
Jakub Jelinek [Fri, 7 Nov 2008 15:22:34 +0000 (15:22 +0000)]
* sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_profile): Use the
correct instruction to remove the stack frame.
2008-11-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_profile): Use the
correct instruction to remove the stack frame.
Jakub Jelinek [Fri, 7 Nov 2008 15:18:47 +0000 (15:18 +0000)]
* sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_32_acq,
__arch_compare_and_exchange_val_64_acq): Add "memory" clobber.
2008-11-03 Michael Matz <matz@suse.de>
* sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_32_acq,
__arch_compare_and_exchange_val_64_acq): Add "memory" clobber.
Jakub Jelinek [Fri, 7 Nov 2008 15:13:54 +0000 (15:13 +0000)]
* include/stdio.h (__builtin_fwrite, __builtin_fwrite_unlocked):
Remove.
* include/stdio.h (__builtin_fwrite, __builtin_fwrite_unlocked):
Remove.
Jakub Jelinek [Fri, 7 Nov 2008 15:07:10 +0000 (15:07 +0000)]
* bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address,
__libc_tsd_get, __libc_tsd_set): Add TYPE argument, use it as the type
of the thread variable instead of void *.
* sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_define,
__libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Likewise.
* include/ctype.h (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust
__libc_tsd_define arguments.
(__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Adjust
__libc_tsd_address arguments. Remove union hack.
* include/rpc/rpc.h (RPC_VARS): Adjust __libc_tsd_define arguments.
* sunrpc/rpc_thread.c (RPC_VARS): Likewise.
(__rpc_thread_destroy, rpc_thread_multi, __rpc_thread_variables):
Adjust __libc_tsd_{set,get} arguments.
* ctype/ctype-info.c (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust
__libc_tsd_define arguments.
* locale/uselocale.c (__uselocale): Adjust __libc_tsd_{set,get}
arguments.
* locale/lc-ctype.c (_nl_postload_ctype): Likewise.
* locale/global-locale.c (__libc_tsd_LOCALE): Adjust type.
(LOCALE): Adjust __libc_tsd_define arguments.
* locale/localeinfo.h (_NL_CURRENT_LOCALE): Adjust __libc_tsd_get
arguments.
(LOCALE): Adjust __libc_tsd_define arguments.
* sysdeps/mach/hurd/malloc-machine.h (MALLOC): Adjust __libc_tsd_define
arguments.
(tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get}
arguments. nptl/
* sysdeps/pthread/malloc-machine.h (MALLOC): Adjust __libc_tsd_define
arguments.
(tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get}
arguments.
2008-11-07 Jakub Jelinek <jakub@redhat.com>
* bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address,
__libc_tsd_get, __libc_tsd_set): Add TYPE argument, use it as the type
of the thread variable instead of void *.
* sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_define,
__libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Likewise.
* include/ctype.h (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust
__libc_tsd_define arguments.
(__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Adjust
__libc_tsd_address arguments. Remove union hack.
* include/rpc/rpc.h (RPC_VARS): Adjust __libc_tsd_define arguments.
* sunrpc/rpc_thread.c (RPC_VARS): Likewise.
(__rpc_thread_destroy, rpc_thread_multi, __rpc_thread_variables):
Adjust __libc_tsd_{set,get} arguments.
* ctype/ctype-info.c (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust
__libc_tsd_define arguments.
* locale/uselocale.c (__uselocale): Adjust __libc_tsd_{set,get}
arguments.
* locale/lc-ctype.c (_nl_postload_ctype): Likewise.
* locale/global-locale.c (__libc_tsd_LOCALE): Adjust type.
(LOCALE): Adjust __libc_tsd_define arguments.
* locale/localeinfo.h (_NL_CURRENT_LOCALE): Adjust __libc_tsd_get
arguments.
(LOCALE): Adjust __libc_tsd_define arguments.
* sysdeps/mach/hurd/malloc-machine.h (MALLOC): Adjust __libc_tsd_define
arguments.
(tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get}
arguments.
Ulrich Drepper [Mon, 3 Nov 2008 08:07:39 +0000 (08:07 +0000)]
* malloc/malloc.c (public_rEALLOc): When new arena is used, copy
really all bytes. Patch by Denys Vlasenko <dvlasenk@redhat.com>.
Ulrich Drepper [Sat, 1 Nov 2008 19:51:41 +0000 (19:51 +0000)]
[BZ #6955]
2008-11-01 Ulrich Drepper <drepper@redhat.com>
[BZ #6955]
* pthread_mutex_lock.c: Add support for private PI mutexes.
* pthread_mutex_timedlock.c: Likewise.
* pthread_mutex_trylock.c: Likewise.
* pthread_mutex_unlock.c: Likewise.
Patch mostly by Ben Jackson <ben@ben.com>.
Ulrich Drepper [Sat, 1 Nov 2008 15:39:48 +0000 (15:39 +0000)]
[BZ #6966]
2008-11-01 Ulrich Drepper <drepper@redhat.com>
[BZ #6966]
* misc/hsearch_r.c (hsearch_r): Fix secondary hash function.
Ulrich Drepper [Sat, 1 Nov 2008 02:28:57 +0000 (02:28 +0000)]
2008-10-24 Joseph Myers <joseph@codesourcery.com>
Ulrich Drepper <drepper@redhat.com>
* math/tgmath.h (__floating_type): Use __builtin_classify_type in
definition for GCC 3.1 and later.
Ulrich Drepper [Sat, 1 Nov 2008 00:20:07 +0000 (00:20 +0000)]
[BZ #6843]
2008-10-31 Ulrich Drepper <drepper@redhat.com>
[BZ #6843]
* sysdeps/pthread/gai_misc.h (__gai_create_helper_thread):
Increase stack size for helper thread.
Ulrich Drepper [Fri, 31 Oct 2008 20:50:16 +0000 (20:50 +0000)]
* elf/dl-tls.c (__tls_get_addr): After calling _dl_update_slotinfo
refetch dtv, as it might have changed.
* elf/Makefile: Add rules to build and run tst-tls18.
* elf/tst-tls18.c: New test.
* elf/tst-tlsmod18a.c: New file.
Ulrich Drepper [Fri, 31 Oct 2008 19:14:18 +0000 (19:14 +0000)]
2008-09-09 Aurelien Jarno <aurelien@aurel32.net>
* iconvdata/gconv-modules: Add LATIN9 as an alias to ISO-8859-15.
2008-10-31 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper [Fri, 31 Oct 2008 19:06:13 +0000 (19:06 +0000)]
[BZ #6875]
2008-10-31 Ulrich Drepper <drepper@redhat.com>
[BZ #6875]
Ulrich Drepper [Fri, 31 Oct 2008 19:05:40 +0000 (19:05 +0000)]
* iconvdata/gconv-modules: Use LATIN9 as an alias to ISO-8859-15,
not LATIN-9.
Ulrich Drepper [Fri, 31 Oct 2008 19:03:31 +0000 (19:03 +0000)]
[BZ #6867]
* sysdeps/powerpc/elf/rtld-global-offsets.sym: Fix typo.
Ulrich Drepper [Fri, 31 Oct 2008 18:51:08 +0000 (18:51 +0000)]
[BZ #6919]
2008-10-31 Ulrich Drepper <drepper@redhat.com>
[BZ #6919]
* posix/spawnattr_getschedparam.c (posix_spawnattr_getschedparam):
Fix length of copy operation.
Ulrich Drepper [Fri, 31 Oct 2008 17:41:36 +0000 (17:41 +0000)]
2008-10-02 Pierre Habouzit <madcoder@debian.org>
* sysdeps/unix/sysv/linux/eventfd.c (eventfd): Use the eventfd2 syscall
and fix its calling convention.
Ulrich Drepper [Fri, 31 Oct 2008 17:37:28 +0000 (17:37 +0000)]
[BZ #6942]
2008-10-07 Andreas Schwab <schwab@suse.de>
[BZ #6942]
* resolv/res_send.c (send_vc): Fix last change.
(send_dg): Align here as well.
Ulrich Drepper [Fri, 31 Oct 2008 17:33:50 +0000 (17:33 +0000)]
* resource/Makefile (tests): Add bug-ulimit1.
* resource/bug-ulimit1.c: New file.
Ulrich Drepper [Fri, 31 Oct 2008 17:29:46 +0000 (17:29 +0000)]
[BZ #6947]
* sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Handle UL_GETFSIZE
return value in case rlimit is RLIM_INFINITY.
[BZ #6947]
* sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Fix return value
for UL_SETFSIZE.
Ulrich Drepper [Fri, 31 Oct 2008 15:12:51 +0000 (15:12 +0000)]
[BZ #6974]
* sunrpc/rpc_main.c (mkfile_output): Properly handle filename
without dot. Properly terminate the string with a null byte.
Based on a patch by Aurelien Jarno <aurelien@aurel32.net>.
Ulrich Drepper [Fri, 31 Oct 2008 14:27:36 +0000 (14:27 +0000)]
[BZ #6980]
* debug/getgroups_chk.c (__getgroups_chk): Return EINVAL error for
negative sizees.
* posix/bits/unistd.h (getgroups): Call __getgroups_chk for
negative __size.
Ulrich Drepper [Fri, 31 Oct 2008 14:19:57 +0000 (14:19 +0000)]
[BZ #6995]
2008-10-31 Ulrich Drepper <drepper@redhat.com>
[BZ #6995]
* sysdeps/powerpc/powerpc32/dl-machine.c: Fix typo in message.
Ulrich Drepper [Thu, 30 Oct 2008 16:55:44 +0000 (16:55 +0000)]
* grp/initgroups.c (internal_getgrouplist): Don't prematurely
abort if there is no initgroups_dyn function.
Ulrich Drepper [Thu, 30 Oct 2008 16:00:44 +0000 (16:00 +0000)]
* resolv/res_send.c (send_dg): On timeout, only return nonzero
result if any of the queries really provided an answer.