external/glibc.git
21 years ago* sysdeps/posix/pause.c: New file.
Roland McGrath [Mon, 24 Feb 2003 03:51:35 +0000 (03:51 +0000)]
* sysdeps/posix/pause.c: New file.

* sysdeps/unix/common/pause.c: File removed.

21 years ago2003-02-23 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 24 Feb 2003 03:51:24 +0000 (03:51 +0000)]
2003-02-23  Roland McGrath  <roland@redhat.com>

* sysdeps/posix/pause.c: New file.
* sysdeps/unix/common/pause.c: File removed.

21 years agoUpdate.
Ulrich Drepper [Mon, 24 Feb 2003 03:50:46 +0000 (03:50 +0000)]
Update.

* Makefile (tests): Add tst-tls1 and tst-tls2.
* tst-tls1.c: New file.
* tst-tls2.c: New file.

21 years agoUpdate.
Ulrich Drepper [Mon, 24 Feb 2003 00:12:23 +0000 (00:12 +0000)]
Update.

* sysdeps/generic/bits/confname.h: Remove #ifs.

21 years agoUpdate.
Ulrich Drepper [Sun, 23 Feb 2003 09:58:08 +0000 (09:58 +0000)]
Update.

* posix/Makefile (CFLAGS-regex.c): Remove RE_ENABLE_I18N definition.
* posix/regex_internal.h (RE_ENABLE_I18N): Pretty printing.

21 years agoUpdate.
Ulrich Drepper [Sun, 23 Feb 2003 09:16:11 +0000 (09:16 +0000)]
Update.

2003-02-23  Ulrich Drepper  <drepper@redhat.com>

* resolv/res_libc.c [USE___THREAD] (_res): Initialize _vcsock
element to -1.

21 years agoUpdate.
Ulrich Drepper [Sun, 23 Feb 2003 07:20:34 +0000 (07:20 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: Shave
off 3 more bytes by using offset-less instructions when possible.

21 years agoUpdate.
Ulrich Drepper [Sun, 23 Feb 2003 05:08:59 +0000 (05:08 +0000)]
Update.

2003-02-22  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/dl-sysdep.c: Avoid warning.

21 years agoAvoid warning.
Ulrich Drepper [Sun, 23 Feb 2003 05:05:02 +0000 (05:05 +0000)]
Avoid warning.

21 years ago* resolv/tst-leaks.c: New file by Daniel Jacobowitz <drow@mvista.com>.
Roland McGrath [Sun, 23 Feb 2003 03:35:48 +0000 (03:35 +0000)]
* resolv/tst-leaks.c: New file by Daniel Jacobowitz <drow@mvista.com>.

* resolv/Makefile (tests): Add tst-leaks.
($(objpfx)tst-leaks): Depend on $(objpfx)libresolv.so.
(tst-leaks-ENV): New variable.
($(objpfx)mtrace-tst-leaks): New target.
(tests): Depend on it.

21 years ago2003-02-22 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 23 Feb 2003 03:35:39 +0000 (03:35 +0000)]
2003-02-22  Roland McGrath  <roland@redhat.com>

* resolv/tst-leaks.c: New file by Daniel Jacobowitz <drow@mvista.com>.
* resolv/Makefile (tests): Add tst-leaks.
($(objpfx)tst-leaks): Depend on $(objpfx)libresolv.so.
(tst-leaks-ENV): New variable.
($(objpfx)mtrace-tst-leaks): New target.
(tests): Depend on it.

21 years agoRegenerated from source files
Ulrich Drepper [Sat, 22 Feb 2003 23:36:14 +0000 (23:36 +0000)]
Regenerated from source files

21 years agoUpdate.
Ulrich Drepper [Sat, 22 Feb 2003 23:19:31 +0000 (23:19 +0000)]
Update.

* catgets/Makefile: Add rules to run test2.msg test.
* catgets/test2.msg: New file.

21 years agoUpdate.
Ulrich Drepper [Sat, 22 Feb 2003 23:15:39 +0000 (23:15 +0000)]
Update.

* catgets/gencat.c (read_input_file): Collision between
auto-assigned numbers and user-defined nubmers is not fatal.
Handle it.
Patch by Michael M. Lampkin <michael.lampkin@ieee.org>.

* catgets/gencat.c (main): Return 1 if messages have been printed.

21 years agoAdd dependency for $(objpfx)version.d.
Ulrich Drepper [Sat, 22 Feb 2003 22:52:12 +0000 (22:52 +0000)]
Add dependency for $(objpfx)version.d.

21 years ago* include/libc-internal.h: Declare __libc_thread_freeres.
Roland McGrath [Sat, 22 Feb 2003 22:46:40 +0000 (22:46 +0000)]
* include/libc-internal.h: Declare __libc_thread_freeres.

21 years ago* Makerules: Fix last change to use $($(subdir)-version) when set.
Roland McGrath [Sat, 22 Feb 2003 21:47:19 +0000 (21:47 +0000)]
* Makerules: Fix last change to use $($(subdir)-version) when set.

21 years ago* Makerules (install-lib-nosubdir): Depend on installed
Roland McGrath [Sat, 22 Feb 2003 20:32:58 +0000 (20:32 +0000)]
* Makerules (install-lib-nosubdir): Depend on installed

libfoo-X.Y.Z.so and libfoo.so.NN files so they are installed
regardless of the libfoo.so target's dependencies.

21 years ago* MakeTAGS (sub-make-vars): New variable, includes generating=t.
Roland McGrath [Sat, 22 Feb 2003 20:20:37 +0000 (20:20 +0000)]
* MakeTAGS (sub-make-vars): New variable, includes generating=t.

Use that in $(MAKE) calls.

21 years ago2003-02-22 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 22 Feb 2003 20:20:29 +0000 (20:20 +0000)]
2003-02-22  Roland McGrath  <roland@redhat.com>

