jlayton/glibc.git
15 years ago* io/sys/stat.h: The lstat functions have been mandatory since 2001.
Ulrich Drepper [Tue, 24 Feb 2009 22:47:58 +0000 (22:47 +0000)]
* io/sys/stat.h: The lstat functions have been mandatory since 2001.

15 years ago* time/tzset.c (tzset_internal): Correct parsing of TZ envvar.
Ulrich Drepper [Tue, 24 Feb 2009 22:45:58 +0000 (22:45 +0000)]
* time/tzset.c (tzset_internal): Correct parsing of TZ envvar.

15 years ago* po/bg.po: Update from translation team.
Ulrich Drepper [Sun, 22 Feb 2009 20:33:03 +0000 (20:33 +0000)]
* po/bg.po: Update from translation team.

15 years agoUpdate from translation team.
Ulrich Drepper [Sun, 22 Feb 2009 20:31:56 +0000 (20:31 +0000)]
Update from translation team.

15 years ago* stdlib/monetary.h: Uglify function parameter names. cvs/fedora-glibc-20090218T1534
Jakub Jelinek [Mon, 16 Feb 2009 21:00:15 +0000 (21:00 +0000)]
* stdlib/monetary.h: Uglify function parameter names.

* sunrpc/rpc/pmap_clnt.h: Likewise.
* sunrpc/rpc/svc.h: Likewise.
* sunrpc/rpc/xdr.h: Likewise.
* sunrpc/rpc/clnt.h: Likewise.
* resolv/netdb.h: Likewise.
* resolv/arpa/nameser.h: Likewise.
* resolv/resolv.h: Likewise.
* argp/argp.h: Likewise.
* locale/langinfo.h: Likewise.
* io/sys/stat.h: Likewise.
* posix/spawn.h: Likewise.
* nis/rpcsvc/nislib.h: Likewise.
* malloc/obstack.h: Likewise.
* sysdeps/ia64/bits/link.h: Likewise.
* sysdeps/i386/bits/link.h: Likewise.
* sysdeps/s390/bits/link.h: Likewise.
* sysdeps/powerpc/bits/link.h: Likewise.
* sysdeps/x86_64/bits/link.h: Likewise.
* sysdeps/sparc/bits/link.h: Likewise.
* sysdeps/sh/bits/link.h: Likewise.
* sysdeps/unix/sysv/linux/i386/sys/io.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sys/io.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Likewise.
* sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2009-02-16  Jakub Jelinek  <jakub@redhat.com>

* stdlib/monetary.h: Uglify function parameter names.
* sunrpc/rpc/pmap_clnt.h: Likewise.
* sunrpc/rpc/svc.h: Likewise.
* sunrpc/rpc/xdr.h: Likewise.
* sunrpc/rpc/clnt.h: Likewise.
* resolv/netdb.h: Likewise.
* resolv/arpa/nameser.h: Likewise.
* resolv/resolv.h: Likewise.
* argp/argp.h: Likewise.
* locale/langinfo.h: Likewise.
* io/sys/stat.h: Likewise.
* posix/spawn.h: Likewise.
* nis/rpcsvc/nislib.h: Likewise.
* malloc/obstack.h: Likewise.
* sysdeps/ia64/bits/link.h: Likewise.
* sysdeps/i386/bits/link.h: Likewise.
* sysdeps/s390/bits/link.h: Likewise.
* sysdeps/powerpc/bits/link.h: Likewise.
* sysdeps/x86_64/bits/link.h: Likewise.
* sysdeps/sparc/bits/link.h: Likewise.
* sysdeps/sh/bits/link.h: Likewise.
* sysdeps/unix/sysv/linux/i386/sys/io.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sys/io.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Likewise.
* sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.

