Ulrich Drepper
8585cb7454
* 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.
2009-01-30 16:47:57 +00:00
Ulrich Drepper
7f901dd7ca
* sysdeps/pthread/unwind-forcedunwind.c: Encrypt all function
...
pointer variables.
2009-01-29 20:52:36 +00:00
Ulrich Drepper
cca50323b6
* 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.
2009-01-29 20:38:04 +00:00
Ulrich Drepper
cdf77dd87b
* string/string.h: Define correct C++ prototypes for gcc 4.4.
...
* wcsmbs/wchar.h: Likewise.
2009-01-29 18:38:10 +00:00
Ulrich Drepper
d8387c7b7b
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>
2009-01-29 18:36:39 +00:00
Ulrich Drepper
647925b260
* sysdeps/i386/stackinfo.h (stackinfo_get_sp): Define.
...
(stackinfo_sub_sp): Define.
2009-01-29 15:36:26 +00:00
Ulrich Drepper
fd537e535f
[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.
2009-01-29 00:17:57 +00:00
Ulrich Drepper
31d322a214
* nscd/connections.c (nscd_init): If database file access be
...
opened check whether this is due to permission problems and bail
in that case.
2009-01-28 21:00:13 +00:00
Ulrich Drepper
5627534a81
[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>.
2009-01-28 20:04:49 +00:00
Ulrich Drepper
a7bd183ffe
* sysdeps/unix/sysv/linux/sh/sysdep.h (INTERNAL_SYSCALL):
...
Add "t" to clobber list.
(INTERNAL_SYSCALL_NCS): Likewise.
2009-01-28 16:11:36 +00:00
Ulrich Drepper
1dd757696b
* nss/getent.c (print_networks): Don't print comma between aliases.
2009-01-28 15:55:25 +00:00
Ulrich Drepper
563ee1cb34
* pthread_mutex_lock.c (__pthread_mutex_lock): Remove unused label out.
2009-01-25 17:58:06 +00:00
Ulrich Drepper
25e8417764
..
...
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.
2009-01-23 20:41:36 +00:00
Ulrich Drepper
8073a49484
(hcreate_r): We need at least three elements in the hash table.
2009-01-23 20:34:21 +00:00
Roland McGrath
0699a0ca6a
* Makeconfig (%.v.i): Strip trailing # comments,
...
not only whole-line comments.
2009-01-22 20:38:19 +00:00
Roland McGrath
6a7b0fc65f
2009-01-21 Roland McGrath <roland@redhat.com>
...
* Makeconfig (%.v.i): Strip trailing # comments,
not only whole-line comments.
2009-01-22 11:25:16 +00:00
Andreas Schwab
f00d47a36f
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>
2009-01-21 23:14:12 +00:00
Ulrich Drepper
965cb60a21
* 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.
2009-01-11 04:44:06 +00:00
Ulrich Drepper
5b656a0d30
[!SHARED] (libc_start_main): Pass _dl_random to _dl_setup_stack_chk_guard.
2009-01-11 04:40:39 +00:00
Roland McGrath
8be96dd183
* nscd/nscd.c (parse_opt): Use argp_error for bad -i argument.
...
>>>>>>> 1.11443
2009-01-11 04:32:12 +00:00
Roland McGrath
251fe50c6d
2009-01-10 Roland McGrath <roland@redhat.com>
...
* nscd/nscd.c (parse_opt): Use argp_error for bad -i argument.
2009-01-11 04:32:05 +00:00
Ulrich Drepper
0f95322a5f
(AT_RANDOM): Define AT_BASE_PLATFORM and AT_RANDOM.
2009-01-11 02:43:18 +00:00
Ulrich Drepper
9b1c750e81
* sysdeps/i386/fpu/libm-test-ulps: Adjust expm1 errors.
2009-01-09 08:38:54 +00:00
Ulrich Drepper
157cd5ac8d
[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.
2009-01-09 04:38:10 +00:00
Ulrich Drepper
b74e53b24c
[BZ #9701 ]
...
* locales/sk_SK: Slovakia uses the Euro.
2009-01-09 04:35:39 +00:00
Ulrich Drepper
1e545d0185
[BZ #9705 ]
...
2009-01-08 Ulrich Drepper <drepper@redhat.com>
[BZ #9705 ]
* locales/el_CY: Cyprus uses the Euro.
2009-01-09 04:33:02 +00:00
Ulrich Drepper
f25c7b087f
* sysdeps/pthread/list.h (list_add): Initialize new element first.
...
(list_add_tail): Removed.
2009-01-08 18:32:16 +00:00
Ulrich Drepper
16c124f7c0
[BZ #697 ]
...
[BZ #9697 ]
2009-01-08 15:29:49 +00:00
Jakub Jelinek
960af8c249
[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.
2009-01-08 10:16:12 +00:00
Ulrich Drepper
76c7f2cd8a
[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.
2009-01-08 00:47:30 +00:00
Ulrich Drepper
bdb56bacd5
[BZ 9697]
...
* posix/bug-regex17.c: Add testcases.
* posix/regcomp.c (re_compile_fastmap_iter): Rewrite COMPLEX_BRACKET
handling.
2009-01-08 00:42:51 +00:00
Ulrich Drepper
0480c90173
* 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.
2009-01-08 00:28:23 +00:00
Ulrich Drepper
b3918c7d7f
* 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.
2009-01-08 00:23:09 +00:00
Ulrich Drepper
df9293cb16
* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Check and
...
adjust the buffer alignment.
2009-01-08 00:03:29 +00:00
Ulrich Drepper
5846e22fbf
(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.
2009-01-07 23:45:39 +00:00
Roland McGrath
c90c1e1c99
* 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.
2009-01-07 01:59:43 +00:00
Roland McGrath
0db58a77b4
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.
2009-01-07 01:59:26 +00:00
Ulrich Drepper
3c612057ae
* init.c (__pthread_initialize_minimal_internal): Optimize test
...
FUTEX_CLOCK_REALTIME a bit.
2009-01-04 18:10:04 +00:00
Ulrich Drepper
a9fa090b02
(__lll_timedlock_wait): Use FUTEX_WAIT_BITSET|FUTEX_CLOCK_REALTIME
...
Use FUTEX_WAIT_BITSET|FUTEX_CLOCK_REALTIME instead of computing
2009-01-03 23:18:50 +00:00
Ulrich Drepper
19834b42f6
* 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.
2009-01-03 23:18:34 +00:00
Ulrich Drepper
45f7760695
(__lll_timedlock_wait): Use FUTEX_WAIT_BITSET|FUTEX_CLOCK_READTIME instead of computing relative timeout.
2009-01-03 23:17:21 +00:00
Roland McGrath
5aff6fdfb7
* bits/resource.h (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Add macros.
2009-01-03 21:04:07 +00:00
Roland McGrath
7832cb801b
2009-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
...
* bits/resource.h (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Add macros.
2009-01-03 21:04:01 +00:00
Ulrich Drepper
b2bcd249bf
* sysdeps/unix/sysv/linux/i386/sysdep.h: Describe 6th argument
...
handling.
2009-01-03 20:36:44 +00:00
Ulrich Drepper
cbd8aeb836
* 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.
2009-01-03 05:06:46 +00:00
Ulrich Drepper
7dd650d7fc
* 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.
2009-01-03 03:45:07 +00:00
Ulrich Drepper
ebb2788e97
* sysdeps/unix/sysv/linux/kernel-features.h
...
(__ASSUME_FUTEX_CLOCK_REALTIME): Define.
2009-01-03 01:52:29 +00:00
Ulrich Drepper
720981169b
* wcsmbs/wcsnrtombs.c (__wcsnrtombs): Create temporary state object
...
if no output is written.
2009-01-02 19:28:55 +00:00
Ulrich Drepper
623d0bf504
* version.h: Bump to 2.10 development.
2009-01-02 19:22:24 +00:00
Ulrich Drepper
d36ad87147
* 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.
2009-01-02 08:47:18 +00:00