* MakeTAGS (sub-make-vars): New variable, includes generating=t.
Use that in $(MAKE) calls.

21 years agoUpdate.
Ulrich Drepper [Sat, 22 Feb 2003 20:02:35 +0000 (20:02 +0000)]
Update.

* iconv/iconv_prog.c (main): Unify messages.

21 years agoUpdate.
Ulrich Drepper [Sat, 22 Feb 2003 09:12:20 +0000 (09:12 +0000)]
Update.

2003-02-22  Ulrich Drepper  <drepper@redhat.com>

* stdlib/strtod.c (INTERNAL): Remove bogus clearing of second word
when shifting retval.
* stdlib/tst-strtod.c (main): Add strtold test case.
Reported by Fred J. Tydeman <tydeman@tybor.com>.

21 years ago(main): Add strtold test case.
Ulrich Drepper [Sat, 22 Feb 2003 09:10:06 +0000 (09:10 +0000)]
(main): Add strtold test case.

21 years ago* pthread_create.c (start_thread): Call __libc_thread_freeres.
Roland McGrath [Sat, 22 Feb 2003 08:33:33 +0000 (08:33 +0000)]
* pthread_create.c (start_thread): Call __libc_thread_freeres.

21 years ago2003-02-21 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 22 Feb 2003 08:33:25 +0000 (08:33 +0000)]
2003-02-21  Roland McGrath  <roland@redhat.com>

* pthread_create.c (start_thread): Call __libc_thread_freeres.

21 years agoUpdate.
Ulrich Drepper [Sat, 22 Feb 2003 05:24:39 +0000 (05:24 +0000)]
Update.

* Makefile (tests): Add tst-eintr1.
(distribute): Add eintr.c.
* tst-eintr1.c: New file.
* eintr.c: New file.

21 years agoTest for pthread_create and pthread_koin not returning EINTR.
Ulrich Drepper [Sat, 22 Feb 2003 05:22:31 +0000 (05:22 +0000)]
Test for pthread_create and pthread_koin not returning EINTR.

21 years ago* malloc/thread-freeres.c: Conditionalize on _LIBC_REENTRANT.
Roland McGrath [Sat, 22 Feb 2003 01:58:06 +0000 (01:58 +0000)]
* malloc/thread-freeres.c: Conditionalize on _LIBC_REENTRANT.

* sunrpc/rpc_thread.c: Likewise for text_set_element use.
(__rpc_thread_destroy): Add it to __libc_subfreeres too.

* include/resolv.h: Add libc_hidden_proto for __res_nclose.
* resolv/res_init.c (__res_nclose): Add libc_hidden_def.
(res_thread_freeres): New function, on __libc_thread_subfreeres and
__libc_subfreeres.

* malloc/Versions (libc: GLIBC_PRIVATE): Add __libc_thread_freeres.
* sunrpc/Versions (libc: GLIBC_PRIVATE): Removed.

