Ulrich Drepper
bfacf1af1a
* malloc/malloc.c: Add branch prediction for use of the hooks.
2009-02-07 19:05:28 +00:00
Ulrich Drepper
bc16e0c467
* grp/compat-initgroups.c [NOT_IN_libc] (__libc_use_alloca): Define.
2009-02-07 17:00:27 +00:00
Ulrich Drepper
26b62243ee
[BZ #7095 ]
...
2009-02-06 Ulrich Drepper <drepper@redhat.com>
[BZ #7095 ]
* bits/confname.h: Add SUSv7 macros for getconf environments.
* bits/environments.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/environments.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/environments.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/environments.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/environments.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Likewise.
* posix/confstr.c: Handle SUSv5 and SUSv7 environments.
* posix/getconf.c: Likewise.
* posix/sysconf.c: Likewise.
* sysdeps/posix/sysconf.c: Likewise.
* posix/Makefile (getconf.speclist): Also collect SUSv5 and SUSv7
environments.
2009-02-07 08:19:29 +00:00
Ulrich Drepper
3fe4c5b3d5
[BZ #9753 ]
...
2009-01-16 Petr Baudis <pasky@suse.cz>
[BZ #9753 ]
* resolv/res_libc.c (__res_maybe_init): Call __res_vinit()
even if we currently have zero nscount.
2009-02-07 05:01:55 +00:00
Ulrich Drepper
1a9dd4e4e4
[BZ #9781 ]
...
* grp/compat-initgroups.c (compat_call): Switch to use malloc when
the input line is too long.
2009-02-07 04:40:57 +00:00
Ulrich Drepper
51f8846e85
* po/Makefile (libc.pot): Add f_print as function taking c-format
...
parameter.
2009-02-06 20:42:21 +00:00
Ulrich Drepper
cbbcaf2369
* debug/xtrace.sh: Unify translatable messages.
...
* elf/ldd.bash.in: Likewise.
* elf/sprof.c: Likewise.
* locale/programs/locale.c: Likewise.
* malloc/memusage.sh: Likewise.
* nss/getent.c: Likewise.
2009-02-06 Joseph Myers <joseph@codesourcery.com>
* debug/pcprofiledump.c (print_version,
argp_program_version_hook): New function.
* elf/ldconfig.c (more_help): New function.
(argp): Use it.
* elf/sln.c (usage): New function.
(main): Support --help and --version.
* malloc/memusagestat.c (print_version): New function.
(argp_program_version_hook): New variable.
* nscd/nscd.c (more_help): New function.
(argp): Use it.
* posix/getconf.c (main): Send --version output to stdout.
Support --help.
* sunrpc/rpc_main.c (usage, options_usage): Take STREAM and STATUS
arguments. All callers changed.
(print_version): New function.
(parseargs): Support --help and --version.
* sunrpc/rpcinfo.c (usage): Take STREAM argument. All callers
changed.
(print_version): New function.
(main): Use getopt_long. Support --help and --version.
* sysdeps/unix/sysv/linux/lddlibc4.c (main): Support --help and
--version.
2009-02-06 Ulrich Drepper <drepper@redhat.com>
2009-02-06 20:13:07 +00:00
Ulrich Drepper
e2e390fad8
* malloc/memusage.c (DEFAULT_BUFFER_SIZE): Change to 32768.
...
(update_data): Fix handling of wrapping back
2009-02-06 18:27:08 +00:00
Ulrich Drepper
c3ab42a82d
* malloc/memusage.c (update_data): Fix handling of wrapping back
...
to the beginning of the buffer.
2009-02-06 18:24:23 +00:00
Ulrich Drepper
88a3b8f9ac
[BZ #9823 ]
...
2009-02-06 Ulrich Drepper <drepper@redhat.com>
[BZ #9823 ]
* stdio-common/psignal.c (psignal): Fix test for empty string.
2009-02-06 16:04:28 +00:00
Ulrich Drepper
4f7408c7ac
* include/rpc/auth.h: Use libc_hidden_proto for _null_auth.
...
* sunrpc/rpc_common.c: Add libc_hidden_def for _null_auth. Also
move _null_auth to .rodata.
2009-02-06 05:33:30 +00:00
Ulrich Drepper
970aa10f95
* time/tzset.c (__tzset_parse_tz): DST offset must also allow hour
...
value of 24.
2009-02-05 20:09:58 +00:00
Ulrich Drepper
52de761a93
* intl/dcigettext.c (DCIGETTEXT): Avoid some code duplication.
2009-02-05 19:59:54 +00:00
Ulrich Drepper
62f63c47ee
* sysdeps/unix/opendir.c (__alloc_dir): We have a lot more memory
...
today than when the original code was written. Use larger
buffers. This also makes it unnecessary to have stat information,
if this causes extra efforts.
(__opendir): In case O_DIRECTORY works, don't call fstat just for
__alloc_dir.
2009-02-05 18:20:59 +00:00
Ulrich Drepper
0899b8897c
* sysdeps/sh/sh4/dl-trampoline.S: Only set HAVE_FPU if __SH_FPU_ANY__
...
is set.
* sysdeps/sh/sh4/setjmp.S: Support SH4-NOFPU.
* sysdeps/sh/sh4/__longjmp.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2009-02-05 01:01:39 +00:00
Ulrich Drepper
22cc3f7580
* po/ru.po: Update from translation team.
2009-02-05 00:36:36 +00:00
Ulrich Drepper
a71433e7fd
* sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (struct sigevent):
...
Add _tid slot to maintain consistency with kernel.
2009-02-05 00:21:43 +00:00
Ulrich Drepper
82f2e9c6bd
2009-02-04 Ulrich Drepper <drepper@redhat.com>
...
* libio/wfileops.c (_IO_wfile_underflow): Fix handling of
incomplete characters at end of input buffer.
* libio/Makefile (tests): Add tst-fgetwc.
* libio/tst-fgetwc.c: New file.
* libio/tst-fgetwc.input: New file.
2009-02-04 21:27:48 +00:00
Andreas Jaeger
3a2e9947e0
Update
...
2009-02-04 Andreas Jaeger <aj@suse.de>
* FAQ.in: Remove reference to my mips page.
2009-02-04 07:20:50 +00:00
Ulrich Drepper
ba022c06a6
* sysdeps/unix/sysv/linux/sh/Makefile (libm.so-no-z-defs): Define.
2009-02-03 15:06:26 +00:00
Ulrich Drepper
1b14353ee3
[BZ #9793 ]
...
2009-02-02 Ulrich Drepper <drepper@redhat.com>
[BZ #9793 ]
* iconv/gconv_trans.c (__gconv_transliterate): Don't change
*OUTBUFSTART unless the whole output fit into the buffer.
* iconv/Makefile (tests): Add tst-iconv4.
* iconv/tst-iconv4.c: New file.
2009-02-03 01:31:30 +00:00
Ulrich Drepper
ebc22416e4
* sysdeps/x86_64/cacheinfo.c (intel_02_known): Add new descriptors.
...
* sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
2009-02-01 18:13:41 +00:00
Ulrich Drepper
00f5df0e73
* nscd/connections.c (nscd_init): If database file access fails
...
check whether this is due to permission problems and bail in that
case.
2009-01-31 00:23:54 +00:00
Ulrich Drepper
7c8a67320e
* elf/Makefile (ld.so): Adjust the sed script to insert _begin in to
...
newer linker scripts.
2009-01-31 00:21:15 +00:00
Ulrich Drepper
431497800d
[BZ #7040 ]
...
2009-01-30 Ulrich Drepper <drepper@redhat.com>
[BZ #7040 ]
* sysdeps/unix/sysv/linux/sys/inotify.h: Second parameter of
inotify_rm_watch should have type int.
2009-01-30 20:45:59 +00:00
Ulrich Drepper
bd4ace0b90
* sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp):
...
Make aligned_restore_vmx a local symbol.
* sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp):
Likewise.
2009-01-30 20:35:58 +00:00
Andreas Jaeger
430902daac
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.
2009-01-30 20:34:24 +00:00
Ulrich Drepper
b7219e53bc
[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.
2009-01-30 20:30:46 +00:00
Ulrich Drepper
a3bd28468c
* sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Use
...
memcpy instead of memcmp.
(_dl_setup_pointer_guard): Likewise.
2009-01-30 20:23:23 +00:00
Ulrich Drepper
1fdd89a78d
* 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.
2009-01-30 17:47:23 +00:00
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
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
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
Roland McGrath
0699a0ca6a
* Makeconfig (%.v.i): Strip trailing # comments,
...
not only whole-line comments.
2009-01-22 20:38:19 +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
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
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
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