platform/upstream/glibc.git
24 years agoUpdate.
Ulrich Drepper [Fri, 7 Jul 2000 03:02:14 +0000 (03:02 +0000)]
Update.

* malloc/Makefile (test-srcs): Add tst-mtrace.
(distribute): Add tst-mtrace.sh.
Add rule to run tst-mtrace.sh.
* malloc/tst-mtrace.c: New file.
* malloc/tst-mtrace.sh: New file.

24 years agoTest program for mtrace.
Ulrich Drepper [Fri, 7 Jul 2000 03:00:06 +0000 (03:00 +0000)]
Test program for mtrace.

24 years ago* sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
Greg McGary [Fri, 7 Jul 2000 02:19:06 +0000 (02:19 +0000)]
* sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):

New macros.
* sysdeps/generic/strcpy.c: Add bounds checks.
* sysdeps/unix/fxstat.c: Likewise.
* sysdeps/unix/xstat.c: Likewise.
* sysdeps/unix/common/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
* sysdeps/unix/sysv/linux/execve.c: Likewise.
* sysdeps/unix/sysv/linux/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
* sysdeps/unix/sysv/linux/getcwd.c: Likewise.
* sysdeps/unix/sysv/linux/getdents.c: Likewise.
* sysdeps/unix/sysv/linux/llseek.c: Likewise.
* sysdeps/unix/sysv/linux/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/lxstat64.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/ptrace.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/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sigpending.c: Likewise.
* sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
* sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
* sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
* sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
* sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
* sysdeps/unix/sysv/linux/sysctl.c: Likewise.
* sysdeps/unix/sysv/linux/truncate64.c: Likewise.
* sysdeps/unix/sysv/linux/ustat.c: Likewise.
* sysdeps/unix/sysv/linux/writev.c: Likewise.
* sysdeps/unix/sysv/linux/xmknod.c: Likewise.
* sysdeps/unix/sysv/linux/xstat.c: Likewise.
* sysdeps/unix/sysv/linux/xstat64.c: Likewise.
* sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
* sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
* sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
* sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
* sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
* sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
* sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
New macros.
* sysdeps/generic/strcpy.c: Add bounds checks.
* sysdeps/unix/fxstat.c: Likewise.
* sysdeps/unix/xstat.c: Likewise.
* sysdeps/unix/common/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
* sysdeps/unix/sysv/linux/execve.c: Likewise.
* sysdeps/unix/sysv/linux/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
* sysdeps/unix/sysv/linux/getcwd.c: Likewise.
* sysdeps/unix/sysv/linux/getdents.c: Likewise.
* sysdeps/unix/sysv/linux/llseek.c: Likewise.
* sysdeps/unix/sysv/linux/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/lxstat64.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/ptrace.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/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sigpending.c: Likewise.
* sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
* sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
* sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
* sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
* sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
* sysdeps/unix/sysv/linux/sysctl.c: Likewise.
* sysdeps/unix/sysv/linux/truncate64.c: Likewise.
* sysdeps/unix/sysv/linux/ustat.c: Likewise.
* sysdeps/unix/sysv/linux/writev.c: Likewise.
* sysdeps/unix/sysv/linux/xmknod.c: Likewise.
* sysdeps/unix/sysv/linux/xstat.c: Likewise.
* sysdeps/unix/sysv/linux/xstat64.c: Likewise.
* sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
* sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
* sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
* sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
* sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
* sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Fri, 7 Jul 2000 00:52:01 +0000 (00:52 +0000)]
Update.

2000-07-06  Ulrich Drepper  <drepper@redhat.com>

* include/signal.h: Declare __libc_sigaction.
* sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
* sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
* sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.

* configure.in: Fix CLAGS-memprofstat.c definition after
2000-06-19 change.
Patch by Bradford W. Johnson <bradford@math.umn.edu>.

2000-07-06  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
instead of NULL to elf_machine_fixup_plt t argument.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
cast.

2000-07-06  Andreas Jaeger  <aj@suse.de>

* crypt/Makefile (LDLIBS-cert): Removed.
(LDLIBS-md5c-test): Removed.
($(objpfx)cert): Renamed from cert.out to fix dependencies.
($(objpfx)md5c-test): Likewise for md5c-test.out.

24 years agoDeclare __libc_sigaction.
Ulrich Drepper [Fri, 7 Jul 2000 00:44:21 +0000 (00:44 +0000)]
Declare __libc_sigaction.

24 years ago* string/endian.h (__LONG_LONG_PAIR): New macro.
Greg McGary [Thu, 6 Jul 2000 23:42:33 +0000 (23:42 +0000)]
* string/endian.h (__LONG_LONG_PAIR): New macro.

* sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
* 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/truncate64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
* string/endian.h (__LONG_LONG_PAIR): New macro.
* sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
* 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/truncate64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.

24 years agoRegenerated: autoconf configure.in
Ulrich Drepper [Thu, 6 Jul 2000 23:33:20 +0000 (23:33 +0000)]
Regenerated: autoconf  configure.in

24 years agoUpdate.
Ulrich Drepper [Thu, 6 Jul 2000 22:01:12 +0000 (22:01 +0000)]
Update.

2000-07-06  Ulrich Drepper  <drepper@redhat.com>

* condvar.c: Implement pthread_condattr_getpshared and
pthread_condattr_setpshared.
* mutex.c: Implement pthread_mutexattr_getpshared and
 pthread_mutexattr_setpshared.
* Versions: Export new functions.
* sysdeps/pthread/pthread.h: Add prototypes for new functions.

* rwlock.c (pthread_rwlockattr_init): Use PTHREAD_PROCESS_PRIVATE.
(pthread_rwlockattr_setpshared): Fail if PTHREAD_PROCESS_PRIVATE
is not selected.

24 years agoImplement pthread_condattr_getpshared and pthread_condattr_setpshared.
Ulrich Drepper [Thu, 6 Jul 2000 21:57:50 +0000 (21:57 +0000)]
Implement pthread_condattr_getpshared and pthread_condattr_setpshared.

24 years ago(__libc_start_main): Initialize thread library for static programs
Andreas Jaeger [Thu, 6 Jul 2000 21:16:06 +0000 (21:16 +0000)]
(__libc_start_main): Initialize thread library for static programs

