external/glibc.git
21 years ago* scripts/gen-as-const.awk: New file.
Roland McGrath [Fri, 27 Dec 2002 23:06:00 +0000 (23:06 +0000)]
* scripts/gen-as-const.awk: New file.

* Makefile (distribute): Add it.
* Makerules ($(common-objpfx)%.h %.h.d: %.sym): New pattern rule.
(before-compile): Add $(gen-as-const-headers:%.sym=$(common-objpfx)%.h)
to the list.
(+depfiles): Add $(addprefix $(common-objpfx),$(gen-as-const-headers)).

* sysdeps/unix/sysv/linux/m68k/socket.S: Add cancellation support.

21 years ago2002-12-27 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 27 Dec 2002 23:05:53 +0000 (23:05 +0000)]
2002-12-27  Roland McGrath  <roland@redhat.com>

* scripts/gen-as-const.awk: New file.
* Makefile (distribute): Add it.
* Makerules ($(common-objpfx)%.h %.h.d: %.sym): New pattern rule.
(before-compile): Add $(gen-as-const-headers:%.sym=$(common-objpfx)%.h)
to the list.
(+depfiles): Add $(addprefix $(common-objpfx),$(gen-as-const-headers)).

21 years ago*** empty log message ***
Andreas Schwab [Fri, 27 Dec 2002 22:15:56 +0000 (22:15 +0000)]
*** empty log message ***

2002-12-27  Andreas Schwab  <schwab@suse.de>

* sysdeps/unix/sysv/linux/m68k/socket.S: Add cancellation support.

21 years ago*** empty log message ***
Andreas Schwab [Fri, 27 Dec 2002 21:09:21 +0000 (21:09 +0000)]
*** empty log message ***

2002-12-27  Andreas Schwab  <schwab@suse.de>

* sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: New file.

21 years agoCancellation handling for m68k.
Andreas Schwab [Fri, 27 Dec 2002 21:09:01 +0000 (21:09 +0000)]
Cancellation handling for m68k.

21 years agoRemove bogus CRs at end of all lines. Hope they do not come back.
Roland McGrath [Fri, 27 Dec 2002 20:13:29 +0000 (20:13 +0000)]
Remove bogus CRs at end of all lines.  Hope they do not come back.

21 years ago* malloc/arena.c (ptmalloc_init): Don't call next_env_entry if
Roland McGrath [Fri, 27 Dec 2002 00:37:06 +0000 (00:37 +0000)]
* malloc/arena.c (ptmalloc_init): Don't call next_env_entry if

_environ is NULL.

21 years ago* Makerules ($(common-objpfx)%.make): Filter through
Roland McGrath [Fri, 27 Dec 2002 00:35:06 +0000 (00:35 +0000)]
* Makerules ($(common-objpfx)%.make): Filter through

$(sed-remove-objpfx).

21 years ago2002-12-27 Andreas Schwab <schwab@suse.de>
Roland McGrath [Fri, 27 Dec 2002 00:35:00 +0000 (00:35 +0000)]
2002-12-27  Andreas Schwab  <schwab@suse.de>

* Makerules ($(common-objpfx)%.make): Filter through
$(sed-remove-objpfx).

21 years agoUpdate.
Ulrich Drepper [Wed, 25 Dec 2002 08:56:55 +0000 (08:56 +0000)]
Update.

2002-12-25  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/i486/lowlevelsem.S: Implement
correct errno access for case that USE___THREAD is not defined.

21 years agoUpdate.
Ulrich Drepper [Tue, 24 Dec 2002 23:22:01 +0000 (23:22 +0000)]
Update.

2002-12-24  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Add missing #endif.
Patch by Marijn Ros <marijn@mad.scientist.com>.

21 years agoAdd missing #endif.
Ulrich Drepper [Tue, 24 Dec 2002 23:20:54 +0000 (23:20 +0000)]
Add missing #endif.

21 years ago* scripts/abilist.awk: Produce a more compact format, divided into
Roland McGrath [Mon, 23 Dec 2002 11:17:18 +0000 (11:17 +0000)]
* scripts/abilist.awk: Produce a more compact format, divided into

stanzas for each version set, the set name listed only once.
* scripts/extract-abilist.awk: New file.
* scripts/merge-abilist.awk: New file.
* Makerules (check-abi-%, update-abi-%): New pattern rules.
(update-abi, check-abi): New targets.
* Makefile (+subdir_targets): Add subdir_{check,update}-abi.

* Makerules (%.symlist): Use LC_ALL=C when running awk script.

21 years ago* sysdeps/unix/sysv/linux/i386/brk.c (__brk): Cast result of
Roland McGrath [Mon, 23 Dec 2002 09:56:22 +0000 (09:56 +0000)]
* sysdeps/unix/sysv/linux/i386/brk.c (__brk): Cast result of

INTERNAL_SYSCALL.

21 years ago* Makefile (omit-deps): Add $(unix-syscalls:%=ptw-%).
Roland McGrath [Mon, 23 Dec 2002 00:45:05 +0000 (00:45 +0000)]
* Makefile (omit-deps): Add $(unix-syscalls:%=ptw-%).

21 years ago2002-12-22 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 23 Dec 2002 00:44:58 +0000 (00:44 +0000)]
2002-12-22  Roland McGrath  <roland@redhat.com>

* Makefile (omit-deps): Add $(unix-syscalls:%=ptw-%).

21 years agoUpdate.
Ulrich Drepper [Sun, 22 Dec 2002 02:29:06 +0000 (02:29 +0000)]
Update.

2002-12-21  Ulrich Drepper  <drepper@redhat.com>

* pthread.c (init_rtsigs): Remove incomplete __builtin_expect.
Reported by Art Hass <ahaas@airmail.net>.

21 years agoUpdate.
Ulrich Drepper [Sat, 21 Dec 2002 21:40:32 +0000 (21:40 +0000)]
Update.

* elf/check-textrel.c (handle_file): Swap p_type.

2002-12-21  Andreas Schwab  <schwab@suse.de>

21 years ago(handle_file): Swap p_type.
Ulrich Drepper [Sat, 21 Dec 2002 21:39:34 +0000 (21:39 +0000)]
(handle_file): Swap p_type.