21 years ago* malloc/Versions (GLIBC_PRIVATE): Add __libc_thread_freeres.
Roland McGrath [Sat, 22 Feb 2003 00:55:36 +0000 (00:55 +0000)]
* malloc/Versions (GLIBC_PRIVATE): Add __libc_thread_freeres.

* malloc/thread-freeres.c: New file.
* malloc/Makefile (aux): Add it.
* sunrpc/Versions (GLIBC_PRIVATE): Removed.
* sunrpc/rpc_thread.c (__rpc_thread_destroy): Put in special section
"__libc_thread_freeres_fn" and add to __libc_thread_subfreeres set.

* sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Typo fix.
* sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Typo fix.

2003-02-21  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/opendir.c (__opendir): Use O_NONBLOCK in open.

* iconvdata/Makefile (tests): Add bug-iconv3 only if
[$(have-thread-library) = yes].

21 years ago2003-02-21 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 22 Feb 2003 00:26:55 +0000 (00:26 +0000)]
2003-02-21  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Typo fix.
* sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Typo fix.

21 years agoUpdate.
Ulrich Drepper [Sat, 22 Feb 2003 00:02:57 +0000 (00:02 +0000)]
Update.

* sysdeps/unix/sysv/linux/bits/signum.h (__SIGRTMAX): Define as _NSIG.

21 years agoUpdate.
Ulrich Drepper [Sat, 22 Feb 2003 00:00:19 +0000 (00:00 +0000)]
Update.

2003-02-21  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/getuid.c: Use INTERNAL_SYSCALL and do
not chechk for errors (unless testing for 32bit variant).
* sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.

21 years agoUpdate.
Ulrich Drepper [Fri, 21 Feb 2003 21:07:28 +0000 (21:07 +0000)]
Update.

* pthread_cancel.c (pthread_cancel): Use tkill directly.

* sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill):
Disallow sending SIGCANCEL.

tst-kill3, tst-kill4, tst-kill5.
* tst-kill1.c: New file.
* tst-kill2.c: New file.
* tst-kill3.c: New file.
* tst-kill5.c: New file.
* tst-basic7.c: Renamed to...
* tst-kill4.c: ...this.

21 years agoUpdate.
Ulrich Drepper [Fri, 21 Feb 2003 20:29:49 +0000 (20:29 +0000)]
Update.

2003-02-21  Ulrich Drepper  <drepper@redhat.com>

* Makefile (tests): Remove tst-basic7.  Add tst-kill1, tst-kill2,
tst-kill3, tst-kill4.

21 years agoUpdate.
Ulrich Drepper [Fri, 21 Feb 2003 19:25:36 +0000 (19:25 +0000)]
Update.

* sysdeps/x86_64/dl-machine.h (elf_machine_rela) <R_X86_64_PC32>:
Check for signed overflow, not unsigned.

2003-02-21  Jakub Jelinek  <jakub@redhat.com>

21 years agoUpdate.
Ulrich Drepper [Fri, 21 Feb 2003 19:11:49 +0000 (19:11 +0000)]
Update.

2003-02-21  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/sparc/sparc64/elf/configure.in: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (sysdep-CFLAGS):
Use -fcall-used-g6, not -fcall-used-g7.

21 years agoAdditional configury for SPARC64/ELF.
Ulrich Drepper [Fri, 21 Feb 2003 18:58:10 +0000 (18:58 +0000)]
Additional configury for SPARC64/ELF.

21 years agoUpdate.
Andreas Jaeger [Fri, 21 Feb 2003 16:19:02 +0000 (16:19 +0000)]
Update.

2003-02-21  Andreas Jaeger  <aj@suse.de>

* sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Fix setting of default
mode.

* sysdeps/x86_64/fpu/fsetexcptflg.c (fesetexceptflag): Do not
clear whole mxcsr but only exceptions.

21 years ago* sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Fix setting of default
Andreas Jaeger [Fri, 21 Feb 2003 16:18:50 +0000 (16:18 +0000)]
* sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Fix setting of default

mode.
* sysdeps/x86_64/fpu/fsetexcptflg.c (fesetexceptflag): Do not
clear whole mxcsr but only exceptions.

21 years ago* Makerules: Filter $(install-lib-ldscripts) out of list of targets
Roland McGrath [Fri, 21 Feb 2003 10:05:25 +0000 (10:05 +0000)]
* Makerules: Filter $(install-lib-ldscripts) out of list of targets

for libfoo.so that need $(make-link) rules.

21 years agoUpdate.
Ulrich Drepper [Fri, 21 Feb 2003 10:00:33 +0000 (10:00 +0000)]
Update.

