external/glibc.git
15 years ago(__longjmp): Make aligned_restore_vmx a local symbol.
Ulrich Drepper [Fri, 30 Jan 2009 20:35:22 +0000 (20:35 +0000)]
(__longjmp): Make aligned_restore_vmx a local symbol.

15 years agoUpdate
Andreas Jaeger [Fri, 30 Jan 2009 20:34:24 +0000 (20:34 +0000)]
Update

2009-01-30  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/bits/shm.h (SHM_EXEC): Define.
* sysdeps/unix/sysv/linux/ia64/bits/shm.h (SHM_EXEC): Define.
* sysdeps/unix/sysv/linux/powerpc/bits/shm.h (SHM_EXEC): Define.
* sysdeps/unix/sysv/linux/s390/bits/shm.h (SHM_EXEC): Define.
* sysdeps/unix/sysv/linux/sh/bits/shm.h (SHM_EXEC): Define.
* sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHM_EXEC): Define.
* sysdeps/unix/sysv/linux/x86_64/bits/shm.h (SHM_EXEC): Define.

15 years ago(SHM_EXEC): Define.
Andreas Jaeger [Fri, 30 Jan 2009 20:33:15 +0000 (20:33 +0000)]
(SHM_EXEC): Define.

15 years ago[BZ #9726]
Ulrich Drepper [Fri, 30 Jan 2009 20:30:46 +0000 (20:30 +0000)]
[BZ #9726]

2009-01-11  Ryan S. Arnold  <rsa@us.ibm.com>
[BZ #9726]
* sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_SET_DI_FPSCR,
_SET_SI_FPSCR): Clobber fp0 to prevent erroneous test-case passes.

2009-01-08  Ryan S. Arnold  <rsa@us.ibm.com>

[BZ #9726]
* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
(__CONTEXT_FUNC_NAME): Fix mtfsf to use fp31 instead of fp0.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
(__CONTEXT_FUNC_NAME): Fix mtfsf to use fp31 instead of fp0.

15 years ago* sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Use
Ulrich Drepper [Fri, 30 Jan 2009 20:23:23 +0000 (20:23 +0000)]
* sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Use

memcpy instead of memcmp.
(_dl_setup_pointer_guard): Likewise.

15 years ago* malloc/malloc.c (sYSMALLOc): Don't use assert when detecting
Ulrich Drepper [Fri, 30 Jan 2009 17:47:23 +0000 (17:47 +0000)]
* malloc/malloc.c (sYSMALLOc): Don't use assert when detecting

manipulated brk, use malloc_printerr.
* misc/sbrk.c (__sbrk): Better error handling for nonsense
requests.

15 years ago* string/string.h (memchr, strchr, strrchr, strpbrk, strstr, index,
Ulrich Drepper [Fri, 30 Jan 2009 16:47:57 +0000 (16:47 +0000)]
* string/string.h (memchr, strchr, strrchr, strpbrk, strstr, index,

rindex): For C++ add inlines so that they can be recognized as
builtins.
* string/strings.h: Define correct C++ prototypes for gcc 4.4.

15 years ago* sysdeps/pthread/unwind-forcedunwind.c: Encrypt all function
Ulrich Drepper [Thu, 29 Jan 2009 20:52:36 +0000 (20:52 +0000)]
* sysdeps/pthread/unwind-forcedunwind.c: Encrypt all function

pointer variables.

15 years ago* allocatestack.c (__free_stacks): Renamed from free_stacks.
Ulrich Drepper [Thu, 29 Jan 2009 20:38:04 +0000 (20:38 +0000)]
* allocatestack.c (__free_stacks): Renamed from free_stacks.

(__free_stack_cache): Removed.  Change callers to call __free_stacks.
* init.c (nptl_freeres): New function.
(pthread_functions): Initialize ptr_freeres to nptl_freeres.
* pthreadP.h: Don't declare __free_stack_cache.  Declare __free_stacks.
* sysdeps/pthread/unwind-forcedunwind.c (libgcc_s_handle): New
variable.
(pthread_cancel_init): Depend in libgcc_s_handle for decision to
load DSO.  Assign last.
(__unwind_freeres): New function.

* allocatestack.c (__reclaim_stacks): Reset in_flight_stack later
for better debugging.  No need to use stack_list_add here.

15 years ago* string/string.h: Define correct C++ prototypes for gcc 4.4.
Ulrich Drepper [Thu, 29 Jan 2009 18:38:10 +0000 (18:38 +0000)]
* string/string.h: Define correct C++ prototypes for gcc 4.4.

* wcsmbs/wchar.h: Likewise.

15 years ago Jakub Jelinek <jakub@redhat.com>
Ulrich Drepper [Thu, 29 Jan 2009 18:36:39 +0000 (18:36 +0000)]
Jakub Jelinek  <jakub@redhat.com>

* string.h: Define correct C++ prototypes for gcc 4.4.
* wchar.h: Likewise.

2009-01-29  Ulrich Drepper  <drepper@redhat.com>

15 years ago* sysdeps/i386/stackinfo.h (stackinfo_get_sp): Define.
Ulrich Drepper [Thu, 29 Jan 2009 15:36:26 +0000 (15:36 +0000)]
* sysdeps/i386/stackinfo.h (stackinfo_get_sp): Define.

(stackinfo_sub_sp): Define.

15 years ago[BZ #9750]
Ulrich Drepper [Thu, 29 Jan 2009 00:17:57 +0000 (00:17 +0000)]
[BZ #9750]

* nscd/mem.c (gc): Use alloca_count to get the real stack usage.
* include/alloca.h (alloca_account): Define.
* sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Define.
(stackinfo_sub_sp): Define.

15 years ago* nscd/connections.c (nscd_init): If database file access be
Ulrich Drepper [Wed, 28 Jan 2009 21:00:13 +0000 (21:00 +0000)]
* nscd/connections.c (nscd_init): If database file access be

opened check whether this is due to permission problems and bail
in that case.

15 years ago[BZ #9741]
Ulrich Drepper [Wed, 28 Jan 2009 20:04:49 +0000 (20:04 +0000)]
[BZ #9741]

2009-01-28  Ulrich Drepper  <drepper@redhat.com>
[BZ #9741]
* nscd/mem.c (gc): Fix assignment of he_data in case malloc is used.
Reported by Jun'ichi Nomura <j-nomura@ce.jp.nec.com>.

15 years ago* sysdeps/unix/sysv/linux/sh/sysdep.h (INTERNAL_SYSCALL):
Ulrich Drepper [Wed, 28 Jan 2009 16:11:36 +0000 (16:11 +0000)]
* sysdeps/unix/sysv/linux/sh/sysdep.h (INTERNAL_SYSCALL):

Add "t" to clobber list.
(INTERNAL_SYSCALL_NCS): Likewise.

15 years ago* nss/getent.c (print_networks): Don't print comma between aliases.
Ulrich Drepper [Wed, 28 Jan 2009 15:55:25 +0000 (15:55 +0000)]
* nss/getent.c (print_networks): Don't print comma between aliases.

15 years ago* pthread_mutex_lock.c (__pthread_mutex_lock): Remove unused label out.
Ulrich Drepper [Sun, 25 Jan 2009 17:58:06 +0000 (17:58 +0000)]
* pthread_mutex_lock.c (__pthread_mutex_lock): Remove unused label out.

15 years ago..
Ulrich Drepper [Fri, 23 Jan 2009 20:41:36 +0000 (20:41 +0000)]
..

2009-01-23  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/tst-clone.c (do_test): Avoid warning.

* misc/hsearch_r.c (hcreate_r): We need at least three elements in
the hash table.
* misc/Makefile (tests): Add bug-hsearch1.
* misc/bug-hsearch1.c: New file.

15 years ago(hcreate_r): We need at least three elements in the hash table.
Ulrich Drepper [Fri, 23 Jan 2009 20:34:21 +0000 (20:34 +0000)]
(hcreate_r): We need at least three elements in the hash table.

15 years ago* Makeconfig (%.v.i): Strip trailing # comments,
Roland McGrath [Thu, 22 Jan 2009 20:38:19 +0000 (20:38 +0000)]
* Makeconfig (%.v.i): Strip trailing # comments,

not only whole-line comments.

15 years ago2009-01-21 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 22 Jan 2009 11:25:16 +0000 (11:25 +0000)]
2009-01-21  Roland McGrath  <roland@redhat.com>

* Makeconfig (%.v.i): Strip trailing # comments,
not only whole-line comments.

15 years agoRemove conflict marker.
Andreas Schwab [Wed, 21 Jan 2009 23:14:12 +0000 (23:14 +0000)]
Remove conflict marker.

Properly handle partial reads.
    Ulrich Drepper  <drepper@redhat.com>
Reported by Peter Festner <peter.festner@ewetel.net>.
    Tomas Janousek  <tjanouse@redhat.com>
    Ulrich Drepper  <drepper@redhat.com>

15 years ago* sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Take
Ulrich Drepper [Sun, 11 Jan 2009 04:44:06 +0000 (04:44 +0000)]
* sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Take

one parameter.  If non-NULL use it to initialize return value.
(_dl_setup_pointer_guard): New function.
* sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
* sysdeps/generic/ldsodefs.h: Declare _dl_random.
* elf/rtld.c (security_init): Pass _dl_random to
_dl_setup_stack_chk_guard.  Call _dl_setup_pointer_guard to initialize
pointer_chk_guard.
* elf/dl-sysdep.c (_dl_random): New variable.
(_dl_sysdep_start): Handle AT_RANDOM.
(_dl_show_auxv): Likewise.
* elf/dl-support.c (_dl_random): New variable.
(_dl_aux_init): Handle AT_RANDOM.
* csu/libc-start.c [!SHARED] (libc_start_main): Pass _dl_random
to _dl_setup_stack_chk_guard.

* elf/elf.h (AT_RANDOM): Define AT_BASE_PLATFORM and AT_RANDOM.

15 years ago[!SHARED] (libc_start_main): Pass _dl_random to _dl_setup_stack_chk_guard.
Ulrich Drepper [Sun, 11 Jan 2009 04:40:39 +0000 (04:40 +0000)]
[!SHARED] (libc_start_main): Pass _dl_random to _dl_setup_stack_chk_guard.

15 years ago* nscd/nscd.c (parse_opt): Use argp_error for bad -i argument.
Roland McGrath [Sun, 11 Jan 2009 04:32:12 +0000 (04:32 +0000)]
* nscd/nscd.c (parse_opt): Use argp_error for bad -i argument.

>>>>>>> 1.11443

15 years ago2009-01-10 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 11 Jan 2009 04:32:05 +0000 (04:32 +0000)]
2009-01-10  Roland McGrath  <roland@redhat.com>

* nscd/nscd.c (parse_opt): Use argp_error for bad -i argument.

15 years ago(AT_RANDOM): Define AT_BASE_PLATFORM and AT_RANDOM.
Ulrich Drepper [Sun, 11 Jan 2009 02:43:18 +0000 (02:43 +0000)]
(AT_RANDOM): Define AT_BASE_PLATFORM and AT_RANDOM.

15 years ago* sysdeps/i386/fpu/libm-test-ulps: Adjust expm1 errors.
Ulrich Drepper [Fri, 9 Jan 2009 08:38:54 +0000 (08:38 +0000)]
* sysdeps/i386/fpu/libm-test-ulps: Adjust expm1 errors.

15 years ago[BZ #9706]
Ulrich Drepper [Fri, 9 Jan 2009 04:38:10 +0000 (04:38 +0000)]
[BZ #9706]

2009-01-08  Ulrich Drepper  <drepper@redhat.com>
[BZ #9706]
* nss/nss_files/files-parse.c (strtou32): New function.
(INT_FIELD): Use strotu32 instead of strtoul to unify behavior
across 32-bit and 64-bit platforms.
(INT_FIELD_MAYBE_NULL): Likewise.

15 years ago[BZ #9701]
Ulrich Drepper [Fri, 9 Jan 2009 04:35:39 +0000 (04:35 +0000)]
[BZ #9701]

* locales/sk_SK: Slovakia uses the Euro.

15 years ago[BZ #9705]
Ulrich Drepper [Fri, 9 Jan 2009 04:33:02 +0000 (04:33 +0000)]
[BZ #9705]

2009-01-08  Ulrich Drepper  <drepper@redhat.com>
[BZ #9705]
* locales/el_CY: Cyprus uses the Euro.

15 years ago* sysdeps/pthread/list.h (list_add): Initialize new element first.
Ulrich Drepper [Thu, 8 Jan 2009 18:32:16 +0000 (18:32 +0000)]
* sysdeps/pthread/list.h (list_add): Initialize new element first.

(list_add_tail): Removed.

15 years ago[BZ #697]
Ulrich Drepper [Thu, 8 Jan 2009 15:29:49 +0000 (15:29 +0000)]
[BZ #697]

[BZ #9697]

15 years ago[BZ #9720]
Jakub Jelinek [Thu, 8 Jan 2009 10:16:12 +0000 (10:16 +0000)]
[BZ #9720]

* sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who): Avoid
comma after RUSAGE_CHILDREN if not -D_GNU_SOURCE.
* sysdeps/unix/sysv/linux/sparc/bits/resource.h (enum __rusage_who):
Likewise.
2009-01-08  Jakub Jelinek  <jakub@redhat.com>

[BZ #9720]
* sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who): Avoid
comma after RUSAGE_CHILDREN if not -D_GNU_SOURCE.
* sysdeps/unix/sysv/linux/sparc/bits/resource.h (enum __rusage_who):
Likewise.

15 years ago[BZ 697]
Ulrich Drepper [Thu, 8 Jan 2009 00:47:30 +0000 (00:47 +0000)]
[BZ 697]

* posix/regexec.c (prune_impossible_nodes): Handle sifted_states[0]
being NULL also if there are no backreferences.
* posix/rxspencer/tests: Add testcases.

15 years ago[BZ 9697]
Ulrich Drepper [Thu, 8 Jan 2009 00:42:51 +0000 (00:42 +0000)]
[BZ 9697]

* posix/bug-regex17.c: Add testcases.
* posix/regcomp.c (re_compile_fastmap_iter): Rewrite COMPLEX_BRACKET
handling.

15 years ago* sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: New file.
Ulrich Drepper [Thu, 8 Jan 2009 00:28:23 +0000 (00:28 +0000)]
* sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: New file.

* sysdeps/unix/sysv/linux/s390/gettimeofday.c: New file.
* sysdeps/unix/sysv/linux/s390/init-first.c: New file.
* sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines): Add dl-vdso
for elf subdir.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL,
INTERNAL_VSYSCALL, INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK,
INTERNAL_SYSCALL_NCS, HAVE_CLOCK_GETRES_VSYSCALL and
HAVE_CLOCK_GETTIME_VSYSCALL: Define.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/s390/Versions: New file.

15 years ago* posix/regcomp.c (re_compile_fastmap_iter): Use __mbrtowc.
Ulrich Drepper [Thu, 8 Jan 2009 00:23:09 +0000 (00:23 +0000)]
* posix/regcomp.c (re_compile_fastmap_iter): Use __mbrtowc.

* posix/regex_internal.c (build_wcs_buffer, build_wcs_upper_buffer,
re_string_skip_chars, re_string_reconstruct): Likewise.
* posix/regex_internal.h [!_LIBC] (__mbrtowc): New #define.

15 years ago* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Check and
Ulrich Drepper [Thu, 8 Jan 2009 00:03:29 +0000 (00:03 +0000)]
* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Check and

adjust the buffer alignment.

15 years ago(in_flight_stack): New variable. (stack_list_del): New function. Use instead of...
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.

15 years ago* sysdeps/mach/hurd/Makefile (sysdep_headers) [subdir=socket]:
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.

15 years ago2009-01-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
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.

15 years ago* init.c (__pthread_initialize_minimal_internal): Optimize test
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.

15 years ago(__lll_timedlock_wait): Use FUTEX_WAIT_BITSET|FUTEX_CLOCK_REALTIME
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

15 years ago* init.c (__pthread_initialize_minimal_internal): Cheat a bit by
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.

15 years ago(__lll_timedlock_wait): Use FUTEX_WAIT_BITSET|FUTEX_CLOCK_READTIME instead of computi...
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.

15 years ago* bits/resource.h (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Add macros.
Roland McGrath [Sat, 3 Jan 2009 21:04:07 +0000 (21:04 +0000)]
* bits/resource.h (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Add macros.

15 years ago2009-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
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.

15 years ago* sysdeps/unix/sysv/linux/i386/sysdep.h: Describe 6th argument
Ulrich Drepper [Sat, 3 Jan 2009 20:36:44 +0000 (20:36 +0000)]
* sysdeps/unix/sysv/linux/i386/sysdep.h: Describe 6th argument

handling.

15 years ago* init.c (__pthread_initialize_minimal_internal): Check for
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.

15 years ago* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Define
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.

15 years ago* sysdeps/unix/sysv/linux/kernel-features.h
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.

15 years ago* wcsmbs/wcsnrtombs.c (__wcsnrtombs): Create temporary state object
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.

15 years ago* version.h: Bump to 2.10 development.
Ulrich Drepper [Fri, 2 Jan 2009 19:22:24 +0000 (19:22 +0000)]
* version.h: Bump to 2.10 development.

15 years ago* posix/getconf.c: Update copyright year.
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.

15 years ago* locales/iso14651_t1_common: Fix sorting of U+0AB3.
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>.

15 years agoPatch 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>.

15 years ago* locales/i18n: Move Indic Matra characters to punct.
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.

15 years ago* iconvdata/Makefile (iconv-rules): Use LC_ALL=C when running awk
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.

15 years ago* sysdeps/posix/getaddrinfo.c (gaih_inet): When the
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.

15 years ago* wctype/wctype.h: Get wint_t definition directly from <stddef.h>.
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.

15 years ago[BZ #9694]
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.

15 years ago* nscd/nscd_gethst_r.c (nscd_gethst_r): Don't use nscd if
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.

15 years ago* sysdeps/x86_64/bits/select.h: New file.
Ulrich Drepper [Mon, 29 Dec 2008 20:16:11 +0000 (20:16 +0000)]
* sysdeps/x86_64/bits/select.h: New file.

15 years ago* resolv/res_init.c (__res_vinit): Count all servers in statp->nscount.
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.

15 years ago[BZ #9677]
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.

15 years ago* tests-mbwc/tst_types.h (TIN)MBRLEN_REC): Use correct array
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.

15 years ago* login/utmp_file.c (pututline_file): Replace call to dup2 with
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.

15 years ago* pthread_mutex_lock.c (__pthread_mutex_lock): Handle only the
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.

15 years ago[BZ #6545]
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.

15 years ago[BZ #7058]
Ulrich Drepper [Tue, 9 Dec 2008 22:58:58 +0000 (22:58 +0000)]
[BZ #7058]

15 years ago* inet/Makefile (tests): Add tst-getni2.
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.

15 years ago[BZ #7080]
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.

15 years ago[BZ #7067]
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.

15 years agoFix typo.
Ulrich Drepper [Mon, 8 Dec 2008 23:39:50 +0000 (23:39 +0000)]
Fix typo.

* inet/getnetgrent_r.c (setup): Encrypt static pointer.

15 years ago* sysdeps/x86_64/tls.h (tcbhead_t): Add fields reserved for TM
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.

15 years ago(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.

15 years agoMove 2 ChangeLog entries to correct ChangeLog.
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.

15 years ago* resolv/res_send.c (send_dg): Use correct guards for SOCK_CLOEXEC
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.

15 years ago* resolv/res_init.c (__res_vinit): Always assign to statp->nscount
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.

15 years ago* nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname4_r): Fix memory
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.

15 years ago* posix/globtest.sh: Use mktemp to create temporary file and
Ulrich Drepper [Sat, 6 Dec 2008 06:05:54 +0000 (06:05 +0000)]
* posix/globtest.sh: Use mktemp to create temporary file and

directory.

15 years ago* sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S): Handle large
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.

15 years ago* SUPPORTED (SUPPORTED-LOCALES): Add hne_IN.
Ulrich Drepper [Sat, 6 Dec 2008 03:02:56 +0000 (03:02 +0000)]
* SUPPORTED (SUPPORTED-LOCALES): Add hne_IN.

15 years ago2008-12-05 Joseph Myers <joseph@codesourcery.com>
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.

15 years ago* sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use LOAD_PIC_REG
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.

15 years ago* posix/regex_internal.h (build_wcs_upper_buffer):
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.

15 years ago* sysdeps/unix/sysv/linux/sh/lowlevellock.h: Define FUTEX_WAIT_BITSET
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.

15 years ago* locale/programs/ld-address.c (DEFINE_LANGUAGE_CODE2): Define.
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.

15 years ago(DEFINE_LANGUAGE_CODE2): Define.
Ulrich Drepper [Fri, 5 Dec 2008 03:25:18 +0000 (03:25 +0000)]
(DEFINE_LANGUAGE_CODE2): Define.

15 years ago2008-11-26 Roland McGrath <roland@redhat.com>
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.

15 years ago* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Recognize
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.

15 years ago* resolv/res_init.c (__res_vinit): Fill in IPv4 name server
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.

15 years ago* socket/sys/socket.h: Declare accept4.
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.

15 years ago* resolv/res_send.c (send_dg): Create sockets with non-blocking
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.

15 years ago* stdlib/Makefile (tests): Add tst-unsetenv1.
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.

15 years ago* stdlib/setenv.c (unsetenv): Don't search environment if it does
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.

15 years ago* login/utmp_file.c (file_writable): New variable.
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.

15 years ago* sysdeps/posix/getaddrinfo.c (getaddrinfo): Only restrict search
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.