21 years agoFix thinko.
Andreas Schwab [Sat, 21 Dec 2002 21:05:31 +0000 (21:05 +0000)]
Fix thinko.

21 years ago*** empty log message ***
Andreas Schwab [Sat, 21 Dec 2002 20:09:41 +0000 (20:09 +0000)]
*** empty log message ***

(SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant.

21 years ago*** empty log message ***
Andreas Schwab [Sat, 21 Dec 2002 19:37:26 +0000 (19:37 +0000)]
*** empty log message ***

2002-12-21  Andreas Schwab  <schwab@suse.de>

* sysdeps/unix/sysv/linux/m68k/sysdep.h (INTERNAL_SYSCALL): Define.
(INLINE_SYSCALL): Use it.
(INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Define.

* sysdeps/unix/sysv/linux/m68k/getpagesize.c: Use INTERNAL_SYSCALL.
* sysdeps/unix/sysv/linux/m68k/brk.c: Likewise.

21 years agoUse INTERNAL_SYSCALL.
Andreas Schwab [Sat, 21 Dec 2002 19:36:29 +0000 (19:36 +0000)]
Use INTERNAL_SYSCALL.

21 years ago(parse_opt): Avoid warning in case -t is used with maximum allowed number.
Ulrich Drepper [Sat, 21 Dec 2002 19:33:56 +0000 (19:33 +0000)]
(parse_opt): Avoid warning in case -t is used with maximum allowed number.

21 years agoUpdate.
Ulrich Drepper [Sat, 21 Dec 2002 18:53:25 +0000 (18:53 +0000)]
Update.

2002-12-20  Art Haas  <ahaas@airmail.net>

* sysdeps/gnu/siglist.c: Convert GCC extension initializer
syntax to C99.

2002-12-21  Philip Blundell  <philb@gnu.org>

* sysdeps/arm/elf/start.S (_start): Optimise a little.  Push stack
top as seventh arg to __libc_start_main.
Reported by paulnash@wildseed.com.

* sysdeps/unix/sysv/linux/arm/clone.S: Small optimisation.

* sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Elide
compatibility cruft when new enough kernel is assumed.

21 years agoUpdate.
Ulrich Drepper [Fri, 20 Dec 2002 19:14:55 +0000 (19:14 +0000)]
Update.

2002-12-20  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use INTERNAL_SYSCALL
instead of INLINE_SYSCALL.

21 years agoUpdate.
Ulrich Drepper [Fri, 20 Dec 2002 18:24:24 +0000 (18:24 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Fix
typo.

21 years agoUpdate.
Ulrich Drepper [Fri, 20 Dec 2002 10:32:08 +0000 (10:32 +0000)]
Update.

* sysdeps/unix/sysv/linux/alpha/bits/shm.h: Define SHM_HUGETLB.
* sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise.
Patch by William Lee Irwin <wli@holomorphy.com>.

2002-12-20  Andreas Schwab  <schwab@suse.de>

* locale/programs/ld-measurement.c (measurement_output): Fix
index calculation.

2002-12-20  Ulrich Drepper  <drepper@redhat.com>

21 years agoUpdate.
Ulrich Drepper [Fri, 20 Dec 2002 09:33:33 +0000 (09:33 +0000)]
Update.

* include/libio.h [_IO_MTSAFE_IO && _IO_lock_inexpensive]:
Redefine _IO_flockifle and _IO_funlockfile as inlines.

21 years agoUpdate.
Ulrich Drepper [Fri, 20 Dec 2002 08:49:27 +0000 (08:49 +0000)]
Update.

2002-12-20  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): For TLS
builds add "tls" in the search path.
* elf/ldconfig.c (is_hwcap_platform): Also recognize "tls".
(path_hwcap): Recognize "tls".

* sysdeps/unix/sysv/linux/i386/system.c (cancel_handler): Use
__waitpid instead of waitpid.

21 years agoUpdate.
Ulrich Drepper [Fri, 20 Dec 2002 07:20:48 +0000 (07:20 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/_exit.S: Use ENTER_KERNEL instead of
int $0x80.
* sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
* sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.

21 years agoUpdate.
Ulrich Drepper [Fri, 20 Dec 2002 07:12:24 +0000 (07:12 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/pthread_once.S: Use ENTER_KERNEL instead
of int $0x80.
* sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/libc-lowlevelmutex.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/lowlevelcond.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/lowlevelrwlock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/lowlevelsem.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: Likewise.

* sysdeps/unix/sysv/linux/i386/lowlevellock.h: Add support for using
sysenter.
* sysdeps/unix/sysv/linux/i386/lowlevelsem.h: Likewise.

* sysdeps/i386/tls.h: Unconditionally include <dl-sysdep.h>.

21 years agoUpdate.
Ulrich Drepper [Thu, 19 Dec 2002 23:05:13 +0000 (23:05 +0000)]
Update.

2002-12-19  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/sysdep.h: Add support to use AT_SYSINFO
information for system calls.

* sysdeps/generic/dl-sysdep.h: Define RTLD_PRIVATE_ERRNO to 1 only
for ld.so.

* elf/rtld.c (_dl_start) [USE___THREAD]: Define initdtv.

21 years ago(allocate_stack) [NEED_DL_SYSINFO]: Set sysinfo in new TCB.
Ulrich Drepper [Thu, 19 Dec 2002 22:49:55 +0000 (22:49 +0000)]
(allocate_stack) [NEED_DL_SYSINFO]: Set sysinfo in new TCB.

21 years ago* iconvdata/ibm856.h: Convert GCC extension initializer syntax to C99.
Roland McGrath [Thu, 19 Dec 2002 22:26:49 +0000 (22:26 +0000)]
* iconvdata/ibm856.h: Convert GCC extension initializer syntax to C99.

* iconvdata/ibm922.h: Likewise.
* iconvdata/ibm930.h: Likewise.
* iconvdata/ibm932.h: Likewise.
* iconvdata/ibm933.h: Likewise.
* iconvdata/ibm935.h: Likewise.
* iconvdata/ibm937.h: Likewise.
* iconvdata/ibm939.h: Likewise.
* iconvdata/ibm943.h: Likewise.
* iconvdata/isiri-3342.h: Likewise.

21 years ago2002-12-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 19 Dec 2002 22:25:19 +0000 (22:25 +0000)]
2002-12-19  Roland McGrath  <roland@redhat.com>

* iconvdata/ibm856.h: Convert GCC extension initializer syntax to C99.
* iconvdata/ibm922.h: Likewise.
* iconvdata/ibm930.h: Likewise.
* iconvdata/ibm932.h: Likewise.
* iconvdata/ibm933.h: Likewise.
* iconvdata/ibm935.h: Likewise.
* iconvdata/ibm937.h: Likewise.
* iconvdata/ibm939.h: Likewise.
* iconvdata/ibm943.h: Likewise.
* iconvdata/isiri-3342.h: Likewise.

21 years agoUpdate.
Ulrich Drepper [Thu, 19 Dec 2002 17:11:28 +0000 (17:11 +0000)]
Update.

* test-skeleton.c (main): Make sure correct value is seen as
argv[0] after adjustment of argv, and argc.

21 years agoUpdate.
Ulrich Drepper [Thu, 19 Dec 2002 09:57:54 +0000 (09:57 +0000)]
Update.

2002-12-19  Ulrich Drepper  <drepper@redhat.com>

* elf/rtld.c: Don't initialize _dl_dynamic_weak to 1 if
RTLD_CORRECT_DYNAMIC_WEAK is defined.

21 years agoUpdate.
Ulrich Drepper [Thu, 19 Dec 2002 09:18:01 +0000 (09:18 +0000)]
Update.

2002-12-19  Jakub Jelinek  <jakub@redhat.com>

* nscd/connections.c (nscd_run): Shut up warning.
* tst-ungetc.c (assert): Undefined before redefining.

2002-12-19  Ulrich Drepper  <drepper@redhat.com>

* posix/regex.c: Use __builtin_expect even outside glibc if gcc 3
is used.

2002-12-17  Art Haas  <ahaas@airmail.net>

* iconvdata/cp737.h: Convert GCC extension initializer syntax to C99.
* iconvdata/cp775.h: Likewise.
* iconvdata/ibm1046.h: Likewise.
* iconvdata/ibm1124.h: Likewise.
* iconvdata/ibm1129.h: Likewise.
* iconvdata/ibm1132.h: Likewise.
* iconvdata/ibm1133.h: Likewise.
* iconvdata/ibm1160.h: Likewise.
* iconvdata/ibm1161.h: Likewise.
* iconvdata/ibm1162.h: Likewise.
* iconvdata/ibm1163.h: Likewise.
* iconvdata/ibm1164.h: Likewise.

(__ASSUME_CLONE_THREAD_FLAGS): Define for x86 and kernel >= 2.5.50.

21 years agoUpdate.
Ulrich Drepper [Thu, 19 Dec 2002 08:41:52 +0000 (08:41 +0000)]
Update.

2002-12-19  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/system.c: Define FORK only if
__ASSUME_CLONE_THREAD_FLAGS is defined.
* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_CLONE_THREAD_FLAGS): Define for x86 and kernel >=
2.5.50.

* sysdeps/unix/sysv/linux/i386/brk.c: Use INTERNAL_SYSCALL instead
of asm.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.

21 years agoUpdate.
Ulrich Drepper [Thu, 19 Dec 2002 07:09:42 +0000 (07:09 +0000)]
Update.

2002-12-18  Ulrich Drepper  <drepper@redhat.com>

* descr.h (struct pthread) [NEED_DL_SYSINFO]: Add sysinfo member.
* sysdeps/i386/tls.h (tcbhead_t): Add sysinfo member.
Define SYSINFO_OFFSEET if NEED_DL_SYSINFO is defined.
(INIT_SYSINFO): New #define.
(TLS_TP_INIT): Use INIT_SYSINFO.
* sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init):
At test to make sure SYSINFO_OFFSET value is correct.
* sysdeps/unix/sysv/linux/i386/dl-sysdep.h: New file.

21 years agoUpdate.
Ulrich Drepper [Thu, 19 Dec 2002 00:03:48 +0000 (00:03 +0000)]
Update.

2002-12-18  Ulrich Drepper  <drepper@redhat.com>

* elf/dl-support.c [NEED_DL_SYSINFO]: Define and initialize
_dl_sysinfo.
[DL_SYSINFO_IMPLEMENTATION]: If defined use it to generate the needed
code.
* elf/rtld.c [DL_NEED_SYSINFO]: Initialize _dl_sysinfo element of
_rtld_global.
[DL_SYSINFO_IMPLEMENTATION]: If defined use it to generate the needed
code.
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
Check for AT_SYSINFO and set _dl_sysinfo appropriately.
* sysdeps/generic/ldsodefs.h (struct rtld_global) [NEED_DL_SYSINFO]:
Add _dl_sysinfo.

21 years agoUpdate
Ulrich Drepper [Wed, 18 Dec 2002 23:29:41 +0000 (23:29 +0000)]
Update

2002-12-18  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/pthread/flockfile.c (flockfile): Change into weak alias.
* sysdeps/unix/sysv/linux/raise.c (gsignal): Add weak alias to raise.
* Versions [libc: GLIBC_2.0]: Add pthread_attr_init.
[libpthread: GLIBC_2.1]: Remove __pthread_rwlock_init,
__pthread_rwlock_destroy, __pthread_rwlock_rdlock,
__pthread_rwlock_wrlock, __pthread_rwlock_unlock,
__pthread_rwlock_tryrdlock and __pthread_rwlock_trywrlock.

21 years agoUpdate.
Ulrich Drepper [Wed, 18 Dec 2002 23:27:15 +0000 (23:27 +0000)]
Update.

2002-12-18  Jakub Jelinek  <jakub@redhat.com>

* misc/Versions [libc: GLIBC_2.3.1]: Move __libc_readv and
__libc_writev to...
[libc: GLIBC_PRIVATE]: ...here.
* sysvipc/Versions [libc: GLIBC_2.3.1]: Move __libc_msgrcv and
__libc_msgsnd to...
[libc: GLIBC_PRIVATE]: ...here.

21 years agoUpdate.
Ulrich Drepper [Wed, 18 Dec 2002 11:56:21 +0000 (11:56 +0000)]
Update.

2002-12-18  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/sysdep.h: Define ENTER_KERNEL macro.
Use it instead of directly int $0x80.
* sysdeps/unix/sysv/linux/i386/brk.c: Use ENTER_KERNEL.
* sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
* sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
* sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.

21 years agoUpdate.
Ulrich Drepper [Wed, 18 Dec 2002 10:56:40 +0000 (10:56 +0000)]
Update.

2002-12-18  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/pthread/bits/stdio-lock.h: New file.
* sysdeps/unix/sysv/linux/i386/i486/libc-lowlevelmutex.S: New file.
* sysdeps/unix/sysv/linux/i386/i586/libc-lowlevelmutex.S: New file.
* sysdeps/unix/sysv/linux/i386/i686/libc-lowlevelmutex.S: New file.
* Makefile (routines): Add libc-lowlevelmutex.

* sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Remove
__i686.get_pc_thunk.dx.

21 years agoUpdate.
Ulrich Drepper [Wed, 18 Dec 2002 07:37:17 +0000 (07:37 +0000)]
Update.

* malloc/malloc.c (mALLOPt): Make sure malloc is initialized.

21 years agoUpdate.
Ulrich Drepper [Wed, 18 Dec 2002 06:52:10 +0000 (06:52 +0000)]
Update.

2002-12-17  Ulrich Drepper  <drepper@redhat.com>

* elf/elf.h (AT_SYSINFO): New define.
* sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Add support for
AT_SYSINFO.

21 years agoUpdate.
Ulrich Drepper [Wed, 18 Dec 2002 01:38:17 +0000 (01:38 +0000)]
Update.

* sysdeps/unix/sysv/linux/alpha/syscalls.list (msgrcv, msgsnd):
Make cancelable.
* sysdeps/unix/sysv/linux/hppa/syscalls.list (msgrcv, msgsnd):
Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list (msgrcv, msgsnd):
Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgrcv, msgsnd):
Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgrcv, msgsnd):
Likewise.
* sysdeps/unix/sysv/linux/ia64/sigsuspend.c (__sigsuspend): Likewise.

21 years agoUpdate.
Ulrich Drepper [Wed, 18 Dec 2002 00:53:21 +0000 (00:53 +0000)]
Update.

2002-12-17  Jakub Jelinek  <jakub@redhat.com>

* malloc/thread-m.h (mutex_init, mutex_lock, mutex_trylock,
mutex_unlock): If not building NPTL, use __libc_maybe_call2 if
available, otherwise __libc_maybe_call.
* sysdeps/unix/sysv/linux/x86_64/recv.c: Add support for
cancellation handling.
* sysdeps/unix/sysv/linux/x86_64/send.c: Likewise.

21 years agoUpdate.
Ulrich Drepper [Tue, 17 Dec 2002 10:58:04 +0000 (10:58 +0000)]
Update.

2002-12-17  Isamu Hasegawa  <isamu@yamato.ibm.com>

* posix/regcomp.c (free_workarea_compile): Free the new member
ORG_INDICES.
(analyze): Initialize ORG_INDICES.
(duplicate_node_closure): Search for a existing node, which is
duplicated from the node ORG_DEST and satisfies the constraint
CONSTRAINT.  And use it to avoid inifimite loop.
(search_duplicated_node): New function.
(duplicate_node): Store the index of the original node.
* posix/regex_internal.c (re_dfa_add_node): Realloc ORG_INDICES
if needed.
* posix/regex_internal.h (re_dfa_t): Add new members.

21 years agoUpdate.
Ulrich Drepper [Tue, 17 Dec 2002 10:34:02 +0000 (10:34 +0000)]
Update.

2002-12-17  Ulrich Drepper  <drepper@redhat.com>

* stdio-common/tst-fdopen.c: Undefine assert before redefining it.

21 years agoUpdate.
Ulrich Drepper [Tue, 17 Dec 2002 06:52:45 +0000 (06:52 +0000)]
Update.

* sysdeps/posix/system.c (do_system): Add support for installation
of cancellation handlers.
* sysdeps/unix/sysv/linux/i386/system.c: New file.

* stdlib/Makefile (tests): Add tst-system.
* stdlib/tst-system.c: New file.

21 years agoUpdate.
Ulrich Drepper [Tue, 17 Dec 2002 03:49:23 +0000 (03:49 +0000)]
Update.

2002-12-16  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/socket.S [NEED_CANCELLATION &&
CENABLE]: Don't lose content of %ebx.

21 years agoUpdate.
Ulrich Drepper [Tue, 17 Dec 2002 02:03:18 +0000 (02:03 +0000)]
Update.

2002-12-17  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/i386/socket.S: Use SINGLE_THREAD_P
macro instead of comparing %gs:MULTIPLE_THREADS_OFFSET directly.

* iconvdata/iso-ir-165.c: Likewise.
* iconvdata/jis0208.c: Likewise.
* iconvdata/jis0212.c: Likewise.

21 years agoUpdate.
Ulrich Drepper [Tue, 17 Dec 2002 01:16:31 +0000 (01:16 +0000)]
Update.

2002-12-16  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/posix/getaddrinfo.c (gaih_inet): If __nss_lookup_function
fails to return a function pointer don't use it.

21 years agoUpdate.
Ulrich Drepper [Tue, 17 Dec 2002 00:06:01 +0000 (00:06 +0000)]
Update.

2002-12-16  Art Haas  <ahaas@airmail.net>

* io/ftw.c: Convert GCC extension initializer syntax to C99.

21 years agoUpdate.
Ulrich Drepper [Mon, 16 Dec 2002 23:53:33 +0000 (23:53 +0000)]
Update.

* sysdeps/unix/sysv/linux/sys/epoll.h: New file.  Written by
Davide Libenzi <davidel@xmailserver.org>.
* sysdeps/unix/sysv/aix/settimer.c: Likewise.
* sysdeps/unix/sysv/aix/sleep.c: Likewise.
* sysdeps/unix/sysv/aix/usleep.c: Likewise.

21 years agoUpdate.
Ulrich Drepper [Mon, 16 Dec 2002 23:38:42 +0000 (23:38 +0000)]
Update.

* sysdeps/unix/sysv/linux/syscalls.list: Add epoll_create,
epoll_ctl, and epoll_wait.
* sysdeps/unix/sysv/linux/Versions [libc: GLIBC_2.3.2]: Add
epoll_create, epoll_ctl, and epoll_wait.
* sysdeps/unix/sysv/linux/sys/epoll.h: New file.
* sysdeps/unix/sysv/linux/Dist: Add sys/epoll.h.
* sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
Add sys/epoll.h.

2002-12-16  Art Haas  <ahaas@airmail.net>

* sysdeps/generic/bp-semctl.h: Convert GCC extension initializer
syntax to C99
* sysdeps/unix/sysv/aix/settimer.c: Same.
* sysdeps/unix/sysv/aix/sleep.c: Same.
* sysdeps/unix/sysv/aix/usleep.c: Same.

2002-12-16  Ulrich Drepper  <drepper@redhat.com>

21 years agoUpdate.
Ulrich Drepper [Mon, 16 Dec 2002 22:17:11 +0000 (22:17 +0000)]
Update.

2002-12-16  Ulrich Drepper  <drepper@redhat.com>

* stdio-common/Makefile (routines): Remove lockfile.  Add
flockfile, ftrylockfile, and funlockfile.
* sysdeps/generic/lockfile.c: Removed.  Each function has its own file.
* sysdeps/generic/flockfile.c: New file.
* sysdeps/generic/ftrylockfile.c: New file.
* sysdeps/generic/funlockfile.c: New file.

21 years agoUpdate.
Ulrich Drepper [Mon, 16 Dec 2002 20:52:36 +0000 (20:52 +0000)]
Update.

2002-12-16  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/i386/socket.S: Use CENABLE and CDISABLE
macros instead of doing the calls directly.
* sysdeps/unix/make-syscalls.sh: Add ptw-*.$o target name to rules.
* Makerules ($(+sysdir_pfx)sysd-rules): Emit rules for ptw-%
targets.

2002-12-16  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/i386/fpu/bits/mathinline.h: Backout last change.
* sysdeps/ieee754/bits/nan.h: Likewise.

* sysdeps/unix/sysv/linux/ia64/syscalls.list (__syscall_open,
__syscall_wait4, __syscall_ioctl, __syscall_write): Add.

21 years agoBackout last change.
Ulrich Drepper [Mon, 16 Dec 2002 19:32:31 +0000 (19:32 +0000)]
Backout last change.

21 years ago* sunrpc/xdr_mem.c (xdrmem_inline): Fix argument type.
Roland McGrath [Mon, 16 Dec 2002 10:25:45 +0000 (10:25 +0000)]
* sunrpc/xdr_mem.c (xdrmem_inline): Fix argument type.

* sunrpc/xdr_rec.c (xdrrec_inline): Likewise.
* sunrpc/xdr_stdio.c (xdrstdio_inline): Likewise.

* sysdeps/unix/sysv/linux/syscalls.list: Add getpmsg, putpmsg.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Remove s_getpmsg,
s_putpmsg.
* sysdeps/unix/sysv/linux/i386/getpmsg.c: File removed.
* sysdeps/unix/sysv/linux/i386/putpmsg.c: File removed.
* sysdeps/unix/sysv/linux/m68k/getpmsg.c: File removed.
* sysdeps/unix/sysv/linux/m68k/putpmsg.c: File removed.
* sysdeps/unix/sysv/linux/mips/getpmsg.c: File removed.
* sysdeps/unix/sysv/linux/mips/putpmsg.c: File removed.
* sysdeps/unix/sysv/linux/powerpc/getpmsg.c: File removed.
* sysdeps/unix/sysv/linux/powerpc/putpmsg.c: File removed.

21 years ago2002-12-16 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 16 Dec 2002 10:25:28 +0000 (10:25 +0000)]
2002-12-16  Roland McGrath  <roland@redhat.com>

* sunrpc/xdr_mem.c (xdrmem_inline): Fix argument type.
* sunrpc/xdr_rec.c (xdrrec_inline): Likewise.
* sunrpc/xdr_stdio.c (xdrstdio_inline): Likewise.

21 years agoUpdate.
Ulrich Drepper [Mon, 16 Dec 2002 04:46:58 +0000 (04:46 +0000)]
Update.

* init.c (__pthread_initialize_minimal_internal): Renamed from
__pthread_initialize_minimal.  Make old name an alias.  This
converts a normal relocation into a relative relocation.

21 years ago(__pthread_initialize_minimal_internal): Renamed from __pthread_initialize_minimal...
Ulrich Drepper [Mon, 16 Dec 2002 04:46:19 +0000 (04:46 +0000)]
(__pthread_initialize_minimal_internal): Renamed from __pthread_initialize_minimal.  Make old name an alias.  This converts a normal relocation into a relative relocation.

21 years ago* sunrpc/rpc/xdr.h (struct XDR.xdr_ops.x_inline): 2nd arg
Roland McGrath [Mon, 16 Dec 2002 02:05:55 +0000 (02:05 +0000)]
* sunrpc/rpc/xdr.h (struct XDR.xdr_ops.x_inline): 2nd arg

is now u_int, not int.
(struct XDR.x_handy): Now u_int, not int.
* sunrpc/xdr_mem.c: Include <limits.h>.
(xdrmem_getlong, xdrmem_putlong, xdrmem_getbytes, xdrmem_putbytes,
xdrmem_inline, xdrmem_getint32, xdrmem_putint32):
x_handy is now unsigned, not signed.
Do not decrement x_handy if no change is made.
(xdrmem_setpos): Check for int overflow.
* sunrpc/xdr_sizeof.c (x_inline): 2nd arg is now unsigned.
(xdr_sizeof): Remove cast that is now unnecessary, now that
x_handy is unsigned.

21 years ago* iconv/gconv_conf.c: Convert GCC extension initializer syntax to C99.
Roland McGrath [Mon, 16 Dec 2002 02:05:36 +0000 (02:05 +0000)]
* iconv/gconv_conf.c: Convert GCC extension initializer syntax to C99.

* iconvdata/gap.awk: Likewise.
* iconvdata/gen-8bit-gap-1.sh: Likewise.
* iconvdata/gen-8bit-gap.sh: Likewise.
* locale/C-address.c: Likewise.
* locale/C-collate.c: Likewise.
* locale/C-ctype.c: Likewise.
* locale/C-identification.c: Likewise.
* locale/C-measurement.c: Likewise.
* locale/C-messages.c: Likewise.
* locale/C-monetary.c: Likewise.
* locale/C-name.c: Likewise.
* locale/C-numeric.c: Likewise.
* locale/C-paper.c: Likewise.
* locale/C-telephone.c: Likewise.
* locale/C-time.c: Likewise.
* nscd/connections.c: Likewise.
* nscd/grpcache.c: Likewise.
* nscd/hstcache.c: Likewise.
* nscd/pwdcache.c: Likewise.
* stdio-common/vfprintf.c: Likewise.
* stdlib/random.c: Likewise.
* sysdeps/generic/siglist.c: Likewise.
* sysdeps/i386/fpu/bits/mathinline.h: Likewise.
* sysdeps/ieee754/bits/nan.h: Likewise.
* sysdeps/posix/sprofil.c: Likewise.
* sysdeps/unix/sysv/linux/sleep.c: Likewise.
* sysdeps/unix/sysv/linux/sysctl.c: Likewise.
* sysdeps/unix/sysv/linux/usleep.c: Likewise.

21 years ago* sysdeps/unix/sysv/linux/readv.c (do_readv): Use prototype defn.
Roland McGrath [Sun, 15 Dec 2002 23:23:24 +0000 (23:23 +0000)]
* sysdeps/unix/sysv/linux/readv.c (do_readv): Use prototype defn.

* sysdeps/unix/sysv/linux/wait.c: Don't include <nptl/pthreadP.h> or
<tls.h> here, no need for it.
* sysdeps/unix/sysv/linux/waitpid.c: Likewise.

* sysdeps/unix/sysv/linux/i386/fcntl.c (do_fcntl): Take ARG as void *
parameter, not varargs parameter.

* sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_RESET): Evaluate the
argument so it's not an unused variable.

