platform/upstream/glibc.git
20 years ago(__pthread_attr_setaffinity_old): Remove const.
Andreas Jaeger [Wed, 24 Mar 2004 13:52:34 +0000 (13:52 +0000)]
(__pthread_attr_setaffinity_old): Remove const.

2004-03-24  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c
(__pthread_attr_setaffinity_old): Remove const.

20 years agoUpdate.
Ulrich Drepper [Wed, 24 Mar 2004 06:36:06 +0000 (06:36 +0000)]
Update.

* sysdeps/unix/sysv/linux/smp.h: New file.
* sysdeps/unix/sysv/linux/sh/smp.h: New file.
* init.c: Define __is_smp.
(__pthread_initialize_minimal_internal): Call is_smp_system to
initialize __is_smp.
* pthreadP.h: Declare __is_smp.
Define MAX_ADAPTIVE_COUNT is necessary.
* pthread_mutex_init.c: Add comment regarding __spins field.
* pthread_mutex_lock.c: Implement adaptive mutex type.
* pthread_mutex_timedlock.c: Likewise.
* sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_mutex_t):
Add __spins field.
* sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Define
lll_mutex_cond_trylock.
* sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h: Likewise.
Define BUSY_WAIT_NOP.
* sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise.

* tst-mutex5.c: Add support for testing adaptive mutexes.
* tst-mutex7.c: Likewise.
* tst-mutex5a.c: New file.
* tst-mutex7a.c: New file.
* Makefile (tests): Add tst-mutex5a and tst-mutex7a.

20 years agoUpdate.
Ulrich Drepper [Wed, 24 Mar 2004 01:56:21 +0000 (01:56 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
(__lll_mutex_timedlock_wait): Preserve r8 and r9 since the
vgettimeofday call miht destroy the content.

20 years agoUpdate.
Ulrich Drepper [Wed, 24 Mar 2004 00:06:13 +0000 (00:06 +0000)]
Update.

2004-03-23  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_pread, __NR_pwrite):
Define to __NR_p{read,write}64 if not defined.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (__NR_pread,
__NR_pwrite): Define to __NR_p{read,write}64 if not defined instead
of defining it the other way around.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Move common syscalls
for 64bit arches to sysdeps/unix/sysv/linux/wordsize-64/syscalls.list.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/alpha/pread64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/glob64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/truncate64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/xstat64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/pwrite64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/posix_fadvise.c: Removed.
* sysdeps/unix/sysv/linux/alpha/mmap64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/fxstat64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/ftruncate64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/sendfile64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/lxstat64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/posix_fadvise64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/statfs64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/fstatfs64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/posix_fadvise.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/posix_fadvise64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: Removed.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/glob64.c: Removed.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/truncate64.c: Removed.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/xstat64.c: Removed.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/posix_fadvise.c: Removed.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/fxstat64.c: Removed.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/ftruncate64.c: Removed.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/lxstat64.c: Removed.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/posix_fadvise64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/pread64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/glob64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/pwrite64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/posix_fadvise.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/sendfile64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/posix_fadvise64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/pread64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/getrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/glob64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/readdir64_r.c: Removed.
* sysdeps/unix/sysv/linux/ia64/truncate64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/xstat64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/pwrite64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/getdents64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/readdir_r.c: Removed.
* sysdeps/unix/sysv/linux/ia64/lxstat.c: Removed.
* sysdeps/unix/sysv/linux/ia64/readdir.c: Removed.
* sysdeps/unix/sysv/linux/ia64/posix_fadvise.c: Removed.
* sysdeps/unix/sysv/linux/ia64/mmap64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/xstat.c: Removed.
* sysdeps/unix/sysv/linux/ia64/fxstat64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/setrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/ftruncate64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/sendfile64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/getdents.c: Removed.
* sysdeps/unix/sysv/linux/ia64/lxstat64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/posix_fadvise64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/readdir64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/fxstat.c: Removed.
* sysdeps/unix/sysv/linux/ia64/statfs64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/fstatfs64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/pread64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/getrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/glob64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/readdir64_r.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/truncate64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/xstat64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/pwrite64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/getdents64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/readdir_r.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/lxstat.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/readdir.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/posix_fadvise.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/mmap64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/xstat.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/fxstat64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/setrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/ftruncate64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/sendfile64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/getdents.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/lxstat64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/posix_fadvise64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/readdir64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/fxstat.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/statfs64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/fstatfs64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/Implies: New file.
* sysdeps/unix/sysv/linux/alpha/getdents64.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/Implies: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/Implies: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/Implies: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/lxstat.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/statvfs64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/fstatvfs64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/pread64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/xstat64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/readdir.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/xstat.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/fxstat64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/sendfile64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/getdents.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/statvfs.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/lxstat64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: New file.
* sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/statfs64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/fstatfs64.c: New file.
* sysdeps/unix/sysv/linux/ia64/Implies: New file.
* sysdeps/unix/sysv/linux/x86_64/Implies: New file.

20 years agoUpdate.
Ulrich Drepper [Tue, 23 Mar 2004 10:01:06 +0000 (10:01 +0000)]
Update.

2004-03-23  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/ia64/pt-machine.h (BUSY_WAIT_NOP): Define.
* sysdeps/x86_64/pt-machine.h (BUSY_WAIT_NOP): Likewise.

20 years agoUpdate.
Ulrich Drepper [Tue, 23 Mar 2004 08:39:26 +0000 (08:39 +0000)]
Update.

2004-03-23  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_mutex_trylock):
Remove unnecessary setne instruction.

20 years agoUpdate.
Ulrich Drepper [Tue, 23 Mar 2004 07:37:19 +0000 (07:37 +0000)]
Update.

2004-03-19  Petter Reinholdtsen  <pere@hungry.com>

* localedata/locales/af_ZA: Make sure yesexpr and noexpr regex
start with '^'.
* localedata/locales/ar_TN: Likewise.
* localedata/locales/ar_YE: Likewise.
* localedata/locales/bn_BD: Likewise.
* localedata/locales/br_FR: Likewise.
* localedata/locales/ca_ES: Likewise.
* localedata/locales/cy_GB: Likewise.
* localedata/locales/gd_GB: Likewise.
* localedata/locales/gv_GB: Likewise.
* localedata/locales/hy_AM: Likewise.
* localedata/locales/id_ID: Likewise.
* localedata/locales/ka_GE: Likewise.
* localedata/locales/kw_GB: Likewise.
* localedata/locales/lg_UG: Likewise.
* localedata/locales/mk_MK: Likewise.
* localedata/locales/oc_FR: Likewise.
* localedata/locales/ru_UA: Likewise.
* localedata/locales/sk_SK: Likewise.
* localedata/locales/sr_YU: Likewise.
* localedata/locales/sr_YU@cyrillic: Likewise.
* localedata/locales/uk_UA: Likewise.
* localedata/locales/ur_PK: Likewise.
* localedata/locales/wa_BE: Likewise.

20 years agoMake sure yesexpr and noexpr regex start with '^'.
Ulrich Drepper [Tue, 23 Mar 2004 07:36:58 +0000 (07:36 +0000)]
Make sure yesexpr and noexpr regex start with '^'.

20 years ago * sysdeps/alpha/s_fabs.S: Remove file. * sysdeps/alpha/s_copysign...
Richard Henderson [Tue, 23 Mar 2004 01:18:23 +0000 (01:18 +0000)]
    * sysdeps/alpha/s_fabs.S: Remove file.         * sysdeps/alpha/s_copysign.S: Remove file.

2004-03-22  Richard Henderson  <rth@redhat.com>

* sysdeps/alpha/s_fabs.S: Remove file.
* sysdeps/alpha/s_copysign.S: Remove file.