24 years agoUpdate.
Andreas Jaeger [Thu, 6 Jul 2000 21:15:13 +0000 (21:15 +0000)]
Update.

* sysdeps/generic/libc-start.c (__libc_start_main): Initialize
thread library for static program.s

24 years agoUpdate.
Andreas Jaeger [Thu, 6 Jul 2000 21:05:00 +0000 (21:05 +0000)]
Update.

2000-07-06  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
of the proc system is "proc".

24 years ago(get_proc_path): The type of the proc system is "proc".
Andreas Jaeger [Thu, 6 Jul 2000 21:04:09 +0000 (21:04 +0000)]
(get_proc_path): The type of the proc system is "proc".

24 years ago* sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
Greg McGary [Thu, 6 Jul 2000 16:58:19 +0000 (16:58 +0000)]
* sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.

2000-07-06  Greg McGary  <greg@mcgary.org>

* sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.

24 years agoUpdate.
Andreas Jaeger [Thu, 6 Jul 2000 09:26:45 +0000 (09:26 +0000)]
Update.

* sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
Initialize result.

24 years agoUpdate.
Andreas Jaeger [Thu, 6 Jul 2000 07:50:44 +0000 (07:50 +0000)]
Update.

2000-07-06  Andreas Jaeger  <aj@suse.de>

* math/test-fpucw.c: Include <stdio.h> for printf.

24 years agoInclude <stdio.h> for printf.
Andreas Jaeger [Thu, 6 Jul 2000 07:50:24 +0000 (07:50 +0000)]
Include <stdio.h> for printf.

24 years ago* sysdeps/generic/bp-checks.h: New file.
Greg McGary [Thu, 6 Jul 2000 00:48:39 +0000 (00:48 +0000)]
* sysdeps/generic/bp-checks.h: New file.

* sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
with list of #include files.
* sysdeps/unix/make-syscalls.sh: Handle new arg signature
keyletters a, b, B, f, n, N, P, v, V.  Fixup some indentation.
Don't generate BP thunk if `V' appears in signature.
Generate thunks with complete bounds checks.
* sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
* sysdeps/unix/inet/syscalls.list: Likewise.
* sysdeps/unix/mman/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
2000-07-05  Greg McGary  <greg@mcgary.org>

* sysdeps/generic/bp-checks.h: New file.
* sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
with list of #include files.
* sysdeps/unix/make-syscalls.sh: Handle new arg signature
keyletters a, b, B, f, n, N, P, v, V.  Fixup some indentation.
Don't generate BP thunk if `V' appears in signature.
Generate thunks with complete bounds checks.
* sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
* sysdeps/unix/inet/syscalls.list: Likewise.
* sysdeps/unix/mman/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.

24 years agoUpdate.
Ulrich Drepper [Thu, 6 Jul 2000 00:44:01 +0000 (00:44 +0000)]
Update.

* sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
result.  Search first in /etc/mtab (proc/mounts would be stupid).
If mount not in the file fall back on /proc.

24 years agoUpdate.
Ulrich Drepper [Wed, 5 Jul 2000 22:34:10 +0000 (22:34 +0000)]
Update.

* crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
string got copied in.
Patch by Solar Designer <solar@false.com>.

2000-07-05  Andreas Jaeger  <aj@suse.de>

* manual/install.texi (Installation): Update information about
add-ons.
(Configuring and compiling): Update for glibc 2.2.

2000-07-04  Andreas Jaeger  <aj@suse.de>

* sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
(_FPU_IEEE): Likewise.

* math/Makefile (tests): Add test-fpucw.

* math/test-fpucw.c (main): New file.

2000-07-05  Ulrich Drepper  <drepper@redhat.com>

24 years agoUpdate.
Ulrich Drepper [Wed, 5 Jul 2000 22:02:03 +0000 (22:02 +0000)]
Update.

2000-07-05  Ulrich Drepper  <drepper@redhat.com>

* locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.

* locale/programs/ld-collate.c (collate_output): Also write out the
collation sequence values and the wide character string for the
collation symbol table.

* posix/fnmatch.c: Include "../locale/elem-hash.h".
* posix/fnmatch_loop.c: Implement collating symbol handling.
* posix/tst-fnmatch.input: Add more tests, especially for collating
symbol handling.

* posix/regex.c: Fix comment.

24 years ago(_nl_unload_locale): Add cast to avoid warning.
Ulrich Drepper [Wed, 5 Jul 2000 21:56:49 +0000 (21:56 +0000)]
(_nl_unload_locale): Add cast to avoid warning.

24 years agoUpdate.
Andreas Jaeger [Wed, 5 Jul 2000 15:38:00 +0000 (15:38 +0000)]
Update.

* sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
(_FPU_GETCW): Remove extra colon.
Patch by Ralf Baechle <ralf@uni-koblenz.de>.

24 years agoUpdate.
Andreas Jaeger [Wed, 5 Jul 2000 13:33:02 +0000 (13:33 +0000)]
Update.

* sysdeps/generic/strlen.c: Likewise.
* sysdeps/generic/strchr.c: Likewise.
* sysdeps/generic/memchr.c: Likewise.

24 years agoUpdate.
Andreas Jaeger [Wed, 5 Jul 2000 13:24:19 +0000 (13:24 +0000)]
Update.

2000-07-05  Andreas Jaeger  <aj@suse.de>

* posix/fnmatch_loop.c (FCT): Only declare len if
!WIDE_CHAR_VERSION to silence GCC.

* sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
prototype.
* sysdeps/generic/strchrnul.c: Likewise.

24 years ago(FCT): Only declare len if
Andreas Jaeger [Wed, 5 Jul 2000 13:22:48 +0000 (13:22 +0000)]
(FCT): Only declare len if

!WIDE_CHAR_VERSION to silence GCC.

24 years ago* sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
Greg McGary [Wed, 5 Jul 2000 02:14:59 +0000 (02:14 +0000)]
* sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.

* sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.

24 years agoUpdate.
Ulrich Drepper [Tue, 4 Jul 2000 23:27:39 +0000 (23:27 +0000)]
Update.