* resolv/resolv.h (__p_key_syms, __p_cert_syms, __p_class_syms,
__p_type_syms, __p_rcode_syms): Remove decls, never really intended
for users.

* resolv/Versions (libresolv: GLIBC_2.3.2): New set, add __p_rcode.

2002-12-15  Art Haas  <ahaas@airmail.net>

* nscd/connections.c: C99 initializer conversion.
* nscd/grpcache.c: Same.
* nscd/hstcache.c: Same.
* nscd/pwdcache.c: Same.

21 years ago2002-12-15 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 15 Dec 2002 23:22:47 +0000 (23:22 +0000)]
2002-12-15  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/readv.c (do_readv): Use prototype defn.

21 years agoUpdate.
Ulrich Drepper [Sun, 15 Dec 2002 22:05:51 +0000 (22:05 +0000)]
Update.

2002-12-15  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/fcntl.c (do_fcntl): This is the
original __libc_fcntl code.  Just renamed.

* sysdeps/unix/sysv/linux/m68k/clone.S: Make inline syscall to _exit.
2002-12-14  Olaf Hering  <olh@suse.de>
* sysdeps/powerpc/bits/setjmp.h: Include <bits/wordsize.h>.
* sysdeps/powerpc/powerpc64/setjmp.S: Fix typo in r18 load.