* pthreadP.h: Define INVALID_TD_P and INVALID_NOT_TERMINATED_TD_P.
* pthread_cancel.c: Use INVALID_TD_P.
* pthread_detach.c: Likewise.
* pthread_getschedparam.c: Likewise.
* pthread_setschedparam.c: Likewise.
* sysdeps/pthread/pthread_getcpuclockid.c: Likewise.
* sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
* pthread_join.c: Use INVALID_NOT_TERMINATED_TD_P.
* pthread_timedjoin.c: Likewise.

* tst-basic7.c: Include <signal.h>.

21 years agoInclude <signal.h>.
Ulrich Drepper [Fri, 21 Feb 2003 09:51:07 +0000 (09:51 +0000)]
Include <signal.h>.

21 years ago2003-02-21 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 21 Feb 2003 09:30:58 +0000 (09:30 +0000)]
2003-02-21  Roland McGrath  <roland@redhat.com>

* Makefile (install-lib-ldscripts): New variable.

21 years ago2003-02-21 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 21 Feb 2003 09:30:54 +0000 (09:30 +0000)]
2003-02-21  Roland McGrath  <roland@redhat.com>

* Makerules: Filter $(install-lib-ldscripts) out of list of targets
for libfoo.so that need $(make-link) rules.

21 years agoUpdate.
Ulrich Drepper [Fri, 21 Feb 2003 08:35:19 +0000 (08:35 +0000)]
Update.

2003-02-21  Ulrich Drepper  <drepper@redhat.com>

* pthread_join.c (pthread_join): Limited checking for invalid
descriptors.
* pthread_timedjoin.c (pthread_timedjoin_np): Likewise.

21 years ago(pthread_join): Limited checking for invalid descriptors.
Ulrich Drepper [Fri, 21 Feb 2003 08:34:16 +0000 (08:34 +0000)]
(pthread_join): Limited checking for invalid descriptors.

21 years ago* sysdeps/mach/hurd/bits/typesizes.h (__DEV_T_TYPE): Use __U32_TYPE
Roland McGrath [Fri, 21 Feb 2003 08:20:05 +0000 (08:20 +0000)]
* sysdeps/mach/hurd/bits/typesizes.h (__DEV_T_TYPE): Use __U32_TYPE

to match existing struct stat layout in mig protocols.

21 years ago2003-02-21 Roland McGrath <roland@frob.com>
Roland McGrath [Fri, 21 Feb 2003 08:19:41 +0000 (08:19 +0000)]
2003-02-21  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/bits/typesizes.h (__DEV_T_TYPE): Use __U32_TYPE
to match existing struct stat layout in mig protocols.

21 years agoUpdate.
Ulrich Drepper [Fri, 21 Feb 2003 07:07:52 +0000 (07:07 +0000)]
Update.

2003-02-20  Ulrich Drepper  <drepper@redhat.com>

* version.h (VERSION): Bump to 2.3.2.

* elf/Makefile (distribute): Add reldep9.c, tst-array1.exp,
tst-array2.exp, tst-array4.exp, tst-array2dep.c, check-textrel.c,
and dl-sysdep.h.
* sysdeps/generic/Dist: Add sysdep-cancel.h.
* sysdeps/powerpc/nofpu/Dist: Add soft-supp.h.
* sysdeps/unix/Dist: Add s-proto-bp.S and s-proto-cancel.S.
* sysdeps/unix/sysv/linux/Dist: Add pathconf.h.
* sysdeps/unix/sysv/linux/i386/Dist: Add bp-thunk.h.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: Add fe_nomask.c and
ucontext_i.h.
* Makefile (distribute): Add include/stubs-prologue.h,
include/gnu/stubs.h, scripts/merge-abilist.awk, and
scripts/extract-abilist.awk.

2002-02-20  Paolo Bonzini  <bonzini@gnu.org>

21 years agoRegenerated: /usr/bin/perl scripts/gen-FAQ.pl FAQ.in
Ulrich Drepper [Fri, 21 Feb 2003 06:17:16 +0000 (06:17 +0000)]
Regenerated:  /usr/bin/perl scripts/gen-FAQ.pl FAQ.in

21 years ago* math/Makefile (distribute): Don't add generated files.
Roland McGrath [Fri, 21 Feb 2003 05:38:16 +0000 (05:38 +0000)]
* math/Makefile (distribute): Don't add generated files.