* posix/fnmatch_loop.c: Implement equivalence class handling.
* posix/tst-fnmatch.input: Add tests for equivalence class
handling.

24 years agoUpdate.
Ulrich Drepper [Tue, 4 Jul 2000 21:32:15 +0000 (21:32 +0000)]
Update.

* posix/fnmatch_loop.c: Improve performance for single-byte
character sets by not using btowc.

24 years agoUpdate.
Ulrich Drepper [Tue, 4 Jul 2000 20:58:45 +0000 (20:58 +0000)]
Update.

* posix/tst-fnmatch.input: Add tests for locale dependent
behaviour.
* posix/tst-fnmatch.c (main): Also set LC_CTYPE category.

24 years ago(main): Also set LC_CTYPE category.
Ulrich Drepper [Tue, 4 Jul 2000 20:56:12 +0000 (20:56 +0000)]
(main): Also set LC_CTYPE category.

24 years agoRegenerated: autoconf configure.in
Greg McGary [Tue, 4 Jul 2000 20:12:34 +0000 (20:12 +0000)]
Regenerated: autoconf  configure.in

24 years agoUpdate.
Ulrich Drepper [Tue, 4 Jul 2000 20:00:19 +0000 (20:00 +0000)]
Update.

* posix/tst-fnmatch.input: Add more test cases.

24 years agoUpdate.
Ulrich Drepper [Tue, 4 Jul 2000 19:18:17 +0000 (19:18 +0000)]
Update.

2000-06-29  David Mosberger-Tang  <davidm@hpl.hp.com>

* sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.

2000-06-29  Jes Sorensen  <jes@linuxcare.com>

* sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
alias to the fstatfs call.

* sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
* sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.

* sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
* sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.

* sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
* sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
* sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
* sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.

* sysdeps/unix/sysv/linux/ia64/glob.c: New file.
* sysdeps/unix/sysv/linux/ia64/glob64.c: New file.

* sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
* sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.

* sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
* sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.

* sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.

24 years ago* sysdeps/pthread/bits/libc-lock.h: Remove BP_SYM from
Greg McGary [Tue, 4 Jul 2000 18:44:25 +0000 (18:44 +0000)]
* sysdeps/pthread/bits/libc-lock.h: Remove BP_SYM from

pragmas.  Include bp-sym.h only if _LIBC.
2000-07-04  Greg McGary  <greg@mcgary.org>

* sysdeps/pthread/bits/libc-lock.h: Remove BP_SYM from
pragmas.  Include bp-sym.h only if _LIBC.

24 years agoUpdate.
Ulrich Drepper [Tue, 4 Jul 2000 18:24:11 +0000 (18:24 +0000)]
Update.

2000-07-04  Ulrich Drepper  <drepper@redhat.com>

* crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
are not aligned to alignof(md5_uint32) do it before calling
__md5_process_bytes.
* crypt/md5.c: Make sure buffers are aligned.
* crypt/md5.h: Likewise.
Reported by Solar Designer <solar@false.com>.

* crypt/Makefile: Add dependencies for test programs.

* Rules: Define LC_ALL=C in environments of all programs we run.

* intl/tst-gettext.sh (LC_ALL): Define to C and export.

2000-07-03  H.J. Lu  <hjl@gnu.org>

* locale/programs/ld-ctype.c (ctype_output): The size of iov
is 2 + elem + offset, not 2 + elem + offset + 2.

2000-07-04  Ulrich Drepper  <drepper@redhat.com>

* posix/fnmatch_loop.c: Fix two problems uncovered by the new test
suite.
* posix/Makefile (tests): Add tst-fnmatch.
(tst-fnmatch-ENV): Define.
* posix/tst-fnmatch.c: New file.
* posix/tst-fnmatch.sh: New file.

24 years agoUpdate.
Ulrich Drepper [Tue, 4 Jul 2000 08:22:44 +0000 (08:22 +0000)]
Update.

2000-07-04  Ulrich Drepper  <drepper@redhat.com>

* spinlock.c (__pthread_unlock): Properly place write barrier.
Patch by Kaz Kylheku <kaz@ashi.footprints.net>.

24 years ago(tests): Add tst-fnmatch. (tst-fnmatch-ENV): Define.
Ulrich Drepper [Tue, 4 Jul 2000 08:14:33 +0000 (08:14 +0000)]
(tests): Add tst-fnmatch. (tst-fnmatch-ENV): Define.

24 years ago* csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
Greg McGary [Tue, 4 Jul 2000 01:30:09 +0000 (01:30 +0000)]
* csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.

($(objpfx)b$(start-installed-name)): Add non-elf rule.
* csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
($(objpfx)b$(start-installed-name)): Add non-elf rule.

24 years ago* libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
Greg McGary [Tue, 4 Jul 2000 00:49:25 +0000 (00:49 +0000)]
* libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.

* libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
(FILEBUF_LITERAL): Add cast for CHAIN init.
* libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
(_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
Revert type of `fp' to _IO_FILE*.
(_IO_iter_file): Remove cast.
(_IO_iter_next): Elide intermediate member reference.
* libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
* libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
(FILEBUF_LITERAL): Add cast for CHAIN init.
* libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
(_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
Revert type of `fp' to _IO_FILE*.
(_IO_iter_file): Remove cast.
(_IO_iter_next): Elide intermediate member reference.

24 years agoUpdate.
Ulrich Drepper [Tue, 4 Jul 2000 00:27:38 +0000 (00:27 +0000)]
Update.

2000-07-04  NIIBE Yutaka  <gniibe@chroot.org>

* locale/programs/charmap.c (charmap_read): Prepend
the condition filename == NULL.

24 years ago* sysdeps/powerpc/strchr.S: Check bounds.
Greg McGary [Tue, 4 Jul 2000 00:24:42 +0000 (00:24 +0000)]
* sysdeps/powerpc/strchr.S:  Check bounds.

Wrap extern symbols in BP_SYM ().
2000-07-03  Greg McGary  <greg@mcgary.org>

* sysdeps/powerpc/strchr.S:  Check bounds.
Wrap extern symbols in BP_SYM ().

24 years ago(charmap_read): Prepend the condition filename == NULL.
Ulrich Drepper [Tue, 4 Jul 2000 00:22:32 +0000 (00:22 +0000)]
(charmap_read): Prepend the condition filename == NULL.

24 years agoUpdate.
Ulrich Drepper [Mon, 3 Jul 2000 23:41:50 +0000 (23:41 +0000)]
Update.

2000-07-03  Andreas Jaeger  <aj@suse.de>

* dlfcn/Makefile (generated): New.

24 years agoUpdate.
Ulrich Drepper [Mon, 3 Jul 2000 21:40:46 +0000 (21:40 +0000)]
Update.

2000-07-03  Ulrich Drepper  <drepper@redhat.com>

* libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
(__uflow): Likewise.
(__underflow): Likewise.
* libio/wgenops.c (__wunderflow): Likewise.
* stdio-common/tst-unbputc.c: New file.
* stdio-common/tst-unbputc.sh: New file.
* stdio-common/Makefile: Add rules to build and run tst-unbputc.

* po/en_GB.po: New file.
Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.

24 years agoUpdate.
Ulrich Drepper [Mon, 3 Jul 2000 20:35:05 +0000 (20:35 +0000)]
Update.

2000-07-03  Ulrich Drepper  <drepper@redhat.com>

* tst-fmon.sh: Set LOCPATH and LANGUAGE for localedef run.
* tst-locale.sh: Likewise.

24 years agoUpdate.
Ulrich Drepper [Sat, 1 Jul 2000 15:41:36 +0000 (15:41 +0000)]
Update.

2000-07-01  Andreas Jaeger  <aj@suse.de>

* intl/Makefile (generated-dirs): New.

* elf/Makefile (generated): trusted-dirs.h is always generated,
move out of build-shared condition.
(generated): Merge the two entries for build-shared.

2000-07-01  Ulrich Drepper  <drepper@redhat.com>

* debug/Makefile (distribute): Add xtrace.sh.

24 years agoUpdate. cvs/glibc_2-1-91 glibc-2.1.91
Ulrich Drepper [Sat, 1 Jul 2000 06:34:10 +0000 (06:34 +0000)]
Update.

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

* configure.in: Update warning comment.  glibc should not be
broken anymore.

* sysdeps/unix/sysv/linux/ia64/Dist: Remove old content.  Add
ioperm.c, sys/procfs.h, and sys/io.h.

* sysdeps/powerpc/Dist: Add bp-asm.h.

* sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in

24 years agoUpdate.
Ulrich Drepper [Sat, 1 Jul 2000 05:26:07 +0000 (05:26 +0000)]
Update.

24 years agoUpdate.
Ulrich Drepper [Sat, 1 Jul 2000 05:19:18 +0000 (05:19 +0000)]
Update.

* assert/Depend: Add localedata.
* assert/Makefile (test-assert-ENV): New.  Define LANGUAGE=C.
(test-assert-perr-ENV): New.  Define LANGUAGE=C.

* sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
R_ALPHA_REFQUAD]: Use memcpy to load and store value from
relocation address to prevent unaligned trap.
Suggested by Richard Henderson <rth@cygnus.com>.

2000-06-30  Jakub Jelinek  <jakub@redhat.com>

* io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
if redirecting and either redirection is done using defines or
not optimizing.

2000-06-30  Ulrich Drepper  <drepper@redhat.com>

24 years agoUpdate.
Ulrich Drepper [Sat, 1 Jul 2000 04:35:11 +0000 (04:35 +0000)]
Update.

* sunrpc/rpc_cout.c (inline_struct): Add missing braces in
generated expressions.
Patch by Darren McClelland <dmcclell@zetec.com>.

24 years agoUpdate.
Ulrich Drepper [Sat, 1 Jul 2000 02:46:04 +0000 (02:46 +0000)]
Update.

* timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
since zic uses setlocale and gettext but we cannot make it use the
new locale data since zic calls a shell which might not use the
new libc.

24 years agoUpdate.
Ulrich Drepper [Sat, 1 Jul 2000 00:39:39 +0000 (00:39 +0000)]
Update.

* stdlib/strfmon.c: Move somewhat closer to the standard wrt to
handling the internation currency symbol.  POSIX says that the
fourth character is used to separate the currency symbol from the
value.  Therefore it does not have to be printed.  But we cannot
remove the space if the currency symbol is printed before the
number since this is what many locales expect.
* localedata/tests-mbwc/dat_strfmon.c: Remove #ifdefs introduced to
work around DEM problem.
* localedata/tst-fmon.data: Change back entries with DEM.

24 years agoUpdate.
Ulrich Drepper [Sat, 1 Jul 2000 00:04:28 +0000 (00:04 +0000)]
Update.

* iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
whether this information is available.

* intl/dcigettext.c (_nl_find_msg): Correct reallocation of
buffers in case the translation is too large.  Remember allocated
memory blocks in a list.
(free_mem): Free memory for translations.

* intl/tst-gettext.c: Use correct locale.  Improve error messages.

* locale/programs/ld-ctype.c (ctype_output): If no default_missing
information is available set the string length to zero.

24 years agoTest with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN whether this information is available.
Ulrich Drepper [Sat, 1 Jul 2000 00:00:13 +0000 (00:00 +0000)]
Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN whether this information is available.

24 years ago* sysdeps/powerpc/bp-asm.h: New file.
Greg McGary [Fri, 30 Jun 2000 21:35:52 +0000 (21:35 +0000)]
* sysdeps/powerpc/bp-asm.h: New file.