21 years agoRemove creat, poll, pselect, readv, select, sigpause, sigsuspend, sigwaitinfo, waitid...
Ulrich Drepper [Sun, 15 Dec 2002 21:43:25 +0000 (21:43 +0000)]
Remove creat, poll, pselect, readv, select, sigpause, sigsuspend, sigwaitinfo, waitid, and writev wrappers.

21 years ago* sysdeps/unix/sysv/linux/m68k/clone.S: Make inline syscall to
Andreas Schwab [Sun, 15 Dec 2002 21:39:54 +0000 (21:39 +0000)]
* sysdeps/unix/sysv/linux/m68k/clone.S: Make inline syscall to

_exit.

21 years agoMake inline syscall to _exit.
Andreas Schwab [Sun, 15 Dec 2002 21:39:21 +0000 (21:39 +0000)]
Make inline syscall to _exit.

21 years agoUpdate.
Ulrich Drepper [Sun, 15 Dec 2002 21:23:04 +0000 (21:23 +0000)]
Update.

* Versions [libpthread: GLIBC_2.3.2]: Remove creat, poll, pselect,
readv, select, sigpause, sigsuspend, sigwaitinfo, waitid, writev.
* Makefile (libpthread-routines): Remove pt-creat, pt-poll,
pt-pselect, pt-readv, pt-select, pt-sigpause, pt-sigsuspend,
pt-sigwaitinfo, pt-waitid, and pt-writev.
* pt-creat.c: Removed.
* pt-poll.c: Removed.
* pt-pselect.c: Removed.
* pt-readv.c: Removed.
* pt-select.c: Removed.
* pt-sigpause.c: Removed.
* pt-sigsuspend.c: Removed.
* pt-sigwaitinfo.c: Removed.
* pt-waitid.c: Removed.
* pt-writev.c: Removed.