20 years agoUpdate.
Ulrich Drepper [Mon, 22 Mar 2004 19:54:06 +0000 (19:54 +0000)]
Update.

2004-03-22  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c
(__getpagesize): Avoid warning about writing into read-only memory.

* string/Makefile (routines): Add xpg-strerror.
* string/string.h (strerror_r): If __USE_XOPEN2K but not __USE_GNU,
redirect strerror_r to __xpg_strerror_r.
* string/Versions (libc): Add __xpg_strerror_r@@GLIBC_2.3.4.
* sysdeps/generic/xpg-strerror.c: New file.
* sysdeps/mach/xpg-strerror.c: New file.

20 years ago(__pthread_getaffinity_new): Use INT_MAX instead of UINT_MAX.
Ulrich Drepper [Mon, 22 Mar 2004 19:32:45 +0000 (19:32 +0000)]
(__pthread_getaffinity_new): Use INT_MAX instead of UINT_MAX.

20 years agoUpdate.
Andreas Jaeger [Mon, 22 Mar 2004 10:53:16 +0000 (10:53 +0000)]
Update.

2004-03-22  Joseph S. Myers  <jsm@polyomino.org.uk>

* sunrpc/rpc/xdr.h (IXDR_GET_LONG, IXDR_PUT_LONG): Do not use
casts as lvalues.

2004-03-22  Andreas Jaeger  <aj@suse.de>

* elf/tst-dlmodcount.c (unload): Remove unused variable.

* misc/tst-mntent.c (main): Use tmpfile instead of tmpnam.

20 years ago (main): Use tmpfile instead of tmpnam.
Andreas Jaeger [Mon, 22 Mar 2004 10:50:50 +0000 (10:50 +0000)]
 (main): Use tmpfile instead of tmpnam.

20 years ago(_dl_make_stack_executable): Disable for static linking.
Roland McGrath [Sat, 20 Mar 2004 20:30:05 +0000 (20:30 +0000)]
(_dl_make_stack_executable): Disable for static linking.

20 years ago* sysdeps/mach/hurd/dl-execstack.c: New file.
Roland McGrath [Sat, 20 Mar 2004 20:19:29 +0000 (20:19 +0000)]
* sysdeps/mach/hurd/dl-execstack.c: New file.

20 years ago2004-03-20 Roland McGrath <roland@frob.com>
Roland McGrath [Sat, 20 Mar 2004 20:19:09 +0000 (20:19 +0000)]
2004-03-20  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/dl-execstack.c: New file.

20 years agoUpdate.
Ulrich Drepper [Sat, 20 Mar 2004 17:26:44 +0000 (17:26 +0000)]
Update.

2004-03-20  Ulrich Drepper  <drepper@redhat.com>

* po/ca.po: Update from translation team.

20 years agoUpdate from translation team.
Ulrich Drepper [Sat, 20 Mar 2004 17:25:52 +0000 (17:25 +0000)]
Update from translation team.

20 years ago* sysdeps/unix/sysv/linux/pthread_setaffinity.c
Andreas Jaeger [Sat, 20 Mar 2004 07:39:03 +0000 (07:39 +0000)]
* sysdeps/unix/sysv/linux/pthread_setaffinity.c

(__pthread_setaffinity_old): Fix interface.
* sysdeps/unix/sysv/linux/pthread_getaffinity.c
(__pthread_getaffinity_old): Likewise.
* sysdeps/unix/sysv/linux/pthread_setaffinity.c
(__pthread_setaffinity_new): Remove duplicate declaration.
2004-03-20  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/pthread_setaffinity.c
(__pthread_setaffinity_old): Fix interface.
* sysdeps/unix/sysv/linux/pthread_getaffinity.c
(__pthread_getaffinity_old): Likewise.

* sysdeps/unix/sysv/linux/pthread_setaffinity.c
(__pthread_setaffinity_new): Remove duplicate declaration.

20 years agoUpdate.
Andreas Jaeger [Sat, 20 Mar 2004 06:43:04 +0000 (06:43 +0000)]
Update.

2004-03-20  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/sched_getaffinity.c
(__sched_getaffinity_old): Fix interface.
* sysdeps/unix/sysv/linux/sched_setaffinity.c
(__sched_setaffinity_old): Likewise.

* sysdeps/unix/sysv/linux/sched_setaffinity.c: Include <alloca.h>.

20 years ago(__sched_getaffinity_old): Fix interface.
Andreas Jaeger [Sat, 20 Mar 2004 06:42:17 +0000 (06:42 +0000)]
(__sched_getaffinity_old): Fix interface.

20 years agoUpdate.
Ulrich Drepper [Sat, 20 Mar 2004 06:16:26 +0000 (06:16 +0000)]
Update.

2004-03-17  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_CLONE_THREAD_FLAGS ): Define for newer SH kernel.
(__ASSUME_TGKILL, __ASSUME_UTIMES): Likewise.
* sysdeps/unix/sysv/linux/sh/socket.S: Add unwind information.

20 years agoUpdate.
Ulrich Drepper [Sat, 20 Mar 2004 04:42:40 +0000 (04:42 +0000)]
Update.

2004-03-20  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (CENABLE): Save
the return value to a safe register.
(CDISABLE): Set the function argument correctly.

20 years agoUpdate.
Ulrich Drepper [Sat, 20 Mar 2004 00:38:50 +0000 (00:38 +0000)]
Update.

2004-03-19  Ulrich Drepper  <drepper@redhat.com>

* time/tzfile.c (__tzfile_default): Correct setting of rule_stdoff
and rule_dstoff after reading the posixrules file.

20 years agoUpdate.
Ulrich Drepper [Fri, 19 Mar 2004 07:16:54 +0000 (07:16 +0000)]
Update.

2004-03-18  Ulrich Drepper  <drepper@redhat.com>

* malloc/malloc.c (__posix_memalign): Correct alignment check.
Reported by Don Heller <dheller@cse.psu.edu>.

20 years agoUpdate.
Ulrich Drepper [Fri, 19 Mar 2004 00:37:59 +0000 (00:37 +0000)]
Update.

2004-03-18  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Remove hwcap
variable and weak_extern for _dl_hwcap.
(_DL_HWCAP_TLS_MASK): Define.
(HWCAP_CHECK): Fix checking of non-platform hwcap bits.  Use
lib->osversion instead of cache_new->libs[middle].osversion.

* stdio-common/asprintf.c: Remove USE_IN_LIBIO conditionals.
* stdio-common/dprintf.c: Likewise.
* stdio-common/fprintf.c: Likewise.
* stdio-common/getline.c: Likewise.
* stdio-common/getw.c: Likewise.
* stdio-common/perror.c: Likewise.
* stdio-common/printf-prs.c: Likewise.
* stdio-common/printf.c: Likewise.
* stdio-common/printf_size.c: Likewise.
* stdio-common/psignal.c: Likewise.
* stdio-common/putw.c: Likewise.
* stdio-common/scanf.c: Likewise.
* stdio-common/snprintf.c: Likewise.
* stdio-common/sprintf.c: Likewise.
* stdio-common/sscanf.c: Likewise.
* stdio-common/tstgetln.c: Likewise.
* stdio-common/vfprintf.c: Likewise.

2004-03-18  Paul Eggert  <eggert@cs.ucla.edu>

* posix/getopt.h (__GNUC_PREREQ) [!defined __THROW]: Define
if not defined, fixing a typo (it used to be defined if
__GNUC__ was not defined).

20 years agoUpdate.
Ulrich Drepper [Fri, 19 Mar 2004 00:14:42 +0000 (00:14 +0000)]
Update.