21 years ago2003-02-20 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 21 Feb 2003 05:37:51 +0000 (05:37 +0000)]
2003-02-20  Roland McGrath  <roland@redhat.com>

* math/Makefile (distribute): Don't add generated files.

21 years agoUpdate.
Ulrich Drepper [Fri, 21 Feb 2003 05:14:57 +0000 (05:14 +0000)]
Update.

2003-02-20  Ulrich Drepper  <drepper@redhat.com>

* version.h (VERSION): Bump to 2.3.2.

* math/Makefile: Rearrange variable definitions slightly to get
definition in the right order.

21 years agoRearrange variable definitions slightly to get definition in the right order.
Ulrich Drepper [Fri, 21 Feb 2003 05:13:15 +0000 (05:13 +0000)]
Rearrange variable definitions slightly to get definition in the right order.

21 years ago* Makerules: Clean up conditional around include of tls.make.
Roland McGrath [Fri, 21 Feb 2003 03:02:45 +0000 (03:02 +0000)]
* Makerules: Clean up conditional around include of tls.make.

* Make-dist: Export generating=t to prevent using that.
(+distinfo): Likewise for $(shell $(MAKE) ...) runs.

21 years ago2003-02-20 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 21 Feb 2003 03:02:16 +0000 (03:02 +0000)]
2003-02-20  Roland McGrath  <roland@redhat.com>

* Makerules: Clean up conditional around include of tls.make.
* Make-dist: Export generating=t to prevent using that.
(+distinfo): Likewise for $(shell $(MAKE) ...) runs.

21 years agoRemade for stable-2.3.2
Ulrich Drepper [Fri, 21 Feb 2003 02:27:09 +0000 (02:27 +0000)]
Remade for stable-2.3.2

21 years agoUpdate.
Ulrich Drepper [Fri, 21 Feb 2003 01:52:32 +0000 (01:52 +0000)]
Update.

* inet/rcmd.c (rresvport_af): Avoid using invliad values.  Wrap
around in search if port IPPORT_RESERVED/2 has been test.

2002-02-20  Paolo Bonzini <bonzini@gnu.org>

* posix/regcomp.c: Remove inclusions.
* posix/regexec.c: Likewise.
* posix/regex_internal.c: Likewise.
* posix/regex_internal.h: Add inclusions here.
* posix/regex.c: Only include sys/types.h before regex.h.  Include
regex_internal.h here.  Include regex_internal.c before regcomp.c
and regexec.c (might expose more opportunities to the C compiler).

* posix/regcomp.c (parse_expression): Fix construct rejected by SGI CC.

* posix/regex_internal.h [!_LIBC] (__mempcpy): Fix typo.
[!_LIBC] (__wcrtomb): New definition.
[!_LIBC]: Conditionalize enabling of I18N on HAVE_WCSCOLL and
HAVE_LOCALE_H as well.

2003-02-20  Ulrich Drepper  <drepper@redhat.com>

21 years agoUpdate.
Ulrich Drepper [Fri, 21 Feb 2003 00:12:29 +0000 (00:12 +0000)]
Update.

2003-02-20  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Remove obsolete
patch to check for system call errors.

21 years agoUpdate.
Ulrich Drepper [Thu, 20 Feb 2003 22:23:34 +0000 (22:23 +0000)]
Update.

2002-07-24  Philip Blundell  <philb@gnu.org>

* sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Yield ENODEV
on unknown systems.

2003-02-20  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* sysdeps/powerpc/powerpc32/atomicity.h: Remove compiler workaround.
* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_NEW_PRCTL_SYSCALL): Defined for ppc32 too.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Use prctl
if possible.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Avoid short
interprocedure branches.
* sysdeps/powerpc/soft-fp/Dist (sim-full.c, fenv_const.c): Move to...
* sysdeps/powerpc/nofpu/Dist: ...here.
* sysdeps/unix/sysv/linux/powerpc/Dist (fe_nomask.c): Move to...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: ...here.
* sysdeps/unix/sysv/linux/s390/s390-64/Dist (kernel_stat.h): Delete.
* sysdeps/unix/sysv/linux/sparc/Dist (bits/utmpx.h): Delete.
* sysdeps/unix/sysv/linux/x86_64/Dist (bits/utmpx.h): Delete.

21 years agoUpdate.
Ulrich Drepper [Thu, 20 Feb 2003 20:30:02 +0000 (20:30 +0000)]
Update.

2003-02-18  Alan Modra  <amodra@bigpond.net.au>