21 years agoUpdate.
Ulrich Drepper [Sun, 15 Dec 2002 20:06:34 +0000 (20:06 +0000)]
Update.

* init.c (pthread_functions): New variable.
(__pthread_initialize_minimal): Pass pointer to pthread_functions
(or NULL) to __libc_pthread_init.
* forward.c: Rewrite to use __libc:pthread_functions array to get
function addresses.
* sysdeps/unix/sysv/linux/fork.h: Remove __libc_pthread_init
prototype.
* sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init):
Take new parameter.  Copy content of variable pointed to by it
to __libc_pthread_init.

* pthreadP.h (struct pthread_functions): New type.
(__libc_pthread_init): Declare.

* pthread_attr_destroy.c: Add namespace protected alias.
* pthread_attr_getdetachstate.c: Likewise.
* pthread_attr_getinheritsched.c: Likewise.
* pthread_attr_getschedparam.c: Likewise.
* pthread_attr_getschedpolicy.c: Likewise.
* pthread_attr_getscope.c: Likewise.
* pthread_attr_setdetachstate.c: Likewise.
* pthread_attr_setinheritsched.c: Likewise.
* pthread_attr_setschedparam.c: Likewise.
* pthread_attr_setschedpolicy.c: Likewise.
* pthread_attr_setscope.c: Likewise.
* pthread_cond_broadcast.c: Likewise.
* pthread_cond_destroy.c: Likewise.
* pthread_cond_init.c: Likewise.
* pthread_cond_signal.c: Likewise.
* pthread_cond_wait.c: Likewise.
* pthread_condattr_destroy.c: Likewise.
* pthread_condattr_init.c: Likewise.
* pthread_equal.c: Likewise.
* pthread_exit.c: Likewise.
* pthread_getschedparam.c: Likewise.
* pthread_self.c: Likewise.
* pthread_setcancelstate.c: Likewise.
* pthread_setschedparam.c: Likewise.
* pthread_mutex_destroy.c: Likewise.
* pthread_mutex_init.c: Likewise.
* pthreadP.h: Add prototypes for the aliases.