* sysdeps/powerpc/__longjmp.S:  Check bounds.
Wrap extern symbols in BP_SYM ().
* sysdeps/powerpc/bsd-_setjmp.S: Likewise.
* sysdeps/powerpc/bsd-setjmp.S: Likewise.
* sysdeps/powerpc/setjmp.S: Likewise.
* sysdeps/powerpc/add_n.S: Likewise.
* sysdeps/powerpc/addmul_1.S: Likewise.
* sysdeps/powerpc/lshift.S: Likewise.
* sysdeps/powerpc/rshift.S: Likewise.
* sysdeps/powerpc/mul_1.S: Likewise.
* sysdeps/powerpc/sub_n.S: Likewise.
* sysdeps/powerpc/submul_1.S: Likewise.
* sysdeps/powerpc/strlen.S: Likewise.
* sysdeps/powerpc/memset.S: Likewise.
* sysdeps/powerpc/stpcpy.S: Likewise.
* sysdeps/powerpc/strcmp.S: Likewise.
* sysdeps/powerpc/strcpy.S: Likewise.
* sysdeps/powerpc/elf/bzero.S: Likewise.
* sysdeps/powerpc/bp-asm.h: New file.
* sysdeps/powerpc/__longjmp.S:  Check bounds.
Wrap extern symbols in BP_SYM ().
* sysdeps/powerpc/bsd-_setjmp.S: Likewise.
* sysdeps/powerpc/bsd-setjmp.S: Likewise.
* sysdeps/powerpc/setjmp.S: Likewise.
* sysdeps/powerpc/add_n.S: Likewise.
* sysdeps/powerpc/addmul_1.S: Likewise.
* sysdeps/powerpc/lshift.S: Likewise.
* sysdeps/powerpc/rshift.S: Likewise.
* sysdeps/powerpc/mul_1.S: Likewise.
* sysdeps/powerpc/sub_n.S: Likewise.
* sysdeps/powerpc/submul_1.S: Likewise.
* sysdeps/powerpc/strlen.S: Likewise.
* sysdeps/powerpc/memset.S: Likewise.
* sysdeps/powerpc/stpcpy.S: Likewise.
* sysdeps/powerpc/strcmp.S: Likewise.
* sysdeps/powerpc/strcpy.S: Likewise.
* sysdeps/powerpc/elf/bzero.S: Likewise.

24 years agoUpdate.
Ulrich Drepper [Fri, 30 Jun 2000 19:46:39 +0000 (19:46 +0000)]
Update.

2000-06-30  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.

24 years agoReplace with version which does not use floating point registers.
Ulrich Drepper [Fri, 30 Jun 2000 18:32:47 +0000 (18:32 +0000)]
Replace with version which does not use floating point registers.

24 years ago* sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
Greg McGary [Fri, 30 Jun 2000 18:26:00 +0000 (18:26 +0000)]
* sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.

Line up operands column with tabs.
2000-06-30  Greg McGary  <greg@mcgary.org>

* sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
Line up operands column with tabs.

24 years agoUpdate.
Ulrich Drepper [Fri, 30 Jun 2000 18:11:39 +0000 (18:11 +0000)]
Update.

* elf/Makefile (LDFLAGS-origtest): Actually add it.

24 years agoUpdate.
Ulrich Drepper [Fri, 30 Jun 2000 17:47:38 +0000 (17:47 +0000)]
Update.

2000-06-30  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/ia64/htonl.S: New file.
* sysdeps/ia64/htons.S: New file.
* sysdeps/ia64/memcpy.S: Replace with version which does not use
floating point registers.
Patches by Dan Pop <Dan.Pop@cern.ch>.

24 years ago(install-locales): Remove the -u switch from localedef command line.
Ulrich Drepper [Fri, 30 Jun 2000 17:23:04 +0000 (17:23 +0000)]
(install-locales): Remove the -u switch from localedef command line.

24 years agoUpdate.
Andreas Jaeger [Fri, 30 Jun 2000 13:57:22 +0000 (13:57 +0000)]
Update.

* posix/Makefile (tests): tst-exec and tst-spawn only work with
shared libraries.

24 years agoUpdate.
Andreas Jaeger [Fri, 30 Jun 2000 09:55:49 +0000 (09:55 +0000)]
Update.

2000-06-30  Andreas Jaeger  <aj@suse.de>

* io/Makefile (CFLAGS-test-lfs.c): New.
(tests): Add test-lfs.

* io/test-lfs.c: New file.

24 years agoSimple tests for LFS.
Andreas Jaeger [Fri, 30 Jun 2000 09:55:04 +0000 (09:55 +0000)]
Simple tests for LFS.

24 years agoUpdate.
Ulrich Drepper [Fri, 30 Jun 2000 08:54:33 +0000 (08:54 +0000)]
Update.

2000-06-30  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
instruction.

24 years ago(strcmp): Use 8bit register in 8bit instruction.
Ulrich Drepper [Fri, 30 Jun 2000 08:51:50 +0000 (08:51 +0000)]
(strcmp): Use 8bit register in 8bit instruction.

24 years agoUpdate.
Andreas Jaeger [Fri, 30 Jun 2000 06:39:47 +0000 (06:39 +0000)]
Update.

2000-06-29  Andreas Jaeger  <aj@suse.de>

* sunrpc/rpc_svcout.c (write_msg_out): Always use format string
with syslog.
(print_err_message): Likewise.
Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.

24 years ago* sunrpc/rpc_svcout.c (write_msg_out): Always use format string
Andreas Jaeger [Fri, 30 Jun 2000 06:38:07 +0000 (06:38 +0000)]
* sunrpc/rpc_svcout.c (write_msg_out): Always use format string

with syslog.
(print_err_message): Likewise.
Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.

24 years agoUpdate.
Ulrich Drepper [Fri, 30 Jun 2000 05:57:47 +0000 (05:57 +0000)]
Update.

* locale/loadlocale.c (_nl_load_locale): Make sure all locale data
used as words is properly aligned.

24 years agoUpdate.
Ulrich Drepper [Fri, 30 Jun 2000 04:07:37 +0000 (04:07 +0000)]
Update.

* tst-fmon.sh: Don't generate de_DE and en_US locale data.
* tst-rpmatch.sh: Use de_DE.ISO-8859-1 not de_DE.
* tst-ctype.sh: Use de_DE.ISO-8859-1 and en_US.ANSI_X3.4-1968.

* locales/POSIX: Update for new format.

24 years agoDon't generate de_DE and en_US locale data.
Ulrich Drepper [Fri, 30 Jun 2000 04:04:41 +0000 (04:04 +0000)]
Don't generate de_DE and en_US locale data.

24 years ago* sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
Greg McGary [Fri, 30 Jun 2000 01:11:14 +0000 (01:11 +0000)]
* sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.