2004-03-18  Ulrich Drepper  <drepper@redhat.com>

* posix/sched.h: Change sched_getaffinity and sched_setaffinity
interfaces: add new second parameter.
* sysdeps/generic/sched_getaffinity.c: Implement interface change.
* sysdeps/generic/sched_setaffinity.c: Likewise.
* sysdeps/unix/sysv/linux/sched_getaffinity.c: Likewise.  Add
compatibility interface.
* sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
* sysdeps/unix/sysv/linux/Versions: Add versions for changed
interfaces.

20 years ago(struct pthread_attr): Add cpusetsize field, remove next.
Ulrich Drepper [Thu, 18 Mar 2004 23:54:14 +0000 (23:54 +0000)]
(struct pthread_attr): Add cpusetsize field, remove next.

20 years ago* manual/Makefile (stamp-summary): Use -k option to sort,
Roland McGrath [Thu, 18 Mar 2004 22:26:42 +0000 (22:26 +0000)]
* manual/Makefile (stamp-summary): Use -k option to sort,

not traditional key selection syntax.
Reported by Jim Gifford <giffordj@linkline.com>.

20 years ago* elf/ldconfig.c: Include stdbool.h.
Roland McGrath [Thu, 18 Mar 2004 21:28:37 +0000 (21:28 +0000)]
* elf/ldconfig.c: Include stdbool.h.

20 years ago* elf/ldconfig.c (parse_conf_include): New function.
Roland McGrath [Thu, 18 Mar 2004 08:43:41 +0000 (08:43 +0000)]
* elf/ldconfig.c (parse_conf_include): New function.

(parse_conf): Call it to parse lines starting with "include".
Remaining words are glob patterns for more config files to read.
Take additional bool argument to disable opt_chroot processing.
(main): Update caller.

20 years ago2004-03-17 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 18 Mar 2004 07:47:54 +0000 (07:47 +0000)]
2004-03-17  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/timer_create.c (timer_create): Pass missing
first argument to clock_getres so we ever enable kernel timers.

20 years agoUpdate.
Ulrich Drepper [Wed, 17 Mar 2004 23:19:36 +0000 (23:19 +0000)]
Update.

* sysdeps/unix/sysv/linux/ia64/ioperm.c (_iopl): Match EPERM error
the x86 code produces in case of mission permissions.
Patch by Bernd Schmidt <bernds@redhat.com>.

20 years agoUpdate.
Ulrich Drepper [Wed, 17 Mar 2004 20:02:19 +0000 (20:02 +0000)]
Update.

2004-03-17  Ulrich Drepper  <drepper@redhat.com>

* resolv/netdb.h: Define AI_IDN_ALLOW_UNASSIGNED,
AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED, and
NI_IDN_USE_STD3_ASCII_RULES.
* inet/getnameinfo.c (getnameinfo): Implement handling of
NI_IDN_ALLOW_UNASSIGNED and NI_IDN_USE_STD3_ASCII_RULES.
* sysdeps/posix/getaddrinfo.c (gaih_inet): Implement handling of
AI_IDN_ALLOW_UNASSIGNED and AI_IDN_USE_STD3_ASCII_RULES.

20 years agoUpdate.
Ulrich Drepper [Wed, 17 Mar 2004 17:30:06 +0000 (17:30 +0000)]
Update.

2004-03-17  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/x86_64/hp-timing.h (HP_TIMING_NOW): Make asm volatile.

2004-03-16  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Spelling.
(JB_SIZE): Undefine before including __longjmp-common.S again.
* sysdeps/powerpc/powerpc32/fpu/setjmp.S: Spelling.
(JB_SIZE): Undefine before including setjmp-common.S again.
* sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Spelling.
* sysdeps/powerpc/powerpc64/bsd-setjmp.S: Spelling.
* sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Spelling.
* sysdeps/powerpc/powerpc32/bsd-setjmp.S: Spelling.
* sysdeps/powerpc/sigjmp.c: Spelling.

20 years agoUpdate.
Ulrich Drepper [Tue, 16 Mar 2004 10:10:13 +0000 (10:10 +0000)]
Update.

2004-03-16  Ulrich Drepper  <drepper@redhat.com>

* include/ctype.h: For libc, define isdigit, isdigit_l, and
__isdigit_l as simple comparison macros.
* include/wctype.h: For libc, define iswdigit, iswdigit_l, and
__iswdigit_l as simple comparison macros.
* wctype/wcfuncs_l.c: #undef iswdigit and __iswdigit.

* sysdeps/alpha/fpu/bits/mathdef.h: Remove INFINITY.
* sysdeps/arm/fpu/bits/mathdef.h: Likewise.
* sysdeps/generic/bits/mathdef.h: Likewise.
* sysdeps/i386/fpu/bits/mathdef.h: Likewise.
* sysdeps/ia64/fpu/bits/mathdef.h: Likewise.
* sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
* sysdeps/mips/fpu/bits/mathdef.h: Likewise.
* sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
* sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise.
* sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
* sysdeps/x86_64/fpu/bits/mathdef.h: Likewise.

20 years agoUpdate.
Ulrich Drepper [Tue, 16 Mar 2004 00:08:09 +0000 (00:08 +0000)]
Update.

2004-03-15  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/sparc/fpu/bits/mathinline.h: Restore missing #ifdef.
Patch by Richard Henderson.

2004-03-16  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/generic/strtold_l.c (STRING_TYPE, STRTOLD, __STRTOLD,
__STRTOD, INTERNAL, INTERNAL1): Define, use them.
[! USE_WIDE_CHAR] (INTERNAL (__STRTOLD)): Add libc_hidden_def.

* inet/getnameinfo.c: Include stdlib.h.

20 years agoUpdate.
Ulrich Drepper [Mon, 15 Mar 2004 22:41:44 +0000 (22:41 +0000)]
Update.

* iconv/gconv_simple.c (__gconv_transform_utf8_internal): Use only
one copy of error handling code.

20 years ago(__gconv_transform_utf8_internal): Use only one copy of error handling code.
Ulrich Drepper [Mon, 15 Mar 2004 22:37:31 +0000 (22:37 +0000)]
(__gconv_transform_utf8_internal): Use only one copy of error handling code.

20 years ago * math/Makefile (headers): Add bits/huge_valf.h, bits/huge_vall.h, ...
Richard Henderson [Mon, 15 Mar 2004 21:44:11 +0000 (21:44 +0000)]
    * math/Makefile (headers): Add bits/huge_valf.h, bits/huge_vall.h,         and bits/inf.h.         * math/math.h: Include them.

        * sysdeps/alpha/fpu/bits/mathdef.h, sysdeps/arm/fpu/bits/mathdef.h,
        sysdeps/generic/bits/mathdef.h, sysdeps/i386/fpu/bits/mathdef.h,
        sysdeps/ia64/fpu/bits/mathdef.h, sysdeps/m68k/fpu/bits/mathdef.h,
        sysdeps/mips/fpu/bits/mathdef.h, sysdeps/powerpc/fpu/bits/mathdef.h,
        sysdeps/sh/sh4/fpu/bits/mathdef.h, sysdeps/sparc/fpu/bits/mathdef.h,
        sysdeps/x86_64/fpu/bits/mathdef.h: Remove INFINITY.

        * sysdeps/arm/bits/huge_val.h (HUGE_VAL): Use __builtin_huge_val.
        (HUGE_VALF, HUGE_VALL): Remove.
        * sysdeps/ieee754/bits/huge_val.h: Likewise.
        * sysdeps/sh/bits/huge_val.h: Likewise.

        * sysdeps/generic/bits/huge_val.h (HUGE_VAL): Use __builtin_huge_val.
        * sysdeps/generic/bits/huge_valf.h: New file.
        * sysdeps/generic/bits/huge_vall.h: New file.
        * sysdeps/generic/bits/inf.h: New file.
        * sysdeps/ieee754/bits/huge_valf.h: New file.
        * sysdeps/ieee754/bits/inf.h: New file.
        * sysdeps/i386/bits/huge_val.h: Remove file.
        * sysdeps/i386/bits/huge_vall.h: New file.
        * sysdeps/ia64/bits/huge_val.h: Remove file.
        * sysdeps/ia64/bits/huge_vall.h: New file.
        * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: New file.
        * sysdeps/m68k/bits/huge_val.h: Remove file.
        * sysdeps/m68k/bits/huge_vall.h: New file.
        * sysdeps/s390/bits/huge_val.h: Remove file.
        * sysdeps/sh/sh4/fpu/bits/huge_val.h: Remove file.
        * sysdeps/sparc/bits/huge_vall.h: New file.
        * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Remove file.
        * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Remove file.

        * sysdeps/ieee754/bits/nan.h (NAN): Use __builtin_nanf.
        * sysdeps/mips/bits/nan.h (NAN): Likewise.
