diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2017-08-02 20:57:34 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2017-08-02 20:57:34 +0530 |
commit | edf66db113cdaded68871e13ccaae158eef2a321 (patch) | |
tree | 98ceb2df248d99dabeee311dacf6c487df4d81fc /ChangeLog.9 | |
parent | 92c3af3c140f671ea49c751368d17df2e10d0eeb (diff) | |
download | glibc-edf66db113cdaded68871e13ccaae158eef2a321.zip glibc-edf66db113cdaded68871e13ccaae158eef2a321.tar.gz glibc-edf66db113cdaded68871e13ccaae158eef2a321.tar.bz2 |
Rotate ChangeLog correctly
I incorrectly assumed that the ChangeLog numbers (.1, .2, etc.) are in
order. They're not and the latest non-current ChangeLog is the one
with the highest number. Fixed.
Diffstat (limited to 'ChangeLog.9')
-rw-r--r-- | ChangeLog.9 | 15486 |
1 files changed, 4807 insertions, 10679 deletions
diff --git a/ChangeLog.9 b/ChangeLog.9 index 52b85a6..11b6cd2 100644 --- a/ChangeLog.9 +++ b/ChangeLog.9 @@ -1,12549 +1,6677 @@ -1998-08-11 14:05 Ulrich Drepper <drepper@cygnus.com> +1999-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * timezone/backward: Update from tzdata1998g. - * timezone/etcetera: Likewise. - * timezone/europe: Likewise. - -1998-08-11 Philip Blundell <pb@nexus.co.uk> - - * sysdeps/generic/tempname.c (__path_search): Fix typo and - formatting. - -1998-08-11 H.J. Lu <hjl@gnu.org> - - * malloc/malloc.c (free_check): Print pointer value using %p. - (realloc_check): Likewise. - -1998-08-11 13:57 Ulrich Drepper <drepper@cygnus.com> - - * libio/fileops.c (_IO_file_sync): Use _IO_ssize_t for delta, not - _IO_size_t. - -1998-08-10 15:49 Ulrich Drepper <drepper@cygnus.com> + * nscd/hstcache.c (addhstbyaddr): Use INET_ADDRSTRLEN for buffer. + (addhstbyaddr6): Use INET6_ADDRSTRLEN for buffer. + (addhstbynamev6): Correct debug output. - * include/dirent.h: Protect from double inclusion. + * nscd/connections.c: Include <arpa/inet.h> for inet_ntop. + (handle_request): Correctly print gethostbyaddr* debug messages. -1998-08-09 Mark Kettenis <kettenis@phys.uva.nl> +1999-02-04 Ulrich Drepper <drepper@cygnus.com> - * posix/glob.h: Add LFS support for glob and globfree. - * posix/Versions [GLIBC_2.1]: Add glob64 and globfree64. - * posix/Makefile (routines): Add glob64. - * sysdeps/generic/glob64.c: New file. - * sysdeps/unix/sysv/linux/glob64.c: New file. - * sysdeps/unix/sysv/linux/alpha/glob64.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/glob64.c: New file. - * sysdeps/generic/glob.c [_LIBC && glob] (__glob_pattern_p): - Elide function. - * sysdeps/unix/sysv/linux/alpha/glob.c: Add glob64 as a weak alias - for __new_glob. Likewise for globfree64. - * sysdeps/unix/sysv/linux/sparc/sparc64/glob.c: New file. - -1998-08-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Remove - -include flag from command. - -1998-08-10 Ulrich Drepper <drepper@cygnus.com> - - * nss/nss_db/db-XXX.c (_nss_db_getXXX): If buffer is too small - decrement `entidx' to allow retrieving the same entry again. - -1998-08-09 22:32 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/powerpc/ffs.c: Fix typo. Add support for ffsl. - Patch by Matt McLean <keys@yikes.com>. - -1998-08-07 Geoff Keating <geoffk@ozemail.com.au> + * stdlib/strtoll.c: Add alias __strtoq_internal. + * stdlib/strtoull.c: Add alias __strtouq_internal. - * sysdeps/powerpc/bits/setjmp.h: Use word to save condition - registers. - * sysdeps/powerpc/setjmp.S: Save condition registers. - * sysdeps/powerpc/__longjmp.S: Restore condition registers. - -1998-08-09 09:40 Ulrich Drepper <drepper@cygnus.com> - - * nss/nss_files/files-XXX.c (internal_getent): In case of an read - error do not trust errno value, set it to ENOENT. - - * db2/db_185.h: Move __ prototypes into include/* header. - * dirent/dirent.h: Likewise. - * elf/dlfcn.h: Likewise. - * gmon/sys/gmon.h: Likewise. - * grp/grp.h: Likewise. - * intl/libintl.h: Likewise. - * io/fcntl.h: Likewise. - * io/sys/stat.h: Likewise. - * io/sys/statfs.h: Likewise. - * io/sys/statvfs.h: Likewise. - * libio/stdio.h: Likewise. - * login/utmp.h: Likewise. - * misc/mntent.h: Likewise. - * misc/search.h: Likewise. - * misc/sys/file.h: Likewise. - * misc/sys/ioctl.h: Likewise. - * misc/sys/select.h: Likewise. - * misc/sys/uio.h: Likewise. - * misc/sys/ustat.h: Likewise. - * posix/unistd.h: Likewise. - * posix/sys/times.h: Likewise. - * posix/sys/wait.h: Likewise. - * pwd/pwd.h: Likewise. - * resource/ulimit.h: Likewise. - * resource/sys/resource.h: Likewise. - * setjmp/setjmp.h: Likewise. - * shadow/shadow.h: Likewise. - * signal/signal.h: Likewise. - * socket/sys/socket.h: Likewise. - * stdlib/alloca.h: Likewise. - * stdlib/stdlib.h: Likewise. - * string/string.h: Likewise. - * sysdeps/generic/sys/mman.h: Likewise. - * sysdeps/unix/bsd/osf/sys/mman.h: Likewise. - * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise. - * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise. - * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise. - * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. - * sysdeps/unix/sysv/linux/sys/mman.h: Likewise. - * termios/termios.h: Likewise. - * time/time.h: Likewise. - * time/sys/time.h: Likewise. - * wcsmbs/wchar.h: Likewise. + * wcsmbs/mbrtowc.c: Correct logic testing for converted NUL + character. Patch by Owen Taylor <otaylor@redhat.com>. - * include/alloca.h: Add __ prototypes here. - * include/db_185.h: Likewise. - * include/dirent.h: Likewise. - * include/dlfcn.h: Likewise. - * include/fcntl.h: Likewise. - * include/grp.h: Likewise. - * include/libintl.h: Likewise. - * include/mntent.h: Likewise. - * include/pwd.h: Likewise. - * include/sched.h: Likewise. - * include/search.h: Likewise. - * include/setjmp.h: Likewise. - * include/shadow.h: Likewise. - * include/signal.h: Likewise. - * include/stdio.h: Likewise. - * include/stdlib.h: Likewise. - * include/string.h: Likewise. - * include/termios.h: Likewise. - * include/time.h: Likewise. - * include/ulimit.h: Likewise. - * include/unistd.h: Likewise. - * include/utmp.h: Likewise. - * include/wchar.h: Likewise. - * include/sys/file.h: Likewise. - * include/sys/gmon.h: Likewise. - * include/sys/ioctl.h: Likewise. - * include/sys/mman.h: Likewise. - * include/sys/resource.h: Likewise. - * include/sys/select.h: Likewise. - * include/sys/socket.h: Likewise. - * include/sys/stat.h: Likewise. - * include/sys/statfs.h: Likewise. - * include/sys/time.h: Likewise. - * include/sys/times.h: Likewise. - * include/sys/uio.h: Likewise. - * include/sys/wait.h: Likewise. +1999-02-03 Mark Kettenis <kettenis@gnu.org> - * Makeconfig (+includes): Search in $(..)include first. + * sysdeps/mach/hurd/utimes.c (__utimes): Deal with TVP being NULL. - * io/fstat.c: Undefine __fstat. - * io/lstat.c: Undefine __lstat. +1999-02-03 Ulrich Drepper <drepper@cygnus.com> - * wcsmbs/Versions: Add __mbrlen. + * version.h (VERSION): Bump to 2.1. + (RELEASE): Change to stable. -1998-08-09 Ulrich Drepper <drepper@cygnus.com> - - * elf/dl-reloc.c (_dl_relocate_object): Implement DT_BIND_NOW. - -1998-07-31 17:59 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/generic/bits/byteswap.h: Fix problems with side effects. - - * manual/filesys.texi: Document truncate and ftruncate. - Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>. - - * shadow/putspent.c: Lock stream while generating the output. - - * sunrpc/clnt_unix.c: Use ucred instead of cmsgcred again. - (__msgwrite): Rewrite accordingly. - * sunrpc/svc_unix.c: Likewise. - * sysdeps/unix/sysv/linux/Dist: Remove __recvmsg.S and __sendmsg.S. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)==socket] - (sysdep_routines): Remove __sendmsg and __recvmsg. - * sysdeps/unix/sysv/linux/__recvmsg.S: Removed. - * sysdeps/unix/sysv/linux/__sendmsg.S: Removed. - * sysdeps/unix/sysv/linux/recvmsg.c: Removed. - * sysdeps/unix/sysv/linux/sendmsg.c: Removed. - * sysdeps/unix/sysv/linux/recvmsg.S: New file. - * sysdeps/unix/sysv/linux/sendmsg.S: New file. - * sysdeps/unix/sysv/linux/bits/socket.h: Define SCM_CREDENTIALS and - struct ucred. Remove struct cmsgcred. - Patches by Thorsten Kukuk. - -1998-08-03 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * inet/rcmd.c (__ivaliduser): Allow '#' as comment character. - -1998-08-08 14:42 Ulrich Drepper <drepper@cygnus.com> - - * argp/argp-help.c: Prepare to be used outside glibc without gcc by - adding usual alloca cruft. - Reported by Eleftherios Gkioulekas <lf@amath.washington.edu>. - -1998-04-05 Jim Meyering <meyering@ascend.com> - - * lib/regex.c (WIDE_CHAR_SUPPORT): Define. - This now depends on HAVE_BTOWC so systems that lack btowc (like - solaris-2.5.1) don't lose. - -1998-08-07 Mark Kettenis <kettenis@phys.uva.nl> - - * sysdeps/generic/bits/sigaction.h: Remove definition of SA_DISABLE. - * sysdeps/generic/bits/sigstack.h: Define SS_DISABLE, SS_ONSTACK, - MINSIGSTKZ and SIGSTKSZ. Definitions match BSD. - * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Use SS_ONSTACK - instead of SA_ONSTACK. - * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Renamed from - sigaltstack, and created a weak alias. Use SS_DISABLE and - SS_ONSTACK instead of SA_DISABLE and SA_ONSTACK. - * sysdeps/mach/hurd/sigstack.c (sigstack): Use SS_ONSTACK instead - of SA_ONSTACK. Call __sigaltstack instead of sigaltstack. - * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use SS_ONSTACK - instead of SA_ONSTACK. - * sysdeps/mach/hurd/alpha/sigreturn.c (__sigreturn): Likewise. - * sysdeps/mach/hurd/mips/sigreturn.c (__sigreturn): Likewise. - * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): - Use SS_DISABLE instead of SA_DISABLE. Use SS_ONSTACK instead of - SA_ONSTACK where appropriate. - * sysdeps/mach/hurd/alpha/trampoline.c (_hurd_setup_sighandler): - Likewise. - * sysdeps/mach/hurd/hppa/trampoline.c (_hurd_setup_sighandler): - Likewise. - * sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler): - Likewise. - * manual/signal.texi (Signal Stack): Talk about SS_DISABLE and - SS_ONSTACK instead of SA_DISABLE and SA_ONSTACK in discussion of - the `ss_flags' member of `struct sigaltstack'. - -1998-08-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * libio/Makefile (routines) [$(versioning)=yes]: Add oldtmpfile. - (shared-only-routines): Likewise. - * libio/oldtmpfile.c: New file - * stdio-common/tmpfile.c: Use __fdopen and __close. - [USE_IN_LIBIO]: Use _IO_fdopen instead of _IO_new_fdopen. Put - tmpfile on symbol version GLIBC_2.1. - * stdio-common/tmpfile64.c: Use __fdopen and __close. - [USE_IN_LIBIO]: Use _IO_fdopen instead of _IO_new_fdopen. - * stdio-common/Version [GLIBC_2.1]: Add tmpfile. - * stdio-common/tempnam.c: Use __strdup instead of strdup. - * sysdeps/posix/fdopen.c: Define __fdopen and make fdopen weak - alias. - * sysdeps/generic/fdopen.c: Likewise. - * sysdeps/mach/hurd/fdopen.c: Likewise. - * stdio/stdio.h: Declare __fdopen. - * sunrpc/openchild.c: Use __fdopen instead of fdopen. - [USE_IN_LIBIO]: Map __fdopen to _IO_fdopen. - * sysdeps/posix/tempname.c (__gen_tempname): Don't bother checking - __stub_open64, it is never defined. - -1998-08-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * libio/iofopen64.c: Fix typo. Avoid unnessary casts. - * libio/iopopen.c: Unlink file before freeing it if command - creation failed. Avoid unnessary casts. - * libio/iofdopen.c: Avoid unnecessary cast. - * pwd/fgetpwent_r.c [USE_IN_LIBIO]: Map funlockfile to - _IO_funlockfile. - * pwd/fgetspent_r.c [USE_IN_LIBIO]: Likewise. - -1998-08-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * grp/grp.h, pwd/pwd.h: Don't declare __grpopen, __grpread, - __grpalloc, __grpscan and the corresponding pwd functions, they - were removed long ago. + * elf/dlsym.c (dlsym_doit): If no symbol for RTLD_NEXT is found + initialize ref element of args object so that dlsym does not dump + a core. + * elf/dlvsym.c (dlvsym_doit): Likewise. -1998-08-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1999-02-03 Jakub Jelinek <jj@ultra.linux.cz> - * math/libm-test.c (csqrt_test): Adjust epsilons. - (casinh_test): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Set branch + prediction correctly. -1998-08-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Signal + takes a pointer to __sigcontext_t. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Do a nop after retl. + * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove fork.S. - * posix/globtest.sh: Fix typo. Remove second test output file. +1999-02-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> -1998-08-07 Cristian Gafton <gafton@redhat.com> + * manual/time.texi (General Time String Parsing): Fix typos. Fix + column widths of table. - * pwd/putpwent.c (putpwent): Avoid writting (none) in the passwd file. - * shadow/putspent.c (putspent): Likewise. - * grp/putgrent.c: New file. - * grp/Makefile (routines): Add putgrent. - * grp/Versions [GLIBC_2.1]: Add putgrent. - * grp/grp.h: Add putgrent prototype. +1999-01-31 Mark Kettenis <kettenis@phys.uva.nl> -1998-08-04 19:33 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/mach/hurd/times.c: New file. - * elf/elf.h: More ELF definitions. +1999-02-02 Ulrich Drepper <drepper@cygnus.com> -1998-08-04 16:53 Ulrich Drepper <drepper@cygnus.com> + * nscd/nscd_getpw_r.c (nscd_getpw_r): Mark as internal and take + extra argument with length of key string. + (__nscd_getpwnam_r): Call nscd_getpw_r with extra argument. + (__nscd_getpwuid_r): Create key string on stack. + * nscd/nscd_getgr_r.c: Mark local functions as internal. + * nscd/nscd_gethst_r.c: Likewise. - * stdio-common/tmpfile.c: Include unistd.h for close prototype. - * stdio-common/tmpfile64.c: Likewise. + * elf/dl-load.c: Use alloca, not __alloca. - * db2/makedb.c: Generate output file with same access permissions - the input file has. + * sysdeps/unix/sysv/linux/reboot.c: Make sure first parameter is + correctly passed to the kernel even on 64bit platforms. + Patch by Bruce Elliott <bde@nwlink.com>. - * signal/signal.h: Pretty printing. + * localedata/locales/it_CH: New file. + Contributed by Giacomo Amabile Catenazzi <gcatenaz@g26.ethz.ch>. -1998-08-04 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1999-01-31 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * misc/mktemp.c: Add include <stlib.h> for prototype, remove - unneccessary includes. - * misc/mkstemp.c: Likewise. + * manual/install.texi (Configuring and compiling): Building in the + source directory works, change paragraph stating the opposite. -1998-08-03 16:36 Ulrich Drepper <drepper@cygnus.com> +1999-01-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * catgets/catgets.c: Use mmap/munmap only is _POSIX_MAPPED_FILES - is defined. - * catgets/open_catalog.c: Likewise. - * iconv/iconv_prog.c: Likewise. - * intl/loadmsgcat.c: Likewise. - * locale/findlocale.c: Likewise. - * locale/loadlocale.c: Likewise. - * locale/programs/localedef.c: Likewise. - * malloc/malloc.c: Likewise. + * locale/programs/locale-spec.c: Fix last change. - * elf/elf.h: Fix typo. +1999-01-31 Ulrich Drepper <drepper@cygnus.com> - * math/Makefile: Use $(LN_S) instead of ln. + * math/libm-test.c (fdim_test): Fix typo in message. + Patch by Paul Kimoto <kimoto@spacenet.tn.cornell.edu>. - * sysdeps/generic/getpgid.c: Fix return type. +1999-01-31 Philip Blundell <philb@gnu.org> -1998-08-01 02:49 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> + * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: If the kernel + doesn't have vfork, resort to using fork. + * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise. - * sysdeps/posix/tempname.c (__stdio_gen_tempname): Rename to - __gen_tempname and simplify the interface. Strip out the - code to do path search and create FILE objects. This function - now takes a mktemp() style template and returns either a name - or a file descriptor. - (__path_search): New function; searches for directories for - temp files. - * sysdeps/generic/tempname.c: Stub out __gen_tempname and - __path_search, not __stdio_gen_tempname. +1999-01-30 Ulrich Drepper <drepper@cygnus.com> - * libio/stdio.h: Prototype __gen_tempname and __path_search, - not __stdio_gen_tempname. - * stdio/stdio.h: Likewise. + * sysdeps/sparc/sparc32/__longjmp.S: Include bits/setjmp.h not + jmp_buf.h. Patch by David S. Miller <davem@dm.cobaltmicro.com>. - * stdio-common/tempnam.c: Use __path_search and __gen_tempname. - * stdio-common/tmpfile.c: Likewise. - * stdio-common/tmpfile64.c: Likewise. - * stdio-common/tmpnam.c: Likewise. - * stdio-common/tmpnam_r.c: Likewise. - - * misc/mkstemp.c: New file. Use __gen_tempname. - * misc/mktemp.c: Likewise. - - * sysdeps/posix/mkstemp.c: Removed. - * sysdeps/posix/mktemp.c: Removed. - * sysdeps/generic/mkstemp.c: Removed. - * sysdeps/generic/mktemp.c: Removed. + * sysdeps/libm-i387/s_fdim.S: Reverse arguments of instruction + changed in last patch. + * sysdeps/libm-i387/s_fdimf.S: Likewise. + * sysdeps/libm-i387/s_fdiml.S: Likewise. -1998-08-02 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * configure.in: Check, if door add-on is installed. - * config.make.in: Add have_doors. - * sunrpc/Makefile: Add HAVE_DOOR define. - * sunrpc/key_call.c: Add keyserv/door interface. - - * sunrpc/svc_unix.c: Call setsockopt only if SO_PASSCRED is defined. - * sunrpc/clnt_unix.c: Likewise. +1999-01-29 Richard Henderson <rth@twiddle.net> -1998-08-02 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * scripts/config.sub: Recognize alpha{pca5[67],ev[67]}. - * inet/netinet/in.h (IN_CLASSC): Correct mask. - Reported by Ian Staniforth <I.Staniforth@sheffield.ac.uk> [fixes - PR libc/727]. - -1998-08-03 10:23 Ulrich Drepper <drepper@cygnus.com> - - * misc/Makefile: Fix installation problem with --disable-shared. - * posix/Makefile: Likewise. - -1998-08-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * posix/regex.c (re_search_2): Optimize searching for anchored - pattern if '^' cannot match at embedded newlines. - (regerror): Renamed from __regerror, which it should only be - called if _LIBC. + * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols): + Format pointer differences as longs. -1998-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/alpha/fpu/s_floor.c, sysdeps/alpha/fpu/s_floorf.c: + Copy commentary from bits/mathinclude.h. Kill unused defines. - * sunrpc/svc_unix.c (__msgread): Check setsockopt return value. + * sysdeps/alpha/atomicity.h: New file. -1998-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1999-01-29 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/generic/glob.c: Remove obsolete cast. + * version.h (VERSION): Bump to 2.0.112. -1998-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * scripts/versions.awk: Quote { in regexp. - * Rules (tests): Fix last change. + * sunrpc/clnt_tcp.c (clnttcp_call): Resolve 32-64 comparison + conflict for 64 bit platforms. + Patch by trott@rottmann.hi.shuttle.de. -1998-07-31 17:59 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sparc/vfork.S: Correct comment. + * sysdeps/unix/sparc/fork.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove vfork. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: No special case for + child necessary. + * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: New file. + Patches by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>. - * sysdeps/unix/sysv/linux/Makefile [subdir==misc] (sysdep_routines): - Add sys_setresuid. + * sysdeps/libm-i387/s_fdim.S: Change fsubp to fsubrp for picky gas. + * sysdeps/libm-i387/s_fdimf.S: Likewise. + * sysdeps/libm-i387/s_fdiml.S: Likewise. -1998-07-30 Mark Kettenis <kettenis@phys.uva.nl> + * sysdeps/alpha/fpu/s_floor.c (__floor): Don't depend on inlining, + duplicate the code. + * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise. - * sysdeps/unix/sysv/linux/syscalls.list: Add __syscall_setresuid - as real name for system call and make setresuid a weak alias. Set - caller to seteuid. - * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Implement using - `setresuid' syscall if availble. Fixes problems with sendmail - which expects `seteuid' to not set the saved user ID. + * sysdeps/i386/Versions: Exports functions from libgcc since this + is what was done in glibc 2.0. + * sysdeps/m68k/Versions: Likewise. New file. -1998-07-30 20:09 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> +1999-01-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * time/tzset.c (__tzstring): Get rid of excessive cleverness - which was causing stack corruption. + * sysdeps/wordsize-32/stdint.h (INT8_C, INT16_C, INT32_C, INT64_C, + UINT8_C, UINT16_C, UINT32_C, UINT64_C): Remove casts, they must be + integer constants. Use ## directly instead of __CONCAT so that + the suffix string is not expanded as a macro. + * sysdeps/wordsize-64/stdint.h (INT8_C, INT16_C, INT32_C, INT64_C, + UINT8_C, UINT16_C, UINT32_C, UINT64_C): Likewise. + (INT64_MIN, INT64_MAX, UINT64_MAX, INT_LEAST64_MIN, + INT_LEAST64_MAX, UINT_LEAST64_MAX, INT_FAST16_MIN, INT_FAST32_MIN, + INT_FAST64_MIN, INT_FAST16_MAX, INT_FAST32_MAX, INT_FAST64_MAX, + UINT_FAST16_MAX, UINT_FAST32_MAX, UINT_FAST64_MAX, INTMAX_MIN, + INTMAX_MAX, UINTMAX_MAX): Define as long constants, not long long. -1998-07-31 16:41 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> +1999-01-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * argp/argp-fmtstream.c (__argp_fmtstream_update): Correct - off-by-one in wordwrap algorithm when there' a space at the - beginning of the buffer. + * locale/mb_cur_max.c (__ctype_get_mb_cur_max): Correct return + type to size_t. + * locale/broken_cur_max.c (__ctype_get_mb_cur_max): Likewise. + * stdlib/stdlib.h (__ctype_get_mb_cur_max): Likewise. -1998-07-31 15:45 Ulrich Drepper <drepper@cygnus.com> +1999-01-27 Philip Blundell <pb@nexus.co.uk> - * Makerules (LDLIBS-c.so): Extend value instead of overwriting it. + * sysdeps/unix/sysv/linux/arm/vfork.S: Deleted. -1998-07-31 11:10 Ulrich Drepper <drepper@cygnus.com> +1999-01-28 David S. Miller <davem@redhat.com> - * elf/elf.h: Add lots of new symbols from Irix and Solaris. + * sysdeps/sparc/sparc32/__longjmp.S: Rewrite without bogus sanity + checks and aborts, to make longjmp based thread schemes work again. - * sysdeps/unix/sysv/linux/sigstack.c: Include stddef.h to get NULL - definition. +1999-01-28 Ulrich Drepper <drepper@cygnus.com> -1998-07-31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * sysdeps/unix/sysv/sysv4/solaris2/configure.in: New file. + * sysdeps/unix/sysv/sysv4/solaris2/configure: New file. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: New file. + Patch by Jeff Bailey <jbailey@phn.ca>. - * sunrpc/xcrypt.c: Use only the first 8 characters of the password. + * locale/setlocale.c (free_mem): Don't try to free C locale data + and use setdata instead of doing it by hand. -1998-07-30 21:06 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> + * iconv/gconv_conf.c (add_alias): Check that so such alias is + currently stored. - * sysdeps/generic/glob.c: Undefine strdup before defining it, - because bits/string2.h may have defined it already. + * iconv/gconv_db.c (free_derivation): Free names if charsets for + first and last step. -1998-07-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * iconv/gconv_dl.c: Unload all modules when debugging memory use. - * stdio-common/vfscanf.c: Optimize looking for type modifiers. - Fix recognition of 'a' modifier vs. 'a' format. - (TYPEMOD): Removed. + * locale/loadlocale.c (_nl_unload_locale): Free locale name. - * stdio-common/printf-parse.h (parse_one_spec): Optimize looking - for type modifiers. Fix recognition of 'hh' modifier. + * intl/finddomain.c (free_mem): Also free filename. + * locale/findlocale.c (free_mem): Likewise. + (_nl_find_locale): Duplicate loc_name with strdupa not strdup. + * locale/setlocale.c (free_mem): New function. Free current locale + data and set current locale to "C". -1998-07-31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * libio/genops.c (_IO_un_link): Move #ifdef introduced in last + change in right place. - * sunrpc/svc_unix.c: Fix typo. + * sysdeps/unix/sysv/linux/sys/timex.h: Add MAXTC from kernel + header. Suggested by Thomas Quinot <thomas@Cuivre.FR.EU.ORG>. -1998-07-31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> +1999-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/unix/sysv/linux/recvmsg.c: Don't check for SCM_CREDS before - syscall. + * libio/getc_u.c (__getc_unlocked): Avoid compiler warning. -1998-07-30 12:38 Ulrich Drepper <drepper@cygnus.com> +1999-01-28 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/i386/ffs.c: Add ffsl entry point. - * sysdeps/i386/i686/ffs.c: Likewise. - * sysdeps/m68k/ffs.c: Likewise. - * sysdeps/powerpc/ffs.c: Likewise. + * libio/genops.c (_IO_un_link, _IO_link_in): Don't use locking if + _IO_MTSAFE_IO is not defined. - * sysdeps/i386/i486/bits/string.h: Add optimizations for ffs/ffsl - on i686. + * iconv/gconv_db.c (free_modules_db): Don't free memory of + internal modules. -1998-07-30 Richard Henderson <rth@cygnus.com> + * iconv/gconv_db.c (free_mem): Don't free module tree if there is none. - * elf/Makefile (ld-map): Move initialization below Makeconfig include. +1999-01-27 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/libm-ieee754/k_standard.c (zero): Make non-const to - work around gcc bug. + * locale/programs/locale-spec.c (locale_special): Take care of + possible trigraph sequence. + Patch by Zack Weinberg <zack@rabi.columbia.edu>. - * string/string.h (ffsl, ffsll): Prototype. - * string/Version (GLIBC_2.1): Add them. - * sysdeps/alpha/ffs.S: Schedule for EV5. Add ffsl and ffsll - entry points. - * sysdeps/alpha/ffsll.S: New file. Empty. - * sysdeps/generic/ffs.c: Add ffsl and ffsll entry points. - * sysdeps/generic/ffsll.c: New file. - * string/Makefile (routines): Add ffsll. + * time/strptime.c (strptime_internal, case 's'): Initialize secs + to zero. Patch by Bruce Elliott <bde@nwlink.com>. -1998-07-30 10:03 Ulrich Drepper <drepper@cygnus.com> +1999-01-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * sysdeps/unix/sysv/linux/alpha/bits/time.h: Don't define CLK_TCK for - strictly ISO C compliant programs. - * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise. + * elf/Makefile (extra-objs): Add test modules objects. -1998-07-22 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1999-01-27 Ulrich Drepper <drepper@cygnus.com> - * inet/protocols/rwhod.h: Correct typo in comment. + * wctype/wcextra.c: Declare __ctype32_b. - * configure.in: Use better regex for gettext. + * manual/string.texi: Add optimization examples for strcat and strchr. -1998-07-29 21:29 Ulrich Drepper <drepper@cygnus.com> +1999-01-26 Ulrich Drepper <drepper@cygnus.com> - * elf/elf.h: Define more EM_* constants, ELFCLASSNUM, ELFDATANUM, - EV_NUM, Elf32_Nhdr, Elf64_Nhdr and various note section values. + * libio/Makefile (routines): Remove fgetc. + * libio/fgetc.c: Removed. + * libio/getc.c: Add fgetc alias. + * libio/Versions [GLIBC_2.1]: Add fgetc_unlocked. + * libio/getc_u.c: Rename function to __getc_unlocked and make + getc_unlocked and fgetc_unlocked weak aliases. + * libio/stdio.h: Add prototype for fgetc_unlocked. - * elf/elf.h: Add DT_FLAGS_1 and the DF_1_* flag definitions. + * sysdeps/gnu/bits/utmp.h: Don't prepend exit_status elements with + __ since utmp.h is not mentioned in any standard. - * elf/sprof.c: Implement -c/--call-pairs option to emit list with - caller/callee and the number of calls. + * sysdeps/unix/sysv/linux/i386/clone.S: When not using PIC don't + use jecxz since the label might be far away. -1998-07-29 Mark Kettenis <kettenis@phys.uva.nl> - - * sysdeps/mach/hurd/dl-sysdep.c (__lseek): New function. - (__getpid): New function. - (abort): New function. + * sysdeps/unix/sysv/linux/sigaction.c: Update comment to say the + __libc_missing_rt_sigs is defined here. + * sysdeps/unix/sysv/linux/sigpending.c: Only declare + __libc_missing_rt_sigs. + * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. + * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise. -1998-07-29 15:07 Ulrich Drepper <drepper@cygnus.com> +1999-01-25 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/arm/fpu/Dist: New file. Add ieee754.h. + * scripts/config.guess: Changes for ARM/Linux. + * scripts/config.sub: Likewise. - * nis/nis_cache2_xdr.c: Removed. - * nis/nis_cache.c: Removed. - * nis/nis_cache2.h: Removed. + * elf/Makefile: Define libdl variable as name of libdl library and + use it in all dependencies. -1998-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1999-01-26 Geoff Keating <geoffk@ozemail.com.au> - * Rules (tests): Depend on tests-static only if build-static == yes. + * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Suppress warning + about potentially uninitialized `flags'. + * nss/nss_db/db-alias.c (internal_setent): Likewise. - * misc/Makefile (install-lib): Compile libbsd-compat.a and libg.a - only if build-static == yes. +1999-01-25 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-07-29 12:58 Ulrich Drepper <drepper@cygnus.com> + * elf/failobj.c: Provide prototype for xyzzy. - * sysdeps/generic/glob.c: Windows compatibility stuff. - Patch received from Paul D. Smith <psmith@BayNetworks.COM>. +1999-01-25 Philip Blundell <pb@nexus.co.uk> -1998-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/unix/sysv/linux/arm/clone.S: Correct error check again. - * sunrpc/clnt_unix.c (__msgwrite)[!SCM_CRED]: Add return - statement, fix typo. - * sunrpc/svc_unix.c (__msgwrite)[!SCM_CRED]: Likewise. +1999-01-24 Roland McGrath <roland@baalperazim.frob.com> -1998-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/mach/hurd/ioctl.c: Include <hurd/ioctls.defs>. + (__ioctl): Use IOC_MSGID macro. - * manual/pattern.texi (More Flags for Globbing): Fix typo. +1999-01-24 Ulrich Drepper <drepper@cygnus.com> - * manual/math.texi (Special Functions): Fix typo. + * libio/iofopen.c (_IO_fopen): Pass correct value as fourth + parameter to _IO_file_fopen. + * libio/iofopen64.c (_IO_fopen64): Likewise. - * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT): New - constant from Linux 2.1.112. + * po/sv.po: Update from translation team. - * posix/Makefile (install-lib): Compile libposix.a only if - build-static == yes. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add __vfork + as alias. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. -1998-07-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1999-01-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/generic/glob.c: Maintain const correctness. Move extern - declarations to file level. Cope with unsupported - _SC_GETPW_R_SIZE_MAX. + * ctype/ctype.h (toupper,tolower): Use __inline instead of inline, + define inline functions only when optimizing for speed and + __USE_EXTERN_INLINES is set. -1998-07-29 Ulrich Drepper <drepper@cygnus.com> +1999-01-24 Ulrich Drepper <drepper@cygnus.com> - * stdio-common/tst-printf.c: %z is now recognized by printf. + * scripts/config.sub: Update from latest autoconf release. + * scripts/config.guess: Likewise. - * sysdeps/libm-ieee754/c_csqrt.c: Fix problems with some cancelation - errors. - * sysdeps/libm-ieee754/c_csqrtf.c: Likewise. - * sysdeps/libm-ieee754/c_csqrtlc: Likewise. - Patch by Stephen L Moshier <moshier@mediaone.net>. + * sysdeps/i386/i786/Implies: New file. - * math/libm-test.c (csqrt_test): Correct typo in one test, add - another one. +1999-01-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/unix/sysv/linux/bits/siginfo.h: Adjust siginfo_t after - latest kernel change. + * manual/install.texi (Running make install): Change for Linux 2.2. -1998-07-29 6:39 Kazushige Goto <goto@statabo.rim.or.jp> +1999-01-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/alpha/fpu/e_sqrt.c [!_IEEE_FP]: Correctly handle - inputs near DBL_MIN. + * manual/process.texi (Creating a Process): Fix typos. -1998-07-28 Ulrich Drepper <drepper@cygnus.com> +1999-01-24 Roland McGrath <roland@baalperazim.frob.com> - * resolv/nss_dns/dns-host.c (getanswer_r): Lower the priority of - warnings when DNSSEC related records are received. - * resolv/gethnamaddr.c (getanswer): Likewise. - Patch by Brian Wellington <bwelling@anomaly.munge.com>. + * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): Fail with ENOSYS, don't + call abort. Suggested by Mark Kettenis <kettenis@phys.uva.nl>. - * signal/signal.h: Add prototype for sysv_signal. +1999-01-23 Roland McGrath <roland@baalperazim.frob.com> - * math/libm-test.c (tgamma_test): Remove redundant tests. + * sysdeps/unix/sysv/linux/sys/mtio.h: Moved to... + * sysdeps/gnu/sys/mtio.h: ...here. + (_IOT_mtop, _IOT_mtget, _IOT_mtpos, _IOT_mtconfiginfo): New macros. + * sysdeps/gnu/Dist: Add sys/mtio.h. + * sysdeps/unix/sysv/linux/Dist: Remove sys/mtio.h. + * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc] + (sysdep_headers): Don't add sys/mtio.h here. + * sysdeps/gnu/Makefile [$(subdir) = misc] (sysdep_headers): Add it + here instead. - * sysdeps/generic/glob.c: Correct problems with */foo and GLOB_NOCHECK - where foo does not exist in any of the subdirectories. - Reported by Paul D. Smith <psmith@BayNetworks.COM>. + Revamp Hurd ioctl typing magic to handle `struct' keyword in the + ioctl command macros, so we can use Unix-compatible headers that + make use of the _IO* macros. + * sysdeps/mach/hurd/bits/ioctls.h (_IOC_ENCODE_TYPE, + _IOC_ENCODE_TYPE_1, _IOC_ENCODE_TYPE_2, _IOTBASE_struct): New macros. + (_IOR, _IOW, _IOWR): Use them _IOC_ENCODE_TYPE(t) instead of _IOT_##t. + (_IOT_int, _IOT_char, _IOT_short): Renamed to _IOT__IOTBASE_*. + (numerous ioctl command macros): Restore `struct' keyword. - * posix/globtest.sh: Add test for this bug. +1999-01-24 Ulrich Drepper <drepper@cygnus.com> - * posix/glob.h: Add GLOB_TILDE_CHECK. - * sysdeps/generic/glob.c: Implement GLOB_TILDE_CHECK. - * posix/globtest.c: Add option T to enable GLOB_TILDE_CHECK. - * posix/globtest.sh: Re-enable test with ~ and non-existing user name. + * ctype/ctype.c (toupper): Correct variable names from last change. + (tolower): Likewise. -1998-07-28 Mark Kettenis <kettenis@phys.uva.nl> +1999-01-23 Ulrich Drepper <drepper@cygnus.com> - * io/sys/statfs.h: Fix typos. - * io/sys/statvfs.h: Fix typos. + * sunrpc/rpc_main.c (open_output): Allow better translation of + error message. + (close_output): Likewise. + * locale/programs/localedef.c: Unify messages. + * malloc/obstack.c: Likewise. + Suggested by Vladimir Michl <Vladimir.Michl@upol.cz>. -1998-07-28 Ulrich Drepper <drepper@cygnus.com> + * grp/putgrent.c (putgrent): Don't insert extra colon. + Patch by Michael Schaefer <michael.schaefer@dlr.de>. - * version.h (VERSION): Bump to 2.0.95. + * nss/nss_files/files-XXX.c (internal_getent): Make sure the buffer has + at least two bytes (not one). Correct buflen parameter type. + * nss/nss_files/files-alias.c (get_next_alias): Make sure buffer + has at least two bytes. Use fgets_unlocked instead of fgets. - * math/Makefile (libm-calls): Remove w_gamma, add w_tgamma. - * math/Versions [GLIBC_2.1]: Add tgamma, tgammaf, and tgammal. - * math/libm-test.c: Split old gamma_test and move half of it in new - function tgamma_test. - * math/bits/mathcalls.h: Add declaration of tgamma. - * sysdeps/libm-ieee754/k_standard.c: Change gamma errors into - tgamma errors. - * sysdeps/libm-ieee754/w_gamma.c: Remove lgamma compatibility code - and rename to ... - * sysdeps/libm-ieee754/w_tgamma.c: ... this. New file. - * sysdeps/libm-ieee754/w_gammaf.c: Remove lgammaf compatibility code - and rename to ... - * sysdeps/libm-ieee754/w_tgammaf.c: ... this. New file. - * sysdeps/libm-ieee754/w_gammal.c: Remove lgammal compatibility code - and rename to ... - * sysdeps/libm-ieee754/w_tgammal.c: ... this. New file. - * sysdeps/libm-ieee754/w_lgamma.c: Add gamma as weak alias. - * sysdeps/libm-ieee754/w_lgammaf.c: Likewise. - * sysdeps/libm-ieee754/w_lgammal.c: Likewise. + * ctype/ctype.h: Don't user __tolower directly for tolower + implementation. Use inline function which tests for the range + first. Make _tolower equivalent to old tolower macros. + Likewise for toupper. + * ctype/ctype.c: Change tolower/toupper definition accordingly. - * stgdio-common/printf-parse.h: Implement handling of j, t, and z - modifiers. - * stdio-common/vfprintf.c: Likewise. + * argp/argp-help.c: Use _tolower instead of tolower if possible. + * inet/ether_aton_r.c: Likewise. + * inet/ether_line.c: Likewise. + * inet/rcmd.c: Likewise. + * intl/l10nflist.c: Likewise. + * locale/programs/ld-collate.c: Likewise. + * locale/programs/linereader.c: Likewise. + * locale/programs/localedef.c: Likewise. + * nis/nss_nis/nis-alias.c: Likewise. + * nis/nss_nis/nis-network.c: Likewise. + * posix/regex.c: Likewise. + * resolv/inet_net_pton.c: Likewise. + * stdio-common/printf_fp.c: Likewise. * stdio-common/vfscanf.c: Likewise. - * manual/stdio.texi: Document new printf/scanf modifiers. - - * sysdeps/unix/sysv/linux/recvmsg.c: Remove alias __recvmsg. - * sysdeps/unix/sysv/linux/sendmsg.c: Remove alias __sendmsg. - -1998-07-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * sunrpc/Makefile (routines): Add clnt_unix and svc_unix. - * sunrpc/Versions: Add new *unix_create functions. - * sunrpc/clnt_gen.c: Add support for RPC over AF_UNIX. - * sunrpc/clnt_unix.c: New, client side of RPC over AF_UNIX. - * sunrpc/key_call.c: Use RPC over AF_UNIX for communication - with keyserv daemon. - * sunrpc/rpc/clnt.h: Add AF_UNIX based RPC function prototypes. - * sunrpc/rpc/svc.h: Likewise. - * sunrpc/svc_authux.c: Copy internal auth flavor if none is given. - * sunrpc/svc_tcp.c: Fix typos. - * sunrpc/svc_unix.c: New, server side of AF_UNIX based RPC. - - * nis/Makefile: Remove currently not working cache functions. - * nis/Versions: Add __nisbind_* functions for rpc.nisd. - * nis/nis_call.c: Rewrite binding to a NIS+ server to reuse - CLIENT handles. - * nis/nis_file.c: Fix memory leaks. - * nis/nis_intern.h: Move internal structs from here ... - * nis/rpcsvc/nislib.h: ... to here for NIS+ server and tools. - * nis/nis_lookup.c: Try at first if last client handle works. - * nis/nis_table.c: Likewise. - * nis/nis_checkpoint.c: Adjust __do_niscall2 parameters. - * nis/nis_mkdir.c: Likewise. - * nis/nis_ping.c: Likewise. - * nis/nis_rmdir.c: Likewise. - * nis/nis_server.c: Likewise. - * nis/nis_util.c: Likewise. - * nis/nis_findserv.c (__nis_findfastest): Little optimization. + * sysdeps/generic/strcasestr.c: Likewise. -1998-07-28 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * math/bits/mathcalls.h: Fix typo. - * stdlib/strtol.c (STRTOL_LONG_MAX): Correct typo in last patch - - define as LONG_MAX. - -1998-07-28 09:31 Ulrich Drepper <drepper@cygnus.com> - - * nscd/connections.c (gr_send_answer): Deal with missing UIO_MAXIOV. - Correct test whether writev send all data. - * nscd/nscd_getgr_r.c (__nscd_getgr_r): Correct test whether readv - received all data. - -1998-07-28 Mark Kettenis <kettenis@phys.uva.nl> - - * nscd/nscd_getgr_r.c (__nscd_getgr_r): Deal with missing UIO_MAXIOV. - -1998-07-28 Mark Kettenis <kettenis@phys.uva.nl> - - * sysdeps/mach/hurd/dl-sysdep.c (open_file): Change assert call to - allow mode to be 0. - (__xstat): New function. - (__fxstat): New function. - (_dl_sysdep_read_whole_file): Removed. The implementation in - `elf/dl-misc.c' now also works for the Hurd. +1999-01-23 Roland McGrath <roland@baalperazim.frob.com> -1998-07-27 22:25 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/gnu/errlist.awk: Add comment. - * sysdeps/generic/glob.c: Handle ~ and ~NAME case correctly. +1999-01-23 Ulrich Drepper <drepper@cygnus.com> - * posix/globtest.sh: Also add directories with NSS modules into the - library path. + * csu/Versions: Add __register_frame_info_table. -1998-07-27 17:42 Ulrich Drepper <drepper@cygnus.com> +1998-12-29 Geoff Keating <geoffk@ozemail.com.au> - * nss/nss_files/files-parse.c (INT_FIELD): Use strtoul instead of - strtol. - (INT_FIELD_MAYBE_NULL): Likewise. + * sunrpc/Versions: Include _authenticate, it's defined in a user + header (in fact, it's the whole contents of rpc/svc_auth.h). - * posix/globtest.c: Rewrite for extended test suite. - * posix/globtest.sh: More tests. - Patch by Brian Wellington <bwelling@anomaly.munge.com>. +1999-01-23 Ulrich Drepper <drepper@cygnus.com> - * stdlib/strtol.c: Don't redefine LONG_MAX, LONG_MIN, and ULONG_MAX. - Use new macro. + * io/ftw.c (process_entry): Initialize flag since not all gcc + versions are smart enough to see that this is no problem. - * sysdeps/generic/readv.c: Correct return type. - * sysdeps/generic/writev.c: Likewise. + * elf/dl-open.c (_dl_init_paths): Check malloc result. -1998-07-24 Gordon Matzigkeit <gord@fig.org> + * csu/Versions: Add __frame_state_for. - * argp/argp-help.c (_GNU_SOURCE): Define, to suck in - program_invocation_name when compiling outside of glibc. +1999-01-22 Ulrich Drepper <drepper@cygnus.com> -1998-07-26 Philip Blundell <philb@gnu.org> + * sysdeps/gnu/errlist.awk: Mark ENOTSUP as alias for EOPNOTSUPP. - * sysdeps/unix/sysv/linux/arm/siglist.c: New file; ARM tools don't - like `@' in .type directives. - - * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Check whether - FE_TONEAREST exists for this platform before using it. - * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Likewise. - - * sysdeps/arm/dl-machine.h (elf_machine_rel): Delete redundant - debugging code. Correct handling of PC24 relocs. + * iconv/gconv_conf.c (add_alias): Convert names to uppercase before + adding into search tree. + (add_module): Likewise. + * iconv/iconv_open.c: Likewise. + * iconv/gconv_db.c: Change all __strcasecmp to strcmp. + * iconv/skeleton.c (gconv_init): Likewise. - * elf/Makefile (ld-map): Only define if versioning is in use. +1999-01-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * sysdeps/arm/fpu_control.h: Move to ... - * sysdeps/arm/fpu/fpu_control.h: ... here. - * sysdeps/generic/fpu_control.h: Made usable as a dummy - implementation. + * elf/Makefile: Make dependencies between test modules explicit. + (preloadtest-preloads): New variable. + ($(objpfx)preloadtest.out): Use it. + (preloadtest-ENV): Use it. - * sysdeps/unix/sysv/linux/arm/brk.c: New file. +1999-01-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * sysdeps/arm/machine-gmon.h: Improved profiling for ARM. - * sysdeps/arm/sysdep.h (CALL_MCOUNT): Replace stub with real - implementation. - * sysdeps/unix/sysv/linux/arm/clone.S: Likewise. - Based on patch from Scott Bambrough and Pat Beirne. + * sysdeps/unix/sysv/linux/arm/Dist: Undo last change. Not needed. - * shlib-versions: Add appropriate definitions for ARM machines. +1999-01-22 Roland McGrath <roland@baalperazim.frob.com> - * README.template: Mention that Linux/ARM with ELF works now. + * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Depend on + $(common-objpfx)errnos.d. -1998-07-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/mach/hurd/Makefile: Fix errnos.h -> bits/errno.h in rules. - * Makerules: Generate compilation rules for all object suffixes, - not only those currently selected, for sources in the current or - object directory. + * manual/errno.texi (Error Codes): Fix ENOSYS description. + Add ENOTSUP. -1998-07-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1999-01-21 Ulrich Drepper <drepper@cygnus.com> - * posix/fnmatch.c (fnmatch): Allow `/' in character class. Don't - match `/' in filename by a character class if requested. - * posix/testfnm.c: Rewritten. - * posix/testfnm.args: Removed. + * elf/Makefile: Add missing dependency for preloadtest binary. -1998-07-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1999-01-21 Ulrich Drepper <drepper@cygnus.com> - * posix/annexc.c (limits_syms): Add missing symbols. - (stdarg_syms): Move va_list to `maybe' list. - (stdio_syms): Add FOPEN_MAX. + * version.h (VERSION): Bump to 2.0.111. -1998-07-25 Ulrich Drepper <drepper@cygnus.com> + * elf/Makefile (distribute): Add test module sources. - * sysdeps/i386/bits/byteswap.h (__bswap_64): Change __v to __w to - prevent conflict with __bswap_32. + * sysdeps/unix/sysv/linux/sys/sysmacros.h: Pretty print. + * sysdeps/unix/sysv/linux/Dist: Remove sys/sysmacros.h. + * sysdeps/unix/sysv/linux/Makefile: Remove sys/sysmacros.h. + * posix/Makefile (headers): Add sys/sysmacros.h. + * posix/sys/types.h: Include sys/sysmacros.h for __USE_BSD. + * sysdeps/generic/sys/sysmacros.h: New file. + * sysdeps/mach/hurd/xmknod.c: Include sys/types.h and remove minor and + major definition. -1998-07-24 21:29 Ulrich Drepper <drepper@cygnus.com> + * elf/dl-close.c: Rewrite the way adding to the global scope works + to handle error cases better than the last change. + The l_global flag is now only set when the object is actually + counted in the global scope list. + * elf/dl-deps.c: Likewise. + * elf/dl-open.c: Likewise. - * nscd/connections.c (pw_send_answer): Make one single writev call. - (gr_send_answer): Do the work in two writev calls. This change - changes the protocol. +1999-01-20 Philip Blundell <pb@nexus.co.uk> - * nscd/nscd_getgr_r.c (__nscd_getgr_r): Adjust for protocol change. - We now can do the job using two readv calls. + * sysdeps/unix/sysv/linux/arm/sigaction.c: New file. -1998-07-24 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/arm/vfork.S: New file. + * sysdeps/unix/sysv/linux/arm/Dist: Add vfork.S. - * sysdeps/generic/glob.c (glob): Fix problems with handle tilde. - Reported by Brian Wellington <bwelling@anomaly.munge.com>. + * sysdeps/unix/sysv/linux/arm/clone.S: Optimise a little, support + 26-bit machines correctly and fix check for returned errors. - * elf/elf.h: Really define Elf64_Verdef, Elf64_Verdaux, Elf64_Verneed, - and Elf64_Vernaux. +1999-01-21 Ulrich Drepper <drepper@cygnus.com> -1998-07-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/unix/sysv/linux/i386/clone.S: Micro-optimization. - * configure.in: Recognize pgcc as compiler. - Reported by sauron@angband.ee.ualberta.ca. + * sysdeps/unix/sysv/linux/i386/vfork.S: Add back the first + implementation now that the syscall is back in 2.2.0. -1998-07-02 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * elf/Makefile: Change rule to make test module so that they are + compiled using -fPIC. + * elf/testobj1.c: Add missing prototype. + * elf/testobj1_1.c: Likewise. + * elf/testobj2.c: Likewise. + * elf/testobj3.c: Likewise. + * elf/testobj4.c: Likewise. + * elf/testobj5.c: Likewise. + * elf/testobj6.c: Likewise. - * nscd/dbg_log.c: Make sure, that debug message is really written. - * nscd/nscd.c: Don't use daemon(), set signal handler after fork. +1999-01-20 Ulrich Drepper <drepper@cygnus.com> -1998-07-23 Ulrich Drepper <drepper@cygnus.com> + * elf/Makefile (tests): Add loadfail. + Add rules to build failobj.so. + * elf/loadfail.c: New file. Test of failing to load object with + RTLD_GLOBAL set. + * elf/failobj.c: New file. Object which will fail to load. - * sysdeps/generic/glob.c: Fix two problems with GLOB_DOOFFS. - Reported by bwelling@anomaly.munge.com [PR libc/720]. + * elf/dl-close.c (_dl_close): Fix last patch (cnt is unsigned). - * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in - SVID more for gamma(x) with x integer <= 0. - Reported by Stephen L Moshier <moshier@mediaone.net>. + * elf/dl-close.c: Handle failed loads which would have gone in the + global scope correctly. - * math/libm-test.c (gamma_test): Add test for gamma(-1) and gamma(0). - Correct test for SVID version of gamma. + * elf/testobj1.c: Include stdlib.h to get NULL defined. + * elf/testobj2.c: Likewise. + * elf/testobj3.c: Likewise. + * elf/testobj4.c: Likewise. + * elf/testobj5.c: Likewise. - * sysdeps/libm-ieee754/w_gamma.c: Use correct matherr call in SVID - emulation mode. - * sysdeps/libm-ieee754/w_gammaf.c: Likewise. - * sysdeps/libm-ieee754/w_gammal.c: Likewise. + * iconvdata/Makefile (modules): Add SAMI-WS2 and ISO-IR-197. + * iconvdata/gconv-modules: Add entries for above charsets. + * iconvdata/iso-ir-197.c: New file. + * iconvdata/sami-ws2.c: New file. - * string/string.h: Don't use string function optimization for C++ - as long as we use macros. + * sysdeps/unix/sysv/linux/vfork.c: Once again use generic version. -1998-07-22 23:47 Ulrich Drepper <drepper@cygnus.com> +1999-01-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * posix/fnmatch.c: Fix completely broken range matching. + * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.d): Fix + generation of dependency list to make it work with newer versions + of gcc. -1998-07-22 23:19 Ulrich Drepper <drepper@cygnus.com> +1999-01-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * sysdeps/unix/sysv/linux/bits/siginfo.h: Fix typo. + * Makerules (build-module): New macro, moved from... + * elf/Makefile (build-module): ... here. + * iconvdata/Makefile (build-module): ... and here. -1998-07-22 Ulrich Drepper <drepper@cygnus.com> +1999-01-20 Ulrich Drepper <drepper@cygnus.com> - * Makefile (headers2_0): Add sigstack.h. + * sysdeps/alpha/Versions: Add __atan2 for libm and GLIBC_2.0. - * sysdeps/unix/sysv/linux/alpha/getrusage.S: Also define __getrusage. + * elf/Makefile (tests): Add preloadtest. Add rules to build more test + modules and the preloadtest binary. + * elf/loadtest.c (TEST_ROUNDS): Increase to 1000. + (testobjs): Add more modules. + (tests): Add entries for new modules. + * elf/preloadtest.c: New file. Test for LD_PRELOAD. + * elf/testobj1.c: Add 'preload' function. + * elf/testobj2.c: Likewise. + * elf/testobj3.c: Likewise. + * elf/testobj4.c: New file. + * elf/testobj5.c: New file. + * elf/testobj6.c: New file. -1998-07-22 11:43 Ulrich Drepper <drepper@cygnus.com> +1999-01-19 Ulrich Drepper <drepper@cygnus.com> - * libio/fileops.c (_IO_file_sync): Don't lock stream here. - Reported by Thorsten Kukuk. + * elf/dl-object.c (_dl_new_object): Micro-optimization. - * string/strcoll.c: Correct problem with empty strings. - * string/strxfrm.c: Likewise. - Reported by vbzoli@hbrt.hu [PR libc/719]. + * elf/restest1.c: New file. Symbol resolution test. + * elf/testobj1_1.c: New file. Module used in this test. + * elf/Makefile: Add rules for restest1 generation and execution. -1998-07-21 18:40 Zack Weinberg <zack@rabi.phys.columbia.edu> + * elf/dl-object.c (_dl_new_object): l_local_scope really gets + assigned the local scope. - * sysdeps/posix/tempname.c: Use the random-name generator - already used by mktemp/mkstemp. Honor TMPDIR. + * posix/test-vfork.c (main): Improve test to check for correct + exit code. -1998-07-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/i386/vfork.S: Rewrite to use clone. - * hurd/Makefile (routines): Remove cthreads. - * sysdeps/mach/hurd/Makefile (sysdep_routines): Add cthreads. + * sysdeps/unix/sysv/linux/bits/sched.h: Define CLONE_VFORK. - * sysdeps/unix/sysv/linux/i386/Dist: Add missing files. + * timezone/zdump.c: Update from tzcode1999a. + * timezone/zic.c: Likewise. - * manual/Makefile (distribute): Add summary.texi. +1999-01-19 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-07-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * math/tgmath.h: Rename nextafterx to nexttoward. - * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Fix typo. +1999-01-19 Ulrich Drepper <drepper@cygnus.com> -1998-07-21 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Add baud rates > + 460800. + * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise. + * sysdeps/unix/sysv/linux/bits/termios.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise. - * configure.in: Correct expression to match gcc version. + * math/Makefile (libm-calls): Rename s_nextafterx to s_nexttoward. + * math/Versions: Likewise. + * math/bits/mathcalls.h: Likewise. + * manual/arith.texi: Likewise. + * sysdeps/libm-ieee754/s_nextafterl.c: Likewise. + * sysdeps/libm-ieee754/s_nextafterx.c: Replaced by... + * sysdeps/libm-ieee754/s_nexttoward.c: New file. + * sysdeps/libm-ieee754/s_nextafterxf.c: Replaced by... + * sysdeps/libm-ieee754/s_nexttowardf.c: New file. + * sysdeps/libm-ieee754/s_nextafterxl.c: Replaced by... + * sysdeps/libm-ieee754/s_nexttowardl.c: New file. + + * time/Makefile (routines): Removed strfxtime. + * time/Versions: Likewise. + * time/strfxtime.c: Removed. + * time/time.h: Remove _LOCALTIME, _NO_LEAP_SECONDS, struct tmx, + mkxtime, and strfxtime. + +1999-01-18 Ulrich Drepper <drepper@cygnus.com> + + * iconv/gconv_conf.c (add_module): Complete rewrite. Use cleverer + data structures and avoid creating intermediate representations + first. Rewrite also all helper functions. + * iconv/gconv_db.c (find_derivation): Use new data structure for + module database. + * iconv/Versions: Remove __gconv_nmodules. + * iconv/iconv_prog.c: Rewrite generation of charset name list to + use new data structure. + * iconv/gconv_int.h (struct gconv_module): Add new elements for + database data structure. + (__gconv_modules_db): Update type. + (__gconv_transform_dummy): Removed. + * iconv/gconv_builtin.h: Remove dummy transformation. + * iconv/gconv_simple.c: Remove __gconv_transform_dummy. + + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove + __syscall_vfork, add vfork. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - * configure.in: Move test for available port after machine - variable is defined. +1999-01-18 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-07-21 16:08 Zack Weinberg <zack@rabi.phys.columbia.edu> + * posix/test-vfork.c: Include <sys/wait.h> for wait declaration. - * sysdeps/unix/sysv/linux/sendmsg.c: If passing a SCM_CREDS - message, copy the buffer and resize it to what the kernel - wants to see. Bug found and analyzed by Thorsten Kukuk - <kukuk@weber-eb.uni-paderborn.de> +1999-01-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> -1998-07-20 Jose M. Moya <josem@gnu.org> + * manual/ctype.texi: Fix cross refs and typos. + * manual/charset.texi: Likewise. - * hurd/hurdmsg.c (_S_msg_get_env_variable): Copy getenv return - value. +1999-01-18 Ulrich Drepper <drepper@cygnus.com> -1998-07-20 Roland McGrath <roland@baalperazim.frob.com> + * Rules: Add dummy.c and dummy.o to common-generated. + Patch by Andreas Schwab. - * sysdeps/mach/hurd/getdomain.c: New file. - * sysdeps/mach/hurd/setdomain.c: New file. +1999-01-18 10:07 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu> -1998-07-20 Roland McGrath <roland@baalperazim.frob.com> + * manual/libc-texinfo.sh: Use tsort.awk. + * manual/tsort.awk: New file. + * manual/Makefile (minimal-dist): Add tsort.awk. + (distribute): Remove generated files: summary.texi, + stamp-summary, chapters.texi, top-menu.texi, and texis. - * sysdeps/unix/bsd/sigsuspend.c: Define __sigsuspend with sigsuspend as - a weak alias. +1999-01-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> -1998-07-20 18:23 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/m68k/vfork.S: Test return value after + fork syscall. - * libio/libioP.h: Use __PMT in typedef. - * libio/strfile.h: Likewise. +1999-01-17 Ulrich Drepper <drepper@cygnus.com> -1998-07-20 18:20 Ulrich Drepper <drepper@cygnus.com> + * wctype/wcfuncs.c: Declare __ctype32_b. - * sysdeps/unix/sysv/linux/gethostname.c: Return ENAMETOOLONG if - buffer is too small. - Reported by John Levon <j_levon@ncc.co.uk>. + * elf/Makefile (test-modules): Add test-modules. -1998-07-20 17:09 Ulrich Drepper <drepper@cygnus.com> + * stdlib/canonicalize.c (canonicalize): Update write pointer after + realloc. Minor optimizations. - * shlib-versions: Remove definition for libSegFault. +1999-01-16 Ulrich Drepper <drepper@cygnus.com> - * memory.texi: Comment out the relocating allocator description. - * manual/signal.texi: Remove reference to relocating allocator. - * manual/top-menu.texi: Regenerated. + * po/no.po: Update from norwegian translation team. - * posix/fnmatch.c: Implement [: :] and change to recognize - ^ as negation only when not _POSIXLY_CORRECT. + * iconvdata/iso-2022-jp.c: Correct handling of G2 set. + Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>. - * sysdeps/generic/glob.c: Add several optimizations. + * elf/Makefile (tests): Add loadtest. + Add rules to generate test modules. + * Makeconfig (+link): Add $(LDFLAGS-$(@F)) to command line. + * elf/loadtest.c: New file. + * elf/testobj1.c: New file. + * elf/testobj2.c: New file. + * elf/testobj3.c: New file. - * posix/glob.h: Undefine __PMT to prevent warnings. - Reported by Roland McGrath. + * elf/dl-close.c: Correct removing module from global list. - * posix/regex.c: Define namespace macros only for _LIBC. + * elf/dl-open.c: Add debugging code. - * sysdeps/arm/dl-machine.h: Fix typo. + * include/string.h: Add __rawmemchr prototype. + * string/Makefile (routines): Add rawmemchr. + * string/Versions [GLIBC_2.1]: Add __rawmemchr and rawmemchr. + * string/string.h: Add prototype for rawmemchr. + * string/bits/string2.h: Optimize strchr with rawmemchr. + * sysdeps/generic/rawmemchr.c: New file. + * sysdeps/i386/rawmemchr.c: New file. + * sysdeps/i386/i486/bits/string.h: Add rawmemchr inline code. + Optimize strchr with rawmemchr. - * sysdeps/unix/sysv/sysv4/solaris2/sigpending.c: New file. - * sysdeps/unix/sysv/sysv4/solaris2/sigstack.c: New file. - * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: New file. - * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: Add sigaltstack, - sigpending, sigqueue, and sigtimedwait. - * sysdeps/unix/sysv/sysv4/solaris2/sparc/sparc32/syscall.S: New file. + * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _LFS_LARGEFILE, + _LFS64_LARGEFILE, and _LFS64_STDIO for Unix98. - * timezone/leapseconds: Update from tzdata1998f. +1999-01-14 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-07-18 Mark Kettenis <kettenis@phys.uva.nl> + * nis/nis_error.c (nis_errlist): Fix capitilasation. - * stdio/stdio.h [__USE_GNU]: Add prototype for fputs_unlocked. - * stdio/Versions [GLIBC_2.1]: Add fputs_unlocked. - * libio/stdio.h: Fix typo. +1999-01-15 Ulrich Drepper <drepper@cygnus.com> -1998-07-19 Roland McGrath <roland@baalperazim.frob.com> + * posix/Makefile (tests): Add test-vfork. + * posix/test-vfork.c: New file by Andreas Schwab. - * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): #if 0 out the - magic memobj port arg parsing stuff. Fix it someday when we are ready - to really use it. - (_dl_sysdep_output): New function, modified from _dl_sysdep_error. - (_dl_sysdep_error, _dl_sysdep_message, _dl_sysdep_fatal): Removed. + * manual/charset.texi: More misspelling fixes. + Reported by Tom Tromey <tromey@cygnus.com>. + Improve mbsinit example. -1998-07-19 Roland McGrath <roland@baalperazim.frob.com> + * sysdeps/unix/sysv/linux/vfork.c: Removed. + * sysdeps/unix/sysv/linux/i386/vfork.S: New file. - * stdio/fputs.c: Add fputs_unlocked as weak alias for fputs. +1999-01-14 Ulrich Drepper <drepper@cygnus.com> -1998-07-19 Roland McGrath <roland@baalperazim.frob.com> + * Make-dist: If file is generated but still distributed the later + is correct. - * sysdeps/posix/sigsuspend.c: Define __sigsuspend with sigsuspend as - a weak alias. - * sysdeps/mach/hurd/sigsuspend.c: Likewise. - * sysdeps/generic/sigsuspend.c: Likewise. + * sysdeps/unix/sysv/linux/arm/Dist: Add sys/user.h. -1998-07-19 Roland McGrath <roland@baalperazim.frob.com> + * manual/Makefile (examples): Filter out the example code from + add-ons. - * sysdeps/mach/hurd/i386/sigcontextinfo.h: New file. + * version.h (VERSION): Bump to 2.0.110. -1998-07-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * nis/nis_error.c (nis_errlist): Fix typo in string. - * Makerules (map-file): Don't use $(wildcard) to find the - generated version script, instead look in $(version-maps). - ($(common-objpfx)libc.so): Only depend on libc.map if versioning - is used. - * extra-lib.mk ($(objpfx)$(lib).so): Only depend on version script - if versioning is used. Don't use $(wildcard) to find the - generated version script, instead look in $(verson-maps). + * misc/regexp.h: Add restrict to function declarations. -1998-07-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-12-30 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/generic/segfault.c: Rename GET_EIP to GET_PC. Remove - unused function handle. - * sysdeps/generic/sigcontextinfo.h: Rename GET_EIP to GET_PC. - * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise. - * debug/catchsegv.sh: Fix argument processing, quoting and various - typos. Put the crash info always in the current directory. Find - program in $PATH if it contains no directory component. - * Makerules (install-lib.so-versioned, - install-lib.so-unversioned): New variables. - (install-lib-nosubdir): Depend on unversioned libs in - slibdir, not libdir. + Patche by Ralf Baechle <ralf@gnu.org>: + * sysdeps/mips/sys/regdef.h: New file, enhanced versions of + deleted linux specific files. -1998-07-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-12-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * Make-dist (+tsrcs): Remove references to %-map variables and - *.map files. Add Versions in subdirs. - * Makerules (distinfo-vars): Don't write out %-map variables. + * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: New file. -1998-07-20 13:55 Ulrich Drepper <drepper@cygnus.com> +1999-01-14 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * inet/protocols/rwhod.h: Remove definition of _PATH_RWHODIR. - Include <paths.h> instead. - * sysdeps/generic/paths.h: Define _PATH_RWHODIR. - * sysdeps/unix/sysv/linux/paths.h: Likewise. - Reported by Dale Scheetz <dwarf@polaris.net>. + * misc/regexp.h (compile): Correct end-of-line check, fix typo in + docu. Reported by Kalle Olavi Niemitalo <kalle@Niemitalo.fi>. -1998-07-17 21:44 Ulrich Drepper <drepper@cygnus.com> +1999-01-14 Ulrich Drepper <drepper@cygnus.com> - * catgets/open_catalog.c: Strictly check whether catalog file is - larger enough for the data. Reported by Andries.Brouwer@cwi.nl. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add vfork. + Patch by Richard Henderson <rth@twiddle.net>. -1998-07-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1999-01-13 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: New file. + * manual/nss.texi (NSS Module Interface): Document requirement on errno + value after unsuccessful call of module function. - * sysdeps/unix/sysv/linux/m68k/socket.S: Support NO_WEAK_ALIAS. + * sysdeps/unix/sysv/linux/syscalls.list: Add __syscall_fork alias. + * sysdeps/unix/sysv/linux/vfork.c: Use vfork syscall if available, + otherwise use fork. + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add vfork. + * sysdeps/unix/sysv/linux/sparc32/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc64/syscalls.list: Likewise. -1998-07-17 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/i386/sysdep.h: Correct handling of + INLINE_SYSCALL for syscall without parameters. - * debug/catchsegv.sh: Fix several stupid bugs. +1999-01-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * shlib-versions: Define version for libSegFault. - * debug/Makefile: Replace shared lib version number while rewriting. + * sysdeps/unix/make-syscalls.sh: Set shared-only-routines for + versioned syscalls. -1998-07-17 Mark Kettenis <kettenis@phys.uva.nl> + * Rules: Remove rules for empty.* again. - * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Add sanity check. - Suggested by Roland McGrath. +1999-01-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> -1998-07-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/unix/sysv/linux/m68k/vfork.S: New file. - * timezone/Makefile: Remove '-L (leapseconds)' for testdata - generation to control environment. +1999-01-13 Ulrich Drepper <drepper@cygnus.com> -1998-07-17 09:21 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/i386/bits/string.h: Correct several bugs in various + functions which never worked. + Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>. - * sysdeps/unix/sysv/sysv4/solaris2/bits/signum.h: Define SIG_HOLD. - Patch by John Tobey <jtobey@banta-im.com>. +1999-01-12 Ulrich Drepper <drepper@cygnus.com> - * manual/llio.texi: Document readv/writev and mmap functions. - Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>. + * manual/charset.texi: Add many corrections. + Patch by Benjamin Kosnik <bkoz@cygnus.com>. -1998-07-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1999-01-12 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * manual/Makefile (texis): Depend on texis.awk. - (nonexamples): Filter out add-on chapters. - (chapters.% top-menu.%): Depend on libc-texinfo.sh. - (stamp-summary): Depend on $(texis) except summary.texi. - ($(inst_infodir)/libc.info): Simplify command. - * manual/libc-texinfo.sh: Cleaned up to use less temporary files. - Fix the generation of the detailed node listing to make it - complete again. - * manual/math.texi: Fix signature of lgamma_r. + * manual/charset.texi: Fix some typos. -1998-07-16 23:06 Ulrich Drepper <drepper@cygnus.com> +1999-01-12 Ulrich Drepper <drepper@cygnus.com> - * debug/Makefile (distribute): Add sigcontextinfo.h. - Add rules to generate and install catchsegv. - * debug/catchsegv.sh: New file. + * login/programs/pt_chown.c (main): Update copyright year. -1998-07-16 Mark Kettenis <kettenis@phys.uva.nl> +1999-01-11 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/mach/hurd/dl-sysdep.c (open_file): Return a Hurd I/O - port instead of a Mach memory object. - (__open): Likewise. - (__libc_read): New function. - (__mmap): Change to take a Hurd I/O port instead of a Mach memory - object. + * sysdeps/posix/tempname.c: Open files with mode 0600. -1998-07-16 20:01 Ulrich Drepper <drepper@cygnus.com> + * ctype/Versions [GLIBC_2.0]: Export __ctype32_b. + * include/wctype.h: Declare __iswctype. + * stdio-common/vfscanf.c (__vfscanf): Use __iswspace instead of + iswspace. + * wctype/Makefile (routines): Add wcextra_l. + * wctype/wcextra.c (iswblank): Implement function here and don't use + __iswctype. + (__iswblank_l): Move definition to... + * wctype/wcextra_l.c: ...here. New file. + * wctype/wcfuncs.c: Really implement functions and don't call + __iswctype or __towctrans. + * wctype/wctype.h: Change isw* and tow* macros. Don't call + __iswctype or __towctrans. Instead optimize constant argument case. - * debug/Makefile (routines): Add backtracesymsfd. - Add rules to generate libSegFault. - * debug/Versions: Add __backtrace_symbols_fd and backtrace_symbols_fd. - * debug/execinfo.h: Declare backtrace_symbols_fd. - * sysdeps/generic/backtracesymsfd.c: New file. - * sysdeps/generic/elf/backtracesymsfd.c: New file. - * sysdeps/generic/segfault.c: New file. - * sysdeps/generic/sigcontextinfo.h: New file. - * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: New file. + * iconv/gconv.h: Fix typos. - * sysdeps/generic/elf/backtracesyms.c: Remove unneeded +. + * iconv/skeleton.c: Fix typos. Optimize init function a bit. + Correctly emit escape sequence to return to initial state in + conversion function. -1998-07-16 19:27 Ulrich Drepper <drepper@cygnus.com> + * iconvdata/iso-2022-jp.c (gconv_init): Correctly initialize + max_needed_to element. - * elf/rtld.c (process_envvars): Also recognize on as LD_BIND_NOW value. - (process_envvars): Append .PID to LD_DEBUG_OUTPUT file name. + * manual/mbyte.texi: Removed. This is now described in charset.texi. + * manual/charset.texi: New file. + * manual/Makefile (chapters): Replace mbyte by charset. + * manual/ctype.texi: Document wide character functions. + * manual/intro.texi: Fix reference to mbyte chapter. + * manual/lang.texi: Likewise. + * manual/locale.texi: Likewise. + * manual/stdio.texi: Likewise. + * manual/string.texi: Fix @node line for new charset chapter. + * manual/libc.texinfo (UPDATED): Updated. Also update copyright years. + * manual/memory.texi (savestring): Optimize code to give a good + example. -1998-07-16 13:44 Ulrich Drepper <drepper@cygnus.com> + * manual/filesys.texi: Fix wording. Patches by Jim Meyering. - * argp/argp-fmtstream.c: Fix warnings introduced in last change. - * assert/assert-perr.c: Likewise. - * assert/assert.c: Likewise. - * gconv_conf.c: Likewise. - * libio/iofputs_u.c: Likewise. - * malloc/mtrace.c: Likewise. - * malloc/obstack.c: Likewise. - * misc/error.c: Likewise. - * misc/syslog.c: Likewise. - * stdio-common/asprintf.c: Likewise. - * stdio-common/dprintf.c: Likewise. - * stdio-common/getw.c: Likewise. - * stdio-common/putw.c: Likewise. - * stdio-common/snprintf.c: Likewise. - * stdio-common/sprintf.c: Likewise. - * stdio-common/sscanf.c: Likewise. - * sunrpc/svc_simple.c: Likewise. - * sysdeps/generic/abort.c: Likewise. - - * rt/aio_cancel.c: Don't define ECANCELED here. - * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED correctly. - -1998-07-16 10:23 Ulrich Drepper <drepper@cygnus.com> - - * argp/argp-fmtstream.c: Unify names of used global functions. - * argp/argp-help.c: Likewise. - * assert/assert-perr.c: Likewise - * assert/assert.c: Likewise - * dirent/scandir.c: Likewise - * dirent/scandir64.c: Likewise - * dirent/versionsort.c: Likewise - * dirent/versionsort64.c: Likewise - * gmon/bb_exit_func.c: Likewise. - * gmon/gmon.c: Likewise. - * grp/initgroups.c: Likewise. - * iconv/gconv_conf.c: Likewise. - * inet/getnameinfo.c: Likewise. - * inet/getnetgrent_r.c: Likewise. - * inet/inet_ntoa.c: Likewise. - * inet/rcmd.c: Likewise. - * inet/rexec.c: Likewise. - * inet/ruserpass.c: Likewise. - * io/fts.c: Likewise. - * io/ftw.c: Likewise. - * io/ftw64.c: Likewise. - * io/getdirname.c: Likewise. - * io/getwd.c: Likewise. - * io/lockf.c: Likewise. - * libio/iofdopen.c: Likewise. - * libio/iopopen.c: Likewise. - * login/utmp_daemon.c: Likewise. - * malloc/mtrace.c: Likewise. - * malloc/obstack.c - * misc/daemon.c: Likewise. - * misc/efgcvt_r.c: Likewise. - * misc/err.c: Likewise. - * misc/error.c: Likewise. - * misc/fstab.c: Likewise. - * misc/getpass.c: Likewise. - * misc/getttyent.c: Likewise. - * misc/mntent_r.c: Likewise. - * misc/search.h: Likewise. - * misc/syslog.c: Likewise. - * nscd/nscd_getgr_r.c: Likewise. + * nscd/nscd_getgr_r.c: Include stdint.h to get uintptr_t definition. * nscd/nscd_getpw_r.c: Likewise. - * posix/getpgrp.c: Likewise. - * posix/wordexp.c: Likewise. - * pwd/fgetpwent_r.c: Likewise. - * pwd/getpw.c: Likewise. - * resolv/herror.c: Likewise. - * resolv/res_init.c: Likewise. - * shadow/fgetspent_r.c: Likewise. - * shadow/lckpwdf.c: Likewise. - * signal/sigrelse.c: Likewise. - * stdio-common/asprintf.c: Likewise. - * stdio-common/dprintf.c: Likewise. - * stdio-common/getw.c: Likewise. - * stdio-common/putw.c: Likewise. - * stdio-common/snprintf.c: Likewise. - * stdio-common/sprintf.c: Likewise. - * stdio-common/sscanf.c: Likewise. - * stdlib/lrand48_r.c: Likewise. - * stdlib/mrand48_r.c: Likewise. - * string/argz-replace.c: Likewise. - * string/envz.c: Likewise. - * sunrpc/auth_des.c: Likewise. - * sunrpc/auth_unix.c: Likewise. - * sunrpc/bindrsvprt.c: Likewise. - * sunrpc/clnt_gen.c: Likewise. - * sunrpc/clnt_perr.c: Likewise. - * sunrpc/clnt_simp.c: Likewise. - * sunrpc/clnt_tcp.c: Likewise. - * sunrpc/clnt_udp.c: Likewise. - * sunrpc/get_myaddr.c: Likewise. - * sunrpc/key_call.c: Likewise. - * sunrpc/netname.c: Likewise. - * sunrpc/openchild.c: Likewise. - * sunrpc/pmap_rmt.c: Likewise. - * sunrpc/rpc_dtable.c: Likewise. - * sunrpc/rtime.c: Likewise. - * sunrpc/svc_run.c: Likewise. - * sunrpc/svc_simple.c: Likewise. - * sunrpc/svc_tcp.c: Likewise. - * sunrpc/svc_udp.c: Likewise. - * sunrpc/svcauth_des.c: Likewise. - * sunrpc/xdr_array.c: Likewise. - * sunrpc/xdr_rec.c: Likewise. - * sunrpc/xdr_ref.c: Likewise. - * sunrpc/xdr_stdio.c: Likewise. - * sysdeps/generic/abort.c: Likewise. - * sysdeps/generic/dl-sysdep.c: Likewise. - * sysdeps/generic/fstatfs64.c: Likewise. - * sysdeps/generic/ftruncate64.c: Likewise. - * sysdeps/generic/getrlimit64.c: Likewise. - * sysdeps/generic/glob.c: Likewise. - * sysdeps/generic/prof-freq.c: Likewise. - * sysdeps/generic/putenv.c: Likewise. - * sysdeps/generic/statfs64.c: Likewise. - * sysdeps/generic/ttyname_r.c: Likewise. - * sysdeps/generic/utmp_file.c: Likewise. - * sysdeps/generic/vlimit.c: Likewise. - * sysdeps/generic/vtimes.c: Likewise. - * sysdeps/posix/cuserid.c: Likewise. - * sysdeps/posix/euidaccess.c: Likewise. - * sysdeps/posix/mkstemp.c: Likewise. - * sysdeps/posix/mktemp.c: Likewise. - * sysdeps/posix/pread.c: Likewise. - * sysdeps/posix/pread64.c: Likewise. - * sysdeps/posix/profil.c: Likewise. - * sysdeps/posix/pwrite.c: Likewise. - * sysdeps/posix/pwrite64.c: Likewise. - * sysdeps/posix/sigblock.c: Likewise. - * sysdeps/posix/sigpause.c: Likewise. - * sysdeps/posix/ttyname.c: Likewise. - * sysdeps/posix/ttyname_r.c: Likewise. - * sysdeps/posix/waitid.c: Likewise. - * sysdeps/unix/getlogin_r.c: Likewise. - * sysdeps/unix/grantpt.c: Likewise. - * sysdeps/unix/rewinddir.c: Likewise. - * sysdeps/unix/sysv/linux/gethostid.c: Likewise. - * sysdeps/unix/sysv/linux/getpt.c: Likewise. - * sysdeps/unix/sysv/linux/if_index.c: Likewise. - * sysdeps/unix/sysv/linux/ptsname.c: Likewise. - * sysdeps/unix/sysv/linux/sendmsg.c: Likewise. - * sysdeps/unix/sysv/linux/statvfs.c: Likewise. - * sysdeps/unix/sysv/linux/ttyname.c: Likewise. - * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. - * sysdeps/unix/sysv/linux/ulimit.c: Likewise. - * sysdeps/unix/sysv/linux/unlockpt.c: Likewise. - * sysvipc/sys/shm.h: Likewise. - * time/ctime_r.c: Likewise. - * time/strptime.c: Likewise. - * wcsmbs/mbrlen.c: Likewise. - * wcsmbs/wcsdup.c: Likewise. - * wcsmbs/wcsxfrm.c: Likewise. - * wctype/wcfuncs.c: Likewise. - - * sysdeps/unix/sysv/linux/i386/socker.S: Change to honor NO_WEAK_ALIAS. - * sysdeps/unix/sysv/linux/accept.S: Don't generate __ name. - * sysdeps/unix/sysv/linux/bind.S: Likewise. - * sysdeps/unix/sysv/linux/getsockname.S: Likewise. - * sysdeps/unix/sysv/linux/listen.S: Likewise. - * sysdeps/unix/sysv/linux/recvfrom.S: Likewise. - * sysdeps/unix/sysv/linux/sendto.S: Likewise. - * sysdeps/unix/sysv/linux/setsockopt.S: Likewise. - - * grp/fgetgrent_r.c: Use explicit locking of the stream. - - * elf/Makefile (rtld-routines): Add dl-environ. - * sysdeps/generic/dl-sysdep.c: Move _dl_next_ld_env_entry and unsetenv - to... - * sysdeps/generic/dl-environ.c: here. New file. - - * libio/Makefile [REENTRANT] (routines): Add iofputs_u. - * libio/Versions: Add fputs_unlocked. - * libio/iofputs_u.c: New file. - * libio/stdio.h: Add prototype for fputs_unlocked. - - * sunrpc/rpc/auth.h: Use __PMT instead of __P in type definitions. - * sunrpc/rpc/clnt.h: Likewise. - * sunrpc/rpc/pmap_clnt.h: Likewise. - * sunrpc/rpc/svc.h: Likewise. - * sunrpc/rpc/xdr.h: Likewise. - - * sysdeps/i386/memchr.S: Correct for more strict gas. - * sysdeps/i386/fpu/bits/mathinline.h: Likewise. - * sysdeps/libm-i387/i686/s_fdim.S: Likewise. - * sysdeps/libm-i387/i686/s_fdimf.S: Likewise. - * sysdeps/libm-i387/i686/s_fdiml.S: Likewise. - -1998-07-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * configure.in: Change message for binutils version from - 2.8.1.0.17->2.8.1.0.23. - -1998-07-15 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Define LOC. - Patch by John Tobey <jtobey@banta-im.com>. - -1998-07-14 Ulrich Drepper <drepper@cygnus.com> - - * sunrpc/auth_unix.c (authunix_create_default): Use __sysconf - instead of sysconf. - -1998-07-14 19:39 Ulrich Drepper <drepper@cygnus.com> - - * stdio-common/vfscanf.c (ungetc): Use _IO_sputbackc, not _IO_ungetc. - [_USE_IN_LIBIO] (encode_error): Free cancelation handler. - (conv_error): Likewise. - (input_error): Likewise. - (memory_error): Likewise. - -1998-07-12 Mark Kettenis <kettenis@phys.uva.nl> - - * sysdeps/mach/hurd/dl-sysdep.c: Bring in sync with generic - implementation. Include <entry.h>. Replace references to symbol - _start with macro ENTRY_POINT. - (__libc_uid): Remove. - (__libc_multiple_libcs): New variable. - (__libc_stack_end): New variable. - (_dl_hwcap_mask): New variable. - (_dl_important_hwcaps): New function. - (_dl_show_auxv): Mark internal. - -1998-07-14 Mark Kettenis <kettenis@phys.uva.nl> - - * mach/Makefile: Create target directory before generating - mach-syscalls.mk. - * mach/Machrules: Invoke awk using AWK variable. Create target - directory before generating server stubs. - -1998-07-14 Ulrich Drepper <drepper@cygnus.com> - - * wcsmbs/wcslen.c (__wcslen): Fix comment. - - * configure.in: Allow egcs-2.92. - -1998-07-10 18:14 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * manual/Makefile: Overhauled. Generate libc.texinfo from the - chapter files. Exorcise the chapters, chapters-incl mess. - Support inserting doc chapters from add-on modules. - (chapters): New variable. - (add-chapters): New variable. - (appendices): New variable. - (libc.texinfo): New target. - (clean): Fix bugs. - (realclean): Fix bugs. - - * manual/texis.awk: New file. - * manual/libc-texinfo.sh: New file. - * manual/libc-texinfo.in: New file. - - * manual/conf.texi (top @node): Remove next pointer. - * manual/lang.texi (top @node): Remove prev pointer. - - * manual/job.texi (top @node): Add explicit pointers. - * manual/message.texi (top @node): Add explicit pointers. - * manual/nss.texi (top @node): Add explicit pointers. - * manual/process.texi (top @node): Add explicit pointers. - * manual/startup.texi (top @node): Add explicit pointers. - * manual/terminal.texi (top @node): Add explicit pointers. - * manual/users.texi (top @node): Add explicit pointers. - - * manual/arith.texi: Add %MENU% tag. - * manual/conf.texi: Add %MENU% tag. - * manual/contrib.texi: Add %MENU% tag. - * manual/ctype.texi: Add %MENU% tag. - * manual/errno.texi: Add %MENU% tag. - * manual/filesys.texi: Add %MENU% tag. - * manual/header.texi: Add %MENU% tag. - * manual/install.texi: Add %MENU% tag. - * manual/intro.texi: Add %MENU% tag. - * manual/io.texi: Add %MENU% tag. - * manual/job.texi: Add %MENU% tag. - * manual/lang.texi: Add %MENU% tag. - * manual/llio.texi: Add %MENU% tag. - * manual/locale.texi: Add %MENU% tag. - * manual/maint.texi: Add %MENU% tag. - * manual/math.texi: Add %MENU% tag. - * manual/mbyte.texi: Add %MENU% tag. - * manual/memory.texi: Add %MENU% tag. - * manual/message.texi: Add %MENU% tag. - * manual/nss.texi: Add %MENU% tag. - * manual/pattern.texi: Add %MENU% tag. - * manual/pipe.texi: Add %MENU% tag. - * manual/process.texi: Add %MENU% tag. - * manual/search.texi: Add %MENU% tag. - * manual/setjmp.texi: Add %MENU% tag. - * manual/signal.texi: Add %MENU% tag. - * manual/socket.texi: Add %MENU% tag. - * manual/startup.texi: Add %MENU% tag. - * manual/stdio.texi: Add %MENU% tag. - * manual/string.texi: Add %MENU% tag. - * manual/sysinfo.texi: Add %MENU% tag. - * manual/terminal.texi: Add %MENU% tag. - * manual/time.texi: Add %MENU% tag. - * manual/users.texi: Add %MENU% tag. - -1998-07-13 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): - Update. - -1998-07-11 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Use ANSI - style declaration to avoid warning. - * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise. - -1998-07-04 Mark Kettenis <kettenis@phys.uva.nl> - - * elf/rtld.c (process_dl_debug): Add missing continue. - -1998-07-12 Mark Kettenis <kettenis@phys.uva.nl> - - * elf/rtld.c (_dl_skip_args): Make global because the Hurd startup - code needs it. - -1998-07-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Makeconfig ($(common-objpfx)sysd-dirs): Write out definition of - sysd-dirs-done. - * Makerules: Don't generate version maps too early. - ($(common-objpfx)sysd-versions): Force regeneration if the list of - subdirs has changed. - -1998-07-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf/dlfcn.h (DL_CALL_FCT): Use portable comma expression. - -1998-07-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * iconv/gconv_db.c (gen_steps): Always set *handle and *nsteps. - * iconv/gconv_dl.c (__gconv_find_shlib): Correct use of tfind - return value. - -1998-07-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf/dl-open.c (dl_open_worker): New function. - (_dl_open): Call it to do the actual work while catching errors. - * elf/dl-close.c (_dl_close): Only call termination function if - the initialisation function was called. - -1998-07-13 Ulrich Drepper <drepper@cygnus.com> - - * libio/libioP.h (_IO_cleanup_registration_needed): Use __PMT. - Reported by Felix von Leitner <leitner@amdiv.de>. - -1998-07-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Make-dist (+sysdep-tsrcs): Add Versions. - -1998-07-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * math/Versions: Remove __log1p, __atan2, __fe_dfl_env, - __fe_enabled_env, __fe_nonieee_env and __fe_nomask_env. - * sysdeps/powerpc/Versions: New file. - * csu/Versions: Remove brk, sbrk, environ, __environ, _environ - and __errno_location. - * misc/Versions: Add brk and sbrk. - * posix/Versions: Add environ, __environ and _environ. - * sysdeps/unix/sysv/linux/Versions: Add __errno_location. - -1998-07-10 11:58 Ulrich Drepper <drepper@cygnus.com> - - * Makerules [no_defs]: Avoid dependency for loading sysd-versions. - Patch by Zack Weinberg. - -1998-07-10 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * posix/annexc.c (errno_maybe): EACCESS->EACCES. - (signal_maybe): Remove duplicate entry SIGEV_SIGNAL. - (mman_maybe): Remove duplicates MS_ASYNC, MS_INVALIDATE. - -1998-07-09 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/unix/sysv/linux/bits/fcntl.h: Fix typo. - -1998-07-09 Ulrich Drepper <drepper@cygnus.com> - - * posix/unistd.h: Simplify #ifdefs. - - * libio/libio.h: Undo last change due to possible C++ problems. - * libio/fileops.h: Likewise. - -1998-07-09 13:34 Ulrich Drepper <drepper@cygnus.com> - - * grp/grp.h: Define gid_t also for __USE_XOPEN. - * io/fcntl.h: Include <sys/stat.h> also for __USE_XOPEN. - * io/utime.h: Define time_t also for __USE_XOPEN. - * io/sys/stat.h: Define time_t also for __USE_XOPEN. - Define *_t types except for pid_t also for __USE_XOPEN. - Define S_* macros also for __USE_XOPEN. - * locale/langinfo.h: Define CODESET, CRNCYSTR, RADIXCHAR, and - THOUSEP also for __USE_XOPEN. - * math/math.c: Define M_* macros also for __USE_XOPEN. - * math/bits/mathcalls.h: Declare hypot also for __USE_XOPEN. - * posix/fnmatch.h: Define FNM_NOSYS and for if _XOPEN_SOURCE is - defined. - * posix/glob.h: Likewise for GLOB_NOSYS. - * posix/regex.h: Likewise for REG_NOSYS. - * posix/wordexp.h: Likewise for WRDE_NOSYS. - * posix/unistd.h: Define *_t types also for __USE_XOPEN. - * posix/sys/wait.h: Define pid_t for __USE_XOPEN. - * pwd/pwd.h: Define gid_t and pid_t also for __USE_XOPEN. - * signal/signal.h: Define pid_t also for __USE_XOPEN. - * sysdeps/unix/sysv/linux/bits/fcntl.h: Define _RSYNC and O_DSYNC also - for __USE_POSIX199309. - * sysdeps/unix/sysv/linux/bits/termios.h: Define the various B* - constants also for __USE_XOPEN. - * wcsmbs/wchar.h: For XPG4 include wctype.h. - - * intl/dcgettext.c (find_msg): Initialize act to prevent warning. - * locale/setlocale.c (new_composite_name): Likewise for last_len. - - * libio/stdio.h: Don't declare fclose_unlocked. - - * sysdeps/posix/fpathconf.c: Handle _PC_FILESIZEBITS. - -1998-07-08 Mark Kettenis <kettenis@phys.uva.nl> - - * stdio/stdio.h: Add prototypes for fflush_unlocked, - getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked, - fgets_unlocked, fread_unlocked, fwrite_unlocked, - clearerr_unlocked, feof_unlocked, ferror_unlocked, - fileno_unlocked, flockfile, ftrylockfile, funlockfile. - [__USE_XOPEN && !__USE_GNU] Declare optarg, optind, opterr. Add - prototype for getopt. - * stdio/clearerr.c (clearerr_unlocked): Weak alias for clearerr. - * stdio/feof.c (feof_unlocked): Weak alias for feof. - * stdio/ferror.c (ferror_unlocked): Weak alias for ferror. - * stdio/fflush.c (fflush_unlocked): Weak alias for fflush. - * stdio/fgets.c (fgets_unlocked): Weak alias for fgets. - * stdio/fileno.c (fileno_unlocked): Weak alias for fileno. - * stdio/fputc.c (fputc_unlocked): Weak alias for fputc. - * stdio/fread.c (fread_unlocked): Weak alias for fread. - * stdio/fwrite.c (fwrite_unlocked): Weak alias for fwrite. - * stdio/getc.c (getchar_unlocked): Weak alias for getc. - * stdio/getchar.c (getchar_unlocked): Weak alias for getchar. - * stdio/putc.c (putc_unlocked): Weak alias for putc. - * stdio/putchar.c (putchar_unlocked): Weak alias for putchar. - * stdio/Versions [GLIBC_2.1]: Add clearerr_unlocked, - feof_unlocked, ferror_unlocked, fflush_unlocked, fgets_unlocked, - fileno_unlocked, fputc_unlocked, fread_unlocked, fwrite_unlocked, - getc_unlocked, getchar_unlocked, putc_unlocked and - putchar_unlocked. - - * libio/Versions: Move flockfile, ftrylockfile and funlockfile - from here ... - * stdio-common/Versions: ... to here. - -1998-07-09 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * Makerules (versioning): Correct typo. - -1998-07-08 22:18 Ulrich Drepper <drepper@cygnus.com> - - * elf/Versions: Add _dl_mcount_wrapper_check. - * elf/dlfcn.h (DL_CALL_FCT): Don't test _dl_profile_map, simply use - _dl_mcount_wrapper_check. - * iconv/skeleton.c: Use DL_CALL_FCT, not _CALL_DL_FCT. - - * elf/dl-reloc.c (_dl_relocate_object): Don't declare using - internal_function. - * elf/ldsodefs.h: Likewise. - - * io/fcntl.h: Define SEEK_SET, SEEK_CUR, and SEEK_END. - - * libio/stdio.h: Make sure va_list is defined for X/Open. - Define P_tmpdir for X/Open. - - * posix/regex.h: Fix typo. - - * posix/unistd.h: Define intptr_t if not already happened. - Add pthread_atfork prototype. - * sysdeps/generic/bits/types.h: Define __intptr_t. - * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/bits/mips/types.h: Likewise. - * sysdeps/unix/sysv/linux/bits/sparc/sparc64/types.h: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise. - * sysdeps/wordsize-32/stdint.h: Don't define intptr_t if already done. - * sysdeps/wordsize-64/stdint.h: Likewise. - - * posix/bits/posix1_lim.h: Define _POSIX_CLOCKRES_MIN. - - * signal/Makefile (headers): Add bits/sigthread.h. - * signal/signal.h: Include bits/sigthread.h. - * sysdeps/generic/bits/sigthread.h: New file. - - * stdlib/stdlib.h: Declare rand_r use __USE_POSIX. - - * sysdeps/generic/bits/confname.h: Define _PC_FILESIZEBITS. - * sysdeps/posix/pathconf.c: Handle _PC_FILESIZEBITS. - * sysdeps/unix/sysv/linux/alpha/fpathconf.c: New file. - * sysdeps/unix/sysv/linux/alpha/pathconf.c: New file. - - * sysdeps/generic/bits/dlfcn.h: Define RTLD_LOCAL. - - * elf/rtld.c: Remove preloading and loadpath variables in SUID - programs. - * sysdeps/generic/dl-sysdep.c: Define unsetenv. - * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Define other envvar - names. - - * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED. - - * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_RSYNC and O_DSYNC. - Remove O_READ and O_WRITE definition. - - * sysdeps/unix/sysv/linux/bits/resource.h: Define RLIM_SAVED_MAX - and RLIM_SAVED_CUR. - - * sysdeps/unix/sysv/linux/fstatvfs.h: Handle UFS filesystem. - -1998-07-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Makerules ($(common-objpfx)sysd-versions): Expect awk script in - scripts directory. Pass move-if-change to awk. - (common-generated): Add $(version-maps) and sysd-versions. - * versions.awk: Moved to... - * scripts/versions.awk: ... here. Use move-if-change to void - touching unchanged files. Print "version-maps = ..." instead of - "all-version-maps = ..." and without $(common-objpfx). Explain - expected variable names. - * Makefile (distribute): Updated. - -1998-07-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * misc/getttyent.c (getttyent): Don't return with locked stream. - * misc/mntent_r.c (__getmntent_r): Likewise. - -1998-07-07 18:24 Ulrich Drepper <drepper@cygnus.com> - - * libio/fileops.c (_IO_do_write): Don't shrink wwrite buffer to zero - if stream is line buffered. - (_io_file_overflow): Likewise. - * libio/libio.h (_IO_putc_unlocked): Make sure that for line-buffered - streams writing '\n' flushes the string. - -1998-07-07 17:28 Ulrich Drepper <drepper@cygnus.com> - - * elf/dl-profstub.c (_dl_profile_map): Only declare variable here. - * elf/dl-support.c: Define it here... - * elf/rtld.c: ...and here. - -1998-07-07 16:28 Ulrich Drepper <drepper@cygnus.com> - - * grp/initgroups.c: Handle directives from nsswitch.conf file. - -1998-07-07 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Add - __ino64_t definition. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Define - __off64_t. Reported by Felix von Leitner <leitner@math.fu-berlin.de>. - - * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Do not exit the shell - script if lddlibc4 failed. - Reported by B. D. Elliott <bde@accessone.com>. - -1998-07-06 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols): - Improve generated strings a bit. - -1998-07-06 14:36 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * posix/Makefile (generated): Remove $(objpfx) from the names. - -1998-07-05 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * stdio-common/test_rdwr.c: Use %Zu for size_t in printf - format string. - - * libio/iofread_u.c: Include <stdio.h> for prototype. - * libio/iofwrite_u.c: Likewise. - -1998-07-06 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * db2/Versions: New file. - -1998-07-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Makefile (lib-noranlib): Don't depend on sysd-versions. - ($(common-objpfx)sysd-versions): Remove rule. - * Makerules ($(common-objpfx)sysd-versions): Define here instead. - Pass name of Versions.def file to script and redirect output to - target. Include it and make all generated version maps depend on - it. - * versions.awk: Print out variable definition containing all - generated version maps. Print error messages to stderr. Remove - temp file. - -1998-07-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * posix/annexc.c (check_header): Terminate macro name before - comparing. - (get_null_defines): Allow builtin macros with parameters. - (fmt, testfmt): Add -D_LIBC. - * posix/Makefile: Remove bogus duplicate include directories from - annexc test command. - -1998-07-06 12:04 Ulrich Drepper <drepper@cygnus.com> - - * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Handle adjunct - password scheme. - (_nss_nis_getpwnam_r): Likewise. - (_nss_nis_getpwuid_r): Likewise. - -1998-07-05 Mark Kettenis <kettenis@phys.uva.nl> - - * libio/Versions: Move symbols whose source lives in - stdio-common to ... - * stdio-common/Versions: ... here. - * stdio/Versions: Add missing symbols. - -1998-07-05 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/__sendmsg.S: Define function as - __syscall_sendmsg. - * sysdeps/unix/sysv/linux/__recvmsg.S: Define function as - __syscall_recvmsg. - * sysdeps/unix/sysv/linux/recvmsg.c: Define function as __libc_recvmsg - and make __recvmsg and recvmsg weak aliases. - * sysdeps/unix/sysv/linux/sendmsg.c: Likewise for sendmsg. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define __syscall_recvmsg - and __syscall_sendmsg. - -1998-07-05 11:49 Ulrich Drepper <drepper@cygnus.com> - - * iconv/gconv_conf.c (read_conf_file): Use feof_unlocked on private - stream. - * inet/ruserpass.c (token): Likewise. - * nss/nsswitch.c (nss_parse_file): Likewise. - * intl/localealias.c: Likewise. Also for ferror. - * time/getdate.c (__getdate_r): Likewise. - - * libio/Makefile (routines): Add iofgets_u. - * libio/iofgets_u.c: New file. - * libio/Versions: Add fgets_unlocked. - * libio/stdio.h: Add prototype for fgets_unlocked. - - * misc/getttyent.c (getttyent): Use fgets_unlocked instead of fgets. - * misc/getusershell.c (initshells): Likewise. - * misc/mntent_r.c (__getmntent_r): Explicitly lock stream. Use - fgets_unlocked. - * nss/nss_files/files-XXX.c (internal_getent): Likewise. - * resolv/res_init.c (res_init): Likewise. - * sysdeps/unix/sysv/linux/getsysstats.c: Likewise. - -1998-05-23 Philip Blundell <Philip.Blundell@pobox.com> - - * sysdeps/unix/sysv/linux/arm/syscalls.list: Add `syscall'. - * sysdeps/unix/sysv/linux/arm/syscall.S: Deleted. - -1998-07-05 Ulrich Drepper <drepper@cygnus.com> - - * misc/getttyent.c (getttyent): Explicitly lock the FILE and use - _unlocked functions. - - * inet/ruserpass.c (ruserpass): Use _unlocked functions since this - is a private FILE. - -1998-07-04 17:11 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * csu/Makefile: Build crt files in lib pass. - * db2/Makefile (distribute): Add mutex/sco.cc. - * mach/Machrules: Don't generate .udeps files if no_deps is set. - * sysdeps/unix/Makefile: Don't generate sysd-syscalls or - s-proto.d if avoid-generated is set. + * nscd/nscd_gethst_r.c: Likewise. - * sysdeps/alpha/Dist: List only one file per line. - * sysdeps/generic/Dist: Likewise. - * sysdeps/m68k/fpu/switch/Dist: Likewise. - * sysdeps/sparc/sparc32/Dist: Likewise. - * sysdeps/unix/Dist: Likewise. - * sysdeps/unix/sysv/irix4/Dist: Likewise. + * stdlib/stdtold_l.c: Always include xlocale.h. - * sysdeps/mach/hurd/i386/Dist: New file. - * sysdeps/generic/Dist: Add endutxent.c, getutxent.c, getutxid.c, - getutxline.c, pututxline.c, setutxent.c, updwtmpx.c, and utmpxname.c. - * sysdeps/unix/sysv/linux/Dist: Add getresuid.c and getresgid.c. - * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove __sigtrampoline.S. +1999-01-11 Geoffrey Keating <geoffk@ozemail.com.au> -1998-07-04 10:14 Ulrich Drepper <drepper@cygnus.com> + * stdlib/fpioconst.h (LDBL_MAX_10_EXP_LOG): Define to be same as + DBL_MAX_10_EXP_LOG if there is no long double. + (_fpioconst_pow10): Always use size as LDBL_MAX_10_EXP_LOG to match + printf_fp.c. - * libio/Makefile (routines): Add iofread_u and iofwrite_u. - * libio/Versions: Add fread_unlocked and fwrite_unlocked. +1999-01-10 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * Makerules (lib%.so): Adjust ignore pattern for last makefile change. + * timezone/Makefile ($(testdata)/GB): Changed to ... + ($(testdata)/Europe/London): ... for tst-timezone test. + ($(objpfx)tst-timezone.out): Change GB to Europe/London. - * time/tzfile.c (decode): Optimize by using bswap_32. - (__tzfile_read): Use _unlocked stream functions. Correct setting of - __tzname array values. - (__tzfile_compute): Correct setting of __tzname array values. - * time/tzset.c (__tzstring): Clean up a bit. + * timezone/tst-timezone.c (main): Enable DST switching test, + change GB to Europe/London. -1998-06-29 19:01 Jim Wilson <wilson@cygnus.com> +1999-01-10 Philip Blundell <philb@gnu.org> - * posix/regex.c (re_comp): Add cast to char * before gettext calls. + * socket/Makefile (headers): Remove bits/sockunion.h. -1998-06-30 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1999-01-09 Philip Blundell <philb@gnu.org> - * sysdeps/unix/bsd/poll.c (__poll): Allocate fd_set dynamically so - that fd can be bigger than FD_SETSIZE. - -1998-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * nscd/grpcache.c: Include <unistd.h>. - * nscd/pwdcache.c: Likewise. - - * nis/nis_modify.c: Include <string.h>. - * nis/nis_add.c: Likewise. - * nis/nis_checkpoint.c: Likewise. - * posix/runptests.c: Likewise. - * sysdeps/generic/statvfs64.c: Likewise. - * sysdeps/generic/fstatvfs64.c: Likewise. - -1998-07-03 13:16 Ulrich Drepper <drepper@cygnus.com> - - * localedata/charmaps/ISO-8859-9: Change mapping for 0xea, 0xec, 0xef - to match data from Unicode. - Reported by Michael Deutschmann <michael@talamasca.wkpowerlink.com>. - -1998-07-03 11:45 Ulrich Drepper <drepper@cygnus.com> - - * stdio-common/printf.h: Define printf_function and - printf_arginfo_function types using __PMT not __P. - Reported by Marc Lehmann. - -1998-07-02 14:07 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * assert/test-assert.c: New test. - * assert/test-assert-perr.c: New test. - * assert/Makefile (tests): Add test-assert and test-assert-perr. - -1998-07-02 13:45 Zack Weinberg <zack@rabi.phys.columbia.edu> - - BSD-style SCM_CREDS support. - - * sysdeps/unix/sysv/linux/socket.h: Define struct cmsgcred and - SCM_CREDS. - * sysdeps/unix/sysv/linux/sendmsg.c: New file. Convert user - visible SCM_CREDS packet to what the kernel wants. - * sysdeps/unix/sysv/linux/recvmsg.c: New file. Convert - SCM_CREDS packet output by kernel to what users want. - - * sysdeps/unix/sysv/linux/sendmsg.S: Moved to... - * sysdeps/unix/sysv/linux/__sendmsg.S: here. - * sysdeps/unix/sysv/linux/recvmsg.S: Moved to... - * sysdeps/unix/sysv/linux/__recvmsg.S: here. - - * sysdeps/unix/sysv/linux/Makefile [subdir=socket]: Add - __sendmsg and __recvmsg to sysdep_routines. - * sysdeps/unix/sysv/linux/Dist: Add __sendmsg.S and __recvmsg.S. - -1998-07-02 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * nscd/grpcache.c: Fix gid pointer handling and debug messages. - * nscd/pwdcache.c: Fix uid pointer handling and debug messages. - * nscd/nscd.c: Check, if pthread_create fails. - -1998-07-02 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * stdio-common/test_rdwr.c (main): Use %Zu for size_t in printf - format strings. - * stdio-common/bug1.c (main): Likewise. - * stdio-common/bug5.c (main): Likewise. - * stdio-common/tstgetln.c (main): Likewise. - * elf/sprof.c (generate_call_graph): Likewise. - (load_shobj): Likewise. - * posix/runptests.c (main): Likewise. - * string/tst-strlen.c (main): Likewise. - - * sysdeps/libm-ieee754/e_acos.c (__ieee754_acos): Remove unused - variable q3. - * sysdeps/libm-ieee754/e_asin.c (__ieee754_asin): Likewise - -1998-07-03 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * wctype/Versions: Add __towctrans. - Noticed by Alex Buell <alex.buell@tahallah.demon.co.uk>. - -1998-07-02 Mark Kettenis <kettenis@phys.uva.nl> - - * grp/initgroups.c (compat_call): Only call dynamically loaded - functions if they are really present. - -1998-07-02 Mark Kettenis <kettenis@phys.uva.nl> - - * sysdeps/unix/sysv/linux/bits/sched.h: Move __END_DECLS within - #ifdef that contains __BEGIN_DECLS. - -1998-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * libio/iofwrite.c: Fix return value when size == 0. - -1998-07-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * posix/Makefile (distribute): Add annexc.c. - (generated): Add $(objpfx)annexc and $(objpfx)annexc.out. - -1998-07-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add - bits/pthreadtypes.h here, and do not clobber headers. - - * sysdeps/unix/sysv/linux/Dist: Add bits/pthreadtypes.h. - -1998-07-03 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * timezone/tst-timezone.c: Add tests for tzname variable. - -1998-07-03 12:17 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * Makefile [versioning=yes]: Build the mapfiles with a pattern - rule that lists all of them as targets. - (sysd-versions): Depend only on Versions.def. Write a Makefile - fragment that defines $(vers-libs) based on contents of that file; - then include it. - (lib-noranlib): Depend on lib-mapfiles not sysd-versions. - (lib-mapfiles): New target, depends on sysd-versions and $(vers-libs). - Predicate all this on avoid-generated unset as well as versioning. - -1998-07-03 14:35 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/m68k/Versions: New file. - -1998-07-02 21:51 Ulrich Drepper <drepper@cygnus.com> - - * Makeconfig: Define list of subdirs as all-subdirs and make subdirs - a copy. - * Makefile: Add rules to generate map files. - (distribute): Remove libc.map, add Versions.def and versions.awk. - * Makerules: Change rules to find map files on common-objpfx. - * elf/Makefile: Likewise. - * md5-crypt/Makefile: Likewise. - * nis/Makefile (libnsl-map): Remove. - * Versions.def: New file. - * versions.awk: New file. - * argp/Versions: New file. - * assert/Versions: New file. - * catgets/Versions: New file. - * csu/Versions: New file. - * ctype/Versions: New file. - * db/Versions: New file. - * debug/Versions: New file. - * dirent/Versions: New file. - * elf/Versions: New file. - * gmon/Versions: New file. - * grp/Versions: New file. - * hesiod/Versions: New file. - * hurd/Versions: New file. - * iconv/Versions: New file. - * inet/Versions: New file. - * intl/Versions: New file. - * io/Versions: New file. - * libio/Versions: New file. - * linuxthreads/Versions: New file. - * locale/Versions: New file. - * login/Versions: New file. - * malloc/Versions: New file. - * math/Versions: New file. - * md5-crypt/Versions: New file. - * misc/Versions: New file. - * nis/Versions: New file. - * nss/Versions: New file. - * posix/Versions: New file. - * pwd/Versions: New file. - * resolv/Versions: New file. - * resource/Versions: New file. - * rt/Versions: New file. - * setjmp/Versions: New file. - * shadow/Versions: New file. - * signal/Versions: New file. - * socket/Versions: New file. - * stdio/Versions: New file. - * stdio-common/Versions: New file. - * stdlib/Versions: New file. - * streams/Versions: New file. - * string/Versions: New file. - * sunrpc/Versions: New file. - * sysdeps/alpha/Versions: New file. - * sysdeps/alpha/fpu/Versions: New file. - * sysdeps/i386/Versions: New file. - * sysdeps/sparc/Versions: New file. - * sysdeps/unix/sysv/Versions: New file. - * sysdeps/unix/sysv/linux/Versions: New file. - * sysdeps/unix/sysv/linux/alpha/Versions: New file. - * sysdeps/unix/sysv/linux/i386/Versions: New file. - * sysdeps/unix/sysv/linux/mips/Versions: New file. - * sysvipc/Versions: New file. - * termios/Versions: New file. - * time/Versions: New file. - * wcsmbs/Versions: New file. - * wctype/Versions: New file. - * libc.map: Removed. - * db/libdb.map: Removed. - * elf/libdl.map: Removed. - * hesiod/libnss_hesiod.map: Removed. - * hurd/libhurduser.map: Removed. - * hurd/libmachuser.map: Removed. - * linuxthreads/libpthread.map: Removed. - * locale/libBrokenLocale.map: Removed. - * login/libutil.map: Removed. - * math/libm.map: Removed. - * md5-crypt/libcrypt.map: Removed. - * nis/libnsl.map: Removed. - * nis/libnsl_compat.map: Removed. - * nis/libnss_nis.map: Removed. - * nis/libnss_nisplus.map: Removed. - * nss/libnss_db.map: Removed. - * nss/libnss_files.map: Removed. - * resolv/libnss_dns.map: Removed. - * resolv/libresolv.map: Removed. - * rt/librt.map: Removed. - - * elf/dl-load.c (fillin_rpath): Fix test for trusted directory. - Fix typos. - - * elf/rtld.c (process_dl_debug): Recognize 'all'. - (process_envvars): LD_BIND_NOW must be followed by y, Y, or 1. - - * sysdeps/generic/elf/backtracesyms.c: Allocate string memory of - correct size. - -1998-07-01 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Fix typo - in comment. - - * nscd/nscd.c: Include unistd.h. - -1998-07-01 09:32 Ulrich Drepper <drepper@cygnus.com> - - * math/libm-test.c: Adjust delta for indentities1_test because gcc - became cleverer. - -1998-06-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * resolv/inet_addr.c (inet_aton): Define variable base only if needed. - -1998-06-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * scripts/test-installation.pl: Include <stdio.h> in test program - to make it strictly conforming. - -1998-06-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias, - not a strong alias. - * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise. - -1998-06-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias, - not a strong alias. - -1998-06-30 Ulrich Drepper <drepper@cygnus.com> - - * posix/Makefile (headers): Remove bits/pthreadtypes.h. - * sysdeps/unix/sysv/linux/Makefile [subdir==posix] (headers): Add - bits/pthreadtypes.h. - -1998-06-30 11:47 Ulrich Drepper <drepper@cygnus.com> - - * include/aio.h: New file. - * posix/Makefile (distribute): Add bits/pthreadtypes.h. - (tests): Build and run annexc program. - * posix/annexc.c: New file. - * posix/bits/posix1_lim.h: Add several more _POSIX_* limits. - * rt/aio.h: Remove __need_timespec_t. We can include the whole time.h. - * rt/aio_misc.c: Include limits.h. - * rt/aio_notify.c: Include errno.h. - * sysdeps/unix/sysv/linux/alpha/bits/types.h: Include pthreadtypes.h. - Define size_t. - * sysdeps/unix/sysv/linux/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/bits/errno.h: Define ENOTSUP though the - kernel doesn't do this. - * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_LARGEFILE only if - __USE_LARGEFILE64 is defined. - * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: New file. Empty. - * sysdeps/unix/sysv/linux/bits/sched.h: Define __sched_param struct - if requested. - * sysdeps/unix/sysv/linux/bits/siginifo.h: Protect non-standard names. - - * stdlib/isomac.c: Avoid include_next warning. - -1998-06-29 12:27 Ulrich Drepper <drepper@cygnus.com> - - * argp/argp.h: Use __PMT instead of __P for function pointer. - * iconv/gconv.h: Likewise. - * io/fts.h: Likewise. - * io/ftw.h: Likewise. - * libio/libio.h: Likewise. - * malloc/mcheck.h: Likewise. - * misc/search.h: Likewise. - * posix/glob.h: Likewise. - * resolv/resolv.h: Likewise. - * signal/signal.h: Likewise. - * stdlib/stdlib.h: Likewise. - * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise. - -1998-06-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) only once. - -1998-06-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * posix/wordexp.c (parse_param): Fix memory leak. - -1998-06-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * libc.map: Export _IO_ftrylockfile. - -1998-06-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use get[pu]id instead of - __get[pu]id. - -1998-06-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf/dl-misc.c (_dl_debug_message): Don't cache the pid. - - * elf/dl-runtime.c (_dl_object_relocation_scope): Avoid adding the - same search list twice. - -1998-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * login/programs/utmpd.c (handle_requests): Set and use maximal fd - used to optimize loop/select. - -1998-06-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/generic/init-first.c: Don't define __libc_pid. - * sysdeps/unix/sysv/linux/init-first.c: Likewise. - * sysdeps/mach/hurd/i386/init-first.c: Likewise. - * sysdeps/mach/hurd/mips/init-first.c: Likewise. - * sysdeps/arm/init-first.c: Likewise. - * posix/getopt_init.c: Don't use __libc_pid. - * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. - * sysdeps/unix/sysv/linux/sigqueue.c: Likewise. - * libc.map: Remove __libc_uid and __libc_pid. - -1998-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sunrpc/rtime.c (rtime): Use poll instead of select. - -1998-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sunrpc/clnt_tcp.c (readtcp): Use poll instead of select. - * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise. - * sunrpc/clnt_udp.c (clntudp_call): Likewise. - Patches from FreeBSD current. - -1998-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * nscd/connections.c (handle_new_request): Handle POLLHUP - correctly. - (close_sockets): Correct parameter to dbg_log. - -1998-06-27 David S. Miller <davem@pierdol.cobaltmicro.com> - - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host): - Cleanup weak_extern usage for _dl_hwcap and _dl_hwcap_mask. - (elf_machine_fixup_plt): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: When - _dl_pagesize not set, use system call to always get correct answer. - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list - (__syscall_getpagesize): Add - -1998-06-27 Ulrich Drepper <drepper@cygnus.com> - - * resolv/res_send.c (res_send): Fix typo. - -1998-06-25 Andi Kleen <ak@muc.de> - - * inet/rcmd.c (rcmd): Change to use __poll instead of select. - * resolv/res_send.c (res_send): Likewise. - -1998-06-27 12:58 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias. - * sysdeps/unix/sysv/linux/poll.c: Likewise. - -1998-06-27 7:07 Richard Henderson <rth@cygnus.com> - - * math/atest-exp.c (exp_mpn, main): Cast to mp_limb_t appropriately. - * math/atest-exp2.c (exp_mpn, main): Likewise. - * math/atest-sincos.c (main): Likewise. - - * resolv/inet_addr.c (inet_aton): Check for 32-bit overflow. Move - base handling away from strtoul. Always reset errno. - - * sysdeps/alpha/Makefile (elf): Kill -mno-fp-regs. - - * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Only set - _dl_profile_map if _dl_name_match_p. - (RTLD_START): Fix .prologue. Set __libc_stack_end. - * sysdeps/alpha/elf/start.S: Pass sp as arg 7. Kill __data_start. - - * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Mark tmp - as early-clobber. - - * sysdeps/libm-ieee754/e_exp10.c: Include "math_private.h". - * sysdeps/libm-ieee754/e_exp10f.c: Likewise. - * sysdeps/libm-ieee754/e_exp10l.c: Likewise. - -1998-06-26 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe code. - -1998-06-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * nis/nis_call.c: Don't copy server structure. - * nis/nis_intern.h: Remove unused entries. - * nis/nis_table.c: Rewrite __create_ib_request. + * socket/sys/socket.h: Don't include <bits/sockunion.h>. + * sysdeps/generic/bits/sockunion.h: Deleted. + * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise. -1998-06-26 14:37 Ulrich Drepper <drepper@cygnus.com> +1999-01-08 H.J. Lu <hjl@gnu.org> - * configure.in: Check for -fexceptions. - * config.make.in: Define exceptions, not no-exceptions. - * misc/sys/cdefs.h: Define __PMT. When using modern g++ define - __P to use throw(). - * misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to - $(exceptions). - * stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c. - * misc/search.h: Use __PMT in tsearch, tfind, tdelete, twalk, tdestroy, - lfind, and lsearch prototpypes. - * stdlib/stdlib.h: Likewise for bsearch and qsort. + * io/fts.c (fts_close): Don't access memory after having it freed. -1998-06-26 Ulrich Drepper <drepper@cygnus.com> +1998-01-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm. + * manual/Makefile (stamp-summary): Remove space after -t option + for compatibility with non-GNU sort programs. -1998-06-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1999-01-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * Makefile (remove-old-headers): Make phony. + * manual/search.texi (Comparison Functions): Fix compare_doubles + example. - * configure.in: Substitute @old_glibc_headers@. +1999-01-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> -1998-06-26 Ulrich Drepper <drepper@cygnus.com> + * Makerules (do-tests-clean): Remove reference to obsolete + variable tests-static. - * libc.map: Remove __libc_uid. +1999-01-07 Ulrich Drepper <drepper@cygnus.com> -1998-06-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/ntp_adjtime.c: Removed. It's an alias + for adjtimex. + * sysdeps/unix/sysv/linux/Dist: Add ntp_gettime.c. + * sysdeps/unix/sysv/linux/Makefile [subdir=time] (sysdep_routines): + Remove ntp_adjtime. + * sysdeps/unix/sysv/linux/syscalls.list: Add alias ntp_adjtime to + adjtimex. + * sysdeps/unix/sysv/linux/sys/timex.h: Correct prototype for + ntp_adjtime. - * manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix - typos. + * sysdeps/i386/i686/mempcpy.S: Fix typos. -1998-06-26 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/i386/i686/memset.S: New file. + * sysdeps/i386/i686/bzero.S: New file. + * sysdeps/i386/i686/strcmp.S: New file. + * sysdeps/i386/i686/memcpy.S: New file. - * libc.map: Add Alpha-specific io function from protected namespace. + * sysdeps/unix/sysv/linux/Makefile [subdir=time] (sysdep_routines): + Add ntp_adjtime and ntp_gettime. + * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add ntp_adjtime and + ntp_gettime. -1998-06-25 19:26 Ulrich Drepper <drepper@cygnus.com> +1998-12-29 Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> - * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) if defined first. - * locale/Makefile: Define locale-CPPFLAGS instead of redefining - CPPFLAGS. + * manual/time.texi (Precision Time): Add documentation for + ntp_gettime and ntp_adjtime. - * libc.map: Export __sigaction. +1998-12-28 Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> -1998-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/unix/sysv/linux/ntp_gettime.c: Created new file - * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PTRACE): Add it - (from Linux 2.1.107). + * sysdeps/unix/sysv/linux/ntp_adjtime.c: Created new file -1998-06-24 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/sys/timex.h (struct ntptimeval): Added. + Add prototypes for ntp_adjtime and ntp_gettime. - * nss/nss_files/files-XXX.c (_nss_files_get,ENTNAME_r): Initialize - position when file was opened here. - Reported by Howard Chu <hyc@platinum.com>. +1999-01-07 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/generic/glob.c: Also protect FNM_* macros from being - undefined in a second inclusion. + * sysdeps/i386/bits/select.h (__FD_ZERO): Remove early clobbers + from c and D register output. -1998-06-20 Mark Kettenis <kettenis@phys.uva.nl> +1999-01-07 Philip Blundell <philb@gnu.org> - * sysdeps/mach/hurd/i386/Makefile: New file. - * sysdeps/mach/hurd/i386/init-first.c [!PIC] (init1): Call - __libc_init_secure. - (_hurd_stack_setup): Renamed - from __libc_init_first. - (__libc_init_first): New function. - * sysdeps/mach/hurd/i386/static-start.S: New file. + * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Fix bug in last change. -1998-05-30 Mark Kettenis <kettenis@phys.uva.nl> +1999-01-07 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/mach/hurd/i386/init-first.c + * sysdeps/unix/sysv/linux/alpha/bits/types.h: Correct type for + __fsfilcnt_t. Patch by Bruce Elliott <bde@nwlink.com>. -1998-06-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1999-01-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * grp/initgroups.c: Use _CALL_DL_FCT. + * manual/conf.texi: Remove pointers from first @node. Move old + @node spec inside comment. + * manual/lang.texi: Likewise. + * manual/libc-texinfo.sh: Also find `@node.*Top' in a comment. + * manual/stdio.texi: Fix typo. -1998-06-23 Mark Kettenis <kettenis@phys.uva.nl> +1999-01-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * elf/rtld.c (process_dl_debug): Add missing continue. + * wcsmbs/btowc.c: Accept all values in the range [SCHAR_MIN + .. UCHAR_MAX]. Local var buf renamed to result and its type + changed from char[] to wchar_t to get proper alignment. -1998-06-23 Mark Kettenis <kettenis@phys.uva.nl> + * posix/fnmatch.c: Also cast the arguments of the other ctype + functions to unsigned char. - * elf/dl-load.c (_dl_map_object_from_fd): Add missing cast. +1999-01-07 Ulrich Drepper <drepper@cygnus.com> -1998-06-23 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * Rules: Add rules for empty.{o,os,op} back. - * manual/terminal.texi (Pseudo-Terminals): Correct typos. +1999-01-05 Ulrich Drepper <drepper@cygnus.com> -1998-06-23 Ulrich Drepper <drepper@cygnus.com> + * Makerules (common-mostlyclean): Add missing parentheses. - * config.make.in: Remove LDAP support. - * nss/Makefile: Likewise. + * Rules: Add back rules for empty.o generation. -1998-06-22 17:02 Ulrich Drepper <drepper@cygnus.com> +1999-01-05 Philip Blundell <philb@gnu.org> - * sysdeps/generic/enbl-secure.c: Don't use __libc_uid. - * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. - * sysdeps/unix/sysv/linux/sigqueue.c: Likewise. - * sysdeps/unix/sysv/linux/init-first.c: Don't initialize __libc_uid. + * sysdeps/unix/sysv/linux/net/if_arp.h: Add new ARPHRD definitions + from latest (2.2.0pre4) kernel. -1998-06-02 Gordon Matzigkeit <gord@profitpress.com> +1999-01-05 Scott Bambrough <scottb@corelcomputer.com> - * mach/Makefile: Change `mv' invocations to `mv -f'. - * mach/Machrules: Likewise. + * sysdeps/unix/sysv/linux/arm/sys/user.h : New file. Fixes problem + on ARM platforms with programs that include <sys/user.h> and + <sys/ptrace.h>. Solution suggested by Geoff Keating earlier with + fix for same problem on the PowerPC platform. -1998-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1999-01-04 Philip Blundell <philb@gnu.org> - * config.make.in (old-glibc-headers): Add it. + * sysdeps/unix/sysv/linux/arm/register-dump.h: Correct widths of + register values. + * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: New file. - * configure.in: Add test for glibc 2.0.x headers. +1999-01-04 Ulrich Drepper <drepper@cygnus.com> - * Makefile (headers2_0): New variable - contains so far only - Linux/Intel glibc 2.0.x headers. - (remove-old-headers): New rule to remove headers from glibc 2.0.x. - (install): Depend on remove-old-headers. + * csu/version.c (banner): Update date. + * catgets/gencat.c: Update year in copyright message text. + * db2/makedb.c: Likewise. + * debug/catchsegv.sh: Likewise. + * elf/ldd.bash.in: Likewise. + * elf/sprof.c: Likewise. + * iconv/iconv_prog.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. + * login/programs/utmpd.c: Likewise. + * malloc/mtrace.pl: Likewise. + * nscd/nscd.c: Likewise. + * nss/getent.c: Likewise. + * posix/getconf.c: Likewise. -1998-06-19 Mark Kettenis <kettenis@phys.uva.nl> +1999-01-02 Philip Blundell <philb@gnu.org> - * sysdeps/generic/ftruncate.c: Define function as __ftruncate and - make ftruncate a weak alias. - * sysdeps/mach/hurd/ftruncate.c: Really define function as - __ftruncate. - * sysdeps/mach/hurd/truncate.c: Include <unistd.h>. - (truncate): Fix function defenition to match prototype. + * sunrpc/Makefile: Ensure that we really use the right path for cpp. -1998-06-20 Mark Kettenis <kettenis@phys.uva.nl> +1999-01-03 Philip Blundell <philb@gnu.org> - * manual/terminal.texi: Document ttyname_r, getpt, grantpt, - unlockpt, ptsname, ptsname_r, openpty and forkpty. + * Makefile (tests-clean): New target to delete test output files. + * Makerules (do-tests-clean): New rule to support the above. + * Rules (subdir_testclean): Likewise. -1998-06-22 Ulrich Drepper <drepper@cygnus.com> +1999-01-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * sysdeps/generic/glob.c: Make it possible to include glob.h - before loading glob.c. - Reported by Felix von Leitner <leitner@math.fu-berlin.de>. + * iconv/Makefile: Use install-others instead of explicit + dependency on subdir_install. -1998-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1999-01-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * nscd/connections.c: Use poll() instead of select(). + * iconv/gconv_db.c (find_derivation): Release lock before + returning. + (__gconv_find_transform): Likewise. -1998-06-22 14:08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1999-01-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * sysdeps/generic/Dist: Fix typo. + * inet/ether_ntoa.c (ether_ntoa): Make `asc' static since that's + what we return. -1998-06-20 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> +1999-01-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * nis/nis_add.c: Avoid unnecessary strlen () calls. - * nis/nis_addmember.c: Likewise. - * nis/nis_call.c: Likewise. - * nis/nis_creategroup.c: Likewise. - * nis/nis_destroygroup.c: Likewise. - * nis/nis_findserv.c: Likewise. - * nis/nis_ismember.c: Likewise. - * nis/nis_print.c: Likewise. - * nis/nis_print_group_entry.c: Likewise. - * nis/nis_removemember.c: Likewise. - * nis/nis_verifygroup.c: Likewise. - * nis/ypclnt.c: Likewise. + * Makerules: Remove all references to obsolete variables + tests-static and test-srcs-static. + * Make-dist: Likewise. + * Rules: Likewise. Remove rules to generate obsolete empty.{c,o*}. - * nis/nis_file.c: Close file handles. +1999-01-03 Philip Blundell <philb@gnu.org> - * nis/nis_callback.c: Fix typo. + * sysdeps/unix/sysv/linux/arm/pread.c: Use the i386 implementation. + * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise. -1998-06-10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> +1998-12-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * nis/Makefile: Add nis-initgroups and compat-initgroups. - * nis/libnss_compat.map: Add _nss_compat_initgroups. - * nis/libnss_nis.map: Add _nss_nis_initgroups. - * nis/nss_compat/compat-initgroups.c: New, faster then getgrent(). - * nis/nss_nis/nis-initgroups.c: Likewise. - * libc-work/nss/nsswitch.c: Rename nss_lookup_function to - __nss_lookup_function and make it public. - * grp/initgroups.c: Rewrite, to use initgroups function from NSS - module if exists, else use old method. + * sysdeps/m68k/dl-machine.h (elf_machine_rela): Reorder expression + to avoid accessing global data in the usual case. -1998-06-19 Ulrich Drepper <drepper@cygnus.com> +1999-01-01 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * nss/getXXbyYY_r.c (lookup_function): Correct return in type - definition. - * nss/getXXent_r.c (set_function, end_function, get_function): - Likewise. Reported by Thorsten Kukuk. + * wcsmbs/wcstold_l.c: Correct last patch to include wchar.h from + system path. - * sysdeps/unix/sysv/linux/sigstack.c: Mark sigstack as dangerous. +1998-12-31 Ulrich Drepper <drepper@cygnus.com> -1998-06-19 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * iconvdata/Makefile: Use rpath $ORIGIN for modules which use any of + the conversion libraries. - * sysdeps/unix/sysv/linux/sparc/Dist: Follow change from - 1998-06-16 and distribute kernel_termios.h. + * include/features.h: Mention latest extensions in _POSIX_C_SOURCE + description. - * nis/Makefile (distribute): Add nis_xdr.h. + * libio/genops.c (list_all_lock): New variable. + (_IO_un_link, _IO_link_in): Acquire lock before modifying _IO_list_all. + [PR libc/911]. -1998-06-19 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/i386/i686/strtok.s: Add missing cld. - * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Disable for - kernels that don't have sigaltstack. + * sysdeps/i386/i686/mempcpy.S: New file. -1998-06-19 Ulrich Drepper <drepper@cygnus.com> +1998-12-30 Geoff Keating <geoffk@ozemail.com.au> - * sysdeps/generic/bits/sem.h: Don't define union semun. + Suppress parentheses warnings: + * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c + (DL_FIND_ARG_COMPONENTS): here, + * sysdeps/powerpc/dl-machine.c: here, + * sysdeps/powerpc/fclrexcpt.c (feclearexcept): here, + * sysdeps/powerpc/fesetround.c (fesetround): here, + * sysdeps/powerpc/feupdateenv.c (feupdateenv): here, + * sysdeps/powerpc/fraiseexcpt.c (feraiseexcept): here, + * sysdeps/powerpc/fsetexcptflg.c (fesetexceptflag): here, + * sysdeps/powerpc/s_rint.c (__rint): here, + * sysdeps/powerpc/s_rintf.c (__rintf): here, + * sysdeps/powerpc/w_sqrt.c (__sqrt): here, + * sysdeps/powerpc/w_sqrtf.c (__sqrtf): and here. + +1998-12-30 Geoff Keating <geoffk@ozemail.com.au> + + * wcsmbs/wcstold.c [__NO_LONG_DOUBLE_MATH]: Include wchar.h. + * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Likewise. Also define + appropropriate prototypes, correct procedure names. + +1998-12-30 Geoff Keating <geoffk@ozemail.com.au> + + * sysdeps/generic/crypt-entry.c: Prototype __crypt_r, suppress + warning. + (__crypt_r): Add __restrict. + * sysdeps/generic/crypt.h: Remove internal routine. Add __restrict. + +1998-12-31 Ulrich Drepper <drepper@cygnus.com> + + * stdlib/longlong.h: Add missing #else in SPARC definitions. + +1998-12-30 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + Patches by Ralf Baechle <ralf@gnu.org>: + * sysdeps/unix/sysv/linux/mips/sgidefs.h: Removed. + * sysdeps/unix/sysv/linux/mips/sys/asm.h: Removed. + * sysdeps/unix/sysv/linux/mips/sys/regdef.h: Removed. + * sysdeps/unix/sysv/linux/mips/sys/fpregdef.h: Removed. + * sysdeps/unix/sysv/linux/mips/regdef.h: Removed. + * sysdeps/unix/sysv/linux/mips/fpregdef.h: Removed. + + * sysdeps/unix/sysv/linux/mips/Makefile: Remove delete files. + * sysdeps/unix/sysv/linux/mips/Dist: Remove deleted files. + + * sysdeps/mips/sys/fpregdef.h: New files, enhanced versions of deleted + linux specific files. + * sysdeps/mips/sys/asm.h: Likewise. + * sysdeps/mips/sgidefs.h: Likewise. + * sysdeps/mips/fpregdef.h: Likewise. + * sysdeps/mips/regdef.h: Likewise. + + * sysdeps/mips/Makefile: Add new headers. + * sysdeps/mips/Dist: Add new files. + + * sysdeps/mips/fpu_control.h (_FPU_DEFAULT): Change value. + +1998-12-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> + + * iconvdata/Makefile: Remove variable assignments and rules that + are now auto-generated. Include $(objpfx)iconv-rules instead. + Btw, that removes a few typos. + (charmaps): New variable. + ($(objpfx)iconv-rules): New target. + (gen-8bit-modules): Renamed from sed-generated-headers, remove .h + suffixes. + (gen-8bit-gap-modules): Renamed from awk-generated-headers, remove + .h suffixes. + (gen-special-modules): New variable. + (generated-modules): New variable. + (headers): Use it. + (before-compile): Likewise. + (generated): Likewise, and add iconv-rules. + * iconvdata/euc-cn.c: Renamed from euccn.c. + * iconvdata/euc-jp.c: Renamed from eucjp.c. + * iconvdata/euc-kr.c: Renamed from euckr.c. + * iconvdata/euc-tw.c: Renamed from euctw.c. + * iconvdata/iso_6937.c: Renamed from iso6937.c. + * iconvdata/iso_6937-2.c: Renamed from iso6937-2.c. + * iconvdata/t.61.c: Renamed from t61.c. + * iconvdata/Makefile (distribute): Adjusted for those renames. + Remove $(objpfx) from names. - * sysdeps/unix/sysv/linux/bits/sem.h: Fix typo. +1998-12-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * sysdeps/unix/sysv/linux/bits/ipc.h: Remove ipc_kludge definition - here. - * sysdeps/unix/sysv/linux/msgrcv.c (msgrcv): Add ipc_kludge - definition here. + * sysdeps/generic/hp-timing.h: Fix comment. + * sysdeps/generic/dl-hash.h: Likewise. + * sysdeps/i386/i686/hp-timing.h: Likewise. -1998-06-18 21:45 Ulrich Drepper <drepper@cygnus.com> +1998-12-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * signal/signal.h: Add prototype for __sigaltstack. - * sysdeps/unix/sysv/linux/syscalls.list: Add __sigaltstack name. - Remove sigstack entry. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add sigstack here. - * sysdeps/unix/sysv/linux/sigstack.c: New file. + * posix/fnmatch.c (fnmatch): Always pass unsigned char values to + FOLD macro. - * sysdeps/i386/backtrace.c: Add casts. +1998-12-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> -1998-06-18 19:49 Ulrich Drepper <drepper@cygnus.com> + * nss/db-Makefile ($(VAR_DB)/shadow.db): Fix last change. - * intl/dcgettext.c: use complete type name. - * intl/hash-string.h: Likewise. +1998-12-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * intl/localealias.c: Undo patch from 1998-04-29. - * intl/l10nflist.c: Likewise. - * intl/loadinfo.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Sync with + current Linux 2.1.132 kernel sources. -1998-06-18 Ulrich Drepper <drepper@cygnus.com> +1998-12-28 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/i386/elf/start.S (_start): Ensure correct alignment. + Patches by Ralf Baechle <ralf@gnu.org> for Linux/MIPS: + * sysdeps/unix/sysv/linux/mips/syscalls.list: Add ipc, change + pread/pwrite and llseek calls. -1998-06-18 16:40 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/mips/sysdep.S: New file. - * libc.map: Add _dl_profile_map, _dl_profile_output, _dl_start_profile, - _dl_mcount, _dl_mcount_wrapper. - * elf/Makefile (routines): Add dl-profstub. - * elf/dl-profstub.c: New file. - * elf/dl-support.c: Don't define _dl_profile_map. - * elf/rtld.c: Likewise. - * elf/dlfcn.h: Define DL_CALL_FCT macro. - * elf/ldsodefs.h: Declare _dl_profile_output, _dl_mcount_wrapper. - Define _CALL_DL_FCT. - * iconv/gconv.c: Use _CALL_DL_FCT to call function from dynamically - loaded object. - * iconv/gconv_db.c: Likewise. - * iconv/skeleton.c: Likewise. - * nss/getXXbyYY_r.c: Likewise. - * nss/getXXent_r.c: Likewise. - * nss/nsswitch.c: Likewise. +1998-12-29 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> -1998-06-18 12:29 Ulrich Drepper <drepper@cygnus.com> + * malloc/thread-m.h [_LIBC] : Fix for NO_THREADS case. - * sysdeps/libm-i387/e_scalb.S: Fix bug in FPU stack handling. - * sysdeps/libm-i387/e_scalbf.S: Likewise. - * sysdeps/libm-i387/e_scalbl.S: Likewise. +1998-12-28 Ulrich Drepper <drepper@cygnus.com> -1998-06-18 Ulrich Drepper <drepper@cygnus.com> + * version.h (VERSION): Bump to 2.0.109. - * stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate - longestdbl. + * Makefile (distribute): Add INTERFACE and CONFORMANCE. + * elf/Makefile (distribute): Add hp-timing.h. + * sysdeps/i386/i686/Dist: New file. -1998-06-18 10:26 Ulrich Drepper <drepper@cygnus.com> + * mach/Versions: Add mach_msg_send and mach_msg_receive. + Patch by UCHIYAMA Yasushi <uch@nop.or.jp>. - * iconvdata/Makefile (modules): Add MACINTOSH. - (MACINTOSH-routines): New variable. - (distribute): Add macintosh.c. - (awk-generated-headers): Add macintosh.h. - Add rule for macintosh.h generation. - * iconvdata/gconv-modules: Add definitions for MACINTOSH. - * iconvdata/macintosh.c: New file. + * sysdeps/unix/sysv/linux/netipx/ipx.h (SIOCIPXNCPCONN): New macro + from latest kernel. -1998-06-17 Ulrich Drepper <drepper@cygnus.com> + * stdlib/fpioconst.c: If __NO_LONG_DOUBLE_MATH don't define constants + beyond range of double. + * stdlib/fpioconst.h (_fpioconst_pow10): Reduce size according to + fpioconst.c change. + * stdlib/strtold.c: Fall back on double functions if + __NO_LONG_DOUBLE_MATH. + * stdlib/strtold_l.c: Likewise. + * wcsmbs/wcstold.c: Likewise. + * wcsmbs/wcstold_l.c: Likewise. + * sysdeps/ieee754/ldbl2mpn.c: Don't generate code if + __NO_LONG_DOUBLE_MATH. + * sysdeps/ieee754/mpn2ldbl.c: Likewise. - * stdlib/tst-strtod.c (long_dbl): Add test for loooong numbers. +1998-12-28 Geoff Keating <geoffk@ozemail.com.au> - * stdlib/strtod.c (str_to_mpn): Fix extending of n array which - only should happen for cy != 0. + * sysdeps/powerpc/bits/endian.h: Use #warning, not #error, if + the endianness can't be determined, for makedepend. - * sysdeps/unix/sysv/linux/alpha/glob.c: Include sys/types.h before - glob.h. +1998-12-27 Ulrich Drepper <drepper@cygnus.com> -1998-06-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * elf/dl-lookup.c (_dl_num_relocations): New variable. + (do_lookup): Increment _dl_num_relocations for every call. + * elf/rtld.c (print_statistics): New function. + (_dl_debug_statistics): New variable. Set when statistics are asked + for. + (rtld_total_time, relocate_time, load_time): New variables. Used + in print_statistics. + (_dl_start): Record start and end time of startup. Call + print_statistics if needed. + (dk_main): Record times for relocations and loading. + (process_dl_debug): Recognize statistics. - * sysdeps/generic/backtrace.c (INNER_THAN): New definition, use it - to compare stack addresses. + Low-level, low-overhead, high-precision timing functionality. + * sysdeps/generic/hp-timing.h: New file. + * sysdeps/i386/i686/Makefile: New file. + * sysdeps/i386/i686/hp-timing.h: New file. + * sysdeps/i386/i686/hp-timing.c: New file. -1998-06-17 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/i386/dl-machine.h (elf_machine_rel): Reverse order of OR + clauses to avoid accessing global variables during rtld relocation. - * sysdeps/unix/sysv/linux/alpha/glob.c: Include glob.h before - defining prototypes. + * sunrpc/rpc_main.c: Unify messages. -1998-06-16 David S. Miller <davem@dm.cobaltmicro.com> + * sysdeps/unix/sysv/linux/arm/Dist: Add ioperm.c and sys/io.h. - * sysdeps/sparc/sparc32/dl-machine.h - (elf_machine_fixup_plt): During rtld bootstrap, always perform - flushes as the kernel will emulate it when the underlying cpu does - not implement flush. +1998-12-27 Roland McGrath <roland@baalperazim.frob.com> - * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: Move... - * sysdeps/unix/sysv/linux/sparc/kernel_termios.h: ...to here. + * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64): + Remove __ from member names; rename __unused to f_spare. - * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: Remove. - * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: No longer build - trampoline code. +1998-12-21 Mark Kettenis <kettenis@phys.uva.nl> - * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S - (__clone): Branch to label .Lerror not __clone_syscall_error. - (.Lerror): Fixup EINVAL setting. - * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list - (__syscall_getgroups, __syscall_setgroups): Add. + Implement fstatvfs and statvfs on the Hurd. + * sysdeps/mach/hurd/bits/statfs.h: New file. + * sysdeps/mach/hurd/bits/statvfs.h: New file. + * sysdeps/mach/hurd/fstatvfs.c: New file. + * sysdeps/mach/hurd/statvfs.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c - (__sigaction): Member name is k_sa_handler. Use memcpy to copy - around sa_mask data. + * sysdeps/generic/fstatfs64.c: Changed into stub. + Moved previous contents to... + * sysdeps/unix/sysv/linux/fstatfs64.c: ...here. + * sysdeps/generic/fstatvfs64.c: Likewise. + * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise. + * sysdeps/generic/statfs64.c: Likewise. + * sysdeps/unix/sysv/linux/statfs64.c: Likewise. + * sysdeps/generic/statvfs64.c: Likewise. + * sysdeps/unix/sysv/linux/statvfs64.c: Likewise. -1998-06-16 Ulrich Drepper <drepper@cygnus.com> +1998-12-25 Geoff Keating <geoffk@ozemail.com.au> - * math/math.h: Include bits/nan.h when compiling for ISO C 9x. + * crypt/sysdeps/unix/ufc-crypt.h: Use <stdint.h>. - * string/Makefile: Make sure test-ffs does not use builtins. + * crypt/configure: Delete the code dealing with building the add-on + outside glibc, as this doesn't work. -1998-06-16 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> +1998-12-25 Ulrich Drepper <drepper@cygnus.com> - * sunrpc/svc.c: Check for NULL pointer. + * elf/dl-hash.h: Move to... + * sysdeps/generic/dl-hash.h: ...here. Correct parameter type (must + be unsigned char). Remove conditional from inner loop and rearrange + binary operations (12-22% performance increase). + * sysdeps/i386/i686/dl-hash.h: New file. Another 10% faster than + optimized generic version. - * nis/libnsl.map: Add public NIS+ xdr functions. +1998-12-23 Ulrich Drepper <drepper@cygnus.com> - * nis/rpcsvc/nis_callback.h: New file. - * nis/rpcsvc/nis.h: Move xdr_* functions from here ... - * nis/nis_xdr.h: ... here. + * elf/dl-lookup.c (do_lookup): If looking up an unversioned symbol + but the object file only contains versioned definitions than + accept the definition if there is exactly one even if the version + number is not the default version. This helps dlsym() to find + newly introduced symbols. - * nis/nis_add.c: Use internal _xdr_* functions, check for NULL - pointers, use NIS+ defines where possible. - * nis/nis_cache.c: Likewise. - * nis/nis_cache2_xdr.c: Likewise. - * nis/nis_call.c: Likewise. - * nis/nis_checkpoint.c: Likewise. - * nis/nis_clone_dir.c: Likewise. - * nis/nis_clone_obj.c: Likewise. - * nis/nis_clone_res.c: Likewise. - * nis/nis_creategroup.c: Likewise. - * nis/nis_file.c: Likewise. - * nis/nis_free.c: Likewise. - * nis/nis_getservlist.c: Likewise. - * nis/nis_local_names.c: likewise. - * nis/nis_lookup.c: Likewise. - * nis/nis_mkdir.c: Likewise. - * nis/nis_modify.c: Likewise. - * nis/nis_ping.c: Likewise. + * locale/programs/ld-collate.c: Unify messages and correct typos. + * locale/programs/ld-monetary.c: Likewise. + * locale/programs/ld-numeric.c: Likewise. + * locale/programs/ld-time.c: Likewise. + * manual/errno.texi: Likewise. + * nis/nis_error.c: Likewise. * nis/nis_print.c: Likewise. - * nis/nis_remove.c: Likewise. - * nis/nis_removemember.c: Likewise. - * nis/nis_rmdir.c: Likewise. - * nis/nis_server.c: Likewise. - * nis/nis_table.c: Likewise. - * nis/nis_util.c: Likewise. - * nis/nis_verifygroup.c: Likewise. - * nis/nis_xdr.c: Likewise. - * nis/nis_callback.c: Likewise, and move xdr functions from here ... - * nis/nis_xdr.c: ... to here. - -1998-06-15 18:07 Ulrich Drepper <drepper@cygnus.com> - - * iconvdata/ksc5601.h: Clean up a bit. - -1998-06-15 14:35 Ulrich Drepper <drepper@cygnus.com> - - * sunrpc/svc_tcp.c (readtcp): Also listen to all the other connections - and process incoming data. - * sunrpc/xdr_rec.c (set_input_fragment): Only recognize zero length - fragments as invalid. - Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>. - -1998-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - Removal of duplicates like "the the". - * manual/time.texi (TZ Variable): Likewise. - * manual/users.texi (Manipulating the Database): Likewise. - * manual/sysinfo.texi (Filesystem handling): Likewise. - * manual/signal.texi (Signaling Yourself): Likewise. - * manual/message.texi (Message Translation): Likewise. - (Common Usage): Likewise. - * manual/llio.texi: Likewise. - * manual/arith.texi (Old-style number conversion): Likewise. - * manual/argp.texi (Argp): Likewise. - (Argp Parsers): Likewise. - (Argp Help Filtering): Likewise. - - * hesiod/README.hesiod: Correct typo. - - * manual/llio.texi: Correct typos. - * manual/sysinfo.texi: Likewise. - -1998-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * rt/aio.h: Rename __op to __operation for g++. - -1998-06-13 20:17 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * iconvdata/gen-8bit-gap.sh: Use awk not perl. Clean up sed - script. - * iconvdata/gen-8bit-gap-1.sh: Likewise. - * iconvdata/gen-8bit.sh: Clean up sed script. - - * iconvdata/Makefile: Remove all PERL conditionals; build all - the modules all the time. Export AWK. - (gen-8bit-gap): Delete setting of PERL. - (gen-8bit-gap-1): Likewise. - (perl-generated-headers): Renamed awk-generated-headers. - - * iconvdata/gap.pl: Removed. - * iconvdata/gaptab.pl: Removed. - * iconvdata/gap.awk: New file. - * iconvdata/gaptab.awk: New file. - -1998-06-15 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/generic/Dist: Add errno-loc.c. - - * sysdeps/unix/sysv/linux/alpha/glob.c: Add prototypes for the - __new_* functions. - -1998-06-14 14:21 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * stdio-common/bug12.c: New test for fread()/fseek(). - * stdio-common/Makefile (tests): Add bug12. - -1998-06-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/generic/elf/backtracesyms.c: Make array elements - constant. - * sysdeps/generic/backtracesyms.c: Likewise. Fix type of RESULT. - * debug/execinfo.h: Update declaration. - -1998-06-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/generic/elf/backtracesyms.c: Make array elements constant. - * sysdeps/generic/backtracesyms.c: Likewise. Fix type of RESULT. - * debug/execinfo.h: Update declaration. - -1998-06-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * manual/llio.texi: Fix spelling. - * manual/sysinfo.texi: Fix spelling. - -1998-06-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * misc/hsearch.c (__hdestroy): Renamed from hdestroy, create weak - alias for old name. Put this on __libc_subfreeres. - * misc/search.h: Declare it. - -1998-06-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * string/bits/string2.h (strcmp): Add missing parens around macro - parameters. - -1998-06-12 23:34 Ulrich Drepper <drepper@cygnus.com> - - * manual/arith.texi: Fix problem with @math and texinfo.tex. - - * manual/filesys.texi: Document LFS functions. - * manual/llio.texi: Likewise. - * manual/stdio.texi: Likewise. - * manual/time.texi: Likewise. - - * manual/llio.texi: Document AIO functions. - - * resource/sys/resource.h: Mark second argument of setrlimit as const. - * sysdeps/generic/setrlimit.c: Likewise. - * sysdeps/generic/setrlimit64.c: Likewise. - * sysdeps/mach/hurd/setrlimit.c: Likewise. - * sysdeps/unix/sysv/setrlimit.c: Likewise. - -1998-06-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/generic/getenv.c: Fix last change. - -1998-06-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/generic/backtrace.c: Provide generic implementation. - -1998-06-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * configure.in: Give visual feedback of the default directories we - added. - -1998-06-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * io/fts.c (fts_build): Define oflag only if needed. - -1998-06-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/libm-ieee754/w_exp10.c: Add missing close comment. - -1998-06-11 Ulrich Drepper <drepper@cygnus.com> - - * libc.map: Don't export argp's fmtstream handling functions. - - * manual/sysinfo.texi: Document fstab and mtab handling functions. - * manual/llio.texi: Document more LFS functions and start documenting - the AIO functions. - -1998-06-03 03:09 Geoff Keating <geoffk@ozemail.com.au> - - * sysdeps/unix/sysv/linux/pread.c: Detect missing syscall, like poll(). - * sysdeps/unix/sysv/linux/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. - -1998-06-03 03:09 Geoff Keating <geoffk@ozemail.com.au> - - * sysdeps/powerpc/Makefile: Use -G0 on the startup file; this - makes it easier to undump emacs. - * sysdeps/powerpc/bits/endian.h: Use more informative error message - for when the endianness can't be determined. - -1998-06-04 13:19 Geoff Keating <geoffk@ozemail.com.au> - - * nss/Makefile: Add files publickey database support. - * nss/libnss_files.map: Export the required functions. - * nss/nss_files/files-key.c: Implement it. - * sunrpc/rpc/auth_des.h: Correct typos in comments. - -1998-06-10 Ulrich Drepper <drepper@cygnus.com> - - * iconv/gconv_builtin.h: Add aliases for CORBA. - * iconvdata/gconv-modules: Likewise. - -1998-06-10 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * math/libm-test.c (main): Call exp10_test. - (exp10_test): New function which tests exp10. - -1998-06-10 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/syscalls.list: Add sigaltstack and - sigstack. - - * sysdeps/unix/sysv/linux/bits/sigstack.h: Add definitions of - SS_ONSTACK, SS_DISABLE, MINSIGSTKSZ and SIGSTKSZ. - * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h: New file. - -1998-06-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address - in the variable, not its GOT slot. - -1998-06-10 10:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/m68k/fpu/bits/mathinline.h: Define __ieee754_exp10 as - inline. - * sysdeps/m68k/fpu/e_exp10.c: New file. - * sysdeps/m68k/fpu/e_exp10f.c: New file. - * sysdeps/m68k/fpu/e_exp10l.c: New file. - - * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Set - _dl_profile_map only if the name matches. - (_dl_start_user): Remember stack address. - * sysdeps/m68k/elf/start.S: Pass new argument to - __libc_start_user. - - * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New - definition. - (PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error. - * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise. - -1998-06-09 18:16 Ulrich Drepper <drepper@cygnus.com> - - * math/Makefile (libm-calls): Add w_exp10 and e_exp10. - * math/libm.map: Add exp10{,f,l} and pow10{,f,l}. - * math/math_private.h: Add prototypes for __ieee754_exp10{,f,l}. - * math/bits/mathcalls.h: Add definitions for exp10 and pow10 - prototypes. - * sysdeps/libm-i387/e_exp10.S: New file. - * sysdeps/libm-i387/e_exp10f.S: New file. - * sysdeps/libm-i387/e_exp10l.S: New file. - * sysdeps/libm-ieee754/e_exp10.c: New file. - * sysdeps/libm-ieee754/e_exp10f.c: New file. - * sysdeps/libm-ieee754/e_exp10l.c: New file. - * sysdeps/libm-ieee754/w_exp10.c: New file. - * sysdeps/libm-ieee754/w_exp10f.c: New file. - * sysdeps/libm-ieee754/w_exp10l.c: New file. - * sysdeps/libm-ieee754/k_standard.c: Add exception code for exp10. - -1998-05-25 22:18 H.J. Lu <hjl@gnu.org> - - * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers): Add - sys/elf.h and sys/reg.h. - * sysdeps/unix/sysv/linux/i386/sys/elf.h: New file. - * sysdeps/unix/sysv/linux/i386/sys/reg.h: New file. - * sysdeps/unix/sysv/linux/i386/sys/procfs.h: New file. - * sysdeps/unix/sysv/linux/i386/sys/user.h: New file. - - * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETREGS, - PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS): Added. - -1998-06-09 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_options): Define - __data member only for gcc. Reported by ak@muc.de. - - * misc/mntent.h: Undo last patch. - * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Undo last patch. - * misc/tst/mntent.c: Adjust code for this change. - - * io/fts.c: Updated from a slightly more recent BSD version. - * io/fts.h: Likewise. - - * libc.map: Add __libc_stack_end. - - * db2/Makefile (routines): Add lock_region. - * db2/config.h: Update from db-2.4.14. - * db2/db.h: Likewise. - * db2/db_185.h: Likewise. - * db2/db_int.h: Likewise. - * db2/btree/bt_close.c: Likewise. - * db2/btree/bt_compare.c: Likewise. - * db2/btree/bt_conv.c: Likewise. - * db2/btree/bt_cursor.c: Likewise. - * db2/btree/bt_delete.c: Likewise. - * db2/btree/bt_open.c: Likewise. - * db2/btree/bt_page.c: Likewise. - * db2/btree/bt_put.c: Likewise. - * db2/btree/bt_rec.c: Likewise. - * db2/btree/bt_recno.c: Likewise. - * db2/btree/bt_rsearch.c: Likewise. - * db2/btree/bt_search.c: Likewise. - * db2/btree/bt_split.c: Likewise. - * db2/btree/bt_stat.c: Likewise. - * db2/btree/btree.src: Likewise. - * db2/btree/btree_auto.c: Likewise. - * db2/clib/getlong.c: Likewise. - * db2/common/db_appinit.c: Likewise. - * db2/common/db_apprec.c: Likewise. - * db2/common/db_byteorder.c: Likewise. - * db2/common/db_err.c: Likewise. - * db2/common/db_log2.c: Likewise. - * db2/common/db_region.c: Likewise. - * db2/common/db_salloc.c: Likewise. - * db2/common/db_shash.c: Likewise. - * db2/db/db.c: Likewise. - * db2/db/db.src: Likewise. - * db2/db/db_auto.c: Likewise. - * db2/db/db_conv.c: Likewise. - * db2/db/db_dispatch.c: Likewise. - * db2/db/db_dup.c: Likewise. - * db2/db/db_overflow.c: Likewise. - * db2/db/db_pr.c: Likewise. - * db2/db/db_rec.c: Likewise. - * db2/db/db_ret.c: Likewise. - * db2/db/db_thread.c: Likewise. - * db2/db185/db185.c: Likewise. - * db2/db185/db185_int.h: Likewise. - * db2/dbm/dbm.c: Likewise. - * db2/hash/hash.c: Likewise. - * db2/hash/hash.src: Likewise. - * db2/hash/hash_auto.c: Likewise. - * db2/hash/hash_conv.c: Likewise. - * db2/hash/hash_debug.c: Likewise. - * db2/hash/hash_dup.c: Likewise. - * db2/hash/hash_func.c: Likewise. - * db2/hash/hash_page.c: Likewise. - * db2/hash/hash_rec.c: Likewise. - * db2/hash/hash_stat.c: Likewise. - * db2/include/btree.h: Likewise. - * db2/include/btree_ext.h: Likewise. - * db2/include/clib_ext.h: Likewise. - * db2/include/common_ext.h: Likewise. - * db2/include/cxx_int.h: Likewise. - * db2/include/db.h.src: Likewise. - * db2/include/db_185.h.src: Likewise. - * db2/include/db_am.h: Likewise. - * db2/include/db_auto.h: Likewise. - * db2/include/db_cxx.h: Likewise. - * db2/include/db_dispatch.h: Likewise. - * db2/include/db_ext.h: Likewise. - * db2/include/db_int.h.src: Likewise. - * db2/include/db_page.h: Likewise. - * db2/include/db_shash.h: Likewise. - * db2/include/db_swap.h: Likewise. - * db2/include/hash.h: Likewise. - * db2/include/hash_ext.h: Likewise. - * db2/include/lock.h: Likewise. - * db2/include/lock_ext.h: Likewise. - * db2/include/log.h: Likewise. - * db2/include/log_ext.h: Likewise. - * db2/include/mp.h: Likewise. - * db2/include/mp_ext.h: Likewise. - * db2/include/mutex_ext.h: Likewise. - * db2/include/os_ext.h: Likewise. - * db2/include/os_func.h: Likewise. - * db2/include/queue.h: Likewise. - * db2/include/shqueue.h: Likewise. - * db2/include/txn.h: Likewise. - * db2/lock/lock.c: Likewise. - * db2/lock/lock_conflict.c: Likewise. - * db2/lock/lock_deadlock.c: Likewise. - * db2/lock/lock_region.c: Likewise. - * db2/lock/lock_util.c: Likewise. - * db2/log/log.c: Likewise. - * db2/log/log.src: Likewise. - * db2/log/log_archive.c: Likewise. - * db2/log/log_auto.c: Likewise. - * db2/log/log_compare.c: Likewise. - * db2/log/log_findckp.c: Likewise. - * db2/log/log_get.c: Likewise. - * db2/log/log_put.c: Likewise. - * db2/log/log_rec.c: Likewise. - * db2/log/log_register.c: Likewise. - * db2/mp/mp_bh.c: Likewise. - * db2/mp/mp_fget.c: Likewise. - * db2/mp/mp_fopen.c: Likewise. - * db2/mp/mp_fput.c: Likewise. - * db2/mp/mp_fset.c: Likewise. - * db2/mp/mp_open.c: Likewise. - * db2/mp/mp_pr.c: Likewise. - * db2/mp/mp_region.c: Likewise. - * db2/mp/mp_sync.c: Likewise. - * db2/mutex/68020.gcc: Likewise. - * db2/mutex/mutex.c: Likewise. - * db2/mutex/parisc.gcc: Likewise. - * db2/mutex/parisc.hp: Likewise. - * db2/mutex/sco.cc: Likewise. - * db2/os/os_abs.c: Likewise. - * db2/os/os_alloc.c: Likewise. - * db2/os/os_config.c: Likewise. - * db2/os/os_dir.c: Likewise. - * db2/os/os_fid.c: Likewise. - * db2/os/os_fsync.c: Likewise. - * db2/os/os_map.c: Likewise. - * db2/os/os_oflags.c: Likewise. - * db2/os/os_open.c: Likewise. - * db2/os/os_rpath.c: Likewise. - * db2/os/os_rw.c: Likewise. - * db2/os/os_seek.c: Likewise. - * db2/os/os_sleep.c: Likewise. - * db2/os/os_spin.c: Likewise. - * db2/os/os_stat.c: Likewise. - * db2/os/os_unlink.c: Likewise. - * db2/progs/db_archive/db_archive.c: Likewise. - * db2/progs/db_checkpoint/db_checkpoint.c: Likewise. - * db2/progs/db_deadlock/db_deadlock.c: Likewise. - * db2/progs/db_dump/db_dump.c: Likewise. - * db2/progs/db_dump185/db_dump185.c: Likewise. - * db2/progs/db_load/db_load.c: Likewise. - * db2/progs/db_printlog/db_printlog.c: Likewise. - * db2/progs/db_recover/db_recover.c: Likewise. - * db2/progs/db_stat/db_stat.c: Likewise. - * db2/txn/txn.c: Likewise. - * db2/txn/txn.src: Likewise. - * db2/txn/txn_auto.c: Likewise. - * db2/txn/txn_rec.c: Likewise. - - * elf/rtld.c: Move definition of __libc_stack_end to ... - * sysdeps/generic/dl-sysdep.h: ...here. - - * sysdeps/unix/sysv/linux/fstatvfs.c: Handle nodiratime option. - * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_NODIRATIME. - * sysdeps/unix/sysv/linux/sys/mount.h: Define MS_NODIRATIME. - - * sysdeps/generic/libc-start.c: Always set __libc_stack_end. - * sysdeps/i386/backtrace.c: Test whether frame pointer is legal - before following it. - -1998-06-08 21:44 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/fstatvfs.c: Handle constant option string - from mntent correctly. - -1998-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sunrpc/Makefile (generated): Correct typo. - -1998-06-04 Philip Blundell <philb@gnu.org> - - * elf/elf.h (EM_ARM, et al.): New definitions. - * sysdeps/arm/dl-machine.h: Update for new draft ARM ELF ABI. - -1998-06-08 21:33 Ulrich Drepper <drepper@cygnus.com> - - * localedata/SUPPORTED: Add sk_SK. - * localedata/locales/sk_SK: New file. - -1998-06-08 18:57 Ulrich Drepper <drepper@cygnus.com> - - * Makeconfig (subdirs): Add debug. - * configure.in: Use sysdeps/generic/elf subdir if ELF platform. - * libc.map: Add __backtrace, __backtrace_symbols, backtrace and - backtrace_symbols. - * sysdeps/generic/backtrace.c: New file. - * sysdeps/generic/backtracesyms.c: New file. - * sysdeps/generic/elf/backtracesyms.c: New file. - * sysdeps/i386/backtrace.c: New file. - * debug/Makefile: New file. - * debug/backtrace-tst.c: New file. - * debug/execinfo.h: New file. - -1998-06-08 13:34 Ulrich Drepper <drepper@cygnus.com> - - * elf/sprof.c: Implement call graph profiling. - - * sysdeps/generic/getenv.c: Optimize to use strncmp less often. - -1998-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * pwd/fgetpwent_r.c (__fgetpwent_r): Correct buffer overflow fix. - * grp/fgetgrent_r.c (__fgetgrent_r): Likewise. - * shadow/fgetspent_r.c (__fgetspent_r): Likewise. - Noticed by Jake Garver <garver@valkyrie.net>. - -1998-06-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * libio/genops.c (__underflow): Read character from read pointer - as unsigned. - (__uflow): Likewise. - -1998-06-07 13:32 Ulrich Drepper <drepper@cygnus.com> - - * libc.map: Add _dl_profile. - * elf/dl-reloc.c (_dl_relocate_object): Take extra argument, pass - this to ELF_DYNAMIC_RELOCATE. - Always allocate array for relocation result if LD_PROFILE is defined. - * elf/ldsodefs.h: Adjust prototypes. - * elf/dl-open.c (_dl_open): Call relocation function with extra - argument. - * elf/rtld.c: Likewise. - * elf/dl-profile.c (_dl_mcount): Don't mark as internal function. - Correct loop condition. - * elf/dynamic-link.h: Don't examine _dl_profile variable, pass - consider_profile to runtime setup function. - * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Use - _dl_runtime_profile for all shared objects if LD_PROFILE is defined. - - * elf/dl-support.c: Define __libc_stack_end. - * elf/rtld.c: Likewise. - * sysdeps/generic/libc-start.c: Store last stack address in - __libc_stack_end. - * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address. - * sysdeps/i386/elf/start.s: Call __libc_start_main with extra argument. - - * elf/elf.h: Include <features.h>, not <sys/cdefs.h>. - Include <stdint.h>, not <inttypes.h>. - - * elf/sprof.c: Implement flat profiling. - - * libio/fgetc.c: Call _IO_cleanup_region_end with 0 and call - _IO_funlockfile explicitly. - * libio/fileops.c: Likewise. - * libio/fputc.c: Likewise. - * libio/freopen.c: Likewise. - * libio/freopen64.c: Likewise. - * libio/fseek.c: Likewise. - * libio/fseeko.c: Likewise. - * libio/fseeko64.c: Likewise. - * libio/ftello.c: Likewise. - * libio/ftello64.c: Likewise. - * libio/getc.c: Likewise. - * libio/getchar.c: Likewise. - * libio/iofclose.c: Likewise. - * libio/iofflush.c: Likewise. - * libio/iofgetpos.c: Likewise. - * libio/iofgetpos64.c: Likewise. - * libio/iofgets.c: Likewise. - * libio/iofputs.c: Likewise. - * libio/iofread.c: Likewise. - * libio/iofsetpos.c: Likewise. - * libio/iofsetpos64.c: Likewise. - * libio/ioftell.c: Likewise. - * libio/iofwrite.c: Likewise. - * libio/iogetdelim.c: Likewise. - * libio/iogets.c: Likewise. - * libio/ioputs.c: Likewise. - * libio/ioseekoff.c: Likewise. - * libio/ioseekpos.c: Likewise. - * libio/iosetbuffer.c: Likewise. - * libio/iosetvbuf.c: Likewise. - * libio/ioungetc.c: Likewise. - * libio/iovsprintf.c: Likewise. - * libio/iovsscanf.c: Likewise. - * libio/oldfileops.c: Likewise. - * libio/oldiofclose.c: Likewise. - * libio/peekc.c: Likewise. - * libio/putc.c: Likewise. - * libio/putchar.c: Likewise. - * libio/rewind.c: Likewise. - - * malloc/mtrace.c: Pretty print. - - * misc/mntent.h (struct mentent): Make string elements const char *. - - * nis/nis_printf.c: Optimize I/O a little bit. - - * signal/Makefile (distribute): Add sigset-cvt-mask.h. - * sysdeps/generic/sigset-cvt-mask.h: New file. - * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: New file. - * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: New file. - * sysdeps/posix/sigvec.c: Rewrite the use definitions from - sigset-cvt-mask.h to do the dirty work. - Patches by Joe Keane. - - * sysdeps/posix/mkstemp.c: Save one precious byte of rodata. - - * sysdeps/unix/sysv/linux/i386/sysdep.h: Rewrite PSEUDO etc to make - syscall_error label in case of PIC anonymous. - * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/i386/clone.S: Adapt for this change. - * sysdeps/unix/sysv/linux/i386/mmap.S: Adapt for this change. - * sysdeps/unix/sysv/linux/i386/s_pread64.S: Adapt for this change. - * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Adapt for this change. - * sysdeps/unix/sysv/linux/i386/socket.S: Adapt for this change. - * sysdeps/unix/sysv/linux/i386/syscall.S: Adapt for this change. - -1998-06-05 Ulrich Drepper <drepper@cygnus.com> - - * sunrpc/xdr_rec.c (xdrrec_create): Add cast for *_ops array since - we cannot declare the struct element as const. - * sunrpc/xdr_mem.c (xdrmem_create): Likewise. - * sunrpc/xdr_stdio.c (xdrstdio_create): Likewise. - -1998-06-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * manual/Makefile: Include ../Makeconfig earlier. - (MAKEINFO, TEXI2DVI): Use defaults if ../Makeconfig does not - exist. - (dir-add.texinfo): Remove useless $(SHELL). - -1998-06-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Makefile (others): Build programs from install-bin. - * configure.in: Modify config.make only if is was just created and - move that command to second argument of AC_OUTPUT. Add command to - set config_vars in config.status. - -1998-06-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * malloc/Makefile (address-width): Fix conditional. - -1998-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * libc.map: Add fattach, fdetach, getmsg, getpmsg, makecontext, - putmsg, putpmsg, scalbln, scalblnf, scalblnl, strtoimax, - strtoumax, swapcontext, waitid, wcsnlen, wcstoimax, wcstoumax with - version GLIBC_2.1. - -1998-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * manual/lang.texi (Range of Type): Change @end table->@end vtable. - (Floating Point Parameters): Likewise. - -1998-06-01 Gordon Matzigkeit <gord@profitpress.com> - - * hurd/Makefile (routines): Add cthreads. - -1998-05-31 Mark Kettenis <kettenis@phys.uva.nl> - - * login/login.c (login): Let pututline take care of finding the - positin to insert the UTMP entry. This corrects a bug where ssh - was not reusing UTMP entries marked as DEAD_PROCESS. - Reported by Herbert Xu <herbert@gondor.apana.org.au>. - -1998-05-31 Mark Kettenis <kettenis@phys.uva.nl> - - * login/Makefile (tests): New variable, add tst-utmp and - tst-utmpx. - * login/tst-utmp.c: New file. - * login/tst-utmpx.c: New file. - -1998-06-01 Gordon Matzigkeit <gord@profitpress.com> - - * sysdeps/mach/hurd/errlist.c (sys_nerr, _sys_nerr): Make weak - aliases for _hurd_nerr, for programs that don't use sys_errlist, - but need sys_err. - -1998-05-31 Mark Kettenis <kettenis@phys.uva.nl> - - * sysdeps/generic/updwtmpx.c: Rename function to updwtmpx. - * libc.map: Add updwtmpx and utmpxname to GLIBC_2.1. - -1998-05-31 Mark Kettenis <kettenis@phys.uva.nl> - - * sysdeps/mach/hurd/read.c: Rename function to __libc_read and - make __read a weak alias. Use ANSI-style function definition. - * sysdeps/mach/hurd/write.c: Likewise. - -1998-05-31 Mark Kettenis <kettenis@phys.uva.nl> - - * sysdeps/mach/hurd/err_hurd.sub: Use _hurd_errlist instead of - _sys_errlist. - -1998-05-30 Mark Kettenis <kettenis@phys.uva.nl> - - * sysdeps/mach/hurd/Makefile ($(objpfx)librtld.os): - Renamed from librtld.so. - -1998-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * libc.map: Remove _IO_getline_info which was erroneously - introduced in section GLIBC_2.0. - Noticed by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>. - -1998-06-01 Gordon Matzigkeit <gord@profitpress.com> - - * sysdeps/generic/socket.c (__socket): Renamed from socket, and - created a weak alias. - * sysdeps/mach/hurd/socket.c (__socket): Likewise. - -1998-05-31 Gordon Matzigkeit <gord@profitpress.com> - - * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Rename from old - ftruncate function, and create a weak alias to ftruncate. - -1998-06-01 Gordon Matzigkeit <gord@profitpress.com> - - * grp/fgetgrent_r.c: Use &errno instead of __errno_location (). - * inet/getnetgrent_r.c: Likewise. - * nss/getXXbyYY_r.c: Likewise. - * nss/getXXent_r.c: Likewise. - * pwd/fgetpwent_r.c: Likewise. - * shadow/sgetspent_r.c: Likewise. - * shadow/fgetspent_r.c: Likewise. - * sunrpc/publickey.c: Likewise. - -1998-06-01 Gordon Matzigkeit <gord@profitpress.com> - - * hurd/libhurduser.map: New file. - * mach/libmachuser.map: Likewise. - - * libc.map: Add Hurd-specific functions to version 2.1. - Add __flshfp and __fillbf. - -1998-05-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * manual/signal.texi (Basic Signal Handling): Fix typo. - * manual/errno.texi (Error Codes): Likewise. - -1998-06-02 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/netipx/ipx.h: Include <bits/sockaddr.h> - instead of <sys/socket.h>. - Patch by NIIBE Yutaka <gniibe@mri.co.jp> - - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): - Finally make it working. - Patch by Mark Hatle <fray@kernel.crashing.org>. - -1998-03-22 Paul Eggert <eggert@twinsun.com> - - * posix/regex.c: Include <wchar.h> before <wctype.h>, to work around - a Solaris 2.6 bug. + * nis/nss_nisplus/nisplus-publickey.c: Likewise. + * sunrpc/rpc_main.c: Likewise. -1998-05-30 Philip Blundell <Philip.Blundell@pobox.com> +1998-12-20 Philip Blundell <philb@gnu.org> - * stdlib/gmp-impl.h: Support strange mixed-endian double format - used by ARM systems. - * sysdeps/arm/fpu/bits/fenv.h (FE_EXCEPTION_SHIFT): Rename to - FE_EXCEPT_SHIFT. - * sysdeps/arm/bits/fenv.h: Deleted. - * sysdeps/arm/fpu/ieee754.h: New file. - * sysdeps/arm/gmp-mparam.h: New file. - * stdlib/longlong.h (umul_ppmm): Temporarily disable broken ARM + * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Add implementation. + * sysdeps/unix/sysv/linux/arm/syscalls.list: Remove wrappers for + now-inlined calls. -1998-06-01 Ulrich Drepper <drepper@cygnus.com> - - * sunrpc/rpc/xdr.h (struct XDR): Don't mark xdr_ops element as const. - - * sysdeps/i386/fpu/bits/mathinline.h: Use ((__unused__)) instead - of ((unused)). Reported by Bruno Haible. - -1998-05-31 Philip Blundell <philb@gnu.org> - - * sysdeps/unix/sysv/linux/arm/sysdep.S: Use C_SYMBOL_NAME when - referring to errno and _errno. - - * sysdeps/arm/fpu/feholdexcpt.c: New file. - - * sysdeps/i386/fpu_control.h: Fix typo. - - * sysdeps/arm/bits/setjmp.h (__jmp_buf): Remove floating-point support. - (_JMPBUF_UNWINDS): Added. - * sysdeps/arm/fpu/bits/setjmp.h: New file. +1998-12-22 Philip Blundell <pb@nexus.co.uk> -1998-05-25 Gordon Matzigkeit <gord@profitpress.com> + * sysdeps/unix/sysv/linux/arm/ioperm.c: New file. + Implementation of inb, outb etc for ARM systems. + * sysdeps/unix/sysv/linux/arm/sys/io.h: Likewise. + * sysdeps/unix/sysv/linux/arm/Versions: Add appropriate + entries for the above. - * sysdeps/mach/hurd/Makefile: Use the `before-compile' target in - order to build header files, not `generated'. +1998-12-21 Ulrich Drepper <drepper@cygnus.com> - * Rules (before-compile): New target which depends on all - $(before-compile) files. + * nss/db-Makefile (shadow.db): Create file with correct protections. + Based on a patch by Joel Klecker <espy@debian.org>. -1998-06-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * nis/nis_call.c: Make directory search faster. - - * nis/nis_callback.c: Insert public key of user in callback data. - - * nis/nis_clone_obj.c: Make size from type u_long, not u_int. - - * nis/nis_creategroup.c: Check for NULL pointer, fill in more fields. - - * nis/nis_findserv.c: Rename __pmap_getport to __pmap_getnisport. - - * nis/nis_intern.h: Remove duplicated prototype. - -1998-06-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * sunrpc/auth_des.c: Move prototypes from here ... - * sunrpc/rpc/auth.h: ... to here. - - * sunrpc/clnt_tcp.c: Add more control flags. - * sunrpc/clnt_udp.c: Likewise. - - * sunrpc/netname.c (host2netname): Remove prefixing dot from - domainname. - - * sunrpc/rpc/clnt.h: Document, which control flags are not - implementable. - - * sunrpc/svcauth_des.c: Use key_decryptsession_pk to avoid deadlock. - -1998-05-29 Ulrich Drepper <drepper@cygnus.com> - - * locale/loadlocale.c (_nl_load_locale): Don't allow too small - files crash the program. - - * io/Makefile: Don't run ftwtest-sh if cross-compiling. - * string/Makefile: Don't run test on tst-svc.out if cross-compiling. - Reported by Deborah Wallach <kerr@pa.dec.com>. - -1998-05-28 00:53 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending - on whether this is a stable release or not (keeps snapshot bug - reports out of the database). - - * include/libc-symbols.h: Use __ASSEMBLER__ test macro not ASSEMBLER. - * sysdeps/arm/sysdep.h: Likewise. - * sysdeps/i386/sysdep.h: Likewise. - * sysdeps/m68k/sysdep.h: Likewise. - * sysdeps/mach/mips/sysdep.h: Likewise. - * sysdeps/mach/sys/reboot.h: Likewise. - * sysdeps/mach/sysdep.h: Likewise. - * sysdeps/unix/alpha/sysdep.h: Likewise. - * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise. - * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise. - * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise. - * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise. - * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise. - * sysdeps/unix/bsd/vax/sysdep.h: Likewise. - * sysdeps/unix/i386/sysdep.h: Likewise. - * sysdeps/unix/mips/sysdep.h: Likewise. - * sysdeps/unix/sparc/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise. - -1998-05-27 Mark Kettenis <kettenis@phys.uva.nl> - - * mach/Machrules: Use $(move-if-change). - -1998-05-27 Mark Kettenis <kettenis@phys.uva.nl> - - * Makeconfig [elf=yes] (+interp): New variable, set to interp.os. - * Makerules (lib%.so): Depend on $(+interp). - (libc.so): Add interp.os to list of dependencies. - (interp-obj): Remove variable. - * mach/Machrules (+interp): Define to empty since libhurduser and - libmachuser don't need to have the interpreter set. - -1998-05-28 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * resolv/res_send.c: Security fixes from bind 4.9.7-REL. - - * resolv/gethnamaddr.c: Likewise. - - * resolv/res_comp.c: Likewise. - -1998-05-28 Mark Kettenis <kettenis@phys.uva.nl> + * inet/gethstbynm_r.c: Remove NEED__RES definition since we do this + anyway for digits_dots.c. + * nss/getXXbyYY.c: Initialize _res before using digits_dots.c + functions. + * nss/getXXbyYY_r.c: Likewise. - * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition - so that transparent union works. +1998-12-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> -1998-05-29 08:58 Ulrich Drepper <drepper@cygnus.com> + * sunrpc/key_call.c (getkeyserv_handle): Use __fcntl instead of + fcntl. - * manual/texinfo.tex: Update to last available version. +1998-12-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * timezone/africa: Update from tzdata1998e. - * timezone/antarctica: Likewise. - * timezone/asia: Likewise. - * timezone/australasia: Likewise. - * timezone/europe: Likewise. - * timezone/iso3166.tab: Likewise. - * timezone/northamerica: Likewise. - * timezone/tzselect.ksh: Likewise. - * timezone/zone.tab: Likewise. + * locale/weight.h (get_weight): Extract string elements as + unsigned values. -1998-05-27 Ulrich Drepper <drepper@cygnus.com> +1998-12-06 Mark Kettenis <kettenis@phys.uva.nl> - * sysdeps/unix/sysv/linux/i386/chown.c: Fix comment. - Reported by Matt McLean <keys@brio.yikes.com>. + Reverse the change of 1998-04-22. Providing a struct dirent with + different members when __USE_FILE_OFFSET64 is defined is asking + for trouble. Instead add the necessary LFS magic to the 4.4BSD + header. + * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Add LFS definitions. + * sysdeps/mach/hurd/bits/dirent.h: Removed. + * sysdeps/mach/hurd/readdir64.c: Removed. + * sysdeps/mach/hurd/readdir64_r.c: Removed. -1998-05-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-12-20 Roland McGrath <roland@baalperazim.frob.com> - * catgets/Makefile ($(objpfx)de.cat): Renamed from - do-gencat-test. Use automatic variables. - ($(objpfx)de.msg): Fix reference to po file. + * sysdeps/generic/bits/mman.h [__USE_MISC] (MAP_ANONYMOUS): Define as + alias for MAP_ANON. -1998-05-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * stdio/stdio.h (sys_errlist, sys_nerr, _sys_errlist, _sys_nerr): + Remove decls. They don't exist at all on the Hurd. - * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use - $(move-if-change). + * sunrpc/svc_unix.c, sunrpc/clnt_unix.c: Avoid using `struct cmsghdr' + and `struct ucred' #ifndef SCM_CREDENTIALS. -1998-05-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sunrpc/publickey.c (getsecretkey): Use `&errno' instead of + `__errno_location ()'; means the same, works for Hurd. - * intl/dcgettext.c: Fix typo. + * sysdeps/mach/hurd/Makefile (subdirs): Don't elide sunrpc. -1998-05-25 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1998-12-18 Ulrich Drepper <drepper@cygnus.com> - * configure.in: Allow more make versions e.g 3.76.90. + * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Include + features.h and stddef.h. + * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h (struct + sigaltstack): Move ss_size field at the end. + Patches by Jeff Bailey <jbailey@nisa.net>. -1998-05-25 Ulrich Drepper <drepper@cygnus.com> + * time/getdate.c (check_mday): tm_mon contains values from 0 to 11, + not 1 to 12. - * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir). + * manual/texinfo.tex: Update to latest version. - * malloc/thread-m.h: Use __mutex_init function in mutex_init macro - for Hurd. Patch by Mark Kettenis. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add ipc. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + Patch by Cristian Gafton <gafton@redhat.com>. -1998-04-18 Gordon Matzigkeit <gord@profitpress.com> +1998-12-17 Ulrich Drepper <drepper@cygnus.com> + + * iconvdata/gconv-modules: Add remaining aliases from Internet + standards. + + * iconv/gconv_int.h (gconv_module): Add new element from_regex_mem. + * iconv/gconv_conf.c (module_compare): Make s1 and s2 const. + (detect_conflict): New function. + (add_alias): Call detect_conflict to see whether there is already + a module for the new name. + (add_module): Make sure there is no alias for the new name. + (read_conf_file): Call add_alias with new argument. + (__gconv_read_conf): Don't destroy module tree immediately after + walking it. We need it to test the internal conversions for + conflicts. + * iconv/gconv_db.c (find_derivation): Don't allocate memory for + regular expression. There is now room in the module descriptor. + (free_mem): Don't free memory for regular expression. + + * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_IRDA, PF_IRDA and + MSG_TRYHARD. + + * sunrpc/clnt_unix.c (clntunix_destroy): Use __close not close. + * libio/oldtmpfile.c: Likewise. + * libio/oldiofdopen.c: Use __fcntl instead fcntl. + * sysdeps/posix/profil.c: Use __sigaction instead of sigaction. + + * iconvdata/iso646.c (gconv_init): Return correct error value if we + run out of memory. + * iconvdata/iso-2022-jp.c: Likewise. - * mach/Machrules (+preinit, +postinit): Define these variables to - empty because libhurduser and libmachuser don't need startup - files. + * iconv/gconv_db.c (gen_steps): Respect error return value from + init functions and abort. -1998-04-22 Gordon Matzigkeit <gord@profitpress.com> + * iconvdata/iso646.c: Recognize NF_Z_62-010_1973 as charset name. - * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code - instead of a raw bitmask. +1998-12-17 H.J. Lu <hjl@gnu.org> -1998-05-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sunrpc/rpc/xdr.h (XDR_DESTROY): Add ';'. + (xdr_destroy): Likewise. - * Makeconfig (rpath-dirs): New variable. - (rpath-link): Use it. - (nssobjdir, nisobjdir, rtobjdir, resolvobjdir): Removed. - (db-objpfx): Removed. - * crypt/Makefile: Augment rpath-dirs instead of rpath-link. - * md5-crypt/Makefile: Likewise. - * sysdeps/mach/hurd/Makefile: Likewise. +1998-12-17 Ulrich Drepper <drepper@cygnus.com> - * Makeconfig (move-if-change): New variable. - * iconvdata/Makefile (move-if-change): Removed. - * manual/Makefile (move-if-change): Set only if undefined, use - local script by default. - * sunrpc/Makefile (move-if-change): Removed. - * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use - $(move-if-change). + * login/login.c: Determine pts/3 as terminal name if path is + /dev/pts/3. This is consistent with getlogin. [PR libc/906] - * elf/Makefile: Remove all references to obsolete file - $(objpfx)rtldtbl.h. - ($(objpfx)trusted-dirs.h): Use stamp file. Cleanup command. +1998-12-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> -1998-05-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/posix/tempname.c (__path_search): Add casts for format + string. - * elf/dl-close.c (_dl_close): Add debugging message. +1998-12-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> -1998-05-25 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sunrpc/rpc/xdr.h (XDR_DESTROY, xdr_destroy): Avoid dangling else + problem. + (IXDR_PUT_INT32): Fully parenthesize parameters. + (IXDR_GET_LONG, IXDR_PUT_LONG): Mark GCC extension. Fully + parenthesize parameter. - * csu/Makefile ($(objpfx)version-info.h): Correct sed expression - to get Linux version and not gcc version. - Reported by Alan Curry <pacman@cqc.com>. +1998-12-16 Ulrich Drepper <drepper@cygnus.com> -1998-05-25 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * iconvdata/gconv-modules: Add some of the charset name aliases + used in Internet standards. - * sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL - pointers - return unknown error message instead. - Reported by Alan Curry <pacman@cqc.com>. +1998-12-16 Ulrich Drepper <drepper@cygnus.com> -1998-05-24 Mark Kettenis <kettenis@phys.uva.nl> + * version.h (VERSION): Bump to 2.0.107. - * iconvdata/Makefile (modules, sed-generated-headers, - perl-generated-headers): ibm424.h is perl generated. Make - necessary modifications to compile without perl. + * sysdeps/i386/i486/bits/string.h: Pretty printing. -1998-05-24 Mark Kettenis <kettenis@phys.uva.nl> +1998-12-16 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - * hesiod/hesiod.c (read_config_file): Fix typo. + * sunrpc/rpc/xdr.h: Revert patch from 1998-12-14, partly revert + patch from 1998-12-01. -1998-05-24 Ulrich Drepper <drepper@cygnus.com> +1998-12-16 Roland McGrath <roland@baalperazim.frob.com> - * version.h: Bump VERSION. + * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Define this #ifdef + __USE_BSD as well as #ifdef __USE_GNU, so MAXSYMLINKS can use it. + Reported by UCHIYAMA Yasushi <uch@nop.or.jp> - * csu/Makefile (distribute): Add munch-tmpl.c. +1998-12-16 Ulrich Drepper <drepper@cygnus.com> -1998-05-23 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * iconvdata/ibm866.c: New file. + * iconvdata/cp1258.c: New file. + * iconvdata/cp1258.h: New file. + * iconvdata/mac-uk.c: New file. + * iconvdata/gconv-modules: Add rules for new modules. + * iconvdata/Makefile: Likewise. - * nis/nis_defaults.c: Fix buffer problems and typos. + * sysdeps/gnu/bits/ipc.h: Move libc internal bits to... + * include/bits/ipc.h: ..here. New file. -1998-05-23 08:42 Ulrich Drepper <drepper@cygnus.com> +1998-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined. - Patch by Fred Fish. + * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Don't change + read-only struct termios_p* but change k_termios member directly. -1998-05-22 Ulrich Drepper <drepper@cygnus.com> +1998-12-15 H.J. Lu <hjl@gnu.org> - * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer - overwriting bugs. + * sysdeps/posix/tempname.c (__path_search): Fix the maximum + string length. - * libio/strops.c (_IO_str_underflow): Read newly available - character from buffer as unsigned. +1998-12-15 Ulrich Drepper <drepper@cygnus.com> -1998-05-22 10:56 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/msgctl.c: Use INLINE_SYSCALL. + * sysdeps/unix/sysv/linux/msgget.c: Likewise. + * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. + * sysdeps/unix/sysv/linux/msgsnd.c: Likewise. + * sysdeps/unix/sysv/linux/semctl.c: Likewise. + * sysdeps/unix/sysv/linux/semget.c: Likewise. + * sysdeps/unix/sysv/linux/semop.c: Likewise. + * sysdeps/unix/sysv/linux/shmat.c: Likewise. + * sysdeps/unix/sysv/linux/shmctl.c: Likewise. + * sysdeps/unix/sysv/linux/shmdt.c: Likewise. + * sysdeps/unix/sysv/linux/shmget.c: Likewise. + * sysdeps/unix/sysv/linux/syscalls.list: Remove ipc syscall here. + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add ipc syscall here. - * catgets/Makefile (distribute): Add xopen-msg.h. - (generated): Add de.msg and de.cat. - (tests): Add do-gencat-test. - (do-gencat-test): New goal. Run gencat on a generated msg file. - * catgets/xopen-msg.h: New file. + * time/strftime.c: Remove 'f' format. -1998-05-22 Ulrich Drepper <drepper@cygnus.com> + * time/strptime.c (get_number): Ignore trailing whitespace. + (strptime_internal): Handle 'F' and 'k' formats. - * catgets/open_catalog.c (__open_catalog): Use byteswap.h - functions. Optimize filename creation a bit. + * sysdeps/posix/tempname.c (__path_search): Add second part of the + patch by Andreas Jaeger. -1998-05-22 09:29 Ulrich Drepper <drepper@cygnus.com> +1998-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * stdlib/random_r.c: Help gcc to optimize the code. - Patch by Joe Keane <jgk@jgk.org>. + * stdio-common/tst-tmpnam.c (main): Use void as parameter to avoid + warnings about unused args. Fix comment. -1998-05-21 Ulrich Drepper <drepper@cygnus.com> +1998-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * iconv/iconv_prog.c (print_known_names): Use strverscmp in all - tsearch calls. + * sysdeps/posix/tempname.c (__path_search): Correct last patch. -1998-05-21 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1998-12-14 Ulrich Drepper <drepper@cygnus.com> - * timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable + * sunrpc/rpc/xdr.h (IXDR_GET_INT32): Case pointer before reading from it. + (IXDR_PUT_INT32): Likewise for writing. + Patch by Bruce Elliott <bde@nwlink.com>. -1998-05-21 15:27 Ulrich Drepper <drepper@cygnus.com> - - * wcsmbs/wcsnrtombs.c: Correct computation of result. - * wcsmbs/wcsrtombs.c: Likewise. - - * wcsmbs/Makefile (tests): Add wcsmbs-tst1.c. - * wcsmbs/wcsmbs-tst1.c: New file. - - * iconv/loop.c (COUNT_CONVERTED): Correct computation. - - * locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale - as 1. - - * locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references - weak. - -1998-05-21 Philip Blundell <philb@gnu.org> - - * sysdeps/arm/fpu_control.h: Replace stub file with real - implementation. - * sysdeps/arm/fpu/bits/fenv.h: New file. - * sysdeps/arm/fpu/fesetround.c: Likewise. - * sysdeps/arm/fpu/fclrexcpt.c: Likewise. - * sysdeps/arm/fpu/fsetexcptflag.c: Likewise. - * sysdeps/arm/fpu/ftestexcpt.c: Likewise. - * sysdeps/arm/fpu/fraiseexcpt.c: Likewise. - * sysdeps/arm/fpu/fegetenv.c: Likewise. - * sysdeps/arm/fpu/fesetenv.c: Likewise. - -1998-05-21 16:34 Richard Henderson <rth@cygnus.com> - - * elf/dl-load.c (_dl_map_object_from_fd): Get file header with - read instead of mmap. - -1998-05-21 8:16 Richard Henderson <rth@cygnus.com> - - * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c - directly instead of include_next. Add missing semicolons. - * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h. - Add missing semicolons. - -1998-05-21 Ulrich Drepper <drepper@cygnus.com> - - * iconvdata/gconv-modules: Add more aliases to please java - environments. - -1998-05-20 Ulrich Drepper <drepper@cygnus.com> - - * stdio-common/vfprintf.c (process_arg): Fix typo. - - * iconvdata/TESTS: New tests for EUC-KR. - - * iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS. - * iconvdata/testdata/EUC-KR: New file. - -1998-05-20 07:26 H.J. Lu <hjl@gnu.org> - - * math/libm-test.c (hypot_test): Fix a typo. - -1998-05-20 Ulrich Drepper <drepper@cygnus.com> - - * stdio-common/vfprintf.c: When precision is specified for %ls or - %S handle it correctly. - -1998-05-20 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the - the" in one line - fixed it. - * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise. - * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise. - * posix/unistd.h: Likewise - -1998-05-20 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * Makeconfig (rpath-link): Add resolvobjdir. - (resolvobjdir): New variable. - Reported by Peter Breitenlohner <peb@mppmu.mpg.de> [fixes PR libc/633]. - -1998-05-20 09:36 Ulrich Drepper <drepper@cygnus.com> - - * elf/dl-close.c: Call shared object terminators at the right time. - Patch by Philippe Troin <phil@fifi.org>. - -1998-05-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Make-dist (+tsrcs): Also add *.map for every member of - $(extra-libs). - - * Makefile (distribute): Don't distribute scripts/printsources and - scripts/=__ify. Distribute FAQ.in. - (rpm/%): Don't pass subdirs to sub-make. - - * timezone/Makefile: Protect inclusion of z.* by $(avoid-generated) - instead of $(no_deps). - -1998-05-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/generic/setenv.c: Protect against GNU C extension. - (KNOWN_VALUE, STORE_VALUE): Do it right. - (setenv): Remove unused variable. - -1998-05-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE. - (CFLAGS-zdump.c): Add $(tz-cflags). - - * timezone/zdump.c (abbr): Use TM_ZONE if defined. Add const to - return type. - -1998-05-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * time/tzfile.c (__tzfile_compute): Undo last change. Instead - take struct tm parameter and set tm_isdst, tm_zone and tm_offset - if use_localtime. - * time/tzset.c: Update prototype of __tzfile_compute. - (__tz_convert): Pass tp to __tzfile_compute. Don't set tm_isdst, - tm_zone and tm_offset here if __use_tzfile. - -1998-05-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Makerules: Install libc.a even if there are no object file. - -1998-05-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Makerules (do-makelib): Don't force creating library from - scratch, which is faster and gets correct behaviour if $(subdirs) - is incomplete. - -1998-05-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Makerules (do-stamp): Make it work when building in source - directory. - -1998-05-20 00:10 Ulrich Drepper <drepper@cygnus.com> - - * elf/dl-load.c: Rename option and variable from ignore-rpath to - inhibit-rpath. - * elf/dl-support.c: Likewise. - * elf/ldsodefs.h: Likewise. - * elf/rtld.c: Likewise. - * iconvdata/run-iconv-test.sh: Likewise. - -1998-05-19 23:08 Ulrich Drepper <drepper@cygnus.com> - - * elf/rtld.c: Recognize --ignore-rpath argument and set _dl_ignore_path - variable using the value. - * elf/ldsodefs.h: Declare _dl_ignore_path. - * elf/dl-load.c (decompose_rpath): Compare name of handled shared - object against list in _dl_ignore_path and ignore RPATH if on the list. - * elf/dl-support.c: Define _dl_ignore_path for static binaries. - * iconvdata/run-iconv-test.sh: Call ld.so with --ignore-rpath parameter - to make sure we get the correct helper libraries loaded. - - * elf/dl-load.c (decompose_rpath): Remove `room' parameter. Use - "RPATH" string in call to fillin_rpath instead. - (_dl_init_paths): Remove this parameter from call to decompose_rpath. - -1998-05-19 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx - correctly. Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>. - -1998-05-19 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * manual/terminal.texi (I/O Queues): Fix typo. - - * manual/stdio.texi (Closing Streams): Fix grammar. - - * manual/arith.texi (Absolute Value): Correct typo. - Patches by Oskar Liljeblad <osk@hem.passagen.se>. [PR libc/630] - -1998-05-19 15:58 Ulrich Drepper <drepper@cygnus.com> - - * elf/rtld.c (process_envvars): Fix typo. Don't handle - LD_PROFILE_OUTPUT in SUID binaries. - * intl/dcgettext.c: In SUID binaries don't let language part of - locale value contain path elements. - * intl/explodename.h: Define new function _nl_find_language. - * intl/loadinfo.h: Declare _nl_find_language. - * locale/findlocale.c (_nl_find_locale): Use _nl_find_locale to get - language part it drop the value is path element is contained. - - * locale/setlocale.c: Fix typo. - -1998-05-18 Philip Blundell <Philip.Blundell@pobox.com> - - * sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments. - - * sysdeps/arm/strlen.S: Support both big and little endian processors. - - * sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a - log, not a byte-count. - - * sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for - a.out compatibility. - -1998-05-19 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/unix/bsd/vax/vfork.S: Fix the "the the" problems. - * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise. - * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise. - * posix/unistd.h: Likewise. - * math/math.h: Likewise. - * manual/users.texi (Manipulating the Database): Likewise. - * manual/signal.texi (Job Control Signals): Likewise. - * manual/message.texi (The gencat program): Likewise. - * manual/filesys.texi (Hard Links): Likewise. - * manual/math.texi (SVID Random): Likewise. - * manual/llio.texi (Waiting for I/O): Likewise. - * manual/io.texi (File Name Errors): Likewise. - * manual/conf.texi (String Parameters): Likewise. - * manual/arith.texi (Infinity): Likewise. - * malloc/malloc.c: Likewise. - * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise. - * csu/Makefile: Likewise. - -1998-05-19 12:16 Ulrich Drepper <drepper@cygnus.com> - - * manual/memory.texi: Add back accidently removed line. - -1998-04-25 Mark Kettenis <kettenis@phys.uva.nl> - - * sysdeps/generic/utmp_file.c (TIMEOUT): New macro. - (timeout_handler): New function. - (LOCK_FILE, UNLOCK_FILE): New macros. - Implement file locking with timeout. - (getutent_r_file, internal_getut_r, getutline_r_file, - pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for - locking. - -1998-05-18 11:38 Ulrich Drepper <drepper@cygnus.com> - - * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata - directory. - -1998-05-16 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * rpm/Makefile: Delete inclusion of version.mk. - -1998-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * libc.map: Add all libio functions needed libstdc++ with version - 2.0, sort entries. - -1998-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1998-12-08 H.J. Lu <hjl@gnu.org> - * iconvdata/Makefile (generated): Add *.stmp files. + * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Don't clear + the IBAUD0 bit in c_iflag. -1998-05-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear the + the IBAUD0 bit in c_iflag. - * timezone/Makefile (testdata, build-testdata): New variables, use - them in rules for test data. - ($(objpfx)tst-timezone.out): Depend on test data. - ($(testdata)/Europe/Berlin, $(testdata)/Universal, - $(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo): - New rules to build test data. - (tst-timezone-ENV): Pass TZDIR to point to test data. +1998-12-14 Ulrich Drepper <drepper@cygnus.com> -1998-05-18 Ulrich Drepper <drepper@cygnus.com> + * time/Makefile (tests): Add tst-strptime. + * time/tst-strptime.c: New file. + * time/strptime.c: Correct bugs in weekday and yearday computation. - * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset - (the designation sequence is disturbing). +1998-12-14 Ulrich Drepper <drepper@cygnus.com> -1998-05-17 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * time/strptime.c (strptime_internal): Set tm_wday and tm_yday in + any of tm_year, tm_mon, or tm_mday was changed and the value + itself wasn't specified. - * sunrpc/svc_tcp.c: Add FreeBSD DoS patch. - * sunrpc/xdr_rec.c: Likewise. - -1998-05-15 Ulrich Drepper <drepper@cygnus.com> - - * posix/Makefile (tests): Add runptests. - (distribute): Add PTESTS, PTESTS2C.sed, and ptestcases.h. - (before-compile): Add ptestcases.h. - (ptestscases.h): Add rule to generate from PTESTS. - * posix/runptests.c: New file. - * posix/PTESTS: New file. - * posix/PTESTS2C.sed: New file. - -1998-05-15 Ulrich Drepper <drepper@cygnus.com> - - * iconv/loop.c: Let user add code to use and set paramaters. - - * iconvdata/iso-2022-kr.c: Correct to-loop. - - * iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to - point to output buffer. - - * iconvdata/ksc5601.h (ksc5601_to_ucs4): Use correct value to find - hanja. - - * iconvdata/TESTS: Add ISO-2022-KR test. - * iconvdata/testdata/ISO-2022-KR: New file. - -1998-05-15 21:07 Ulrich Drepper <drepper@cygnus.com> - - * iconv/gconv.h (gconv_step_data): Add new fields invocation_counter - and internal_use. - * iconv/gconv_open.c (__gconv_open): Initialize invocation_counter - and internal_use. - * wcsmbs/btowc.c: Likewise. - * wcsmbs/mbrtowcs.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wctob.c: Likewise. - * iconv/skeleton.c: Increment invocation_counter. - * iconvdata/iso-2022-kr.c: When used in iconv() emit designator - sequence first. - - * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression. - * iconvdata/iso-2022-jp.c: Likewise. - * iconvdata/iso646.c: Likewise. - - * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR. - -1998-05-15 Ulrich Drepper <drepper@cygnus.com> - - * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly. - - * sysdeps/generic/setenv.c (setenv): Remove optimization for - overwriting existing values if it fits. - -1998-05-15 14:36 Ulrich Drepper <drepper@cygnus.com> - - * posix/wordexp-test.c: Avoid duplicate messages. - - * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and - tsearch. Correctly interpret values returned by those functions. - (unsetenv): Store pointer to string, not pointer to string pointer. - - * time/tzfile.c (__tzfile_compute): Take new arguments. Store - DST information and offset in them. - * time/tzset.c (__tz_convert): Pass extra parameters to - __tzfile_compute. Compute equivalent values for use of tz_rules. - -1998-05-15 00:49:11 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * iconvdata/Makefile (gen-8bit-table): Use move-if-change and - stamp files to avoid unnecessary recompilation. - (gen-8bit-gap-table): Likewise. - (move-if-change): New variable. - (all generated .h rules): Change to be .stmp rules. - (%.h): New rule; depend on %.stmp; no commands. - (distribute): Add gen-8bit.sh, gen-8bit-gap.sh, - gen-8bit-gap-1.sh. - -1998-05-15 01:09 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * Makerules (libc-map): Deleted. - (load-map-file): Set to the appropriate compiler switch, not - just the file name. If libfoo-map is not set, look for a - libfoo.map in the current directory and $(..). - (map-file): New variable, contains just the mapfile name. - (build-shlib): Adjust for new value of load-map-file. - (libc.so): Correct dependencies. - - * extra-lib.mk: Correct shlib dependencies since libfoo-map - may not be set anymore. - - * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map). - Delete libdl-map. Tweak ld.so link rule to work with changed - variable settings in Makerules. - * iconvdata/Makefile: Tweak build-module to work with changed - variable settings in Makerules. - - * db/Makefile: Delete libdb-map. - * hesiod/Makefile: Delete libnss_hesiod-map. - * linuxthreads/Makefile: Delete libpthread-map. - * locale/Makefile: Delete libBrokenLocale-map. - * login/Makefile: Delete libutil-map. - * math/Makefile: Delete libm-map. - * md5-crypt/Makefile: Delete libcrypt-map. - * nis/Makefile: Delete libnsl-map, libnss_nis-map, - libnss_nisplus-map, and libnss_compat-map. - * nss/Makefile: Delete libnss_files-map, libnss_db-map, and - libnss_ldap-map. - * resolv/Makefile: Delete libresolv-map and libnss_dns-map. - * rt/Makefile: Delete librt-map. - -1998-05-15 01:06 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * configure.in: Instead of substituting `yes' or `no' for whether - --no-whole-archive is available, set @no_whole_archive@ to the - appropriate gcc switch or the empty string. Likewise for - -fno-exceptions. - * config.make.in: Replace have-no-whole-archive with - no-whole-archive and have-no-exceptions with no-exceptions. - * Makerules: Delete stanzas setting no-whole-archive and - no-exceptions. - - * sunrpc/Makefile: Use move-if-change to update generated .h - and .c files. - -1998-05-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead - of strchr loop. - -1998-05-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * time/tzfile.c (__tzfile_read): Remove unused variable info. - (__tzfile_compute): Likewise. - -1998-05-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new - defines from Linux 2.1.102. - -1998-05-14 23:14 Ulrich Drepper <drepper@cygnus.com> - - * locale/programs/ld-ctype.c: Write correct mb_cur_max value. - -1998-05-14 13:25 Ulrich Drepper <drepper@cygnus.com> - - * inet/netinet/in.h: Add defines for multicast. - Reported by Jeremy Hall <jhall@UU.NET>. - - * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv. - * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv - and unsetenv. Optimize _LIBC case. - * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks. - Define functions with leading __. - - * time/tzfile.c: Correct handling of global variables daylight, - timezone, and tzname. - * time/tzset.c: Likewise. - * timezone/Makefile (tests): Add tst-timezone. - * timezone/tst-timezone.c: New file. - -1998-05-14 10:35 Ulrich Drepper <drepper@cygnus.com> - - * timezone/asia: Update from tzdata1998d. - * timezone/australasia: Likewise. - * timezone/europe: Likewise. - -1998-05-13 Ulrich Drepper <drepper@cygnus.com> - - * string/string.h: Don't use the optimized versions for the string - functions if optimizing for space. - - * stdlib/tst-strtod.c: Add test for -0.0. + * include/stdio.h: Add new parameter to __path_search. + * libio/oldtmpfile.c: Add 0 as new parameter to __path_search. + * stdio-common/tmpfile.c: Likewise. + * stdio-common/tmpfile64.c: Likewise. + * stdio-common/tmpnam.c: Likewise. + * stdio-common/tmpnam_r.c: Likewise. + * stdio-common/tempnam.c: Add 1 as new parameter to __path_search. + * sysdeps/posix/tempname.c: Add new parameter. If value is nonzero + consider TMPDIR environment variable and dir parameter. Otherwise not. + * stdio-common/Makefile (tests): Add tst-tmpnam. + * stdio-common/tst-tmpnam.c: New file. - * io/ftwtest-sh: Prevent tests from being run by root. + * po/es.po: Update from translation team. - * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in - last addition. Patch by wkpark@chem.skku.ac.kr. +1998-12-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> -1998-05-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * timezone/Makefile: Protect inclusion of z.* by avoid-generated + and inhibit_timezone_rules instead of no_deps. + * Make-dist: Pass inhibit_timezone_rules=t when making + echo-distinfo. - * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap - table. +1998-12-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> -1998-05-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * manual/Makefile (distribute): Remove dir-add.texinfo. - * iconvdata/gen-8bit.sh: New file. - * iconvdata/gen-8bit-gap.sh: New file. - * iconvdata/gen-8bit-gap-1.sh: New file. - * iconvdata/Makefile (generate-8bit-table): Use shell script - instead of writing the commands directly. - (generate-8bit-gap-table): Likewise. - ($(objpfx)iso8859-7jp.h): Likewise. - (generated headers): Depend on shell script instead of Makefile. - (before-compile): Add $(perl-generated-headers) only if perl is - available. - (headers): Depend on $(perl-generated-headers) only if perl is - available. - (sed-generated-headers): Remove iso8859-7jp.h. + * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/procfs.h and + sys/user.h. -1998-05-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-12-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command. Clean up. - (/): Removed. + * manual/Makefile (stamp-summary): Use ^L as separator for + sorting. + * manual/arith.texi: Add comments before all @deffoox lines to get + them added to the summary. + * manual/creature.texi: Likewise. + * manual/math.texi: Likewise. -1998-05-12 Ulrich Drepper <drepper@cygnus.com> +1998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly - formed charset names to getfct. Let user override charset - selection by mention charset in locale name. + * math/libm-test.c: Remove macro ISINF. Change all usages of + ISINF to isinf. -1998-05-12 12:15 Ulrich Drepper <drepper@cygnus.com> +1998-12-13 Ulrich Drepper <drepper@cygnus.com> - * posix/glob.c: Move to ... - * sysdeps/generic/glob.c: ...here. - * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs - elements. - * sysdeps/unix/sysv/linux/alpha/glob.c: New file. - * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file. - * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c. - * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix - subdir. - * libc.map [GLIBC_2.1]: Add glob and globfree. + * sysdeps/posix/tempname.c: Use __xstat instead of __stat. + * sysdeps/unix/grantpt.c: Likewise. + * sysdeps/unix/sysv/linux/ptsname.c: Likewise. + * sysvipc/ftok.c: Likewise. + Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>. -1998-05-12 Ulrich Drepper <drepper@cygnus.com> + * stdlib/test-canon.c: Define PATH_MAX if the system does not. + * string/stratcliff.c: Use MAP_ANON instead of MAP_ANONYMOUS. + Patch by UCHIYAMA Yasushi <uch@nop.or.jp>. - * sunrpc/Makefile (generated): Restore old list. +1998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-05-11 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/alpha/fpu/fsetexcptflg.c: Avoid -Wparentheses warning. - * rt/Makefile (tests): Define only if we have a thread library. + * sysdeps/libm-ieee754/s_expm1.c (__expm1): Avoid -Wparentheses + warning. + * sysdeps/libm-ieee754/s_log1p.c (__log1p): Likewise. + * sysdeps/libm-ieee754/e_logf.c (__ieee754_logf): Likewise. + * sysdeps/libm-ieee754/s_expm1f.c (__expm1f): Likewise. + * sysdeps/libm-ieee754/e_log.c (__ieee754_log): Likewise. + * sysdeps/libm-ieee754/s_log1pf.c (__log1pf): Likewise. - * nis/ypclnt.c: Add: #include <errno.h>. +1998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-05-10 15:39 Zack Weinberg <zack@rabi.phys.columbia.edu> + * sunrpc/svc_udp.c (svcudp_bufcreate): Declare len as socklen_t. + (svcudp_recv): Likewise. - * configure.in: Define and substitute RELEASE as well as - VERSION. - * config.make.in: Add RELEASE and VERSION to be substituted. - * Makeconfig: Delete all references to version.mk. - * Make-dist: Likewise. - * MakeTAGS: Likewise. - * elf/Makefile: Likewise. +1998-12-13 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> -1998-05-10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * nis/nss-nisplus.h: Change some mappings of NIS+ errors to + NSS error codes to avoid endless loops. - * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to - yp_get_default_domain. +1998-12-13 Ulrich Drepper <drepper@cygnus.com> -1998-05-12 Ulrich Drepper <drepper@cygnus.com> + * iconvdata/gconv-modules: Correct aliases for ISO-8859-13 and add + aliases for ISO-8859-14. - * sysdeps/posix/profil.c (__profil): Don't define act and timer - variables as static. Patch by Joe Keane <jgk@jgk.org>. +1998-12-12 Geoff Keating <geoffk@ozemail.com.au> -1998-05-12 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> + * posix/fnmatch.c (fnmatch): Arguments to FOLD must not have + side-effects. - * malloc/malloc.c: Fix for NO_THREADS case. +1998-12-12 Ulrich Drepper <drepper@cygnus.com> -1998-05-11 18:02 Richard Henderson <rth@cygnus.com> + * iconvdata/iso-8859-11.h: ISO 8859-11 conversion data. + * iconvdata/iso-8859-11.c: ISO 8859-11 conversion module. + * iconvdata/iso-8859-13.c: Likewise for 8859-13. + * iconvdata/iso-8859-14.c: Likewise for 8859-14. + * iconvdata/iso-8859-15.c: Likewise for 8859-15. + * iconvdata/gconv-modules: Add rules for new modules. + * iconvdata/Makefile: Likewise. - * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): - Remove statfs and fstatfs. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread - and pwrite as EXTRA. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. +1998-12-12 Ulrich Drepper <drepper@cygnus.com> -1998-05-09 Ulrich Drepper <drepper@cygnus.com> + * stdio-common/printf_fp.c: #ifdef out long double handling code if + __NO_LONG_DOUBLE_MATH is defined to avoid warnings. + * stdio-common/printf_fphex.c: Likewise. + * stdio-common/printf-size.c: Likewise. - * libc.map: Add capget and capset. +1998-12-12 Ulrich Drepper <drepper@cygnus.com> -1998-05-08 Ulrich Drepper <drepper@cygnus.com> + * login/Makefile: Install pt_chown using INSTALL_PROGRAM. + Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>. - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c - (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary - vector. Patch by Mark Hatle <fray@kernel.crashing.org> - and Matt McLean <keys@brio.yikes.com>. - -1998-05-08 23:49 Ulrich Drepper <drepper@cygnus.com> - - * misc/Makefile (tests): Add tst-mntent. - * misc/tst-mntent.c: New file. - -1998-05-08 21:56 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * autolock.sh: Removed. - * manual/move-if-change: Removed. - - * scripts: New directory. - * =__ify: Moved to scripts. - * config.guess: Likewise. - * config.sub: Likewise. - * gen-FAQ.pl: Likewise. - * install-sh: Likewise. - * mkinstalldirs: Likewise. - * move-if-change: Likewise. - * printsources: Likewise. - * rellns.sh: Likewise. - * test-installation.pl: Likewise. - - * configure.in: Look in scripts for config.guess, config.sub, - install-sh. - * Makefile: Distribute all above files in their - new home. Find gen-FAQ.pl and test-installation.pl in scripts. - * manual/Makefile: Find mkinstalldirs and move-if-change in - $(..)scripts. Drop them from distribute. Minor cleanups. - * Makerules: Find mkinstalldirs and rellns-sh in scripts. - * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts. - * timezone/Makefile: Find rellns-sh in scripts. - -1998-05-08 Ulrich Drepper <drepper@cygnus.com> - - * intl/locale.alias: Change italian to it_IT.ISO-8859-1. - Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>. - -1998-05-08 19:24 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * Makefile (+subdir-inits): Delete variable. - (+init_subdirs): Likewise. - (aux): Likewise. - (before-compile): Likewise. - (libc-init): Delete stanza. - (version-info.h): Delete rule and associated variable. - (distribute): Don't distribute moved files. - * Makerules (interp-obj): It lives in elf now. Only use it - if $(elf) is set. Delete rule to build it. - * csu/Makefile: Build set-init.o and/or munch-init.o. Build - version.o and version-info.h. Minor cleanups. - (routines): Add libc-init, sysdep, version. - (generated): Add version-info.h. - * elf/Makefile: Build interp.os. - - * interp.c: Moved to elf. - * set-init.c: Moved to csu. - * munch-init.c: Likewise. - * munch.awk: Likewise. - * version.c: Likewise. - - * Rules: Unconfuse syntax highlighting with a fake comment. - -1998-05-08 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget - syscalls. - -1998-05-08 16:36 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * iconvdata/Makefile (generated): Set to *-generated-headers - plus gconv-modules. - (tests): Set to iconv-test. - * localedata/Makefile (generated-dirs): Add ld-test-names to list. - * posix/Makefile (generated): Set to wordexp-test-result*. - * sunrpc/Makefile (generated): Remove rpcsvc/*. - (generated-dirs): Add rpcsvc. - * libio/Makefile: Clean up. - -1998-05-08 14:55 Ulrich Drepper <drepper@cygnus.com> - - * Make-dist (+tsrcs): Also use tests-statc where tests is used. - * Makerules: Likewise. - (+depfiles): Also add sysdep-others. - * Rules: Likewise. - * iconv/Makefile (distribute): Add loop.s and skeleton.c. - * iconvdata/Makefile (distribute): Add TESTS. - * localedata/Makefile (repertoires): Rename to repertoiremaps. - * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h. - * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed. - * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define - sysdep-others, not others. - * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise. - * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h. +1998-12-11 Ulrich Drepper <drepper@cygnus.com> -1998-05-08 12:26 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/powerpc/dl-machine.h (elf_machine_matches_host): Mark + static inline, not extern inline. + (elf_machine_dynamic): Likewise. + (elf_machine_lazy_rel): Likewise. + (elf_machine_plt_value): Likewise. + * sysdeps/powerpc/backtrace.c: Include stddef.h to get NULL + definition. + Patchess by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>. - * iconv/gconv_int.h (struct gconv_module): Remove cost field and add - cost_hi and cost_lo. - * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from - Cost parameter and set cost_lo to INT_MAX. - (add_module): Take new parameter and use it to initialize cost_lo. - (read_conf_file): Count modules being loaded and use counter for - new parameter to add_module. - * iconv/gconv_db.c (find_derivation): When look for cost examine - cost_hi and cost_lo. + * sysdeps/mips/dl-machine.h (elf_machine_rel): Fixl_addr parameter + type. Reported by job bogan <job@piquin.uchicago.edu>. -1998-05-08 10:52 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/opendir.c (__opendir): Use __xstat instead of + __stat. - * string/bits/string2.h: Don't use unsigned char * unless really - necessary since this disturbs C++. - * sysdeps/i386/i486/bits/string.h: Likewise. - Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>. +1998-12-11 Kunihiro Ishiguro <kunihiro@zebra.org> -1998-05-08 13:53 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * inet/netinet/in.h: Change obsolete structure member + ipv6mr_ifindex to new ipv6mr_interface. - * malloc/malloc.c (top_check): Fix last change. +1998-12-11 Ulrich Drepper <drepper@cygnus.com> -1998-05-07 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/ieee754/dbl2mpn.c: Changed '#include "ieee754.h"' to + '#include <ieee754.h>'. ARM port has its own version of 'ieee754.h' + due to its big endian floating point format. + * sysdeps/ieee754/ldbl2mpn.c: Likewise. + * sysdeps/ieee754/mpn2dbl.c: Likewise. + * sysdeps/ieee754/mpn2ldbl.c: Likewise. + * sysdeps/ieee754/mpn2flt.c: Likewise. + Patch by Scott Bambrough <scottb@corelcomputer.com>. - * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define. - Patch by Matt McLean <keys@brio.yikes.com>. +1998-12-10 Ulrich Drepper <drepper@cygnus.com> -1997-05-07 13:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/adjtime.c: Undo last change. - * Makerules (lib): Put back dependency on lib-noranlib. - ($(subdirs-stamps)): Remove dependency on stamp.* again. + * posix/PTESTS: Fix typo. -1998-05-07 Ulrich Drepper <drepper@cygnus.com> + * po/es.po: Update from translation team. + * po/fr.po: Likewise. - * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for - test in __pow2 implementation. +1998-12-10 Geoff Keating <geoffk@ozemail.com.au> -1998-04-16 07:42 Geoff Keating <geoffk@ozemail.com.au> + * crypt/sysdeps/unix/crypt-entry.c: Don't include "patchlevel.h". - * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a. - Still need *FLAGS-.o because we still sometimes build .o files. - * db2/Makefile: Don't build libndbm.a if !build-static. + * crypt/sysdeps/unix/crypt.h: Move __crypt_r, __setkey_r, + __encrypt_r to... + * crypt/sysdeps/unix/crypt-private.h: ...here. -1998-05-07 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * crypt/sysdeps/unix/crypt.h: Add __restrict to the structure + parameters. + * crypt/sysdeps/unix/crypt-private.h: Likewise. Also add const to + first parameter of _ufc_mk_keytab_r. + * crypt/sysdeps/unix/crypt.c: Update prototypes. + * crypt/sysdeps/unix/crypt-entry.c: Likewise. + * crypt/sysdeps/unix/crypt_util.c: Likewise. - * malloc/malloc.c (top_check): Add void as parameter to silent gcc. + * crypt/sysdeps/unix/crypt-entry.c (crypt): Use __crypt_r not crypt_r. -1998-04-16 07:42 Geoff Keating <geoffk@ozemail.com.au> +1998-12-10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - * configure.in: New test for broken gcc on PowerPC. - * sysdeps/powerpc/atomicity.h: Use result of test. - * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test. + * nis/nss_compat/compat-pwd.c: Fix handling of +/- entries. - * math/libm-test.c: Update many of the epsilon to match actual - performance. +1998-12-10 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches. - * sysdeps/libm-ieee754/e_expf.c: Likewise. - * sysdeps/libm-ieee754/s_exp2.c: Likewise. - * sysdeps/libm-ieee754/s_exp2f.c: Likewise. + * sunrpc/Makefile: Call rpcgen program which -Y parameter so that + it can find the preprocessor. - * sysdeps/libm-ieee754/e_pow.c: Correct typo. +1998-12-09 Geoff Keating <geoffk@ozemail.com.au> - * sysdeps/powerpc/elf/libc-start.c: New file. - * sysdeps/powerpc/elf/start.S: New file, use libc-start. - * sysdeps/powerpc/elf/start.c: Delete. + * sysdeps/unix/sysv/linux/sys/procfs.h: Use sys/user.h not + asm/user.h. + * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h - * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete. It was unused. + * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: New file, + like linux/sys/procfs.h but uses uid_t and gid_t. + * sysdeps/unix/sysv/linux/powerpc/sys/user.h: New file, + don't include <linux/ptrace.h>. - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous - few patches. +1998-12-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> -1998-05-06 12:51 Ulrich Drepper <drepper@cygnus.com> + * posix/runptests.c (main): Check that regcomp did not succeed + unexpectedly. + * posix/runtests.c (run_a_test): Likewise. Return appropriate + exit code. + * posix/TESTS: Regexp "a[b-a]" should not compile. + * posix/PTESTS: Comment out bogus tests GA113(2), GA145(2) and + GA147(2). - * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for - test for integer. +1998-12-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * sysdeps/libm-i387/e_pow.S: Correctly shift double word. - * sysdeps/libm-i387/e_powl.S: Likewise. + * locale/programs/ld-ctype.c (allocate_arrays): Don't crash if + there is no codeset name. + * locale/programs/ld-collate.c (collate_output): Don't crash if a + character has no weight. -1998-03-31 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> +1998-12-10 Ulrich Drepper <drepper@cygnus.com> - * malloc/malloc.c (chunk2mem_check, top_check): New functions. - (malloc_check, free_check, realloc_check, memalign_check): Use - them to improve overrun checking. Overruns of a single byte and - corruption of the top chunk are now detected much more reliably. + * inet/getnetgrent_r.c (innetgr): Check host and domain name with + strcasecmp, not strcmp. [PR libc/894]. -1998-05-06 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * math/libm-test.c (pow_test): Add test for special value from PR - libc/590. + * posix/regex.h: Declare re_comp, re_exec if compiling for libc to + get prototypes. -1998-05-06 Ulrich Drepper <drepper@cygnus.com> + * wctype/wctype.h: Add prototypes for __iswblank_l and iswblank. - * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before - including linux/errno.h. +1998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-05-06 09:49 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/gethostid.c: Include <netdb.h> to get + prototype for __gethostbyname_r. - * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support. - Use correct types. - * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file. - * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file. + * include/time.h: Add declarations of internal interfaces. -1998-05-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * time/tzset.c: Remove declarations of internal interfaces. + * time/gmtime.c: Likewise. + * time/localtime.c: Likewise. + * time/offtime.c: Likewise. + * time/tzfile.c: Likewise. - * Makerules (elide-routines.*): Fix assignments. - (do-makelib): Fix typo. - ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent - makefile. +1998-12-01 09:47 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu> -1998-05-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/sys/timex.h: Copy out + user-space-relevant definitions from linux/timex.h of kernel + 2.1.130 and remove include of kernel header. - * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs, - $(objpfx)sysd-dirs): Move them... - * Makeconfig: ... here. - * Makerules (subdirs-stamps, subdirs-stamp-o): Always define. - (stubs): Fix circular depedency. - (do-makelib): Clean up. - (lib): Don't depend on lib-noranlib. - ($(objpfx)stamp.oS): Remove special case for empty - static-only-routines. - (elide-routines.o): Add $(static-only-routines). - (elide-routines$o): Define this instead of elide-routines.$o. - * manual/Makefile (stubs): Fix circular dependency. + * sysdeps/unix/sysv/linux/adjtime.c: Remove portability crud. -1998-05-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * libio/Makefile (routines): Remove duplicate oldiofclose. + * posix/regex.c: Get regex.h from system path, not from local + directory. -1998-05-05 Ulrich Drepper <drepper@cygnus.com> + * posix/regex.h: Move internal interfaces to ... + * include/regex.h: ...here. - * string/strcoll.c: Use uint32_t instead of u_int32_t. + * posix/unistd.h: Move internal interfaces to ... + * include/unistd.h: ...here. -1998-05-05 Ulrich Drepper <drepper@cygnus.com> + * math/math.h: Move internal interfaces to ... + * include/math.h: ...here. - * libio/stdio.h: Fix typo in __REDIRECT. - * io/sys/stat.h: Likewise. - Reported by Myles Uyema <myles@uyema.nws.net>. + * posix/glob.h: Move internal interfaces to ... + * include/glob.h: ...here. -1998-05-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * string/string.h: Move internal interfaces to ... + * include/string.h: ...here. - * locale/programs/localedef.c (options): Fix help message. + * time/sys/time.h: Move internal interfaces to ... + * include/sys/time.h: ...here. -1998-05-04 Ulrich Drepper <drepper@cygnus.com> + * resolv/netdb.h: Move internal interfaces to ... + * include/netdb.h: ...here. - * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty - relocations. Patch by Joe Keane <jgk@jgk.org>. +1998-12-08 Ulrich Drepper <drepper@cygnus.com> -1998-05-04 12:40 Ulrich Drepper <drepper@cygnus.com> + * iconvdata/eucjp.c: Handle Yen in overscore conversion from ISO 10646 + correctly. + * iconvdata/iso-2022-jp.c: Handle Kana in 2022-JP2 correctly + Fix various bugs in conversion routine. + * iconvdata/jis0201.h: Correct variable name. + * iconvdata/jis0208.c: Correct script to generate tables and regenerate + them. + * iconvdata/jis0208.h: Likewise. + * iconvdata/jis0212.c: Likewise. + * iconvdata/sjis.c: Likewise. + Patch by HANATAKA Shinya <hanataka@abyss.rim.or.jp>. - * malloc/malloc.c (ptmalloc_init_all): New function. Similar to - ptmalloc_unlock_all, but re-initializes the mutexes instead. - (ptmalloc_init): Use new function in thread_at_fork call. - (thread_atfork_static): Likewise. - Suggested by Wolfram Gloger and Xavier Leroy. +1998-12-07 Ulrich Drepper <drepper@cygnus.com> -1998-05-04 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/speed.c (IBAUD0): New definition. Bit + set in c_iflag if cfsetispeed is call with SPEED set to zero. + (cfgetispeed): Return zero if prior if IBAUD0 is set. + (cfsetospeed): Clear IBAUD0 bit. + (cfgetispeed): Set IBAUD0 bit if necessary. + * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear + the IBAUD0 bit in c_iflag when making the system call. + Work around a Linux kernel bug which silently changes the + PARENB/CREAD/CSIZE bits in c_cflag on pty. + * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Make a real + function. Don't set speed is SPEED parameter is zero since this + means set it to the output speed. + Based on a patch by H.J. Lu <hjl@gnu.org>. - * signal/signal.h: Move definitions of struct sigstack and - struct sigaltstack into separate file and include it. - * sysdeps/generic/bits/sigstack.h: New file. - * sysdeps/unix/sysv/linux/bits/sigstack.h: New file. - * signal/Makefile (headers): Add bits/sigstack.h. + * version.h (VERSION): Bump to 2.0.106. -1998-05-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * Makeconfig (link-libc-static): Don't use link-libc since this + includes the shared object. Use gnulib only. - * elf/rtld.c (dl_main): Fix check for number of references to - interpreter object. + * configure.in: Disable --disable-static. -1998-05-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-12-07 12:06 Ulrich Drepper <drepper@cygnus.com> - * elf/rtld.c (dl_main): Check has_interp after executing platform - specific code. + * po/de.po: Update from translation team. + * po/ko.po: Likewise. -1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-12-07 Richard Henderson <rth@cygnus.com> - * iconvdata/run-iconv-test.sh: Fix typo. + * sysdeps/unix/sysv/linux/alpha/select.S: Save a4 through + both paths. -1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-12-05 Roland McGrath <roland@baalperazim.frob.com> - * Makerules (+depfiles): Add depfiles for $(tests-static). - Simplified. + * sysdeps/mach/hurd/pselect.c: New file. -1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/mach/hurd/poll.c: New file. - * manual/terminal.texi (Special Characters): Fix description of - c_cc indexes. + * hurd/Makefile (routines): Add hurdselect. + * hurd/hurdselect.c: New file. + (_hurd_select): New function, guts taken from ... + * sysdeps/mach/hurd/select.c (__select): ... here. + Now work by just calling _hurd_select. + * hurd/hurd/fd.h: Declare _hurd_select. -1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-12-05 Roland McGrath <roland@baalperazim.frob.com> - * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc - array. - * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise. Initialize rest - of c_cc array. + * time/strptime.c: Fix unterminated comment in last change. -1998-04-30 14:15 Zack Weinberg <zack@rabi.phys.columbia.edu> +1998-12-05 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers. + * ctype/ctype.h (_ISbit): Protect use of parameter with + parentheses. + * wctype/wctype.h (_ISwbit): Likewise. -1998-05-01 Ulrich Drepper <drepper@cygnus.com> + * locale/Versions: Make experimental locale interface available in + GLIBC_2.1. - * intl/locale.alias: Update russian entry. + * sysdeps/gnu/bits/utmp.h (struct exit_status): Define members + without leading __ only for __USE_GNU. + * sysdeps/gnu/bits/utmpx.h (struct __exit_status): Likewise. -1998-05-01 21:54 Zack Weinberg <zack@rabi.phys.columbia.edu> +1998-12-04 Ulrich Drepper <drepper@cygnus.com> - * Makerules (static-only-routines): Reimplement in terms of - elide-routines.os. - (shared-only-routines): Reimplement in terms of - elide-routines.X [where X is all object-suffixes except .os]. + * argp/argp.h: Add __restrict. + * dirent/dirent.h: Likewise. + * elf/dlfcn.h: Likewise. + * grp/grp.h: Likewise. + * iconv/iconv.h: Likewise. + * inet/aliases.h: Likewise. + * libio/libio.h: Likewise. + * libio/stdio.h: Likewise. + * locale/locale.h: Likewise. + * misc/mntent.h: Likewise. + * posix/wordexp.h: Likewise. + * pwd/pwd.h: Likewise. + * resolv/netdb.h: Likewise. + * rt/aio.h: Likewise. + * stdio-common/printf.h: Likewise. + * stdlib/monetary.h: Likewise. + * stdlib/stdlib.h: Likewise. + * string/argz.h: Likewise. + * string/envz.h: Likewise. + * string/string.h: Likewise. + * time/time.h: Likewise. - (stubs): Create stubs file inside the subdir. - (common-mostlyclean): Remove stubs file from inside the subdir. - * Makefile (subdir-stubs): Look for stubs files inside the - subdirs. - * manual/Makefile (stubs): Create dummy stubs file inside the - subdir. +1998-12-04 Zack Weinberg <zack@rabi.phys.columbia.edu> -1998-05-01 21:01 Zack Weinberg <zack@rabi.phys.columbia.edu> + * misc/sys/cdefs.h: Only include features.h if _FEATURES_H isn't + defined. gcc's redundant include optimizer isn't clever enough to + prevent a reinclusion here. + Define __restrict to the empty string only if not GCC or + GCC version less than 2.92. - Build speed improvement: make ar less of a bottleneck. +1998-12-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * Makerules (stamp$o): Just record the object list for later - use. - (libc_foo.a): New rule, depends on subdir stamp files; builds - and ranlibs the library from the lists saved in those files. + * sysdeps/unix/sysv/linux/configure.in: Fix last change. - (subdirs-stamps): Define also if subdir == elf (FIXME: kludge). - (subdirs-stamp-o): Likewise. +1998-12-03 Mark Kettenis <kettenis@phys.uva.nl> - (ar-symtab-name): Delete variable. - (lib%.a): Delete target. - (libc_foo.a(bar.%)): Delete target. - (libc_foo.a($(ar-symtab-name))): Delete target. + * time/strptime.c (strptime_internal): Make use of `%C' format + specifier if it is seen together with the `%y' specifier. - (objects objs): Just depend on libobjs and extra-objs. - (libobjs): Depend on the stamp files, not the objects. - (extra-objs): New target, just depends on the extra-objs list. +1998-12-04 Ulrich Drepper <drepper@cygnus.com> - (CREATE_ARFLAGS): Kill the `ar S' hack. + * po/sk.po: New file. - * config.make.in (have-ar-S): Deleted. - * configure.in: Delete test for `ar S'. Add test to determine - whether ranlib does anything useful. +1998-12-03 Scott Bambrough <scottb@corelcomputer.com> -1998-05-01 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/arm/dl-machine.h (dl_start_user): Incorrect address + for _dl_main_searchlist passed to _dl_init_next. - * inet/tst-ether_aton.c: Include <stdio.h>. +1998-12-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> -1998-04-30 16:45 Ulrich Drepper <drepper@cygnus.com> + * math/libm-test.c: Expand literal tabs in strings. Normalize + whitespace. - * inet/ether_aton.c: Including netinet/if_ether.h is not necessary. +1998-12-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * locale/Makefile (distribute): Add programs/repertoire.h. - (localedef-modules): Add repertoire. - (CPPFLAGS): Define REPERTOIREMAP_PATH. - * locale/programs/repertoire.c: New file. - * locale/programs/repertoire.h: New file. - * locale/programs/charmap.c: Starting fixing character set handling - to handle multi-byte encodings. - * locale/programs/charset.c: Likewise. - * locale/programs/charset.h: Likewise. - * locale/programs/ld-collate.c: Likewise. - * locale/programs/ld-ctype.c: Likewise. - * locale/programs/linereader.c: Likewise. - * locale/programs/localedef.c: Likewise. - * locale/programs/locfile-kw.gperf: Likewise. - * locale/programs/locfile-kw.h: Likewise. - * locale/programs/locfile-token.h: Likewise. - * locale/programs/locfile.h: Likewise. - * locale/programs/stringtrans.c: Likewise. + * sysdeps/unix/sysv/linux/sys/fsuid.h: Fix spelling. - * locale/programs/locfile.c: Interpret I18NPATH value as base of - path, extended with "/locales/". +1998-12-04 Mark Kettenis <kettenis@phys.uva.nl> -1998-04-18 Philip Blundell <Philip.Blundell@pobox.com> + Provide backwards binary compatibility for the Hurd. + * hurd/geteuids.c [PIC && DO_VERSIONING]: Make __getuids a weak + alias for geteuids. + * hurd/Versions [GLIBC_2.0]: Add __getuids, + __hurd_file_name_lookup and _hurd_umask. + [GLIBC_2.1]: Add _hurd_proc_init. + * hurd/Makefile [versioning] (routines): Add compat-20. + (shared-only-routines): Likewise. + * hurd/hurdinit.c (_hurd_new_proc_init): Renamed from + _hurd_proc_init. Use it as the default _hurd_proc_init version + for GLIBC_2.1. + * hurd/compat-20.c: New file. + * mach/Versions [GLIBC_2.0]: Add __vm_allocate. - * sysdeps/arm/memset.S: Fix off by one error. +1998-12-02 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call - __syscall_error rather than syscall_error directly. + * elf/elf.h: Add R_MIPS_JALR and adjust R_MIPS_NUM appropriately. -1998-04-17 Philip Blundell <Philip.Blundell@pobox.com> +1998-12-02 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of - mmap() syscall for ARM. + * inet/Versions: Remove inet6_isipv4mapped. - * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out - binaries. +1998-12-02 Philip Blundell <pb@nexus.co.uk> -1998-04-30 Ulrich Drepper <drepper@cygnus.com> + * inet/in6_addr.c (inet6_isipv4mapped): Obsolete, deleted. - * locale/programs/localedef.c: Recognize repertoire-map option. +1998-11-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> -1998-04-29 Ulrich Drepper <drepper@cygnus.com> + * manual/time.texi (Formatting Date and Time): Fix typo. - * locale/programs/linereader.c (get_toplvl_escape): Fix typo in - converting non-hex numbers. - Patch by Won Kyu Park <bird@bird.kitel.co.kr>. +1998-11-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> -1998-04-23 07:31 H.J. Lu <hjl@gnu.org> + * sysdeps/unix/sysv/linux/configure.in: Only check for symlinks + when configuring natively. Use autoconf macros instead of rolling + our own. Handle defaulted prefix. - * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to - check overflow. - * resolv/Makefile (tests): New, add tst-aton. - * resolv/tst-aton.c: New file. +1998-12-01 Ulrich Drepper <drepper@cygnus.com> -1998-04-29 Ulrich Drepper <drepper@cygnus.com> + * version.h (VERSION): Bump to 2.0.105. - * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing - semicolon. + * sysdeps/generic/Dist: Add bits/libc-tsd.h. -1998-04-29 12:11 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/mach/hurd/Dist: Add bits/libc-tsd.h. - * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function - by letting the later modify the variable computing the total directly. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. + * sysdeps/unix/sysv/linux/mips/Dist: Add xstatconv.c. - * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear - it is not used. - * wcsmbs/wctoc.c: Likewise. +1998-11-29 1998 H.J. Lu <hjl@gnu.org> - * wcsmbs/mbsrtowcs.c: Optimize a bit more. - * wcsmbs/wcsrtombs.c: Likewise. + * libio/genops.c (_IO_unbuffer_write): Renamed from + _IO_unbuffer_all. + (_IO_cleanup): Call _IO_unbuffer_write instead of + _IO_unbuffer_all. - * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition. +1998-12-01 Ulrich Drepper <drepper@cygnus.com> -1998-04-29 Ulrich Drepper <drepper@cygnus.com> + * intl/localealias.c: Use *_unlocked version of stdio function if + _LIBC_REENTRANT is defined, not _LIBC. - * iconv/skeleton.c: Correct counting of actually converted - characters. +1998-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * intl/localealias.c (read_alias_file): Use unsigned char for - local variables. Remove unused variable tp. - * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char * - for type of codeset. For loosing Solaris systems. - * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset. - * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable - len if not needed. - Patches by Jim Meyering. + * include/grp.h: Add prototypes for internal functions + __getgrgid_r and __getgrnam_r. - * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice; - wcsrtombs must put it into initial state. + * inet/herrno.c: Include <netdb.h> for prototype, undef h_errno. -1998-04-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * resolv/nsap_addr.c: Include <arpa/inet.h> for inet_nsap_addr and + inet_nsap_ntoa prototypes. - * iconv/gconv_simple.c: Fix endian bug. Don't put side effects in - argument of bswap_XX macro. +1998-12-01 Ulrich Drepper <drepper@cygnus.com> -1998-04-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Pass -I option + to gcc to have it find the correct system header. + Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>. - * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in - variable name. + * Makefile (postclean): Add sysd-sorted. + Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>. -1998-04-28 Ulrich Drepper <drepper@cygnus.com> +1998-12-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union - semun and use stdarg macros to get the value. - * sysdeps/generic/semctl.c: Don't use union semun. + * sunrpc/auth_des.c: Use new XDR int32 functions for integers. + * sunrpc/rpc/xdr.h: Add IXDR INT32 functions. + * sunrpc/rpc_hout.c: Remove (u_long) casts in defines to avoid + conflicts with new solaris version. + * sunrpc/rpc_main.c: Fix bug in generating Makefile name (malloc + doesn't zero allocated memory). + * sunrpc/rpc_svcout.c: Local variables now starts with a _ to avoid + conflicts with xdr functions. Solves PR libc/877. + * nis/rpcsvc/nis.x: Use always uint32_t. + * nis/rpcsvc/nis.h: Likewise. + * nis/rpcsvc/nis_object.x: Likewise. - * sysvipc/sys/sem.h: Don't use union semun in semctl prototype. +1998-12-01 Ulrich Drepper <drepper@cygnus.com> - * string/basename.c [!_LIBC]: Define function as gnu_basename. + * math/libm-test.c: Various cleanups. Patch by Zack Weinberg. - * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or - strings.h. + * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use correct type for + parameter. Patch by Christian Gafton. - * stdlib/grouping.h: Accept ungrouped numbers even if locale - defines grouping. + * string/envz.h: Add prototype for envz_remove. + Reported by Andreas Jaeger. - * intl/hash-string.h: Don't include values.h. +1998-11-30 Mark Kettenis <kettenis@phys.uva.nl> - * inet/Makefile (tests): Add tst-ether_aton. - * inet/tst-ether_aton.c: New file. + * mach/Versions [libc, GLIBC_2.0]: Add __spin_lock, + __spin_lock_init, __mutex_lock, __mutex_trylock, + __mutex_unlock. + Remove get_priviliged_ports. Moved to hurd/Versions. - * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value - in hex conversion. - * inet/ether_aton.c (ether_aton): Declare result variable static. - Reported by ahyung@unixg.ubc.ca. + * hurd/Versions [libc, GLIBC_2.0]: Add _end. This makes the Hurd + brk implementation see the end of the data segment of the program + instead of the shared library. + Add __hurd_errno_location. This inline function is used in user + programs. + Add _hurd_critical_section_lock, _hurd_critical_section_unlock, + _hurd_fd_get, _hurd_port_free, _hurd_port_get, + _hurd_port_locked_get. These inline functions are used by macros + used in mail.local in the Hurd distribution. + Add get_privileged_ports. Moved here from mach/Versions. + Remove __hurd_file_name_lookup, __hurd_file_name_lookup_retry, + __hurd_file_name_split, __hurd_file_name_path_lookup. These are + not used outside libc. - * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun. - Define macro _SEM_SEMUN_UNDEFINED instead. - Reported by Dirk Laessig <d.laessig@tu-bs.de>. +1998-11-30 Mark Kettenis <kettenis@phys.uva.nl> - * stdio-common/tst-wc-printf.c: New file. Test for %S and %C format. - * stdio-common/Makefile (tests): Add tst-wc-printf. + * hurd/hurdstartup.c: Really include set-hooks.h with <> instead + of "". -1998-04-28 16:32 Philip Blundell <philb@gnu.org> +1998-11-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - * manual/stdio.texi (Variable Arguments Output): Correct variable - name. Patch from Ewan Mellor <em@nexus.co.uk> + * sunrpc/Makefile: Add xdr_intXX_t to routines. + * sunrpc/Versions: Add xdr_int8_t, xdr_uint8_t, xdr_in16_t and + xdr_uint16_t. + * sunrpc/rpc/xdr.h: Add prototypes for new xdr_intXX_t functions. + * sunrpc/xdr.c: Remove xdr_int32_t and xdr_uint32_t. + * sunrpc/xdr_intXX_t.c: New, contains all xdr_intXX_t functions. -1998-04-27 Ulrich Drepper <drepper@cygnus.com> + * nis/Depend: New. + * nis/nss_nis/nis-service.c: Include generated prototype for parser. - * intl/dcgettext.c: Remove unneeded definition of - internal_function. +1998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * nscd/nscd_getpw_r.c: Include nscd_proto.h for prototypes. - * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target - instead of do-iconv-test. - ($(objpfx)gconv-modules): Define rule only if objpfx is not - empty. + * sysdeps/generic/errno-loc.c: Include <errno.h> for prototype, + undefine errno to get variable. -1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/i386/setfsuid.c: Include <sys/fsuid.h> + instead of <unistd.h> for prototype. + * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise. - * string/string.h: Fix feature test. +1998-11-30 Ulrich Drepper <drepper@cygnus.com> -1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * misc/err.h: Correct comments and use protected attribute keywords. + Reported by Joseph Myers <jsm28@cam.ac.uk>. - * iconvdata/iso646.c (BODY): Don't use character constants that - depend on signedness of char. +1998-11-29 Roland McGrath <roland@baalperazim.frob.com> -1998-04-27 Ulrich Drepper <drepper@cygnus.com> + * malloc/thread-m.h [_LIBC]: Include <bits/libc-tsd.h>, and + remove tsd stuff from pthreads/cthreads libc sections. + Use __libc_tsd_define for MALLOC key. + [_LIBC] (tsd_key_t, tsd_key_create): Define to a zero-size type and a + no-op, respectively. + [_LIBC] (tsd_setspecific, tsd_getspecific): Use __libc_tsd_get/set. - * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc] - (sysdep_routines): Add s_pread64 and s_pwrite64. + * elf/dl-error.c: Include <bits/libc-tsd.h>. + Use __libc_tsd_define for DL_ERROR key. + (tsd_setspecific, tsd_getspecific): Rewritten using __libc_tsd_get/set. -1998-04-27 09:54 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/mach/hurd/bits/libc-tsd.h: New file. + * sysdeps/generic/bits/libc-tsd.h: New file. + * Makefile (distribute): Add bits/libc-tsd.h. - * iconvdata/Makefile (distribute): Remove generated .h files. - * iconvdata/koi8-r.h: Removed. - * iconvdata/latin-greek-1.h: Removed. - * iconvdata/latin-greek.h: Removed. +1998-10-12 Roland McGrath <roland@baalperazim.frob.com> - * iconvdata/testdata/CP1258..UTF8: New iconv test source. - * iconvdata/KOI-8: Likewise. - * iconvdata/KOI-8..UTF8: Likewise. - * iconvdata/KOI8-R: Likewise. - * iconvdata/KOI8-R..UTF8: Likewise. + * elf/dl-error.c: Remove kludge to check for ld.so load address. + There is no need if weak undefined symbols are not used in ld.so; + see linuxthreads/ChangeLog for changes to files + linuxthreads/sysdeps/pthread/bits/libc-lock.h and + linuxthreads/sysdeps/pthread/bits/libc-tsd.h. -1998-04-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * streams/Makefile (headers): Add sys/stropts.h. - * streams/sys/stropts.h: New file. + * sysdeps/i386/bits/string.h (__memset_cc): Fix typo (s->__s). -1998-04-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/i386/i486/bits/string.h: Add prototypes for all new + inline functions. + * sysdeps/i386/bits/string.h: Likewise. - * sysdeps/unix/sysv/linux/ttyname.c, - sysdeps/unix/sysv/linux/ttyname_r.c: New files, like - sysdeps/posix/ttyname*.c, but look in /dev/pts first. +1998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-04-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Remove ipc_kludge. - * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second - argument of _itoa_word. +1998-11-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> -1998-04-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * db2/progs/db_load/db_load.c (main): Avoid -Wparentheses warning. - * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents, - s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set - caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending, - sigprocmask, resp., instead of EXTRA. +1998-09-12 Mark Kettenis <kettenis@phys.uva.nl> - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove - s_pread64 and s_pwrite64. + * sysdeps/mach/hurd/dl-sysdep.c: Do not define + __hurd_threadvar_max. Add comment explaining why we define + __hurd_threadvar_stack_offset and __hurd_threadvar_stack_mask here. -1998-04-26 18:44 Ulrich Drepper <drepper@cygnus.com> - - * iconvdata/Makefile: Correct rules to generate gap table. - * iconvdata/gap.pl: Simplify. - - * iconvdata/TESTS: Name new tests. - * iconvdata/testdata/CP1250: New file. - * iconvdata/testdata/CP1250..UTF8: New file. - * iconvdata/testdata/CP1251: New file. - * iconvdata/testdata/CP1251..UTF8: New file. - * iconvdata/testdata/CP1252: New file. - * iconvdata/testdata/CP1252..UTF8: New file. - * iconvdata/testdata/CP1253: New file. - * iconvdata/testdata/CP1253..UTF8: New file. - * iconvdata/testdata/CP1254: New file. - * iconvdata/testdata/CP1254..UTF8: New file. - * iconvdata/testdata/CP1255: New file. - * iconvdata/testdata/CP1255..UTF8: New file. - * iconvdata/testdata/CP1256: New file. - * iconvdata/testdata/CP1256..UTF8: New file. - * iconvdata/testdata/CP1257: New file. - * iconvdata/testdata/CP1257..UTF8: New file. - -1998-04-26 Ulrich Drepper <drepper@cygnus.com> - - * iconvdata/Makefile: Add rules for ISO-2022-KR. - * iconvdata/iso-2022-kr.c: New file. - - * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2, - and ISO-2022-KR. - -1998-04-25 18:39 Ulrich Drepper <drepper@cygnus.com> - - * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7, - iso8859-8 and iso8859-10. - * iconvdata/iso8859-5.c: Change to use gap method. - * iconvdata/iso8859-7.c: Likewise. - * iconvdata/iso8859-8.c: Likewise. - * iconvdata/iso8859-10.c: Likewise. - - * iconvdata/Makefile: Add rules for ISO-2022-JP module. - * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the - end of the loop. - * iconvdata/iso-2022-jp.c: New file. - - * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence. - * iconvdata/ksc5601.h: Unify function interfaces. - * iconvdata/euckr.c: Adapt for changed ksc5601.h interface. - * iconvdata/uhc.c: Likewise. +1998-07-29 Mark Kettenis <kettenis@phys.uva.nl> - * iconvdata/gb2312.h: Use correct types. + * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base, + __hurd_sigthread_stack_end, __hurd_sigthread_variables): Define to + prevent inclusion of Hurd signal handling code. + (__libc_write): New function. + (_dl_sysdep_output): Removed. The implementation in + `elf/dl-misc.c' now also works for the Hurd. - * iconvdata/iso646.c (gconv_open): Correctly initialize the character - size elements of data. +1998-09-12 Mark Kettenis <kettenis@phys.uva.nl> -1998-04-24 Ulrich Drepper <drepper@cygnus.com> + * hurd/hurdstartup.c: Do not include hurdmalloc.h; _hurd_startup + does not use any of malloc/realloc/free anymore. Include + set-hooks.h with <> instead of "". - * string/tst-svc.expect: Adapt for change in .input. - * string/tst-svc.input: More tests. +1998-11-29 Roland McGrath <roland@baalperazim.frob.com> -1998-04-24 17:15 Ulrich Drepper <drepper@cygnus.com> + * sunrpc/svc_unix.c (__msgread): Move ON local var inside block + within #ifdef SO_PASSCRED. Avoids unused var when no SO_PASSCRED. + * sunrpc/clnt_unix.c (__msgread): Likewise. - * iconvdata/Makefile: Add rules for new modules. - * iconvdata/gconv-modules: Likewise. - * iconvdata/cp737.c: New file. - * iconvdata/cp737.h: New file. - * iconvdata/cp775.c: New file. - * iconvdata/cp775.h: New file. - * iconvdata/cp874.c: New file. - * iconvdata/cp874.h: New file. +1998-11-28 Roland McGrath <roland@baalperazim.frob.com> -1998-04-24 16:30 Ulrich Drepper <drepper@cygnus.com> + * hurd/setuids.c: Renamed to ... + * hurd/seteuids.c: this. + (setuids): Renamed to seteuids. + * hurd/getuids.c: Renamed to ... + * hurd/geteuids.c: this. + (__getuids): Renamed to geteuids, no aliases. + * hurd/hurd.h (geteuids, seteuids): Declare them. + * hurd/Versions: Replace getuids; __getuids with geteuids; seteuids. + * hurd/Makefile (routines): Updated. - * iconvdata/Makefile: Create target directory before generating - headers. +1998-11-29 Ulrich Drepper <drepper@cygnus.com> -1998-04-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/generic/segfault.c (install_handler): Correct test for + SEGFAULT_HANDLER=all. + Patch by Zack Weinberg. - * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty - __USER_LABEL_PREFIX__. - (__ASMNAME, __ASMNAME2): New macros. +1998-11-28 23:23 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu> -1998-04-24 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/configure.in: Test for symlinks in + $prefix/include that may be clobbered on installation. - * elf/dl-load.c: Include sys/param.h for MAX. +1998-11-27 Philip Blundell <pb@nexus.co.uk> -1998-04-24 21:44 Richard Henderson <rth@cygnus.com> + Fixes to allow compilation with static NSS: + * nss/Makefile: Make explicit the dependency of getent on + libnss_files.a. + [build_static_nss]: Define $(otherlibs) appropriately. + * nss/Depend: Add a dependency on `resolv'. - * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make - __ftruncate the strong symbol, and add weak alias. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. +1998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-04-24 Ulrich Drepper <drepper@cygnus.com> + Partial support for MIPS ISO C 9x exception handling: + * sysdeps/mips/fclrexcpt.c: New file. + * sysdeps/mips/ftestexcept.c: New file. + * sysdeps/mips/fgetexcptflg.c: New file. + * sysdeps/mips/fesetround.c: New file. + * sysdeps/mips/fegetround.c: New file. + * sysdeps/mips/fegetenv.c: New file. + * sysdeps/mips/fesetenv.c: New file. + * sysdeps/mips/feupdateenv.c: Likewise. + * sysdeps/mips/bits/fenv.h: New file. - * termios/cfsetspeed.c: Make code cleaner and add missing const. - Patch by Joe Keane <jgk@jgk.org>. +1998-11-28 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * inet/rcmd.c (__ivaliduser): Check buf for being NULL before - free()ing. - -1998-04-24 13:56 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/generic/bits/socket.h: Add #defines for enum values. - Patch by Thomas Bushnell, n/BSG. - -1998-04-24 Ulrich Drepper <drepper@cygnus.com> - - * inet/rcmd.c (iruserok): Initialize hostf variable to NULL. - -1998-04-24 Ulrich Drepper <drepper@cygnus.com> - - * iconvdata/Makefile: Put generated headers in build directory. - -1998-04-23 22:43 Ulrich Drepper <drepper@cygnus.com> - - * elf/dl-load.c (fillin_rpath): Handle empty element returned by - strsep as current directory. - - * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for - Java. Add definitions for unicodelittle implementation. - * iconv/gconv_int.h: Add declaration for unicodelittle functions. - * iconv/gconv_simple.c: Define unicodelittle functions. - - * iconv/iconv_prog.c: Make program print information about position - of illegal character in input. - - * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for - comparison of charset name. - * iconvdata/big5.c (CHARSET_NAME): Adapt for this. - * iconvdata/ebcdic-at-de-a.c: Likewise. - * iconvdata/ebcdic-at-de.c: Likewise. - * iconvdata/ebcdic-ca-fr.c: Likewise. - * iconvdata/euccn.c: Likewise. - * iconvdata/eucjp.c: Likewise. - * iconvdata/euckr.c: Likewise. - * iconvdata/euctw.c: Likewise. - * iconvdata/hp-roman8.c: Likewise. - * iconvdata/iso6937.c: Likewise. - * iconvdata/iso8859-1.c: Likewise. - * iconvdata/iso8859-10.c: Likewise. - * iconvdata/iso8859-2.c: Likewise. - * iconvdata/iso8859-3.c: Likewise. - * iconvdata/iso8859-4.c: Likewise. - * iconvdata/iso8859-5.c: Likewise. - * iconvdata/iso8859-6.c: Likewise. - * iconvdata/iso8859-7.c: Likewise. - * iconvdata/iso8859-8.c: Likewise. - * iconvdata/iso8859-9.c: Likewise. - * iconvdata/johab.c: Likewise. - * iconvdata/koi-8.c: Likewise. - * iconvdata/koi8-r.c: Likewise. - * iconvdata/latin-greek-1.c: Likewise. - * iconvdata/latin-greek.c: Likewise. - * iconvdata/sjis.c: Likewise. - * iconvdata/t61.c: Likewise. - * iconvdata/uhc.c: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/signum.h: Remove inclusion of + <asm/signal.h> and add needed symbols from <asm/signal.h>; bring + in sync with linux specific version. - * iconvdata/iso646.c: Add support for more ISO 646 variants. - * iconvdata/TESTS: Add tests for ISO646 module. - * iconvdata/gconv-modules: Add new modules. - * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module. - * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise. - * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise. - * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise. - * iconvdata/testdate/DIN_66003: Likewise. - * iconvdata/testdate/DIN_66003..UTF8: Likewise. - * iconvdata/testdate/DS_2089: Likewise. - * iconvdata/testdate/DS_2089..UTF8: Likewise. - * iconvdata/testdate/ES: Likewise. - * iconvdata/testdate/ES..UTF8: Likewise. - * iconvdata/testdate/ES2: Likewise. - * iconvdata/testdate/ES2..UTF8: Likewise. - * iconvdata/testdate/GB_1988-80: Likewise. - * iconvdata/testdate/GB_1988-80..UTF8: Likewise. - * iconvdata/testdate/IT: Likewise. - * iconvdata/testdate/IT..UTF8: Likewise. - * iconvdata/testdate/JIS_C6220-1969-RO: Likewise. - * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise. - * iconvdata/testdate/JIS_C6229-1984-B: Likewise. - * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise. - * iconvdata/testdate/JUS_I.B1.002: Likewise. - * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise. - * iconvdata/testdate/KSC5636: Likewise. - * iconvdata/testdate/KSC5636..UTF8: Likewise. - * iconvdata/testdate/MSZ_7795.3: Likewise. - * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise. - * iconvdata/testdate/NC_NC00-10: Likewise. - * iconvdata/testdate/NC_NC00-10..UTF8: Likewise. - * iconvdata/testdate/NF_Z_62-010: Likewise. - * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise. - * iconvdata/testdate/NF_Z_62-010_1973: Likewise. - * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise. - * iconvdata/testdate/NS_4551-1: Likewise. - * iconvdata/testdate/NS_4551-1..UTF8: Likewise. - * iconvdata/testdate/NS_4551-2: Likewise. - * iconvdata/testdate/NS_4551-2..UTF8: Likewise. - * iconvdata/testdate/PT: Likewise. - * iconvdata/testdate/PT..UTF8: Likewise. - * iconvdata/testdate/PT2: Likewise. - * iconvdata/testdate/PT2..UTF8: Likewise. - * iconvdata/testdate/SEN_850200_B: Likewise. - * iconvdata/testdate/SEN_850200_B..UTF8: Likewise. - * iconvdata/testdate/SEN_850200_C: Likewise. - * iconvdata/testdate/SEN_850200_C..UTF8: Likewise. - - * iconvdata/cns11643.h: Use uint32_t instead of wchar_t. - * iconvdata/cns11643l1.h: Likewise. - * iconvdata/latin-greek-1.h: Likewise. - * iconvdata/latin-greek.h: Likewise. - * iconvdata/koi8-r.h: Likewise. - * iconvdata/jis0212.h: Likewise. - * iconvdata/gb2312.h: Likewise. - * iconvdata/ksc5601.h: Likewise. - - * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap. - - * iconvdata/Makefile: Add rules for lots of more modules. - * iconvdata/cp1250.c: New file. - * iconvdata/cp1251.c: New file. - * iconvdata/cp1252.c: New file. - * iconvdata/cp1253.c: New file. - * iconvdata/cp1254.c: New file. - * iconvdata/cp1255.c: New file. - * iconvdata/cp1256.c: New file. - * iconvdata/cp1257.c: New file. - * iconvdata/ebcdic-dk-no-a.c: New file. - * iconvdata/ebcdic-dk-no.c: New file. - * iconvdata/ebcdic-es-a.c: New file. - * iconvdata/ebcdic-es-s.c: New file. - * iconvdata/ebcdic-es.c: New file. - * iconvdata/ebcdic-fi-se-a.c: New file. - * iconvdata/ebcdic-fi-se.c: New file. - * iconvdata/ebcdic-fr.c: New file. - * iconvdata/ebcdic-is-friss.c: New file. - * iconvdata/ebcdic-it.c: New file. - * iconvdata/ebcdic-pt.c: New file. - * iconvdata/ebcdic-uk.c: New file. - * iconvdata/ebcdic-us.c: New file. - * iconvdata/ibm037.c: New file. - * iconvdata/ibm038.c: New file. - * iconvdata/ibm1004.c: New file. - * iconvdata/ibm1026.c: New file. - * iconvdata/ibm1047.c: New file. - * iconvdata/ibm256.c: New file. - * iconvdata/ibm273.c: New file. - * iconvdata/ibm274.c: New file. - * iconvdata/ibm275.c: New file. - * iconvdata/ibm277.c: New file. - * iconvdata/ibm278.c: New file. - * iconvdata/ibm280.c: New file. - * iconvdata/ibm281.c: New file. - * iconvdata/ibm284.c: New file. - * iconvdata/ibm285.c: New file. - * iconvdata/ibm290.c: New file. - * iconvdata/ibm297.c: New file. - * iconvdata/ibm420.c: New file. - * iconvdata/ibm423.c: New file. - * iconvdata/ibm424.c: New file. - * iconvdata/ibm437.c: New file. - * iconvdata/ibm500.c: New file. - * iconvdata/ibm850.c: New file. - * iconvdata/ibm851.c: New file. - * iconvdata/ibm852.c: New file. - * iconvdata/ibm855.c: New file. - * iconvdata/ibm857.c: New file. - * iconvdata/ibm860.c: New file. - * iconvdata/ibm861.c: New file. - * iconvdata/ibm862.c: New file. - * iconvdata/ibm863.c: New file. - * iconvdata/ibm864.c: New file. - * iconvdata/ibm865.c: New file. - * iconvdata/ibm868.c: New file. - * iconvdata/ibm869.c: New file. - * iconvdata/ibm870.c: New file. - * iconvdata/ibm871.c: New file. - * iconvdata/ibm875.c: New file. - * iconvdata/ibm880.c: New file. - * iconvdata/ibm891.c: New file. - * iconvdata/ibm903.c: New file. - * iconvdata/ibm904.c: New file. - * iconvdata/ibm905.c: New file. - * iconvdata/ibm918.c: New file. - - * locale/iso-4217.def: Update. - * localedata/locales/pt_BR: Correct. Patches by Andreas Jaeger. - - * stdio-common/vfscanf.h: Recognize nan and inf in floating-point - formats. - -1998-04-22 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for - LD_LIBRARY_PATH. - -1998-04-22 Gordon Matzigkeit <gord@profitpress.com> - - * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'. - * Makefile: Likewise. - * posix/Makefile: Likewise. - * sysdeps/mach/hurd/Makefile: Likewise. - -1998-04-22 Gordon Matzigkeit <gord@profitpress.com> - - * sysdeps/mach/hurd/bits/dirent.h: New file. - * sysdeps/mach/hurd/readdir64.c: New file. - * sysdeps/mach/hurd/readdir64_r.c: New file. - -1998-04-21 Gordon Matzigkeit <gord@profitpress.com> - - * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf, - dprintf): Synchronize declarations with libio/stdio.h. - -1998-04-21 Gordon Matzigkeit <gord@profitpress.com> - - * elf/dlerror.c (dlerror): Don't assume that - __libc_internal_tsd_get is defined. __libc_getspecific is already - well-protected, so just use it directly. - -1998-04-22 Gordon Matzigkeit <gord@profitpress.com> - - * io/ftw.h (ftw): Fix typo. - -1998-04-21 Gordon Matzigkeit <gord@profitpress.com> - - * sysdeps/gnu/utmp_file.c: Fix typo. - -1998-04-22 11:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * iconvdata/run-iconv-test.sh: Fix more portability bugs. When - one part of a test fails move on to the next test. - -1998-04-24 5:45 Richard Henderson <rth@cygnus.com> - - * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added. - -1998-04-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses - as pointers, not signed integers. - -1998-04-22 11:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + Patches by Ralf Baechle <ralf@uni-koblenz.de> for mips-linux: - * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added. + * sysdeps/unix/mips/sysdep.S: Define _errno as weak_alias, rewrite + errno declaration. -1998-04-21 21:49 Zack Weinberg <zack@rabi.phys.columbia.edu> + * sysdeps/unix/sysv/linux/mips/ustat.c: Use INLINE_SYSCALL instead + of calling __syscall_*. + * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise. - * misc/sys/cdefs.h: New macro __REDIRECT to support changing the - asm symbol name of functions. - * include/features.h: Kill redundant test. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Update entries. - * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64. - * io/ftw.h: Likewise. - * io/sys/stat.h: Likewise. - * io/sys/statfs.h: Likewise. - * io/sys/statvfs.h: Likewise. - * libio/stdio.h: Likewise. - * resource/sys/resource.h: Likewise. - * rt/aio.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add missing SYS_* + constants, correct values according to Linux 2.1.130. - * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and - __FAVOR_BSD. - * signal/signal.h: Use new macros for BSD vs. SysV signal(). + * sysdeps/unix/sysv/linux/mips/pwrite.c: New file. + * sysdeps/unix/sysv/linux/mips/pwrite64.c: New file. + * sysdeps/unix/sysv/linux/mips/pread.c: New file. + * sysdeps/unix/sysv/linux/mips/pread64.c: New file. - * misc/Makefile: Drop bsd-compat.c. Make libbsd-compat.a - a dummy library. - * misc/bsd-compat.c: Removed. + * sysdeps/mips/Makefile (sysdep_routines): Use += instead of a + :=. -1998-04-21 20:32 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Remove ipc_kludge. - * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in - function declaration. - * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined - and use them in conversion function. - * iconvdata/Makefile (modules): Re-add ISO6446. - * iconvdata/TEST: Add tests for ASCII variants. - * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c. - * iconvdata/testdata/ANSI_X3.4-1968: New file. - * iconvdata/testdata/BS_4730: New file. - * iconvdata/testdata/BS_4730..UTF8: New file. + * sysdeps/unix/sysv/linux/mips/xstatconv.c: New file. -1998-04-21 19:05 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/mips/xstat.c: Removed. - * iconv/gconv.h (struct gconv_step): Add element stateful. - * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful - to zero for all internal conversions. - * iconv/skeleton.c: Initialize stateful depending on whether or not - RESET_STATE is defined to one or zero respectively. - * stdlib/mblen.c: Use stateful element of currently selected - converter for result if S is NULL. - * stdlib/mbtowc.c: Likewise. - * stdlib/wctomb.c: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: New file. -1998-04-21 18:00 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/mips/kernel_termios.h: Add copyright + message, change name of include protection, remove inclusion of + <bits/termios.h>. - * iconv/gconv.c (__gconv): Remove bogus input buffer size computation. + * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h + (old_kernel_sigaction): Define. + (struct kernel_sigaction): Rename sa_handler to k_sa_handler. - * iconv/gconv_open.c (__gconv_open): Initialize outbufend element. + * sysdeps/unix/sysv/linux/mips/bits/time.h: Removed, we can use + the general linux version. + * sysdeps/unix/sysv/linux/mips/bits/stat.h (_STAT_VER_KERNEL): Added. - * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use - character in comparison with uint32_t. - (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO. - (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM. - Optimize BODY a bit. + * sysdeps/unix/sysv/linux/mips/bits/socket.h: Update file. - * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to - be defined. +1998-09-03 Philip Blundell <pb@nexus.co.uk> - * iconv/skeleton.c: Also reset converted counter in case of an error. - Call reset function using correct value for output buffer start. + * sysdeps/arm/bits/endian.h (__FLOAT_WORD_ORDER): Define to big + endian. + * math/math_private.h: Use __FLOAT_WORD_ORDER rather than + BYTE_ORDER. + * string/endian.h: If __FLOAT_WORD_ORDER wasn't defined by + <bits/endian.h>, make it the same as __BYTE_ORDER. - * iconvdata/Makefile: Re-enable tests. +1998-11-27 Ulrich Drepper <drepper@cygnus.com> - * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT - value for to-conversion. + * math/math.h: Avoid using long double functions in generic macros + if __NO_LONG_DOUBLE_MATH. - * iconvdata/TESTS: Add new third column. - * iconvdata/run-iconv-test.sh: Add support for charsets which are - not ASCII based. - * iconvdata/testdata/suntzus: New file. + * sysdeps/arm/dl-machine.h: Fix handling of weak undefined symbols + during bootstrapping. + * scripts/config.sub: Add Netwinder specific matches. + Patch by Scott Bambrough <scottb@corelcomputer.com>. - * elf/dl-minimal.c (__strtol_internal): Increment pointer to string - while reading. Correctly used base. Little optimization. - (__strtoul_internal): Likewise. +1998-11-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths - was wrong. Use explicit variable. + * Makeconfig ($(common-objpfx)sysd-dirs): Use automatic variables + if possible. + ($(common-objpfx)sysd-sorted): Likewise. -1998-04-20 23:49 Zack Weinberg <zack@rabi.phys.columbia.edu> +1998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * configure.in: Check for awk. - * config.make.in: Add AWK to be substituted. + * sysdeps/libm-ieee754/e_log.c (__ieee754_log): Add declaration of + local variables t1,t2 only if needed. - * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions. - * manual/users.texi: Fix typo exposed by above rewrite. + * sysdeps/libm-ieee754/e_atan2.c: Added braces to avoid compiler + warnings. + * sysdeps/libm-ieee754/s_truncf.c (__truncf): Likewise. + * sysdeps/libm-ieee754/s_trunc.c (__trunc): Likewise. - * Makefile: Invoke awk using AWK variable. - * csu/Makefile: Likewise. - * elf/Makefile: Likewise. - * mach/Makefile: Likewise. - * manual/Makefile: Likewise. - * sysdeps/gnu/Makefile: Likewise. - * sysdeps/mach/hurd/Makefile: Likewise. - * sysdeps/unix/Makefile: Likewise. - * timezone/Makefile: Likewise. + * sysdeps/mips/mul_1.S (Loop): Add closing comment to avoid + warning. -1998-04-10 Gordon Matzigkeit <gord@profitpress.com> +1998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to - array index translation. - (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if - these are defined. + * math/math.h: Add brace to correct #if expression. - * sysdeps/mach/hurd/Dist: Add errlist.c to distribution. +1998-11-26 Philip Blundell <philb@gnu.org> - * sysdeps/mach/hurd/errlist.c: New file. - (ERR_TRANSLATE): Map Hurd error codes into errlist indices. - (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist - semantics, so rename it. + Undo change of 1998-11-12: + * sysdeps/unix/sysv/linux/netlink/netlink.h: Deleted. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove + netlink/netlink.h. + * sysdeps/unix/sysv/linux/Dist: Likewise. -1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-11-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - * iconvdata/run-iconv-test.sh: Make portable. Always test all - conversions. + * nis/nis_print.c (nis_print_entry): Changes to match Solaris output. -1998-04-21 12:30 H.J. Lu <hjl@gnu.org> +1998-11-26 Ulrich Drepper <drepper@cygnus.com> - * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0. - * wcsmbs/wcsnrtombs.c: Likewise. + * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): New defined macro. + (elf_machine_got_rel): Remove scope variable. Use scope from the map. + Don't modify _dl_global_scope_end in the end. + (__dl_runtime_resolv): Also use scope from the map. + * sysdeps/mips/mips64/dl-machine.h: Likewise. + * elf/dl-runtime.c: Don't define fixup and profile_fixup if + ELF_MACHINE_NO_PLT is defined. + * sysdeps/mips/sys/ucontext.h: New file. + Patches by kaz Kojima <kkojima@rr.iij4u.or.jp>. -1998-04-21 Ulrich Drepper <drepper@cygnus.com> +1998-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly. + * sysdeps/generic/pselect.c (__pselect): Change interface, + set/restore sigmask. - * wcsmbs/btowc.c (__btowc): Declare inptr as const char *. + * misc/sys/select.h: Change declaration according to Stevens' Unix + Network Programming. + * include/sys/select.h (__pselect): Likewise. + Reported by <bwelling@anomaly.munge.com> [PR libc/872]. - * time/strftime.c (my_strftime): Initialize pad variable in + * include/fpu_control.h: New file, contains __setfpucw declaration. - * iconvdata/big5.c: Don't use character constants in comparisons - with unsigned value. - -1998-04-20 18:00 Ulrich Drepper <drepper@cygnus.com> - - * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and - __libc_siglongjmp to GLIBC_2.1. - - * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use - __strerror_r. - - * iconv/Makefile: Don't run tests now. - - * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv - with correct output buffer. - - Major rewrite of the low-level gconv functionality. - * iconv/gconv.c: Rewritten. - * iconv/gconv.h: Likewise. - * iconv/gconv_builtin.c: Likewise. - * iconv/gconv_builtin.h: Likewise. - * iconv/gconv_conf.c: Likewise. - * iconv/gconv_int.h: Likewise. - * iconv/gconv_open.c: Likewise. - * iconv/gconv_simple.c: Likewise. - * iconv/iconv.c: Likewise. - * iconvdata/8bit-gap.c: Likewise. - * iconvdata/8bit-generic.c: Likewise. - * iconvdata/Makefile: Likewise. - * iconvdata/big5.c: Likewise. - * iconvdata/cns11643.c: Likewise. - * iconvdata/cns11643.h: Likewise. - * iconvdata/cns11643l1.c: Likewise. - * iconvdata/cns11643l1.h: Likewise. - * iconvdata/ebcdic-at-de-a.c: Likewise. - * iconvdata/ebcdic-at-de.c: Likewise. - * iconvdata/ebcdic-ca-fr.c: Likewise. - * iconvdata/euccn.c: Likewise. - * iconvdata/eucjp.c: Likewise. - * iconvdata/euckr.c: Likewise. - * iconvdata/euctw.c: Likewise. - * iconvdata/gb2312.c: Likewise. - * iconvdata/gb2312.h: Likewise. - * iconvdata/hp-roman8.c: Likewise. - * iconvdata/iso646.c: Likewise. - * iconvdata/iso6937.c: Likewise. - * iconvdata/iso8859-1.c: Likewise. - * iconvdata/iso8859-10.c: Likewise. - * iconvdata/iso8859-2.c: Likewise. - * iconvdata/iso8859-3.c: Likewise. - * iconvdata/iso8859-4.c: Likewise. - * iconvdata/iso8859-5.c: Likewise. - * iconvdata/iso8859-6.c: Likewise. - * iconvdata/iso8859-7.c: Likewise. - * iconvdata/iso8859-8.c: Likewise. - * iconvdata/iso8859-9.c: Likewise. - * iconvdata/jis0201.c: Likewise. - * iconvdata/jis0201.h: Likewise. - * iconvdata/jis0208.c: Likewise. - * iconvdata/jis0208.h: Likewise. - * iconvdata/jis0212.c: Likewise. - * iconvdata/jis0212.h: Likewise. - * iconvdata/johab.c: Likewise. - * iconvdata/koi-8.c: Likewise. - * iconvdata/koi8-r.c: Likewise. - * iconvdata/ksc5601.c: Likewise. - * iconvdata/ksc5601.h: Likewise. - * iconvdata/latin-greek-1.c: Likewise. - * iconvdata/latin-greek.c: Likewise. - * iconvdata/run-iconv-test.sh: Likewise. - * iconvdata/sjis.c: Likewise. - * iconvdata/t61.c: Likewise. - * iconvdata/uhc.c: Likewise. - * wcsmbs/btowc.c: Likewise. - * wcsmbs/mbrtowc.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsmbsload.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wctob.c: Likewise. - * iconv/loop.c: New file. - * iconv/skeleton.c: New file. - - * stdlib/mblen.c: Handle empty input string correctly. - * stdlib/mbtowc.c: Likewise. - - * posix/getopt.c: Various cleanups. + * sysdeps/generic/fpu_control.h: Remove __setfpucw declaration, + it's an internal symbol. + * sysdeps/alpha/fpu/fpu_control.h: Likewise. + * sysdeps/arm/fpu/fpu_control.h: Likewise. + * sysdeps/i386/fpu_control.h: Likewise. + * sysdeps/m68k/fpu_control.h: Likewise. + * sysdeps/powerpc/fpu_control.h: Likewise. + * sysdeps/sparc/sparc32/fpu/fpu_control.h: Likewise. + * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise. - * sysdeps/arm/bits/setjmp.h: Add copyright text. - * sysdeps/i386/bits/setjmp.h: Likewise. - * sysdeps/m68k/bits/setjmp.h: Likewise. - * sysdeps/powerpc/bits/setjmp.h: Likewise. - * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise. +1998-11-25 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp - and make longjmp weak alias. + * version.h (VERSION): Bump to 2.0.104. -1998-04-18 20:29 Philip Blundell <Philip.Blundell@pobox.com> +1998-11-25 Mark Kettenis <kettenis@phys.uva.nl> - * iconv/Makefile (routines): Only include gconv_dl if building for - an ELF system - dynamic linking is not available on a.out. - (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl - due to above check. - * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call - routines from gconv_dl. + * libio/bits/stdio.h (fread_unlocked): Add missing parentheses + around parameter n. -1998-04-17 Gordon Matzigkeit <gord@profitpress.com> +1998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that - we can compile without libio. + * time/tzfile.c (__tzfile_read): Fix comment. -1998-04-20 16:28 Ulrich Drepper <drepper@cygnus.com> +1998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * sysdeps/mach/hurd/Subdirs: Remove login. + * Makerules (build-shlib): Pass -O1 down to linker to get + optimized shared libraries. -1998-04-11 Gordon Matzigkeit <gord@profitpress.com> +1998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * db2/compat.h: Include <errno.h>, to make sure we get the - definition of EFTYPE before we define it ourselves. + * Makeconfig ($(common-objpfx)sysd-dirs): Cope with no Subdirs + file. Strip "-" from inhibited subdir name. Combine into a + single awk program. + ($(common-objpfx)sysd-sorted): Fix sed command. -1998-04-10 Gordon Matzigkeit <gord@profitpress.com> +1998-11-25 Roland McGrath <roland@baalperazim.frob.com> - * sysdeps/generic/bits/socket.h: Protect against multiple inclusion. - * sysdeps/mach/hurd/bits/ioctls.h: Likewise. - Fix typo to allow inclusion from sys/ioctl.h again. + * sysdeps/mach/hurd/i386/init-first.c (init): Restored as inline fn. + Use constant _HURD_THREADVARS_MAX for temporary array size. -1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * Makeconfig ($(common-objpfx)sysd-sorted): Use @ instead of / as sed + s separator, since $(..) might contain a /. - * iconvdata/*.[ch]: Clean up namespace. Optimize character lookup. +1998-11-23 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * configure.in (mips): Fix typo (Replace ,, by ;;). - * libc.map: Export __strerror_r. Remove _strerror_internal. + * libio/Versions: Clean up entries. -1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-11-23 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr. - Also undefine __strcasestr. + * sysdeps/i386/fpu/bits/mathinline.h: Add optimizations for lrint + and llrint. -1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-11-21 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * posix/regex.c: Rename __re_max_failures back to re_max_failures, - aliases do not work with global variables due to copy relocations. + * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Removed. There are too + many differences between the Linux 2.0 and 2.1 versions of this + file and it's too difficult to convert all calls. The file should + only be needed by the ipfw program which has to take care of the + correct kernel version and include files. -1998-04-20 15:12 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/Dist: Remove netinet/ip_fw.h. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise. - * manual/creature.texi: Fix type. Patch by Andreas Schwab. +1998-11-23 Ulrich Drepper <drepper@cygnus.com> -1998-04-20 13:47 Ulrich Drepper <drepper@cygnus.com> - - * signal/sighold.c: Include stddef.h for NULL definition. - * signal/sigrelse.c: Likewise. - * sysdeps/posix/sigignore.c: Likewise. - * sysdeps/posix/sigset.c: Likewise. - * sysdeps/posix/waitid.c: Likewise. - * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise. - * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise. - * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. - * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX. - Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>. - -1998-04-13 Mark Kettenis <kettenis@phys.uva.nl> - - * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h. - * login/getutent.c (getutxent): Remove alias. - * login/getutent_r.c (setutxent, pututxline, endutxent): - Remove aliases. - * login/getutid.c (getutxid): Remove alias. - * login/getutline.c (getutxline): Remove alias. - * login/utmp.h: Add prototypes for __updwtmp, __getutent, - __getutid, __getutline and __pututline. - * login/utmpx.h: Moved to ... - * sysdeps/gnu/utmpx.h: ... here. [__USE_GNU]: Define UTMPX_FILE, - UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname - and updwtmpx. - * login/updwtmp.c: Moved to ... - * sysdeps/generic/updwtmp.c: ... here. (updwtmp): Generalized by - allowing file name transformation. - * sysdeps/gnu/updwtmp.c: New file. Use generic implementation with - additional file name transformation. - * sysdeps/unix/sysv/linux/updwtmp.c: Likewise. - * login/utmp_file.c: Moved to ... - * sysdeps/generic/utmp_file.c: ... here. (setutent_file): - Generalized by allowing file name transformation. Do not - print error message. Library functions should not print them. - Reported by Jim Meyering. - * sysdeps/gnu/utmp_file.c: New file. Use generic implementation - with additional file name transformation. - * sysdeps/unix/sysv/linux/utmp_file.c: Likewise. - * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add - setutxent, getutxent, endutxent, getutxid, getutxid, getutxline, - pututxline, utmpxname and updwtmpx. (sysdep_headers): Add utmpx.h - and bits/utmpx.h. - * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h. - (_PATH_UTMPX): Define to _PATH_UTMP. (_PATH_WTMPX): Define to - _PATH_WTMPX. (RUN_LVL): Define only if __USE_GNU. (ACCOUNTING): - Define if __USE_GNU. - * sysdeps/generic/setutxent.c: New file. - * sysdeps/generic/getutxent.c: New file. - * sysdeps/generic/endutxent.c: New file. - * sysdeps/generic/getutxid.c: New file. - * sysdeps/generic/getutxline.c: New file. - * sysdeps/generic/pututxline.c: New file. - * sysdeps/generic/utmpxname.c: New file. - * sysdeps/generic/updwtmpx.c: New file. - * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove. - * sysdeps/generic/bits/utmpx.h: Remove. - -1998-04-20 Ulrich Drepper <drepper@cygnus.com> - - * posix/wordexp-test.c (main): Initialize ifs element of ts for - ~root test. - -1998-04-17 07:53 H.J. Lu <hjl@gnu.org> - - * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo. - -1998-04-17 11:32 Ulrich Drepper <drepper@cygnus.com> - - * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st - variable using _G_stat64. - * libio/fileops.c: Remove macro definition of fstat, it is in the - global header. - Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>. - -1998-04-17 Philip Blundell <pb@nexus.co.uk> - - * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox - <willy@odie.barnet.ac.uk>. - -1998-04-16 Philip Blundell <Philip.Blundell@pobox.com> - - * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro, - required by IPv6 Basic API. - (IN6_IS_ADDR_MC_LINKLOCAL): Likewise. - (IN6_IS_ADDR_MC_SITELOCAL): Likewise. - (IN6_IS_ADDR_MC_ORGLOCAL): Likewise. - (IN6_IS_ADDR_MC_GLOBAL): Likewise. - -1998-04-15 16:41 Ulrich Drepper <drepper@cygnus.com> - - Don't name internal representation since it might be different from - the external form (namely on little endian machines). - * iconv/gconv_builtin.h: Add UCS4 support. Change references to - UCS4 into references to INTERNAL. - * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters. - Add endianess support to UCS functions. Change references to - UCS4 into references to INTERNAL. - * iconv/gconv_int.h: Change references to UCS4 into references to - INTERNAL. - * iconv/iconv_prog.c: Don't mention INTERNAL in --list output. - * iconvdata/gconv-modules: Change accordingly. - * wcsmbs/wcsmbsload.c: Change names to use INTERNAL. - - * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer - overflow. - * iconvdata/8bit-gap.c: Likewise. - * iconvdata/8bit-generic.c: Likewise. - * iconvdata/big5.c: Likewise. - * iconvdata/euccn.c: Likewise. - * iconvdata/eucjp.c: Likewise. - * iconvdata/euckr.c: Likewise. - * iconvdata/euctw.c: Likewise. - * iconvdata/iso646.c: Likewise. - * iconvdata/iso6937.c: Likewise. - * iconvdata/iso8859-1.c: Likewise. - * iconvdata/johab.c: Likewise. - * iconvdata/sjis.c: Likewise. - * iconvdata/t61.c: Likewise. - * iconvdata/uhc.c: Likewise. - - * iconvdata/8bit-gap.c: Correct access to to_ucs4 array. - * iconvdata/8bit-generic.c: Likewise. - - * iconvdata/TESTS: Add more tests. - - * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used. - -1998-04-15 11:47 Ulrich Drepper <drepper@cygnus.com> - - * iconvdata/Makefile: Better rules to run tests. - - * iconvdata/testdata/ISO-8859-1..UTF8: New file. - * iconvdata/testdata/ISO-8859-10: Likewise. - * iconvdata/testdata/ISO-8859-10..UCS2: Likewise. - * iconvdata/testdata/ISO-8859-2: Likewise. - * iconvdata/testdata/ISO-8859-2..UCS4: Likewise. - * iconvdata/testdata/ISO-8859-2..UTF8: Likewise. - * iconvdata/testdata/ISO-8859-3: Likewise. - * iconvdata/testdata/ISO-8859-4: Likewise. - * iconvdata/testdata/ISO-8859-5: Likewise. - * iconvdata/testdata/ISO-8859-6: Likewise. - * iconvdata/testdata/ISO-8859-7: Likewise. - * iconvdata/testdata/ISO-8859-8: Likewise. - * iconvdata/testdata/ISO-8859-9: Likewise. - -1998-04-15 Ulrich Drepper <drepper@cygnus.com> - - * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare - intermediate result (if available). - - * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in - last change. - - * iconvdata/Makefile: Add rules to run run-iconv-test.sh. - (distribute): Add run-iconv-test.sh and testdata/*. - - * stdlib/testmb.c (main): Simplify mbc array handling. - -1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf/dl-minimal.c (__strtol_internal): Correct range check. Fix - return value on overflow. - -1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64 - bits. - -1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * malloc/mtrace.c (mtrace): Use standard function setvbuf instead - of non-standard function setbuffer. - -1998-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * stdio-common/perror.c: Include <string.h> for __strerror_r. - -1998-04-14 23:54 Ulrich Drepper <drepper@cygnus.com> - - * iconvdata/Makefile: Add rules to run tests. - * iconvdata/TESTS: New file. - * iconvdata/run-iconv-test.sh: New file. - * iconvdata/testdata/ISO-8859-1: New file. - - * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream, - not stdout. - -1998-04-14 18:22 Ulrich Drepper <drepper@cygnus.com> + * Makeconfig: Don't read sysd-sorted unless sysd-dirs is read. + Patch by Zack Weinberg. - * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize - counter element of step. + * math/bits/mathcalls.h: Adjust comments. Remove gamma_r prototype. - * iconv/gconv_dl.c: Don't mark get_sym as internal function. + * sysdeps/i386/fpu/bits/mathinline.h: Make log2 only available if + __USE_ISOC9X is defined. Provide rint optimization. - * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop - termination test. - (__gconv_transform_ucs4_utf8): Likewise. Remove unnecessary variable - ACTUALLY. - (__gconv_transform_utf8_ucs4): Correct test for empty input. +1998-11-21 H.J. Lu <hjl@gnu.org> -1998-04-14 Ulrich Drepper <drepper@cygnus.com> + * libio/Versions (_IO_popen, _IO_proc_open, _IO_proc_close, + popen, pclose): Add to GLIBC_2.1. - * Makefile: Include makeconfig before defining rule to regenerate - configure files. + * libio/Makefile (routines): Add oldiopopen and oldpclose. + (shared-only-routines): Likewise. - * configure.in: Remove restriction on compiling without static - libs. + * libio/pclose.c (pclose): Make it default for GLIBC_2.1. + * libio/iopopen.c (_IO_proc_open, _IO_popen, popen, + _IO_proc_close): Likewise. -1998-04-14 16:34 Ulrich Drepper <drepper@cygnus.com> + * libio/iolibio.h (_IO_new_popen, _IO_old_popen, __new_pclose, + __old_pclose): New prototypes. - * test-skeleton.c: Provide hook for initializing code before the fork. - * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always - removed. + * libio/libioP.h (_IO_new_file_jumps): Removed. + (_IO_old_proc_jumps): Added. + (_IO_new_proc_open, _IO_old_proc_open): New prototypes. - * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup. - * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all. - * libio/libioP.h: Adopt _IO_cleanup prototype. + * libio/oldiopopen.c: New file. - * stdlib/Makefile (tests): Add test-canon2. - * stdlib/test-canon2.c: New file. - * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to - be NULL. Use __lxstat, not __lstat. Correctly recognize long - symlink sequences. - (__realpath): Make real function which checks RESOLVED parameter for - not being NULL. + * libio/oldpclose.c: New file. -1998-04-14 Ulrich Drepper <drepper@cygnus.com> +1998-11-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - * catgets/open_catalog.c (__open_catalog): Fix problems with - reading non-files. Always close file. - Reported by Cristian Gafton <gafton@redhat.com>. + * nss/Makefile: Build and install getent. + * nss/getent.c: New, get entries from administrative database. - * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings. +1998-11-22 Roland McGrath <roland@baalperazim.frob.com> -1998-04-14 13:28 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/mach/hurd/i386/init-first.c (init): Provide temporary storage + for the per-thread variables of the main user thread to make it + possible to use malloc as soon as _hurd_preinit_hook has been run. + For cthreads, copy values to new stack from there. + For non-cthreads, malloc threadvar array here and copy from temp space. + (init1): No longer initialize threadvars here. + (doinit1): Made static void at top level. + (init): Folded into [PIC] _init or [!PIC] doinit1, since GCC cannot + inline a function that uses dynamic auto arrays. - * libc.map: Add various low-level I/O functions. +1998-11-20 Ulrich Drepper <drepper@cygnus.com> -1998-04-14 10:35 Ulrich Drepper <drepper@cygnus.com> + * version.h (VERSION): Bump to 2.0.103. - * string/Makefile (routines): Remove strerror_r. - * string/strerror_r.c: Removed. - * string/strerror.c: Call __strerror_r for doing the real work. - * sysdeps/generic/_strerror.c: Rename function to __strerror_r and - add weak alias strerror_r. - * sysdeps/mach/_strerror.c: Likewise. - * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal. - * elf/dl-error.c (_dl_signal_error): Likewise. - * elf/dl-profile.c (_dl_start_profile): Likewise. - * gmon/gmon.c (write_gmon): Likewise. - * stdio-common/perror.c: Likewise. - * stdio-common/vfprintf.c: Likewise. + * aclocal.m4 (LIBC_PROG_BINUTILS): Also add AR and RANLIB using the + same method. + * configure.in: Don't define AR and RANLIB here. -1998-04-10 Mark Kettenis <kettenis@phys.uva.nl> + * inet/gethstbyad_r.c: Define NEED__RES_HCONV and POSTPROCESS for + host name res_hconf code. + * inet/gethstbynm_r.c: Likewise. + * nss/getXXbyYY_r.c: Include resolv/res_hconf.h if NEED__RES_HCONF + is defined. Call res_hconf_init if necessary. If POSTPROCESS is + defined execute the code. + * resolv/Makefile (routines): Add res_hconf. + (headers): Add res_hconf.h. + * resolv/res_hconf.c: Pretty print. + * resolv/res_hconf.h: Likewise. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] - (sysdep_headers): Add netatalk/at.h. +1998-11-20 Ulrich Drepper <drepper@cygnus.com> -1998-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/generic/bits/byteswap.h: Fix typos in non-GCC + definitions. Reported by Scott Bambrough <scottb@corelcomputer.com>. - * manual/socket.texi, manual/creature.texi, manual/time.texi: - Formatting fixes. +1998-11-20 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> -1998-04-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * math/libm-test.c: Raise some epsilons a bit. - * posix/regex.c: Rename __re_syntax_options back to - re_syntax_options, aliases do not work with global variables due - to copy relocations. - (regex_compile): Use syntax parameter instead of - re_syntax_options. +1998-11-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> -1998-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * Makeconfig ($(common-objpfx)sysd-sorted): Fix portability problems. - * configure.in: Document that enable-force-install is default. +1998-11-20 Ulrich Drepper <drepper@cygnus.com> -1998-04-13 Ulrich Drepper <drepper@cygnus.com> + * Makefile (distribute): Add scripts/gen-sorted.awk. - * sysdeps/posix/mktemp.c: Increment `value' in a way which touches - all needed 36 bits. - * sysdeps/posix/mkstemp.c: Likewise. +1998-11-19 Ulrich Drepper <drepper@cygnus.com> -1998-04-13 17:40 Ulrich Drepper <drepper@cygnus.com> + * posix/regex.c (regex_compile): Handle extra long class names + correctly. - * iconvdata/8bit-gap.c: Simplify step data handling. - * iconvdata/8bit-generic.c: Likewise. - * iconvdata/big5.c: Likewise. - * iconvdata/euccn.c: Likewise. - * iconvdata/eucjp.c: Likewise. - * iconvdata/euckr.c: Likewise. - * iconvdata/euctw.c: Likewise. - * iconvdata/iso6937.c: Likewise. - * iconvdata/iso8859-1.c: Likewise. - * iconvdata/jis0208.h: Likewise. - * iconvdata/jis0212.c: Likewise. - * iconvdata/jis0212.h: Likewise. - * iconvdata/johab.c: Likewise. - * iconvdata/ksc5601.h: Likewise. - * iconvdata/sjis.c: Likewise. - * iconvdata/t61.c: Likewise. - * iconvdata/uhc.c: Likewise. +1998-11-19 Geoff Keating <geoffk@ozemail.com.au> -1998-04-13 16:36 Ulrich Drepper <drepper@cygnus.com> + * elf/rtld.c (_dl_start): Handle weak undefined symbols in ld.so + correctly. - * manual/texinfo.texi: Updated from last version. +1998-11-19 Ulrich Drepper <drepper@cygnus.com> -1998-04-13 14:52 Ulrich Drepper <drepper@cygnus.com> + * misc/error.c: Undo last change. - * iconvdata/cns11643.c: New file. - * iconvdata/cns11643.h: New file. - * iconvdata/cns11643l1.c: New file. - * iconvdata/cns11643l1.h: New file. - * iconvdata/euctw.c: New file. - * iconvdata/Makefile: Add rules for EUC-TW and CNS. - * iconvdata/gconv-modules: Likewise. + * ctype/Versions: Add _tolower and _toupper. - * iconvdata/eucjp.c: Several bug fixes and improvements. - * iconvdata/gb2312.h: Likewise. - * iconvdata/jis0201.h: Likewise. - * iconvdata/jis0208.h: Likewise. - * iconvdata/jis0212.h: Likewise. +1998-11-19 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> -1998-04-13 09:11 Ulrich Drepper <drepper@cygnus.com> + * sunrpc/svc_unix.c (readunix): Check for POLLERR, POLLHUP and + POLLNVAL. - * iconvdata/eucjp.c: New file. - * iconvdata/euccn.c: New file. - * iconvdata/gb2312.h: New file. - * iconvdata/gb2312.c: New file. - * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN. - * iconvdata/gconv-modules: Likewise. +1998-11-19 Ulrich Drepper <drepper@cygnus.com> - * iconvdata/euckr.c: Use stdint.h instead of inttypes.h. + * Makeconfig: Add comment to all-subdirs definition. + Add rule to generate sysd-sorted. Include this file and and set + subdirs value to $(sorted-subdirs). + * scripts/gen-sorted.awk: New file. + * Make-dist (+tsrcs): Add Depend. + * nscd/Depend: New file. + * nss/Depend: New file. + * rt/Depend: New file. -1998-04-12 Ulrich Drepper <drepper@cygnus.com> +1998-11-18 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c - (DL_FIND_ARG_COMPONENTS): Always initialize auxv. - Patch by Mark Hatle <fray@kernel.crashing.org>. + * sysdeps/unix/bsd/poll.c (__poll): Add code to extend sets if any + passed file descriptor exceeds the size determined by + getdtablesize. -1998-04-12 22:47 Philip Blundell <Philip.Blundell@pobox.com> + * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Update + from inline version in bits/socket.h. - * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct - comment. - (PF_AAL5, AF_AAL5): Rename to *_ATMPVC. - (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added. + * sysdeps/unix/sysv/linux/bits/socket.h: Define __cmsg_nxthdr as + inline function only is __USE_EXTERN_INLINES is defined. -1998-04-12 Ulrich Drepper <drepper@cygnus.com> + * time/strftime.c (my_strftime): Make code a bit clearer. + Patch by Paul Eggert <eggert@twinsun.com>. - * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations. + * io/Makefile (CFLAGS-ftw.c): Removed. - * iconvdata/Makefile: Add rules for big5 conversion. - * iconvdata/gconv-modules: Likewise. - * iconvdata/big5.c: New file. + * manual/errno.texi: Change the short text for ENODEV to + "No such device". - * time/mktime.c (TYPE_MAXIMUM): Add missing cast. - Patch by Jim Meyering. +1998-11-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> -1998-04-11 Ulrich Drepper <drepper@cygnus.com> + * io/Makefile (tests): Make sure that the test program has an + explicit directory part. - * rt/tst-aio.c: Add test for aio_read and lio_listio. +1998-11-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * rt/lio_listio.c: Correct total counter handling. + * configure.in: Fix last change. - * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements - from request queue. +1998-11-18 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - * test-skeleton.c (main): Make stdout unbuffered. Improve message - of signal on exit even more. + * sunrpc/Makefile (routines): Add create_xid. - * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER - instead of call to pthread_cond_init. - * rt/lio_listio.c (lio_listio): Likewise. - * rt/lio_listio64.c (lio_listio64): Likewise. + * sunrpc/clnt_tcp.c: Use non-guessable xid. + * sunrpc/clnt_udp.c: Likewise. + * sunrpc/clnt_unix.c: Likewise. + * sunrpc/pmap_rmt.c: Likewise. + * sunrpc/create_xid.c: New, create non-guessable xid. - * nis/nis_findserv.c: Include sys/socket.h. + * sunrpc/svc_tcp.c: Remove patch from 1998-06-15, use poll instead + of select. + * sunrpc/svc_unix.c: Use poll instead of select. -1998-04-11 09:33 Ulrich Drepper <drepper@cygnus.com> +1998-11-17 Ulrich Drepper <drepper@cygnus.com> - * Makeconfig (rtobjdir): New variable. - (rpath-link): Add rtobjdir and thread directory, if available. + * sysdeps/unix/sysv/linux/sleep.c (__sleep): Make Unix98 compliant + by removing SIG_IGN handler for SIGCHLD if necessary. + Patch by H.J. Lu <hjl@lucon.org>. - * test-skeleton.c: Add support to remove temporary files. - Always define test_dir. Improve message about expected signal. + * stdio-common/printf_fphex.c (__printf_fphex): Correct printing + of denormalized numbers. - * rt/Makefile (tests): Add tst-aio. - Add rules for tst-aio to be linked with librt and thread library. - * rt/aio_misc.c: Correct fundamental bugs. - * rt/aio_suspend.c: Correct bug in test for available request. - Initialize conditional variable. - * rt/lio_listio.c: Initialize conditional variable. - * rt/lio_listio64.c: Likewise. - * rt/tst-aio.c: New file. +1998-10-06 Geoff Keating <geoffk@ozemail.com.au> - * sysdeps/libm-ieee754/s_signgam.c: Undo last change. - * sysdeps/libm-ieee754/w_gamma.c: Likewise. Adopt for ISO C 9x. - * sysdeps/libm-ieee754/w_gammaf.c: Likewise. - * sysdeps/libm-ieee754/w_gammal.c: Likewise. - * sysdeps/libm-ieee754/w_lgamma.c: Likewise. - * sysdeps/libm-ieee754/w_lgammaf.c: Likewise. - * sysdeps/libm-ieee754/w_lgammal.c: Likewise. + * sysdeps/powerpc/dl-machine.h (elf_machine_load_address): Suppress + another parentheses warning, make nano-optimisation. -1998-04-11 14:49 Mark Kettenis <kettenis@landau.phys.uva.nl> + * sysdeps/powerpc/dl-machine.h (_dl_runtime_resolve): Preserve + saved LR on stack so _mcount works. + (_dl_prof_resolve): Likewise. + * sysdeps/powerpc/register-dump.h: Print FPRs. Adjust for correct + signal handler calling convention. + * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Adjust for + correct signal handler calling convention---more like x86 linux and + mklinux, less like linux-ppc versions between 2.1 and 2.1.126. - * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0. +1998-11-17 Ulrich Drepper <drepper@cygnus.com> -1998-04-10 Ulrich Drepper <drepper@cygnus.com> + * configure.in: Correct allowed makeinfo version. - * elf/dl-load.c (open_path): Use correct name for test whether - directory in load path exists. +1998-11-17 Philip Blundell <pb@nexus.co.uk> - * sysdeps/libm-ieee754/s_expm1.c: Remove variable one. - * sysdeps/libm-ieee754/e_pow.c: Fix typo. - Patches by Tom Rini <trini@kernel.crashing.org>. + * sysdeps/generic/bits/mathdef.h: Fix typo. - * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal. - * wcsmbs/wcstod_l.c: Likewise. - * wcsmbs/wcstold_l.c: Likewise. +1998-11-17 Geoff Keating <geoffk@ozemail.com.au> - * include/byteswap.h: New file. + * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Prototype the syscall + under the right name (squish warning). + * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise. - * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce - .bss segment size. Patch by Joe Keane <jgk@jgk.org>. +1998-11-17 Geoff Keating <geoffk@ozemail.com.au> - * inet/getnameinfo.c (getnameinfo): Change parameter to match - declaration. Patch by Richard Henderson. + * stdio-common/_itoa.c (_itoa): Add redundant parentheses to + prevent warnings. -1998-04-10 12:40 Zack Weinberg <zack@rabi.phys.columbia.edu> +1998-11-16 Ulrich Drepper <drepper@cygnus.com> - * manual/process.texi (SIGCHLD example): Save errno. + * intl/locale.alias: Change `japanese' alias to match X11R6's. + Add `japanese.euc' alias. -1998-04-09 Ulrich Drepper <drepper@cygnus.com> + * manual/Makefile (%.info): Set LANGUAGE and LC_ALL explicitly to C + before running makeinfo. - * posix/regex.c: Define regerror really as __regerror. - * posix/regex.h: Add __ protected prototypes for regcomp, regexec, - regerror and regfree. + * math/Makefile (libm-routines): $(strip) entire value. - * stdlib/strtof_l.c: Declare ____strtoull_l_internal. - * stdlib/strtod_l.c: Likewise. - * stdlib/strtold_l.c: Likewise. + * nss/nss_db/db-XXX.c (internal_setent): Rewrite to avoid warning. - * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros. +1998-10-24 H.J. Lu <hjl@gnu.org> - * sysdeps/i386/i486/bits/string.h: Remove unused variables. + * libio/libio.h (_IO_cookie_io_functions_t): Protect with __USE_GNU. + (_IO_cookie_file): Likewise. - * misc/syslog.c (closelog_internal): Set LogTag to NULL. - Patch by Christian Gafton. +1998-11-16 Philip Blundell <philb@gnu.org> -1998-04-09 14:27 Ulrich Drepper <drepper@cygnus.com> + * inet/netinet/icmp6.h: Correct naming of constants. - * manual/socket.texi (Interface Naming): Correct @deftypefun line - for if_indextoname. +1998-11-16 Ulrich Drepper <drepper@cygnus.com> -1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/unix/opendir.c: Use o_directory_works differently. Treat + zero value as uninitialized so that variable can go into .bss. - * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message. + * dirent/opendir-tst1.c: Print error strings to stdout. - * manual/socket.texi (Interface Naming): Fix typo. + * sysdeps/unix/sysv/linux/mmap64.c: New file. Empty. + * sysdeps/unix/sysv/linux/syscalls.list: Add mmap with mmap64 alias. + * sysdeps/unix/sysv/linux/arm/mmap.S: Add mmap64 alias. + * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise. -1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * manual/examples/filesrv.c (main): Remove filename first. + * time/tzfile.c (__tzfile_read): Check that types[i].isdst is in + range. - * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE, - ?F_UNIX. +1998-11-16 Ulrich Drepper <drepper@cygnus.com> - * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL - instead of PF_UNIX. + * libio/bits/stdio.h (fread_unlocked): Do handle zero size and number. + (fwrite_unlocked): Likewise. - * manual/examples/filecli.c (main): Use AF_LOCAL - instead of AF_UNIX. +1998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> -1998-04-09 Ulrich Drepper <drepper@cygnus.com> + * libio/bits/stdio.h (fread_unlocked): Don't evaluate non-constant + twice. Don't bother handling zero size. + (fwrite_unlocked): Likewise. - * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make - signgam weak alias. - * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam. - * sysdeps/libm-ieee754/w_lgammaf.c: Likewise. - * sysdeps/libm-ieee754/w_lgammal.c: Likewise. - * sysdeps/libm-ieee754/w_gamma.c: Likewise. - * sysdeps/libm-ieee754/w_gammaf.c: Likewise. - * sysdeps/libm-ieee754/w_gammal.c: Likewise. +1998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * login/utmp_daemon.c (open_socket): Use __connect not connect. + * configure.in: Fix regex for makeinfo version string. -1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * configure.in: Add new option --enable-force-install. Substitute - force_install. - * config.make.in (force-install): Set from configure. - * Makerules (force-install): New phony target. - * Makeconfig (+force): New variable. - * Makefile: Use it in dependency list of installation targets. - * db/Makefile: Likewise. - * db2/Makefile: Likewise. - * elf/Makefile: Likewise. - * hurd/Makefile: Likewise. - * iconv/Makefile: Likewise. - * iconvdata/Makefile: Likewise. - * intl/Makefile: Likewise. - * localedata/Makefile: Likewise. - * login/Makefile: Likewise. - * po/Makefile: Likewise. - * sunrpc/Makefile: Likewise. - * sysdeps/mach/hurd/Makefile: Likewise. - * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise. - * sysdeps/unix/sysv/linux/Makefile: Likewise. - * timezone/Makefile: Likewise. - -1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default - alloc_size. Pass return value of getcwd syscall to realloc. - -1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * manual/socket.texi: Spelling fixes. - -1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf/dl-load.c (print_search_path): Remove unused variable. - -1998-04-08 Ulrich Drepper <drepper@cygnus.com> - - * login/utmp_file.c: use __ftruncate not ftruncate. - * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name - for system call and make ftruncate weak alias. - * posix/unistd.h: Add prototype for __ftruncate. - * login/utmp_daemon.c (open_socket): Use __socket not socket. - * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv - instead of snprintf and readv. - * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not - snprintf. - * stdlib/strtod.c: Call strtoull/wcstoull's internal functions - directly. - -1998-04-08 20:06 Ulrich Drepper <drepper@cygnus.com> - - * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath. - * iconv/gconv_db.c: Use __ protected regex functions. - * iconv/gconv_simple.c: Use __mbsinit not mbsinit. - * posix/getopt_init.c: Use __getpid not getpid. - * posix/regex.c: Rename all global functions to start with __ and - make old names weak aliases. - * posix/regex.h: Adopt prototypes for this. - * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name - a weak alias and use __getcwd instead of getcwd. - * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name. - * stdlib/strtod.c: Use __btowc instead of btowc. - * stdlib/strtol.c: Likewise. - * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr. - * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr - and sys_errlist are weak. - * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias. - * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit - weak alias. - * wcsmbs/wchar.h: Declare __btowc and __mbsinit. - * wctype/wctype.c: Define function as __wctype and make wctype - weak alias. - * wctype/wctype.h: Declare __wctype. - -1998-04-08 Ulrich Drepper <drepper@cygnus.com> - - * stdio-common/vfscanf.c: Perform test in %l[ handling correctly. - -1998-04-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to - stat64. - (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean - functions. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias - for __llseek. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/llseek.c: Likewise. - * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and - make it a weak alias. - * posix/unistd.h: Declare __lseek64. + * sunrpc/rpc_sample.c (write_sample_server): Avoid -Wparentheses + warning. + * sunrpc/rpc_svcout.c (write_program): Likewise. - * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function. - (_IO_file_stat): Fix typo. - (_IO_file_xsgetn): Update fd->_offset. Read a multiple of the - block size from the file. Use __mempcpy if _LIBC. +1998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> -1998-04-07 20:32 Ulrich Drepper <drepper@cygnus.com> + * time/Makefile (CFLAGS-test_time.c): Add -Wno-format. - * wcsmbs/btowc.c: Fix dozends of bugs in untested code. - * wcsmbs/mbrtowc.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wctob.c: Likewise. +1998-11-16 Ulrich Drepper <drepper@cygnus.com - * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute - position of next output character correctly. - (__gconv_transform_ucs4_ascii): Count used input bytes correctly. + * misc/sys/mman.h: Pretty print prototypes. - * stdio-common/vfprintf.c (vfprintf): Clear state before used. +1998-11-15 Ulrich Drepper <drepper@cygnus.com - * stdlib/strtod.c: Don't use mbtowc. + * misc/error.c (error): Don't use result of strerror_r call directly + since at least DEC Unix has a wrong return type. + Patch by Johan Danielsson <joda@pdc.kth.se>. -1998-04-07 19:07 H.J. Lu <hjl@gnu.org> +1998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when - what we want is smaller than a buffer. + * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Undo + last change. -1998-04-07 18:14 Ulrich Drepper <drepper@cygnus.com> +1998-11-13 Ulrich Drepper <drepper@cygnus.com> - * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of - this function. + * stdio-common/vfscanf.c: Don't return -1 in case of an invalid + format, just stop. -1998-04-07 Ulrich Drepper <drepper@cygnus.com> + * version.h (VERSION): Bump to 2.0.102. - * configure.in: Recognize --with-headers flag and determine - commandline options to be used in compilation. - * Makeconfig (+includes): Use $(sysincludes). - * config.make.in (sysincludes): Define from SYSINCLUDES. - * glibcbug.in: Use SYSINCLUDES information. - Patches by Zack Weinberg. + * stdio-common/tstdiomisc.c (t2): Update test case for last scanf + change. + * stdio-common/scanf7.c (main): Likewise. -1998-04-07 19:03 Zack Weinberg <zack@rabi.phys.columbia.edu> +1998-11-13 Ulrich Drepper <drepper@cygnus.com> - * glibcbug.in: On linux, report version of kernel headers seen - by compiler. + * stdio-common/vfscanf.c: Return EOF for invalid format + characters. -1998-04-07 16:18 Ulrich Drepper <drepper@cygnus.com> + * version.h (VERSION): Bump to 2.0.101. - * libc.map: Add __asprintf to GLIBC_2.1. - * elf/dlerror.c: Use __asprintf, not asprintf. - * libio/stdio.h: Declare __asprintf. - * stdio-common/asprintf.c: Define as __asprintf and make asprintf - a weak alias. + * Makerules (Versions.all): Generate this file from all Versions.def + files. + (sysd-versions): Use Versions.all instead of Versions.def. - * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends) - to avoid inclusion from libc_pic.a. +1998-11-13 Philip Blundell <philb@gnu.org> - * elf/dl-runtime.c: Undo last patch. + * sysdeps/arm/fpu/bits/setjmp.h (__JMP_BUF_SP): Correct value. + Reported by Scott Bambrough. - * stdlib/strtod.c: Don't use mbtowc, use btowc. +1998-11-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386" - as default, use NULL. + * locale/programs/config.h: Define HAVE_STRING_H for xstrdup.c. -1998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1998-11-13 Ulrich Drepper <drepper@cygnus.com> - * resolv/Makefile: Include ../Makeconfig - needed for building - static NSS module. + * libio/bits/stdio.h: Correct and improve fread_unlocked and + fwrite_unlocked optimizations. -1998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * time/tzfile.c (__tzfile_read): Set __tzname based on last names + in time not to last entries in the file. + (__tzfile_compute): Likewise. Fix for PR libc/863. - * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for - static-nss since we don't want hesiod in the static NSS. + * timezone/Makefile: Generate GB timezone data for test. + * timezone/tst-timezone.c: More tests for DST switching time (disabled + for now). - * nss/Makefile: Build only nss_files as static. +1998-11-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * nss/function.def: Remove support for service db. + * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Remove + d0 from clobber list. -1998-04-04 09:44 H.J. Lu <hjl@gnu.org> +1998-11-12 Ulrich Drepper <drepper@cygnus.com> - * Makeconfig (CPPFLAGS-.oS): Add -DPIC. + * inet/netinet/in.h: Add a few more IPPROTO_* macros. -1998-04-04 18:29 Tim Waugh <tim@cyberelk.demon.co.uk> + * libio/Makefile (headers): Add bits/stdio.h. + * libio/iofread_u.c: Undefine fread_unlocked before definition. + * libio/iofwrite_u.c: Undefine fwrite_unlocked before definition. + * libio/stdio.h: Move optimizations into ... + * libio/bits/stdio.h: ...here. New file. - * posix/wordexp-test.c: Make IFS per test-case. + * libio/iofread.c: Pretty print. -1998-04-07 17:50 Zack Weinberg <zack@rabi.phys.columbia.edu> +1998-11-12 Mark Kettenis <kettenis@phys.uva.nl> - * glibcbug.in: Report version of gcc in use. Remove unused variable - ENVIRONMENT. + * sysdeps/gnu/bits/utmpx.h: Protect members of struct + __exit_status with `__'. Rename pad member of struct utmpx to + __unused. + (RUN_LVL): Define unconditionally. + * sysdeps/gnu/bits/utmp.h: Rename pad member of struct utmp to + __unused. -1998-04-07 Gordon Matzigkeit <gord@profitpress.com> +1998-11-12 Philip Blundell <philb@gnu.org> - * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not - `-print-file-name' to find as and ld. + * sysdeps/unix/sysv/linux/netlink/netlink.h: New file, support for + Linux AF_NETLINK sockets (needed since the kernel version is + unusable). + * sysdeps/unix/sysv/linux/Makefile: Install it. + * sysdeps/unix/sysv/linux/Dist: Distribute it. -1998-04-07 Ulrich Drepper <drepper@cygnus.com> +1998-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case - template is wrong. Remove unused varaible `ignored'. + * timezone/tst-timezone.c (tests): Add entry for America/Chicago + to test for bug in PR libc/863. -1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1998-11-12 Ulrich Drepper <drepper@cygnus.com> - * libc.map: Export __libc_sa_len. + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Cleanup comment. - * iconv/gconv_conf.c (MAXPATHLEN): Define correctly. + * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Rename macro + parameter lazy to do_lazy to avoid clashing with struct member name. + Reported by Ralf Baechle <ralf@uni-koblenz.de>. -1998-04-07 08:51 Ulrich Drepper <drepper@cygnus.com> +1998-11-10 H.J. Lu <hjl@gnu.org> - * iconv/gconv.c: Take care for NULL arguments. - * iconv/gconv_dl.c: Make find_func function global. - * iconv/gconv_int.h: Add prototype for __gconv_find_func. - Add prototypes for ASCII conversion functions. - * iconv/gconv_simple.c: Add ASCII conversion functions. - * locale/C-ctype.c: Correct charset name. + * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine NR_OPEN + if it is defined in <linux/limits.h>. - * wcsmbs/Makefile (distribute): Add wcsmbsload.h. - (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and - wcsmbsload. - * wcsmbs/btowc.c: Rewrite to use iconv functionality. - * wcsmbs/mbrtowc.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wctob.c: Likewise. - * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen. Remove - prototypes for wmemr*. - * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias. - * wcsmbs/wcsnlen.c: New file. - * wcsmbs/wcsmbsload.c: New file. - * wcsmbs/wcsmbsload.h: New file. +1998-11-09 13:07 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu> - * manual/filesys.texi: Mention risks of tmpnam and mktemp. + * include/protocols/routed.h: Include the real header with + a full path from the top of the source tree. + * include/protocols/rwhod.h: Likewise. + * include/protocols/talkd.h: Likewise. + * include/protocols/timed.h: Likewise. - * manual/install.texi: Describe some more critical points. + * timezone/Makefile: Don't include z.ZONE files if no_deps + is set, not if avoid-generated is set. - * string/string.h: Add prototype for __strnlen. - * string/strnlen.c: Rename to __strnlen and make strnlen weak alias. +1998-11-12 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/posix/mktemp.c: Rewrite to allow many more files and - much less predictable names. - * sysdeps/posix/mkstemp.c: Likewise. + * signal/signal.h: Undo last change. Get definition of timespec + if __USE_POSIX199309. -1998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * string/bits/string2.h (__strpbrk_c2): Add intermediate cast to + size_t to prevent gcc warning when using -Wqual-cast. + (__strpbrk_c3): Likewise. + Suggested by Alan Curry <pacman@cqc.com>. - * manual/libc.texinfo (Top): Change "file namespace" to "local - namespace". +1998-11-11 Roland McGrath <roland@baalperazim.frob.com> - * manual/socket.texi: Change file namespace to local namespace. - (Out-of-Band Data): Remove unneeded variable link. - (Host Address Functions): Use uint32_t consequently and add a - number of clarifications for IPv4/IPv6, classless addresses. - (Internet Namespace): Added some paragraphs about IPv6. - Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>. + * hurd/hurdsig.c (_hurdsig_init): Add assertion that no pending, + unblocked signals are set in the startup masks. -1998-04-05 Philip Blundell <Philip.Blundell@pobox.com> + * hurd/hurdsig.c (_hurdsig_init): Take new args, INTARRAY and + INTARRAYSIZE. Initialize main thread's sigstate from INIT_SIG* ints. - Update for draft-ietf-ipngwg-bsd-api-new-01.txt: + * hurd/hurd/signal.h: Update _hurdsig_init decl. + * hurd/hurdinit.c (_hurd_proc_init): Take new args, INTARRAY and + INTARRAYSIZE, pass them down to _hurdsig_init. + * hurd/hurd.h: Update _hurd_proc_init decl. - * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'. - (NI_NUMERICHOST, et al.): Tidy up and add comments. - (AI_NUMERICHOST): Define. - (getnodebyname): New prototype. - (AI_V4MAPPED, et al.): New constants. +1998-11-10 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro. - * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise. - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len - for socket. - * sysdeps/unix/sysv/linux/sa_len.c: New file. - * sysdeps/unix/sysv/linux/Dist: Add sa_len.c. + * math/cabs.c: Replace complex by _Complex. + * math/cabsf.c: Likewise. + * math/cabsl.c: Likewise. + * math/cimag.c: Likewise. + * math/cimagf.c: Likewise. + * math/cimagl.c: Likewise. + * math/conj.c: Likewise. + * math/conjf.c: Likewise. + * math/conjl.c: Likewise. + * math/creal.c: Likewise. + * math/crealf.c: Likewise. + * math/creall.c: Likewise. - * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe. + * sysdeps/alpha/fpu/bits/mathdef.h: Define ISO C 9X stuff only if + included from math.h and __USE_ISOC9X is defined. + * sysdeps/generic/bits/mathdef.h: Likewise. + * sysdeps/generic/i386/fpu/mathdef.h: Likewise. + * sysdeps/generic/m68k/fpu/mathdef.h: Likewise. + * sysdeps/generic/powerpc/bits/mathdef.h: Likewise. + * sysdeps/generic/sparc/fpu/bits/mathdef.h: Likewise. - * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union. - * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise. - * socket/Makefile (headers): Add bits/sockunion.h. - * socket/sys/socket.h: Include <bits/sockunion.h> - * inet/netinet/in.h: Include <bits/sockaddr.h> rather than - <sys/socket.h>, to avoid getting sockaddr_union defined. - * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h. - * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. +1998-11-10 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT - (2.2.x kernels won't have it). + * sysdeps/i386/fpu/bits/mathdef.h: Allow direct inclusion by + <complex.h>. + * sysdeps/alpha/fpu/bits/mathdef.h: Likewise. + * sysdeps/generic/bits/mathdef.h: Likewise. + * sysdeps/m68k/fpu/bits/mathdef.h: Likewise. + * sysdeps/powerpc/bits/mathdef.h: Likewise. + * sysdeps/sparc/fpu/bits/mathdef.h: Likewise. -1998-04-06 21:21 Ulrich Drepper <drepper@cygnus.com> +1998-11-09 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h. - * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t. - * iconv/gconv_conf.c: Define MAXPATHLEN if not available before. - Patches by UCHIYAMA Yasushi <uch@nop.or.jp>. + * extra-lib.mk: Fix typo in last change. -1998-04-05 Philip Blundell <Philip.Blundell@pobox.com> + * math/complex.h: Include bits/mathdef.h to get __NO_LONG_DOUBLE_MATH + is needed. + Don't define long double functions if __NO_LONG_DOUBLE_MATH is defined. + Don't define `complex' but instead `_Complex'. The later is the + reserved keyword. + * math/bits/cmathcalls.c: Define _Mdouble_complex_ using _Complex, + not complex. - * manual/socket.texi (Socket Addresses): Fix a typo. - (Interface Naming): New section. +1998-11-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> -1998-04-05 23:29 Zack Weinberg <zack@rabi.phys.columbia.edu> + * manual/libc.texinfo: Remove colon from category name. + * manual/Makefile (dir-add.info): Likewise. - * configure.in: Check for CC using $ac_tool_prefix, to handle - cross-compilation. Use AC_CHECK_TOOL to find MiG. - * config.make.in: Add MIG to be substituted. - * mach/Machrules: Don't define MIG variable. +1998-11-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - Patch by Gordon Matzigkeit <gord@profitpress.com>. + * configure.in: Avoid autoconf bug. -1998-04-05 Mark Kettenis <kettenis@phys.uva.nl> +1998-10-28 H.J. Lu <hjl@gnu.org> - * elf/dl-load.c (decompose_rpath): Use local_strdup instead of - strdupa to copy rpath. + * posix/getopt.h: Add "__" to arguments in prototypes. -1998-04-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-11-05 H.J. Lu <hjl@gnu.org> - * configure.in: Fix gcc version check. + * libio/iofgets.c (_IO_fgets): Don't report error + if something was read in and errno is set to + EAGAIN. + * libio/iofgets_u.c (fgets_unlocked): Likewise. - * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less - confusing. +1998-11-05 Philip Blundell <philb@gnu.org> -1998-03-31 Mark Kettenis <kettenis@phys.uva.nl> + * sysdeps/unix/sysv/linux/net/if_packet.h: Don't include kernel + header; it defines too much. Provide a local definition of struct + sockaddr_pkt and a comment advising against its use. - * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead - of ptsname_r. +1998-11-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * stdlib/stdlib.h: Change prototype of ptsname_r to make it more - like ttyname_r. - * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise. - * sysdeps/generic/ptsname.c (__ptsname_r): Likewise. - * sysdeps/unix/grantpt.c (grantpt): Change check of return value - of __ptsname_r accordingly. - * login/openpty.c (openpty): Likewise. + * extra-lib.mk: Avoid empty include list. -1998-06-04 18:47 H.J. Lu <hjl@gnu.org> +1998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * libio/fileops.c (_IO_file_xsgetn): Adjust pointers. + * extra-lib.mk: Add support for $(lib)-shared-only-routines. -1998-04-06 13:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * elf/Makefile (libdl-routines): Add dlopenold only if doing + versioning. + (libdl-shared-only-routines): New variable. - * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27. +1998-11-06 Paul Eggert <eggert@twinsun.com> - * Makerules: Re-add missing rule for $(objpfx)stamp.oS. + Don't invoke localtime_r or gmtime_r unless it's the GNU C + library's localtime_r and gmtime_r; there are too many buggy + implementations of localtime_r and gmtime_r out there, and + it's not worth keeping track of all the different bugs. -1998-04-06 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * time/mktime.c (__EXTENSIONS__): Remove. + (<unistd.h>): No need to include. + * time/strftime.c: Likewise. - * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall - return value for better error checking. + * time/mktime.c (_POSIX_THREAD_SAFE_FUNCTIONS, HAVE_LOCALTIME_R): + Remove. + (my_mktime_localtime_r): Renamed from localtime_r; all uses changed. + Base it on localtime unless _LIBC. -1998-04-06 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz> + * time/strftime.c (my_strftime_gmtime_r): Renamed from gmtime_r; + all uses changed. + (my_strftime_localtime_r): Renamed from localtime_r; all uses changed. + Base them on localtime/gmtime if not _LIBC. - * elf/dl-runtime.c (fixup, profile_fixup): The final arg to - _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT. +1998-11-07 Ulrich Drepper <drepper@cygnus.com> - * elf/elf.h (EM_SPARC64): Remove. - (EM_SPARC32PLUS, EM_SPARCV9): Add. - (HWCAP_SPARC_V9): Add. + * sysdeps/generic/isastream.c: Always return 0 unless it is an invalid + file descriptor. This makes this function actually usable. + Proposed by Mark Kettenis <kettenis@phys.uva.nl>. - * elf/ldsodefs.h (_dl_hwcap): Declare. - * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask): - Weaken so dlopen from static progies works. - (WEAKADDR): New macro. - (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu. - (LD_SO_PRELOAD): New macro. - (elf_machine_fixup_plt): Cope with weak _dl_hwcap. - (elf_machine_rela): Weaken _dl_rtld_map. +1998-11-05 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone - to __clone, and remove the later's alias. - * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise. + * math/math.h: Unconditionally include bits/mathdef.h. Declare + long double functions only if __NO_LONG_DOUBLE_MATH is not + defined. + * sysdeps/generic/bits/mathdef.h: Define only if __USE_ISOC9X. + Define __NO_LONG_DOUBLE_MATH. + * sysdeps/m68k/fpu/bits/mathdef.h: Define only if __USE_ISOC9X. + * sysdeps/i386/fpu/bits/mathdef.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from - the kernel's structure. + * elf/rtld.c: Add a few __builtin_expects where they will improve + a lot. - * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file. - Sparc needs a custom value of __KERNEL_NCCS. +1998-11-05 Ulrich Drepper <drepper@cygnus.com> -1998-04-06 Richard Henderson <rth@cygnus.com> + * version.h (VERSION): Bump to 2.0.100. - * sysdeps/generic/libc-start.c: Allow init and fini to be null. + * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Fix fldl -> fld. - * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main. - * sysdeps/sparc/sparc64/elf/start.S: Likewise. + * sysdeps/libm-i387/s_fma.S: Optimize a bit. + * sysdeps/libm-i387/s_fmaf.S: Likewise. -1998-04-06 Richard Henderson <rth@cygnus.com> +1998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change, - as the buffer is not properly aligned. - Reported by Juan Cespedes <cespedes@debian.org>. + * libio/genops.c (_IO_least_marker): Add additional parameter + end_p replacing fp->_IO_read_end. + (save_for_backup): Likewise. All callers changed. Use _IO_size_t + and _IO_ssize_t instead of int. + (_IO_switch_to_main_get_area): Remove use of _IO_save_ptr. + (_IO_switch_to_backup_area): Likewise. Fix comments. + (_IO_seekmark): Undo last change. + (_IO_default_pbackfail): Correct use of backup area. + * libio/libio.h (_IO_FILE_complete): Remove _IO_save_ptr. -1998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1998-11-04 19:47 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu> - * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL - instead of AF_FILE. + * configure.in: Search for install-info and substitute it. + Determine whether install-info is the buggy Debian version + that doesn't understand INFO-DIR-SECTION. + * config.make.in: Add INSTALL_INFO and OLD_DEBIAN_INSTALL_INFO + to be substituted. + * manual/Makefile: If OLD_DEBIAN_INSTALL_INFO, give + install-info the --section argument it needs to work properly. + (dir-add.texinfo): Delete target. + (dir-add.info): Generate this directly. Sort entries. Put a + colon at the end of the INFO-DIR-SECTION line. + * manual/libc.texinfo: Put a colon at the end of the + @dircategory line. -1998-04-05 Ulrich Drepper <drepper@cygnus.com> +1998-11-05 Paul Eggert <eggert@twinsun.com> - * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc* - and wc*tomb* functions. + * time/mktime.c (__mktime_internal): Adopt the traditional (and + problematic) notion of what to do when tm_isdst doesn't match. -1998-04-04 15:16 Philip Blundell <Philip.Blundell@pobox.com> +1998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * sysdeps/unix/start.c: Fix typo. + * posix/PTESTS: Fix spelling. -1998-04-04 Ulrich Drepper <drepper@cygnus.com> +1998-11-04 Ulrich Drepper <drepper@cygnus.com> - * iconv/gconv_db.c (__gconv_find_transform): Fix typo. + * misc/efgcvt_r.c (fcvt_r): Remove code which tries to use libm + functions. Reduce error in computing normalized value by multiplying + factor in loop and compute result in one step. + Reported by Christian Gafton. -1998-04-03 23:38 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/libm-i387/e_hypot.S: New file. + * sysdeps/libm-i387/e_hypotf.S: New file. - * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large - expressions and using array variables. - * sysdeps/libm-ieee754/e_asin.c: Likewise. - * sysdeps/libm-ieee754/e_j0.c: Likewise. - * sysdeps/libm-ieee754/e_j1.c: Likewise. - * sysdeps/libm-ieee754/e_log.c: Likewise. - * sysdeps/libm-ieee754/e_pow.c: Likewise. - * sysdeps/libm-ieee754/k_cos.c: Likewise. - * sysdeps/libm-ieee754/k_sin.c: Likewise. - * sysdeps/libm-ieee754/k_tan.c: Likewise. - * sysdeps/libm-ieee754/s_atan.c: Likewise. - * sysdeps/libm-ieee754/s_erf.c: Likewise. - * sysdeps/libm-ieee754/s_expm1.c: Likewise. - * sysdeps/libm-ieee754/s_log1p.c: Likewise. - Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>. +1998-11-04 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-04-03 23:17 Ulrich Drepper <drepper@cygnus.com> + * elf/dlopenold.c: Compile only if DO_VERSIONING is also defined. - * iconv/gconv.c: Rewrite of the low-level of gconv. - * iconv/gconv.h: Likewise. - * iconv/gconv_builtin.h: Likewise. - * iconv/gconv_close.c: Likewise. - * iconv/gconv_db.: Likewise. - * iconv/gconv_dl.c: Likewise. - * iconv/gconv_int.h: Likewise. - * iconv/gconv_open.c: Likewise. - * iconv/gconv_simple.c: Likewise. - * iconvdata/8bit-gap.c: Adapt for rewrite. - * iconvdata/8bit-generic.c: Likewise. - * iconvdata/euckr.c: Likewise. - * iconvdata/iso646.c: Likewise. - * iconvdata/iso6937.c: Likewise. - * iconvdata/iso8859-1.c: Likewise. - * iconvdata/johab.c: Likewise. - * iconvdata/sjis.c: Likewise. - * iconvdata/t61.c: Likewise. - * iconvdata/uhc.c: Likewise. +1998-11-03 H.J. Lu <hjl@gnu.org> -1998-04-03 15:34 Ulrich Drepper <drepper@cygnus.com> + * libio/fileops.c (new_do_write): New function. + (_IO_new_do_write): Call new_do_write. + (_IO_new_file_xsputn): Likewise. - * iconv/gconv_int.h: New file. Internal header. - * iconv/Makefile (distribute): Add gconv_int.h. - * iconv/gconv.h: Remove definition which are now in gconv_int.h. - * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction. - * iconv/gconv_close.c: Likewise. - * iconv/gconv_conf.c: Likewise. - * iconv/gconv_db.c: Likewise. - * iconv/gconv_dl.c: Likewise. - * iconv/gconv_int.h: Likewise. - * iconv/gconv_open.c: Likewise. - * iconv/iconv.c: Likewise. - * iconv/iconv_close.c: Likewise. - * iconv/iconv_open.c: Likewise. - * iconv/iconv_prog.c: Likewise. + * libio/oldfileops.c (old_do_write): New function. + (_IO_old_do_write): Call old_do_write. + (_IO_old_file_xsputn): Likewise. -1998-04-03 Ulrich Drepper <drepper@cygnus.com> +1998-11-04 Ulrich Drepper <drepper@cygnus.com> - * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the - missing braces. + * time/mktime.c (__mktime_internal): Correct last change. We must + stop searching for the right isdst value before stepping to the + initial value. -1998-04-03 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * malloc/malloc.c: Make sure calloc really returned zeroed memory. + Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>. - * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags. +1998-11-02 16:12 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu> -1998-04-03 16:29 Philip Blundell <pb@nexus.co.uk> + * sysdeps/generic/bits/signum.h: Define signals with their + historical numbers when those are in the 1-15 range and + consistent across platforms. + Define compatibility aliases (SIGIOT, SIGCLD) if __USE_MISC. + Define SIG_DFL, SIG_IGN, SIG_ERR as numeric constants cast + appropriately instead of with fake function declarations + (would cause link errors). + If __USE_UNIX98, define SIG_HOLD. - Based on patch from Pat Beirne: - * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for - PIC and non-PIC now. Correctly negate error number. - (errno): Use `%' not `@' in .type directives. +1998-10-29 H.J. Lu <hjl@gnu.org> -1998-04-03 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/bits/sigaction.h (sigaction): Use + union only if __USE_POSIX199309 is defined. - * sysdeps/i386/strtok.S: Change to use single exit point. - * sysdeps/i386/i686/strtok.S: Likewise. + * misc/sys/select.h (pselect): Declared only if __USE_GNU is + defined. -1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-11-03 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide - default. + * time/mktime.c (__mktime_internal): Handle broken down times + around the time of the DST switches more correctly. -1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-11-02 Ulrich Drepper <drepper@cygnus.com> - * Makerules (installed-libcs): Fix typo. + * elf/Makefile (libdl-routines): Add dlopenold. + * elf/Versions [libdl, GLIBC_2.1]: Add dlopen. + * elf/dl-open.c (_dl_open): Check whether RTLD_LAZY or RTLD_GLOBAL + is set and bounce otherwise. + * elf/dlopen.c: Rename function to __dlopen_check and make version + named dlopen. + * elf/dlopenold.c: New file. -1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-11-02 Ulrich Drepper <drepper@cygnus.com> - * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC. - (UHC-routines): Remove ksc5601. + * elf/Versions [libc, GLIBC_2.01]: Add _dl_global_scope_alloc. + * elf/dl-open.c (_dl_global_scope_alloc): Move definition to + * elf/dl-deps.c: ...here. + * elf/dl-open.c (dl_open_worker): Call _dl_map_object_deps with + new parameter and expect result. Remove code handling RTLD_GLOBAL. + Add return value of _dl_map_object_deps to + _dl_main_searchlist->r_nlist. + * elf/dl-deps.c (_dl_map_object_deps): Change to return value. + If we parameter GLOBAL is nonzero add object and dependencies to + the global scope. + * elf/ldsodefs.h: Adapt prototype for _dl_map_object_deps. + * elf/rtld.c (dl_main): Call _dl_map_object_deps with new parameter. + Mark all objects as in global scope. + * elf/dl-object.c (_dl_new_object): Initialize l_global to zero. -1998-04-03 16:29 Philip Blundell <pb@nexus.co.uk> + * sysdeps/unix/sysv/linux/bits/sockunion.h: Add Econet support. - * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo - introduced in last change. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Add .L prefix to symbols + used in macro magic. -1998-04-03 06:22 Ulrich Drepper <drepper@cygnus.com> +1998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels - before 2.1.92. + * sysdeps/unix/sysv/linux/netatalk/at.h: Include <linux/atalk.h> + before <sys/socket.h> to make sockaddr_at available to + <sys/socket.h>. -1998-04-02 Ulrich Drepper <drepper@cygnus.com> + * posix/glob.h: Remove __P from parameter lists of declarations. - * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry. +1998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * stdlib/isomac.c: Use -isystem instead of -I for system include - dir. + * time/tzset.c (tz_compute): Remove unused parameter timer. + Change caller. -1998-03-30 08:05 H.J. Lu <hjl@gnu.org> +1998-11-02 Mark Kettenis <kettenis@phys.uva.nl> - * resolv/res_comp.c (underscorechar): New. - (middlechar): Allow '_'. + * sysdeps/generic/bits/types.h (__ipc_pid_t): New typedef. -1998-04-02 Ulrich Drepper <drepper@cygnus.com> +1998-11-02 Ulrich Drepper <drepper@cygnus.com> - * intl/explodename.c (stdlib.h): Include that file only if - STDC_HEADERS or _LIBC. - (string.h): Include that file only if HAVE_STRING_H or _LIBC. - Patch by Philippe De Muyter <phdm@macqel.be>. + * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Remove + unnecessary test and add cast. -1998-04-01 21:08 Zack Weinberg <zack@rabi.phys.columbia.edu> +1998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests. - (AC_PROG_CHECK_VER): New macro. - * configure.in: Use AC_PROG_CHECK_VER to check versions of - gcc, gmake, msgfmt, makeinfo. Remove superfluous tests. + * posix/getconf.c: Add initializer SYSCONF for CHARCLASS_NAME_MAX. -1998-04-02 15:13 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Remove unused + parameter fd. + * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise. - * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file. - * sysdeps/i386/i686/strtok.S: New file - * sysdeps/i386/i686/strtok_r.S: New file +1998-11-02 Mark Kettenis <kettenis@phys.uva.nl> -1998-04-02 Mark Kettenis <kettenis@phys.uva.nl> + * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access + fds_bits member. + (__FDMASK): Use __fd_mask instead of unsigned long int in cast. - * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return - type to __off64_t. - * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset - parameter as __off64_t instead of __off_t. - (ftello): Make alias for ftello64 instead of ftello. Change - return type to __off64_t. +1998-10-31 Richard Henderson <rth@cygnus.com> -1998-04-02 Ulrich Drepper <drepper@cygnus.com> + * math/Makefile (gmp-objs): Add udiv_qrnnd. - * sysdeps/i386/bits/string.h: Fix various typos. - Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>. + * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL*): New. + (inline_syscall*): New. + * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): New. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Kill __syscall* bits. - * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92. +1998-10-31 Ulrich Drepper <drepper@cygnus.com> -1998-04-02 Ulrich Drepper <drepper@cygnus.com> + * aclocal.m4 (LIBC_PROG_FOO_GNU): Name output file using -o to + avoid ld test generating an unwanted file. - * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without - lchown syscall correctly. [PR libc/541]. + * posix/PTESTS: Remove comment about incorrect test (it is correct). -1998-04-02 11:45 Ulrich Drepper <drepper@cygnus.com> +1998-10-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - * localedata/Makefile: Correct testsuite rules. + * sunrpc/Versions: Add xdr_uint32_t and xdr_int32_t. + * sunrpc/pmap_rmt.c: Initialize clnt_stat variable. + * sunrpc/rpc/auth_des.h: Use uint32_t for time values. + * sunrpc/rpc/xdr.h: Add INT32 support. + * sunrpc/xdr.c: Implement xdr_int32_t and xdr_uint32_t . - * iconvdata/gconv-modules: Set cost of ISO646 module to 2. - * iconvdata/iso646.c: Fix conversion from UCS4. + * nis/nis_call.c: Changes for new 64bit clean NIS+ interface. + * nis/nis_callback.c: Likewise. + * nis/nis_creategroup.c: Likewise. + * nis/nis_defaults.c: Likewise. + * nis/nis_intern.h: Likewise. + * nis/nis_lookup.c: Likewise. + * nis/nis_ping.c: Likewise. + * nis/nis_print.c: Likewise. + * nis/nis_table.c: Likewise. + * nis/nis_util.c: Likewise. + * nis/nis_xdr.c: Likewise. + * nis/rpcsvc/nis.h: Likewise. + * nis/rpcsvc/nis.x: Likewise. + * nis/rpcsvc/nis_callback.h: Likewise. + * nis/rpcsvc/nis_object.x: Likewise. + * nis/rpcsvc/nislib.h: Likewise. - * elf/ldsodefs.h: Mark internal function with internal_function. - * elf/dl-addr.c: Likewise. - * elf/dl-close.c: Likewise. - * elf/dl-debug.c: Likewise. - * elf/dl-deps.c: Likewise. - * elf/dl-error.c: Likewise. - * elf/dl-fini.c: Likewise. - * elf/dl-init.c: Likewise. - * elf/dl-load.c: Likewise. - * elf/dl-lookup.c: Likewise. - * elf/dl-object.c: Likewise. - * elf/dl-open.c: Likewise. - * elf/dl-profile.c: Likewise. - * elf/dl-reloc.c: Likewise. - * elf/dl-runtime.c: Likewise. - * elf/dl-symbol.c: Likewise. - * elf/dl-version.c: Likewise. - * elf/dlerror.c: Likewise. - * sysdeps/generic/dl-sysdep.c: Likewise. - * sysdeps/i386/dl-machine.h: Likewise. - * intl/finddomain.c: Likewise. - * intl/gettextP.h: Likewise. - * intl/loadmsgcat.c: Likewise. + * nis/rpcsvc/yp.h: Remove casts to (u_long). + * nis/rpcsvc/yp_prot.h: Likewise. + * nis/rpcsvc/ypupd.h: Likewise. + * nis/ypclnt.c: Change %ld to %d in sprintf. -1998-04-01 17:38 Ulrich Drepper <drepper@cygnus.com> +1998-10-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * iconv/gconv_simple.c: New builtins for UCS en/decoding. - * iconv/gconv_builtin.h: Add definitions for new builtins. - * iconv/gconv.h: Add prototypes for new builtins. + * manual/locale.texi (Formatting Numbers): Fix strfmon examples. - * iconvdata/Makefile (modules): Add ISO646. - Add rules for ISO646 module. - (distribute): Add iso646.c. - * iconvdata/gconv-modules: Add module and alias definition for - ISO646 charsets. - * iconvdata/iso646.c: New file. +1998-10-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> -1998-04-01 16:10 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/generic/bits/select.h (__FD_ZERO): Change '\0' to plain + 0, __fd_mask is usually not a char. - * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db. - * iconv/iconv_prog.c: Implement --list option to print available - coded character sets. +1998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-04-01 18:10 Zack Weinberg <zack@rabi.phys.columbia.edu> + * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Allow + compilation on systems without rt_* syscalls (e.g. on Linux 2.0). + * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise. + * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. + * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. + * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise + * sysdeps/unix/sysv/linux/sigqueue.c: Likewise. + * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. - Make fread() read large blocks straight to the user buffer. + * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Allow + compiling on systems without rt_sigaction syscall. + * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction): + Likewise. - * libio/fileops.c (_IO_file_xsgetn): New function. - (_IO_file_jumps): Use it. - * libio/libioP.h: Prototype it. +1998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-04-01 Ulrich Drepper <drepper@cygnus.com> + * time/strptime.c (HERE_D_FMT): Fix typo. + Reported by Claus Heine <heine@math1.rwth-aachen.de>, PR libc/842. - * iconv/gconv_conf.c (builtin_aliases): New variable. - (__gconv_read_conf): Add builtin aliases. - * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an - noop macro before including gconv_builtin.h. - * iconv/gconv_builtin.h: Add alias names. +1998-10-30 Ulrich Drepper <drepper@cygnus.com> - * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute - number of converted bytes correctly. + * catgets/Makefile (tests): Add rules to run gencat on test1.msg. + (generate): Add test1.cat and test1.h. + (distribute): Add test1.msg. + * catgets/test1.msg: New file. -1998-04-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * catgets/gencat.c: Do a better job in initializing dynamic + memory [PR libc/844]. - * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if - we only wait for a replay. +1998-10-30 18:11 Ulrich Drepper <drepper@cygnus.com> -1998-04-01 Ulrich Drepper <drepper@cygnus.com> + * iconv/gconv_conf.c (__gconv_read_conf): Don't define as + internal_function since it is called through a pointer. + * iconv/gconv_db.c (free_derivation): Likewise. + * iconv/gconv_int.h: Adjust prototype od __gconv_read_conf. - * iconvdata/Makefile: Finally fix dependencies for JOHAB and - EUC-KR modules. + * posix/wordexp.c: Add internal_function to parse_backtick definition. + * rt/aio_misc.c: Add internal_function to __aio_free_request, + __aio_find_req, __aio_find_req_fd, and __aio_enqueue_request + definitions. + * rt/aio_notify.c: Add internal_function to __aio_notify_only and + __aio_notify definitions. + * wcsmbsload.c: Add internal_function to __wcsmbs_load_conv definition. -1998-04-1 16:52 Philip Blundell <pb@nexus.co.uk> +1998-10-30 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and - use PLTJMP() rather than explicit (PLT). + * Makerules (build-shlib): Add -O to generate optimized shared + objects. - * sysdeps/arm/elf/start.S: Leave most of the initialisation for - __libc_start_main(). +1998-10-30 11:15 Ulrich Drepper <drepper@cygnus.com> - Based on patch from Pat Beirne: - * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER): - Always define, not only #ifndef PIC. - (DO_CALL): Pass fifth argument correctly in R4. - (PSEUDO): Correct test for error, call syscall_error through PLT - if PIC. + * sysdeps/libm-i387/e_fmod.S: Remove invalid operand size suffix. + * sysdeps/libm-i387/e_fmodf.S: Likewise. + * sysdeps/libm-i387/e_fmodl.S: Likewise. + * sysdeps/libm-i387/s_ilogb.S: Likewise. + * sysdeps/libm-i387/s_ilogbf.S: Likewise. + * sysdeps/libm-i387/s_logb.S: Likewise. + * sysdeps/libm-i387/s_logbf.S: Likewise. + * sysdeps/libm-i387/s_remquo.S: Likewise. + * sysdeps/libm-i387/s_remquof.S: Likewise. + * sysdeps/libm-i387/s_remquol.S: Likewise. + * sysdeps/libm-i387/s_significand.S: Likewise. + * sysdeps/libm-i387/s_significandf.S: Likewise. -1998-03-31 10:51 Philip Blundell <pb@nexus.co.uk> +1998-10-30 Geoff Keating <geoffk@ozemail.com.au> - * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new - definitions. + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Really correct + _llseek. -1998-04-01 Ulrich Drepper <drepper@cygnus.com> +1998-10-30 Geoff Keating <geoffk@ozemail.com.au> - * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and - JOHAB.so. + * math/libm-test.c: Loosen deltas for sin(0.9)^2+cos(0.9)^2. -1998-04-01 13:20 Mark Kettenis <kettenis@phys.uva.nl> +1998-10-29 Ulrich Drepper <drepper@cygnus.com> - * io/Makefile (static-only-routines): Add stat64, fstat64 and - lstat64. + * stdio-common/vfprintf.c (vfprintf): Fix the remaining premature + returns without cleaning up the lock. + (printf_unknown): Add label all_done. -1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Keep Linux 2.0 + kernels in mind when reading /proc/self/fd/FD. + * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise. - * manual/Makefile: Use object-suffixes-for-libc instead of - object-suffixes. - * rpm/Makefile (install-lib): Likewise. + * nscd/nscd.c (doc): It's "Name Service" not "Name Switch". -1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * malloc/mtrace.c (tr_where): Replace snprintf call by mempcpy and + _fitoa. - * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug. + * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading + /prof/self/fd/FD first. + * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise. - * sysdeps/unix/sysv/linux/configure.in: Match $machine against - `m68*', not only `m68k'. + * stdio-common/_itoa.h (_fitoa_word): New inline function. Write + formatted number starting at given position and return pointer to + following byte. + (_fitoa): Likewise, for long long. -1998-04-01 10:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-10-29 Roland McGrath <roland@baalperazim.frob.com> - * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file. + * sysdeps/unix/sysv/linux/bits/sem.h, + sysdeps/unix/sysv/linux/bits/ipc.h, + sysdeps/unix/sysv/linux/bits/shm.h, + sysdeps/unix/sysv/linux/bits/msq.h: Moved to ... + * sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h, + sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here, + so the same bits will be used for the Hurd. - * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and - install lddlibc4. +1998-10-29 Ulrich Drepper <drepper@cygnus.com> -1998-03-31 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow + compiling on systems without rt_sigaction syscall. - * iconvdata/Makefile: Use libKSC shared object in JOHAB and - EUC-KR. +1998-10-12 Philip Blundell <pb@nexus.co.uk> - * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct - comment. + * Makeconfig (sysdep-subdirs): Allow Subdirs files to remove + directories as well as add them. -1998-03-30 08:43 H.J. Lu <hjl@gnu.org> +1998-10-28 Philip Blundell <pb@nexus.co.uk> - * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of - the init stuff. + * sysdeps/unix/sysv/linux/neteconet/ec.h: New file. Support for + AF_ECONET sockets as found in recent Linux 2.1 kernels. + * sysdeps/unix/sysv/linux/Dist: Distribute it. + * sysdeps/unix/sysv/linux/Makefile: Install it. -1998-03-31 Ulrich Drepper <drepper@cygnus.com> +1998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for - adjtimex syscall. - * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add - adjtimex. - Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>. + * string/bits/string2.h: __USE_GNU already implies __USE_MISC. -1998-03-31 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * Makerules (install): Change comment for libc.so following the - libc_nonshared changes. + * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access + fds_bits member. + * sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise. + * sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise. + * sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS): + Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS): + Likewise. + * sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR, + __FD_ISSET): Use it. + * sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR, + __FD_ISSET): Likewise. -1998-03-31 Ulrich Drepper <drepper@cygnus.com> +1998-10-28 Geoff Keating <geoffk@ozemail.com.au> - * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo. + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct + llseek. - * iconvdata/gap.pl: Avoid using %#06x. + * sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version. + Instead call the system call wrapper function using an 64bit argument. + * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise. -1998-03-31 19:55 Zack Weinberg <zack@rabi.phys.columbia.edu> +1998-10-27 Ulrich Drepper <drepper@cygnus.com> - * Makerules: Use $? instead of S^ when invoking ar. + * signal/signal.h: Don't include <time.h> for timespec, add + forward declaration. -1998-03-31 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version + of __FD_* macros which use __fds_bits. + * sysdeps/generic/bits/select.h: Likewise. + Reported by Matt McLean <keys@yikes.com>. - * db2/compat.h: Allow EFTYPE being defined. - * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD. - * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>. - * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE. - * sysdeps/mach/bits/libc-lock.h: Fix typo. - (__libc_once): Correctly unlock semaphore. - * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>. - * sysdeps/unix/bsd/getpt.c: Fix typo. - Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>. +1998-10-27 Philip Blundell <pb@nexus.co.uk> -1998-03-31 Ulrich Drepper <drepper@cygnus.com> + * elf/elf.h: Update ARM definitions. - * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as - macros. +1998-10-27 Ulrich Drepper <drepper@cygnus.com> -1998-03-31 18:11 Ulrich Drepper <drepper@cygnus.com> + * signal/signal.h: Include bits/sigthread.h only for Unix98. - * include/mntent.h: New file. +1998-10-26 Ulrich Drepper <drepper@cygnus.com> - * elf/Makefile (trusted-dirs.h): Append slash to filename. - * elf/dl-load.c: Rewrite search path handling. - * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite. - * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK. - * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function. - * elf/ldsodefs.h: Add prototype. + * include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined + define __builtin_expect as a macro substituting to the first + argument. + * config.h.in: Define HAVE_BUILTIN_EXPECT. + * configure.in: Add test for __builtin_expect. -1998-03-30 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/bits/types.h: Include + bits/pthreadtypes.h only not for POSIX 199506. + * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise. - * nss/nsswitch.c (__nss_lookup): Adjust comment. +1998-10-26 Mark Kettenis <kettenis@phys.uva.nl> - * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New - function. + * sysdeps/unix/sysv/linux/Versions: Move shutdown ... + * socket/Versions [libc, GLIBC_2.0]: ... to here. - * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition. +1998-10-25 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string): - New function. - (HWCAP_IMPORTANT): New definition. + * include/stdio.h: Included <stddef.h> for size_t. -1998-03-30 17:26 H.J. Lu <hjl@gnu.org> + * stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal + to ... + * include/stdio.h: ...here. + * libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal. - * elf/dl-open.c (_dl_open): Fix a typo. - (_dl_global_scope_alloc): Make it static. +1998-10-26 11:09 Ulrich Drepper <drepper@cygnus.com> -1998-03-30 17:20 Ulrich Drepper <drepper@cygnus.com> + * time/Makefile (tests): Add tst-posixtz. + * time/tst-posixtz.c: New file. - * Makerules: Remove duplicate rules to handle stamp.oS. +1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> -1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * elf/rtld.c (process_envvars): Accept any non-null value of + LD_BIND_NOW, as mandated by the ABI. - * manual/examples/inetsrv.c (main): Change prototype of - make_socket following change in mkisock.c. +1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as - example host. - (main): Change prototype of init_sockaddr following change in - isockadd.c. + * sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to + __syscall_pread. + * sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to + __syscall_pwrite. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. Remove + duplicate entries. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove + s_pread64 and s_pwrite64. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise. - * manual/examples/mkisock.c (make_socket): Use uint16_t for port. - * manual/examples/isockad.c (init_sockaddr): Likewise. +1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * manual/examples/mkfsock.c (make_named_socket): Removed blank - lines for clarification. - (make_named_socket): Use strncpy instead of strcpy. - Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>. + * sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL. + * sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek + to __syscall__llseek. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for + __sys_llseek. -1998-03-30 13:28 Ulrich Drepper <drepper@cygnus.com> +1998-10-26 Cristian Gafton <gafton@redhat.com> - * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for - determining libs to remove. - (postclean): Add soversions.mk. - * Makerules (common-mostlyclean): Add tests-static and generated - files. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid + and s_setfsuid. -1998-03-30 12:53 Ulrich Drepper <drepper@cygnus.com> +1998-10-26 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct - scanning for \0. - (__strncat_g): Add i686 specific code. + * time/tzset.c (tz_compute): Correct last patch and describe this + in a comment. -1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * manual/install.texi (Reporting Bugs): Ask to include section - names in reports. + * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove + rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo, + rt_sigaction and rt_sigpending. + * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries + for __syscall_* functions. + * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL. -1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-10-26 Roland McGrath <roland@baalperazim.frob.com> - * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit - guard against direct inclusion. + * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize, + _hurd_dtable_lock, _hurd_intern_fd. -1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/mach/hurd/Versions: Add cthread_keycreate, + cthread_getspecific, cthread_setspecific, __libc_getspecific. - Rework support for libc_nonshared.a: - * Makeconfig (object-suffixes-for-libc): New variable. - * Rules: Remove handling of static-only and shared-only routines. - * Makerules: Handle them here instead. Use - object-suffixes-for-libc instead of object-suffixes when dealing - with libc objects. - (object-suffixes-for-rules): Remove variable. - (elide-routines.oS): Elide all routines except static-only - routines. - ($(objpfx)stamp.oS): Special rule for when static-only-routines is - empty. - (installed-libcs): Remove special case for .oS. - (rmobjs): Likewise. + * mach/Versions: Fix typo in last change. -1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-10-25 Ulrich Drepper <drepper@cygnus.com> - * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon, - do-tst-rpmatch): New targets. - (test): Use them. - (install-locales): Ignore comment lines. + * time/tzset.c (tz_compute): If time to switch to DST is later in + the year switch back in the next year. + Reported by jwitford@hutch.com.au. -1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-10-24 Mark Kettenis <kettenis@phys.uva.nl> - * elf/Makefile ($(objpfx)ld.so): Depend on version script. - ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig. - ($(objpfx)rtldtbl.h): Likewise. - (CPPFLAGS-dl-load.c): Fix reference to object directory. + * mach/Versions: Add evc_wait, mach_error, mach_error_string, + mach_error_type, mach_msg_destroy, mig_deallocate_reply_port. + Remove __mach_host_self, __mach_reply_port, __mach_setup_thread, + __mach_port_allocate, __mach_port_allocate_name, + __mach_port_insert_right __mutex_trylock, __mutex_lock, + __mutex_unlock, __swtch, __switch, __task_create, __task_suspend, + __task_set_special_port, __task_terminate, __thread_depress_abort, + __thread_switch, __vm_allocate, __vm_deallocate, __vm_map. These + functions are not used outside libc. -1998-03-30 09:36 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/mach/hurd/Versions: New file. + [libc, GLIBC_2.0]: Add _cthread_exit_routine and + _cthread_init_routine. These are set by the Hurd cthreads library. + Add __getcwd, __mmap. If we don't add these, the weak definitions in + the dynamic linker will not be replaced by the corresponding shared + library routines once they are loaded. - * manual/string.texi (Finding Tokens in a String): Extend strsep - description and correct example. +1998-10-21 Mark Kettenis <kettenis@phys.uva.nl> -1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/mach/hurd/i386/init-first.c: Only define + __libc_enable_secure if PIC is not defined. - * manual/socket.texi: Remove misguided explicit line breaks and - fix the formatting problem instead by reformulating the - paragraphs. - * manual/filesys.texi: Likewise. - * manual/conf.texi: Likewise. Don't typeset table with index - fonts, that looks worse than a minimally overfull line. +1998-10-25 Roland McGrath <roland@baalperazim.frob.com> -1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this + to recurse into argp. - * nscd/Makefile (nscd-modules): Move definition outside of - conditional. +1998-10-25 Ulrich Drepper <drepper@cygnus.com> - * pwd/Makefile: Use have-thread-library to test for thread - library. + * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is + greater or equal than 199506L. -1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits + only is __USE_XOPEN. Otherwise use __fds_bits. + * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/bits/types.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise. - * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip. +1998-10-24 H.J. Lu <hjl@gnu.org> - * iconvdata/uhc.c (gconv): Remove unused variable idx. + * locale/programs/charmap.c (parse_charmap): Accept tok_string + for <code_set_name>. -1998-03-30 Ulrich Drepper <drepper@cygnus.com> +1998-10-25 H.J. Lu <hjl@gnu.org> - * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c. + * locale/programs/ld-ctype.c (ctype_finish): Also check + <space>. -1998-03-29 Ulrich Drepper <drepper@cygnus.com> +1998-10-25 Ulrich Drepper <drepper@cygnus.com> - * nss/getXXent_r.c: Correctly handle failing setXXent function. + * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506. - * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros. - Reported by Andreas Jaeger. + * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only + if __USE_POSIX199506 or __USE_UNIX98. -1998-03-29 20:59 Ulrich Drepper <drepper@cygnus.com> +1998-10-24 22:34 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> - * elf/Makefile: Fix typo. - (distribute): Add dl-librecon.h. - * elf/ldd.bash.in: Collect output of ldd --verify in verify_out. - * elf/ldd.sh.in: Likewise. - * elf/ldsodefs.h: Declare _dl_correct_cache_id. - * elf/rtld.c (dl_main): In --verify mode allow platform specifc action. - Use strsep correctly. - (process_envvars): Allow platform specific variables. - * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable. - (_dl_load_cache_lookup): Test cache IDs found against - _dl_correct_cache_id. - * sysdeps/generic/dl-librecon.h: New file. - * sysdeps/unix/sysv/linux/dl-librecon.h: New file. + * string/bits/string2.h: Inline strdup+friends only if + __USE_MISC || __USE_GNU (prevents namespace pollution). - * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h. +1998-10-24 H.J. Lu <hjl@gnu.org> -1998-03-29 16:50 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH, + LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX, + LOCK_NB, LOCK_UN): Likewise. + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX, + LOCK_NB, LOCK_UN): Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX, + LOCK_NB, LOCK_UN): Likewise. + * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX, + LOCK_NB, LOCK_UN): Likewise. - * config.make.in (ldd-rewrite-script): New variable. - * configure.in: Substitute ldd-rewrite-script. - * elf/Makefile: Rewrite rules to generate ldd script. - * elf/ldd.bash.in: Allow handling of non-ELF binaries. - * elf/ldd.sh.in: Likewise. - * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4. - * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to - point to sed script for libc4 handling insertion for ix86, m68, SPARC. - * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4. - * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file. +1998-10-24 H.J. Lu <hjl@gnu.org> -1998-03-26 15:20 Zack Weinberg <zack@rabi.phys.columbia.edu> + * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value. - * inet/rcmd.c (iruserok): Remain setuid to the local user - while .rhosts is actually read, to make .rhosts-over-NFS work - (PR libc/524). Use iruserfopen() for security checks on both - hosts.equiv and .rhosts. General cleanup. - (iruserfopen): New function, performs careful checking on - hosts.equiv/.rhosts files. Disallows all the old forbidden - stuff plus hard links to files. + * libio/rewind.c (rewind): Clear the error. -1998-03-29 09:26 Ulrich Drepper <drepper@cygnus.com> +1998-10-24 H.J. Lu <hjl@gnu.org> - * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead. + * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to + "buffer". - * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop. +1998-10-24 H.J. Lu <hjl@gnu.org> -1998-03-29 02:02 H.J. Lu <hjl@gnu.org> + * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect + with __need_timeval. + * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise. + * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise. - * sysdeps/i386/i486/bits/string.h: Fix typos. +1998-10-24 H.J. Lu <hjl@gnu.org> -1998-03-28 00:13 H.J. Lu <hjl@gnu.org> + * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait, + sigqueue): Protect with __USE_POSIX199309. - * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New - strong alias. +1998-10-24 H.J. Lu <hjl@gnu.org> - * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added. + * time/time.h (timespec): Protect with __USE_POSIX199309 instead of + __USE_POSIX. - * libc.map (__ieee_get_fp_control, __ieee_set_fp_control): - Added. Used by libm.so on alpha. +1998-10-24 H.J. Lu <hjl@gnu.org> -1998-03-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * libio/fileops.c (_IO_new_file_seekoff): Always resync with + the kernel file offset. + * libio/oldfileops.c (_IO_old_file_seekoff): Likewise. - * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet - defined. +1998-10-24 H.J. Lu <hjl@gnu.org> -1998-03-27 07:29 H.J. Lu <hjl@gnu.org> + * time/tzfile.c (__tzfile_default): Set num_types to 2. - * Makerules (object-suffixes-for-rules): Add .oS only for - building shared library. - Add ranlib rule for nonshared library. - (rmobjs): Fix typo. +1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved - into for shared library only. - (CPPFLAGS-.oS): Add -DPIC. - (libtypes): Use $(object-suffixes-for-rules) instead of - $(object-suffixes). + * rt/aio.h: Move __aio_init to... + * include/aio.h: ...here. -1998-03-28 Ulrich Drepper <drepper@cygnus.com> +1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile - and install lddlibc4. + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate + definition of O_LARGEFILE. -1998-03-28 09:13 Zack Weinberg <zack@rabi.phys.columbia.edu> +1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * iconvdata/gap.pl: Gobble rest of line with a scalar, not a - hash. - * iconvdata/gaptab.pl: Likewise. + * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path + as first argument to statfs. -1998-03-27 22:46 Ulrich Drepper <drepper@cygnus.com> +1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * Rules: Allow Makefiles to specify test-static for tests which - cannot be linked dynamically. - * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to - tests-static. + * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else. - * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next. +1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * misc/error.c: Pretty print. + * malloc/mtrace.c: Include <string.h> for strlen. -1998-03-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-10-24 Roland McGrath <roland@baalperazim.frob.com> - * Makerules (libc_nonshared-name): Remove variable. - (installed-libcs): Use libc-name instead. - ($(inst_libdir)/libc.so): Likewise. Remove explicit reference to - dynamic linker. + * sysdeps/mach/hurd/bits/environments.h: New file. - * Makeconfig (link-libc): Link against libc_nonshared.a instead of - libc.a. Remove explicit reference to dynamic linker. + * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function. -1998-03-27 Ulrich Drepper <drepper@cygnus.com> + * mach/Versions, hurd/Versions: Add numerous symbols. + Remove libmachuser and libhurduser sections, punt + versioning for those libraries for now. - * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char - to wchar_t. - * iconv/iconv_prog.c: Correctly test for write failure. - * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions. - * iconvdata/gconv-modules: Likewise. - * iconvdata/euckr.c: New file. - * iconvdata/johab.c: New file. - * iconvdata/ksc5601.c: New file. - * iconvdata/ksc5601.h: New file. - * iconvdata/uhc.c: New file. - Contributed by Jungshik Shin <jshin@pantheon.yale.edu>. + * misc/Versions: Add reboot here; it exists on all platforms. + * sysdeps/unix/sysv/linux/Versions: Remove reboot here. - * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen. - * stdio/fopen.c: Correct handling of 'x' flag. - Reported by Jason M. Petry <jason@ps.ohio-state.edu>. +1998-10-23 Ulrich Drepper <drepper@cygnus.com> -1998-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New + macro. + * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE, + O_NOFOLLOW, O_DIRECT): New macros. + (O_DIRECTORY): Correct definition according to official 2.1.126. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY, + O_NOFOLLOW): New macros. - * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident. - * sunrpc/rpcsvc/key_prot.x: Likewise. - * sunrpc/key_prot.c: Likewise. +1998-10-24 Roland McGrath <roland@baalperazim.frob.com> -1998-03-27 13:49 Ulrich Drepper <drepper@cygnus.com> + * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__. - * sysdeps/i386/bits/string.h: Correct things which never worked. - * sysdeps/i386/i486/bits/string.h: Add clobber marks. - Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>. + * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "". + (__opendir): Add trailing slash to name for open, for ENOTDIR check. -1998-03-27 Ulrich Drepper <drepper@cygnus.com> +1998-10-23 Ulrich Drepper <drepper@cygnus.com> - * intl/textdomain.c [_LIBC]: Define strdup only if not yet - defined. Reported by Thorsten Kukuk. + * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c, + setfsuid.c, and setfsgid.c. + * sysdeps/unix/sysv/linux/arm/Dist: Likewise. + * sysdeps/unix/sysv/linux/m68k/Dist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise. -1998-03-26 18:50 Ulrich Drepper <drepper@cygnus.com> + * version.h (VERSION): Bump to 2.0.99. - * sysdeps/unix/sysv/linux/lddlibc4.c: New file. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate + ustat definition. -1998-03-26 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and + s_pwrite64.c. - * manual/install.texi (Supported Configurations): Add - arm-linuxaout and arm-none. + * posix/fnmath.h: Don't redefine __P when used in glibc. + * posix/glob.h: Likewise. -1998-03-26 Ulrich Drepper <drepper@cygnus.com> + * inet/rcmd.c (__ivaliduser2): Fix memory leak. + Patch by Dick Streefland <dick_streefland@tasking.com>. - * version.h (VERSION): Bump to 2.0.93. + * stdio-common/tst-ungetc.c: Add more test cases. -1998-03-25 07:30 H.J. Lu <hjl@gnu.org> + * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h. + * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number + definitions to ... + * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here. New file. + * sysdeps/unix/sysv/linux/fpathconf.c: New file. + * sysdeps/unix/sysv/linux/pathconf.c: New file. + * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here. + * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise. - * configure.in (libc_cv_ar_S): New to indicate if ar S works. +1998-10-20 Philip Blundell <pb@nexus.co.uk> - * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S. + * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include + <asm/ptrace.h> to define struct pt_regs. + * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother + including <asm/ptrace.h> here. - * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S). - (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR). + * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to + C_SYMBOL_NAME macro. -1998-03-26 Ulrich Drepper <drepper@cygnus.com> +1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * Makeconfig (link-libc): Add missing use of libc_nonshared.a. + * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at + end of enumerator list. + * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise. + * posix/wordexp.h: Likewise. -1998-03-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * db/db.h: Use __PMT instead of __P in typedefs. + * db/mpool.h: Likewise. + * sysdeps/generic/bits/siginfo.h: Likewise. + * nis/rpcsvc/ypclnt.h: Likewise. - Put the static-only routines in a separate library. - * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New - variables. - (all-object-suffixes): Add .oS. - * Makerules (libc_static-name): New variable. - (installed-libcs): Add libc_nonshared.a. - ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a. - (object-suffixes-for-rules): New variable. Use it instead of - object-suffixes for generating compilation rules. - (rmobjs): Also remove *.oS. - * Rules (subdir_lib): Depend on $(objpfx)stamp.oS. - ($(objpfx)stamp.oS): New target. +1998-10-23 Ulrich Drepper <drepper@cygnus.com> -1998-03-26 Ulrich Drepper <drepper@cygnus.com> + * libio/genops.c (_IO_seekmark): When switching to backup buffer + make sure all characters from the read buffer are read after + switching back to it. - * Makefile (FAQ): Automatically check in regenerated FAQ. +1998-10-22 Ulrich Drepper <drepper@cygnus.com> -1998-03-26 10:16 Zack Weinberg <zack@rabi.phys.columbia.edu> + * configure.in: Add support for Cygnus GNUPro compilers. - * Makefile (INSTALL): Depend on install.texi, not maint.texi. +1998-10-22 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-03-25 Ulrich Drepper <drepper@cygnus.com> + * stdio/stdio.h: Use __PMT instead of __P in typedefs. - * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h. - * sysdeps/unix/sysv/linux/alpha/Dist: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead + of __P for sa_restorer. + * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct + kernel_sigaction, old_kernel_sigaction): Likewise. - * sysdeps/generic/stub_warning: Removed. +1998-10-22 Ulrich Drepper <drepper@cygnus.com> - * Makefile (distribute): Add include/des.h. + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread + and __syscall_pwrite aliases. - * manual/Makefile (distribute): Change dir-add.texi to - dir-add.texinfo. + * sunrpc/rpc/auth.h (AUTH_DH): New macro. Alias for AUTH_DES. - * glibcbug.in: Create files safely when mktemp is not available. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and + improve INLINE_SYSCALL using macro assembler magic. - * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again. - Patch by a sun <asun@saul1.u.washington.edu>. +1998-10-22 H.J. Lu <hjl@gnu.org> -1998-03-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add + sanity check for n. + * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise. - * libc.map: Rename getname to getnetname. + * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to + EINVAL if errno == ENODEV. Tested by VSX-PCT. -1998-03-25 13:35 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/posix/isatty.c (__isatty): Don't reset errno. Tested + by VSX-PCT. - * manual/maint.texi: Use supported platform in examples. + * posix/execvp.c (execvp): Check "". Tested by VSX-PCT. - * manual/install.texi: Document some installation tips. +1998-10-22 Philip Blundell <pb@nexus.co.uk> -1998-03-25 10:56 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef + __ASSEMBLER__. - * posix/wordexp.c: Fix some memory leaks and makes $* more efficient. - Fix a bug so that it returns an error if a numeric parameter is - unset and WRDE_UNDEF is set. - Patch by Andreas Schwab and Tim Waugh. - * posix/wordexp-test.c: Add new new test. +1998-10-21 Ulrich Drepper <drepper@cygnus.com> -1998-03-25 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros + and adjust formats. - * posix/regex.c (regex_compile): Last patch wasn't entirely - correct. Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>. +1998-10-21 14:38 Ulrich Drepper <drepper@cygnus.com> -1998-03-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro. Simply call + __syscall_* function. + * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead + of calling __syscall_* function. + * 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/getpriority.c: Likewise. + * sysdeps/unix/sysv/linux/getresgid.c: Likewise. + * sysdeps/unix/sysv/linux/getresuid.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/reboot.c: Likewise. + * sysdeps/unix/sysv/linux/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/siglist.h: 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/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sysctl.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/i386/chown.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise. + * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise. + + * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using + inline assembler. + * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various + __syscall_* definitions. + + * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_* + definitions to... + * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here... + * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here... + * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here... + * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here... + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here... + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here... + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here. - * manual/filesys.texi (Scanning Directory Content): Fix typo. + * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines): + Move definition to... + * sysdeps/unix/sysv/linux/alpha/Makefile: ...here... + * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here... + * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here... + * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here... + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here... + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here... + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here. -1998-03-25 09:24 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE> + * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc] + (sysdep_routines): Remove s_pread64 and s_pwrite64. - * sysdeps/i386/bits/string.h: Fix all assembler statements so that - clobbered registers don't appear as operands. + * sysdeps/unix/sysv/linux/i386/pread.c: New file. + * sysdeps/unix/sysv/linux/i386/pread64.c: New file. + * sysdeps/unix/sysv/linux/i386/pwrite.c: New file. + * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file. + * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed. + * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed. -1998-03-24 Ulrich Drepper <drepper@cygnus.com> +1998-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * posix/regex.c: Undefine ISASCII and ISPRINT before defining for - Solaris' sake. + * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files + and bring them in synch. + * sysdeps/unix/siglist.c: Likewise. + Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832]. - * posix/regex.c (regex_compile): Don't allow non-alphabet - characters in character set name. +1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> -1998-03-25 00:00 Tim Waugh <tim@cyberelk.demon.co.uk> + * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments. + * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. - * posix/wordexp.c (w_newword): New function. - (do_parse_glob): New function. - (parse_glob): Use do_parse_glob. Now handles the case where a - variable expansion causes a field-split. - (wordexp): Use w_newword. - (parse_arith): Likewise. - (exec_comm): Likewise. - (parse_comm): Likewise. - (parse_param): Likewise. - (parse_backtick): Likewise. + * sysdeps/unix/sysv/linux/i386/setreuid.c: New file. + * sysdeps/unix/sysv/linux/i386/setregid.c: New file. + * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file. + * sysdeps/unix/sysv/linux/m68k/setregid.c: New file. + * sysdeps/unix/sysv/linux/arm/setreuid.c: New file. + * sysdeps/unix/sysv/linux/arm/setregid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file. + * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and + s_setregid. + * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise. -1998-03-24 19:36 Tim Waugh <tim@cyberelk.demon.co.uk> +1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * posix/wordexp-tst.sh: Another test. + * sunrpc/rpc_main.c (close_output, close_input): New functions. + (c_output, h_output, s_output, l_output, t_output, svc_output, + clnt_output, mkfile_output): Call them at the end. - * posix/wordexp-test.c: Two new tests. +1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc - directly (the code using realloc was buggy). - (parse_param): Fix typo in comment. + * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating + link command. -1998-03-24 Ulrich Drepper <drepper@cygnus.com> +1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop. + * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents. + * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id. -1998-03-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> +1998-10-20 Ulrich Drepper <drepper@cygnus.com> - * libc.map: Add more rpc auth functions/variables. + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and + s_pwrite64. + * sysdeps/unix/sysv/linux/powerpc/pread.c: New file. + * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file. + * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file. + * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file. + Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>. - * nscd/nscd.c: Add -g option to argp options. +1998-10-18 Zack Weinberg <zack@rabi.phys.columbia.edu> -1998-03-24 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/opendir.c: Check at runtime for kernel support for + O_DIRECTORY. - * configure.in: Be prepared for gcc 2.9.10 and up. - * configure.in: Add missing disabling of quote characters in - compiler version check. Reported by HJ Lu. +1998-10-20 H.J. Lu <hjl@gnu.org> -1998-03-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix + argument types. - * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h. +1998-10-19 Ulrich Drepper <drepper@cygnus.com> -1998-03-24 Ulrich Drepper <drepper@cygnus.com> + * math/tgmath.h: Make nested function calls work. - * intl/locale.alias: Fix spelling of romanian. + * include/ldsodefs.h: Fix typo. - * sunrpc/Makefile (headers): Add rpc/rpc_des.h. - (distribute): Remove des.h. - * include/des.h: New file. - * sunrpc/des.h: Moved to ... - * sunrpc/rpc/rpc_des.h: ...here. + * posix/Makefile (tests): Add tst-preadwrite. + * posix/tst-preadwrite.c: New file. -1998-03-22 NIIBE Yutaka <gniibe@mri.co.jp> + * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make + sure that descriptor is in any case for a directory. - * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK): - Fix paren. +1998-10-19 18:59 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> -1998-03-24 Ulrich Drepper <drepper@cygnus.com> + * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val. + (atan2): Takes two arguments. - * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL - parameter const. Reported by UCHIYAMA Yasushi <uch@nop.or.jp>. +1998-10-19 Ulrich Drepper <drepper@cygnus.com> -1998-03-24 Ulrich Drepper <drepper@cygnus.com> + * include/ldsodefs.h: New file. - * elf/ldsodesf.h: New file. - * elf/Makefile (distribute): Add ldsodefs.h. - * elf/link.h: Separate internal information in exter header. - * elf/rtld.c: Include elf/ldsodefs.h not link.h. - * elf/dl-minimal.c: Likewise. - * sysdeps/generic/dl-sysdep.c: Likewise. - * elf/sprof.c: Likewise. - * elf/dlsym.c: Likewise. - * elf/dlvsym.c: Likewise. - * elf/dlerror.c: Likewise. - * elf/dladdr.c: Likewise. - * elf/dlclose.c: Likewise. - * elf/dlopen.c: Likewise. - * elf/dl-addr.c: Likewise. - * elf/dl-close.c: Likewise. - * elf/dl-debug.c: Likewise. - * elf/dl-deps.c: Likewise. - * elf/dl-error.c: Likewise. - * elf/dl-fini.c: Likewise. - * elf/dl-init.c: Likewise. - * elf/dl-load.c: Likewise. - * elf/dl-lookup.c: Likewise. - * elf/dl-object.c: Likewise. - * elf/dl-open.c: Likewise. - * elf/dl-profile.c: Likewise. - * elf/dl-reloc.c: Likewise. - * elf/dl-runtime.c: Likewise. - * elf/dl-support.c: Likewise. - * elf/dl-symbol.c: Likewise. - * elf/dl-version.c: Likewise. - * sysdeps/generic/dl-cache.c: Likewise. - * sysdeps/generic/libc-start.c: Likewise. + * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h. + Remove change to avoid using _CALL_DL_FCT. + * iconv/gconv_db.c: Likewise. * iconv/gconv_dl.c: Likewise. + * iconv/skeleton.c: Likewise, here for DL_CALL_FCT. + * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h. * nss/nsswitch.c: Likewise. + * nss/nsswitch.h: Likewise. -1998-03-23 13:45 Ulrich Drepper <drepper@cygnus.com> - - * manual/nss.texi: The database is not called network but networks. - Reported by Herbert Xu <herbert@gondor.apana.org.au>. - -1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * configure.in: Correct test for compiler version. - Check that LD_LIBRARY_PATH doesn't contain current path. - -1998-03-23 07:52 H.J. Lu <hjl@gnu.org> - - * elf/dl-close.c (_dl_close): Fix byte count while removing - the shared object from the global scope list and optimize - a little bit. - -1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * manual/filesys.texi (Scanning Directory Content): Add missing - closing brace. - (Scanning Directory Content): Fix text. - -1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * manual/memory.texi (Heap Consistency Checking): Add paragraph - explaining difference of -lmcheck and MALLOC_CHECK_. - -1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some - typos in comments. - -1998-03-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * test-skeleton.c (main): Fix test for exit signal. - -1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/generic/strtok_r.c: Undefine __strtok_r. - -1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as - appropriate. - -1998-03-23 11:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * libc.map: Export __strtok_r. - -1998-03-23 Ulrich Drepper <drepper@cygnus.com> - - * posix/regex.c (re_compile_fastmap): Remove unused variable - num_regs and adjust comment. - Patch by Jim Meyering <meyering@ascend.com>. - - * math/math.h (M_*l): Extend long double constants to be usable - for 128 bit floats. Patch by Richard Henderson. - -1998-03-23 11:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/m68k/m68020/wordcopy.S: New file. - -1998-03-22 Ulrich Drepper <drepper@cygnus.com> - - * posix/wordexp.c: Rewrite parse_param. - Patch by Tim Waugh and Andreas Schwab. - -1998-03-21 23:46 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * Rules: Update timestamps on empty object files. - -1998-03-21 09:15 Ulrich Drepper <drepper@cygnus.com> - - * manual/filesys.texi (Scanning Directory Content): Add description - of 64 bits scandir function and friends. +1998-10-19 Philip Blundell <pb@nexus.co.uk> -1998-03-20 Ulrich Drepper <drepper@cygnus.com> + * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the + required libraries. + * login/Makefile (otherlibs): Likewise. + * nscd/Makefile (otherlibs): Likewise. + * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs). - * glibcbug.in: Use mktemp to generate unique file name for - temporary files. + * debug/Makefile (install-bin): Only build catchsegv if using ELF. - * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not - ptsname_r. Use cast for execve call. + * inet/Makefile: Add -DSTATIC_NSS to CFLAGS. -1998-03-20 16:24 Ulrich Drepper <drepper@cygnus.com> +1998-10-19 Philip Blundell <pb@nexus.co.uk> - * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64. - * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h. - * io/sys/statvfs.h: New file. - * sysdeps/generic/fstatvfs.h: New file. - * sysdeps/generic/statvfs.h: New file. - * sysdeps/generic/fstatvfs64.h: New file. - * sysdeps/generic/statvfs64.h: New file. - * sysdeps/generic/bits/statvfs.h: New file. - * sysdeps/unix/sysv/linux/fstatvfs.c: New file. - * sysdeps/unix/sysv/linux/statvfs.c: New file. - * sysdeps/unix/sysv/linux/bits/statvfs.h: New file. + * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid + and setfsuid. - * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files - and f_ffree elements. +1998-10-19 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print. Define - mount options in enum. + * nscd/connections.c: Fix typos in comments and strings. -1998-03-20 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * nscd/nscd.conf: Update according to recent changes to nscd. - * configure.in: Check for recent egcs/gcc. + * nscd/cache.c (prune_cache): Remove wrong comment. -1998-03-20 Ulrich Drepper <drepper@cygnus.com> +1998-10-19 13:24 Ulrich Drepper <drepper@cygnus.com> - * libc.map: Add alphasort64, scandir64, versionsort64. - * dirent/Makefile (routines): Add scandir64, alphasort64, and - versionsort64. - * dirent/alphasort64.c: New file. - * dirent/scandir64.c: New file. - * dirent/versionsort64.c: New file. - * dirent/dirent.h: Add LFS support for scandir, alphasort, and - versionsort. - * sysdeps/generic/readdir64.c: Rename to __readdir64 and make - old name weak alias. - * sysdeps/unix/sysv/linux/readdir64.c: Likewise. + * locale/programs/ld-collate.c (collate_startup): Clear bit for this + category in copy_posix. + (collate_finish): Don't warn about UNDEFINED not being defined. + * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this + category in copy_posix. + * locale/programs/ld-messages.c (messages_startup): Likewise. + * locale/programs/ld-monetary.c (monetary_startup): Likewise. + * locale/programs/ld-numeric.c (numeric_startup): Likewise. + * locale/programs/ld-time.c (time_startup): Likewise. + * locale/programs/localedef.c: Move copy_def_list_t definition into + locales.h. Define copy_posix variable. + (main): Before processing copy list add ©_posix to copy_list. + * locale/programs/locales.h: Add definition of copy_def_list_t. + * locale/programs/locfile.c: Clear bit for appropriate category in + copy_posix.mask for copy instruction. - * dirent/alphasort.c: Use strcoll instead of strcmp. +1998-10-19 Ulrich Drepper <drepper@cygnus.com> - * dirent/scandir.c: Optimize a bit. + * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of + non-existing file with generic implementation. + * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. - * dirent/versionsort.c: Pretty print. +1998-10-19 Philip Blundell <pb@nexus.co.uk> -1998-03-20 Ulrich Drepper <drepper@cygnus.com> + * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not + defined. Avoid using _CALL_DL_FCT if it is not defined. + * iconv/gconv.c: Likewise. - * string/string.h: Add prototype for __strtok_r. +1998-10-19 Ulrich Drepper <drepper@cygnus.com> -1998-03-20 12:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * nscd/connections.c (dbs): Define defualt values for timeouts and + set enabled to 0 by default. + (CACHE_PRUNE_INTERVAL): New constant. Use it instead of magical 15 in + nscd_run. - * posix/Makefile: Fix typo in last change. - -1998-03-20 Ulrich Drepper <drepper@cygnus.com> - - * dirent/dirent.h (scandir): Make argument of select function const. - * dirent/scandir.c (scandir): Likewise. - Reported by David.Faure@insa-lyon.fr [PR libc/512]. - -1998-03-19 14:28 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r - weak alias. - * sysdeps/i386/strtok_r.c: Likewise. - - * sysdeps/libm-i387/i686/s_fdim.S: Make it really work. - * sysdeps/libm-i387/i686/s_fdimf.S: Likewise. - * sysdeps/libm-i387/i686/s_fdiml.S: Likewise. - * sysdeps/libm-i387/i686/s_fmin.S: Likewise. - * sysdeps/libm-i387/i686/s_fminf.S: Likewise. - * sysdeps/libm-i387/i686/s_fminl.S: Likewise. - -1998-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * intl/localealias.c: Remove unneeded define for strdup. - -1998-03-19 13:45 Ulrich Drepper <drepper@cygnus.com> - - * manual/argp.texi: Adjust for better TeX output. - * manual/arith.texi: Likewise. - * manual/conf.texi: Likewise. - * manual/filesys.texi: Likewise. - * manual/header.texi: Likewise. - * manual/lgpl.texinfo: Likewise. - * manual/math.texi: Likewise. - * manual/message.texi: Likewise. - * manual/pattern.texi: Likewise. - * manual/process.texi: Likewise. - * manual/signal.texi: Likewise. - * manual/socket.texi: Likewise. - * manual/startup.texi: Likewise. - * manual/stdio.texi: Likewise. - * manual/terminal.texi: Likewise. - * manual/examples/rprintf.c: Likewise. - * manual/examples/testopt.c: Likewise. - Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>. - -1998-03-19 20:45 Tim Waugh <tim@cyberelk.demon.co.uk> - - * posix/wordexp.c (parse_param): Don't immediately stop parsing a - parameter name after seeing a digit if it's enclosed in braces. - -1998-03-18 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/i386/i686/Implies: Add libm-i387/i686. - -1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for + character >= 0x80. + (_nl_C_LC_CTYPE_class32): Likewise. + Reported by HJ Lu. - * manual/memory.texi (Heap Consistency Checking): Document - MALLOC_CHECK_. Based on a text by Wolfram Gloger. +1998-10-19 Roland McGrath <roland@baalperazim.frob.com> -1998-03-18 17:11 Zack Weinberg <zack@rabi.phys.columbia.edu> + * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add + _HURD_THREADVAR_DL_ERROR. - * manual/Makefile: Add missing rules. + * hurd/Makefile (user-interfaces): Add login, password. -1998-03-18 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses. - * timezone/Makefile (generated): Define to remove all stamp files. +1998-08-06 Mark Kettenis <kettenis@phys.uva.nl> - * sysdeps/generic/strsep.c: Also undefine __strsep. + [submitted 1998-08-06] + * mach/Machrules: Create target directory and force re-evaluation + of Makefile to prevent `make' from optimizing away most of the + implicit rules and `vpath' directives. - * string/strdup.c: Undefine __strdup and strdup first. - * string/strndup.c: Likewise. +1998-10-19 Roland McGrath <roland@baalperazim.frob.com> - * string/bits/string2.h: Correct strtok_r and strsep. - Add strndup optimization. + * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread + is null, short-circuit to __mach_msg. - * sysdeps/generic/strsep.c: Little optimization. + * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function, + broken out of init1. + (init1) [PIC]: Call it. + (__libc_init_first) [! PIC]: Call it. -1998-03-18 14:25 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call + __libc_init_secure. Instead set __libc_enable_secure here from + the exec flags. + (__libc_enable_secure): New variable it. + * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module. - * string/bits/string2.h: Add optimization for strdup. - Always define __strsep and __strtok_r and make real names available - when feature select macros are defined. +1998-10-19 Roland McGrath <roland@baalperazim.frob.com> -1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * nscd/nscd-client.h: New file, broken out of "nscd.h". + * nscd/nscd.h: Move defns needed by clients to "nscd-client.h", + and #include that. + * nscd/Makefile (distribute): Add nscd-client.h. + * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c: + Include "nscd-client.h" instead of "nscd.h" - * manual/install.texi (Installation): Use i486-linux as example - instead of the unsupported sunos4. - (Reporting Bugs): Mention glibcbug script. - (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required. +1998-10-18 Ulrich Drepper <drepper@cygnus.com> -1998-03-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing + directory entries when a lstat call fails. + Patch by Colin Plumb <colin@nyx.net>. - * posix/wordexp-tst.sh: Make portable. Add more tests. + * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the + NSS functions. + * resolv/nss_dns/dns-network.c: Likewise. - * posix/Makefile (do-globtest do-wordexp-test): New targets. + * grp/Makefile: Don't search for linuxthreads in add-ons, use + have-thread-library to determine whether threads are available. + * pwd/Makefile: Remove wrong comment. -1998-03-18 13:38 Ulrich Drepper <drepper@cygnus.com> + * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c, + and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1. - * sysdeps/unix/sysv/linux/libc-start.c: Moved to ... - * sysdeps/generic/libc-start.c: ...here, replacing former content. + * locale/C-messages.c: Define default strings for YESTR and NOSTR. - * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and - netpacket/packet.h. + * nss/Versions: Add __nss_hosts_lookup. - * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print. + * nss/getXXbyYY.c: Remove unneeded assignment. -1998-03-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed. - * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma - in enumerator for strict standard compliance. - * sysdeps/generic/bits/resource.h: Likewise. + Almost complete rewrite of the NSCD to make it smaller, faster, + add more functionnality and make it easier to extend. + * nscd/Makfile (routines): Add nscd_gethst_r. + (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache. + * nscd/cache.c: New file. + * nscd/gethstbyad_r.c: New file. + * nscd/gethstbynm2_r.c: New file. + * nscd/hstcache.c: New file. + * nscd/nscd_gethst_r.c: New file. + * nscd/connections.c: Rewritten. Don't start new thread for every + new connection. Use a fixed set of threads which handle all + connections and also the cache cleanup. + * nscd/grpcache.c: Rewritten to use generic cache handling functions + in cache.c. + * nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization + for rewrite. Remove handle_requests function. + * nscd/nscd.h (NSCD_VERSION): Bump to 2. + Define new data structure for the new unified cache and the host + database entries. + * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more + databases easily. Recognize check-files and threads definitions. + * nscd/nscd.conf: Add definition of enable-cache and check-files to + passwd and group definitions. Add new set of definitions for hosts. + * nscd/nscd_getgr_r.c: Rewrite for new protocol. + * nscd/nscd_getpw_r.c: Likewise. + * nscd/nscd_proto.h: Add prototype for host database functions. + * nscd/nscd_stat.c: Rewrite to simplify printing of information + for many databases. + * nscd/dbg_log.c: Remove unnecessary variable initializations. + Global variable debug_flag is renamed to dbg_level. + * nscd/dbg_log.h: Declare set_logfile. + +1998-10-16 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of + O_LARGEFILE back. + +1998-10-16 Paul Eggert <eggert@shade.twinsun.com> + + * time/mktime.c: Some systems require <unistd.h> to be + included before <time.h> for localtime_r to be declared + properly. + * time/strftime.c: Likewise. + +1998-10-16 Ulrich Drepper <drepper@cygnus.com> + + * db/Makefile: Add rule to generate shared object with the soname + from glibc 2.0. + + * sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not + available double check to verify it's a directory. + + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY. + * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise. + * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which + are not generally available. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file. + + * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values. + * sysdeps/unix/sysv/linux/arm/Makefile: New file. + * sysdeps/unix/sysv/linux/arm/setegid.c: New file. + * sysdeps/unix/sysv/linux/arm/seteuid.c: New file. + * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file. + * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file. + * sysdeps/unix/sysv/linux/arm/setgid.c: New file. + * sysdeps/unix/sysv/linux/arm/setgroups.c: New file. + * sysdeps/unix/sysv/linux/arm/setresgid.c: New file. + * sysdeps/unix/sysv/linux/arm/setresuid.c: New file. + * sysdeps/unix/sysv/linux/arm/setuid.c: New file. + * sysdeps/unix/sysv/linux/i386/setegid.c: New file. + * sysdeps/unix/sysv/linux/i386/seteuid.c: New file. + * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file. + * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file. + * sysdeps/unix/sysv/linux/i386/setgid.c: New file. + * sysdeps/unix/sysv/linux/i386/setgroups.c: New file. + * sysdeps/unix/sysv/linux/i386/setresgid.c: New file. + * sysdeps/unix/sysv/linux/i386/setresuid.c: New file. + * sysdeps/unix/sysv/linux/i386/setuid.c: New file. + * sysdeps/unix/sysv/linux/m68k/setegid.c: New file. + * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file. + * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file. + * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file. + * sysdeps/unix/sysv/linux/m68k/setgid.c: New file. + * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file. + * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file. + * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file. + * sysdeps/unix/sysv/linux/m68k/setuid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file. + + * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid, + s_setresgid, and s_setuid. + * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc] + (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid. + * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise. -1998-03-18 10:04 Philip Blundell <pb@nexus.co.uk> +1998-10-16 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted. - (PLTJMP): New macro. + * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get + localtime_t declaration on some systems. - * sysdeps/arm/fpu/__longjmp.S: New file, implementation of - longjmp() when floating point enabled. - * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp(). - * sysdeps/arm/__longjmp.S: Remove floating point code. - * sysdeps/arm/setjmp.S: Likewise. +1998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name. - * sysdeps/arm/bsd-_setjmp.S: Likewise. + * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to + -DSTATIC_GCONV. + * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not + defined. Avoid using DL_CLL_FCT if it is not defined. - * sysdeps/arm/memset.S: New file; optimised ARM implementation of - memset(). +1998-10-16 10:40 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> - * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with - prototype. + * resolv/arpa/nameser.h: Include sys/types.h unconditionally. + Include endian.h unconditionally. Remove portability goop + depending on #ifdef linux, #ifdef BSD, #ifdef machine-type. -1998-03-17 16:16 Philip Blundell <pb@nexus.co.uk> +1998-10-16 11:39 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> - Based on patches from Pat Beirne and Scott Bambrough: + * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it. - * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary. +1998-10-15 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/arm/bits/fenv.h: New file. + * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios + again. Use char[44] to define size of the struct. - * sysdeps/arm/dl-machine.h: New file. Add ELF support. - * sysdeps/arm/elf/setjmp.S: Likewise. - * sysdeps/arm/elf/start.S: Likewise. - * sysdeps/arm/init-first.c: Likewise. - * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT - * sysdeps/arm/sysdep.h: Change format of .type directive. Correct - comment about floating point to reflect current reality. + * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h. - * sysdeps/unix/arm/brk.S: Support PIC. - * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and - re-entrant code. - * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error - return; call syscall_error through PLT. - * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump. +1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> -1998-03-04 12:01 Philip Blundell <pb@nexus.co.uk> + * string/bits/string2.h (strcmp): Don't cache the result of + __builtin_constant_p in variables, otherwise constant folding + can fail in big functions. - * sysdeps/unix/sysv/linux/netpacket/packet.h: New file. - * sysdeps/unix/sysv/linux/netash/ash.h: Likewise. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them. +1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> -1998-03-18 Ulrich Drepper <drepper@cygnus.com> + * string/bits/string2.h: Add prototypes for the new inline + functions. - * dirent/list.c (test): Return error value. - (main): Exit with error value. +1998-10-15 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/opendir.c (__opendir): Add missing initialization. + * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to + have all types defined. + Patch by Matti Aarnio <matti.aarnio@sonera.fi>. - * Makefile (distribute): Add test-skeleton.c. - * test-skeleton.c: New file. - * dirent/Makefile (tests): Add opendir-tst1. - * dirent/opendir-tst1.c: New file. +1998-10-08 Paul Eggert <eggert@twinsun.com> -1998-03-18 Ulrich Drepper <drepper@cygnus.com> + * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r. + Define also if HAVE_LOCALTIME_R && defined localtime_r, with + a body that merely expands localtime_r; this works around a + bug in Digital Unix 4.0A and 4.0D. - * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc. - Optimize memory handling. - * sysdeps/unix/closedir.c: Optmize memory handling. +1998-10-14 Ulrich Drepper <drepper@cygnus.com> -1998-03-17 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl. + * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define + __ioctl to __syscall_ioctl and include Linux version of this file. + * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect + ioctl calls which handle struct termios. + Based on a patch by Dan Jacobowitz <drow@false.org>. - * posix/wordexp.c (parse_param): Fix off-by-on error in $@ - handling. Optimize a bit. +1998-10-14 Ulrich Drepper <drepper@cygnus.com> -1998-03-18 00:25 Tim Waugh <tim@cyberelk.demon.co.uk> + * version.h (VERSION): Bump to 2.0.98. - * posix/wordexp.c (parse_comm): Allow quoting inside $(...). - (parse_param): Fold in Andreas' fixes to do with when the end of - the parameter name has been reached, and quoting inside ${...}. - (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and - $((echo);(ls)). + * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios + here instead of including kernel_termios.h. -1998-03-16 22:10 Zack Weinberg <zack@rabi.phys.columbia.edu> +1998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * manual/maint.texi: Split out installation and contribution - sections to their own appendices. Misc cleanups. - * manual/install.texi: New file. Mention add-ons. Refer to FAQ. - * manual/contrib.texi: New file. - * manual/libc.texinfo: Pull in new appendices. - * manual/header.texi: Correct node pointer. + * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is + unnecessary after the changes of 1998-10-12. -1998-03-17 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1998-10-13 Ulrich Drepper <drepper@cygnus.com> - * manual/process.texi (Process Completion): Clarify return value - of waitpid a bit. Patch by Zack Weinberg. [PR libc/490] + * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output + parameter format string. + (inline_outw): Likewise. -1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include + string.h to get memcpy prototype and NULL definition. - * posix/wordexp-test.c: Add more tests. - (testit): Fix logic. +1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * posix/wordexp.c (exec_comm): In the child, redirect stderr to - /dev/null instead of closing it, close pipe. Always chop off all - trailing newlines. Kill and reap child before returning error. - (w_addword, parse_glob): Fix memory leak. - (wordexp): Fix dangling pointer problem. + * misc/sys/cdefs.h (__THROW): New macro. + * argp/argp.h: Use it to replace the kludgey __P in inline + function definitions. + * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. + * stdlib/stdlib.h: Likewise. + * wcsmbs/wchar.h: Likewise. + * libio/stdio.h: Likewise. + * stdio/stdio.h: Likewise. + * sysdeps/wordsize-64/inttypes.h: Likewise. + * sysdeps/wordsize-32/inttypes.h: Likewise. + * string/argz.h: Likewise. + * io/sys/stat.h: Likewise. -1998-03-16 Ulrich Drepper <drepper@cygnus.com> +1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * elf/dl-close.c (_dl_close): Correct and simplify unmapping. + * Rules (stdio_lim): New variable. + ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend + on Rules and config.make, use $(move-if-change) to avoid unnessary + recompilations, and cleanup command. + (common-generated): Add bits/stdio_lim.st. - * posix/wordexp-test.c (main): Fix little thinkos and typos. +1998-10-12 Ulrich Drepper <drepper@cygnus.com> - * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine - directory index by only the language. + * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New + variable to prevent warnings from use of modern CPU instructions. + Patch by Richard Henderson <rth@cygnus.com>. -1998-03-16 13:02 Tim Waugh <tim@cyberelk.demon.co.uk> + * sysdeps/unix/opendir.c: Test whether NAME is directory before + opening it. - * posix/wordexp-tst.sh: Store test results in the - ${common_objpfx}posix directory. +1998-10-12 Philip Blundell <pb@nexus.co.uk> - * posix/wordexp-test.c: Remove temporary directory afterwards. + * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing + semicolon so that profiling works. -1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-10-12 Roland McGrath <roland@baalperazim.frob.com> - * libc.map: Export internal versions of cancelable functions. + * sysdeps/generic/glob.c: #undef mempcpy before #define. -1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/bsd/clock.c: Use prototype defns. - * Makerules (MAKEFLAGS): Append `r'. +1998-10-11 Ulrich Drepper <drepper@cygnus.com> -1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * Rules [posix in sysdirs]: Set L_tmpnam to 20. + Patch by Zack Weinberg <zack@rabi.columbia.edu>. - * Makeconfig: Define have-thread-library, shared-thread-library - and static-thread-library if a thread library is available. Don't - define rt. - * nscd/Makefile: Compile nscd if have-thread-library. Rename - nscd-routines to nscd-modules. Use shared-thread-library and - static-thread-library in dependencies. - * rt/Makefile: Only compile librt if have-thread-library is - defined. - * Makefile (subdirs): Always include rt subdir. + * string/bits/string2.h [!_STRING_ARCH_unaligned] + (__mempcpy_small): Add parameter for 1 byte copy and use it. + Reported by Geoff Keating <geoffk@ozemail.com.au>. -1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-10-09 Mark Kettenis <kettenis@phys.uva.nl> - * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command. + * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove, + it is already defined in <bits/environments.h>. -1998-03-14 21:55 Ulrich Drepper <drepper@cygnus.com> +1998-10-09 Ulrich Drepper <drepper@cygnus.com> - * configure.in: Recognize variations for 32 MIPS processors. - Don't assume ELF systems always have .weak, test for .weakext. + * posix/ptestcases.h: Fix typo. -1998-03-14 Ulrich Drepper <drepper@cygnus.com> +1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * configure.in: Irix6 is an ELF platform. + * posix/regex.c (regcomp): Allocate and prepare a fastmap. + (regexec): Allocate regs.start and regs.end as one block. -1998-03-14 11:47 H.J. Lu <hjl@gnu.org> +1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * elf/dl-close.c (_dl_close): Stop unmapping the segments after - unmapping the last loaded segment. + * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of + enum decl. -1998-03-14 15:54 Ulrich Drepper <drepper@cygnus.com> +1998-10-08 Philip Blundell <pb@nexus.co.uk> - * configure.in: Set base_os for Irix6. - Correct test for .weakext. + * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of + sigcontext union to ... + * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New + file. + * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for + version 2.0 kernels. -1998-03-14 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1998-10-08 Ulrich Drepper <drepper@cygnus.com> - * elf/dl-deps.c (_dl_map_object_deps): Add first parameter - (new_line) to _dl_debug_message call. + * malloc/mtrace.c (tr_reallochook): Produce better output for real + reallocation case. -1998-03-14 00:52 Tim Waugh <tim@cyberelk.demon.co.uk> + * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined. + * argp/argp-xinl.c: Likewise. - * posix/wordexp.c (parse_param): Perform field-splitting after - expanding positional parameter. + * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing + Ruffian entry back. + Patch by Christian Gafton. - * posix/wordexp-tst.sh: Test that field-splitting is performed - after expanding positional parameter. +1998-10-08 Paul Eggert <eggert@twinsun.com> - * posix/wordexp.c (parse_param): Fixed memory leak in - field-splitting after parameter expansion. + * time/mktime.c (__mktime_internal): When the requested time falls + in a spring-forward gap of size DT, return a time that is DT away + from the requested time, preferring a time whose tm_isdst differs + from the requested value. Bump the max number of probes from 4 to + 6 to account for the extra probes needed to discover a + spring-forward gap in the worst case. -1998-03-14 Ulrich Drepper <drepper@cygnus.com> +1998-10-07 17:05 Ulrich Drepper <drepper@cygnus.com> - * locale/programs/linereader.c (lr_token): Return EOF token at EOF. - (get_toplvl_escape): Correctly terminate loop at EOF. + * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection + of the weird alpha architectures. Patch by Cristian Gafton <gafton@redhat.com>. -1998-03-13 16:55 Ulrich Drepper <drepper@cygnus.com> - - * string/tester.c (test_strpbrk): Add more strpbrk tests. - (test_strsep): Likewise. Correct horrible bugs. - - * string/bits/string2.h (strcspn): Optimize also reject string of - length 2 and 3. - (strspn): Likewise. - (strpbrk): Likewise. - (strsep): Likewise. Correct bug with successive separators and - separators at the end of the string. - * sysdeps/generic/strsep.c: Correct bug with successive separators - and separators at the end of the string. - -1998-03-13 13:11 Tim Waugh <tim@cyberelk.demon.co.uk> - - * posix/wordexp.c (parse_param): Positional parameters ($1, $2 - etc) now handled, as well as $$ (pid). - - * posix/Makefile (tests): Execute wordexp-test.sh for `make check'. - (distribute): Add wordexp-tst.sh. - - * posix/wordexp-tst.sh: New file. - - * posix/wordexp.c (parse_param): $# (or ${#}) expands to the - number of positional parameters. Renamed substitute_length to - seen_hash. - Don't free(env) is env is NULL. - -1998-03-13 16:50 Ulrich Drepper <drepper@cygnus.com> - - * libc.map: Add pthread_attr_init to GLIBC_2.1. - -1998-03-13 15:01 Ulrich Drepper <drepper@cygnus.com> - - * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename - for output file replacing gmon.out. - Patch by Dean Gaudet <dgaudet@arctic.org>. - -1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf/dl-misc.c (_dl_debug_message): Fix printing of pid. Clean - up namespace. Optimize finding end of line. - -1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-02-18 23:31 Richard Henderson <rth@cygnus.com> - * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running - securely. Optimized. - (process_dl_debug): Add ':' to list of separators. Optimized. - -1998-03-13 10:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal, - isless, islessequal, islessgreater, isunordered): Return zero or - one. - -1998-03-12 13:11 Tim Waugh <tim@cyberelk.demon.co.uk> - - * posix/wordexp-test.c: More tests. - (main): Set up arena for pathname expansion tests (in a temporary - directory). - (testit): Don't check word count or word vector if return value is - non-zero. - - * posix/wordexp.c (exec_comm): Always chop off terminating - linefeed (just like bash does). - (parse_param): Change lots of occurrences of "if (!*env)" to "if - (!env || !*env)". - (parse_param): For assignment inside parameter expansion, use all - expanded words in assignment rather than just the first. - (parse_param): Corrected return value for parameter expansion of - an unset variable when WRDE_UNDEF is in effect. - (parse_dollars): Don't field-split if quoted. - (wordexp): Opening brace character isn't allowed unquoted. - -1998-03-12 Ulrich Drepper <drepper@cygnus.com> - - * elf/dlerror.c: Fix concurrency problems with error string and - number. - - * elf/dl-deps.c (_dl_map_object_deps): Print debug info when - filter/auxiliary are being loaded. - -1998-03-12 14:24 Ulrich Drepper <drepper@cygnus.com> - - * elf/dlerror.c (last_object_name): Removed. - (dlerror): Don't use last_object_name. - (_dl_error_run): Omit second argument to _dl_catch_error. - * elf/dl-error.c (struct catch): Remove objname member. - (_dl_signal_error): Construct string including objname when given. - (_dl_catch_error): Remove objname handling. - * elf/link.h (_dl_catch_error): Fix prototype and comment. - * elf/rtld.c (dl_main): Call _dl_catch_error correctly. - * elf/dl-deps.c (_dl_map_objet_deps): Likewise. - * nss/nsswitch.c (nss_dlerror_run): Likewise. - * iconv/gconv_dl.c (dlerror_run): Likewise. - [Corrects PR libc/501]. - -1998-03-12 Matthias Urlichs <smurf@noris.de> - - * nscd/nscd.c: Ignore SIGPIPE. - -1998-03-12 Ulrich Drepper <drepper@cygnus.com> - - * nscd/nscd_getgr_r.c: Use __ protected names. - * nscd/nscd_getpw_r.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for + RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com. -1998-03-12 Matthias Urlichs <smurf@noris.de> +1998-10-07 Ulrich Drepper <drepper@cygnus.com> - * nscd/nscd_getpw_r.c: Use pw_*_len values correctly. - * nscd/nscd_getpw_r.c: Fix length calculation in result check, - null bytes are not transmitted. + * elf/dl-open.c (_dl_global_scope_alloc): Make global. + (dl_open_worker): Use realloc, not malloc to resize array. + * elf/rtld.c (_dl_initial_searchlist): New variable. + (_dl_main): Copy content of _dl_main_searchlist to + _dl_initial_searchlist. + * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and + _dl_global_scope_alloc. + * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist. + * elf/dl-close.c (_dl_close): When removing object with global + scope remove allocated searchlist if no dynamically loaded object + is on it anymore. + * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope. + (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist. -1998-03-12 00:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> + * malloc/mtrace.c (tr_where): Don't print space in location string, + print it afterwards. Print better symbol name information. - * powerpc/syscalls.list: Correct typo. - * alpha/syscalls.list: Likewise. - * mips/syscalls.list: Likewise. +1998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-03-12 Ulrich Drepper <drepper@cygnus.com> + * manual/filesys.texi (Setting Permissions): Fix example for + reading umask. - * socket/sys/socket.h: Add prototype for __socket. +1998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-03-10 Ulrich Drepper <drepper@cygnus.com> + * elf/sprof.c (load_profdata): Fix typo in error message. - * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep. +1998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_* - constants. - - * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove - definition here. - * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add - definition here. - - * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing - AF_* and PF_* constants. - - * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH. - -1998-03-11 15:27 Ulrich Drepper <drepper@cygnus.com> - - * elf/rtld.c: Update help message. - Install link maps for preloaded objects using main_map as loader. - - * elf/dl-misc.c: Use __libc_write instead of __write for debugging. - * elf/dl-profile.c: Likewise. - - * elf/dlsym.c: Little optimization. - * elf/dlvsym.c: Likewise. - -1998-03-11 14:56 Ulrich Drepper <drepper@cygnus.com> - - * posix/wordexp-test.c: Move test for parameter list at the very - beginning. - -1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk> - - * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless - WRDE_REUSE flag is set. - (parse_param): Allow `*', `@', and numbers in parameter names. - (parse_dollars): Differentiate between arithmetic expansion and a - command substitution that starts immediately with a sub-shell - (like ``$((1+3))'' as opposed to ``$((echo);(ls))''). - (parse_param): Memory allocated with __alloca in a block was - referenced outside that block. Adjusted to use malloc/free. - (parse_param): Adjusted field-splitting algorithm so that there is - not necessarily a field split at the end of a parameter expansion. - -1998-03-10 19:52 Tim Waugh <tim@cyberelk.demon.co.uk> - - * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE, - don't free words that have already been allocated. - (parse_param): A dollar sign on its own will never have a pattern - associated with it (like "${HOME%%/}" has), so don't try to free it. - (parse_glob): Attempt to glob when an unquoted `[' is found - (rather than an unquoted '{' (!)). Also for unquoted '?'. - (parse_glob): Sorted out quoting in a glob-able word. - (parse_param): Added $* and $@ handling. - -1998-03-11 Ulrich Drepper <drepper@cygnus.com> - - * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before - parsing it. - -1998-03-11 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use - _dl_debug_message. - -1998-03-12 Matthias Urlichs <smurf@noris.de> - - * elf/dl-misc.c: Default for debug output should be stderr. - * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output. - * elf/dl-lookup.c: reference_name may be NULL or empty. - -1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection. - -1998-03-11 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h. - - * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h. - -1998-03-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/scsi/scsi.h: New file. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it. - -1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the - init stuff. - -1998-03-10 Ulrich Drepper <drepper@cygnus.com> - - * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE + * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup flag. - * misc/syslog.c (vsyslog): Don't try to send if not connected to - syslog daemon. - (closelog_internal): Don't do anything if not connected. - -1998-03-10 17:54 Ulrich Drepper <drepper@cygnus.com> - - * libc.map: Add _dl_debug_message. - * elf/dl-misc.c: Make _dl_debug_message a function. Print the PID - before every line. - * elf/fini.c: Correctly use new _dl_debug_message function. - * elf/init.c: Likewise. - * elf/dl-lookup.c: Likewise. - * sysdeps/unix/sysv/linux/libc-start.c: Likewise. - * elf/dl-load.c: Likewise. Add more debugging prints. - * elf/dl-reloc.c: Likewise. - * elf/dl-version.c: Likewise. - * elf/dl-support.c: Add variables for debugging. - * elf/rtld.c: Likewise. Recognize new debug options. - * elf/link.h: Declare new variables. - - * elf/dl-deps.c (_dl_map_object_deps): Little optimizations. - -1998-03-10 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from - kernel headers. Patch by a sun <asun@saul7.u.washington.edu>. - -1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk> - - * posix/wordexp-test.c (command_line_test): New function to allow - testing of specific cases from the command-line. - -1998-03-10 Ulrich Drepper <drepper@cygnus.com> - - * elf/dl-init.c (_dl_init_next): Print nicer messages. - * elf/dl-fini.c (_dl_fini): Likewise. - * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise. - - * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version - symbol in debug message. - (_dl_lookup_versioned_symbol_skip): Likewise. - -1998-03-10 19:43 Matthias Urlichs <urlichs@noris.de> - - * sysdeps/unix/readdir_r.c: Zero out *result on EOF. - * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise. - * manual/filesys/texi: Document this. - -1998-03-10 10:49 Ulrich Drepper <drepper@cygnus.com> - - * manual/filesys.texi: Document the change below. - -1998-03-10 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600. - Reported by Greg Alexander <galexand@sietch.bloomington.in.us>. - -1998-03-10 00:10 Ulrich Drepper <drepper@cygnus.com> - - * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add - instead scope. If debugging display information about symbol - resolving. - (_dl_lookup_symbol): Call do_lookup with correct parameters. - (_dl_lookup_symbol_skip): Likewise. - (_dl_lookup_versioned_symbol): Likewise. - (_dl_lookup_versioned_symbol_skip): Likewise. - * elf/dl-support.c: Define _dl_debug_symbols. - * elf/link.h: Add declaration for _dl_debug_symbols. - * elf/rtld.c: Define _dl_debug_symbols. - (process_dl_debug): Recognize symbols option. - -1998-03-09 23:36 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments - in correct format. - * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first - with correct parameters. - [!PIC]: Initialize __libc_multiple_libcs. - -1998-03-09 18:21 Ulrich Drepper <drepper@cygnus.com> - - * elf/dl-support.c (_dl_debug_bindings): Add definition. - * elf/rtld.c (_dl_debug_bindings): Add definition. - (process_dl_debug): Recognize bindings option. Update help message. - * elf/link.h (struct link_map): Add l_versyms member. - (_dl_debug_bindings): Add declaration. - * elf/version.c (_dl_check_map_versions): Initialize l_versyms. - * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs - and l_reloc_result. - * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms. - (sym_val): Remove a member, add m as link_map. - (do_lookup): Return result appropriately. - (_dl_lookup_symbol): If _dl_debug_bindings is defined print message. - Call do_lookup correctly. - (_dl_lookup_symbol_skip): Likewise. - (_dl_lookup_versioned_symbol): Likewise. - (_dl_lookup_versioned_symbol_skip): Likewise. - -1998-03-09 08:21 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/chown.c: Moved to ... - * sysdeps/unix/sysv/linux/i386/chown.c: ...here. - - * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information. - * libc.map: Add chown to GLIBC_2.1. - * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here. - * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here. - -1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a - weak alias. - * sysdeps/alpha/ffs.c: Likewise. - * sysdeps/am29k/ffs.c: Likewise. - * sysdeps/i386/ffs.c: Likewise. - * sysdeps/i960/ffs.c: Likewise. - * sysdeps/m68k/ffs.c: Likewise. - * sysdeps/m88k/ffs.c: Likewise. - * sysdeps/powerpc/ffs.c: Likewise. - * sysdeps/rs6000/ffs.c: Likewise. - * sysdeps/vax/ffs.s: Likewise. - * string/string.h: Declare __ffs. - * libc.map: Export it. - * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of - __builtin_ffs, which is not guaranteed to be namespace clean. - -1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf/sprof.c: Rewrite symbol handling to use the normal symbol - table, which is much more likely to exist than debugging symbols. - (printsym): Remove const. - (load_shobj): Don't use _dl_pagesize. Fix mapping of section - header table. - - * libc.map: Export __profile_frequency, used by elf/sprof, to - avoid infinite recursion during startup. - -1998-03-09 12:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER): - Readd lost negate. - - * sysdeps/m68k/sysdep.h: Remove the stabs stuff again. - -1998-03-09 Ulrich Drepper <drepper@cygnus.com> - - * elf/dl-support.c: Add definition of _dl_debug_impcalls. - -1998-03-08 Ulrich Drepper <drepper@cygnus.com> +1998-10-04 Roland McGrath <roland@baalperazim.frob.com> - * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH, - LD_PRELOAD, and LD_VERBOSE. - (dl_main): Use global variables set by process_envvars instead of - calling getenv. - * elf/dl-load.c (_dl_init_paths): Don't call getenv to get - LD_LIBRARY_PATH value, this comes with the parameter. - * elf/dl-support.c (non_dynamic_init): Pass return value of getenv - ("LD_LIBRARY_PATH") to _dl_init_paths. - -1998-03-08 22:55 Ulrich Drepper <drepper@cygnus.com> - - * elf/rtld.c (dl_main): Delay initialization of path structure if - the dynamically linker is invoked implicitly until we read the - dynamic section. - -1998-03-08 Ulrich Drepper <drepper@cygnus.com> + * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it. - * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff. +1998-10-06 Ulrich Drepper <drepper@cygnus.com> -1998-03-07 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * version.h (VERSION): Bump to 2.0.97. - * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of - Linux 2.0 and 2.1. +1998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/unix/sysv/linux/syscalls.list: Add chown. - -1998-03-08 14:58 Ulrich Drepper <drepper@cygnus.com> - - * Makeconfig (nisobjdir): Set to path to nis directory. - (rpath-link): Add nisobjdir. - Patch by Sven Verdoolaege <skimo@kotnet.org>. - - * elf/Makefile: Pretty print. - * elf/dl-lookup.c: Include unistd.h. - * elf/dl-runtime.c: Likewise. - - * localedata/Makefile (test-srcs): Add tst-rpmatch. - (distribute): Add tst-rpmatch.sh. - (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh. - - New tests for rpmatch function by - Jochen Hein <jochen.hein@delphi.central.de>. - * localedata/tst-rpmatch.c: New file. - * localedata/tst-rpmatch.sh: New file. - - * localedata/locales/de_DE: Correct yesexpr and noexpr. - * localedata/locales/de_AT: Likewise. - - * posix/getopt.c: Update contact address. - * posix/getopt1.c: Pretty print. - - * sysdeps/generic/libc-start.c: Do most of the initialization now - here instead of in start.S. - * sysdeps/unix/sysv/linux/libc-start.c: Likewise. - * sysdeps/i386/elf/start.S: Remove most of the initialization code. - - * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for - profil_counter to be public. - -1998-03-08 13:06 Tim Waugh <tim@cyberelk.demon.co.uk> - - * posix/wordexp.c (parse_arith): Now works for negative numbers too. - (parse_param): Coded parameter length expansion (${#var}). - (parse_param): Handling for "=", "+", "-", and the ":" versions added. - (parse_param): Cleaned up (fixed) error handling. - - * posix/wordexp-test.c: IFS now includes non-whitespace character - (comma). Added more tests. - -1998-03-07 Ulrich Drepper <drepper@cygnus.com> - - * elf/link.h: Fix typos. - Reported by Andreas Jaeger. + * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P + in definitions of inline stat functions so that they match the + declaration. + * stdlib/stdlib.h: Likewise. + * wcsmbs/wchar.h: Likewise. + * libio/stdio.h: Likewise. + * stdio/stdio.h: Likewise. + * sysdeps/wordsize-64/inttypes.h: Likewise. + * sysdeps/wordsize-32/inttypes.h: Likewise. + * string/argz.h: Likewise. + * argp/argp.h: Likewise. - * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment. - * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise. +1998-10-06 Ulrich Drepper <drepper@cygnus.com> -1998-03-06 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in + netinet/in.h. - * argp/argp-help.c: Remove last bits of using gettext instead of - dgettext. +1998-10-05 Philip Blundell <philb@gnu.org> -1998-03-06 17:04 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures + and constants. Tidy up formatting a little. - * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output, - __libc_start_main. - * csu/Makefile (routines): Add libc-start. - * elf/dl-error.c: Remove declaration of _dl_argv. Include <unitsd.h>. - * elf/dl-lookup.c: Likewise. - * elf/dl-version.c: Likewise. - * sysdeps/i386/dl-machine.h: Likewise. - * elf/link.h: Declare _dl_argv, _dl_debug_fd. - Declare _dl_sysdep_output. Make _dl_sysdep_fatal, _dl_sysdep_error and - _dl_sysdep_message macros which use _dl_sysdep_output. - * elf/dl-fini.c: Write out which destructor is called while debugging. - * elf/dl-init.c: Likewise for constructor. - * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message. - * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and - _dl_sysdep_message. Add _dl_sysdep_output. - * elf/rtld.c: Recognize LD_DEBUG_OUTPUT. Set _dl_debug_fd if - this file can be opened. - For LD_DEBUG=libs also set _dl_debug_impcalls. - * sysdeps/generic/dl-cache.c: Include unistd.h. - * sysdeps/generic/libc-start.c: New file. - * sysdeps/unix/sysv/linux/libc-start.c: New file. - * sysdeps/i386/elf/start.S: Don't call main directly, call - __libc_start_main instead. - - * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency. - -1998-03-06 Ulrich Drepper <drepper@cygnus.com> - - * nss/nsswitch.c (__nss_nscd_not_available): Removed. - -1998-03-06 12:42 Ulrich Drepper <drepper@cygnus.com> - - * argp/argp.h (struct argp): Add new field domain. - * argp/argp-help.c: Change all gettext calls to dgettext and use - domain field from appropriate argp in call. - * argp/argp-parse.c: Likewise. + * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6): + Move definitions to in.h. -1998-03-06 11:35 Ulrich Drepper <drepper@cygnus.com> +1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * posix/wordexp-test.c: Change testsuite so that it can run even - for ~root != /root. + * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER, + SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added. + Remove inclusion of <linux/swap.h>. -1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1998-10-05 Ulrich Drepper <drepper@cygnus.com> - * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1. + * io/sys/stat.h: Use __P in definitions of inline stat functions + so that they match the declaration. -1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER): - Don't store into global errno if we already store through - __errno_location. - * sysdeps/unix/i386/sysdep.S: Likewise. - * sysdeps/unix/alpha/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. Add - missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT && - PIC). + * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added. -1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/generic/sysdep.h (L): Remove definition. - * sysdeps/i386/sysdep.h (L): Define it here instead. + * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current + linux 2.1 version. -1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1998-10-02 Philip Blundell <pb@nexus.co.uk> - * nis/nis_call.c (__do_niscall): Safe and reset errno. + * sysdeps/arm/dl-machine.h: Fix typo in last change. - * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno. + * sysdeps/arm/bits/huge_val.h: New file. -1998-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/generic/getresuid.c (__getresuid): Use ISO C - declaration style to avoid warnings. + * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added. -1998-03-06 11:48 Mark M._Kettenis <kettenis@hall.phys.uva.nl> + * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add + define. - * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" -> - "LD_DEBUG". +1998-10-05 Ulrich Drepper <drepper@cygnus.com> -1998-03-05 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to + store result of realloc instead of using BUF. - * posix/Makefile (tests): Add wordexp-test. - * posix/wordexp-test.c: New file. Testsuite for wrodexp. - Patches by Tim Waugh <tim@cyberelk.demon.co.uk>. +1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-03-05 16:04 Ulrich Drepper <drepper@cygnus.com> + * misc/sgtty.h (_SGTTY_H): Correct spelling. + Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817]. - * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the - dependencies. +1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * elf/link.h (struct r_search_path_elem): Add two new field for - lib path debugging. - * elf/rtld.c: Recognize LD_DEBUG environment variable and set - variable accordingly. - * elf/dl-load.c: If _dl_debug_libs is nonzero print what library - is considered next along with information about load paths. - * sysdeps/generic/dl-cache.c: Likewise. - * elf/dl-support.c: Define _dl_debug_libs. - * elf/genrtldtbl.awk: Add initializers for two new field in - struct r_search_path_elem. + * manual/memory.texi (Obstacks): Document + obstack_alloc_failed_handler usage. -1998-03-06 10:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/m68k/add_n.S: Use ENTRY and END macros. - * sysdeps/m68k/lshift.S: Likewise. - * sysdeps/m68k/rshift.S: Likewise. - * sysdeps/m68k/sub_n.S: Likewise. - * sysdeps/m68k/m68020/addmul_1.S: Likewise. - * sysdeps/m68k/m68020/mul_1.S: Likewise. - * sysdeps/m68k/m68020/submul_1.S: Likewise. + * malloc/obstack.h: Enhance comment about + obstack_alloc_failed_handler usage. + * malloc/obstack.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro. - [_LIBC_REENTRANT]: Don't store into global errno. +1998-10-05 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/m68k/sysdep.h: New file. - * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it. Use the macros - ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there. - (DO_CALL): Change to expect syscall name as argument. - (PSEUDO): Pass syscall_name to DO_CALL. - (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global - errno. + * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or + gcc before 2.8 is used. -1998-03-05 Ulrich Drepper <drepper@cygnus.com> +1998-10-01 Philip Blundell <pb@nexus.co.uk> - * elf/rtld.c: Speed up processing of environment variables. Do - only one run on the environment by avoiding to call getenv. - * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New - function. Used by patch above. + * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch + from Scott Bambrough. -1998-03-05 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * sysdeps/unix/sysv/linux/arm/register-dump.h: New file. - * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for - running nscd. - * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable. - * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable. - * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables. + * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't + include the lock member. -1998-03-05 Ulrich Drepper <drepper@cygnus.com> +1998-09-03 Philip Blundell <pb@nexus.co.uk> - * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS - module cannot be found. Reported by Andreas Jaeger. + * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler. -1998-03-05 11:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> +1998-10-01 Ulrich Drepper <drepper@cygnus.com> - * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning - on platforms which default to unsigned chars. - * nscd/nscd_getpw_r.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before - defining it. - -1998-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * timezone/zic.c: Update from tzcode1998h. + * timezone/europe: Update from tzdata1998i. + * timezone/southamerica: Likewise. - * elf/Makefile (install-bin): Change = to += for sprof to install - ldd also. + * sys/types.h: Protect use of long long by __extension__. + * stdlib/stdlib.h: Likewise. + * string/string.h: Likewise. + * sysdeps/i386/bits/byteswap.h: Likewise. + * sysdeps/geeric/bits/byteswap.h: Likewise. + * sysdeps/i386/fpu/bits/mathinline.h: Likewise. + * sysdeps/unix/sysv/linux/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. + * sysdeps/wordsize-32/inttypes.h: Likewise. + * sysdeps/wordsize-32/stdint.h: Likewise. + * wcsmbs/wchar.h: Likewise. -1998-03-04 16:12 H.J. Lu <hjl@gnu.org> +1998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * libio/strops.c (_IO_str_seekoff): Handle MODE == 0. + * string/bits/string2.h (__string2_1bptr_p): Don't use a statement + expression. + (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk, + __strsep): Greatly reduce size of expansion by combining common + expressions. + (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to + inline function. + (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used + by the above definitions. -1998-03-04 16:19 Ulrich Drepper <drepper@cygnus.com> +1998-09-27 Geoff Keating <geoffk@ozemail.com.au> - * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change. + * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use + correct struct ipc_perm definition. -1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so - that a failure to connect to nscd doesn't change errno. + * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free. -1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1998-09-29 Cristian Gafton <gafton@redhat.com> - * manual/maint.texi (Reporting Bugs): Change - bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org. + * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[]. + * sysdeps/unix/sysv/linux/net/if_shaper.h: New file. + * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h. + * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers): + Add net/if_shaper.h. - * locale/iso-4217.def: Likewise +1998-09-29 Ulrich Drepper <drepper@cygnus.com> -1998-03-04 12:43 Ulrich Drepper <drepper@cygnus.com> + * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind. - * manual/texinfo.tex: Updated. + * nis/ypclnt.c: Remove not needed close calls. -1998-03-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined - value. - * sysdeps/posix/pathconf.c: Likewise. - * posix/getconf.c: Print `undefined' if pathconf returns -1 - without setting errno. + * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result + check a bit. Also close socket of domain client. Close socket + in IPPORT_RESERVED error case. -1998-03-04 Ulrich Drepper <drepper@cygnus.com> +1998-09-28 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste - problem. - * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file. - Patches by Elliot Lee <sopwith@cuc.edu>. + * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use + CMSG_ALIGN (fixes a bug) and correct test for availability of + another entry. + * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic + Linux version. + (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for + availability of another entry. + Patch by ak@muc.de. -1998-03-04 09:43 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo. + Patch by ak@muc.de. - * elf/link.h (struct link_map): Add new field l_reloc_result. - * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results - of relocation for the object to be profiled. - * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field - to NULL. - * elf/rtld.c (_dl_start): Add comment that we must not allocate an - array here. - * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already - contains a result from a previous run use this instead of computing - the value again. - * elf/dl-minimal.c (malloc): Remove limit for size of allocation. + * libio/libio.h [!__STDC__]: Define const only if not defined. -1998-03-04 11:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word - offsets into the GOT. - (RTLD_START): Likewise. + * posix/annexc.c (xsystem): New function. Use it instead of + system. -1998-03-03 17:55 Ulrich Drepper <drepper@cygnus.com> +1998-09-28 Ulrich Drepper <drepper@cygnus.com> - * elf/sprof.c: Cleanup a bit. + * stdlib/longlong.h: Remove #endif for #if removed in last change. -1998-03-03 08:01 H.J. Lu <hjl@gnu.org> +1998-09-25 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/generic/sysdep.h (L): New. Define. + * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu. + Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to + allow using `ut' parameter. + [!emacs]: Define ut_argument, ut_argument_spec, and + ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and + argument_spec to prototypes and definitions. + (my_strftime): Don't call tzset of ut != 0. + Compute diff as 0 is ut != 0; + [emacs]: Define new emacs_strftime function. + Based on a patch by Paul Eggert. - * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define. +1998-09-24 Paul Eggert <eggert@twinsun.com> - * sysdeps/i386/i586/addmul_1.S: Fix a typo. + * time/strftime.c (my_strftime): When asking for the length of the + subformatted buffer, do not limit the length to look for; + otherwise, we have no reliable way to distinguish between the + empty buffer and an error. - * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice - to have only one exit point for functions. - * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. - * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise. - * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise. - * sysdeps/unix/sysv/linux/i386/socket.S: Likewise. - * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise. +1998-09-25 Ulrich Drepper <drepper@cygnus.com> -1998-03-03 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * math/Makefile (gmp-objs): Add mp_clz_tab. - * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and - reset errno so that errno isn't set to ENOSYS in the first call. - * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise. - * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise. - * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise. - * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise. +1998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com> -1998-03-02 17:55 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't + set them. + * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for + cpus lacking hardware multiply and divide. - * sysdeps/i386/add_n.S: Change to use ENTRY and END macro. - * sysdeps/i386/addmul_1.S: Likewise. - * sysdeps/i386/lshift.S: Likewise. - * sysdeps/i386/mul_1.S: Likewise. - * sysdeps/i386/rshift.S: Likewise. - * sysdeps/i386/sub_n.S: Likewise. - * sysdeps/i386/submul_1.S: Likewise. - * sysdeps/i386/i586/add_n.S: Likewise. - * sysdeps/i386/i586/addmul_1.S: Likewise. - * sysdeps/i386/i586/lshift.S: Likewise. - * sysdeps/i386/i586/mul_1.S: Likewise. - * sysdeps/i386/i586/rshift.S: Likewise. - * sysdeps/i386/i586/sub_n.S: Likewise. - * sysdeps/i386/i586/submul_1.S: Likewise. +1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/i386/sysdep.h: Extend last change. + * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use + $(<F), not $(^F). - * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice - to have only one exit point for functions. +1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-03-02 Ulrich Drepper <drepper@cygnus.com> + * db/btree/bt_delete.c: Fix -Wparentheses warning. - * configure.in: Fix msgfmt test. Fix handling of //s in sysdeps - search. +1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-03-02 13:28 Ulrich Drepper <drepper@cygnus.com> + * Makefile ($(inst_includedir)/gnu/lib-names.h): Use + $(do-install). - * Makerules: Generate libc.so with absolute paths for the used - shared objects. +1998-09-24 Ulrich Drepper <drepper@cygnus.com> - * config.make.in: Add MAKEINFO definition. + * debug/catchsegv.sh: Also produce output if clone process died. -1998-03-02 Ulrich Drepper <drepper@cygnus.com> +1998-09-24 Paul Eggert <eggert@twinsun.com> - * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end. - (ENTRY): Use STABS_FUN. - (END): Use STABS_FUN_END. - (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info. + * time/strftime.c (f_wkday): Remove duplicate definition. + (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when + !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the + 1998-09-11 fix to this case. + (wkday_len, month_len): Remove these macros; they're no longer needed. - * elf/Makefile: Add rules to build sprof program. - * elf/sprof.c: New file. +1998-09-24 Paul Eggert <eggert@twinsun.com> -1998-02-28 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * time/strftime.c (my_strftime): Don't store past the end of a + zero-sized buffer. - * misc/syslog.c (openlog_internal): Insert missing closing brace. +1998-09-24 Paul Eggert <eggert@twinsun.com> -1998-02-06 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * time/strftime.c (underlying_strftime): + Set the buffer to a nonzero value before calling + strftime, and check to see whether strftime has set the buffer to zero. + This lets us distinguish between an empty buffer and an error. - * configure.in: Check for working msgfmt version (from GNU gettext - 0.10 or later). +1998-09-24 Paul Eggert <eggert@shade.twinsun.com> -1998-03-02 Ulrich Drepper <drepper@cygnus.com> + * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000. + This fix is propagated from tzcode1998g.tar.gz. - * configure.in: Avoid //s in sysdirs. - Patch by Roland McGrath. +1998-09-24 Mark Kettenis <kettenis@phys.uva.nl> - * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>. + * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for + _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as + sys_siglist. This is handled correctly by the weak_alias macro. -1998-03-02 07:17 H.J. Lu <hjl@gnu.org> +1998-09-24 Ulrich Drepper <drepper@cygnus.com> - * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when - setting _dl_global_scope for RTLD_GLOBAL. + * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition + of mempcpy. Reported by Andreas Jaeger. -1998-02-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * misc/regexp.h (compile): Use alloca instead of __alloca. It won't + pollute the namespace since the compiler will resolve it inline. + Reported by Florian La Roche <florian@suse.de>. - * sysdeps/unix/make-syscalls.sh: Fix last change so that all - possible lists of object-suffixes are taken care of. +1998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com> -1998-03-02 10:16 Ulrich Drepper <drepper@cygnus.com> + * timezone/private.h: Update from tzcode1998g. - * timezone/private.h: Update from tzcode1998c. - * timezone/zic.c: Likewise. - * timezone/antarctica: Updated from tzdata1998c. + * timezone/africa: Update from tzdata1998h. * timezone/asia: Likewise. * timezone/australasia: Likewise. * timezone/europe: Likewise. + * timezone/northamerica: Likewise. * timezone/southamerica: Likewise. + * timezone/zone.tab: Likewise. -1998-03-02 Ulrich Drepper <drepper@cygnus.com> - - * posix/glob.c (glob_in_dir): Add support for cases insensitive - VMS. Patch by John W. Eaton <jwe@bevo.che.wisc.edu>. - -1998-03-01 19:05 H.J. Lu (hjl@gnu.org) - - * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf. - Changed type of TWO43, TWO52 from float to double. - * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff. - * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf. - Changed type of TWO43 from float to double. - * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo. - Use __isinff. - -1998-03-01 18:52 H.J. Lu (hjl@gnu.org) - - * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday, - osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage, - osf_wait4): Removed __xxxx symbol for GLIBC_2.0. - -1998-03-01 09:11 Richard Henderson <rth@cygnus.com> - - * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include - kernel_termios.h. - * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix. - Clean up random whitespace. - * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm. - * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss. - * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file. - -1998-03-01 08:31 Richard Henderson <rth@cygnus.com> - - * shlib-versions: Match alpha*. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex. - * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove. - - * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New. - Implement copysign* with and without __ prefix. - Likewise for fabs; use builtin for gcc 2.8. - (floor*): New. - (fdim*): New. - - * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New. - (R_SPARC*): Match current v9 ABI. - - * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long. - - * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t. - * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise. - * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise. - * sysdeps/generic/getresgid.c: Use prototype form because of warning. - * sysdeps/unix/sysv/linux/getdents.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise. - * sysdeps/unix/grantpt.c (argv): Fix consts. - * sysdeps/unix/sysv/linux/getpt.c: Include <string.h> - * sysdeps/unix/sysv/linux/sigaction.c: Likewise. - -1998-02-27 Ulrich Drepper <drepper@cygnus.com> - - * misc/syslog.c: Change to allow user the interpretation of the - outcome even with syslog having no return value. - -1998-02-05 20:41 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> - - * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume - that the number of program headers is >0 (which is wrong for the - loader itself). - -1998-02-27 Ulrich Drepper <drepper@cygnus.com> - - * Makefile (distribute): Add README.libm. - -1998-02-27 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * time/clocktest.c (main): Correct typo: "--" -> "==". - -1998-02-25 20:53 H.J. Lu <hjl@gnu.org> - - * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus - inline function. - (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New - inline functions. - - * math/libm.map (__atan2): Added. - -1998-02-27 Ulrich Drepper <drepper@cygnus.com> - - * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly. - Reported by Göran Uddeborg <goeran@uddeborg.pp.se>. - - * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported - bug. - -1998-02-25 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * manual/arith.texi (Old-style number conversion): Correct - typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>. - -1998-02-27 Ulrich Drepper <drepper@cygnus.com> - - * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided, - but does not require it. Handle missing argv[] values gracefully. - * posix/execl.c: Likewise. - * posix/execle.c: Likewise. - -1998-02-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer - bit. - * sysdeps/libm-ieee754/s_isinfl.c: Likewise. - -1998-02-27 Ulrich Drepper <drepper@cygnus.com> - - * libc.map: Add __adjtimex. - -1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r): - Remove memset. - -1998-02-24 08:10 H.J. Lu <hjl@gnu.org> - - * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed - to 64. - - * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno. - - * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at". - * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto. - - * sysdeps/unix/make-syscalls.sh: Make versioned symbols only - for shared library. - - * libc.map (adjtime, adjtimex): Added for GLIBC_2.1. - - * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): - Added adjtimex and old_adjtimex. - - * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex): - New. - (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes, - osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0. - - * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned - symbols only for shared library. - * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/select.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise. - - * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch. - * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/select.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise. - - * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct - rusage pointer. - - * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX): - New macros. - (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval, - timex and __adjtimex, respectively. - - * sysdeps/unix/sysv/linux/alpha/adjtime.c: New. - - * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New. - -1998-02-25 08:28 H.J. Lu <hjl@gnu.org> - - * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy - for FE_DIVBYZERO. Kludge for FE_UNDERFLOW. - -1998-02-26 14:59 Ulrich Drepper <drepper@cygnus.com> +1998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> + + * misc/sys/mman.h: New file. + + * sysdeps/generic/bits/mman.h: New file. + * sysdeps/unix/bsd/osf/bits/mman.h: New file. + * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file. + * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file. + * sysdeps/unix/sysv/irix4/bits/mman.h: New file. + + * sysdeps/generic/sys/mman.h: Removed. + * sysdeps/unix/bsd/osf/sys/mman.h: Removed. + * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed. + * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed. + * sysdeps/unix/sysv/irix4/sys/mman.h: Removed. + * sysdeps/unix/sysv/linux/sys/mman.h: Removed. + + * include/sys/mman.h: Look directly for misc/sys/mman.h. + * misc/Makefile (headers): Add bits/mman.h. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove + bits/mman.h. + + * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h. + * sysdeps/unix/sysv/linux/arm/Dist: Likewise. + * sysdeps/unix/sysv/linux/i386/Dist: Likewise. + * sysdeps/unix/sysv/linux/m68k/Dist: Likewise. + * sysdeps/unix/sysv/linux/mips/Dist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise. + +1998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> + + * sysdeps/mach/alpha/sysdep.h: Don't use #include_next. + * sysdeps/mach/alpha/thread_state.h: Likewise. + * sysdeps/mach/i386/sysdep.h: Likewise. + * sysdeps/mach/i386/thread_state.h: Likewise. + * sysdeps/mach/mips/sysdep.h: Likewise. + * sysdeps/mach/mips/thread_state.h: Likewise. + * sysdeps/posix/profil.c: Likewise. + * sysdeps/i386/i586/memcopy.h: Likewise. + * sysdeps/mach/pagecopy.h: Likewise. - * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces. +1998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com> -1998-02-19 11:00 Zack Weinberg <zack@rabi.phys.columbia.edu> + * libio/stdio.h: Define __need_getopt and include getopt.h to define + getopt stuff. + * posix/unistd.h: Likewise. + * stdio/stdio.h: Likewise. + * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined + define only getopt and the variables. - * Makefile.in: Disable built-in rules. +1998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * scripts/test-installation.pl (installation_problem): Don't link + the test program against libdb1. - * sysdeps/i386/fpu/t_exp.c: Move to ... - * sysdeps/libm-i387/t_exp.c: ... here. +1998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com> -1998-02-21 13:51 H.J. Lu <hjl@gnu.org> + * Makeconfig (all-subdirs): Add db. + * Versions.def: Add definition for libdb1. + * shlib-versions: Add definitions for libdb1. + * db/Makefile (extra-libs): Replace by libdb1. + (libdb-routines): Rename to libdb1-routines. + (headers): Rename to db1-headers. + (distribute): Add $(db1-headers). + (install-others): Define to install symlink libdb.so.NN and the + $(db1-headers). + (CPPFLAGS): Add -DUSE_LIBDB1 + Remove rules to build makedb. + * db/Versions: Rename libdb to libdb1. + * include/db.h: If USE_LIBDB1 is defined include db/db.h. + * db/makedb.c: Removed. - * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed - from __exp2_deltatable. + * scripts/versions.awk: Recognize digits in library names. -1998-02-26 Ulrich Drepper <drepper@cygnus.com> + * db/btree/bt_open.c: Fix compiler warnings. + * db/btree/bt_put.c: Likewise. + * db/btree/bt_split.c: Likewise. + * db/hash/hash.c: Likewise. + * db/hash/hash_bigkey.c: Likewise. + * db/recno/rec_close.c: Likewise. - * nis/ypclnt.c (yp_master): Check result of strdup. - Patch by Thorsten Kukuk. + * Makefile: Add localedata/% goal. -1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> +1998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> - * nis/ypclnt.c: Give clnt handle after error checking free, change - return codes to fix problems with rpc.nisd in YP mode on Ultra's. + * posix/execvp.c: Don't give up searching the PATH if execve + returns ENOTDIR. -1998-02-26 09:00 Ulrich Drepper <drepper@cygnus.com> +1998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com> - * misc/fstab.c: Partly rewritten to use dynamically allocated buffer. - Patch by Joe Keane <jgk@jgk.org>. + * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only + if _dl_fpu_control_set is set. + * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set. + * elf/rtld.c: Don't define _dl_fpu_control_set. + * elf/Versions: Remove _dl_fpu_control_set. - * misc/fstab.h (struct fstab): Change fs_type member to be const. - * misc/fstab.c: Remove casts in fs_type assignments. +1998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com> -1998-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define. + * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise. + Correct values of other SA_* macros according to kernel headers. - * sysdeps/i386/fpu/bits/fenv.h: Correct typo. ISO C 9X defines - FE_TOWARDZERO and not FE_TOWARDSZERO. Reported by H.J. Lu. - * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise. - * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise. - * sysdeps/powerpc/bits/fenv.h: Likewise. - * sysdeps/m68k/fpu/bits/fenv.h: Likewise. - * sysdeps/generic/bits/fenv.h: Likewise. - * sysdeps/alpha/fpu/bits/fenv.h: Likewise. - * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise. - * sysdeps/powerpc/test-arith.c (main): Likewise. +1998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-02-25 Ulrich Drepper <drepper@cygnus.com> + * elf/dl-load.c (_dl_init_paths): Avoid warning about unused + variable l. + * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering + old. - * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of - the comparison macros. +1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-02-21 20:14 H.J. Lu <hjl@gnu.org> + * elf/ldsodefs.h: Fix typo in comment. - * sysdeps/libm-ieee754/s_log2.c (ln2): Added. - (__log2): Fixed return values. - * sysdeps/libm-ieee754/s_log2f.c: Likewise. +1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-02-25 Ulrich Drepper <drepper@cygnus.com> + * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned + char when comparing buffer contents with putback character. - * math/math.h (isunordered): Rename local variables to ensure - correct code. Reported by HJ Lu. +1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-02-25 10:34 Ulrich Drepper <drepper@cygnus.com> + * elf/Makefile (dl-routines, elide-routines.os, rtld-routines): + Undo last change. + * elf/Versions: Undo last change. Export _dl_fpu_control and + _dl_fpu_control_set. + * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New + variables. Include <fpu_control.h>. + * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in + _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set + to indicate that is was seen. + * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw + only if _dl_fpu_control was set and is equal to desired value. + * math/Makefile (aux): Undo last change. + * math/Versions: Export __fpu_control with version GLIBC_2.0. - * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal, - isless, islessequal, islessgreater, isunordered): Fix syntax for - fucompip instruction. - (isless, islessequal): Fix logic. +1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly + optimized. - * math/libm-test.c (sqrt_test): Add test for sqrt(2). - (comparisons_test): New tests for comparison macros. +1998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com> -1998-02-24 15:12 Ulrich Drepper <drepper@cygnus.com> + * string/bits/string2.h: Add mempcpy optimization. + * sysdeps/generic/mempcpy.c: Undefined __mempcpy. + * intl/localealias.c: Define mempcpy only if not already defined. - * Makeconfig: Filter out frame-pointer effecting options when - compiling profiling or debugging code. - * config.h.in (internal_function): Don't define here if PROF is + * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already defined. - * gmon/gmon.c (__moncontrol): Don't change state if already in error - state. - (__monstartup): If calloc fails set error state and mark array as - not allocated. - (_mcleanup): Don't call write_gmon if in error state. Don't try - to free array if not successfully allocated. - - * elf/dl-load.c (STRING): Define to __STRING to enble expansion. - Include elf.h to get macro definitions. - Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE. - -1998-02-24 09:40 Ulrich Drepper <drepper@cygnus.com> - - * elf/ldd.sh.in: Add compatibility for broken old shells. - * elf/ldd.bash.in: Likewise. - -1998-02-24 08:11 H.J. Lu <hjl@gnu.org> - - * sunrpc/rpc_main.c (open_input): Check pipe return error. - - * time/clocktest.c (main): Check signal return error. - -1998-02-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add - "/" and use do-install-program. Reported by Mark M. Kettenis. - (subdir_install): Likewise. - -1998-02-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * sunrpc/rpc_sample.c: Fix typo. - - * nscd/connections.c: Use locale. - * nscd/grpcache.c: Add debug messages, gidtbl should get the - calloc result. - * nscd/nscd.c: Check if init functions fails. - * nscd/nscd_conf.c: Allow disabling of group cache. - * nscd/nscd_getgr_r.c: Fix return code if group not found. - * nscd/pwdcache.c: Fix debug messages. - -1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * libc.map: Add __monstartup and _mcleanup for profiling support. - -1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * libc.map: Export __getpagesize, for binary compatibility with - 2.0. - -1998-02-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * posix/globtest.sh: Use --library-path instead of - LD_LIBRARY_PATH. - * localedata/sort-test.sh: Likewise. - * localedata/tst-fmon.sh: Likewise. Avoid useless use of cat. - -1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct - sigaction and struct kernel_sigaction for __syscall_rt_sigaction. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. - - * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct - kernel_sigaction): Define. - * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct - kernel_sigaction): Define. - -1998-02-23 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * math/libm-test.c: Change epsilons for libm-ieee754. - -1998-02-23 12:33 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/i386/__longjmp.S: Fix race condition. - Reported by Bruno Haible <haible@ilog.fr>. -1998-02-20 18:43 Ulrich Drepper <drepper@cygnus.com> +1998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> - * hesiod/hesiod.c: Pretty print. Don't use __ protected names. - * iconvdata/8bit-gap.c: Likewise. - * iconvdata/8bit-generic.c: Likewise. - * iconvdata/iso6937.c: Likewise. - * iconvdata/iso8859-1.c: Likewise. - * iconvdata/sjis.c: Likewise. - * iconvdata/t61.c: Likewise. - -1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative - feature tests by positive feature tests. - -1998-02-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value. - -1998-02-20 Ulrich Drepper <drepper@cygnus.com> - - * elf/dlvsym.c (dlvsym_doit): More corrections. - Patch by Andreas Jaeger. - -1998-02-19 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition. - -1998-02-19 17:16 Ulrich Drepper <drepper@cygnus.com> - - * libc.map: More reordering for GLIBC_2.1 symbols. - -1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * libc.map: Move some functions from version GLIBC_2.0 to - GLIBC_2.1, reorder declarations. - -1998-02-19 Ulrich Drepper <drepper@cygnus.com> - - * resolv/gethnamaddr.c (addrsort): Make this function extern. - Patch by zab@thebrain.grumblesmurf.net. - -1998-02-19 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * nis/libnsl.map: NIS+ support is new in glibc 2.1, add - NIS+ functions with version GLIBC_2.1. - -1998-02-19 14:05 Ulrich Drepper <drepper@cygnus.com> - - * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility - with 2.0 binaries. Reported by Thorsten Kukuk. - -1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * elf/dlvsym.c (dlvsym_doit): Correct last patch. - - * elf/dlsym.c (dlsym_doit): Likewise. - -1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * elf/link.h: Correct typos. - - * iconv/iconv_prog.c: Correct typo. - -1998-02-18 17:57 Ulrich Drepper <drepper@cygnus.com> - - * iconv/Makefile: Add rules to build and install iconv program. - * iconv/iconv_prog.c: New file. - -1998-02-18 16:34 H.J. Lu <hjl@gnu.org> - - * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for - _dl_lookup_symbol_skip call. - * elf/dlvsym.c (dlvsym_doit): Likewise. + * csu/abi-note.S: Emit the note directly instead of defining + a preprocessor macro that's only used once. Don't include sysdep.h. + * abi-tags: Generalize Solaris entry. -1998-02-18 Ulrich Drepper <drepper@cygnus.com> +1998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * libio/iovsscanf.c: Do not include errno.h. + * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2): + Change to array to avoid runtime relocation. + * sysdeps/unix/sysv/linux/ptsname.c: Update declarations. -1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * elf/dl-load.c (add_name_to_object): Don't translate strings. - * elf/dl-minimal.c (_strerror_internal): Define it here to avoid - pulling in the whole error list. - (__dcgettext, dcgettext): Removed. - * libc.map: Export _strerror_internal. + * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S). + * math/Makefile ($(objpfx)libieee.a): Likewise. -1998-02-18 10:50 Ulrich Drepper <drepper@cygnus.com> +1998-09-21 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/i386/fpu/t_exp.c: New file. - -1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add - everything with version GLIBC_2.1. - * hesiod/libnss_hesiod.map: Likewise. - -1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * manual/arith.texi (Old-style number conversion): This node is a - section, not a subsection. - -1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy. - -1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf/rtld.c (dl_main): Make sure that the library search paths - have been initialized before the first call to _dl_map_object. - -1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Makerules (common-generated): Add libc_pic.os. - -1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address - of the executable. - -1998-02-18 10:28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/m68k/fpu/t_exp.c: New file. - -1998-02-17 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign - to global errno variable anymore. - -1998-02-17 17:41 Ulrich Drepper <drepper@cygnus.com> - - * elf/dl-load.c (open_path): Take extra argument PRELOADED. - If PRELOADED is nonzero check in case of an SUID application - whether the shared object has the SUID bit set. - Fix some other problems with handling shared objects in system - specific directories. - (_dl_map_object): Also take extra parameter and pass it to open_path. - * elf/link.h (_dl_map_object): Correct prototype and comment. - * elf/rtld.c (dl_main): Call _dl_map_object correctly. - * elf/dl-open.c (_dl_open): Likewise. - * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise. - - * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly. - -1998-02-17 Ulrich Drepper <drepper@cygnus.com> - - * math/libm-test.c (modf_test): Add test for 1.5. - - * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with - 0 to get always an int. - -1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * math/libm.map: Move all symbols that are new in glibc 2.1 to - version GLIBC_2.1. - -1998-02-17 Ulrich Drepper <drepper@cygnus.com> - - * stdio-common/vfscanf.c (inchar): Check c for being EOF before - trying to read another character. - -1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert - name to lowercase. - - * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert - name to lowercase, add test for big enough buffer. - -1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn): - Make compatible with older kernels. Patch by Richard Henderson. - -1998-02-17 15:10 Ulrich Drepper <drepper@cygnus.com> - - * elf/dl-load.c (open_path): Use __xstat instead of stat. - - * localedata/tst-locale.sh: Comment out first test for now. - -1998-02-14 14:58 H.J. Lu <hjl@gnu.org> - - * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined - as 1. - * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO): - Likewise. - - * libio/iogetline.c (_IO_getline_info): Renamed from - _IO_getline. - (_IO_getline): Just call _IO_getline_info. - - * libio/libioP.h (_IO_getline_info): New declaration. - - * libc.map (_IO_getline_info, __write): Added. - -1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to - const char* to shut up gcc. - -1998-02-17 11:37 Ulrich Drepper <drepper@cygnus.com> - - * elf/dl-open.c (_dl_open): Assign correct value to new->l_global. - Patch forwarded by Cristian Gafton <gafton@redhat.com>. - - * math/math.h: Define M_* constants always as `double' and add new - macros M_*l which are of type `long double'. - * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now. - * sysdeps/libm-ieee754/s_cacosl.c: Likewise. - * sysdeps/libm-ieee754/s_casinhl.c: Likewise. - * sysdeps/libm-ieee754/s_catanhl.c: Likewise. - * sysdeps/libm-ieee754/s_catanl.c: Likewise. - * sysdeps/libm-ieee754/s_clog10l.c: Likewise. - * sysdeps/libm-ieee754/s_clogl.c: Likewise. - * math/libm-tst.c: Likewise. - - * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl, - define as long double unconditionally. - -1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * manual/arith.texi (Old-style number conversion): Correct some - typos. - -1998-02-16 16:28 H.J. Lu <hjl@gnu.org> - - * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c): - Restore. - - * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted. - -1998-02-16 Ulrich Drepper <drepper@cygnus.com> - - * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but - on $(rtld-ldscript). - - * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports - starting from 0 not only from `from'. - Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>. - -1998-02-16 17:33 Ulrich Drepper <drepper@cygnus.com> - - * elf/rtld.c (dl_main): Recognize --library-path parameter and - pass value (or NULL) to _dl_init_paths. - * elf/dl-load.c (_dl_init_paths): Change to take one parameter, - replacing local variable llp. If llp is NULL examine LD_LIBRARY_PATH - environment variable. - * elf/link.h: Change prototype for _dl_init_paths. - * elf/dl-support.c: Pass NULL in _dl_init_paths call. - - * localedata/Makefile (distribute): Add test files. - -1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm, - test1.def, test2.def, test3.def, test4.def}: Simple input files - for localedef. Contributed by Yung-Ching Hsiao - <yhsiao@cae.wisc.edu>. - - * localedata/Makefile (tests): Call tst-locale.sh. - - * localedata/tst-locale.sh: New file, regression tests for some - localedef problems. - -1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy. - - * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL - terminated. - * nis/nss_nisplus/nisplus-network.c: Likewise. - * nis/nss_nisplus/nisplus-proto.c: Likewise. - * nis/nss_nisplus/nisplus-rpc.c: Likewise. - * nis/nss_nisplus/nisplus-service.c: Likewise. - - Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug - and support generating thread safe RPC code. - * sunrpc/rpc_main.c: Add changes. - * sunrpc/rpc_clntout.c: Likewise. - * sunrpc/rpc_cout.c: Likewise. - * sunrpc/rpc_hout.c: Likewise. - * sunrpc/rpc_parse.c: Likewise. - * sunrpc/rpc_sample.c: Likewise. - * sunrpc/rpc_scan.c: Likewise. - * sunrpc/rpc_svcout.c: Likewise. - * sunrpc/rpc_util.c: Likewise. - * sunrpc/rpc_util.h: Add new structs and prototypes. - * sunrpc/proto.h: Remove prototypes for static functions. - -1998-02-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * locale/programs/ld-messages.c (messages_finish): Don't skip - error checking when being quiet. - * locale/programs/ld-ctype.c (ctype_finish): Likewise. - (set_class_defaults): Likewise. - * locale/programs/charmap.c (parse_charmap): Likewise. - * locale/programs/ld-collate.c (collate_finish): Likewise. - * locale/programs/ld-monetary.c (monetary_finish): Likewise. - * locale/programs/ld-time.c (time_finish): Likewise. - * locale/programs/locfile.c (write_locale_data): Likewise. - - * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore - unknown characters and empty ranges. - * locale/programs/ld-collate.c (collate_order_elem): When - processing an ellipsis properly form a linked list in the result - table, fix typo when allocating ordering array. - [PR libc/419] - -1998-02-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf/Makefile (ld-map): Define. - (rtld-ldscript): Define. Change all `$(objpfx)rtld-ldscript' to - `$(rtld-ldscript)'. - ($(objpfx)ld.so): Combine the two versions of this rule. Depend - on $(ld-map). - (rtld-link): Combine the two versions of this definition. Fixed - to make it work when no symbol versioning is used. - -1998-02-16 Ulrich Drepper <drepper@cygnus.com> - - * Makeconfig (build-program-cmd): Use --library-path parameter to - ld.so instead of environment variable. - - * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter. - * sunrpc/rpc_main.c: Remove support for -$$ option again. - -1998-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * Make-dist: Respect with-cvs setting. - * MakeTAGS (all-pot): Likewise. - * sysdeps/sparc/sparc32/Makefile: Likewise. - * sysdeps/mach/hurd/Makefile: Likewise. - * stdlib/Makefile: Likewise. - * posix/Makefile: Likewise. - * intl/Makefile: Likewise. - * po/Makefile (linguas): Likewise - -1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * nis/ypclnt.c (yp_all): Remove error message, user should print it. - -1998-02-15 Ulrich Drepper <drepper@cygnus.com> - - * libc.map: Add __strcasecmp. - - * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last - module. - - * nss/getXXent_r.c: If no more module is found don't try to call - setXXent functions but leave unsuccessfully. - - * malloc/obstack.h: Cleanups. - - * sysdeps/wordsize-32/stdint.h: New file. - * sysdeps/wordsize-64/stdint.h: New file. - * sysdeps/generic/stdint.h: New file. - * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h. - * sysdeps/wordsize-64/inttypes.h: Likewise. - * stdlib/Makefile (headers): Add stdint.h. - -1998-02-03 Paul Eggert <eggert@twinsun.com> - - * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available. - -1998-02-13 17:59 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * timezone: New directory. - * time/README, time/africa, time/antarctica, time/asia, - time/australasia, time/backward, time/checktab.awk, - time/etcetera, time/europe, time/factory, time/ialloc.c, - time/iso3166.tab, time/leapseconds, time/northamerica, - time/pacificnew, time/private.h, time/scheck.c, - time/solar87, time/solar88, time/solar89, time/southamerica, - time/systemv, time/test-tz.c, time/tzfile.h, - time/tzselect.ksh, time/yearistype, time/zdump.c, - time/zic.c, time/zone.tab: Moved to timezone. - * time/tzfile.c: Include tzfile.h from timezone subdir. - * time/tzset.c: Likewise. - * time/Makefile: Cut out all code relating to timezones... - * timezone/Makefile: ...and paste it in here. - * Makefile (subdirs): Add timezone. - -1998-02-13 18:45 H.J. Lu <hjl@gnu.org> - - * libc.map (_sys_nerr): Added. - - * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it - versioned symbol. - -1998-02-15 17:16 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and - pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY. - Reported by Craig Metz <cmetz@inner.net>. - -1998-01-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp - instead of strcasecmp. - * nss/nss_files/files-alias.c (get_next_alias): Likewise. - - * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8. - -1998-02-15 16:55 Ulrich Drepper <drepper@cygnus.com> - - * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const. - Patch by Dean Gaudet <dgaudet@arctic.org>. - -1998-02-15 16:53 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/generic/Dist: Add getresgid.c and getresuid.c. - -1998-02-15 10:49 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel - with no poll syscall, just include the BSD version. - * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a - kernel without the syscall, include the stub version. - * sysdeps/unix/sysv/linux/getresgid.c: Likewise. - * sysdeps/generic/getresuid.c: New file. - * sysdeps/generic/getresgid.c: New file. - -1998-02-15 Ulrich Drepper <drepper@cygnus.com> - - * stdio-common/vfscanf.c: Correct last change a bit. - -1998-02-13 17:39 Ulrich Drepper <drepper@cygnus.com> - - * elf/Makefile: Don't use --version-script parameter to link ld.so - unconditionally. - -1998-01-02 04:19 Geoff Keating <geoffk@ozemail.com.au> - - * math/Makefile: Add t_exp. - * math/libm-test.c: Tighten accuracy bounds for exp(), correct - constants. - * math/test-reduce.c: Remove temporarily, it seems to be broken. - * sysdeps/libm-ieee754/e_exp.c: Use accurate table method. - * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for - better accuracy. - * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct - algorithm for very large/very small arguments. - * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial; - correct algorithm for very large/very small arguments; adjust for - new table. - * sysdeps/libm-ieee754/t_exp.c: New file. - * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas. - - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test' - back, with comment that explains what breaks when you remove it :-(. - - * localedata/xfrm-test.c: Avoid integer overflow. - - * stdlib/strfmon.c: char is unsigned, sometimes. - - * sysdeps/powerpc/Makefile: Remove quad float support. - * sysdeps/powerpc/q_*.c: Remove, they will become an add-on. - * sysdeps/powerpc/quad_float.h: Likewise. - * sysdeps/powerpc/test-arith.c: Likewise. - * sysdeps/powerpc/test-arithf.c: Likewise. - - * sysdeps/generic/s_exp2.c: Remove, we have this implemented now. - * sysdeps/generic/s_exp2f.c: Likewise. - - * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__, - don't try anything if _SOFT_FLOAT. - -1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change. - * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise. - * wctype/wctype.c: Likewise. - * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses - changed. They are incompatible with the _ISxxx values from - <ctype.h> on little endian machines. - (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform - bit number. This fixes the real bug and restores the integrity of - the ctype locale file. - * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx. - * wctype/wcfuncs_l.c: Likewise. - * wctype/wcextra.c: Likewise. - * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct - byte swapping. - -1998-02-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it - into .bss segment instead of .common, so that aliases on it work. - - * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and - .size directives, put into .bss segment instead of initializing it - to 4. - -1998-02-12 08:00 H.J. Lu <hjl@gnu.org> - - * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added. - - * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New - functions. - Make names without __ weak aliases. - (__libc_release, __libc_version): Make them static. - - * include/gnu/libc-version.h: New file. - * Makefile (headers): Add gnu/libc-version.h. - -1998-02-13 Ulrich Drepper <drepper@cygnus.com> - - * stdlib/stdlib.h (struct drand48_data): Leave X to user macros - and use x for member name. - Reported by Daniel Lyddy <daniell@cs.berkeley.edu>. - - * stdlib/drand48.c: Change according to member name change. - * stdlib/drand48_r.c: Likewise. - * stdlib/lcong48_r.c: Likewise. - * stdlib/lrand48.c: Likewise. - * stdlib/lrand48_r.c: Likewise. - * stdlib/mrand48.c: Likewise. - * stdlib/mrand48_r.c: Likewise. - * stdlib/seed48.c: Likewise. - * stdlib/seed48_r.c: Likewise. - * stdlib/srand48_r.c: Likewise. - -1998-02-11 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * nss/test-netdb.c: Add some more test cases. - -1998-02-13 11:39 Ulrich Drepper <drepper@cygnus.com> - - * libio/iovsscanf.c: Undo last change modifying errno. - -1998-02-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * stdio-common/vfscanf.c: Never try to read another character - after EOF. Don't decrement read_in after EOF, it wasn't - incremented in the first place. - (NEXT_WIDE_CHAR): Set First, not first. - -1998-02-06 07:48 H.J. Lu <hjl@gnu.org> - - * db/Makefile ($(inst_libdir)/libndbm.a, - $(inst_libdir)/libndbm.so): New targets. - * db2/Makefile: Likewise. - -1998-02-12 08:20 H.J. Lu <hjl@gnu.org> - - * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak - aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined. - -1998-02-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++ - <streambuf.h>. - * sysdeps/unix/sysv/linux/_G_config.h: Likewise. - -1998-02-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with - versioned symbols. - -1998-02-13 08:14 H.J. Lu <hjl@gnu.org> - - * libc.map (_dl_global_scope, _dl_lookup_symbol_skip, - _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): - Added for libdl.so. - -1998-02-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as - extra syscall. - - * grp/Makefile: Fix logic when checking for thread package. - * pwd/Makefile: Likewise. - -1998-02-11 08:23 H.J. Lu <hjl@gnu.org> - - * elf/Makefile (rtld-map): Replaced by libc-map. - - * elf/rtld.map: Removed. - - * libc.map (__libc_enable_secure, _dl_catch_error, - _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state, - _dl_default_scope, _dl_global_scope_end, _dl_init_next, - _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps, - _dl_object_relocation_scope, _dl_relocate_object, - _dl_signal_error, _dl_starting_up, _dl_sysdep_start, - _r_debug): Added for ld.so. - -1998-02-10 08:38 H.J. Lu <hjl@gnu.org> - - * libio/iofclose.c: Check PIC && DO_VERSIONING instead of - DO_VERSIONING. - * libio/iofdopen.c: Ditto. - * libio/iofopen.c: Ditto. - * libio/oldfileops.c: Ditto. - - * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for - version GLIBC_2.1. - - * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed - oldsiglist from sysdep_routines and shared-only-routines. + * sysdeps/generic/getpt.c: Fix order of argument to weak_alias. + Patch by John Tobey <jtobey@banta-im.com>. - * sysdeps/unix/sysv/linux/errlist.c: New. - * sysdeps/unix/sysv/linux/errlist.h: New. - * sysdeps/unix/sysv/linux/sizes.h: New. - * sysdeps/unix/sysv/linux/alpha/sizes.h: New. - * sysdeps/unix/sysv/linux/sparc64/sizes.h: New. +1998-09-20 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/oldsiglist.c: Removed. + * login/Makefile (distribute): Remove pty-internal.h, add + pty-private.h. - * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>. - (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size - directive. + * stdlib/tst-strtol.c: Add more checks. + Patch by Zack Weinberg <zack@rabi.columbia.edu>. - * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New. +1998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added. - (oldsiglist.c): Removed. + * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control. + * elf/elf.h: Add AT_FPUCW. + * elf/Makefile (dl-routines): Add fpu_control. + (elide-routines.os): Add fpu_control. + (rtld-routines): Add fpu_control. + * math/Makefile (aux): Remove fpu_control. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW. + (_dl_show_auxv): Likewise. + * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only + if different from OS default. - * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New. - (_sys_siglist): Use SYS_SIGLIST instead. - (_sys_nerr): Use SYS_NERR instead. + * stdio-common/tstscanf.c: Add test case for (nil). - * sysdeps/gnu/errlist.c: Rebuilt. +1998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com> -1998-02-11 08:35 H.J. Lu <hjl@gnu.org> + * libio/fileops.c (_IO_new_file_underflow): Before allocating + buffer make sure the pushback buffer is destroyed. + (_IO_new_file_seekoff): Likewise. + If mode==0 quit early with the result. + Clear OEF flag after successful fseek. + * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr. + * libio/ftello.c (ftello): Add offset from original buffer if + stream has pushed back characters. + * libio/ftello64.c (ftello64): Likewise. + * libio/iofgetpos.c (_IO_fgetpos): Likewise. + * libio/iofgetpos64.c (_IO_fgetpos64): Likewise. + * libio/ioftell.c (_IO_ftell): Likewise. + * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr + and _IO_save_ptr. + (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr. + (_IO_default_pbackfail): Only stored push back character in original + buffer if it is the same as the one in the file at this position. + * libio/iofclose.c: Free backup buffer if one is available. + * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if + mode!=0. - * elf/Makefile (others-static): New, set to ldconfig. - ($(objpfx)ldconfig): Removed. + * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly. - * Rules (binaries-all, binaries-static, binaries-shared): New. - Create targets for $(binaries-static) and $(binaries-shared). + * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12. - * Makeconfig (+link-static, link-libc-static, - link-extra-libs-static): New for static linking. + * stdio-common/vfscanf.c: Fix reading (nil) for %p. -1998-02-11 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1998-09-18 Mark Kettenis <kettenis@phys.uva.nl> - * manual/memory.texi (Using the Memory Debugger): Fix typo. + * login/programs/pt_chown.c (more_help): Correct message that + describes the purpose of the program. - * math/libm-test.c (modf_test): Add one more test for modf. + * login/openpty.c: Do not include pty-private.h. + (pts_name): New function. Return name of slave pseudo terminal in + an allocated buffer if necessary. + (openpty): Use pts_name to get name of the slave end of the pseudo + terminal pair. -1998-02-11 14:39 Ulrich Drepper <drepper@happy.cygnus.com> + * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by + pts_name before return. - * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs): - Rename from __libc_have_rt_sigs and leave as COMMON data. +1998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com> -1998-02-11 08:30 H.J. Lu <hjl@gnu.org> + * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__. - * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead - of __finite. +1998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-02-11 19:16 Richard Henderson <rth@cygnus.com> + * login/openpty.c: Include pty-private.h instead of + pty-internal.h. - * stdlib/strtod.c (STRTOF): Don't call lshift with zero count. +1998-09-09 Philip Blundell <pb@nexus.co.uk> -1998-02-11 16:56 Ulrich Drepper <drepper@happy.cygnus.com> + * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit. - * misc/tst-efgcvt.c: Add yet more tests. - * misc/efgcvt_r.c: And correct for these tests again. - Reported by HJ Lu. +1998-09-07 Philip Blundell <pb@nexus.co.uk> - * isomac.c: Move to... - * stdlib/isomac.c: ...here. - * Makefile: Move rules for handling isomac... - * stdlib/Makefile: ...to here. + * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with + recent ld.so changes. + (elf_machine_runtime_setup): Correct behaviour when profiling. -1998-02-10 23:57 Ulrich Drepper <drepper@happy.cygnus.com> +1998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com> - * misc/tst-efgcvt.c: Add more tests. - * misc/efgcvt_r.c: Correct result for above new tests. + * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo. + Patch by John Tobey <jtobey@banta-im.com>. -1998-02-06 17:22 H.J. Lu <hjl@gnu.org> +1998-09-17 Mark Kettenis <kettenis@phys.uva.nl> + + * login/pty-internal.h: Removed. Moved constants related to the + `grantpt' helper program protocol to ... + * login/pty-private.h: ... here. New file. + * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation + to make the function work with kernels >= 2.1.115. + * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD + version if using the cloning device fails. + * sysdeps/unix/sysv/linux/grantpt.c: New file. + * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup. + * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow + use by Linux specific code. + * sysdeps/unix/bsd/unlockpt.c: General cleanup. + * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New + function. (grantpt): Use pts_name, check group and permission + mode in addition to owner. Try to set the owner, group and + permission mode first without invoking the helper program. + * login/programs/pt_chown.c: Largely rewritten. Add argp and + internationalization support. Use symbolic constants instead of + hardwired numbers for permission mode. + * sysdeps/unix/bsd/ptsname.c: New file. + +1998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk> + + * posix/wordexp-test.c: Undo last change. + + * posix/wordexp.c: Undo last change. + +1998-09-16 Ulrich Drepper <drepper@cygnus.com> + + * nscd/grpcache.c (save_grp): Partly undo last change. + + * nscd/pwdcache.c (save_pwd): Undo last change. + +1998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy + function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789]. + +1998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com> + + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup): + Add profiling support. + (TRAMPOLINE_TEMPLATE): New macro. + (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that. + (RTLD_START): Prettify, and set __libc_stack_end properly. + (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef + and check for sym being NULL instead. + * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes + of stack space. + * sysdeps/sparc/sparc64/lshift.S: Likewise. + * sysdeps/sparc/sparc64/mul_1.S: Likewise. + * sysdeps/sparc/sparc64/rshift.S: Likewise. + * sysdeps/sparc/sparc64/submul_1.S: Likewise. + * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old + MEDANY code model %g4 usage. + * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old + MEDANY code model %g4 usage. + * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY + code model address formation. + * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do + include elf/ldsodefs.h + (DT_SPARC): Remove. + (elf_machine_matches_host): It is now EM_SPARCV9. + (elf_machine_dynamic): Clean up to remove ugly cast. + (elf_machine_fixup_plt): Rework for new V9 ABI, add support for + new PLT formats. + (elf_machine_rela): Don't do anything at all for R_SPARC_NONE. + Prettify rest of function. + [R_SPARC_COPY]: Check for sym being NULL. + [R_SPARC_32]: Handle it. + [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the + MEDMID code model. + [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the + MEDANY code model. + [R_SPARC_NONE]: Remove this case, as it is now checked earlier. + (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats. + Add profiling support. + (TRAMPOLINE_TEMPLATE): New macro. + (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that. + (RTLD_START): Prettify and set __libc_stack_end. + * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO): + Define. + * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64. + (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define. + * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove + unused variable scratch. + * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c + (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub): + Declare. + (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn + stub to rt_sigaction syscalls. Rewrite non-rt case to use correct + old format kernel sigaction structures. + * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move... + * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here. + * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix + ucontext include. + (_JMPBUF_UNWINDS): Define. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare + statfs64 structure, which is exactly the same as the normal one. + * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes + of stack. Use correct syscall trap number. Add branch prediction + settings to branch instructions. Remove old MEDANY code model %g4 + referneces for non-PIC. + * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add + __libc_longjmp and __libc_siglongjmp strong aliases. + * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64): + Also define to __no__readdir64_decl around readdir.c inclusion. + (__readdir64): Add strong alias. + * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit): + Set strong and weak names properly. - * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle - NDIGIT <= 0. +1998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-02-10 16:48 Philip Blundell <pb@nexus.co.uk> + * manual/Makefile (AWK): Default to gawk if standalone. - * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc) - if the programs weren't built. +1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-02-09 10:12 Philip Blundell <pb@nexus.co.uk> + * Makefile (distribute): Undo last change. + * Make-dist (+tsrc) [not subdir]: Also include indirection headers + for sysdep headers. + (+subdir-headers): Removed, unused. - * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have - FE_TONEAREST, soldier on regardless and do the best we can. - * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise. +1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-02-5 17:20 Philip Blundell <pb@nexus.co.uk> + * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use + $(do-install). - * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not - _STDIO_H, before including <bits/stdio_lim.h>. +1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added. + * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for + absolute name in $(config-sysdirs), can never happen. + ($(+sysdir_pfx)sysd-rules): Likewise. + * Makeconfig (full-config-sysdirs): Likewise. + (all-Subdirs-files): Prepend $(..). - * io/fts.c (fts_build): Don't try to use d_type if it doesn't + * configure.in: Don't check for absolute name in $add_ons_pfx, can + not happen. Let --enable-add-ons=yes work if no add-ons actually exist. - * sysdeps/arm/sys/ucontext.h: New file. - -1998-02-04 10:11 Philip Blundell <pb@nexus.co.uk> - - * manual/stdio.texi (Formatted Output Functions): Explicitly say - that the return value from snprintf() does not count the - terminating NUL as a character. - -1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com> - - * manual/users.texi: Rewrite to describe correct POSIX behaviour, - add description for sete[ug]id and general cleanup. - Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>. - -1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Makefile (parent-clean): Don't remove makefile fragments here. - (postclean): New variable. - (clean): Remove makefile fragments here. - (realclean distclean): Likewise. Pass sysdep-subdirs to sub-make. - (generated): Add isomac and isomanc.out. - * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if - avoid-generated is set. - (postclean-generated): Add soversion.mk. - ($(common-objpfx)version.mk): Don't include if avoid-generated is - set. - * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if - avoid-generated is set. - (common-generated): Add libc.so and libc.so$(libc.so-version). - (generated): Add versioned libraries. - (common-mostlyclean): Also remove %.so and %_pic.a. - * csu/Makefile (generated): Add abi-tag.h. - * db2/Makefile (extra-objs): Add getlong.o. - * elf/Makefile (generated): Add ld.so, ldd and - $(rtld-installed-name). - (others): Add ldconfig here instead of ldconfig.o to extra-objs. - * malloc/Makefile (generated): Add mtrace. - * po/Makefile: Don't include version.mk, not needed any more. - * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen. - * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h, - syscall.h -> sys/syscall.h. - (common-generated): Add s-proto.d. - (postclean-generated): Add sysd-syscalls. - * localedata/Makefile (test-output): Add all output files. - (generated): Add test-input and test-output. - (generated-dirs): Add all the dirs. - -1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Makefile (test-output, generated, generated-dirs): New - variables. - -1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com> - - * resolv/nss_dns/dns-host.c: Various code cleanups. - -1998-02-09 08:10 H.J. Lu <hjl@gnu.org> - - * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug. - From Philip Blundell <pb@nexus.co.uk>. - * resolv/nss_dns/dns-host.c (getanswer_r): Ditto. - -1998-02-08 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc. - Suggested by debian/sparc porters. - -1998-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests - for ecvt and fcvt. - -1998-02-10 16:32 Ulrich Drepper <drepper@happy.cygnus.com> - - * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and - __fxstat instead of stat and fstat. Use namespace clean __stpcpy. - - * signal/signal.h: Always define sigset_t if __need_sigset_t is - defined even if __USE_POSIX is not defined. - -1998-02-02 20:51 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch - to support obsolete tty major numbers correctly. - -1998-02-02 08:47 H.J. Lu <hjl@gnu.org> - - * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target - directory first and ignore install error. - - * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract - 128 from ptyno and fix a typo for the BSD style pty. - -1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all - syscalls.list's. - -1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add - getresuid and getresgid. - - * sysdeps/unix/sysv/linux/getresuid.c: New file. - * sysdeps/unix/sysv/linux/getresgid.c: New file. - - * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add - s_getres[ug]id. - - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. - -1998-02-02 08:11 H.J. Lu <hjl@gnu.org> - - * nscd/grpcache.c: Include <stdlib.h>. - -1998-02-01 16:01 H.J. Lu <hjl@gnu.org> - - * stdlib/atoll.c: Fix comments. - - * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr. - * sysdeps/posix/ttyname_r.c: Ditto. - -1998-02-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or - __USE_MISC, independent of __USE_UNIX98. - -1998-02-10 19:18 Ulrich Drepper <drepper@happy.cygnus.com> - - * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs): - Rename from __libc_have_rt_sigs and leave as COMMON data. - -1998-02-04 11:58 Richard Henderson <rth@twiddle.rth.home> - - * Makeconfig (CFLAGS-.os): Kill -fno-common. - * Makerules (libc.so): Prelink libc_pic.a, allocating commons. - - * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols. - * elf/rtld.map: New file. Needed to define the GLIBC_2.* - version symbols. - * include/libc-symbols.h (symbol_version, default_symbol_version): - Provide asm versions and correct !DO_VERSIONING versions. - * sysdeps/unix/make-syscalls.sh: Recognize version symbols in - the weak symbol list. - - * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs): - Rename from __libc_have_rt_sigs and leave as COMMON data. - * sysdeps/unix/sysv/linux/sigpending.c: Likewise. - * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. - * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise. - -1998-02-04 16:41 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * sunrpc/Makefile: Correct dependencies of rpcgen. - -1998-02-10 03:00 Ulrich Drepper <drepper@happy.cygnus.com> - - * nscd/Makefile: Fix test for available linuxthreads add-on. - Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>. - -1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown. - -1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/gnu/Makefile: Respect with-cvs variable. - - * manual/errno.texi (Error Messages): Correct description of - strerror_r. Pointed out by jonas@bagge.se. - -1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * manual/socket.texi (Host Address Functions): Clarify description - of inet_network. - -1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/grantpt.c (argv): Move const to toplevel. - (grantpt): Delete superfluous cast. - -1998-02-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on - elf/ldso_install instead of elf/subdir_install. - (elf/ldso_install): New target. - - * elf/Makefile (ldso_install): New target. - -1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change - of 1998-01-06. - -1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for - constant expressions. - -1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h" - for __nss_configure_lookup. - (output_hostent): Remove unused variable. - -1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * string/tst-inlcall.c: Fix format string. - -1998-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * inet/netinet/in.h: Rename second parameter of bindresvport to - avoid buggy gcc warning. [PR libc/412] - -1998-02-04 18:04 Richard Henderson <rth@cygnus.com> - - * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF. - * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos. - - * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval): - Follow POSIX and make tv_sec a time_t. - * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle - new tv64 syscall as well as fall back to tv32. - * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/select.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries. - - * include/rpcsvc/nis.h: New. Bounce to nis/rpcsvc. - * include/rpcsvc/nis_tags.h: Likewise. - * include/rpcsvc/nislib.h: Likewise. - -1998-02-02 01:12 Ulrich Drepper <drepper@cygnus.com> +1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * libc.map: Add _h_errno. - * inet/herrno.c: Make _h_errno weak alias. + * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra + continuations in command. - * login/Makefile (distribute): Add pty-internal.h. +1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * nscd/Makefile (distribute): Add all the files missing. + * libio/oldstdfiles.c (_IO_stdin_used): Update declaration. - * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs - are available. +1998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk> - * stdio-common/tstscanf.c: Rewrite a bit to continue after errors - and report status at the end. + * posix/wordexp-test.c: If expansion or substitution occurs + anywhere in a word, the entire word is subject to field-splitting. - * sysdeps/unix/sysv/linux/syscalls.list: Add lchown. + * posix/wordexp.c (parse_glob): Look for end of word instead of + end of field when deciding what to glob. + (field_split_word): New function, now the only place where + field-splitting is performed. + (parse_dollars): New parameter - tell the caller if + field-splitting should be performed on this word. - * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized - variable. - * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise. - -1998-01-03 20:47 Mark Kettenis <kettenis@phys.uva.nl> - - * configure.in: Fix --enable-add-ons code. - -1998-02-01 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch - by Rudolf Leitgeb <leitgeb@leland.stanford.edu>. - [PR libc/441] - - * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first - occurence in cache. Reported by Rudolf Leitgeb - <leitgeb@leland.stanford.edu>. - [PR libc/440] - -1998-02-01 21:18 Ulrich Drepper <drepper@cygnus.com> - - * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so - that it never is EINTR (which is tested for in _IO_vfscanf). + * posix/wordexp-test.c (testit): Only call wordfree if wordexp + succeeded (or failed with WRDE_NOSPACE). - * Makefile.in: Call sub-make with CVSOPTS. +1998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk> - * elf/Makefile (distribute): Add dl-procinfo.h. + * posix/wordexp.c (wordexp): Don't convert IFS characters to + blanks. - * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S. + * posix/wordexp-test.c: Words not the result of expansion or + substitution should remain unchanged. -1998-02-01 15:54 Ulrich Drepper <drepper@cygnus.com> +1998-09-15 Ulrich Drepper <drepper@cygnus.com> - * version.h (VERSION): Bump to 2.0.92. + * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP] + (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy. -1998-01-31 Phil Blundell <philb@gnu.org> +1998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak - alias for __new_sys_siglist. + * stdio-common/Makefile: Include Makeconfig so that + $(inst_includedir) is defined. -1998-02-01 00:53 Ulrich Drepper <drepper@cygnus.com> +1998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and - getgrgid_r.c if thread package is available. - * pwd/Makefile: Likewise. - * grp/getgrnam_r.c: Remove USE_NSCD definition. - * grp/getgrgid_r.c: Likewise. - * pwd/getpwnam_r.c: Likewise. - * pwd/getpwuid_r.c: Likewise. + * io/pwd.c: Include <mcheck.h>. -1998-01-31 23:46 Ulrich Drepper <drepper@cygnus.com> +1998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com> - * nss/getXXbyYY_r.c: If NSS function reports too small buffer return - with error to allow user intervention. - * nss/getXXent_r.c: Likewise. + * nscd/pwdcache.c (save_pwd): Correct copying. + * nscd/grpcache.c (save_grp): Likewise. -1998-01-31 21:18 Ulrich Drepper <drepper@cygnus.com> +1998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after - AT_PLATFORM string. Pretty print AT_BASE info. + * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call. + (free_pwd): Adjust for this change. + * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call. + (free_grp): Adjust for this change. - * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>. - (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info. - * sysdeps/generic/dl-procinfo.h: New file. - * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file. +1998-09-14 Ulrich Drepper <drepper@cygnus.com> -1998-01-31 20:52 Ulrich Drepper <drepper@cygnus.com> + * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size. - * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication. +1998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com> - * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach - thread and not pthread_detach. + * stdio-common/Makefile (headers): Remove bits/stdio_lim.h. + (install-others): Add bits/stdio_lim.h. + Add rule to install bits/stdio_lim.h. - * nscd/nscd.c: Rewrite to use argp instead of getopt. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file. -1998-01-31 Phil Blundell <philb@gnu.org> + * Makefile (distribute): Add include/sys/mman.h. - * configure.in: Add --without-cvs option to suppress automatic - checkin of regenerated files. - * config.make.in: Likewise. - * Makefile: Respect with-cvs setting. - * Makerules: Likewise. - - * configure.in: Allow the standalone ARM port to be configured. - -1998-01-31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * grp/getgrgid_r.c: Define USE_NSCD. - * grp/getgrnam_r.c: Likewise. - * pwd/getpwuid_r.c: Likewise. - * pwd/getpwnam_r.c: Likewise. - - * sysdeps/unix/inet/Subdirs: Add nscd subdir. - - * nss/getXXbyYY_r.c: Try at first nscd. - - * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd). - * nscd/connections.c: New file. - * nscd/dbg_log.c: New file. - * nscd/dbg_log.h: New file. - * nscd/grpcache.c: New file. - * nscd/nscd.c: New file. - * nscd/nscd.h: New file. - * nscd/nscd_conf.c: New file. - * nscd/nscd_stat.c: New file. - * nscd/pwdcache.c: New file. - - * nscd/nscd_getgr_r.c: New, client code, linked into libc. - * nscd/nscd_getpw_r.c: Likewise. - * nscd/nscd_proto.h: New, prototypes for client functions. + * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S. + * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h. + * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h. - * nscd/nscd.conf: New, example for a configuration file. - * nscd/nscd.init: New, example for a startup script. - - * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to - avoid deadlocks. - * nscd/getgrnam_r.c: Likewise. - * nscd/getpwnam_r.c: Likewise. - * nscd/getpwuid_r.c: Likewise. - -1998-01-31 11:44 Ulrich Drepper <drepper@cygnus.com> - - * intl/Makefile: Use CVSOPTS in cvs invocation. - * po/Makefile: Likewise. - * posix/Makefile: Likewise. - * stdlib/Makefile: Likewise. - -1998-01-31 11:18 Ulrich Drepper <drepper@cygnus.com> - - * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly. - [PR libc/410] - * misc/Makefile (tests): Add tst-efgcvt. - * misc/tst-efgcvt.c: New file. - -1998-01-31 00:21 Ulrich Drepper <drepper@cygnus.com> - - * posix/regex.c: Add some more cleanups by Akim Demaille. + * grp/initgroups.c: Include stdlib.h. + Patch by Zack Weinberg. -1998-01-30 23:55 Ulrich Drepper <drepper@cygnus.com> +1998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk> - * signal/signal.h: Revert last change. - * string/strsignal.c: Regard signal number NSGI as illegal. - * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG - members. + * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour + for field-splitting :abc: is correct, and that two fields should + result. Revert tests to reflect this. -1998-01-30 23:37 Ulrich Drepper <drepper@cygnus.com> + * posix/wordexp.c (w_emptyword): Remove function. + (exec_comm): Don't use w_emptyword. + (parse_param): Likewise. - * Makefile.in: Add comment about CVSOPTS Makefile variable. - * Makerules: Use CVSOPTS in cvs invocation. - * Makefile: Likewise. - * MakeTAGS: Likewise. - * Make-dist: Likewise. +1998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com> -1998-01-30 22:37 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/arm/fpu/Dist: Moved to... + * sysdeps/arm/Dist: ...here. + * sysdeps/posix/Dist: Removed. + * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to... + * sysdeps/unix/sysv/linux/i386/Dist: ...here. - * sysdeps/generic/memmem.c: Correct last change. +1998-08-26 Geoff Keating <geoffk@ozemail.com.au> -1998-01-30 22:12 Ulrich Drepper <drepper@cygnus.com> + * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define - CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1. +1998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com> -1998-01-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * wcsmbs/wcsmbs-tst1.c: Include stdlib.h. - * nis/ypclnt.c: Try at first to use the binding file from ypbind - before using RPC. +1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> -1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * libc-work/nis/nss_nisplus/nisplus-service.c + (_nss_nisplus_parse_servent): Convert port in network byte order. - * manual/memory.texi (Heap Consistency Checking): mcheck is - declared in <mcheck.h>. - Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438] +1998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> -1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc, + to provide only malloc and calloc. + * include/stdlib.h: Support the above. + * string/bits/string2.h: Use __need_malloc_and_calloc when + including stdlib.h. + (__string2_1bptr_p): Avoid -Wbad-function-cast warnings. - * sysdeps/generic/memmem.c (memmem): An empty needle is at the - beginning of haystack. + * iconvdata/iso-2022-jp.c: Include <stdlib.h>. + * iconvdata/iso646.c: Include <stdlib.h>. -1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> - * nss/nss_files/files-service.c: Correct last patch. + * sunrpc/rpc_cout.c: Add braces around ambiguous else. + * sysdeps/libm-ieee754/w_pow.c: Likewise. + * sysdeps/libm-ieee754/w_powf.c: Likewise. + * sysdeps/libm-ieee754/w_powl.c: Likewise. -1998-01-30 21:29 Ulrich Drepper <drepper@cygnus.com> +1998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> - * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define - __libc_have_rt_sigs. - * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before - including <bits/setjmp.h>. - * sysdeps/sparc/sparc32/setjmp.S: Likewise. - Patch from the Debian glibc/SPARC package. + * stdio-common/stdio_lim.h.in: New file. All parameters + are adjustable at build time. + * Rules: Add a rule to build bits/stdio_lim.h from + stdio-common/stdio_lim.h.in. (It has to be in Rules so that + all subdirectories know how to make the file. It can't be + in Makerules because then it gets built at top level and the + dependencies are wrong.) -1997-12-12 07:57 H.J. Lu <hjl@gnu.org> + * stdio-common/Makefile (distribute): Add stdio_lim.h.in. + * sysdeps/unix/sysv/linux/Makefile: Delete rules to make + stdio_lim.h. + * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed. + * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in. + * sysdeps/posix/Makefile: Removed. + * sysdeps/posix/mk-stdiolim.c: Removed. + * sysdeps/generic/bits/stdio_lim.h: Removed. - * sysdeps/alpha/bzero.S: Fix a typo. - * sysdeps/alpha/htonl.S: Ditto. - * sysdeps/alpha/htons.S: Ditto. +1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-01-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * argp/argp-help.c: Fixup indentation. + * nss/nss_files/files-alias.c: Quiet -Wparentheses warning. + * resolv/nss_dns/dns-network.c: Likewise. + * resolv/res_send.c: Likewise. + * rt/aio_cancel.c: Likewise. + * rt/aio_misc.c: Likewise. - * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query. +1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-01-30 19:58 Ulrich Drepper <drepper@cygnus.com> + * Makefile (install-symbolic-link): Remove the link list file at last. + * Makerules (install-clean-symbolic-link-list): Removed. - * include/cpio.h: Move to ... - * posix/cpio.h: ...here. +1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * locale/programs/ld-collate.c: Fix typo. + * timezone/tst-timezone.c: Print time in UTC to get consistent + output. - * signal/signal.h: Declare _sys_siglist with NSIG+1 elements. +1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * stdio-common/tiformat.c: Add checks for %#.0o and friends. + * elf/rtld.c (_dl_rpath): Removed. + * elf/dl-support.c (_dl_path): Removed. + * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath. + (CFLAGS-dl-support.c): Removed. - * login/utmp_file.c (pututline_file): Don't always report success - if similar entry is found. Patch by Mark M. Kettenis. + * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All + uses changed. + (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH, + instead of appending it to the main map's rpath info. + (_dl_map_object): Consistently use LD_LIBRARY_PATH after all + DT_RPATHs. This makes it effective again. + (decompose_rpath): Remove second parameter, callers changed. + (fillin_rpath): Allocate enough space in curwd. + (expand_dynamic_string_token): Cope with get_origin returning -1. -1998-01-30 16:06 Philip Blundell <pb@nexus.co.uk> +1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - * manual/Makefile: Don't try to install the info files if makeinfo - is not available. + * libc-work/nis/nss_compat/compat-pwd.c: Add support for + passwd.adjunct. -1998-01-30 12:05 Philip Blundell <pb@nexus.co.uk> + * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for + invalid password. - * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the - kernel's network ioctls, rather than using <linux/sockios.h> to - get them. This way we are sure of maintaining compatibility if - the kernel interface should change. +1998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com> -1998-01-30 15:52 Ulrich Drepper <drepper@cygnus.com> + * locale/programs/locale.c: Update dates. - * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h. +1998-09-13 Mark Kettenis <kettenis@phys.uva.nl> -1998-01-25 19:54 Philip Blundell <Philip.Blundell@pobox.com> + * sysdeps/generic/bits/types.h: Include <features.h>. Make sure + size_t is defined. Some reordering of definitions to make + maintaining this file in parallel with the linux-specific file easier. - * sysdeps/unix/sysv/linux/netrose/rose.h: New file. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it. +1998-09-13 Ulrich Drepper <drepper@cygnus.com> -1998-01-27 22:29 Zack Weinberg <zack@rabi.phys.columbia.edu> + * io/pwd.c (main): Add call to mtrace. - Implement System V pseudoterminal handling. + * malloc/mtrace.pl: Quote @ in string. - * login/Makefile - (routines): Add getpt, grantpt, unlockpt, ptsname. - (libutil-routines): Remove pty. Add openpty, forkpty. - (distribute): New internal header pty-internal.h. - (others): Add the helper program, pt_chown. - (install-others): Install it, in $(libexecdir), mode 4755. +1998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk> - * login/pty-internal.h: New file. - * login/openpty.c: New file. - * login/forkpty.c: New file. - * login/programs/pt_chown.c: New file. + * posix/wordexp.c (parse_arith): Fix memory leaks. + (exec_comm): Likewise. + (parse_param): Likewise. + (wordexp): Likewise. + (exec_comm): Reduce number of function return points. + (parse_param): Likewise. + (wordexp): Likewise. - * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r. - * stdlib/stdlib.h: Prototype them. +1998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk> - * config.make.in: Define $(libexecdir). - * Makeconfig: Define $(inst_libexecdir). + * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should + yield three fields, not two. Test both parameter expansion and + command substitution for correct field-splitting behaviour. - * sysdeps/generic/pty.c: Removed. - * sysdeps/unix/sysv/linux/pty.c: Removed. + * posix/wordexp.c (w_emptyword): New function. + (parse_param): Use it. + (exec_comm): Likewise, for consistency with the way parse_param + splits fields. + (parse_param): Fix some memory leaks. - * sysdeps/generic/getpt.c: Stub out. - * sysdeps/generic/grantpt.c: Likewise. - * sysdeps/generic/ptsname.c: Likewise. - * sysdeps/generic/unlockpt.c: Likewise. +1998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au> - * sysdeps/unix/grantpt.c: New file. - * sysdeps/unix/bsd/getpt.c: New file. - * sysdeps/unix/bsd/unlockpt.c: New file. - * sysdeps/unix/sysv/linux/getpt.c: New file. - * sysdeps/unix/sysv/linux/ptsname.c: New file. - * sysdeps/unix/sysv/linux/unlockpt.c: New file. + * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI): + Don't mark asm `volatile'. + (__elf_machine_runtime_setup): Clear the last partial block in the PLT + from the data cache too. Assume it isn't in the instruction cache yet. + (__elf_machine_fixup_plt): Clear the modified address from the caches. -1998-01-29 23:56 Ulrich Drepper <drepper@cygnus.com> +1998-09-12 Mark Kettenis <kettenis@phys.uva.nl> - * localedata/locales/ru_RU: Fix YESEXPR. Patch by lav@yars.free.net. + * sysdeps/generic/segfault.c (install_handler): Install signal + handler with SA_ONSTACK instead of setting the stack flags to + SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not + defined. -1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> - * nss/Makefile (tests): Add rule for test-netdb.c. + * signal/signal.h: Fix multiple inclusion guard to cover the + entire file. + * wcsmbs/wchar.h: Remove prototype of internal function + __mbsrtowcs. + * sysdeps/i386/i486/bits/string.h (memchr): Don't do + arithmetic on `void *'. - * nss/test-netdb.c: New file. +1998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk> -1998-01-29 02:38 Ulrich Drepper <drepper@cygnus.com> + * posix/wordexp-test.c: Fix wrong tests. Add new tests. - * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is - really kept as a variable. Patch by Richard Henderson, - reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>. + * posix/wordexp.c (wordexp): Perform word-splitting instead of + field-splitting here. + (wordexp): If out of memory mid-word, free the word (but still + leave pwordexp alone for caller to see). + (parse_param): Allow for zero-length fields (smarter checking of + memory allocation failure). + (w_addword): Convert NULL words to "". + (wordexp): Convert left-over IFS characters to blanks (like bash). - * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading. - * elf/genrtldtbl.awk: Mark machine dependent directory of generated - entries as not existing. +1998-09-11 Ulrich Drepper <drepper@cygnus.com> -1998-01-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * configure.in: Use test -f instead of test -e. + Patch by John Tobey <jtobey@banta-im.com>. - * stdio-common/vfprintf.c (process_arg): Fix printing of octal - zero in alternate form with precision of zero, which must produce - "0". Add braces to avoid ambiguous `else'. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file. + * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file. + * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file. + * sysdeps/unix/sysv/linux/sigstack.c: Fix typo. + * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file. + * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file. + Patches by John Tobey <jtobey@banta-im.com>. + + * time/strftime.c (my_strftime): Delay use of *tp values until + latest possible point to allow partly initialized structures + (e.g., from strptime). + + * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO, + and NATS-SEFI. + Define *-routines variables for new modules. + (distribute): Add .c files for new modules. + (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h, + and nats-sefi.h. + Add rules for header generation. + * iconvdata/gconv-modules: Add entries for new modules. + * iconvdata/iso_10367-box.c: New file. + * iconvdata/mac-is.c: New file. + * iconvdata/nats-dano.c: New file. + * iconvdata/nats-sefi.c: New file. + +1998-04-30 18:20 H.J. Lu <hjl@gnu.org> + + * elf/dl-load.c (_dl_init_paths): Don't check the dynamic + loader if PIC is not defined. + +1998-09-11 Ulrich Drepper <drepper@cygnus.com> + + * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS, + ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS, + INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT, + and ISO_5428. + Define *-routines variables for new modules. + (distribute): Add .c files for new modules. + (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h, + ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h, + greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h, + iso_5427.h, iso_5427-ext.h, and iso_5428.h. + Add rules for header generation. + * iconvdata/gconv-modules: Add entries for new modules. + * iconvdata/csn_369103.c: New file. + * iconvdata/cwi.c: New file. + * iconvdata/dec-mcs.c: New file. + * iconvdata/ecma-cyrillic.c: New file. + * iconvdata/gost_19768-74.c: New file. + * iconvdata/greek-ccitt.c: New file. + * iconvdata/greek7-old.c: New file. + * iconvdata/greek7.c: New file. + * iconvdata/inis-8.c: New file. + * iconvdata/inis-cyrillic.c: New file. + * iconvdata/inis.c: New file. + * iconvdata/iso6937-2.c: New file. + * iconvdata/iso_2033.c: New file. + * iconvdata/iso_5427-ext.c: New file. + * iconvdata/iso_5427.c: New file. + * iconvdata/iso_5428.c: New file. + + * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9 + entries. + Convert U02dd correctly. + +1998-09-11 20:46 Richard Henderson <rth@cygnus.com> + + * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to + _dl_main_searchlist not _dl_default_scope to _dl_init_next. + * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise. + * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise. + +1998-09-11 Ulrich Drepper <drepper@cygnus.com> + + * resolv/res_init.c (res_init): Handle resolv.conf file with only + one nameserver correctly. Patch by HJ Lu. + + * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449, + and ANSI_X3.110. + Define *-routines variables for new modules. + (distribute): Add .c files for new modules. + (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h. + Add rules for hedaer generation. + * iconvdata/gconv-modules: Add entries for new modules. Pretty print. + * iconvdata/ansi_x3.110.c: New file. + * iconvdata/asmo_449.c: New file. + * iconvdata/baltic.c: New file. + * iconvdata/iec_p27-1.c: New file. + + * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81 + entries. + Convert U02dc correctly. + + * math/atest-exp.c: Add parentheses to avoid gcc warnings. + * math/atest-exp2.c: Likewise. + * math/atest-sincos.c: Likewise. + + * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE + is defined. -1998-01-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> +1998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null - problem with strncpy. - * nis/nss_compat/compat-pwd.c: Likewise. - * nis/nss_compat/comapt-spwd.c: Likewise. + * string/strcoll.c: Optimize a few expressions. + * string/strxfrm.c: Likewise. -1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * assert/assert.h (assert_perror): Correct test for errnum. Patch - by uch@nop.or.jp. [PR libc/437] + * manual/locale.texi: Fix typos. -1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1998-09-10 Ulrich Drepper <drepper@cygnus.com> - * nis/nis_cache.c: Include <unistd.h> for declaration of close. + * stdlib/random_r.c (__setstate_r): Allow call with same state + array as currently used (PR libc/774). -1998-01-06 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * include/limits.h: Include gcc's header even if this file is + found more than once before it (PR libc/778) - * stdio-common/test-popen.c: Include <errno.h>. + * sysdeps/unix/sysv/linux/Makefile [subdir==misc] + (sysdep_headers): Remove sys/debugreg.h. + * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc] + (sysdep_headers): Add sys/debugreg.h. + * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed. + * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file. - * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for - close. + * stdio-common/tmpnam.c: Move local static variable buf to + toplevel and rename to tmpnam_buffer to ease debugging. + Patch by Joe Keane <jgk@jgk.org>. + Optimize s == NULL case a bit. - * inet/getnetgrent_r.c: Include <errno.h>. + * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap + correction. - * db2/db/db_conv.c: Include <string.h> for memcpy. +1998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com> - * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h> - so that memcpy is declared. + * resolv/res_init.c (res_init): Initialize _res.nscount and + _res.nsaddr.sin_port differently for the can when no loopback + is available to allow immediate timeout in non-networking environments. + Patch by Cristian Gafton <gafton@redhat.com>. - * iconv/iconv_open.c: Include <stdlib.h> for alloca. +1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * misc/init-misc.c: Remove unneeded inclusion of <errno.h>. + * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL + BAR and not EM DASH. + * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0). + * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF). + Fixes PR libc/717. -1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com> - * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer - overflow while reading line with fgets. - * grp/fgetgrent_r.c (__fgetgrent_r): Likewise. + * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files + for test. + * timezone/tst-timezone.c (tests): Fix typo in last patch. -1998-01-27 00:46 Ulrich Drepper <drepper@cygnus.com> + * time/tzfile.c (__tzfile_read): Handle case when there are no + transitions. Set __timezone based on computed offset. + * time/tzset.c (tzset_internal): Set __timezone before returning. - * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to - unsigned short, not short. - Reported by Andreas Jaeger. + * time/tzset.c (tzset_internal): Optimize handling of local string + copy. -1998-01-06 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo - (ccept->accept). + * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR + libc/776). - * sysdeps/generic/inttypes.h: Fix spelling. +1998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com> -1998-01-04 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * math/libm-test.c (exp10_test): Adapt epsilons for powerpc. + (csqrt_test): Likewise. + * sysdeps/powerpc/bits/fenv.h: Add parens. - * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h. +1998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h. + * sysdeps/powerpc/dl-start.S (_start): Pass pointer to + _dl_main_searchlist not _dl_default_scope to _dl_init_next. + Patch by Benjamin Kosnik <bkoz@cygnus.com>. -1998-01-27 00:30 Ulrich Drepper <drepper@cygnus.com> +1998-09-09 Mark Kettenis <kettenis@phys.uva.nl> - * stdio-common/printf.h (struct print_info): Add new bitfield is_char. - * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char - field for hh modifier. - * stdio-common/vfprint.c: Use is_char field and do not depend in - is_short having the value 2. - Bug reported by Andreas Jaeger. + * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is + the special `-1' pointer. -1998-01-05 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com> - * libio/freopen.c (freopen): Call _IO_old_freopen only if defined - PIC && DO_VERSIONING. + * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function + inline. -1998-01-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-09-07 Paul Eggert <eggert@twinsun.com> - * Rules: Add rules for $(common-objpfx)dummy$o. + * time/mktime.c (__EXTENSIONS__): Define if not defined. + (_REENTRANT): Remove. It has undesirable consequences in + Solaris 2.6 (e.g. it turns off the putc macro). Defining + __EXTENSIONS__ makes localtime_r and gmtime_r visible, which + is what we want. + * time/strftime.c: Likewise. -1998-01-26 Richard Henderson <rth@cygnus.com> +1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the - unimplemented OSF/1 definitions so that they are not accidentally seen. + * elf/dl-error.c: Fix spelling. - * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration - of the trampoline function into the macro. - * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change; - kernel 2.1.82 has this fixed. +1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file. - * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file. + * stdlib/strfmon.c: Quiet -Wparentheses warnings. + * stdio-common/_itoa.c: Likewise. + * stdio-common/printf_fp.c: Likewise. + * stdio-common/vfscanf.c: Likewise. + * wcsmbs/wcstok.c: Likewise. + * sysdeps/generic/glob.c: Likewise. + * posix/getopt.c: Likewise. + * sysdeps/posix/getaddrinfo.c: Likewise. + * posix/wordexp.c: Likewise. + * io/ftw.c: Likewise. + * io/fts.c: Likewise. + * misc/getpass.c: Likewise. + * iconv/gconv_conf.c: Likewise. + * argp/argp-fmtstream.c: Likewise. + * argp/argp-help.c: Likewise. + * elf/dl-load.c: Likewise. + * locale/programs/stringtrans.c: Likewise. + * catgets/gencat.c: Likewise. + * posix/getconf.c: Likewise. + * iconv/gconv_conf.c: Likewise. + * iconv/iconv_prog.c: Likewise. -1998-01-26 Ulrich Drepper <drepper@cygnus.com> + * string/strcoll.c: Optimize a few expressions. + * string/strxfrm.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to - support sigaction on kernels > 2.1.7x. +1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-01-01 13:52 Ulrich Drepper <drepper@cygnus.com> + * elf/dl-open.c (dl_open_worker): Move decl of new_global up one + level to avoid uninit variable warning. - * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file - if it is empty. +1998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file. - Patch by David Engel <david@sw.ods.com>. + * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist + instead of _dl_default_scope[2] as argument to _dl_init_next. - * configure.in: Fix another typo in --enable-add-ons code. + * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with + C9x macro. -1998-01-26 03:48 Ulrich Drepper <drepper@cygnus.com> +1998-09-08 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/siglist.c: Add copyright text. + Fix compatibility problems introduced in last change. + * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is + defined. + * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add + -DWEAK_GMON_START to CFLAGS-initfini.s. -1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * elf/dl-object.c (_dl_new_object): Store map address in + _dl_loaded if _dl_loaded is NULL. + * elf/rtld.c (dl_main): Don't update _dl_loaded here. - * nss/nss_files/files-network.c: Correct order of parameters for - getnetbyaddr. + * sysdeps/generic/setrlimit64.c: Remove stub warning. -1998-01-26 00:57 Ulrich Drepper <drepper@cygnus.com> +1998-09-07 Ulrich Drepper <drepper@cygnus.com> - * db2/Makefile (routines): Add os_alloc. - * db2/db.h: Update from db-2.3.16. - * db2/db_185.h: Likewise. - * db2/db_int.h: Likewise. - * db2/btree/bt_close.c: Likewise. + * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc + quiet. * db2/btree/bt_cursor.c: Likewise. - * db2/btree/bt_delete.c: Likewise. - * db2/btree/bt_open.c: Likewise. - * db2/btree/bt_page.c: Likewise. - * db2/btree/bt_put.c: Likewise. - * db2/btree/bt_rec.c: Likewise. - * db2/btree/bt_recno.c: Likewise. - * db2/btree/btree_auto.c: Likewise. - * db2/common/db_appinit.c: Likewise. - * db2/common/db_apprec.c: Likewise. - * db2/common/db_err.c: Likewise. - * db2/common/db_region.c: Likewise. - * db2/common/db_shash.c: Likewise. + * db2/common/db_region.db_c: Likewise. + * db2/common/db_salloc.db_c: Likewise. * db2/db/db.c: Likewise. - * db2/db/db_auto.c: Likewise. - * db2/db/db_conv.c: Likewise. - * db2/db/db_dispatch.c: Likewise. - * db2/db/db_dup.c: Likewise. - * db2/db/db_pr.c: Likewise. * db2/db/db_rec.c: Likewise. - * db2/db185/db185.c: Likewise. - * db2/dbm/dbm.c: Likewise. * db2/hash/hash.c: Likewise. - * db2/hash/hash_auto.c: Likewise. - * db2/hash/hash_dup.c: Likewise. * db2/hash/hash_page.c: Likewise. * db2/hash/hash_rec.c: Likewise. - * db2/include/btree_ext.h: Likewise. - * db2/include/clib_ext.h: Likewise. - * db2/include/common_ext.h: Likewise. - * db2/include/db.h.src: Likewise. - * db2/include/db_185.h.src: Likewise. - * db2/include/db_am.h: Likewise. - * db2/include/db_ext.h: Likewise. - * db2/include/db_int.h.src: Likewise. - * db2/include/hash_ext.h: Likewise. - * db2/include/lock_ext.h: Likewise. - * db2/include/log.h: Likewise. - * db2/include/log_auto.h: Likewise. - * db2/include/log_ext.h: Likewise. - * db2/include/mp.h: Likewise. - * db2/include/mp_ext.h: Likewise. - * db2/include/mutex_ext.h: Likewise. - * db2/include/os_ext.h: Likewise. - * db2/include/os_func.h: Likewise. - * db2/include/txn_ext.h: Likewise. - * db2/lock/lock.c: Likewise. - * db2/lock/lock_util.c: Likewise. - * db2/log/log.c: Likewise. - * db2/log/log.src: Likewise. - * db2/log/log_archive.c: Likewise. - * db2/log/log_auto.c: Likewise. + * db2/log/log_findckp.c: Likewise. * db2/log/log_get.c: Likewise. * db2/log/log_put.c: Likewise. - * db2/log/log_rec.c: Likewise. - * db2/log/log_register.c: Likewise. - * db2/mp/mp_bh.c: Likewise. * db2/mp/mp_fget.c: Likewise. - * db2/mp/mp_fopen.c: Likewise. * db2/mp/mp_fput.c: Likewise. - * db2/mp/mp_pr.c: Likewise. - * db2/mp/mp_sync.c: Likewise. - * db2/mutex/mutex.c: Likewise. - * db2/os/os_alloc.c: Likewise. - * db2/os/os_config.c: Likewise. - * db2/os/os_stat.c: Likewise. - * db2/progs/db_checkpoint/db_checkpoint.c: Likewise. - * db2/progs/db_deadlock/db_deadlock.c: Likewise. - * db2/progs/db_load/db_load.c: Likewise. - * db2/progs/db_printlog/db_printlog.c: Likewise. - * db2/progs/db_recover/db_recover.c: Likewise. - * db2/progs/db_stat/db_stat.c: Likewise. - * db2/txn/txn.c: Likewise. - - * elf/dl-close.c (_dl_close): Rename inner variable named map to imap. - Unmap memory blocks in reverse order of allocation. - Call munmap with load address added to offset. - Bug reported by Miguel de Icaza. - - * locale/programs/ld-collate.c (collate_end_weight): Correctly fill - up weight array. - - * localedata/locales/cs_CZ: Update by Michael Mraka - <michael@informatics.muni.cz>. - - * misc/sys/syslog.h: Reformat a bit. Don't declare vsyslog unless - __USE_BSD. - - * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while - reading line with fgets. - * nis/nss_compat/compat-pwd.c: Likewise. - * nis/nss_compat/compat-spwd.c: Likewise. - * nss/nss_files/files-XXX.c: Likewise. - * nss/nss_files/files-alias.c: Likewise. - * shadow/fgetspent_r.c: Likewise. - - * string/strerror_r.c: Correct comment. Patch by Andreas Jaeger. - - * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV. - * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. - - * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for - FP register content in ucontext_t. - -1998-01-22 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/libm-ieee754/s_modfl.c (modf): Correct - calculation. Patch by Markus Schoder - <Markus.Schoder@dresdner-bank.de>. - - * math/libm-test.c (modf_test): Add more tests for modf. - - * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and - munlock according to Unix98. - -1998-01-25 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to - AF_INET. - -1998-01-21 07:22 H.J. Lu <hjl@gnu.org> - - * sysdeps/posix/ttyname.c: Handle symbolic links. - * sysdeps/posix/ttyname_r.c: Ditto. - -1998-01-25 19:39 Ulrich Drepper <drepper@cygnus.com> - - * db2/makedb.c (process_input): Write terminating \0 for value. - (print_database): Simply print value string, don't use length. - -1998-01-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * nss/nsswitch.c (__nss_configure_lookup): Correct test for early - exit of loop. - -1998-01-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * nis/ypclnt.c: Don't set dom_client to NULL, or we will not - close all sockets. - -1998-01-25 14:54 Ulrich Drepper <drepper@cygnus.com> - - * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and - sigset. - * signal/sighold.c: New file. - * signal/sigrelse.c: New file. - * sysdeps/generic/sigignore.c: New file. - * sysdeps/generic/sigset.c: New file. - * sysdeps/posix/sigignore.c: New file. - * sysdeps/posix/sigset.c: New file. - * signal/signal.h: Add prototypes for new functions. - - * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD. - * sysdeps/unix/sysv/linux/bits/signum.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise. - -1998-01-23 00:16 Tim Waugh <tim@cyberelk.demon.co.uk> - - * posix/wordexp.c: Added IFS field-splitting in parameter and - command substitution. Fixed an IFS-related bug that caused an - infinite loop. - -1998-01-25 12:38 Ulrich Drepper <drepper@cygnus.com> - - * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext, - and swapcontext. - * stdlib/ucontext.h: Correct prototypes. - * sysdeps/generic/getcontext.c: New file. - * sysdeps/generic/setcontext.c: New file. - * sysdeps/generic/makecontext.c: New file. - * sysdeps/generic/swapcontext.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed. - -1998-01-25 04:07 Ulrich Drepper <drepper@cygnus.com> - - * resource/sys/resource.h: Remove #include of ulimit.h which is - not allowed by SUSv2 and not available on other systems. - * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h. - - * streams/Makefile: New file. - * streams/stropts.h: New file. - * sysdeps/generic/bits/stropts.h: New file. - * sysdeps/generic/isastream.c: New file. - * sysdeps/generic/getmsg.c: New file. - * sysdeps/generic/getpmsg.c: New file. - * sysdeps/generic/putmsg.c: New file. - * sysdeps/generic/putpmsg.c: New file. - * sysdeps/generic/fattach.c: New file. - * sysdeps/generic/fdetach.c: New file. - * sysdeps/unix/inet/Subdirs: Add streams. - * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and - __t_uscalar_t. - * sysdeps/unix/sysv/linux/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise. - - * sysdeps/mach/_strerror.c: Follow changes of generic version to - handle small buffers correctly. - -1998-01-24 17:31 H.J. Lu <hjl@gnu.org> - - * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): - Remove the 3rd arg and add declaration for _dl_runtime_resolve - and _dl_runtime_profile. - -1998-01-25 02:42 Ulrich Drepper <drepper@cygnus.com> - - * include/cpio.h: New file. Mainly copied from GNU cpio. - * posix/Makefile (headers): Add cpio.h. - -1998-01-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * nis/Makefile: Distribute nis_cache2.h, add nis cache functions - to routines. - * nis/nis_cache.c: New file. - * nis/nis_cache2.h: New file. - * nis/nis_cache2_xdr.c: New file. - * nis/nis_call.c: Changes for cache2_info parameter. - * nis/nis_checkpoint.c: Likewise. - * nis/nis_intern.h: Likewise. - * nis/nis_mkdir.c: Likewise. - * nis/nis_ping.c: Likewise. - * nis/nis_rmdir.c: Likewise. - * nis/nis_server.c: Likewise. - * nis/nis_util.c: Likewise. - -1997-12-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and - return/errnop codes. - * nis/nss_nisplus/nisplus-ethers.c: Likewise. - * nis/nss_nisplus/nisplus-grp.c: Likewise. - * nis/nss_nisplus/nisplus-hosts.c: Likewise. - * nis/nss_nisplus/nisplus-proto.c: Likewise. - * nis/nss_nisplus/nisplus-publickey.c: Likewise. - * nis/nss_nisplus/nisplus-pwd.c: Likewise. - * nis/nss_nisplus/nisplus-rpc.c: Likewise - * nis/nss_nisplus/nisplus-service.c: Likewise. - * nis/nss_nisplus/nisplus-spwd.c: Likewise. - -1997-12-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno(). - * nis/nss_nis/nis-ethers.c: Likewise. - * nis/nss_nis/nis-grp.c: Likewise. - * nis/nss_nis/nis-hosts.c: Likewise. - * nis/nss_nis/nis-network.c: Likewise. - * nis/nss_nis/nis-proto.c: Likewise. - * nis/nss_nis/nis-hosts.c: Likewise. - * nis/nss_nis/nis-network.c: Likewise. - * nis/nss_nis/nis-proto.c: Likewise. - * nis/nss_nis/nis-publickey.c: Likewise. - * nis/nss_nis/nis-pwd.c: Likewise. - * nis/nss_nis/nis-rpc.c: Likewise. - * nis/nss_nis/nis-service.c: Likewise. - * nis/nss_nis/nis-spwd.c: Likewise. - -1998-01-24 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen): - Added to follow latest kernel development. - -1998-01-24 15:13 Ulrich Drepper <drepper@happy.cygnus.com> - - * nss/db-Makefile: Handle empty and comment lines better. - ($(VAR_DB)/services.db): Generate entries with missing protocol - value. - -1998-01-23 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * nss/nss_files/files-service.c (getservbyport): Allow proto == - NULL. - (getservbyname): Allow proto == NULL. - Pointed out by David N. Welton <davidw@gate.cks.com>. - [PR libc/430]. - -1998-01-24 11:34 Ulrich Drepper <drepper@happy.cygnus.com> - - * nis/nislib/nislib.h: Finally removed. - - * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's - C compiler. From Kaveh Ghazi. - (TYPE_MINIMUM): Define. - (TYPE_MAXIMUM): Define. - (TIME_T_MIN): Use TYPE_MINIMUM. - (TIME_T_MAX): Use TYPE_MAXIMUM. - Patch by Jim Meyering <meyering@ascend.com>. - -1998-01-22 00:55 Ulrich Drepper <drepper@happy.cygnus.com> - - * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo, - __pread64, __pwrite64, and __getpid. - - * rt/aio_misc.c: Use pread and pwrite instead of __ protected - versions. - -1998-01-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the - cancelable socket functions as __libc_xxx with __xxx as weak - alias. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - - * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be - redefined. - * sysdeps/unix/sysv/linux/i386/socket.S: Likewise. - * sysdeps/unix/sysv/linux/arm/socket.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise. - - * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name - and __xxx a weak alias. - * sysdeps/unix/sysv/linux/connect.S: 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. - -1998-01-21 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * locale/langinfo.h: Add defines. - - * dirent/dirent.h: Add defines for DT_*, check also for - _DIRENT_HAVE_D_TYPE. - Suggested by Roland McGrath. - -1998-01-16 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/unix/sysv/linux/netinet/ip_fw.h: - Update from Linux 2.1.73+79. - - * README.template: Update information about possible - configurations. - - * manual/mbyte.texi (Wide String Conversion): Fix declaration of - wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>. - [PR libc/417]. - - * manual/time.texi (Priority): Correct description of - PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>. - [PR libc/416]. - -11998-01-21 21:34 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and - FP_ILOGNAN. Patch by a sun <asun@zoology.washington.edu>. - -1998-01-21 17:53 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/generic/_strerror.c: Handle BUFLEN == 0. Reported by - Andreas Jaeger. - -1998-01-20 18:13 Ulrich Drepper <drepper@cygnus.com> - - * locale/programs/ld-collate.c: Little optimizations. - - * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable. + * db2/mp/mp_region.c: Likewise. + * stdlib/strtol.c: Likewise. + * string/strcoll.c: Likewise. + * string/strxfrm.c: Likewise. + * argp/argp-help.c: Likewise. + * argp/argp-parse.c: Likewise. + * resolv/res_debug.c: Likewise. - * string/Makefile (tests): Add tst-inlcall. - * string/tst-inlcall.c: New file. +1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com> - * string/strsignal.c: Add support for real-time signals. + * math/tgmath.h (scalb): Only define for __USE_MISC or + __USE_XOPEN_EXTENDED. Patch by Zack Weinberg. - * sysdeps/generic/_strerror.c: Fix Handling of unknown error in - presense of small buffer. +1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros. + * libio/stdio.h: Fix comment. - * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation - for i686. + * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if + __USE_ISOC9X. - * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to - _NSIG + 1. +1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> -1998-01-02 15:10 Matthias Urlichs <urlichs@noris.de> + * Makeconfig (+gccwarn): Remove -Wno-parentheses. - * Rules: Add explicit rule for dummy.o; at least one library needs - it and it isn't autogenerated by the default rules. + * elf/dl-open.c: Quiet -Wparentheses warnings. + * iconvdata/johab.c: Likewise. + * iconvdata/uhc.c: Likewise. + * inet/inet_net.c: Likewise. + * io/fts.c: Likewise. + * locale/newlocale.c: Likewise. + * misc/getttyent.c: Likewise. + * misc/mntent_r.c: Likewise. + * misc/ttyslot.c: Likewise. + * nscd/nscd_conf.c: Likewise. + * nss/nsswitch.c: Likewise. + * resolv/gethnamaddr.c: Likewise. + * resolv/nsap_addr.c: Likewise. + * resolv/res_debug.c: Likewise. + * stdio-common/_itoa.c: Likewise. + * stdlib/strtod.c: Likewise. + * string/strverscmp.c: Likewise. + * sunrpc/svc.c: Likewise. + * sysdeps/libm-ieee754/e_cosh.c: Likewise. + * sysdeps/libm-ieee754/e_gamma_r.c: Likewise. + * sysdeps/libm-ieee754/e_sinh.c: Likewise. + * sysdeps/posix/getaddrinfo.c: Likewise. + +1998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com> + + * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test + for use of global scope. + * elf/dlvsym.c (dlvsym_doit): Likewise. -1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-09-02 Paul Eggert <eggert@twinsun.com> - * math/libm-test.c: Tweak epsilons. + * strftime.c (my_strftime): When mbrlen returns (size_t) -2, + copy the redundant bytes at the end of the format as-is; don't + just copy their first byte and then rescan, as that might get + us an encoding error. + Account correctly for the length of multibyte sequences in the + format. -1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk> - * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the - child. - (feenv_mask_test): Likewise. + * posix/wordexp-test.c: Add tests for different IFS values. + Change unquoted-newline test so that newline is not in IFS. -1998-01-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * posix/wordexp.c (wordexp): Correct null/unset mix-up when + determining IFS characters. Return WRDE_BADCHAR for unquoted + special characters _except_ if they are separators. - * Makeconfig: Don't export CPPFLAGS. +1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com> -1998-01-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * include/tgmath.h: New file. - * sunrpc/rpc_main.c (parseargs): Use perror to print error - message. + * libio/stdio.h: Correct reversed #ifs. + Patch by Zack Weinberg. -1998-01-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * manual/creature.texi: Better explain reason for feature select + macros. + Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>. - * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include - terminating null in key size. +1998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> -1998-01-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * include/alloca.h: Add multiple-inclusion guard. + * include/db.h: Likewise. + * include/db_185.h: Likewise. + * include/dlfcn.h: Likewise. + * include/fcntl.h: Likewise. + * include/grp.h: Likewise. + * include/libintl.h: Likewise. + * include/mntent.h: Likewise. + * include/pwd.h: Likewise. + * include/sched.h: Likewise. + * include/search.h: Likewise. + * include/setjmp.h: Likewise. + * include/shadow.h: Likewise. + * include/signal.h: Likewise. + * include/stdio.h: Likewise. + * include/stdlib.h: Likewise. + * include/string.h: Likewise. + * include/termios.h: Likewise. + * include/time.h: Likewise. + * include/ulimit.h: Likewise. + * include/utmp.h: Likewise. + * include/wchar.h: Likewise. + * include/sys/file.h: Likewise. + * include/sys/gmon.h: Likewise. + * include/sys/ioctl.h: Likewise. + * include/sys/mman.h: Likewise. + * include/sys/resource.h: Likewise. + * include/sys/select.h: Likewise. + * include/sys/socket.h: Likewise. + * include/sys/statfs.h: Likewise. + * include/sys/time.h: Likewise. + * include/sys/times.h: Likewise. + * include/sys/wait.h: Likewise. - * nss/nss_files/files-service.c: Fix allocation size to include - length of PROTO. +1998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com> - * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if - applicable. Fix return value and error checking. - (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over - unparsable lines. - (DB_LOOKUP): Allocate space for terminating null byte. + * version.h (VERSION): Bump to 2.0.96. - * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate - uids specially. + Rewrite runtime linker to be truly thread-safe. There is now no + global variable specifying the scope. We create all needed + scopes at the time the link maps are created. + * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist. + * elf/link.h: Add struct r_scope_elem and use this for l_searchlist, + l_symbolic_searchlist, l_scope, and l_local_scope elements in + struct link_map. + * elf/dl-close.c: Rewritten accordingly. + * elf/dl-deps.c: Likewise. + * elf/dl-error.c: Likewise. + * elf/dl-init.c: Likewise. + * elf/dl-load.c: Likewise. + * elf/dl-lookup.c: Likewise. + * elf/dl-object.c: Likewise. + * elf/dl-open.c: Likewise. + * elf/dl-reloc.c: Likewise. + * elf/dl-runtime.c: Likewise. + * elf/dl-support.c: Likewise. + * elf/dl-symbol.c: Likewise. + * elf/dl-version.c: Likewise. + * elf/dlsym.c: Likewise. + * elf/dlvsym.c: Likewise. + * elf/ldsodefs.h: Likewise. + * elf/rtld.c: Likewise. + * iconv/gconv_dl.c: Likewise. + * nss/nsswitch.c: Likewise. + * sysdeps/i386/dl-machine.h: Likewise. + * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise. - * db2/makedb.c (process_input): Continue processing if a duplicate - key is encountered. + * elf/dlfcn.h: Declare dladdr only for __USE_GNU. + Define RTLD_DEFAULT. -1998-01-19 15:20 Ulrich Drepper <drepper@cygnus.com> +1998-09-05 Mark Kettenis <kettenis@phys.uva.nl> - * time/tzfile.h: Updated from tzcode1998b. - * time/zdump.c: Likewise. - * time/zic.c: Likewise. - * time/africa: Update from tzdata1998b. - * time/antarctica: Likewise. - * time/asia: Likewise. - * time/australasia: Likewise. - * time/etcetera: Likewise. - * time/europe: Likewise. - * time/leapseconds: Likewise. - * time/northamerica: Likewise. - * time/southamerica: Likewise. + * sysdeps/mach/hurd/i386/init-first.c (init1): Call + __getopt_clean_environment with __environ instead of envp. -1998-01-12 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1998-09-05 Roland McGrath <roland@baalperazim.frob.com> - * nss/nss_files/files-alias.c (get_next_alias): Do mail alias - lookups ignoring case. - * nss/nss_files/files-network.c: Do network lookups ignoring - case. - * nss/nss_files/files-hosts.c: Do hostname lookups ignoring - case. - * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for - case insensitive comparing. - Patches by Cristian Gafton <gafton@redhat.com>. + * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0. -1998-01-09 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * string/argz-extract.c (__argz_extract): Add de-consting cast for + setting results. - * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines. Suggested - by Roland McGrath. [PR libc/395] + * string/argz.h (argz_next): Add de-consting cast for return. + * string/argz-next.c (__argz_next): Likewise. -1998-01-08 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers): + Don't add netinet/udp.h, netinet/ip_icmp.h here. + * sysdeps/gnu/Makefile: Do it here instead. + * sysdeps/unix/sysv/linux/Dist: Move those files from here ... + * sysdeps/gnu/Dist: ... to here. - * manual/arith.texi (Parsing of Integers): Correct description of - strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>. - [PR libc/396] + * sysdeps/unix/sysv/linux/netinet/ip_icmp.h, + sysdeps/unix/sysv/linux/netinet/tcp.h, + sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet. -1997-12-30 14:14 Matthias Urlichs <urlichs@noris.de> +1998-09-04 Roland McGrath <roland@baalperazim.frob.com> - * misc/lsearch.c (lsearch): Return a pointer to the new element - if one was "allocated". + * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param. + * string/argz-next.c, string/argz-extract.c: Fix defns. -1997-12-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-09-03 Roland McGrath <roland@baalperazim.frob.com> - * string/strsignal.c: NSIG is not a valid index into - _sys_siglist. Don't zap the last character of the "Unknown - signal" message. + * mach/Makefile: Use -include for mach-syscalls.mk to silence warning. -1998-01-19 15:08 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/mach/hurd/sysd-stdio.c: Declare fns + __stdio_{read,write,seek,close,fileno} using __io_*_fn types. + * sysdeps/generic/sysd-stdio.c: Likewise. - * locale/programs/charmap.c (parse_charmap): Correct parsing of - ellipsis expressions. +1998-09-02 Ulrich Drepper <drepper@cygnus.com> - * locale/programs/charset.c (insert_char): Correctly insert value - of eliipsis expression. + * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly. + (_dl_map_object_from_fd): Make NAME argument const. + Remove last parameter in _dl_new_object call. + (print_search_path): Correct construction of composed path name. + (_dl_map_object): Prevent looking at RPATH of the main map twice. + Remove last parameter in _dl_new_object call. + * elf/dl-object.c: Remove last parameter. Determine whether create + origin entry based on empty realname. Handle file in root directory + correctly. + * elf/ldsodefs.h: Adjust prototype for _dl_new_object. + * elf/rtld.c (dl_main): Add comment describing reason for memory leak. + Remove last parameter in _dl_new_object call. + * sysdeps/generic/dl-origin.h: Handle file in root directory correctly. + * sysdeps/unix/sysv/linux/dl-origin.h: Likewise. + +1998-09-01 Ulrich Drepper <drepper@cygnus.com> + + * elf/dl-close.c (_dl_close): Add more comments and correct some. + Free l_searchlist and l_dupsearchlist. + + * debug/catchsegv.sh: Add one more pair of quotes. + +1998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com> + + * elf/dl-load.c (add_name_to_object): Change return type to void and + make NAME parameter const. Allocate room for NAME in same memory + block used for l_libname entry. + (_dl_map_object_from_fd): Don't free NAME on failure. + (map_segment): Pass SONAME to add_name_to_object, not a copy. + (_dl_map_object): Don't create copy of NAME. Pass NAME to + _dl_map_object_from_fd. + * elf/dl-object.c (dl_new_object): Allocate room for NAME in same + memory block used for l_libname entry. + * elf/dl-close.c: Adjust free()ing for this change. + +1998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com> + + * malloc/Makefile: Include Makeconfig before testing config-sysdirs. + + * malloc/mtrace.c: Add bug report address. Update email address. + Add more @XXX@ to print correct address size. + + * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is + really initialized. + + * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info + for munmap call instead of examining phdr again. + Free all malloc()ed strings and arrays. + +1998-08-09 Geoff Keating <geoffk@ozemail.com.au> + + * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of + dl-machine.h. + * sysdeps/powerpc/dl-machine.c: New file. + * sysdeps/powerpc/dl-machine.h: Move much stuff into separate + files. Revise ELF_PREFERRED_ADDRESS to take account of + the new mapping information (fixes bug involving huge bloated + web browser). Set ELF_MACHINE_PLTREL_OVERLAP. + * sysdeps/powerpc/dl-start.S: New file. + + * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start, + l_map_end. + * elf/do-rel.h: Call elf_machine_rel only once (to save space). + * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the + others. Call elf_dynamic_do_##reloc only once (to save even more + space). + * elf/link.h: Add new members l_map_start and l_map_end to keep + track of the memory map. + * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and + the executable. + +1998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com> + + * debug/Makefile (catchsegv): We need not rewrite SOVER anymore. + Reported by Andreas Jaeger. -1997-12-28 15:08 Ulrich Drepper <drepper@cygnus.com> + * posix/glob.h: Use __size_t instead of size_t in definitions and + make sure this is defined. - * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including - <bits/setjmp.h>. - * sysdeps/powerpc/setjmp.S: Likewise. - Patches by Matt McLean <keys@keys.got.net>. +1998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com> - * Make-dist (sysdep_dirs): Ignore bits dirs while searching. + * manual/locale.texi: Almost complete rewrite. Document more functions + and functionality. + * manual/arith.texi: Correct reference. + * manual/string.texi: Pretty printing. - * Makefile: Undo last patch. - (distribute): Add test-installation.pl. + * manual/texinfo.tex: Update from last available version. - * configure.in: Correct handling of --enable-add-ons without parameter. - Correct address of WWW pages. +1998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com> - * libc.map: Add _nl_domain_bindings. + * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for + invalid password. + (_nss_nis_getpwuid_r): Likewise. + Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>. - * db2/mutex/tsl_parisc.s: New file. + * inet/rcmd.c: Implement netgroup support. + Patch by Dick Streefland <dick_streefland@tasking.com>. - * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c, - and extra-module.mk. +1998-08-31 Ulrich Drepper <drepper@cygnus.com> - * localedata/Makefile (distribute): New. Add all the files. + * elf/dl-close.c (_dl_close): Update _dl_loaded if the first + object on the list is removed. Don't use this code for PIC. + Reported by HJ Lu [PR libc/770]. - * stdlib/Makefile (headers): Add inttypes.h. - (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax. - * sysdeps/generic/inttypes.h: New file. - * sysdeps/generic/strtoimax.c: New file. - * sysdeps/generic/strtoumax.c: New file. - * sysdeps/generic/wcstoimax.c: New file. - * sysdeps/generic/wcstoumax.c: New file. - * sysdeps/wordsize-32/Dist: Removed. - * sysdeps/wordsize-32/Makefile: Removed. - * sysdeps/wordsize-64/Dist: Removed. - * sysdeps/wordsize-64/Makefile: Removed. - * sysdeps/generic/bits/environments.h: New file. +1998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com> - * include/limits.h: Define MB_LEN_MAX in any case to 6. The gcc - header is still not correct. + * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include. - * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types. - * posix/unistd.h: Likewise. - * sysdeps/generic/sys/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sys/mman.h: Likewise. + * include/stdio.h: Add __vsscanf. - * manual/arith.texi: Change definition of mul macro. - * manual/math.texi: Likewise. + * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if + __USE_ISOC9X. + Remove __vsscanf declaration. + Always declare fgetpos and fsetpos. - * misc/Makefile (routines): Add mmap64. - * sysdeps/generic/mmap64.c: New file. - * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64 - aliases to mmap. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + * math/math.h: Define isinf as macro. + * math/bits/mathcalls.h: Change to declare __isinf all the time. + Don't declare scalb for ISO C 9x. - * sysdeps/generic/setrlimit64.c: Don't mark as stub. + * math/tgmath.h: Define fma. Rewrite the underlying macros. - * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print. + * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X. - * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma. + * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from + sys/ucontext.h. - * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines - FOPEN_MAX also when included by limits.h. - * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise. + * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN* + macros. - * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h, - and netrom/netrom.h. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add - oldsiglist to sysdep_routines, not aux. - [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h. +1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK, - and SOL_NETROM definition. + * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate. + Reported by jreising@frequentis.com [PR libc/767]. - * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S. +1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/unix/sysv/linux/net/route.h: Pretty print. - * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print. + * io/lockf.c (lockf): Move initilisation of fl.l_whence and + fl.l_start at beginning of function. + Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769]. -1997-12-25 Ulrich Drepper <drepper@cygnus.com> +1998-08-31 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/alpha/net/route.h: New file. + * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX). + Reported by Rob.Hagopian@vu.union.edu [PR libc/763]. - * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace - sa_handler with k_sa_handler. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as - strong alias. - Reported by a sun. + * nscd/nscd.init: Make it work in RedHat systems. + Patch by Christian Gafton. - * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define - __libc_have_rt_sigs here. - * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/sigpending.c: Correct comment. - * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. +1998-08-29 Philip Blundell <philb@gnu.org> -1997-12-11 07:51 Geoff Keating <geoffk@ozemail.com.au> - - * sysdeps/powerpc/atomicity.h: New file. - * sysdeps/mach/powerpc/machine-lock.h: New file. - - * Rules: Use -fpic to build anything that might end up in a users' - shared library. - - * sysdeps/powerpc/s_fdim.c: New file. - * sysdeps/powerpc/s_fdimf.c: New file. - * sysdeps/powerpc/s_fmax.S: New file. - * sysdeps/powerpc/s_fmaxf.S: New file. - * sysdeps/powerpc/s_fmin.S: New file. - * sysdeps/powerpc/s_fminf.S: New file. - * sysdeps/powerpc/s_llrint.c: Now is for double. - * sysdeps/powerpc/s_llrintf.c: New file. - * sysdeps/powerpc/s_llround.c: Now is for double. - * sysdeps/powerpc/s_llroundf.c: New file. - * sysdeps/powerpc/s_lrint.c: Now is for double. - * sysdeps/powerpc/s_lrintf.S: New file. - * sysdeps/powerpc/s_lround.c: Now is for double. - * sysdeps/powerpc/s_lroundf.c: New file. - * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint, - lrintf, fdim, fdimf. - - * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/ - file directly, use its parent. - - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++' - (for the third time). - -1997-12-20 13:50 Richard Henderson <rth@cygnus.com> - - * posix/sched.h: timespec is in <time.h>. - - * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H. - -1997-12-22 18:10 Ulrich Drepper <drepper@cygnus.com> - - * configure.in: Stop with error if --disable-static is used when - the shared lib uses this library. - - * gen-FAQ.pl: I've perl installed in /usr/bin. - - * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX. - - Fix Unix98 conformance problems in the headers. - * catgets/nl_types.h: Define nl_item. - * grp/grp.h: Define gid_t. - * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE. - * include/nl_types.h: New file. - * include/ulimit.h: New file. - * io/fcntl.h: Include sys/stat.h for Unix98. Don't define locking - constants in POSIX mode. - * io/utime.h: Get definition for time_t. - * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t, - uid_t, pid_t. Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98. - * libio/stdio.h: Define va_list. Make snprintf also available is - __USE_UNIX98. Declare getopt function and variables. - * locale/langinfo.h: Include nl_types.h. Don't define nl_item. - Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases. - * math/math.h: Defined M_* constants as double for Unix98 mode. - * posix/fnmatch.h: Pretty print. Define FNM_NOSYS. - * posix/glob.h: Pretty print. Define GLOB_NOSYS. - * posix/regex.h: Define REG_NOSYS. - * posix/wordexp.h: Define WRDE_NOSYS. - * posix/unistd.h: Define _POSIX2_VERSION. Define _XOPEN_VERSION to - 500 for Unix98. - * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined - somewhere else as well. Define clock_t for Unix98. - * posix/sys/wait.h: Define pid_t. - * pwd/pwd.h: Define gid_t, uid_t. - * resource/Makefile (headers): Add ulimit.h. - * resource/ulimit.h: New file. - * sysdeps/generic/ulimit.c: Define according to X/Open using varargs - instead of second argument. - * sysdeps/unix/bsd/ulimit.c: Likewise. Use UL_* constants. - * sysdeps/unix/sysv/linux/ulimit.c: Likewise. - * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h. - * signal/signal.h: Define pid_t. - * string/string.h: Don't declare BSD string functions in POSIX mode. - * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE. Add - _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS. - * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98 - and POSIX. - - * inet/test_ifindex.c: Change test so that it does not fail for - interface aliases. - - * locale/programs/locale.c (show_info): Use correct cast sequence - for 64bit machines. - - * malloc/malloc.c: __malloc_initialized now signals three states: - uninitialized, initializing, initialized. Used in mcheck. - * malloc/mcheck.c (mabort): Add '\n' to messages. - (mcheck): Allow installation when malloc is uninitialized or is - just initializing. - - * manual/memory.texi: Explain mtrace output a bit more. - - * math/libm-test.c: Add more epsilons. - - * misc/regexp.h (compile): Remove __ prefix from parameter names. - - * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy - instead of strcpy for security. - * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise. - * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise. - * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise. - - * nss/digits_dots.c: Pretty print. - - * posix/getconf.c (vars): Add symbols for programming environment - recognition. Recognize --version. - - * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY, - _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS. - * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols. - - * sysdeps/generic/bits/stdio_lim.h: Implement handling of - __need_FOPEN_MAX. - * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise. - * sysdeps/posix/mk-stdiolim.c: Change to generate file handling - __need_FOPEN_MAX. - - * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c. - * sysdeps/unix/sysv/linux/rt_sigpending.c: New file. - - * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t. - * sysdeps/unix/sysv/linux/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t. - * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/types.h: New file. + * catgets/Makefile: Don't try to run test programs when + cross-compiling. - * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8, - SCNu*. - * sysdeps/wordsize-64/inttypes.h: Likewise. +1998-08-31 Ulrich Drepper <drepper@cygnus.com> - * time/africa: Update from tzdata1997j. - * time/antarctica: Likewise. - * time/asia: Likewise. - * time/australasia: Likewise. - * time/backward: Likewise. - * time/etcetera: Likewise. - * time/europe: Likewise. - * time/factory: Likewise. - * time/northamerica: Likewise. - * time/pacificnew: Likewise. - * time/southamerica: Likewise. - - * time/tzfile.h: Update from tzcode1997h. - * time/zic.c: Likewise. - - * wcsmbs/wchar.h: Get definition of FILE. Define `struct tm' tag. - Declare wcwidth and wcswidth for __USE_XOPEN. Declare the - isw*() functions for Unix98. - * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias. - * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx - is defined. + * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX. + Reported by Zack Weinberg. -1997-12-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * locale/duplocale.c: Increase usage_count only if less than - MAX_USAGE_COUNT. - * locale/freelocale.c: Test usage_count against UNDELETABLE, not - MAX_USAGE_COUNT. - * locale/setlocale.c: Likewise. + * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S. + * elf/Makefile (distribute): Remove ldd.sh.in. -1997-12-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct - dependency to make it easier to install it selectively. + * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused + variable. - * Makerules (.SUFFIXES): Don't define any suffixes. +1998-08-29 Ulrich Drepper <drepper@cygnus.com> -1997-12-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/i386/register-dump.h: Move to ... + * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here. - * sysdeps/generic/fstatfs64.c: Emulate using fstatfs. - * sysdeps/generic/statfs64.c: Emulate using statfs. - * sysdeps/generic/getrlimit64.c: Emulate using getrlimit. - * sysdeps/generic/setrlimit64.c: Emulate using setrlimit. - * sysdpes/generic/ftruncate64.c: New file. - * sysdpes/generic/truncate64.c: New file. +1998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/generic/bits/stat.h: Add LFS support. - * sysdeps/generic/bits/statfs.h: Likewise. + * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel + with load address, not map address. + * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first + parameter and use this value. + * sysdeps/arm/dl-machine.h: Likewise. + * sysdeps/i386/dl-machine.h: Likewise. + * sysdeps/m68k/dl-machine.h: Likewise. + * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first + parameter. + * sysdeps/powerpc/dl-machine.h: Likewise + * sysdeps/sparc/sparc32/dl-machine.h: Likewise + * sysdeps/sparc/sparc64/dl-machine.h: Likewise - * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY) - [__USE_FILE_OFFSET64]: Make long long constant. - (RLIM64_INFINITY): Likewise. +1998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct - for LFS support. - (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define. - * sysdeps/generic/bits/resource.h: Likewise. + * elf/rtld.c (process_envvars): Fix copy&paste error. - * misc/Makefile (routines): Add truncate64 and ftruncate64. + * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and + memalign hook. + (realloc_hook_ini): Don't overwrite memalign hook. + (memalign_hook_ini): Don't overwrite malloc and memalign hooks. + Reported by Philippe Troin <phil@fifi.org>. - * include/features.h: Don't prevent LFS support from defining BSD - and SYSV things. + * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer. + Patch by Philippe Troin <phil@fifi.org>. - * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names. - * io/ftw.h [__USE_FILE_OFFSET64]: Likewise. - * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise. +1998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for - fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + * sysdeps/generic/segfault.c (install_handler): Protect the + non-POSIX signals with #ifdef. + (catch_segfault): Add missing mode parameter for open. + * debug/catchsegv.sh: Avoid termination message from shell. Allow + other termination signals. - * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file. - * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file. - * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file. - * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file. - * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file. - * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file. - * sysdeps/unix/sysv/linux/alpha/readdir.c: New file. - * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file. - * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file. - * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file. +1998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/unix/sysv/linux/fxstat64.c: New file. - * sysdeps/unix/sysv/linux/lxstat64.c: New file. - * sysdeps/unix/sysv/linux/xstat64.c: New file. - * sysdeps/unix/sysv/linux/readdir64.c: New file. - * sysdeps/unix/sysv/linux/readdir64_r.c: New file. + * debug/Makefile (distribute): Add register-dump.h. - * sysdeps/unix/sysv/linux/getdents64.c: New file. - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines) - [$(subdir)=dirent]: Add getdents64. - * sysdeps/unix/sysv/linux/Dist: Add getdents64.c. +1998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/unix/sysv/linux/xstatconv.c: LFS support. + * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file. -1997-12-18 12:07 Philip Blundell <pb@nexus.co.uk> +1998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/generic/bits/statfs.h (struct statfs64): Added. + * elf/Makefile (distribute): Add dl-origin.h. + * sysdeps/generic/dl-origin.h: New file. + * sysdeps/unix/sysv/linux/dl-origin.h: New file. + * elf/link.h (struct link_map): Add l_origin field. + * elf/dl-load.c (expand_dynamic_string_token): New function. + (decompose_path): Remove WHERE argument, take link map pointer instead. + Call expand_dynamic_string_token instead of local_strdup to make copy + of rpath. + (_dl_init_paths): Call decompose_path with correct argument. + (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is + not defined. + Check EI_OSABI and EI_ABIVERSION fields in header. + Call _dl_new_object with extra argument. + (_dl_map_object): Call decompose_path with correct argument. + Call expand_dynamic_string_token instead of local_strdup to also + expand DST. + Call _dl_new_object with extra argument. + * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps + but the main one if new argument is nonzero. + * elf/ldsodefs.h: Adjust for _dl_new_object change. + * elf/dl-support.c: Define _dl_origin_path. + * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH. + (dl_main): Call _dl_new_object with extra argument. - * sysdeps/generic/getrlimit.c: Include <sys/types.h>. - * sysdeps/generic/getrlimit64.c: Likewise. - * sysdeps/generic/setrlimit.c: Likewise. - * sysdeps/generic/setrlimit64.c: Likewise. + * elf/dl-close (_dl_close): Free l_name and l_origin. -1997-12-17 13:57 Philip Blundell <pb@nexus.co.uk> + * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P + modifier in asm, not c. - * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not - using versioning. + * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c + to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern. - * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t. +1998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added. + * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local + variable so that map can be freed. + Reported by Philippe Troin <phil@fifi.org>. -1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * elf/dl-open.c (dl_open_worker): Correct test for extending global + scope array. + Patch by Philippe Troin <phil@fifi.org>. - * locale/programs/ld-ctype.c (ctype_output): Clear out the padding - after the codeset name. +1998-08-26 Geoff Keating <geoffk@ozemail.com.au> -1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way. + Don't call writev() with a 100-element vector. + * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL + return address. - * libc.map: Add get_kernel_syms. + * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version. + In particular, set __libc_stack_end. + * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be + undefined. Fix copyright notice. -1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make - static. - * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): - Likewise. Fix condition. + * math/Makefile (gmp-objs): New variable. + ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2): + Depend on it. + (tests): Add atest-exp atest-sincos atest-exp2. + (tests-static): Remove atest-exp atest-sincos atest-exp2. -1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-08-25 Ulrich Drepper <drepper@cygnus.com> - * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen. + * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize + to toplevel. + (_dl_unload_cache): New function. + * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache. + * elf/dl-open.c (_dl_open): Unload map file before freeing the lock. + * elf/rtld.c (dl_main): Unload map file before jumping to user code. -1997-12-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT. + Correct comment for O_LARGEFILE. + * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT. + Change O_LARGEFILE to correct value. - * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline. - Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC. +1998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com> -1997-12-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * libio/iogetline.c (_IO_getline_info): Don't read anything for + N == 0. Patch by HJ Lu. - * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back. - * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this - instead. Oops. +1998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com> -1997-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF. - * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting. +1998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE> -1997-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * argp/argp.h: Use __inline__ not inline. - * math/libm-test.c (catanh_test): Change epsilon. - Reported by H.J. Lu. + * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate + an input register as being clobbered. + * sysdeps/i386/memset.c (memset): Likewise. + * sysdeps/i386/bzero.c (__bzero): Likewise. + * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise. -1997-12-14 19:39 H.J. Lu <hjl@gnu.org> +1998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * libc.map (__getpid): Added for linuxthreads. + * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result. + Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov). -1997-12-13 21:09 H.J. Lu <hjl@gnu.org> +1998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com> - * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define - it if gcc uses static variable in DWARF2 unwind information - for exception support. + * debug/catchsegv.sh: Handle text preceding backtrace better. + * sysdeps/generic/segfault.c: Allow register dump. Allow handler + to be installed for other signals than SIGSEGV. + * sysdeps/generic/register-dump.h: New file. + * sysdeps/i386/register-dump.h: New file. + * sysdeps/powerpc/register-dump.h: New file. - * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New. + * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from + sigcontextinfo.h. + * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version. - * elf/soinit.c (__libc_global_ctors, _fini): Handle - HAVE_DWARF2_UNWIND_INFO_STATIC. +1998-08-24 Geoff Keating <geoffk@ozemail.com.au> - * libc.map (__register_frame*, __deregister_frame*): Make them - global. + * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file. -1997-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1998-08-09 Geoff Keating <geoffk@ozemail.com.au> - * math/libm-test.c: Add more tests for "normal" values. + * sysdeps/unix/sysv/linux/powerpc/chown.c: New file. + * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file. + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove + getresuid, getresgid. -1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-08-16 Geoff Keating <geoffk@ozemail.com.au> - * stdio-common/printf_fphex.c: Fix printing of long double number - with a biased exponent of zero. Fix rounding. + * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack + pointer in userland. -1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sunrpc/rpc_main.c: Accept new flag -$. - * sunrpc/Makefile (rpcgen-cmd): Pass it here. + * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum + and fix value. -1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * Makefile ($(inst_slibdir)/libc-$(version).so): Install the - dynamic linker first, in case the interface has changed. + * elf/ldd.bash.in: Add missing quotes around $file. Make loop + over arguments Bourne shell compatible. Don't exit unsuccessfully + if nonelf returns successfully. Avoid duplicating most of the + script. + * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes + around $file. -1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * nss/nss_files/files-alias.c (get_next_alias): Fix parameter - order. + * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add + sys/reg.h. + * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file. + * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it. -1997-12-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-08-23 Ulrich Drepper <drepper@cygnus.com> - * math/tgmath.h: Check for double first, for architectures where - sizeof (long double) == sizeof (double). + * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add + __modify_ldt and modify_ldt. + * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt. -1997-12-07 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER): + Use orl $-1 instead of movl $-1 to save two bytes. + * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER): + Likewise. - * math/libm-test.c: New tests for "normal" values added for most - functions. +1998-08-17 H.J. Lu <hjl@gnu.org> -1997-12-14 21:33 Ulrich Drepper <drepper@cygnus.com> + * libio/Versions (_IO_do_write, _IO_file_attach, + _IO_file_close_it, _IO_file_finish, _IO_file_fopen, + _IO_file_init, _IO_file_overflow, _IO_file_seekoff, + _IO_file_setbuf, _IO_file_sync, _IO_file_underflow, + _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1. - * version.h (VERSION): Bump to 2.0.91. + * libio/fileops.c (_IO_do_write, _IO_file_attach, + _IO_file_close_it, _IO_file_finish, _IO_file_fopen, + _IO_file_init, _IO_file_overflow, _IO_file_seekoff, + _IO_file_setbuf, _IO_file_sync, _IO_file_underflow, + _IO_file_write, _IO_file_xsputn): Change the prefix to + "_IO_new_". Added to GLIBC_2.1. - * db2/makedb.c (process_input): Fix typo in message. - * sunrpc/rpcinfo.c (pmapdump): Unify messages. + * libio/libioP.h (_IO_do_write, _IO_file_attach, + _IO_file_close_it, _IO_file_finish, _IO_file_fopen, + _IO_file_init, _IO_file_overflow, _IO_file_seekoff, + _IO_file_setbuf, _IO_file_sync, _IO_file_underflow, + _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix + "_IO_new_". - * elf/dynamic-link.h: Pretty print. + * libio/oldfileops.c (_IO_do_write, _IO_file_attach, + _IO_file_close_it, _IO_file_finish, _IO_file_fopen, + _IO_file_init, _IO_file_overflow, _IO_file_seekoff, + _IO_file_setbuf, _IO_file_sync, _IO_file_underflow, + _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0. - * elf/rtld.c: Allow multiple preloading of a shared object. +1998-08-23 Richard Henderson <rth@cygnus.com> - * include/limits.h: Prevent multiple inclusion. + * Makeconfig (LDFLAGS): Remove. - * malloc/Makefile (headers): Add mcheck.h. - (distribute): Remove it here. - * malloc/mcheck.h: Pretty print. - * malloc/mtrace.c (mallenv): Make `const'. - * malloc/mtrace.pl: Don't print table head for memory leaks if there - are none. - * manual/memory.texi: Update descriptor of malloc hooks. + * csu/initfini.c: Return to .text before __gmon_start__. - * posix/Makefile (routines): Add waitid. - * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based - on __id_t. - * posix/sys/wait.h: Define idtype_t type. - Add prototype for waitid. - * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>. - * sysdeps/generic/waitid.c: Stub for waitid. - * sysdeps/generic/bits/siginfo.h: Define sigval_t. Arrange to work - the __need_siginfo_t defined. - * sysdeps/unix/sysv/linux/bits/siginfo: Likewise. - * sysdeps/generic/bits/types.h: Define __id_t. - Correct definition of __FDMASK. - * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise. + * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA. + (STO_MIPS_*): Rename from STO_*. + (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON. + (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New. - * sysdeps/posix/waitid.c: New file. - Provided by Zack Weinberg. + * math/atest-exp.c (mpn_bitsize): Fix bit location calculation. + (main): e3s is negative on zero. + * math/atest-exp2.c: Likewise. + * math/atest-sincos.c: Likewise. - * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request. +1998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): - Add missing parameters. + * Makerules (install): Add comment about absolute paths. - * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure. - * sysdeps/generic/enbl-secure.c: Don't define __libc_uid. - * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid. - * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is - initialized. +1998-08-23 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/i386/dl-machine.h: Little cleanup. + * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination + array to NUL to handle maxlen==1 case correctly. + Patch by HJ Lu. - * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions. - (__finite): Mark function as const. - Add inline code for __ieee754_atan2. +1998-08-23 Richard Henderson <rth@cygnus.com> - * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation - (but don't use it now). - * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of - __atan. - * sysdeps/libm-ieee754/s_catanf.c: Likewise. - * sysdeps/libm-ieee754/s_catanl.c: Likewise. - * sysdeps/libm-ieee754/s_catanh.c: Likewise. Correct sign of - real part. - * sysdeps/libm-ieee754/s_catanhf.c: Likewise. - * sysdeps/libm-ieee754/s_catanhl.c: Likewise. - * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct - __ieee754_atan2 to base 10. - * sysdeps/libm-ieee754/s_clog10f.c: Likewise. - * sysdeps/libm-ieee754/s_clog10l.c: Likewise. + * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used. + * sysdeps/alpha/elf/crtend.S: Likewise. + * sysdeps/alpha/elf/start.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as - old_kernel_sigaction. + * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue; + non-standard pv usage. - * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print. + * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation. + * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/select.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise. - * wctype/Makefile (routines): Add wctype_l. - * wctype/wctype.h: Add declaration of __wctype_l. - * wctype/wctype_l.c: New file. + * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is + a finite non-denormal, deferring to the full IEEE version otherwise. -1997-12-10 00:38 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor): + Early out for -0. Optimize for !_IEEE_FP_INEXACT. + * sysdeps/alpha/fpu/s_floor.c: New. + * sysdeps/alpha/fpu/s_floorf.c: New. + * sysdeps/alpha/fpu/s_ceil.c: New. + * sysdeps/alpha/fpu/s_ceilf.c: New. - * locale/C-ctype.c: Correct data for isw* functions. - * locale/programs/ld-ctype.c: Write 32bit char classes in correct - byte order. - * wctype/test_wctype.c: Add test for isw* functions. - * wctype/wctype.c: Return value with expected byte order. +1998-08-22 Philip Blundell <philb@gnu.org> -1997-12-13 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * sysdeps/arm/bits/string.h: New file. - * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice. +1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1997-12-05 20:19 H.J. Lu <hjl@gnu.org> + * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers, + document it. - * iconvdata/Makefile: Fix a typo. + * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains + test for recent Linux 2.1.100+ headers. - * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add - oldsiglist for shared library. +1998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist, - sys_sigabbrev): Make them as the default version GLIBC_2.1. + * nis/nss_compat/compat-initgroups.c: Optimize NIS query. - * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist, - sys_siglist, sys_sigabbrev): New file. Make them as the old - version GLIBC_2.0. +1998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com> - * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added - to GLIBC_2.1. + * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64. -1997-11-20 18:02 H.J. Lu <hjl@gnu.ai.mit.edu> +1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * libio/iofgets.c (_IO_fgets): Return an error only if there - is a new error. - * libio/iogets.c (_IO_gets): Ditto. + * Makefile (elf/ldso_install): Put back. The problem still persists. + * elf/Makefile (ldso_install): Likewise. -1997-11-20 07:26 H.J. Lu <hjl@gnu.ai.mit.edu> +1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * libc.map (_IO_fdopen): Add support for GLIBC_2.0. + * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and + create weak alias. + * include/db.h: Declare __nss_db_open. + * db2/Versions: Export it. - * libio/Makefile (routines, shared-only-routines): Add - oldiofdopen. + * db2/makedb.c: Convert to use db2 API. + * nss/nss_db/db-XXX.c: Likewise. + * nss/nss_db/db-netgrp.c: Likewise. + * nss/nss_db/db-alias.c: Likewise. + (_nss_db_getaliasent_r): Allow retrying with a larger buffer. - * libio/fileops.c: Don't use _IO_FILE_complete. - * libio/iofdopen.c: Ditto. - * libio/iofopen.c: Ditto. - * libio/iofopen64.c: Ditto. - * libio/iopopen.c: Ditto. - * libio/iovdprintf.c: Ditto. +1998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * libio/genops.c (_IO_init): Set _vtable_offset to 0. + * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove + sys_setresuid, already built automatically (or not). + * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid + instead of __syscall_setresuid and add back setresuid. + * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of + __syscall_setresuid. - * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen - and make it for _IO_fdopen/fdopen version GLIBC_2.1. +1998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose, - _IO_old_fdopen, _IO_new_fdopen): New declaration. + * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo. - * libio/libio.h (_IO_FILE): Add more fields. - (_IO_FILE_complete): Defined and make _IO_FILE be the old - one if _IO_USE_OLD_IO_FILE is defined - (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make - them _IO_FILE_complete. +1998-08-20 Ulrich Drepper <drepper@cygnus.com> - * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset - to adjust vtable. - (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of - _IO_JUMPS. - (_IO_FILE_complete): Commented out. + * elf/Makefile (sh-ldd-rewrite): Remove expression to remove + BASH-ONLY marked region. + * elf/ldd.bash.in: Remove special BASH-ONLY markers. - * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE. - * libio/oldiofclose.c: Ditto. - * libio/oldiofopen.c: Ditto. - * libio/oldstdfiles.c: Ditto. +1998-02-20 17:54 H.J. Lu <hjl@gnu.org> - * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset - for the old _IO_FILE. + * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if + _IO_SYSSEEK fails. - * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME. - (_IO_check_libio): Set _vtable_offset for old stdin, stdout - and stderr. + * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t. - * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete - and remove INAME. + * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset + element. - * libio/stdio.c (stdin, stdout, stdin): Don't use - _IO_FILE_complete. +1998-08-21 Roland McGrath <roland@baalperazim.frob.com> - * libio/oldiofdopen.c: New. + * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these + with magic comments ###BASH-ONLY and ###END-BASH-ONLY. + * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in. + (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite). + (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by + those magic comments, and to use /bin/sh for @BASH@. + (bash-ldd-rewrite): Use $(common-ldd-rewrite). + * elf/ldd.sh.in: File removed. - * stdio-common/vfprintf.c (buffered_vfprintf): Set - hp->_vtable_offset to 0. +1998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com> -1997-11-18 08:03 H.J. Lu <hjl@gnu.ai.mit.edu> + * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and + cast them to unsigned long int. + * pwd/putpwent.c (putpwent): Likewise. + Patch by John Tobey <jtobey@banta-im.com>. - * libc.map (_IO_file_open): Added. +1998-08-20 17:14 H.J. Lu <hjl@gnu.org> - * libio/libioP.h (_IO_file_open): Declared. + * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to + _IO_pos_BAD. - * libio/fileops.c (_IO_file_open): New. - (_IO_file_fopen): Call _IO_file_open (). +1998-02-20 17:54 H.J. Lu <hjl@gnu.org> - * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN. - * sysdeps/unix/sysv/linux/_G_config.h: Likewise. + * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if + _IO_SYSSEEK fails. -1997-12-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com> - * signal/signal.h: Fix selection of signal semantics to match - comment. + * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines): + Add umount and umount2. + * sysdeps/unix/sysv/linux/syscalls.list: Remove umount. + * sysdeps/unix/sysv/linux/umount.S: New file. + * sysdeps/unix/sysv/linux/umount2.S: New file. + * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2. + Define MNT_FORCE. -1997-12-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers): + Add sys/sendfile.h. + * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile. + * sysdeps/unix/sysv/linux/sys/sendfile.h: New file. - * sysdeps/unix/sysv/linux/sigreturn.c: Stub out. - * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and - rt_sigreturn. - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines) - [$(subdir)=signal]: Remove rt_sigreturn. - * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted. - * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted. - * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted. + * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print. -1997-12-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and + sendfile. - * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>. Fix - declarations. +1998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com> -1997-12-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * elf/ldd.sh.in: Redirect warnings and error messages to stderr. + * elf/ldd.bash.in: Likewise. - * iconvdata/extra-module.mk: Expand extra-objs now. + * elf/sln.c: Avoid warning for no main prototype. -1997-12-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and + O_WRITE. + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of - inline functions by feature tests to avoid warning about missing - prototype declarations. + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and + F_GETSIG. + * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. -1997-12-09 15:08 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> +1998-08-20 Philip Blundell <pb@nexus.co.uk> - * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix - return code for non existent +name entries. - * nis/nss_compat/compat-pwd.c: Likewise. - * nis/nss_compat/compat-spwd.c: Likewise. + * sysdeps/arm/fpu/ieee754.h: Move to... + * sysdeps/arm/ieee754.h: ... here. -1997-12-10 13:52 Philip Blundell <pb@nexus.co.uk> + * sysdeps/arm/__longjmp.S: Put return value in correct register. + Don't set the condition flags unnecessarily. + * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point + registers correctly. - * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added. - (EIO): Likewise. - (ENOSPC): Likewise. - (EEXIST): Likewise. - (__errno_location): Likewise. + * sysdeps/arm/dl-machine.h: Fix problems with profiling code + (patch from Scott Bambrough). - * sysdeps/generic/sys/param.h (MAXPATHLEN): Added. + * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons. - * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t. + * csu/initfini.c (_init): Don't check whether __gmon_start__ is + NULL, just call it unconditionally. + (__gmon_start__): Provide stub version as a weak symbol. -1997-12-09 08:10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> +1998-07-30 Philip Blundell <philb@gnu.org> - * sunrpc/publickey.c: Use new NSS interface. + * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch + by Scott Bambrough) -1997-12-09 03:08 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't + like `@' in .type directives. - * manual/malloc.texi: Document mtrace/muntrace and the concept. + * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call. + * sysdeps/arm/bsd-_setjmp.S: Likewise. -1997-12-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/arm/dl-machine.h: Set __libc_stack_end. - * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar - value, to match spirit of the standard. - * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar. - * sysdeps/m68k/fpu/feholdexcpt.c: Likewise. - * sysdeps/m68k/fpu/fesetenv.c: Likewise. +1998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1997-12-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value. + (F_GETOWN): Likewise. - * manual/signal.texi (Signal Stack): Remove spurious @item. + * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from + Linux 2.1.117). -1997-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1998-08-20 Ulrich Drepper <drepper@cygnus.com> - * rt/aio.h: Remove double semicolon. + * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not + already defined. - * rt/librt.map: Add aio_init. +1998-08-18 Ulrich Drepper <drepper@cygnus.com> -1997-12-08 03:24 Ulrich Drepper <drepper@cygnus.com> + * include/features.h: Define __USE_EXTERN_INLINES for recent + enough gcc. + * argp/argp.h: Define extern inline functions only if + __USE_EXTERN_INLINES is defined. + * libio/stdio.h: Likewise. + * math/math.h: Likewise. + * stdlib/stdlib.h: Likewise. + * string/argz.h: Likewise. + * sysdeps/generic/bits/sigset.h: Likewise. + * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise. + * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise. + * sysdeps/wordsize-32/inttypes.h: Likewise. + * sysdeps/wordsize-64/inttypes.h: Likewise. + * wcsmbs/wchar.h: Likewise. - * Makeconfig: Define $(rt) to rt if linuxthreads is available. - * Makefile (subdirs): Replace rt by $(rt). + * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat + to allow compilation without optimization. - * shlib-versions: Use version .2 for NSS modules. +1998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra - argument. - * pwd/fgetpwent_r.c: Likewise. - * spwd/fgetspent_r.c: Likewise. - * spwd/sgetspent_r.c: Likewise. - * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument. - Store error number in *ERRNOP. Little optimization. - * hesiod/nss_hesiod/hesiod-pwd.c: Likewise. - * hesiod/nss_hesiod/hesiod-service.c: Likewise. - * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise. - (__internal_getnetgrent_r): New argument. - Call __internal_setnetgrent_reuse with new argument. - (__getnetgrent_r): Call __internal_getnetgrent_r with new argument. - * inet/netgroup.h: Add argument to prototypes. - * nis/nisplus-parser.h: Likewise. - * nis/nss_compat/compat-grp.c: Change everything to store error - code through provided pointer and not use errno. + * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no + more entries. + * nis/nss_compat/compat-initgroups.c: Likewise. * nis/nss_compat/compat-pwd.c: Likewise. * nis/nss_compat/compat-spwd.c: Likewise. * nis/nss_nis/nis-alias.c: Likewise. * nis/nss_nis/nis-ethers.c: Likewise. * nis/nss_nis/nis-grp.c: Likewise. * nis/nss_nis/nis-hosts.c: Likewise. - * nis/nss_nis/nis-netgrp.c: Likewise. + * nis/nss_nis/nis-initgroups.c: Likewise. * nis/nss_nis/nis-network.c: Likewise. * nis/nss_nis/nis-proto.c: Likewise. - * nis/nss_nis/nis-publickey.c: Likewise. * nis/nss_nis/nis-pwd.c: Likewise. * nis/nss_nis/nis-rpc.c: Likewise. * nis/nss_nis/nis-service.c: Likewise. * nis/nss_nis/nis-spwd.c: Likewise. - * nis/nss_nisplus/nisplus-alias.c: Likewise. - * nis/nss_nisplus/nisplus-ethers.c: Likewise. - * nis/nss_nisplus/nisplus-grp.c: Likewise. - * nis/nss_nisplus/nisplus-hosts.c: Likewise. - * nis/nss_nisplus/nisplus-netgrp.c: Likewise. - * nis/nss_nisplus/nisplus-network.c: Likewise. - * nis/nss_nisplus/nisplus-parser.c: Likewise. - * nis/nss_nisplus/nisplus-proto.c: Likewise. - * nis/nss_nisplus/nisplus-publickey.c: Likewise. - * nis/nss_nisplus/nisplus-pwd.c: Likewise. - * nis/nss_nisplus/nisplus-rpc.c: Likewise. - * nis/nss_nisplus/nisplus-service.c: Likewise. - * nis/nss_nisplus/nisplus-spwd.c: Likewise. - * nss/nss_db/db-XXX.c: Likewise. - * nss/nss_db/db-alias.c: Likewise. - * nss/nss_db/db-netgrp.c: Likewise. - * nss/nss_files/files-XXX.c: Likewise - * nss/nss_files/files-alias.c: Likewise - * nss/nss_files/files-netgrp.c: Likewise - * nss/nss_files/files-parse.c: Likewise - * nss/getXXbyYY_r.c: Call with __errno_location() as value for new - parameter of get functions. - * nss/getXXent_r.c: Likewise. - - * localedata/tst-fmon.c: Print debug info if test fails. - - * rt/Makefile (routines): Add aio_notify. - * rt/aio.h: Remove non-public definitions. Add aioinit stuff. - * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend. - * rt/aio_fsync.c: Likewise. - * rt/aio_misc.c: Likewise. - * rt/aio_misc.h: Likewise. - * rt/aio_read.c: Likewise. - * rt/aio_read64.c: Likewise. - * rt/aio_suspend.c: Likewise. - * rt/aio_write.c: Likewise. - * rt/aio_write64.c: Likewise. - * rt/lio_listio.c: Likewise. - * rt/lio_listio64.c: Likewise. - * rt/aio_notify.c: New file. - - * sysdeps/generic/bits/sigset.h: Pretty print. - - * sysdeps/posix/pwrite.c: Define weak alias only if function is - really defined as __pwrite. - - * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly - instead of pread64. - * sysdeps/unix/sysv/linux/pwrite.c: Likewise. - - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal] - (sysdep_routines): Add rt_sigpending and rt_sigreturn. - * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t - size in syscall. - * sysdeps/unix/sysv/linux/sigpending.c: Likewise. - * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. - * sysdeps/unix/sysv/linux/sigreturn.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/i386/sigaction.c: Likewise. Take care - for ACT being NULL. - * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for - RT signals. - * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if - __NR_pread is not defined. - * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if - __NR_pwrite is not defined. - -1997-12-07 11:15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * nis/nss_compat/compat-grp.c: If buffer is to small, set the file - handle for /etc/group back in some more cases. - * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file - handle for /etc/passwd back in some more cases. - * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file - handle for /etc/shadow back in some more cases. - -1997-12-06 17:00 H.J. Lu <hjl@gnu.org> - - * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask - beyound its size. - * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto. - * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto. - -1997-12-06 04:38 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max - handling. Don't use macros, we need functions. Use inline functions - for optimization. - * sysdeps/wordsize-64/inttypes.h: Likewise. - * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax, - and wcstoumax. - * sysdeps/wordsize-64/Makefile: Likewise. - * sysdeps/wordsize-32/Dist: Likewise. - * sysdeps/wordsize-64/Dist: Likewise. - * sysdeps/wordsize-32/strtoimax.c: New file. - * sysdeps/wordsize-32/strtoumax.c: New file. - * sysdeps/wordsize-32/wcstoimax.c: New file. - * sysdeps/wordsize-32/wcstoumax.c: New file. - * sysdeps/wordsize-64/strtoimax.c: New file. - * sysdeps/wordsize-64/strtoumax.c: New file. - * sysdeps/wordsize-64/wcstoimax.c: New file. - * sysdeps/wordsize-64/wcstoumax.c: New file. - -1997-12-04 10:40 Philip Blundell <pb@nexus.co.uk> - - * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so - that transparent union works. - * sysdeps/generic/wait4.c (__wait4): Likewise. - * sysdeps/generic/wait.c (__wait): Likewise. - - * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not - size_t. - - * sysdeps/generic/syscall.c (syscall): Return value and arg are - long, to match prototype. - - * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't - have mremap() yet. - - * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype. - - * sysdeps/unix/sysv/linux/arm/syscalls.list: New file. - - * sysdeps/generic/bits/time.h: Use __time_t not time_t. - - * sysdeps/generic/bits/resource.h: Include <bits/types.h> for - __rlim_t. - - * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added. - - * sysdeps/generic/bits/dirent.h (struct dirent64): Added. - - * io/sys/stat.h (S_ISLNK): Always false if we don't have - __S_IFLNK. - - * sysdeps/standalone/close.c (_STDIO_H): Define before including - <bits/stdio_lim.h>. - * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise. - -1997-12-06 01:09 Ulrich Drepper <drepper@cygnus.com> - - * posix/sys/wait.h: Don't use transparent unions in C++. - -1997-12-05 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * time/time.h: Add strfxtime. - - * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs, - sysv_signal, strfxtime, pread64, pwrite64. - -1997-11-30 21:57 Richard Henderson <rth@cygnus.com> - - Alpha changes for EGCS: - * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry. - * configure.in (libc_cv_gcc_alpha_ng_prefix): New check. - * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix. - (_start): Likewise. - * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise. - -1997-12-05 00:01 Ulrich Drepper <drepper@cygnus.com> - - The kernel expects the arguments in a different order. - * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file. - * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file. - - * FAQ.in: New file. - * gen-FAQ.pl: New file. - * Makefile (FAQ): Add rule to generate from FAQ.in. - - * iconvdata/Makefile: Treat libJIS like the other modules. - - * rt/librt.map: New file. - - * sysdeps/wordsize-32/bits/environments.h: Add test for direct - inclusion. - * sysdeps/wordsize-64/bits/environments.h: Likewise. Correct - comment. - -1997-12-04 22:29 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype. - * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise. - * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>. - Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>. - -1997-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * string/bits/string2.h: Fix spellings. - - * string/string.h: Fix spellings. - -1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern - declaration to __syscall_rt_sigaction. - - * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of - non-existant <sigcontext.h>. - -1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct - typo. - -1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/wordsize-64/bits/environments.h: Correct spelling. - - * Makeconfig (shared-thread-library): Correct spelling. - - * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not - <asm/pci.h>. - -1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_ - constants from Linux headers. Pointed out by - csmall@scooter.o.i.net. [PR libc/369] - -1997-12-04 10:21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval. - -1997-12-04 00:06 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * configure.in: If --enable-add-ons is given without an - argument, set the addons list to all subdirs with a configure - script. - -1997-12-03 23:50 Ulrich Drepper <drepper@cygnus.com> - - * Makeconfig: Add shared-thread-library variable. - - * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES. - * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES - here. - * sysdeps/m68k/fpu/e_acos.c: Likewise. - * sysdeps/m68k/fpu/e_atan2.c: Likewise. - * sysdeps/m68k/fpu/e_fmod.c: Likewise. - * sysdeps/m68k/fpu/e_pow.c: Likewise. - * sysdeps/m68k/fpu/e_scalb.c: Likewise. - * sysdeps/m68k/fpu/k_cos.c: Likewise. - * sysdeps/m68k/fpu/k_sin.c: Likewise. - * sysdeps/m68k/fpu/k_tan.c: Likewise. - * sysdeps/m68k/fpu/s_atan.c: Likewise. - * sysdeps/m68k/fpu/s_ccos.c: Likewise. - * sysdeps/m68k/fpu/s_ccosh.c: Likewise. - * sysdeps/m68k/fpu/s_cexp.c: Likewise. - * sysdeps/m68k/fpu/s_csin.c: Likewise. - * sysdeps/m68k/fpu/s_csinh.c: Likewise. - * sysdeps/m68k/fpu/s_frexp.c: Likewise. - * sysdeps/m68k/fpu/s_ilogb.c: Likewise. - * sysdeps/m68k/fpu/s_isinf.c: Likewise. - * sysdeps/m68k/fpu/s_llrint.c: Likewise. - * sysdeps/m68k/fpu/s_llrintf.c: Likewise. - * sysdeps/m68k/fpu/s_llrintl.c: Likewise. - * sysdeps/m68k/fpu/s_lrint.c: Likewise. - * sysdeps/m68k/fpu/s_modf.c: Likewise. - * sysdeps/m68k/fpu/s_remquo.c: Likewise. - * sysdeps/m68k/fpu/s_scalbn.c: Likewise. - * sysdeps/m68k/fpu/s_sincos.c: Likewise. - - * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax, - __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo. - * signal/Makefile (headers): Add bits/siginfo.h. - (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue. - (distribute): Add testrtsig.h. - * signal/allocrtsig.c: New file. - * signal/signal.h: Define `union sigval'. Include <bits/siginfo.h>. - Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin, - __libc_current_sigrtmax. - * sysdeps/generic/sigqueue.c: New file. - * sysdeps/generic/sigtimedwait.c: New file. - * sysdeps/generic/sigwaitinfo.c: New file. - * sysdeps/generic/testrtsig.h: New file. - * sysdeps/generic/bits/siginfo.h: New file. - * sysdeps/unix/sysv/linux/bits/siginfo.h: New file. - * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as - old_kernel_sigaction and rename sa_handler member to k_sa_handler. - * sysdeps/unix/sysv/linux/rt_sigaction.c: New file. - * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file. - * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file. - * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file. - * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file. - * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file. - * sysdeps/unix/sysv/linux/sigpending.c: New file. - * sysdeps/unix/sysv/linux/sigprocmask.c: New file. - * sysdeps/unix/sysv/linux/sigqueue.c: New file. - * sysdeps/unix/sysv/linux/sigreturn.c: New file. - * sysdeps/unix/sysv/linux/sigtimedwait.c: New file. - * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file. - * sysdeps/unix/sysv/linux/testrtsig.h: New file. - * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO. - * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO. - * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO. - * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX. - * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME - and _POSIX_REALTIME_SIGNALS. - * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO. - * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and - update _NSIG. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO. - * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific - definitions. - - * Makefile (subdirs): Add rt. - * shlib-versions: Add entry for librt. - * rt/Makefile: New file. - * rt/aio.h: New file. - * rt/aio_cancel.c: New file. - * rt/aio_error.c: New file. - * rt/aio_fsync.c: New file. - * rt/aio_misc.c: New file. - * rt/aio_misc.h: New file. - * rt/aio_read.c: New file. - * rt/aio_read64.c: New file. - * rt/aio_return.c: New file. - * rt/aio_suspend.c: New file. - * rt/aio_write.c: New file. - * rt/aio_write64.c: New file. - * rt/lio_listio.c: New file. - * rt/lio_listio64.c: New file. - * sysdeps/generic/aio_sigqueue.c: New file. - * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file. - * sysdeps/unix/sysv/linux/Dist: Add new files - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal] - (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, - rt_sigqueueinfo, rt_sigaction. - - * posix/Makefile (headers): Add bits/environments.h. - * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS - and _CS_LFS_CFLAGS on 64bit platforms. - * posix/unistd.h: Define _XOPEN_LEGACY. Explain _XOPEN_REALTIME - and _XOPEN_REALTIME_THREADS. Include bits/environments.h. - * sysdeps/generic/bits/confname.h: Define _SC_* constants for - compilation modules. - * sysdeps/wordsize-32/bits/environments.h: New file. - * sysdeps/wordsize-64/bits/environments.h: New file. - - * posix/getopt.c: Remove declaration of getpid and __libc_pid. - * posix/getopt_init.c: Test for value 0xf00baa of uninitialized - __libc_pid. - * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to - 0xf00baa. - - * string/string.h: Add declaration of __strverscmp. - * string/strverscmp.c: Rename function ot __strverscmp and make old - name weak alias. - - * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid. - * sysdeps/generic/enbl-secure.c: Likewise. - * sysdeps/mach/hurd/dl-sysdep.c: Likewise. - - * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print. - - * sysdeps/unix/sysv/linux/sys/pci.h: New file. - -1997-12-03 Ulrich Drepper <drepper@cygnus.com> - - * posix/sys/wait.h: Use __transparent_union__ instead of - transparent_union. Reported by Roland McGrath. - -1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * resolv/inet_neta.c (inet_neta): Change type of first parameter - to u_int32_t. Suggested by John Lavagnino <John_Lavagnino@Brown.edu> - [PR libc/366]. - - * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t. - - * inet/arpa/inet.h: Change types of inet_neta and inet_addr. - -1997-12-03 20:40 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * grp/initgroups.c: Increase buffer if it is too small. - -1997-12-03 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit - fields, this is no ISO C. Reported by Andreas Jaeger. - -1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/i386/sys/ucontext.h (enum): Add missing commata. - -1997-12-03 08:58 Philip Blundell <pb@nexus.co.uk> - - * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines - _SYS_UTSNAME_H not _UTSNAME_H. - -1997-11-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf/dl-profile.c (_dl_start_profile): Avoid overflow when - computing s_scale. - -1997-11-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now. - * sysdeps/libm-ieee754/s_csqrtf.c: Likewise. - * sysdeps/libm-ieee754/s_csqrtl.c: Likewise. - - * math/libm-test.c (csqrt_test): Add testcase. - -1997-12-03 15:44 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file. - * sysdeps/unix/sysv/linux/sys/Dist: Add it. - * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise. - -1997-11-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration. - -1997-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * math/libm-test.c (acos_test): Add more tests. - (asin_test): Likewise. - (atan_test): Likewise. - (exp_test): Likewise. - (sin_test): Likewise. - (sqrt_test): Likewise. - (cpow_test): Likewise. - (csqrt_test): Likewise. - (cexp_test): Correct typo in gcc version test. - -1997-12-02 17:14 Philip Blundell <pb@nexus.co.uk> - - * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including - <bits/setjmp.h>. - * sysdeps/arm/setjmp.S: Likewise. - - * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file. - -1997-12-02 18:07 Philip Blundell <pb@nexus.co.uk> - - * stdio/stdio.h: Add prototype for tmpfile64(). - -1997-12-02 17:47 Philip Blundell <pb@nexus.co.uk> - - * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to - prototype to keep in step with libio version. - * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS. + * nis/rpcsvc/yp.h: Generate new without 1024 byte limits. -1997-12-02 17:41 Philip Blundell <pb@nexus.co.uk> + * nis/ypclnt.c: Try binding dir only first time, could be to old. - * sysdeps/generic/Makefile: Don't try to use make_siglist if - cross-compiling. - -1997-12-02 01:18 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns - load GOT ptr before jumping to _exit. - Reported by Xavier Leroy. - -1997-12-01 17:27 Ulrich Drepper <drepper@cygnus.com> - - * Makefile (subdirs): Add iconvdata and localedata. - - * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value. - - * iconv/gconv_conf.c (read_conf_file): Little optimization. - - * iconvdata/8bit-gap.c: New file. - * iconvdata/8bit-generic.c: Renamed from ... - * iconvdata/iso8859-generic.c: ...this. - * iconvdata/configure: Removed. - * iconvdata/Makefile: Add new modules and better rules. - * iconvdata/iso6937.c: Minor bug fixes. - * iconvdata/iso8859-1.c: Likewise. - * iconvdata/t61.c: Likewise. - * iconvdata/iso8859-2.c: Change to use 8bit-generic.c. - Minor bug fixes. - * iconvdata/iso8859-3.c: Likewise. - * iconvdata/iso8859-4.c: Likewise. - * iconvdata/iso8859-5.c: Likewise. - * iconvdata/iso8859-6.c: Likewise. - * iconvdata/iso8859-7.c: Likewise. - * iconvdata/iso8859-8.c: Likewise. - * iconvdata/iso8859-9.c: Likewise. - * iconvdata/iso8859-10.c: Likewise. - * iconvdata/ebcdic-at-de-a.c: New file. - * iconvdata/ebcdic-at-de.c: New file. - * iconvdata/ebcdic-ca-fr.c: New file. - * iconvdata/hp-roman8.c: New file. - * iconvdata/koi-8.c: New file. - * iconvdata/koi8-r.c: New file. - * iconvdata/koi8-h.c: New file. - * iconvdata/latin-greek-1.c: New file. - * iconvdata/latin-greek-1.h: New file. - * iconvdata/latin-greek.c: New file. - * iconvdata/latin-greek.h: New file. - * iconvdata/jis0201.c: New file. - * iconvdata/jis0201.h: New file. - * iconvdata/jis0208.c: New file. - * iconvdata/jis0208.h: New file. - * iconvdata/jis0212.c: New file. - * iconvdata/jis0212.h: New file. - * iconvdata/sjis.c: New file. - * iconvdata/gap.pl: New file. Script to generate table header. - * iconvdata/gaptab.pl: New file. - * iconvdata/gconv-modules: Add info about new modules. - - * locale/programs/charmap.c: Also examine alias names given in charmap - files. - - * localedata/*: Add to here from add-on. We need the information - to generate tables for iconv. - - Update from db-2.3.14. - * db2/Makefile: Updated. - * db2/config.h: Likewise. - * db2/db.h: Likewise. - * db2/db_int.h: Likewise. - * db2/btree/bt_cursor.c: Likewise. - * db2/btree/bt_delete.c: Likewise. - * db2/btree/bt_put.c: Likewise. - * db2/btree/bt_search.c: Likewise. - * db2/btree/bt_split.c: Likewise. - * db2/btree/btree_auto.c: Likewise. - * db2/common/db_appinit.c: Likewise. - * db2/common/db_apprec.c: Likewise. - * db2/common/db_err.c: Likewise. - * db2/common/db_region.c: Likewise. - * db2/db/db_auto.c: Likewise. - * db2/db/db_dispatch.c: Likewise. - * db2/db/db_ret.c: Likewise. - * db2/dbm/dbm.c: Likewise. - * db2/hash/hash_auto.c: Likewise. - * db2/include/btree_ext.h: Likewise. - * db2/include/common_ext.h: Likewise. - * db2/include/db.h.src: Likewise. - * db2/include/db_cxx.h: Likewise. - * db2/include/db_ext.h: Likewise. - * db2/include/db_int.h.src: Likewise. - * db2/include/lock.h: Likewise. - * db2/include/log.h: Likewise. - * db2/include/mp.h: Likewise. - * db2/include/mp_ext.h: Likewise. - * db2/include/os_ext.h: Likewise. - * db2/include/os_func.h: Likewise. - * db2/lock/lock.c: Likewise. - * db2/lock/lock_deadlock.c: Likewise. - * db2/log/log.c: Likewise. - * db2/log/log_archive.c: Likewise. - * db2/log/log_auto.c: Likewise. - * db2/log/log_get.c: Likewise. - * db2/log/log_put.c: Likewise. - * db2/mp/mp_bh.c: Likewise. - * db2/mp/mp_fget.c: Likewise. - * db2/mp/mp_fopen.c: Likewise. - * db2/mp/mp_fput.c: Likewise. - * db2/mp/mp_fset.c: Likewise. - * db2/mp/mp_open.c: Likewise. - * db2/mp/mp_pr.c: Likewise. - * db2/mp/mp_region.c: Likewise. - * db2/mp/mp_sync.c: Likewise. - * db2/mutex/README: Likewise. - * db2/mutex/mutex.c: Likewise. - * db2/os/os_open.c: Likewise. - * db2/os/os_func.c: Removed. - * db2/os/os_config.c: New file. - * db2/os/os_spin.c: New file. - * db2/txn/txn.c: Likewise. - * db2/txn/txn_auto.c: Likewise. - -1997-11-30 06:01 Ulrich Drepper <drepper@cygnus.com> - - * posix/sys/wait.h (__WAIT_INT): Don't use complex version with - __typeof for C++ since this fails for class members. - Reported by Neal Becker <neal@ctd.comsat.com>. - -1997-11-28 11:21 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * configure.in: Check for a working makeinfo (3.11 or better). - * config.make.in: Add MAKEINFO to be substituted. - * manual/Makefile: Don't update info if makeinfo is too old. - -1997-11-30 05:21 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions. - * sysdeps/alpha/__longjmp.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h> - not <bits/termios.h>. - - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as - __llseek and make llseek and lseek64 weak aliases. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - Patches by a sun <asun@zoology.washington.edu>. - -1997-11-29 19:19 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * misc/sys/syslog.h: Delete KERNEL preprocessor conditional. - * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise. - * misc/sys/syslog.h: Clean up BSD header. - -1997-11-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67. - - * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception - for ctan(+-inf,x). - * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise. - * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise. - - * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan, - csqrt (-1), ctanh(i*pi/4). - -1997-11-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/generic/bits/confname.h: Fix comma in enumerator. - -1997-11-28 13:28 Philip Blundell <Philip.Blundell@pobox.com> - - * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants. - -1997-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake. - -1997-11-26 21:28 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition - and use. Define GETCWD_RETURN_TYPE instead and use it. - * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead - of GETCWD_STORYGE_CLASS and put the return type and the - `internal_function' in the right order for gcc 2.7.2. - -1997-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/unix/sysv/linux/sys/module.h: Remove file. It's - incompatible with Linux 2.1.x. Packages using modules - (e.g. modutils) should/do provide their own version. Suggested by - Richard Henderson. - - * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h. - - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) - [$(subdir)=socket]: Remove sys/module.h. - -1997-11-26 04:28 Ulrich Drepper <drepper@cygnus.com> - - * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when - computing s_scale. Patch by a sun <asun@zoology.washington.edu>. - - * iconv/gconv_close.c: Correct freeing of descriptor data. - * iconv/gconv_simple.c: Return correct error values for illegal or - incomplete characters. - - * Makefile (iconvdata/%): Special goal to simplify iconvdata - development. - * iconvdata/Makefile: New file. - * iconvdata/configure: Likewise. - * iconvdata/extra-module.mk: Likewise. - * iconvdata/gconv-modules: Likewise. - * iconvdata/iso6937.c: Likewise. - * iconvdata/iso8859-1.c: Likewise. - * iconvdata/iso8859-10.c: Likewise. - * iconvdata/iso8859-10.h: Likewise. - * iconvdata/iso8859-2.c: Likewise. - * iconvdata/iso8859-2.h: Likewise. - * iconvdata/iso8859-3.c: Likewise. - * iconvdata/iso8859-3.h: Likewise. - * iconvdata/iso8859-4.c: Likewise. - * iconvdata/iso8859-4.h: Likewise. - * iconvdata/iso8859-5.c: Likewise. - * iconvdata/iso8859-5.h: Likewise. - * iconvdata/iso8859-6.c: Likewise. - * iconvdata/iso8859-6.h: Likewise. - * iconvdata/iso8859-7.c: Likewise. - * iconvdata/iso8859-7.h: Likewise. - * iconvdata/iso8859-8.c: Likewise. - * iconvdata/iso8859-8.h: Likewise. - * iconvdata/iso8859-9.c: Likewise. - * iconvdata/iso8859-9.h: Likewise. - * iconvdata/iso8859-generic.c: Likewise. - * iconvdata/t61.c: Likewise. - - * string/Makefile (routines): Add strcasestr. - * string/string.h: Add prototype for strcasestr. - * sysdeps/generic/strcasestr.c: New file. - * wcsmbs/mbrtowc.c: Simplify special case a bit. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when - partial character is read. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wmemrtombs.c: Likewise. - * wcsmbs/wmemrtowcs.c: Likewise. - - * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>. - * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>. - * sysdeps/i386/__longjmp.S: Define _SETJMP_H. - * sysdeps/i386/elf/setjmp.S: Likewise. - * sysdeps/unix/sysv/linux/kernel_termios.h: Do include - <bits/termios.h>. - - * sysdeps/posix/mk-stdiolim.c: Output file with comment. - * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment. - - * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print. - * sysvipc/sys/ipc.h: Likewise. - * sysvipc/sys/msg.h: Likewise. - * sysvipc/sys/sem.h: Likewise. - * sysvipc/sys/shm.h: Likewise. - - * sysdeps/alpha/bits/endian.h: Issue error message if the header is - used directly. - * sysdeps/alpha/bits/setjmp.h: Likewise. - * sysdeps/alpha/fpu/bits/fenv.h: Likewise. - * sysdeps/arm/bits/endian.h: Likewise. - * sysdeps/arm/bits/setjmp.h: Likewise. - * sysdeps/generic/bits/byteswap.h: Likewise. - * sysdeps/generic/bits/confname.h: Likewise. - * sysdeps/generic/bits/dirent.h: Likewise. - * sysdeps/generic/bits/dlfcn.h: Likewise. - * sysdeps/generic/bits/endian.h: Likewise. - * sysdeps/generic/bits/fenv.h: Likewise. - * sysdeps/generic/bits/huge_val.h: Likewise. - * sysdeps/generic/bits/in.h: Likewise. - * sysdeps/generic/bits/ioctl-types.h: Likewise. - * sysdeps/generic/bits/ioctls.h: Likewise. - * sysdeps/generic/bits/ipc.h: Likewise. - * sysdeps/generic/bits/msq.h: Likewise. - * sysdeps/generic/bits/poll.h: Likewise. - * sysdeps/generic/bits/resource.h: Likewise. - * sysdeps/generic/bits/sched.h: Likewise. - * sysdeps/generic/bits/sem.h: Likewise. - * sysdeps/generic/bits/setjmp.h: Likewise. - * sysdeps/generic/bits/shm.h: Likewise. - * sysdeps/generic/bits/sigaction.h: Likewise. - * sysdeps/generic/bits/sigcontext.h: Likewise. - * sysdeps/generic/bits/socket.h: Likewise. - * sysdeps/generic/bits/stat.h: Likewise. - * sysdeps/generic/bits/statfs.h: Likewise. - * sysdeps/generic/bits/stdio_lim.h: Likewise. - * sysdeps/generic/bits/termios.h: Likewise. - * sysdeps/generic/bits/time.h: Likewise. - * sysdeps/generic/bits/uio.h: Likewise. - * sysdeps/generic/bits/utmp.h: Likewise. - * sysdeps/generic/bits/utmpx.h: Likewise. - * sysdeps/generic/bits/utsname.h: Likewise. - * sysdeps/generic/bits/waitflags.h: Likewise. - * sysdeps/generic/bits/waitstatus.h: Likewise. - * sysdeps/gnu/bits/utmp.h: Likewise. - * sysdeps/gnu/bits/utmpx.h: Likewise. - * sysdeps/i386/bits/byteswap.h: Likewise. - * sysdeps/i386/bits/endian.h: Likewise. - * sysdeps/i386/bits/huge_val.h: Likewise. - * sysdeps/i386/bits/setjmp.h: Likewise. - * sysdeps/i386/fpu/bits/fenv.h: Likewise. - * sysdeps/ieee754/bits/huge_val.h: Likewise. - * sysdeps/m68k/bits/byteswap.h: Likewise. - * sysdeps/m68k/bits/endian.h: Likewise. - * sysdeps/m68k/bits/setjmp.h: Likewise. - * sysdeps/m68k/fpu/bits/fenv.h: Likewise. - * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise. - * sysdeps/mach/hurd/bits/ioctls.h: Likewise. - * sysdeps/mach/hurd/bits/stat.h: Likewise. - * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise. - * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise. - * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise. - * sysdeps/mips/bits/dlfcn.h: Likewise. - * sysdeps/mips/bits/endian.h: Likewise. - * sysdeps/mips/bits/setjmp.h: Likewise. - * sysdeps/mips/dec/bits/endian.h: Likewise. - * sysdeps/mips/mips64/bits/setjmp.h: Likewise. - * sysdeps/mips/mipsel/bits/endian.h: Likewise. - * sysdeps/mips/p40/bits/endian.h: Likewise. - * sysdeps/powerpc/bits/endian.h: Likewise. - * sysdeps/powerpc/bits/fenv.h: Likewise. - * sysdeps/powerpc/bits/setjmp.h: Likewise. - * sysdeps/sparc/sparc32/bits/endian.h: Likewise. - * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise. - * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise. - * sysdeps/sparc/sparc64/bits/endian.h: Likewise. - * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise. - * sysdeps/unix/bsd/bits/dirent.h: Likewise. - * sysdeps/unix/bsd/bits/stat.h: Likewise. - * sysdeps/unix/bsd/bits/waitflags.h: Likewise. - * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise. - * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise. - * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise. - * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise. - * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise. - * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise. - * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise. - * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise. - * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise. - * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise. - * sysdeps/unix/common/bits/dirent.h: Likewise. - * sysdeps/unix/sysv/bits/dirent.h: Likewise. - * sysdeps/unix/sysv/bits/stat.h: Likewise. - * sysdeps/unix/sysv/bits/utmp.h: Likewise. - * sysdeps/unix/sysv/bits/utsname.h: Likewise. - * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise. - * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise. - * sysdeps/unix/sysv/linux/bits/in.h: Likewise. - * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise. - * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise. - * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise. - * sysdeps/unix/sysv/linux/bits/msq.h: Likewise. - * sysdeps/unix/sysv/linux/bits/poll.h: Likewise. - * sysdeps/unix/sysv/linux/bits/resource.h: Likewise. - * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. - * sysdeps/unix/sysv/linux/bits/sem.h: Likewise. - * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise. - * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise. - * sysdeps/unix/sysv/linux/bits/termios.h: Likewise. - * sysdeps/unix/sysv/linux/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/bits/uio.h: Likewise. - * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise. - * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise. - * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise. - * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise. - * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise. - * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise. - * sysdeps/vax/bits/huge_val.h: Likewise. - * sysdeps/vax/bits/setjmp.h: Likewise. - * sysdeps/wordsize-32/bits/elfclass.h: Likewise. - * sysdeps/wordsize-64/bits/elfclass.h: Likewise. - -1997-11-25 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * libio/stdio.h: Correct comment of sys_nerr/sys_errlist. - -1997-11-25 Paul Eggert <eggert@shade.twinsun.com> - - * strftime.c (strftime): - No longer any need to undef or declare if emacs is defined. - (my_strftime): When checking a -1 returned by mktime, don't blow up - if localtime_r returns NULL. - -1997-11-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * README.template: Fix spelling. - -1997-11-25 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * configure.in: Enhance --enable-add-ons description a wee bit. - -1997-11-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * glibcbug.in: Add more information of build environment and flags. - -1997-11-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate - it into ENOENT. - -1997-11-24 03:01 Ulrich Drepper <drepper@cygnus.com> - - * elf/dl-support.c: Call __libc_init_secure to make sure - __libc_enable_secure is defined early. - * sysdeps/generic/enbl-secure.c: Change function name to - __libc_init_secure and make it global instead of a constructor. - - * iconv/gconv.c: Fix lots of bugs. - * iconv/gconv.h: Likewise. - * iconv/gconv_builtin.h: Likewise. - * iconv/gconv_close.c: Likewise. - * iconv/gconv_conf.c: Likewise. - * iconv/gconv_db.c: Likewise. - * iconv/gconv_dl.c: Likewise. - * iconv/gconv_open.c: Likewise. - * iconv/gconv_simple.c: Likewise. - * iconv/iconv.c: Likewise. - * iconv/iconv_close.c: Likewise. - * iconv/iconv_open.c: Likewise. - - * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs. - * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs. - * wcsmbs/wmemrtombs.c: New file. - * wcsmbs/wmemrtowcs.c: New file. - -1997-11-22 19:28 Ulrich Drepper <drepper@cygnus.com> - - * iconv/gconv_simple.c: Fix lots of bugs. - * iconv/iconv_open.c: Normalize names before passing them to - __gconv_open. - - * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose. - - * libio/iopopen.c: Check for correct mode argument and punt otherwise. - * stdio-common/test-popen.c: Add test for above change. - - * math/libm-test.c: Print test results also using %a format, - specified in PRINTF_XEXPR macro. - * math/test-double.c: Define PRINTF_XEXPR. - * math/test-float.c: Likewise. - * math/test-ldouble.c: Likewise. - * math/test-idouble.c: Likewise. - * math/test-ifloat.c: Likewise. - * math/test-ildoubl.c: Likewise. - - * stdio-common/vfscanf.c: Recognize a in format specifier only as - modifier if used before s, S, or [. Otherwise it's the hexadecimal - FP number format. - - * stdlib/strtod.c: Little code cleanup. - - * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for - compiling in math subdir. - - * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES - instead of __LIBC_M81_MATH_INLINES. - * sysdeps/m68k/fpu/e_atan2.c: Likewise. - * sysdeps/m68k/fpu/e_fmod.c: Likewise. - * sysdeps/m68k/fpu/e_pow.c: Likewise. - * sysdeps/m68k/fpu/e_scalb.c: Likewise. - * sysdeps/m68k/fpu/k_cos.c: Likewise. - * sysdeps/m68k/fpu/k_sin.c: Likewise. - * sysdeps/m68k/fpu/k_tan.c: Likewise. - * sysdeps/m68k/fpu/s_atan.c: Likewise. - * sysdeps/m68k/fpu/s_ccos.c: Likewise. - * sysdeps/m68k/fpu/s_ccosh.c: Likewise. - * sysdeps/m68k/fpu/s_cexp.c: Likewise. - * sysdeps/m68k/fpu/s_csin.c: Likewise. - * sysdeps/m68k/fpu/s_csinh.c: Likewise. - * sysdeps/m68k/fpu/s_frexp.c: Likewise. - * sysdeps/m68k/fpu/s_ilogb.c: Likewise. - * sysdeps/m68k/fpu/s_isinf.c: Likewise. - * sysdeps/m68k/fpu/s_llrint.c: Likewise. - * sysdeps/m68k/fpu/s_llrintf.c: Likewise. - * sysdeps/m68k/fpu/s_llrintl.c: Likewise. - * sysdeps/m68k/fpu/s_lrint.c: Likewise. - * sysdeps/m68k/fpu/s_modf.c: Likewise. - * sysdeps/m68k/fpu/s_remquo.c: Likewise. - * sysdeps/m68k/fpu/s_scalbn.c: Likewise. - * sysdeps/m68k/fpu/s_sincos.c: Likewise. - * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if - __LIBC_INTERNAL_MATH_INLINES is defined. - - * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions - of compare macros from ISO C 9X. Optimize generic versions a bit. - Define __signbit inline functions and __ieee754_sqrt which can be - used if the ompiler is fixed. - - * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias. - -1997-11-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Makerules ($(common-objpfx)stub-$(subdir)): Look for - sysdeps/generic in the whole dep file, not only in the first line. + * nis/yp_xdr.c: Remove 1024 byte limit. + * nis/ypupdate_xdr.c: Likewise. -1997-11-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * nis/nss_nis/nis-publickey.c: Make sure, nobody could send + wrong data. - * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type. +1998-08-18 Roland McGrath <roland@baalperazim.frob.com> -1997-11-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * Rules (binaries-static, binaries-shared static pattern rules): + Depend on lib%, not just libc%, from $(link-libc{,-static}). - * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right - place. + * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set + this here, overriding Makeconfig generic value so we link against + the RPC libs. -1997-11-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-08-17 Ulrich Drepper <drepper@cygnus.com> - * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME - is non-empty. + * posix/tstgetopt.c (options): Add NULL entry at end + Patch by Adrian Miranda <ade@psg.com>. -1997-11-20 16:51 Ulrich Drepper <drepper@cygnus.com> +1998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com> - * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for - return value. + * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD + to 9. -1997-11-19 21:36 Ulrich Drepper <drepper@cygnus.com> +1998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if - readlink succeeds but the return value is too long. + * elf/elf.h: Add PPC Diab relocations. - * stdio-common/printf_fphex.c: Determine sign of number correctly. + * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln. -1997-11-19 02:45 Ulrich Drepper <drepper@cygnus.com> +1998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com> - * libc.map: Export __divl, __reml, __divq, __remq, __divqu and - __remqu for Alpha. + * manual/texinfo.tex: Update. -1997-11-18 23:08 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/generic/sys/ucontext.h: Stub context file. - - * libio/iofprintf.c: Removed. We use the stdio-common version. - - * manual/Makefile (distribute): Add stdio-fp.c. - - * sysdeps/powerpc/Dist: Add ppc-mcount.S. - - * db2/Makefile (distribute): Add include/os_func.h, README and - mutex/tsl_parisc.s. - - * hesiod/Makefile (distribute): Add README.hesiod. - -1997-11-18 22:14 Ulrich Drepper <drepper@cygnus.com> - - * iconv/gconv.c: Correctly call transformation function. - - * manual/maint.texi: Document need of binutils 2.8.1.0.17. - -1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave - wrong results for e.g. remquo (3,2, &x)). - * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise. - * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise. - -1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * configure.in (ld --version-script): Test if the same symbol - maybe defined in all versions (needed by recent changes to - libc.map and supported with binutils 2.8.1.0.17) and issue warning - if versioning is not supported/enabled. - (bash test): Correct test case. - - * math/libm-test.c: Added counting/reporting of number of test cases. - - * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required, - use awk instead. - - * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS. - -1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic. - -1997-11-18 18:04 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/generic/pty.c: Define REVOKE to use revoke function. - Replace revoke call by use of REVOKE. - * sysdeps/unix/sysv/linux/pty.c: New file. Define REVOKE as - empty and #include generic version. - Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>. - -1997-11-18 16:02 Ulrich Drepper <drepper@cygnus.com> - - * libc.map: Add socket functions with __libc_* names. - Reported by Andreas Jaeger. - -1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * libc.map: Tidy up (remove duplicates, sort entries). - -1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS. - -1997-11-18 06:45 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/generic/pty.c: Make thread safe. Fix bug when calling - again after successful call. - Patch by Marc Lehmann <pcg@goof.com>. - -1997-11-17 Paul Eggert <eggert@twinsun.com> - - * time/mktime.c, time/strftime.c (_REENTRANT): #define, - as some hosts need this to declare localtime_r properly. - -1997-11-18 06:08 Ulrich Drepper <drepper@cygnus.com> - - * libc.map: Add iconv_open, iconv, and iconv_close. - -1997-11-18 02:31 Ulrich Drepper <drepper@cygnus.com> - - * iconv/Makefile: New file. - * iconv/gconv.c: New file. - * iconv/gconv.h: New file. - * iconv/gconv_builtin.c: New file. - * iconv/gconv_builtin.h: New file. - * iconv/gconv_close.c: New file. - * iconv/gconv_conf.c: New file. - * iconv/gconv_db.c: New file. - * iconv/gconv_dl.c: New file. - * iconv/gconv_open.c: New file. - * iconv/gconv_simple.c: New file. - * iconv/iconv.c: New file. - * iconv/iconv.h: New file. - * iconv/iconv_close.c: New file. - * iconv/iconv_open.c: New file. - * include/gconv.h: New file. - - * Makeconfig: Define gconvdir. - * Makefile (subdirs): Add iconv. - - * string/bits/string2.h: Add optimization for strtok_r. - - * sysdeps/generic/_G_config.h: Define __need_NULL to get definition - for NULL. - * sysdeps/unix/sysv/linux/_G_config.h: Likewise. - Reported by H.J. Lu <hjl@gnu.ai.mit.edu>. - - * configure.in: Correct test for bash2. - Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>. - - * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts. - (CFLAGS-locfile.c): Likewise. - Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>. - - * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for - non-existing entry if the table is full. - - * posix/regex.h: Pretty print. - - * stdio-common/printf_fp.c: Don't define NDEBUG if already defined. - - * sysdeps/posix/ctermid.c: Simplify a bit. - - * sysdeps/unix/sysv/linux/net/if.h: Pretty print. - -1997-11-17 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/unix/sysv/linux/sys/quota.h: Add include for - <sys/types.h> instead of <asm/types.h>. - -1997-11-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * math/libm-test.c (asin_test): Add epsilon for asin (0.5). - -1997-11-16 17:09 H.J. Lu <hjl@gnu.ai.mit.edu> - - * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen, - fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0. - (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1. - (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose, - fclose): Added to GLIBC_2.1. - - * libio/Makefile (routines, shared-only-routines): Add - oldiofclose. Remove oldfreopen. - - * libio/freopen.c (freopen): When PIC is defined, call - _IO_old_freopen () for old stdio. - - * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose. - (_IO_fclose, fclose): Use _IO_new_fclose as default version - for GLIBC_2.1. - - * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it - instead of _IO_file_close_it. +1998-08-07 Geoff Keating <geoffk@ozemail.com.au> - * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed - to _IO_2_1_stdxxx_. - (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC - is defined. + * sysdeps/powerpc/backtrace.c: New file. - * libio/libioP.h (_IO_old_do_flush): New. +1998-08-14 Philip Blundell <pb@nexus.co.uk> - * libio/oldfileops.c (_IO_old_file_close_it, - _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync): - Call _IO_old_do_flush () instead of _IO_do_flush (). - (_IO_old_file_xsputn): Call _IO_old_do_write () instead of - _IO_do_write (). + * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling + sigjmp_save. + * sysdeps/arm/elf/setjmp.S: Obsolete, deleted. - * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init () - instead of _IO_file_init (). - Bind old symbols to version GLIBC_2.0. +1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version. - (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to - _IO_stdxxx_. - (_IO_check_libio): New function in .init. + * Makefile (install-symbolic-link): Fix spelling. - * libio/oldiofclose.c: New file. +1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_, - _IO_new_stderr_): Changed to _IO_2_1_stdxxx_. - (DEF_STDFILE): Don't use default_symbol_version. + * elf/elf.h (SHT_HIOS): Fix value. - * libio/stdio.c (stdin, stdout, stderr): Set to - _IO_2_1_stdxxx_._ - (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of - stdxxx. +1998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * csu/Makefile (distribute): Add init.c. - (extra-objs): Add init.o for ELF. - (start-installed-name): Add $(objpfx)init.o. + * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as + part of the expansion, this is undefined by the standard. - * csu/init.c: New file. +1998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com> -1997-11-12 08:02 H.J. Lu <hjl@gnu.ai.mit.edu> + * posix/getconf.c: Add support for systems with incomplete confname.h. - * elf/dl-lookup.c (do_lookup): Don't use the hidden base - definition as the default. + * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined. -1997-08-27 Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de> + * sysdeps/posix/wait3.c: Make it work. - * erand48_r.c (__erand48_r): Implement for 32 bit short int. +1998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1997-11-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * Makefile ($(inst_slibdir)/libc-$(version).so): Remove. + (elf/ldso_install): Remove. - * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2 - (PR 351). + * elf/Makefile (distribute): Add sln.c. + (others): Add sln. + (others-static): Add sln. + (install-rootsbin): Add sln. + (others-static): Add sln. + (ldso_install): Remove. -1997-11-16 21:01 Philip Blundell <Philip.Blundell@pobox.com> +1998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not - to preserve condition codes on function call. + * Makerules (install-clean-symbolic-link-list): Make phony. + * Makefile (install-symbolic-link): Make phony. Depend on + subdir_install for parallel makes. -1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l. +1998-07-22 Ulrich Drepper <drepper@cygnus.com> -1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * elf/Makefile (distribute): Add sln.c - * math/libm-test.c (asin_test): Add epsilon for float. - (tan_test): Add epsilon for float. - (log1p_test): Add epsilon for float. - (inverse_functions): Add epsilons. +1998-07-21 07:10 H.J. Lu <hjl@gnu.org> - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add - net/if_packet.h. + * elf/sln.c: New file. - * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h. + * Makerules (symbolic-link-prog, symbolic-link-list): New macros. + (install-clean-symbolic-link-list): New target. + (install): Depend on install-clean-symbolic-link-list. + (make-shlib-link): Changed for $(symbolic-link-list). -1997-11-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * Makefile (install-symbolic-link): New target. + (install): Depend on install-symbolic-link. - * md5-crypt/Makefile (extra-objs): Make recursively expanded - variable, since $(object-suffixes) is not defined yet. +1998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com> -1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * include/unistd.h: Protect against multiple inclusion. - * db2/Makefile (distribute): db185/db185_int.src -> - db185/db185_int.h. + * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P + is defined, not is glob is defined. + * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P. -1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-08-01 17:18 H.J. Lu <hjl@gnu.org> - * misc/tst-fdset.c: Don't require the value of FD_ISSET to be - exactly one. + * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of + xdr_string for ut_line, ut_name and ut_host. -1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level - name. - * sysdeps/generic/e_acosl.c: Likewise. - * sysdeps/generic/e_asinl.c: Likewise. - * sysdeps/generic/e_atan2l.c: Likewise. - * sysdeps/generic/e_expl.c: Likewise. - * sysdeps/generic/e_fmodl.c: Likewise. - * sysdeps/generic/e_j0l.c: Likewise. - * sysdeps/generic/e_j1l.c: Likewise. - * sysdeps/generic/e_jnl.c: Likewise. - * sysdeps/generic/e_lgammal_r.c: Likewise. - * sysdeps/generic/e_log10l.c: Likewise. - * sysdeps/generic/e_logl.c: Likewise. - * sysdeps/generic/e_powl.c: Likewise. - * sysdeps/generic/e_sqrtl.c: Likewise. - * sysdeps/generic/e_exp2l.c: Likewise. + * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to + /var/mail in accordance with FHS 2.0. + Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639]. -1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1998-08-12 Richard Henderson <rth@cygnus.com> - * Make-dist (+sysdep-names): Remove extra paren. - * Makefile (distribute): Add stub-tag.h. - * elf/Makefile (distribute): Add atomicity.h. - * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) - [$(subdir)=socket]: Add net/if_packet.h. - * sysdeps/alpha/Dist: Remove setjmp_aux.c. - * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c, - net/if_packet.h, scsi/sg.h. + * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg): + Update aliases for cancelation. -1997-11-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before + playing with symbol versions. - * Makefile (install): Quote $(CC) expansion. +1998-08-12 Roland McGrath <roland@baalperazim.frob.com> -1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and + multiple inclusion protection. + (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES, + _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros, + define all these to 1. + (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it. - * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of - working /proc cwd and no restrictions on path length. Following - some ideas from Andi Kleen <ak@muc.de> (PR 350). +1998-08-12 Roland McGrath <roland@baalperazim.frob.com> -1997-11-14 19:14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * sysdeps/mach/usleep.c: Include <unistd.h>. + (usleep): Return void. - * nis/nss_compat/compat-grp.c: Remove buggy assert call. - * nis/nss_compat/compat-pwd.c: Likewise. - * nis/nss_compat/compat-spwd.c: Likewise. +1998-08-11 Roland McGrath <roland@baalperazim.frob.com> -1997-11-14 22:23 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward + decl to inhibit warning in if_freenameindex defn. - * sysdeps/libm-i387/s_fdim.S: New file. - * sysdeps/libm-i387/s_fdimf.S: New file. - * sysdeps/libm-i387/s_fdiml.S: New file. - * sysdeps/libm-i387/i686/s_fdim.S: New file. - * sysdeps/libm-i387/i686/s_fdimf.S: New file. - * sysdeps/libm-i387/i686/s_fdiml.S: New file. + * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable. -1997-11-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name. - * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a - pointer to unsigned char. + * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>. + * sysdeps/mach/hurd/getdents.c: Include <unistd.h>. + * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>. + * sysdeps/mach/usleep.c: Likewise. -1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/mach/hurd/bind.c (bind): Add a const. - * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function. + * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn. + * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise. + * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise. + * sysdeps/mach/hurd/reboot.c (reboot): Likewise. + * sysdeps/mach/usleep.c (usleep): Likewise. + * sysdeps/mach/hurd/chflags.c (chflags): Likewise. + * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise. + * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise. + * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise. - * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function. +1998-08-11 Roland McGrath <roland@baalperazim.frob.com> - * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function. + * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>. + (glob64): Fix typo. -1997-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * malloc/malloc.c (free_check, realloc_check): Don't cast to long for + %p arg to fprintf, since `void *' is the right type already. - * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for - ilogb(0/NaN). - * sysdeps/libm-ieee754/s_ilogbl.c: Likewise. - * sysdeps/libm-ieee754/s_ilogb.c: Likewise. +1998-07-25 19:47 Jose M. Moya <josem@gnu.org> -1997-11-14 05:44 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/mach/hurd/getcwd.c + (_hurd_canonicalize_directory_name_internal): Do not loop forever + for unknown root directories. + (__getcwd): Return NULL when the current root directory could not + be reached. - * sysdeps/libm-i387/s_fmin.S: New file. - * sysdeps/libm-i387/s_fminf.S: New file. - * sysdeps/libm-i387/s_fminl.S: New file. - * sysdeps/libm-i387/s_fmax.S: New file. - * sysdeps/libm-i387/s_fmaxf.S: New file. - * sysdeps/libm-i387/s_fmaxl.S: New file. - * sysdeps/libm-i387/i686/s_fmin.S: New file. - * sysdeps/libm-i387/i686/s_fminf.S: New file. - * sysdeps/libm-i387/i686/s_fminl.S: New file. - * sysdeps/libm-i387/i686/s_fmax.S: New file. - * sysdeps/libm-i387/i686/s_fmaxf.S: New file. - * sysdeps/libm-i387/i686/s_fmaxl.S: New file. +1998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com> -1997-11-14 03:06 Ulrich Drepper <drepper@cygnus.com> + * string/strsignal.c (strsignal): Count real-time signals from zero. - * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias. - * sysdeps/unix/sysv/linux/send.S: Likewise. - * sysdeps/unix/sysv/linux/recvfrom.S: Likewise. - * sysdeps/unix/sysv/linux/recvmsg.S: Likewise. - * sysdeps/unix/sysv/linux/sendmsg.S: Likewise. - * sysdeps/unix/sysv/linux/recv.S: Likewise. - * sysdeps/unix/sysv/linux/sendto.S: Likewise. - * sysdeps/unix/sysv/linux/connect.S: Likewise. - Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>. -See ChangeLog.7 for earlier changes. +See ChangeLog.8 for earlier changes. |