* sysdeps/unix/make-syscalls.sh: Handle signatures of
length 7..9, just in case...
* misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
* sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
* sysdeps/unix/make-syscalls.sh: Handle signatures of
length 7..9, just in case...
* misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.

24 years agoUpdate.
Ulrich Drepper [Fri, 30 Jun 2000 00:11:52 +0000 (00:11 +0000)]
Update.

2000-06-29  Ulrich Drepper  <drepper@redhat.com>

* locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
data files.

24 years agoUpdate.
Ulrich Drepper [Thu, 29 Jun 2000 23:35:35 +0000 (23:35 +0000)]
Update.

2000-06-29  Ulrich Drepper  <drepper@redhat.com>

* tst-fmon.data: Until we know what is correct, but the spaces
after DEM back in.

* tests-mbwc/dat_mbstowcs.c: Fix various bugs.  Comment out
unresolved issues.
* tests-mbwc/dat_mbtowc.c: Likewise.
* tests-mbwc/dat_strcoll.c: Likewise.
* tests-mbwc/dat_strfmon.c: Likewise.
* tests-mbwc/dat_strxfrm.c: Likewise.
* tests-mbwc/tst_mbtowc.c: Likewise.

($(addsuffix .out,$(addprefix $(objpfx),$(locale_test_suite)))):

24 years agoUntil we know what is correct, but the spaces after DEM back in.
Ulrich Drepper [Thu, 29 Jun 2000 23:33:34 +0000 (23:33 +0000)]
Until we know what is correct, but the spaces after DEM back in.

24 years ago* sysdeps/i386/bp-asm.h (PCOFF): New constant.
Greg McGary [Thu, 29 Jun 2000 22:55:31 +0000 (22:55 +0000)]
* sysdeps/i386/bp-asm.h (PCOFF): New constant.

(POP_ERRNO_LOCATION_RETURN): Fold insns.
* sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
(PUSH_SIGNAL_MASK): New macro.
* sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
LEAVE is unnecessary.  Check bounds of jmp_buf.
* sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK.  Wrap symbols
in BP_SYM ().  Check bounds of jmp_buf.  Don't call LEAVE until
immediately before tail-call.
* sysdeps/i386/setjmp.S: Likewise.
* sysdeps/i386/bsd-_setjmp.S: Likewise.
* sysdeps/i386/bsd-setjmp.S: Likewise.
2000-06-29  Greg McGary  <greg@mcgary.org>

* sysdeps/i386/bp-asm.h (PCOFF): New constant.
(POP_ERRNO_LOCATION_RETURN): Fold insns.
* sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
(PUSH_SIGNAL_MASK): New macro.
* sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
LEAVE is unnecessary.  Check bounds of jmp_buf.
* sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK.  Wrap symbols
in BP_SYM ().  Check bounds of jmp_buf.  Don't call LEAVE until
immediately before tail-call.
* sysdeps/i386/setjmp.S: Likewise.
* sysdeps/i386/bsd-_setjmp.S: Likewise.
* sysdeps/i386/bsd-setjmp.S: Likewise.

24 years agoUpdate.
Ulrich Drepper [Thu, 29 Jun 2000 20:58:24 +0000 (20:58 +0000)]
Update.

2000-06-29  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
versioned_symbol.
* sysdeps/sparc/fpu/fesetenv.c: Likewise.
* sysdeps/sparc/fpu/feupdateenv.c: Likewise.
* sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
* sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
* sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
* sysdeps/sparc/fpu/fegetenv.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
* shlib-versions: Make sparc64 GLIBC_2.2+ only.

24 years agoMake sparc64 GLIBC_2.2+ only.
Ulrich Drepper [Thu, 29 Jun 2000 20:58:06 +0000 (20:58 +0000)]
Make sparc64 GLIBC_2.2+ only.

2000-06-29  Jakub Jelinek  <jakub@redhat.com>

* shlib-versions: Make sparc64 GLIBC_2.2+ only.

24 years agoUpdate.
Ulrich Drepper [Thu, 29 Jun 2000 19:35:32 +0000 (19:35 +0000)]
Update.

* stdio-common/tst-printf.c: Add test for above problem.

24 years agoUpdate.
Ulrich Drepper [Thu, 29 Jun 2000 19:33:05 +0000 (19:33 +0000)]
Update.

2000-06-29  Ulrich Drepper  <drepper@redhat.com>

* stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
we later need to calling free().
Patch by Matt Wilson <msw@redhat.com>.

2000-06-27  David Mosberger-Tang  <davidm@hpl.hp.com>

* sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
* sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.

2000-06-28  Jes Sorensen  <jes@linuxcare.com>

* sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
prototype for abs().
* sysdeps/ieee754/flt-32/s_exp2f.c: ditto.

24 years agoConvert to new format.
Ulrich Drepper [Thu, 29 Jun 2000 19:07:29 +0000 (19:07 +0000)]
Convert to new format.

24 years agoDon't use regparm with bounded pointers.
Andreas Jaeger [Thu, 29 Jun 2000 17:13:34 +0000 (17:13 +0000)]
Don't use regparm with bounded pointers.

2000-06-23  Andreas Jaeger  <aj@suse.de>

* config.h.in: Don't use regparm with bounded pointers.

24 years agoUpdate.
Andreas Jaeger [Thu, 29 Jun 2000 10:36:12 +0000 (10:36 +0000)]
Update.

(tst_mbrtowc-ENV): New.
(tst_mbsrtowcs-ENV): New.
(tst_mbstowcs-ENV): New.
(tst_strfmon-ENV): New.
(tst_wcrtomb-ENV): New.
(tst_wcsrtombs-ENV): New.
(tst_wcstod-ENV): New.
(tst_wcstok-ENV): New.
(tst_wcstombs-ENV): New.
* tests-mbwc/dat_wcstok.c: Likewise.
* tests-mbwc/tst_wcstok.c: Likewise.
* tests-mbwc/dat_wcstod.c: Likewise.
* tests-mbwc/tst_wcstod.c: Likewise.
* tests-mbwc/dat_mbrtowc.c: Likewise.
* tests-mbwc/tst_mbrtowc.c: Likewise.
* tests-mbwc/dat_wcsrtombs.c: Likewise.
* tests-mbwc/tst_wcsrtombs.c: Likewise.
* tests-mbwc/dat_wcstombs.c: Likewise.
* tests-mbwc/tst_wcstombs.c: Likewise.
* tests-mbwc/dat_mbsrtowcs.c: Likewise.
* tests-mbwc/tst_mbsrtowcs.c: Likewise.
* tests-mbwc/dat_wcrtomb.c: Likewise.
* tests-mbwc/tst_wcrtomb.c: Likewise.
* tests-mbwc/dat_mbstowcs.c: Likewise.
* tests-mbwc/tst_mbstowcs.c: Likewise.
* tests-mbwc/dat_strfmon.c: Likewise.
* tests-mbwc/tst_strfmon.c: Likewise.