2004-03-15  Richard Henderson  <rth@redhat.com>

* math/Makefile (headers): Add bits/huge_valf.h, bits/huge_vall.h,
and bits/inf.h.
* math/math.h: Include them.

* sysdeps/alpha/fpu/bits/mathdef.h, sysdeps/arm/fpu/bits/mathdef.h,
sysdeps/generic/bits/mathdef.h, sysdeps/i386/fpu/bits/mathdef.h,
sysdeps/ia64/fpu/bits/mathdef.h, sysdeps/m68k/fpu/bits/mathdef.h,
sysdeps/mips/fpu/bits/mathdef.h, sysdeps/powerpc/fpu/bits/mathdef.h,
sysdeps/sh/sh4/fpu/bits/mathdef.h, sysdeps/sparc/fpu/bits/mathdef.h,
sysdeps/x86_64/fpu/bits/mathdef.h: Remove INFINITY.

* sysdeps/arm/bits/huge_val.h (HUGE_VAL): Use __builtin_huge_val.
(HUGE_VALF, HUGE_VALL): Remove.
* sysdeps/ieee754/bits/huge_val.h: Likewise.
* sysdeps/sh/bits/huge_val.h: Likewise.

* sysdeps/generic/bits/huge_val.h (HUGE_VAL): Use __builtin_huge_val.
* sysdeps/generic/bits/huge_valf.h: New file.
* sysdeps/generic/bits/huge_vall.h: New file.
* sysdeps/generic/bits/inf.h: New file.
* sysdeps/ieee754/bits/huge_valf.h: New file.
* sysdeps/ieee754/bits/inf.h: New file.
* sysdeps/i386/bits/huge_val.h: Remove file.
* sysdeps/i386/bits/huge_vall.h: New file.
* sysdeps/ia64/bits/huge_val.h: Remove file.
* sysdeps/ia64/bits/huge_vall.h: New file.
* sysdeps/ieee754/ldbl-128/bits/huge_vall.h: New file.
* sysdeps/m68k/bits/huge_val.h: Remove file.
* sysdeps/m68k/bits/huge_vall.h: New file.
* sysdeps/s390/bits/huge_val.h: Remove file.
* sysdeps/sh/sh4/fpu/bits/huge_val.h: Remove file.
* sysdeps/sparc/bits/huge_vall.h: New file.
* sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Remove file.
* sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Remove file.

* sysdeps/ieee754/bits/nan.h (NAN): Use __builtin_nanf.
* sysdeps/mips/bits/nan.h (NAN): Likewise.

20 years agoUpdate.
Ulrich Drepper [Mon, 15 Mar 2004 20:33:43 +0000 (20:33 +0000)]
Update.

* stdio-common/vfscanf.c: Simplify error handling macros.  Use
direct locale access functions.

20 years agoUpdate.
Ulrich Drepper [Mon, 15 Mar 2004 08:55:28 +0000 (08:55 +0000)]
Update.

2004-03-15  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/strcasestr.c (__strcasestr): Optimize use of
tolower function.

20 years agoUpdate.
Ulrich Drepper [Mon, 15 Mar 2004 06:23:52 +0000 (06:23 +0000)]
Update.

2004-03-13  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Add const.
(handle_amd): New function.
(__sysconf): Handle _SC_LEVEL4_CACHE_LINESIZE here, not in
linux_sysconf.  Call handle_amd on AuthenticAMD.
* sysdeps/unix/sysv/linux/x86_64/sysconf.c: Likewise.

20 years agoUpdate.
Ulrich Drepper [Mon, 15 Mar 2004 01:09:34 +0000 (01:09 +0000)]
Update.

* wcsmbs/mbsrtowcs.c: Just a wrapper around __mbsrtowcs_l.
* wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Add real implementation here.

20 years agoUpdate.
Ulrich Drepper [Sun, 14 Mar 2004 21:12:06 +0000 (21:12 +0000)]
Update.

2004-03-14  Ulrich Drepper  <drepper@redhat.com>

Make the non-_l functions wrappers around the _l functions.
* include/monetary.h: Declare __vstrmon_l.
* include/string.h: Add libc_hidden_proto for __strcoll_l and
__strxfrm_l.
* include/time.h: Define ptime_locale_status.  Declare
__strptime_internal.
* include/wchar.h: Add libc_hidden_proto for __wcscoll_l and
__wcsxfrm_l.
* stdlib/strfmon.c: Move the code to strfmon_l.c.  Add little
wrapper around __vstrfmon_l.
* stdlib/strfmon_l.c: Add real implementation.  Split into new
function __vstrfmon_l to allow calling it from strfmon.
* stdlib/strtod.c: Move real code to strtod_l.c and add wrapper.
* stdlib/strtod_l.c: Add real implementation.
* stdlib/strtof.c: Adjust to changed strtod.c.
* stdlib/strtof_l.c: Include strtod_l.c now.
* stdlib/strtold.c: New file.
* stdlib/strtold_l.c: Removed.
* string/strcoll.c: Move real code to strcoll_l.c: Add wrapper.
* string/strcoll_l.c: Add real implementation.
* string/strxfrm.c: Move real code to strxfrm_l.c: Add wrapper.
* string/strxfrm_l.c: Add real implementation.
* sysdeps/generic/strtol.c: Move real implementation to strtol_l.c.
Add wrappers.
* sysdeps/generic/strtol_l.c: Add real implementation.
* sysdeps/generic/strtold.c: Removed.
* sysdeps/generic/strtold_l.c: New file.
* sysdeps/generic/strtoll_l.c: Include strtol_l.c now.  Adjust
#defines.
* sysdeps/generic/strtoul_l.c: Likewise.
* sysdeps/generic/strtoull_l.c: Likewise.
* sysdeps/generic/wcstol_l.c: Likewise.
* sysdeps/generic/wcstoll_l.c: Likewise.
* sysdeps/generic/wcstoul_l.c: Likewise.
* sysdeps/generic/wcstoull_l.c: Likewise.
* sysdeps/ieee754/ldbl-128/strtold.c: Removed.
* sysdeps/ieee754/ldbl-128/strtold_l.c: New file.
* sysdeps/ieee754/ldbl-96/strtold.c: Removed.
* sysdeps/ieee754/ldbl-96/strtold_l.c: New file.
* sysdeps/m68k/strtold.c: Removed.
* sysdeps/m68k/strtold_l.c: New file.
* time/strftime.c: Move real code to strftime_l.c.  Add wrapper.
* time/strftime_l.c: Add real implementation.
* time/strptime.c: Move real code to strptime_l.c.  Add wrapper.
* time/strptime_l.c: Add real implementation.
* time/wcsftime.c: Simplify since only wrappers are defined in
strftime.c.
* time/wcsftime_l.c: Include strftime_l.c.
* wcsmbs/wcscoll.c: Simplify since the file is not used by wcscoll_l.c
anymore.
* wcsmbs/wcscoll_l.c: Include strcoll_l.c.
* wcsmbs/wcsxfrm.c: Simplify since the file is not used by wcsxfrm_l.c
anymore.
* wcsmbs/wcsxfrm_l.c: Include strxfrm_l.c.
* wcsmbs/wcstod.c: Prepare to include new strtod.c.
* wcsmbs/wcstod_l.c: Include strtod_l.c.
* wcsmbs/wcstof.c: Prepare to include new strtof.c.
* wcsmbs/wcstof_l.c: Include strtof_l.c.
* wcsmbs/wcstold.c: Prepare to include new strtold.c.
* wcsmbs/wcstold_l.c: Include strtold_l.c.