21 years agoAdd namespace protected alias.
Ulrich Drepper [Sun, 15 Dec 2002 19:59:08 +0000 (19:59 +0000)]
Add namespace protected alias.

21 years ago2002-12-14 Olaf Hering <olh@suse.de>
Roland McGrath [Sun, 15 Dec 2002 11:40:39 +0000 (11:40 +0000)]
2002-12-14  Olaf Hering <olh@suse.de>

        * sysdeps/powerpc/bits/setjmp.h: Include <bits/wordsize.h>.
        * sysdeps/powerpc/powerpc64/setjmp.S: Fix typo in r18 load.

21 years ago2002-12-14 Olaf Hering <olh@suse.de>
Roland McGrath [Sun, 15 Dec 2002 11:40:22 +0000 (11:40 +0000)]
2002-12-14  Olaf Hering <olh@suse.de>

        * sysdeps/powerpc/bits/setjmp.h: Include <bits/wordsize.h>.
        * sysdeps/powerpc/powerpc64/setjmp.S: Fix typo in r18 load.

21 years agoUpdate.
Ulrich Drepper [Sun, 15 Dec 2002 11:24:42 +0000 (11:24 +0000)]
Update.

* sysdeps/unix/sysv/linux/libc_fatal.c: New file.

21 years agoUpdate.
Ulrich Drepper [Sun, 15 Dec 2002 10:26:23 +0000 (10:26 +0000)]
Update.