* sysdeps/powerpc/powerpc32/sysdep.h (HIDDEN_JUMPTARGET): Redefine.

21 years agoUpdate.
Ulrich Drepper [Thu, 20 Feb 2003 20:23:25 +0000 (20:23 +0000)]
Update.

2003-02-20  Philip Blundell  <philb@gnu.org>

* sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Add
missing arguments to INTERNAL_SYSCALL_ERROR_P and
INTERNAL_SYSCALL_ERRNO.

21 years agoUpdate.
Ulrich Drepper [Thu, 20 Feb 2003 20:13:36 +0000 (20:13 +0000)]
Update.

2003-02-20  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/unix/sysv/linux/s390/s390-32/chown.c (__real_chown): Test
for __ASSUME_32BITUIDS.

21 years ago(__real_chown): Test for __ASSUME_32BITUIDS.
Ulrich Drepper [Thu, 20 Feb 2003 20:05:26 +0000 (20:05 +0000)]
(__real_chown): Test for __ASSUME_32BITUIDS.

21 years ago* sysdeps/unix/sysv/linux/m68k/bits/mman.h: Add MADV_* and
Andreas Schwab [Thu, 20 Feb 2003 13:23:38 +0000 (13:23 +0000)]
* sysdeps/unix/sysv/linux/m68k/bits/mman.h: Add MADV_* and

POSIX_MADV_* constants.

21 years agoAdd MADV_* and POSIX_MADV_* constants.
Andreas Schwab [Thu, 20 Feb 2003 13:23:24 +0000 (13:23 +0000)]
Add MADV_* and POSIX_MADV_* constants.

21 years agoUpdate.
Ulrich Drepper [Thu, 20 Feb 2003 10:18:12 +0000 (10:18 +0000)]
Update.

* pthread_create.c (deallocate_tsd): Reset found_nonzero at the
beginning of the loop.  Clear the entire first block of TSD.

21 years agoUpdate.
Ulrich Drepper [Thu, 20 Feb 2003 10:10:59 +0000 (10:10 +0000)]
Update.

* pthreadP.h: Define dummy version of DEBUGGING_P.

21 years agoUpdate.
Ulrich Drepper [Thu, 20 Feb 2003 10:10:29 +0000 (10:10 +0000)]
Update.

2003-02-20  Ulrich Drepper  <drepper@redhat.com>

* pthread_create.c (deallocate_tsd): Clear the entire first block
of TSD.
* Makefile (tests): Add tst-key4.
* tst-key4.c: New file.

21 years agoUpdate.
Ulrich Drepper [Thu, 20 Feb 2003 05:30:35 +0000 (05:30 +0000)]
Update.

2003-02-20  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/unix/sysv/linux/sh/pread.c: New file.
* sysdeps/unix/sysv/linux/sh/pread64.c: New file.
* sysdeps/unix/sysv/linux/sh/pwrite.c: New file.
* sysdeps/unix/sysv/linux/sh/pwrite64.c: New file.

* stdlib/strtod.c (INTERNAL): Up the safety margin for cutting off

21 years agoUPdate.
Ulrich Drepper [Thu, 20 Feb 2003 00:00:32 +0000 (00:00 +0000)]
UPdate.

2003-02-19  Ulrich Drepper  <drepper@redhat.com>

* specific.c (pthread_key_delete_helper): Don't use GETMEM, we
need the target thread's lock.

21 years agoUpdate.
Ulrich Drepper [Wed, 19 Feb 2003 20:39:03 +0000 (20:39 +0000)]
Update.

2003-02-19  Jiro Sekiba  <jir@yamato.ibm.com>

* iconvdata/utf-16.c (gconv_end): Fix range of low surrogate.

21 years ago(BODY): Fix range of low surrogate.
Ulrich Drepper [Wed, 19 Feb 2003 20:36:21 +0000 (20:36 +0000)]
(BODY): Fix range of low surrogate.

21 years ago* signal/signal.h: Include <sys/ucontext.h>, not <ucontext.h>.
Roland McGrath [Wed, 19 Feb 2003 19:47:57 +0000 (19:47 +0000)]
* signal/signal.h: Include <sys/ucontext.h>, not <ucontext.h>.

21 years ago2003-02-16 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 19 Feb 2003 19:47:36 +0000 (19:47 +0000)]
2003-02-16  Roland McGrath  <roland@redhat.com>

* signal/signal.h: Include <sys/ucontext.h>, not <ucontext.h>.