15 years ago* soft-fp/double.h [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D,
Jakub Jelinek [Mon, 16 Feb 2009 17:19:19 +0000 (17:19 +0000)]
* soft-fp/double.h [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D,

FP_UNPACK_SEMIRAW_DP): Use _FP_UNPACK_RAW_1 instead of
_FP_UNPACK_RAW_2, fix up first argument.
2008-12-01  Fredrik Unger  <fred@tree.se>

* soft-fp/double.h [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D,
FP_UNPACK_SEMIRAW_DP): Use _FP_UNPACK_RAW_1 instead of
_FP_UNPACK_RAW_2, fix up first argument.

15 years ago* sysdeps/unix/sysv/linux/getsysstats.c (next_line): New function.
Ulrich Drepper [Sun, 15 Feb 2009 23:43:36 +0000 (23:43 +0000)]
* sysdeps/unix/sysv/linux/getsysstats.c (next_line): New function.

(GET_NPROCS_PARSER): Change parameters and use next_line.
(__get_nprocs): Rewrite to not use stdio routines.
* sysdeps/unix/sysv/linux/sparc/getsysstats.c (GET_NPROCS_PARSER):
Change parameters and use next_line.

15 years ago* sysdeps/unix/sysv/linux/sh/lowlevellock.S: Define
Ulrich Drepper [Fri, 13 Feb 2009 23:36:40 +0000 (23:36 +0000)]
* sysdeps/unix/sysv/linux/sh/lowlevellock.S: Define

LOAD_FUTEX_WAIT_ABS even if (FUTEX_WAIT == 0).

15 years ago[BZ #5381]
Ulrich Drepper [Fri, 13 Feb 2009 20:36:37 +0000 (20:36 +0000)]
[BZ #5381]

2009-02-13  Ulrich Drepper  <drepper@redhat.com>
[BZ #5381]
* nscd/nscd.h: Remove definitions and declarations for mem_in_flight.
Change mempool_alloc prototype.
* nscd/mem.c (gc): Don't handle mem_in_flight.
(mempool_alloc): Third parameter now only indicates whether this is the
first call (to allocate data) or not.  If it is, get db rdlock.
Release it on error.  Don't handle mem_in_flight.
* nscd/aicache.c (addhstaiX): Mark he parameter as const.
Adjust third parameter of mempool_alloc calls.
Nothing to do here in case mempool_alloc fails.
Avoid local variable shadowing parameter.  No need to get db rdlock
before calling cache_add.
* nscd/cache.c (cache_add): Adjust call to mempool_alloc.  There is
no mem_in_flight array anymore.
* nscd/connections.c: Remove definition and handling of mem_in_flight.
* nscd/grpcache.c (cache_addgr): Adjust third parameter of
mempool_alloc calls.  Mark he parameter as const.  Nothing to do here
in case mempool_alloc fails. No need to get db rdlock before calling
cache_add.
* nscd/hstcache.c (cache_addhst): Likewise.
* nscd/initgrcache.c (addinitgroupsX): Likewise.
* nscd/servicescache.c (cache_addserv): Likewise.
* nscd/pwdcache.c (cache_addpw): Likewise.  Remove some debugging code.

15 years ago* po/lt.po: Update from translation team.
Ulrich Drepper [Thu, 12 Feb 2009 04:56:50 +0000 (04:56 +0000)]
* po/lt.po: Update from translation team.

15 years ago* locales/iso14651_t1_common: Add rules for sorting Malayalam.
Ulrich Drepper [Wed, 11 Feb 2009 15:42:53 +0000 (15:42 +0000)]
* locales/iso14651_t1_common: Add rules for sorting Malayalam.

Patch by Santhosh Thottingal <santhosh.thottingal@gmail.com>.

15 years ago* elf/dl-load.c (open_verify): In case VALID_ELF_HEADER is
Ulrich Drepper [Tue, 10 Feb 2009 17:21:29 +0000 (17:21 +0000)]
* elf/dl-load.c (open_verify): In case VALID_ELF_HEADER is

defined, allow additional data to be added using the optional
MORE_ELF_HEADER_DATA macro.
* sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER,
VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Define.

15 years ago* include/atomic.h: Define catomic_and if not already defined.
Ulrich Drepper [Sun, 8 Feb 2009 23:50:23 +0000 (23:50 +0000)]
* include/atomic.h: Define catomic_and if not already defined.

* sysdeps/x86_64/bits/atomic.h: Define catomic_and.
* sysdeps/i386/i486/bits/atomic.h: Likewise.

15 years ago(_int_realloc): Likewise. Third argument is now padded size
Ulrich Drepper [Sat, 7 Feb 2009 22:49:34 +0000 (22:49 +0000)]
(_int_realloc): Likewise.  Third argument is now padded size

15 years ago* malloc/malloc.c (_int_free): Second argument is now mchunkptr.
Ulrich Drepper [Sat, 7 Feb 2009 22:01:49 +0000 (22:01 +0000)]
* malloc/malloc.c (_int_free): Second argument is now mchunkptr.

Change all callers.
(_int_realloc): Likewise.
All _int_* functions are now static.
* malloc/hooks.c: Change all callers to _int_free and _int_realloc.
* malloc/arena.c: Likewise.
* include/malloc.h: Remove now unnecessary declarations of the _int_*
functions.

15 years ago* sunrpc/rpc_common.c: We cannot move _null_auth into .rodata that
Ulrich Drepper [Sat, 7 Feb 2009 19:44:02 +0000 (19:44 +0000)]
* sunrpc/rpc_common.c: We cannot move _null_auth into .rodata that

easily.

15 years ago* malloc/malloc.c: Add branch prediction for use of the hooks.
Ulrich Drepper [Sat, 7 Feb 2009 19:05:28 +0000 (19:05 +0000)]
* malloc/malloc.c: Add branch prediction for use of the hooks.

15 years ago* grp/compat-initgroups.c [NOT_IN_libc] (__libc_use_alloca): Define.
Ulrich Drepper [Sat, 7 Feb 2009 17:00:27 +0000 (17:00 +0000)]
* grp/compat-initgroups.c [NOT_IN_libc] (__libc_use_alloca): Define.

15 years ago[BZ #7095]
Ulrich Drepper [Sat, 7 Feb 2009 08:19:29 +0000 (08:19 +0000)]
[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.

15 years ago[BZ #7098]
Ulrich Drepper [Sat, 7 Feb 2009 05:29:10 +0000 (05:29 +0000)]
[BZ #7098]

* Makefile ($(inst_i18ndir)/charmaps/%.gz): No need to save
timestamp in compressed charmaps.
Patch by Gilles Espinasse <g.esp@free.fr>.

15 years ago[BZ #9753]
Ulrich Drepper [Sat, 7 Feb 2009 05:01:55 +0000 (05:01 +0000)]
[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.

15 years ago[BZ #9781]
Ulrich Drepper [Sat, 7 Feb 2009 04:40:57 +0000 (04:40 +0000)]
[BZ #9781]

* grp/compat-initgroups.c (compat_call): Switch to use malloc when
the input line is too long.

15 years ago[BZ #9791]
Ulrich Drepper [Sat, 7 Feb 2009 04:03:20 +0000 (04:03 +0000)]
[BZ #9791]

15 years ago* po/Makefile (libc.pot): Add f_print as function taking c-format
Ulrich Drepper [Fri, 6 Feb 2009 20:42:21 +0000 (20:42 +0000)]
* po/Makefile (libc.pot): Add f_print as function taking c-format

parameter.

15 years ago* debug/xtrace.sh: Unify translatable messages.
Ulrich Drepper [Fri, 6 Feb 2009 20:13:07 +0000 (20:13 +0000)]
* 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>

15 years ago* malloc/memusage.c (DEFAULT_BUFFER_SIZE): Change to 32768.
Ulrich Drepper [Fri, 6 Feb 2009 18:27:08 +0000 (18:27 +0000)]
* malloc/memusage.c (DEFAULT_BUFFER_SIZE): Change to 32768.

(update_data): Fix handling of wrapping back

15 years ago* malloc/memusage.c (update_data): Fix handling of wrapping back
Ulrich Drepper [Fri, 6 Feb 2009 18:24:23 +0000 (18:24 +0000)]
* malloc/memusage.c (update_data): Fix handling of wrapping back

to the beginning of the buffer.

15 years ago* td_thr_get_info.c (td_thr_get_info): Initialize schedpolicy in
Ulrich Drepper [Fri, 6 Feb 2009 17:05:47 +0000 (17:05 +0000)]
* td_thr_get_info.c (td_thr_get_info): Initialize schedpolicy in

the special case [Coverity CID 251].

15 years ago[BZ #9823]
Ulrich Drepper [Fri, 6 Feb 2009 16:04:28 +0000 (16:04 +0000)]
[BZ #9823]

2009-02-06  Ulrich Drepper  <drepper@redhat.com>
[BZ #9823]
* stdio-common/psignal.c (psignal): Fix test for empty string.

15 years ago* include/rpc/auth.h: Use libc_hidden_proto for _null_auth.
Ulrich Drepper [Fri, 6 Feb 2009 05:33:30 +0000 (05:33 +0000)]
* 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.

15 years ago* time/tzset.c (__tzset_parse_tz): DST offset must also allow hour
Ulrich Drepper [Thu, 5 Feb 2009 20:09:58 +0000 (20:09 +0000)]
* time/tzset.c (__tzset_parse_tz): DST offset must also allow hour

value of 24.

15 years ago* intl/dcigettext.c (DCIGETTEXT): Avoid some code duplication.
Ulrich Drepper [Thu, 5 Feb 2009 19:59:54 +0000 (19:59 +0000)]
* intl/dcigettext.c (DCIGETTEXT): Avoid some code duplication.

15 years ago* sysdeps/unix/opendir.c (__alloc_dir): We have a lot more memory
Ulrich Drepper [Thu, 5 Feb 2009 18:20:59 +0000 (18:20 +0000)]
* 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.

15 years ago* sysdeps/sh/sh4/dl-trampoline.S: Only set HAVE_FPU if __SH_FPU_ANY__
Ulrich Drepper [Thu, 5 Feb 2009 01:01:39 +0000 (01:01 +0000)]
* 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.

15 years ago* po/ru.po: Update from translation team.
Ulrich Drepper [Thu, 5 Feb 2009 00:36:36 +0000 (00:36 +0000)]
* po/ru.po: Update from translation team.

15 years ago* sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (struct sigevent):
Ulrich Drepper [Thu, 5 Feb 2009 00:21:43 +0000 (00:21 +0000)]
* sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (struct sigevent):

Add _tid slot to maintain consistency with kernel.

15 years ago2009-02-04 Ulrich Drepper <drepper@redhat.com> cvs/fedora-glibc-20090204T2135
Ulrich Drepper [Wed, 4 Feb 2009 21:27:48 +0000 (21:27 +0000)]
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.

15 years agoTest of fgetwc on unbuffered stream.
Ulrich Drepper [Wed, 4 Feb 2009 21:25:31 +0000 (21:25 +0000)]
Test of fgetwc on unbuffered stream.

15 years agoUpdate
Andreas Jaeger [Wed, 4 Feb 2009 07:20:50 +0000 (07:20 +0000)]
Update

2009-02-04  Andreas Jaeger  <aj@suse.de>

* FAQ.in: Remove reference to my mips page.

15 years agoRemove reference to my mips page.
Andreas Jaeger [Wed, 4 Feb 2009 07:20:33 +0000 (07:20 +0000)]
Remove reference to my mips page.

15 years ago* sysdeps/unix/sysv/linux/sh/Makefile (libm.so-no-z-defs): Define.
Ulrich Drepper [Tue, 3 Feb 2009 15:06:26 +0000 (15:06 +0000)]
* sysdeps/unix/sysv/linux/sh/Makefile (libm.so-no-z-defs): Define.

15 years ago[BZ #9793]
Ulrich Drepper [Tue, 3 Feb 2009 01:31:30 +0000 (01:31 +0000)]
[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.

15 years ago* sysdeps/x86_64/cacheinfo.c (intel_02_known): Add new descriptors.
Ulrich Drepper [Sun, 1 Feb 2009 18:13:41 +0000 (18:13 +0000)]
* sysdeps/x86_64/cacheinfo.c (intel_02_known): Add new descriptors.

* sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.

15 years ago* nscd/connections.c (nscd_init): If database file access fails
Ulrich Drepper [Sat, 31 Jan 2009 00:23:54 +0000 (00:23 +0000)]
* nscd/connections.c (nscd_init): If database file access fails

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

15 years ago* elf/Makefile (ld.so): Adjust the sed script to insert _begin in to
Ulrich Drepper [Sat, 31 Jan 2009 00:21:15 +0000 (00:21 +0000)]
* elf/Makefile (ld.so): Adjust the sed script to insert _begin in to

newer linker scripts.

15 years ago[BZ #7040]
Ulrich Drepper [Fri, 30 Jan 2009 20:45:59 +0000 (20:45 +0000)]
[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.

15 years ago* sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp):
Ulrich Drepper [Fri, 30 Jan 2009 20:35:58 +0000 (20:35 +0000)]
* sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp):

Make aligned_restore_vmx a local symbol.
* sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp):
Likewise.

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] cvs/fedora-glibc-20090108T1017
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] cvs/fedora-glibc-20090108T0952
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.