24 years agoTest files for strfmon.
Andreas Jaeger [Thu, 29 Jun 2000 08:46:04 +0000 (08:46 +0000)]
Test files for strfmon.

24 years agoUpdate.
Ulrich Drepper [Thu, 29 Jun 2000 08:44:37 +0000 (08:44 +0000)]
Update.

2000-06-29  Ulrich Drepper  <drepper@redhat.com>

* stdlib/grouping.h: Correctly handle multibyte thousands
separator and decimal point.
* stdlib/stdtod.c: Likewise.
* sysdeps/generic/strtol.c: Likewise.

* locale/categories.def: Add entries for wide character decimal point
and thousands separator in numeric and monetary category.

2000-06-28  Ulrich Drepper  <drepper@redhat.com>

* stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
second definition and initialization of decimal.

* libio/libio.h (struct _IO_cookie_file): Move struct type defintion
out.
* libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
in.
(_IO_JUMPS): Don't cast THIS--expect arg to be a
(struct _IO_FILE_plus *).
(_IO_iter_next, _IO_iter_file): _IO_ITER is now
(struct _IO_FILE_plus *).
(_IO_check_libio): Set user-visible handles to
(struct _IO_FILE_plus *).

24 years agoAdd entries for wide character decimal point and thousands separator in numeric and...
Ulrich Drepper [Thu, 29 Jun 2000 08:42:00 +0000 (08:42 +0000)]
Add entries for wide character decimal point and thousands separator in numeric and monetary category.

24 years ago2000-06-28 Greg McGary <greg@mcgary.org>
Greg McGary [Thu, 29 Jun 2000 07:16:42 +0000 (07:16 +0000)]
2000-06-28  Greg McGary  <greg@mcgary.org>