21 years agoUpdate.
Ulrich Drepper [Wed, 19 Feb 2003 09:06:14 +0000 (09:06 +0000)]
Update.

* stdlib/tst-strtod.c (main): Add test for strtof bug.

21 years agoUpdate.
Ulrich Drepper [Wed, 19 Feb 2003 08:45:03 +0000 (08:45 +0000)]
Update.

2003-02-19  Ulrich Drepper  <drepper@redhat.com>

* stdlib/strtod.c (INTERNAL): Up the safety margin for cutting of
decimal input digits.

21 years agoUpdate.
Ulrich Drepper [Tue, 18 Feb 2003 21:04:15 +0000 (21:04 +0000)]
Update.

2003-02-18  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Recognize
invalid file descriptors and missing access permissions.

21 years agoUpdate.
Ulrich Drepper [Tue, 18 Feb 2003 11:12:34 +0000 (11:12 +0000)]
Update.

* pthread_create.c (deallocate_tsd): Mark as internal_function.
Add some more __builtin_expect.

21 years agoUpdate.
Ulrich Drepper [Tue, 18 Feb 2003 10:59:20 +0000 (10:59 +0000)]
Update.

2003-02-18  Ulrich Drepper  <drepper@redhat.com>

* pthreadP.h: Define dummy versio of DEBUGGING_P.

21 years agoUpdate.
Ulrich Drepper [Tue, 18 Feb 2003 08:16:47 +0000 (08:16 +0000)]
Update.

* nss/getXXbyYY_r.c (REENTRANT_NAME): Return 0 if no entry has