2002-12-15  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/sysdep-cancel.h: Add dummy definitions for
SINGLE_THREAD_P, LIBC_CANCEL_ASYNC, and LIBC_CANCEL_RESET.

* sysdeps/unix/sysv/linux/open64.c: New file.

* sysdeps/generic/pselect.c: Add support for cancellation handling.
* sysdeps/posix/open64.c: Likewise.
* sysdeps/posix/sigpause.c: Likewise.
* sysdeps/posix/sigwait.c: Likewise.
* sysdeps/posix/system.c: Likewise.
* sysdeps/posix/waitid.c: Likewise.
* sysdeps/unix/sysv/linux/accept.S: Likewise.
* sysdeps/unix/sysv/linux/connect.S: Likewise.
* sysdeps/unix/sysv/linux/llseek.c: Likewise.
* sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
* sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
* sysdeps/unix/sysv/linux/poll.c: Likewise.
* sysdeps/unix/sysv/linux/pread.c: Likewise.
* sysdeps/unix/sysv/linux/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/readv.c: Likewise.
* sysdeps/unix/sysv/linux/recv.S: Likewise.
* sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
* sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
* sysdeps/unix/sysv/linux/send.S: Likewise.
* sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
* sysdeps/unix/sysv/linux/sendto.S: Likewise.
* sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
* sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
* sysdeps/unix/sysv/linux/sigwait.c: Likewise.
* sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
* sysdeps/unix/sysv/linux/tcdrain.c: Likewise.
* sysdeps/unix/sysv/linux/wait.c: Likewise.
* sysdeps/unix/sysv/linux/waitpid.c: Likewise.
* sysdeps/unix/sysv/linux/writev.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/socket.S: Likewise.

21 years agoUpdate.
Ulrich Drepper [Sun, 15 Dec 2002 10:09:03 +0000 (10:09 +0000)]
Update.

2002-12-14  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/pt-socket.S: Changes folded into the
regular Linux version.  Remove file.
* sysdeps/unix/sysv/linux/connect.S: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/llseek.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/msgrcv.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/msgsnd.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/open64.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/poll.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/pread.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/pread64.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/pselect.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/pwrite.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/pwrite64.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/readv.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/recv.S: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/recvfrom.S: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/recvmsg.S: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/send.S: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/sendmsg.S: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/sendto.S: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/sigpause.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/sigwait.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/system.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/tcdrain.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/wait.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/waitid.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/waitpid.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/writev.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.  Remove file.

21 years agoUpdate.
Ulrich Drepper [Sun, 15 Dec 2002 01:00:22 +0000 (01:00 +0000)]
Update.

* sysdeps/generic/sysdep-cancel.h: New file.
* sysdeps/unix/make-syscalls.sh: Handle C at start of args as
cancelable syscall.
* sysdeps/unix/inet/syscalls.list (accept, connect, recv, recvfrom,
recvmsg, send, sendmsg, sendto): Make cancelable.
* sysdeps/unix/mman/syscalls.list (msync): Likewise.
* sysdeps/unix/sysv/linux/alpha/syscalls.list (llseek, pread,
pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg,
sendto, osf_select): Likewise.
* sysdeps/unix/sysv/linux/hppa/syscalls.list (accept, connect, recv,
recvfrom, recvmsg, send, sendmsg, sendto): Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list (llseek, pread,
pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg,
sendto): Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list (accept, connect, recv,
recvfrom, recvmsg, send, sendmsg, sendto): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (llseek, pread,
pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg,
sendto): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (llseek, pread,
pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg,
sendto, select): Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list (llseek, pread,
pwrite, accept, connect, recvfrom, recvmsg, sendmsg, sendto):
Likewise.
* sysdeps/unix/sysv/linux/syscalls.list (creat, nanosleep, pause,
select, fcntl): Likewise.
* sysdeps/unix/sysv/syscalls.list (pause, poll): Likewise.
* sysdeps/unix/syscalls.list (close, fcntl, fsync, lseek, open,
read, readv, select, sigsuspend, write, writev): Likewise.