* locale/uselocale.c: Use _NL_CURRENT_LOCALE instead of __libc_tsd_get.

* sysdeps/generic/strcasecmp.c: Optimize a bit.  It's better to get
a reference to the current locale and then use the _l functions.
* sysdeps/generic/strncase.c: Likewise.

20 years agoOptimize a bit. It's better to get a reference to the current locale and then use...
Ulrich Drepper [Sun, 14 Mar 2004 20:13:23 +0000 (20:13 +0000)]
Optimize a bit.  It's better to get a reference to the current locale and then use the _l functions.

20 years ago* cppflags-iterator.mk: Change libof-$(cpp-src) to
Roland McGrath [Sun, 14 Mar 2004 19:13:28 +0000 (19:13 +0000)]
* cppflags-iterator.mk: Change libof-$(cpp-src) to

libof-$(notdir $(cpp-src)).

20 years ago2004-03-11 Jeroen Dekkers <jeroen@dekkers.cx>
Roland McGrath [Sun, 14 Mar 2004 19:13:17 +0000 (19:13 +0000)]
2004-03-11  Jeroen Dekkers  <jeroen@dekkers.cx>

* cppflags-iterator.mk: Change libof-$(cpp-src) to
libof-$(notdir $(cpp-src)).

20 years agoUpdate.
Ulrich Drepper [Sun, 14 Mar 2004 09:18:16 +0000 (09:18 +0000)]
Update.

2004-03-14  Ulrich Drepper  <drepper@redhat.com>

* idn-stub.c (__idna_to_unicode_lzlz): Use __strchrnul, not strchrnul.

* idna.c (idna_to_ascii_4z): Revert last patch.

20 years ago(idna_to_ascii_4z): Revert last patch.
Ulrich Drepper [Sun, 14 Mar 2004 09:17:48 +0000 (09:17 +0000)]
(idna_to_ascii_4z): Revert last patch.

20 years ago* db_info.c: Don't use TLS_TP_OFFSET in the #if, but
Roland McGrath [Sun, 14 Mar 2004 03:40:12 +0000 (03:40 +0000)]
* db_info.c: Don't use TLS_TP_OFFSET in the #if, but

TLS_TCB_SIZE == 0 ?: in the DESC macro.

20 years ago2004-03-13 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Sun, 14 Mar 2004 03:39:57 +0000 (03:39 +0000)]
2004-03-13  Jakub Jelinek  <jakub@redhat.com>

* db_info.c: Don't use TLS_TP_OFFSET in the #if, but
TLS_TCB_SIZE == 0 ?: in the DESC macro.

20 years agoUpdate.
Ulrich Drepper [Sat, 13 Mar 2004 08:47:19 +0000 (08:47 +0000)]
Update.

2004-03-13  Ulrich Drepper  <drepper@redhat.com>

* resolv/netdb.h (EAI_OVERFLOW): Define.
(NI_IDN): Define.
* inet/getnameinfo.c (getnameinfo): Return error in case argument
buffers overflow.  Implement NI_IDN.

2004-03-12  Ulrich Drepper  <drepper@redhat.com>

* resolv/netdb.h: Define AI_CANONIDN.
* sysdeps/posix/getaddrinfo.c: Implement AI_CANONIDN.

20 years ago(EAI_OVERFLOW): Define.
Ulrich Drepper [Sat, 13 Mar 2004 08:41:44 +0000 (08:41 +0000)]
(EAI_OVERFLOW): Define.

20 years ago* db_info.c [TLS_DTV_AT_TP && TLS_TP_OFFSET > 0]
Roland McGrath [Sat, 13 Mar 2004 07:59:29 +0000 (07:59 +0000)]
* db_info.c [TLS_DTV_AT_TP && TLS_TP_OFFSET > 0]

(_thread_db_pthread_dtvp): Define differently for this case (PowerPC).

20 years ago2004-03-12 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 13 Mar 2004 07:59:04 +0000 (07:59 +0000)]
2004-03-12  Roland McGrath  <roland@redhat.com>

* db_info.c [TLS_DTV_AT_TP && TLS_TP_OFFSET > 0]
(_thread_db_pthread_dtvp): Define differently for this case (PowerPC).

20 years agoImplement AI_CANONIDN.
Ulrich Drepper [Sat, 13 Mar 2004 06:53:42 +0000 (06:53 +0000)]
Implement AI_CANONIDN.

20 years agoUpdate.
Ulrich Drepper [Sat, 13 Mar 2004 06:50:10 +0000 (06:50 +0000)]
Update.

* idna.c (idna_to_ascii_4z): Use strdup if available.  Unify two ifs.

* idn-stub.c: Implement __idna_to_unicode_lzlz.  Split
__idna_to_ascii_lz in two parts so that loading can be shared with
the new function.
* Versions (libcidn): Export idna_to_unicode_lzlz.

20 years agoImplement __idna_to_unicode_lzlz. Split __idna_to_ascii_lz in two parts so that...
Ulrich Drepper [Sat, 13 Mar 2004 06:47:49 +0000 (06:47 +0000)]
Implement __idna_to_unicode_lzlz.  Split __idna_to_ascii_lz in two parts so that loading can be shared with the new function.

20 years ago * sysdeps/unix/sysv/linux/alpha/select.S: Fix unwind. Propagate ...
Richard Henderson [Sat, 13 Mar 2004 05:29:45 +0000 (05:29 +0000)]
    * sysdeps/unix/sysv/linux/alpha/select.S: Fix unwind.  Propagate         oldvalue from CENABLE to CDISABLE.

2004-03-12  Richard Henderson  <rth@redhat.com>

* sysdeps/unix/sysv/linux/alpha/select.S: Fix unwind.  Propagate
oldvalue from CENABLE to CDISABLE.

20 years ago * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Propagate oldvalue...
Richard Henderson [Sat, 13 Mar 2004 05:29:24 +0000 (05:29 +0000)]
    * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Propagate         oldvalue from CENABLE to CDISABLE.

2004-03-12  Richard Henderson  <rth@redhat.com>

        * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Propagate
        oldvalue from CENABLE to CDISABLE.