21 years agoUpdate.
Ulrich Drepper [Tue, 18 Feb 2003 06:33:08 +0000 (06:33 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Remnove
_POSIX_THREAD_PRIORITY_SCHEDULING.
* sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Remove
_XOPEN_REALTIME_THREADS.
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.

* sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): The
kernel returns EINVAL for PID <= 0, work around it.

21 years agoUpdate.
Ulrich Drepper [Tue, 18 Feb 2003 04:03:36 +0000 (04:03 +0000)]
Update.

* nss/getXXbyYY_r.c (REENTRANT_NAME): Return 0 is no entry has
been found.

21 years agoUpdate.
Ulrich Drepper [Tue, 18 Feb 2003 03:46:54 +0000 (03:46 +0000)]
Update.

2003-02-17  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/posix/sysconf.c (__sysconf): Test for LOGIN_NAME_MAX and
TTY_NAME_MAX and not the _POSIX_* minimal value macros.
* sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX
and LOGIN_NAME_MAX.

21 years agoUpdate.
Ulrich Drepper [Tue, 18 Feb 2003 02:26:32 +0000 (02:26 +0000)]
Update.

2003-02-17  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX
and LOGIN_NAME_MAX.

21 years agoUpdate.
Ulrich Drepper [Mon, 17 Feb 2003 23:49:52 +0000 (23:49 +0000)]
Update.

* Makefile (tests): Add tst-signal5.
* tst-signal5.c: New file.

21 years agoUpdate.
Ulrich Drepper [Mon, 17 Feb 2003 22:57:19 +0000 (22:57 +0000)]
Update.

* sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX
and LOGIN_NAME_MAX.

21 years agoUpdate.
Ulrich Drepper [Mon, 17 Feb 2003 20:46:52 +0000 (20:46 +0000)]
Update.

2003-02-17  Kevin B. Hendricks  <kevin.hendricks@sympatico.ca>
    Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* sysdeps/powerpc/elf/libc-start.c: Handle NONTLS_INIT_TP.
* sysdeps/powerpc/powerpc32/__longjmp.S: Remove R2 handling.
* sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.

21 years agoUpdate.
Ulrich Drepper [Mon, 17 Feb 2003 19:15:42 +0000 (19:15 +0000)]
Update.

2003-02-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Delete.
* sysdeps/unix/sysv/linux/powerpc/truncate64.c: Delete.
* sysdeps/unix/sysv/linux/powerpc/pread64.c: Delete.
* sysdeps/unix/sysv/linux/powerpc/pread.c: Delete.
* sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Delete.
* sysdeps/unix/sysv/linux/powerpc/pwrite.c: Delete.

* sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: Move file...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: ...here.
* sysdeps/unix/sysv/linux/powerpc/glob64.c: Move file...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: ...here.

* sysdeps/unix/sysv/linux/tcgetattr.c: Use INLINE_SYSCALL.
* sysdeps/unix/sysv/linux/tcsetattr.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: Delete.
* sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Delete.

21 years agoUpdate.
Ulrich Drepper [Mon, 17 Feb 2003 10:47:41 +0000 (10:47 +0000)]
Update.

* tst-cancel1.c (tf): Block all signals.

21 years agoUpdate.
Ulrich Drepper [Mon, 17 Feb 2003 10:22:52 +0000 (10:22 +0000)]
Update.

2003-02-17  Ulrich Drepper  <drepper@redhat.com>

* Makefile (tests): Add tst-basic6.
* tst-basic6.c: New file.

* tst-basic1.c: Add test for process ID.

* Makefile (tests): Add tst-cancel10.
* tst-cancel10.c: New file.

* Makefile (tests): Add tst-signal4.
* tst-signal4.c: New file.

* sysdeps/pthread/pthread_sigmask.c (pthread_sigmask): Use
__sigismember instead of sigismember.  Add __builtin_expect.

21 years agoUpdate.
Ulrich Drepper [Mon, 17 Feb 2003 06:44:07 +0000 (06:44 +0000)]
Update.

* tst-attr1.c (do_test): Add tests for pthread_setcanceltype,
pthread_setcancelstate, and pthread_rwlock_setpshared.

21 years agoUpdate.
Ulrich Drepper [Sun, 16 Feb 2003 22:11:14 +0000 (22:11 +0000)]
Update.

* tst-cancel7.c (do_test): Make sure the pid file exists before
canceling the thread.

* libc-cancellation.c (__libc_enable_asynccancel): Rewrite to avoid

21 years agoUpdate.
Ulrich Drepper [Sun, 16 Feb 2003 19:42:33 +0000 (19:42 +0000)]
Update.

2003-02-14  Thorsten Kukuk  <kukuk@suse.de>

* nss/getent.c (print_hosts): Print all IP addresses of one host.

21 years agoUpdate.
Ulrich Drepper [Sun, 16 Feb 2003 10:57:38 +0000 (10:57 +0000)]
Update.

* tst-rwlock6.c: More pthread_rwlock_timedwrlock and
pthread_rwlock_timedrdlock tests.
* tst-rwlock7.c: More pthread_rwlock_timedwrlock tests.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
Check for invalid tv_nsec field.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
Likewise.

* pthread_mutex_trylock.c (__pthread_mutex_trylock): Protect
recursive mutex of overflow.

* tst-attr1.c (do_test): Add test for pthread_mutexattr_setpshared.

21 years agoUpdate.
Ulrich Drepper [Sun, 16 Feb 2003 09:18:53 +0000 (09:18 +0000)]
Update.

2003-02-16  Ulrich Drepper  <drepper@redhat.com>

* libc-cancellation.c (__libc_enable_asynccancel): Rwrite to avoid
going into an endless loop.
* Makefile (tests): Add tst-cancel9.
* tst-cancel9.c: New file.

* pthread_cancel.c (pthread_cancel): Use the result of __pthread_kill.

21 years ago(pthread_cancel): Use the result of __pthread_kill.
Ulrich Drepper [Sun, 16 Feb 2003 08:52:22 +0000 (08:52 +0000)]
(pthread_cancel): Use the result of __pthread_kill.

21 years ago* mach/errsystems.awk: Include <errno.h> in generated output.
Roland McGrath [Sun, 16 Feb 2003 03:55:27 +0000 (03:55 +0000)]
* mach/errsystems.awk: Include <errno.h> in generated output.

21 years ago* sysdeps/mach/hurd/tls.h: New file.
Roland McGrath [Sun, 16 Feb 2003 03:02:08 +0000 (03:02 +0000)]
* sysdeps/mach/hurd/tls.h: New file.

* sysdeps/mach/hurd/i386/tls.h: New file.

21 years ago* sysdeps/mach/Makefile (mach-before-compile rule): Pass generating=t,
Roland McGrath [Sat, 15 Feb 2003 22:59:38 +0000 (22:59 +0000)]
* sysdeps/mach/Makefile (mach-before-compile rule): Pass generating=t,

use target mach-before-compile instead of generated.
(mach-before-compile): New target.
* Makerules: Disable use of tls.make if $(generating) is set.
* mach/Makefile: Include mach-syscalls.mk even if no_deps=t.
* sysdeps/mach/hurd/Makefile: Make generated hurd headers depend on
mach-shortcuts.h so mach/ generation happens before hurd/.