2002-12-14  Jakub Jelinek  <jakub@redhat.com>

21 years agoUpdate.
Ulrich Drepper [Sat, 14 Dec 2002 19:49:13 +0000 (19:49 +0000)]
Update.

2002-12-14  Jakub Jelinek  <jakub@redhat.com>

* dirent/bug-readdir1.c: Include unistd.h.

21 years agoUpdate.
Ulrich Drepper [Sat, 14 Dec 2002 03:29:13 +0000 (03:29 +0000)]
Update.

2002-12-13  Jakub Jelinek  <jakub@redhat.com>

* locale/programs/locale.c: Include locarchive.h.
(ARCHIVE_NAME): Define.
(write_archive_locales): New function.
(write_locales): Use it.  Ensure the same locale is not printed
multiple times in verbose mode.
Mode LC_IDENTIFICATION and LC_CTYPE printing into...
(print_LC_IDENTIFICATION, print_LC_CTYPE): ... these helper
functions.
(struct nameent): New type.
(nameentcmp): New function.

21 years agoInclude locarchive.h. (ARCHIVE_NAME): Define. (write_archive_locales): New function...
Ulrich Drepper [Sat, 14 Dec 2002 03:26:43 +0000 (03:26 +0000)]
Include locarchive.h. (ARCHIVE_NAME): Define. (write_archive_locales): New function. (write_locales): Use it.  Ensure the same locale is not printed multiple times in verbose mode. Mode LC_IDENTIFICATION and LC_CTYPE printing into... (print_LC_IDENTIFICATION, print_LC_CTYPE): ... these helper functions. (struct nameent): New type. (nameentcmp): New function.

21 years ago* posix/regex_internal.c (re_string_context_at): Guard wide char
Roland McGrath [Fri, 13 Dec 2002 23:45:32 +0000 (23:45 +0000)]
* posix/regex_internal.c (re_string_context_at): Guard wide char

code with #ifdef RE_ENABLE_I18N.

2002-11-22  Paolo Bonzini  <bonzini@gnu.org>

* posix/regcomp.c (regcomp): __re_compile_fastmap -> re_compile_fastmap

21 years ago2002-12-14 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Fri, 13 Dec 2002 23:45:19 +0000 (23:45 +0000)]
2002-12-14  Jakub Jelinek  <jakub@redhat.com>

* posix/regex_internal.c (re_string_context_at): Guard wide char
code with #ifdef RE_ENABLE_I18N.

21 years ago(test_loaded): Don't overwrite a value another thread might have found.
Ulrich Drepper [Fri, 13 Dec 2002 23:05:35 +0000 (23:05 +0000)]
(test_loaded): Don't overwrite a value another thread might have found.

21 years agoUpdate.
Ulrich Drepper [Fri, 13 Dec 2002 22:56:45 +0000 (22:56 +0000)]
Update.

* forward.c (test_loaded): Prevent recursive calls.

21 years ago(test_loaded): Prevent recursive calls.
Ulrich Drepper [Fri, 13 Dec 2002 22:56:32 +0000 (22:56 +0000)]
(test_loaded): Prevent recursive calls.

21 years ago* posix/bug-regex15.c: New file.
Roland McGrath [Fri, 13 Dec 2002 21:32:16 +0000 (21:32 +0000)]
* posix/bug-regex15.c: New file.

* posix/Makefile (tests): Add it.

* test-skeleton.c (TEST_DATA_LIMIT): New macro, default to 64MB.
(main): Set RLIMIT_DATA limit to TEST_DATA_LIMIT (or lower if need be).

21 years ago2002-12-13 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 13 Dec 2002 21:32:03 +0000 (21:32 +0000)]
2002-12-13  Roland McGrath  <roland@redhat.com>

* posix/bug-regex15.c: New file.
* posix/Makefile (tests): Add it.

21 years agoUpdate.
Ulrich Drepper [Fri, 13 Dec 2002 19:43:31 +0000 (19:43 +0000)]
Update.

* elf/dl-misc.c (_dl_debug_vdprintf): Don't depend on 5-digit PIDs.

21 years agoUpdate.
Ulrich Drepper [Fri, 13 Dec 2002 10:59:14 +0000 (10:59 +0000)]
Update.

2002-12-13  Ulrich Drepper  <drepper@redhat.com>

* misc/syslog.c (log_cleanup): Don't use parameter in
__libc_lock_unlock call, use syslog_lock directly.  Adjust callers to
pass NULL instead of a pointer to syslog_lock.

21 years agoCancellation handling inside libc.
Ulrich Drepper [Fri, 13 Dec 2002 10:35:39 +0000 (10:35 +0000)]
Cancellation handling inside libc.

21 years ago* td_ta_thr_iter.c (iterate_thread_list): Handle special case of
Roland McGrath [Fri, 13 Dec 2002 09:46:02 +0000 (09:46 +0000)]
* td_ta_thr_iter.c (iterate_thread_list): Handle special case of

uninitialized __stack_user (zeros), hard-wire just the main thread.

* td_thr_get_info.c (td_thr_get_info): Fix ti_lid initialization.

21 years ago2002-12-12 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 13 Dec 2002 09:45:50 +0000 (09:45 +0000)]
2002-12-12  Roland McGrath  <roland@redhat.com>

* td_ta_thr_iter.c (iterate_thread_list): Handle special case of
uninitialized __stack_user (zeros), hard-wire just the main thread.

21 years agoUpdate.
Ulrich Drepper [Fri, 13 Dec 2002 02:58:24 +0000 (02:58 +0000)]
Update.

* iconvdata/Makefile: iconv-rules: Add definition to use gconv.map
linker map for all iconv modules.
(distribute): Add gconv.map.
* iconvdata/gconv.map: New file.

21 years agoUpdate.
Ulrich Drepper [Fri, 13 Dec 2002 01:05:48 +0000 (01:05 +0000)]
Update.

* elf/Makefile: Also check all iconv modules for text relocations.