20 years agoUpdate.
Ulrich Drepper [Fri, 12 Mar 2004 21:35:27 +0000 (21:35 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/sysconf.c: New file.

20 years agoUpdate.
Ulrich Drepper [Fri, 12 Mar 2004 20:26:54 +0000 (20:26 +0000)]
Update.

* sysdeps/unix/sysv/linux/bits/local_lim.h: Define HOST_NAME_MAX.

20 years agoUpdate.
Ulrich Drepper [Fri, 12 Mar 2004 17:40:52 +0000 (17:40 +0000)]
Update.

2004-03-12  Ulrich Drepper  <drepper@redhat.com>

* posix/getconf.c (vars): Add _SC_ values for cache information.
* sysdeps/generic/bits/confname.h: Add _SC_* values for cache
information.
* sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Reorganize to
allow yet another sysconf function to include the one in this file.
* sysdeps/unix/sysv/linux/i386/sysconf.c: New file.
* sysdeps/generic/sysconf.c: Add default handling for cache line info.

20 years agoUpdate.
Ulrich Drepper [Fri, 12 Mar 2004 07:23:27 +0000 (07:23 +0000)]
Update.

2004-03-11  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/posix/sysconf.c (__sysconf): Add missing support for
some _SC_* values.

20 years agoUpdate.
Ulrich Drepper [Fri, 12 Mar 2004 00:16:51 +0000 (00:16 +0000)]
Update.

2004-03-10  Chris Heath  <chris@heathens.co.nz>

* iconvdata/gconv.map: Add gconv_end (fixes memory leak).

20 years agoUpdate.
Ulrich Drepper [Thu, 11 Mar 2004 21:59:36 +0000 (21:59 +0000)]
Update.

* sysdeps/powerpc/powerpc32/__longjmp.S (JB_SIZE): Undefine before
including __longjmp-common.S again.
* sysdeps/powerpc/powerpc64/__longjmp.S (JB_SIZE): Likewise.
* sysdeps/powerpc/powerpc32/setjmp.S (JB_SIZE): Undefine before
including setjmp-common.S again.
* sysdeps/powerpc/powerpc64/setjmp.S (JB_SIZE): Likewise.
* sysdeps/powerpc/novmxsetjmp.h (__novmx__longjmp): Fix type of
first argument in the prototype.
* sysdeps/powerpc/longjmp.c (__vmx__longjmp, __vmx__libc_longjmp):
Remove bogus semicolons.

20 years ago(JB_SIZE): Undefine before including __longjmp-common.S again.
Ulrich Drepper [Thu, 11 Mar 2004 21:57:45 +0000 (21:57 +0000)]
(JB_SIZE): Undefine before including __longjmp-common.S again.

20 years ago * sysdeps/alpha/tcb-offsets.sym (PID_OFFSET): New. * sysdeps/unix...
Richard Henderson [Thu, 11 Mar 2004 21:34:25 +0000 (21:34 +0000)]
    * sysdeps/alpha/tcb-offsets.sym (PID_OFFSET): New.         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Save/restore PID.         * sysdeps/unix/sysv/linux/alpha/vfork.S: New file.

2004-03-11  Richard Henderson  <rth@redhat.com>

* sysdeps/alpha/tcb-offsets.sym (PID_OFFSET): New.
* sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Save/restore PID.
* sysdeps/unix/sysv/linux/alpha/vfork.S: New file.

20 years agoUpdate.
Ulrich Drepper [Thu, 11 Mar 2004 16:15:59 +0000 (16:15 +0000)]
Update.

2004-03-11  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/s390/s390-64/vfork.S (__vfork): Use jgnl
instead of jnl instruction to jump to SYSCALL_ERROR_LABEL.
* sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S (__vfork): Likewise.

2004-03-11  Jakub Jelinek  <jakub@redhat.com>

* forward.c (__pthread_cond_broadcast_2_0,
__pthread_cond_destroy_2_0, __pthread_cond_init_2_0,
__pthread_cond_signal_2_0, __pthread_cond_wait_2_0,
__pthread_cond_timedwait_2_0): Use return 0 as defaction instead of 0.

20 years agoUpdate.
Ulrich Drepper [Thu, 11 Mar 2004 16:06:03 +0000 (16:06 +0000)]
Update.

2004-03-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/sh/tcb-offsets.sym: Add PID.
* sysdeps/unix/sysv/linux/sh/pt-vfork.S: Properly handle PID cache.
* sysdeps/unix/sysv/linux/sh/vfork.S: New file.

20 years agoUpdate.
Ulrich Drepper [Thu, 11 Mar 2004 09:39:56 +0000 (09:39 +0000)]
Update.

2004-03-11  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/s390/dl-tls.h: Only add __tls_get_offset assembly if
IS_IN_rtld.
(__TLS_GET_ADDR): Use __tls_get_offset, not __tls_get_addr.

20 years agoUpdate.
Ulrich Drepper [Thu, 11 Mar 2004 08:08:48 +0000 (08:08 +0000)]
Update.

2004-03-11  Ulrich Drepper  <drepper@redhat.com>

* resolv/ns_ttl.c: Don't add ns_parse_ttl for libresolv.so.

20 years agoUpdate.
Ulrich Drepper [Thu, 11 Mar 2004 06:06:12 +0000 (06:06 +0000)]
Update.

* sysdeps/generic/errno.c: Include <dl-sysdep.h>.  Use
RTLD_PRIVATE_ERRNO to decide whether errno compat symbols are needed.

20 years agoUpdate.
Ulrich Drepper [Thu, 11 Mar 2004 04:49:05 +0000 (04:49 +0000)]
Update.

2004-03-10  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: No need to
include <sysdep-cancel.h>, vfork is no cancellation point.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: Likewise.

20 years agoUpdate.
Ulrich Drepper [Thu, 11 Mar 2004 03:47:18 +0000 (03:47 +0000)]
Update.

2004-03-10  Ulrich Drepper  <drepper@redhat.com>

* elf/dl-sym.c: Unify _dl_sym and _dl_vsym code and make the entry
points wrappers around the unified code.

20 years agoUnify _dl_sym and _dl_vsym code and make the entry points wrappers around the unified...
Ulrich Drepper [Thu, 11 Mar 2004 03:41:54 +0000 (03:41 +0000)]
Unify _dl_sym and _dl_vsym code and make the entry points wrappers around the unified code.

20 years ago * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (kernel_stat64): New. ...
Richard Henderson [Thu, 11 Mar 2004 02:58:44 +0000 (02:58 +0000)]
    * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (kernel_stat64): New.         (glibc21_stat): New.         * sysdeps/unix/sysv/linux/alpha/fxstat.c: New file.         * sysdeps/unix/sysv/linux/alpha/lxstat.c: New file.         * sysdeps/unix/sysv/linux/alpha/xstat.c: New file.         * sysdeps/unix/sysv/linux/alpha/xstatconv.c (__xstat_conv): Add         code for _STAT_VER_GLIBC2_3_4.         (__libc_missing_axp_stat64): New.         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: New file.         * sysdeps/unix/sysv/linux/alpha/bits/stat.h (__ST_TIME): New.         (_STAT_VER_GLIBC2_3_4, _STAT_VER_KERNEL64): New.         (struct stat, struct stat64): Update to new format.         (_STATBUF_ST_NSEC): New.

2004-03-11  Richard Henderson  <rth@redhat.com>

* sysdeps/unix/sysv/linux/alpha/kernel_stat.h (kernel_stat64): New.
(glibc21_stat): New.
* sysdeps/unix/sysv/linux/alpha/fxstat.c: New file.
* sysdeps/unix/sysv/linux/alpha/lxstat.c: New file.
* sysdeps/unix/sysv/linux/alpha/xstat.c: New file.
* sysdeps/unix/sysv/linux/alpha/xstatconv.c (__xstat_conv): Add
code for _STAT_VER_GLIBC2_3_4.
(__libc_missing_axp_stat64): New.
* sysdeps/unix/sysv/linux/alpha/xstatconv.h: New file.
* sysdeps/unix/sysv/linux/alpha/bits/stat.h (__ST_TIME): New.
(_STAT_VER_GLIBC2_3_4, _STAT_VER_KERNEL64): New.
(struct stat, struct stat64): Update to new format.
(_STATBUF_ST_NSEC): New.

20 years agoUpdate.
Ulrich Drepper [Thu, 11 Mar 2004 01:34:46 +0000 (01:34 +0000)]
Update.

2004-03-11  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
(__novec_swapcontext): Branch to novec_* labels.

20 years agoUpdate.
Ulrich Drepper [Wed, 10 Mar 2004 23:14:28 +0000 (23:14 +0000)]
Update.

2004-03-10  Ulrich Drepper  <drepper@redhat.com>

* posix/getopt.c (_): Don't define here for glibc.

20 years agoUpdate.
Ulrich Drepper [Wed, 10 Mar 2004 19:28:58 +0000 (19:28 +0000)]
Update.

2004-03-10  Jakub Jelinek  <jakub@redhat.com>

* include/libc-symbols.h [__ASSEMBLY__] (compat_text_section,
compat_data_section): Define.
* sysdeps/unix/sysv/linux/alpha/adjtime.c (ADJTIME): Add
attribute_compat_text_section.
* sysdeps/unix/sysv/linux/alpha/wordexp.c (__old_wordexp): Likewise.
* sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob,
__old_globfree): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/chown.c (__chown_is_lchown):
Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c
(__posix_fadvise64_l32): Likewise.
* sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c
(__posix_fadvise64_l32): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c (__old_semctl):
Likewise.
* sysdeps/unix/sysv/linux/semctl.c (__old_semctl): Likewise.
* sysdeps/unix/sysv/linux/posix_fadvise64.c (__posix_fadvise64_l32):
Likewise.
* sysdeps/unix/sysv/linux/shmctl.c (__old_shmctl): Likewise.
* hurd/compat-20.c (_hurd_proc_init_compat_20): Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
(__swapcontext, __novec_swapcontext): Use END instead of PSEUDO_END.
(__novec_swapcontext, __swapcontext_stub): Add compat_text_section.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
(__makecontext_stub): Likewise.
(__novec_makecontext): Likewise.  Fix name in END () to match
function name.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
(__setcontext): Use END instead of PSEUDO_END.
(__novec_setcontext): Add compat_text_section.  Use END instead of
PSEUDO_END, fix the name in END () to match function name.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
(__getcontext, __novec_getcontext): Use END instead of PSEUDO_END.
(__novec_getcontext, __getcontext_stub): Add compat_text_section.

2004-03-10  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/sh/dl-machine.h: Don't use GL macro if not appropriate.
(COPY_UNALIGNED_WORD): Remove cast used as lvalue.

2004-03-10  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/i386/dl-procinfo.h (HWCAP_IMPORTANT): Remove mmx, add sse2.

20 years agoUpdate.
Ulrich Drepper [Wed, 10 Mar 2004 10:04:19 +0000 (10:04 +0000)]
Update.

2004-03-10  Richard Henderson  <rth@redhat.com>

* sysdeps/generic/errno.c: Disable versioning for rtld.

* sysdeps/generic/Makefile (elf/shared): Add unwind-pe.
* sysdeps/generic/unwind-pe.c: New file.
* sysdeps/generic/unwind-pe.h: Only prototypes for _LIBC without
_LIBC_DEFINITIONS.

* posix/regexec.c: Likewise.

20 years agoUpdate.
Ulrich Drepper [Wed, 10 Mar 2004 09:29:17 +0000 (09:29 +0000)]
Update.

2004-03-10  Ulrich Drepper  <drepper@redhat.com>

* include/libc-symbols.h: Define attribute_compat_text_section and
attribute_compat_data_section.
* io/ftw.c: Mark compat code with attribute_compat_text_section.
* libio/iofopncook.c: Likewise.
* libio/oldfileops.c: Likewise.
* libio/oldiofclose.c: Likewise.
* libio/oldiofdopen.c: Likewise.
* libio/oldiofgetpos.c: Likewise.
* libio/oldiofgetpos64.c: Likewise.
* libio/oldiofopen.c: Likewise.
* libio/oldiofsetpos.c: Likewise.
* libio/oldiofsetpos64.c: Likewise.
* libio/oldiopopen.c: Likewise.
* libio/oldpclose.c: Likewise.
* libio/oldtmpfile.c: Likewise.
* nptl/forward.c: Likewise.
* nss/getXXbyYY_r.c: Likewise.
* nss/getXXent_r.c: Likewise.
* posix/tst-vfork1.c: Likewise.
* stdlib/canonicalize.c: Likewise.
* stdlib/old_atexit.c: Likewise.
* sysdeps/generic/glob.c: Likewise.
* sysdeps/posix/posix_fallocate64.c: Likewise.
* sysdeps/unix/sysv/linux/i386/alphasort64.c: Likewise.
* sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
* sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
* sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
* sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
* sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
* sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
* sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
* sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.

* sysdeps/unix/sysv/linux/i386/syscalls.list: vm86@@GLIBC_2.3.4
should be the default symbol. Having none misses the point.

20 years ago[BZ #16]
Ulrich Drepper [Wed, 10 Mar 2004 06:46:51 +0000 (06:46 +0000)]
[BZ #16]

Update.
2004-03-09  Ulrich Drepper  <drepper@redhat.com>

* stdlib/qsort.c (_quicksort): Initialize first stack element [BZ #16].

2004-03-05  Jakub Jelinek  <jakub@redhat.com>

* posix/regexec.c (regexec): Return with error on unknown eflags.
Replace weak_alias with versioned_symbol.
(__compat_regexec): New.
* posix/Versions (libc): Add regexec@GLIBC_2.3.4.

20 years agoUpdate.
Ulrich Drepper [Wed, 10 Mar 2004 06:05:14 +0000 (06:05 +0000)]
Update.

2004-03-09  Richard Henderson  <rth@redhat.com>

* math/math.h (isgreater, isgreaterequal, isless, islessequal,
islessgreater, isunordered): Use builtins if available.
* sysdeps/i386/fpu/bits/mathinline.h: Don't define via builtins.
* sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
* sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
* sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
* sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
* sysdeps/alpha/fpu/bits/mathinline.h (isgreater, isgreaterequal,
isless, islessequal, islessgreater): Remove; use default.
(isunordered): Convert inputs to double.

20 years agoUpdate.
Ulrich Drepper [Wed, 10 Mar 2004 05:25:48 +0000 (05:25 +0000)]
Update.

2004-02-09  Jakub Jelinek  <jakub@redhat.com>

* posix/Makefile (tests): Add tst-vfork2.
* posix/tst-vfork1.c (do_test): Fix comment.
* posix/tst-vfork2.c: New test.

20 years agoUpdate.
Ulrich Drepper [Wed, 10 Mar 2004 00:08:55 +0000 (00:08 +0000)]
Update.

* elf/dl-lookup.c (_dl_lookup_symbol_x): Fix possible NULL pointer
derefernce in error message.  Pretty printing.

20 years agoUpdate.
Ulrich Drepper [Tue, 9 Mar 2004 20:57:20 +0000 (20:57 +0000)]
Update.

2004-03-09  Ulrich Drepper  <drepper@redhat.com>

* po/nl.po: Update from translation team.

20 years agoUpdate.
Ulrich Drepper [Tue, 9 Mar 2004 10:43:31 +0000 (10:43 +0000)]
Update.

2004-03-08  Andreas Schwab  <schwab@suse.de>

* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't truncate
sysinfo pointer value.

20 years agoUpdate.
Ulrich Drepper [Tue, 9 Mar 2004 10:36:53 +0000 (10:36 +0000)]
Update.

2004-03-08  Paul Eggert  <eggert@cs.ucla.edu>

Merge from gnulib.  We now assume C89 or better.
* posix/getopt1.c (const): Remove.
* posix/getopt.c (const): Likewise.
* posix/getopt1.c (getopt_long, _getopt_long_r, getopt_long_only,
_getopt_long_only_r, main): Use prototypes, not old-style definitions.
* posix/getopt.c (exchange, _getopt_initialize, _getopt_internal_r,
_getopt_internal, getopt, main): Likewise.
* posix/getopt.h (getopt, getopt_long, getopt_long_only): Likewise.
* posix/getopt.c [!defined VMS || !HAVE_STRING_H]:
Include <string.h> regardless.  No need for <strings.h>.
[!defined _LIBC]: Include "gettext.h" rather than rolling it ourselves.
(_): Define to gettext always.
(my_index): Remove: all uses changed to strchr.
(strlen): Remove declaration.
* posix/getopt.h (struct option.name): Always const char *.

2004-03-08  Marcus Brinkmann  <marcus@gnu.org>

* posix/getopt.h (_getopt_internal): Move to ...
* posix/getopt_int.h: ... here.  New file.
* include/getopt_int.h: New file.
* include/getopt.h: Remove libc_hidden_proto for getopt_long
and getopt_long_only.
* posix/getopt1.c: Include "getopt_int.h".  Remove
libc_hidden_def for getopt_long and getopt_long_only.
(_getopt_long_r, _getopt_long_only_r): New functions.
* posix/getopt.c: Include "getopt_int.h".
(__getopt_initialized): Variable removed.
(nextchar, ordering, posixly_correct, first_nonopt, last_nonopt):
Static variables removed.
(nonoption_flags_max_len, nonoption_flags_len) [_LIBC &&
USE_NONOPTION_FLAGS]: Static variables removed.
(getopt_data): New static variable.
(SWAP_FLAGS): Use d->__nonoption_flags_len instead
nonoption_flags_len.
(exchange): Add new argument D of type struct getopt_data *.
Replace optind with d->optind, optarg with d->optarg, opterr with
d->opterr, optopt with d->optopt, nextchar with d->__nextchar,
first_nonopt with d->__first_nonopt, last_nonopt with
d->__last_nonopt, d->ordering with d->__ordering,
d->posixly_correct with d->__posixly_correct (which is now an
int instead a string, so fix users), nonoption_flags_len
with d->__nonoption_flags_len, nonoption_flags_max_len with
d->__nonoption_flags_max_len.
(_getopt_initialize): Likewise.
(_getopt_internal): Rename to ...
(_getopt_internal_r): ... this.  Also add new argument D of type
struct getopt_data * and use of members of D rather than global or
static variables as described for exchange() above.  Add new argument
to invocations of _getopt_initialize and exchange.
(_getopt_internal): Reimplement in terms of _getopt_internal_r.
* argp/argp-parse.c: Include <getopt_int.h>.
[_LIBC]: Do not include <bits/libc-lock.h>.
[!_LIBC && HAVE_CTHREADS_H]: Do not include <cthreads.h>.
[!_LIBC] (_argp_hang): Make static.
(getopt_lock, LOCK_GETOPT, UNLOCK_GETOPT): Remove.
(_argp_unlock_xxx): Remove.
(parser_init): Do not use LOCK_GETOPT.
(parser_finalize): Do not use UNLOCK_GETOPT.
(struct parser): New member OPT_DATA.
(parser_init): Initialize parser->opt_data.  Use
parser->opt_data.opterr instead of opterr.
(parser_parse_opt): Use parser->opt_data.optarg instead optarg.
(parser_parse_next): Likewise.  Use parser->opt_data.optind
instead optind.  Use parser->opt_data.optopt instead of optopt.
Call _getopt_long_only_r and _getopt_long_r instead of
getopt_long_only and getopt_long, and pass the extra argument.

20 years agoTypo.
Ulrich Drepper [Tue, 9 Mar 2004 10:12:30 +0000 (10:12 +0000)]
Typo.

20 years agoUpdate.
Ulrich Drepper [Tue, 9 Mar 2004 10:04:55 +0000 (10:04 +0000)]
Update.

* iconv/gconv_db.c: Don't define lock as static.  Rename to
__gconv_lock and export from the file.
* iconv/gconv_int.h: Declare __gconv_lock.
* libio/iofclose.c [_LIBC] (_IO_new_fclose): Lock gconv lock
before __gconv_release_step calls.
Patch by Shunichi Sagawa <s-sagawa@jp.fujitsu.com>.

* iconv/gconv_simple.c (internal_ucs4_loop): Fix typo in last change.

* iconv/gconv_db.c

20 years agoUpdate.
Ulrich Drepper [Tue, 9 Mar 2004 08:50:17 +0000 (08:50 +0000)]
Update.

2004-03-09  Ulrich Drepper  <drepper@redhat.com>

* posix/Makefile (tests): Add tst-vfork1.
* posix/tst-vfork1.c: New file.

20 years agoUpdate.
Ulrich Drepper [Tue, 9 Mar 2004 07:44:07 +0000 (07:44 +0000)]
Update.

* sysdeps/i386/dl-machine.h: Define ARCH_FIXUP_ATTRIBUTE and use
it in the fixup function declarations.
* elf/dl-runtime.c: If ARCH_FIXUP_ATTRIBUTE is not defined,
provide dummy definition.  Use macro in fixup function
definitions.

20 years agoUpdate.
Ulrich Drepper [Tue, 9 Mar 2004 06:32:58 +0000 (06:32 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/vfork.S: If SAVE_PID and
RESTORE_PID are defined, use it.
* sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.

20 years agoUpdate.
Ulrich Drepper [Tue, 9 Mar 2004 05:45:44 +0000 (05:45 +0000)]
Update.

* sysdeps/i386/tcb-offsets.sym: Add PID.
* sysdeps/unix/sysv/linux/i386/vfork.S: New file.

20 years agoUpdate.
Ulrich Drepper [Tue, 9 Mar 2004 05:42:55 +0000 (05:42 +0000)]
Update.

2004-03-08  Ulrich Drepper  <drepper@redhat.com>

* nptl/sysdeps/i386/tcb-offsets.sym: Add PID.

20 years agoUpdate.
Ulrich Drepper [Mon, 8 Mar 2004 22:23:43 +0000 (22:23 +0000)]
Update.

* sysdeps/posix/gai_strerror.c: Add error string for EAI_IDN_ENCODE.

20 years agoUpdate.
Ulrich Drepper [Mon, 8 Mar 2004 21:43:46 +0000 (21:43 +0000)]
Update.

* Makefile (distribute): Add symbol-hacks.h and extra-modules.mk.

20 years agoUpdate.
Ulrich Drepper [Mon, 8 Mar 2004 21:31:23 +0000 (21:31 +0000)]
Update.

2004-03-08  Ulrich Drepper  <drepper@redhat.com>

* Makerules: Use extra-modules.mk if modules-names is defined.
* extra-modules.mk: New file.
* dlfcn/Makefile (CPPFLAGS-modcxaatexit.c): Removed.
* elf/Makefile (CFLAGS-interp.c): Add -DNOT_IN_libc=1.
* csu/Makefile ($(objpfx)version-info.h): Pass -DNOT_IN_libc=1 to
compiler.
* Makefile (distribute): Add symbol-hacks.h.
* sysdeps/generic/symbol-hacks.h: New file.
* sysdeps/wordsize-32/symbol-hacks.h: New file.
* sysdeps/wordsize-32/divdi3.c: Define *_internal aliases for __divdi3,
__moddi3, __udivdi3, and __umoddi3.
* include/libc-symbols.h: Include <symbol-hacks.h>.