* libio/libio.h (struct _IO_cookie_file): Move struct type defintion out.
(_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
* libio/libioP.h (struct _IO_cookie_file): Move struct type defintion in.
(_IO_JUMPS): Don't cast THIS--expect arg to be a (struct _IO_FILE_plus *).
(_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
THIS, since _IO_JUMPS no longer does it implicitly.
(_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
arg type as (struct _IO_FILE_plus *).
(_IO_str_init_static, _IO_str_init_readonly): Declare 1st
arg as (_IO_strfile *).
* libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
Declare 1st arg as (_IO_strfile *).
* libio/fileops.c (_IO_new_file_init): Declare
arg type as (struct _IO_FILE_plus *).
* libio/oldfileops.c (_IO_old_file_init): Likewise.
* libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
(_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
Declare iteration pointer as (struct _IO_FILE_plus *).
(_IO_iter_next, _IO_iter_file): _IO_ITER is now (struct _IO_FILE_plus *).
* libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
* libio/oldstdfiles.c (_IO_list_all): Likewise.
(_IO_check_libio): Set user-visible handles to (struct _IO_FILE_plus *).
* libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
to (struct _IO_FILE_plus *).

* libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
whose high bound includes vtable to all functions that will use
vtable.  For streambufs, pass pointer whose bounds include struct
_IO_strfile.
* libio/wgenops.c (_IO_wdefault_finish): Likewise.
* libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
* libio/iofopen.c (_IO_new_fopen): Likewise.
* libio/oldiofopen.c (_IO_old_fopen): Likewise.
* libio/iofopen64.c (_IO_fopen64): Likewise.
* libio/iopopen.c (_IO_new_popen): Likewise.
* libio/oldiopopen.c (_IO_old_popen): Likewise.
* libio/memstream.c (open_memstream): Likewise.
* libio/iovsscanf.c (_IO_vsscanf): Likewise.
* libio/iovsprintf.c (_IO_vsprintf): Likewise.
* libio/iovdprintf.c (_IO_vdprintf): Likewise.
* libio/iofopncook.c (_IO_cookie_init): Likewise.
* libio/obprintf.c (_IO_obstack_vprintf): Likewise.
* libio/vasprintf.c (_IO_vasprintf): Likewise.
* libio/vsnprintf.c (_IO_vsnprintf): Likewise.
* libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
* libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
* stdlib/strfmon.c (__strfmon_l): Likewise.
* stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
(vfprintf): Qualify computed-goto targets as unbounded.
2000-06-28  Greg McGary  <greg@mcgary.org>

* libio/libio.h (struct _IO_cookie_file): Move struct type defintion out.
(_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
* libio/libioP.h (struct _IO_cookie_file): Move struct type defintion in.
(_IO_JUMPS): Don't cast THIS--expect arg to be a (struct _IO_FILE_plus *).
(_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
THIS, since _IO_JUMPS no longer does it implicitly.
(_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
arg type as (struct _IO_FILE_plus *).
(_IO_str_init_static, _IO_str_init_readonly): Declare 1st
arg as (_IO_strfile *).
* libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
Declare 1st arg as (_IO_strfile *).
* libio/fileops.c (_IO_new_file_init): Declare
arg type as (struct _IO_FILE_plus *).
* libio/oldfileops.c (_IO_old_file_init): Likewise.
* libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
(_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
Declare iteration pointer as (struct _IO_FILE_plus *).
(_IO_iter_next, _IO_iter_file): _IO_ITER is now (struct _IO_FILE_plus *).
* libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
* libio/oldstdfiles.c (_IO_list_all): Likewise.
(_IO_check_libio): Set user-visible handles to (struct _IO_FILE_plus *).
* libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
to (struct _IO_FILE_plus *).

* libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
whose high bound includes vtable to all functions that will use
vtable.  For streambufs, pass pointer whose bounds include struct
_IO_strfile.
* libio/wgenops.c (_IO_wdefault_finish): Likewise.
* libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
* libio/iofopen.c (_IO_new_fopen): Likewise.
* libio/oldiofopen.c (_IO_old_fopen): Likewise.
* libio/iofopen64.c (_IO_fopen64): Likewise.
* libio/iopopen.c (_IO_new_popen): Likewise.
* libio/oldiopopen.c (_IO_old_popen): Likewise.
* libio/memstream.c (open_memstream): Likewise.
* libio/iovsscanf.c (_IO_vsscanf): Likewise.
* libio/iovsprintf.c (_IO_vsprintf): Likewise.
* libio/iovdprintf.c (_IO_vdprintf): Likewise.
* libio/iofopncook.c (_IO_cookie_init): Likewise.
* libio/obprintf.c (_IO_obstack_vprintf): Likewise.
* libio/vasprintf.c (_IO_vasprintf): Likewise.
* libio/vsnprintf.c (_IO_vsnprintf): Likewise.
* libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
* libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
* stdlib/strfmon.c (__strfmon_l): Likewise.
* stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
(vfprintf): Qualify computed-goto targets as unbounded.

24 years agoUpdate.
Andreas Jaeger [Thu, 29 Jun 2000 07:13:12 +0000 (07:13 +0000)]
Update.

2000-06-29  Andreas Jaeger  <aj@suse.de>

* Makefile (locale_test_suite): Add new test files.
(tst_mblen-ENV): New.
(tst_mbtowc-ENV): New.
(tst_strcoll-ENV): New.
(tst_strxfrm-ENV): New.
(tst_wctomb-ENV): New.

* tests-mbwc/tst_wctomb.c: New test file from Shoji Kuwabara
<kuwahara@cthulhu.engr.sgi.com>.
* tests-mbwc/dat_wctomb.c: Likewise.
* tests-mbwc/tst_mbtowc.c: Likewise.
* tests-mbwc/dat_mbtowc.c: Likewise.
* tests-mbwc/tst_strxfrm.c: Likewise.
* tests-mbwc/dat_strxfrm.c: Likewise.
* tests-mbwc/dat_strcoll.c: Likewise.
* tests-mbwc/tst_strcoll.c: Likewise.
* tests-mbwc/tst_mblen.c: Likewise.
* tests-mbwc/dat_mblen.c: Likewise.

24 years agoTests for mblen.
Andreas Jaeger [Thu, 29 Jun 2000 06:45:01 +0000 (06:45 +0000)]
Tests for mblen.

24 years ago(__printf_fp): Remove unnecessary second definition and initialization of decimal.
Ulrich Drepper [Thu, 29 Jun 2000 04:17:06 +0000 (04:17 +0000)]
(__printf_fp): Remove unnecessary second definition and initialization of decimal.

24 years agoUpdate.
Ulrich Drepper [Thu, 29 Jun 2000 04:12:28 +0000 (04:12 +0000)]
Update.

2000-06-28  Ulrich Drepper  <drepper@redhat.com>

* stdio-common/vfscanf.c: Finally handle multibyte decimal point and
thousands separator correctly.

* stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
* stdio-common/vfwscanf.c: Likewise.

sequences with first byte 0x8e correctly.

24 years agoUpdate.
Ulrich Drepper [Wed, 28 Jun 2000 23:54:33 +0000 (23:54 +0000)]
Update.

2000-06-27  Jes Sorensen  <jes@linuxcare.com>

* sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
count into signatures for most calls.

24 years agoUpdate.
Ulrich Drepper [Wed, 28 Jun 2000 23:51:54 +0000 (23:51 +0000)]
Update.

2000-06-28  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed.  We can use
the generic parser now.

24 years agoUpdate.
Ulrich Drepper [Wed, 28 Jun 2000 23:50:37 +0000 (23:50 +0000)]
Update.

2000-06-28  Jes Sorensen  <jes@linuxcare.com>

* sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted.  Hash
table entries are 32 bit on the ia64 (as specified by the ABI),
not 64 bit as on the Alpha.

* shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
change of objects to use 32 bit hash table indices (see above).

2000-06-28  Jes Sorensen  <jes@linuxcare.com>

* sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
prototype for abs().

24 years agoUpdate.
Ulrich Drepper [Wed, 28 Jun 2000 23:28:29 +0000 (23:28 +0000)]
Update.

2000-06-28  Wolfram Gloger  <wg@malloc.de>

* malloc/malloc.c (chunk_alloc): If extension of the linear heap
fails, try mmap_chunk() as a last resort even though n_mmaps_max
may have been reached.

24 years agoUpdate.
Ulrich Drepper [Wed, 28 Jun 2000 23:00:28 +0000 (23:00 +0000)]
Update.

* locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
symbols in multi-character weights correctly.

24 years agoUpdate.
Ulrich Drepper [Wed, 28 Jun 2000 21:46:28 +0000 (21:46 +0000)]
Update.

* wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
depending on whether the input string is empty or not.

* wcsmbs/mbrtowc.c: Calling function without input means clearing the
given state and not avoiding this by modifying a local object.
* wcsmbs/wcrtomb.c: Likewise.

* iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
object since some incomplete characters might be in there.

24 years agoUpdate.
Ulrich Drepper [Wed, 28 Jun 2000 21:38:03 +0000 (21:38 +0000)]
Update.

* Makefile (do-tst-ctype): Add do-tst-mbswcs to list of dependencies.
(TEST_MBWC_ENV): Remove unnecessary slash.
* tst-ctype.sh: Add de_DE.UTF-8 to list of tested locales.

* tests-mbwc/dat_iswalnum.c (TST_ISW_LOC): Correct UTF-8 input data.

* Makefile: Add do-tst-mbswcs to dependencies of locale test suite
tests.

24 years agoFix cut&paste error.
Ulrich Drepper [Wed, 28 Jun 2000 19:49:23 +0000 (19:49 +0000)]
Fix cut&paste error.