diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2017-08-02 20:45:20 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2017-08-02 20:45:20 +0530 |
commit | 92c3af3c140f671ea49c751368d17df2e10d0eeb (patch) | |
tree | d9528c7f8aff5b568f696bbbaa000a8480950a9e /ChangeLog.8 | |
parent | 00cdcf5a4110f7ac68651f5662693c82f7bffaca (diff) | |
download | glibc-92c3af3c140f671ea49c751368d17df2e10d0eeb.tar.gz glibc-92c3af3c140f671ea49c751368d17df2e10d0eeb.tar.xz glibc-92c3af3c140f671ea49c751368d17df2e10d0eeb.zip |
Rotate ChangeLog
Diffstat (limited to 'ChangeLog.8')
-rw-r--r-- | ChangeLog.8 | 21747 |
1 files changed, 11889 insertions, 9858 deletions
diff --git a/ChangeLog.8 b/ChangeLog.8 index 52b85a6270..cc1a5a79f8 100644 --- a/ChangeLog.8 +++ b/ChangeLog.8 @@ -1,2924 +1,1885 @@ -1998-08-11 14:05 Ulrich Drepper <drepper@cygnus.com> +1997-11-13 20:39 Ulrich Drepper <drepper@cygnus.com> - * timezone/backward: Update from tzdata1998g. - * timezone/etcetera: Likewise. - * timezone/europe: Likewise. + * sysdeps/m68k/bits/nan.h: Removed. The generic version is usable. -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> - - * include/dirent.h: Protect from double inclusion. - -1998-08-09 Mark Kettenis <kettenis@phys.uva.nl> - - * 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> - - * 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. - - * 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. - - * Makeconfig (+includes): Search in $(..)include first. - - * io/fstat.c: Undefine __fstat. - * io/lstat.c: Undefine __lstat. - - * wcsmbs/Versions: Add __mbrlen. - -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. - -1998-08-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * math/libm-test.c (csqrt_test): Adjust epsilons. - (casinh_test): Likewise. - -1998-08-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * posix/globtest.sh: Fix typo. Remove second test output file. - -1998-08-07 Cristian Gafton <gafton@redhat.com> - - * 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. - -1998-08-04 19:33 Ulrich Drepper <drepper@cygnus.com> - - * elf/elf.h: More ELF definitions. - -1998-08-04 16:53 Ulrich Drepper <drepper@cygnus.com> - - * stdio-common/tmpfile.c: Include unistd.h for close prototype. - * stdio-common/tmpfile64.c: Likewise. - - * db2/makedb.c: Generate output file with same access permissions - the input file has. - - * signal/signal.h: Pretty printing. - -1998-08-04 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * misc/mktemp.c: Add include <stlib.h> for prototype, remove - unneccessary includes. - * misc/mkstemp.c: Likewise. - -1998-08-03 16:36 Ulrich Drepper <drepper@cygnus.com> - - * 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. - - * elf/elf.h: Fix typo. - - * math/Makefile: Use $(LN_S) instead of ln. - - * sysdeps/generic/getpgid.c: Fix return type. - -1998-08-01 02:49 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * 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. - - * libio/stdio.h: Prototype __gen_tempname and __path_search, - not __stdio_gen_tempname. - * stdio/stdio.h: Likewise. - - * 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. - -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. - -1998-08-02 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * 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. - -1998-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sunrpc/svc_unix.c (__msgread): Check setsockopt return value. - -1998-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/generic/glob.c: Remove obsolete cast. - -1998-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Rules (tests): Fix last change. - -1998-07-31 17:59 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/Makefile [subdir==misc] (sysdep_routines): - Add sys_setresuid. - -1998-07-30 Mark Kettenis <kettenis@phys.uva.nl> - - * 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. - -1998-07-30 20:09 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * time/tzset.c (__tzstring): Get rid of excessive cleverness - which was causing stack corruption. - -1998-07-31 16:41 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * argp/argp-fmtstream.c (__argp_fmtstream_update): Correct - off-by-one in wordwrap algorithm when there' a space at the - beginning of the buffer. - -1998-07-31 15:45 Ulrich Drepper <drepper@cygnus.com> - - * Makerules (LDLIBS-c.so): Extend value instead of overwriting it. - -1998-07-31 11:10 Ulrich Drepper <drepper@cygnus.com> - - * elf/elf.h: Add lots of new symbols from Irix and Solaris. - - * sysdeps/unix/sysv/linux/sigstack.c: Include stddef.h to get NULL - definition. - -1998-07-31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * sunrpc/xcrypt.c: Use only the first 8 characters of the password. - -1998-07-30 21:06 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * sysdeps/generic/glob.c: Undefine strdup before defining it, - because bits/string2.h may have defined it already. - -1998-07-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * stdio-common/vfscanf.c: Optimize looking for type modifiers. - Fix recognition of 'a' modifier vs. 'a' format. - (TYPEMOD): Removed. - - * stdio-common/printf-parse.h (parse_one_spec): Optimize looking - for type modifiers. Fix recognition of 'hh' modifier. - -1998-07-31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * sunrpc/svc_unix.c: Fix typo. - -1998-07-31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * sysdeps/unix/sysv/linux/recvmsg.c: Don't check for SCM_CREDS before - syscall. - -1998-07-30 12:38 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. - - * sysdeps/i386/i486/bits/string.h: Add optimizations for ffs/ffsl - on i686. - -1998-07-30 Richard Henderson <rth@cygnus.com> - - * elf/Makefile (ld-map): Move initialization below Makeconfig include. - - * sysdeps/libm-ieee754/k_standard.c (zero): Make non-const to - work around gcc bug. - - * 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. - -1998-07-30 10:03 Ulrich Drepper <drepper@cygnus.com> - - * 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. - -1998-07-22 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * inet/protocols/rwhod.h: Correct typo in comment. - - * configure.in: Use better regex for gettext. - -1998-07-29 21:29 Ulrich Drepper <drepper@cygnus.com> +1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * elf/elf.h: Define more EM_* constants, ELFCLASSNUM, ELFDATANUM, - EV_NUM, Elf32_Nhdr, Elf64_Nhdr and various note section values. + * manual/arith.texi: Fix typo in @ifclear. - * elf/elf.h: Add DT_FLAGS_1 and the DF_1_* flag definitions. + * manual/arith.texi (Imaginary Unit): Add @end deftypevr. - * elf/sprof.c: Implement -c/--call-pairs option to emit list with - caller/callee and the number of calls. +1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-07-29 Mark Kettenis <kettenis@phys.uva.nl> + * sysdeps/libm-ieee754/s_nanl.c (__nanl): Use NAN instead of + NANL. - * sysdeps/mach/hurd/dl-sysdep.c (__lseek): New function. - (__getpid): New function. - (abort): New function. + * sysdeps/libm-ieee754/s_nanf.c (__nanf): Use NAN instead of + NANF. -1998-07-29 15:07 Ulrich Drepper <drepper@cygnus.com> +1997-11-13 01:07 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/arm/fpu/Dist: New file. Add ieee754.h. + * manual/arith.texi: Update documentation according to most recent + ISO C 9X draft. + Document fma, fdim, fmin, and fmax. + * manual/math.texi: Allow multiple defitino of mul etc. - * nis/nis_cache2_xdr.c: Removed. - * nis/nis_cache.c: Removed. - * nis/nis_cache2.h: Removed. + * math/complex.h (I): Define using _Complex_U not _Imaginary_I. -1998-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * math/libm-test.c: Add tests for fma. - * Rules (tests): Depend on tests-static only if build-static == yes. + * math/math.h: Describe DECIMAL_DIG macro. Pretty print. - * misc/Makefile (install-lib): Compile libbsd-compat.a and libg.a - only if build-static == yes. + * sysdeps/alpha/fpu/bits/mathdef.h: Define INFINITY as of type float. + Define DECIMAL_DIG. + * sysdeps/generic/bits/mathdef.h: Likewise. + * sysdeps/i386/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-07-29 12:58 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/ieee754/bits/nan.h: Define NAN as of type float. + * sysdeps/m68k/bits/nan.h. Likewise. Remove NANF and NANL. - * sysdeps/generic/glob.c: Windows compatibility stuff. - Patch received from Paul D. Smith <psmith@BayNetworks.COM>. +1997-11-12 17:50 Ulrich Drepper <drepper@cygnus.com> -1998-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sunrpc/xcrypt.c: Don't process #ident preprocessor instruction. + Reported by Philip Blundell <pb@nexus.co.uk>. - * sunrpc/clnt_unix.c (__msgwrite)[!SCM_CRED]: Add return - statement, fix typo. - * sunrpc/svc_unix.c (__msgwrite)[!SCM_CRED]: Likewise. + * string/strndup.c: Use K&R like definition. -1998-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/unix/sysv/linux/getcwd.c: New file. Use kernel information + instead of longish search for the name. + * sysdeps/posix/getcwd.c: Add support for use of the code as a + backup solution. - * manual/pattern.texi (More Flags for Globbing): Fix typo. +1997-11-12 15:31 Philip Blundell <pb@nexus.co.uk> - * manual/math.texi (Special Functions): Fix typo. + * sysdeps/unix/sysv/linux/arm/sysdep.h (SYS_ify): Don't add + SWI_BASE in twice. - * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT): New - constant from Linux 2.1.112. + * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter): + Use correct name to access PC. - * posix/Makefile (install-lib): Compile libposix.a only if - build-static == yes. + * sysdeps/unix/arm/sysdep.S: Include <bits/errno.h> not <errnos.h>. -1998-07-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/generic/bits/types.h: Add __ino64_t and __off64_t. + * sysdeps/generic/bits/stat.h: Add struct stat64. - * sysdeps/generic/glob.c: Maintain const correctness. Move extern - declarations to file level. Cope with unsupported - _SC_GETPW_R_SIZE_MAX. +1997-11-12 16:08 Ulrich Drepper <drepper@cygnus.com> -1998-07-29 Ulrich Drepper <drepper@cygnus.com> + * intl/loadmsgcat.c [_LIBC] (fstat): Don't define as __fstat since + now we have a definition as _fxstat. + * libio/fileops.c: Likewise. + * libio/oldfileops.c: Likewise. + Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>. - * stdio-common/tst-printf.c: %z is now recognized by printf. +1997-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * 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/wordsize-32/inttypes.h (SIG_ATOMIC_MAX): Correct value. + * sysdeps/wordsize-64/inttypes.h (SIG_ATOMIC_MAX): Likewise. - * math/libm-test.c (csqrt_test): Correct typo in one test, add - another one. +1997-11-11 Paul Eggert <eggert@twinsun.com> - * sysdeps/unix/sysv/linux/bits/siginfo.h: Adjust siginfo_t after - latest kernel change. + Add overflow checking for 64-bit time_t and 32-bit int. -1998-07-29 6:39 Kazushige Goto <goto@statabo.rim.or.jp> + * time/time.h (__offtime): Now returns int. - * sysdeps/alpha/fpu/e_sqrt.c [!_IEEE_FP]: Correctly handle - inputs near DBL_MIN. + * time/offtime.c (__offtime): Return nonzero if successful; + check for tm_year overflow. + (DIV): New macro. + (LEAPS_THRU_END_OF): Handle negative years correctly. -1998-07-28 Ulrich Drepper <drepper@cygnus.com> + * time/tzset.c (__tz_convert): Return NULL if offtime cannot convert. - * 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>. + * time/mktime.c (ranged_convert): New function. + (ydhms_tm_diff): Return nonzero if TP is null. + (__mktime_internal): Handle cases correctly even if they are near or + past the limits of time_t values that can be broken down to struct tm. + (print_tm, check_result, main): Diagnose localtime failures. - * signal/signal.h: Add prototype for sysv_signal. + * manual/time.texi: Document the fact that localtime returns 0 + if the time can't be represented. - * math/libm-test.c (tgamma_test): Remove redundant tests. +1997-11-12 06:03 Ulrich Drepper <drepper@cygnus.com> - * 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>. + * time/strftime.c (memset_space, memset_zero): Use MEMPCPY, not + mempcpy. Patch by Ken'ichi Handa <handa@etl.go.jp>. - * posix/globtest.sh: Add test for this bug. + * manual/time.texi: Document %F and %f format for strftime. - * 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. + * manual/arith.texi: Document copysign, nextafter and nan. -1998-07-28 Mark Kettenis <kettenis@phys.uva.nl> +1997-11-06 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * io/sys/statfs.h: Fix typos. - * io/sys/statvfs.h: Fix typos. + * test-installation.pl: New file. Tests for some installation + problems. -1998-07-28 Ulrich Drepper <drepper@cygnus.com> +1997-11-11 21:30 Ulrich Drepper <drepper@cygnus.com> - * version.h (VERSION): Bump to 2.0.95. + * include/sys/stat.h: Define stat, fstat, lstat and *64 variants + as macros so the the library compiles correctly even without + optimization. + * io/fstat.c: Undef fstat. + * io/fstat64.c: Undef fstat64 + * io/lstat.c: Undef lstat. + * io/lstat64.c: Undef lstat64 + * io/stat.c: Undef stat. + * io/stat64.c: Undef stat64 + * io/fts.c: Include <include/sys/stat.h> to get macro definitions. + * io/ftw.c: Likewise. + * io/getdirname.c: Likewise. - * 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. + * Makefile (install): Run test-installation.pl if possible. - * stgdio-common/printf-parse.h: Implement handling of j, t, and z - modifiers. - * stdio-common/vfprintf.c: Likewise. + * db2/Makefile: Update from db-2.3.12. + * db2/db.h: Likewise. + * db2/db_int.h: Likewise. + * db2/btree/bt_cursor.c: Likewise. + * db2/btree/bt_delete.c: Likewise. + * db2/btree/bt_open.c: Likewise. + * db2/btree/bt_put.c: Likewise. + * db2/btree/bt_rec.c: Likewise. + * db2/btree/bt_recno.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/btree/bt_cursor.c: Likewise. + * db2/btree/bt_delete.c: Likewise. + * db2/btree/bt_open.c: Likewise. + * db2/btree/bt_put.c: Likewise. + * db2/btree/bt_rec.c: Likewise. + * db2/btree/bt_recno.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/common/db_appinit.c: Likewise. + * db2/common/db_apprec.c: Likewise. + * db2/common/db_byteorder.c: Likewise. + * db2/common/db_region.c: Likewise. + * db2/db/db.c: Likewise + * db2/db/db.src: Likewise + * db2/db/db_auto.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/hash/hash.c: Likewise. + * db2/hash/hash.src: 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_auto.h: 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_am.h: Likewise. + * db2/include/db_auto.h: Likewise. + * db2/include/db_cxx.h: Likewise. + * db2/include/db_ext.h: Likewise. + * db2/include/db_int.h.src: Likewise. + * db2/include/hash.h: Likewise. + * db2/include/hash_auto.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/txn.h: Likewise. + * db2/include/txn_ext.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_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/mutex.c: Likewise. + * db2/os/os_abs.c: Likewise. + * db2/os/os_dir.c: Likewise. + * db2/os/os_fid.c: Likewise. + * db2/os/os_fsync.c: Likewise. + * db2/os/os_func.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_stat.c: Likewise. + * db2/os/os_unlink.c: Likewise. + * db2/progs/db_deadlock/db_deadlock.c: Likewise. + * db2/progs/db_dump/db_dump.c: Likewise. + * db2/progs/db_load/db_load.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_auto.c: Likewise. + * db2/txn/txn_rec.c: Likewise. + * db2/os/db_os_abs.c: Removed. + * db2/os/db_os_dir.c: Removed. + * db2/os/db_os_fid.c: Removed. + * db2/os/db_os_lseek.c: Removed. + * db2/os/db_os_mmap.c: Removed. + * db2/os/db_os_open.c: Removed. + * db2/os/db_os_rw.c: Removed. + * db2/os/db_os_sleep.c: Removed. + * db2/os/db_os_stat.c: Removed. + * db2/os/db_os_unlink.c: Removed. + + * libio/stdio.h (fopen): Add __restrict to parameters. + + * manual/process.texi (system): Describe behaviour for NULL argument. + + * stdio-common/printf-parse.h: Parse hh modifier. + * stdio-common/vfprintf.c: Handle hh modifier. * 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. - -1998-07-28 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * 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. - -1998-07-27 22:25 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/generic/glob.c: Handle ~ and ~NAME case correctly. - - * posix/globtest.sh: Also add directories with NSS modules into the - library path. - -1998-07-27 17:42 Ulrich Drepper <drepper@cygnus.com> - - * nss/nss_files/files-parse.c (INT_FIELD): Use strtoul instead of - strtol. - (INT_FIELD_MAYBE_NULL): Likewise. - - * posix/globtest.c: Rewrite for extended test suite. - * posix/globtest.sh: More tests. - Patch by Brian Wellington <bwelling@anomaly.munge.com>. - - * stdlib/strtol.c: Don't redefine LONG_MAX, LONG_MIN, and ULONG_MAX. - Use new macro. - - * sysdeps/generic/readv.c: Correct return type. - * sysdeps/generic/writev.c: Likewise. - -1998-07-24 Gordon Matzigkeit <gord@fig.org> - - * argp/argp-help.c (_GNU_SOURCE): Define, to suck in - program_invocation_name when compiling outside of glibc. - -1998-07-26 Philip Blundell <philb@gnu.org> - - * 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. - - * elf/Makefile (ld-map): Only define if versioning is in use. - - * 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. - - * sysdeps/unix/sysv/linux/arm/brk.c: New file. - - * 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. - - * shlib-versions: Add appropriate definitions for ARM machines. - - * README.template: Mention that Linux/ARM with ELF works now. - -1998-07-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Makerules: Generate compilation rules for all object suffixes, - not only those currently selected, for sources in the current or - object directory. - -1998-07-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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. - -1998-07-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * posix/annexc.c (limits_syms): Add missing symbols. - (stdarg_syms): Move va_list to `maybe' list. - (stdio_syms): Add FOPEN_MAX. - -1998-07-25 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/i386/bits/byteswap.h (__bswap_64): Change __v to __w to - prevent conflict with __bswap_32. - -1998-07-24 21:29 Ulrich Drepper <drepper@cygnus.com> + * manual/stdio.texi: Describe hh modifier for scanf/printf. - * 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. + * math/complex.h: Don't define _Imaginary_I, but instead _Complex_I. + gcc does no yet know the `imaginary' keyword. - * nscd/nscd_getgr_r.c (__nscd_getgr_r): Adjust for protocol change. - We now can do the job using two readv calls. + * math/test-math.c: Add little test for know gcc bug. -1998-07-24 Ulrich Drepper <drepper@cygnus.com> + * math/tgmath.h: Make complex versions of log10() only available + if __USE_GNU. - * sysdeps/generic/glob.c (glob): Fix problems with handle tilde. - Reported by Brian Wellington <bwelling@anomaly.munge.com>. + * stdlib/test-canon.c: Fix typo. - * elf/elf.h: Really define Elf64_Verdef, Elf64_Verdaux, Elf64_Verneed, - and Elf64_Vernaux. - -1998-07-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * configure.in: Recognize pgcc as compiler. - Reported by sauron@angband.ee.ualberta.ca. - -1998-07-02 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * nscd/dbg_log.c: Make sure, that debug message is really written. - * nscd/nscd.c: Don't use daemon(), set signal handler after fork. - -1998-07-23 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/generic/glob.c: Fix two problems with GLOB_DOOFFS. - Reported by bwelling@anomaly.munge.com [PR libc/720]. - - * 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>. - - * math/libm-test.c (gamma_test): Add test for gamma(-1) and gamma(0). - Correct test for SVID version of gamma. - - * 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. - - * string/string.h: Don't use string function optimization for C++ - as long as we use macros. - -1998-07-22 23:47 Ulrich Drepper <drepper@cygnus.com> - - * posix/fnmatch.c: Fix completely broken range matching. - -1998-07-22 23:19 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/bits/siginfo.h: Fix typo. - -1998-07-22 Ulrich Drepper <drepper@cygnus.com> - - * Makefile (headers2_0): Add sigstack.h. - - * sysdeps/unix/sysv/linux/alpha/getrusage.S: Also define __getrusage. - -1998-07-22 11:43 Ulrich Drepper <drepper@cygnus.com> - - * libio/fileops.c (_IO_file_sync): Don't lock stream here. - Reported by Thorsten Kukuk. - - * string/strcoll.c: Correct problem with empty strings. - * string/strxfrm.c: Likewise. - Reported by vbzoli@hbrt.hu [PR libc/719]. - -1998-07-21 18:40 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * sysdeps/posix/tempname.c: Use the random-name generator - already used by mktemp/mkstemp. Honor TMPDIR. - -1998-07-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * hurd/Makefile (routines): Remove cthreads. - * sysdeps/mach/hurd/Makefile (sysdep_routines): Add cthreads. - - * sysdeps/unix/sysv/linux/i386/Dist: Add missing files. - - * manual/Makefile (distribute): Add summary.texi. - -1998-07-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Fix typo. - -1998-07-21 Ulrich Drepper <drepper@cygnus.com> - - * configure.in: Correct expression to match gcc version. - - * configure.in: Move test for available port after machine - variable is defined. - -1998-07-21 16:08 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * 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> - -1998-07-20 Jose M. Moya <josem@gnu.org> - - * hurd/hurdmsg.c (_S_msg_get_env_variable): Copy getenv return - value. - -1998-07-20 Roland McGrath <roland@baalperazim.frob.com> - - * sysdeps/mach/hurd/getdomain.c: New file. - * sysdeps/mach/hurd/setdomain.c: New file. - -1998-07-20 Roland McGrath <roland@baalperazim.frob.com> - - * sysdeps/unix/bsd/sigsuspend.c: Define __sigsuspend with sigsuspend as - a weak alias. - -1998-07-20 18:23 Ulrich Drepper <drepper@cygnus.com> - - * libio/libioP.h: Use __PMT in typedef. - * libio/strfile.h: Likewise. + * sysdeps/generic/setenv.c: Avoid compilation warnings. + Reported by Jim Meyering. -1998-07-20 18:20 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/generic/bits/errno.h: EILSEQ is an ISO C error number. + * sysdeps/mach/hurd/bits/errno.h: Likewise. + * sysdeps/standalone/bits/errno.h: Likewise. + * sysdeps/unix/sysv/linux/bits/errno.h: Likewise. - * sysdeps/unix/sysv/linux/gethostname.c: Return ENAMETOOLONG if - buffer is too small. - Reported by John Levon <j_levon@ncc.co.uk>. + * sysdeps/i386/i586/memcpy.S: New file. + * sysdeps/i386/i586/mempcpy.S: New file. -1998-07-20 17:09 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/i386/i586/memset.S: Fix typo. - * shlib-versions: Remove definition for libSegFault. + * sysdeps/posix/getcwd.c: Define HAVE_MEMPCPY for _LIBC. Add casts. - * memory.texi: Comment out the relocating allocator description. - * manual/signal.texi: Remove reference to relocating allocator. - * manual/top-menu.texi: Regenerated. + * sysdeps/posix/system.c: Add comment to explain code. - * posix/fnmatch.c: Implement [: :] and change to recognize - ^ as negation only when not _POSIXLY_CORRECT. + * sysdeps/wordsize-32/inttypes.h: Include <stddef.h> for wchar_t. + Define PTRDIFF_{MIN,MAX}, SIG_ATOMIC_{MIN,MAX}, SIZE_MAX, + WCHAR_{MIN,MAX}, WINT_{MIN,MAX}. + Define wcstoimax, wcstoumax. + * sysdeps/wordsize-64/inttypes.h: Likewise. - * sysdeps/generic/glob.c: Add several optimizations. + * wcsmbs/wchar.h: Define WCHAR_{MIN,MAX} if not already defined. + Declare __wcsto{l,ul,ll,ull}_internal only if not already done. - * posix/glob.h: Undefine __PMT to prevent warnings. - Reported by Roland McGrath. + * time/Makefile (routines): Add strfxtime. + * time/strftime.c: Implement %F and %f format. + * time/strfxtime.c: New file. + * time/time.h: Define new types and symbols from ISO C 9X. - * posix/regex.c: Define namespace macros only for _LIBC. + * time/mktime.c: Little comment correction. - * sysdeps/arm/dl-machine.h: Fix typo. +1997-11-10 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * 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/libm-ieee754/s_sincosl.c: Fix typo. - * timezone/leapseconds: Update from tzdata1998f. + * sysdeps/libm-ieee754/s_tanl.c: Fix typo. -1998-07-18 Mark Kettenis <kettenis@phys.uva.nl> + * sysdeps/libm-ieee754/s_floorl.c: Correct typos. - * stdio/stdio.h [__USE_GNU]: Add prototype for fputs_unlocked. - * stdio/Versions [GLIBC_2.1]: Add fputs_unlocked. - * libio/stdio.h: Fix typo. + * sysdeps/libm-ieee754/e_remainderl.c: Replace + EXTRACT_LDOUBLE_WORDS by GET_LDOUBLE_WORDS. -1998-07-19 Roland McGrath <roland@baalperazim.frob.com> + * sysdeps/libm-ieee754/e_atan2l.c: Replace EXTRACT_LDOUBLE_WORDS + by GET_LDOUBLE_WORDS. - * 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. + * sysdeps/libm-ieee754/s_scalbnl.c: Replace ";" by "," for correct + variable declaration. + * sysdeps/libm-ieee754/s_scalblnl.c: Likewise. -1998-07-19 Roland McGrath <roland@baalperazim.frob.com> + * sysdeps/libm-ieee754/s_lrint.c (__lrint): Correct function. - * stdio/fputs.c: Add fputs_unlocked as weak alias for fputs. + * math/libm-test.c (sqrt_test): Add test for sqrt (0.25). + (asin_test): Add more test. -1998-07-19 Roland McGrath <roland@baalperazim.frob.com> +1997-11-10 23:34 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/posix/sigsuspend.c: Define __sigsuspend with sigsuspend as - a weak alias. - * sysdeps/mach/hurd/sigsuspend.c: Likewise. - * sysdeps/generic/sigsuspend.c: Likewise. + * sysdeps/libm-ieee754/e_asin.c: Add braces to make code clearer + and to not confuse the poor compiler. + * sysdeps/libm-ieee754/e_asinf.c: Likewise. + Reported by vertex@cagent.com. -1998-07-19 Roland McGrath <roland@baalperazim.frob.com> +1997-11-10 07:40 H.J. Lu <hjl@gnu.ai.mit.edu> - * sysdeps/mach/hurd/i386/sigcontextinfo.h: New file. + * stdlib/exit.c (exit): Handle recursive calls to exit (). -1998-07-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-11-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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). + * sysdeps/m68k/fpu/s_llrint.c: Fixed to take double argument + instead of long double. + * sysdeps/m68k/fpu/s_llrintf.c: New file. + * sysdeps/m68k/fpu/s_llrintl.c: New file. -1998-07-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/libm-ieee754/s_llrint.c: Make compilable and fix + overflow condition. + * sysdeps/libm-ieee754/s_llrintf.c: Fix overflow condition. + * sysdeps/libm-ieee754/s_llrintl.c: Likewise. + * sysdeps/libm-ieee754/s_llround.c: Likewise. + * sysdeps/libm-ieee754/s_llroundf.c: Likewise. + * sysdeps/libm-ieee754/s_llroundl.c: Likewise. + * sysdeps/libm-ieee754/s_lrint.c: Likewise. + * sysdeps/libm-ieee754/s_lrintf.c: Likewise. + * sysdeps/libm-ieee754/s_lrintl.c: Likewise. + * sysdeps/libm-ieee754/s_lround.c: Likewise. + * sysdeps/libm-ieee754/s_lroundf.c: Likewise. + * sysdeps/libm-ieee754/s_lroundl.c: Likewise. - * 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. + * math/libm-test.c: Test all three variants of lrint and llrint. + Fix typos in lround and llround tests. Add tests for boundary + cases for lrint and llround. -1998-07-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-11-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.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. + * manual/arith.texi: Misc doc fixes. + * manual/ctype.texi: Likewise. + * manual/pattern.texi: Likewise. + * manual/terminal.texi: Likewise. -1998-07-20 13:55 Ulrich Drepper <drepper@cygnus.com> +1997-11-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.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>. + * sysdeps/unix/sysv/linux/xstatconv.c: Use struct assignment + instead of memcpy to let the compiler use whatever it regards as + optimal. + * sysdeps/unix/sysv/linux/alpha/xstatconv.c: Likewise. -1998-07-17 21:44 Ulrich Drepper <drepper@cygnus.com> +1997-11-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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/Makefile (sysdep_headers) + [$(subdir)=misc]: Add sys/prctl.h. + * sysdeps/unix/sysv/linux/Dist: Distribute it. -1998-07-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-11-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: New file. + * io/ftwtest-sh: Don't use the unknown which command, instead try + pwd as /bin/pwd and /usr/bin/pwd. - * sysdeps/unix/sysv/linux/m68k/socket.S: Support NO_WEAK_ALIAS. +1997-11-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-07-17 Ulrich Drepper <drepper@cygnus.com> + * manual/maint.texi (Tools for Installation): Don't recommend + broken version 3.76.1 of make. + (Porting): Fix wording. - * debug/catchsegv.sh: Fix several stupid bugs. +1997-11-06 06:13 H.J. Lu <hjl@gnu.ai.mit.edu> - * shlib-versions: Define version for libSegFault. - * debug/Makefile: Replace shared lib version number while rewriting. + * config.make.in (build-pic-default): New, defined with + pic_default. -1998-07-17 Mark Kettenis <kettenis@phys.uva.nl> + * configure.in (pic_default): New, set to yes if PIC is + default. - * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Add sanity check. - Suggested by Roland McGrath. + * Makeconfig (CPPFLAGS-.o, CPPFLAGS-.op, CPPFLAGS-.og, + CPPFLAGS-.ob): Add -DPIC if $(build-pic-default) is yes. -1998-07-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-11-09 18:15 Ulrich Drepper <drepper@cygnus.com> - * timezone/Makefile: Remove '-L (leapseconds)' for testdata - generation to control environment. + * Makerules (libc.so): Fix typo. -1998-07-17 09:21 Ulrich Drepper <drepper@cygnus.com> + * csu/Makefile (CFLAGS-initfini.s): Correctly fix moving function + definition. Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>. - * sysdeps/unix/sysv/sysv4/solaris2/bits/signum.h: Define SIG_HOLD. - Patch by John Tobey <jtobey@banta-im.com>. + * stdlib/strtod.c: Handle numbers like 0.0e10000 correctly which + produce ±0.0. Reported by Joe Keane <jgk@jgk.org>. - * manual/llio.texi: Document readv/writev and mmap functions. - Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>. + * sysdeps/libm-ieee754/s_ceill.c: Fix typos. + * sysdeps/libm-ieee754/s_llrint.c: Correct code, it never worked. -1998-07-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-11-06 07:00 H.J. Lu <hjl@gnu.ai.mit.edu> - * 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. + * sysdeps/unix/sysv/i386/i686/time.S: Removed. -1998-07-16 23:06 Ulrich Drepper <drepper@cygnus.com> +1997-11-08 14:07 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - * debug/Makefile (distribute): Add sigcontextinfo.h. - Add rules to generate and install catchsegv. - * debug/catchsegv.sh: New file. + * nis/libnsl.map: Add __do_niscall2 for nis_cachemgr. -1998-07-16 Mark Kettenis <kettenis@phys.uva.nl> + * nis/nis_call.c: Set UDP resend timeout correct. - * 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. + * nis/nss_compat/compat-grp.c: Rewritten to make it faster. + * nis/nss_compat/compat-pwd.c: Likewise. + * nis/nss_compat/compat-spwd.c: Likewise. + * nis/ypclnt.c: Fix UDP resend timeout, fix yp_bind/do_ypcall + interaction. -1998-07-16 20:01 Ulrich Drepper <drepper@cygnus.com> + * inet/protocols/routed.h: Include sys/socket.h. + * inet/protocols/talkd.h: Likewise. + * inet/protocols/timed.h: Include rpc/types.h. + * sunrpc/rpc/pmap_clnt.h: Include rpc/clnt.h. - * 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. +1997-11-06 01:39 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/generic/elf/backtracesyms.c: Remove unneeded +. + * Makerules (libc.so): Add missing closing brace. -1998-07-16 19:27 Ulrich Drepper <drepper@cygnus.com> +1997-11-05 Brendan Kehoe <brendan@lisa.cygnus.com> - * elf/rtld.c (process_envvars): Also recognize on as LD_BIND_NOW value. - (process_envvars): Append .PID to LD_DEBUG_OUTPUT file name. + * libio.h (__P): Name its arg `p' instead of `params'. + This was added solely to work around problems with + the definition of __P in the Solaris math.h header. -1998-07-16 13:44 Ulrich Drepper <drepper@cygnus.com> +1997-11-06 00:06 Ulrich Drepper <drepper@cygnus.com> - * 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. + * argp/argp-help.c: Optimize a bit by using mempcpy. + * elf/dl-load.c: Likewise. + * elf/dl-lookup.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_getpw_r.c: Likewise. - * posix/getpgrp.c: Likewise. + * libio/fileops.c: Likewise. + * libio/genops.c: Likewise. + * libio/obprintf.c: Likewise. + * nss/nsswitch.c: Likewise. + * posix/execvp.c: Likewise. + * posix/getopt.c: Likewise. + * posix/glob.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. + * stdio-common/vfprintf.c: Likewise. + * stdlib/canonicalize.c: Likewise. + * stdlib/msort.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/generic/setenv.c: Likewise. + * sysdeps/posix/getcwd.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. + * sysdeps/posix/writev.c: Likewise. + * time/strftime.c: Likewise. + * time/tzfile.c: Likewise. -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. + * login/utmp_daemon.c: Use memcpy instead of strcpy where possible. + * sunrpc/svcauth_des.c: Likewise. + * sysdeps/unix/sysv/linux/gethostname.c: Likewise. -1998-07-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * misc/tsearch.c: Use memcpy return value if possible. + * posix/regex.c: Likewise. + * sysdeps/unix/readdir_r.c: Likewise. + * wcsmbc/wcsdup.c: Likewise. - * misc/getttyent.c (getttyent): Don't return with locked stream. - * misc/mntent_r.c (__getmntent_r): Likewise. + * nss/digits_dots.c: Little optimization. -1998-07-07 18:24 Ulrich Drepper <drepper@cygnus.com> + * inet/ruserpass.c (ruserpass): Optimize by using stpcpy. + (struct toktab): Make tokstr field a const char *. - * 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. + * elf/dl-profile.c: Fix typo. -1998-07-07 17:28 Ulrich Drepper <drepper@cygnus.com> + * inet/ether_ntoh.c: Don't use relative #include path. + * inet/gethstbynm.c: Likewise. + * resolv/inet_pton.c: Likewise. + * shadow/sgetspent_r.c: Likewise. - * elf/dl-profstub.c (_dl_profile_map): Only declare variable here. - * elf/dl-support.c: Define it here... - * elf/rtld.c: ...and here. + * libio/oldfileops.c (_IO_old_file_jumps): Use correct sync and write + callbacks. Patch by NIIBE Yutaka <gniibe@mri.co.jp>. -1998-07-07 16:28 Ulrich Drepper <drepper@cygnus.com> + * posix/confstr.c: Correct string for _CS_LFS_CFLAGS. + Handle _CS_XBS5_* constants. + * posix/unistd.h: Add comment describing _XBS5_* constants. + * sysdeps/generic/bits/confname.h: Add _CS_XBS5_* constants. - * grp/initgroups.c: Handle directives from nsswitch.conf file. + * posix/regex.c: Indent preprocessor code. -1998-07-07 Ulrich Drepper <drepper@cygnus.com> + * posix/wordexp.c: Using _itoa_word instead of sprintf. - * 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>. + * stdlib/canonicalize.c: Avoid unnecessary copying. Handle NULL + and "" arguments correctly according to SUS. + * stdlib/test-canon.c: Test "" and NULL argument handling. - * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Do not exit the shell - script if lddlibc4 failed. - Reported by B. D. Elliott <bde@accessone.com>. + * sysdeps/posix/writev.c: Correct condition to leave the loop. -1998-07-06 Ulrich Drepper <drepper@cygnus.com> +1997-11-05 18:13 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols): - Improve generated strings a bit. + * nss/getXXbyYY.c: Set buffer to NULL if realloc fails so that possible + next call starts with malloc again. + Proposed by Joe Keane <jgk@jgk.org>. -1998-07-06 14:36 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-11-04 23:57 Ulrich Drepper <drepper@cygnus.com> - * posix/Makefile (generated): Remove $(objpfx) from the names. + * configure.in: Correct gcc -pipe test. + Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>. -1998-07-05 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * posix/glob.c: Cleanups. Patch by H.J. Lu <hjl@lucon.org>. - * stdio-common/test_rdwr.c: Use %Zu for size_t in printf - format string. +1997-11-04 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * libio/iofread_u.c: Include <stdio.h> for prototype. - * libio/iofwrite_u.c: Likewise. + * manual/creature.texi (Feature Test Macros): Add _POSIX_C_SOURCE + definition. -1998-07-06 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-11-04 Ulrich Drepper <drepper@cygnus.com> - * db2/Versions: New file. + * manual/filesys.texi: Correct description of return value for + readdir_r. + * sysdeps/unix/readdir_r.c (__readdir_r): Return value of errno + not -1 in error case. + * sysdeps/generic/readdir_r.c (__readdir_r): Return ENOSYS not -1. + Reported by Jim Meyering <meyering@eng.ascend.com>. -1998-07-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-11-02 Paul Eggert <eggert@twinsun.com> - * 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. + * strftime.c: Use host's underlying strftime to access + locale-specific info. This is useful e.g. when building GNU + Emacs under Solaris 2.6. + (weekday_name, month_name): Omit if HAVE_STRFTIME. + (my_strftime): New macro, which names the strftime function that + this source file produces. + (strftime): #undef if emacs is defined; this works around Emacs 20.2's + method of compiling with -Dstrftime=emacs_strftime. + Also, declare as a function returning size_t, for similar reasons. + (my_strftime): If HAVE_STRFTIME, use underlying strftime to handle + locale-dependent formats like %a and %Ec. -1998-07-06 12:04 Ulrich Drepper <drepper@cygnus.com> +1997-11-02 Paul Eggert <eggert@twinsun.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. + * strftime.c (memcpy_lowcase, memcpy_uppcase, strftime): + Ensure that args to islower and isupper are valid unsigned + chars, even if char is signed. -1998-07-05 Mark Kettenis <kettenis@phys.uva.nl> +1997-11-04 Ulrich Drepper <drepper@cygnus.com> - * libio/Versions: Move symbols whose source lives in - stdio-common to ... - * stdio-common/Versions: ... here. - * stdio/Versions: Add missing symbols. + * assert/Makefile (headers): Add assert.h, necessary after patch + to Makefiles. + * ctype/Makefile (headers): Likewise. + * pwd/Makefile (headers): Likewise. + * grp/Makefile (headers): Likewise. + Patch by NIIBE Yutaka <gniibe@mri.co.jp>. -1998-07-05 Ulrich Drepper <drepper@cygnus.com> +1997-11-04 03:08 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> + * glibcbug.in: Add information about configured target. + Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>. - * 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. + * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Be prepared for + empty string as `reference_name' parameter. + * elf/rtld.c: Don't set real program name in l_name of main object. - * 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. + * manual/creature.texi: Apply Paul Eggert's patch for better + _POSIX_C_SOURCE description. - * 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. + * stdlib/strfmon.c: Fix numerous bugs in formatting. -1998-05-23 Philip Blundell <Philip.Blundell@pobox.com> + * time/strptime.c [%Y]: Treat all years, not only those which fit + in time_t. + [%Oy]: Really store value. + Patches by Paul Eggert. - * sysdeps/unix/sysv/linux/arm/syscalls.list: Add `syscall'. - * sysdeps/unix/sysv/linux/arm/syscall.S: Deleted. + * wcsmbs/wchar.h: Fix documentation bugs. Declare wcsdup only + is __USE_GNU. -1998-07-05 Ulrich Drepper <drepper@cygnus.com> +1997-11-03 02:48 Ulrich Drepper <drepper@cygnus.com> - * misc/getttyent.c (getttyent): Explicitly lock the FILE and use - _unlocked functions. + * sysdeps/generic/bits/errno.h: Remove all error definitions. This + is only meant as a stub. - * inet/ruserpass.c (ruserpass): Use _unlocked functions since this - is a private FILE. +1997-10-31 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-07-04 17:11 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> + * sysdeps/standalone/bits/errno.h: Copied from + sysdeps/generic/bits/errno.h and added all know error codes that + are used in glibc. - * 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. +1997-11-03 02:23 Ulrich Drepper <drepper@cygnus.com> - * 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. + * sysdeps/generic/make_siglist.c: Add comment to clarify use and + make sure the correct _NSIG value is used. + Patch by Klaus Espenlaub <kespenla@student.informatik.uni-ulm.de>. - * 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. +1997-11-03 00:20 Ulrich Drepper <drepper@cygnus.com> -1998-07-04 10:14 Ulrich Drepper <drepper@cygnus.com> + * intl/localealias.c (read_alias_file): Correct handling of line + reader which sometimes skipped complete lines (PR 205). + Optimize a bit by using mempcpy. - * libio/Makefile (routines): Add iofread_u and iofwrite_u. - * libio/Versions: Add fread_unlocked and fwrite_unlocked. +1997-11-02 16:59 Philipp Thomas <kthomas@gwdg.de> - * Makerules (lib%.so): Adjust ignore pattern for last makefile change. + * intl/localealias.c (read_alias_file): Correctly set map[].value + instead of overwriting map[].alias - * 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. +1997-11-02 15:32 Ulrich Drepper <drepper@cygnus.com> -1998-06-29 19:01 Jim Wilson <wilson@cygnus.com> + * libc.map: Add _IO_flockfile and _IO_funlockfile. + Suggested by H.J. Lu <hjl@lucon.org>. - * posix/regex.c (re_comp): Add cast to char * before gettext calls. +1997-11-02 15:17 Ulrich Drepper <drepper@cygnus.com> -1998-06-30 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * elf/dl-error.c (_dl_signal_error): Use _strerror_internal instead + of strerror. + * assert/assert-perr.c: Use _strerror_internal directly instead of + __strerror_r. + Suggested by Joe Keane <jgk@jgk.org>. - * sysdeps/unix/bsd/poll.c (__poll): Allocate fd_set dynamically so - that fd can be bigger than FD_SETSIZE. +1997-11-01 16:46 Zack Weinberg <zack@rabi.phys.columbia.edu> -1998-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * configure.in: Check for gcc-2.7.2 -pipe bug and hack around it + (PR 245). - * nscd/grpcache.c: Include <unistd.h>. - * nscd/pwdcache.c: Likewise. +1997-11-01 Paul Eggert <eggert@twinsun.com> - * 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. + * time/strptime.c (strptime_internal): Fix bug: %Oy forgot to + assign tm_year. Do not restrict %Y to years less than 2037 even + on 32-bit time_t hosts, as strptime returns an int tm_year, not a + time_t, and it's possible for programs to use the year without + having to use time_t. -1998-07-03 13:16 Ulrich Drepper <drepper@cygnus.com> +1997-10-31 23: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>. + * posix/glob.c (glob): If calling glob_in_dir for a list which was + generated by a glob call disable GLOB_ERR since there might be + non-directories in the list (PR 203). -1998-07-03 11:45 Ulrich Drepper <drepper@cygnus.com> + * posix/glob.h (GLOB_ONLYDIR): New flag. + (__GLOB_FLAGS): Add GLOB_ONLYDIR. + * posix/glob.c: Define HAVE_D_TYPE if _DIRENT_HAVE_D_TYPE is defined. + (glob): Add GLOB_ONLYDIR to recursive call to match dirname. + (glob_in_dir) [HAVE_D_TYPE]: While reading directory entries test + whether they are directories if GLOB_ONLYDIR flag is given. + * manual/pattern.texi: Document GLOB_ONLYDIR. - * stdio-common/printf.h: Define printf_function and - printf_arginfo_function types using __PMT not __P. - Reported by Marc Lehmann. + * misc/Makefile (tests): Add tst-fdset. -1998-07-02 14:07 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> + * sysdeps/i386/bits/select.h: Rewrite asm macros to be cleaner. - * assert/test-assert.c: New test. - * assert/test-assert-perr.c: New test. - * assert/Makefile (tests): Add test-assert and test-assert-perr. + * sysdeps/unix/sysv/linux/Dist: Add xstatconv.c. + * sysdeps/unix/sysv/linux/alpha/Dist: Likewise. -1998-07-02 13:45 Zack Weinberg <zack@rabi.phys.columbia.edu> + * time/strptime.c (strptime_internal): In %y format, regard years + >= 69 as of twentieth century, all other as of twenty-first. - BSD-style SCM_CREDS support. + * time/tzset.c: Correct typo and little optimization. - * 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. +1997-10-31 16:01 Ulrich Drepper <drepper@cygnus.com> - * 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. + * inet/getnetgrent.c: Allocate buffer dynamically if needed. + Suggested by Joe Keane <jgk@jgk.org>. - * 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. +1997-10-31 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-07-02 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * io/ftw.h: Declare __ftw64_func_t and __nftw64_func_t only when + __USE_FILE_OFFSET64 || __USE_LARGEFILE64 is true. - * 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. +1997-10-30 05:47 Ulrich Drepper <drepper@cygnus.com> -1998-07-02 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * misc/mntent.c: Don't use statically allocated buffer. Allocate + it dynamically if necessary. + * misc/efgcvt.c: Likewise. + Patch by Joe Keane <jgk@jgk.org>. - * 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. + * misc/mntent.c: Allow freeing of allocated buffer in + __libc_subfreeres. + * misc/efgcvt.c: Likewise. - * sysdeps/libm-ieee754/e_acos.c (__ieee754_acos): Remove unused - variable q3. - * sysdeps/libm-ieee754/e_asin.c (__ieee754_asin): Likewise + * misc/efgcvt.c: Call correct reentrant functions. + Use better values for MAXDIG. + * misc/qefgcvt.c: Use better values for MAXDIG. -1998-07-03 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-10-29 18:48 Richard Henderson <rth@cygnus.com> - * wctype/Versions: Add __towctrans. - Noticed by Alex Buell <alex.buell@tahallah.demon.co.uk>. + * sysdeps/unix/sysv/linux/Makefile [io]: Add xstatconv. + * sysdeps/unix/sysv/linux/alpha/xstatconv.c: New file. Convert + between kernel_stat and the userland version indicated. + * sysdeps/unix/sysv/linux/xstatconv.c: Likewise. + * sysdeps/unix/sysv/linux/bits/stat.h: Define _STAT_VER_KERNEL. -1998-07-02 Mark Kettenis <kettenis@phys.uva.nl> + * sysdeps/unix/sysv/linux/fxstat.c: Defer to __xstat_conv. Alias + to __*xstat64 if requested. + * sysdeps/unix/sysv/linux/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/xstat.c: Likewise. - * grp/initgroups.c (compat_call): Only call dynamically loaded - functions if they are really present. + * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Add struct stat64. + Increment _STAT_VER, and make struct stat the same. + * sysdeps/unix/sysv/linux/alpha/bits/types.h: Add __ino64_t, and + __off64_t. Reorganize. + * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Add struct glibc2_stat + for backward compatibility. Define XSTAT_IS_XSTAT64. -1998-07-02 Mark Kettenis <kettenis@phys.uva.nl> + * sysdeps/unix/sysv/linux/alpha/fxstat64.c: Empty file. + * sysdeps/unix/sysv/linux/alpha/lxstat64.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/xstat64.c: Likewise. - * sysdeps/unix/sysv/linux/bits/sched.h: Move __END_DECLS within - #ifdef that contains __BEGIN_DECLS. + * sysdeps/unix/sysv/linux/alpha/bits/dirent.h (struct dirent): For + consistency, force d_ino to use ino_t and supply padding. -1998-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-10-29 18:47 Richard Henderson <rth@cygnus.com> - * libio/iofwrite.c: Fix return value when size == 0. + * libio/iofopen.c: Correct weak_alias. -1998-07-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-10-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * posix/Makefile (distribute): Add annexc.c. - (generated): Add $(objpfx)annexc and $(objpfx)annexc.out. + * Makerules (install): Correct last patch. -1998-07-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-10-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add - bits/pthreadtypes.h here, and do not clobber headers. + * math/libm-test.c (cbrt_test): Add epsilon for cbrt(0.970299). - * sysdeps/unix/sysv/linux/Dist: Add bits/pthreadtypes.h. +1997-10-29 21:20 Ulrich Drepper <drepper@cygnus.com> -1998-07-03 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * libio/strops.c (_IO_str_seekoff): If mode is zero and the read/write + pointers are tied set mode according to current stream mode. - * timezone/tst-timezone.c: Add tests for tzname variable. + * include/features.h [_GNU_SOURCE] (_POSIX_C_SOURCE): Define to + 199506L. + Define _XOPEN_SOURCE to 500 if _POSIX_C_SOURCE is defined. + * manual/creature.texi: Describe this. -1998-07-03 12:17 Zack Weinberg <zack@rabi.phys.columbia.edu> + * manual/socket.texi: Describe connect, accept, send, sendmsg, sendto, + recv, recvfrom, and recvmsg as cancelation points. + * sysdeps/unix/inet/syscalls.list: Add __libc_* names for these + functions. - * 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. +1997-10-17 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-07-03 14:35 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * Make-dist (try-sysdeps): Don't look for stub files anymore. - * sysdeps/unix/sysv/linux/m68k/Versions: New file. + * manual/maint.texi (Porting): Remove another reference to stub + directory. -1998-07-02 21:51 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/bsd/sun/sethostid.c: Include stub version from + generic subdir. + * sysdeps/unix/sysv/irix4/reboot.c: Likewise. + * sysdeps/unix/sysv/irix4/swapon.c: Likewise - * 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. +1997-10-29 03:54 Ulrich Drepper <drepper@cygnus.com> - * stdlib/isomac.c: Avoid include_next warning. + * resolv/nss_dns/dns-host.c: Change variable pointed to by h_errnop + in all error cases (PR 244). -1998-06-29 12:27 Ulrich Drepper <drepper@cygnus.com> +1997-10-29 00:56 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. + * posix/glob.c: Fix handling of expressions like "*/" (PR 325). + Optimize by using mempcpy. -1998-06-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-10-17 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) only once. + * po/Makefile ($(mo-installed)): Don't fail during installation if + files don't exist (might happen if msgfmt doesn't exist) (PR 328). + Suggested by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>. -1998-06-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * posix/wordexp.c (parse_param): Fix memory leak. + * sysdeps/generic/bits/errno.h (ENOMSG): Define it. + Pointed out by Klaus Espenlaub + <kespenla@hydra.informatik.uni-ulm.de> (PR libc/259). -1998-06-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-10-28 17:40 Ulrich Drepper <drepper@cygnus.com> - * libc.map: Export _IO_ftrylockfile. + * sysdeps/libm-ieee754/s_cbrt.c: Testing the returned exponent for + zero isn't enough to determine illegal arguments. + * sysdeps/libm-ieee754/s_cbrtf.c: Likewise. + * sysdeps/libm-ieee754/s_cbrtl.c: Likewise. -1998-06-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-10-28 17:14 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use get[pu]id instead of - __get[pu]id. + * manual/filesys.texi (S_ISVTX): Describe that it is available with + _BSD_SOURCE only. + Reported by Jochen Hein <jochen.hein@delphi.central.de>. -1998-06-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-10-28 04:26 Ulrich Drepper <drepper@cygnus.com> - * elf/dl-misc.c (_dl_debug_message): Don't cache the pid. + * time/tzfile.c (__tzfile_compute): Use negated value of offset for + timezone variable. + * time/tzset.c (tz_compute): Likewise. + Reported by Erik Troan <ewt@redhat.com>. - * elf/dl-runtime.c (_dl_object_relocation_scope): Avoid adding the - same search list twice. +1997-10-28 02:51 Ulrich Drepper <drepper@cygnus.com> -1998-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * manual/filesys.texi: Correct prototype in readdir_r description. + Reported by Jim Meyering <meyering@eng.ascend.com>. - * login/programs/utmpd.c (handle_requests): Set and use maximal fd - used to optimize loop/select. +1997-10-27 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-06-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * math/libm-test.c (cbrt_test): Add test for cbrt(0.970299). - * 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. +1997-10-26 19:39 Zack Weinberg <zack@rabi.phys.columbia.edu> -1998-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * stdlib/l64a.c: Produce a useful result for n < 0. + * stdlib/a64l.c: Use unsigned type for working variable. + * manual/string.texi (general): Grammar, typo, overfull fixes. + (strlen): Insert warning about sizeof(char *). + (a64l, l64a): Make documentation agree with implementation. - * sunrpc/rtime.c (rtime): Use poll instead of select. +1997-10-26 18:12 Ulrich Drepper <drepper@cygnus.com> -1998-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * libio/genops.c: Partial undo of last patch. + * libio/stdfiles.c: Likewise. + * libio/iofdopen.c: Use _IO_FILE_complete, not _IO_FILE_plus. + * libio/iopopen.c: Likewise. + * libio/iovdprintf.c: Likewise. + * libio/libio.h: Remove duplicated `;'. + * libio/stdio.c: Remove misleading comment. + * libio/stdio.h: Declare standard streams as variables. - * 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. + * login/Makefile (distribute): Add README.utmpd. + * login/README.utmpd: New file. + Provided by Mark M. Kettenis <kettenis@phys.uva.nl>. -1998-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * manual/job.texi: Document tcgetsid. + * manual/pattern.texi: Document globfree. + * manual/terminal.texi: Document B38400 ... B460800. - * nscd/connections.c (handle_new_request): Handle POLLHUP - correctly. - (close_sockets): Correct parameter to dbg_log. + * posix/confstr.c: Print "-D_FILE_OFFSET_SIZE=64" for _CS_LFS_CFLAGS. -1998-06-27 David S. Miller <davem@pierdol.cobaltmicro.com> + * posix/unistd.h: Add explanation of _POSIX_* constants. - * 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 + * posix/unistd.h: Add prototypes for __pread, __pread64, __pwrite + and __pwrite64. + * sysdeps/generic/pread.c: Define as __pread and make pread weak alias. + * sysdeps/generic/pread64.c: Likewise. + * sysdeps/generic/pwrite.c: Likewise. + * sysdeps/generic/pwrite64.c: Likewise. + * sysdeps/posix/pread.c: Likewise. + * sysdeps/posix/pwrite.c: Likewise. + * sysdeps/posix/pread64.c: New file. + * sysdeps/posix/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=posix] (sysdep_routines): + Add s_pread64 and s_pwrite64. + * sysdeps/unix/sysv/linux/pread.c: New file. + * sysdeps/unix/sysv/linux/pread64.c: New file. + * sysdeps/unix/sysv/linux/pwrite.c: New file. + * sysdeps/unix/sysv/linux/pwrite64.c: New file. + * sysdeps/unix/sysv/linux/s_pread64.c: New file. + * sysdeps/unix/sysv/linux/s_pwrite64.c: New file. + * sysdeps/unix/sysv/linux/syscalls.list: Add pread and pwrite. + * sysdeps/unix/sysv/linux/alpha/pread64.c: New (empty) file. + * sysdeps/unix/sysv/linux/alpha/pwrite64.c: New (empty) file. + * sysdeps/unix/sysv/linux/sparc/sparc64/pread64.c: New (empty) file. + * sysdeps/unix/sysv/linux/sparc/sparc64/pwrite64.c: New (empty) file. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add pread and pwrite + with weak aliases for *64 functions. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. -1998-06-27 Ulrich Drepper <drepper@cygnus.com> + * string/bits/string2.h: Add casts to allow void * arguments. - * resolv/res_send.c (res_send): Fix typo. + * sysdeps/i386/i486/bits/string.h: Define index and rindex only if + __USE_BSD or __USE_XOPEN_EXTENDED. -1998-06-25 Andi Kleen <ak@muc.de> + * sysdeps/unix/sysv/linux/bits/socket.h: Add SCM_RIGHTS and other + SCM_* constants from kernel header. - * inet/rcmd.c (rcmd): Change to use __poll instead of select. - * resolv/res_send.c (res_send): Likewise. + * termios/termios.h: Add prototype for tcgetsid. -1998-06-27 12:58 Ulrich Drepper <drepper@cygnus.com> +1997-10-26 13:26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - * sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias. - * sysdeps/unix/sysv/linux/poll.c: Likewise. + * sunrpc/clnt_perr.c: Add trailing '\0' to strings. -1998-06-27 7:07 Richard Henderson <rth@cygnus.com> + * sunrpc/get_myaddr.c: Include rpc/clnt.h for prototypes. - * 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. + * sunrpc/pmap_clnt.c: Use get_myaddress from header file. - * resolv/inet_addr.c (inet_aton): Check for 32-bit overflow. Move - base handling away from strtoul. Always reset errno. +1997-10-26 05:26 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/alpha/Makefile (elf): Kill -mno-fp-regs. + * configure.in: Punt if any directory mentioned in the + enable-add-on parameter does not exist. - * 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. +1997-10-25 19:25 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Mark tmp - as early-clobber. + * termios/Makefile (routines): Add tcgetsid. + * termios/tcgetsid.c: New file. + Provided by Mark M. Kettenis <kettenis@phys.uva.nl>. - * sysdeps/libm-ieee754/e_exp10.c: Include "math_private.h". - * sysdeps/libm-ieee754/e_exp10f.c: Likewise. - * sysdeps/libm-ieee754/e_exp10l.c: Likewise. +1997-10-25 18:56 Ulrich Drepper <drepper@cygnus.com> -1998-06-26 Ulrich Drepper <drepper@cygnus.com> + * stdlib/stdlib.h: Remove mblen optimization. + * stdlib/mblen.c: Rewrite to make sure global state is not changed. + Reported by anderson@metrolink.com. - * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe code. +1997-10-19 21:51 Wolfram Gloger <wg@wolfram.dent.med.uni-muenchen.de> -1998-06-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * malloc/thread-m.h [_LIBC]: Use new __libc_internal_tsd_{set,get} + interface for thread-specific data. - * nis/nis_call.c: Don't copy server structure. - * nis/nis_intern.h: Remove unused entries. - * nis/nis_table.c: Rewrite __create_ib_request. +1997-10-25 06:51 Ulrich Drepper <drepper@cygnus.com> -1998-06-26 14:37 Ulrich Drepper <drepper@cygnus.com> + * elf/dl-addr.c: Use braces for correct logical grouping. + Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>. - * 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. +1997-10-18 09:15 Geoff Keating <geoffk@ozemail.com.au> -1998-06-26 Ulrich Drepper <drepper@cygnus.com> + * io/ftwtest-sh: Sometimes /tmp is a symlink to somewhere more + convenient; that caused this test to break. - * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm. + * sysdeps/powerpc/dl-machine.h: Fix typo. -1998-06-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/powerpc/bits/fenv.h: Don't use floating-point registers + when -msoft-float is in effect, because this causes compilation to + stop. + * sysdeps/powerpc/bits/mathinlines.h: Likewise. - * Makefile (remove-old-headers): Make phony. + * rpm/template: Add description, use RPM flags rather than the ones + used to build the spec. Build in a temporary directory, not /. - * configure.in: Substitute @old_glibc_headers@. + * elf/dl-lookup.c: Don't include _itoa.h, it's not used. + * elf/dl-minimal.c: Use _itoa_word rather than _itoa. It seems that + _itoa is the only routine that ld.so uses that requires something + from libgcc.a on powerpc, so it would be best to avoid it in ld.so. + * elf/rtld.c: Likewise. + * sysdeps/generic/_strerror.c: Likewise. + * stdio-common/_itoa.c: Split out digits strings. + * stdio-common/itoa-digits.c: New file. + * stdio-common/Makefile: Add itoa-digits. -1998-06-26 Ulrich Drepper <drepper@cygnus.com> +1997-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * libc.map: Remove __libc_uid. + * manual/filesys.texi (Scanning Directory Content): Document error + case more. -1998-06-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * dirent/scandir.c (scandir): Ignore errors from select function. + Suggested by urbanw@cs.umu.se (closes PR libc/316). - * manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix - typos. +1997-10-25 06:18 Ulrich Drepper <drepper@cygnus.com> -1998-06-26 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Corrections. + Patch by Erik Troan <ewt@redhat.com>. - * libc.map: Add Alpha-specific io function from protected namespace. +1997-10-25 04:00 Ulrich Drepper <drepper@cygnus.com> -1998-06-25 19:26 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Favour exact + matching of version function if both the general (1) and + glibc-specific (3) entry are present. - * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) if defined first. - * locale/Makefile: Define locale-CPPFLAGS instead of redefining - CPPFLAGS. +1997-10-22 18:47 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - * libc.map: Export __sigaction. + * sunrpc/rpc/clnt.h: Add get_myaddress prototype. -1998-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * nis/libnsl.map: Fix typo. - * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PTRACE): Add it - (from Linux 2.1.107). + * nis/nis_call.c: Fix memory leak. -1998-06-24 Ulrich Drepper <drepper@cygnus.com> +1997-10-22 19:29 Ulrich Drepper <drepper@cygnus.com> - * 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>. + * sysdeps/generic/memcmp.c: Define __P if not defined before. + Patch by Jim Meyering <meyering@eng.ascend.com>. - * sysdeps/generic/glob.c: Also protect FNM_* macros from being - undefined in a second inclusion. +1997-10-21 22:09 Ulrich Drepper <drepper@cygnus.com> -1998-06-20 Mark Kettenis <kettenis@phys.uva.nl> + * sysdeps/unix/sysv/linux/sys/prctl.h: New file by Richard Gooch + <rgooch@atnf.csiro.au>. - * 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. +1997-10-21 21:50 Ulrich Drepper <drepper@cygnus.com> -1998-05-30 Mark Kettenis <kettenis@phys.uva.nl> + * misc/syslog.c (vsyslog): Open console with O_NOCTTY. + Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>. - * sysdeps/mach/hurd/i386/init-first.c +1997-10-21 18:07 Ulrich Drepper <drepper@cygnus.com> -1998-06-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * posix/wordexp.c: Improve handling of $... expressions. + Patch by Tim Waugh <tim@cyberelk.demon.co.uk>. - * grp/initgroups.c: Use _CALL_DL_FCT. +1997-10-21 16:12 Ulrich Drepper <drepper@cygnus.com> -1998-06-23 Mark Kettenis <kettenis@phys.uva.nl> + * manual/string.texi: Correct return values of bcopy and bzero. + Patch by Matthew Wilcox <willy@odie.barnet.ac.uk>. - * elf/rtld.c (process_dl_debug): Add missing continue. +1997-10-18 15:03 Philip Blundell <Philip.Blundell@pobox.com> -1998-06-23 Mark Kettenis <kettenis@phys.uva.nl> + * sysdeps/unix/sysv/linux/bits/socket.h: Correct types of some + elements in struct msghdr and struct cmsghdr, to keep in step with + the kernel. - * elf/dl-load.c (_dl_map_object_from_fd): Add missing cast. +1997-10-17 22:29 Ulrich Drepper <drepper@cygnus.com> -1998-06-23 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Fix another + bug in startup code. + Patch by Eric Delaunay <delaunay@lix.polytechnique.fr>. - * manual/terminal.texi (Pseudo-Terminals): Correct typos. +1997-10-16 20:17 Richard Henderson <rth@cygnus.com> -1998-06-23 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Dump args to the + stack and give the kernel a pointer. Use the sysdep.h macros. - * config.make.in: Remove LDAP support. - * nss/Makefile: Likewise. +1997-10-17 04:07 Ulrich Drepper <drepper@cygnus.com> -1998-06-22 17:02 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/sparc/sparc32/elf/start.S: Calculate argv correctly. + Patch by Eric Delaunay <delaunay@lix.polytechnique.fr>. - * 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. +1997-10-16 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-06-02 Gordon Matzigkeit <gord@profitpress.com> + * sysdeps/libm-ieee754/s_nextafterxf.c [!__STDC__]: Correct typo. - * mach/Makefile: Change `mv' invocations to `mv -f'. - * mach/Machrules: Likewise. +1997-10-16 14:50 Ulrich Drepper <drepper@cygnus.com> -1998-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * manual/pattern.texi: Document globfree. - * config.make.in (old-glibc-headers): Add it. +1997-10-15 21:11 Philip Blundell <Philip.Blundell@pobox.com> - * configure.in: Add test for glibc 2.0.x headers. + * sysdeps/unix/sysv/linux/net/if_packet.h: New file. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add + net/if_packet.h. - * 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. + * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_ASH): New type, for + 64Mbps ASH. + (ARPHRD_ETHER): This is used for 100Mbps networks too. -1998-06-19 Mark Kettenis <kettenis@phys.uva.nl> +1997-10-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * 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. + * Makerules (install): Use full pathnames for linker script. + This is to work around a limitation in `ld' while no better solution + is possible. -1998-06-20 Mark Kettenis <kettenis@phys.uva.nl> +1997-10-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * manual/terminal.texi: Document ttyname_r, getpt, grantpt, - unlockpt, ptsname, ptsname_r, openpty and forkpty. + * malloc/malloc.c (mmap_chunk): Put inline before static in + function definition to avoid compiler warning. + (malloc_extend): Likewise. -1998-06-22 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/generic/des_impl.c: Include "des.h" to avoid warning. - * 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>. +1997-10-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * NEWS: Fix @gnu.ai.mit.edu -> @gnu.org. + * README.template: Likewise. + * db/makedb.c: Likewise. + * elf/ldd.bash.in: Likewise. + * elf/ldd.sh.in: Likewise. + * intl/locale.alias: Likewise. + * login/programs/utmpd.c: Likewise. + * libio/stdfiles.c [!_IO_MTSAFE] (DEF_STDFILE): Fix parameter list. - * nscd/connections.c: Use poll() instead of select(). +1997-10-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-06-22 14:08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * Rules: Remove all empty.* files. + (shared-only-routines): Correct implementation. - * sysdeps/generic/Dist: Fix typo. +1997-10-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-06-20 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * sysdeps/libm-ieee754/s_lrintl.c: Make compilable. + * sysdeps/libm-ieee754/s_llrintl.c: Likewise. Optimized. - * 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. +1997-10-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * nis/nis_file.c: Close file handles. + * elf/ldd.bash.in: Only prepend ./ if the file contains no slash + at all. + * elf/ldd.sh.in: Likewise. - * nis/nis_callback.c: Fix typo. +1997-10-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-06-10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * sysdeps/m68k/sys/ucontext.h: New file. - * 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. +1997-10-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-06-19 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/m68k/fpu/s_scalbln.c: New (empty) file. + * sysdeps/m68k/fpu/s_scalblnf.c: New (empty) file. + * sysdeps/m68k/fpu/s_scalblnl.c: New (empty) file. - * 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. + * sysdeps/m68k/fpu/s_scalbn.c: Add scalbln alias. + * sysdeps/m68k/fpu/s_scalbnf.c: Adapted. + * sysdeps/m68k/fpu/s_scalbnl.c: Adapted. - * sysdeps/unix/sysv/linux/sigstack.c: Mark sigstack as dangerous. + * sysdeps/m68k/fpu/s_lrint.c: Add standard skeleton stuff. + * sysdeps/m68k/fpu/s_lrintf.c: New file. + * sysdeps/m68k/fpu/s_lrintl.c: New file. -1998-06-19 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/m68k/fpu/bits/mathinline.h: Add fma and scalbln. Update + lrint and scalbn. + (__m81_inline) [__cplusplus]: Define to __inline. - * sysdeps/unix/sysv/linux/sparc/Dist: Follow change from - 1998-06-16 and distribute kernel_termios.h. + * math/bits/mathcalls.h: Remove whitespace before second argument + of __MATHDECL. Add note explaining this. - * nis/Makefile (distribute): Add nis_xdr.h. +1997-10-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-06-19 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * manual/arith.texi (Absolute Value): Spelling fix. - * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Disable for - kernels that don't have sigaltstack. +1997-10-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-06-19 Ulrich Drepper <drepper@cygnus.com> + * malloc/obstack.h (obstack_empty_p) [!__GNUC__]: Properly + parenthesize the macro parameter. - * sysdeps/generic/bits/sem.h: Don't define union semun. +1997-10-15 06:56 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/bits/sem.h: Fix typo. + * Rules: Remove rules to magically install <subdir>.h headers. + Reported by Mark Kettenis <kettenis@phys.uva.nl>. - * sysdeps/unix/sysv/linux/bits/ipc.h: Remove ipc_kludge definition - here. - * sysdeps/unix/sysv/linux/msgrcv.c (msgrcv): Add ipc_kludge - definition here. + * glibcbug.in: Fix @gnu.ai.mit.edu -> @gnu.org. + * version.c: Likewise. + * catgets/gencat.c: Likewise. + * db2/makedb.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. -1998-06-18 21:45 Ulrich Drepper <drepper@cygnus.com> + * libc.map: Move _IO_list_all back to GLIBC_2.0. - * 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. + * elf/rtld.c: Provide name of running program to _dl_new_object. - * sysdeps/i386/backtrace.c: Add casts. + * Rules: Implement shared-only-sources. + * include/libc-symbols.h: Define default_symbol_version. + * libio/Makefile (shared-only-sources): Define. + * libio/freopen.c: Define as default version. + * libio/iofopen.c: Likewise. + * libio/genops.c: Define _IO_list_all here. + * libio/stdfiles.c: Create linked list with public names. + * libio/oldstdfiles.c: Likewise. -1998-06-18 19:49 Ulrich Drepper <drepper@cygnus.com> + * stdio-common/printf.c: Optimize. + * stdio-common/scanf.c: Optimize. - * intl/dcgettext.c: use complete type name. - * intl/hash-string.h: Likewise. + * sysdeps/generic/setfpucw.c: Include #include <...> not "...". - * intl/localealias.c: Undo patch from 1998-04-29. - * intl/l10nflist.c: Likewise. - * intl/loadinfo.h: Likewise. + * sysdeps/i386/i486/bits/string.h: Add optimized versions of index and + rindex. -1998-06-18 Ulrich Drepper <drepper@cygnus.com> +1997-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/i386/elf/start.S (_start): Ensure correct alignment. + * manual/arith.texi: Spelling fixes. + * manual/conf.texi: Likewise. + * manual/creature.texi: Likewise. + * manual/filesys.texi: Likewise. + * manual/intro.texi: Likewise. + * manual/llio.texi: Likewise. + * manual/math.texi: Likewise. + * manual/message.texi: Likewise. + * manual/pattern.texi: Likewise. + * manual/search.texi: Likewise. + * manual/signal.texi: Likewise. + * manual/socket.texi: Likewise. + * manual/startup.texi: Likewise. + * manual/stdio.texi: Likewise. + * manual/string.texi: Likewise. + * manual/time.texi: Likewise. + * manual/users.texi: Likewise. -1998-06-18 16:40 Ulrich Drepper <drepper@cygnus.com> +1997-10-13 05:25 Ulrich Drepper <drepper@cygnus.com> - * 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. + * sysdeps/generic/sys/mman.h: Use __ptr_t instead of __caddr_t. + * 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/sys/mman.h: Likewise. + * sysdeps/mach/hurd/mmap.c: Likewise. + * sysdeps/generic/mmap.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise. + * sysdeps/mach/munmap.c: Likewise. + * sysdeps/generic/munmap.c: Likewise. + * sysdeps/mach/mprotect.c: Likewise. + * sysdeps/generic/mprotect.c: Likewise. + * sysdeps/generic/msync.c: Likewise. + * sysdeps/generic/madvise.c: Likewise. + + * sysdeps/unix/sysv/linux/madvise.c: Include stub version from generic + subdir. -1998-06-18 12:29 Ulrich Drepper <drepper@cygnus.com> +1997-10-12 20:27 Zack Weinberg <zack@rabi.phys.columbia.edu> - * sysdeps/libm-i387/e_scalb.S: Fix bug in FPU stack handling. - * sysdeps/libm-i387/e_scalbf.S: Likewise. + * sysdeps/stub (all files): Moved to sysdeps/generic. + * all files using stub_warning: Include <stub-tag.h>. + * include/stub-tag.h: New file, marks stubs in .d files. + * Makerules: Look for stub-tag.h, not sysdeps/stub, when building + <gnu/stubs.h>. + * configure.in: Don't add sysdeps/stub to $sysnames. + * sysdeps/unix/Makefile: Look for generic headers, not stub + headers. + * sysdeps/generic/Makefile: Likewise. + * manual/maint.texi: Delete references to sysdeps/stub. + * INSTALL: Rebuilt. + * configure: Rebuilt. + +1997-10-13 03:14 Ulrich Drepper <drepper@cygnus.com> + + * libc.map: Move _IO_fopen, fopen, _IO_stdin_, _IO_stdout_, + _IO_stderr_, _IO_list_all, and freopen to GLIBC_2.1 version. + * include/libc-symbol.h: Define define_symbol. + * libio/Makefile [$(versioning)=yes] (routines): Add oldiofopen and + oldfreopen. + [$(versioning)=yes] (aux): Add oldfileops and oldstdfiles. + * libio/fileops.c: Use _IO_FILE_complete when accessing _offset field. + * libio/freopen.c: Use versioning. + * libio/iofopen.c: Likewise. Generate object of type + _IO_FILE_complete. + * libio/iofopen64.c: Generate object of type _IO_FILE_complete. + * libio/iolibio.h: Declare _IO_{old,new}_fopen and __{old,new}_freopen. + Define _IO_old_freopen. + * libio/libio.h: Remove _offset field from _IO_FILE. Rename _unused2 + field to _old_offset. Declare _IO_std*_ streams as of type + _IO_FILE_complete. + * libio/libioP.h: Define _IO_FILE_complete. + Declare callbacks for old fileops implementation. + * libio/stdfile.c: Define standard stream of type _IO_FILE_complete. + * libio/stdio.c: Correctly address FILE part of standard streams. + * libio/oldfileops.c: New file. + * libio/oldfreopen.c: New file. + * libio/oldiofopen.c: New file. + * libio/oldstdfiles.c: New file. + + * sysdeps/i386/fpu/bits/mathinline.h: Define fma optimization. + + * sysdeps/libm-i387/e_scalb.S: Make sure code gets into .text section. * sysdeps/libm-i387/e_scalbl.S: Likewise. + * sysdeps/libm-i387/s_fma.S: Fix typo. + * sysdeps/libm-i387/s_fmaf.S: Likewise. + * sysdeps/libm-i387/s_fmal.S: Likewise. + +1997-10-12 20:14 Zack Weinberg <zack@rabi.phys.columbia.edu> + + * sysdeps/stub/getsid.c: Add a stub_warning. + * sysdeps/stub/mmap.c: Likewise. + * sysdeps/stub/munmap.c: Likewise. + +1997-10-12 05:09 Ulrich Drepper <drepper@cygnus.com> + + * libio/Makefile (routines): Remove iofprintf. + * stdio-common/fprintf.c [USE_IN_LIBIO]: Define _IO_fprintf. + * libio/filedoalloc.c: Use _G_stat64 instead of stat. + * libio/fileops.c (_IO_file_open): Change to take extra argument + indicating whether 32 or 64 bit mode is wanted. + * libio/iofopen.c: Call _IO_file_open with extra argument set to 0. + * libio/iofopen64.c: Call _IO_file_open with extra argument set to 0. + * libio/iolibio.h (_IO_freopen, _IO_freopen64): Likewise. + * libio/iofgetpos.c: Pretty print. + * libio/iofgetpos64.c: Use _IO_fpos64_t for local variable `pos'. + + * manual/conf.texi: Document all the _SC_ and _CS_ constants. + * manual/creature.texi: Document _LARGEFILE_SOURCE, _LARGEFILE64_SOURCE + and _FILE_OFFSET_BITS. + * manual/llio.texi: Document truncate and ftruncate. + * manual/stdio.texi: Document positional parameters for printf. + + * math/Makefile (headers): Add tgmath.h. + (libm-support): Remove s_lrint, s_llrint, s_lround, and s_llround and + move to ... + (libm-calls): ... here. Add scalbln, s_nextafterx and s_fma. + * math/libm-test.c (lround_test, llround_test): Test for all FP formats + by using FUNC(). + * math/libm.map: Add fma, fmaf, fmal, nextafterx, nextafterxf, + nextafterxl, scalbln, scalblnf, scalblnl, lrintf, lrintl, llrintf, + llrintl, lroundf, lroundl, llroundf, and llroundl. + * math/math.h: Document new platform specific macros from mathdef.h. + Remove declaration of lrint, llrint, lround, and llround. + * math/test-double.c: Define TEST_DOUBLE. + * math/test-idouble.c: Likewise. + * math/test-float.c: Define TEST_FLOAT. + * math/test-ifloat.c: Likewise. + * math/tgmath.h: New file. + * math/bits/mathcalls.h: Add nextafterx, scalbln, fma, lrint, llrint, + lround, and llround. + Change second argument of scalbn to `int'. + * sysdeps/libm-ieee754/s_fma.c: New file. + * sysdeps/libm-ieee754/s_fmaf.c: New file. + * sysdeps/libm-ieee754/s_fmal.c: New file. + * sysdeps/libm-i387/s_fma.S: New file. + * sysdeps/libm-i387/s_fmaf.S: New file. + * sysdeps/libm-i387/s_fmal.S: New file. + * sysdeps/libm-i387/s_llrint.S: Change to take double argument. + * sysdeps/libm-i387/s_lrint.S: Likewise. + * sysdeps/libm-i387/s_llrintf.S: New file. + * sysdeps/libm-i387/s_llrintl.S: New file. + * sysdeps/libm-i387/s_lrintf.S: New file. + * sysdeps/libm-i387/s_lrintl.S: New file. + * sysdeps/libm-ieee754/s_llrint.c: Remove version which works on + 80bit double. + * sysdeps/libm-ieee754/s_lrint.c: Likewise. + * sysdeps/libm-ieee754/s_llrintf.c: New file. + * sysdeps/libm-ieee754/s_llrintl.c: New file. + * sysdeps/libm-ieee754/s_lrintf.c: New file. + * sysdeps/libm-ieee754/s_lrintl.c: New file. + * sysdeps/libm-i387/s_scalbln.c: New file. Empty file. + * sysdeps/libm-i387/s_scalblnf.c: New file. Empty file. + * sysdeps/libm-i387/s_scalblnl.c: New file. Empty file. + * sysdeps/libm-i387/s_scalbn.c: Add scalbln as alias. + * sysdeps/libm-i387/s_scalbnf.c: Add scalblnf as alias. + * sysdeps/libm-i387/s_scalbnl.c: Add scalblnl as alias. + * sysdeps/libm-ieee754/s_llround.c: Remove version which works on + 80bit double. + * sysdeps/libm-ieee754/s_lround.c: Likewise. + * sysdeps/libm-ieee754/s_llroundf.c: Likewise. + * sysdeps/libm-ieee754/s_llroundl.c: Likewise. + * sysdeps/libm-ieee754/s_lroundf.c: Likewise. + * sysdeps/libm-ieee754/s_lroundl.c: Likewise. + * sysdeps/libm-ieee754/s_nextafterl.c: Add alias fo nextafterxl. + * sysdeps/libm-ieee754/s_nextafterx.c: New file. + * sysdeps/libm-ieee754/s_nextafterxf.c: New file. + * sysdeps/libm-ieee754/s_nextafterxl.c: New file. + * sysdeps/libm-ieee754/s_scalbln.c: New file. + * sysdeps/libm-ieee754/s_scalblnf.c: New file. + * sysdeps/libm-ieee754/s_scalblnl.c: New file. + * sysdeps/libm-ieee754/s_scalbn.c: Change to take `int' as second arg. + * sysdeps/libm-ieee754/s_scalbnf.c: Likewise. + * sysdeps/libm-ieee754/s_scalbnl.c: Likewise. + + * stdlib/stdlib.h: Protect declarations of __strto*l_internal functions + by #ifdefs since they are duplicated in inttypes.h. + * sysdeps/wordsize-32/inttypes.h: Add definition of strtoimax and + strtoumax plus needed declarations. + + * sysdeps/generic/confname.h (_SC_AIO_LISTIO_MAX): Fix typo. + +1997-10-09 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * locale/programs/locfile.c (locfile_read): Correct while loop. + + * db2/makedb.c (main): Add missing parameter for error output. + (process_input): Likewise. + + * resolv/gethnamaddr.c (getanswer): Rewrite a bit to avoid warning. + +1997-10-12 05:05 Ulrich Drepper <drepper@cygnus.com> + + * libc-map: Add __bzero, __mempcpy. + +1997-10-10 18:51 David S. Miller <davem@tanya.rutgers.edu> + + * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Remove dependencies + on kernel_termios.h + +1997-10-09 10:24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + + Add the changes from the Solaris 2.6 header files, use the new public + defines/functions. + * nis/nis_addmember.c: Updated. + * nis/nis_checkpoint.c: Updated. + * nis/nis_creategroup.c: updated. + * nis/nis_destroygroup.c: Updated. + * nis/nis_getservlist.c: Updated. + * nis/nis_ismember.c: Updated. + * nis/nis_lookup.c: Updated. + * nis/nis_modify.c: Updated. + * nis/nis_ping.c: Updated. + * nis/nis_print.c: Updated. + * nis/nis_print_group_entry.c: Updated. + * nis/nis_remove.c: Updated. + * nis/nis_removemember.c: Updated. + * nis/nis_xdr.c: Updated. + * nis/nss_nisplus/nisplus-alias.c: Updated. + * nis/nss_nisplus/nisplus-ethers.c: Updated. + * nis/nss_nisplus/nisplus-hosts.c: Updated. + * nis/nss_nisplus/nisplus-network.c: Updated. + * nis/nss_nisplus/nisplus-parser.c: Updated. + * nis/nss_nisplus/nisplus-proto.c: Updated. + * nis/nss_nisplus/nisplus-rpc.c: Updated. + * nis/nss_nisplus/nisplus-service.c: Updated. + * nis/rpcsvc/nis.h: Updated. + * nis/rpcsvc/nis.x: Updated. + * nis/rpcsvc/nis_object.x: Updated. + * nis/rpcsvc/nis_tags.h: Updated. + * nis/rpcsvc/nislib.h: Updated. + + * nis/lckcache.c: Removed, since Sun has dropped the directory + signatures. The old cache version is now a security risk and not + longer supported by Sun. + * nis/nis_cache.c: Likewise. + * nis/rpcsvc/nis_cache.h: Likewise. + * nis/rpcsvc/nis_cache.x: Likewise. -1998-06-18 Ulrich Drepper <drepper@cygnus.com> - - * stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate - longestdbl. - -1998-06-18 10:26 Ulrich Drepper <drepper@cygnus.com> - - * 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. - -1998-06-17 Ulrich Drepper <drepper@cygnus.com> - - * stdlib/tst-strtod.c (long_dbl): Add test for loooong numbers. - - * stdlib/strtod.c (str_to_mpn): Fix extending of n array which - only should happen for cy != 0. - - * sysdeps/unix/sysv/linux/alpha/glob.c: Include sys/types.h before - glob.h. - -1998-06-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/generic/backtrace.c (INNER_THAN): New definition, use it - to compare stack addresses. - -1998-06-17 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/alpha/glob.c: Include glob.h before - defining prototypes. - -1998-06-16 David S. Miller <davem@dm.cobaltmicro.com> - - * 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. - - * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: Move... - * sysdeps/unix/sysv/linux/sparc/kernel_termios.h: ...to here. - - * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: Remove. - * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: No longer build - trampoline code. - - * 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. - - * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c - (__sigaction): Member name is k_sa_handler. Use memcpy to copy - around sa_mask data. - -1998-06-16 Ulrich Drepper <drepper@cygnus.com> - - * math/math.h: Include bits/nan.h when compiling for ISO C 9x. - - * string/Makefile: Make sure test-ffs does not use builtins. - -1998-06-16 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * sunrpc/svc.c: Check for NULL pointer. - - * nis/libnsl.map: Add public NIS+ xdr functions. + * nis/nis_call.c: Remove calls to the cache functions. - * nis/rpcsvc/nis_callback.h: New file. - * nis/rpcsvc/nis.h: Move xdr_* functions from here ... - * nis/nis_xdr.h: ... here. + * nis/libnsl.map: Remove cache and depending functions. + * nis/nis_intern.h: Likewise. - * 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_add.c: Remove #include <rpcsvc/nislib.h>. + * nis/nis_domain_of.c: Likewise. + * nis/nis_domain_of_r.c: Likewise. + * nis/nis_error.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_local_names.c: Likewise. * nis/nis_mkdir.c: Likewise. - * nis/nis_modify.c: Likewise. - * nis/nis_ping.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_subr.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> + * nis/nis_clone.c: Removed, replaced by ... + * nis/nis_clone_dir.c: New. + * nis/nis_clone_obj.c: New. + * nis/nis_clone_res.c: New. + * nis/nis_table.c: Fixed bugs shown through the new clone functions. - * iconvdata/ksc5601.h: Clean up a bit. + * nis/nis_defaults.c: Fixed a lot of race conditions. -1998-06-15 14:35 Ulrich Drepper <drepper@cygnus.com> + * nis/nis_free.c: Rewritten. - * 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>. + * sunrpc/auth_des.c: Fix use of free'ed pointer. -1998-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * nis/Makefile (libnsl-routines): Remove nis_clone, nis_cache and + lckcache. Add nis_clone_dir, nis_clone_obj, and nis_clone_res. - 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. +1997-10-09 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * hesiod/README.hesiod: Correct typo. + * wctype/test_wctype.c (TEST): Add parens to avoid ambiguity. - * manual/llio.texi: Correct typos. - * manual/sysinfo.texi: Likewise. +1997-10-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * include/features.h: Don't crash if _XOPEN_SOURCE is defined to + be empty. - * rt/aio.h: Rename __op to __operation for g++. +1997-10-09 05:54 Ulrich Drepper <drepper@cygnus.com> -1998-06-13 20:17 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> + * nss/digits_dots.c: Place `result' in resbuf and not in `buffer'. + * nss/getXXbyYY_r.c: Make sure digits_dots.c sees `resbuf' as + struct and not a pointer. Little optimizations. - * 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. +1997-10-09 05:00 Ulrich Drepper <drepper@cygnus.com> - * 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. + * sysdeps/stub/getenv.c: Remove unused file. + * sysdeps/stub/lxstat.c: Likewise. + * sysdeps/stub/morecore.c: Likewise. + * sysdeps/stub/putenv.c: Likewise. + * sysdeps/stub/sbrk.c: Likewise. + * sysdeps/stub/setenv.c: Likewise. + * sysdeps/stub/sysd-stdio.c: Likewise. + * sysdeps/stub/sysdep.h: Likewise. + Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>. - * iconvdata/gap.pl: Removed. - * iconvdata/gaptab.pl: Removed. - * iconvdata/gap.awk: New file. - * iconvdata/gaptab.awk: New file. +1997-10-09 04:58 Ulrich Drepper <drepper@cygnus.com> -1998-06-15 Ulrich Drepper <drepper@cygnus.com> + * configure.in: Add __bzero definition to DWARF2 unwind test. + Reported by David S. Miller <davem@caip.rutgers.edu>. - * sysdeps/generic/Dist: Add errno-loc.c. +1997-10-07 Paul Eggert <eggert@twinsun.com> - * sysdeps/unix/sysv/linux/alpha/glob.c: Add prototypes for the - __new_* functions. + * intl/loadmsgcat.c (_nl_load_domain): + Fix &&/|| typo when checking file size. + Check for overflow when stuffing off_t into size_t. -1998-06-14 14:21 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> +1997-10-07 18:11 Ulrich Drepper <drepper@cygnus.com> - * stdio-common/bug12.c: New test for fread()/fseek(). - * stdio-common/Makefile (tests): Add bug12. + * time/africa: Update from tzdata1997i. -1998-06-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-10-07 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/generic/elf/backtracesyms.c: Make array elements - constant. - * sysdeps/generic/backtracesyms.c: Likewise. Fix type of RESULT. - * debug/execinfo.h: Update declaration. + * posix/globtest.sh: Add arguments for name of dynamic linker and + call dynamic linker to execute globtest. -1998-06-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * posix/Makefile (tests): Supply arguments to globtest.sh. - * sysdeps/generic/elf/backtracesyms.c: Make array elements constant. - * sysdeps/generic/backtracesyms.c: Likewise. Fix type of RESULT. - * debug/execinfo.h: Update declaration. +1997-10-07 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-06-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * nis/rpcsvc/ypupd.h: Add missing __END_DECLS. - * manual/llio.texi: Fix spelling. - * manual/sysinfo.texi: Fix spelling. +1997-10-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-06-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * libc.map: Add mempcpy, prctl. - * misc/hsearch.c (__hdestroy): Renamed from hdestroy, create weak - alias for old name. Put this on __libc_subfreeres. - * misc/search.h: Declare it. +1997-09-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-06-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/generic/memcmp.c: Avoid warnings. + * sysdeps/generic/memset.c: Likewise. + * sysdeps/generic/strchr.c: Likewise. + * sysdeps/generic/strlen.c: Likewise. - * string/bits/string2.h (strcmp): Add missing parens around macro - parameters. +1997-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-06-12 23:34 Ulrich Drepper <drepper@cygnus.com> + * malloc/Makefile ($(objpfx)mtrace): Fix typo. - * manual/arith.texi: Fix problem with @math and texinfo.tex. +1997-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * manual/filesys.texi: Document LFS functions. - * manual/llio.texi: Likewise. - * manual/stdio.texi: Likewise. - * manual/time.texi: Likewise. + * sysdeps/m68k/dl-machine.h (elf_machine_rela): Fix last change. + The R_68K_GLOB_DAT and R_68K_JMP_SLOT relocations really ignore + the addend, Richard. + (elf_machine_fixup_plt): Don't add the addend. + (elf_machine_plt_value): New function. + + * sysdeps/alpha/dl-machine.h (elf_machine_plt_value): New + function. + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_plt_value): New + function. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_plt_value): New + function. + * sysdeps/powerpc/dl-machine.h (elf_machine_plt_value): New + function. + * sysdeps/i386/dl-machine.h (elf_machine_plt_value): New + function. - * manual/llio.texi: Document AIO functions. + * elf/dl-runtime.c (fixup, profile_fixup): Don't add in the + addend, instead let the machine dependent setup decide. - * 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. +1997-09-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/m68k/m68020/bits/string.h: New file. + +1997-10-07 04:27 Richard Henderson <rth@cygnus.com> -1998-06-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * Makeconfig (+includes): Add -I$(objpfx). - * sysdeps/generic/getenv.c: Fix last change. + * stdlib/longlong.h [__sparc__]: Prototype __udiv_qrnnd. -1998-06-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/alpha/setjmp.S: __setjmp is the same as _setjmp. Make + the former a strong symbol and the later a weak alias. + * sysdeps/sparc/sparc32/setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise. - * sysdeps/generic/backtrace.c: Provide generic implementation. +1997-10-06 21:01 David S. Miller <davem@tanya.rutgers.edu> -1998-06-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Make ino_t + 64-bits. + * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Make st_ino + member 64-bits as well, to match the kernel. - * configure.in: Give visual feedback of the default directories we - added. +1997-10-06 19:35 Ulrich Drepper <drepper@cygnus.com> -1998-06-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/sparc/sparc64/sub_n.S: Fix typo. + Patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>. - * io/fts.c (fts_build): Define oflag only if needed. +1997-10-06 01:09 Zack Weinberg <zack@rabi.phys.columbia.edu> -1998-06-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * time/README: Correct list of files from tzcode package. Add + contact information for tzcode/tzdata maintainers. Correct + spelling of author's name. Compact lists. - * sysdeps/libm-ieee754/w_exp10.c: Add missing close comment. +1997-10-06 01:48 Ulrich Drepper <drepper@cygnus.com> -1998-06-11 Ulrich Drepper <drepper@cygnus.com> + * malloc/malloc.h: Remove hook definition without caller argument. + * malloc/malloc.c: Likewise. - * libc.map: Don't export argp's fmtstream handling functions. + * string/tester.c: Correct strsep test. + + * string/bits/string2.h: Define __string2_1bptr_p and use it. + Patch by David S. Miller <davem@tanya.rutgers.edu>. + + * math/Makefile (routines): Add s_clog10. + * math/libm-test.c: Add test for clog10. + * math/libm.map: Add clog10{,f,l}. + * math/bits/cmathcalls.h [__USE_GNU]: Add clog10. + * sysdeps/libm-ieee754/s_clog10.c: New file. + * sysdeps/libm-ieee754/s_clog10f.c: New file. + * sysdeps/libm-ieee754/s_clog10l.c: New file. + * manual/math.texi: Describe clog10. + + * config.h.in: Add USE_REGPARMS and define internal_function based on + this. + * configure.in: Define USE_REGPARMS for ix86 machines. + * gmon/gmon.c: Mark write_hist, write_call_graph and write_bb_counts + as internal functions. + * inet/getnameinfo.c: Likewise for nrl_domainname. + * inet/getnetgrent_r.c: Likewise for __internal_setnetgrent_reuse. + * inet/rcmd.c: Likewise for __icheckhost. + * intl/dcgettext.c: Likewise for category_to_name and + guess_category_value. + * intl/localealias.c: Likewise for read_alias_file. + * io/fts.c: Likewise for fts_alloc, fts_build, fts_lfree, + fts_maxarglen, fts_padjust, fts_palloc, fts_sort, and fts_stat. + * libio/genops.c: Likewise for save_for_backup. + * malloc/malloc.c (chunk_free, chunk_alloc, chunk_realloc, chunk_align, + main_trim, heap_trim): Likewise. + * malloc/mtrace.c (tr_where): Likewise. + * misc/fstab.c (mnt2fs): Likewise. + * misc/getttyent.c (skip, value): Likewise. + * misc/syslog.c (openlog_internal): Likewise. + * misc/tsearch.c (trecurse, tdestroy_internal): Likewise. + * nss/nsswitch.c (nss_lookup_function, nss_parse_file, nss_getline, + nss_parse_service_list, nss_new_service): Likewise. + * posix/wordexp.c (parse_dollars, parse_backtick, eval_expr): Likewise. + * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise. + * resolv/inet_pton.c (inet_pton4, inet_pton6): Likewise. + * resolv/res_init.c (res_setoptions): Likewise. + * stdio-common/printf_fp.c (group_number): Likewise. + * stdio-common/vfprintf.c (buffered_vfprintf, group_number): Likewise. + * stdlib/fmtmsg.c (internal_addseverity): Likewise. + * sunrpc/auth_des.c (synchronize): Likewise. + * sunrpc/auth_unix.c (marshal_new_auth): Likewise. + * sunrpc/clnt_perr.c (auth_errmsg): Likewise. + * sunrpc/key_call.c (key_call): Likewise. + * sunprc/pmap_rmt.c (getbroadcastnets): Likewise. + * sunrpc/svc_tcp.c (makefd_xprt): Likewise. + * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref, invalidate): + Likewise. + * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out, + set_input_fragment, get_input_bytes): Likewise. + * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path, + phys_pages_info): Likewise. + * sysdeps/unix/sysv/linux/if_index.c (opensock): Likewise. + * sysdeps/unix/sysv/linux/poll.c (__emulate_poll): Likewise. + * sysdeps/unix/sysv/linux/readv.c (__atomic_readv_replacement): + Likewise. + * sysdeps/unix/sysv/linux/readv.c (__atomic_writev_replacement): + Likewise. + * time/strptime.c (strptime_internal): Likewise. + * time/tzfile.c (find_transition, compute_tzname_max): Likewise. + * time/tzset.c (compute_change, tz_compute, tzset_internal): Likewise. - * manual/sysinfo.texi: Document fstab and mtab handling functions. - * manual/llio.texi: Document more LFS functions and start documenting - the AIO functions. + * libc.map: Remove _libio_using_thunks, add _fp_hw and _dl_addr. -1998-06-03 03:09 Geoff Keating <geoffk@ozemail.com.au> + * ctype/ctype.h: Pretty print. + * grp/grp.h: Likewise. + * include/libc-symbols.h: Likewise. + * include/limits.h: Likewise. + * include/values.h: Likewise. + * io/fcntl.h: Likewise. + * io/sys/stat.h: Likewise. + * libio/stdio.h: Likewise. + * malloc/malloc.h: Likewise. + * misc/err.h: Likewise. + * misc/regexp.h: Likewise. + * misc/sys/cdefs.h: Likewise. + * misc/sys/file.h: Likewise. + * posix/sys/utsname.h: Likewise. + * posix/sys/wait.h: Likewise. + * pwd/pwd.h: Likewise. + * resolv/netdb.h: Likewise. + * signal/signal.h: Likewise. + * stdlib/stdlib.h: Likewise. + * string/endian.h: Likewise. + * string/memory.h: Likewise. + * sysdeps/mach/hurd/bits/fcntl.h: Likewise. + * sysdeps/mach/hurd/sys/param.h: Likewise. + * sysdeps/unix/sysv/linux/sys/param.h: Likewise. + * termios/termios.h: Likewise. + * wcsmbs/wchar.h: Likewise. + * wctype/wctype.h: Likewise. + + * sysdeps/unix/bsd/bsd4.4/wait3.c: Use __WAIT_STATUS in definition. + + Implement Large File Support API. + * include/features.h: Add suuport for _LARGEFILE_SOURCE, + _LARGEFILE64_SOURCE, and _FILE_OFFSET_BITS. + * libc.map: Add new functions for LFS. + * dirent/Makefile (routines): Add readdir64 and readdir64_r. + * dirent/dirent.h: Update readdir prototype for LFS and add new + prototypes for above functions. + * io/Makefile (routines): Add xstat64, fxstat64, lxstat64, + statfs64, fstatfs64, lstat64, open64, lseek64, creat64, and ftw64. + * io/creat64.c: New file. + * io/fstat64.c: New file. + * io/lstat64.c: New file. + * io/stat64.c: New file. + * io/ftw64.c: New file. + * io/ftw.c: Rewrite to allow easy definition of ftw64. + * io/ftw.h: Add LFS interface. + * io/fcntl.h: Likewise. + * io/sys/stat.h: Likewise. + * io/sys/statfs.h: Likewise. + * libio/Makefile (routines): Add iofgetpos64, iofopen64, iofsetpos64, + freopen64, fseeko64, and ftello64. + * libcio/fseeko64.c: New file. + * libio/ftello64.c: New file. + * libio/iofgetpos64.c: New file. + * libio/iofopen64.c: New file. + * libio/iofsetpos64.c: New file. + * libio/fileops.c (_IO_file_fopen): Change to use _IO_off64_t. + (_IO_file_attach): Likewise. + (_IO_do_write): Likewise. + (_IO_file_sync): Likewise. + (_IO_file_seek): Likewise. + (_IO_file_seekoff): Likewise. Use _G_stat64. + (_IO_file_fopen64): New function. + (_IO_file_jumps): Initialize showmanyc and imbue. + * libio/genops.c (_IO_default_seekpos): Change to use _IO_fpos64_t. + (_IO_default_seekoff): Likewise. + (_IO_default_seek): Likewise. + (_IO_default_showmanyc, _IO_default_imbue): New functions. + * libio/iofopncook.c (_IO_cookie_seek): Change to use _IO_off64_t. + * libio/iolibio.h: Add prototypes for LFS functions. + * libio/ioseekoff.c: Change to use _IO_fpos64_t. + * libio/ioseekpos.c: Likewise. + * libio/libio.h: Define _IO_fpos64_t and _IO_off64_t. + (_IO_FILE): Move _offset field to end and change type to _IO_off64_t. + (_IO_seekoff, _IO_seekpos): Change prototype. + * libio/libioP.h (_IO_seekoff_t, _IO_seekpos_t, _IO_seek_t): Change + to use _IO_off64_t. + Change prototypes for function from the *ops.c files. + * libio/stdio.h: Add LFS interface definition. + * libio/strops.c (_IO_str_seekoff): Change to use _IO_fpos64_t. + * posix/Makefile (routines): Add pread64 and pwrite64. + * posix/confstr.c: Handle _CS_LFS* requests. + * posix/getconf.c: Handle LFS* requests. + * sysdeps/generic/confname.h: Add _CS_LFS* constants. + * posix/unistd.h: Document _LFS64_LARGEFILE and _LFS64_STDIO. + Define off_t and off64_t appropriately. Change prototypes of + LFS functions. + * posix/sys/types.h: Add LFS types. + * resources/Makefile (routines): Add getrlimit64 and setlimit64. + * resource/sys/resource.h: Change prototypes of LFS functions. + * stdio-common/Makefile (routines): Add tmpfile64. + * stdio-common/tmpfile64.c: New file. + * sysdeps/generic/_G_config.h: Define _G_fpos64_t and _G_off64_t. + Define _G_OPEN64, _G_LSEEK64, _G_FSTAT64. + * sysdeps/unix/sysv/linux/_G_config.h: Likewise. + * sysdeps/generic/bits/resource.h: Add LFS definitions. + * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise. + * sysdeps/unix/sysv/linux/bits/resource.h: Likewise. + * sysdeps/generic/statfs.h: Use __fsblkcnt_t for some of the fields. + * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise. + * sysdeps/generic/types.h: Define LFS types. + * 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. + * sysdeps/generic/sys/mman.h: Add LFS definitions. + * sysdeps/unix/sysv/linux/sys/mman.h: Likewise. + * sysdeps/generic/mach/hurd/bits/fcntl.h: Add flock LFS extensions. + * sysdeps/unix/bsd/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. + * sysdeps/generic/mach/hurd/bits/stat.h: Add stat LFS extensions. + * sysdeps/unix/bsd/bits/stat.h: Likewise. + * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. + * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise. + * sysdeps/posix/open64.c: New file. + * sysdeps/stub/fstatfs64.c: New file. + * sysdeps/stub/fxstat64.c: New file. + * sysdeps/stub/getrlimit64.c: New file. + * sysdeps/stub/lseek64.c: New file. + * sysdeps/stub/lxstat64.c: New file. + * sysdeps/stub/open64.c: New file. + * sysdeps/stub/pread64.c: New file. + * sysdeps/stub/pwrite64.c: New file. + * sysdeps/stub/readdir64.c: New file. + * sysdeps/stub/readdir64_r.c: New file. + * sysdeps/stub/setrlimit64.c: New file. + * sysdeps/stub/statfs64.c: New file. + * sysdeps/stub/xstat64.c: New file. + * sysdeps/unix/sysv/linux/llseek.c: Define as __llseek and make + llseek and lseek64 weak aliases. + * sysdeps/unix/sysv/linux/lseek64.c: New file. Empty. + * sysdeps/unix/sysv/linux/alpha/bits/dirent.h: New file. + * sysdeps/unix/sysv/linux/bits/dirent.h: Add LFS definitions. + + * sysdeps/posix/tempname.c: Add extra argument to trigger use of + open64. + * sysdeps/stub/tempname.c: Likewise. + * stdio-common/tempnam.c: Call __stdio_gen_tempname with extra + argument. + * stdio-common/tmpfile.c: Likewise. + * stdio-common/tmpnam.c: Likewise. + * stdio-common/tmpnam_r.c: Likewise. - * 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. + * libio/libioP.h: Add definition of showmanyc and imbue callbacks. + * libio/fileops.c (_IO_file_jumps): Initialize showmanyc and imbue. + * libio/iofopncook.c (_IO_cookie_jumps): Likewise. + * libio/iopopen.c (_IO_proc_jumps): Likewise. + * libio/memstream.c (_IO_mem_jumps): Likewise. + * libio/obprintf.c (_IO_obstack_jumps): Likewise. + * libio/vsnprintf.c (_IO_strn_jumps): Likewise. + * libio/strops.c (_IO_str_jumps): Likewise. -1998-06-03 03:09 Geoff Keating <geoffk@ozemail.com.au> + * manual/arith.texi: Add a few words why cabs should be used. + * manual/llio.texi: Describe sync, fsync, fdatasync. + Tell about cleanup handlers & fcntl,lseek,write,read,close,open. + * manual/process.texi: Tell about cleanup handlers & system,waitpid, + wait. + * manual/signal.texi: Likewise for pause. + * manual/terminal.texi: Likewise for tcdrain. + * manual/time.texi: Document nanosleep. - * 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. + * posix/exevp.c: Don't use nested function. -1998-06-04 13:19 Geoff Keating <geoffk@ozemail.com.au> + * stdlib/ucontext.h: New file. + * sysdeps/i386/sys/ucontext.h: New file. SysV/i386 API definitions. - * 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. + * sunrpc/xcrypt.c (hexval): Make a macro for efficiency. -1998-06-10 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/i386/setjmp.h: Make `here` label local. - * iconv/gconv_builtin.h: Add aliases for CORBA. - * iconvdata/gconv-modules: Likewise. + * sysdeps/i386/elf/start.S: Define _fp_hw "variable". -1998-06-10 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/stub/fstatfs.c: Correct warning. + * sysdeps/stub/fxstat.c: Likewise. + * sysdeps/stub/lxstat.c: Likewise. - * math/libm-test.c (main): Call exp10_test. - (exp10_test): New function which tests exp10. + * sysdeps/unix/sysv/i386/i686/time.S: New file. -1998-06-10 Ulrich Drepper <drepper@cygnus.com> +1997-10-03 20:56 Jason Merrill <jason@yorick.cygnus.com> - * sysdeps/unix/sysv/linux/syscalls.list: Add sigaltstack and - sigstack. + * malloc/obstack.h (obstack_empty_p): New macro. - * 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. +1997-10-04 17:41 Philip Blundell <Philip.Blundell@pobox.com> -1998-06-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * inet/getnameinfo.c (getnameinfo): Remove spurious `#if INET6'. - * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address - in the variable, not its GOT slot. +1997-09-30 Zack Weinberg <zack@rabi.phys.columbia.edu> -1998-06-10 10:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * maint.texi: Add copyright terms for libdb (Sleepycat, Harvard). + Document new --with-binutils switch; delete reference to + --with-gnu-as, --with-gnu-ld, --with-gnu-binutils. + Add to description of --without-fp: a kernel FPU emulator + is adequate (from FAQ). + * INSTALL: Regenerated. - * 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. +1997-09-30 17:29 Richard Henderson <rth@cygnus.com> - * 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/sparc/sparc32/dl-machine.h (elf_machine_rela): Move + _dl_hwcap declaration to ... + (elf_machine_fixup_plt): ... here. - * 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. +1997-09-30 18:03 Ulrich Drepper <drepper@cygnus.com> -1998-06-09 18:16 Ulrich Drepper <drepper@cygnus.com> + * Makerules: Undo last change. + * csu/Makefile: Define before-compile at the right place. - * 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. + * aclocal.m4: Remove a.out file created by assembler test. - * libc.map: Add __libc_stack_end. + * set-init.c: Find set-hooks.h using <...>. - * db2/Makefile (routines): Add lock_region. - * db2/config.h: Update from db-2.4.14. + Update to db 2.3.10. + * db2/Makefile: Update. * 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. @@ -2926,9624 +1887,12694 @@ * 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/os/db_os_dir.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. - -1998-05-30 Philip Blundell <Philip.Blundell@pobox.com> - - * 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 - implementation. - -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. + * elf/link.h: Define struct libname_list outside struct link_map + to not confuse C++ compilers. + + * include/features.h: Recognize _XOPEN_SOURCE == 500 and set + __USE_UNIX98. + * manual/creature.texi: Explain this. + + * libc.map: Add new functions. + + * libio/Makefile (routines): Add fseeko and ftello. + * libio/ftello.c: New file. + * libio/fseeko.c: New file. + * libio/stdio.h: Add prototypes for new functions. + * manual/stdio.texi: Document fseeko and ftello. + + * posix/Makefile (routines): Add pread and pwrite. + * sysdeps/posix/pread.c: New file. + * sysdeps/posix/pwrite.c: New file. + * sysdeps/stub/pread.c: New file. + * sysdeps/stub/pwrite.c: New file. + * posix/unistd.h: Add prototypes for pread and pwrite. + Pretty print header. + Define gid_t, uid_t, off_t, pid_t if __USE_UNIX98. + Declare ctermid and cuserid if __USE_UNIX98. + (swab): Change to take void * arguments. + * string/swab.c: Change parameter to void *. + * posix/sys/types: Define gid_t, uid_t, off_t, pid_t only if not + already happened. + * manual/llio.texi: Document pread and pwrite. + + * string/strings.h: Don't simply include string.h. Define BSD + functions according to Unix98. + * stdlib/tst-strtol.c: Include <string.h> not <strings.h>. + * sunrpc/clnt_simp.c: Likewise. -1998-05-25 Gordon Matzigkeit <gord@profitpress.com> + * malloc/Makefile (aux): Add set-freeres. + * malloc/mtrace.c: Define function release_libc_mem which calls the + __libc_subfreeres handler. + (mtrace): Register release_libc_mem. + * malloc/set-freeres.c: New file. - * sysdeps/mach/hurd/Makefile: Use the `before-compile' target in - order to build header files, not `generated'. + * intl/dcgettext.c: Define free_mem function and add to + __libc_subfreeres list. + * intl/finddomain.c: Likewise. + * intl/gettextP.h (struct loaded_domain): Add new fields use_mmap + and mmap_size. Add prototype for _nl_unloaded_domain. + * intl/loadmsgcat.c: Define new function _nl_unload_domain. + (_nl_load_domain): Store informaiton about mmap use and file size. + * intl/localealias.c (read_alias_file): Optimize locale alias file + reading by avoid frequent mallocs. + Define free_mem function and add to __libc_subfreeres list. + + * locale/localeinfo.h: Make a difference between MAX_USAGE_COUNT and + undeletable. + Add prototype for _nl_unload_locale. + * locale/C-collate: Mark data as undeletable by using UNDELETABLE. + * locale/C-ctype: Likewise. + * locale/C-messages: Likewise. + * locale/C-monetary: Likewise. + * locale/C-numeric: Likewise. + * locale/C-time: Likewise. + * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Handle + MAX_USAGE_COUNT and UNDELETABLE. + (free_mem): New function. Add it to __libc_subfreeres list. + * locale/loadlocale.c: Define _nl_unload_locale function. + + * misc/hsearch.c: Register hdestroy in __libc_subfreeres list. + + * stdlib/fmtmsg.c (addseverity): Handle illegal severity arguments + correctly. + Define free_mem function and add to __libc_subfreeres list. - * Rules (before-compile): New target which depends on all - $(before-compile) files. + * locale/programs/localedef.c (options): Short form of verbose is v. + Reported by Andreas Jaeger. -1998-06-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * misc/sys/select.h: Define pselect only is __USE_POSIX since this + header is used in some others as well for historical reasons. - * nis/nis_call.c: Make directory search faster. + * resolv/resolv.h: Include <netinet/in.h> to make self-contained. - * nis/nis_callback.c: Insert public key of user in callback data. + * string/bits/string2.h: Add missing braces and optimize strcmp a + bit more. + * sysdeps/i386/i486/bits/string.h: Likewise. - * nis/nis_clone_obj.c: Make size from type u_long, not u_int. + * sunrpc/rpc/auth_des.h: Include rpc/auth.h to be self-contained. + Pretty print. - * nis/nis_creategroup.c: Check for NULL pointer, fill in more fields. + * sysdeps/mach/hurd/cthreads.c: Add copyright text. - * nis/nis_findserv.c: Rename __pmap_getport to __pmap_getnisport. + * sysdeps/unix/sysv/linux/syscalls.list: Correct prctl entry. - * nis/nis_intern.h: Remove duplicated prototype. + * sysdeps/unix/sysv/linux/sys/mman.h: Get definition of size_t. -1998-06-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * time/time.h: Pretty print. - * sunrpc/auth_des.c: Move prototypes from here ... - * sunrpc/rpc/auth.h: ... to here. +1997-09-29 Paul Eggert <eggert@twinsun.com> - * sunrpc/clnt_tcp.c: Add more control flags. - * sunrpc/clnt_udp.c: Likewise. + * time/strftime.c: Synchronize with GNU Emacs strftime.c. + (HAVE_MEMCPY): Define if emacs is defined and HAVE_BCOPY isn't. + (gmtime_r, localtime_r): Undef before defining. + (iso_week_days): Use __inline__, not inline. - * sunrpc/netname.c (host2netname): Remove prefixing dot from - domainname. +1997-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sunrpc/rpc/clnt.h: Document, which control flags are not - implementable. + * sysdeps/m68k/fpu/bits/mathinline.h: Rename exp2{,l,f} to + __ieee754_exp2{,l,f}. + * sysdeps/m68k/fpu/s_exp2.c: Likewise. + * sysdeps/m68k/fpu/s_exp2l.c: Likewise. + * sysdeps/m68k/fpu/s_exp2f.c: Likewise. - * sunrpc/svcauth_des.c: Use key_decryptsession_pk to avoid deadlock. +1997-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-05-29 Ulrich Drepper <drepper@cygnus.com> + * elf/soinit.c (__EH_FRAME_BEGIN__): Don't make the .eh_frame + section read-only, it contains relocations. + * elf/sofini.c (__FRAME_END__): Likewise. - * locale/loadlocale.c (_nl_load_locale): Don't allow too small - files crash the program. +1997-09-29 03:08 Ulrich Drepper <drepper@cygnus.com> - * 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>. + * sysdeps/i386/i486/bits/string.h [__PIC__] (__strspn_cg, __strcspn_cg, + __strpbrk_cg, __strstr_cg): Optimize even more. No spill register + needed. Patch by NIIBE Yutaka <gniibe@mri.co.jp>. -1998-05-28 00:53 Zack Weinberg <zack@rabi.phys.columbia.edu> +1997-09-28 08:27 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - * 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). + * nis/nis_call.c (__do_niscall2): Fix return code, add missing + break in switch case. - * 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. + * nis/nis_mkdir.c: Fix return codes to match Solaris version. + * nis/nis_rmdir.c: Likewise. -1998-05-28 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * nis/rpcsvc/yp_prot.h: Rename struct keydat to struct keydat_t + for C++. - * resolv/res_send.c: Security fixes from bind 4.9.7-REL. +1997-09-28 04:32 Ulrich Drepper <drepper@cygnus.com> - * resolv/gethnamaddr.c: Likewise. + * configure.in: Fix typo. + Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>. - * resolv/res_comp.c: Likewise. +1997-09-25 20:14 Philip Blundell <Philip.Blundell@pobox.com> -1998-05-28 Mark Kettenis <kettenis@phys.uva.nl> + * sysdeps/unix/sysv/linux/scsi/sg.h: New file. + * sysdeps/unix/sysv/linux/Makefile: Install <scsi/sg.h>. - * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition - so that transparent union works. +1997-09-27 01:14 Ulrich Drepper <drepper@cygnus.com> -1998-05-29 08:58 Ulrich Drepper <drepper@cygnus.com> + * Makeconfig (extra-objs): Depend in before-compile. - * manual/texinfo.tex: Update to last available version. + * configure.in: Locate Perl and substitute with complete path. + * config.make.in: Add PERL for substitution. + * elf/Makefile (routines): Add dl-addr. + * elf/dladdr.c: Move the real code into ... + * elf/dl-addr.c: New file. + * elf/link.h: Add prototype for _dl_addr. - * 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. + * elf/dladdr.c (dladdr): Change address argument to be const. + * elf/dlfcn.h: Likewise. -1998-05-27 Ulrich Drepper <drepper@cygnus.com> + * locale/C_name.c: Add _nl_POSIX_name. + * locale/localeinfo.h: Add declaration of _nl_POSIX_name. + * locale/findlocale.c (_nl_find_locale): Use _nl_POSIX_name. + (_nl_remove_locale): Free name of data set. + * locale/setlocale.c (clever_copy): Remove. + (new_composite_name): Use _nl_C_name and _nl_POSIX_name in compare. + (setname): Only remove old name when it is for category LC_ALL. + + Change malloc, free, realloc, and memalign hooks for glibc to take + another parameter indicating the location of the caller. + * malloc/malloc.c: Change hook functions and variables. + * malloc/malloc.h: Likewise. + * malloc/mcheck.c: Likewise. Make sure later hooked function also + get the original caller address. + * malloc/mtrace.c: Likewise. + (tr_where): If no information in _mtrace_file is given use the + information about the caller. + * malloc/Makefile (distribute): Replace mtrace.awk by mtrace.pl. + Add rules to install mtrace.pl after rewriting. + * malloc/mtrace.pl: New file. Based on the old AWK script but + with extended functionality. + * malloc/mtrace.awk: Removed. - * sysdeps/unix/sysv/linux/i386/chown.c: Fix comment. - Reported by Matt McLean <keys@brio.yikes.com>. + * po/fr.po: New version. -1998-05-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * string/Makefile: Do use builtins for tester.c and inl-tester.c. + * string/tester.c: Rewrite. Split in many small functions to not + exceed gcc's limits. - * catgets/Makefile ($(objpfx)de.cat): Renamed from - do-gencat-test. Use automatic variables. - ($(objpfx)de.msg): Fix reference to po file. + * sysdeps/unix/sysv/linux/syscalls.list: Add prctl. -1998-05-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-09-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use - $(move-if-change). + * string/bits/string2.h (__stpcpy_small): Don't use casts as + lvalues. -1998-05-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-09-26 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * intl/dcgettext.c: Fix typo. + * manual/time.texi (Formatting Date and Time): Clarify + explanation of strftime flags a bit. + Suggested by Robert Bihlmeyer <robbe@orcus.priv.at>. -1998-05-25 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-09-25 00:13 David S. Miller <davem@tanya.rutgers.edu> - * configure.in: Allow more make versions e.g 3.76.90. + * sysdeps/libm-ieee754/s_exp2f.c: Protect _GNU_SOURCE definition. + Fix typo, it is FLT_MANT_DIG. -1998-05-25 Ulrich Drepper <drepper@cygnus.com> +1997-09-24 18:52 H.J. Lu <hjl@gnu.ai.mit.edu> - * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir). + * math/atest-exp2.c: Include <stdlib/gmp.h> instead of <gmp.h>. - * malloc/thread-m.h: Use __mutex_init function in mutex_init macro - for Hurd. Patch by Mark Kettenis. +1997-08-27 08:10 H.J. Lu <hjl@gnu.ai.mit.edu> -1998-04-18 Gordon Matzigkeit <gord@profitpress.com> + * libio/libio.h, libio/libioP.h: Support libio in libstdc++. - * mach/Machrules (+preinit, +postinit): Define these variables to - empty because libhurduser and libmachuser don't need startup - files. + * libio/libio.h (_IO_peekc): Defined as _IO_peekc_unlocked if + _IO_MTSAFE_IO is undefined. -1998-04-22 Gordon Matzigkeit <gord@profitpress.com> +1997-09-24 23:27 Richard Henderson <rth@cygnus.com> - * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code - instead of a raw bitmask. + * elf/dl-runtime.c (fixup): Don't go through elf_machine_relplt, but + lookup the value of the target symbol ourselves and call the new + elf_machine_fixup_plt. This kills the ELF_FIXUP_RETURN_VALUE hack. + (profile_fixup): Likewise, but don't fix up the plt. + * elf/rtld.c (_dl_main): ELF_MACHINE_RELOC_NOPLT renamed _JMP_SLOT. + * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RELOC_NOPLT): Renamed. + (elf_alpha_fix_plt): Renamed elf_machine_fixup_plt. + * sysdeps/i386/dl-machine.h (elf_machine_relplt): Killed. + (ELF_MACHINE_JMP_SLOT): Renamed. + (elf_machine_fixup_plt): New function. + * sysdeps/m68k/dl-machine.h: Likewise. + * sysdeps/powerpc/dl-machine.h: Likewise. + (elf_machine_rela): Moved JMP_SLOT fixup out to elf_machine_fixup_plt. + * sysdeps/sparc/sparc32/dl-machine.h: Likewise. + * sysdeps/sparc/sparc64/dl-machine.h: Likewise. + * sysdeps/stub/dl-machine.h: Update, sorta. -1998-05-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Do profiling. + (TRAMPOLINE_TEMPLATE): From the carcas of _RUNTIME_TRAMPOLINE, do + both normal and profile code. + (elf_machine_rela): Handle r_addend for .got and .plt too. - * 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. +1997-09-25 00:23 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). + * elf/dl-profile.c: Correct implementation. - * elf/Makefile: Remove all references to obsolete file - $(objpfx)rtldtbl.h. - ($(objpfx)trusted-dirs.h): Use stamp file. Cleanup command. + * io/ftwtest-sh: Don't depend on TMPDIR == /tmp. -1998-05-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * locale/setlocale.c: Rewrite a bit for more clarity. - * elf/dl-close.c (_dl_close): Add debugging message. + * math/Makefile (libm-calls): Add w_exp2. + * math/math_private.h: Add prototypes for __ieee754_exp2{,f,l}. + * sysdeps/libm-i387/s_exp2.S: Change name to __ieee754_exp2. + * sysdeps/libm-i387/s_exp2f.S: Likewise. + * sysdeps/libm-i387/s_exp2l.S: Likewise. + * sysdeps/libm-ieee754/k_standard.c: Add error cases for exp2. -1998-05-25 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * string/bits/string2.h (__strcpy_small): Optimize. + (__stpcpy_small): Likewise. + (strncpy): Use variable for dest argument since it's used more than + once. + (strncat): Likewise. + (strcmp): Add optimization for this function. + * sysdeps/i386/i486/string.h (strlen): Correctly use __builtin_strlen. + (__strcpy_small): Optimize. + (__stpcpy_small): Likewise. + (__stpcpy_c): Correctly use __mempcpy_* macros. + (__mempcpy_by2, __mempcpy_by4, __mempcpy_byn): Return pointer to + byte following last copied. + (strncat): Use variable for dest argument since it's used more than + once. + (strcmp): Add optimization for this function. - * csu/Makefile ($(objpfx)version-info.h): Correct sed expression - to get Linux version and not gcc version. - Reported by Alan Curry <pacman@cqc.com>. + * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use + .text and .previous to select correct section. -1998-05-25 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-09-23 19:56 Philip Blundell <Philip.Blundell@pobox.com> - * sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL - pointers - return unknown error message instead. - Reported by Alan Curry <pacman@cqc.com>. + * configure.in: Add `--disable-versioning' option to suppress the + use of symbol versions even if binutils claims to support it. -1998-05-24 Mark Kettenis <kettenis@phys.uva.nl> +1997-09-24 20:10 Philip Blundell <Philip.Blundell@pobox.com> - * iconvdata/Makefile (modules, sed-generated-headers, - perl-generated-headers): ibm424.h is perl generated. Make - necessary modifications to compile without perl. + * csu/Makefile (before-compile): Don't try to build abi-tags.h if + not using ELF. -1998-05-24 Mark Kettenis <kettenis@phys.uva.nl> +1997-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * hesiod/hesiod.c (read_config_file): Fix typo. + * elf/sofini.c [HAVE_DWARF2_UNWIND_INFO]: Supply termination for + the frame unwind info section. -1998-05-24 Ulrich Drepper <drepper@cygnus.com> + * elf/soinit.c [HAVE_DWARF2_UNWIND_INFO]: Register and unregister + the frame unwind info. - * version.h: Bump VERSION. + * config.h.in (HAVE_DWARF2_UNWIND_INFO): Add #undef. - * csu/Makefile (distribute): Add munch-tmpl.c. + * configure.in: Check whether gcc supports DWARF2 unwind info. -1998-05-23 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * libc.map: Export frame handling tables. - * nis/nis_defaults.c: Fix buffer problems and typos. +1997-09-10 06:56 Geoff Keating <geoffk@ozemail.com.au> -1998-05-23 08:42 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/powerpc/bits/kernel_termios.h: + Use the size of the kernel's termios structure for ioctls. - * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined. - Patch by Fred Fish. + * sysdeps/powerpc/dl-machine.h: Prepare for library profiling. -1998-05-22 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/powerpc/bits/mathinline.h: Add slightly slower versions + of the C9X FP comparison macros. Delete 'fabs' and 'sqrt' inline + routines, because gcc has them as internals. - * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer - overwriting bugs. + * sysdeps/powerpc/Makefile (pic-ccflags): Define this instead of + CFLAGS-.os. - * libio/strops.c (_IO_str_underflow): Read newly available - character from buffer as unsigned. + * sysdeps/powerpc/bzero.S: New file. + * sysdeps/powerpc/strcat.c: New file. + * sysdeps/powerpc/strcpy.S: New file. + * sysdeps/powerpc/stpcpy.S: New file. -1998-05-22 10:56 Ulrich Drepper <drepper@cygnus.com> + * math/Makefile: Add atest_exp2, test-reduce. + * math/atest_exp2.c: New file. + * math/test-reduce.c: New file. + * sysdeps/libm-ieee754/Dist: New file. + * sysdeps/libm-ieee754/s_exp2.c: New file. + * sysdeps/libm-ieee754/s_exp2f.c: New file. + * sysdeps/libm-ieee754/t_exp2.h: New file. + * sysdeps/libm-ieee754/t_exp2f.h: New file. + * math/libm-test.c (exp2_test): Add some more tests. - * 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. + * Rules: Use empty.os instead of empty.o, since it gets linked into + libc.so... + * configure.in: Add --disable-static to disable building .a files. + * config.make.in: Substitute the new variable. + * Makeconfig: Don't build .o files if not building .a files. -1998-05-22 Ulrich Drepper <drepper@cygnus.com> + * elf/dl-runtime.c (fixup): Factor out call to elf_machine_relplt. + (profile_fixup): Likewise. - * catgets/open_catalog.c (__open_catalog): Use byteswap.h - functions. Optimize filename creation a bit. +1997-09-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-05-22 09:29 Ulrich Drepper <drepper@cygnus.com> + * posix/globtest.c (main): Change to directory passed as first + argument. - * stdlib/random_r.c: Help gcc to optimize the code. - Patch by Joe Keane <jgk@jgk.org>. + * posix/globtest.sh: Don't cd before running the program, instead + pass testdir as argument, so that $common_objpfx remains valid. -1998-05-21 Ulrich Drepper <drepper@cygnus.com> +1997-09-23 18:01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - * iconv/iconv_prog.c (print_known_names): Use strverscmp in all - tsearch calls. + * nis/nis_call.c (__do_niscall2): Fix multiple Server support. -1998-05-21 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * nis/nis_findserver.c: Save latest working sockaddr_in. - * timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable - it. +1997-09-17 22:07 Zack Weinberg <zack@rabi.phys.columbia.edu> -1998-05-21 15:27 Ulrich Drepper <drepper@cygnus.com> + * configure.in: Automatically determine whether as and ld are the + GNU versions. + (options): --with-gnu-{as,ld,binutils} replaced by + single option --with-binutils=PATH specifying a -B option to gcc. + * aclocal.m4: Two new macros defined, LIBC_PROG_FOO_GNU and + LIBC_PROG_BINUTILS. - * wcsmbs/wcsnrtombs.c: Correct computation of result. - * wcsmbs/wcsrtombs.c: Likewise. + * configure.in: Allow the user to force configuration for + unsupported platforms with an undocumented option. - * wcsmbs/Makefile (tests): Add wcsmbs-tst1.c. - * wcsmbs/wcsmbs-tst1.c: New file. +1997-09-22 16:55 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - * iconv/loop.c (COUNT_CONVERTED): Correct computation. + * sunrpc/get_myaddr.c (get_myaddress): Avoid loopback interfaces, + return loopback address only if there is no other interface. - * locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale - as 1. + * nis/Makefile: Add nis_callback libnsl-routines. - * locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references - weak. + * nis/nis_add.c: Use new __do_niscall* interface. + * nis/nis_cache.c: Likewise. + * nis/nis_checkpoint.c: Likewise. + * nis/nis_lookup.c: Likewise. + * nis/nis_mkdir.c: Likewise. + * nis/nis_modify.c: Likewise. + * nis/nis_ping.c: Likewise. + * nis/nis_remove.c: Likewise. + * nis/nis_rmdir.c: Likewise. + * nis/nis_server.c: Likewise. + * nis/nis_util.c: Likewise. -1998-05-21 Philip Blundell <philb@gnu.org> + * nis/rpcsvc/nis.h: Make C++ safe. - * 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. + * nis/nss_nisplus/nisplus-publickey.c (getsecretkey): Fix use + of variables. -1998-05-21 16:34 Richard Henderson <rth@cygnus.com> + * nis/nis_findserv.c: Make thread safe. - * elf/dl-load.c (_dl_map_object_from_fd): Get file header with - read instead of mmap. + * nis/nis_call.c: Add support for callback, Fix use of variables. + * nis/nis_table.c: Add support for callback, FOLLOW_PATH and + ALL_RESULTS. + * nis/nis_callback.c: New, callback functions. + * nis/nis_intern.h: Add callback declarations. -1998-05-21 8:16 Richard Henderson <rth@cygnus.com> +1997-09-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * string/bits/string2.h: Fix logic in preprocessor directive. + (__strsep_1c, __strsep_g): Don't declare __retval as pointing to + const, to save a cast and a possible warning. -1998-05-21 Ulrich Drepper <drepper@cygnus.com> +1997-09-22 04:12 Ulrich Drepper <drepper@cygnus.com> - * iconvdata/gconv-modules: Add more aliases to please java - environments. + * sysdeps/i386/i486/atomicity.h (exchange_and_add): Really address + memory in xadd not %1. -1998-05-20 Ulrich Drepper <drepper@cygnus.com> +1997-09-21 13:56 Ulrich Drepper <drepper@cygnus.com> - * stdio-common/vfprintf.c (process_arg): Fix typo. + * manual/maint.texi (Supported Configurations): Add SPARC64 to + list of supported platforms. - * iconvdata/TESTS: New tests for EUC-KR. +1997-09-21 03:19 Ulrich Drepper <drepper@cygnus.com> - * iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS. - * iconvdata/testdata/EUC-KR: New file. + * libio/libio.h: More libstdc++ cleanups. Define _IO_USE_DTOA if + _G_HAVE_PRINTF_FP is not defined. + * libio/strops.c: Undo patch of 1997-07-08 02:18. Must find a + different solution for the problem. -1998-05-20 07:26 H.J. Lu <hjl@gnu.org> + * misc/search.h [__USE_GNU]: Define comparison_fn_t. + * stdlib/stdlib.h: Define comparison_fn_t only if __COMPAR_FN_T is + not defined. + Fix typo. Pretty print inline functions. - * math/libm-test.c (hypot_test): Fix a typo. + * sysdeps/i386/i486/string.h (__stpcpy_small): Increment __cp not cp. + Patch by HJ Lu <hjl@gnu.ai.mit.edu>. -1998-05-20 Ulrich Drepper <drepper@cygnus.com> +1997-09-20 16:45 Ulrich Drepper <drepper@cygnus.com> - * stdio-common/vfprintf.c: When precision is specified for %ls or - %S handle it correctly. + * hesiod/hesiod.c (hesiod_init): Use __secure_getenv to get + HES_DOMAIN environment variable. + Suggested by Mark Kettenis <kettenis@phys.uva.nl>. -1998-05-20 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * hesiod/README.hesiod: A bit of information about Hesiod and how + to use it. Written by Mark Kettenis <kettenis@phys.uva.nl>. - * 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 +1997-09-20 05:15 Ulrich Drepper <drepper@cygnus.com> -1998-05-20 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * manual/maint.texi: Update requirement list. - * Makeconfig (rpath-link): Add resolvobjdir. - (resolvobjdir): New variable. - Reported by Peter Breitenlohner <peb@mppmu.mpg.de> [fixes PR libc/633]. + * io/ftw.h: Don't use parameter names from global namespace in + prototypes. -1998-05-20 09:36 Ulrich Drepper <drepper@cygnus.com> + * stdlib/strtol.c: If used outside glibc handle broken systems + which have character classification functions which are not 8-bit + clean gracefully. Patch by Bruno Haible <haible@ilog.fr>. - * elf/dl-close.c: Call shared object terminators at the right time. - Patch by Philippe Troin <phil@fifi.org>. +1997-09-19 21:42 David S. Miller <davem@tanya.rutgers.edu> -1998-05-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: ssize_t is + a long long int. - * Make-dist (+tsrcs): Also add *.map for every member of - $(extra-libs). +1997-09-19 15:12 H.J. Lu <hjl@gnu.ai.mit.edu> - * Makefile (distribute): Don't distribute scripts/printsources and - scripts/=__ify. Distribute FAQ.in. - (rpm/%): Don't pass subdirs to sub-make. + * posix/Makefile (test-srcs): New, set to globtest. - * timezone/Makefile: Protect inclusion of z.* by $(avoid-generated) - instead of $(no_deps). +1997-09-20 00:24 Ulrich Drepper <drepper@cygnus.com> -1998-05-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * manual/filesys.texi: Document ftw, nftw and needed data types. - * sysdeps/generic/setenv.c: Protect against GNU C extension. - (KNOWN_VALUE, STORE_VALUE): Do it right. - (setenv): Remove unused variable. +1997-09-19 12:53 H.J. Lu <hjl@gnu.ai.mit.edu> -1998-05-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/i386/i486/bits/string.h: Fix typo. - * timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE. - (CFLAGS-zdump.c): Add $(tz-cflags). +1997-09-19 14:11 Ulrich Drepper <drepper@cygnus.com> - * timezone/zdump.c (abbr): Use TM_ZONE if defined. Add const to - return type. + * io/ftwtest.c (cb): Print level. + * io/ftwtest-sh: Updated for ftwtest.c change. -1998-05-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * string/argz.h (__argz_next): Cast NULL to char * to satisfy C++ + compilers. + Reported by Mirko Streckenbach <mirko@ramz.ing.tu-bs.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. + * catgets/catgets.c (catopen): Correctly allocate string of nlspath. + Reported by Charles C. Fu <ccwf@klab.caltech.edu>. -1998-05-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-09-18 13:30 Klaus Espenlaub <kespenla@student.informatik.uni-ulm.de> - * Makerules: Install libc.a even if there are no object file. + * sysdeps/i386/init-first.c: Call __getopt_clean_environment with + additional argument. + * sysdeps/mach/hurd/i386/init-first.c: Likewise. + * sysdeps/mach/hurd/mips/init-first.c: Likewise. + * sysdeps/stub/init-first.c: Likewise. -1998-05-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-09-18 03:16 Ulrich Drepper <drepper@cygnus.com> - * Makerules (do-makelib): Don't force creating library from - scratch, which is faster and gets correct behaviour if $(subdirs) - is incomplete. + * manual/search.texi: Document lsearch, lfind, the hsearch and + tsearch functions. -1998-05-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-09-18 00:04 Ulrich Drepper <drepper@cygnus.com> - * Makerules (do-stamp): Make it work when building in source - directory. + * misc/hsearch_r.c (hsearch_r): Only return error for ENTER action + if the table is full and we *really* have to enter a new entry. -1998-05-20 00:10 Ulrich Drepper <drepper@cygnus.com> +1997-09-17 19:44 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. + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Get rid + of hack for handling flush opcode. + Patch by Richard Henderson <rth@cygnus.com>. -1998-05-19 23:08 Ulrich Drepper <drepper@cygnus.com> +1997-09-16 23:48 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. + * libio/fileops.c: Define __set_errno if necessary. + * libio/libioP.h: Don't use __BEGIN_DECLS/__END_DECLS, expand macros. - * 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. +1997-09-16 22:03 Ulrich Drepper <drepper@cygnus.com> -1998-05-19 Ulrich Drepper <drepper@cygnus.com> + * string/Makefile (headers): Instead bits/string2.h. + Reported by David S. Miller <davem@jenolan.rutgers.edu>. - * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx - correctly. Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>. +1997-09-16 13:31 David S. Miller <davem@tanya.rutgers.edu> -1998-05-19 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: New file. - * manual/terminal.texi (I/O Queues): Fix typo. +1997-09-16 17:42 Ulrich Drepper <drepper@cygnus.com> - * manual/stdio.texi (Closing Streams): Fix grammar. + * sysdeps/generic/bits/select.h (__FD_ZERO): Declare __arr variable + as of type __fdset *. + * sysdeps/i386/bits/select.h: Likewise. + Reported by David S. Miller <davem@jenolan.rutgers.edu>. - * manual/arith.texi (Absolute Value): Correct typo. - Patches by Oskar Liljeblad <osk@hem.passagen.se>. [PR libc/630] +1997-09-16 04:32 Ulrich Drepper <drepper@cygnus.com> -1998-05-19 15:58 Ulrich Drepper <drepper@cygnus.com> + * hesiod/hesiod.c: Don't use and define cistrcmp. We have + strcasecmp. + (hesiod_init): Use of HES_DOMAIN need not be protected by + __secure_getenv. + (hesiod_to_bind): Avoid using strcat and extra strlen calls, use + stpcpy. - * 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. + * string/Makefile (noinl-tester-ENV): New variable to make + strerror test pass. + (CFLAGS-noinl-tester): Make sure we test the correct functions. - * locale/setlocale.c: Fix typo. + * sysdeps/stub/atomicity.h: Fix typo. + Zack Weinberg <zack@rabi.phys.columbia.edu> told me this twice. -1998-05-18 Philip Blundell <Philip.Blundell@pobox.com> + * manual/string.texi: Document strnlen and mempcpy. + Tell a bit more about the locale dependence of strcasecmp and + strncasecmp. - * sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove ptrace. + * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace): Change return + value type to long int. + * sysdeps/unix/sysv/linux/ptrace.c: Likewise. Adopt local variable + types. + * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Fix typo. + Patches by David S. Miller <davem@jenolan.rutgers.edu>. - * sysdeps/arm/strlen.S: Support both big and little endian processors. +1997-09-16 02:14 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a - log, not a byte-count. + Implementation of Hesiod NSS module by Mark Kettenis. + * hesiod/Makefile: New file. + * hesiod/hesiod.c: New file. + * hesiod/hesiod.h: New file. + * hesiod/hesiod_p.h: New file. + * hesiod/libnss_hesiod.map: New file. + * hesiod/nss_hesiod/hesiod-grp.c: New file. + * hesiod/nss_hesiod/hesiod-pwd.c: New file. + * hesiod/nss_hesiod/hesiod-service.c: New file. + * sysdeps/unix/inet/Subdirs: Add hesiod. - * sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for - a.out compatibility. + * shlib-versions: Add version number for libnss_hesiod. -1998-05-19 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * libio/iolibio.h: Remove definition of _IO_* macros. + * libio/fileops.c: Define close, fstat, lseek, read, and write as + macros to use __ protected versions. Use those functions instead + of _IO_* functions. + * libio/iopopen.c: Define _IO_close to close. - * 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. + * manual/math.texi: Explain the use of the optimizing inline + functions. + Describe rand_r function and tell about SysV RNGs in introduction. -1998-05-19 12:16 Ulrich Drepper <drepper@cygnus.com> + * resolv/res_send.c (res_send): Use socklen_t type for `fromlen' + variable. - * manual/memory.texi: Add back accidently removed line. + * string/Makefile (tests): Add noinl-tester. + * string/noinl-tester.c: New file. + * string/tester.c: Add more stpcpy tests for constant arguments for + all short lengths. -1998-04-25 Mark Kettenis <kettenis@phys.uva.nl> + * string/string.h: Always declare __bzero. + Describe __NO_STRING_INLINES. + Always include <bits/string.h>. + * string/bits/string2.h: Add warning about direct use. + Change __strcpy_small and __stpcpy_small implementation to use + macros and provide alternative for platforms which cannot do + unaligned stores. + * sysdeps/i386/bits/string.h: Don't define anything is + __NO_STRING_INLINES is defined. + * sysdeps/i386/i486/bits/string.h: Change __strcpy_small and + __stpcpy_small implementation to use macros and provide + alternative for platforms which cannot do unaligned stores. + * sysdeps/alpha/bzero.S: Define bzero as weak alias of __bzero. + * sysdeps/generic/bzero.c: Likewise. + * sysdeps/i386/bzero.c: Likewise. + * sysdeps/i386/i586/bzero.S: Likewise. + * sysdeps/vax/bzero.s: Likewise. - * 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. + * sysdeps/generic/bits/select.h: Don't use ugly casts to access array. + * sysdeps/i386/bits/select.h: Likewise. -1998-05-18 11:38 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/i386/fpu/bits/mathinline.c (__finite): Relax register + constraints a bit. + Don't define and test for _BITS_MATHINLINE_H. Emit warning if used + directly and not through math.h. - * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata - directory. + * sysdeps/i386/i486/atomicity.h: Change return type of compare_and_swap + to char to get better code. Fix typo. + * sysdeps/stub/atomicity.h: Fix typo. -1998-05-16 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * rpm/Makefile: Delete inclusion of version.mk. + * sysdeps/generic/stpcpy.c: #undef stpcpy and __stpcpy. -1998-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * libc.map: Add all libio functions needed libstdc++ with version - 2.0, sort entries. + * string/bits/string2.h: Add prototypes to avoid warning. -1998-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * iconvdata/Makefile (generated): Add *.stmp files. + * string/bits/string2.h (strsep): Fix handling of empty REJECT. + (__strsep_1c): Handle NULL and empty string. + (__strsep_g): Likewise. -1998-05-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-09-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * catgets/Makefile (extra-objs): Set this instead of generated. -1998-05-18 Ulrich Drepper <drepper@cygnus.com> + * md5-crypt/Makefile (extra-objs): Add all object file variants of + onlymd5-entry. - * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset - (the designation sequence is disturbing). +1997-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-05-17 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * sysdeps/generic/sysd-stdio.c (__stdio_read): Fix typo in last + change. - * sunrpc/svc_tcp.c: Add FreeBSD DoS patch. - * sunrpc/xdr_rec.c: Likewise. +1997-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-05-15 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/m68k/m68020/atomicity.h: New file. - * 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. +1997-09-15 05:11 Ulrich Drepper <drepper@cygnus.com> - * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression. - * iconvdata/iso-2022-jp.c: Likewise. - * iconvdata/iso646.c: Likewise. + * posix/Makefile (distribute): Add globtest.c and globtest.sh. + Compile and run globtest if not cross-compiling. + * posix/globtest.c: New file. + * posix/globtest.sh: New file. + * posix/glob.c: Pretty print preprocessor stuff. + (glob_in_dir): If PATTERN is not really a pattern still check + whether it is a real file in the current directory and return + error if not. + Reported by Eugene Mamchits <eugin@ips.ras.ru>. - * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR. + * libio/fileops.c (_IO_file_sync): Acquire lock before doing the work. + * libio/ioseekoff.c (_IO_seekoff): Likewise. + * libio/ioseekpos.c (_IO_seekpos): Likewise. -1998-05-15 Ulrich Drepper <drepper@cygnus.com> +1997-09-13 18:06 Ulrich Drepper <drepper@cygnus.com> - * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly. + * configure.in: Prevent configuration for unsupported platforms. - * sysdeps/generic/setenv.c (setenv): Remove optimization for - overwriting existing values if it fits. +1997-09-13 04:07 Ulrich Drepper <drepper@cygnus.com> -1998-05-15 14:36 Ulrich Drepper <drepper@cygnus.com> + * elf/rtld.c (dl_main): Make sure we always have a file argument by + testing for < 2 arguments after recognizing the options. - * posix/wordexp-test.c: Avoid duplicate messages. +1997-09-12 11:47 Fila Kolodny <fila@ibi.com> - * 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. + * string/bits/string2.h (__strsep_1c): Cast out const from __retval. + (__strsep_g): Likewise. - * 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. +1997-09-11 17:32 Ulrich Drepper <drepper@cygnus.com> -1998-05-15 00:49:11 Zack Weinberg <zack@rabi.phys.columbia.edu> + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_ASYNC. + Patch by David S. Miller <davem@jenolan.rutgers.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. +1997-09-11 04:36 Ulrich Drepper <drepper@cygnus.com> -1998-05-15 01:09 Zack Weinberg <zack@rabi.phys.columbia.edu> + * db2/db_int.h: Define __set_errno if not yet available. + * db2/btree/bt_rec.c: Use __set_errno to set errno value. + * db2/clib/getlong.c: Likewise. + * db2/db185/db185.c: Likewise. + * db2/db185/db185_int.h: Likewise. + * db2/dbm/dbm.c: Likewise. + * db2/lock/lock_deadlock.c: Likewise. + * db2/log/log_archive.c: Likewise. - * 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. + * elf/dl-profile.c: Implement mcount function. + + * gmon/gmon.c: Use __profil not profil because of namespace pollution. + * gmon/mcount.c: Remove BSD kernel code. + Use compare&swap instruction if possible to change state variable. + Optimize frompc folding. + * gmon/sys/gmon.h (struct gmonparam): Change state field to long int. + * sysdeps/i386/i486/atomicity.h: New file. + * sysdeps/stub/atomicity.h: New file. + * sysdeps/mach/hurd/profil.c: Define function as __profil and make + profil weak alias. + * sysdeps/posix/profil.c: Likewise. - * extra-lib.mk: Correct shlib dependencies since libfoo-map - may not be set anymore. + * string/bits/string2.h: New file. + * include/bits/string2.h: New file. + * string/Makefile (routines): Add mempcpy. + (tests): Add inl-tester. + Remove _D__NO_STRING_INLINES from CFLAGS-* variables. + * sysdeps/generic/mempcpy.c: New file. + * sysdeps/generic/memccpy.c: Undef function name to enable definition + as macro. + * sysdeps/generic/memchr.c: Likewise. + * sysdeps/generic/memcmp.c: Likewise. + * sysdeps/generic/memmem.c: Likewise. + * sysdeps/generic/memmove.c: Likewise. + * sysdeps/generic/strcat.c: Likewise. + * sysdeps/generic/strchr.c: Likewise. + * sysdeps/generic/strcmp.c: Likewise. + * sysdeps/generic/strcpy.c: Likewise. + * sysdeps/generic/strcspn.c: Likewise. + * sysdeps/generic/strlen.c: Likewise. + * sysdeps/generic/strncat.c: Likewise. + * sysdeps/generic/strncmp.c: Likewise. + * sysdeps/generic/strncpy.c: Likewise. + * sysdeps/generic/strpbrk.c: Likewise. + * sysdeps/generic/strrchr.c: Likewise. + * sysdeps/generic/strsep.c: Likewise. + * sysdeps/generic/strspn.c: Likewise. + * sysdeps/generic/strstr.c: Likewise. + * sysdeps/generic/strtok.c: Likewise. + * sysdeps/generic/strtok_r.c: Likewise. + * sysdeps/i386/memset.c: Likewise. + * sysdeps/i386/bits/string.h: Correct a few types and constraints. + * sysdeps/i386/i486/bits/string.h: Heavy rewrites and optimizations. + * string/stratcliff.c: Undefine __USE_STRING_INLINES. + * string/tst-strlen.c: Likewise. + * string/string.h: Add prototype for mempcpy. Include bits/string2.h + header always if optimizing. + * intl/dcgettext.c: Don't unconditionally define stpcpy, only if not + yet defined. + * intl/l10nflist.c: Likewise. - * 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. + * string/tester.c: Add copyright and make little cleanups. - * 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. + * inet/test_ifindex.c: Change type of ni variable to unsigned int. -1998-05-15 01:06 Zack Weinberg <zack@rabi.phys.columbia.edu> + * locale/programs/ld-ctype.c (struct locale_ctype_t): Change type + of fields map_collection_max and map_collection_act to size_t. - * 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> + * nss/libnss_files.map: Group entries. - * time/tzfile.c (__tzfile_read): Remove unused variable info. - (__tzfile_compute): Likewise. + * posix/unistd.h: Add prototype for __setpgid and __profil. -1998-05-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/generic/crypt.h: Declare __crypt_r. - * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new - defines from Linux 2.1.102. + * sysdeps/i386/bits/select.h: Fix fatal bugs, use correct casts now. -1998-05-14 23:14 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal, + isless, islessequal, islessgreater, isunordered): Optimize a bit. - * locale/programs/ld-ctype.c: Write correct mb_cur_max value. + * sysdeps/stub/ftruncate.c: Include missing header for prototype. + * sysdeps/stub/getdents.c: Likewise. + * sysdeps/stub/reboot.c: Likewise. + * sysdeps/stub/swapon.c: Likewise. + * sysdeps/stub/syscall.c: Likewise. + * sysdeps/stub/ualarm.c: Likewise. + * sysdeps/stub/usleep.c: Likewise. -1998-05-14 13:25 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/if_index.c: Don't compile or use opensock + if SIOGIFINDEX and SIOGIFNAME are not defined. - * inet/netinet/in.h: Add defines for multicast. - Reported by Jeremy Hall <jhall@UU.NET>. + * sysdeps/unix/sysv/linux/net/if.h: Add IFF_PORTSEL and IFF_AUTOMEDIA + according to recent kernel changes. - * 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 __. +1997-09-10 21:32 Klaus Espenlaub <kespenla@student.informatik.uni-ulm.de> - * 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. + * Makeconfig: Use $(have-initfini) instead of $(elf) to figure out + the installed name of the startup code. + (common-generated): Add version.mk. + * Makefile (distclean-1): Add glibcbug. + * Makerules: Replace -lgcc by $(gnulib). + * catgets/Makefile (generated): Add xmalloc.o. + * csu/Makefile (generated): Replace align.h and end.h by defs.h to + match the generated file. + * manual/Makefile (mostlyclean): Add stub-manual and stamp.o. + (realclean): Changed to remove chapters-incl[12]. + * po/Makefile (realclean): New rule to remove the generated .mo files. + * time/Makefile: Only include zonefile dependencies if $(no_deps) is + not true to avoid make clean failure when directory time doesn't exist + yet. + (generated): Add tzselect. -1998-05-14 10:35 Ulrich Drepper <drepper@cygnus.com> + * stdio/fgets.c (fgets): Add casts to reduce gcc warning noise. + * stdio/internals.c (flushbuf): Likewise. + * stdio/linewrap.c (lwupdate): Likewise. + * stdio/memstream.c (enlarge_buffer): Likewise. + * stdio-common/vfscanf.c (_IO_vfscanf): Likewise. + * time/tzset.c (compute_change): Likewise. + * misc/init-misc.c (__init_misc): Only declare static if HAVE_GNU_LD + is defined. + * sysdeps/posix/pipestream.c (FUNC): Change to generate ANSI C style + functions. + * sysdeps/stub/init-posix.c: Likewise. + * sysdeps/stub/profil.c: Likewise. + * munch-tmpl.c (__libc_init): Convert to ANSI C style declaration to + reduce gcc warning noise. + * stdio/glue.c (_filbuf, _flsbuf): Likewise. + * stdio/obstream.c (grow, seek, input, init_obstream): Likewise. + * stdio/vasprintf.c (enlarge_buffer): Likewise. + * sysdeps/generic/sysd-stdio.c (__stdio_read, __stdio_write, + __stdio_seek, __stdio_close, __stdio_fileno, __stdio_open, + __stdio_reopen): Likewise. + * sysdeps/posix/defs.c (_cleanup): Likewise. + * time/offtime.c (__offtime): Add cast. + + * posix/getopt.c: Don't use text_set_element if not defined. + + * configure.in: Provide a check for underscores before user labels + that works even when the compiler used for building doesn't work + (like when there is no C library). Use the old way if the compiler + works. + +1997-09-10 05:08 David S. Miller <davem@caip.rutgers.edu> + + * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: The TC* ioctls use + 'T' not 't' on SparcLinux. + * sysdeps/unix/sysv/linux/sparc/bits/termios.h: tcflag_t is 32 bits. + + * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add aliases for + _longjmp and siglongjmp. + +1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * libio/stdio.h: Add format attributes to the extra printf and + scanf like functions. + * stdio/stdio.h: Likewise. - * timezone/asia: Update from tzdata1998d. - * timezone/australasia: Likewise. - * timezone/europe: Likewise. +1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-05-13 Ulrich Drepper <drepper@cygnus.com> + * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r): + Print tablename_val, not tablename_len. - * string/string.h: Don't use the optimized versions for the string - functions if optimizing for space. + * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r): + Use sprintf instead of sprintf, the string always fits. + * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r): + Likewise. + * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r): + Likewise. + * nis/nss_nisplus/nisplus-proto.c + (_nss_nisplus_getprotobynumber_r): Likewise. + * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbynumber_r): + Likewise. + * nis/nss_nisplus/nisplus-service.c + (_nss_nisplus_getservbynumber_r): Likewise. - * stdlib/tst-strtod.c: Add test for -0.0. + * nis/nss_nisplus/nisplus-alias.c (_nss_create_tablename): Use + __stpcpy, __stpncpy and __strdup instead of public names. + * nis/nss_nisplus/nisplus-ethers.c (_nss_create_tablename): + Likewise. + * nis/nss_nisplus/nisplus-grp.c (_nss_create_tablename): Likewise. + * nis/nss_nisplus/nisplus-hosts.c (_nss_create_tablename): + Likewise. + * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_parse_netgroup): + Likewise. + * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent): + Likewise. + (_nss_create_tablename): Likewise. + * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent): + Likewise. + (_nss_create_tablename): Likewise. + * nis/nss_nisplus/nisplus-pwd.c (_nss_create_tablename): + Likewise. + * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent): + Likewise. + (_nss_create_tablename): Likewise. + * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent): + Likewise. + (_nss_create_tablename): Likewise. + * nis/nss_nisplus/nisplus-spwd.c (_nss_create_tablename): + Likewise. - * io/ftwtest-sh: Prevent tests from being run by root. + * libc.map: Export __stpcpy and __strdup. - * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in - last addition. Patch by wkpark@chem.skku.ac.kr. +1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-05-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * math/Makefile (CFLAGS-test-float.c, CFLAGS-test-double.c, + CFLAGS-test-ldouble.c): Pass -ffloat-store to avoid excessive + precision. - * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap - table. +1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-05-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * include/rpc/auth_des.h: New file. - * 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. +1997-09-09 Paul Eggert <eggert@twinsun.com> -1998-05-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * time/mktime.c (__mktime_internal): Declare sec_requested even if + !LEAP_SECONDS_POSSIBLE, since it's needed at the end when checking + for time_t overflow. - * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command. Clean up. - (/): Removed. +1997-09-09 22:11 Ulrich Drepper <drepper@cygnus.com> -1998-05-12 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/posix/getcwd.c: Correct test for too small buffer. + Reported by Erik Troan <ewt@redhat.com>. - * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly - formed charset names to getfct. Let user override charset - selection by mention charset in locale name. + * elf/dl-close.c: Include <bits/libc-lock.h>, not <libc-lock.h>. + * elf/dl-open.c: Likewise. -1998-05-12 12:15 Ulrich Drepper <drepper@cygnus.com> +1997-09-07 17:09 Richard Henderson <rth@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/alpha/Makefile: Kill setjmp_aux. + * sysdeps/alpha/bits/setjmp.h: Rewrite in terms of an array. + * sysdeps/alpha/__longjmp.c: Remove. + * sysdeps/alpha/setjmp_aux.c: Remove. + * sysdeps/alpha/__longjmp.S: New file. + * sysdeps/alpha/bsd-_setjmp.S: Stub out. + * sysdeps/alpha/bsd-setjmp.S: Likewise. + * sysdeps/alpha/setjmp.S: Do the work; don't call __setjmp_aux. + Move _setjmp and setjmp from bsd-*.S. -1998-05-12 Ulrich Drepper <drepper@cygnus.com> +1997-09-06 20:20 Ulrich Drepper <drepper@cygnus.com> - * sunrpc/Makefile (generated): Restore old list. + * include/rpc/auth.h: New file. + * include/rpc/auth_unix.h: New file. -1998-05-11 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-09-06 Paul Eggert <eggert@twinsun.com> - * rt/Makefile (tests): Define only if we have a thread library. + Fix gmtime so that it reports leap seconds when TZ + indicates that leap seconds are desired. - * nis/ypclnt.c: Add: #include <errno.h>. + * time/gmtime.c (<stddef.h>): Remove unnecessary include. + (gmtime): Put after gmtime_r, to help the compiler inline. + (__tz_convert): New decl. + (gmtime_r): Use __tz_convert instead of __offtime, + so that leap seconds are handled correctly. -1998-05-10 15:39 Zack Weinberg <zack@rabi.phys.columbia.edu> + * time/localtime.c (<errno.h>, <libc-lock.h>): Remove includes that + are now unnecessary. + (__tzset_internal, __tz_compute, __tzfile_compute, __use_tzfile, + __tzset_lock): Remove extern decls that are now unnecessary. + (localtime_internal): Moved to __tz_convert in tzset.c. + so that localtime and gmtime can both use it easily. + (localtime): Put after localtime_r, to help the compiler inline. + (localtime_r): Use __tz_convert instead of localtime_internal. - * 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. + * time/strftime.c (__tz_compute): Remove unused (and now incorrect) + decl. -1998-05-10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * time/tzfile.c (__tzfile_compute): New arg USE_LOCALTIME. - * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to - yp_get_default_domain. + * time/tzset.c (<errno.h>): Include. + (_tmbuf): New decl. + (__tzfile_compute): New function. + (tz_compute): Renamed from __tz_compute. No longer extern. + Remove redundant call to tzset_internal. + (tzset_internal): Renamed from __tzset_internal. No longer extern. + (tzset_lock): Renamed from __tzset_lock. No longer extern. + (__tz_convert): New function, containing functionality of old + localtime_internal function, plus locking and optional UTC. -1998-05-12 Ulrich Drepper <drepper@cygnus.com> +1997-09-06 Paul Eggert <eggert@twinsun.com> - * sysdeps/posix/profil.c (__profil): Don't define act and timer - variables as static. Patch by Joe Keane <jgk@jgk.org>. + * time/tzfile.c (__tzfile_read): Don't read a file if TZ is the empty + string, just use UTC without leap seconds. This is for compatibility + with the Olson code. -1998-05-12 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> +1997-09-06 Paul Eggert <eggert@twinsun.com> - * malloc/malloc.c: Fix for NO_THREADS case. + * time/tzset.c (__tzname_max): Lock tz data structures before + invoking tzset_internal. -1998-05-11 18:02 Richard Henderson <rth@cygnus.com> + * time/tzfile.c: Define compute_tzname_max statically. - * 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. +1997-09-07 10:57 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> -1998-05-09 Ulrich Drepper <drepper@cygnus.com> + * nis/nis_call.c: Remove not longer necessary HAVE_SECURE_RPC ifdefs. + * nis/nis_intern.h: Likewise. + * nis/nss_nis/nis-publickey.c: Likewise. + * nis/nss_nisplus/nisplus-publickey.c: Likewise. + * nis/ypclnt.c: Likewise. - * libc.map: Add capget and capset. + * sunrpc/auth_des.c: Don't dereference NULL pointer, + initialize ad->ad_timediff. -1998-05-08 Ulrich Drepper <drepper@cygnus.com> + * sunrpc/auth_none.c: Don't define our own prototypes, use the one + from the header files. + * sunrpc/auth_unix.c: Likewise. + * sunrpc/clnt_raw.c: Likewise. + * sunrpc/clnt_tcp.c: Likewise. + * sunrpc/rpc_cmsg.c: Likewise. - * 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. + * sunrpc/key_call.c: Fix signal handling. - * Rules: Unconfuse syntax highlighting with a fake comment. + * sunrpc/openchild.c: Don't use /bin/sh to start /usr/etc/keyenvoy, + or we will get a deadlock with NIS+. -1998-05-08 Ulrich Drepper <drepper@cygnus.com> + * sunrpc/rpc/auth.h: Add prototype for xdr_opaque_auth, don't define + HAVE_SECURE_RPC. - * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget - syscalls. +1997-09-07 15:51 Ulrich Drepper <drepper@cygnus.com> -1998-05-08 16:36 Zack Weinberg <zack@rabi.phys.columbia.edu> + * sysdeps/i386/bits/select.h [__GNUC__] (__FD_ZERO, __FD_SET, __FD_CLR, + __FD_ISSET): Use correct casts to address array correctly. + Reported by urbanw@cs.umu.se. - * 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. +1997-09-07 05:07 Ulrich Drepper <drepper@cygnus.com> -1998-05-08 14:55 Ulrich Drepper <drepper@cygnus.com> + * elf/dl-close.c: Include <bits/libc-lock.h>, not <libc-lock.h>. + * elf/dl-open.c: Likewise. + * sysdeps/i386/memset.c: Undefine memset in case the header with the + optimized functions is included. + Patches by NIIBE Yutaka <gniibe@mri.co.jp>. - * 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-05-08 12:26 Ulrich Drepper <drepper@cygnus.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. - -1998-05-08 10:52 Ulrich Drepper <drepper@cygnus.com> - - * string/bits/string2.h: Don't use unsigned char * unless really - necessary since this disturbs C++. + * sysdeps/i386/bits/string.h [__PIC__] (strcspn, strspn, strpbrk, + strsep): Use register for second parameter. * sysdeps/i386/i486/bits/string.h: Likewise. - Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>. - -1998-05-08 13:53 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * malloc/malloc.c (top_check): Fix last change. - -1998-05-07 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define. - Patch by Matt McLean <keys@brio.yikes.com>. - -1997-05-07 13:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Makerules (lib): Put back dependency on lib-noranlib. - ($(subdirs-stamps)): Remove dependency on stamp.* again. - -1998-05-07 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for - test in __pow2 implementation. - -1998-04-16 07:42 Geoff Keating <geoffk@ozemail.com.au> - - * 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. + Reported by NIIBE Yutaka <gniibe@mri.co.jp>. + +1997-09-03 09:48 Geoff Keating <geoffk@ozemail.com.au> + + * math/libm-test.c: Change various tolerances to match what the + tested routines can actually provide. + + * math/Makefile: Add new tests. + * math/atest-sincos.c: New file. + * math/atest-exp.c: New file. + + * csu/Makefile: Give initfini.s and initfiniS.s their own + CFLAGS-* macros so they can be overridden. + * sysdeps/powerpc/Makefile [subdir=csu]: Override flags for + initfiniS.s to use -fpic instead of -fPIC, because the sed script + breaks otherwise. + + * sysdeps/powerpc/Makefile [build-shared]: Use -fpic not -fPIC for + efficiency. + + * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): + Don't use register 0, to let _mcount be in a shared object. + + * sysdeps/powerpc/dl-machine.h: Use full sentences in comments. + Generally clean up. Suppress some code we don't need when relocating + ld.so. + * sysdeps/powerpc/test-arith.c: Change loop indices to size_t when + appropriate to suppress gcc warning. + * resolv/res_send.c: Suppress warning. + * sunrpc/xdr_sizeof.c: Suppress warning. + + * FAQ: Add ppc-linux. + * manual/maint.texi: Add ppc-linux. Explain that gcc can't build it + yet. + + * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Correct for + current kernels. + +1997-08-15 07:45 Geoff Keating <geoffk@ozemail.com.au> + + * stdlib/fmtmsg.c: Use two parameters for __libc_once_define. + * sysdeps/i386/machine-gmon.h: Correct typo. + + * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Change to match + kernel. + + * sysdeps/generic/dl-sysdep.c: Add hook for bizzare PPC argument hack. + * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Rewrite to use + sysdeps/linux/dl-sysdep.c. + + * sysdeps/powerpc/Makefile [subdir=gmon]: Compile ppc-mcount. + * sysdeps/powerpc/machine-gmon.h: Use ppc-mcount. + * sysdeps/powerpc/ppc-mcount: New file. + + The following are mostly changes to allow profiling: + * sysdeps/powerpc/add_n.S: Added. + * sysdeps/powerpc/add_n.s: Removed. + * sysdeps/powerpc/addmul_1.S: Added. + * sysdeps/powerpc/addmul_1.s: Removed. + * sysdeps/powerpc/bsd-_setjmp.S: Use JUMPTARGET macro. + * sysdeps/powerpc/bsd-setjmp.S: Use JUMPTARGET macro. + * sysdeps/powerpc/lshift.S: Added. + * sysdeps/powerpc/lshift.s: Removed. + * sysdeps/powerpc/memset.S: Added. + * sysdeps/powerpc/memset.s: Removed. + * sysdeps/powerpc/mul_1.S: Added. + * sysdeps/powerpc/mul_1.s: Removed. + * sysdeps/powerpc/rshift.S: Added. + * sysdeps/powerpc/rshift.s: Removed. + * sysdeps/powerpc/s_copysign.S: Use ENTRY, END, weak_alias macros. + * sysdeps/powerpc/s_fabs.S: Use ENTRY, END, weak_alias macros. + * sysdeps/powerpc/setjmp.S: Use JUMPTARGET macro. + * sysdeps/powerpc/strchr.S: Added. + * sysdeps/powerpc/strchr.s: Removed. + * sysdeps/powerpc/strcmp.S: Added. + * sysdeps/powerpc/strcmp.s: Removed. + * sysdeps/powerpc/strlen.S: Added. + * sysdeps/powerpc/strlen.s: Removed. + * sysdeps/powerpc/sub_n.S: Added. + * sysdeps/powerpc/sub_n.s: Removed. + * sysdeps/powerpc/submul_1.S: Added. + * sysdeps/powerpc/submul_1.s: Removed. + * sysdeps/unix/sysv/linux/powerpc/_exit.S: Removed. + * sysdeps/unix/sysv/linux/powerpc/brk.S: Added. + * sysdeps/unix/sysv/linux/powerpc/brk.c: Removed. + * sysdeps/unix/sysv/linux/powerpc/clone.S: Use new macros. Fix + various bugs. Document that it isn't tested. + * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Make look like + sysdeps/unix/_exit.S. + * sysdeps/unix/sysv/linux/powerpc/socket.S: Use new macros. + * sysdeps/unix/sysv/linux/powerpc/syscall.S: Use new macros. + * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Define some new macros + to make assembler (possibly) more portable, allow profiling, etc. + +1997-09-05 03:15 Ulrich Drepper <drepper@cygnus.com> + + * Makefile (subdirs): Reorganize order so that nss follows add-ons. + * config.make.in (LDAP): Add. + * configure.in: Prepare for ldap add-on. + * shlib-versions: Add version numbers for ldap NSS module. + * nss/Makefile: Add rules to build ldap NSS module. + + * db/btree/bt_page.c (__bt_free): Update meta data information. + + Update db from db-2.3.6. + * db2/db.h: Updated. + * db2/btree/bt_close.c: Updated. + * db2/btree/bt_compare.c: Updated. + * db2/btree/bt_conv.c: Updated. + * db2/btree/bt_cursor.c: Updated. + * db2/btree/bt_delete.c: Updated. + * db2/btree/bt_put.c: Updated. + * db2/btree/bt_rec.c: Updated. + * db2/btree/bt_recno.c: Updated. + * db2/btree/bt_search.c: Updated. + * db2/btree/bt_split.c: Updated. + * db2/btree/bt_stat.c: Updated. + * db2/common/db_appinit.c: Updated. + * db2/common/db_apprec.c: Updated. + * db2/common/db_byteorder.c: Updated. + * db2/common/db_err.c: Updated. + * db2/common/db_region.c: Updated. + * db2/db/db.c: Updated. + * db2/db/db_conv.c: Updated. + * db2/db/db_dup.c: Updated. + * db2/db/db_pr.c: Updated. + * db2/db/db_ret.c: Updated. + * db2/db185/db185.c: Updated. + * db2/dbm/dbm.c: Updated. + * db2/hash/hash_dup.c: Updated. + * db2/include/db_am.h: Updated. + * db2/include/db_page.h: Updated. + * db2/include/mp.h: Updated. + * db2/include/queue.h: Updated. + * db2/log/log.c: Updated. + * db2/log/log_findckp.c: Updated. + * db2/log/log_get.c: Updated. + * db2/log/log_rec.c: Updated. + * db2/mp/mp_bh.c: Updated. + * db2/mp/mp_fopen.c: Updated. + * db2/mp/mp_pr.c: Updated. + * db2/mp/mp_sync.c: Updated. + * db2/mutex/x86.gcc: Updated. + * db2/os/db_os_dir.c: Updated. + * db2/os/db_os_fid.c: Updated. + * db2/progs/db_archive/db_archive.c: Updated. + * db2/progs/db_checkpoint/db_checkpoint.c: Updated. + * db2/progs/db_deadlock/db_deadlock.c: Updated. + * db2/progs/db_dump/db_dump.c: Updated. + * db2/progs/db_dump185/db_dump185.c: Updated. + * db2/progs/db_load/db_load.c: Updated. + * db2/progs/db_printlog/db_printlog.c: Updated. + * db2/progs/db_recover/db_recover.c: Updated. + * db2/progs/db_stat/db_stat.c: Updated. + * db2/txn/txn.c: Updated. + * db2/txn/txn_rec.c: Updated. + + * db2/Makefile: Add rule to build db_printlog. + * db2/config.h: Don't include endian.h and don't define + WORDS_BIGENDIAN. Only define HAVE_ENDIAN_H. + + * elf/dl-open.c (_dl_open): Make thread-safe. + * elf/dl-close.c (_dl_close): Likewise. + * elf/dlclose.c: Pretty print. + * elf/dl-version.c (make_string): Use __strdup not strdup. + (find_needed): Don't use l_searchlist of _dl_loaded, use the + l_next list. + * elf/dl-deps.c (_dl_map_object_deps): Remove variable head. + + * manual/math.texi: Add note about == and != for FP values. + * manual/message.texi: Mention problems with relative paths and + binstextdomain. + * manual/string.texi: Mark strdupa and strndupa correctly as macros. + + * sunrpc/Makefile (CFLAGS-xkey_prot.c): Define to prevent warnings. + * sunrpc/rpc_cout.c: Avoid needless races around return value. + + * sysdeps/generic/stpcpy.c: Include <config.h> if wanted. + + Update from tzdata-1997h. + * time/africa: Updated. + * time/europe: Updated. + * time/iso3166.tab: Updated. + * time/northamerica: Updated. + * time/southamerica: Updated. + * time/zone.tab: Updated. + +1997-09-04 13:19 Richard Henderson <rth@cygnus.com> + + * sysdeps/alpha/w_sqrt.S: Removed. + * sysdeps/alpha/fpu/e_sqrt.c: New. Obey -mieee and -mieee-with-inexact + and build a version that is as fast as possible given the constraint. + +1997-08-30 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * manual/maint.texi: Document some defaults for configuration + parameters. -1998-05-07 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-09-04 15:57 Ulrich Drepper <drepper@cygnus.com> - * malloc/malloc.c (top_check): Add void as parameter to silent gcc. + * termios/cfsetspeed.c (cfsetspeed): Change return value to int. + * termios/termios.h: Change prototype accordingly. + Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>. -1998-04-16 07:42 Geoff Keating <geoffk@ozemail.com.au> +1997-07-26 14:42 H.J. Lu <hjl@gnu.ai.mit.edu> - * 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. + * libio/stdfiles.c (_libio_using_thunks): Define if + _G_USING_THUNKS is defined. - * math/libm-test.c: Update many of the epsilon to match actual - performance. + * libio/_G_config.h: Moved to ... + * sysdeps/generic/_G_config.h: ...here. - * 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. + * sysdeps/unix/sysv/linux/_G_config.h: New, + Add vtable thunks support. - * sysdeps/libm-ieee754/e_pow.c: Correct typo. +1997-09-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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/m68k/Makefile (pic-ccflag): Override it for more + efficient code (together with a change in gcc). - * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h - * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete. It was unused. + * Makeconfig (pic-ccflag): New variable. + (CFLAGS-.os): Use it instead of hardcoding -fPIC. - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous - few patches. +1997-09-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-05-06 12:51 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use + _dl_start instead of a local label, to avoid getting an unreadable + label name. - * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for - test for integer. +1997-09-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/libm-i387/e_pow.S: Correctly shift double word. - * sysdeps/libm-i387/e_powl.S: Likewise. + * nss/Makefile ($(objpfx)libnss_db.so): Use $(dbobjdir) to find + libdb.so. -1998-03-31 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> + * Makeconfig (dbobjdir): Use db2. - * 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. +1997-08-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-05-06 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * manual/maint.texi (Porting to Unix): Update description of the + implementation of Unix system calls. + (Contributors): Use real umlaut in tege's name. - * math/libm-test.c (pow_test): Add test for special value from PR - libc/590. +1997-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-05-06 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before - including linux/errno.h. + * sysdeps/libm-ieee754/w_gamma.c: Make compilable with + _IEEE_LIBM. + * sysdeps/libm-ieee754/w_gammaf.c: Likewise. + * sysdeps/libm-ieee754/w_gammal.c: Likewise. -1998-05-06 09:49 Ulrich Drepper <drepper@cygnus.com> +1997-08-29 21:45 Ulrich Drepper <drepper@cygnus.com> + + * sunrpc/auth_des.c: New file. Copied from former secure_rpc add-on. + * sunrpc/authdes_prot.c: New file. Likewise. + * sunrpc/des.h: New file. Likewise. + * sunrpc/des_crypt.c: New file. Likewise. + * sunrpc/des_soft.c: New file. Likewise. + * sunrpc/key_call.c: New file. Likewise. + * sunrpc/key_prot.c: New file. Likewise. + * sunrpc/netname.c: New file. Likewise. + * sunrpc/openchild.c: New file. Likewise. + * sunrpc/rtime.c: New file. Likewise. + * sunrpc/svc_auth.c: New file. Likewise. + * sunrpc/svcauth_des.c: New file. Likewise. + * sunrpc/xcrypt.c: New file. Likewise. + * sunrpc/rpc/auth.h: New file. Likewise. + * sunrpc/rpc/auth_des.h: New file. Likewise. + * sunrpc/rpc/des_crypt.h: New file. Likewise. + * sunrpc/rpc/key_prot.h: New file. Likewise. + * sunrpc/rpcsvc/key_prot.x: New file. Likewise. + * sysdeps/generic/svc_auth.h: Removed. + * sysdeps/generic/rpc/auth.h: Removed. + * sysdeps/generic/rpc/auth_des.h: Removed. + * sysdeps/stub/des_impl.c: New file. Stub version for DES. + * sunrpc/Makefile (rpcsvc): Add keyprot.x. + (headers): Add des_crypt.h and key_prot.h. + (routines): Add auth_des, authdes_prot, des_crypt, des_impl, des_soft, + key_call, key_prot, netname, openchild, rtime, svcauth_des, xcrypt. + (distribute): Add des.h. + + * db2/Makefile: Add all headers and other files to distribute. + (others): Add db_printlog. + + * sysdeps/mach/hurd/Dist: Add net/* headers. + * sysdeps/mach/hurd/mips/Dist: New file. + * sysdeps/powerpc/Dist: Add fe_nomask.c and t_sqrt.c. + * sysdeps/sparc/Dist: Add sys/trap.h. + * sysdeps/sparc/sparc32/Dist: Remove sys/trap.h. + * sysdeps/sparc/sparc32/sparcv8/Dist: New file. + * sysdeps/unix/sysv/linux/mips/Dist: Add sgidefs.h. + * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/trap.h. + * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove sys/trap.h. + + Add previously missing assembler files for PPC. + * sysdeps/powerpc/add_n.s: New file. + * sysdeps/powerpc/addmul_1.s: New file. + * sysdeps/powerpc/lshift.s: New file. + * sysdeps/powerpc/memset.s: New file. + * sysdeps/powerpc/mul_1.s: New file. + * sysdeps/powerpc/rshift.s: New file. + * sysdeps/powerpc/strchr.s: New file. + * sysdeps/powerpc/strcmp.s: New file. + * sysdeps/powerpc/sub_n.s: New file. + * sysdeps/powerpc/submul_1.s: New file. + +1997-08-28 18:42 Thorsten Kukuk <kukuk@uni-paderborn.de> + + * nis/nis_server.c: Rewritten to fix a lot of bugs. + +1997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * md5-crypt/Makefile (LDFLAGS-md5crypt.so, libmd5crypt-map): New + variables. - * 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. +1997-08-29 02:36 Ulrich Drepper <drepper@cygnus.com> -1998-05-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * Makefile (version-info.h): Use ISO form for the date. - * Makerules (elide-routines.*): Fix assignments. - (do-makelib): Fix typo. - ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent - makefile. + * catgets/catgetsinfo.h: Include <bits/libc-lock.h>. + (struct catalog_obj): Add lock field. + (__open_catalog): Remove second parameter from prototype. + * catgets/catgets.c (catopen): Initialize lock field. + (catgets): Don't pass second parameter to __open_catalog. + * catgets/gencat.c: Initialize lock field and don't pass second + parameter to __open_catalog. + * catgets/open_catalog.c (__open_catalog): Decide about use of + path by examining path in struct, not based on extra argument. + Acquire a the lock before trying to load the catalog and release + it before returning. -1998-05-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * csu/Makefile (abi-tag.h): Make sure target directory exists. - * 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. + * io/Makefile (headers): Add bits/poll.h. + * io/sys/poll.h: Remove definitions of POLL* constants. + Include <bits/poll.h>. + * sysdeps/generic/bits/poll.h: New file. + * sysdeps/unix/sysv/linux/bits/poll.h: New file. + * sysdeps/unix/sysv/linux/m68k/bits/poll.h: New file. + * sysdeps/unix/sysv/linux/mips/bits/poll.h: New file. + * sysdeps/unix/sysv/linux/sparc/bits/poll.h: New file. -1998-05-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * libio/fileops.c (_IO_file_read, _IO_file_write): Remove dead code. - * libio/Makefile (routines): Remove duplicate oldiofclose. + * malloc/obstack.c: Add casts to keep very verbose compilers on + 64bit machine quiet. -1998-05-05 Ulrich Drepper <drepper@cygnus.com> + * nss/Makefile (libnss_db.so): Find libdb.so in db2 directory. - * string/strcoll.c: Use uint32_t instead of u_int32_t. +1997-08-28 17:30 Ulrich Drepper <drepper@cygnus.com> -1998-05-05 Ulrich Drepper <drepper@cygnus.com> + * catgets/catgets.c (catopen): Correctly determine length of string + in NLSPATH environment variable. Patch by HJ Lu <hjl@gnu.ai.mit.edu>. - * libio/stdio.h: Fix typo in __REDIRECT. - * io/sys/stat.h: Likewise. - Reported by Myles Uyema <myles@uyema.nws.net>. +1997-08-27 23:19 Richard Henderson <rth@cygnus.com> -1998-05-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/generic/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): Provide + default macro to track down arguments from stack start. + (_dl_sysdep_start): Use it. + * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Truncate to simply + providing a special DL_FIND_ARG_COMPONENTS and including the next + file up the line. - * locale/programs/localedef.c (options): Fix help message. + * sysdeps/powerpc/e_sqrt.c: Move contents to w_sqrt.c and provide stub. + * sysdeps/powerpc/e_sqrtf.c: Likewise. + * sysdeps/powerpc/s_copysignf.S: Provide empty file; symbol is with + the double precision version. + * sysdeps/powerpc/s_fabsf.S: Likewise. + * sysdeps/powerpc/s_isnanf.S: Likewise. -1998-05-04 Ulrich Drepper <drepper@cygnus.com> +1997-08-10 19:17 Philip Blundell <Philip.Blundell@pobox.com> - * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty - relocations. Patch by Joe Keane <jgk@jgk.org>. + * nss/nss_db/db-XXX.c: Include <db_185.h> not <db.h>. Somebody + should update this to use the new db API. + * nss/nss_db/db-netgrp.c: Likewise. + * nss/nss_db/db-alias.c: Likewise. + * db2/Makefile: Makefile for db-2.x in glibc. -1998-05-04 12:40 Ulrich Drepper <drepper@cygnus.com> +1997-08-27 21:20 Ulrich Drepper <drepper@cygnus.com> - * 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. + * csu/Makefile (before-compile): New goal. Make sure abi-tag.h + is generated. + [$(elf)=yes] (asm-CPPFLAGS): Make sure abi-tag.h file can be found. -1998-05-04 Ulrich Drepper <drepper@cygnus.com> + * Makeconfig [$(build-omitfp)=yes] (CFLAGS-.o): Add + -D__USE_STRING_INLINES. + * string/string.f: Move strnlen optimization after inclusion of + <bits/string.h>. Include <bits/string.h> only if __USE_STRING_INLINES + is defined. + * sysdeps/generic/memcpy.c: Undef memcpy to allow macro of this name + in <bits/string.h>. + * sysdeps/generic/memset.c: Likewise. + * sysdeps/i386/string.h: i386 optimized string functions. + * sysdeps/i386/i486string.h: i486+ optimized string functions. + + * Makefile (subdirs): Change db to db2. + * shlib-versions: Bump libdb verion number to 3. + * include/db.h: Include from db2 directory. + * include/db_185.h: New file. + * sysdeps/i386/Makefile [$(subdirs)=db2] (CPPFLAGS): Add macros + to provide spinlock information for db2. + * sysdeps/m68k/m68020/Makefile: New file. Likewise. + * sysdeps/sparc/Makefile: New file. Likewise. + * sysdeps/unix/sysv/linux/Makefile [$(subdirs)=db2] (CPPFLAGS): + Add -DHAVE_LLSEEK. + * db2/config.h: Hand-edited config file for db2 in glibc. + * db2/compat.h: New file from db-2.3.4. + * db2/db.h: Likewise. + * db2/db_185.h: Likewise. + * db2/db_int.h: Likewise. + * db2/makedb.c: 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/btree_auto.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/common/db_appinit.c: Likewise. + * db2/common/db_err.c: Likewise. + * db2/common/db_byteorder.c: Likewise. + * db2/common/db_apprec.c: Likewise. + * db2/common/db_salloc.c: Likewise. + * db2/common/db_log2.c: Likewise. + * db2/common/db_region.c: Likewise. + * db2/common/db_shash.c: Likewise. + * db2/db/db.c: Likewise. + * db2/db/db.src: 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/db/db_auto.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_page.c: Likewise. + * db2/hash/hash_conv.c: Likewise. + * db2/hash/hash_debug.c: Likewise. + * db2/hash/hash_stat.c: Likewise. + * db2/hash/hash_rec.c: Likewise. + * db2/hash/hash_dup.c: Likewise. + * db2/hash/hash_func.c: Likewise. + * db2/hash/hash_auto.c: Likewise. + * db2/include/mp.h: Likewise. + * db2/include/btree.h: Likewise. + * db2/include/db.h.src: Likewise. + * db2/include/db_int.h.src: Likewise. + * db2/include/db_shash.h: Likewise. + * db2/include/db_swap.h: Likewise. + * db2/include/db_185.h.src: Likewise. + * db2/include/txn.h: Likewise. + * db2/include/db_am.h: Likewise. + * db2/include/shqueue.h: Likewise. + * db2/include/hash.h: Likewise. + * db2/include/db_dispatch.h: Likewise. + * db2/include/lock.h: Likewise. + * db2/include/db_page.h: Likewise. + * db2/include/log.h: Likewise. + * db2/include/db_auto.h: Likewise. + * db2/include/btree_auto.h: Likewise. + * db2/include/hash_auto.h: Likewise. + * db2/include/log_auto.h: Likewise. + * db2/include/txn_auto.h: Likewise. + * db2/include/db_ext.h: Likewise. + * db2/include/btree_ext.h: Likewise. + * db2/include/clib_ext.h: Likewise. + * db2/include/common_ext.h: Likewise. + * db2/include/hash_ext.h: Likewise. + * db2/include/lock_ext.h: Likewise. + * db2/include/log_ext.h: Likewise. + * db2/include/mp_ext.h: Likewise. + * db2/include/mutex_ext.h: Likewise. + * db2/include/os_ext.h: Likewise. + * db2/include/txn_ext.h: Likewise. + * db2/include/cxx_int.h: Likewise. + * db2/include/db_cxx.h: Likewise. + * db2/include/queue.h: Likewise. + * db2/lock/lock.c: Likewise. + * db2/lock/lock_conflict.c: Likewise. + * db2/lock/lock_util.c: Likewise. + * db2/lock/lock_deadlock.c: Likewise. + * db2/log/log.c: Likewise. + * db2/log/log_get.c: Likewise. + * db2/log/log.src: Likewise. + * db2/log/log_compare.c: Likewise. + * db2/log/log_put.c: Likewise. + * db2/log/log_rec.c: Likewise. + * db2/log/log_archive.c: Likewise. + * db2/log/log_register.c: Likewise. + * db2/log/log_auto.c: Likewise. + * db2/log/log_findckp.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_region.c: Likewise. + * db2/mp/mp_pr.c: Likewise. + * db2/mp/mp_sync.c: Likewise. + * db2/mutex/68020.gcc: Likewise. + * db2/mutex/mutex.c: Likewise. + * db2/mutex/README: Likewise. + * db2/mutex/x86.gcc: Likewise. + * db2/mutex/sparc.gcc: Likewise. + * db2/mutex/uts4.cc.s: Likewise. + * db2/mutex/alpha.dec: Likewise. + * db2/mutex/alpha.gcc: Likewise. + * db2/mutex/parisc.gcc: Likewise. + * db2/mutex/parisc.hp: Likewise. + * db2/os/db_os_abs.c: Likewise. + * db2/os/db_os_dir.c: Likewise. + * db2/os/db_os_fid.c: Likewise. + * db2/os/db_os_lseek.c: Likewise. + * db2/os/db_os_mmap.c: Likewise. + * db2/os/db_os_open.c: Likewise. + * db2/os/db_os_rw.c: Likewise. + * db2/os/db_os_sleep.c: Likewise. + * db2/os/db_os_stat.c: Likewise. + * db2/os/db_os_unlink.c: Likewise. + * db2/txn/txn.c: Likewise. + * db2/txn/txn.src: Likewise. + * db2/txn/txn_rec.c: Likewise. + * db2/txn/txn_auto.c: Likewise. + * db2/clib/getlong.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. - * 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. + * libio/stdio.h [__cplusplus] (__STDIO_INLINE): Define as inline. -1998-05-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * po/de.po, po/sv.po: Update from 2.0.5 translations. - * elf/rtld.c (dl_main): Fix check for number of references to - interpreter object. + * sysdeps/unix/sysv/linux/netinet/tcp.h: Pretty print. -1998-05-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sunrpc/rpc/xdr.h (XDR): Don't define argument of x_destroy callback + as const. + * sunrpc/xdr_mem.c (xdrmem_destroy): Don't define argument as const. + * sunrpx/xdr_rec.c (xdrrec_destroy): Likewise. + * sunrpx/xdr_stdio.c (xdrstdio_destroy): Likewise. - * elf/rtld.c (dl_main): Check has_interp after executing platform - specific code. +1997-08-27 18:47 Ulrich Drepper <drepper@cygnus.com> -1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/if_index.c: Include <errno.h>. + Reported by Benjamin Kosnik <bkoz@cygnus.com>. - * iconvdata/run-iconv-test.sh: Fix typo. +1997-08-27 02:27 Roland McGrath <roland@baalperazim.frob.com> -1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * abi-tags: New file. + * csu/Makefile (distribute): Remove abi-tag.h. + ($(objpfx)abi-tag.h): New target. + * Makefile (distribute): Add abi-tags. + * sysdeps/unix/sysv/linux/abi-tag.h: File removed. + * sysdeps/mach/hurd/abi-tag.h: File removed. + * sysdeps/stub/abi-tag.h: File removed. - * Makerules (+depfiles): Add depfiles for $(tests-static). - Simplified. +1997-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/make-syscalls.sh: Change output so that it + generates compilation rules only for the currently selected object + suffixes. - * manual/terminal.texi (Special Characters): Fix description of - c_cc indexes. +1997-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/m68k/dl-machine.h (RTLD_START): Switch back to previous + section to avoid confusing the compiler. + * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise. + * sysdeps/i386/dl-machine.h (RTLD_START): Likewise. + * sysdeps/mips/dl-machine.h (RTLD_START): Likewise. + * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise. + * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise. - * 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. + * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use a GOT + relocation instead of a constant to avoid text relocation. + (ELF_MACHINE_BEFORE_RTLD_RELOC): Removed. + (RTLD_START): Declare global labels as functions and add size + directive. -1998-04-30 14:15 Zack Weinberg <zack@rabi.phys.columbia.edu> +1997-08-25 17:01 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers. + * sysdeps/i386/bits/select.h: Correct assembler versions to work even + for descriptors >= 32. -1998-05-01 Ulrich Drepper <drepper@cygnus.com> + * stdlib/alloca.h: Don't define alloca to __alloca since if gcc + is used __alloca is not defined to __builtin_alloca and so might + not be available. + Reported by Uwe Ohse <uwe@ohse.de>. - * intl/locale.alias: Update russian entry. + * sysdeps/unix/sysv/linux/sys/sysmacros.h: Define macros in a special + way if gcc is not used and so dev_t is an array. + Reported by Uwe Ohse <uwe@ohse.de>. -1998-05-01 21:54 Zack Weinberg <zack@rabi.phys.columbia.edu> +1997-08-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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]. + * manual/libc.texinfo: Reorder chapters to match logical order. - (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. +1997-08-25 12:22 Ulrich Drepper <drepper@cygnus.com> -1998-05-01 21:01 Zack Weinberg <zack@rabi.phys.columbia.edu> + * sunrpc/rpc/xdr.h: Change name of parameters in prototypes of + xdr_reference, xdrmem_create, and xdrstdio_create because of clash + with g++ internal symbols. + Patch by Sudish Joseph <sj@eng.mindspring.net>. - Build speed improvement: make ar less of a bottleneck. +1997-08-24 Miles Bader <miles@gnu.ai.mit.edu> - * 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. + * string/argz.h: Add missing __END_DECLS. - (subdirs-stamps): Define also if subdir == elf (FIXME: kludge). - (subdirs-stamp-o): Likewise. +1997-08-24 12:24 Ulrich Drepper <drepper@cygnus.com> - (ar-symtab-name): Delete variable. - (lib%.a): Delete target. - (libc_foo.a(bar.%)): Delete target. - (libc_foo.a($(ar-symtab-name))): Delete target. + * configure.in (INSTALL): Quote `$'. - (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. + * libc.map: Add __xpg_basename. - (CREATE_ARFLAGS): Kill the `ar S' hack. + * csu/Makefile (initfini.s): Disable optimization. - * config.make.in (have-ar-S): Deleted. - * configure.in: Delete test for `ar S'. Add test to determine - whether ranlib does anything useful. + * elf/dl-deps.c: Implement handling of DT_FILTER. -1998-05-01 Ulrich Drepper <drepper@cygnus.com> + * elf/dl-load.c (_dl_init_paths): Add error check. - * inet/tst-ether_aton.c: Include <stdio.h>. + * intl/finddomain.c (_nl_find_domain): Correct comment. + * intl/localealias.c: Include <bits/libc-lock.h> not <libc-lock.h>. -1998-04-30 16:45 Ulrich Drepper <drepper@cygnus.com> + * libio/stdio.h: Make {,v}snprintf available if __USE_BSD. + Change extern inline functions to work correctly in C++. - * inet/ether_aton.c: Including netinet/if_ether.h is not necessary. + * locale/iso-4217.def: Update for more recent ISO 4217 version. - * 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. + * locale/loadlocale.c (_nl_load_locale): Add cast. - * locale/programs/locfile.c: Interpret I18NPATH value as base of - path, extended with "/locales/". + * manual/message.texi: Finish gettext section. -1998-04-18 Philip Blundell <Philip.Blundell@pobox.com> + * posix/getopt_init.c: Don't use relative #include path. + (__getopt_clean_environment): Change function to take pointer to + environment as argument. Optimize generation of test string a bit. + * sysdeps/unix/sysv/linux/init-first.c: Call __getopt_clean_environment + with additional argument. - * sysdeps/arm/memset.S: Fix off by one error. + * poisx/glob.c: Add prototype for next_brace_sub. - * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call - __syscall_error rather than syscall_error directly. + * sysdeps/generic/dl-sysdep.c: Recognize AT_BASE value on auxiliary + vector. -1998-04-17 Philip Blundell <Philip.Blundell@pobox.com> + * sysdeps/i386/dl-machine.h (elf_machine_load_address): Rewrite + to not generate relocation entry. Suggested by Richard Henderson. + (ELF_MACHINE_BEFORE_RTLD_RELOC): Removed. + (elf_machine_runtime_setup): Add .aligns. - * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of - mmap() syscall for ARM. + * sysdeps/i386/fpu/fraiseexcpt.c: Add volatile to asms. - * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out - binaries. + * sysdeps/i386/fpu/bits/mathinline.h: Partially undo change of + 1997-08-14 03:14. gcc 2.7.2* is really broken in some aspects. -1998-04-30 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/standalone/i386/i386.h: Clean up asm statements a bit. + * sysdeps/standalone/i960/i960ca.h: Likewise. - * locale/programs/localedef.c: Recognize repertoire-map option. +1997-08-22 19:04 Richard Henderson <rth@cygnus.com> -1998-04-29 Ulrich Drepper <drepper@cygnus.com> + * elf/rtld.c (_dl_start): Init _dl_rtld_map.l_opencount due to + undocumented test addition in _dl_map_object. - * locale/programs/linereader.c (get_toplvl_escape): Fix typo in - converting non-hex numbers. - Patch by Won Kyu Park <bird@bird.kitel.co.kr>. + Support ET_EXEC versions of ld.so, for debugging at least: -1998-04-23 07:31 H.J. Lu <hjl@gnu.org> + * elf/dl-load.c (_dl_map_object): Add_name_to_object could get + called despite the DT_SONAME != NULL test, segfaulting. Simplify + the code here as well. + * elf/dl-lookup.c (do_lookup): Skip objects with no symtab. + (_dl_setup_hash): Likewise for hash tables. + * elf/dl-version.c (_dl_check_map_versions): Likewise for strtabs. + * elf/rtld.c (_dl_start): Likewise for rpath. + (_dl_rtld_libname2): New variable. + (dl_main): Use it to add an soname for ourselves when we don't have + one of our own. Base it on the target's .interp. + (dl_main): Again, skip printing of objects that don't have strtabs. - * 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. + Sparc 32 merge: -1998-04-29 Ulrich Drepper <drepper@cygnus.com> + * elf/dl-runtime.c (ELF_FIXUP_RETURN_VALUE): Provide default value. + (fixup): Simplify code. Use ELF_FIXUP_RETURN_VALUE. + (profile_fixup): Likewise, though this still needs fixing for + Sparc32 and PPC. + * sysdeps/powerpc/dl-machine.h: Transmute ELF_FIXUP_RETURNS_ADDRESS + to ELF_FIXUP_RETURN_VALUE. - * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing - semicolon. + * sysdeps/sparc/sparc32/dl-machine.h: Implement lazy relocation. + Fix up _dl_start_user to handle _dl_skip_args properly. + Use _dl_hwcap to determine if "flush" is available/needed. -1998-04-29 12:11 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/sparc/configure.in: Remove. It doesn't actually do + anything anymore, and what it did do is done somewhere else. + * sysdeps/sparc/configure: Likewise. - * 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/sparc/fpu/bits/mathdef.h (FP_ILOGB0, FP_ILOGBNAN): New. - * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear - it is not used. - * wcsmbs/wctoc.c: Likewise. + * sysdeps/sparc/fpu/fraiseexcpt.c: Rearrange for smaller code. - * wcsmbs/mbsrtowcs.c: Optimize a bit more. - * wcsmbs/wcsrtombs.c: Likewise. + * sysdeps/sparc/sparc32/Makefile: Fix sparc->sparc/sparc32 bits + in divrem expansions. - * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition. + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (END, LOC): New + definitions for assembly syntax differences. -1998-04-29 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/sparc/sparc32/__longjmp.S: %g6,%g7 are reserved to the + "system". Use %g2,%g3 instead. Use new local label macro. + * sysdeps/sparc/sparc32/add_n.S: Use <sysdep.h> and ENTRY, END, + and LOC for proper assembly headers/footers. + * sysdeps/sparc/sparc32/addmul_1.S: Likewise. + * sysdeps/sparc/sparc32/alloca.S: Likewise. + * sysdeps/sparc/sparc32/dotmul.S: Likewise. + * sysdeps/sparc/sparc32/lshift.S: Likewise. + * sysdeps/sparc/sparc32/mul_1.S: Likewise. + * sysdeps/sparc/sparc32/rshift.S: Likewise. + * sysdeps/sparc/sparc32/sparcv8/addmul_1.S: Likewise. + * sysdeps/sparc/sparc32/sparcv8/mul_1.S: Likewise. + * sysdeps/sparc/sparc32/sparcv8/submul_1.S: Likewise. + * sysdeps/sparc/sparc32/sparcv8/udiv_qrnnd.S: Likewise. + * sysdeps/sparc/sparc32/sub_n.S: Likewise. + * sysdeps/sparc/sparc32/submul_1.S: Likewise. + * sysdeps/sparc/sparc32/udiv_qrnnd.S: Likewise. + * sysdeps/sparc/sparc32/umul.S: Likewise. + * sysdeps/sparc/sparc32/divrem.m4: Likewise. + * sysdeps/sparc/sparc32/rem.S: Regenerate. + * sysdeps/sparc/sparc32/sdiv.S: Regenerate. + * sysdeps/sparc/sparc32/udiv.S: Regenerate. + * sysdeps/sparc/sparc32/urem.S: Regenerate. - * iconv/skeleton.c: Correct counting of actually converted - characters. + * sysdeps/sparc/sparc32/sparcv8/dotmul.S: New file. + * sysdeps/sparc/sparc32/sparcv8/rem.S: New file. + * sysdeps/sparc/sparc32/sparcv8/sdiv.S: New file. + * sysdeps/sparc/sparc32/sparcv8/udiv.S: New file. + * sysdeps/sparc/sparc32/sparcv8/umul.S: New file. + * sysdeps/sparc/sparc32/sparcv8/urem.S: New file. - * 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. + * sysdeps/sparc/sparc32/bsd-_setjmp.S: Dike out. + * sysdeps/sparc/sparc32/bsd-setjmp.S: Likewise. + * sysdeps/sparc/sparc32/setjmp.S: Add _setjmp and setjmp entry points. - * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice; - wcsrtombs must put it into initial state. + * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: + Clean up PIC code. -1998-04-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/sparc/sparc32/elf/start.S: New file, slightly modified + from the sparc64 version. + * sysdeps/sparc/sparc32/elf/start.c: Removed. - * iconv/gconv_simple.c: Fix endian bug. Don't put side effects in - argument of bswap_XX macro. + * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Rewrite in + assembly based on the sparc64 version. -1998-04-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Duh. Use proper syntax + for manipulating %fsr. + * sysdeps/sparc/sparc32/fpu/fpu_control.h: Make IEEE conformance + be the default. - * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in - variable name. + * elf/elf.h (HWCAP_SPARC_*): New definitions. + * elf/rtld.c (_dl_hwcap): New variable. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Record AT_HWCAP. -1998-04-28 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: New file. + Attempt to get hold of the page size based on what we might have + been told at startup time in _dl_pagesize. This will be obsolete + when I finish the kernel hooks for a proper sysconf(), stay tuned. + + Sparc 64 merge: + + * sysdeps/sparc/sparc64/dl-machine.h (ELF_FIXUP_RETURN_VALUE): New. + Figure out the right thing to return based on the .plt format. + + * sysdeps/sparc/sparc64/fpu/fpu_control.h: Update comment. + + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__dev_t): + Should have been 64-bits wide. - * 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. + * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: sll->sllx, + optimize for branch delay slot usage. - * sysvipc/sys/sem.h: Don't use union semun in semctl prototype. +1997-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * string/basename.c [!_LIBC]: Define function as gnu_basename. + * csu/Makefile ($(objpfx)crt%.o): Fix a missing *.so -> *.os + change. - * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or - strings.h. +1997-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * stdlib/grouping.h: Accept ungrouped numbers even if locale - defines grouping. + * math/libm-test.c (identities): Change epsilon. - * intl/hash-string.h: Don't include values.h. + * sysdeps/i386/fpu/bits/mathinline.h: Correct arguments to fabs, + fabsf, fabsl, __fabsl. - * inet/Makefile (tests): Add tst-ether_aton. - * inet/tst-ether_aton.c: New file. +1997-08-20 05:30 Ulrich Drepper <drepper@cygnus.com> - * 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. + * catgets/catgets.c (catclose): Use __munmap instead of munmap. + * catgets/gencat.c (read_input_file): Fix typo. - * 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>. + * dirent/dirent.h: Make seekdir and telldir available for __USE_XOPEN. - * stdio-common/tst-wc-printf.c: New file. Test for %S and %C format. - * stdio-common/Makefile (tests): Add tst-wc-printf. + * elf/dl-load.c: Fix case of missing DT_RPATH in object which gets + executed (e.g., when it is a static binary). -1998-04-28 16:32 Philip Blundell <philb@gnu.org> + * intl/bindtextdomain.c: Use strdup in glibc. Correct comment. + * intl/dcgettext.c: Likewise. + * intl/dgettext.c: Likewise. + * intl/explodename.c: Likewise. + * intl/finddomain.c: Likewise. + * intl/gettext.c: Likewise. + * intl/gettext.h: Likewise. + * intl/hash-string.h: Likewise. + * intl/l10nflist.c: Likewise. + * intl/libintl.h: Likewise. + * intl/loadinfo.h: Likewise. + * intl/loadmsgcat.c: Likewise. + * intl/localealias.c: Likewise. + * intl/textdomain.c: Likewise. + + Unify libio sources with code in libg++. + * libio/fcloseall.c: Update and reformat copyright. Protect use + of weak_alias. Use _IO_* thread macros instead of __libc_*. + * libio/feof.c: Likewise. + * libio/feof_u.c: Likewise. + * libio/ferror.c: Likewise. + * libio/ferror_u.c: Likewise. + * libio/fgetc.c: Likewise. + * libio/filedoalloc.c: Likewise. + * libio/fileno.c: Likewise. + * libio/fileops.c: Likewise. + * libio/fputc.c: Likewise. + * libio/fputc_u.c: Likewise. + * libio/freopen.c: Likewise. + * libio/fseek.c: Likewise. + * libio/genops.c: Likewise. + * libio/getc.c: Likewise. + * libio/getc_u.c: Likewise. + * libio/getchar.c: Likewise. + * libio/getchar_u.c: Likewise. + * libio/iofclose.c: Likewise. + * libio/iofdopen.c: Likewise. + * libio/iofflush.c: Likewise. + * libio/iofflush_u.c: Likewise. + * libio/iofgetpos.c: Likewise. + * libio/iofgets.c: Likewise. + * libio/iofopen.c: Likewise. + * libio/iofopncook.c: Likewise. + * libio/iofprintf.c: Likewise. + * libio/iofputs.c: Likewise. + * libio/iofread.c: Likewise. + * libio/iofsetpos.c: Likewise. + * libio/ioftell.c: Likewise. + * libio/iofwrite.c: Likewise. + * libio/iogetdelim.c: Likewise. + * libio/iogetline.c: Likewise. + * libio/iogets.c: Likewise. + * libio/iopadn.c: Likewise. + * libio/iopopen.c: Likewise. + * libio/ioputs.c: Likewise. + * libio/ioseekoff.c: Likewise. + * libio/ioseekpos.c: Likewise. + * libio/iosetbuffer.c: Likewise. + * libio/iosetvbuf.c: Likewise. + * libio/iosprintf.c: Likewise. + * libio/ioungetc.c: Likewise. + * libio/iovdprintf.c: Likewise. + * libio/iovsprintf.c: Likewise. + * libio/iovsscanf.c: Likewise. + * libio/libio.h: Likewise. + * libio/libioP.h: Likewise. + * libio/obprintf.c: Likewise. + * libio/pclose.c: Likewise. + * libio/peekc.c: Likewise. + * libio/putc.c: Likewise. + * libio/putchar.c: Likewise. + * libio/rewind.c: Likewise. + * libio/setbuf.c: Likewise. + * libio/setlinebuf.c: Likewise. + * libio/stdfiles.c: Likewise. + * libio/stdio.c: Likewise. + * libio/strfile.h: Likewise. + * libio/strops.c: Likewise. + * libio/vasprintf.c: Likewise. + * libio/vscanf.c: Likewise. + * libio/vsnprintf.c: Likewise. + + * manual/libc.texinfo: Add menu entries for chapter on message + translation. + * manual/locale.texi: Correct next entry in @node for new chapter. + * manual/search.texi: Likewise for previous link. + * manual/message.texi: New file. + * manual/startup.texi: Document LC_ALL, LC_MESSAGES, NLSPATH, + setenv, unsetenv, and clearenv. + * manual/string.texi: Fix typos. Patch by Jim Meyering. + + * math/Makefile (test-longdouble-yes): Enable. We want long double + tests now. + + Crusade against strcat. + * nis/nss_nisplus/nisplus-publickey.c: Remove uses of strcat. + * stdlib/canonicalize.c: Likewise. + + * posix/glob.h: Define __const if necessary. Use __const in all + prototypes. - * manual/stdio.texi (Variable Arguments Output): Correct variable - name. Patch from Ewan Mellor <em@nexus.co.uk> + * sysdeps/generic/stpcpy.c: Use K&R form to allow use in other + GNU packages. -1998-04-27 Ulrich Drepper <drepper@cygnus.com> + * posix/wordexp.c: Completely reworked buffer handling for much + better performance. Patch by Tim Waugh. - * intl/dcgettext.c: Remove unneeded definition of - internal_function. + * socket/sys/sochet.h (getpeername): Fix type of LEN parameter, + it must be socklen_t. -1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/libm-i387/e_remainder.S: Pretty print. + * sysdeps/libm-i387/e_remainderf.S: Likewise. + * sysdeps/libm-i387/e_remainderl.S: Pop extra value from FPU stack. + * sysdeps/libm-i387/s_cexp.S: Little optimization. + * sysdeps/libm-i387/s_cexpl.S: Likewise. + * sysdeps/libm-ieee754/s_csinhl.c: Include <fenv.h>. - * 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. +1997-08-18 15:21 Ulrich Drepper <drepper@cygnus.com> -1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Fix memory leak + in cleanup code. - * string/string.h: Fix feature test. +1997-08-17 Paul Eggert <eggert@twinsun.com> -1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * tzset.c (__tzset_internal): Fix memory leak when the user + specifies a TZ value that uses a default rule file. + Do not assume US DST rules when the user specifies + that there is no DST. - * iconvdata/iso646.c (BODY): Don't use character constants that - depend on signedness of char. +1997-08-10 19:17 Philip Blundell <Philip.Blundell@pobox.com> -1998-04-27 Ulrich Drepper <drepper@cygnus.com> + * inet/getnameinfo.c: Tidy up. + * sysdeps/posix/getaddrinfo.c: Likewise. - * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc] - (sysdep_routines): Add s_pread64 and s_pwrite64. + * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Return 0 if + using stub code. + (if_indextoname): Use SIOGIFNAME ioctl if the kernel supports it. + (if_nameindex): Use alloca() rather than malloc(); use + SIOCGIFCOUNT ioctl if the kernel supports it. -1998-04-27 09:54 Ulrich Drepper <drepper@cygnus.com> +1997-08-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * iconvdata/Makefile (distribute): Remove generated .h files. - * iconvdata/koi8-r.h: Removed. - * iconvdata/latin-greek-1.h: Removed. - * iconvdata/latin-greek.h: Removed. + * sysdeps/unix/sysv/linux/sys/mount.h: Remove the IS_* macros, + they operate on internal kernel structures and have no place in a + user header. - * 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. +1997-08-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-04-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * Makerules (lib%.so): Depend on $(+preinit) and $(+postinit). + (build-shlib): Filter them out of $^. - * streams/Makefile (headers): Add sys/stropts.h. - * streams/sys/stropts.h: New file. +1997-08-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-04-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * elf/dl-error.c (_dl_signal_error): Fix error message. - * 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. +1997-08-16 04:06 Ulrich Drepper <drepper@cygnus.com> -1998-04-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * assert/assert.h [__USE_GNU]: Undefine assert_perror. + Reported by Theodore C. Belding <Ted.Belding@umich.edu>. - * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second - argument of _itoa_word. +1997-08-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-04-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * Makeconfig: Change object suffixes from *.[spgb]o to *.o[spgb] + to avoid conflict with PO files. + * Makerules: Likewise. + * Rules: Likewise. + * elf/Makefile: Likewise. + * extra-lib.mk: Likewise. + * gmon/Makefile: Likewise. + * nis/Makefile: Likewise. + * nss/Makefile: Likewise. + * resolv/Makefile: Likewise. + * rpm/Makefile: Likewise. + * sunrpc/Makefile: Likewise. + * sysdeps/sparc/elf/Makefile: Likewise. + * sysdeps/sparc64/elf/Makefile: Likewise. + * sysdeps/unix/sysv/linux/sparc/Makefile: Likewise. + (ASFLAGS-.os): Renamed from as-FLAGS.os. + +1997-08-14 03:14 Ulrich Drepper <drepper@cygnus.com> + + * elf/dl-minimal.c: Don't use relative #include paths. + (malloc): Don't try to initialize _dl_pagesize, it already is. + (__sigjmp_save, longjmp): Reformat. + + * sysdeps/generic/dl-sysdep.c: Implement _dl_show_auxv function to + show content of auxiliary array. + (_dl_sysdep_start): Remember start of auxiliary vector. + * sysdeps/mach/hurd/dl-sysdep.c: (_dl_show_auxv): New dummy function. + * elf/link.h: Add prototype for _dl_show_auxv. + * elf/rtld.c (dl_main): Call _dl_show_auxv if LD_SHOW_AUXV envvar + is present. + + * libio/iofdopen.c: Better prepare for use in libstdc++. + * libio/iofflush.c: Likewise. + * libio/iofgetpos.c: Likewise. + * libio/iofgets.c: Likewise. + * libio/iofopen.c: Likewise. + * libio/iofputs.c: Likewise. + * libio/iofread.c: Likewise. + * libio/iofsetpos.c: Likewise. + * libio/ioftell.c: Likewise. + * libio/iofwrite.c: Likewise. + * libio/iogetdelim.c: Likewise. + * libio/iogets.c: Likewise. + * libio/iopopen.c: Likewise. + * libio/ioputs.c: Likewise. + * libio/iosetbuffer.c: Likewise. + * libio/iosetvbuf.c: Likewise. + * libio/ioungetc.c: Likewise. + * libio/iovsprintf.c: Likewise. + * libio/iovsscanf.c: Likewise. - * 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. + * manual/creature.texi: Mention _XOPEN_SOURCE_EXTENDED in correct + place. - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove - s_pread64 and s_pwrite64. + * manual/math.texi: Add comment to sincos decsription to say it's a + GNU extension. + Fix description of random function. -1998-04-26 18:44 Ulrich Drepper <drepper@cygnus.com> + * posix/fnmatch.h: Recognize Windog by _WINDOWS32 not WIN32. + * posix/glob.c: Likewise. Handle stupid system headers on SunOS. + Add casts for all __alloca calls. + * posix/glob.h: Recognize Windog by _WINDOWS32 not WIN32. + Declare additional GLOB_* constants also if _GNU_SOURCE is defined. + Patches by Paul D. Smith <psmith@BayNetworks.COM>. - * iconvdata/Makefile: Correct rules to generate gap table. - * iconvdata/gap.pl: Simplify. + * stdio-common/_itoa.c: Don't use relateive #include paths. - * 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. + * sysdeps/i386/fpu/bits/mathinline.h: Enable optimizations even for + gcc 2.7. + (atan): Loading 1.0 from memory does not pay off. + (asinh): Fix typo. -1998-04-26 Ulrich Drepper <drepper@cygnus.com> +1997-08-13 09:44 Philip Blundell <Philip.Blundell@pobox.com> - * iconvdata/Makefile: Add rules for ISO-2022-KR. - * iconvdata/iso-2022-kr.c: New file. + * sysdeps/stub/accept.c: Use socklen_t where necessary. + * sysdeps/stub/bind.c: Likewise. + * sysdeps/stub/connect.c: Likewise. + * sysdeps/stub/getsockname.c: Likewise. + * sysdeps/stub/getsockopt.c: Likewise. + * sysdeps/stub/recvfrom.c: Likewise. + * sysdeps/stub/sendto.c: Likewise. + * sysdeps/stub/setsockopt.c: Likewise. - * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2, - and ISO-2022-KR. +1997-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-04-25 18:39 Ulrich Drepper <drepper@cygnus.com> + * io/ftw.c (object_compare): Avoid memcmp when comparing scalar + types. - * 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. +1997-08-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * math/libm-test.c (cbrt_test): Add epsilon for long double to + `cbrt (-0.001)'. - * 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. +1997-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * iconvdata/gb2312.h: Use correct types. + * sysdeps/stub/bits/string.h: Fix comment. - * iconvdata/iso646.c (gconv_open): Correctly initialize the character - size elements of data. +1997-08-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-04-24 Ulrich Drepper <drepper@cygnus.com> + * elf/Makefile (routines): Remove dl-version. + (dl-routines): Add it here instead. This removes dead code from + libc.so. - * string/tst-svc.expect: Adapt for change in .input. - * string/tst-svc.input: More tests. +1997-08-12 17:17 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> -1998-04-24 17:15 Ulrich Drepper <drepper@cygnus.com> + * malloc/thread-m.h (thread_atfork, thread_atfork_static): New + macros to encapsulate pthread_atfork's functionality. + * malloc/malloc.c (ptmalloc_lock_all, ptmalloc_unlock_all): New + functions, registered via thread_atfork in the initialization + routine or via thread_atfork_static in global scope. This + ensures a consistent state of all locks across fork(). - * 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. +1997-08-11 23:00:32 1997 Mark Kettenis <kettenis@phys.uva.nl> -1998-04-24 16:30 Ulrich Drepper <drepper@cygnus.com> + * login/programs/xtmp.c (compare_entry): + Partially undo patch made by Klaus Espenlaub. There + was no xtmp/utmp typo. Added comment to cclarify this. + * login/programs/xtmp.h: Likewise. - * iconvdata/Makefile: Create target directory before generating - headers. + * posix/getopt.c: Recognize Windog by _WINDOWS32 not WIN32. + Patch by Paul D. Smith <psmith@BayNetworks.COM>. -1998-04-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-08-12 13:51 Ulrich Drepper <drepper@cygnus.com> - * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty - __USER_LABEL_PREFIX__. - (__ASMNAME, __ASMNAME2): New macros. + * login/getutid.c: Rename to __getutid and make getutid and getutxid + weak aliases. + Patch by ir. Mark M._Kettenis <kettenis@phys.uva.nl>. -1998-04-24 Ulrich Drepper <drepper@cygnus.com> +1997-08-11 23:55 Ulrich Drepper <drepper@cygnus.com> - * elf/dl-load.c: Include sys/param.h for MAX. + * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers): + Add bits/mman.h. -1998-04-24 21:44 Richard Henderson <rth@cygnus.com> +1997-08-11 08:51:21 1997 H.J. Lu <hjl@gnu.ai.mit.edu> - * 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. + * stdlib/fmtmsg.c (fmtmsg): Add static to + __libc_once_define macro. -1998-04-24 Ulrich Drepper <drepper@cygnus.com> + * libc.map (__progname_full, __progname): Added. - * termios/cfsetspeed.c: Make code cleaner and add missing const. - Patch by Joe Keane <jgk@jgk.org>. +1997-08-04 08:31 H.J. Lu <hjl@gnu.ai.mit.edu> - * 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. - - * 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. + * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Return 0 + if SIOGIFINDEX is not defined. + (if_indextoname): Initialize "result" to NULL. + (if_nametoindex, if_nameindex): Fix ENOSYS setting. -1998-04-22 Gordon Matzigkeit <gord@profitpress.com> +1997-08-11 11:58 Richard Henderson <rth@cygnus.com> - * sysdeps/mach/hurd/bits/dirent.h: New file. - * sysdeps/mach/hurd/readdir64.c: New file. - * sysdeps/mach/hurd/readdir64_r.c: New file. + Sparc ISO C 9x exception handling: + * sysdeps/sparc/fpu/bits/mathdef.h: New file. + * sysdeps/sparc/fpu/fclrexcpt.c: New file. + * sysdeps/sparc/fpu/fegetenv.c: New file. + * sysdeps/sparc/fpu/fegetround.c: New file. + * sysdeps/sparc/fpu/feholdexcpt.c: New file. + * sysdeps/sparc/fpu/fesetenv.c: New file. + * sysdeps/sparc/fpu/fesetround.c: New file. + * sysdeps/sparc/fpu/feupdateenv.c: New file. + * sysdeps/sparc/fpu/fgetexcptflg.c: New file. + * sysdeps/sparc/fpu/fraiseexcpt.c: New file. + * sysdeps/sparc/fpu/fsetexcptflg.c: New file. + * sysdeps/sparc/fpu/ftestexcept.c: New file. + * sysdeps/sparc/sparc32/fpu/bits/fenv.h: New file. + * sysdeps/sparc/sparc64/fpu/bits/fenv.h: New file. -1998-04-21 Gordon Matzigkeit <gord@profitpress.com> +1997-08-11 11:58 Richard Henderson <rth@cygnus.com> - * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf, - dprintf): Synchronize declarations with libio/stdio.h. + Sparc64 merge: + * configure.in: Change up subdirectories, rename sparc8->sparcv8. -1998-04-21 Gordon Matzigkeit <gord@profitpress.com> + * csu/Makefile: Nuke need-nopic-initfini bits. The problem was + that sparc64 ld did not recognize pic relocs at all. - * 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. + * elf/dl-deps.c: Include <string.h>. + * elf/do-rel.h (elf_dynamic_do_rel): Take reloc address and size + directly instead of the DT names to get them from. + * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): New macro distilled + from ELF_DYNAMIC_DO_REL{,A}. Define a second version that accounts + for the possibility that DT_RELA and DT_JMPPLT overlap, as such is + the case on the Sparc. -1998-04-22 Gordon Matzigkeit <gord@profitpress.com> + * elf/elf.h: Stub out Elf64_Ver*, and make them the same as the + Elf32_Ver* bits. The linker does not even know to differentiate + between the word sizes. Someone should examine this and figure + out what the proper sizes of things should be for 64-bit hosts + before the sparc64 libraries are distributed. - * io/ftw.h (ftw): Fix typo. + * shlib-versions: Rename sparc64 ld.so to not conflict with sparc32 + on the same machine. -1998-04-21 Gordon Matzigkeit <gord@profitpress.com> + Move old sysdeps/sparc contents to sysdeps/sparc/sparc32, + rename sparc8 subdir to sparcv8, move sysdeps/sparc64 content to + sysdeps/sparc/sparc64. Same for sysdeps/unix/sysv/linux/sparc. - * sysdeps/gnu/utmp_file.c: Fix typo. + * sysdeps/sparc/Implies: Do ieee754 here. + * sysdeps/sparc/configure.in: Move from sparc32/. + * sysdeps/sparc/sparc32/Implies: Do wordsize here. + * sysdeps/sparc/sparc64/Implies: Likewise. -1998-04-22 11:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_load_address): + Use uninitialized .got to find load address instead of AT_BASE, as + the later does not exist when running ld.so directly. - * iconvdata/run-iconv-test.sh: Fix more portability bugs. When - one part of a test fails move on to the next test. + * sysdeps/sparc/sparc32/fpu/fpu_control.h: Move from ../. + * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise. -1998-04-24 5:45 Richard Henderson <rth@cygnus.com> + * sysdeps/sparc/sparc32/udiv_qrnnd.S: Clean up PIC support. - * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added. + * sysdeps/sparc/sparc64/Makefile (sysdep_routines): Add s_finitel + and s_signbitl for stdio. + * sysdeps/sparc/sparc64/configure.in: Remove, we no longer need + nopic_initfini. -1998-04-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/sparc/sparc64/bsd-_setjmp.S: Remove. + * sysdeps/sparc/sparc64/bsd-setjmp.S: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/bsd-_setjmp.S: New empty file. + * sysdeps/unix/sysv/linux/sparc/sparc64/bsd-setjmp.S: New empty file. + * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add __longjmp alias. + * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Add weak _setjmp + and setjmp entry points. - * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses - as pointers, not signed integers. + * sysdeps/sparc/sparc64/dl-machine.h: Finish real implementation. -1998-04-22 11:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/sparc/sparc64/elf/crtbegin.S: Add copyright, fix PIC. + * sysdeps/sparc/sparc64/elf/crtend.S: Likewise. - * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added. + * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (struct sigaction): + Fix sa_flags size for sparc64; add sa_restorer for kernel. -1998-04-21 21:49 Zack Weinberg <zack@rabi.phys.columbia.edu> + * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Fix 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/sysdep.h: 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/sparc/sparc64/syscall.S: New file. - * 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. - - * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and - __FAVOR_BSD. - * signal/signal.h: Use new macros for BSD vs. SysV signal(). - - * misc/Makefile: Drop bsd-compat.c. Make libbsd-compat.a - a dummy library. - * misc/bsd-compat.c: Removed. - -1998-04-21 20:32 Ulrich Drepper <drepper@cygnus.com> - - * 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. - -1998-04-21 19:05 Ulrich Drepper <drepper@cygnus.com> - - * 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. +1997-08-10 18:29:08 1997 Mark Kettenis <kettenis@phys.uva.nl> -1998-04-21 18:00 Ulrich Drepper <drepper@cygnus.com> + * login/login.c (login): Check for correct return value of + utmpname. - * iconv/gconv.c (__gconv): Remove bogus input buffer size computation. +1997-08-11 16:49 Ulrich Drepper <drepper@cygnus.com> - * iconv/gconv_open.c (__gconv_open): Initialize outbufend element. + * time/tzset.c (__tzset_internal): Correctly handle TZ strings + following incorrect old POSIX specs. + Patch by Paul Eggert <eggert@twinsun.com>. - * 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/generic/bits/sigaction.h: Correct comment for SA_RESTART. + * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise. + Reported by NIIBE Yutaka <gniibe@mri.co.jp>. - * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to - be defined. +1997-08-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * iconv/skeleton.c: Also reset converted counter in case of an error. - Call reset function using correct value for output buffer start. + * manual/math.texi: Define the macros @mul and @infinity and use + them to format the multiplication and infinity signs. + (FP Comparison Functions): Use @code, not @math, for C code + examples. - * iconvdata/Makefile: Re-enable tests. +1997-08-10 18:48 Ulrich Drepper <drepper@cygnus.com> - * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT - value for to-conversion. + * Makeconfig: Define build-programs to no if not set and $(config-os) + is none. + * Makerules (+depfiles): Don't add $(others) if not build-programs. + * Rules (others): Don't depend on $(install-bin), $(install-rootbin) + and $(install-sbin) if not build-programs. + * Makefile (subdirs): Remove login. + * sysdeps/mach/hurd/Subdirs: Add login. + * sysdeps/unix/Subdirs: Add login. - * 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/generic/sys/mman.h: Test feature macros before defining + non-POSIX things. Add MAP_FAILED. + * 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/sys/mman.h: Rewrite to not use kernel header + but bits/mman.h. Test feature macros before definitions non-POSIX + functions. + * sysdeps/unix/sysv/linux/alpha/bits/mman.h: New file. + * sysdeps/unix/sysv/linux/i386/bits/mman.h: New file. + * sysdeps/unix/sysv/linux/m68k/bits/mman.h: New file. + * sysdeps/unix/sysv/linux/mips/bits/mman.h: New file. + * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: New file. + * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file. + * sysdeps/unix/sysv/linux/sparc64/bits/mman.h: New file. + * sysdeps/unix/sysv/linux/alpha/Dist: Add bits/mman.h. + * 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/Dist: Likewise. + * sysdeps/unix/sysv/linux/sparc64/Dist: New file. Likewise. + + * catgets/open_catalog.c (__open_catalog): Compare result of mmap + with MAP_FAILED and not -1. + * elf/dl-load.c (_dl_map_object_from_fd): Likewise. + * elf/dl-minimal.c (malloc): Likewise. + * elf/dl-misc.c (_dl_sysdep_read_whole_file): Likewise. + * locale/loadlocale.c (_nl_load_locale): Likewise. + * locale/programs/localedef.c: Likewise. + * malloc/malloc.c (mmap_chunk): Likewise. + (new_heap): Likewise. + * string/stratcliff.c: Likewise. + * string/tester.c: Add tests for stpcpy. - * elf/dl-minimal.c (__strtol_internal): Increment pointer to string - while reading. Correctly used base. Little optimization. - (__strtoul_internal): Likewise. + * gmon/gmon.c (__monstartup): Use calloc instead of malloc+memset. - * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths - was wrong. Use explicit variable. + * gmon/sys/gmon.h: Add prototype for write_profiling. -1998-04-20 23:49 Zack Weinberg <zack@rabi.phys.columbia.edu> + * elf/dl-profile.c: Add descriptions and implement reading of + existing data in profiling file. + * gmon/sys/gmon_out.h (GMON_SHOBJ_VERSION): New macro for shared + lib profiling data. - * configure.in: Check for awk. - * config.make.in: Add AWK to be substituted. + * sysdeps/stub/bits/libc-lock.h (__libc_once_define): Add new first + parameter for class. - * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions. - * manual/users.texi: Fix typo exposed by above rewrite. + * inet/inet_ntoa.c: Make once control variable static. + Correctly handle case where key cannot be retrieved. + * inet/Makefile (tests): Add tst-ntoa. + * inet/tst-ntoa.c: New file. - * 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. + * manual/time.texi: Document localtime_r, gmtime_r, asctime_r, and + ctime_r. + Mention that tzname values must not be changed. -1998-04-10 Gordon Matzigkeit <gord@profitpress.com> + * manual/users.texi: Document UTMP/WTMP handling functions. + Mainly written by Mark Kettenis. + + * math/libm-test.c (cbrt_test): Add test for number with aboslute + value < 1.0. + + * nss/nss_files/files-XXX.c (internal_setent): If opening of file + failed with EGAIN return NSS_STATUS_TRYAGAIN. + * nss/nss_files/files-alias.c (internal_setent): Likewise. + + * sysdeps/generic/bits/utmp.h: Pretty print. - * 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. + * sysdeps/i386/i586/strcpy.S: New file. Much faster implementation. + * sysdeps/i386/i586/stpcpy.S: New file. + * sysdeps/i386/i686/Implies: Don't fall back on i586 versions since + these are less efficient than i486/i386 versions. - * sysdeps/mach/hurd/Dist: Add errlist.c to distribution. + * sysdeps/libm-i387/e_rem_pio2.c: Add empty file to prevent the + version from libm-ieee754 be compiled since the later is not needed. + * sysdeps/libm-i387/e_rem_pio2f.c: Likewise. + * sysdeps/libm-i387/e_rem_pio2l.c: Likewise. + * sysdeps/libm-i387/k_rem_pio2.c: Likewise. + * sysdeps/libm-i387/k_rem_pio2f.c: Likewise. + * sysdeps/libm-i387/k_rem_pio2l.c: Likewise. + * sysdeps/m68k/fpu/e_rem_pio2.c: Likewise. + * sysdeps/m68k/fpu/e_rem_pio2f.c: Likewise. + * sysdeps/m68k/fpu/e_rem_pio2l.c: Likewise. + * sysdeps/m68k/fpu/k_rem_pio2.c: Likewise. + * sysdeps/m68k/fpu/k_rem_pio2f.c: Likewise. + * sysdeps/m68k/fpu/k_rem_pio2l.c: Likewise. - * 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. + * sysdeps/libm-i387/s_cbrt.S: Fix several bugs. + * sysdeps/libm-i387/s_cbrtf.S: Likewise. + * sysdeps/libm-i387/s_cbrtl.S: Likewise. -1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct + little bug. - * iconvdata/run-iconv-test.sh: Make portable. Always test all - conversions. + * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Make field + msg_iovlen of type int. -1998-04-21 12:30 H.J. Lu <hjl@gnu.org> + * time/tzfile.c: Change return type of __tzstring to char *. + * time/tzset.c: Likewise. Change definition of __tzstring. - * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0. - * wcsmbs/wcsnrtombs.c: Likewise. + * time/tzset.c: Interpret no DST information in user provided time + zone specification as it is meant: no DST. + Patch by Paul Eggert <eggert@twinsun.com>. -1998-04-21 Ulrich Drepper <drepper@cygnus.com> +1997-07-20 03:01 Geoff Keating <geoffk@ozemail.com.au> - * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly. + * sysdeps/elf/dl-load.c (add_name_to_object): New procedure. + (_dl_map_object_from_fd): Use add_name_to_object. + (_dl_map_object): If an object's SONAME is used to resolve a + dependency, add it to the list of the object's names. - * wcsmbs/btowc.c (__btowc): Declare inptr as const char *. + * inet/getnameinfo.c: Make `domain' non-const. - * time/strftime.c (my_strftime): Initialize pad variable in - declaration. + * sysdeps/unix/sysv/linux/powerpc/kernel_termios.c: Clean up. - * iconvdata/big5.c: Don't use character constants in comparisons - with unsigned value. + * math/test-fenv.c (feenv_nomask_test): Don't execute if + FE_NOMASK_ENV is not defined, or if fesetenv(FE_NOMASK_ENV) + sets errno to ENOSYS. -1998-04-20 18:00 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/powerpc/dl-machine.h: Print proper error message on + unknown reloc type (rather than using assert). - * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and - __libc_siglongjmp to GLIBC_2.1. + * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: New file. + * sysdeps/unix/sysv/linux/powerpc/profil.c: Deleted. - * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use - __strerror_r. +1997-07-16 12:47 Geoff Keating <geoffk@ozemail.com.au> - * 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. + * sysdeps/powerpc/bits/fenv.h (feraiseexcept): New optimising macro. + (feclearexcept): New optimising macro. + (FE_NOMASK_ENV): Change to procedure so it can enable exceptions. + (FE_ENABLED_ENV): Add. + (FE_NONIEEE_ENV): Add. + * sysdeps/powerpc/bits/fenv_const.c: Add __fe_enabled_env, + __fe_nonieee_env; delete __fe_nomask_env. + * sysdeps/powerpc/bits/fe_nomask.c: New file (stub warning until it + gets implemented in the kernel). - * posix/getopt.c: Various cleanups. + * sysdeps/powerpc/fraiseenv.c: Deal with chips that don't have + FE_INVALID_SOFTWARE implemented. Use macros for bit names for clarity. + * sysdeps/powerpc/fsetexcptflag.c: 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. + * io/ftw.c: Don't compare holes in structures. + * sysdeps/unix/sysv/linux/sys/sysmacros.h: Cast the result of the + macros to `int', because otherwise it might be `long long' which + the calling code is probably not expecting. - * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp - and make longjmp weak alias. + * sysdeps/libm-ieee754/s_lround.c [NO_LONG_DOUBLE]: Fix a few bugs, + document the existence of some more. -1998-04-18 20:29 Philip Blundell <Philip.Blundell@pobox.com> + * sysdeps/powerpc/s_llrint.c: New file. + * sysdeps/powerpc/s_lrint.c: New file. + * sysdeps/powerpc/s_llround.c: New file. + * sysdeps/powerpc/s_lround.c: New file. - * 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. + * sysdeps/powerpc/s_sqrt.c: New file. + * sysdeps/powerpc/s_sqrtf.c: New file. + * sysdeps/powerpc/w_sqrt.s: New empty file. + * sysdeps/powerpc/w_sqrtf.s: New empty file. + * sysdeps/powerpc/t_sqrt.c: New file. + * sysdeps/powerpc/test-arithf.c: New file. + * sysdeps/powerpc/Makefile [subdir=math]: Add t_sqrt to support + routines. Add test-arithf to test programs. + + * sysdeps/powerpc/bits/mathdef.h: Add FP_ILOGB0, FP_ILOGBNAN. -1998-04-17 Gordon Matzigkeit <gord@profitpress.com> + * sysdeps/powerpc/strcmp.s: Simplify drastically. Now much neater, + and possibly faster (or possibly slower, depending on input). + +1997-06-08 22:55 Geoff Keating <geoffk@ozemail.com.au> + + * sysdeps/powerpc/fenvbits.h: Correct FE_DFL_ENV and FE_NOMASK_ENV + macros. + * sysdeps/powerpc/s_rint.c: New file. + +1997-05-22 08:47 Geoff Keating <geoffk@ozemail.com.au> + + * sysdeps/powerpc/Makefile [subdir=math]: Add q_* routines. + * sysdeps/powerpc/Dist: Add quad_float.h. + * sysdeps/powerpc/q_dtoq.c: New file. + * sysdeps/powerpc/q_itoq.c: New file. + * sysdeps/powerpc/q_lltoq.c: New file. + * sysdeps/powerpc/q_neg.c: New file. + * sysdeps/powerpc/q_qtoi.c: New file. + * sysdeps/powerpc/q_qtoll.c: New file. + * sysdeps/powerpc/q_qtos.c: New file. + * sysdeps/powerpc/q_qtou.c: New file. + * sysdeps/powerpc/q_qtoull.c: New file. + * sysdeps/powerpc/q_stoq.c: New file. + * sysdeps/powerpc/q_ulltoq.c: New file. + * sysdeps/powerpc/q_utoq.c: New file. + * sysdeps/powerpc/quad_float.h: New file. + * sysdeps/powerpc/test-arith.c: New file. + + * sysdeps/powerpc/fpu_control.h: Fix _FPU_GETCW. + * sysdeps/powerpc/fegetround.c: Use mcrfs to be faster and not + require a stack frame. + * sysdeps/powerpc/bits/fenv.h: Include inline macro for fegetround. + +1997-05-18 05:55 Geoff Keating <geoffk@ozemail.com.au> + + * sysdeps/powerpc/fenv_libc.h (fegetenv_register, + fesetenv_register): Add 'volatile'. + (set_fpscr_bit, reset_fpscr_bit): New macros, FPSCR_* + constants to use with them. + * sysdeps/powerpc/s_copysign.S: New file. + * sysdeps/powerpc/s_copysignf.s: New file. + * sysdeps/powerpc/s_fabs.S: New file. + * sysdeps/powerpc/s_fabsf.s: New file. + * sysdeps/powerpc/s_isnan.c: New file. + * sysdeps/powerpc/s_isnanf.s: New file. + * sysdeps/powerpc/s_rintf.c: New file. + + * sysdeps/powerpc/fenvbits.h: Make FE_INVALID the summary + bit in the FPSCR, not the enable bit. + * sysdeps/powerpc/fraiseexcpt.c: Consequent change to the above. + * sysdeps/powerpc/fclrexcpt.c: Correct. + * sysdeps/powerpc/fsetexcptflag.c: Correct. + * sysdeps/powerpc/ftestexcpt.c: Is now much simpler. + * sysdeps/powerpc/fgetexcptflg.c: Simplify. + + * sysdeps/powerpc/strlen.s: Schedule better, save 3 clocks :-). + + * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Add comment + explaining some reentrancy issues with lazy PLT entries. + +1997-08-09 13:04 Mark Kettenis <kettenis@phys.uva.nl> + + * login/logout.c (logout): utmpname returns -1 on error. + + * login/libutil.map: Remove updwtmp. + + * login/getutline.c: Rename getutline to __getutline and make + getutline a weak alias. Make getutxline a weak alias for + __getutline. + * login/getutid.c: Rename getutid to __getutid and make getutid a + weak alias. Make getutxid a weak alias for __getutid. + * libc.map: Add getutxid, getutxline. + + * login/utmpname.c (__utmpname): Reset backend right after backend + endutent call. + * login/utmp_file.c: Reordered functions. Remove unecessary + header files. + (getutent_r_file, pututline_file): Do not call setutent_file. At this + point the file is guaranteed to be open (assert!). + (getutid_r_file, getutline_r_file): Remove check for validity of file + descriptor. At this point the file is guaranteed to be open. + (getutent_r_file, internal_getut_r, getutline_r_file, pututline_file, + updwtmp_file): Do not wait when unlocking file. + * login/utmp_daemon.c: General cleanup and a bit of reordering. + (getutent_r_daemon, pututline_daemon): Do not call setutent_daemon. + At this point the socket is guaranteed to be open (assert!). + (getutid_r_daemon, getutline_r_daemon): Do not check if daemon_sock is + valid. At this point the socket is guaranteed to be open (assert!). + * login/getutline_r.c: Remove unnecessary header files. + (__getutline_r): Do not call backend setutent. + * login/getutid_r.c: Remove unnecessary header files. + (__getutid_r): Do not call backend setutent. + * login/getutent_r.c: Remove unneccesary header files. + (__libc_utmp_unknown_functions): Added getutid_r_unknown, + getutline_r_unknown. + (setutent_unknown): Only set file backend if setutent for the file + backend was successful. + (getutent_r_unknown, pututline_unknown): Call setutent_unknown instead + of __setutent. Report failure if no backend was selected. + (getutid_r_unknown): New function. + (getutline_r_unknown): New function. + (__endutent): Reset backend. This makes sure all backends are checked + on the next setutent call. + +1997-08-08 20:20 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + + * nis_cache.c: Replace dummy functions. + + * libc.map: Add xdr_sizeof symbol. + + * sunrpc/Makefile: Add xdr_sizeof to routines. + * sunrpc/rpc/xdr.h: Add xdr_sizeof prototype. + * sunrpc/xdr_sizeof.c: New, from tirpc 2.3. + +1997-08-08 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + + * sysdeps/mach/bits/libc-lock.h (__libc_once): Define correctly. + +1997-08-07 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + + * sysdeps/mach/hurd/profil.c (fetch_samples): Put parens in the + right place. + +1997-08-06 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + + * sysdeps/mach/hurd/profil.c (fetch_samples): Do arithmetic on + PC's in long long to avoid overflow. + +1997-08-07 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + + * sysdeps/mach/bits/libc-lock.h (__libc_once, __libc_once_define): + New macros. - * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that - we can compile without libio. +1997-08-06 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-04-20 16:28 Ulrich Drepper <drepper@cygnus.com> + * nis/Makefile (headers): Remove bits/nislib.h. - * sysdeps/mach/hurd/Subdirs: Remove login. +1997-08-06 14:54 Ulrich Drepper <drepper@cygnus.com> -1998-04-11 Gordon Matzigkeit <gord@profitpress.com> + * sysdeps/mach/hurd/Subdirs: Add login. - * db2/compat.h: Include <errno.h>, to make sure we get the - definition of EFTYPE before we define it ourselves. +1997-08-06 14:23 Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de> -1998-04-10 Gordon Matzigkeit <gord@profitpress.com> + * db/hash/hash.c (init_hash): Don't use stat() if it doesn't provide + the preferred block size. - * 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. + * login/programs/database.c (store_state_entry): Don't compile if + there is no ut_type field. + (store_state_entry, store_process_entry): Use the ut_tv field + for timestamps if supported. -1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * login/programs/utmpdump.c (print_entry): Always use ut_tv field. - * iconvdata/*.[ch]: Clean up namespace. Optimize character lookup. + * login/programs/xtmp.c: Fix numerous xtmp/utmp typos. Use the ut_tv + field for timestamps if supported. -1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * login/programs/xtmp.h: Fix xtmp/utmp typo. - * libc.map: Export __strerror_r. Remove _strerror_internal. + * sysdeps/posix/defs.c (stdstream): Change (PTR) to (void *). -1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/stub/connect.c (connect): Change to __connect, add alias. + * sysdeps/stub/send.c (send): Likewise. + * sysdeps/stub/s_exp2f.c: Emit correct stub_warning(). + * sysdeps/stub/statfs.c: Move stub_warning() to the usual place. + * sysdeps/stub/init-first.c: Add definition of __libc_pid. - * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr. - Also undefine __strcasestr. +1997-08-05 13:28 Philip Blundell <pb@spring.nexus.co.uk> -1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/standalone/arm/bits/errno.h: Add EISDIR, EOPNOTSUPP; + tidy up formatting. - * posix/regex.c: Rename __re_max_failures back to re_max_failures, - aliases do not work with global variables due to copy relocations. + * Makefile (subdirs): Remove `login'. + * sysdeps/unix/Subdirs: New file; build `login' subdirectory + for Unix systems. -1998-04-20 15:12 Ulrich Drepper <drepper@cygnus.com> +1997-08-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * manual/creature.texi: Fix type. Patch by Andreas Schwab. + * sysdeps/generic/bits/utmpx.h: New file. -1998-04-20 13:47 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/mach/hurd/Dist: Add some files. + * sysdeps/mips/Dist: Likewise. + * sysdeps/mips/mips64/Dist: Likewise. + * sysdeps/sparc/Dist: Likewise. + * sysdeps/unix/sysv/linux/mips/Dist: Likewise. + * sysdeps/unix/sysv/linux/sparc/Dist: Likewise. + * sysdeps/mips/mipsel/Dist: New file. + * sysdeps/sparc64/elf/Dist: New file. + * sysdeps/unix/sysv/linux/sparc64/Dist: New file. - * 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>. +1997-08-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-04-13 Mark Kettenis <kettenis@phys.uva.nl> + * libc.map: Add missing symbols. - * 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. +1997-08-05 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * iconvdata/8bit-gap.c: Correct access to to_ucs4 array. - * iconvdata/8bit-generic.c: Likewise. + * manual/socket.texi: Correct typos. - * iconvdata/TESTS: Add more tests. + * manual/math.texi: Correct typos. - * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used. + * manual/time.texi (Formatting Date and Time): Likewise. -1998-04-15 11:47 Ulrich Drepper <drepper@cygnus.com> +1997-08-04 13:06 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - * iconvdata/Makefile: Better rules to run tests. + * gmon/gmon.c (write_gmon): New function; guts from _mcleanup. + (_mcleanup): Use write_gmon. + (write_profiling): This function can be safely called at any time + to write a current histogram without interfering with ongoing + profiling. - * 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. + * sysdeps/mach/hurd/profil.c (fetch_samples): Initialize NSAMPLES. -1998-04-15 Ulrich Drepper <drepper@cygnus.com> +1997-08-01 17:53 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare - intermediate result (if available). + * sysdeps/mach/hurd/profil.c (fetch_samples): Sample buffer need + not be vm_deallocated; it's a stack buffer. + (profil_vm_deallocate): Delete prototype. + (#include <../mach/RPC_vm_deallocate_rpc.c>): Drop this + inclusion. + * sysdeps/mach/hurd/Makefile + ($(common-objpfx)hurd/../mach/RPC_vm_deallocate_rpc.c): Delete + this rule. + + * sysdeps/mach/hurd/profil.c (fetch_samples): New function, guts + from profile_waiter. + (profile_waiter): Use fetch_samples. + (profil): When turning off profiling, fetch the last bunch of + samples before disabling PC sampling. + (fetch_samples): Add prototype. + +1997-07-30 12:53 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + + * sysdeps/mach/hurd/Makefile: Give normal rules for the mach RPC + source included by profil.c instead of trying to use + before-compile grot. + +1997-07-23 15:04 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + + * sysdeps/mach/hurd/profil.c (profile_waiter): Do vm_deallocate + after releasing lock. Use special RPC stubs and avoid assert, + thus making this function entirely independent of the threadvar + mechanism and of cthreads. + (lock): Convert to be a spin lock instead of a mutex, so that the + waiter thread need not use cthreads. Use a fork prepare hook + instead of _hurd_fork_locks to make sure we are clean before + forking. + (fork_profil_child): Renamed from fork_profil. + (profil_reply_port): New variable. + (profil_vm_deallocate, profil_task_get_sampled_pcs): Special RPC + stubs made by special hacks. + * sysdeps/mach/hurd/Makefile (before-compile): Add the mach RPC + source files that profil.c needs if we are in the gmon directory. + + * mach/setup-thread.c (__mach_setup_thread): Delete avoidance of a + cthreads bug that hasn't existed for two years. + +1997-08-04 15:29 Ulrich Drepper <drepper@cygnus.com> + + * locale/programs/localedef.c (main): Set bit in avail for those + categories which are successfully read. + * locale/programs/locfile.c (check_all_categories): Don't check + categories if they are not available. + (write_all_categories): Don't write categories if they are not + available. - * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in - last change. + * login/setutent_r.c (setutent_unknown): Change return type to + int and return result of called function. + + * manual/arith.texi: Mark floating-point test macro from ISO C 9X + as macros (not functions). + * manual/libc.texinfo (UPDATED): Update. + * manual/math.texi: Document exceptions, functions to handle + exceptions, mathematical constants, FP comparison functions + and several new functions from ISO C 9X. + Change parameter of drand48, lrand48, and mrand48 to void (not + empty). + * manual/pattern.texi: Remove paragraph which explained that wordexp + is executed by running a shell. + * manual/time.texi: Explain difficulties with strftime if the + functions returns 0 and no error occurred. + + * math/math.h: Correct comment for some M_* constants. + (isgreater, isgreaterequal, isless, islessequal, islessgreater, + inunordered): Rewrite to make sure the arguments are evaluated + exactly once. + + * nis/rpcsvc/nis.x: Undo last change. + * nis/rpcsvc/nis.h: Likewise. + * nis/rpcsvc/nislib.h: File moved back to here. + + * posix/sys/types.h: Don't define socklen_t. Pretty print. + * socket/sys/socket.h (bind, getsockname, connect, sendto, recvfrom, + getsockopt, setsockopt, accept): Change size argument to type + socklen_t. + Pretty print. + * manual/socket.texi: Describe socklen_t and change prototypes of + socket functions to use socklen_t. + * sysdeps/generic/bits/socket.h: Define socklen_t. + (struct msghdr): Correct types to use socklen_t. + * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. - * iconvdata/Makefile: Add rules to run run-iconv-test.sh. - (distribute): Add run-iconv-test.sh and testdata/*. + * stdio-common/printf_fp.c (__printf_fp): Correct rounding of numbers + 1.0 < x < 8.0. + * stdio-common/tfformat.c: Add new tests for above bug. - * stdlib/testmb.c (main): Simplify mbc array handling. + * stdlib/strtod.c: Fix typo. -1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * string/Makefile (headers): Add bits/string.h. + (CFLAGS-*): Add -D__NO_STRING_INLINES. + * string/string.h: Include <bits/string.h> if optimizing and + __NO_STRING_INLINES is not defined. + * sysdeps/stub/bits/string.h: New file. - * elf/dl-minimal.c (__strtol_internal): Correct range check. Fix - return value on overflow. + * sysdeps/powerpc/bits/fenv.h: Fix typos. -1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/if_index.c: Let functions return ENOSYS + if SIOGIFINDEX is not defined. - * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64 - bits. + * sysdeps/wordsize-32/inttypes.h: Pretty print. + * sysdeps/wordsize-64/inttypes.h: Pretty print. -1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * termios/cfsetspeed.c: Rewrite loop to do what it shall do. - * malloc/mtrace.c (mtrace): Use standard function setvbuf instead - of non-standard function setbuffer. + * wcsmbs/Makefile (tests): Add tst-wcstof. + * wcsmbs/tst-wcstof.c: New file. -1998-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-08-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * stdio-common/perror.c: Include <string.h> for __strerror_r. + * sysdeps/m68k/__longjmp.c: Replace call to abort by infinite + loop, to avoid dragging stdio into the dynamic linker. -1998-04-14 23:54 Ulrich Drepper <drepper@cygnus.com> +1997-08-02 19:44 H.J. Lu <hjl@gnu.ai.mit.edu> - * 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. + * nis/nis_findserv.c (xid, xid_seed, xid_lookup): Make them + u_int32_t. - * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream, - not stdout. +1997-08-03 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-04-14 18:22 Ulrich Drepper <drepper@cygnus.com> + * posix/wordexp.c (parse_tilde): Fix calls to __getpwnam_r and + __getpwuid_r. + Include <stdio.h> to get prototypes of *printf. + (exec_comm): Remove unneeded variable *sh. - * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize - counter element of step. + * libc.map: Add wordexp, wordfree. - * iconv/gconv_dl.c: Don't mark get_sym as internal function. + * posix/Makefile (routines): Add wordexp. - * 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. +1997-08-03 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-04-14 Ulrich Drepper <drepper@cygnus.com> + * posix/wordexp.c: Correct typo in comment. + (wordexp): Likewise. - * Makefile: Include makeconfig before defining rule to regenerate - configure files. + * manual/errno.texi (Error Codes): Fix typo. - * configure.in: Remove restriction on compiling without static - libs. +1997-08-03 15:28 Ulrich Drepper <drepper@cygnus.com> -1998-04-14 16:34 Ulrich Drepper <drepper@cygnus.com> + * csu/initfini.c (SECTION): Don't put quotes around section name + since this is not understood by all assemblers. + Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>. - * 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. +1997-08-02 21:27 Ulrich Drepper <drepper@cygnus.com> - * 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. + * inet/Makefile (headers): Rename netinet/inbits.h to bits/in.h. + * inet/netinet/in.h: Include bits/in.h instead of netinet/inbits.h. + * sysdeps/generic/netinet/inbits.h: Move to... + * sysdeps/generic/bits/in.h: ... here. + * sysdeps/unix/sysv/linux/bits/inbits.h: Move to ... + * sysdeps/unix/sysv/linux/bits/in.h: ... here. - * 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. + * nis/Makefile (headers): Add bits/nislib.h. + * nis/rpcsvc/nislib.h: Moved to .... + * nis/bits/nislib.h: ... here. -1998-04-14 Ulrich Drepper <drepper@cygnus.com> + * nis/nss_compat/compat-grp.c: Don't include <rpcsvc/nislib.h>. + * nis/nss_compat/compat-pwd.c: Likewise. + * nis/nss_compat/compat-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-ntework.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. - * catgets/open_catalog.c (__open_catalog): Fix problems with - reading non-files. Always close file. - Reported by Cristian Gafton <gafton@redhat.com>. + * nis/rpcsvc/nis.x: Include bits/nislib.h, not rpcsvc/nislib.h. + * nis/rpcsvc/nis.h: Likewise. - * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings. + * inet/getnameinfo.c (nrl_domainname): Change return type to const + char *. + (getnameinfo): Change type of local variable c to const char *. -1998-04-14 13:28 Ulrich Drepper <drepper@cygnus.com> + * inet/inet_ntoa.c: Rewrite to use __libc_once for initialization. + * stdlib/fmtmsg.c: Likewise. - * libc.map: Add various low-level I/O functions. + * intl/bindtextdom.c: Update from latest gettext. + * intl/dcgettext.c: Likewise. + * intl/finddomain.c: Likewise. + * intl/l10nflist.c: Likewise. + * intl/localealias.c: Likewise. + * intl/textdomain.c: Likewise. -1998-04-14 10:35 Ulrich Drepper <drepper@cygnus.com> + * login/getutid_r.c: Remove parameter to setutent call. + * login/getutline_r.c: Likewise. - * 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. + * posix/wordexp.c: Complete rewrite. Not fully implemented yet, + though. Patch by Tim Waugh <tim@cyberelk.demon.co.uk>. -1998-04-10 Mark Kettenis <kettenis@phys.uva.nl> + * stdio-common/printf_fp.c: Remove relative include paths. + * stdio-common/printf_fphex.c: Likewise. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] - (sysdep_headers): Add netatalk/at.h. + * sysdeps/generic/crypt.h: Cleanup. Don't define non standard + elements unless __USE_GNU. -1998-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/generic/vlimit.c: Pretty print. + * sysdeps/generic/vtimes.c: Likewise. - * manual/socket.texi, manual/creature.texi, manual/time.texi: - Formatting fixes. + * sysdeps/i386/elf/bsd-_setjmp.S: New file. Empty dummy file. + * sysdeps/i386/elf/bsd-setjmp.S: New file. Empty dummy file. + * sysdeps/i386/elf/setjmp.S: New file. Define __setjmp and also + weak definitions of setjmp and _setjmp. -1998-04-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/i386/fpu/bits/mathinline.h: More patches by John Bowman. - * 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. + * sysdeps/stub/if_index.h: Set errno in all functions and add + stub warnings. -1998-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/stub/libc-lock.h: Add __libc_once. - * configure.in: Document that enable-force-install is default. +1997-08-02 01:57 Ulrich Drepper <drepper@cygnus.com> -1998-04-13 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/ptrace.c: Don't set errno in error + case since the __syscall_ptrace call already did this. + Reported by Philip Gladstone <philip@talon.raptor.com>. - * sysdeps/posix/mktemp.c: Increment `value' in a way which touches - all needed 36 bits. - * sysdeps/posix/mkstemp.c: Likewise. +1997-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-04-13 17:40 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/sys/fsuid.h: Change include + <gnu/types.h> to <sys/types.h>. - * 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. +1997-08-01 23:18 Ulrich Drepper <drepper@cygnus.com> -1998-04-13 16:36 Ulrich Drepper <drepper@cygnus.com> + * csu/defs.awk: Fix regexp for end and align. + Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>. - * manual/texinfo.texi: Updated from last version. + * locale/programs/locale.c (print_escaped): New function. + (show_info): Use print_escaped if strings can control unprintable + characters. + Patch by Jochen Hein <jochen.hein@delphi.central.de>. -1998-04-13 14:52 Ulrich Drepper <drepper@cygnus.com> +1997-08-01 18:45 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - * 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. + * nis/nss_nisplus/nisplus-alias.c: Fix NULL pointer problems + * nis/nss_nisplus/nisplus-grp.c: Likewise. - * iconvdata/eucjp.c: Several bug fixes and improvements. - * iconvdata/gb2312.h: Likewise. - * iconvdata/jis0201.h: Likewise. - * iconvdata/jis0208.h: Likewise. - * iconvdata/jis0212.h: Likewise. +1997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-04-13 09:11 Ulrich Drepper <drepper@cygnus.com> + * elf/dl-profile.c (_dl_start_profile): Use _dl_sysdep_error + instead of fprintf. - * 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. +1997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * iconvdata/euckr.c: Use stdint.h instead of inttypes.h. + * manual/socket.texi (Host Address Functions): Fix arguments of + @deftypefun. -1998-04-12 Ulrich Drepper <drepper@cygnus.com> +1997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c - (DL_FIND_ARG_COMPONENTS): Always initialize auxv. - Patch by Mark Hatle <fray@kernel.crashing.org>. + * elf/dl-runtime.c: Avoid warning about profile_fixup being + unused. -1998-04-12 22:47 Philip Blundell <Philip.Blundell@pobox.com> + * sysdeps/m68k/dl-machine.h: Add support for shared library + profiling. - * 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. +1997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-04-12 Ulrich Drepper <drepper@cygnus.com> + * md5-crypt/Makefile (extra-objs): Add onlymd5-crypt.o for + dependencies. - * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations. +1997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * iconvdata/Makefile: Add rules for big5 conversion. - * iconvdata/gconv-modules: Likewise. - * iconvdata/big5.c: New file. + * Make-dist (subdirs): Distribute both aout and elf. - * time/mktime.c (TYPE_MAXIMUM): Add missing cast. - Patch by Jim Meyering. +1997-07-31 23:04 Mark Kettenis <kettenis@phys.uva.nl> -1998-04-11 Ulrich Drepper <drepper@cygnus.com> + * login/utmp-private.h: Remove reset argument from backend + setutent. + * login/getutent_r.c (__setutent): Allways call the setutent + function in the daemon backend. + (setutent_unknown): Function removed. + (getutent_unknown, pututline_unknown): Call __setutent instead of + setutent_unknown. + * login/utmp_file.c (setutent_file): Removed reset argument. All + callers changed. + * login/utmp_daemon.c (setutent_daemon): Removed reset + argument. All callers changed. Try to open connection even if a + previous connection failed, but first check if the sockets exist + in the filesystem. + + * login/utmp_daemon.c (pututline_daemon): Try to open connection + before reporting failure. + + * login/programs/database.c (open_database): Create compatibility + file if it does not already exist. Supply mode argument in open + calls to guarantee that created files have the proper protection. + + * login/programs/utmpd.c (main): Remove files created by a + previous `bind' before creating sockets. + Suggested by a sun <asum@zoology.washington.edu>. + +1997-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * math/libm-test.c: Remove unneeded function check_int_exec. + + * BUGS: Correct typos. + + * gmon/gmon.c: Add alias for monstartup, declare _strerror_internal. + +1997-07-30 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * manual/socket.texi (Host Address Functions): Reformat inet_ntop + entry to confirm with expected behaviour of some scripts. + + * libc.map: Add functions/variables in global namespace, + remove wildcards. + +1997-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * resolv/libresolv.map: Add variables and routines used by named, + nslookup and other bind utils. + * libc.map: Likewise. + +1997-07-31 00:35 Philip Blundell <Philip.Blundell@pobox.com> + + * sysdeps/unix/sysv/linux/if_index.c: Rewrite to avoid using /proc + filesystem. + * inet/test_ifindex.c: New file. + * inet/Makefile (tests): Add test_ifindex. + +1997-08-01 04:25 Ulrich Drepper <drepper@cygnus.com> + + * nis/nss_nisplus/nisplus-parser.c: Fix another bug in the parser. + Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>. + + * manual/errno.texi: Fix typo. + Reported by Erik Talvola <etalvo@sapient.com>. + +1997-07-28 23:35 Ulrich Drepper <drepper@cygnus.com> + + * csu/gmon-start.c (__gmon_start__): Call __monstartup not + monstartup. + * gmon/gmon.c: Rename moncontrol to __moncontrol and monstartup + to __monstartup. + * gmon/sys/gmon.h: Fix prototypes. + * gmon/sys/gmon_out.h: Pretty print. + + * gmon/bb_exit_func.c (__bb_exit_func): Use memcpy instead of bcopy. + * gmon/gmon.c (__monstartup): Likewise. + (write_hist): Remove dependency on 32 bit int. + (_mcleanup): Don't call perror, use fprintf. + + * elf/dl-load.c: Fix handling of current directory in search path. + + * elf/Makefile (dl-routines): Add dl-profile. + * elf/dl-profile.c: New file. + * elf/dl-runtime.c (fixup): Add new parameter with address to store + relocation result in to elf_machine_relplt. + (profile_fixup): New function. + * elf/do-rel.h (elf_dynamic_do_rel): Add new parameter with address + to store relocation result in to elf_machine_relplt. + * elf/dl-support.c: Define _dl_profile and _dl_profile_map. + * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Add new parameter and + call elf_machine_runtime_setup with extra argument. + * elf/dl-reloc.c (_dl_relocate_object): Add new argument to + ELF_DYNAMIC_RELOCATE. + * elf/link.h: Add prototypes for new functions and variables. + * elf/rtld.c: Parse LD_PROFILE and LD_PROFILE_OUTPUT environment + variables and call _dl_start_profile if necessary. + * include/sys/gmon_out.h: New file. + * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Add + new parameter to enable profiling. + (elf_machine_rela): Add new parameter to specify place to store + result in. + * sysdeps/m68k/dl-machine.h: Likewise. + * sysdeps/mips/dl-machine.h: Likewise. + * sysdeps/mips/mips64/dl-machine.h: Likewise. + * sysdeps/powerpc/dl-machine.h: Likewise. + * sysdeps/sparc/dl-machine.h: Likewise. + * sysdeps/sparc64/dl-machine.h: Likewise. + * sysdeps/i386/dl-machine.h: Likewise. + (elf_machine_runtime_setup): Setup got[2] to _dl_runtime_resolve if + we do profiling. + (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add code for _dl_runtime_profile. - * rt/tst-aio.c: Add test for aio_read and lio_listio. + * nis/nss_compat/compat-grp.c (internal_setgrent): Set FD_CLOEXEC + for stream on input file. + * nis/nss_compat/compat-pwd.c (internal_setpwent): Likewise. + * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise. + * nss/nss_db/db-XXX.c (internal_setent): Likewise. + * nss/nss_db/db-alias.c (internal_setent): Likewise. + * nss/nss_db/db-netgrp.c (internal_setent): Likewise. + * nss/nss_files/files-XXX.c (internal_setent): Likewise. + * nss/nss_files/files-alias.c (internal_setent): Likewise. + * nss/nss_files/files-netgrp.c (internal_setent): Likewise. - * rt/lio_listio.c: Correct total counter handling. + * string/string.h: Pretty print. - * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements - from request queue. + * sysdeps/i386/fpu/bits/mathinline.h: Major update by John Bowman. + Add float and long double versions. - * test-skeleton.c (main): Make stdout unbuffered. Improve message - of signal on exit even more. +1997-07-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * elf/rtld.c (print_unresolved): Replace empty object name by main + program name. - * nis/nis_findserv.c: Include sys/socket.h. +1997-07-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-04-11 09:33 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/generic/htons.c (htons): Renamed from __htons. - * Makeconfig (rtobjdir): New variable. - (rpath-link): Add rtobjdir and thread directory, if available. +1997-07-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * test-skeleton.c: Add support to remove temporary files. - Always define test_dir. Improve message about expected signal. + * sysdeps/m68k/bits/byteswap.h: New file. - * 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. +1997-07-27 23:50 Philip Blundell <Philip.Blundell@pobox.com> - * 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. + * inet/netinet/icmp6.h: Update for new drafts of POSIX.1g and IPv6 + advanced API. + * inet/netinet/in.h: Likewise. + * inet/netinet/ip6.h: Likewise. + * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. + * posix/sys/types.h: Add socklen_t. -1998-04-11 14:49 Mark Kettenis <kettenis@landau.phys.uva.nl> + * manual/socket.texi: Document some more IPv6 things. + * manual/libc.texinfo: Likewise. - * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0. +1997-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-04-10 Ulrich Drepper <drepper@cygnus.com> + * libc.map: Define missing symbol. - * elf/dl-load.c (open_path): Use correct name for test whether - directory in load path exists. +1997-07-27 14:31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - * 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>. + * nis/Makefile: Add nis_findserv. + * nis/lckcache.c: Fix typo. + * nis/nis_call.c: Fix problems with multihomed servers. + * nis/nis_findserv.c: New file. + * nis/nis_intern.h: Add more prototypes. + * nis/nis_lookup.c (nis_lookup): Don't try the next server if network + is unreachable. + * nis/nis_table.c (nis_list): Likewise. + * nis/nis_ping.c (nis_ping): Use MASTER_ONLY, don't call abort() + in error case. + * nis/nis_util.c (__nis_finddirectory): Give the right error code + back. + * nis/ypclnt.c: Make sure, that all sockets are closed. - * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal. - * wcsmbs/wcstod_l.c: Likewise. - * wcsmbs/wcstold_l.c: Likewise. +1997-07-26 04:14 Ulrich Drepper <drepper@cygnus.com> - * include/byteswap.h: New file. + * elf/Makefile (distribute): Add genrtldtbl.awk. + (before-compile): Add rtldtbl.h. + (GAWK): New variable. + (generated): Add trusted-dirs.h and rtldtbl.h. + ($(objpfx)rtldtbl.h): New rule. File is needed by dl-load.c. + * elf/dl-load.c: Rewrite. Now use cache and look for shared + objects in machine dependent directories. + * elf/dl-object.c (_dl_new_object): Initialize l_rpath_dirs member. + * elf/dl-support.c: Rename function to non_dynamic_init and add + initialization for _dl_platform, _dl_platformlen, _dl_pagesize + and call to initializer for search path. + * elf/elf.h: Add AT_PLATFORM and AT_HWCAP. + * elf/genrtldtbl.awk: New file. + * elf/link.h: Add type definitions and declarations for search + path cache. + * elf/rtld.c: Add definitions of variables used for search path cache. + * sysdeps/generic/dl-sysdep.c: Let auxiliary vector initialize + _dl_platform. Initialize _dl_pagesize early and use this value. + * sysdeps/i386/dl-machine.h: Add code for _dl_platform handling. + * sysdeps/mach/hurd/dl-sysdep.c: Initialize _dl_pagesize. + * sysdeps/unix/sysv/linux/dl-sysdep.c: Use _dl_pagesize instead + of calling getpagesize. - * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce - .bss segment size. Patch by Joe Keane <jgk@jgk.org>. + * elf/dl-error.c (_dl_signal_error): Make message nicer. - * inet/getnameinfo.c (getnameinfo): Change parameter to match - declaration. Patch by Richard Henderson. + * nss/libnss_files.map: Fix typo. + Reported by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>. -1998-04-10 12:40 Zack Weinberg <zack@rabi.phys.columbia.edu> + * sysdeps/generic/strsep.c: Optimize case where separator set contains + only one character. - * manual/process.texi (SIGCHLD example): Save errno. + * sysdeps/libm-ieee754/s_ccosh.c: Correct sign of result for real + == +-Inf. + * sysdeps/libm-ieee754/s_ccoshf.c: Likewise. + * sysdeps/libm-ieee754/s_ccoshl.c: Likewise. -1998-04-09 Ulrich Drepper <drepper@cygnus.com> +1997-07-25 09:15 H.J. Lu <hjl@gnu.ai.mit.edu> - * posix/regex.c: Define regerror really as __regerror. - * posix/regex.h: Add __ protected prototypes for regcomp, regexec, - regerror and regfree. + * sysdeps/sparc/udiv_qrnnd.S: Check PIC instead of __PIC__. + * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Likewise. + * sysdeps/unix/mips/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/mips/clone.S: Likewise. - * stdlib/strtof_l.c: Declare ____strtoull_l_internal. - * stdlib/strtod_l.c: Likewise. - * stdlib/strtold_l.c: Likewise. + * sysdeps/mips/bsd-_setjmp.S: Remove __PIC__ comment. + * sysdeps/mips/bsd-setjmp.S: Likewise. - * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros. + * sysdeps/mips/dl-machine.h: Remove extra stuff. + * sysdeps/mips/mips64/dl-machine.h: Likewise. - * sysdeps/i386/i486/bits/string.h: Remove unused variables. +1997-07-25 18:55 Philip Blundell <Philip.Blundell@pobox.com> - * misc/syslog.c (closelog_internal): Set LogTag to NULL. - Patch by Christian Gafton. + * sysdeps/standalone/arm/sysdep.c: New file. -1998-04-09 14:27 Ulrich Drepper <drepper@cygnus.com> +1997-07-25 13:25 Philip Blundell <Philip.Blundell@pobox.com> - * manual/socket.texi (Interface Naming): Correct @deftypefun line - for if_indextoname. + * aout/Makefile: New file. + * Makeconfig (binfmt-subdir): Assume a.out when not ELF. -1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/generic/machine-gmon.h: Add warning about limitations of + __builtin_return_address(). + * sysdeps/arm/machine-gmon.h: New file, use assembly to avoid + above problem. - * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message. +1997-07-25 16:24 H.J. Lu <hjl@gnu.ai.mit.edu> - * manual/socket.texi (Interface Naming): Fix typo. + * elf/dl-deps.c (_dl_map_object_deps): Fix a typo. -1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-07-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * manual/examples/filesrv.c (main): Remove filename first. + * math/libm-test.c (ccos_test, ccosh_test): Fix sign in some + tests. - * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE, - ?F_UNIX. +1997-07-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL - instead of PF_UNIX. + * sunrpc/clnt_udp.c (clntudp_call): Rename cu_wait from timeout to + not shadow the variable in the outer scope. - * manual/examples/filecli.c (main): Use AF_LOCAL - instead of AF_UNIX. +1997-07-24 03:14 Ulrich Drepper <drepper@cygnus.com> -1998-04-09 Ulrich Drepper <drepper@cygnus.com> + * elf/dl-deps.c: Complete rewrite to handle DT_AUXILIARY correctly. - * 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. + * inet/Makefile (tests): Add htontest. + * inet/htontest.c: New file. - * login/utmp_daemon.c (open_socket): Use __connect not connect. + * inet/netinet/in.h: Cleanup optimization of ntoh/hton functions + when they are no noops. + * sysdeps/alpha/htonl.S: Don't define __ protected names. + * sysdeps/alpha/htons.S: Likewise. + * sysdeps/generic/htonl.c: Likewise. + * sysdeps/generic/htons.c: Likewise. + * sysdeps/i386/htonl.S: Likewise. + * sysdeps/i386/htons.S: Likewise. + * sysdeps/i386/i486/htonl.S: Likewise. + * sysdeps/vax/htonl.s: Likewise. + * sysdeps/vax/htons.s: Likewise. -1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * string/Makefile (headers): Add byteswap.h and bits/byteswap.h. + * string/byteswap.h: New file. + * sysdeps/generic/bits/byteswap.h: New file. + * sysdeps/i386/bits/byteswap.h: New file. + * sysdeps/generic/bits/htontoh.h: Removed. + * sysdeps/i386/bits/htontoh.h: Removed. - * 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. + * misc/search.h: General cleanup. Don't define reentrant hsearch + functions uless __USE_GNU. -1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * nss/nsswitch.c: Pretty print. - * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default - alloc_size. Pass return value of getcwd syscall to realloc. + * sunrpc/clnt_udp.c (clntudp_call): Initialize outlen to prevent + warning. -1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/i386/sysdep.h (DO_CALL): Use lcall, binutils have + been fixed meanwhile. + Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>. - * manual/socket.texi: Spelling fixes. +1997-07-24 00:53 Philip Blundell <Philip.Blundell@pobox.com> -1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * db/hash/hash.c (init_hash): Only use statbuf.st_blksize if it + exists for this port. - * elf/dl-load.c (print_search_path): Remove unused variable. +1997-07-24 00:12 Philip Blundell <Philip.Blundell@pobox.com> -1998-04-08 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/standalone/arm/bits/errno.h (ESTALE): Add. - * 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. +1997-07-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -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. + * manual/argp.texi (Argp Option Vectors): Use @minus, not @math, + to format a proper minus sign. - * 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. +1997-07-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-04-07 20:32 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/m68k/fpu/fraiseexcpt.c: Don't handle FE_INEXACT + specially, the standard doesn't require it. - * 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. + * math/test-fenv.c (test_exceptions): Add IGNORE_INEXACT argument, + if non-zero then don't test inexact flag. Callers changed. + (set_single_exc): Ignore inexact flag if underflow or overflow + exception is raised. - * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute - position of next output character correctly. - (__gconv_transform_ucs4_ascii): Count used input bytes correctly. +1997-07-23 05:10 Ulrich Drepper <drepper@cygnus.com> - * stdio-common/vfprintf.c (vfprintf): Clear state before used. + * sysdeps/unix/sysv/linux/sys/fsuid.h: New file. + Provided by Michael Deutschmann <ldeutsch@mail.netshop.net>. + * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/fsuid.h. + * sysdeps/unix/sysv/linux/Dist: Add sys/fsuid.h. - * stdlib/strtod.c: Don't use mbtowc. +1997-07-16 10:09 Fila Kolodny <fila@ibi.com> -1998-04-07 19:07 H.J. Lu <hjl@gnu.org> + * resolv/gethnamaddr.c: Define MAXHOSTNAMELEN as 256, since RFC 1034 + and 1035 state that a fully qualified domain name cannot exceed 255 + octets in length. + * resolv/nss_dns/dns-host.c: Likewise. - * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when - what we want is smaller than a buffer. +1997-07-22 09:54 H.J. Lu <hjl@gnu.ai.mit.edu> -1998-04-07 18:14 Ulrich Drepper <drepper@cygnus.com> + * inet/netinet/in.h (htons): Fix typos. - * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of - this function. + * sysdeps/i386/bits/htontoh.h (__ntohs): Return the value. -1998-04-07 Ulrich Drepper <drepper@cygnus.com> +1997-07-22 11:47 Ulrich Drepper <drepper@cygnus.com> - * 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. + * nss/nsswitch.c (nss_lookup_function): Include function.def, not + functions.def. + Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>. -1998-04-07 19:03 Zack Weinberg <zack@rabi.phys.columbia.edu> +1997-07-22 01:35 Ulrich Drepper <drepper@cygnus.com> - * glibcbug.in: On linux, report version of kernel headers seen - by compiler. + * Makerules (+make-deps): Use $(CFLAGS) in run of $(+mkdep) so + that optimizing is also selected for dependency generation. -1998-04-07 16:18 Ulrich Drepper <drepper@cygnus.com> + * configure.in: Add machine description for TI c[34]x. - * 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. + * inet/Makefile (routines): Remove ntohl and ntohs. + * inet/netinet/in.h: Use optimized version of hton? and ntoh? + for little endian machines. + * sysdeps/alpha/ntohl.s: Removed. + * sysdeps/alpha/ntohs.s: Removed. + * sysdeps/generic/ntohl.c: Removed. + * sysdeps/generic/ntohs.c: Removed. + * sysdeps/generic/htonl.c: Add aliases for ntohl. + * sysdeps/vax/htonl.s: Likewise. + * sysdeps/generic/htons.c: Add aliases for ntohs. + * sysdeps/vax/htons.s: Likewise. + * sysdeps/vax/ntohl.s: Removed. + * sysdeps/vax/ntohs.s: Removed. + * sysdeps/generic/bits/htontoh.h: New file. + * sysdeps/i386/htonl.S: New file. + * sysdeps/i386/htons.S: New file. + * sysdeps/i386/i486/htonl.S: New file. - * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends) - to avoid inclusion from libc_pic.a. + * sysdeps/i386/fpu/bits/mathinline.h: Correct and optimized compare + macros. - * elf/dl-runtime.c: Undo last patch. + * sysdeps/mips/dl-machine.h: Remove mips64 dependent parts. + * sysdeps/mips/mips64/dl-machine.h: New file. - * stdlib/strtod.c: Don't use mbtowc, use btowc. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't install + syscall-list.h. - * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386" - as default, use NULL. +1997-07-12 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * libc.map: Add missing symbol _obstack. - * resolv/Makefile: Include ../Makeconfig - needed for building - static NSS module. +1997-07-14 08:22 H.J. Lu <hjl@gnu.ai.mit.edu> -1998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/mips/rtld-parms: New. - * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for - static-nss since we don't want hesiod in the static NSS. + * sysdeps/unix/sysv/linux/mips/lxstat.h: Moved to + * sysdeps/unix/sysv/linux/mips/lxstat.c: ...this. - * nss/Makefile: Build only nss_files as static. + * sysdeps/unix/sysv/linux/mips/sgidef.h: Moved to + * sysdeps/unix/sysv/linux/mips/sgidefs.h: ...this. - * nss/function.def: Remove support for service db. + * sysdeps/generic/dl-sysdep.c (_start): Change to ENTRY_POINT. -1998-04-04 09:44 H.J. Lu <hjl@gnu.org> +1997-07-17 08:39 H.J. Lu <hjl@gnu.ai.mit.edu> - * Makeconfig (CPPFLAGS-.oS): Add -DPIC. + * sysdeps/mips/dl-machine.h: Remove extra stuff. -1998-04-04 18:29 Tim Waugh <tim@cyberelk.demon.co.uk> +1997-07-06 07:18 Geoff Keating <geoffk@ozemail.com.au> + * sysdeps/powerpc/bits/endian.h: Handle multiple endianess. - * posix/wordexp-test.c: Make IFS per test-case. + * stdlib/grouping.h: Suppress gcc warning about testing + unsigned char for less-than-zero. + * stdio-common/printf_fp.c: Likewise. + * stdio-common/vfprintf.c: Likewise. -1998-04-07 17:50 Zack Weinberg <zack@rabi.phys.columbia.edu> + * sysdeps/powerpc/add_n.s: New file. + * sysdeps/powerpc/sub_n.s: New file. + * sysdeps/powerpc/lshift.s: Ported XCOFF->ELF (from GMP). + * sysdeps/powerpc/mul_1.s: Ported XCOFF->ELF (from GMP). + * sysdeps/powerpc/addmul_1.s: Ported XCOFF->ELF (from GMP). + * sysdeps/powerpc/submul_1.s: Ported XCOFF->ELF (from GMP). + * sysdeps/powerpc/rshift.s: Ported XCOFF->ELF (from GMP). + + * math/libm-test.c (cos_test, sin_test, sincos_test): Use + precomputed pi/6 rather than having gcc calculate it, otherwise + tests give inaccurate result due to inaccurate input. + * math/libm.map: Add __fe_*_env constants to list of exported + symbols. + + * sysdeps/libm-ieee754/s_isinf.c: Simplify, make faster. + * sysdeps/libm-ieee754/s_isinff.c: Simplify, make faster. + * sysdeps/libm-ieee754/s_atan2f.c: Correct value of pi to be correct + round-to-nearest value. + + * sysdeps/libm-ieee754/e_log.c: Make sure exceptions are raised. + * sysdeps/libm-ieee754/e_log10.c: Likewise. + * sysdeps/libm-ieee754/e_log10f.c: Likewise. + * sysdeps/libm-ieee754/e_logf.c: Likewise. + * sysdeps/libm-ieee754/s_log1p.c: Likewise. Also use correct -Inf. + * sysdeps/libm-ieee754/s_log1pf.c: Likewise. Also use correct -Inf. + * sysdeps/libm-ieee754/s_log2.c: Likewise. + * sysdeps/libm-ieee754/s_log2f.c: Likewise. - * glibcbug.in: Report version of gcc in use. Remove unused variable - ENVIRONMENT. +1997-07-15 21:54 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> -1998-04-07 Gordon Matzigkeit <gord@profitpress.com> + * nis/nss_compat/compat-grp.c: Fix "buffer to small" problems + and memory leaks. + * 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-network.c: Likewise. + * nis/nss_nis/nis-proto.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-alias.c: Likewise. + * nis/nss_nisplus-ethers.c: Likewise. + * nis/nss_nisplus-grp.c: Likewise. + * nis/nss_nisplus-hosts.c: Likewise. + * nis/nss_nisplus-netgrp.c: Likewise. + * nis/nss_nisplus-network.c: Likewise. + * nis/nss_nisplus-proto.c: Likewise. + * nis/nss_nisplus-pwd.c: Likewise. + * nis/nss_nisplus-rpc.c: Likewise. + * nis/nss_nisplus-service.c: Likewise. + * nis/nss_nisplus-spwd.c: Likewise. - * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not - `-print-file-name' to find as and ld. + * nis/nss_nisplus-parse.c: If buffer to small, give -1 back. -1998-04-07 Ulrich Drepper <drepper@cygnus.com> +1997-07-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case - template is wrong. Remove unused varaible `ignored'. + * sysdeps/m68k/dl-machine.h (elf_machine_rela): Mention program + name in warning message. + * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/sparc/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/sparc64/dl-machine.h (elf_machine_rela): Likewise. -1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/i386/dl-machine.h (elf_machine_rel): Print program name + first. - * libc.map: Export __libc_sa_len. +1997-07-20 19:33 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - * iconv/gconv_conf.c (MAXPATHLEN): Define correctly. + * libc.map: Add _null_auth and _seterr_reply. -1998-04-07 08:51 Ulrich Drepper <drepper@cygnus.com> + * sunrpc/clnt_udp.c (clntudp_call): If xargs is NULL, don't encode it. - * 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. +1997-07-19 22:53 Ulrich Drepper <drepper@cygnus.com> - * 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. + * time/africa: Update from tzdata1997g. + * time/asia: Likewise. + * time/australasia: Likewise. + * time/europe: Likewise. + * time/iso3166.tab: Likewise. + * time/zone.tab: Likewise. + * time/private.h: Update from tzcode1997f. + * time/scheck.c: Likewise. - * manual/filesys.texi: Mention risks of tmpnam and mktemp. + * libio/stdio.h: Declare snprint and vsnprintf for __USE_ISOC9X. - * manual/install.texi: Describe some more critical points. + * math/math.h: Correct comments. Include <bits/mathinline.h> + always when optimizing. - * string/string.h: Add prototype for __strnlen. - * string/strnlen.c: Rename to __strnlen and make strnlen weak alias. +1997-07-19 10:23 Mark Kettenis <kettenis@phys.uva.nl> - * sysdeps/posix/mktemp.c: Rewrite to allow many more files and - much less predictable names. - * sysdeps/posix/mkstemp.c: Likewise. + * time/getdate.c (__getdate_r): + Report failure if string was not completely parsed. + (getdate): Set getdate_err on failure. -1998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-07-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * manual/libc.texinfo (Top): Change "file namespace" to "local - namespace". + * include/gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): + Synchronize with malloc/obstack.c. - * 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>. +1997-07-16 Miles Bader <miles@gnu.ai.mit.edu> -1998-04-05 Philip Blundell <Philip.Blundell@pobox.com> + * sysdeps/mach/hurd/mmap.c (__mmap): Check for !MAP_SHARED rather + than MAP_COPY|MAP_PRIVATE, since those values are defined wierdly. + Return EACCES rather than EGRATUITOUS if a R/W request isn't writable. - Update for draft-ietf-ipngwg-bsd-api-new-01.txt: +1997-07-15 Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu> - * 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. + * manual/Makefile (INSTALL_INFO): Introduce variable to override + path to install-info for systems like Debian that have an + install-info with a different command line interface from the + canonical GNU texinfo version. - * 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. +1997-07-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe. + * sysdeps/posix/ttyname_r.c (__ttyname_r): Correct comment. + * posix/unistd.h: Likewise. + * sysdeps/stub/ttyname_r.c: 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. +1997-07-14 23:37 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT - (2.2.x kernels won't have it). + * inet/getnameinfo.c: Pretty print. + Correctly enlarge buffers. -1998-04-06 21:21 Ulrich Drepper <drepper@cygnus.com> + * login/programs/utmpd.c: Use _() instead of gettext(). - * 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>. + * nis/nss_nisplus/nisplus-hosts.c: Optimize some uses of stpcpy away. + * 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. -1998-04-05 Philip Blundell <Philip.Blundell@pobox.com> + * sysdeps/alpha/fpu/bits/mathinline.h: Only define functions if + __OPTIMIZE__. + * sysdeps/powerpc/bits/mathinline.h: Likewise. + * sysdeps/i386/fpu/bits/mathinline.h: Define ISO C9x comparison + function always. + * sysdeps/m68k/fpu/bits/mathinline.h: Likewise. + * sysdeps/stub/bits/mathinline.h: Add conditionals to show how + it should look like in real files. - * manual/socket.texi (Socket Addresses): Fix a typo. - (Interface Naming): New section. + * sysdeps/generic/bits/select.h (__FD_ZERO): Don't use memset to + prevent prototype trouble, use simple loop. + * sysdeps/i386/bits/select.h [!__GNUC__] (__FD_ZERO): Likewise. -1998-04-05 23:29 Zack Weinberg <zack@rabi.phys.columbia.edu> + * sysdeps/mips/mips64/Implies: Imply ieee754. - * 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. + * sysdeps/unix/sysv/linux/Makefile: Make sure bits/syscall.h is + installed. + * sysdeps/unix/sysv/linux/sys/syscall.h: Pretty print. - Patch by Gordon Matzigkeit <gord@profitpress.com>. +1997-07-14 00:25 Ulrich Drepper <drepper@cygnus.com> -1998-04-05 Mark Kettenis <kettenis@phys.uva.nl> + * sysdeps/stub/bits/stdio_lim.h: Unify with standalone version. + * sysdeps/standalone/bits/stdio_lim.h: Removed. + Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>. - * elf/dl-load.c (decompose_rpath): Use local_strdup instead of - strdupa to copy rpath. +1997-06-22 Paul Eggert <eggert@twinsun.com> -1998-04-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * time/strftime.c (strftime): Use tm_zone if available, even if _LIBC. - * configure.in: Fix gcc version check. + * time/tzfile.c (__tzstring): New decl. + (__tzfile_read, __tzfile_default): Set __tzname to permanent strings. + (__tzfile_default): First two args are now const char *. - * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less - confusing. + * time/tzset.c (__tzstring): New function. + (tz_rule): Name is now const char *. + (struct tzstring_head): New type. + (tzstring_list, tzstring_last_buffer_size): New static vars. + (__tzset_internal): Time zone names are now permanent, not temporary. -1998-03-31 Mark Kettenis <kettenis@phys.uva.nl> +1997-07-13 01:18 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead - of ptsname_r. + * setjmp/setjmp.h: Define _setjmp and _longjmp also if __USE_XOPEN. - * 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. + * sysdeps/unix/sysv/linux/bits/ipc.h: Fix comment. + * sysdeps/unix/sysv/linux/bits/msq.h: Likewise. + * sysdeps/unix/sysv/linux/bits/sem.h: Likewise. + * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. -1998-06-04 18:47 H.J. Lu <hjl@gnu.org> + * time/Makefile (routines): Add getdate. + * time/time.h: Add prototype for getdate and getdate_r. + * time/getdate.c: New file. + Provided by Mark Kettenis <kettenis@phys.uva.nl>. - * libio/fileops.c (_IO_file_xsgetn): Adjust pointers. +1997-06-30 14:49 H.J. Lu <hjl@gnu.ai.mit.edu> -1998-04-06 13:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + From Ralf Baechle <ralf@informatik.uni-koblenz.de> on + Sat Jun 21 18:11:21 1997: - * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27. + * sysdeps/unix/sysv/linux/syscalls.list (swapon): Add __swapon alias. + (swapoff): New. - * Makerules: Re-add missing rule for $(objpfx)stamp.oS. + * elf/Makefile: Add linker script support. + (headers): Add bits/dlfcn.h. -1998-04-06 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * elf/dl-load.c (MAP_BASE_ADDR): New. - * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall - return value for better error checking. + * elf/dlfcn.h: Include <bits/dlfcn.h>. -1998-04-06 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz> + * elf/elf.h: Add MIPS support. - * elf/dl-runtime.c (fixup, profile_fixup): The final arg to - _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT. + * sysdeps/generic/Dist: Add entry.h. + * sysdeps/generic/entry.h: New, define the entry symbol. - * elf/elf.h (EM_SPARC64): Remove. - (EM_SPARC32PLUS, EM_SPARCV9): Add. - (HWCAP_SPARC_V9): Add. + * elf/rtld.c (_start): Include <entry.h>. Change to ENTRY_POINT. + * sysdeps/generic/dl-sysdep.c (_start): Likewise. + * mips/elf/start.S (_start): Likewise. - * 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. + * sysdeps/mips/bsd-_setjmp.S: Fix PIC. + * sysdeps/mips/bsd-setjmp.S: Likewise. + * sysdeps/mips/setjmp.S: Likewise. + * mips/elf/start.S: Likewise. + * sysdeps/unix/mips/brk.S: Likewise. + * sysdeps/unix/mips/sysdep.S: Likewise. + * sysdeps/unix/mips/sysdep.h: Likewise. + * sysdeps/unix/mips/wait.S: Likewise. - * 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. + * sysdeps/mips/dl-machine.h: Update for Linux/MIPS. + * sysdeps/mips/fpu_control.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from - the kernel's structure. + * sysdeps/generic/bits/dlfcn.h: New file. - * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file. - Sparc needs a custom value of __KERNEL_NCCS. + * sysdeps/mips/rtld-ldscript.in: New for Linux/MIPS. + * sysdeps/mips/rtld-parms: Likewise. + * sysdeps/mips/bits/dlfcn.h: Likewise. + * sysdeps/mips/mips64/rtld-parms: Likewise. + * sysdeps/mips/mipsel/rtld-parms: Likewise. + * sysdeps/unix/sysv/linux/mips/Dist: Likewise. + * sysdeps/unix/sysv/linux/mips/Makefile: Likewise. + * sysdeps/unix/sysv/linux/mips/clone.S: Likewise. + * sysdeps/unix/sysv/linux/mips/entry.h: Likewise. + * sysdeps/unix/sysv/linux/mips/fpregdef.h: Likewise. + * sysdeps/unix/sysv/linux/mips/fxstat.c: Likewise. + * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise. + * sysdeps/unix/sysv/linux/mips/kernel_termios.h: Likewise. + * sysdeps/unix/sysv/linux/mips/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/mips/regdef.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sgidefs.h: Likewise. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise. + * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise. + * sysdeps/unix/sysv/linux/mips/xstat.c: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: + * sysdeps/unix/sysv/linux/mips/bits/ipc.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/signum.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/mips/sys/acct.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/asm.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/fpregdef.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/regdef.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise. -1998-04-06 Richard Henderson <rth@cygnus.com> +1997-04-09 19:05 H.J. Lu (hjl@gnu.ai.mit.edu) - * sysdeps/generic/libc-start.c: Allow init and fini to be null. + * isomac.c (xstrndup): New, use it instead of strndup (). - * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main. - * sysdeps/sparc/sparc64/elf/start.S: Likewise. +1997-07-02 08:55 H.J. Lu <hjl@gnu.ai.mit.edu> -1998-04-06 Richard Henderson <rth@cygnus.com> + * sysdeps/i386/dl-machine.h (elf_machine_rel): Print + the program name for different sizes. - * 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>. +1997-07-10 15:47 Fila Kolodny <fila@ibi.com> -1998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * nis/ypclnt.c: Change references to MAXHOSTNAMELEN to NIS_MAXNAMELEN. + Add include of rpcsvc/nis.h. + * inet/getnameinfo.c: Delete references to MAXHOSTNAMELEN. + * sysdeps/posix/getaddrinfo.c: Likewise. + Change size of variable buffer to be big enough to hold an IPv6 + address in printable format. - * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL - instead of AF_FILE. +1997-07-12 18:47 Ulrich Drepper <drepper@cygnus.com> -1998-04-05 Ulrich Drepper <drepper@cygnus.com> + * assert/assert.h [!NDEBUG] (assert, assert_perror): Don't use || + and && in tests to allow use in C++ code which overloads these + operators. Reported by Istvan Marko <istvan@cmdmail.amd.com>. - * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc* - and wc*tomb* functions. + * configure.in: Move mips64* recognition before mips*. + Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>. -1998-04-04 15:16 Philip Blundell <Philip.Blundell@pobox.com> +1997-07-03 20:44 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/unix/start.c: Fix typo. + * Makerules (lib%.so, $(common-objpfx)libc.so): Don't use + automatic variables in dependency lists. + (build-shlib): Always filter out the version script file. + * extra-lib.mk ($(objpfx)$(lib).so): Depend on version script. -1998-04-04 Ulrich Drepper <drepper@cygnus.com> +1997-07-12 17:56 Ulrich Drepper <drepper@cygnus.com> - * iconv/gconv_db.c (__gconv_find_transform): Fix typo. + * login/login.c (tty_name): Test return value of ttyname_r for != + 0, not < 0. + * misc/ttyslot.c (ttyslot): Test return value of ttyname_r for == + 0, not >= 0. + * sysdeps/unix/getlogin.c (getlogin): Test return value of + ttyname_r for != 0. + * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise. -1998-04-03 23:38 Ulrich Drepper <drepper@cygnus.com> +1997-07-10 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * 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-04-03 23:17 Ulrich Drepper <drepper@cygnus.com> - - * 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-04-03 15:34 Ulrich Drepper <drepper@cygnus.com> - - * 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. - -1998-04-03 Ulrich Drepper <drepper@cygnus.com> - - * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the - missing braces. - -1998-04-03 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags. - -1998-04-03 16:29 Philip Blundell <pb@nexus.co.uk> - - 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-04-03 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/i386/strtok.S: Change to use single exit point. - * sysdeps/i386/i686/strtok.S: Likewise. - -1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide - default. + * login/utmp_file.c (getutline_r_file): Fix type: compare with + *result. -1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-07-11 00:21 Mark Kettenis <kettenis@phys.uva.nl> - * Makerules (installed-libcs): Fix typo. + * login/Makefile (headers): Add utmpx.h and bits/utmpx.h. -1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-07-09 19:21 Mark Kettenis <kettenis@phys.uva.nl> - * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC. - (UHC-routines): Remove ksc5601. + * login/programs/utmpd.c, login/programs/database.c, + login/programs/request.c: Prepare messages for + internationalization. -1998-04-03 16:29 Philip Blundell <pb@nexus.co.uk> + * login/programs/utmpd.c: + (main): Change handling of errors in opening the database. + * login/programs/database.c: + (open_database, synchronize_database, initialize_database): + Properly handle errors. + (get_mtime): Use fstat instead of stat. All callers changed. - * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo - introduced in last change. + * login/getutent_r.c: Make setutxent a weak alias for __setutxent. + * login/getutent.c: Rename getutent to __getutent and make + getutent a weak alias. + Make getutxent a weak alias for __getutent. + * login/utmpx.h: New file. + * sysdeps/gnu/bits/utmp.h: Cleanup. Added comments. + * sysdeps/gnu/bits/utmpx.h: New file. -1998-04-03 06:22 Ulrich Drepper <drepper@cygnus.com> +1997-07-11 03:00 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels - before 2.1.92. + * inet/inet_ntoa.c: Prevent looking for thread data key if we found + one. -1998-04-02 Ulrich Drepper <drepper@cygnus.com> + * signal/sigandset.c: Include stddef.h to get NULL defined. + * signal/sigisempty.c: Likewise. + * signal/sigorset.c: Likewise. + * sysdeps/stub/if_index.h: Likewise. + * wcsmbs/wcstod_l.c: Include locale.h to get __locale_t defined. + * wcsmbs/wcstof_l.c: Likewise. + * wcsmbs/wcstol_l.c: Likewise. + * wcsmbs/wcstold_l.c: Likewise. + * wcsmbs/wcstoll_l.c: Likewise. + * wcsmbs/wcstoul_l.c: Likewise. + * wcsmbs/wcstoull_l.c: Likewise. + Reported by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>. - * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry. + * stdio-common/snprintf.c: Use ISO C function definition form. - * stdlib/isomac.c: Use -isystem instead of -I for system include - dir. + * sysdeps/stub/libc-lock.h: Don't define __libc_key_create and + __libc_setspecific as empty macros since they are used as + function with return value. + Reported by Andreas Jaeger. -1998-03-30 08:05 H.J. Lu <hjl@gnu.org> + * stdio-common/strops.c: Partialy undo last change. Will need + more investigation. - * resolv/res_comp.c (underscorechar): New. - (middlechar): Allow '_'. +1997-07-10 Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu> -1998-04-02 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/mach/hurd/select.c (__select): Need bit count for + MACH_MSG_TYPE_INTEGER_T. - * 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>. +1997-07-08 10:12 Fila Kolodny <fila@ibi.com> -1998-04-01 21:08 Zack Weinberg <zack@rabi.phys.columbia.edu> + * sysdeps/i370/Implies: New file for i370-ibm-mvs port. + * sysdeps/mvs/Implies: Likewise. - * 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. +1997-07-09 23:06 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> -1998-04-02 15:13 Ulrich Drepper <drepper@cygnus.com> + * nis/Makefile: Add new source files. - * 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 + * nis/nis_intern.h: Add new internal functions. + * nis/rpcsvc/nislib.h: Likewise. -1998-04-02 Mark Kettenis <kettenis@phys.uva.nl> + * nis/lckcache.c: New. + * nis/nis_cache.c: New, dummy functions in the moment. + * nis/nis_util.c: New. + * nis/nisplus-parser.h: New. + * nis/nss_nisplus/nisplus-parser.c: New. + * nis/rpcsvc/nis_cache.h: New. + * nis/rpcsvc/nis_cache.x: New. - * 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. + * nis/nss_compat/compat-grp.c: Matches Solaris behaviour now. + * nis/nss_compat/compat-pwd.c: Likewise. + * nis/nss_compat/compat-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-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. -1998-04-02 Ulrich Drepper <drepper@cygnus.com> + * nis/nss_nis/nis-publickey.c: Remove libc-lock.h include. - * sysdeps/i386/bits/string.h: Fix various typos. - Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>. + * nis/nis_intern.c: Removed. - * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92. + * nis/nis_call.c: Complete rewrite. + * nis/nis_lookup.c: Likewise. + * nis/nis_table.c: Likewise. -1998-04-02 Ulrich Drepper <drepper@cygnus.com> + * nis/libnsl.map: Add missing symbols. - * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without - lchown syscall correctly. [PR libc/541]. + * nis/nis_print.c: Fix nis_print_link. + * nis/nis_subr.c: Fix nis_getnames. -1998-04-02 11:45 Ulrich Drepper <drepper@cygnus.com> +1997-07-09 07:19 H.J. Lu <hjl@gnu.ai.mit.edu> - * localedata/Makefile: Correct testsuite rules. + * posix/execvp.c (execvp): Handle ESTALE. - * iconvdata/gconv-modules: Set cost of ISO646 module to 2. - * iconvdata/iso646.c: Fix conversion from UCS4. +1997-07-10 13:54 Ulrich Drepper <drepper@cygnus.com> - * 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. + * posix/regex.c: Make CHAR_SET_SIZE definition always available, + even if SYNTAX_TABLE is defined. + Patch by Akim Demaille <demaille@inf.enst.fr>. -1998-04-01 17:38 Ulrich Drepper <drepper@cygnus.com> +1997-07-09 08:16 H.J. Lu <hjl@gnu.ai.mit.edu> - * 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. + * libio/fileops.c (_IO_file_underflow): Adjust pointers + before calling _IO_SYSREAD (). - * 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. +1997-07-07 22:54 Zack Weinberg <zack@rabi.phys.columbia.edu> -1998-04-01 16:10 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/sparc/divrem.m4: Eliminate use of "DEFS.h" + (sysdep.h does the same job). + * sysdeps/sparc/alloca.S: Likewise. + * sysdeps/sparc/dotmul.S: Likewise. + * sysdeps/sparc/udiv_qrnnd.S: Likewise. - * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db. - * iconv/iconv_prog.c: Implement --list option to print available - coded character sets. + * sysdeps/sparc/rem.S: Regenerated. + * sysdeps/sparc/sdiv.S: Regenerated. + * sysdeps/sparc/udiv.S: Regenerated. + * sysdeps/sparc/urem.S: Regenerated. -1998-04-01 18:10 Zack Weinberg <zack@rabi.phys.columbia.edu> + * sysdeps/sparc/DEFS.h: Removed. + * sysdeps/sparc/elf/DEFS.h: Removed. + * sysdeps/sparc/Dist: Don't distribute DEFS.h. - Make fread() read large blocks straight to the user buffer. + * sysdeps/unix/sparc/sysdep.h: Use 4 byte alignment. Add .type + directive #ifdef HAVE_ELF. Minor format changes. - * libio/fileops.c (_IO_file_xsgetn): New function. - (_IO_file_jumps): Use it. - * libio/libioP.h: Prototype it. + * sysdeps/alpha/DEFS.h: Removed. + * sysdeps/alpha/Dist: Don't distribute DEFS.h. -1998-04-01 Ulrich Drepper <drepper@cygnus.com> +1997-07-07 19:03 H.J. Lu <hjl@gnu.ai.mit.edu> - * 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. + * math/test-fenv.c (feenv_nomask_test): Move + fesetenv (FE_NOMASK_ENV) after fork () to work with + SMP. - * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute - number of converted bytes correctly. + * sysdeps/i386/fpu_control.h (_FPU_IEEE): Fix comment. -1998-04-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> +1997-07-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if - we only wait for a replay. + * libc.map: Add _IO_peekc_locked. -1998-04-01 Ulrich Drepper <drepper@cygnus.com> +1997-07-07 15:45 Fila Kolodny <fila@ibi.com> - * iconvdata/Makefile: Finally fix dependencies for JOHAB and - EUC-KR modules. + * Makeconfig: Add dbobjdir to rpath-link analogous to nssobjdir. -1998-04-1 16:52 Philip Blundell <pb@nexus.co.uk> +1997-07-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and - use PLTJMP() rather than explicit (PLT). + * sysdeps/m68k/fpu/feholdexcpt.c: Shift the exception mask in the + right position. + * sysdeps/m68k/fpu/fesetenv.c (fesetenv): Likewise. - * sysdeps/arm/elf/start.S: Leave most of the initialisation for - __libc_start_main(). +1997-07-08 13:59 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. + * time/strftime.c (spaces, zeroes): Handle broken SGI compiler. + Patch by Richard Stallman <rms@gnu.ai.mit.edu>. -1998-03-31 10:51 Philip Blundell <pb@nexus.co.uk> +1997-07-08 02:18 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new - definitions. + * io/lockf.c (lockf): Clear fl before using. + Patch by sr@adb.fr. -1998-04-01 Ulrich Drepper <drepper@cygnus.com> + * libio/strops.c: Correctly handle _IO_write_end. - * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and - JOHAB.so. + * nss/libnss_files.map: Add __nss_netgroup_parseline. + * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't + panic if setnetgrent wasn't called before, return error. + Patch by Thorsten Kukuk <kukuk@uni-paderborn.de>. -1998-04-01 13:20 Mark Kettenis <kettenis@phys.uva.nl> + * time/mktime.c: Define localtime_r function as my_mktime_localtime_r + if locally defined. + * time/strftime.c: Define localtime_r function as my_ftime_localtime_r + if locally defined. + Define tm_diff function as ftime_tm_diff if locally defined. + Reported by Richard Stallman <rms@gnu.ai.mit.edu>. - * io/Makefile (static-only-routines): Add stat64, fstat64 and - lstat64. +1997-07-06 23:36 Ulrich Drepper <drepper@cygnus.com> -1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * isomac.c (get_null_defines): Put NULL at end of list. - * manual/Makefile: Use object-suffixes-for-libc instead of - object-suffixes. - * rpm/Makefile (install-lib): Likewise. + * hurd/Makefile: Remove special handling of sunrpc code. + * sysdeps/mach/hurd/Makefile: Likewise. + Compile CThreads code. + * sunrpc/rpc_main.c: Don't use MAXPATHLEN. + * sysdeps/mach/bits/libc-lock.h: Add definitions for key handling + functions. + * sysdeps/stub/bits/libc-lock.h: Likewise. + * sysdeps/mach/hurd/net/ethernet.h: New file. + * sysdeps/mach/hurd/net/if.h: New file. + * sysdeps/mach/hurd/net/if_arp.h: New file. + * sysdeps/mach/hurd/net/if_ether.h: New file. + * sysdeps/mach/hurd/net/if_ppp.h: New file. + * sysdeps/mach/hurd/net/route.h: New file. + Patches by Fila Kolodny <fila@ibi.com>. + + * math/fenv-test.c: Add more tests. + Patch by Andreas Jaeger <aj@arthur.rhein-neckar.de>. + + * sysdeps/wordsize-32/inttypes.h: Correct values for INTFAST_MIN, + INTFAST_MAX, and UINTFAST_MAX. + * sysdeps/wordsize-64/inttypes.h: Likewise. + Correct intmax_t definition. -1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-07-04 15:33 H.J. Lu <hjl@gnu.ai.mit.edu> - * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug. + * elf/rtld.c (dl_main): Add '\n' to _dl_sysdep_fatal (). - * sysdeps/unix/sysv/linux/configure.in: Match $machine against - `m68*', not only `m68k'. +1997-07-01 09:18 H.J. Lu <hjl@gnu.ai.mit.edu> -1998-04-01 10:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * libc.map: Add missing symbol. - * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file. +1997-07-04 18:04 H.J. Lu <hjl@gnu.ai.mit.edu> - * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and - install lddlibc4. + * stdlib/tst-strtol.c: Don't assume cpp takes ~0UL as long + in cc1. Cpp in gcc doesn't do it. -1998-03-31 Ulrich Drepper <drepper@cygnus.com> +1997-07-01 21:15 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * iconvdata/Makefile: Use libKSC shared object in JOHAB and - EUC-KR. + * libio/libioP.h: Remove second definition of _IO_file_attach. - * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct - comment. + * sysdeps/i386/fpu/fraiseexcpt.c (feraiseexcept): Correct comments. -1998-03-30 08:43 H.J. Lu <hjl@gnu.org> + * sysdeps/sparc64/elf/start.S (_start): Update and reformat + copyright. + * manual/summary.awk: Likewise. + * misc/bits/stab.def: Likewise. + * posix/glob/Makefile.ami: Likewise. + * posix/glob/Makefile.in: Likewise. + * posix/glob/SMakefile: Likewise. + * sysdeps/gnu/errlist.awk: Likewise. + * sysdeps/mach/hurd/errnos.awk: Likewise. + * sysdeps/standalone/i386/force_cpu386/target.ld: Likewise. + * sysdeps/standalone/m68k/m68020/mvme136/mvme136.ld: Likewise. + * sysdeps/unix/snarf-ioctls: Likewise. + * sysdeps/vax/setjmp.c: Likewise. - * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of - the init stuff. +1997-07-05 11:56 Ulrich Drepper <drepper@cygnus.com> -1998-03-31 Ulrich Drepper <drepper@cygnus.com> + * login/login.c (tty_name): Use newly allocated buffer. + Patch by Jaakko Hyvätti <jaakko.hyvatti@iki.fi>. - * 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>. + * time/asctime.c: Never translate week and month name according + to LC_TIME. Patch by Paul Eggert <eggert@twinsun.com>. -1998-03-31 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-07-03 22:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * Makerules (install): Change comment for libc.so following the - libc_nonshared changes. + * locale/setlocale.c (setname): Do nothing when reusing the same + name. -1998-03-31 Ulrich Drepper <drepper@cygnus.com> +1997-07-03 20:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo. + * libc.map: Add global variables of malloc. - * iconvdata/gap.pl: Avoid using %#06x. +1997-07-03 13:24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-03-31 19:55 Zack Weinberg <zack@rabi.phys.columbia.edu> + * elf/dl-version.c (find_needed): Look for needed objects also in + the dependency list of the current object. Added new parameter to + find its link map, caller changed. - * Makerules: Use $? instead of S^ when invoking ar. +1997-07-03 12:33 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-03-31 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/m68k/fpu/fraiseexcpt.c: Correct the FE_INEXACT and + FE_UNDERFLOW cases. - * 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>. +1997-07-01 13:36 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-03-31 Ulrich Drepper <drepper@cygnus.com> + * elf/link.h: Remove final comma from enumerator list, forbidden + by ISO C. Use __inline instead of inline. - * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as - macros. +1997-07-01 16:40 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> -1998-03-31 18:11 Ulrich Drepper <drepper@cygnus.com> + * hurd/hurdsig.c: Include <hurd/id.h>. + (reauth_proc): Call proc_setowner appropriately too. - * include/mntent.h: New file. +1997-07-01 09:18 H.J. Lu <hjl@gnu.ai.mit.edu> - * 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. + * libc.map: Add missing symbol. -1998-03-30 Ulrich Drepper <drepper@cygnus.com> +1997-06-30 12:12 Fila Kolodny <fila@ibi.com> - * nss/nsswitch.c (__nss_lookup): Adjust comment. + * sysdeps/mach/hurd/fchdir.c: Make fchdir a weak alias of __fchdir. + * sysdeps/mach/hurd/getpeername.c (getpeername): Remove spurious + declaration of addr. - * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New - function. +1997-06-29 17:56 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition. + * manual/argp.texi (Argp Option Vectors): Fix use of @math to make + it work in TeX. - * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string): - New function. - (HWCAP_IMPORTANT): New definition. +1997-06-27 21:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-03-30 17:26 H.J. Lu <hjl@gnu.org> + * Makeconfig (+includes): Add include directory to include path. + * configure.in (sysnames): Don't add it here. + * Makefile (subdir-dirs): Define and add it to vpath for headers. + * Make-dist (all-headers): Look in include directory for + indirection headers. Filter out header names pointing outside the + source directory. - * elf/dl-open.c (_dl_open): Fix a typo. - (_dl_global_scope_alloc): Make it static. + * Makefile (distribute): Remove ansidecl.h, add libc.map. + * Make-dist (+tsrcs): Add version scripts for extra libraries. + * Makerules (distinfo-vars): Add %-map for extra libraries. -1998-03-30 17:20 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/alpha/Dist: Rename sys/kernel_termios.h + to kernel_termios.h. + * sysdeps/unix/sysv/linux/powerpc/Dist: Remove ioctl-types.h, + termbits.h and sys/kernel_termios.h. + * sysdeps/mips/mips64/Dist: New file. + * sysdeps/unix/sysv/linux/Dist: Add stdio_lim.h.in. - * Makerules: Remove duplicate rules to handle stamp.oS. +1997-06-29 23:03 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * math/test-fenv.c (feenv_nomask_test): New test for non masked + exceptions. + (feenv_mask_test): New test for masked exceptions + (feenv_tests): New function calls feenv_nomask_test and + feenv_mask_test. + (main): Call new tests. + (initial_tests): New test for initilisation. - * manual/examples/inetsrv.c (main): Change prototype of - make_socket following change in mkisock.c. +1997-06-29 23:43 Ulrich Drepper <drepper@cygnus.com> - * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as - example host. - (main): Change prototype of init_sockaddr following change in - isockadd.c. + * config.make.in: Define need-nopic-initfini. + * configure.in: Write out nopic_initfini. + * csu/Makefile: Generate no-PIC crt code if need-nopic-initfini + is defined. - * manual/examples/mkisock.c (make_socket): Use uint16_t for port. - * manual/examples/isockad.c (init_sockaddr): Likewise. + * sysdeps/i386/fpu/fraiseexcpt.c: Correct FE_INEXACT case. + + * sysdeps/sparc/rem.S: Get trap definition properly. + * sysdeps/sparc/sdiv.S: Likewise. + * sysdeps/sparc/udiv.S: Likewise. + * sysdeps/sparc/urem.S: Likewise. + * sysdeps/sparc/setjmp.S: Include <sys/trap.h>. + * sysdeps/sparc/sys/trap.h: New file. + * sysdeps/unix/sysv/linux/sparc/sys/trap.h: New file. + +1997-06-25 10:26 Thorsten Kukuk <kukuk@uni-paderborn.de> + + * sysdeps/generic/rpc/auth.h: Add xdr_opaque_auth declaration. + +1997-06-29 10:34 Fila Kolodny <fila@ibi.com> + + * sysdeps/mach/hurd/select.c (__select): Change MACH_MSG_SIZE_INTEGER_T + to MACH_MSG_TYPE_INTEGER_T. + +1997-06-29 01:04 Richard Henderson <richard@gnu.ai.mit.edu> + + Initial sparc64-linux support: + * configure.in: Recognize sparc64 as being different from sparc. + * io/ftwtest-sh: Only invoke ld.so if it exists. + * math/Makefile (LDLIBS-*): Change from libm to math/libm to get + static tests to link. Honour $(omit-long-double-fcts) == yes. + * math/libm-test.c (test_single_exception): The argument to + fetestexcept is `int' not `fexcept_t'. + * shlib-versions: Recognize sparc64. + * signal/signal.h: Add typedef for stack_t. + + * stdio-common/_itoa.c: Defaulting UMUL_TIME==UDIV_TIME is broken. + Attempt to fix up most of this by cleaning up assumptions below, + but give up and change the defaults. + + * setjmp/longjmp.c: Moved to ... + * sysdeps/generic/longjmp.c: ... here. + * setjmp/sigjmp.c: Moved to ... + * sysdeps/generic/sigjmp.c: ... here. + + * sysdeps/sparc/bsd-_setjmp.S [PIC]: There wasn't even valid asm here. + Ought to fix up gas to catch these silly things properly. + * sysdeps/sparc/bsd-setjmp.S: Likewise. + + * sysdeps/unix/sysv/linux/sparc/errno.c: Remove. + * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Remove. + * sysdeps/unix/sysv/linux/sparc/kernel_stat.h: Tell xstat about + the unused fields. + + * sysdeps/sparc/sparc64/add_n.s: Moved to ... + * sysdeps/sparc64/add_n.S: ... here. Fix up %g4 and stack usage. + * sysdeps/sparc/sparc64/addmul_1.s: Likewise. + * sysdeps/sparc/sparc64/gmp-mparam.h: Likewise. + * sysdeps/sparc/sparc64/lshift.s: Likewise. + * sysdeps/sparc/sparc64/mul_1.s: Likewise. + * sysdeps/sparc/sparc64/rshift.s: Likewise. + * sysdeps/sparc/sparc64/sub_n.s: Likewise. + * sysdeps/sparc/sparc64/submul_1.s: Likewise. + + * sysdeps/sparc64/Implies: New file. + * sysdeps/sparc64/Makefile: Likewise. + * sysdeps/sparc64/bits/endian.h: Likewise. + * sysdeps/sparc64/bsd-_setjmp.S: Likewise. + * sysdeps/sparc64/bsd-setjmp.S: Likewise. + * sysdeps/sparc64/dl-machine.h: Likewise. + * sysdeps/sparc64/elf/Makefile: Likewise. + * sysdeps/sparc64/elf/crtbegin.S: Likewise. + * sysdeps/sparc64/elf/crtbeginS.S: Likewise. + * sysdeps/sparc64/elf/crtend.S: Likewise. + * sysdeps/sparc64/elf/crtendS.S: Likewise. + * sysdeps/sparc64/elf/start.S: Likewise. + * sysdeps/sparc64/fpu_control.h: Likewise. + * sysdeps/unix/sysv/linux/sparc64/Makefile: Likewise. + * sysdeps/unix/sysv/linux/sparc64/__longjmp.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/bits/setjmp.h: Likewise. + * sysdeps/unix/sysv/linux/sparc64/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/sparc64/brk.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/clone.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/fork.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/init-first.h: Likewise. + * sysdeps/unix/sysv/linux/sparc64/kernel_stat.h: Likewise. + * sysdeps/unix/sysv/linux/sparc64/longjmp.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/pipe.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/profil-counter.h: Likewise. + * sysdeps/unix/sysv/linux/sparc64/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/sigjmp.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc64/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sparc64/ucontext.h: Likewise. + +1997-06-28 16:28 H.J. Lu <hjl@gnu.ai.mit.edu> + + * configure.in: Add -nostartfiles -nostdlib when check for + --version-script. + +1997-06-28 12:03 H.J. Lu <hjl@gnu.ai.mit.edu> + + * sysdeps/powerpc/bits/endian.h: New file. + +1997-06-28 20:52 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/sysv/linux/syscalls.list: Add getresgid and + setresgid. + +1997-06-27 20:09 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/sysv/linux/sys/quota.h: Add <asm/types.h>. + Reported by a sun <asun@zoology.washington.edu>. + + * libc.map: Add _rpc_dtablesize. Reported by Thorsten Kukuk. + + * db/makedb.c: Exit with error if number of option is incorrect. + + * math/Makefile (tests): Add test-fenv. + * math/test-fenv.c: New file. Test for exception handling functions. + Written mainly by Andreas Jaeger. + + * sysdeps/i386/fpu/fraiseexcpt.c: Correct implementation. + + * sysdeps/mach/hurd/abi-tag.h: Set tag to 1 for Hurd and kernel + compatibility version to 0. Reported by Roland McGrath. + +1997-06-27 18:49 Philip Blundell <Philip.Blundell@pobox.com> + + * sysdeps/standalone/brk.c (__NONE_set_memvals): Correct typo. + * sysdeps/standalone/arm/bits/errno.h: Add ENOTDIR. + * sysdeps/stub/sys/param.h: Add definition of MAX and MIN. + +1997-06-27 10:44 Fila Kolodny <fila@ibi.com> + + * sysdeps/mach/hurd/dl-sysdep.c: Make _dl_sysdep_read_whole_file weak. + +1997-06-27 00:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * elf/dl-open.c (_dl_open): Check versions of all newly loaded + objects, including dependencies. + + * elf/dl-runtime.c (fixup): Always use version information if + available. - * 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>. +1997-06-26 12:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-03-30 13:28 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/m68k/bits/nan.h: Renamed from sysdeps/m68k/nan.h. - * 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. +1997-06-26 11:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-03-30 12:53 Ulrich Drepper <drepper@cygnus.com> + * posix/regex.c (DEBUG_POP): Assume parameter to be pointer to + int, not pointer to fail_stack_elt_t. + (PUSH_FAILURE_POINT): Fix all formats in debugging messages. Fix + type of this_reg. + (POP_FAILURE_POINT): Likewise. Fix type of failure_id. + (re_match_2_internal): Pass NULL, not 0, to PUSH_FAILURE_POINT. - * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct - scanning for \0. - (__strncat_g): Add i686 specific code. +1997-06-27 02:17 Ulrich Drepper <drepper@cygnus.com> -1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/unix/sysv/linux/syscalls.list: Add quotactl. + Reported by a sun. - * manual/install.texi (Reporting Bugs): Ask to include section - names in reports. +1997-06-26 21:50 Ulrich Drepper <drepper@cygnus.com> -1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * math/math.h: Move definition of macros for unordered comparison + after inclusion of <bits/mathinline.h>. + * sysdeps/i386/fpu/bits/mathinline.h: Don't undef macros for + unordered comparison before definition. + * sysdeps/m68k/fpu/bits/mathinline.h: Likewise. - * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit - guard against direct inclusion. + * Makerules: Move definition of load-map-file before use. + (lib%.so): Depend on load-map-file, not lib%-map. -1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * manual/lgpl.texinfo: Update copyright. - 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. +1997-06-24 09:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/m68k/fpu/bits/mathinline.h: Don't define __ilogb. + * sysdeps/m68k/fpu/s_ilogb.c: Define it here. Handle zero, NaN + and infinity specially. + * sysdeps/m68k/fpu/s_ilogbf.c, sysdeps/m68k/fpu/s_ilogbl.c: + Adapted. - * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon, - do-tst-rpmatch): New targets. - (test): Use them. - (install-locales): Ignore comment lines. + * sysdeps/m68k/fpu/bits/mathdef.h (FP_ILOGB0): Correct value. -1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-06-26 17:06 Ulrich Drepper <drepper@cygnus.com> - * 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. + * configure.in: Don't use .long in tests since some strange + platforms without binutils don't know this. + Redirect output of test commands correctly. + Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>. -1998-03-30 09:36 Ulrich Drepper <drepper@cygnus.com> + * hurd/hurdsig.c (_hurdsig_init): Call _hurd_self_sigstate. + Patch by Kazumoto Kojima <kkojima@kk.info.kanagawa-u.ac.jp>. - * manual/string.texi (Finding Tokens in a String): Extend strsep - description and correct example. +1997-06-26 09:02 Fila Kolodny <fila@ibi.com> -1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/mach/hurd/abi-tag.h: New file. - * 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. + * sysdeps/mach/bits/libc-lock.h: Add typedef for __libc_key_t. + * sysdeps/stub/bits/libc-lock.h: Likewise. -1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/mach/hurd/accept.c (accept): Fix type of parameter addrarg. + Add variable addr containing the desired part of the union. + * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise. + * sysdeps/mach/hurd/getsockname.c (getsockname): Likewise. + * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise. + * sysdeps/mach/hurd/connect.c (__connect): Likewise. + * sysdeps/mach/hurd/bind.c (bind): Likewise. - * nscd/Makefile (nscd-modules): Move definition outside of - conditional. + * sysdeps/mach/hurd/select.c (__select): Change MACH_MSG_SIZE_INTEGER_T + to sizeof(MACH_MSG_TYPE_INTEGER_T). - * pwd/Makefile: Use have-thread-library to test for thread - library. + * io/ftw.c (ftw_startup): Use PATH_MAX only if defined. -1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/mach/hurd/open.c (__open): Fix type of parameter file. - * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip. + * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Add closefn to + paramater list since it is used. - * iconvdata/uhc.c (gconv): Remove unused variable idx. + * sysdeps/mach/hurd/rename.c (rename): Fix type of paramater new. -1998-03-30 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/mach/hurd/sigaltstack.c (sigaltstack): Change parameter from + ss to argss. - * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c. +1997-06-24 14:02 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-03-29 Ulrich Drepper <drepper@cygnus.com> + * Rules: Update copyright. + * mach/Machrules: Likewise. - * nss/getXXent_r.c: Correctly handle failing setXXent function. +1997-06-26 14:28 Ulrich Drepper <drepper@cygnus.com> - * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros. + * configure.in: Fix accidently removed AC_OUTPUT line. Reported by Andreas Jaeger. -1998-03-29 20:59 Ulrich Drepper <drepper@cygnus.com> - - * 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. - - * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h. - -1998-03-29 16:50 Ulrich Drepper <drepper@cygnus.com> - - * 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-03-26 15:20 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * 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. - -1998-03-29 09:26 Ulrich Drepper <drepper@cygnus.com> - - * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead. + * time/strftime.c: Don't define `memcpy' macro if HAVE_MEMCPY is + defined. Reported by Akim Demaille <demaille@inf.enst.fr>. - * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop. - -1998-03-29 02:02 H.J. Lu <hjl@gnu.org> - - * sysdeps/i386/i486/bits/string.h: Fix typos. + * sysdeps/generic/getdomain.c: Include handling for stub case. + This eliminated the only case of a function in generic and stub. + * sysdeps/stub/getdomain.c: Removed. + Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>. -1998-03-28 00:13 H.J. Lu <hjl@gnu.org> +1997-06-23 22:20 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * sysdeps/alpha/_mcount.S: Update and reformat copyright, + remove trailing white spaces and send through unexpand. + * sysdeps/alpha/bb_init_func.S: Likewise. + * sysdeps/alpha/bzero.S: Likewise. + * sysdeps/alpha/ffs.S: Likewise. + * sysdeps/alpha/memset.S: Likewise. + * sysdeps/alpha/s_fabs.S: Likewise. + * sysdeps/alpha/strcmp.S: Likewise. + * sysdeps/alpha/strlen.S: Likewise. + * sysdeps/alpha/strncmp.S: Likewise. + * sysdeps/alpha/strncpy.S: Likewise. + * sysdeps/alpha/strrchr.S: Likewise. + * sysdeps/alpha/stxcpy.S: Likewise. + * sysdeps/alpha/stxncpy.S: Likewise. + * sysdeps/alpha/elf/start.S: Likewise. + * sysdeps/i386/strchr.S: Likewise. + * sysdeps/m68k/bsd-_setjmp.S: Likewise. + * sysdeps/m68k/bsd-setjmp.S: Likewise. + * sysdeps/m68k/elf/start.S: Likewise. + * sysdeps/mach/alpha/syscall.S: Likewise. + * sysdeps/mach/i386/syscall.S: Likewise. + * sysdeps/mips/elf/start.S: Likewise. + * sysdeps/sparc/alloca.S: Likewise. + * sysdeps/standalone/i386/start.S: Likewise. + * sysdeps/standalone/i386/force_cpu386/strtsupp.S: Likewise. + * sysdeps/standalone/i960/start.S: Likewise. + * sysdeps/standalone/m68k/m68020/start.S: Likewise. + * sysdeps/unix/_exit.S: Likewise. + * sysdeps/unix/fork.S: Likewise. + * sysdeps/unix/getegid.S: Likewise. + * sysdeps/unix/geteuid.S: Likewise. + * sysdeps/unix/getppid.S: Likewise. + * sysdeps/unix/syscall.S: Likewise. + * sysdeps/unix/arm/brk.S: Likewise. + * sysdeps/unix/arm/fork.S: Likewise. + * sysdeps/unix/bsd/hp/m68k/brk.S: Likewise. + * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise. + * sysdeps/unix/bsd/hp/m68k/wait3.S: Likewise. + * sysdeps/unix/bsd/i386/vfork.S: Likewise. + * sysdeps/unix/bsd/i386/wait3.S: Likewise. + * sysdeps/unix/bsd/m68k/pipe.S: Likewise. + * sysdeps/unix/bsd/m68k/syscall.S: Likewise. + * sysdeps/unix/bsd/m68k/sysdep.S: Likewise. + * sysdeps/unix/bsd/m68k/wait.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/brk.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/fork.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/killpg.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/pipe.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/recv.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/send.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/sigblock.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/sigpause.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/sigsetmask.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/sigvec.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/start.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/vhangup.S: Likewise. + * sysdeps/unix/bsd/sequent/i386/getgroups.S: Likewise. + * sysdeps/unix/bsd/sequent/i386/sigvec.S: Likewise. + * sysdeps/unix/bsd/sequent/i386/syscall.S: Likewise. + * sysdeps/unix/bsd/sun/sigreturn.S: Likewise. + * sysdeps/unix/bsd/sun/m68k/brk.S: Likewise. + * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise. + * sysdeps/unix/bsd/sun/m68k/syscall.S: Likewise. + * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise. + * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise. + * sysdeps/unix/bsd/ultrix4/wait3.S: Likewise. + * sysdeps/unix/bsd/ultrix4/mips/__handler.S: Likewise. + * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise. + * sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise. + * sysdeps/unix/bsd/vax/brk.S: Likewise. + * sysdeps/unix/bsd/vax/pipe.S: Likewise. + * sysdeps/unix/bsd/vax/sysdep.S: Likewise. + * sysdeps/unix/bsd/vax/vfork.S: Likewise. + * sysdeps/unix/bsd/vax/wait.S: Likewise. + * sysdeps/unix/bsd/vax/wait3.S: Likewise. + * sysdeps/unix/i386/brk.S: Likewise. + * sysdeps/unix/i386/fork.S: Likewise. + * sysdeps/unix/i386/pipe.S: Likewise. + * sysdeps/unix/i386/sigreturn.S: Likewise. + * sysdeps/unix/i386/syscall.S: Likewise. + * sysdeps/unix/i386/vfork.S: Likewise. + * sysdeps/unix/i386/wait.S: Likewise. + * sysdeps/unix/mips/brk.S: Likewise. + * sysdeps/unix/mips/fork.S: Likewise. + * sysdeps/unix/mips/pipe.S: Likewise. + * sysdeps/unix/mips/sigreturn.S: Likewise. + * sysdeps/unix/mips/sysdep.S: Likewise. + * sysdeps/unix/mips/wait.S: Likewise. + * sysdeps/unix/sparc/brk.S: Likewise. + * sysdeps/unix/sparc/fork.S: Likewise. + * sysdeps/unix/sparc/pipe.S: Likewise. + * sysdeps/unix/sparc/sysdep.S: Likewise. + * sysdeps/unix/sparc/vfork.S: Likewise. + * sysdeps/unix/sysv/i386/signal.S: Likewise. + * sysdeps/unix/sysv/i386/time.S: Likewise. + * sysdeps/unix/sysv/irix4/__handler.S: Likewise. + * sysdeps/unix/sysv/irix4/sigreturn.S: Likewise. + * sysdeps/unix/sysv/irix4/uname.S: Likewise. + * sysdeps/unix/sysv/irix4/wait.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/pipe.S: Likewise. + * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/fork.S: Likewise. + * sysdeps/unix/sysv/sco3.2.4/sigaction.S: Likewise. + * sysdeps/unix/sysv/sco3.2.4/sysconf.S: Likewise. + * sysdeps/unix/sysv/sco3.2.4/uname.S: Likewise. + * sysdeps/unix/sysv/sco3.2.4/waitpid.S: Likewise. + * sysdeps/unix/sysv/sysv4/i386/sys-sig.S: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/fsync.S: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S: Likewise. + * sysdeps/vax/bsd-_setjmp.S: Likewise. + * sysdeps/vax/bsd-setjmp.S: Likewise. + +1997-06-26 02:06 Ulrich Drepper <drepper@cygnus.com> + + * posix/Makefile (CFLAGS-regex.c): -DDEBUG was not meant for the + public. + + * Makerules ($(common-objpfx)libc.so): Use $(load-map-file) in + dependency, not $(libc-map). + + * sysdeps/posix/mk-stdiolim.c: Pretty print. + +1997-06-25 15:54 Fila Kolodny <fila@ibi.com> + + * sysdeps/mach/hurd/bits/fcntl.h: Change include of gnu/types.h to + include of bits/types.h. + + * sysdeps/posix/Makefile ($(common-objpfx)bits/stdio_lim.h): Don't + conditionalize this on whether we are cross-compiling. + +1997-06-21 15:47 H.J. Lu <hjl@gnu.ai.mit.edu> + + * elf/dl-lookup.c (do_lookup): Use default definition + for a default versioned symbol. + + * elf/dl-version.c (_dl_check_map_versions): Set the hidden field. + + * elf/dlvsym.c (__dlvsym): Set the hidden field to 1. + + * elf/link.h (r_found_version): Add the hidden field. + + * math/test-matherr.c: New file. + + * math/Makefile (tests): Add test-matherr. + (libm-support): Put back s_matherr. + (static-only-routines, aux): Remove s_matherr. + +1997-06-23 23:39 Ulrich Drepper <drepper@cygnus.com> + + * string/Makefile (headers): Change bytesex.h to bits/endian.h. + * sysdeps/generic/Makefile: Don't try to generate bytesex.h, but + bits/endian.h. + + * math/libm-test.c (lgamma_test): Make sure the test of the ilogb + function will not fail because of exceptions. + + * math/math.h: Add warning about use of M_* constants. + Pretty print. + +1997-06-23 11:36 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * hurd/path-lookup.c: Change GPL to LGPL, update and reformat + copyright, remove trailing white spaces and send through unexpand. + * inet/netinet/icmp6.h: Likewise. + * inet/netinet/in.h: Likewise. + * inet/netinet/ip6.h: Likewise. + * locale/programs/xmalloc.c: Likewise. + * locale/programs/xstrdup.c: Likewise. + * sysdeps/generic/make_siglist.c: Likewise. + * sysdeps/generic/morecore.c: Likewise. + * sysdeps/generic/sbrk.c: Likewise. + * sysdeps/generic/signame.c: Likewise. + * sysdeps/generic/signame.h: Likewise. + * sysdeps/generic/netinet/inbits.h: Likewise. + * sysdeps/posix/getpagesize.c: Likewise. + * sysdeps/unix/errnos-tmpl.c: Likewise. + * sysdeps/unix/getpagesize.c: Likewise. + * sysdeps/unix/make_errlist.c: Likewise. + * sysdeps/unix/mkfifo.c: Likewise. + * sysdeps/unix/nlist.c: Likewise. + * sysdeps/unix/start.c: Likewise. + * sysdeps/unix/sysv/linux/netinet/inbits.h: Likewise. + + * munch-tmpl.c: Update and reformat copyright, remove trailing + white spaces and send through unexpand. + * libio/clearerr_u.c: Likewise. + * libio/memstream.c: Likewise. + * libio/putc_u.c: Likewise. + * libio/putchar_u.c: Likewise. + * stdio-common/scanf.c: Likewise. + * stdlib/longlong.h: Likewise. + * sysdeps/alpha/__longjmp.c: Likewise. + * sysdeps/alpha/divrem.h: Likewise. + * sysdeps/alpha/machine-gmon.h: Likewise. + * sysdeps/alpha/setjmp_aux.c: Likewise. + * sysdeps/alpha/bits/setjmp.h: Likewise. + * sysdeps/arm/fpu_control.h: Likewise. + * sysdeps/generic/_strerror.c: Likewise. + * sysdeps/generic/det_endian.c: Likewise. + * sysdeps/generic/fdatasync.c: Likewise. + * sysdeps/generic/fpu_control.c: Likewise. + * sysdeps/generic/ftime.c: Likewise. + * sysdeps/generic/getdomain.c: Likewise. + * sysdeps/generic/group_member.c: Likewise. + * sysdeps/generic/ldiv.c: Likewise. + * sysdeps/generic/lldiv.c: Likewise. + * sysdeps/generic/lxstat.c: Likewise. + * sysdeps/generic/memcmp.c: Likewise. + * sysdeps/generic/memmem.c: Likewise. + * sysdeps/generic/mig-reply.c: Likewise. + * sysdeps/generic/pagecopy.h: Likewise. + * sysdeps/generic/profil-counter.h: Likewise. + * sysdeps/generic/pselect.c: Likewise. + * sysdeps/generic/setfpucw.c: Likewise. + * sysdeps/generic/stpcpy.c: Likewise. + * sysdeps/generic/uname.c: Likewise. + * sysdeps/generic/varargs.h: Likewise. + * sysdeps/generic/vlimit.c: Likewise. + * sysdeps/generic/bits/sigaction.h: Likewise. + * sysdeps/generic/bits/ustat.h: Likewise. + * sysdeps/generic/netinet/if_ether.h: Likewise. + * sysdeps/generic/sys/swap.h: Likewise. + * sysdeps/generic/sys/sysinfo.h: Likewise. + * sysdeps/i386/init-first.c: Likewise. + * sysdeps/i386/ldbl2mpn.c: Likewise. + * sysdeps/i386/memcopy.h: Likewise. + * sysdeps/i386/i586/memcopy.h: Likewise. + * sysdeps/i860/memcopy.h: Likewise. + * sysdeps/m68k/__longjmp.c: Likewise. + * sysdeps/m68k/fpu_control.h: Likewise. + * sysdeps/m68k/memcopy.h: Likewise. + * sysdeps/m68k/s_isinfl.c: Likewise. + * sysdeps/m68k/s_isnanl.c: Likewise. + * sysdeps/m68k/setjmp.c: Likewise. + * sysdeps/mach/_strerror.c: Likewise. + * sysdeps/mach/getsysstats.c: Likewise. + * sysdeps/mach/mprotect.c: Likewise. + * sysdeps/mach/munmap.c: Likewise. + * sysdeps/mach/pagecopy.h: Likewise. + * sysdeps/mach/start.c: Likewise. + * sysdeps/mach/sysdep.h: Likewise. + * sysdeps/mach/alpha/machine-lock.h: Likewise. + * sysdeps/mach/alpha/machine-sp.h: Likewise. + * sysdeps/mach/alpha/sysdep.h: Likewise. + * sysdeps/mach/alpha/thread_state.h: Likewise. + * sysdeps/mach/hppa/machine-lock.h: Likewise. + * sysdeps/mach/hurd/access.c: Likewise. + * sysdeps/mach/hurd/closedir.c: Likewise. + * sysdeps/mach/hurd/dirstream.h: Likewise. + * sysdeps/mach/hurd/dl-cache.c: Likewise. + * sysdeps/mach/hurd/euidaccess.c: Likewise. + * sysdeps/mach/hurd/fdatasync.c: Likewise. + * sysdeps/mach/hurd/fexecve.c: Likewise. + * sysdeps/mach/hurd/fork.c: Likewise. + * sysdeps/mach/hurd/fpathconf.c: Likewise. + * sysdeps/mach/hurd/fstatfs.c: Likewise. + * sysdeps/mach/hurd/fxstat.c: Likewise. + * sysdeps/mach/hurd/getcwd.c: Likewise. + * sysdeps/mach/hurd/getpriority.c: Likewise. + * sysdeps/mach/hurd/getrlimit.c: Likewise. + * sysdeps/mach/hurd/getsid.c: Likewise. + * sysdeps/mach/hurd/group_member.c: Likewise. + * sysdeps/mach/hurd/kill.c: Likewise. + * sysdeps/mach/hurd/lchown.c: Likewise. + * sysdeps/mach/hurd/lxstat.c: Likewise. + * sysdeps/mach/hurd/mig-reply.c: Likewise. + * sysdeps/mach/hurd/mmap.c: Likewise. + * sysdeps/mach/hurd/opendir.c: Likewise. + * sysdeps/mach/hurd/pathconf.c: Likewise. + * sysdeps/mach/hurd/profil.c: Likewise. + * sysdeps/mach/hurd/ptrace.c: Likewise. + * sysdeps/mach/hurd/readdir.c: Likewise. + * sysdeps/mach/hurd/readdir_r.c: Likewise. + * sysdeps/mach/hurd/send.c: Likewise. + * sysdeps/mach/hurd/sendto.c: Likewise. + * sysdeps/mach/hurd/setpriority.c: Likewise. + * sysdeps/mach/hurd/statfs.c: Likewise. + * sysdeps/mach/hurd/ttyname.c: Likewise. + * sysdeps/mach/hurd/uname.c: Likewise. + * sysdeps/mach/hurd/xstat.c: Likewise. + * sysdeps/mach/hurd/alpha/exc2signal.c: Likewise. + * sysdeps/mach/hurd/alpha/longjmp-ts.c: Likewise. + * sysdeps/mach/hurd/alpha/sigreturn.c: Likewise. + * sysdeps/mach/hurd/alpha/trampoline.c: Likewise. + * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise. + * sysdeps/mach/hurd/hppa/trampoline.c: Likewise. + * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise. + * sysdeps/mach/hurd/i386/exc2signal.c: Likewise. + * sysdeps/mach/hurd/i386/intr-msg.h: Likewise. + * sysdeps/mach/hurd/i386/longjmp-ts.c: Likewise. + * sysdeps/mach/hurd/i386/sigreturn.c: Likewise. + * sysdeps/mach/hurd/i386/trampoline.c: Likewise. + * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise. + * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise. + * sysdeps/mach/hurd/sys/param.h: Likewise. + * sysdeps/mach/i386/machine-lock.h: Likewise. + * sysdeps/mach/i386/machine-sp.h: Likewise. + * sysdeps/mach/i386/sysdep.h: Likewise. + * sysdeps/mach/i386/thread_state.h: Likewise. + * sysdeps/posix/dup2.c: Likewise. + * sysdeps/posix/flock.c: Likewise. + * sysdeps/posix/getdtsz.c: Likewise. + * sysdeps/posix/gettimeofday.c: Likewise. + * sysdeps/posix/isatty.c: Likewise. + * sysdeps/posix/killpg.c: Likewise. + * sysdeps/posix/mk-stdiolim.c: Likewise. + * sysdeps/posix/profil.c: Likewise. + * sysdeps/posix/remove.c: Likewise. + * sysdeps/posix/rename.c: Likewise. + * sysdeps/posix/sigsuspend.c: Likewise. + * sysdeps/posix/tempname.c: Likewise. + * sysdeps/posix/truncate.c: Likewise. + * sysdeps/posix/utimes.c: Likewise. + * sysdeps/posix/wait.c: Likewise. + * sysdeps/posix/wait3.c: Likewise. + * sysdeps/rs6000/memcopy.h: Likewise. + * sysdeps/sparc/memcopy.h: Likewise. + * sysdeps/standalone/close.c: Likewise. + * sysdeps/standalone/dirstream.h: Likewise. + * sysdeps/standalone/filedesc.h: Likewise. + * sysdeps/standalone/open.c: Likewise. + * sysdeps/standalone/read.c: Likewise. + * sysdeps/standalone/standalone.h: Likewise. + * sysdeps/standalone/write.c: Likewise. + * sysdeps/standalone/bits/stdio_lim.h: Likewise. + * sysdeps/standalone/i386/i386.h: Likewise. + * sysdeps/standalone/m68k/m68020/m68020.h: Likewise. + * sysdeps/stub/__longjmp.c: Likewise. + * sysdeps/stub/accept.c: Likewise. + * sysdeps/stub/access.c: Likewise. + * sysdeps/stub/acct.c: Likewise. + * sysdeps/stub/adjtime.c: Likewise. + * sysdeps/stub/alarm.c: Likewise. + * sysdeps/stub/bind.c: Likewise. + * sysdeps/stub/brk.c: Likewise. + * sysdeps/stub/bsd-_setjmp.c: Likewise. + * sysdeps/stub/bsd-setjmp.c: Likewise. + * sysdeps/stub/chdir.c: Likewise. + * sysdeps/stub/chflags.c: Likewise. + * sysdeps/stub/chmod.c: Likewise. + * sysdeps/stub/chown.c: Likewise. + * sysdeps/stub/chroot.c: Likewise. + * sysdeps/stub/clock.c: Likewise. + * sysdeps/stub/close.c: Likewise. + * sysdeps/stub/closedir.c: Likewise. + * sysdeps/stub/connect.c: Likewise. + * sysdeps/stub/ctermid.c: Likewise. + * sysdeps/stub/cuserid.c: Likewise. + * sysdeps/stub/dbl2mpn.c: Likewise. + * sysdeps/stub/dirstream.h: Likewise. + * sysdeps/stub/dup.c: Likewise. + * sysdeps/stub/dup2.c: Likewise. + * sysdeps/stub/exc2signal.c: Likewise. + * sysdeps/stub/execve.c: Likewise. + * sysdeps/stub/fchflags.c: Likewise. + * sysdeps/stub/fchown.c: Likewise. + * sysdeps/stub/fcntl.c: Likewise. + * sysdeps/stub/fdopen.c: Likewise. + * sysdeps/stub/fexecve.c: Likewise. + * sysdeps/stub/flock.c: Likewise. + * sysdeps/stub/fork.c: Likewise. + * sysdeps/stub/fpathconf.c: Likewise. + * sysdeps/stub/fpu_control.h: Likewise. + * sysdeps/stub/fstatfs.c: Likewise. + * sysdeps/stub/fsync.c: Likewise. + * sysdeps/stub/ftruncate.c: Likewise. + * sysdeps/stub/fxstat.c: Likewise. + * sysdeps/stub/getcwd.c: Likewise. + * sysdeps/stub/getdomain.c: Likewise. + * sysdeps/stub/getdtsz.c: Likewise. + * sysdeps/stub/getegid.c: Likewise. + * sysdeps/stub/geteuid.c: Likewise. + * sysdeps/stub/getgid.c: Likewise. + * sysdeps/stub/getgroups.c: Likewise. + * sysdeps/stub/gethostid.c: Likewise. + * sysdeps/stub/gethostname.c: Likewise. + * sysdeps/stub/getitimer.c: Likewise. + * sysdeps/stub/getpeername.c: Likewise. + * sysdeps/stub/getpgid.c: Likewise. + * sysdeps/stub/getpid.c: Likewise. + * sysdeps/stub/getppid.c: Likewise. + * sysdeps/stub/getpriority.c: Likewise. + * sysdeps/stub/getrlimit.c: Likewise. + * sysdeps/stub/getrusage.c: Likewise. + * sysdeps/stub/getsid.c: Likewise. + * sysdeps/stub/getsockname.c: Likewise. + * sysdeps/stub/getsockopt.c: Likewise. + * sysdeps/stub/getsysstats.c: Likewise. + * sysdeps/stub/gettimeofday.c: Likewise. + * sysdeps/stub/getuid.c: Likewise. + * sysdeps/stub/gtty.c: Likewise. + * sysdeps/stub/if_index.c: Likewise. + * sysdeps/stub/init-posix.c: Likewise. + * sysdeps/stub/ioctl.c: Likewise. + * sysdeps/stub/isatty.c: Likewise. + * sysdeps/stub/isfdtype.c: Likewise. + * sysdeps/stub/jmp-unwind.c: Likewise. + * sysdeps/stub/kill.c: Likewise. + * sysdeps/stub/killpg.c: Likewise. + * sysdeps/stub/ldbl2mpn.c: Likewise. + * sysdeps/stub/link.c: Likewise. + * sysdeps/stub/listen.c: Likewise. + * sysdeps/stub/lockfile.c: Likewise. + * sysdeps/stub/longjmp-ts.c: Likewise. + * sysdeps/stub/lseek.c: Likewise. + * sysdeps/stub/lxstat.c: Likewise. + * sysdeps/stub/machine-lock.h: Likewise. + * sysdeps/stub/machine-sp.h: Likewise. + * sysdeps/stub/madvise.c: Likewise. + * sysdeps/stub/mkdir.c: Likewise. + * sysdeps/stub/mkfifo.c: Likewise. + * sysdeps/stub/mmap.c: Likewise. + * sysdeps/stub/morecore.c: Likewise. + * sysdeps/stub/mpn2dbl.c: Likewise. + * sysdeps/stub/mpn2flt.c: Likewise. + * sysdeps/stub/mpn2ldbl.c: Likewise. + * sysdeps/stub/mprotect.c: Likewise. + * sysdeps/stub/msgctl.c: Likewise. + * sysdeps/stub/msgget.c: Likewise. + * sysdeps/stub/msgrcv.c: Likewise. + * sysdeps/stub/msgsnd.c: Likewise. + * sysdeps/stub/munmap.c: Likewise. + * sysdeps/stub/nanosleep.c: Likewise. + * sysdeps/stub/nice.c: Likewise. + * sysdeps/stub/nlist.c: Likewise. + * sysdeps/stub/open.c: Likewise. + * sysdeps/stub/opendir.c: Likewise. + * sysdeps/stub/pathconf.c: Likewise. + * sysdeps/stub/pause.c: Likewise. + * sysdeps/stub/pipestream.c: Likewise. + * sysdeps/stub/poll.c: Likewise. + * sysdeps/stub/profil.c: Likewise. + * sysdeps/stub/ptrace.c: Likewise. + * sysdeps/stub/putenv.c: Likewise. + * sysdeps/stub/read.c: Likewise. + * sysdeps/stub/readdir.c: Likewise. + * sysdeps/stub/readdir_r.c: Likewise. + * sysdeps/stub/readlink.c: Likewise. + * sysdeps/stub/reboot.c: Likewise. + * sysdeps/stub/recv.c: Likewise. + * sysdeps/stub/recvfrom.c: Likewise. + * sysdeps/stub/recvmsg.c: Likewise. + * sysdeps/stub/remove.c: Likewise. + * sysdeps/stub/rename.c: Likewise. + * sysdeps/stub/revoke.c: Likewise. + * sysdeps/stub/rewinddir.c: Likewise. + * sysdeps/stub/rmdir.c: Likewise. + * sysdeps/stub/sbrk.c: Likewise. + * sysdeps/stub/sched_getp.c: Likewise. + * sysdeps/stub/sched_gets.c: Likewise. + * sysdeps/stub/sched_primax.c: Likewise. + * sysdeps/stub/sched_primin.c: Likewise. + * sysdeps/stub/sched_rr_gi.c: Likewise. + * sysdeps/stub/sched_setp.c: Likewise. + * sysdeps/stub/sched_sets.c: Likewise. + * sysdeps/stub/sched_yield.c: Likewise. + * sysdeps/stub/seekdir.c: Likewise. + * sysdeps/stub/select.c: Likewise. + * sysdeps/stub/semctl.c: Likewise. + * sysdeps/stub/semget.c: Likewise. + * sysdeps/stub/semop.c: Likewise. + * sysdeps/stub/send.c: Likewise. + * sysdeps/stub/sendmsg.c: Likewise. + * sysdeps/stub/sendto.c: Likewise. + * sysdeps/stub/setdomain.c: Likewise. + * sysdeps/stub/setegid.c: Likewise. + * sysdeps/stub/setenv.c: Likewise. + * sysdeps/stub/seteuid.c: Likewise. + * sysdeps/stub/setgid.c: Likewise. + * sysdeps/stub/setgroups.c: Likewise. + * sysdeps/stub/sethostid.c: Likewise. + * sysdeps/stub/sethostname.c: Likewise. + * sysdeps/stub/setjmp.c: Likewise. + * sysdeps/stub/setlogin.c: Likewise. + * sysdeps/stub/setpgid.c: Likewise. + * sysdeps/stub/setpriority.c: Likewise. + * sysdeps/stub/setregid.c: Likewise. + * sysdeps/stub/setreuid.c: Likewise. + * sysdeps/stub/setrlimit.c: Likewise. + * sysdeps/stub/setsid.c: Likewise. + * sysdeps/stub/setsockopt.c: Likewise. + * sysdeps/stub/settimeofday.c: Likewise. + * sysdeps/stub/setuid.c: Likewise. + * sysdeps/stub/shmctl.c: Likewise. + * sysdeps/stub/shmget.c: Likewise. + * sysdeps/stub/shutdown.c: Likewise. + * sysdeps/stub/sigaction.c: Likewise. + * sysdeps/stub/sigaltstack.c: Likewise. + * sysdeps/stub/sigblock.c: Likewise. + * sysdeps/stub/sigintr.c: Likewise. + * sysdeps/stub/sigpending.c: Likewise. + * sysdeps/stub/sigprocmask.c: Likewise. + * sysdeps/stub/sigreturn.c: Likewise. + * sysdeps/stub/sigsetmask.c: Likewise. + * sysdeps/stub/sigstack.c: Likewise. + * sysdeps/stub/sigsuspend.c: Likewise. + * sysdeps/stub/sigvec.c: Likewise. + * sysdeps/stub/socket.c: Likewise. + * sysdeps/stub/socketpair.c: Likewise. + * sysdeps/stub/sstk.c: Likewise. + * sysdeps/stub/statfs.c: Likewise. + * sysdeps/stub/stdio_init.c: Likewise. + * sysdeps/stub/stime.c: Likewise. + * sysdeps/stub/stty.c: Likewise. + * sysdeps/stub/swapoff.c: Likewise. + * sysdeps/stub/swapon.c: Likewise. + * sysdeps/stub/symlink.c: Likewise. + * sysdeps/stub/sync.c: Likewise. + * sysdeps/stub/syscall.c: Likewise. + * sysdeps/stub/sysd-stdio.c: Likewise. + * sysdeps/stub/system.c: Likewise. + * sysdeps/stub/tcdrain.c: Likewise. + * sysdeps/stub/tcflow.c: Likewise. + * sysdeps/stub/tcflush.c: Likewise. + * sysdeps/stub/tcgetattr.c: Likewise. + * sysdeps/stub/tcgetpgrp.c: Likewise. + * sysdeps/stub/tcsendbrk.c: Likewise. + * sysdeps/stub/tcsetpgrp.c: Likewise. + * sysdeps/stub/telldir.c: Likewise. + * sysdeps/stub/thread_state.h: Likewise. + * sysdeps/stub/time.c: Likewise. + * sysdeps/stub/times.c: Likewise. + * sysdeps/stub/trampoline.c: Likewise. + * sysdeps/stub/truncate.c: Likewise. + * sysdeps/stub/ttyname.c: Likewise. + * sysdeps/stub/ttyname_r.c: Likewise. + * sysdeps/stub/ualarm.c: Likewise. + * sysdeps/stub/ulimit.c: Likewise. + * sysdeps/stub/umask.c: Likewise. + * sysdeps/stub/unlink.c: Likewise. + * sysdeps/stub/usleep.c: Likewise. + * sysdeps/stub/ustat.c: Likewise. + * sysdeps/stub/utime.c: Likewise. + * sysdeps/stub/utimes.c: Likewise. + * sysdeps/stub/vdprintf.c: Likewise. + * sysdeps/stub/vhangup.c: Likewise. + * sysdeps/stub/wait.c: Likewise. + * sysdeps/stub/wait3.c: Likewise. + * sysdeps/stub/wait4.c: Likewise. + * sysdeps/stub/waitpid.c: Likewise. + * sysdeps/stub/write.c: Likewise. + * sysdeps/stub/xmknod.c: Likewise. + * sysdeps/stub/xstat.c: Likewise. + * sysdeps/stub/bits/errno.h: Likewise. + * sysdeps/stub/bits/sigcontext.h: Likewise. + * sysdeps/unix/fxstat.c: Likewise. + * sysdeps/unix/mk-local_lim.c: Likewise. + * sysdeps/unix/mkdir.c: Likewise. + * sysdeps/unix/nice.c: Likewise. + * sysdeps/unix/rmdir.c: Likewise. + * sysdeps/unix/stime.c: Likewise. + * sysdeps/unix/telldir.c: Likewise. + * sysdeps/unix/xstat.c: Likewise. + * sysdeps/unix/arm/sysdep.h: Likewise. + * sysdeps/unix/bsd/ftime.c: Likewise. + * sysdeps/unix/bsd/isatty.c: Likewise. + * sysdeps/unix/bsd/setegid.c: Likewise. + * sysdeps/unix/bsd/seteuid.c: Likewise. + * sysdeps/unix/bsd/setsid.c: Likewise. + * sysdeps/unix/bsd/sigaction.c: Likewise. + * sysdeps/unix/bsd/sigprocmask.c: Likewise. + * sysdeps/unix/bsd/tcgetattr.c: Likewise. + * sysdeps/unix/bsd/tcsetattr.c: Likewise. + * sysdeps/unix/bsd/times.c: Likewise. + * sysdeps/unix/bsd/ulimit.c: Likewise. + * sysdeps/unix/bsd/bits/dirent.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise. + * sysdeps/unix/bsd/bsd4.4/wait.c: Likewise. + * sysdeps/unix/bsd/bsd4.4/waitpid.c: 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/sigtramp.c: Likewise. + * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise. + * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise. + * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise. + * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise. + * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise. + * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise. + * sysdeps/unix/bsd/ultrix4/bits/posix_opt.h: Likewise. + * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise. + * sysdeps/unix/bsd/vax/sysdep.h: Likewise. + * sysdeps/unix/common/lxstat.c: Likewise. + * sysdeps/unix/common/tcsendbrk.c: Likewise. + * sysdeps/unix/common/bits/dirent.h: Likewise. + * sysdeps/unix/i386/sysdep.h: Likewise. + * sysdeps/unix/mips/sysdep.h: Likewise. + * sysdeps/unix/sysv/setrlimit.c: Likewise. + * sysdeps/unix/sysv/settimeofday.c: Likewise. + * sysdeps/unix/sysv/sigaction.c: Likewise. + * sysdeps/unix/sysv/sysv_termio.h: Likewise. + * sysdeps/unix/sysv/tcdrain.c: Likewise. + * sysdeps/unix/sysv/tcflow.c: Likewise. + * sysdeps/unix/sysv/tcflush.c: Likewise. + * sysdeps/unix/sysv/tcgetattr.c: Likewise. + * sysdeps/unix/sysv/tcsendbrk.c: Likewise. + * sysdeps/unix/sysv/tcsetattr.c: Likewise. + * sysdeps/unix/sysv/bits/dirent.h: Likewise. + * sysdeps/unix/sysv/irix4/getpriority.c: Likewise. + * sysdeps/unix/sysv/irix4/setpriority.c: Likewise. + * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise. + * sysdeps/unix/sysv/linux/adjtime.c: Likewise. + * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise. + * sysdeps/unix/sysv/linux/gethostname.c: Likewise. + * sysdeps/unix/sysv/linux/if_index.c: Likewise. + * sysdeps/unix/sysv/linux/ptrace.c: Likewise. + * sysdeps/unix/sysv/linux/reboot.c: Likewise. + * sysdeps/unix/sysv/linux/speed.c: Likewise. + * sysdeps/unix/sysv/linux/sysctl.c: Likewise. + * sysdeps/unix/sysv/linux/tcdrain.c: Likewise. + * sysdeps/unix/sysv/linux/ulimit.c: Likewise. + * sysdeps/unix/sysv/linux/waitpid.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Likewise. + * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep.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/sigaction.c: Likewise. + * sysdeps/unix/sysv/sysv4/siginfo.h: Likewise. + * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise. + * sysdeps/unix/sysv/sysv4/sysconfig.h: Likewise. + * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise. + * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise. + * sysdeps/vax/fl.h: Likewise. + * sysdeps/vax/setjmp.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New - strong alias. +1997-06-21 16:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added. + * stdlib/strtod.c (INTERNAL (STRTOF)): Fix recognition of Infinity + and NaN strings. - * libc.map (__ieee_get_fp_control, __ieee_set_fp_control): - Added. Used by libm.so on alpha. +1997-06-20 21:52 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-03-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * sysdeps/m68k/fpu/bits/mathinline.h (__scalbn): Fix type of second + argument. + (__ilogb): Remove special case for zero, add stupid special case + for NaN. + (__ieee754_scalb): Remove definition. + * sysdeps/m68k/fpu/mathbits.h (FP_ILOGB0, FP_ILOGBNAN): Define. + * sysdeps/m68k/fpu/s_scalbn.c: Fix type of second argument. - * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet - defined. + * sysdeps/m68k/fpu/e_scalb.c: Rewritten. + * sysdeps/m68k/fpu/e_scalbf.c: Adapted. + * sysdeps/m68k/fpu/e_scalbl.c: Adapted. -1998-03-27 07:29 H.J. Lu <hjl@gnu.org> + * sysdeps/libm-ieee754/e_scalb.c: Raise no exceptions when + returning NaN. Handle zero specially. + * sysdeps/libm-ieee754/e_scalbf.c: Likewise. + * sysdeps/libm-ieee754/e_scalbl.c: Likewise. - * Makerules (object-suffixes-for-rules): Add .oS only for - building shared library. - Add ranlib rule for nonshared library. - (rmobjs): Fix typo. + * math/libm-test.c (ilogb_test): Don't require exceptions for zero + and NaN. + (gamma_test): Use different argument when checking whether + function is implemented. + (scalb_test): Remove duplicate tests. - * 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). +1997-06-03 15:59 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-03-28 Ulrich Drepper <drepper@cygnus.com> + * Makerules (+depfiles): Add dependencies for $(test-srcs). + (distinfo-vars): Add test-srcs. - * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile - and install lddlibc4. +1997-06-21 17:35 Ulrich Drepper <drepper@cygnus.com> -1998-03-28 09:13 Zack Weinberg <zack@rabi.phys.columbia.edu> + * argp/argp.h: Remove extra #endif. Pretty print. + * md5-crypt/md5.h: Likewise. - * iconvdata/gap.pl: Gobble rest of line with a scalar, not a - hash. - * iconvdata/gaptab.pl: Likewise. + * ctype/ctype.h: Don't use <gnu/types.h> but <bits/types.h>. + * wctype/wctype.h: Likewise. -1998-03-27 22:46 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/Makefile: Build stdio_lim.h in correct + directory. - * 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/libm-i387/s_ilogb.S: Add fwait to ensure we get the result. + * sysdeps/libm-i387/s_ilogbf.S: Likewise. + * sysdeps/libm-i387/s_ilogbl.S: Likewise. + * sysdeps/libm-i387/s_lrint.S: Likewise. + * sysdeps/libm-i387/s_llrint.S: Likewise. - * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next. +1997-06-21 02:48 Ulrich Drepper <drepper@cygnus.com> - * misc/error.c: Pretty print. + * config.h.in: Add DO_STATIC_NSS. + * config.make.in: Add build-static-nss. -1998-03-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * elf/eval.c: Use __getdelim instead of __getline. - * Makerules (libc_nonshared-name): Remove variable. - (installed-libcs): Use libc-name instead. - ($(inst_libdir)/libc.so): Likewise. Remove explicit reference to - dynamic linker. + * locale/programs/locale.c: Correct comment. - * Makeconfig (link-libc): Link against libc_nonshared.a instead of - libc.a. Remove explicit reference to dynamic linker. + * manual/libc.texinfo: Update copyright and date. + Remove A4 option. -1998-03-27 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/libm-ieee754/k_standard.c: Always return HUGE_VAL + for gamma overflow. + * sysdeps/libm-ieee754/w_gamma.c: Handle SVID and ISO C behaviour. + * sysdeps/libm-ieee754/w_gammaf.c: Likewise. + * sysdeps/libm-ieee754/w_gammalp.c: Likewise. + + * po/ko.po: Update. + +1997-06-13 10:06 Richard Henderson <rth@tamu.edu> + + The Great Bit File Move: + * configure.in (AC_INIT): Look in include/ for features.h. + (sysnames): Add include as the final search directory. + (AC_OUTPUT): Create a bits directory in the build directory. + * Makeconfig (CPPFLAGS): Look in include/ for libc-symbols.h. + * Makefile: Make sure the target directory exists when installing + <gnu/stubs.h> and <gnu/lib-names.h>. + * csu/Makefile: Use $(compile.S) and $(compile.c) instead of + invoking $(CC) directly, as the former have the full include path. + + * ansidecl.h: Removed. + + * aliases.h: Moved to include/. + * alloca.h: Likewise. + * argp.h: Likewise. + * argz.h: Likewise. + * arpa/ftp.h: Likewise. + * arpa/inet.h: Likewise. + * arpa/nameser.h: Likewise. + * arpa/telnet.h: Likewise. + * arpa/tftp.h: Likewise. + * assert.h: Likewise. + * ctype.h: Likewise. + * db.h: Likewise. + * dirent.h: Likewise. + * dlfcn.h: Likewise. + * elf.h: Likewise. + * endian.h: Likewise. + * envz.h: Likewise. + * err.h: Likewise. + * errno.h: Likewise. + * error.h: Likewise. + * fcntl.h: Likewise. + * features.h: Likewise. + * fnmatch.h: Likewise. + * ftw.h: Likewise. + * getopt.h: Likewise. + * glob.h: Likewise. + * gnu-versions.h: Likewise. + * grp.h: Likewise. + * langinfo.h: Likewise. + * libc-symbols.h: Likewise. + * libgen.h: Likewise. + * libintl.h: Likewise. + * limits.h: Likewise. + * linewrap.h: Likewise. + * link.h: Likewise. + * locale.h: Likewise. + * malloc.h: Likewise. + * math.h: Likewise. + * mathcalls.h: Likewise. + * mcheck.h: Likewise. + * memory.h: Likewise. + * netdb.h: Likewise. + * netgroup.h: Likewise. + * netinet/ether.h: Likewise. + * netinet/in.h: Likewise. + * nlist.h: Likewise. + * nss.h: Likewise. + * nsswitch.h: Likewise. + * obstack.h: Likewise. + * poll.h: Likewise. + * posix1_lim.h: Likewise. + * posix2_lim.h: Likewise. + * printf.h: Likewise. + * protocols/routed.h: Likewise. + * protocols/rwhod.h: Likewise. + * protocols/talkd.h: Likewise. + * protocols/timed.h: Likewise. + * pwd.h: Likewise. + * regex.h: Likewise. + * resolv.h: Likewise. + * rpc/auth_unix.h: Likewise. + * rpc/clnt.h: Likewise. + * rpc/netdb.h: Likewise. + * rpc/pmap_clnt.h: Likewise. + * rpc/pmap_prot.h: Likewise. + * rpc/pmap_rmt.h: Likewise. + * rpc/rpc.h: Likewise. + * rpc/rpc_msg.h: Likewise. + * rpc/svc.h: Likewise. + * rpc/svc_auth.h: Likewise. + * rpc/types.h: Likewise. + * rpc/xdr.h: Likewise. + * sched.h: Likewise. + * search.h: Likewise. + * set-hooks.h: Likewise. + * setjmp.h: Likewise. + * sgtty.h: Likewise. + * shadow.h: Likewise. + * signal.h: Likewise. + * stab.def: Likewise. + * stab.h: Likewise. + * stdio.h: Likewise. + * stdlib.h: Likewise. + * string.h: Likewise. + * strings.h: Likewise. + * sys/bitypes.h: Likewise. + * sys/cdefs.h: Likewise. + * sys/dir.h: Likewise. + * sys/errno.h: Likewise. + * sys/fcntl.h: Likewise. + * sys/file.h: Likewise. + * sys/gmon.h: Likewise. + * sys/ioctl.h: Likewise. + * sys/ipc.h: Likewise. + * sys/msg.h: Likewise. + * sys/poll.h: Likewise. + * sys/queue.h: Likewise. + * sys/resource.h: Likewise. + * sys/select.h: Likewise. + * sys/sem.h: Likewise. + * sys/shm.h: Likewise. + * sys/signal.h: Likewise. + * sys/socket.h: Likewise. + * sys/stat.h: Likewise. + * sys/statfs.h: Likewise. + * sys/syslog.h: Likewise. + * sys/termios.h: Likewise. + * sys/time.h: Likewise. + * sys/timeb.h: Likewise. + * sys/times.h: Likewise. + * sys/types.h: Likewise. + * sys/uio.h: Likewise. + * sys/un.h: Likewise. + * sys/unistd.h: Likewise. + * sys/utsname.h: Likewise. + * sys/vlimit.h: Likewise. + * sys/vtimes.h: Likewise. + * sys/wait.h: Likewise. + * syscall.h: Likewise. + * syslog.h: Likewise. + * tar.h: Likewise. + * termios.h: Likewise. + * time.h: Likewise. + * ttyent.h: Likewise. + * unistd.h: Likewise. + * utime.h: Likewise. + * utmp.h: Likewise. + * values.h: Likewise. + * wchar.h: Likewise. + * wctype.h: Likewise. + * wordexp.h: Likewise. + * xlocale.h: Likewise. + * xopen_lim.h: Likewise. + + * sysdeps/mach/libc-lock.h: Likewise. + * sysdeps/stub/libc-lock.h: Likewise. + * sysdeps/mach/hurd/local_lim.h: Likewise. + * sysdeps/stub/local_lim.h: Likewise. + * sysdeps/unix/sysv/linux/local_lim.h: Likewise. + * sysdeps/unix/sysv/local_lim.h: Likewise. + * sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise. + * sysdeps/mach/hurd/posix_opt.h: Likewise. + * sysdeps/stub/posix_opt.h: Likewise. + * sysdeps/unix/bsd/posix_opt.h: Likewise. + * sysdeps/unix/bsd/ultrix4/posix_opt.h: Likewise. + * sysdeps/unix/sysv/linux/posix_opt.h: Likewise. + * math/cmathcalls.h: -> bits/ + * math/mathcalls.h: Likewise. + * misc/stab.def: -> bits/ + * posix/posix1_lim.h: -> bits/ + * posix/posix2_lim.h: Likewise. + * sysdeps/alpha/__math.h: -> .../fpu/bits/mathinline.h + * sysdeps/i386/fpu/__math.h: Likewise. + * sysdeps/m68k/fpu/__math.h: Likewise. + * sysdeps/m68k/fpu/switch/__math.h: Likewise. + * sysdeps/powerpc/__math.h: Likewise. + * sysdeps/stub/__math.h: Likewise. + * sysdeps/alpha/bytesex.h: -> .../bits/endian.h + * sysdeps/arm/bytesex.h: Likewise. + * sysdeps/i386/bytesex.h: Likewise. + * sysdeps/m68k/bytesex.h: Likewise. + * sysdeps/mips/bytesex.h: Likewise. + * sysdeps/mips/dec/bytesex.h: Likewise. + * sysdeps/mips/mipsel/bytesex.h: Likewise. + * sysdeps/mips/p40/bytesex.h: Likewise. + * sysdeps/sparc/bytesex.h: Likewise. + * sysdeps/stub/bytesex.h: Likewise. + * sysdeps/alpha/fpu/fenvbits.h: -> .../bits/fenv.h + * sysdeps/i386/fpu/fenvbits.h: Likewise. + * sysdeps/m68k/fpu/fenvbits.h: Likewise. + * sysdeps/powerpc/fenvbits.h: Likewise. + * sysdeps/stub/fenvbits.h: Likewise. + * sysdeps/alpha/jmp_buf.h: -> .../bits/setenv.h + * sysdeps/arm/jmp_buf.h: Likewise. + * sysdeps/i386/jmp_buf.h: Likewise. + * sysdeps/m68k/jmp_buf.h: Likewise. + * sysdeps/mips/jmp_buf.h: Likewise. + * sysdeps/sparc/jmp_buf.h: Likewise. + * sysdeps/powerpc/jmp_buf.h: Likewise. + * sysdeps/stub/jmp_buf.h: Likewise. + * sysdeps/vax/jmp_buf.h: Likewise. + * sysdeps/generic/confname.h: -> bits/ + * sysdeps/unix/sysv/irix4/confname.h: Likewise. + * sysdeps/unix/sysv/sco3.2.4/confname.h: Likewise. + * sysdeps/generic/gnu/types.h: -> ../bits/types.h + * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Likewise. + * sysdeps/unix/sysv/linux/gnu/types.h: Likewise. + * sysdeps/generic/ioctl-types.h: -> bits/ + * sysdeps/unix/sysv/linux/ioctl-types.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/ioctl-types.h: Likewise. + * sysdeps/generic/iovec.h: -> .../bits/uio.h + * sysdeps/unix/sysv/linux/iovec.h: Likewise. + * sysdeps/generic/mathbits.h: -> .../bits/mathdef.h + * sysdeps/i386/fpu/mathbits.h: Likewise. + * sysdeps/m68k/fpu/mathbits.h: Likewise. + * sysdeps/powerpc/mathbits.h: Likewise. + * sysdeps/generic/resourcebits.h: -> .../bits/resource.h + * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Likewise. + * sysdeps/unix/sysv/linux/resourcebits.h: Likewise. + * sysdeps/generic/schedbits.h: -> .../bits/sched.h + * sysdeps/unix/sysv/linux/schedbits.h: Likewise. + * sysdeps/generic/selectbits.h: -> .../bits/select.h + * sysdeps/i386/selectbits.h: Likewise. + * sysdeps/generic/sigaction.h: -> bits/ + * sysdeps/unix/bsd/osf/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sigaction.h: Likewise. + * sysdeps/unix/sysv/minix/sigaction.h: Likewise. + * sysdeps/unix/sysv/sco3.2.4/sigaction.h: Likewise. + * sysdeps/unix/sysv/sysv4/sigaction.h: Likewise. + * sysdeps/generic/sigset.h: -> bits/ + * sysdeps/unix/sysv/linux/sigset.h: Likewise. + * sysdeps/unix/sysv/sysv4/sigset.h: Likewise. + * sysdeps/generic/sockaddrcom.h: -> .../bits/sockaddr.h + * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise. + * sysdeps/generic/socketbits.h: -> .../bits/socket.h + * sysdeps/unix/sysv/linux/socketbits.h: Likewise. + * sysdeps/generic/statfsbuf.h: -> .../bits/statfs.h + * sysdeps/unix/sysv/linux/statfsbuf.h: Likewise. + * sysdeps/generic/termbits.h: -> .../bits/termios.h + * sysdeps/unix/bsd/sun/sunos4/termbits.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/termbits.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/termbits.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/termbits.h: Likewise. + * sysdeps/unix/sysv/linux/termbits.h: Likewise. + * sysdeps/generic/ustatbits.h: -> .../bits/ustat.h + * sysdeps/unix/sysv/linux/ustatbits.h: Likewise. + * sysdeps/generic/utmpbits.h: -> .../bits/utmp.h + * sysdeps/gnu/utmpbits.h: Likewise. + * sysdeps/unix/sysv/utmpbits.h: Likewise. + * sysdeps/generic/utsnamelen.h: -> .../bits/utsname.h + * sysdeps/unix/bsd/sun/sunos4/utsnamelen.h: Likewise. + * sysdeps/unix/bsd/ultrix4/utsnamelen.h: Likewise. + * sysdeps/unix/sysv/linux/utsnamelen.h: Likewise. + * sysdeps/unix/sysv/sysv4/utsnamelen.h: Likewise. + * sysdeps/unix/sysv/utsnamelen.h: Likewise. + * sysdeps/generic/waitstatus.h: -> bits/ + * sysdeps/i386/huge_val.h: -> bits/ + * sysdeps/ieee754/huge_val.h: Likewise. + * sysdeps/m68k/huge_val.h: Likewise. + * sysdeps/stub/huge_val.h: Likewise. + * sysdeps/vax/huge_val.h: Likewise. + * sysdeps/ieee754/nan.h: Likewise. + * sysdeps/stub/nan.h: Likewise. + * sysdeps/mach/hurd/alpha/sigcontext.h: -> bits/ + * sysdeps/mach/hurd/hppa/sigcontext.h: Likewise. + * sysdeps/mach/hurd/i386/sigcontext.h: Likewise. + * sysdeps/mach/hurd/mips/sigcontext.h: Likewise. + * sysdeps/stub/sigcontext.h: Likewise. + * sysdeps/unix/bsd/sun/m68k/sigcontext.h: Likewise. + * sysdeps/unix/bsd/sun/sparc/sigcontext.h: Likewise. + * sysdeps/unix/bsd/ultrix4/mips/sigcontext.h: Likewise. + * sysdeps/unix/sysv/linux/sigcontext.h: Likewise. + * sysdeps/mach/hurd/errnos.h: -> .../bits/errno.h + * sysdeps/standalone/arm/errnos.h: Likewise. + * sysdeps/stub/errnos.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise. + * sysdeps/unix/sysv/linux/errnos.h: Likewise. + * sysdeps/mach/hurd/fcntlbits.h: -> .../bits/fcntl.h + * sysdeps/stub/fcntlbits.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise. + * sysdeps/unix/bsd/fcntlbits.h: Likewise. + * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise. + * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise. + * sysdeps/unix/common/fcntlbits.h: Likewise. + * sysdeps/unix/sysv/fcntlbits.h: Likewise. + * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise. + * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/fcntlbits.h: Likewise. + * sysdeps/mach/hurd/ioctls.h: -> bits/ + * sysdeps/stub/ioctls.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/ioctls.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/ioctls.h: Likewise. + * sysdeps/unix/sysv/linux/ioctls.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/ioctls.h: Likewise. + * sysdeps/mach/hurd/statbuf.h: -> .../bits/stat.h + * sysdeps/stub/statbuf.h: Likewise. + * sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise. + * sysdeps/unix/bsd/statbuf.h: Likewise. + * sysdeps/unix/sysv/irix4/statbuf.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise. + * sysdeps/unix/sysv/linux/statbuf.h: Likewise. + * sysdeps/unix/sysv/statbuf.h: Likewise. + * sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: Likewise. + * sysdeps/standalone/stdio_lim.h: -> bits/ + * sysdeps/stub/stdio_lim.h: Likewise. + * sysdeps/stub/direntry.h: -> ../bits/dirent.h + * sysdeps/unix/bsd/bsd4.4/direntry.h: Likewise. + * sysdeps/unix/bsd/direntry.h: Likewise. + * sysdeps/unix/common/direntry.h: Likewise. + * sysdeps/unix/sysv/direntry.h: Likewise. + * sysdeps/unix/sysv/linux/direntry.h: Likewise. + * sysdeps/stub/elfclass.h: -> bits/ + * sysdeps/wordsize-32/elfclass.h: Likewise. + * sysdeps/wordsize-64/elfclass.h: Likewise. + * sysdeps/stub/signum.h: -> bits/ + * sysdeps/unix/bsd/signum.h: Likewise. + * sysdeps/unix/bsd/sun/signum.h: Likewise. + * sysdeps/unix/sysv/irix4/signum.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/signum.h: Likewise. + * sysdeps/unix/sysv/linux/signum.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/signum.h: Likewise. + * sysdeps/unix/sysv/signum.h: Likewise. + * sysdeps/unix/sysv/sysv4/signum.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/signum.h: Likewise. + * sysdeps/stub/sys/ipc_buf.h: -> .../bits/ipc.h + * sysdeps/unix/sysv/linux/alpha/sys/ipc_buf.h: Likewise. + * sysdeps/unix/sysv/linux/sys/ipc_buf.h: Likewise. + * sysdeps/stub/sys/msq_buf.h: -> .../bits/msq.h + * sysdeps/unix/sysv/linux/sys/msq_buf.h: Likewise. + * sysdeps/stub/sys/sem_buf.h: -> .../bits/sem.h + * sysdeps/unix/sysv/linux/sys/sem_buf.h: Likewise. + * sysdeps/stub/sys/shm_buf.h: -> .../bits/shm.h + * sysdeps/unix/sysv/linux/sys/shm_buf.h: Likewise. + * sysdeps/stub/timebits.h: -> .../bits/time.h + * sysdeps/unix/sysv/linux/alpha/timebits.h: Likewise. + * sysdeps/unix/sysv/linux/timebits.h: Likewise. + * sysdeps/stub/waitflags.h: -> bits/ + * sysdeps/unix/bsd/waitflags.h: Likewise. + * sysdeps/unix/sysv/linux/waitflags.h: Likewise. + * sysdeps/unix/sysv/sysv4/waitflags.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/sys/kernel_termios.h: -> ../ + * sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Likewise. + * sysdeps/unix/sysv/linux/sys/kernel_termios.h: Likewise. + * sysdeps/unix/sysv/linux/sys/socketcall.h: -> ../ + + * argp/argp-fmtstream.h: Standardize the multiple-include protect. + * argp/argp.h: Likewise. + * catgets/nl_types.h: Likewise. + * crypt/sysdeps/unix/crypt.h: Likewise. + * ctype/ctype.h: Likewise. + * db/db.h: Likewise. + * db/mpool.h: Likewise. + * db/ndbm.h: Likewise. + * dirent/dirent.h: Likewise. + * elf/dlfcn.h: Likewise. + * elf/elf.h: Likewise. + * elf/link.h: Likewise. + * gmon/sys/gmon.h: Likewise. + * gmon/sys/gmon_out.h: Likewise. + * grp/grp.h: Likewise. + * inet/aliases.h: Likewise. + * inet/arpa/ftp.h: Likewise. + * inet/arpa/inet.h: Likewise. + * inet/arpa/telnet.h: Likewise. + * inet/arpa/tftp.h: Likewise. + * inet/netinet/ether.h: Likewise. + * inet/netinet/icmp6.h: Likewise. + * inet/netinet/in.h: Likewise. + * inet/netinet/ip6.h: Likewise. + * inet/protocols/routed.h: Likewise. + * inet/protocols/rwhod.h: Likewise. + * inet/protocols/talkd.h: Likewise. + * inet/protocols/timed.h: Likewise. + * intl/libintl.h: Likewise. + * io/fcntl.h: Likewise. + * io/fts.h: Likewise. + * io/ftw.h: Likewise. + * io/sys/poll.h: Likewise. + * io/sys/stat.h: Likewise. + * io/sys/statfs.h: Likewise. + * io/utime.h: Likewise. + * locale/locale.h: Likewise. + * login/pty.h: Likewise. + * login/utmp.h: Likewise. + * malloc/malloc.h: Likewise. + * malloc/obstack.h: Likewise. + * math/complex.h: Likewise. + * math/fenv.h: Likewise. + * math/math.h: Likewise. + * md5-crypt/md5.h: Likewise. + * misc/ar.h: Likewise. + * misc/err.h: Likewise. + * misc/error.h: Likewise. + * misc/fstab.h: Likewise. + * misc/libgen.h: Likewise. + * misc/nlist.h: Likewise. + * misc/sys/cdefs.h: Likewise. + * misc/sys/file.h: Likewise. + * misc/sys/ioctl.h: Likewise. + * misc/sys/queue.h: Likewise. + * misc/sys/select.h: Likewise. + * misc/sys/syslog.h: Likewise. + * misc/sys/uio.h: Likewise. + * misc/sysexits.h: Likewise. + * misc/ttyent.h: Likewise. + * nss/nss.h: Likewise. + * posix/fnmatch.h: Likewise. + * posix/getopt.h: Likewise. + * posix/glob.h: Likewise. + * posix/regex.h: Likewise. + * posix/sys/times.h: Likewise. + * posix/sys/types.h: Likewise. + * posix/sys/utsname.h: Likewise. + * posix/sys/wait.h: Likewise. + * posix/tar.h: Likewise. + * posix/unistd.h: Likewise. + * posix/wordexp.h: Likewise. + * pwd/pwd.h: Likewise. + * resolv/arpa/nameser.h: Likewise. + * resolv/netdb.h: Likewise. + * resolv/resolv.h: Likewise. + * resource/sys/resource.h: Likewise. + * resource/sys/vlimit.h: Likewise. + * resource/sys/vtimes.h: Likewise. + * setjmp/setjmp.h: Likewise. + * shadow/shadow.h: Likewise. + * socket/sys/socket.h: Likewise. + * socket/sys/un.h: Likewise. + * stdlib/exit.h: Likewise. + * stdlib/fmtmsg.h: Likewise. + * stdlib/monetary.h: Likewise. + * stdlib/stdlib.h: Likewise. + * string/argz.h: Likewise. + * string/envz.h: Likewise. + * string/memory.h: Likewise. + * string/string.h: Likewise. + * string/strings.h: Likewise. + * sunrpc/rpc/rpc.h: Likewise. + * sunrpc/rpc/svc.h: Likewise. + * sunrpc/rpc/types.h: Likewise. + * sunrpc/rpc/xdr.h: Likewise. + * termios/sys/ttychars.h: Likewise. + * termios/termios.h: Likewise. - * 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>. + * argp/argp-parse.c: <foo.h> -> <bits/foo.h>. + * crypt/sysdeps/unix/crypt_util.c: Likewise. + * dirent/dirent.h: Likewise. + * elf/link.h: Likewise. + * grp/fgetgrent.c: Likewise. + * grp/grp.h: Likewise. + * hurd/hurd/ioctl.h: Likewise. + * inet/getnameinfo.c: Likewise. + * inet/getnetgrent_r.c: Likewise. + * inet/inet_ntoa.c: Likewise. + * inet/netinet/in.h: Likewise. + * io/fcntl.h: Likewise. + * io/ftw.h: Likewise. + * io/sys/stat.h: Likewise. + * io/sys/statfs.h: Likewise. + * io/utime.h: Likewise. + * libio/_G_config.h: Likewise. + * libio/libio.h: Likewise. + * libio/libioP.h: Likewise. + * libio/stdio.h: Likewise. + * locale/duplocale.c: Likewise. + * locale/freelocale.c: Likewise. + * locale/lc-time.c: Likewise. + * locale/setlocale.c: Likewise. + * login/getutent_r.c: Likewise. + * login/getutid_r.c: Likewise. + * login/getutline_r.c: Likewise. + * login/lastlog.h: Likewise. + * login/pty.h: Likewise. + * login/utmp.h: Likewise. + * login/utmpname.c: Likewise. + * malloc/mtrace.c: Likewise. + * malloc/thread-m.h: Likewise. + * math/complex.h: Likewise. + * math/fenv.h: Likewise. + * math/libm-test.c: Likewise. + * math/math.h: Likewise. + * misc/sgtty.h: Likewise. + * misc/stab.h: Likewise. + * misc/sys/ioctl.h: Likewise. + * misc/sys/select.h: Likewise. + * misc/sys/uio.h: Likewise. + * misc/sys/ustat.h: Likewise. + * misc/syslog.c: Likewise. + * nis/nss_compat/compat-grp.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-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. + * 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-netgrp.c: Likewise. + * nis/nss_nisplus/nisplus-proto.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. + * nis/ypclnt.c: Likewise. + * nss/getXXbyYY.c: Likewise. + * nss/getXXent.c: Likewise. + * nss/getXXent_r.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/nsswitch.c: Likewise. + * posix/sched.h: Likewise. + * posix/sys/types.h: Likewise. + * posix/sys/utsname.h: Likewise. + * posix/sys/wait.h: Likewise. + * posix/unistd.h: Likewise. + * pwd/fgetpwent.c: Likewise. + * pwd/pwd.h: Likewise. + * resource/sys/resource.h: Likewise. + * setjmp/setjmp.h: Likewise. + * shadow/fgetspent.c: Likewise. + * shadow/lckpwdf.c: Likewise. + * shadow/sgetspent.c: Likewise. + * signal/signal.h: Likewise. + * signal/sigsetops.c: Likewise. + * socket/sys/socket.h: Likewise. + * socket/sys/un.h: Likewise. + * stdio/stdio.h: Likewise. + * stdio-common/vfprintf.c: Likewise. + * stdio-common/vfscanf.c: Likewise. + * stdlib/atexit.c: Likewise. + * stdlib/fmtmsg.c: Likewise. + * stdlib/random.c: Likewise. + * string/endian.h: Likewise. + * sysdeps/alpha/w_sqrt.S: Likewise. + * sysdeps/arm/__longjmp.S: Likewise. + * sysdeps/arm/setjmp.S: Likewise. + * sysdeps/generic/abort.c: Likewise. + * sysdeps/generic/netinet/ip.h: Likewise. + * sysdeps/generic/setenv.c: Likewise. + * generic/sys/mman.h: Likewise. + * sysdeps/i386/__longjmp.S: Likewise. + * sysdeps/i386/setjmp.S: Likewise. + * sysdeps/mach/hurd/dirstream.h: Likewise. + * sysdeps/mach/hurd/jmp-unwind.c: Likewise. + * sysdeps/posix/mk-stdiolim.c: Likewise. + * sysdeps/powerpc/__longjmp.S: Likewise. + * sysdeps/powerpc/setjmp.S: Likewise. + * sysdeps/sparc/__longjmp.S: Likewise. + * sysdeps/sparc/setjmp.S: Likewise. + * sysdeps/standalone/close.c: Likewise. + * sysdeps/standalone/filedesc.h: Likewise. + * sysdeps/standalone/open.c: Likewise. + * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Likewise. + * sysdeps/unix/bsd/m68k/sysdep.S: Likewise. + * sysdeps/unix/bsd/osf/sys/mman.h: Likewise. + * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise. + * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise. + * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise. + * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise. + * sysdeps/unix/bsd/vax/sysdep.S: Likewise. + * sysdeps/unix/dirstream.h: Likewise. + * sysdeps/unix/i386/sysdep.S: Likewise. + * sysdeps/unix/mips/sysdep.S: Likewise. + * sysdeps/unix/mk-local_lim.c: Likewise. + * sysdeps/unix/sparc/sysdep.S: Likewise. + * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/brk.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. + * sysdeps/unix/sysv/linux/arm/clone.S: Likewise. + * sysdeps/unix/sysv/linux/i386/clone.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. + * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise. + * sysdeps/unix/sysv/linux/netinet/tcp.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise. + * sysdeps/unix/sysv/linux/sys/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sys/syscall.h: Likewise. + * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise. + * sysdeps/unix/sysv/sco3.2.4/sysconf.S: Likewise. + * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S: Likewise. + * sysvipc/sys/ipc.h: Likewise. + * sysvipc/sys/msg.h: Likewise. + * sysvipc/sys/sem.h: Likewise. + * sysvipc/sys/shm.h: Likewise. + * termios/termios.h: Likewise. + * time/localtime.c: Likewise. + * time/sys/time.h: Likewise. + * time/time.h: Likewise. + * time/tzset.c: Likewise. - * 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>. + * sysdeps/unix/sysv/linux/arm/socket.S: socketcall.h change. + * sysdeps/unix/sysv/linux/i386/socket.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/socket.S: Likewise. -1998-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * Makefile (headers): foo.h -> bits/foo.h. + * dirent/Makefile: Likewise. + * elf/Makefile: Likewise. + * io/Makefile: Likewise. + * login/Makefile: Likewise. + * math/Makefile: Likewise. + * misc/Makefile: Likewise. + * posix/Makefile: Likewise. + * resource/Makefile: Likewise. + * setjmp/Makefile: Likewise. + * signal/Makefile: Likewise. + * socket/Makefile: Likewise. + * stdio-common/Makefile: Likewise. + * sysdeps/unix/sysv/linux/Makefile: Likewise. + * sysvipc/Makefile: Likewise. + * termios/Makefile: Likewise. + * time/Makefile: Likewise. + * sysdeps/generic/Makefile (make_siglist-CFLAGS): Likewise. + * sysdeps/posix/Makefile: stdio_lim.h -> bits/stdio_lim.h + * sysdeps/unix/Makefile: Likewise with local_lim.h, errnos.h, + ioctls.h, termbits.h. + + * sysdeps/unix/sysv/linux/Dist: sys/kernel_termios.h + -> kernel_termios.h, sys/socketcall.h -> socketcall.h + + * elf/elf.h: Use <inttypes.h> definitions instead of __attribute__ + for getting the proper length on the ELF types to be friendly to + non-gcc compilers. + * posix/sys/types.h: Notice when int8_t and friends are defined + and don't redefine them. + * sysdeps/wordsize-32/inttypes.h: Likewise. + * sysdeps/wordsize-64/inttypes.h: Likewise. - * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident. - * sunrpc/rpcsvc/key_prot.x: Likewise. - * sunrpc/key_prot.c: Likewise. + * sysdeps/unix/sysv/linux/arm/profil-counter.h: Get sigcontext + via <signal.h> instead. + * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/profil-counter.h: Likewise. -1998-03-27 13:49 Ulrich Drepper <drepper@cygnus.com> +1997-06-20 17:59 Kazumoto Kojima <kkojima@kk.info.kanagawa-u.ac.jp> - * 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>. + * hurd/intr-msg.c: More 64bit changes. + * mach/msg-destroy.c: Likewise. + * sysdeps/mach/hurd/ioctl.c: Likewise. + * sysdeps/mach/hurd/ioctls.h: Likewise. + * sysdeps/mach/hurd/select.c: Likewise. + * sysdeps/mach/hurd/statbuf.h: Likewise. -1998-03-27 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/mach/hurd/mips/dl-machine.c: Hurd/MIPS64 patches. + * sysdeps/mach/hurd/mips/exc2signal.c: Likewise. + * sysdeps/mach/hurd/mips/init-fault.c: Likewise. + * sysdeps/mach/hurd/mips/init-first.c: Likewise. + * sysdeps/mach/hurd/mips/intr-msg.h: Likewise. + * sysdeps/mach/hurd/mips/longjmp-ctx.c: Likewise. + * sysdeps/mach/hurd/mips/longjmp-ts.c: Likewise. + * sysdeps/mach/hurd/mips/sigcontext.h: Likewise. + * sysdeps/mach/hurd/mips/sigreturn.c: Likewise. + * sysdeps/mach/hurd/mips/trampoline.c: Likewise. + * sysdeps/mach/mips/cacheflush.c: Likewise. + * sysdeps/mach/mips/machine-lock.h: Likewise. + * sysdeps/mach/mips/machine-sp.h: Likewise. + * sysdeps/mach/mips/syscall.S: Likewise. + * sysdeps/mach/mips/sysdep.h: Likewise. + * sysdeps/mach/mips/thread_state.h: Likewise. + * sysdeps/mach/start.c: Likewise. + + * sysdeps/mips/dl-machine.h: MIPS changes. + * sysdeps/mips/elf/start.S: Likewise. + * sysdeps/mips/init-first.c: Likewise. + * sysdeps/mips/fpu_control.h: Likewise. + * sysdeps/mips/machine-gmon.h: Likewise. + * sysdeps/mips/jmp_buf.h: Likewise. + * sysdeps/mips/__longjmp.c: Likewise. + * sysdeps/mips/bsd-_setjmp.S: Likewise. + * sysdeps/mips/bsd-setjmp.S: Likewise. + * sysdeps/mips/setjmp.S: Likewise. + * sysdeps/mips/setjmp_aux.c: Likewise. + * sysdeps/mips/mips64/gmp-mparam.h: Likewise. + * sysdeps/mips/add_n.S: New file. + * sysdeps/mips/addmul_1.S: Likewise. + * sysdeps/mips/lshift.S: Likewise. + * sysdeps/mips/mul_1.S: Likewise. + * sysdeps/mips/rshift.S: Likewise. + * sysdeps/mips/sub_n.S: Likewise. + * sysdeps/mips/submul_1.S: Likewise. + * sysdeps/mips/mips64/Implies: Likewise. + * sysdeps/mips/mips64/add_n.S: Likewise. + * sysdeps/mips/mips64/addmul_1.S: Likewise. + * sysdeps/mips/mips64/lshift.S: Likewise. + * sysdeps/mips/mips64/mul_1.S: Likewise. + * sysdeps/mips/mips64/rshift.S: Likewise. + * sysdeps/mips/mips64/sub_n.S: Likewise. + * sysdeps/mips/mips64/submul_1.S: Likewise. + * sysdeps/mips/add_n.S: Removed. + * sysdeps/mips/addmul_1.S: Likewise. + * sysdeps/mips/lshift.S: Likewise. + * sysdeps/mips/mul_1.S: Likewise. + * sysdeps/mips/rshift.S: Likewise. + * sysdeps/mips/sub_n.S: Likewise. + * sysdeps/mips/submul_1.S: Likewise. + + * nss/Makefile: Prepare for static NSS. + * resolv/Makefile: Likewise. + * nss/nsswitch.c: Add code for static NSS. + * nss/function.def: Define functions for static NSS. + +1997-06-19 11:10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * libc.map: Add yet more symbols. + +1997-06-19 20:33 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Don't pass NULL + as object name to _dl_signal_error. + (do_lookup): Skip objects that could not be opened. + + * sysdeps/m68k/dl-machine.h (elf_machine_rela): Check that the + symbol was found. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. + * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise. + +1997-06-20 03:13 Kazumoto Kojima <kkojima@kk.info.kanagawa-u.ac.jp> + + * ctype/ctype-info.c: Use int32_t where `int' with 4 bytes is + assumed. + * ctype/ctype.h: Likewise. + * math/math_private.h: Likewise. + * inet/netinet/in.h: Likewise. + * wctype/wctype.h: Likewise. + + * nss/Makefile: Only inhibit nss_files and nss_db modules if static + NSS modules are not enabled. + * resolv/Makefile: Likewise for nss_dns. + * nss/function.def: New file. List all available lookup functions + for static NSS. + * nss/nsswitch.c: Add code for static NSS. + +1997-06-15 21:15 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * math/libm-test.c (gamma_test): Test for _SVID_ and for normal + behaviour. + +1997-06-15 20:32 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * math/libm.map: Add all necessary functions, correct existing entries. + +1997-06-20 02:35 a sun <asun@zoology.washington.edu> + + * sysdeps/unix/sysv/linux/netipx/ipx.h: Don't use kernel header. + +1997-06-19 18:43 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent): + Compare pointer with NULL. + + * login/logout.c (logout): Compare pututline result with NULL. + +1997-06-19 19:38 Ulrich Drepper <drepper@cygnus.com> + + * features.h: Define __STDC_IEC_559__ and _STDC_IEC_559_COMPLEX__. + + * elf/dl-minimal.c (__dcgettext): Remove assertion. + + * inet/rcmd.c: Correct a few typos. Reported by Erik Troan. + + * manual/Makefile (distribute): Add dir. + * manual/dir: New file. + + * math/Makefile (libm-support): Rename s_rinttol, s_rinttoll, + s_roundtol, and s_roundtoll to s_lrint, s_llrint, s_lround, + and s_llround respectively. + (libm-calls): Add e_gamma_r. + * math/libm-test.c (check_int_exc): New function. + (signbit_test): Remove test for sign of NaN. + (gamma_test): Clear exception after test of existence. + Correct tests and and epsilons. + (lgamma_test): Likewise. + (ilogb_test): Correct all tests. + (scalb_test): Rewrite. + (rinttol_test): Rename to lrint_test and correct tests. + (rinttoll_test): Likewise. + (roundtol_test): Likewise. + (roundtoll_test): Likewise. + (main): Call lrint/lround functions instead of rinttol/roundtol. + * math/math.h: Change prototypes for rinttol/roundtol. + * math/mathcalls.h: Rearrange prototypes according to ISO C9X draft. + * sysdeps/generic/mathbits.h: Define FP_ILOGB0 and FP_ILOGBNAN. + * sysdeps/i386/mathbits.h: Likewise. + * sysdeps/libm-i387/e_scalb.S: Handle special cases correctly. + * sysdeps/libm-i387/e_scalbf.S: Likewise. + * sysdeps/libm-i387/e_scalbl.S: Likewise. + * sysdeps/libm-i387/s_asinh.S: Handle -inf correctly. + * sysdeps/libm-i387/s_asinhf.S: Likewise. + * sysdeps/libm-i387/s_asinhl.S: Likewise. + * sysdeps/libm-i387/s_ilogb.S: Optimize. + * sysdeps/libm-i387/s_ilogbf.S: Likewise. + * sysdeps/libm-i387/s_ilogbl.S: Likewise. + * sysdeps/libm-i387/s_rinttol.S: Rename to... + * sysdeps/libm-i387/s_lrint.S: ...this. + * sysdeps/libm-i387/s_rinttoll.S: Rename to... + * sysdeps/libm-i387/s_llrint.S: ...this. + * sysdeps/libm-i387/s_remquo.S: Correctly set sign of remainder. + * sysdeps/libm-i387/s_remquof.S: Likewise. + * sysdeps/libm-i387/s_remquol.S: Likewise. + * sysdeps/libm-i387/e_gamma_r.c: New file. Implementation of gamma + function according to ISO C. + * sysdeps/libm-i387/e_gammaf_r.c: New file. + * sysdeps/libm-i387/e_gammal_r.c: New file. + * sysdeps/libm-i387/e_lgamma_r.c: Don't let optimize compile the + generation of exceptions away. + * sysdeps/libm-i387/e_lgammaf_r.c: Likewise. + * sysdeps/libm-i387/k_standard.c: Correct return value for infinity + points of gamma function when not SVID mode. + * sysdeps/libm-i387/s_rinttoll.c: Renamed to... + * sysdeps/libm-i387/s_llrint.c: ...this. + * sysdeps/libm-i387/s_rinttol.c: Renamed to... + * sysdeps/libm-i387/s_lrint.c: ...this. + * sysdeps/libm-i387/s_roundtoll.c: Renamed to... + * sysdeps/libm-i387/s_llround.c: ...this. + * sysdeps/libm-i387/s_roundtol.c: Renamed to... + * sysdeps/libm-i387/s_lround.c: ..this. + * sysdeps/libm-i387/s_scalbn.c: Change second parameter according to + ISO C. + * sysdeps/libm-i387/s_scalbnf.c: Likewise. + * sysdeps/libm-i387/s_scalbnl.c: Likewise. + * sysdeps/libm-i387/w_gamma.c: Call __ieee754_gamma_r if library + mode is not _SVID_. + * sysdeps/libm-i387/w_gammaf.c: Likewise. + * sysdeps/libm-i387/w_gammal.c: Likewise. + * sysdeps/m68k/fpu/__math.h: Rename __rinttol to __lrint and + rinttol to lrint. + * sysdeps/m68k/fpu/s_rinttol.c: Renamed to... + * sysdeps/m68k/fpu/s_lrint.c: ...this. + * sysdeps/m68k/fpu/s_rinttoll.c: Renamed to... + * sysdeps/m68k/fpu/s_llrint.c: ...this. - * intl/textdomain.c [_LIBC]: Define strdup only if not yet - defined. Reported by Thorsten Kukuk. + * md5-crypt/Makefile: Link md5test program with md5.o. -1998-03-26 18:50 Ulrich Drepper <drepper@cygnus.com> + * stdio-common/temptest.c: Don't use __stdio_gen_tempname which + is not exported by the libc.so. - * sysdeps/unix/sysv/linux/lddlibc4.c: New file. + * stdio-common/vfscanf.c: Correct scanning of strings after last + change. -1998-03-26 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/unix/sysv/linux/i386/sysdep.S: Use .comm to define errno. - * manual/install.texi (Supported Configurations): Add - arm-linuxaout and arm-none. +1997-06-19 07:37 H.J. Lu <hjl@gnu.ai.mit.edu> -1998-03-26 Ulrich Drepper <drepper@cygnus.com> + * time/tzfile.c (__tzfile_read): Store getc () return in int. - * version.h (VERSION): Bump to 2.0.93. +1997-06-13 Miles Bader <miles@gnu.ai.mit.edu> -1998-03-25 07:30 H.J. Lu <hjl@gnu.org> + * argp/argp-parse.c (argp_version_parser): Include `(PROGRAM ERROR)' in + the no-version error text to indicate that something's fucked. + [!_] (N_): New macro. + (argp_default_options, argp_version_options): Wrap doc strings in N_(). - * configure.in (libc_cv_ar_S): New to indicate if ar S works. +1997-06-12 Miles Bader <miles@gnu.ai.mit.edu> - * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S. + * argp/argp-parse.c (parser_parse_opt): Detect and report unhandled + options here. + (parser_parse_arg): Handle ARGP_KEY_ARGS here. + Adjust NEXT pointer back if we fail to parse anything. + (parser_parse_next): Simplify arg code. Leave state NEXT frobbing + to parser_parse_arg. - * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S). - (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR). +1997-06-11 Miles Bader <miles@gnu.ai.mit.edu> -1998-03-26 Ulrich Drepper <drepper@cygnus.com> + * argp/argp.h (ARGP_KEY_ARGS, ARGP_KEY_FINI): New macros. + * argp/argp-parse.c (parser_finalize): Do another pass over the + parsers with ARGP_KEY_FINI. - * Makeconfig (link-libc): Add missing use of libc_nonshared.a. +1997-06-18 Miles Bader <miles@gnu.ai.mit.edu> -1998-03-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * string/Makefile (routines): Add argz-replace. - 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. +1997-06-16 00:16 Miles Bader <miles@gnu.ai.mit.edu> -1998-03-26 Ulrich Drepper <drepper@cygnus.com> + * manual/string.texi (Argz Functions): Document argz_replace. + +1997-06-12 Miles Bader <miles@gnu.ai.mit.edu> + + * string/argz.h (__argz_replace, argz_replace): New declarations. + * string/argz-replace.c: New file. + +1997-06-11 Miles Bader <miles@gnu.ai.mit.edu> + + * manual/argp.texi (Argp Special Keys): Document ARGP_KEY_ARGS. + +1997-06-16 23:08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * Makeconfig (libc-map): Remove definition. + * Makerules (libc-map): Define it here, using the full name. + (load-map-file): Remove case for empty $(..). + ($(common-objpfx)libc.so): Revert last change. - * Makefile (FAQ): Automatically check in regenerated FAQ. +1997-06-17 22:18 Mark Kettenis <kettenis@phys.uva.nl> -1998-03-26 10:16 Zack Weinberg <zack@rabi.phys.columbia.edu> + * login/programs/utmpd.c (main): Improve signal handling. - * Makefile (INSTALL): Depend on install.texi, not maint.texi. + * login/programs/request.c (do_setutent, do_updwtmp): + Allow arbitrary length filenames. + * login/programs/utmpd.h (setutent_request, updwtmp_request): + Get rid of fixed length file field. + * login/utmp_daemon.c (do_setutent, do_updwtmp): + Allow arbitrary length filenames. -1998-03-25 Ulrich Drepper <drepper@cygnus.com> + * login/programs/request.c (do_pututline): + Don't fail if connection->position is -1 on entry. - * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h. - * sysdeps/unix/sysv/linux/alpha/Dist: Likewise. +1997-06-15 16:32 Mark Kettenis <kettenis@phys.uva.nl> - * sysdeps/generic/stub_warning: Removed. + * login/utmp_file.c (updwtmp_file): Use the same method for + appending an entry as in pututline_file. - * Makefile (distribute): Add include/des.h. +1997-06-11 18:59 Mark Kettenis <kettenis@phys.uva.nl> - * manual/Makefile (distribute): Change dir-add.texi to - dir-add.texinfo. + * login/utmp_file.c (getutent_r_file): + Use read lock instead of write lock. + (getutline_r_file, internal_getut_r): Lock utmp file. + (updwtmp_file): Use fcntl to lock file instead of flock. - * glibcbug.in: Create files safely when mktemp is not available. +1997-06-18 00:11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again. - Patch by a sun <asun@saul1.u.washington.edu>. + * stdio-common/vfscanf.c (inchar, ungetc): Don't count EOF as + character read in/put back. + * stdio-common/tstscanf.c: Add test case for this. -1998-03-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> +1997-06-17 22:17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * libc.map: Rename getname to getnetname. + * libc.map: Add more symbols. -1998-03-25 13:35 Ulrich Drepper <drepper@cygnus.com> +1997-06-18 12:01 Ulrich Drepper <drepper@cygnus.com> - * manual/maint.texi: Use supported platform in examples. + * manual/Makefile (install): Make sure `dir' file exists if we use + install-info. - * manual/install.texi: Document some installation tips. +1997-06-17 19:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-03-25 10:56 Ulrich Drepper <drepper@cygnus.com> + * manual/Makefile (info): Depend on dir-add.info. - * 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. +1997-06-17 17:19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-03-25 Ulrich Drepper <drepper@cygnus.com> + * elf/ldd.bash.in: Fix spacing in message. - * posix/regex.c (regex_compile): Last patch wasn't entirely - correct. Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>. +1997-06-17 14:28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-03-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * elf/do-rel.h (elf_dynamic_do_rel): Always use version + information if available. - * manual/filesys.texi (Scanning Directory Content): Fix typo. +1997-06-17 11:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-03-25 09:24 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE> + * sunrpc/Makefile ($(rpcsvc:%.x=$(objpfx)rpcsvc/%.h)): Make + command non-empty to force make to recheck modification time. + ($(rpcsvc:%.x=$(objpfx)x%.c)): Likewise. - * sysdeps/i386/bits/string.h: Fix all assembler statements so that - clobbered registers don't appear as operands. +1997-06-17 00:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-03-24 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/stub/e_acoshl.c: Set errno to ENOSYS. + * sysdeps/stub/e_acosl.c: Likewise. + * sysdeps/stub/e_asinl.c: Likewise. + * sysdeps/stub/e_atan2l.c: Likewise. + * sysdeps/stub/e_expl.c: Likewise. + * sysdeps/stub/e_fmodl.c: Likewise. + * sysdeps/stub/e_j0l.c: Likewise. + * sysdeps/stub/e_j1l.c: Likewise. + * sysdeps/stub/e_jnl.c: Likewise. + * sysdeps/stub/e_lgammal_r.c: Likewise. + * sysdeps/stub/e_log10l.c: Likewise. + * sysdeps/stub/e_logl.c: Likewise. + * sysdeps/stub/e_powl.c: Likewise. + * sysdeps/stub/e_rem_pio2l.c: Likewise. + * sysdeps/stub/e_sqrtl.c: Likewise. + * sysdeps/stub/k_cosl.c: Likewise. + * sysdeps/stub/k_rem_pio2l.c: Likewise. + * sysdeps/stub/k_sinl.c: Likewise. + * sysdeps/stub/k_tanl.c: Likewise. + * sysdeps/stub/s_atanl.c: Likewise. + * sysdeps/stub/s_erfl.c: Likewise. + * sysdeps/stub/s_exp2.c: Likewise. + * sysdeps/stub/s_exp2f.c: Likewise. + * sysdeps/stub/s_exp2l.c: Likewise. + * sysdeps/stub/s_expm1l.c: Likewise. + * sysdeps/stub/s_log1pl.c: Likewise. + * sysdeps/stub/s_log2l.c: Likewise. - * posix/regex.c: Undefine ISASCII and ISPRINT before defining for - Solaris' sake. +1997-06-18 11:46 Ulrich Drepper <drepper@cygnus.com> - * posix/regex.c (regex_compile): Don't allow non-alphabet - characters in character set name. + * sysdeps/libm-ieee754/w_gamma.c: If _LIB_VERSION is _SVID_ compute + result as before last change. + * sysdeps/libm-ieee754/w_gammaf.c: Likewise. + * sysdeps/libm-ieee754/w_gammal.c: Likewise. -1998-03-25 00:00 Tim Waugh <tim@cyberelk.demon.co.uk> +1997-06-16 23:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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/libm-ieee754/s_remquo.c: Fix off-by-one when computing + quotient. + * sysdeps/libm-ieee754/s_remquof.c: Likewise. + * sysdeps/libm-ieee754/s_remquol.c: Likewise. -1998-03-24 19:36 Tim Waugh <tim@cyberelk.demon.co.uk> + * sysdeps/m68k/fpu/s_remquo.c: Remove FIXME and special case for + quotient. - * posix/wordexp-tst.sh: Another test. + * sysdeps/libm-ieee754/w_gamma.c: Add missing call to exp + function. Don't use global signgam. + * sysdeps/libm-ieee754/w_gammaf.c: Likewise. + * sysdeps/libm-ieee754/w_gammal.c: Likewise. - * posix/wordexp-test.c: Two new tests. + * math/Makefile (libm-calls): Remove w_gamma_r. + * sysdeps/libm-ieee754/w_gamma_r.c: Remove file. + * sysdeps/libm-ieee754/w_gammaf_r.c: Remove file. + * sysdeps/libm-ieee754/w_gammal_r.c: Remove file. + + * math/libm-test.c (atanh_test): Declare x only if needed. + (signbit_test): Fix typo. + (gamma_test): Check whether function is implemented. Add + epsilons. + (lgamma_test): Likewise. + (fmod_test): Add epsilons. + (exp2_test): Use right function for existence test. + +1997-06-07 09:20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/powerpc/Dist: Add fenv_const.c. + * sysdeps/unix/sysv/linux/Dist: Add net/if_slip.h. + * sysdeps/unix/sysv/linux/powerpc/Dist: Add init-first.h and + syscall.h. + * sysdeps/unix/sysv/linux/sparc/Dist: Add init-first.h. + * string/Makefile (distribute): Add tst-svc.expect. + * nis/Makefile (distribute): Add nis_intern.h and Banner. + * elf/Makefile (distribute): Add dl-hash.h. + * Rules (subdir_echo-distinfo): Add headers from $(distribute). + + * login/Makefile (others): Add utmpdump. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add + net/if_slip.h. - * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc - directly (the code using realloc was buggy). - (parse_param): Fix typo in comment. + * manual/Makefile (dir-add.texi): Also look in indirectly included + files. -1998-03-24 Ulrich Drepper <drepper@cygnus.com> +1997-06-16 23:15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop. + * sysdeps/unix/sysv/linux/configure.in: Remove commands to + generate stdio_lim.h. + * sysdeps/unix/sysv/linux/mk-stdiolim.c: Remove. + * sysdeps/unix/sysv/linux/Makefile: Add rules to generate + stdio_lim.h here. + (common-generated): Add generated files. + (inhibit-stdio_lim): Define. + * sysdeps/posix/Makefile [$(inhibit-stdio_lim)=yes]: Disable rules + to generate stdio_lim.h. -1998-03-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * sysdeps/unix/sysv/linux/Makefile: Suppress inclusion of + dependecy files if no_deps is set. + ($(objpfx)syscall-%.d): Add header file as target to dependency + generation. - * libc.map: Add more rpc auth functions/variables. +1997-06-14 19:19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * nscd/nscd.c: Add -g option to argp options. + * sysdeps/unix/sysv/linux/arm/Dist: New file. -1998-03-24 Ulrich Drepper <drepper@cygnus.com> +1997-06-14 17:59 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * extra-lib.mk (others): Depend on versioned shared library, not + the unversioned one. + * Makerules (build-shlib): Don't make the version link here. + ($(common-objpfx)libc.so$(libc.so-version)): New rule for libc + version link. -1998-03-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-06-16 03:07 Ulrich Drepper <drepper@cygnus.com> - * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h. + * sysdeps/libm-ieee754/k_standard.c: Undo change of Tue Aug 6 + 01:13:56 1996. -1998-03-24 Ulrich Drepper <drepper@cygnus.com> +1997-06-16 00:54 Ulrich Drepper <drepper@cygnus.com> - * intl/locale.alias: Fix spelling of romanian. + * libc.map: Add more symbols. - * 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. + * Makerules (load-map-file): Currectly handle missing map file. -1998-03-22 NIIBE Yutaka <gniibe@mri.co.jp> +1997-06-15 17:00 Philip Blundell <Philip.Blundell@pobox.com> - * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK): - Fix paren. + * configure.in: Correct detection of generic uname implementation. -1998-03-24 Ulrich Drepper <drepper@cygnus.com> +1997-06-15 23:19 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL - parameter const. Reported by UCHIYAMA Yasushi <uch@nop.or.jp>. + * math/libm-test.c: Fix typos. Patch by Andreas Jaeger. -1998-03-24 Ulrich Drepper <drepper@cygnus.com> + * libc.map: Add __nss_configure_lookup. Reported by Thorsten Kukuk. - * 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_dl.c: Likewise. - * nss/nsswitch.c: Likewise. +1997-06-15 00:43 Ulrich Drepper <drepper@cygnus.com> -1998-03-23 13:45 Ulrich Drepper <drepper@cygnus.com> + * Makeconfig: Define libc-map here. + * Makefile: And remove definition here. + * Makerules (load-map-file): Handle case where map file is in + other directory. + (build-shlib): Likewise. - * manual/nss.texi: The database is not called network but networks. - Reported by Herbert Xu <herbert@gondor.apana.org.au>. + * libc.map: Add more symbols. + * resolv/libresolv.map: Likewise. -1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * db/libdb.map: Add __dbopen. Patch by HJ Lu. - * configure.in: Correct test for compiler version. - Check that LD_LIBRARY_PATH doesn't contain current path. + * libio/stdio.h: Remove "optmizations" for vfscanf and vsscanf. -1998-03-23 07:52 H.J. Lu <hjl@gnu.org> + * locale/programs/localedef.c: Add normalize_codeset function. We + don't want to use the _nl_normalize_codeset functions from libc. - * elf/dl-close.c (_dl_close): Fix byte count while removing - the shared object from the global scope list and optimize - a little bit. + * sysdeps/libm-i387/s_asinh.S: Handle +-Inf and NaN correctly. + * sysdeps/libm-i387/s_asinhf.S: Likewise. + * sysdeps/libm-i387/s_asinhl.S: Likewise. + * sysdeps/libm-i387/s_nearbyint.S: Correctly leave function. + * sysdeps/libm-i387/s_nearbyintf.S: Likewise. + * sysdeps/libm-i387/s_nearbyintl.S: Likewise. -1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-06-14 12:45 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - * manual/filesys.texi (Scanning Directory Content): Add missing - closing brace. - (Scanning Directory Content): Fix text. + * nis/nss_nis/nis-ethers.c: Add static to internal_nis_setetherent. -1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * nis/nss_nis/nis-proto.c: Add static to internal_nis_setprotoent. - * manual/memory.texi (Heap Consistency Checking): Add paragraph - explaining difference of -lmcheck and MALLOC_CHECK_. + * nis/nss_nisplus/nisplus-hosts.c: Rewrite parser and fix + _nss_nisplus_gethostbyaddr_r interface. -1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * nis/libnsl.map: Add all GLOBAL functions. - * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some - typos in comments. +1997-06-13 18:32 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-03-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * libm-test.c (main): Call new tests, reorder tests. + (fmod_test): Test function fmod. + (nearbyint_test): Test function nearbyint. + (acos_test): Add more test cases. + (signbit_test): Test macro signbit. + (output_result_bool): Output result if test fails. + (asin_test): Add another test case. + (atan2_test): Add more tests. + (asinh_test): Add more tests. + (atanh_test): Add more tests. + (hypot_test): Add more tests. + (isfinite_test): Test macro isfinite. + (isnormal_test): Test macro isnormal. + (sincos_test): Tests for sincos. + (main): Enable remquo_test since the tests are + correct (according to ANSI/IEEE 754-1985). + (remquo_test): Corrected tests cases and added more tests. + (remainder_test): Tests for remainder. + (check_int): New Function to compare int values. + (check_isnan_exc_ext): New function. + (sqrt_test): Add some extra tests for sqrt. + (erf_test): Tests for erf. + (erfc_test): Tests for erfc. + (gamma_test): Tests for gamma. + (lgamma_test): Tests for lgamma. - * test-skeleton.c (main): Fix test for exit signal. +1997-06-08 10:54 H.J. Lu <hjl@gnu.ai.mit.edu> -1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/configure.in: Try to generate + stdio_lim.h using the target C preprocessor and mk-stdiolim.c. + * sysdeps/unix/sysv/linux/stdio_lim.h.in: New, template for + stdio_lim.h. + * sysdeps/unix/sysv/linux/mk-stdiolim.c: New, used by the + target C preprocessor to extract OPEN_MAX and PATH_MAX. - * sysdeps/generic/strtok_r.c: Undefine __strtok_r. +1997-06-14 17:32 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * math/libm.map: Add inline functions, global variables. - * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as - appropriate. +1997-06-14 00:39 Ulrich Drepper <drepper@cygnus.com> -1998-03-23 11:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * libc.map: Add more libio functions which are used in libio.h. - * libc.map: Export __strtok_r. + * login/Makefile (libutil-routines): Move updwtmp to ... + (routines): ...here. + Suggested by Mark Kettenis <kettenis@phys.uva.nl>. -1998-03-23 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/stub/s_erfl.c: Add stub definition of erfcl. + Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>. - * posix/regex.c (re_compile_fastmap): Remove unused variable - num_regs and adjust comment. - Patch by Jim Meyering <meyering@ascend.com>. +1997-06-13 21:10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - * math/math.h (M_*l): Extend long double constants to be usable - for 128 bit floats. Patch by Richard Henderson. + * nis/nis_add.c (nis_add): Create object name only if not set. -1998-03-23 11:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * nis/nis_clone.c: Use calloc instead of malloc to prevent + RPC encode errors. - * sysdeps/m68k/m68020/wordcopy.S: New file. + * nis/nis_modify.c (nis_modify): Create default object entrys if + given are NULL. + * nis/nis/nis_table.c (nis_add_entry, nis_modify_entry): Likewise. -1998-03-22 Ulrich Drepper <drepper@cygnus.com> +1997-06-13 14:17 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * 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> + * sysdeps/i386/addmul_1.S: Replace size with sizeP, otherwise the + define might also replace the expanded macro ASM_SIZE_DIRECTIVE. + * sysdeps/i386/submul_1.S: Likewise. - * Rules: Update timestamps on empty object files. +1997-06-13 12:19 Ulrich Drepper <drepper@cygnus.com> -1998-03-21 09:15 Ulrich Drepper <drepper@cygnus.com> + * elf/rtld.c: Print version information if LD_TRACE_LOADED_OBJECT + and LD_VERBOSE are given. - * manual/filesys.texi (Scanning Directory Content): Add description - of 64 bits scandir function and friends. + * elf/ldd.sh.in: Add -v|--verbose option. Add author information + as per Coding Standard. + * elf/ldd.bash.in: Likewise. -1998-03-20 Ulrich Drepper <drepper@cygnus.com> +1997-06-12 21:22 Ulrich Drepper <drepper@cygnus.com> + + * Makefile (libc-map): Define before including Makerules. + * Makerules (lib%.so): Depend on $(lib%-map). + (build-shlib): Adapt rule for above change. + (libc.so): Depend on $(libc-map). + * db/Makefile (libcdb-map): New definition. + * elf/Makefile (libdl-map): New definition. + * elf/dl-lookup.c: Don't use relative include path. + (undefined_msg): New variable. Use single string in all functions. + (do_lookup): Correctly recognize default version. + Return -2 if no version information is available. + Stop processing hash entries when string was found. + Don't bark about missing versioned symbol in file with original + reference if it is a weak symbol. + (_dl_lookup_symbol): Use undefined_msg. + (_dl_lookup_versioned_symbol): Likewise. + Give extra information if no verdef info is available. + * elf/dl-version.c (file_needed): Remove first argument. We must + seek in the whole search list. + (match_symbol): Correct check for available verdef info. + (_dl_check_map_versions): Correct call of find_needed. + * locale/Makefile (libBrokenLocale-map): New definition. + * login/Makefile (libutil-map): New definition. + * math/Makefile (libm-map): New definition. + * md5-crypt/Makefile (libcrypt-map): New definition. + * nis/Makefile (libnsl-map, libnss_compat-map, libnss_nis-map, + libnss_nisplus-map): New definition. + * nss/Makefile (libnss_files-map, libnss_db-map): New definitions. + * resolv/Makefile (libresolv-map, libnss_dns-map): New definitions. + * libc.map: New file. + * db/libdb.map: New file. + * elf/libdl.map: New file. + * locale/libBrokenLocale.map: New file. + * login/libutil.map: New file. + * math/libm.map: New file. + * md5-crypt/libcrypt.map: New file. + * nis/libnss_compat.map: New file. + * nis/libnsl.map: New file. + * nis/libnss_nis.map: New file. + * nis/libnss_nisplus.map: New file. + * nss/libnss_files.map: New file. + * nss/libnss_db.map: New file. + * resolv/libnss_dns.map: New file. + * resolv/libresolv.map: New file. + + * sysdeps/i386/dl-machine.h (elf_machine_rel): Don't do anything + for R_386_NONE entries. + + * Makefile (manual/dir-add.info): New rule. + + * Makerules: Add vpath definition for .x files. + + * Makerules (distinfo): Make sure target directory exists. + + * argp/argp-help.c (argp_args_usage): Don't modify `fdoc' value + since it is used to distinguish filtered strings from unmodifed + strings. + + * elf/dl-lookup.c (do_lookup): Optimize STT_* recognition. + * elf/dl-reloc.c: Fix typo. + + * inet/arpa/tftp.h (struct tftphdr): Change type of tu_block to + `unsigned short'. + + * manual/Makefile (dir-add.texi): Also emit wrapper text for + info/install-info. + (distribute): Add dir-add.texi and dir-add.info. + (mostlyclean): Add dir-add.info. + (realclean): Add dir-add.texi. + (install): Add entries in `dir' file using install-info. + + * manual/libc.texinfo: Add @dircategory and @direntry text. + Reported by Miles Bader <miles@gnu.ai.mit.edu>. + + * manual/pattern.texi: Correct description of GLOB_MAGCHAR and + GLOB_NOMAGIC. Changes by Roland McGrath <roland@gnu.ai.mit.edu>. + + * nis/nis_addmember.c: Little optimizations. + * nis/nis_call.c: Likewise. + * nis/nis_creategroup.c: Likewise. + * nis/nis_defaults.c: Likewise. + * nis/nis_destroygroup.c: Likewise. + * nis/nis_ismember.c: Likewise. + * nis/nis_local_names.c: Likewise. + * nis/nis_print_group_entry.c: Likewise. + * nis/nis_verifygroup.c: Likewise. - * glibcbug.in: Use mktemp to generate unique file name for - temporary files. + * posix/unistd.h: Fix comment for getcwd. - * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not - ptsname_r. Use cast for execve call. + * stdlib/Makefile (headers): Remove inttypes.h. It's a system + dependent header. + * sysdeps/wordsize-32/Dist: New file. + * sysdeps/wordsize-32/Makefile: New file. + * sysdeps/wordsize-64/Dist: New file. + * sysdeps/wordsize-64/Makefile: New file. -1998-03-20 16:24 Ulrich Drepper <drepper@cygnus.com> + * sunrpc/Makefile: Adopt comment for real situation. - * 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/i386/add_n.S: Add ASM_TYPE_DIRECTIVE and AS_SIZE_DIRECTIVE. + * sysdeps/i386/addmul_1.s: Likewise. + * sysdeps/i386/lshist.s: Likewise. + * sysdeps/i386/rshift.s: Likewise. + * sysdeps/i386/sub_n.s: Likewise. + * sysdeps/i386/submul_1.s: Likewise. - * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files - and f_ffree elements. + * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER): + Add .type and .size. - * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print. Define - mount options in enum. +1997-06-12 13:32 Philip Blundell <Philip.Blundell@pobox.com> -1998-03-20 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * libc/sysdeps/unix/arm/brk.S: New file. + * libc/sysdeps/unix/arm/sysdep.S: Likewise. + * libc/sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise. - * configure.in: Check for recent egcs/gcc. +1997-06-11 11:51 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> -1998-03-20 Ulrich Drepper <drepper@cygnus.com> + * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent): + Check if we have shadow information. - * 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. +1997-06-08 19:33 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - * dirent/alphasort.c: Use strcoll instead of strcmp. + * nis/nis_getservlist.c (nis_getservlist): Use calloc instead of + malloc, alloc memory for nis_server struct. + * nis/nis_getservlist.c (nis_freeservlist): Give the memory for + the nis_server struct free, too. - * dirent/scandir.c: Optimize a bit. + * nis/nis_removemember (nis_removemember): Fix for loop. - * dirent/versionsort.c: Pretty print. +1997-06-12 12:45 Ulrich Drepper <drepper@cygnus.com> -1998-03-20 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/i386/fpu/__math.h (__M_SQRT2): Define here since we + cannot rely on M_SQRT2 being defined. + (log1p): Use __M_SQRT2 not M_SQRT2. + * math/math.h (_Mldbl): Define even if M_* constants are not + defined. + Reported by corsepiu@faw.uni-ulm.de. - * string/string.h: Add prototype for __strtok_r. +1997-06-12 03:08 Philip Blundell <Philip.Blundell@pobox.com> -1998-03-20 12:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * nss/getXXbyYY_r.c (do_weak_alias): Remove extra parentheses. - * posix/Makefile: Fix typo in last change. +1997-06-11 13:22 Ulrich Drepper <drepper@cygnus.com> -1998-03-20 Ulrich Drepper <drepper@cygnus.com> + * misc/regexp.h (compile): Allow use of macro INIT for variable + declaration. Add documentation for INIT. + Reported by Robert Bihlmeyer <robbe@orcus.priv.at>. - * 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]. +1997-06-11 10:47 Philip Blundell <Philip.Blundell@pobox.com> -1998-03-19 14:28 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/net/if_arp.h: Add two new hardware types. - * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r - weak alias. - * sysdeps/i386/strtok_r.c: Likewise. +1997-06-10 11:31 H.J. Lu <hjl@gnu.ai.mit.edu> - * 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. + * sysdeps/powerpc/strlen.s: Use -0x101 instead of 0xfffffeff + for a signed 16-bit value. -1998-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-06-07 07:54 H.J. Lu <hjl@gnu.ai.mit.edu> - * intl/localealias.c: Remove unneeded define for strdup. + * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c + (_dl_sysdep_read_whole_file): Deleted. -1998-03-19 13:45 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/powerpc/fenvbits.h (__FE_ALL_INVALID): Changed + to FE_ALL_INVALID. - * 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>. + * sysdeps/powerpc/fraiseexcpt.c (__FE_INVALID_SOFTWARE): + Changed to FE_INVALID_SOFTWARE. + (__FPSCR_STICKY_BITS): Changed to FPSCR_STICKY_BITS. -1998-03-19 20:45 Tim Waugh <tim@cyberelk.demon.co.uk> + * sysdeps/libm-ieee754/s_fmin.c: Fix a typo. - * posix/wordexp.c (parse_param): Don't immediately stop parsing a - parameter name after seeing a digit if it's enclosed in braces. +1997-06-07 18:48 H.J. Lu <hjl@gnu.ai.mit.edu> -1998-03-18 Ulrich Drepper <drepper@cygnus.com> + * shlib-versions (.*-.*-linux.*): Set libc to 6. - * sysdeps/i386/i686/Implies: Add libm-i387/i686. +1997-06-08 15:35 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> -1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * nis/nis_add.c (nis_add): Use nis_leaf_of_r instead of nis_name_of_r. - * manual/memory.texi (Heap Consistency Checking): Document - MALLOC_CHECK_. Based on a text by Wolfram Gloger. + * nis/nis_addmember.c (nis_addmember): Fix a lot of pointer errors. + * nis/nis_clone.c: Likewise. + * nis/nis_removemember.c (nis_removemember): Likewise. + * nis/nis_table.c: Likewise. -1998-03-18 17:11 Zack Weinberg <zack@rabi.phys.columbia.edu> + * nis/nss_nis/nis-hosts.c: Use addr, not p for inet_pton call. + * nis/nss_nisplus/nisplus-hosts.c: Likewise. - * manual/Makefile: Add missing rules. + * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Check for + group == NULL. -1998-03-18 Ulrich Drepper <drepper@cygnus.com> +1997-06-08 21:21 Mark Kettenis <kettenis@phys.uva.nl> - * timezone/Makefile (generated): Define to remove all stamp files. + * login/login.c, login/utmp_daemon.c, login/utmp_file.c, + login/getutent_r.c, login/utmpname.c: Cleanup `#if _LIBC' and + `#ifndef _LIBC' fragments. - * sysdeps/generic/strsep.c: Also undefine __strsep. + * login/programs/utmpd.c: Define DEFAULT_USER. + (drop_priviliges): Use it. + (main): Set locale and text domain. - * string/strdup.c: Undefine __strdup and strdup first. - * string/strndup.c: Likewise. + * login/programs/utmpd-private.h: Declare proc_utmp_eq. + * login/programs/database.c (proc_utmp_eq): Removed. + * login/programs/request.c (proc_utmp_eq): Made global. Only use + ut_id field if valid. - * string/bits/string2.h: Correct strtok_r and strsep. - Add strndup optimization. + * login/utmp_file.c (proc_utmp_eq): Restore patch made by Miles + Bader that was lost when adding the daemon backend; Only use ut_id + field if valid. - * sysdeps/generic/strsep.c: Little optimization. +1997-06-05 23:10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-03-18 14:25 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/Dist: Remove netatalk/atalk.h and + netinet/icmp.h, add netatalk/at.h. + * sysdeps/unix/sysv/linux/powerpc/Dist: Remove termios.h. + * sysdeps/unix/sysv/linux/sparc/Dist: Remove start.c. - * 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. +1997-06-04 19:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * stdlib/testsort.c (compare): Fix parameter types. - * 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. +1997-06-04 19:05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-03-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * md5-crypt/Makefile (distribute): Fix name of file. - * posix/wordexp-tst.sh: Make portable. Add more tests. +1997-06-04 19:02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * posix/Makefile (do-globtest do-wordexp-test): New targets. + * login/Makefile (utmpd-routines): Remove utmpd again, which is + already added implicitly through $(others). -1998-03-18 13:38 Ulrich Drepper <drepper@cygnus.com> +1997-06-05 13:43 Fila Kolodny <fila@filapc.ibi.com> - * sysdeps/unix/sysv/linux/libc-start.c: Moved to ... - * sysdeps/generic/libc-start.c: ...here, replacing former content. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add netipx/ipx.h. - * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and - netpacket/packet.h. +1997-06-05 13:25 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print. + * md5-crypt/md5-crypt.c: Add prototype for __md5_crypt. -1998-03-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-06-05 17:08 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma - in enumerator for strict standard compliance. - * sysdeps/generic/bits/resource.h: Likewise. + * string/argz-addsep.c: Correct weak alias. + Reported by Ben Pfaff <pfaffben@pilot.msu.edu>. -1998-03-18 10:04 Philip Blundell <pb@nexus.co.uk> + * locale/setlocale.c (setlocale): Free variable with locale path + before returning. + (setname): Don't test for _nl_current[category] being NULL before + freeing. + Reported by Ben Pfaff <pfaffben@pilot.msu.edu>. - * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted. - (PLTJMP): New macro. +1997-06-04 12:41 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * 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. + * manual/intro.texi (XPG): Correct some typos. - * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name. - * sysdeps/arm/bsd-_setjmp.S: Likewise. +1997-06-04 05:09 Miles Bader <miles@gnu.ai.mit.edu> - * sysdeps/arm/memset.S: New file; optimised ARM implementation of - memset(). + * argp/argp-help.c (_help): Use uparams.usage_indent instead of + the USAGE_INDENT macro. - * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with - prototype. + * manual/summary.awk: Strip trailing commas from node-names. -1998-03-17 16:16 Philip Blundell <pb@nexus.co.uk> + * manual/.cvsignore: Ignore chapters-incl[12] rather than + chapters-incl. - Based on patches from Pat Beirne and Scott Bambrough: + * manual/Makefile (%.c.texi): Deal with multiple @-commands on a + single line. - * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary. + * manual/string.texi (Argz Functions, Envz Functions): Add magic + comments for generating summary.texi. - * sysdeps/arm/bits/fenv.h: New file. +1997-06-02 22:18 Miles Bader <miles@gnu.ai.mit.edu> - * 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. + * manual/argp.texi: New file. + * manual/examples/argp-ex1.c, manual/examples/argp-ex2.c, + manual/examples/argp-ex3.c, manual/examples/argp-ex4.c: New files. + * manual/Makefile [chapters] (chapters-incl1): New rule & include. + [chapters-incl1] (chapters-incl2): New rule & include. + (chapters-incl): Set based on $(chapters-incl1) & $(chapters-incl2). + * manual/maint.texi (Contributors): Give myself credit. - * 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. +1997-06-01 15:01 Miles Bader <miles@gnu.ai.mit.edu> -1998-03-04 12:01 Philip Blundell <pb@nexus.co.uk> + * manual/getopt.texi: New file. + * manual/startup.texi: Mention argp_parse in places that + previously mentioned only getopt. + Include getopt.texi (now containing all the getopt nodes that used + to be here) and argp.texi. + (Program Arguments): Move parsing bits into the new Parsing + Program Arguments node. + (Parsing Program Arguments): New node. + (Parsing Options, Example of Getopt, Long Options, Long Option + Example): Nodes removed. + * manual/libc.texinfo (Program Arguments): Menu updated. + (Parsing Program Arguments): New menu. - * 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. +1997-06-04 20:57 Ulrich Drepper <drepper@cygnus.com> -1998-03-18 Ulrich Drepper <drepper@cygnus.com> + * manual/string.texi: Add comments to discourage use of index and + rindex. + (strtok, strsep): Apply function on copy of the strings in example. + (l64a): Add example. - * dirent/list.c (test): Return error value. - (main): Exit with error value. + * posix/unistd.h: Correct value for _POSIX_VERSION. - * sysdeps/unix/opendir.c (__opendir): Add missing initialization. + * sunrpc/Makefile (defines): Remove definition. - * Makefile (distribute): Add test-skeleton.c. - * test-skeleton.c: New file. - * dirent/Makefile (tests): Add opendir-tst1. - * dirent/opendir-tst1.c: New file. + * sysdeps/ieee754/nan.h: Correct typo. -1998-03-18 Ulrich Drepper <drepper@cygnus.com> +1997-06-04 10:50 Fila Kolodny <fila@ibi.com> - * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc. - Optimize memory handling. - * sysdeps/unix/closedir.c: Optmize memory handling. + * posix/unistd.h: Add definition of __fchdir corresponding to fchdir. -1998-03-17 Ulrich Drepper <drepper@cygnus.com> + * login/utmp_daemon.c: Correct location of utmpd.h. - * posix/wordexp.c (parse_param): Fix off-by-on error in $@ - handling. Optimize a bit. +1997-06-03 19:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-03-18 00:25 Tim Waugh <tim@cyberelk.demon.co.uk> + * Makerules: Rename $(common-objpfx)distinfo-$(subdir) to + $(objpfx)distinfo. + * rpm/Makefile (distinfo): Adapted. - * 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)). +1997-06-03 18:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-03-16 22:10 Zack Weinberg <zack@rabi.phys.columbia.edu> + * rpm/Makefile (install-slib): Collect shared libraries here + instead of in install-lib, including libc. + (instvars): Add slib. - * 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. +1997-06-03 18:23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-03-17 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * login/Makefile (libutil-routines): Add updwtmp. - * manual/process.texi (Process Completion): Clarify return value - of waitpid a bit. Patch by Zack Weinberg. [PR libc/490] +1997-06-03 16:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * monetary.h: New file, needed for localedata/tst-fmon.c. - * posix/wordexp-test.c: Add more tests. - (testit): Fix logic. +1997-06-02 20:31 Andreas Schwab <schwab@issan.informatik.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. + * math/libm-test.c (cpow_test): Add epsilon for long double in + test for 2^10. + (identities): Add epsilon for float in second identity test. -1998-03-16 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/m68k/huge_val.h: Change GCC's HUGE_VAL{,F,L} to use + DI and SI mode integers instead of bytes. Fix value of HUGE_VALL. - * elf/dl-close.c (_dl_close): Correct and simplify unmapping. + * sysdeps/m68k/nan.h: New file. - * posix/wordexp-test.c (main): Fix little thinkos and typos. + * sysdeps/m68k/fpu/__math.h (isgreater, isgreaterequal, isless, + islessequal, islessgreater, isunordered): Fix assembler syntax. - * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine - directory index by only the language. + * sysdeps/m68k/fpu/fraiseexcpt.c: Do it right so that gcc doesn't + optimize out the operations. -1998-03-16 13:02 Tim Waugh <tim@cyberelk.demon.co.uk> + * sysdeps/libm-ieee754/s_nan.c: Use NaN macro instead of static + constant. + * sysdeps/libm-ieee754/s_nanf.c: Likewise. + * sysdeps/libm-ieee754/s_nanl.c: Likewise. - * posix/wordexp-tst.sh: Store test results in the - ${common_objpfx}posix directory. + * math/carg.c [NO_LONG_DOUBLE]: Add alias for long double + function. + * sysdeps/libm-ieee754/s_erf.c: Likewise. + * sysdeps/libm-ieee754/s_fdim.c: Likewise. + * sysdeps/libm-ieee754/s_fmax.c: Likewise. + * sysdeps/libm-ieee754/s_fmin.c: Likewise. + * sysdeps/libm-ieee754/s_log2.c: Likewise. + * sysdeps/libm-ieee754/s_nan.c: Likewise. + * sysdeps/libm-ieee754/s_remquo.c: Likewise. - * posix/wordexp-test.c: Remove temporary directory afterwards. +1997-06-03 23:42 Ulrich Drepper <drepper@cygnus.com> -1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * elf/dl-support.c: Define and initialize _dl_verbose used in + dl-machine.h. - * libc.map: Export internal versions of cancelable functions. + * io/ftw.c: Expand stat/lstat calls. -1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * manual/intro.texi: Also refer to ISO 9945. + Update info about SVID. + Add description for XPG. - * Makerules (MAKEFLAGS): Append `r'. + * md5-crypt/md5-crypt.c: Namespace cleanups. + * md5-crypt/md5.c: Likewise. + * md5-crypt/md5.h: Likewise. + * sysdeps/generic/crypt-entry.c: Likewise. -1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * posix/unistd.h (_POSIX2_C_VERSION): Set to 199209L. - * 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 + * stdlib/fmtmsg.h: Declare addseverity only if __USE_SVID is defined. - * Makefile (subdirs): Always include rt subdir. - -1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command. - -1998-03-14 21:55 Ulrich Drepper <drepper@cygnus.com> - - * configure.in: Recognize variations for 32 MIPS processors. - Don't assume ELF systems always have .weak, test for .weakext. - -1998-03-14 Ulrich Drepper <drepper@cygnus.com> - - * configure.in: Irix6 is an ELF platform. - -1998-03-14 11:47 H.J. Lu <hjl@gnu.org> - - * elf/dl-close.c (_dl_close): Stop unmapping the segments after - unmapping the last loaded segment. - -1998-03-14 15:54 Ulrich Drepper <drepper@cygnus.com> - - * configure.in: Set base_os for Irix6. - Correct test for .weakext. - -1998-03-14 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * elf/dl-deps.c (_dl_map_object_deps): Add first parameter - (new_line) to _dl_debug_message call. - -1998-03-14 00:52 Tim Waugh <tim@cyberelk.demon.co.uk> - - * posix/wordexp.c (parse_param): Perform field-splitting after - expanding positional parameter. - - * posix/wordexp-tst.sh: Test that field-splitting is performed - after expanding positional parameter. - - * posix/wordexp.c (parse_param): Fixed memory leak in - field-splitting after parameter expansion. - -1998-03-14 Ulrich Drepper <drepper@cygnus.com> - - * locale/programs/linereader.c (lr_token): Return EOF token at EOF. - (get_toplvl_escape): Correctly terminate loop at EOF. - 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> + * sunrpc/rpc_scan.c (findkind): Declare `token' as const. + * sunrpc/rpc_util.c (toktostr): Declare `token' as const. - * libc.map: Add pthread_attr_init to GLIBC_2.1. + * time/Makefile: Make tzselect depend on config.make. -1998-03-13 15:01 Ulrich Drepper <drepper@cygnus.com> +1997-06-01 15:01 Miles Bader <miles@gnu.ai.mit.edu> - * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename - for output file replacing gmon.out. - Patch by Dean Gaudet <dgaudet@arctic.org>. + * manual/string.texi (String and Array Utilities): Add `Argz and + Envz Vectors' to the menu. + (Argz and Envz Vectors, Argz Functions, Envz Functions): New nodes. -1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-05-31 20:59 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. + * login/Makefile (utmpd-routines): Add utmpd. + (extra-objs): Add utmpd objects to get dependencies. + (distribute): Add sources for utmpd. + (subdir-dirs): Define. -1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-06-02 16:28 Ulrich Drepper <drepper@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. + * sysdeps/wordsize-32/inttypes.h: Include features.h and use + __CONCAT instead of defined __CONCAT__ ourself. + * sysdeps/wordsize-64/inttypes.h: Likewise. - * 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. +1997-06-01 19:11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-03-12 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/wordsize-64/inttypes.h (INTMAX_C): Use `l' suffix, not `ll'. + (PRIdFAST, PRIoFAST, PRIxFAST, PRIuFAST, SCNdFAST, SCNiFAST, + SCNoFAST, SCNxFAST): Correct format specifiers. - * elf/dlerror.c: Fix concurrency problems with error string and - number. +1997-06-02 04:23 Ulrich Drepper <drepper@cygnus.com> - * elf/dl-deps.c (_dl_map_object_deps): Print debug info when - filter/auxiliary are being loaded. + * sysdeps/unix/syscalls.list: Make fchdir weak alias for __fchdir. -1998-03-12 14:24 Ulrich Drepper <drepper@cygnus.com> +1997-06-01 19:17 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]. + * md5-crypt/Makefile: Correct libmd5crypt file to really generate + DES free libcrypt. + * md5-crypt/onlymd5-entry.c: New file. Wrapper around + sysdeps/generic/crypt-entry.c. -1998-03-12 Matthias Urlichs <smurf@noris.de> +1997-06-01 12:48 Ulrich Drepper <drepper@cygnus.com> - * nscd/nscd.c: Ignore SIGPIPE. + * sysdeps/unix/sysv/linux/alpha/gnu/types.h (__fd_mask): Change + type to `unsigned long int'. + Patch by Richard Henderson <richard@twiddle.rth.home>. -1998-03-12 Ulrich Drepper <drepper@cygnus.com> +1997-05-30 17:34 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * nscd/nscd_getgr_r.c: Use __ protected names. - * nscd/nscd_getpw_r.c: Likewise. + * sysdeps/generic/bb_init_func.c (__bb_init_func): Use ISO C + declaration style. -1998-03-12 Matthias Urlichs <smurf@noris.de> + * nss/nss_files/files-hosts.c: Delete inclusion of + "../resolv/mapv4v6hostent.h". - * 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. +1997-05-31 02:33 Ulrich Drepper <drepper@cygnus.com> -1998-03-12 00:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> + * io/ftwtest-sh: More tests. - * powerpc/syscalls.list: Correct typo. - * alpha/syscalls.list: Likewise. - * mips/syscalls.list: Likewise. + * misc/tsearch.c: Rewrite tdestroy_recursive. -1998-03-12 Ulrich Drepper <drepper@cygnus.com> + * libio/libio.h: Define bits for libg++-2.8. - * socket/sys/socket.h: Add prototype for __socket. +1997-05-30 22:21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> -1998-03-10 Ulrich Drepper <drepper@cygnus.com> + * nis/nss_nis/nis-hosts.c: Same changes as in + nss/nss_files/files-hosts.c (Always use inet_pton). + * nis/nss_nisplus/nisplus-hosts.c: Likewise. - * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep. +1997-05-30 09:50 Richard Henderson <rth@tamu.edu> - * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_* - constants. + * manual/maint.texi: ECOFF hasn't been tested in ages and I don't + plan on doing so ever again. Don't say alpha-linuxecoff is known + to work. - * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove - definition here. - * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add - definition here. + * elf/dl-lookup.c: Include <alloca.h>. + * misc/tsearch.c: Include <string.h>. + * posix/execle.c: Include <alloca.h>. + * posix/execlp.c: Likewise. + * stdio-common/printf_fphex.c: Include <string.h>. + * sunrpc/xdr.c: Include <string.h>. + * sysdeps/generic/memccpy.c: Include only <string.h>. - * 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. + * sunrpc/clnt_udp.c (clntudp_call): Make fromlen a size_t to fix + parameters to network functions. + * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise. + * sunrpc/svc_tcp.c (svctcp_create): Likewise with `len'. + (rendezvous_request): Likewise. + * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise. + (svcudp_recv): Similar, but go through a local variable. The old code + used &xprt->xp_addrlen. Someone should determine if the type of the + structure member should be changed instead. + * sunrpc/xdr_rec.c (xdrrec_create): Expunge a ptr->int cast warning + and transform a nonsense for-loop to a closed form calculation. + (fill_input_buf): Another ptr->int warning. + + * sysdeps/alpha/Makefile: Temporarily turn on -mieee globally. This + will last until I figure out how to build a parallel libm_ieee. + + * sysdeps/alpha/fpu/fclrexcpt.c, + * sysdeps/alpha/fpu/fegetenv.c, + * sysdeps/alpha/fpu/fegetround.c, + * sysdeps/alpha/fpu/feholdexcpt.c, + * sysdeps/alpha/fpu/fenvbits.h, + * sysdeps/alpha/fpu/fesetenv.c, + * sysdeps/alpha/fpu/fesetround.c, + * sysdeps/alpha/fpu/feupdateenv.c, + * sysdeps/alpha/fpu/fgetexcptflg.c, + * sysdeps/alpha/fpu/fraiseexcpt.c, + * sysdeps/alpha/fpu/fsetexcptflg.c, + * sysdeps/alpha/fpu/ftestexcept.c: New files. There is, btw, a small + kernel patch that must be applied as of 2.0.31-pre1 and 2.1.41 for + this to work properly. + + * sysdeps/alpha/fpu/fpu_control.h: Update copyright. Change default + FP mode to round to nearest, no exceptions as for Intel. + * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Add copyright. + (rdfpcr): Use excb rather than trapb. Be more efficient about + getting at the fpcr. + (wrfpcr): Likewise. + (__setfpucw): Reformat. + + * sysdeps/ieee754/huge_val.h: Change GCC's HUGE_VAL definition to use + a single DI-mode integer instead of bytes. This produces better code + on Alpha. Similar for HUGE_VALF. + * sysdeps/ieee754/nan.h: Similar for NAN. Add NANF and NANL. + + * sysdeps/libm-ieee754/s_log2.c: Missing */ and weak_alias. + + * sysdeps/unix/alpha/sysdep.S: Tiny cleanups. + * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/brk.S: Don't use jmp macro to make + sure the stack frame is released the very instruction before the + real jump out. + * 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/gnu/types.h: Undef some bits we may + have gotten from <linux/posix_types.h>. + + * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add definition for Miata. + +1997-05-30 13:05 Ulrich Drepper <drepper@cygnus.com> + + * misc/tst-tsearch.c (mangle_tree): Update casts to prevent + warnings. + +1997-05-29 14:02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/unix/sysv/linux/sys/ttydefaults.h (CEOL, CSTATUS): Use + correct value for _POSIX_VDISABLE. + +1997-05-29 13:59 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * Makefile (manual/dir-add.texi): Force execution. + +1997-05-29 13:57 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysexits.h: New file. + +1997-05-29 13:55 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * stdlib/strfmon.c: Don't run past EOS after `='. + +1997-05-29 12:48 Ulrich Drepper <drepper@cygnus.com> + + * io/ftw.c: Complete rewrite. Add implementation of `nftw'. + * io/ftw.h: Update for new implementation and XPG4.2. + * io/Makefile (test-srcs): Add ftwtest. + (distribute): Add ftwtest-sh. + (tests): Call ftwtest-sh for this goal. + * io/ftwtest-sh: New file. Sets up test environment, calls test + program and compares the result. + * io/ftwtest.c: Test program for ftw. + + * misc/search.h: Add comments. Declare tdestroy. + * misc/tsearch.c (tdestroy): New function. + + * login/Makefile: Update for UTMP daemon implementation. + + Update resolver code to bind-4.9.6-T1A. + * resolv/Banner: Update. + * nss/digits_dots.c: Adapt text address matching to T1A. + * nss/nss_files/files-hosts.c: Always use inet_pton. + * resolv/base64.c (b64_pton): Follow T1A but don't use this code since + it would lead to warnings. + * resolv/gethnamaddr.c (getanswer): Test host name for maximal length + at several places. + * resolv/inet_net_pton.c (inet_net_pton_ipv4): Correct typo in comment. + * resolv/res_comp.c (dn_expand): Check for overflow. + (dn_comp): Likewise. + * resolv/res_debug.c (precsize_aton): Better implementation. + * resolv/res_init.c (res_init): Make `buf' of size MAXDNAME. + * resolv/res_send.c (res_send): Check for overflow in descriptor set. + * resolv/nss_dns/dns-host.c (getanswer_r): Test host name for maximal + length at several places. + +1997-05-29 12:51 Mark Kettenis <kettenis@phys.uva.nl> + + * login/utmp-private.h (struct utfuncs): Add one more parameter + to updwtmp function. + Declare all three function jump tables. + * login/utmp.h: Declare __utmpname. + * login/getutent_r.c: Remove db backend and provide support for + utmpd backend. + * login/login.c: Use `updwtmp' function insteead of writing the + record ourself. + * login/logwtmp.c: Move `updwtmp' function to... + * login/updwtmp.c: ...here. New file. + * login/utmp_db.h: Removed. + * login/utmp_file.c: Add updwtmp function to write to file. + * login/utmp_daemon.c: New file. Daemon backend. + * login/utmpname.c: New file. Implementation of utmpname function. + * login/utmpdump.c: New file. Tool to dump utmp-like files. + * login/utmpd/connection.c: New file. + * login/utmpd/database.c: New file. + * login/utmpd/error.c: New file. + * login/utmpd/request.c: New file. + * login/utmpd/utmpd-private.h: New file. + * login/utmpd/utmpd.c: New file. + * login/utmpd/utmpd.h: New file. + * login/utmpd/xtmp.c: New file. + * login/utmpd/xtmp.h: New file. + +1997-05-29 12:28 Jim Meyering <meyering@eng.ascend.com> + + * time/strftime.c: Correct/normalize indentation in cpp directives. + +1997-05-28 20:43 Philip Blundell <pjb27@cam.ac.uk> + + * nis/nis_error.c: Include <string.h> to fix warning. + * nis/nis_print.c: Likewise. + * nis/nss_nisplus/nisplus-hosts.c: Arg 3 of map_v4v6_hostent + is int* not size_t*. -1998-03-11 15:27 Ulrich Drepper <drepper@cygnus.com> +1997-05-28 21:56 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * elf/rtld.c: Update help message. - Install link maps for preloaded objects using main_map as loader. + * math/cmathcalls.h: Correct typo in comment. - * elf/dl-misc.c: Use __libc_write instead of __write for debugging. - * elf/dl-profile.c: Likewise. + * inet/netinet/icmp6.h: Include <netinet/in.h> for in6_addr. - * elf/dlsym.c: Little optimization. - * elf/dlvsym.c: Likewise. + * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Include <net/if.h> for + IFNAMSIZ. -1998-03-11 14:56 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/net/ppp_defs.h: Include <time.h> for + time_t. - * posix/wordexp-test.c: Move test for parameter list at the very - beginning. + * login/pty.h: Include <ioctl-types.h> for definition of struct + winsize. -1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk> + * misc/regexp.h (compile): Correct typo. - * 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. + * argp/argp.h: Put extern before __const in defintion of + argp_program_bug_address. -1998-03-10 19:52 Tim Waugh <tim@cyberelk.demon.co.uk> +1997-05-29 00:20 Ulrich Drepper <drepper@cygnus.com> - * 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. + * sysdeps/wordsize-32/inttypes.h: Correct names of unsigned fast + and least types. Correct names of ?INT_FAST*_{MIN,MAX} macros. + * sysdeps/wordsize-64/inttypes.h: Likewise. + Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>. -1998-03-11 Ulrich Drepper <drepper@cygnus.com> +1997-05-28 22:51 Ulrich Drepper <drepper@cygnus.com> - * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before - parsing it. + * sysdeps/unix/Makefile (make-ioctls-CFLAGS): Use generic + ttydefaults.h file instead of non-existing version in termios/sys. + Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>. -1998-03-11 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * time/strptime.c (strptime_internal, case 'Y'): Restrict year + number to four digits and to representable range for 4 byte time_t + values. + Patch by H.J. Lu <hjl@lucon.org>. - * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use - _dl_debug_message. +1997-05-28 18:19 Philip Blundell <pjb27@cam.ac.uk> -1998-03-12 Matthias Urlichs <smurf@noris.de> + * posix/execl.c: Include <alloca.h> to avoid warning. - * 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. +1997-05-27 18:19 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * math/libm-test.c: Implement testing of inlined functions, make + output nicer, update comments. - * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection. + * math/test-idouble.c: New file. Frontend for double tests of + inlined functions. + * math/test-ildoubl.c: New file. Frontend for long double tests of + inlined functions. + * math/test-ifloat.c: New file. Frontend for float tests of + inlined functions. -1998-03-11 Ulrich Drepper <drepper@cygnus.com> + * math/test-longdouble.c: Rename to... + * math/test-ldouble.c: ...this. - * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h. + * math/Makefile: Add rules for new test programs, change rules for + renaming of longdouble test. - * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h. +1997-05-20 15:50 H.J. Lu <hjl@gnu.ai.mit.edu> -1998-03-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sunrpc/rpc/svc.h (__dispatch_fn_t): New. + (svc_register): Use __dispatch_fn_t in prototype. - * sysdeps/unix/sysv/linux/scsi/scsi.h: New file. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it. +1997-05-28 17:02 Ulrich Drepper <drepper@cygnus.com> -1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/generic/bzero.c (bzero): Fix typo. + Patch by Witek Wnuk <spider@pest.waw.ids.edu.pl>. - * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the - init stuff. +1997-05-27 12:00 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-03-10 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/generic/vtimes.c: Use ISO C declaration style. - * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE - flag. + * sysdeps/unix/bsd/ualarm.c: Include <unistd.h> for prototype. - * misc/syslog.c (vsyslog): Don't try to send if not connected to - syslog daemon. - (closelog_internal): Don't do anything if not connected. + * sysdeps/generic/memccpy.c: Include <string.h> for prototype. -1998-03-10 17:54 Ulrich Drepper <drepper@cygnus.com> + * signal/tst-signal.c (handler): Correct function declaration to + avoid warning. + * stdlib/testsort.c (compare): Likewise. + * string/tester.c: Likewise. - * 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. +1997-05-27 14:16 Miles Bader <miles@gnu.ai.mit.edu> - * elf/dl-deps.c (_dl_map_object_deps): Little optimizations. + * argp/argp-help.c (argp_args_usage): Supply correct argp to + filter_doc. -1998-03-10 Ulrich Drepper <drepper@cygnus.com> +1997-05-27 17:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from - kernel headers. Patch by a sun <asun@saul7.u.washington.edu>. + * db/hash/extern.h, db/hash/hash.c, db/hash/hash.h, + db/hash/hash_log2.c: Rename __log2 to __hash_log2 to avoid clash + with libm. -1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk> +1997-05-27 14:47 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * posix/wordexp-test.c (command_line_test): New function to allow - testing of specific cases from the command-line. + * sysdeps/m68k/fpu/e_atan2.c: Fix missing negate. Use __m81_test + instead of explicit comparisons. -1998-03-10 Ulrich Drepper <drepper@cygnus.com> +1997-05-26 18:36 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * inet/netinet/icmp6.h: Remove use of <asm/bitops.h> which has no + place in a generic header and is no user include file. - * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version - symbol in debug message. - (_dl_lookup_versioned_symbol_skip): Likewise. +1997-05-27 02:20 Ulrich Drepper <drepper@cygnus.com> -1998-03-10 19:43 Matthias Urlichs <urlichs@noris.de> + * stdio/obstream.c (obstack_printf): Fix bug in + de-ansidecl-fication. + Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>. - * sysdeps/unix/readdir_r.c: Zero out *result on EOF. - * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise. - * manual/filesys/texi: Document this. +1997-05-26 22:51 Ulrich Drepper <drepper@cygnus.com> -1998-03-10 10:49 Ulrich Drepper <drepper@cygnus.com> + * configure.in: Use AC_PROG_CC_LOCAL instead of AC_PROC_CC. + * aclocal.m4: Add AC_PROG_CC_LOCAL which does not fail for + environments in which linking is not possible at configure time + (since te libc is just build). + Based on patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>. - * manual/filesys.texi: Document the change below. + * time/scheck.c (scheck): Make 2nd parameter const. + * time/private.h: Likewise. -1998-03-10 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-05-26 18:58 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600. - Reported by Greg Alexander <galexand@sietch.bloomington.in.us>. + * stdlib/random_r.c (__initstate_r): Initialize randomizer type in + state array only at right place. + Reported by Sven Verdoolaege <skimo@breughel.ufsia.ac.be>. -1998-03-10 00:10 Ulrich Drepper <drepper@cygnus.com> + * stdlib/erand48_r.c (__erand48_r): Don't generate numbers in + [0.5,1.0) but really in [0.0, 1.0). + Patch by Oliver Gathmann <gathmann@scar.utoronto.ca>. - * 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. +1997-05-22 12:50 Eric Delaunay <delaunay@lix.polytechnique.fr> -1998-03-09 08:21 Ulrich Drepper <drepper@cygnus.com> + * shlib-versions: Provide Linux/SPARC defaults. - * sysdeps/unix/sysv/linux/chown.c: Moved to ... - * sysdeps/unix/sysv/linux/i386/chown.c: ...here. +1997-05-26 15:00 Matthias Urlichs <urlichs@noris.de> - * 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. + * stdlib/strtod_l.c: Add missing #include <xlocale.h>. + * stdlib/strtof_l.c: Likewise. + * stdlib/strtol_l.c: Likewise. + * stdlib/strtold_l.c: Likewise. + * stdlib/strtoll_l.c: Likewise. + * stdlib/strtoul_l.c: Likewise. + * stdlib/strtoull_l.c: Likewise. + +1997-05-26 02:42 Zack Weinberg <zack@rabi.phys.columbia.edu> + + * hurd/dtable.c: De-ansidecl-fy. + * math/test-math.c: Likewise. + * signal/tst-signal.c: Likewise. + * stdio/getc.c: Likewise. + * stdio/obstream.c: Likewise. + * stdio/putc.c: Likewise. + * stdio-common/bug1.c: Likewise. + * stdio-common/bug2.c: Likewise. + * stdio-common/bug6.c: Likewise. + * stdio-common/fscanf.c: Likewise. + * stdlib/testsort.c: Likewise. + * string/tester.c: Likewise. * sysdeps/am29k/ffs.c: Likewise. + * sysdeps/generic/bb_init_func.c: Likewise. + * sysdeps/generic/bcopy.c: Likewise. + * sysdeps/generic/bzero.c: Likewise. + * sysdeps/generic/div.c: Likewise. + * sysdeps/generic/ffs.c: Likewise. + * sysdeps/generic/memccpy.c: Likewise. + * sysdeps/generic/memcpy.c: Likewise. + * sysdeps/generic/memmove.c: Likewise. + * sysdeps/generic/memset.c: Likewise. + * sysdeps/generic/vfork.c: Likewise. + * sysdeps/generic/vtimes.c: Likewise. + * sysdeps/i386/bzero.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/mach/hurd/_exit.c: Likewise. + * sysdeps/mach/hurd/accept.c: Likewise. + * sysdeps/mach/hurd/access.c: Likewise. + * sysdeps/mach/hurd/adjtime.c: Likewise. + * sysdeps/mach/hurd/bind.c: Likewise. + * sysdeps/mach/hurd/brk.c: Likewise. + * sysdeps/mach/hurd/chdir.c: Likewise. + * sysdeps/mach/hurd/chflags.c: Likewise. + * sysdeps/mach/hurd/chmod.c: Likewise. + * sysdeps/mach/hurd/chown.c: Likewise. + * sysdeps/mach/hurd/chroot.c: Likewise. + * sysdeps/mach/hurd/close.c: Likewise. + * sysdeps/mach/hurd/connect.c: Likewise. + * sysdeps/mach/hurd/defs.c: Likewise. + * sysdeps/mach/hurd/dup2.c: Likewise. + * sysdeps/mach/hurd/execve.c: Likewise. + * sysdeps/mach/hurd/fchdir.c: Likewise. + * sysdeps/mach/hurd/fchflags.c: Likewise. + * sysdeps/mach/hurd/fchmod.c: Likewise. + * sysdeps/mach/hurd/fchown.c: Likewise. + * sysdeps/mach/hurd/fcntl.c: Likewise. + * sysdeps/mach/hurd/fdopen.c: Likewise. + * sysdeps/mach/hurd/flock.c: Likewise. + * sysdeps/mach/hurd/fsync.c: Likewise. + * sysdeps/mach/hurd/ftruncate.c: Likewise. + * sysdeps/mach/hurd/getdtsz.c: Likewise. + * sysdeps/mach/hurd/getegid.c: Likewise. + * sysdeps/mach/hurd/geteuid.c: Likewise. + * sysdeps/mach/hurd/getgid.c: Likewise. + * sysdeps/mach/hurd/getgroups.c: Likewise. + * sysdeps/mach/hurd/gethostid.c: Likewise. + * sysdeps/mach/hurd/gethostname.c: Likewise. + * sysdeps/mach/hurd/getitimer.c: Likewise. + * sysdeps/mach/hurd/getlogin.c: Likewise. + * sysdeps/mach/hurd/getpeername.c: Likewise. + * sysdeps/mach/hurd/getpgid.c: Likewise. + * sysdeps/mach/hurd/getpid.c: Likewise. + * sysdeps/mach/hurd/getppid.c: Likewise. + * sysdeps/mach/hurd/getsockname.c: Likewise. + * sysdeps/mach/hurd/getsockopt.c: Likewise. + * sysdeps/mach/hurd/getuid.c: Likewise. + * sysdeps/mach/hurd/ioctl.c: Likewise. + * sysdeps/mach/hurd/isatty.c: Likewise. + * sysdeps/mach/hurd/link.c: Likewise. + * sysdeps/mach/hurd/listen.c: Likewise. + * sysdeps/mach/hurd/lseek.c: Likewise. + * sysdeps/mach/hurd/mkdir.c: Likewise. + * sysdeps/mach/hurd/open.c: Likewise. + * sysdeps/mach/hurd/pipe.c: Likewise. + * sysdeps/mach/hurd/read.c: Likewise. + * sysdeps/mach/hurd/readlink.c: Likewise. + * sysdeps/mach/hurd/reboot.c: Likewise. + * sysdeps/mach/hurd/recv.c: Likewise. + * sysdeps/mach/hurd/recvfrom.c: Likewise. + * sysdeps/mach/hurd/rename.c: Likewise. + * sysdeps/mach/hurd/rewinddir.c: Likewise. + * sysdeps/mach/hurd/rmdir.c: Likewise. + * sysdeps/mach/hurd/sbrk.c: Likewise. + * sysdeps/mach/hurd/seekdir.c: Likewise. + * sysdeps/mach/hurd/select.c: Likewise. + * sysdeps/mach/hurd/setegid.c: Likewise. + * sysdeps/mach/hurd/seteuid.c: Likewise. + * sysdeps/mach/hurd/setgid.c: Likewise. + * sysdeps/mach/hurd/setgroups.c: Likewise. + * sysdeps/mach/hurd/sethostid.c: Likewise. + * sysdeps/mach/hurd/sethostname.c: Likewise. + * sysdeps/mach/hurd/setlogin.c: Likewise. + * sysdeps/mach/hurd/setpgid.c: Likewise. + * sysdeps/mach/hurd/setregid.c: Likewise. + * sysdeps/mach/hurd/setreuid.c: Likewise. + * sysdeps/mach/hurd/setrlimit.c: Likewise. + * sysdeps/mach/hurd/setsid.c: Likewise. + * sysdeps/mach/hurd/setsockopt.c: Likewise. + * sysdeps/mach/hurd/settimeofday.c: Likewise. + * sysdeps/mach/hurd/setuid.c: Likewise. + * sysdeps/mach/hurd/shutdown.c: Likewise. + * sysdeps/mach/hurd/sigaction.c: Likewise. + * sysdeps/mach/hurd/sigaltstack.c: Likewise. + * sysdeps/mach/hurd/sigpending.c: Likewise. + * sysdeps/mach/hurd/sigprocmask.c: Likewise. + * sysdeps/mach/hurd/sigstack.c: Likewise. + * sysdeps/mach/hurd/sigsuspend.c: Likewise. + * sysdeps/mach/hurd/socket.c: Likewise. + * sysdeps/mach/hurd/socketpair.c: Likewise. + * sysdeps/mach/hurd/stdio_init.c: Likewise. + * sysdeps/mach/hurd/symlink.c: Likewise. + * sysdeps/mach/hurd/sync.c: Likewise. + * sysdeps/mach/hurd/sysd-stdio.c: Likewise. + * sysdeps/mach/hurd/telldir.c: Likewise. + * sysdeps/mach/hurd/truncate.c: Likewise. + * sysdeps/mach/hurd/umask.c: Likewise. + * sysdeps/mach/hurd/unlink.c: Likewise. + * sysdeps/mach/hurd/wait4.c: Likewise. + * sysdeps/mach/hurd/utimes.c: Likewise. + * sysdeps/mach/hurd/write.c: Likewise. + * sysdeps/mach/adjtime.c: Likewise. + * sysdeps/mach/gettimeofday.c: Likewise. + * sysdeps/mach/usleep.c: Likewise. + * sysdeps/mips/__longjmp.c: Likewise. + * sysdeps/posix/clock.c: Likewise. + * sysdeps/posix/ctermid.c: Likewise. + * sysdeps/posix/defs.c: Likewise. + * sysdeps/posix/dup.c: Likewise. + * sysdeps/posix/libc_fatal.c: Likewise. + * sysdeps/posix/stdio_init.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> - - * 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> - - * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff. - -1998-03-07 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of - Linux 2.0 and 2.1. - - * 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. - - * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment. - * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise. - -1998-03-06 Ulrich Drepper <drepper@cygnus.com> - - * argp/argp-help.c: Remove last bits of using gettext instead of - dgettext. - -1998-03-06 17:04 Ulrich Drepper <drepper@cygnus.com> - - * 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/sparc/e_sqrt.c: Likewise. + * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise. + * sysdeps/standalone/i386/force_cpu386/brdinit.c: Likewise. + * sysdeps/standalone/i386/force_cpu386/console.c: Likewise. + * sysdeps/standalone/i960/nindy960/_exit.c: Likewise. + * sysdeps/standalone/i960/nindy960/brdinit.c: Likewise. + * sysdeps/standalone/i960/nindy960/console.c: Likewise. + * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise. + * sysdeps/standalone/m68k/m68020/mvme136/brdinit.c: Likewise. + * sysdeps/standalone/brk.c: Likewise. + * sysdeps/stub/_exit.c: Likewise. + * sysdeps/stub/brdinit.c: Likewise. + * sysdeps/stub/console.c: Likewise. + * sysdeps/stub/defs.c: Likewise. + * sysdeps/stub/errlist.c: Likewise. + * sysdeps/stub/libc_fatal.c: Likewise. + * sysdeps/stub/siglist.c: Likewise. + * sysdeps/stub/stdio_init.c: Likewise. + * sysdeps/stub/strtsupp.c: Likewise. + * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Likewise. + * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Likewise. + * sysdeps/unix/bsd/bsd4.4/wait3.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/tcflow.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/tcflush.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/tcgetattr.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/tcsendbrk.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/wait4.c: Likewise. + * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Likewise. + * sysdeps/unix/bsd/bsdstat.h: Likewise. + * sysdeps/unix/bsd/clock.c: Likewise. + * sysdeps/unix/bsd/gtty.c: Likewise. + * sysdeps/unix/bsd/init-posix.c: Likewise. + * sysdeps/unix/bsd/setgid.c: Likewise. + * sysdeps/unix/bsd/setrgid.c: Likewise. + * sysdeps/unix/bsd/setruid.c: Likewise. + * sysdeps/unix/bsd/setuid.c: Likewise. + * sysdeps/unix/bsd/stty.c: Likewise. + * sysdeps/unix/bsd/telldir.c: Likewise. + * sysdeps/unix/bsd/ualarm.c: Likewise. + * sysdeps/unix/common/glue-ctype.c: Likewise. + * sysdeps/unix/sparc/start.c: Likewise. + * sysdeps/unix/sysv/irix4/fpathconf.c: Likewise. + * sysdeps/unix/sysv/irix4/getgroups.c: Likewise. + * sysdeps/unix/sysv/irix4/getrusage.c: Likewise. + * sysdeps/unix/sysv/irix4/pathconf.c: Likewise. + * sysdeps/unix/sysv/irix4/setgroups.c: Likewise. + * sysdeps/unix/sysv/irix4/sigtramp.c: Likewise. + * sysdeps/unix/sysv/irix4/start.c: Likewise. + * sysdeps/unix/sysv/irix4/sysconf.c: Likewise. + * sysdeps/unix/sysv/sco3.2.4/__setpgid.c: Likewise. + * sysdeps/unix/sysv/sco3.2.4/getgroups.c: Likewise. + * sysdeps/unix/sysv/sysv4/__getpgid.c: Likewise. + * sysdeps/unix/sysv/sysv4/__setpgid.c: Likewise. + * sysdeps/unix/sysv/sysv4/ftruncate.c: Likewise. + * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise. + * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise. + * sysdeps/unix/sysv/sysv4/sethostname.c: Likewise. + * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise. + * sysdeps/unix/sysv/sysv4/setsid.c: Likewise. + * sysdeps/unix/sysv/gethostname.c: Likewise. + * sysdeps/unix/sysv/tcgetpgrp.c: Likewise. + * sysdeps/unix/sysv/tcsetpgrp.c: Likewise. + * sysdeps/unix/alarm.c: Likewise. + * sysdeps/unix/make_errlist.c: Likewise. + * sysdeps/unix/rewinddir.c: Likewise. + * sysdeps/unix/seekdir.c: Likewise. + * sysdeps/unix/time.c: Likewise. + * sysdeps/unix/utime.c: Likewise. + * sysdeps/vax/__longjmp.c: Likewise. + * sysdeps/vax/memccpy.c: Likewise. + * time/strftime.c: Likewise. -1998-03-06 11:35 Ulrich Drepper <drepper@cygnus.com> +1997-05-25 21:57 Miles Bader <miles@gnu.ai.mit.edu> - * posix/wordexp-test.c: Change testsuite so that it can run even - for ~root != /root. + * argp/argp-parse.c (parser_init): For the special case where no + parsing function is supplied for an argp, propagate its input to + its first child, if any. -1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * argp/argp.h (struct argp_state): `argp' field renamed to `root_argp'. + * argp/argp-help.c (__argp_state_help, argp_args_usage, hol_help): + Replace references to STATE->argp with STATE->root_argp. + * argp/argp-parse.c (parser_init): Likewise. - * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1. +1997-05-26 14:17 Ulrich Drepper <drepper@cygnus.com> -1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * manual/main.texi: Clarify situation for other not supported ports. + Proposed by Andreas Jaeger <aj@arthur.rhein-neckar.de>. + We recommend binutils 2.8. - * 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). +1997-05-26 12:17 Ulrich Drepper <drepper@cygnus.com> -1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * netinet/in.h: New file. Wrapper around inet/netinet/in.h. - * sysdeps/generic/sysdep.h (L): Remove definition. - * sysdeps/i386/sysdep.h (L): Define it here instead. +1997-05-25 09:51 H.J. Lu <hjl@gnu.ai.mit.edu> -1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/i386/elf/start.S: Change local label "nofini" + to ".Lnofini". - * nis/nis_call.c (__do_niscall): Safe and reset errno. + * sysdeps/i386/i386-mcount.S: Use GOT, instead of GOTOFF. - * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno. +1997-05-24 17:45 H.J. Lu <hjl@gnu.ai.mit.edu> -1998-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * gmon/gmon.c (_mcleanup): Free tostruct array allocated in monstartup. - * sysdeps/generic/getresuid.c (__getresuid): Use ISO C - declaration style to avoid warnings. +1997-05-25 03:00 Ulrich Drepper <drepper@cygnus.com> -1998-03-06 11:48 Mark M._Kettenis <kettenis@hall.phys.uva.nl> + * elf/dynamic-link.h (_dl_verbose): New variable, declare. + * elf/rtld.c (_dl_verbose): New variable, define. + (dl_main): Define _dl_verbose based on DL_WARN environment variable. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Print warning about + changed size in copy relocation only if symbol in shared object + is larger or _dl_verbose is nonzero. + * sysdeps/m68k/dl-machine.h (elf_machine_rel): Likewise. + * sysdeps/powerpc/dl-machine.h (elf_machine_rel): Likewise. + * sysdeps/sparc/dl-machine.h (elf_machine_rel): Likewise. - * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" -> - "LD_DEBUG". - -1998-03-05 Ulrich Drepper <drepper@cygnus.com> - - * 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-03-05 16:04 Ulrich Drepper <drepper@cygnus.com> + * nis/nss_nis/nis-ethers.c: Don't use relative include paths, use + <...>. + * 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-pwd.c: Likewise. + * nis/nss_nis/nis-rpc.c: Likewise. + * nis/nss_nis/nis-spwd.c: Likewise. + * sysdeps/unix/sysv/sysd-stdio.c: Likewise. + * wcsmbs/wcscoll.c: Likewise. + * wcsmbs/wcstod.c: Likewise. + * wcsmbs/wcstof.c: Likewise. + * wcsmbs/wcstol.c: Likewise. + * wcsmbs/wcstold.c: Likewise. + * wcsmbs/wcsxfrm.c: Likewise. + Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>. - * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the - dependencies. + * time/strftime.c: Implement # flag which changes case of output for + %a, %b, %B, %p, and %Z format. + When printing numbers, the given field width is always respected. + This means that padding happens only up to the given width. + Proposed by Stephen Gildea <gildea@intouchsys.com>. - * 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. +1997-05-25 00:44 Ulrich Drepper <drepper@cygnus.com> -1998-03-06 10:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/i386/fpu/__math.h (logb): Fix thinko, reverse output + values. + Reported by Andreas Jaeger <aj@arthur.rhein-neckar.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. +1997-05-24 21:03 Philip Blundell <pjb27@cam.ac.uk> - * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro. - [_LIBC_REENTRANT]: Don't store into global errno. + * db/btree/bt_open.c (__bt_open): Only try to use st_blksize (from + struct stat) if it exists for this port. - * 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. +1997-05-24 20:34 Philip Blundell <pjb27@cam.ac.uk> -1998-03-05 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/standalone/arm/errnos.h: Add EPERM. - * 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. +1997-05-23 16:28 Philip Blundell <phil@kings-cross.london.uk.eu.org> -1998-03-05 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * linewrap.h: New file, needed to compile argp without libio. - * 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. +1997-05-24 11:59 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-03-05 Ulrich Drepper <drepper@cygnus.com> + * manual/stdio.texi (Formatted Messages): Corrected some typos. - * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS - module cannot be found. Reported by Andreas Jaeger. +1997-05-24 11:58 Philip Blundell <pjb27@cam.ac.uk> -1998-03-05 11:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> + * sysdeps/stub/start.c: Fix typo. - * 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. +1997-05-21 17:53 Miles Bader <miles@gnu.ai.mit.edu> -1998-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * argp/argp-help.c (hol_add_cluster): Initialize CL->depth. - * elf/Makefile (install-bin): Change = to += for sprof to install - ldd also. +1997-05-24 03:51 Ulrich Drepper <drepper@cygnus.com> -1998-03-04 16:12 H.J. Lu <hjl@gnu.org> + * stdlib/Makefile (routines): Add strtol_l, strtoul_l, strtoll_l, + strtoull_l, strtof_l, strtod_l, and strtold_l. + * stdlib/stdlib.h: Add prototypes for new functions. + * stdlib/strtod.c: Change for compiling as strtoX_l. + * stdlib/strtol.c: Likewise. + * stdlib/strtof.c: Likewise. + * stdlib/strtold.c: Likewise. + * stdlib/strtod_l.c: New file. + * stdlib/strtof_l.c: New file. + * stdlib/strtold_l.c: New file. + * stdlib/strtol_l.c: New file. + * stdlib/strtoul_l.c: New file. + * stdlib/strtoll_l.c: New file. + * stdlib/strtoull_l.c: New file. + * string/Makefile (routines): Add strcasecmp_l and strncase_l. + * string/string.h: Add prototypes for new functions. + * sysdeps/generic/strcasecmp.c: Change for compiling as strcasecmp_l. + * sysdeps/generic/strncase.c: Change for compiling as strncasecmp_l. + * sysdeps/generic/strcasecmp_l.c: New file. + * sysdeps/generic/strncase_l.c: New file. + * wcsmbs/Makefile (routines): Add wcstol_l, wcstoul_l, wcstoll_l, + wcstoull_l, wcstod_l, wcstold_l, wcstof_l, wcscasecmp_l, and + wcsncase_l. + * wcsmbs/wchar.h: Add prototypes for new functions. + * wcsmbs/wcscasecmp.c: Change for compiling as wcscasecmp_l. + * wcsmbs/wcsncase.c: Change for compiling as wcsncasecmp_l. + * wcsmbs/wcscasecmp_l.c: New file. + * wcsmbs/wcsncase_l.c: New file. + * wcsmbs/wcstof.c: Change for compiling as wcstof_l.c + * wcsmbs/wcstold.c: Change for compiling as wcstold_l.c + * wcsmcs/wcstod_l.c: New file. + * wcsmcs/wcstof_l.c: New file. + * wcsmcs/wcstold_l.c: New file. + * wcsmcs/wcstol_l.c: New file. + * wcsmcs/wcstoul_l.c: New file. + * wcsmcs/wcstoll_l.c: New file. + * wcsmcs/wcstoull_l.c: New file. + + * Makeconfig (binfmt-subdir): New variable. Set to `elf' if + $(elf) is defined. More to come later when other binary formats + are supported. + * Makefile (subdirs): Remove elf. Add $(binfmt-subdir). + Suggested by Philip Blundell. + + * stdlib/Makefile (headers): Add fmtmsg.h. + (routines): Add fmtmsg. + * stdlib/fmtmsg.c: New file. + * stdlib/fmtmsg.h: New file. + * manual/stdio.texi: Add description of fmtmsg and addseverity. + * manual/examples/fmtmsgexpl.c: Example program for fmtmsg + documentation. + +1997-05-23 15:26 Philip Blundell <pjb27@cam.ac.uk> + + * resolv/res_query.c (res_querydomain): Avoid potential buffer + overrun. Reported by Dan A. Dickey <ddickey@transition.com>. + +1997-05-22 18:36 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + + * elf/dl-support.c (_dl_sysdep_open_zero_fill, + _dl_sysdep_read_whole_file): Moved functions to ... + * elf/dl-misc.c: This new file. + * sysdeps/generic/dl-sysdepio.c: Delete file and move functions... + * elf/dl-misc.c: ... here. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill, + _dl_sysdep_read_whole_file): Delete functions; they now come from + elf/dl-misc.c (dl-support.c had contained identical versions). + * sysdeps/mach/hurd/dl-sysdepio.c: Delete file; move functions... + * sysdeps/mach/hurd/dl-sysdep.c: ... here, but mark them weak so + that the regular ones in dl-misc work once we've initialized. + * elf/Makefile (dl-routines): Remove dl-sysdepio.c. Add dl-misc.c. + +1997-05-22 21:55 Philip Blundell <pjb27@cam.ac.uk> + + * inet/Makefile (headers): Add netinet/inbits.h. + * inet/netinet/in.h: New file. + * sysdeps/generic/netinet/inbits.h: Likewise. + * sysdeps/unix/sysv/linux/netinet/inbits.h: Likewise. + * sysdeps/generic/netinet/ip6.h: Move to... + * inet/netinet/ip6.h: ... here. + * sysdeps/generic/netinet/icmp6.h: Move to... + * inet/netinet/icmp6.h: ... here. + * sysdeps/unix/sysv/linux/netinet/in.h: Remove. + * sysdeps/generic/netinet/in.h: Remove. + +1997-05-22 05:40 Richard Henderson <rth@tamu.edu> + + * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): If we are + not looking at the new thread-safe .plt, don't be lazy about relocs. + (_dl_runtime_resolve): Fix up arithmetic for new .plt layout. + (elf_alpha_fix_plt): Insert wmb as appropriate to ensure safety. + * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Let + elf_machine_runtime_setup() decide if we can actually be lazy. + * elf/rtld.c (_dl_start): So don't call it. + * elf/dl-reloc.c (_dl_relocate_object): Likewise. + * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Return lazy. + * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise. + * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise. + * sysdeps/powerpc/dl-machine.h (elf_machine_runtime_setup): Likewise. + * sysdeps/sparc/dl-machine.h (elf_machine_runtime_setup): Likewise. + * sysdeps/stub/dl-machine.h (elf_machine_runtime_setup): Update + skeleton definition. + +1997-05-22 18:45 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/i386/fpu/__math.h (logb): Remove second value placed on + stack by fxtract. + +1997-05-22 13:07 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * sunrpc/rpcsvc/rusers.x: Provide and correct prototypes, + add cast to (xdrproc_t) where necessary to prevent warnings. + +1997-05-22 12:18 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Remove I/O functions. + +1997-05-22 04:09 Ulrich Drepper <drepper@cygnus.com> + + * sunrpc/clnt_perr.c (clnt_sperrno): Change type of variable i + to size_t to prevent warning. + * sunrpc/rpcinfo.c (get_inet_address): Use INADDR_NONE and INADDR_ANY + instead of numeric values. + Various cleanups. + * sunrpc/xdr_mem.c: Use `const char *' instead of `const caddr_t' + for xdrmem_putbytes. + * sunrpc/xdr_rec.c: Likewise. + * sunrpc/xdr_stdio.c: Likewise. + * sunrpc/rpc/xdr.h: Likewise. - * libio/strops.c (_IO_str_seekoff): Handle MODE == 0. + * sysdeps/unix/sysv/linux/arm/syscall.s: Pretty printing. + * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. -1998-03-04 16:19 Ulrich Drepper <drepper@cygnus.com> +1997-05-21 22:22 Philip Blundell <pjb27@cam.ac.uk> - * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change. + * inet/Makefile (headers): Add netinet/ip6.h, netinet/icmp6.h. + * sysdeps/generic/netinet/ip6.h: New file (for IPv6 Advanced API). + * sysdeps/generic/netinet/icmp6.h: Likewise. + * sysdeps/unix/sysv/linux/netinet/in.h: Fix typo. + * sysdeps/stub/direntry.h (struct dirent): Add d_fileno (needed by + glob.c). + * sysdeps/standalone/arm/errnos.h: Add EPROTOTYPE, ESRCH. + * sysdeps/unix/arm/sysdep.h: Avoid warning about nested comments. + * sysdeps/stub/accept.c (accept): Make args match prototype. + * sysdeps/stub/bind.c (bind): Likewise. + * sysdeps/stub/connect.c (connect): Likewise. + * sysdeps/stub/getpeername.c (getpeername): Likewise. + * sysdeps/stub/getsockname.c (getsockname): Likewise. + * sysdeps/stub/recvfrom.c (recvfrom): Likewise. + * sysdeps/stub/send.c (send): Likewise. + * sysdeps/stub/ttyname_r.c (ttyname_r): Likewise. + * sysdeps/stub/readv.c (readv): Likewise. + * sysdeps/stub/writev.c (writev): Likewise. + * sysdeps/stub/sendto.c (sendto): Likewise. + * sysdeps/unix/sysv/linux/arm/profil-counter.h: New file. -1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-05-18 12:46 Philip Blundell <pjb27@cam.ac.uk> - * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so - that a failure to connect to nscd doesn't change errno. + * sysdeps/unix/sysv/linux/socketbits.h: Add new macros CMSG_SPACE, + CMSG_LEN, CMSG_ALIGN (for IPv6 Advanced API). -1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-05-21 13:51 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * manual/maint.texi (Reporting Bugs): Change - bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org. + * sysdeps/unix/sysv/linux/shmat.c (shmat): Add cast to prevent warning. - * locale/iso-4217.def: Likewise + * sunrpc/rpcsvc/rusers.x: Provide prototypes for implemented + functions, include <rpc/xdr.h>. -1998-03-04 12:43 Ulrich Drepper <drepper@cygnus.com> + * string/strverscmp.c: Correct typos in comment. - * manual/texinfo.tex: Updated. + * sunrpc/rpc/xdr.h: Add more `const'. + * sunrpc/xdr_stdio.c: Likewise. + * sunrpc/xdr_rec.c: Likewise. -1998-03-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-05-21 17:50 Ulrich Drepper <drepper@cygnus.com> + + * elf/Makefile (dl-routines): Add dl-sysdepio. + * elf/dl-support.c (_dl_sysdep_fatal): Removed. + * sysdeps/generic/dl-sysdep.c: Move definition of _dl_sysdep_fatal, + _dl_sysdep_error and _dl_sysdep_warning to ... + * sysdeps/generic/dl-sysdepio.c: ...here. + * sysdeps/mach/hurd/dl-sysdep.c: Move the functions to ... + * sysdeps/mach/hurd/dl-sysdepio.c: ...here. + * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Remove definition + of functions. + Bug reported by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>. + + * db/Makefile (libdb.so): Depend on libc.so for dynamic loading + and for Linux ld.so. + * login/Makefile (libutil.so): Likewise. + * math/Makefile (libm.so): Likewise. + * md5-crypt/Makefile (libcrypt.so): Likewise. + * nis/Makefile (libnss_%.so): Likewise. + * resolv/Makefile (libnss_dns.so): Likewise. + +1997-05-20 14:01 Miles Bader <miles@gnu.ai.mit.edu> + + * argp/argp-help.c (_help): Supply STATE to argp_args_usage. + (argp_args_usage): Add filtering of the args doc string. + (comma): Print cluster headers for the first entry too. + * argp/argp.h (ARGP_KEY_HELP_ARGS_DOC): New macro. + +1997-05-21 02:49 Ulrich Drepper <drepper@cygnus.com> + + * gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Set to 2 since + interface was changed with addition of _obstack_memory_used. + Suggested by Ian Taylor <ian@cygnus.com>. + + * malloc/obstack.c: Include <config.h>. Include <stdlib.h> only + if __GNU_LIBRARY__ or HAVE_STDLIB_H is defined. + Reported by Ian Taylor <ian@cygnus.com>. + + * dirent/Makefile (routines): Add versionsort. + * dirent/dirent.h: Add prototype for versionsort. + * dirent/versionsort.c: New file. + * manual/filesys.texi: Add documentation for versionsort. + * manual/string.texi: Add documentation for strverscmp. + * string/Makefile (routines): Add strverscmp. + (tests): Add tst-svc. + * string/string.h: Add prototype for strverscmp. + * string/strverscmp.c: New file. + * string/tst-svc.c: New file. Test for strverscmp. + * string/tst-svc.input: New file. Input data for tst-svc. + * string/tst-svc.expect: New file. Expected out from tst-svc. + Patches by Jean-François Bignolles <bignolle@ecoledoc.ibp.fr>. + + * math/Makefile (calls): Add s_signbit. + + * po/sv.po: Update. + + * resolv/nss_dns/dns-host.c: Add casts to prevent warnings. + * sunrpc/pmap_rmt.c: Likewise. - * 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. + * string/basename.c: Don't use ISO C definition style. + Include <config.h> if HAVE_CONFIG_H is defined. -1998-03-04 Ulrich Drepper <drepper@cygnus.com> + * sunrpc/proto.h: Add `const' wherever possible. + * sunrpc/rpc_cout.c: Likewise. + * sunrpc/rpc_svcout.c: Likewise. + * sunrpc/xdr_mem.c: Likewise. + * sunrpc/xdr_rec.c: Likewise. + * sunrpc/xdr_stdio.c: Likewise. + * sunrpc/rpc_parse.c: Delete comma from end of enum definition. + * sunrpc/xdr.c: Little code cleanups. + * sunrpc/xdr_float.c: Likewise. + Patches by Matthew Wilcox <matthew.wilcox@chbs.mhs.ciba.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/i386/fpu/__math.h (__finite): Fix typo. -1998-03-04 09:43 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/shmdt.c: Add cast to prevent warning. - * 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. + * time/europe: Update from tzdata1997f. + * time/zic.c: Update from tzcode1997e. -1998-03-04 11:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-05-20 19:20 Miguel de Icaza <miguel@athena.nuclecu.unam.mx> - * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word - offsets into the GOT. - (RTLD_START): Likewise. + * sysdeps/sparc/setjmp.S: Flush windows. + Bug found by Richard Henderson. -1998-03-03 17:55 Ulrich Drepper <drepper@cygnus.com> +1997-05-19 12:54 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * elf/sprof.c: Cleanup a bit. + * misc/efgcvt_r.c (fcvt_r, ecvt_r): Rewritten as to fit the specs. -1998-03-03 08:01 H.J. Lu <hjl@gnu.org> +1997-05-19 18:41 Thorsten Kukuk <kukuk@uni-paderborn.de> - * sysdeps/generic/sysdep.h (L): New. Define. + * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent): Use + atol instead of atoi. - * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define. +1997-05-18 00:22 Philip Blundell <pjb27@cam.ac.uk> - * sysdeps/i386/i586/addmul_1.S: Fix a typo. + * inet/Makefile (routines): Add if_index. + * sysdeps/unix/sysv/linux/if_index.c: New file. + * sysdeps/stub/if_index.c: New file. + * sysdeps/unix/sysv/linux/net/if.h: Add prototypes for routines in + if_index.c (required by IPv6 basic API). + * sysdeps/unix/sysv/linux/netinet/in.h: Add struct ipv6_pktinfo. - * 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. +1997-05-17 23:29 Philip Blundell <pjb27@cam.ac.uk> -1998-03-03 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/unix/sysv/linux/netinet/in.h: Update IPv6 definitions + for new advanced API draft. - * 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. +1997-05-13 21:33 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-03-02 17:55 Ulrich Drepper <drepper@cygnus.com> + * stdio-common/printf_fp.c: Only use the field width for deciding + on padding when printing special values. + * stdio-common/printf_fphex.c: Likewise. - * 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. +1997-05-15 13:14 Miles Bader <miles@gnu.ai.mit.edu> - * sysdeps/i386/sysdep.h: Extend last change. + Changes by Thomas Bushnell <thomas@gnu.ai.mit.edu>: + * hurd/hurdauth.c (_S_msg_add_auth): Implement correctly. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice - to have only one exit point for functions. +1997-05-12 14:50 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> -1998-03-02 Ulrich Drepper <drepper@cygnus.com> + * hurd/hurdsig.c (_hurdsig_init): Double size of sigthread stack; + msg_add_auth was overflowing it. - * configure.in: Fix msgfmt test. Fix handling of //s in sysdeps - search. +1997-05-12 21:20 Richard Henderson <rth@tamu.edu> -1998-03-02 13:28 Ulrich Drepper <drepper@cygnus.com> + * elf/dl-lookup.c (_dl_lookup_symbol_skip): Call _dl_signal_error + when we can't find the symbol. - * Makerules: Generate libc.so with absolute paths for the used - shared objects. +1997-05-12 16:54 Ulrich Drepper <drepper@cygnus.com> - * config.make.in: Add MAKEINFO definition. + * posix/regex.c: Fix handling of 32-bit Windog environments. + Patch by Arnold Robbins <arnold@skeeve.atl.ga.us>. -1998-03-02 Ulrich Drepper <drepper@cygnus.com> +1997-05-10 23:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add cacheflush. - * elf/Makefile: Add rules to build sprof program. - * elf/sprof.c: New file. +1997-05-10 11:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-02-28 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * elf/ldd.bash.in: Remove spurious quote character from version + message. - * misc/syslog.c (openlog_internal): Insert missing closing brace. +1997-05-10 08:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-02-06 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * locale/programs/locale.c (write_charmaps): Don't get stuck in a + loop if the file ends in a long line without newline. + * locale/programs/charmap.c (charmap_read): Likewise. - * configure.in: Check for working msgfmt version (from GNU gettext - 0.10 or later). +1997-05-12 03:47 Ulrich Drepper <drepper@cygnus.com> -1998-03-02 Ulrich Drepper <drepper@cygnus.com> + * sunrpc/rpc/xdr.h: Include more headers to be self-contained. + * sunrpc/rpc/svc_auth.h: Likewise. + * sunrpc/rpc/svc.h: Likewise. + * sunrpc/rpc/rpc_msg.h: Likewise. + * sunrpc/rpc/pmap_rmt.h: Likewise. + * sunrpc/rpc/pmap_clnt.h: Likewise. + * sunrpc/rpc/clnt.h: Likewise. + * sunrpc/rpc/auth_unix.h: Likewise. + * sysdeps/generic/rpc/auth.h: Likewise. + Patches by Michael Deutschmann <ldeutsch@mail.netshop.net>. + +1997-05-11 15:29 Philip Blundell <pjb27@cam.ac.uk> + + * sysdeps/stub/sigaction.c (__sigaction): Correct typo. + * sysdeps/standalone/arm/errnos.h: New file. + * sysdeps/stub/sys/param.h: Add dummy definition of MAXSYMLINKS. + * sysdeps/unix/arm/fork.S: New file. + * sysdeps/unix/sysv/linux/arm/sysdep.h: New file. + * sysdeps/stub/tempname.c (__stdio_gen_tempname): Add missing + `streamptr' argument. + * sysdeps/stub/vdprintf.c: Remove second copy of file (!), include + <stdarg.h> to get va_list defined, return 0 not NULL. + * sysdeps/unix/sysv/linux/statfsbuf.h: Include <gnu/types.h>. + * sysdeps/unix/sysv/linux/arm/syscall.S: New file. + * sysdeps/stub/direntry.h (struct dirent): Add missing ';'. + * sysdeps/stub/seekdir.c (seekdir): Likewise. + * sysdeps/stub/dirfd.c (dirfd): Argument dirp is DIR*, not FILE*. + * sysdeps/standalone/dirstream.h: Define struct __dirstream + not DIR; <dirent.h> provides typedef. + * sysdeps/unix/sysv/linux/arm/clone.S: New file. + * sysdeps/unix/sysv/linux/arm/socket.S: New file. + * sysdeps/stub/sysconf.c (__sysconf): Fix typos. + +1997-05-01 06:35 Geoff Keating <geoffk@ozemail.com.au> + + * sysdeps/powerpc/Dist: New file. + * sysdeps/powerpc/Makefile: New file. + * sysdeps/powerpc/fclrexcpt.c: New file. + * sysdeps/powerpc/fegetenv.c: New file. + * sysdeps/powerpc/fegetround.c: New file. + * sysdeps/powerpc/feholdexcpt.c: New file. + * sysdeps/powerpc/fenvbits.h: New file. + * sysdeps/powerpc/fenv_const.c: New file. + * sysdeps/powerpc/fenv_libc.h: New file. + * sysdeps/powerpc/fesetenv.c: New file. + * sysdeps/powerpc/fesetround.c: New file. + * sysdeps/powerpc/feupdateenv.c: New file. + * sysdeps/powerpc/fgetexcptflg.c: New file. + * sysdeps/powerpc/fraiseexcpt.c: New file. + * sysdeps/powerpc/fsetexcptflg.c: New file. + * sysdeps/powerpc/ftestexcept.c: New file. + * sysdeps/powerpc/mathbits.h: New file. + + * sysdeps/powerpc/dl-machine.h: Wrap in #ifndef dl_machine_h; + define elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p, + ELF_MACHINE_RELOC_NOPLT; consequent changes to elf_machine_rela. + + * sysdeps/powerpc/__math.h: Remove definition for hypot and __sgn. + + * sysdep/powerpc/fpu_control.h: Correct IEEE default mode. + + * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use .text, but + instead .section ".text". + +1997-04-25 05:06 Geoff Keating <geoffk@ozemail.com.au> + + * sysdeps/powerpc/__longjmp.S: Use symbolic register numbering. + * sysdeps/powerpc/bsd-_setjmp.S: Likewise. + * sysdeps/powerpc/bsd-setjmp.S: Likewise. + * sysdeps/powerpc/setjmp.S: Likewise. - * configure.in: Avoid //s in sysdirs. - Patch by Roland McGrath. + * sysdeps/unix/sysv/linux/clone.S: Likewise. + * sysdeps/unix/sysv/linux/socket.S: Likewise. + * sysdeps/unix/sysv/linux/syscall.S: Likewise. - * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>. +1997-04-20 04:37 Geoff Keating <geoffk@ozemail.com.au> -1998-03-02 07:17 H.J. Lu <hjl@gnu.org> + * sysdeps/powerpc/strchr.s: New file. + * sysdeps/powerpc/strcmp.s: New (ugly) file. + * sysdeps/powerpc/memset.s: New file. + * string/tester.c: Include prototype and _GNU_SOURCE to make + standalone compilation possible. Give strcmp a better + test. Give memset a better test. - * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when - setting _dl_global_scope for RTLD_GLOBAL. +1997-04-05 06:34 Geoff Keating <geoffk@ozemail.com.au> -1998-02-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/powerpc/strlen.s: Fixed bugs (how did it ever pass its + tests before?). Changed to symbolic register numbering as an + experiment. + * sysdeps/powerpc/ffs.c: Don't include bstring.h, it doesn't + exist. + * sysdeps/rs6000/ffs.c: Likewise. - * sysdeps/unix/make-syscalls.sh: Fix last change so that all - possible lists of object-suffixes are taken care of. +1997-05-12 02:28 Ulrich Drepper <drepper@cygnus.com> -1998-03-02 10:16 Ulrich Drepper <drepper@cygnus.com> + * time/sys/time.h: Make second argument of setitimer const. + Patch by Michael Deutschmann <ldeutsch@mail.netshop.net>. + * sysdeps/stub/setitimer.c: Likewise. + * sysdeps/mach/hurd/setitimer.c: Likewise. - * timezone/private.h: Update from tzcode1998c. - * timezone/zic.c: Likewise. - * timezone/antarctica: Updated from tzdata1998c. - * timezone/asia: Likewise. - * timezone/australasia: Likewise. - * timezone/europe: Likewise. - * timezone/southamerica: Likewise. +1997-05-10 11:46 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> -1998-03-02 Ulrich Drepper <drepper@cygnus.com> + * nis/rpcsvc/nis_callback.x: New, from tirpcsrc-2.3. - * posix/glob.c (glob_in_dir): Add support for cases insensitive - VMS. Patch by John W. Eaton <jwe@bevo.che.wisc.edu>. + * nis/nis_call.c (__nis_docall): Rewritten for navigation in NIS+ + namespace hierachy. + * nis/nis_intern.h: Add new __nis_docall function prototypes. + * nis/nis_add.c: Change __nis_docall/__nis_docall2 parameters for new + rewritten functions. + * nis/nis_checkpoint.c: Likewise. + * nis/nis_lookup.c: Likewise. + * nis/nis_mkdir.c: Likewise. + * nis/nis_modify.c: Likewise. + * nis/nis_ping.c: Likewise. + * nis/nis_remove.c: Likewise. + * nis/nis_rmdir.c: Likewise. + * nis/nis_server.c: Likewise. + * nis/nis_table.c: Likewise. -1998-03-01 19:05 H.J. Lu (hjl@gnu.org) +1997-05-09 16:09 Miles Bader <miles@gnu.ai.mit.edu> - * 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. + * argp/argp-eexst.c: Include <sysexits.h>. + (argp_err_exit_status): Initialize to EX_USAGE. + * argp/argp.h, argp/argp-help.c: Doc fixes. -1998-03-01 18:52 H.J. Lu (hjl@gnu.org) +1997-05-08 17:15 Miles Bader <miles@gnu.ai.mit.edu> - * 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. + * argp/argp.h [!__error_t_defined] (__error_t_defined): Define. + * argp/argp-help.c (canon_doc_option): Correct ctype tests. -1998-03-01 09:11 Richard Henderson <rth@cygnus.com> +1997-05-08 07:53 H.J. Lu <hjl@gnu.ai.mit.edu> - * 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. + * sysdeps/unix/sysv/linux/poll.c: Save errno. -1998-03-01 08:31 Richard Henderson <rth@cygnus.com> +1997-05-08 16:44 Ulrich Drepper <drepper@cygnus.com> - * shlib-versions: Match alpha*. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex. - * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove. + * sysdeps/unix/sysv/linux/syscalls.list: Add nfsservctl. - * 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. +1997-05-07 20:27 H.J. Lu <hjl@gnu.ai.mit.edu> - * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New. - (R_SPARC*): Match current v9 ABI. + * sys/ttydefaults.h: Removed. - * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long. +1997-05-07 14:10 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - * 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. + * termios/sys/ttydefaults.h: Delete file. + * sysdeps/generic/sys/ttydefaults.h: New file; use OXTABS in + TTYDEF_OFLAG. + * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: New file; use + XTABS in TTYDEF_OFLAG. + * sysdeps/unix/sysv/linux/sys/ttydefaults.h: New file; use XTABS + in TTYDEF_OFLAG (which is correct for all existing Linux ports). -1998-02-27 Ulrich Drepper <drepper@cygnus.com> +1997-05-05 14:22 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - * misc/syslog.c: Change to allow user the interpretation of the - outcome even with syslog having no return value. + * hurd/hurdsig.c (_hurdsig_preemptors): Provide initialization. + * hurd/hurdfault.c (_hurdsig_fault_preemptor): Likewise. -1998-02-05 20:41 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> +1997-05-07 16:31 Ulrich Drepper <drepper@cygnus.com> - * 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). + * locale/categories.def: Change type of _NL_CTYPE_CLASS_NAMES and + _NL_CTYPE_MAP_NAMES field to stringlist. + Change name of _NL_CTYPE_CODESET_NAME to "charmap". + * locale/localeinfo.h (enum value_type): Add stringlist. + * locale/programs/locale.c (show_info): Handle stringlist. -1998-02-27 Ulrich Drepper <drepper@cygnus.com> + * locale/programs/charmap.c (charmap_read): If charmap file is not + using the given name try to find it by looking through all available + charmap files and compare the code set name. + * locale/programs/locale.c (write_charmaps): Also print names of + charset in <code_set_name> fields in the files. - * Makefile (distribute): Add README.libm. + * elf/ldd.bash.in: Correct translatable strings. -1998-02-27 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * posix/TESTS: Add some more tests for character class matching. + * posix/regex.c: Merge with GNU awk version. + (regex_compile): Use ISO C/amend 1 functions for character class + handling. + * posix/regex.h: Merge with GNU awk version. - * time/clocktest.c (main): Correct typo: "--" -> "==". + * posix/getopt.c: Declare as master copies. + * posix/getopt1.c: Likewise. + * posix/getopt.h: Likewise. -1998-02-25 20:53 H.J. Lu <hjl@gnu.org> + * sysdeps/unix/sysv/linux/sys/mount.h: Add definitions for option + value to mount functions. + Patch by a sun <asun@zoology.washington.edu>. - * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus - inline function. - (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New - inline functions. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Check for mismatch + in size for copy relocation. + * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/sparc/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise. + Patch by Roland McGrath <roland@gnu.ai.mit.edu>. - * math/libm.map (__atan2): Added. +1997-05-06 13:25 H.J. Lu <hjl@gnu.ai.mit.edu> -1998-02-27 Ulrich Drepper <drepper@cygnus.com> + * stdio-common/bug3.c (main): Use /tmp/bug3.test for concurrency + with other tests. + * stdio-common/bug4.c (main): Use /tmp/bug4.test for concurrency + with other tests. - * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly. - Reported by Göran Uddeborg <goeran@uddeborg.pp.se>. + * sunrpc/svc_run.c (svc_exit): New, defined. + (svc_run): Test for svc_stop variable. + * sunrpc/rpc/svc.h (svc_exit): New, declared. - * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported - bug. +1997-05-03 08:47 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-02-25 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * math/libm-test.c (test_not_exception): Don't mix the internal + exception flags with the host defined FE_* values. All (indirect) + callers of this and test_exceptions changed to pass the internal + flag values. + (csin_test): Allow invalid exception for +-Inf + i NaN. Fix typos + in test names. + (csinh_test): Allow invalid exception for NaN +- i Inf. - * manual/arith.texi (Old-style number conversion): Correct - typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>. +1997-05-03 09:21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-02-27 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/m68k/fpu/__math.h (__frexp): Don't raise invalid + exception on infinite value. + (__m81_test, __M81_COND_NAN, __M81_COND_INF, __M81_COND_NEG, + __M81_COND_ZERO): New definitions. - * 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. + * sysdeps/m68k/e_pow.c: Raise invalid exception for NaN result. + Use __m81_test. -1998-02-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/m68k/s_ccosh.c: Rewritten. + * sysdeps/m68k/s_csinh.c: Rewritten. + * sysdeps/m68k/s_cexp.c: Rewritten. + * sysdeps/m68k/s_ccoshf.c: Don't define huge_val. + * sysdeps/m68k/s_ccoshl.c: Likewise. + * sysdeps/m68k/s_csinhf.c: Likewise. + * sysdeps/m68k/s_csinhl.c: Likewise. + * sysdeps/m68k/s_cexpf.c: Likewise. + * sysdeps/m68k/s_cexpl.c: Likewise. - * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer - bit. - * sysdeps/libm-ieee754/s_isinfl.c: Likewise. + * sysdeps/m68k/s_ccos.c: New file. + * sysdeps/m68k/s_ccosf.c: New file. + * sysdeps/m68k/s_ccosl.c: New file. + * sysdeps/m68k/s_csin.c: New file. + * sysdeps/m68k/s_csinf.c: New file. + * sysdeps/m68k/s_csinl.c: New file. -1998-02-27 Ulrich Drepper <drepper@cygnus.com> +1997-05-02 19:48 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * libc.map: Add __adjtimex. + * Makerules, manual/Makefile: Remove -$(subdir) suffix from subdir + stamp files to avoid problems with long file names. -1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> +1997-05-03 22:24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r): - Remove memset. + * sysdeps/libm-ieee754/e_acoshl.c: Fix test for x < 1. -1998-02-24 08:10 H.J. Lu <hjl@gnu.org> + * sysdeps/libm-ieee754/e_atan2l.c: Ignore integer bit for Inf and + NaN. Fix test for sign of infinite y. - * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed - to 64. + * sysdeps/libm-ieee754/e_atanhl.c: Fix sign of result. - * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno. + * sysdeps/libm-ieee754/e_sinhl.c: Fix test for sign of argument. - * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at". - * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto. +1997-05-03 01:15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/unix/make-syscalls.sh: Make versioned symbols only - for shared library. + * csu/Makefile (extra-objs) [$(elf)=yes]: Add abi-note.o to get + dependencies. - * libc.map (adjtime, adjtimex): Added for GLIBC_2.1. + * csu/abi-note.S: Replace undefined macro ALIGNARG. + * sysdeps/unix/sysv/linux/abi-tag.h: Don't use assembler comment + character. + +1997-05-03 22:27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use notation + for local label. + +1997-05-05 22:00 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + + * nis/Makefile (libnsl-routines): Add a lot of new file names. + + * nis/nis_names.c (nis_add): Moved from here ... + * nis/nis_add.c: ... to here and fix parameter flags. + * nis/nis_names.c (nis_lookup): Moved from here ... + * nis/nis_lookup.c: ... to here. + * nis/nis_names.c (nis_modify): Moved from here ... + * nis/nis_modify.c: ... to here and fix parameter flags. + * nis/nis_names.c (nis_remove): Moved from here ... + * nis/nis_remove.c: ... to here and fix parameter flags. + * nis/nis_names.c: Removed. + + * nis/nis_subr.c (nis_domain_of): Moved from here ... + * nis/nis_domain_of.c: .. to here. + * nis/nis_subr.c (nis_domain_of_r): Moved from here ... + * nis/nis_domain_of_r.c: .. to here and fix pointer errors. + + * nis/nis_addmember.c: New. + * nis/nis_checkpoint.c: New. + * nis/nis_creategroup.c: New. + * nis/nis_defaults.c: New. + * nis/nis_destroygroup.c: New. + * nis/nis_getservlist.c: New. + * nis/nis_ismember.c: New. + * nis/nis_ping.c: New. + * nis/nis_print_group_entry.c: New. + * nis/nis_removemember.c: New. + * nis/nis_mkdir.c: New. + * nis/nis_rmdir.c: New. + * nis/nis_verifygroup.c: New. + + * nis/rpcsvc/nislib.h: Fix internal function declarations. + + * nis/nis_server (nis_servstate): New. + * nis/nis_server (nis_stats): New. + + * nis/nis_subr.c (nis_leaf_of_r): Fix buffer problems. + + * nis/nis_call.c: Remove debug output. + + * nis/nis_intern.c (__nis_finddirectory): Remove. + +1997-05-03 00:53 Ulrich Drepper <drepper@cygnus.com> + + * posix/TESTS2C.sed: Recognize only digits in first field. This + enables us to use colons in the pattern. + +1997-05-01 20:02 Richard Henderson <rth@tamu.edu> + + * sysdeps/unix/sysv/linux/alpha/brk.S: Don't presume that the kernel + will preserve non-call-saved registers; save and restore a0 across + the system call. + * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise tuck the thread + data onto the new thread's stack. + +1997-05-01 03:13 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/sysv/linux/shmat.c (shmat): For Linux-2.0 and up the + kernel can return negative values. Only fail when return value is + in range in range which is never returned as valid address. + Patch by Bruno Haible <haible@ilog.fr>. + +1997-04-30 17:35 Ulrich Drepper <drepper@cygnus.com> + + * math/libm-test.c: Implement test for exceptions. + Partly due to Andreas Jaeger. + (csin_test): New function. + * sysdeps/libm-i387/s_cexp.S: Raise correct exceptions. + * sysdeps/libm-i387/s_cexpf.S: Likewise. + * sysdeps/libm-i387/s_cexpl.S: Likewise. + * sysdeps/libm-ieee754/s_ccos.c: Likewise. + * sysdeps/libm-ieee754/s_ccosf.c: Likewise. + * sysdeps/libm-ieee754/s_ccosl.c: Likewise. + * sysdeps/libm-ieee754/s_ccosh.c: Likewise. + * sysdeps/libm-ieee754/s_ccoshf.c: Likewise. + * sysdeps/libm-ieee754/s_ccoshl.c: Likewise. + * sysdeps/libm-ieee754/s_cexp.c: Likewise. + * sysdeps/libm-ieee754/s_cexpf.c: Likewise. + * sysdeps/libm-ieee754/s_cexpl.c: Likewise. + * sysdeps/libm-ieee754/s_csinh.c: Likewise. + * sysdeps/libm-ieee754/s_csinhf.c: Likewise. + * sysdeps/libm-ieee754/s_csinhl.c: Likewise. + * sysdeps/libm-ieee754/s_ctanh.c: Likewise. + * sysdeps/libm-ieee754/s_ctanhf.c: Likewise. + * sysdeps/libm-ieee754/s_ctanhl.c: Likewise. + + * sysdeps/libm-ieee754/s_ccosh.c: Correct computation. + * sysdeps/libm-ieee754/s_ccoshf.c: Likewise. + * sysdeps/libm-ieee754/s_ccoshl.c: Likewise. + * sysdeps/libm-ieee754/s_csinh.c: Likewise. + * sysdeps/libm-ieee754/s_csinhf.c: Likewise. + * sysdeps/libm-ieee754/s_csinhl.c: Likewise. + + * sysdeps/libm-ieee754/s_csin.c: Rewrite. + * sysdeps/libm-ieee754/s_csinf.c: Likewise. + * sysdeps/libm-ieee754/s_csinl.c: Likewise. + + * stdlib/random_r.c (__srandom_r): Don't use seed 0. Use 1 in this + case. - * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): - Added adjtimex and old_adjtimex. + * sysdeps/i386/dl-machine.h (elf_machine_load_address): Use notation + for local label. - * 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. + * time/strftime.c (add): Respect `0' padding flag. + Reported by Richard Stallman <rms@gnu.ai.mit.edu>. - * 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. +1997-04-30 15:46 Ulrich Drepper <drepper@cygnus.com> - * 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. + * Makeconfig (start-installed-name): Define here, not in csu/Makefile. + Use in +link macro. + * csu/Makefile (distribute): Add abi-note.S and abi-tag.h. + (start-installed-name): Don't define here. + When ELF generate file named by start-installed-name from start.o + and abi-note.o. + * csu/abi-note.S: New file. + * sysdeps/stub/abi-tag.h: New file. + * sysdpes/unix/sysv/linux/abi-tag.h: New file. + Patches by Roland McGrath <roland@gnu.ai.mit.edu>. - * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct - rusage pointer. +1997-04-30 01:32 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX): - New macros. - (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval, - timex and __adjtimex, respectively. + * manual/stdio.texi: Use @vtable where possible. + Add TeX version of @multitable since texi2dvi cannot handle them + correct in the moment. - * sysdeps/unix/sysv/linux/alpha/adjtime.c: New. + * po/de.po: Update. - * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New. +1997-04-29 21:06 Ulrich Drepper <drepper@cygnus.com> -1998-02-25 08:28 H.J. Lu <hjl@gnu.org> + * Makeconfig: Don't set cross-compiling based on $(BUILD_CC) != $(CC). + * config.make.in: Set cross-compiling from configure result. + * configure.in: Emit definition of `cross_compiling'. + Patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>. - * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy - for FE_DIVBYZERO. Kludge for FE_UNDERFLOW. +1997-04-27 21:50 Philip Blundell <pjb27@cam.ac.uk> -1998-02-26 14:59 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/net/route.h (struct in6_rtmsg): Use + correct `int' sizes for struct members. - * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces. +1997-04-29 19:14 Ulrich Drepper <drepper@cygnus.com> -1998-02-19 11:00 Zack Weinberg <zack@rabi.phys.columbia.edu> + * sysdeps/libm-i387/e_powf.S Generate invalid exception correctly. + * sysdeps/libm-i387/e_pow.S: Likewise. + * sysdeps/libm-i387/e_powl.S: Likewise. - * Makefile.in: Disable built-in rules. +1997-04-23 10:08 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * math/fenv.h: Correct typos. - * sysdeps/i386/fpu/t_exp.c: Move to ... - * sysdeps/libm-i387/t_exp.c: ... here. +1997-04-28 10:04 Richard Henderson <rth@tamu.edu> -1998-02-21 13:51 H.J. Lu <hjl@gnu.org> + * sysdeps/unix/sysv/linux/alpha/clone.S: Save the function argument + in t0 rather than a4 to avoid it being clobbered. - * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed - from __exp2_deltatable. +1997-04-27 23:52 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-02-26 Ulrich Drepper <drepper@cygnus.com> + * manual/summary.awk: Recognize @defmumblex. - * nis/ypclnt.c (yp_master): Check result of strdup. - Patch by Thorsten Kukuk. + * manual/signal.texi (Miscellaneous Signals): Use @deftypevrx for + second description header. -1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> +1997-04-27 23:29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * manual/arith.texi (Floating-Point Classes): Don't indent text, + makeinfo doesn't like that. -1998-02-26 09:00 Ulrich Drepper <drepper@cygnus.com> +1997-04-27 20:52 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * misc/fstab.c: Partly rewritten to use dynamically allocated buffer. - Patch by Joe Keane <jgk@jgk.org>. + * malloc/obstack.h (obstack_specify_allocation_with_arg, + obstack_chunkfun, obstack_freefun): Fix casts. - * misc/fstab.h (struct fstab): Change fs_type member to be const. - * misc/fstab.c: Remove casts in fs_type assignments. +1997-04-27 18:21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * manual/xtract-typefun.awk: Allow names with only one character. - * 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. +1997-04-26 14:16 Ulrich Drepper <drepper@cygnus.com> -1998-02-25 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Use <netinet/ip_icmp.h> + not <netinet/icmp.h>. + Reported by Michael Deutschmann <ldeutsch@mail.netshop.net>. - * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of - the comparison macros. +1997-04-25 12:31 Ulrich Drepper <drepper@cygnus.com> -1998-02-21 20:14 H.J. Lu <hjl@gnu.org> + * csu/Makefile ($(objpfx)initfini.s): Add CPPFLAGS, CFLAGS and -g0 + to command line of compiler. + Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>. - * sysdeps/libm-ieee754/s_log2.c (ln2): Added. - (__log2): Fixed return values. - * sysdeps/libm-ieee754/s_log2f.c: Likewise. + * sysdeps/generic/sigset.h (__sigandset, __sigorset): Fix typos. + Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>. -1998-02-25 Ulrich Drepper <drepper@cygnus.com> + * signal/signal.h (_sys_siglist, sys_siglist): Use _NSIG, not NSIG + in declaration. + Patch by Michael Widenius <monty@tcx.se>. - * math/math.h (isunordered): Rename local variables to ensure - correct code. Reported by HJ Lu. + * time/strptime.c (strptime_internal): Fix %I format specifier + being off by one. + Patch by Mark Kettenis <kettenis@phys.uva.nl>. -1998-02-25 10:34 Ulrich Drepper <drepper@cygnus.com> +1997-04-24 12:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal, - isless, islessequal, islessgreater, isunordered): Fix syntax for - fucompip instruction. - (isless, islessequal): Fix logic. + * stdlib/lcong48_r.c: Include <limits.h>. + * stdlib/seed48_r.c: Likewise. -1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * stdio-common/printf_size.c (printf_size): Correct type of + `units' and make robust against future changes. - * math/libm-test.c (sqrt_test): Add test for sqrt(2). - (comparisons_test): New tests for comparison macros. +1997-04-23 18:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-02-24 15:12 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/libm-ieee754/s_cproj.c: Use isfinite instead of finite. + * sysdeps/libm-ieee754/s_cprojl.c: Likewise. + * sysdeps/libm-ieee754/s_cprojf.c: Likewise. - * 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 - 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. +1997-04-23 18:53 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * manual/arith.texi, manual/math.texi: Use @defmumblex for + additional description headers. + * manual/xtract-typefun.awk: Recognize them. -1998-02-24 09:40 Ulrich Drepper <drepper@cygnus.com> +1997-04-22 15:58 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * elf/ldd.sh.in: Add compatibility for broken old shells. - * elf/ldd.bash.in: Likewise. + * stdio-common/printf_size.c (printf_size): Correct size of array + units. -1998-02-24 08:11 H.J. Lu <hjl@gnu.org> +1997-04-21 07:50 H.J. Lu <hjl@gnu.ai.mit.edu> - * sunrpc/rpc_main.c (open_input): Check pipe return error. + * libgen.h: New file. - * time/clocktest.c (main): Check signal return error. +1997-04-21 16:45 Ulrich Drepper <drepper@cygnus.com> -1998-02-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * stdlib/drand48.c: Cleanup namespace. + * stdlib/drand48_r.c: Cleanup namespace. + * stdlib/erand48.c: Cleanup namespace. + * stdlib/erand48_r.c: Cleanup namespace. + * stdlib/jrand48.c: Cleanup namespace. + * stdlib/jrand48_r.c: Cleanup namespace. + * stdlib/lrand48.c: Cleanup namespace. + * stdlib/lrand48_r.c: Cleanup namespace. + * stdlib/mrand48.c: Cleanup namespace. + * stdlib/mrand48_r.c: Cleanup namespace. + * stdlib/nrand48.c: Cleanup namespace. + * stdlib/nrand48_r.c: Cleanup namespace. + * stdlib/lcong48.c: Cleanup namespace. + * stdlib/lcong48_r.c: Cleanup namespace. + * stdlib/srand48.c: Cleanup namespace. + * stdlib/srand48_r.c: Cleanup namespace. + * stdlib/seed48.c: Cleanup namespace. + * stdlib/seed48_r.c: Cleanup namespace. - * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add - "/" and use do-install-program. Reported by Mark M. Kettenis. - (subdir_install): Likewise. + * stdlib/stdlib.h: Provide new prototypes. -1998-02-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> +1997-04-21 13:25 Ulrich Drepper <drepper@cygnus.com> - * sunrpc/rpc_sample.c: Fix typo. + * manual/arith.texi: Add description for INFINITY, _Imaginary_I, + fpclassify & friends, and complex number operations. + Update various other math functions for ISO C 9X. + * manual/math.texi: Update various entries for ISO C 9X. + Add description for complex number functions. + Add description of rand48 function family. + * manual/string.h: Add description of a64l and l64a. - * 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. + * math/cmathcalls.h: Fix typo. -1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * stdlib/a64l.c: Pretty printing. - * libc.map: Add __monstartup and _mcleanup for profiling support. + * stdlib/seed48_r.c: Also reset `a' and `c' to default values. + * stdlib/srand48_r.c: Likewise. + * stdlib/stdlib.h: Pretty printing. -1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/i386/fpu/__math.h: Fix typo. - * libc.map: Export __getpagesize, for binary compatibility with - 2.0. + * sysdeps/libm-ieee754/s_nearbyintf.c: Correctly name function. + * sysdeps/libm-ieee754/s_nearbyintl.c: Likewise. -1998-02-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-04-19 22:16 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. + * sysdeps/m68k/fpu/e_pow.c: Rewrite handling of integral exponent. -1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-04-18 19:34 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/m68k/fpu/__math.h: Define optimized versions of + isgreater, isgreaterequal, isless, islessequal, islessgreater, and + isunordered. - * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct - kernel_sigaction): Define. - * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct - kernel_sigaction): Define. +1997-04-20 01:28 Richard Henderson <rth@tamu.edu> -1998-02-23 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * rellns-sh: Handle files in the same directory correctly. - * math/libm-test.c: Change epsilons for libm-ieee754. +1997-04-20 11:22 Ulrich Drepper <drepper@cygnus.com> -1998-02-23 12:33 Ulrich Drepper <drepper@cygnus.com> + * csu/initfini.c: Place ALIGN instruction at correct positions. + Patch by Richard Henderson <richard@twiddle.rth.home>. - * sysdeps/i386/__longjmp.S: Fix race condition. - Reported by Bruno Haible <haible@ilog.fr>. +1997-04-19 17:12 Ulrich Drepper <drepper@cygnus.com> -1998-02-20 18:43 Ulrich Drepper <drepper@cygnus.com> + * Make-dist: Don't automatically ignore .c files if the .S or .s file + is ignored. - * 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. + * csu/Makefile (distribute): Add defs.awk. -1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-04-19 15:39 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative - feature tests by positive feature tests. + * sysdeps/stub/shmat.c: Update to XPG4.2 interface. + * sysdeps/stub/shmdt.c: Likewise. + Reported by Thomas Bushnell, n/BSG. -1998-02-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-04-19 13:22 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value. + * manual/stdio.texi: Add description of printf_size and + printf_size_info. Partly based on the documentation by Larry McVoy. -1998-02-20 Ulrich Drepper <drepper@cygnus.com> +1997-04-19 02:21 Ulrich Drepper <drepper@cygnus.com> - * elf/dlvsym.c (dlvsym_doit): More corrections. - Patch by Andreas Jaeger. + * stdio-common/printf_size.c (printf_size): Correct values for + `units'. + Report by Larry McVoy <lm@neteng.engr.sgi.com>. + * stdio-common/tst-printfsz.c: New file. + * stdio-common/Makefile (tests): Add tst-printfsz.c. + (CFLAGS-tst-printfsz.c): Define to prevent warnings about format + strings. -1998-02-19 Ulrich Drepper <drepper@cygnus.com> +1997-04-18 15:48 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition. + * login/utmp.h: Add prototype for updwtmp. + * login/logwtmp.c: Add new function updwtmp which allows to write + a complete record to the wtmp file. + Patch by Miquel van Smoorenburg <miquels@cistron.nl>. -1998-02-19 17:16 Ulrich Drepper <drepper@cygnus.com> +1997-04-17 17:57 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * libc.map: More reordering for GLIBC_2.1 symbols. + * math/Makefile (headers): Add mathbits.h. -1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-04-16 21:20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * libc.map: Move some functions from version GLIBC_2.0 to - GLIBC_2.1, reorder declarations. + * sysdeps/m68k/fpu/__math.h: Add inlined sincos{,l,f}. + * sysdeps/m68k/fpu/s_sincos.c: New file. + * sysdeps/m68k/fpu/s_sincosf.c: New file. + * sysdeps/m68k/fpu/s_sincosl.c: New file. -1998-02-19 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/libm-ieee754/e_scalb.c: Use internal names of the + functions. + * sysdeps/libm-ieee754/e_scalbl.c: Likewise. + + * sysdeps/libm-ieee754/s_ctanh.c: Use isfinite instead of finite. + * sysdeps/libm-ieee754/s_ctanhf.c: Likewise. + * sysdeps/libm-ieee754/s_ctanhl.c: Likewise. + * sysdeps/libm-ieee754/s_ctan.c: Likewise. + * sysdeps/libm-ieee754/s_ctanf.c: Likewise. + * sysdeps/libm-ieee754/s_ctanl.c: Likewise. Fix type of `res'. + +1997-04-18 11:21 Ulrich Drepper <drepper@cygnus.com> + + * shadow/fgetspent_r.c: Set *RESULT to NULL before returning error. + Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>. + +1997-04-18 02:18 Ulrich Drepper <drepper@cygnus.com> + + * csu/initfini.c: Rewrite by Zack Weinberg + <zack@rabi.phys.columbia.edu>. + * csu/Makefile: Add rules for rewrite. + * csu/defs.awk: Helper script to generate derived header. + +1997-04-17 16:55 Ulrich Drepper <drepper@cygnus.com> + + * misc/libgen.h: Change prototype for of basename to XPG variant. + * stdlib/Makefile (routines): Add xpg_basename. + * stdlib/basename.c: New file. + * string/string.h: Don't declare basename function if basename + macro is available. + +1997-04-16 17:33 Miles Bader <miles@gnu.ai.mit.edu> + + * login/utmp_file.c (proc_utmp_eq): Only use ut_id field if valid. + +1997-04-15 12:47 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/m68k/fpu/fclrexcpt.c: New file. + * sysdeps/m68k/fpu/fenvbits.h: New file. + * sysdeps/m68k/fpu/fegetenv.c: New file. + * sysdeps/m68k/fpu/fegetround.c: New file. + * sysdeps/m68k/fpu/fesetenv.c: New file. + * sysdeps/m68k/fpu/fesetround.c: New file. + * sysdeps/m68k/fpu/feupdateenv.c: New file. + * sysdeps/m68k/fpu/fgetexcptflg.c: New file. + * sysdeps/m68k/fpu/fraiseexcpt.c: New file. + * sysdeps/m68k/fpu/fsetexcptflg.c: New file. + * sysdeps/m68k/fpu/ftestexcept.c: New file. + * sysdeps/m68k/fpu/mathbits.h: New file. + + * sysdeps/m68k/fpu/s_remquo.c: New file. + * sysdeps/m68k/fpu/s_remquol.c: New file. + * sysdeps/m68k/fpu/s_remquof.c: New file. + + * sysdeps/libm-ieee754/s_roundl.c: Restore integer bit when + mantissa overflows into exponent. Fix priority of >> vs +. + + * math/libm-test.c (basic_tests): Use the appropriate isnan and + isinf function to test the value of the nan function. + +1997-04-15 13:40 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/libm-i387/s_finite.S: Fix typo. + + * sysdeps/i386/fpu/__math.h: Add optimized versions of isgreater, + isgreaterequal, isless, islessequal, islessgreater, and + isunordered. + +1997-04-15 03:14 Ulrich Drepper <drepper@cygnus.com> + + * wcsmbs/wcsstr.c: Add weak alias wcswcs for Unix98 compliance. + + * math/Makefile (libm-calls): Add s_sincos and s_cproj. + * math/mathcalls.h: Add prototype for sincos. + * sysdeps/i386/fpu/__math.h: Warn about restriction on arguments to + inlined sin and cos function. + Define functions new in ISO C 9X when __USE_ISOC9X is defined. + Add optimized version of finite. + Rewrite sincos function to handle too large arguments. + * sysdeps/libm-i387/s_cos.S: Better code alignment. + * sysdeps/libm-i387/s_cosl.S: Likewise. + * sysdeps/libm-i387/s_sin.S: Likewise. + * sysdeps/libm-i387/s_sinl.S: Likewise. + * sysdeps/libm-i387/s_finite.S: Yet better code. + * sysdeps/libm-i387/s_finitef.S: Likewise. + * sysdeps/libm-i387/s_sincos.S: New file. + * sysdeps/libm-i387/s_sincosf.S: New file. + * sysdeps/libm-i387/s_sincosl.S: New file. + * sysdeps/libm-ieee754/s_sincos.c: New file. + * sysdeps/libm-ieee754/s_sincosf.c: New file. + * sysdeps/libm-ieee754/s_sincosl.c: New file. + + * sysdeps/libm-ieee754/s_ccosh.c: Change to use sincos function. + * sysdeps/libm-ieee754/s_ccoshf.c: Likewise. + * sysdeps/libm-ieee754/s_ccoshl.c: Likewise. + * sysdeps/libm-ieee754/s_cexp.c: Likewise. + * sysdeps/libm-ieee754/s_cexpf.c: Likewise. + * sysdeps/libm-ieee754/s_cexpl.c: Likewise. + * sysdeps/libm-ieee754/s_csinh.c: Likewise. + * sysdeps/libm-ieee754/s_csinhf.c: Likewise. + * sysdeps/libm-ieee754/s_csinhl.c: Likewise. + * sysdeps/libm-ieee754/s_ctan.c: Likewise. + * sysdeps/libm-ieee754/s_ctanf.c: Likewise. + * sysdeps/libm-ieee754/s_ctanl.c: Likewise. + * sysdeps/libm-ieee754/s_ctanh.c: Likewise. + * sysdeps/libm-ieee754/s_ctanhf.c: Likewise. + * sysdeps/libm-ieee754/s_ctanhl.c: Likewise. + + * sysdeps/libm-ieee754/s_cosl.c: Correct check for range. + * sysdeps/libm-ieee754/s_sinl.c: Likewise. + + * sysdeps/libm-ieee754/s_roundtol.c: Fix typos. + * sysdeps/libm-ieee754/s_roundtoll.c: Likewise. + + * nis/Makefile (services): Mention nisplus before compat. + * nis/nis_call.c (__do_niscall): Change type of variable server_len + to prevent warning. + * nis/nss_compat/compat-grp.c (getgrent_next_file_plusgroup): Add + cast to prevent warning. + * nis/nss_compat/compat-pwd.c (getpwent_next_file_plususer): Likewise. + * nis/nss_compat/compat-spwd.c (getspent_next_file_plususer): Likewise. + * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent): Change + type of variable `i' to prevent warning. + * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent): + Likewise. + * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent): + Likewise. + * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent): Likewise. + * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent): + Likewise. - * resolv/gethnamaddr.c (addrsort): Make this function extern. - Patch by zab@thebrain.grumblesmurf.net. + * sysdeps/generic/Dist: Remove old math implementation files. + * sysdeps/generic/mathimpl.h: Removed. + * sysdeps/generic/trig.h: Removed. + * sysdeps/generic/sincos.c: Removed. + * sysdeps/generic/asincos.c: Removed. + * sysdeps/generic/exp__E.c: Removed. + * sysdeps/generic/log__L.c: Removed. + +1997-04-13 17:18 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> + + * malloc/malloc.c (fREe): Small optimization. Before returning, + add fast check whether the heap containing top can go away. + +1997-04-11 16:46 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> + + * malloc/malloc.c (mALLOc, rEALLOc, cALLOc, mEMALIGn): When + failing to allocate a new chunk, also try the main_arena. It may + be that we are only running out of mmapped regions, and other + arenas cannot be enlarged sufficiently. + (new_heap, malloc_extend_top): Handle top_pad more consistently, + i.e. only in new_heap(). + +1997-04-13 21:10 Philip Blundell <pjb27@cl.cam.ac.uk> + + * sysdeps/posix/Makefile: Don't try to build and run mk-stdiolim + if cross-compiling. + + * configure.in: Recognise "...linuxaout" OS names and turn off ELF. + + * configure.in: Add ARM support. + * sysdeps/arm/Implies: New file. + * sysdeps/arm/__longjmp.S: New file. + * sysdeps/arm/bsd-_setjmp: New file. + * sysdeps/arm/bsd-setjmp: New file. + * sysdeps/arm/bytesex.h: New file. + * sysdeps/arm/fpu_control.h: New file. + * sysdeps/arm/jmp_buf.h: New file. + * sysdeps/arm/setjmp.h: New file. + * sysdeps/arm/sysdep.h: New file. + * sysdeps/unix/arm/config.h: New file. + +1997-04-14 04:03 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/libm-ieee754/s_cproj.c: New file. + * sysdeps/libm-ieee754/s_cprojf.c: New file. + * sysdeps/libm-ieee754/s_cprojl.c: New file. + +1997-04-13 01:06 Ulrich Drepper <drepper@cygnus.com> + + * isomac.c: Improve messages. + + * math/Makefile (libm-calls): Add s_nearbyint, s_catan, s_casin, + s_ccos, s_csin, s_ctan, s_ctanh, s_cacos, s_casinh, s_cacosh, + s_catanh, s_csqrt, and s_cpow. + * math/libm-test.c: New functions ccos_test, cacos_test, cacosh_test, + casin_test, casinh_test, catan_test, catanh_test, ctanh_test, + csqrt_test, cpow_test, rint_test. + * math/math.h: Include new header mathbits.h which defines some + more (system dependent) types and some macros. + (isfinite): Use __finite instead of fpclassify. + * sysdeps/generic/mathbits.h: New file. + * sysdeps/i386/fpu/mathbits.h: New file. + * sysdeps/i386/huge_val.h: Don't define INFINITY. + * sysdeps/ieee754/huge_val.h: Likewise. + * sysdeps/m68k/huge_val.h: Likewise. + + * sysdeps/i386/fpu/fenvbits.h: Define FE_NOMASK_ENV. + * sysdeps/i386/fpu/fesetenv.c: Handle FE_NOMASK_ENV. + + * math/complex.h (_Imaginary_I): Define correctly. I misread the + standard first. + + * sysdeps/libm-i387/s_finite.S: Optimized rewrite. + * sysdeps/libm-i387/s_finitef.S: Likewise. + * sysdeps/libm-i387/s_finitel.S: Likewise. + Provided by Joe Keane <jgk@jgk.org>. + + * sysdeps/libm-i387/s_nearbyint.S: New file. + * sysdeps/libm-i387/s_nearbyintf.S: New file. + * sysdeps/libm-i387/s_nearbyintl.S: New file. + * sysdeps/libm-ieee754/s_nearbyint.S: New file. + * sysdeps/libm-ieee754/s_nearbyintf.S: New file. + * sysdeps/libm-ieee754/s_nearbyintl.S: New file. + + * sysdeps/libm-ieee754/s_cacos.c: New file. + * sysdeps/libm-ieee754/s_cacosf.c: New file. + * sysdeps/libm-ieee754/s_cacosl.c: New file. + * sysdeps/libm-ieee754/s_cacosh.c: New file. + * sysdeps/libm-ieee754/s_cacoshf.c: New file. + * sysdeps/libm-ieee754/s_cacoshl.c: New file. + * sysdeps/libm-ieee754/s_casin.c: New file. + * sysdeps/libm-ieee754/s_casinf.c: New file. + * sysdeps/libm-ieee754/s_casinl.c: New file. + * sysdeps/libm-ieee754/s_casinh.c: New file. + * sysdeps/libm-ieee754/s_casinhf.c: New file. + * sysdeps/libm-ieee754/s_casinhl.c: New file. + * sysdeps/libm-ieee754/s_catan.c: New file. + * sysdeps/libm-ieee754/s_catanf.c: New file. + * sysdeps/libm-ieee754/s_catanl.c: New file. + * sysdeps/libm-ieee754/s_catanh.c: New file. + * sysdeps/libm-ieee754/s_catanhf.c: New file. + * sysdeps/libm-ieee754/s_catanhl.c: New file. + * sysdeps/libm-ieee754/s_ccos.c: New file. + * sysdeps/libm-ieee754/s_ccosf.c: New file. + * sysdeps/libm-ieee754/s_ccosl.c: New file. + * sysdeps/libm-ieee754/s_cpow.c: New file. + * sysdeps/libm-ieee754/s_cpowf.c: New file. + * sysdeps/libm-ieee754/s_cpowl.c: New file. + * sysdeps/libm-ieee754/s_csin.c: New file. + * sysdeps/libm-ieee754/s_csinf.c: New file. + * sysdeps/libm-ieee754/s_csinl.c: New file. + * sysdeps/libm-ieee754/s_csqrt.c: New file. + * sysdeps/libm-ieee754/s_csqrtf.c: New file. + * sysdeps/libm-ieee754/s_csqrtl.c: New file. + * sysdeps/libm-ieee754/s_ctan.c: New file. + * sysdeps/libm-ieee754/s_ctanf.c: New file. + * sysdeps/libm-ieee754/s_ctanl.c: New file. + * sysdeps/libm-ieee754/s_ctanh.c: New file. + * sysdeps/libm-ieee754/s_ctanhf.c: New file. + * sysdeps/libm-ieee754/s_ctanhl.c: New file. + + * time/strftime.c (memset_space): Increment pointer. + * time/strptime.c: Interpret year number 00-59 as 2000--2059. + Patches by Karl Heuer <kwzh@gnu.ai.mit.edu>. + +1997-04-11 11:57 Miguel de Icaza <miguel@nuclecu.unam.mx> + + * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove fork, + pipe, syscall. + +1997-04-05 00:57 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although + probably still wrong. + * sysdeps/libm-ieee754/s_remquof.c: Likewise. + * sysdeps/libm-ieee754/s_remquol.c: Likewise. + + * math/libm-test.c (remquo_test): Corrected. + +1997-04-11 00:01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/m68k/fpu/__math.h (__rinttol, rinttol): New inline. + * sysdeps/m68k/fpu/s_rinttol.c: New file. + * sysdeps/m68k/fpu/s_rinttoll.c: New file. + + * math/libm-test.c (remquo_test): Use check_long to test the + quotient. + (cbrt_test): Add epsilons for long double. + +1997-04-10 18:48 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * locale/localeinfo.h: Update declaration of _nl_current. + +1997-04-11 11:27 Ulrich Drepper <drepper@cygnus.com> + + * rellnsh-sh: Use explicitely /bin/pwd to find the external program. + + * math/Makefile (headers): Add fenv.h and fenvbits.h. + (libm-support): Add s_rountol, s_roundtoll, fclrexcpt, fgetexcptflg, + fraiseexcpt, fsetexcptflg, ftestexcept, fegetround, fesetround, + fegetenv, feholdexcpt, fesetenv, feupdateenv. + (libm-calls): Add s_round. + * math/fenv.h: New file. + * math/libm-test.c: Correct tests for s_rinttol and s_rinttoll. + Add roundtol_check and roundtoll_check. + * math/math.h: Pretty printing. + * sysdeps/i386/fpu/fclrexcpt.c: New file. + * sysdeps/i386/fpu/fegetenv.c: New file. + * sysdeps/i386/fpu/fegetround.c: New file. + * sysdeps/i386/fpu/feholdexcpt.c: New file. + * sysdeps/i386/fpu/fenvbits.h: New file. + * sysdeps/i386/fpu/fesetenv.c: New file. + * sysdeps/i386/fpu/fesetround.c: New file. + * sysdeps/i386/fpu/fgetexcptflg.c: New file. + * sysdeps/i386/fpu/fraiseexcpt.c: New file. + * sysdeps/i386/fpu/fsetexcptflg.c: New file. + * sysdeps/i386/fpu/ftestexcept.c: New file. + * sysdeps/stub/fclrexcpt.c: New file. + * sysdeps/stub/fegetenv.c: New file. + * sysdeps/stub/fegetround.c: New file. + * sysdeps/stub/feholdexcpt.c: New file. + * sysdeps/stub/fenvbits.h: New file. + * sysdeps/stub/fesetenv.c: New file. + * sysdeps/stub/fesetround.c: New file. + * sysdeps/stub/fgetexcptflg.c: New file. + * sysdeps/stub/fraiseexcpt.c: New file. + * sysdeps/stub/fsetexcptflg.c: New file. + * sysdeps/stub/ftestexcept.c: New file. + + * sysdeps/libm-i387/s_trunc.S: New file. + * sysdeps/libm-i387/s_truncf.S: New file. + * sysdeps/libm-i387/s_truncl.S: New file. + + * sysdeps/libm-ieee754/s_round.c: New file. + * sysdeps/libm-ieee754/s_roundf.c: New file. + * sysdeps/libm-ieee754/s_roundl.c: New file. + + * sysdeps/libm-ieee754/s_ccosh.c: Rewritten to use fpclassify. + * sysdeps/libm-ieee754/s_ccoshf.c: Likewise. + * sysdeps/libm-ieee754/s_ccoshl.c: Likewise. + * sysdeps/libm-ieee754/s_cexp.c: Likewise. + * sysdeps/libm-ieee754/s_cexpf.c: Likewise. + * sysdeps/libm-ieee754/s_cexpl.c: Likewise. + * sysdeps/libm-ieee754/s_clog.c: Likewise. + * sysdeps/libm-ieee754/s_clogf.c: Likewise. + * sysdeps/libm-ieee754/s_clogl.c: Likewise. + * sysdeps/libm-ieee754/s_csinh.c. Likewise. + * sysdeps/libm-ieee754/s_csinhf.c. Likewise. + * sysdeps/libm-ieee754/s_csinhl.c. Likewise. -1998-02-19 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * sysdeps/libm-ieee754/s_ceill.c: Corrected. The mantissa has only + 63 bits. + * sysdeps/libm-ieee754/s_floorl.c: Likewise. - * nis/libnsl.map: NIS+ support is new in glibc 2.1, add - NIS+ functions with version GLIBC_2.1. + * po/pl.po: Updated. -1998-02-19 14:05 Ulrich Drepper <drepper@cygnus.com> + * string/swab.c: Correctly handle array of odd length. - * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility - with 2.0 binaries. Reported by Thorsten Kukuk. + * sysdeps/generic/memmem.c: Update copyright. + * manual/string.texi: Correct prototype in memmem documentation. -1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-04-10 20:22 Ulrich Drepper <drepper@cygnus.com> - * elf/dlvsym.c (dlvsym_doit): Correct last patch. + * hurd/Makefile (sunrpc-headers): Add clnt.h. + Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>. - * elf/dlsym.c (dlsym_doit): Likewise. +1997-04-09 14:21 Miguel de Icaza <miguel@nuclecu.unam.mx> -1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/sparc/dl-machine.h: Bug fix: I was not loading + the proper value from the GOT. Pass argument block to + init function. - * elf/link.h: Correct typos. + * sysdeps/sparc/elf/start.c: Call atexit (_fini) after calling + _init (). - * iconv/iconv_prog.c: Correct typo. + * sysdeps/sparc/fpu_control.h: Fix the FPU constants. I got them + wrong the first time. -1998-02-18 17:57 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/sparc/setjmp.S: PIC code was clobbering a callee saved + register. - * iconv/Makefile: Add rules to build and install iconv program. - * iconv/iconv_prog.c: New file. + * sysdeps/sparc/udiv_qrnnd.S: Add type @function. -1998-02-18 16:34 H.J. Lu <hjl@gnu.org> + * sysdeps/unix/sysv/linux/sparc/init-first.h: Linux/SPARC specific + SYSDEP_CALL_INIT. - * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for - _dl_lookup_symbol_skip call. - * elf/dlvsym.c (dlvsym_doit): Likewise. + * sysdeps/unix/sysv/linux/sparc/signum.h: Remove definition for + NSIG and duplicated SIGIOT. -1998-02-18 Ulrich Drepper <drepper@cygnus.com> +1997-04-05 00:57 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * libio/iovsscanf.c: Do not include errno.h. + * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although + probably still wrong. + * sysdeps/libm-ieee754/s_remquof.c: Likewise. + * sysdeps/libm-ieee754/s_remquol.c: Likewise. -1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * math/libm-test.c (remquo_test): Corrected. - * 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. +1997-04-03 18:35 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-02-18 10:50 Ulrich Drepper <drepper@cygnus.com> + * Makefile (parent-tests): New target to run the tests to that + they are executed even if some subdir tests have failed. + (tests): Depend on parent-tests instead of running the tests + directly. - * sysdeps/i386/fpu/t_exp.c: New file. +1997-04-03 12:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de> + Clean up name space pollution in libnss_*.so: + * nis/nss_compat/compat-pwd.c, resolv/mapv4v6addr.h, + resolv/nss_dns/dns-host.c: Replace bzero by memset, bcopy by + memcpy and bcmp by memcmp to clean up namespace. + * nss/nss_db/db-XXX.c (internal_setent): Use __dbopen instead of + dbopen. + * nss/nss_db/db-alias.c (internal_setent): Likewise. + * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Likewise. + * db/db/db.c [_LIBC]: Define __dbopen instead of dbopen and make + the latter a weak alias. + * db/db.h: Declare __dbopen. + * db/btree/btree.h [_LIBC]: Prepend __ to all mpool functions. + * db/mpool/mpool.c [_LIBC]: Define all external functions with __ + prefix and make the old names weak aliases. + * db/mpool.h: Declare the new internal names. - * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add - everything with version GLIBC_2.1. - * hesiod/libnss_hesiod.map: Likewise. +1997-04-04 23:57 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * stdio-common/vfscanf.c: Fix scanning of hexadecimal fp number. + * stdio-common/tstscanf.c: Add test case for this. - * manual/arith.texi (Old-style number conversion): This node is a - section, not a subsection. +1997-04-04 17:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * math/libm-test.c: Fix more typos. - * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy. +1997-04-03 17:15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * math/libm-test.c (csinh_test): Fix test names. + (ccosh_test): Likewise. - * elf/rtld.c (dl_main): Make sure that the library search paths - have been initialized before the first call to _dl_map_object. + * sysdeps/libm-ieee754/s_csinh.c: Use sinh function instead of + computing it directly. + * sysdeps/libm-ieee754/s_csinhf.c: Likewise. + * sysdeps/libm-ieee754/s_csinhl.c: Likewise. -1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/libm-ieee754/s_ccosh.c: Use cosh function instead of + computing it directly. + * sysdeps/libm-ieee754/s_ccoshf.c: Likewise. + * sysdeps/libm-ieee754/s_ccoshl.c: Likewise. - * Makerules (common-generated): Add libc_pic.os. + * sysdeps/libm-ieee754/s_cexp.c: Use internal exp function instead + of wrapper. + * sysdeps/libm-ieee754/s_cexpf.c: Likewise. + * sysdeps/libm-ieee754/s_cexpl.c: Likewise. + * sysdeps/m68k/fpu/s_cexp.c: Likewise. Correct handling of + special values. Avoid use of fsincos if all that is needed is the + quadrant. -1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/m68k/fpu/s_ccosh.c: New file. + * sysdeps/m68k/fpu/s_ccoshf.c: New file. + * sysdeps/m68k/fpu/s_ccoshl.c: New file. + * sysdeps/m68k/fpu/s_csinh.c: New file. + * sysdeps/m68k/fpu/s_csinhl.c: New file. + * sysdeps/m68k/fpu/s_csinhf.c: New file. - * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address - of the executable. +1997-04-03 10:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-02-18 10:28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * manual/Makefile (dir-add.texi): Simplify. - * sysdeps/m68k/fpu/t_exp.c: New file. +1997-04-09 01:24 Ulrich Drepper <drepper@cygnus.com> -1998-02-17 Ulrich Drepper <drepper@cygnus.com> + * rellns-sh: Rewrite to work also in presence of symlinks. - * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign - to global errno variable anymore. + * argp/argp-fmtstream.c: Add casts to prevent warnings. + * argp/argp-fmtstream.h: Likewise. + * argp/argp-help.c: Likewise. -1998-02-17 17:41 Ulrich Drepper <drepper@cygnus.com> + * elf/dl-minimal.c: Add definition of calloc. + * elf/version.c: Add casts to prevent warnings. + (_dl_check_map_versions): Use calloc instead of malloc+memset. - * 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. + * locale/setlocale.c (_nl_current): Add element with index LC_ALL. + Reported by Greg McGary <gkm@eng.ascend.com>. - * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly. + * manual/libc.texinfo: Update malloc documentation for new malloc. + * manual/memory.texi: Likewise. + Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>. -1998-02-17 Ulrich Drepper <drepper@cygnus.com> + * math/libm-test.c (check_long): New function. + (check_longlong): New function. + (rinttol_test): New function. + (rinttoll_test): New function. - * math/libm-test.c (modf_test): Add test for 1.5. + * nis/nss_compat/compat-grp.c (in_blacklist): Improve a bit. + * nis/nss_compat/compat-pwd.c: Likewise. + * nis/nss_compat/compat-spwd.c: Likewise. - * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with - 0 to get always an int. + * stdlib/erand48_r.c (erand48_r): Build double value using + ieee754_double union and use random bits in different order to + increase effect of seed. + Reported by David Mosberger-Tang <davidm@AZStarNet.com>. -1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sunrpc/svc_auth.c: Moved to ... + * sysdeps/generic/svc_auth.c: ...here. - * math/libm.map: Move all symbols that are new in glibc 2.1 to - version GLIBC_2.1. + * time/time.h: Pretty print. -1998-02-17 Ulrich Drepper <drepper@cygnus.com> +1997-04-08 07:19 H.J. Lu <hjl@gnu.ai.mit.edu> - * stdio-common/vfscanf.c (inchar): Check c for being EOF before - trying to read another character. + * libio/genops.c (_IO_flush_all_linebuffered): Don't flush on + a read-only stream. -1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-04-09 01:19 Ulrich Drepper <drepper@cygnus.com> - * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert - name to lowercase. + * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration + in correct place. + Patch by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>. - * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert - name to lowercase, add test for big enough buffer. +1997-04-07 15:34 Ulrich Drepper <drepper@cygnus.com> -1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * stdio-common/Makefile (tests): Add tst-ferror. + * stdio-common/tst-ferror.c: New file. Some tests for error + indicator of streams. + * stdio-common/tst-ferror.input: New file. - * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn): - Make compatible with older kernels. Patch by Richard Henderson. + * isomac.c: Let tests not fail because the compiler defines itself + symbols which violate the name space rules. gcc defines symbols + for the architecture which are not protected by an underscore + character. -1998-02-17 15:10 Ulrich Drepper <drepper@cygnus.com> + * math/Makefile (libm-support): Add s_rinttol and s_rinttoll. + (libm-calls): Add s_clog. + * sysdeps/libm-ieee754/s_clog.c: New file. Implementation of + logarithm of complex value. + * sysdeps/libm-ieee754/s_clogf.c: New file. + * sysdeps/libm-ieee754/s_clogl.c: New file. + * math/libm-test.c (clog_test): Compile this function. Fix a few + typos. + (main): Call clog_test. - * elf/dl-load.c (open_path): Use __xstat instead of stat. + * sysdeps/libm-ieee754/s_rinttol.c: New file. Round long double + value to long int. + * sysdeps/libm-i387/s_rinttol.S: New file. + * sysdeps/libm-ieee754/s_rinttoll.c: new file. Round long double + value to long long int. + * sysdeps/libm-i387/s_rinttoll.S: New file. - * localedata/tst-locale.sh: Comment out first test for now. + * sysdeps/libm-ieee754/s_rintl.c: Many corrections. The previous + version was full of errors. -1998-02-14 14:58 H.J. Lu <hjl@gnu.org> + * math/math.h (rinttol): Argument is of type `long double' not + `double'. + (rinttoll): Likewise. + (roundtol): Likewise. + (roundtoll): Likewise. - * 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. +1997-04-06 11:32 H.J. Lu <hjl@gnu.ai.mit.edu> - * libio/iogetline.c (_IO_getline_info): Renamed from - _IO_getline. - (_IO_getline): Just call _IO_getline_info. + * posix/getopt.c (_getopt_initialize): Preserve optind. + (_getopt_internal): Set optind to 1 if optind == 0 before + calling _getopt_initialize (). - * libio/libioP.h (_IO_getline_info): New declaration. +1997-04-05 16:45 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - * libc.map (_IO_getline_info, __write): Added. + * nis/rpcsvc/nislib.h: Change const nis_name to new type + const_nis_name. + * nis/nis_intern.c: Likewise. + * nis/nis_intern.h: Likewise. + * nis/nis_server.c: Likewise. + * nis/nis_subr.c: Likewise. + * nis/nis_table.c: Likewise. + * nis/nis_names.c: Likewise. Fill out ns_request structure in + nis_add(). -1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * nis/nss_compat/compat-pwd.c: Use reentrant netgroup functions. + * nis/nss_compat/compat-spwd.c: Likewise. - * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to - const char* to shut up gcc. +1997-03-27 07:37 H.J. Lu <hjl@gnu.ai.mit.edu> -1998-02-17 11:37 Ulrich Drepper <drepper@cygnus.com> + * libio/fileops.c (_IO_file_overflow): Set error when try to write + on a read-only stream. - * elf/dl-open.c (_dl_open): Assign correct value to new->l_global. - Patch forwarded by Cristian Gafton <gafton@redhat.com>. + * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol. + (ut_time): Define it only if _NO_UT_TIME is not defined. - * 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. +1997-04-06 00:42 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl, - define as long double unconditionally. + * misc/tst-tsearch.c: Include <string.h>. Define _GNU_SOURCE only + if not already defined. -1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-04-05 16:14 Ulrich Drepper <drepper@cygnus.com> - * manual/arith.texi (Old-style number conversion): Correct some - typos. + * sysdeps/unix/sysv/linux/netatalk/at.h: Include <sys/socket.h> to + get definition of sa_family_t for <linux/atalk.h>. + Reported by a sun <asun@zoology.washington.edu>. -1998-02-16 16:28 H.J. Lu <hjl@gnu.org> + * malloc/malloc.c (cALLOc): Little optimization. - * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c): - Restore. +1997-04-05 03:11 Ulrich Drepper <drepper@cygnus.com> - * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted. + * inet/arpa/inet.h: Rewrite. Don't use the ugly BSD way to write + headers but instead add comments and parameter names. + Don't use BSD specific types in prototypes. -1998-02-16 Ulrich Drepper <drepper@cygnus.com> + * manual/nss.texi: Correct a few typos and errors. - * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but - on $(rtld-ldscript). + * sysdeps/libm-ieee754/s_cbrt.c: Complete rewrite based on better + algorithm. + * sysdeps/libm-ieee754/s_cbrtf.c: Likewise. + * sysdeps/libm-ieee754/s_cbrtl.c: Likewise. - * 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>. + * sysdeps/libm-i387/s_cbrt.S: New file. Optimized assembler version + with new algorithm. + * sysdeps/libm-i387/s_cbrtf.S: New file. + * sysdeps/libm-i387/s_cbrtl.S: New file. -1998-02-16 17:33 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/libm-i387/s_frexp.S: Optimize even more. + * sysdeps/libm-i387/s_frexpf.S: Likewise. + * sysdeps/libm-i387/s_frexpl.S: Likewise. - * 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. +1997-04-04 18:55 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - * localedata/Makefile (distribute): Add test files. + * nis/Makefile: Remove CFLAGS-*, add publickey to databases. -1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * nis/nis_call.c: Add MASTER_ONLY and HARD_LOOKUP flags, compile + DES part only with secure RPC add-on. - * 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>. + * nis/nis_names.c (nis_modify): Fix rpc function number. - * localedata/Makefile (tests): Call tst-locale.sh. + * nis/nis_server.c: Fix typos. - * localedata/tst-locale.sh: New file, regression tests for some - localedef problems. + * nis/nss_compat/compat-grp.c: Add NIS+ support. + * nis/nss_compat/compat-pwd.c: Likewise. + * nis/nss_compat/compat-spwd.c: Likewise. -1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * nis/nss_nis/nis-grp.c: Only a return value > 0 from parse_line + signals success. - * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy. + * nis/nss_nis/nis-publickey.c: Changes for compiling with/without + secure RPC. + * nis/nss_nisplus/nisplus-publickey.c: Likewise. + * nis/ypclnt.c: Likewise. + * nis/nis_intern.h: Likewise. - * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL - terminated. + * nis/nss_nisplus/nisplus-alias.c: Correct parser return code. + * nis/nss_nisplus/nisplus-ethers.c: Likewise. + * nis/nss_nisplus/nisplus-hosts.c: Likewise. * nis/nss_nisplus/nisplus-network.c: Likewise. * nis/nss_nisplus/nisplus-proto.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. - 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> + * nis/nss_nisplus/nisplus-grp.c: Rewrite parser for fixing errors + and speedup. + * nis/nss_nisplus/nisplus-netgrp.c: Likewise. - * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const. - Patch by Dean Gaudet <dgaudet@arctic.org>. +1997-04-04 17:03 Ulrich Drepper <drepper@cygnus.com> -1998-02-15 16:53 Ulrich Drepper <drepper@cygnus.com> + * math/libm-test.c (cbrt_test): Add tests for +-inf and NaN + arguments. - * sysdeps/generic/Dist: Add getresgid.c and getresuid.c. +1997-04-03 19:24 H.J. Lu <hjl@gnu.ai.mit.edu> -1998-02-15 10:49 Zack Weinberg <zack@rabi.phys.columbia.edu> + * sysdeps/unix/sysv/linux/sigset.h (__sigisemptyset): Fix a + typo. - * 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. +1997-04-03 16:10 Andreas Jaeger <aj@arthur.pfalz.de> -1998-02-15 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/libm-ieee754/s_nanf.c: + * sysdeps/libm-ieee754/s_nan.c: + * sysdeps/libm-ieee754/s_nanl.c: Include <stdio.h> for + declaration of sprintf. - * stdio-common/vfscanf.c: Correct last change a bit. +1997-04-03 13:37 Ulrich Drepper <drepper@cygnus.com> -1998-02-13 17:39 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/libm-ieee754/s_cexp.c: Fix typo: string_alias -> + strong_alias. + Reported by sun <asun@zoology.washington.edu>. - * elf/Makefile: Don't use --version-script parameter to link ld.so - unconditionally. + * rpc/auth.h: Removed. + * rpc/auth_des.h: Removed. + * sunrpc/rpc/auth.h: Moved to ... + * sysdeps/generic/rpc/auth.h: ...here. + * sunrpc/rpc/auth_des.h: Moved to ... + * sysdeps/generic/rpc/auth_des.h: ...here. -1998-01-02 04:19 Geoff Keating <geoffk@ozemail.com.au> +1997-04-03 04:28 Ulrich Drepper <drepper@cygnus.com> - * 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. + * sysdeps/libm-i387/s_frexp.S: New file. ix87 optimized version. + * sysdeps/libm-i387/s_frexpf.S: New file. + * sysdeps/libm-i387/s_frexpl.S: New file. - * include/gnu/libc-version.h: New file. - * Makefile (headers): Add gnu/libc-version.h. +1997-04-01 10:11 H.J. Lu <hjl@gnu.ai.mit.edu> -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. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] + (sysdep_headers): Remove netinet/icmp.h. -1998-02-11 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-04-02 16:55 Ulrich Drepper <drepper@cygnus.com> - * nss/test-netdb.c: Add some more test cases. + * manual/socket.texi: Document behaviour of inet_ntoa in multi- + threaded programs. + * manual/stdio.texi: Change wording for snprintf description a bit. + Correct typo in example. + * manual/lang.texi: Add documentation of __va_copy. -1998-02-13 11:39 Ulrich Drepper <drepper@cygnus.com> + * Makefile: Add rule to easily generate dir-add.texi file. + * manual/Makefile: Likewise. - * libio/iovsscanf.c: Undo last change modifying errno. + * manual/arith.texi: Add description of lldiv_t, lldiv, and atoll. + Change description of strtoll and strtoull to make clear these + are the preferred names. + Describe `inf', `infinity', `nan', `nan(...)' inputs for strtod + and friends. + Change references to HUGE_VALf and HUGE_VALl to HUGE_VALF and + HUGE_VALL. -1998-02-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-04-02 16:28 Ulrich Drepper <drepper@cygnus.com> - * 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. + * grp/fgetgrent.c: Don't use fixed buffer length. Allow dynamic + adjustment if the underlying function say it is too small. + * pwd/fgetpwent.c: Likewise. + * shadow/fgetspent.c: Likewise. + * shadow/sgetspent.c: Likewise. -1998-02-06 07:48 H.J. Lu <hjl@gnu.org> + * grp/fgetgrent_r.c (__fgetgrent_r): If `parse_result' returns -1 + this means there was not enough room for the gr_mem array. - * db/Makefile ($(inst_libdir)/libndbm.a, - $(inst_libdir)/libndbm.so): New targets. - * db2/Makefile: Likewise. + * nss/nss_files/files-XXX.c: Leave loop and return error if + `parse_result' returns -1. -1998-02-12 08:20 H.J. Lu <hjl@gnu.org> + * nss/nss_files/files-parse.c (parse_line): Return -1 if parsing + of trailing list fails because of low memory. + (parse_list): Rewrite. The logic was completly incorrect since + the checks for overflowing the array were not executed when + needed. - * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak - aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined. + * shadow/sgetspent_r.c: Only a return value > 0 from parse_line + signals success. -1998-02-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * nss/getXXbyYY.c: Make sure NULL is returned if we ran out of memory. + * nss/getXXent.c: Likewise. - * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++ - <streambuf.h>. - * sysdeps/unix/sysv/linux/_G_config.h: Likewise. + * stdlib/strtod.c (SET_MANTISSA): Make sure that at least one bit + is set in mantissa. + * stdlib/strtof.c: Likewise. + * stdlib/strtold.c: Likewise. + * wcsmbs/wcstof.c: Likewise. + * wcsmbs/wcstold.c: Likewise. -1998-02-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/libm-ieee754/s_nan.c: Use strtod if parameter is not empty + string. + * sysdeps/libm-ieee754/s_nanf.c: Likewise. + * sysdeps/libm-ieee754/s_nanl.c: Likewise. - * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with - versioned symbols. +1997-04-02 13:56 Ulrich Drepper <drepper@cygnus.com> -1998-02-13 08:14 H.J. Lu <hjl@gnu.org> + * manual/errno.texi: Add description of strerror_r. - * libc.map (_dl_global_scope, _dl_lookup_symbol_skip, - _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): - Added for libdl.so. +1997-04-01 19:07 H.J. Lu (hjl@gnu.ai.mit.edu) -1998-02-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * manual/errno.texi: Add ENOMEDIUM and EMEDIUMTYPE. - * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as - extra syscall. +1997-04-02 13:55 Ulrich Drepper <drepper@cygnus.com> - * grp/Makefile: Fix logic when checking for thread package. - * pwd/Makefile: Likewise. + * sysdeps/gnu/errlist.awk: The Texinfo file is named errno.texi. -1998-02-11 08:23 H.J. Lu <hjl@gnu.org> +1997-03-30 10:59 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * elf/Makefile (rtld-map): Replaced by libc-map. + * sysdeps/m68k/fpu/s_cexp.c: New file. + * sysdeps/m68k/fpu/s_cexpf.c: New file. + * sysdeps/m68k/fpu/s_cexpl.c: New file. + * sysdeps/m68k/fpu/s_nearbyint.c: New file. + * sysdeps/m68k/fpu/s_nearbyintf.c: New file. + * sysdeps/m68k/fpu/s_nearbyintl.c: New file. + * sysdeps/m68k/fpu/s_trunc.c: New file. + * sysdeps/m68k/fpu/s_truncf.c: New file. + * sysdeps/m68k/fpu/s_truncl.c: New file. - * elf/rtld.map: Removed. + * sysdeps/m68k/fpu/s_modf.c: Rewritten. + * sysdeps/m68k/fpu/s_modff.c: Adapted. + * sysdeps/m68k/fpu/s_modfl.c: Likewise. - * 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. + * sysdeps/m68k/fpu/e_atan2.c: Use __signbit inline. + * sysdeps/m68k/fpu/e_pow.c: Likewise. Write 0.0/0.0 for NaN. Fix + typo in test for `y = 0.5'. -1998-02-10 08:38 H.J. Lu <hjl@gnu.org> + * sysdeps/m68k/fpu/__math.h: Define __trunc, __signbit, + __nearbyint. Remove __modf. - * libio/iofclose.c: Check PIC && DO_VERSIONING instead of - DO_VERSIONING. - * libio/iofdopen.c: Ditto. - * libio/iofopen.c: Ditto. - * libio/oldfileops.c: Ditto. + * sysdeps/m68k/Makefile (CFLAGS-s_copysignl.c) [$(subdir)=math]: + Define for gcc bug workaround. - * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for - version GLIBC_2.1. + * math/libm-test.c (log2_test): Add epsilon for long double to + "log2 (e)" and "log2 (16)". + (modf_test): Fix test name. + (sqrt_test): Add missing FUNC. - * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed - oldsiglist from sysdep_routines and shared-only-routines. +1997-03-29 16:24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * sunrpc/Makefile (CFLAGS-xrquota.c): Fix typo in variable name. - * sysdeps/unix/sysv/linux/oldsiglist.c: Removed. +1997-03-28 20:56 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>. - (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size - directive. + * stdlib/stdlib.h: Declare __clearenv. - * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New. +1997-03-28 18:03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added. - (oldsiglist.c): Removed. + * sysdeps/libm-ieee754/s_asinhl.c: Fix Ulrich Dreppers mangling of + the last change. - * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New. - (_sys_siglist): Use SYS_SIGLIST instead. - (_sys_nerr): Use SYS_NERR instead. +1997-03-28 17:55 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/gnu/errlist.c: Rebuilt. + * configure.in: Call AC_CANONICAL_BUILD before referencing + $build. Fix test for BUILD_CC. -1998-02-11 08:35 H.J. Lu <hjl@gnu.org> +1997-04-02 01:29 Philip Blundell <pjb27@cam.ac.uk> - * elf/Makefile (others-static): New, set to ldconfig. - ($(objpfx)ldconfig): Removed. + * sysdeps/libm-ieee754/s_log2f.c (__log2f): Fix typo. - * Rules (binaries-all, binaries-static, binaries-shared): New. - Create targets for $(binaries-static) and $(binaries-shared). +1997-03-31 18:53 Philip Blundell <pjb27@cam.ac.uk> - * Makeconfig (+link-static, link-libc-static, - link-extra-libs-static): New for static linking. + * sysdeps/unix/sysv/linux/net/route.h: Add new IPv6 definitions. -1998-02-11 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-04-01 14:08 Ulrich Drepper <drepper@cygnus.com> - * manual/memory.texi (Using the Memory Debugger): Fix typo. + * sysdeps/i386/memset.c: Fix typo. + * sysdeps/stub/fchmod.c: Fix typo. + * sysdeps/stub/fchdir.c: Fix typo. + Reported by Fila Kolodny <fila@ibi.com>. - * math/libm-test.c (modf_test): Add one more test for modf. +1997-04-01 00:37 Ulrich Drepper <drepper@cygnus.com> -1998-02-11 14:39 Ulrich Drepper <drepper@happy.cygnus.com> + * math/Makefile: Prevent inlining for test-{float,double,longdouble}. + * math/libm-test.c (initialize): Make strings unique and force + values to memory. - * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs): - Rename from __libc_have_rt_sigs and leave as COMMON data. + * posix/regex.c: Debug debugging code. -1998-02-11 08:30 H.J. Lu <hjl@gnu.org> + * sysdeps/i386/asm-syntax.h: Define `L' macro to emit correct + syntax for local label. + * sysdeps/i386/add_n.S: Use correct local label syntax for the + binary format. + * sysdeps/i386/addmul_1.S: Likewise. + * sysdeps/i386/lshift.S: Likewise. + * sysdeps/i386/memchr.S: Likewise. + * sysdeps/i386/memcmp.S: Likewise. + * sysdeps/i386/mul_1.S: Likewise. + * sysdeps/i386/rshift.S: Likewise. + * sysdeps/i386/stpcpy.S: Likewise. + * sysdeps/i386/stpncpy.S: Likewise. + * sysdeps/i386/strchr.S: Likewise. + * sysdeps/i386/strcspn.S: Likewise. + * sysdeps/i386/strlen.S: Likewise. + * sysdeps/i386/strpbrk.S: Likewise. + * sysdeps/i386/strrchr.S: Likewise. + * sysdeps/i386/strspn.S: Likewise. + * sysdeps/i386/strtok.S: Likewise. + * sysdeps/i386/sub_n.S: Likewise. + * sysdeps/i386/submul_1.S: Likewise. + * sysdeps/i386/i486/strcat.S: Likewise. + * sysdeps/i386/i486/strlen.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/memset.S: Likewise. + * sysdeps/i386/i586/mul_1.S: Likewise. + * sysdeps/i386/i586/rshift.S: Likewise. + * sysdeps/i386/i586/strchr.S: Likewise. + * sysdeps/i386/i586/strlen.S: Likewise. + * sysdeps/i386/i586/sub_n.S: Likewise. + * sysdeps/i386/i586/submul_1.S: Likewise. - * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead - of __finite. + * sysdeps/stub/s_log2l.c: Correct function name. -1998-02-11 19:16 Richard Henderson <rth@cygnus.com> + * time/africa: Updated from ADO tzdata1997e. + * time/antarctica: Likewise. + * time/asia: Likewise. + * time/australasia: Likewise. + * time/europe: Likewise. + * time/northamerica: Likewise. + * time/southamerica: Likewise. + * time/private.h: Updated from ADO tzcode1997d. + * time/scheck.c: Likewise. - * stdlib/strtod.c (STRTOF): Don't call lshift with zero count. +1997-03-31 12:42 Ulrich Drepper <drepper@cygnus.com> -1998-02-11 16:56 Ulrich Drepper <drepper@happy.cygnus.com> + * sysdeps/unix/sysv/linux/powerpc/Dist: Add kernel_*.h files. - * misc/tst-efgcvt.c: Add yet more tests. - * misc/efgcvt_r.c: And correct for these tests again. - Reported by HJ Lu. +1997-03-23 01:41 Geoff Keating <geoffk@ozemail.com.au> - * isomac.c: Move to... - * stdlib/isomac.c: ...here. - * Makefile: Move rules for handling isomac... - * stdlib/Makefile: ...to here. + * sysdeps/powerpc/strlen.s: Rewrote for more speed. + * string/tst-strlen.c: Also test various string alignments. -1998-02-10 23:57 Ulrich Drepper <drepper@happy.cygnus.com> +1997-03-19 06:11 Geoff Keating <geoffk@ozemail.com.au> - * misc/tst-efgcvt.c: Add more tests. - * misc/efgcvt_r.c: Correct result for above new tests. + * sysdeps/unix/sysv/linux/powerpc/statbuf.h: Removed. + * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h: Added. -1998-02-06 17:22 H.J. Lu <hjl@gnu.org> + * sysdeps/powerpc/dl-machine.h (ELF_PREFERRED_ADDRESS): Assume + program base address is 0x01800000 if we can't otherwise tell what + it is. + (elf_machine_rela): Replace `assertion failed' with real error + messages. - * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle - NDIGIT <= 0. + * sysdeps/powerpc/dl-machine.h: More comments, more GNU indenting. + Put in extra parentheses to make explicit the relative precedence + of + and >>. -1998-02-10 16:48 Philip Blundell <pb@nexus.co.uk> + * sysdeps/powerpc/bsd-setjmp.S: Add `__setjmp' symbol so the tests + pass. + * sysdeps/powerpc/clone.S: Rewrite. Probably still doesn't work. - * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc) - if the programs weren't built. + * sysdeps/unix/sysv/linux/powerpc/sys/sysdep.h: Use .section "text" + instead of .text. -1998-02-09 10:12 Philip Blundell <pb@nexus.co.uk> +1997-03-31 02:28 Ulrich Drepper <drepper@cygnus.com> - * 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. + * misc/tst-tsearch.c: Don't write to stderr, write to stdout + instead. -1998-02-5 17:20 Philip Blundell <pb@nexus.co.uk> + * inet/inet_ntoa.c (inet_ntoa): Complete rewrite. Now uses + thread-specific memory in multi-threaded programs. - * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not - _STDIO_H, before including <bits/stdio_lim.h>. + * sysdeps/stub/s_exp2.c: New file. Stub version for exp2 function. + * sysdeps/stub/s_exp2f.c: New file. + * sysdeps/stub/s_exp2l.c: New file. + Reported by a sun <asun@zoology.washington.edu>. - * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added. + * sysdeps/unix/sysv/linux/netatalk/atalk.h: Rename to... + * sysdeps/unix/sysv/linux/netatalk/at.h: ...this. + Suggested by a sun <asun@zoology.washington.edu>. - * io/fts.c (fts_build): Don't try to use d_type if it doesn't - exist. +1997-03-30 14:53 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/arm/sys/ucontext.h: New file. + * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: Add former contents + of <netinet/icmp.h>. + Patch by a sun <asun@zoology.washington.edu>. -1998-02-04 10:11 Philip Blundell <pb@nexus.co.uk> +1997-03-30 03:42 Ulrich Drepper <drepper@cygnus.com> - * manual/stdio.texi (Formatted Output Functions): Explicitly say - that the return value from snprintf() does not count the - terminating NUL as a character. + * math/libm-test.c: Add definition of ctanh_test, clog_test, and + csqrt_test. -1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com> +1997-03-29 17:39 Ulrich Drepper <drepper@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>. + * math/Makefile (routines): Add carg, s_ccosh and s_csinh. -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. + * math/complex.h: Add C++ protection. -1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com> + * math/libm-test.c (cexp_test): Correct a few bugs. + (csinh_test): New function. + (ccosh_test): New function. + (cacos_test): New function. + (cacosh_test): New function. + (casinh_test): New function. + (catanh_test): New function. + (main): Add calls to csinh_test and ccosh_test. - * resolv/nss_dns/dns-host.c: Various code cleanups. + * misc/Makefile (tests): Add tst-tsearch. + Add rule to link tst-tsearch against libm. + * misc/tsearch.c: Rewritten to use Red-Black-Tree algorithm by + Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>. + * misc/tst-tsearch.c: New file. -1998-02-09 08:10 H.J. Lu <hjl@gnu.org> + * stdio-common/bug5.c: Clear LD_LIBRARY_PATH environment variable + before using system. + * stdio-common/test-popen.c: Clear LD_LIBRARY_PATH environment variable + before using popen. - * 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. + * sysdeps/libm-ieee754/s_cexp.c: Correct handling of special cases. + * sysdeps/libm-ieee754/s_cexpf.c: Likewise. + * sysdeps/libm-ieee754/s_cexpl.c: Likewise. -1998-02-08 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/libm-i387/s_cexp.S: New file. ix87 specific implementation + of complex exponential function. + * sysdeps/libm-i387/s_cexpf.S: New file. + * sysdeps/libm-i387/s_cexpl.S: New file. - * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc. - Suggested by debian/sparc porters. + * sysdeps/libm-ieee754/s_ccosh.c: New file. Implementation of + complex cosh function. + * sysdeps/libm-ieee754/s_ccoshf.c: New file. + * sysdeps/libm-ieee754/s_ccoshl.c: New file. + * sysdeps/libm-ieee754/s_csinh.c: New file. Implementation of + complex sinh function. + * sysdeps/libm-ieee754/s_csinhf.c: New file. + * sysdeps/libm-ieee754/s_csinhl.c: New file. -1998-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * math/carg.c: New file. Generic implementatio of carg function. + * math/cargf.c: New file. + * math/cargl.c: New file. - * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests - for ecvt and fcvt. +1997-03-29 16:07 Ulrich Drepper <drepper@cygnus.com> -1998-02-10 16:32 Ulrich Drepper <drepper@happy.cygnus.com> + * sysdeps/posix/system.c: Update copyright. - * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and - __fxstat instead of stat and fstat. Use namespace clean __stpcpy. +1997-03-29 04:18 Ulrich Drepper <drepper@cygnus.com> - * signal/signal.h: Always define sigset_t if __need_sigset_t is - defined even if __USE_POSIX is not defined. + * elf/dl-error.c (_dl_catch_error): Add another argument which is + passed to OPERATE. + (_dl_receive_error): Likewise. + * elf/link.h: Change prototypes for _dl_catch_error and + _dl_receive_error to reflect above change. + * elf/dl-deps.c: Don't use nested function. Call _dl_catch_error + with additional argument with pointer to data. + * elf/dlclose.c: Likewise. + * elf/dlerror.c: Likewise. + * elf/dlopen.c: Likewise. + * elf/dlsym.c: Likewise. + * elf/dlvsym.c: Likewise. + * elf/rtld.c: Likewise. + * nss/nsswitch.c: Likewise. + Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>. -1998-02-02 20:51 Zack Weinberg <zack@rabi.phys.columbia.edu> +1997-03-28 21:14 Miguel de Icaza <miguel@nuclecu.unam.mx> + + * elf/dl-error.c: Manually set up the values of "c", this avoids a + call to memcpy and a zero 152 bytes structure. + + * sysdeps/sparc/dl-machine.h (elf_machine_rela): Test + RTLD_BOOTSTRAP to avoid performing relative relocs on a second + pass. - * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch - to support obsolete tty major numbers correctly. + * sysdeps/sparc/udiv_qrnnd.S: Make the code PIC aware. + + * sysdeps/unix/sysv/linux/sparc/Dist: Add kernel_stat.h and + kernel_sigaction.h -1998-02-02 08:47 H.J. Lu <hjl@gnu.org> + Add Linux/SPARC specific definitions. + * sysdeps/unix/sysv/linux/sparc/fcntlbits.h: New file. + * sysdeps/unix/sysv/linux/sparc/ioctls.h: New file. + * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: New file. + * sysdeps/unix/sysv/linux/sparc/kernel_stat.h: New file. + * sysdeps/unix/sysv/linux/sparc/sigaction.h: New file. + * sysdeps/unix/sysv/linux/sparc/signum.h: New file. + * sysdeps/unix/sysv/linux/sparc/termbits.h: New file. - * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target - directory first and ignore install error. +1997-03-28 13:06 Philip Blundell <pjb27@cam.ac.uk> - * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract - 128 from ptyno and fix a typo for the BSD style pty. + * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Use + __getservbyname_r() not getservbyname(). + (BROKEN_LIKE_POSIX): Define to 1 so we get strict POSIX behaviour. -1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-03-27 02:28 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all - syscalls.list's. + * gmon/gmon.c (monstartup): Mark all messages. + (write_call_graph): Rewrite to use larger I/O vector for writev + call to reduce syscall overhead. + (write_bb_counts): Simplify writev handling. -1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * inet/rexec.c: Make string parameters `const'. + * resolv/netdb.h: Add prototypes for rcmd, rexec, ruserok, and + rresvport. - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add - getresuid and getresgid. + * math/Makefile: Don't define CFLAGS-* macros to prevent inlining + in libm-test. + * math/libm-test.c (this_does_nothing): Remove functions. It's + notuseful on any platform but ix86. + (inverse_func_pair_test): Don't use this_does_nothing. Use + memory reference. + (identities1_test): Likewise. + (identities2_test): Likewise. + (identities3_test): Likewise. + (basic_test): Likewise. + Patch by Andreas Schwab. + (BUILD_COMPLEX): New macro. Create complex number from real and + imaginary parts. This works around bugs/inefficiencies in current + gcc. + (cexp_test): Use BUILD_COMPLEX. Add more tests. - * sysdeps/unix/sysv/linux/getresuid.c: New file. - * sysdeps/unix/sysv/linux/getresgid.c: New file. + * nss/nsswitch.c: Fix typo. - * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add - s_getres[ug]id. + * posix/glob.h: Add declaration for glob_pattern_p. + * posix/glob.c: Rename glob_pattern_p to __glob_pattern_p and + make glob_pattern_p a weak alias. This function is used in other + packages (e.g. bash). - * 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. + * signal/Makefile (routines): Add sigisempty, sigandset, and + sigorset. + * signal/signal.h: Add prototypes for sigisempty, sigandset, and + sigorset. + * signal/sigisempty.c: New file. + * signal/sigandset.c: New file. + * signal/sigorset.c: New file. + * sysdeps/generic/sigset.h: Define __sigisemptyset, __sigandset, + and __sigorset. + * sysdeps/unix/sysv/linux/sigset.h: Likewise. -1998-02-02 08:11 H.J. Lu <hjl@gnu.org> + * stdlib/strtod.c: Handle `n-char-sequence' in NaN parsing. It + determines the bits in the mantissa part of the NaN. + * stdlib/strtof.c: Define SET_MANTISSA for float type. + * wcsmbs/wcstof.c: Define SET_MANTISSA for float type. + * stdlib/strtold.c: Define SET_MANTISSA for long double type. + * wcsmbs/wcstold.c: Define SET_MANTISSA for long double type. - * nscd/grpcache.c: Include <stdlib.h>. + * sysdeps/libm-ieee754/s_cexp.c: Use explicit assignment to + complex number components. Some more corrects for special cases. + * sysdeps/libm-ieee754/s_cexpf.c: Likewise. + * sysdeps/libm-ieee754/s_cexpl.c: Likewise. -1998-02-01 16:01 H.J. Lu <hjl@gnu.org> + * sysdeps/sparc/elf/start.S: Remove as per request of Miguel de Icaza. - * stdlib/atoll.c: Fix comments. + * sysdeps/unix/sysv/linux/netinet/icmp.h: Remove since we have + ip_icmp.h. Reported by HJ Lu. - * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr. - * sysdeps/posix/ttyname_r.c: Ditto. +1997-03-25 03:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1998-02-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/m68k/Makefile (CFLAGS-rtld.c): Add -Wno-unused. - * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or - __USE_MISC, independent of __USE_UNIX98. + * sysdeps/m68k/dl-machine.h (elf_machine_rela): Rewritten as for + i386. + (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p, + ELF_MACHINE_RELOC_NOPLT): Define. -1998-02-10 19:18 Ulrich Drepper <drepper@happy.cygnus.com> +1997-03-25 03:48 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs): - Rename from __libc_have_rt_sigs and leave as COMMON data. + * grp/grp.h: Include <stddef.h> only once. + +1997-03-25 09:38 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Don't define. + * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise. -1998-02-04 11:58 Richard Henderson <rth@twiddle.rth.home> + * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Use either OXTABS or + TAB3, if one of them is defined. + +1997-03-26 04:53 Ulrich Drepper <drepper@cygnus.com> + + * posix/glob.c (next_brace_sub): Decrement depth counter when '}' + is found. + Patch by Dennis Henriksen <opus@flamingo.osrl.dk>. + +1997-03-25 16:25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + + * sunrpc/Makefile: Comment gccwarn out. + * sunrpc/auth_none.c: Fix prototypes and parameters for compiling + with enabled warnings. + * sunrpc/auth_unix.c: Likewise. + * sunrpc/authuxprot.c: Likewise. + * sunrpc/bindrsvprt.c: Likewise. + * sunrpc/clnt_gen.c: Likewise. + * sunrpc/clnt_perr.c: Likewise. + * sunrpc/clnt_raw.c: Likewise. + * sunrpc/clnt_simp.c: Likewise. + * sunrpc/clnt_tcp.c: Likewise. + * sunrpc/clnt_udp.c: Likewise. + * sunrpc/get_myaddr.c: Likewise. + * sunrpc/getrpcport.c: Likewise. + * sunrpc/pm_getmaps.c: Likewise. + * sunrpc/pm_getport.c: Likewise. + * sunrpc/pmap_clnt.c: Likewise. + * sunrpc/pmap_prot.c: Likewise. + * sunrpc/pmap_prot2.c: Likewise. + * sunrpc/pmap_rmt.c: Likewise. + * sunrpc/rpc/auth.h: Likewise. + * sunrpc/rpc/clnt.h: Likewise. + * sunrpc/rpc/pmap_clnt.h: Likewise. + * sunrpc/rpc/svc.h: Likewise. + * sunrpc/rpc/svc_auth.h: Likewise. + * sunrpc/rpc/types.h: Likewise. + * sunrpc/rpc/xdr.h: Likewise. + * sunrpc/rpc_clntout.c: Likewise. + * sunrpc/rpc_cmsg.c: Likewise. + * sunrpc/rpc_dtable.c: Likewise. + * sunrpc/rpc_prot.c: Likewise. + * sunrpc/svc.c: Likewise. + * sunrpc/svc_auth.c: Likewise. + * sunrpc/svc_authux.c: Likewise. + * sunrpc/svc_raw.c: Likewise. + * sunrpc/svc_run.c: Likewise. + * sunrpc/svc_simple.c: Likewise. + * sunrpc/svc_tcp.c: Likewise. + * sunrpc/svc_udp.c: Likewise. + * sunrpc/xdr.c: Likewise. + * sunrpc/xdr_array.c: Likewise. + * sunrpc/xdr_mem.c: Likewise. + * sunrpc/xdr_rec.c: Likewise. + * sunrpc/xdr_ref.c: Likewise. + * sunrpc/xdr_stdio.c: Likewise. - * Makeconfig (CFLAGS-.os): Kill -fno-common. - * Makerules (libc.so): Prelink libc_pic.a, allocating commons. +1997-03-25 13:39 Ulrich Drepper <drepper@cygnus.com> - * 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. + * math/libm-test.c (log2_test): Compile this function and call it. + (exp2_test): Likewise, but check whether function really exists + before testing. - * 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. + * math/Makefile (libm-calls): Add s_log2 and s_exp2. -1998-02-04 16:41 Zack Weinberg <zack@rabi.phys.columbia.edu> +1997-03-25 04:50 Ulrich Drepper <drepper@cygnus.com> - * sunrpc/Makefile: Correct dependencies of rpcgen. + Implement exp2 function. + * sysdeps/libm-i387/s_exp2.S: New file. + * sysdeps/libm-i387/s_exp2f.S: New file. + * sysdeps/libm-i387/s_exp2l.S: New file. -1998-02-10 03:00 Ulrich Drepper <drepper@happy.cygnus.com> + Implement log2 function. + * sysdeps/libm-i387/s_log2.S: New file. + * sysdeps/libm-i387/s_log2f.S: New file. + * sysdeps/libm-i387/s_log2l.S: New file. + * sysdeps/libm-ieee754/s_log2.c: New file. + * sysdeps/libm-ieee754/s_log2f.c: New file. + * sysdeps/stub/s_log2.c: New file. Stub version. - * nscd/Makefile: Fix test for available linuxthreads add-on. - Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>. +1997-03-24 19:58 Richard Henderson <rth@tamu.edu> -1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * stdlib/tst-strtol.c (tests): Correct 64-bit entry. - * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown. + * sysdeps/alpha/bsd-_setjmp.S: Alias _setjmp to __setjmp for + change to tst-setjmp.c. -1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/alpha/dl-machine.h: Mirror Roland's recent changes. + * sysdeps/i386/dl-machine.h: Correct noexec_p comment. + * sysdeps/sparc/dl-machine.h: Likewise. - * sysdeps/gnu/Makefile: Respect with-cvs variable. + * sysdeps/libm-ieee754/s_remquo.c: Rename {hp,lp} -> {hy,ly}. + Add missing qs variable. + * sysdeps/libm-ieee754/s_remquof.c: Likewise. - * manual/errno.texi (Error Messages): Correct description of - strerror_r. Pointed out by jonas@bagge.se. +1997-03-25 02:15 Ulrich Drepper <drepper@cygnus.com> -1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * gmon/gmon.c: Optimize a bit by using more sets of records to + write in a single writev call. - * manual/socket.texi (Host Address Functions): Clarify description - of inet_network. + * math/math.h: Add definitions of macros __MATHCALLX and __MATHDECLX. + * math/mathcalls.h: Use __MATHCALLX for fabs, infnan, copysign, + nan, isnan, nextafter, trunc, __fpclassify and signbit to mark as + `const'. + Use __MATHDECLX for isinf and finite. -1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/generic/setenv.c [_LIBC]: Define __clearenv and make + clearenv a weak alias. - * sysdeps/unix/grantpt.c (argv): Move const to toplevel. - (grantpt): Delete superfluous cast. + Implement complex exponential function. + * sysdeps/libm-ieee754/s_cexp.c: New file. + * sysdeps/libm-ieee754/s_cexpf.c: New file. + * sysdeps/libm-ieee754/s_cexpl.c: New file. -1998-02-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/libm-ieee754/s_nan.c: Define function as __nan and make + nan a weak alias. + * sysdeps/libm-ieee754/s_nanf.c: Likewise for nanf. + * sysdeps/libm-ieee754/s_nanl.c: Likewise for nanl. - * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on - elf/ldso_install instead of elf/subdir_install. - (elf/ldso_install): New target. + * sysdeps/unix/sysv/linux/iovec.h: Don't use kernel header because + of type clashes. Add all definitions here. - * elf/Makefile (ldso_install): New target. + * sysdeps/unix/sysv/linux/shmat.c: Likewise. Correct types according + to XPG4.2. + * sysdeps/unix/sysv/linux/shmdt.c: Likewise. + * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. -1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysvipc/sys/shm.h (shmat, shmdt): Correct types. - * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change - of 1998-01-06. + * sysdeps/unix/sysv/linux/sys/kd.h: Define _LINUX_TYPES_H to avoid + use of kernel types. -1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-03-25 00:00 Ulrich Drepper <drepper@cygnus.com> - * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for - constant expressions. + * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_timestamp): + Correct typos. Reported by a sun <asun@zoology.washington.edu>. -1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-03-20 21:58 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. + * sysdeps/libm-ieee754/s_asinhl.c: Fix sign of result. -1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-03-20 16:20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * string/tst-inlcall.c: Fix format string. + * sysdeps/libm-ieee754/e_atan2l.c: Fix typo. -1998-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-03-20 14:23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * inet/netinet/in.h: Rename second parameter of bindresvport to - avoid buggy gcc warning. [PR libc/412] + * sysdeps/m68k/fpu/__math.h (__logb, logb): Don't define. + * sysdeps/m68k/fpu/s_logb.c: Removed. + * sysdeps/m68k/fpu/s_logbf.c: Removed. + * sysdeps/m68k/fpu/s_logbl.c: Removed. -1998-02-04 18:04 Richard Henderson <rth@cygnus.com> + * sysdeps/m68k/fpu/__math.h (__ieee754_atan2, __ieee754_pow): + Don't define here. + * sysdeps/m68k/fpu/e_atan2.c: Rewritten. + * sysdeps/m68k/fpu/e_pow.c: Likewise. + * sysdeps/m68k/fpu/e_atan2f.c: Based on e_atan2.c. + * sysdeps/m68k/fpu/e_atan2l.c: Likewise. + * sysdeps/m68k/fpu/e_powf.c: Based on e_pow.c. + * sysdeps/m68k/fpu/e_powl.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF. - * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos. + * sysdeps/m68k/fpu/s_log2.c: New file. + * sysdeps/m68k/fpu/s_log2f.c: New file. + * sysdeps/m68k/fpu/s_log2l.c: New file. + * sysdeps/m68k/fpu/s_exp2.c: New file. + * sysdeps/m68k/fpu/s_exp2f.c: New file. + * sysdeps/m68k/fpu/s_exp2l.c: New file. - * 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. +1997-03-20 14:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * include/rpcsvc/nis.h: New. Bounce to nis/rpcsvc. - * include/rpcsvc/nis_tags.h: Likewise. - * include/rpcsvc/nislib.h: Likewise. + * Makeconfig (all): Make sure this is always the default goal. -1998-02-02 01:12 Ulrich Drepper <drepper@cygnus.com> +1997-03-20 11:09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * libc.map: Add _h_errno. - * inet/herrno.c: Make _h_errno weak alias. + * math/libm-test.c: Increase epsilon in many places. Fix many + typos. Allow optinal argument also for short option. - * login/Makefile (distribute): Add pty-internal.h. +1997-03-20 11:09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * nscd/Makefile (distribute): Add all the files missing. + * math/Makefile ($(objpfx)$(tests)): Link against libm. - * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs - are available. +1997-03-24 23:14 Ulrich Drepper <drepper@cygnus.com> - * stdio-common/tstscanf.c: Rewrite a bit to continue after errors - and report status at the end. + * sysdeps/libm-ieee754/s_fpclassifyl.c: Correct recognition of + denormalized numbers. - * sysdeps/unix/sysv/linux/syscalls.list: Add lchown. + * sysdeps/i386/huge_val.h: Remove references to byte order macros. + Don't include <endian.h>. - * 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. +1997-03-19 15:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/m68k/huge_val.h: Remove references to byte order macros. + Don't include <endian.h>. -1998-01-03 20:47 Mark Kettenis <kettenis@phys.uva.nl> +1997-03-24 23:09 Ulrich Drepper <drepper@cygnus.com> - * configure.in: Fix --enable-add-ons code. + * inet/rcmd.c (iruserok): Use access instead of euidaccess. -1998-02-01 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-03-15 18:08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch - by Rudolf Leitgeb <leitgeb@leland.stanford.edu>. - [PR libc/441] + * math/cmathcalls.h: Remove whitespace before function name in use + of __MATHDECL macro, to make it compilable with a traditional + preprocessor. - * 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] +1997-03-24 15:31 Ulrich Drepper <drepper@cygnus.com> -1998-02-01 21:18 Ulrich Drepper <drepper@cygnus.com> + * configure.in: Use AC_PROG_CC instead of AC_PROG_TOOL to find + compiler. - * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so - that it never is EINTR (which is tested for in _IO_vfscanf). +1997-03-24 02:34 Ulrich Drepper <drepper@cygnus.com> - * Makefile.in: Call sub-make with CVSOPTS. + * sysdeps/libm-ieee754/s_finitel.c (__finitel): Shift return value + by 31 positions to get 0/1 result. + Patch by Joe Keane <jgk@jgk.org>. - * elf/Makefile (distribute): Add dl-procinfo.h. +1997-03-23 12:15 H.J. Lu <hjl@gnu.ai.mit.edu> - * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S. + * posix/getopt.c (__getopt_nonoption_flags): Make it extern + to prevent from ld linking in getopt.o even if there is another + incompatible one. -1998-02-01 15:54 Ulrich Drepper <drepper@cygnus.com> + * posix/getopt_init.c (__getopt_nonoption_flags): Remove extern. - * version.h (VERSION): Bump to 2.0.92. +1997-03-23 23:30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> -1998-01-31 Phil Blundell <philb@gnu.org> + * nis/nis_call.c (__do_niscall): Print message if cold start file + does not exist. + * nis/nis_file.c: Don't print error messages. + * nis/nis_local_names.c (nis_local_host): Fix pointer errors. + * nis/rpcsvc/ypclnt.h: Fix copyright and prototypes. + * nis/rpcsvc/nis.h: Likewise. + * nis/ypclnt.c: Fix prototypes. - * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak - alias for __new_sys_siglist. +1997-03-24 01:36 Ulrich Drepper <drepper@cygnus.com> -1998-02-01 00:53 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/libm-i387/e_scalb.S: Pop additional result before + returning. + * sysdeps/libm-i387/e_scalbf.S: Likewise. + * sysdeps/libm-i387/e_scalbl.S: Likewise. + Reported by Andreas Jaeger <aj@arthur.pfalz.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. + * elf/rtld.c (dl_main): Set main_map->l_opencount to 1 also if + dynamic linker was called implicitly by the kernel. + Reported by Eric Youngdale <eric@andante.jic.com>. -1998-01-31 23:46 Ulrich Drepper <drepper@cygnus.com> + * math/Makefile (CFLAGS-test-float.c, CFLAGS-test-double.c, + CFLAGS-test-longdouble.c): New variables. Set to -fno-inline to + prevent clever optimizations which corrupt the tests. - * nss/getXXbyYY_r.c: If NSS function reports too small buffer return - with error to allow user intervention. - * nss/getXXent_r.c: Likewise. +1997-03-23 21:33 Andreas Jaeger <aj@arthur.pfalz.de> -1998-01-31 21:18 Ulrich Drepper <drepper@cygnus.com> + * math/libm-test.c (scalb_test): New function. + (sqrt_test): New function. + (scalbn_test): New function. + (ilogb_test): New function. + (main): Added calls for new test functions. + (ldexp_test): Add another test for ldexp(x,0). - * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after - AT_PLATFORM string. Pretty print AT_BASE info. +1997-03-23 12:35 Andreas Jaeger <aj@arthur.pfalz.de> - * 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. + * math/libm-test.c (remquo_test): Correct messages so that they + match the tests. + (copysign_test): Likewise. -1998-01-31 20:52 Ulrich Drepper <drepper@cygnus.com> +1997-03-23 16:28 Ulrich Drepper <drepper@cygnus.com> - * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication. + * stdio-common/Makefile (routines): Add printf_size. - * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach - thread and not pthread_detach. + * stdio-common/printf.h: Add declarations for printf_size and + printf_size_info. - * nscd/nscd.c: Rewrite to use argp instead of getopt. + * stdio-common/printf-parse.h (__printf_arginfo_table): Correct + declaration. + (parse_one_spec): Test whether __printf_function_table is not NULL + before using registered handlers and don't test + __printf_arginfo_table. Update nargs also when handler is + registered. -1998-01-31 Phil Blundell <philb@gnu.org> + * stdio-common/vfprintf.c (vfprintf): Count number of specifiers + processed in fast loop. - * configure.in: Add --without-cvs option to suppress automatic - checkin of regenerated files. - * config.make.in: Likewise. - * Makefile: Respect with-cvs setting. - * Makerules: Likewise. + * stdio-common/printf_size: New file. - * configure.in: Allow the standalone ARM port to be configured. +1997-03-23 02:11 Ulrich Drepper <drepper@cygnus.com> -1998-01-31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * time/sys/time.h: Make values ITIMER_* also available as macros. - * grp/getgrgid_r.c: Define USE_NSCD. - * grp/getgrnam_r.c: Likewise. - * pwd/getpwuid_r.c: Likewise. - * pwd/getpwnam_r.c: Likewise. + * elf/dl-support.c (_dl_sysdep_read_whole_file): Don't call + __fstat but instead __fxstat directly to avoid dependency on + libc.a when inline failed. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): Likewise. - * sysdeps/unix/inet/Subdirs: Add nscd subdir. + * math/Makefile (libm-routines): Add s_remquo. + * sysdeps/libm-i387/s_remquo.S: New file. + * sysdeps/libm-i387/s_remquof.S: New file. + * sysdeps/libm-i387/s_remquol.S: New file. + * sysdeps/libm-ieee754/s_remquo.c: New file. + * sysdeps/libm-ieee754/s_remquof.c: New file. + * sysdeps/libm-ieee754/s_remquol.c: New file. - * nss/getXXbyYY_r.c: Try at first nscd. + * math/libm-test.c (remquo_test): New function. - * 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. + * sysdeps/libm-ieee754/s_rintl.c: Handle implicit leading one + correctly. - * 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. +1997-03-22 14:06 Ulrich Drepper <drepper@cygnus.com> - * nscd/nscd.conf: New, example for a configuration file. - * nscd/nscd.init: New, example for a startup script. + * math/Makefile (libm-calls): Add s_nan. + * sysdeps/libm-ieee754/s_nan.c: New file. Implement `nan' function. + * sysdeps/libm-ieee754/s_nanf.c: New file. Implement `nanf' function. + * sysdeps/libm-ieee754/s_nanl.c: New file. Implement `nanl' function. - * 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. + * math/libm-test.c (basic_tests): Add tests for `nan' function. -1998-01-31 11:44 Ulrich Drepper <drepper@cygnus.com> + * math/libm-test.c (copysign_test): New function. + (main): Call copysign_test. - * intl/Makefile: Use CVSOPTS in cvs invocation. - * po/Makefile: Likewise. - * posix/Makefile: Likewise. - * stdlib/Makefile: Likewise. +1997-03-22 06:28 Ulrich Drepper <drepper@cygnus.com> -1998-01-31 11:18 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/libm-ieee754/s_nextafter.c: Return y if x == y. + * sysdeps/libm-ieee754/s_nextafterf.c: Likewise. + * sysdeps/libm-ieee754/s_nextafterl.c: Likewise. + * sysdeps/libm-i387/s_nextafterl.c: Likewise. - * 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. + * math/libm-test.c (fdim_test, fmin_test, fmax_test, nextafter_test): + New functions. Test these functions. + (main): Call above new functions. -1998-01-31 00:21 Ulrich Drepper <drepper@cygnus.com> +1997-03-22 04:53 Ulrich Drepper <drepper@cygnus.com> - * posix/regex.c: Add some more cleanups by Akim Demaille. + * Net release 2.0.2. -1998-01-30 23:55 Ulrich Drepper <drepper@cygnus.com> +1997-03-22 04:37 Ulrich Drepper <drepper@cygnus.com> - * 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. + * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Define as alias for + XTABS. + * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise. + * termios/sys/ttydefaults.h: Partly revert patch by Andreas Schwab + of Sun Dec 15 16:33:44 1996. + Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>. -1998-01-30 23:37 Ulrich Drepper <drepper@cygnus.com> +1997-03-21 13:41 Roland McGrath <roland@baalperazim.frob.com> - * Makefile.in: Add comment about CVSOPTS Makefile variable. - * Makerules: Use CVSOPTS in cvs invocation. - * Makefile: Likewise. - * MakeTAGS: Likewise. - * Make-dist: Likewise. + * sysdeps/sparc/dl-machine.h (elf_machine_rel): Rewritten as for i386. + Check here for non-SHN_UNDEF STB_LOCAL symbols don't do any lookup or + consult their values. + (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p, + ELF_MACHINE_RELOC_NOPLT): New macros. -1998-01-30 22:37 Ulrich Drepper <drepper@cygnus.com> + * elf/rtld.c (dl_main): Pass ELF_MACHINE_RELOC_NOPLT to + _dl_lookup_symbol in place of DL_LOOKUP_NOPLT. + * sysdeps/i386/dl-machine.h (ELF_MACHINE_RELOC_NOPLT): New macro. - * sysdeps/generic/memmem.c: Correct last change. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Rewritten to do the + symbol lookup before checking reloc type except for R_386_RELATIVE. + (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p): New macros. -1998-01-30 22:12 Ulrich Drepper <drepper@cygnus.com> + * elf/dl-reloc.c (RESOLVE): Remove STB_LOCAL check; let it be + per-machine since it supposedly can't happen on i386. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define - CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1. + * elf/dl-lookup.c (do_lookup): Change arg FLAGS to RELOC_TYPE. Use + elf_machine_lookup_{noexec,noplt}_p macros on it. Remove gratuitous + indirection from REF arg; change callers. + (_dl_lookup_symbol, _dl_lookup_versioned_symbol): Change arg name. + (_dl_lookup_symbol_skip, _dl_lookup_versioned_symbol_skip): Remove + FLAGS arg altogether. + * elf/dlsym.c: Remove argument of FLAGS parameter. + * elf/dlvsym.c: Likewise. + * elf/link.h: Update decls. -1998-01-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> +1997-03-21 20:55 Ulrich Drepper <drepper@cygnus.com> - * nis/ypclnt.c: Try at first to use the binding file from ypbind - before using RPC. + * Makefile (distribute): Add BUGS. -1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/generic/machine-gmon.h: Update copyright. - * manual/memory.texi (Heap Consistency Checking): mcheck is - declared in <mcheck.h>. - Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438] + * sysdeps/i386/Makefile [$(subdir)=gmon] (sysdep_routines): Add + i386-mcount. + * sysdeps/i386/dl-machine.h [PROF] (_dl_runtime_resolve): Don't + use regparam mechanism for call of `fixup' call. + * sysdeps/i386/Dist: New file. + * sysdeps/i386/i386-mcount.S: New file. `mcount' entry point. + * sysdeps/i386/machine-gmon.h: New file. i386 specific version + of gmon definitions. -1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-03-20 13:39 Andreas Jaeger <aj@arthur.pfalz.de> - * sysdeps/generic/memmem.c (memmem): An empty needle is at the - beginning of haystack. + * stdlib/tst-strtol.c (main): Save the value of errno since printf + may modify it, use the saved errno everywhere. + * stdlib/tst-strtod.c (main): Likewise. -1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-03-21 05:54 Ulrich Drepper <drepper@cygnus.com> - * nss/nss_files/files-service.c: Correct last patch. + * posix/glob.c (glob): Fix completely broken handling of + GLOB_BRACE and partly broken handling of GLOB_TILDE. + Reported by Dennis Henriksen <opus@flamingo.osrl.dk>. -1998-01-30 21:29 Ulrich Drepper <drepper@cygnus.com> +1997-03-20 20:22 Ulrich Drepper <drepper@cygnus.com> - * 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. + * sysdeps/unix/sysv/linux/readv.c: Don't emulate readv with small + UIO_FASTIOV value by multiple readv calls since we need atomicity. + * sysdeps/unix/sysv/linux/writev.c: Likewise. + Reported by Matthis Urlichs. -1997-12-12 07:57 H.J. Lu <hjl@gnu.org> +1997-03-20 04:34 Roland McGrath <roland@baalperazim.frob.com> - * sysdeps/alpha/bzero.S: Fix a typo. - * sysdeps/alpha/htonl.S: Ditto. - * sysdeps/alpha/htons.S: Ditto. + * sysdeps/unix/sysv/linux/i386/sysdep.S (CALL_MCOUNT): Clear this + macro so ENTRY(__syscall_error) doesn't insert a call to _mcount, + which clobbers %eax. -1998-01-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * Makeconfig [$(elf)=yes] (+prector, +postctor): New variables for + crtbegin.o/crtend.o, using gcc to find them. + (+link): Use them. - * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query. +1997-03-20 00:06 Richard Henderson <rth@tamu.edu> -1998-01-30 19:58 Ulrich Drepper <drepper@cygnus.com> + * gmon/sys/gmon.h: Revert the bulk of the 960930 changes, as they + affect the alignment, and therefore the end padding of the structs. + Reported by David Mosberger <davidm@azstarnet.com>. + * gmon.c: Declare the variables with aligned tags to compensate. + Use __writev instead of write for the I/O. - * include/cpio.h: Move to ... - * posix/cpio.h: ...here. + * misc/sys/uio.h: Declare __writev and __readv. + * sysdeps/posix/readv.c: Rename and alias readv to __readv. + * sysdeps/posix/writev.c: Likewise for writev. + * sysdeps/stub/readv.c: Likewise. + * sysdeps/stub/writev.c: Likewise. + * sysdeps/unix/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/readv.c: Likewise. + * sysdeps/unix/sysv/linux/writev.c: Likewise. - * locale/programs/ld-collate.c: Fix typo. + * stdlib/testdiv.c: Exit with error status when we have an error. + * sysdeps/alpha/div.S: Initialize `quotient' and `mask'. + * sysdeps/alpha/ldiv.S: Likewise. - * signal/signal.h: Declare _sys_siglist with NSIG+1 elements. + * sysdeps/unix/sysv/linux/alpha/ioperm.c: Include ctype.h for isdigit. - * stdio-common/tiformat.c: Add checks for %#.0o and friends. +1997-03-20 14:51 Ulrich Drepper <drepper@cygnus.com> - * login/utmp_file.c (pututline_file): Don't always report success - if similar entry is found. Patch by Mark M. Kettenis. + * nis/nis_file.c: Unify error handling. -1998-01-30 16:06 Philip Blundell <pb@nexus.co.uk> +1997-03-19 18:36 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - * manual/Makefile: Don't try to install the info files if makeinfo - is not available. + * nis/nis_file.c (writeColdStartFile): Fix typo. + * nis/nis_free.c (nis_free_endpoints): Use unsigned int. + * nis/nis_free.c (nis_free_servers): Likewise. + * nis/rpcsvc/nislib.h: Likewise. -1998-01-30 12:05 Philip Blundell <pb@nexus.co.uk> + * sunrpc/rpc/netdb.h: Add setrpcent and endrpcent prototypes. - * 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. +1997-03-20 06:07 Ulrich Drepper <drepper@cygnus.com> -1998-01-30 15:52 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/powerpc/dl-machine.h: Fix typo in last change. - * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h. + * sysdeps/unix/sparc/sysdep.h: Update copyright. -1998-01-25 19:54 Philip Blundell <Philip.Blundell@pobox.com> +1997-03-19 15:13 Miguel de Icaza <miguel@nuclecu.unam.mx> - * sysdeps/unix/sysv/linux/netrose/rose.h: New file. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it. + * stdlib/tst-strtol.c: Save the value of errno, printf may modify + it. -1998-01-27 22:29 Zack Weinberg <zack@rabi.phys.columbia.edu> + * sysdeps/sparc/DEFS.h [HAVE_ELF]: Use type @function in the FUNC + macro on ELF systems. - Implement System V pseudoterminal handling. + * sysdeps/sparc/configure.in: Fix. - * 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. + * sysdeps/sparc/dl-machine.h: Fix OPCODE_CALL. - * login/pty-internal.h: New file. - * login/openpty.c: New file. - * login/forkpty.c: New file. - * login/programs/pt_chown.c: New file. + * sysdeps/sparc/setjmp.S: Fix my bugs. - * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r. - * stdlib/stdlib.h: Prototype them. + * sysdeps/unix/sysv/linux/sparc/Dist: Add start.c, fork.S, and pipe.S. + * sysdeps/unix/sysv/linux/sparc/Makefile: Define asm-CPPFLAGS and + as-FLAGS-.so. + * sysdeps/unix/sysv/linux/sparc/syscalls.list: Add fork, pipe, and + syscall. + * sysdeps/unix/sysv/linux/sparc/fork.S: New file. + * sysdeps/unix/sysv/linux/sparc/pipe.S: New file. + * sysdeps/unix/sysv/linux/sparc/socket.S: Fix. + * sysdeps/unix/sysv/linux/sparc/sysdep.h: Fix. + + * elf/dl-lookup.c (do_lookup): Return true if we found a weak + symbol. + (_dl_lookup_symbol): Test against the symbol being global not + against the symbol being not weak (fixes important problem with + the SPARC linker) + + * sysdeps/unix/sysv/linux/sparc/brk.c: Fix. + + * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for + Linux/SPARC (while I get my asmCPPFLAGS-so variable). + +1997-03-20 01:49 Ulrich Drepper <drepper@cygnus.com> + + * Makeconfig: (rpath-link): Add math/ directory. + (math-objdir): New variable. + (link-extra-lib): Define to special version when + $(common-objpfx)!=$(objpfx) to allow libraries outside + $(common-objpfx) be linked to the application. + + * math/Makefile: Add rules to build and run test programs. + * math/libm-test.c (_GNU_SOURCE): Define only if still undefined. + (check_equal): Correct check for error. + (ceil_test): Fix typo. + (log_test): Fix typo. + (floor_test): Fix typo. + (pow_test): Fix typos. + (log10_test): Allow slight incorrectness for `log10(e)'. + (modf_test): New functions to test `modf' et.al. + (hypot_test): Rewrite test completely. + Patch partly by Andreas Jaeger. + * math/test-double.h (__NO_MATH_INLINES): Define only if not + already defined. + * math/test-float.h: Likewise. + * math/test-logdouble.h: Likewise. + + * setjmp/setjmp.h: Change references of ANSI C to ISO C. + * setjmp/tst-setjmp.c: Correct and extend test suite. + * sysdeps/i386/__longjmp.S: Update copyright. + * sysdeps/i386/bsd-_setjmp.S: Correct fatal bug in jump to + `__sigsetjmp' in PIC code. + * sysdeps/i386/bsd-setjmp.S: Likewise. + + * sysdeps/libm-i387/e_pow.S: Correct recognition of mantissa + overflow. + * sysdeps/libm-i387/e_powf.S: Likewise. + * sysdeps/libm-i387/s_expm1.S: Handle x == +-0 as a special + case since expm1(-0) == -0. + * sysdeps/libm-i387/s_expm1f.S: Likewise. + * sysdeps/libm-i387/s_expm1l.S: Likewise. + * sysdeps/libm-ieee754/s_modf.c: Optimize code by avoiding unneeded + access to FP number. + * sysdeps/libm-ieee754/s_modff.c: Likewise. + * sysdeps/libm-ieee754/s_modfl.c: Correct former completely bogus + code. It never worked correctly. + * sysdeps/libm-ieee754/s_tanh.c: Handle x == +-0 as a special + case since tanh(-0) == -0. + * sysdeps/libm-ieee754/s_tanhf.c: Likewise. + * sysdeps/libm-ieee754/s_tanhl.c (__tanhl): Correct handling of -inf. - * config.make.in: Define $(libexecdir). - * Makeconfig: Define $(inst_libexecdir). +1997-03-19 21:13 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/generic/pty.c: Removed. - * sysdeps/unix/sysv/linux/pty.c: Removed. + * stdlib/strtod.c (STRTOL): Use wchar_t as type for `decimal' and + `thousands' to support systems with sizeof(wchar_t) != + sizeof(wint_t). Blargh. - * sysdeps/generic/getpt.c: Stub out. - * sysdeps/generic/grantpt.c: Likewise. - * sysdeps/generic/ptsname.c: Likewise. - * sysdeps/generic/unlockpt.c: Likewise. + * sysdeps/unix/sysv/linux/socketbits.h: Remove definition of + SOL_IP, SOL_TCP, SOL_UDP, and SOL_IPX as they are defined in + appropriate headers. - * 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/unix/sysv/linux/writev.c: Don't use MAX_IOVEC. Test for + UIO_FASTIOV and set to 8 if not available. + * sysdeps/unix/sysv/linux/readv.c: Likewise. + Patch by HJ Lu. -1998-01-29 23:56 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/xstat.c: Include <kernel_stat.h>, not + "kernel_stat.h". + * sysdeps/unix/sysv/linux/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/fxstat.c: Likewise. + Reported by fabsoft@fabsoft2.zarm.uni-bremen.de. - * localedata/locales/ru_RU: Fix YESEXPR. Patch by lav@yars.free.net. +1997-03-19 01:40 Ulrich Drepper <drepper@cygnus.com> -1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/unix/sysv/sco3.2.4/Dist: New file. - * nss/Makefile (tests): Add rule for test-netdb.c. + * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c. - * nss/test-netdb.c: New file. + * sysdeps/unix/bsd/Dist: Add bsdstat.h, setrgid.c, and setruid.c. -1998-01-29 02:38 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/Dist: Add direct.h. - * 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>. + * sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h. - * 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. + * Make-dist ($(tardir).tar): Prefer writing temporary file to + $TMPDIR is available. The default is /tmp. -1998-01-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/generic/ip.h: Move to... + * sysdeps/generic/netinet/ip.h: ...here. - * 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'. + * Makefile (tests): Quote $(CC) argument to isomac program. + Patch by H.J. Lu <hjl@gnu.ai.mit.edu>. -1998-01-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument + is placed in wrong place on the stack. + Reported by Marc Lehmann <mlehmann@hildesheim.sgh-net.de>. + * sysdeps/tst-setjmp.c: Add new test for above problem. - * 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. + * sysdeps/libm-i387/e_pow.S: Compute PIC addres early. + * sysdeps/libm-i387/e_powf.S: Likewise. + * sysdeps/libm-i387/e_powl.S: Likewise. -1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-03-18 23:18 Ulrich Drepper <drepper@cygnus.com> - * assert/assert.h (assert_perror): Correct test for errnum. Patch - by uch@nop.or.jp. [PR libc/437] + * time/offtime.c (__offtime): Change type of `yg' to long int. + Reported by a sun <asun@zoology.washington.edu>. -1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-03-18 23:08 a sun <asun@zoology.washington.edu> - * nis/nis_cache.c: Include <unistd.h> for declaration of close. + * sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to + 2.2.0 to prevent version mismatch. -1998-01-06 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-03-17 19:26 Andreas Jaeger <aj@arthur.pfalz.de> - * stdio-common/test-popen.c: Include <errno.h>. + * stdio-common/printf_fphex.c (MIN): Only define MIN if not + already defined. - * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for - close. +1997-03-14 23:34 Geoff Keating <geoffk@ozemail.com.au> - * inet/getnetgrent_r.c: Include <errno.h>. + * sysdeps/unix/sysv/linux/powerpc/termbits.h: Leave ioctl numbers + in ioctls.h. - * db2/db/db_conv.c: Include <string.h> for memcpy. + * elf/rtld.c (_dl_start): Call elf_machine_runtime_setup when the + loader first relocates itself. + * sysdeps/powerpc/elf/start.c (__start1): Fix bug for static objects. + * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Fix bugs in + jump slot relocation. Prefer relative branches (some PowerPC chips + don't predict absolute branches). + (elf_machine_runtime_setup): Simplify and correct expressions. + (RTLD_START): Fix bug changing _dl_starting_up. + * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Added. Deal with + strange Linux/PPC padding of initial stack. - * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h> - so that memcpy is declared. +1997-03-11 04:14 Geoff Keating <geoffk@ozemail.com.au> - * iconv/iconv_open.c: Include <stdlib.h> for alloca. + * sysdeps/unix/sysv/linux/powerpc/termbits.h: Increase NCCS to 39, + for future expansion. + * sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Added. + * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Explain why it + can't have a switch statement. + * sysdeps/powerpc/elf/start.c (__start1): Explain why it can't be + static. - * misc/init-misc.c: Remove unneeded inclusion of <errno.h>. + * sysdeps/powerpc/elf/start.c (_start): Use .previous to avoid + confusing gcc's idea of the current section. + * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE, + RTLD_START): Likewise. -1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-03-08 09:10 Geoff Keating <geoffk@ozemail.com.au> - * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer - overflow while reading line with fgets. - * grp/fgetgrent_r.c (__fgetgrent_r): Likewise. + * sysdeps/powerpc/dl-machine.h (elf_machine_rela, + elf_machine_runtime_setup): Flush data & instruction caches when + necessary, for 603/604 support. Add better support for large PLTs. + (elf_machine_rela): Remove relocations that wouldn't work if + anyone ever used them. Use memcpy for copy reloc, it'll be safe. + Never target branch relocations at a PLT entry. -1998-01-27 00:46 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/powerpc/bsd-setjmp.S: Make jump to PLT entry if we are + generating PIC. + * sysdeps/powerpc/bsd-_setjmp.S: Likewise. + * sysdeps/powerpc/setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to - unsigned short, not short. - Reported by Andreas Jaeger. + * sysdeps/powerpc/elf/start.c: Clean up. -1998-01-06 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/powerpc/__longjmp.S: Return 'value' as result from + setjmp call. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo - (ccept->accept). + * sysdeps/unix/sysv/linux/powerpc/statbuf.h: New file. - * sysdeps/generic/inttypes.h: Fix spelling. +1997-03-09 12:36 H.J. Lu <hjl@gnu.ai.mit.edu> -1998-01-04 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * Make-dist (srcs): Add $(test-srcs). + * MakeTAGS (all-sources): Likewise. + * Makerules (depfiles, common-mostlyclean): Likewise. + * Rules (tests): Likewise. - * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h. +1997-03-18 05:28 Roland McGrath <roland@frob.com> - * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h. + * elf/dl-reloc.c (RESOLVE): Don't try to resolve local symbols. -1998-01-27 00:30 Ulrich Drepper <drepper@cygnus.com> +1997-03-17 21:39 Philip Blundell <phil@london.uk.eu.org> - * 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. + * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow + protocol=NULL to match any protocol rather than returning an + error. -1998-01-05 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-03-17 19:00 Philip Blundell <phil@london.uk.eu.org> - * libio/freopen.c (freopen): Call _IO_old_freopen only if defined - PIC && DO_VERSIONING. + * nss/nss_files/files-service.c (servbyname): Match any protocol + if proto==NULL. -1998-01-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-03-18 05:17 Ulrich Drepper <drepper@cygnus.com> - * Rules: Add rules for $(common-objpfx)dummy$o. + * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW. + * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise. + Proposed by Thomas Bushnell, n/BSG. -1998-01-26 Richard Henderson <rth@cygnus.com> +1997-03-18 07:53 H.J. Lu <hjl@gnu.ai.mit.edu> - * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the - unimplemented OSF/1 definitions so that they are not accidentally seen. + * sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse + the buffer for replacement. + +1997-03-16 19:30 H.J. Lu <hjl@gnu.ai.mit.edu> - * 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. + * sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat, + sys_lstat and sys_stat. + +1997-03-17 12:43 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + + Add NIS+ functions + * shlib-versions: Add libnss_nisplus. + * nis/Makefile: Add NIS+ source files. + * nis/nis_call.c: New file. + * nis/nis_clone.c: New file. + * nis/nis_error.c: New file. + * nis/nis_file.c: New file. + * nis/nis_free.c: New file. + * nis/nis_intern.c: New file. + * nis/nis_intern.h: New file. + * nis/nis_local_names.c: New file. + * nis/nis_names.c: New file. + * nis/nis_print.c: New file. + * nis/nis_server.c: New file. + * nis/nis_subr.c: New file. + * nis/nis_table.c: New file. + * nis/nis_xdr.c: New file. + * nis/nss-nisplus.h: New file. + * nis/nss_nisplus/nisplus-alias.c: New file. + * nis/nss_nisplus/nisplus-ethers.c: New file. + * nis/nss_nisplus/nisplus-grp.c: New file. + * nis/nss_nisplus/nisplus-hosts.c: New file. + * nis/nss_nisplus/nisplus-netgrp.c: New file. + * nis/nss_nisplus/nisplus-network.c: New file. + * nis/nss_nisplus/nisplus-proto.c: New file. + * nis/nss_nisplus/nisplus-publickey.c: New file. + * nis/nss_nisplus/nisplus-pwd.c: New file. + * nis/nss_nisplus/nisplus-rpc.c: New file. + * nis/nss_nisplus/nisplus-service.c: New file. + * nis/nss_nisplus/nisplus-spwd.c: New file. + * nis/rpcsvc/nis.h: New file. + * nis/rpcsvc/nis.x: New file. + * nis/rpcsvc/nis_object.x: New file. + * nis/rpcsvc/nis_tags.h: New file. + * nis/rpcsvc/nislib.h: New file. + +1997-03-17 12:52 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + + * mach/devstream.c (output/write_some): Don't try and write more + than IO_INBAND_MAX in a single call to device_write_inband. + +1997-03-17 04:00 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library + type is SVID. + * sysdeps/libm-ieee754/w_atan2f.c: Likewise. + * sysdeps/libm-ieee754/w_atan2l.c: Likewise. + + * sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for + FLAGS parameter. + +1997-03-16 20:28 Philip Blundell <phil@london.uk.eu.org> + + * sysdeps/unix/sysv/linux/socketbits.h: Add more SOL_ values. + Change msg_iovlen and msg_controllen (in struct msghdr) to + `size_t' to keep in step with kernel. + +1997-03-16 18:43 Ulrich Drepper <drepper@cygnus.com> + + * manual/filesys.texi: Add documentation for scandir and alphasort. + * manual/examples/dir2.c: New example for scandir. + + * math/math.c (fpclassify): Correct stupid typos. + + * math/libm-test.c: New file. libm test suite by Andreas Jaeger. + * math/test/float.c: New file. Frontend for float tests. + * math/test/double.c: New file. Frontend for double tests. + * math/test/longdouble.c: New file. Frontend for long double tests. + + * posix/Makefile (routines): Add bsd-getpgrp. + * posix/bsd-getpgrp.c: New file. + * posix/unistd.h [__FAVOR_BSD]: Define macro getpgrp which maps + calls to __bsd_getpgrp. + + * sysdeps/generic/getpgrp.c: De-ANSI-declfy. + + * sysdeps/i386/huge_val.h: New file. ix87 specific infinity values. + * sysdeps/m68k/huge_val.h: New file. m68k specific infinity values. + * sysdeps/ieee754/huge_val.h: Remove definition of long double + definition. Make it the same as the double definition. + + * sysdeps/libm-i387/e_acos.S: Fix bug in FPU stack handling. + * sysdeps/libm-i387/e_acosf.S: Likewise. + * sysdeps/libm-i387/e_acosl.S: Likewise. + * sysdeps/libm-i387/e_asin.S: Likewise. + * sysdeps/libm-i387/e_asinf.S: Likewise. + * sysdeps/libm-i387/e_asinl.S: Likewise. + * sysdeps/libm-i387/e_exp.S: Likewise. + * sysdeps/libm-i387/e_expf.S: Likewise. + * sysdeps/libm-i387/e_expl.S: Likewise. + * sysdeps/libm-i387/s_scalbn.S: Likewise. + * sysdeps/libm-i387/s_scalbnf.S: Likewise. + * sysdeps/libm-i387/s_scalbnl.S: Likewise. + + * sysdeps/libm-i387/e_log.S: Optimize branch code. + * sysdeps/libm-i387/e_logf.S: Likewise. + * sysdeps/libm-i387/e_logl.S: Likewise. + * sysdeps/libm-i387/e_log10.S: Likewise. + * sysdeps/libm-i387/e_log10f.S: Likewise. + * sysdeps/libm-i387/e_log10l.S: Likewise. + + * sysdeps/libm-i387/e_pow.S: Major rewrite to handle special cases. + * sysdeps/libm-i387/e_powf.S: Likewise. + * sysdeps/libm-i387/e_powl.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file. - * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file. + * sysdeps/libm-i387/s_expm1.S: Change return value for -inf + argument to -1.0. + * sysdeps/libm-i387/s_expm1f.S: Likewise. + * sysdeps/libm-i387/s_expm1l.S: Likewise. -1998-01-26 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/libm-i387/s_isinfl.c: Return -1 for -inf. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to - support sigaction on kernels > 2.1.7x. + * sysdeps/libm-i387/s_logbl.S: Correct return value. Discard first + stack element after fxtract. -1998-01-01 13:52 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/libm-ieee754/e_atan2l.c: New file. `long double' + implementation for atan2 function. - * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file - if it is empty. + * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in + _SVID_ mode when acos, asin, atan2, log, log10 is called with + argument out of range. + Add new error case for pow(+0,neg). - * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file. - Patch by David Engel <david@sw.ods.com>. + * sysdeps/libm-ieee754/s_fpclassifyf.c: Correct recognition of + NaN and +-inf. + * sysdeps/libm-ieee754/s_fpclassifyl.c: Mask out explicit leading + digit in stupid 80 bit formats. - * configure.in: Fix another typo in --enable-add-ons code. + * sysdeps/libm-ieee754/s_isinf.c: Rewrite to return -1 for -inf. + * sysdeps/libm-ieee754/s_isinff.c: Likewise. + * sysdeps/libm-ieee754/s_isinfl.c: Likewise. -1998-01-26 03:48 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/libm-ieee754/s_scalbnl.c (huge, tiny): Adapt values for + long double type. + + * sysdeps/libm-ieee754/w_atan2.c: Do not raise exception expect when + in SVID mode. + * sysdeps/libm-ieee754/w_atan2f.c: Likewise. + * sysdeps/libm-ieee754/w_atan2l.c: Likewise. + + * sysdeps/libm-ieee754/w_pow.c: Distinguish error cases for x is +0 + or -0. + * sysdeps/libm-ieee754/w_powf.c: Likewise. + * sysdeps/libm-ieee754/w_powl.c: Likewise. + + * sysdeps/posix/isfdtype.c: Add cast to prevent warning. + + * sysdeps/stub/fcntlbits.h: Update copyright. + * sysdeps/unix/bsd/fcntlbits.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise. + * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise. + * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise. + * sysdeps/unix/common/fcntlbits.h: Likewise. + * sysdeps/unix/sysv/fcntlbits.h: Likewise. Define O_FSYNC as alias + of O_SYNC. Add BSD compatibility macros FAPPEND, FFSYNC, FNONBLOCK, + and FNDELAY. + * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise. + + * sysdeps/unix/readdir_r.c: Don't copy whole `struct dirent' record, + only reclen bytes. + + * sysdeps/unix/sysv/linux/fcntlbits.h [__USE_GNU]: Add O_READ, O_WRITE + and O_NORW. + * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise. + + * sysdeps/unix/sysv/linux/init-first.h: Add copyright. + + * sysdeps/unix/sysv/linux/fxstat.c: New file. Rewrite kernel-level + struct stat to user-level form. + * sysdeps/unix/sysv/linux/lxstat: New file. + * sysdeps/unix/sysv/linux/xstat: New file. + * sysdeps/unix/sysv/linux/kernel_stat.h: Define struct stat used in + kernel. + * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Change definition + to use prescribed types for elements. + (_STAT_VER): Change to value 3. + * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise. + * sysdeps/unix/sysv/linux/Dist: Add kernel_stat.h. + * sysdeps/unix/sysv/linux/alpha/Dist: Likewise. - * sysdeps/unix/sysv/linux/siglist.c: Add copyright text. + * time/Makefile: Correct dependencies for test-tz. -1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-03-16 14:59 Philip Blundell <phil@london.uk.eu.org> - * nss/nss_files/files-network.c: Correct order of parameters for - getnetbyaddr. + * resolv/netdb.h: Add prototypes for gai_strerror and getnameinfo + (needed for IPv6 basic sockets API). -1998-01-26 00:57 Ulrich Drepper <drepper@cygnus.com> +1997-03-16 15:02 a sun <asun@zoology.washington.edu> - * 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/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/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_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. + * sysdeps/unix/sysv/linux/net/if_ppp.h: Don't use incompatible + kernel header. + * sysdeps/unix/sysv/linux/net/ppp_defs.h: 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. +1997-03-14 17:15 Ulrich Drepper <drepper@cygnus.com> - * locale/programs/ld-collate.c (collate_end_weight): Correctly fill - up weight array. + * db/hash/hash_bigkey.c (__big_delete): Don't call __free_ovflpage + without testing for last_bfp to be NULL. + Reported by fabsoft@fabserver1.zarm.uni-bremen.de. - * localedata/locales/cs_CZ: Update by Michael Mraka - <michael@informatics.muni.cz>. +1997-03-13 11:42 Jim Meyering <meyering@asic.sc.ti.com> - * misc/sys/syslog.h: Reformat a bit. Don't declare vsyslog unless - __USE_BSD. + * time/mktime.c (TIME_T_MIN): Work around a bug in Cray C 5.0.3.0. - * 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. +1997-03-14 04:00 Kurt Garloff <garloff@kg1.ping.de> - * string/strerror_r.c: Correct comment. Patch by Andreas Jaeger. + * sysdeps/unix/sysv/linux/fcntlbits.h (O_FSYNC): Make alias for O_SYNC. + (FASYNC): Move to __USE_BSD section. Create new macro O_ASYNC. - * 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. +1997-03-14 02:50 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for - FP register content in ucontext_t. + * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): New + functions. Compare result for correct address type. + (_nss_nis_gethostbyname_r): Use _nss_nis_gethostbyname2_r. + * nss/nss_files/files-hosts.c: Likewise. + Reported by Mirko Streckenbach <mirko@marian.hil.de>. -1998-01-22 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-02-17 01:40 Zlatko Calusic <zcalusic@srce.hr> - * sysdeps/libm-ieee754/s_modfl.c (modf): Correct - calculation. Patch by Markus Schoder - <Markus.Schoder@dresdner-bank.de>. + * time/strptime.c (recursive): Return rp to caller. + (strptime_internal): First check for long names, then abbreviated + (month & weekday). - * math/libm-test.c (modf_test): Add more tests for modf. +1997-03-10 19:44 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and - munlock according to Unix98. + * Makeconfig: Remove useless definitions of ASFLAGS-%. + * config.make.in (ASFLAGS-.so): Remove. + * configure.in: Don't substitute ASFLAGS_SO. + * sysdeps/sparc/configure.in: Remove file. + * sysdeps/sparc/Makefile (ASFLAGS-.so): Define. -1998-01-25 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-03-11 17:00 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to - AF_INET. + * time/strptime.c (strptime_internal) [case 'Y']: Always subtract + 1900 from year, regardless of century. -1998-01-21 07:22 H.J. Lu <hjl@gnu.org> +1997-03-12 05:43 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/posix/ttyname.c: Handle symbolic links. - * sysdeps/posix/ttyname_r.c: Ditto. + * stdlib/strtod.c (_tens_in_limb) [BITS_PER_MP_LIMB > 32]: Make + all numbers unsigned to make buggy gccs happy. + Patch by Bryan W. Headley <bheadley@interaccess.com>. -1998-01-25 19:39 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/netinet/ip.h: Add backward-compatibility + definitions. Patch by a sun <asun@zoology.washington.edu>. + Pretty print header. - * db2/makedb.c (process_input): Write terminating \0 for value. - (print_database): Simply print value string, don't use length. + * Makerules (build-shlib): Also create symlink if library is versioned. + Based on a patch by H.J. Lu <hjl@gnu.ai.mit.edu>. + Remove special rule to libc.so symlink. -1998-01-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-03-11 20:16 Andreas Jaeger <aj@arthur.pfalz.de> - * nss/nsswitch.c (__nss_configure_lookup): Correct test for early - exit of loop. + * manual/math.texi (Domain and Range Errors): Change descriptions + according to recent changes for ISO C 9X. -1998-01-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> +1997-03-11 22:39 Ulrich Drepper <drepper@cygnus.com> - * nis/ypclnt.c: Don't set dom_client to NULL, or we will not - close all sockets. + * sysdeps/libm-ieee754/k_standard.c (__kernel_standard): Correct + return values for acos, asin, and atan2. + Reported by Andreas Jaeger <aj@arthur.pfalz.de>. -1998-01-25 14:54 Ulrich Drepper <drepper@cygnus.com> +1997-03-10 18:16 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - * 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. + * nis/ypclnt.c (__yp_bind): Fix possible buffer overflow. - * 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. +1997-03-10 18:06 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE> - * sysdeps/mach/_strerror.c: Follow changes of generic version to - handle small buffers correctly. + * dirent/alphasort.c (alphasort): Interpret arguments as pointers + to pointers to directory entries so that alphasort really can be + used as argument for scandir. -1998-01-24 17:31 H.J. Lu <hjl@gnu.org> +1997-03-09 23:33 Andreas Jaeger <aj@arthur.pfalz.de> - * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): - Remove the 3rd arg and add declaration for _dl_runtime_resolve - and _dl_runtime_profile. + * string/strdup.c: Declare memcpy if !(_LIBC || STDC_HEADERS) + instead of strcpy. -1998-01-25 02:42 Ulrich Drepper <drepper@cygnus.com> +1997-03-10 03:34 Ulrich Drepper <drepper@cygnus.com> - * include/cpio.h: New file. Mainly copied from GNU cpio. - * posix/Makefile (headers): Add cpio.h. + * catgets/catgets.c (catopen): Always add NLSPATH to search path for + catalogs, not only if the envvar NLSPATH is not available. + Reported by Andries.Brouwer@cwi.nl. -1998-01-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> +1997-03-10 02:46 Ulrich Drepper <drepper@cygnus.com> - * 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. + * Makeconfig (localtime-file): Don't define using installation + directory. + (inst_localtime-file): New variable. + * time/Makefile (installed-localtime-file): Use inst_localtime-file. + Reported by Edward Seidl <seidl@janed.com>. -1997-12-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> +1997-03-10 02:31 H.J. Lu <hjl@gnu.ai.mit.edu> - * 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. + * time/Makefile: Add source files to dependencies for test data. -1997-12-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> +1997-03-09 22:53 Thorsten Kukuk <kukuk@weber.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-ethers.c: Don't ignore return value of yp_all. * 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> +1997-03-08 14:37 Miguel de Icaza <miguel@nuclecu.unam.mx> - * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen): - Added to follow latest kernel development. + * sysdeps/sparc/dl-machine.h (elf_machine_rela): Upgrade to + versioning; Added missing R_SPARC_WDISP30 handling. + (RTLD_START): Implement it. -1998-01-24 15:13 Ulrich Drepper <drepper@happy.cygnus.com> + * sysdeps/unix/sysv/linux/sparc/brk.c: Fix. - * nss/db-Makefile: Handle empty and comment lines better. - ($(VAR_DB)/services.db): Generate entries with missing protocol - value. + * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for + Linux/SPARC. -1998-01-23 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-03-02 18:06 Miguel de Icaza <miguel@nuclecu.unam.mx> - * 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]. + * sysdeps/sparc/dl-machine.h (RTLD_START): Make arg as expected by + the dynamic linker instead of having a new conditional define. + Thanks to Richard Henderson for pointing this out. + * elf/rtld.c: Remove usage of ELF_ADJUST_ARG. -1998-01-24 11:34 Ulrich Drepper <drepper@happy.cygnus.com> +1997-03-20 20:44 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - * nis/nislib/nislib.h: Finally removed. + * sysdeps/mach/hurd/euidaccess.c: Define as __euidaccess and make + euidaccess weak alias. - * 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>. +1997-03-07 10:30 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> -1998-01-22 00:55 Ulrich Drepper <drepper@happy.cygnus.com> + * stdio-common/printf_fphex.c (MIN): New macro. - * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo, - __pread64, __pwrite64, and __getpid. + * sysdeps/generic/netinet/in.h: Include <sys/types.h>. - * rt/aio_misc.c: Use pread and pwrite instead of __ protected - versions. + * sysdeps/generic/sys/mman.h (msync): Mention third arg. -1998-01-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/generic/netinet/in.h: Add definitions for IPv6 basic + API. (See change by Philip Blundell on Feb 16, 1997.) - * 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. +1997-03-05 10:40 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - * 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. + * hurd/hurd.h (vpprintf): Include <stdarg.h>. New declaration. - * 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. + * hurd/set-host.c (_hurd_set_host_config): Cast second arg to + __file_name_split. - * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable. + * mach/mach_error.c (mach_error_string_int): Give full prototype. + * mach/errstring.c (mach_error_string_int): Likewise. + * mach/error_compat.c (__mach_error_map_compat): Likewise. + * hurd/vpprintf.c (pwrite, vpprintf): Likewise. + * stdio/vasprintf.c (vasprintf): Likewise. - * string/Makefile (tests): Add tst-inlcall. - * string/tst-inlcall.c: New file. + * mach/mach/mach_traps.h: Include <mach/kern_return.h>. - * string/strsignal.c: Add support for real-time signals. + * mach/spin-solid.c: Include <mach/mach_traps.h>. + * mach/spin-solid.c (__spin_lock_solid): Provide arg to + swtch_pri. - * sysdeps/generic/_strerror.c: Fix Handling of unknown error in - presense of small buffer. + * mach/mach_init.c: Include <mach/mig_support.h>. - * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros. + * mach/mach_error.h (mach_error_string, mach_error, + mach_error_type): Always provide prototypes. - * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation - for i686. + * mach/mach/error.h (mach_error_fn_t): Comment out declaration; it + appears to be entirely unused dead code. - * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to - _NSIG + 1. +1997-03-02 13:38 Miles Bader <miles@gnu.ai.mit.edu> -1998-01-02 15:10 Matthias Urlichs <urlichs@noris.de> + * string/argz.h (__need_error_t): New macro, before including <errno.h> + [!__const] (__const): New macro. + [!__error_t_defined] (error_t): New typedef. - * Rules: Add explicit rule for dummy.o; at least one library needs - it and it isn't autogenerated by the default rules. +1997-03-09 06:59 Ulrich Drepper <drepper@cygnus.com> -1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * Makeconfig: Add ASFLAGS-% flags for SPARC assembler which need + -fPIC. + * Makerules (compile.S): Use ASFLAGS-%. + (COMPILE.S): Likewise. + * config.make.in (ASFLAGS-.so): Define from ASFLAGS_SO. + * configure.in: Substitute ASFLAGS_SO. + * sysdeps/sparc/configure.in: New file. - * math/libm-test.c: Tweak epsilons. + * posix/unistd.h: Add prototype for __euidaccess. + * sysdeps/posix/euidaccess.c: Define as __euidaccess and make + euidaccess weak alias. + * sysdeps/stub/euidaccess.c: Likewise. + * inet/rcmd.c: Use __ protected versions of non-standard functions. -1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * locale/setlocale.c (setlocale): Don't set usage_count to + MAX_USAGE_COUNT if it already has this value. - * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the - child. - (feenv_mask_test): Likewise. + * locale/programs/localedef.c: Don't use LOCALE_PATH to find + binary locale files. Use LOCALEDIR only. + * locale/programs/locfile.c: When named file not found and not + absolute use path in I18NPATH. -1998-01-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Makeconfig: Don't export CPPFLAGS. - -1998-01-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sunrpc/rpc_main.c (parseargs): Use perror to print error - message. - -1998-01-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include - terminating null in key size. - -1998-01-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * nss/nss_files/files-service.c: Fix allocation size to include - length of PROTO. - - * 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. - - * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate - uids specially. - - * db2/makedb.c (process_input): Continue processing if a duplicate - key is encountered. - -1998-01-19 15:20 Ulrich Drepper <drepper@cygnus.com> - - * time/tzfile.h: Updated from tzcode1998b. + * stdlib/Makefile (headers): Add inttypes.h. + * sysdeps/wordsize-32/inttypes.h: New file. + * sysdeps/wordsize-64/inttypes.h: New file. + + * sysdeps/generic/socketbits.h: Add PF_FILE as synonym for PF_LOCAL + and AF_FILE as synonym for AF_LOCAL. + * sysdeps/unix/sysv/linux/socketbits.h: Likewise. + + * time/Makefile: Rewrite rules for test to handle parallel builds. + +1997-03-09 05:26 Ulrich Drepper <drepper@cygnus.com> + + * manual/startup.texi (EXIT_FAILURE): Fix typo. Patch by + robbe@orcus.priv.at. + +1997-03-09 05:10 Edward Seidl <seidl@janed.com> + + * sysdeps/i386/elf/start.S (nofini): *Really* align stack to + 8-byte boundary. + +1997-03-09 01:48 Ulrich Drepper <drepper@cygnus.com> + + * elf/link.h: Define __need_NULL to get definition. Include + <features.h>. + Patch by Andreas Jaeger <aj@arthur.pfalz.de>. + +1997-03-08 21:48 Thorsten Kukuk <kukuk@tk.uni-paderborn.de> + + Rewrite NIS code to allow empty keys. + * nis/nss_nis/nis-ethers.c: Rewritten. + * nis/nss_nis/nis-proto.c: Rewritten. + * nis/nss_nis/nis-publickey.c: Rewritten. + * nis/nss_nis/nis-rpc.c: Rewritten. + * nis/nss_nis/nis-service.c: Rewritten. + +1997-03-08 16:02 Andreas Jaeger <aj@arthur.pfalz.de> + + * time/scheck.c (scheck): Add extra const to second argument. + + * time/private.h: Correct prototypes to match definition. + +1997-03-08 18:55 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/alpha/__math.h: Remove cabs inline definition. + Reported by Philip Blundell <pjb27@cam.ac.uk>. + +1997-03-08 05:30 Ulrich Drepper <drepper@cygnus.com> + + * argp/Makefile (routines): Add argp-eexst. + * argp/argp-ba.c (argp_program_bug_address): Make `const'. + * argp/argp-eexst.c: New file. Define exit status variable. + * argp/argp-help.c (__argp_state_help): Use argp_err_exit_status + variable instead of always exiting with value 1. + * argp/argp-pv.c (argp_program_version): Make `const'. + * argp/argp.h: Declare argp_err_exit_status. + Patches by Miles Bader <miles@gnu.ai.mit.edu>. + + * locale/programs/localedef.c: Use argp_err_exit_status to + terminate with correct value. + + * inet/rcmd.c (iruserok): Use euidaccess instead of half-hearted + switching of UID before opening .rhosts. + + * libio/vsnprintf.c: Change implementation to follow ISO C 9X + proposal. The return value now is always the number of characters + which would be written if enough space is available. + * manual/stdio.texi: Update description for new behaviour. + + * locale/locale.h (__locale_t): Don't use __locale_t for struct + name and pointer to struct since old gccs cannot keep the namespaces + apart. Rename struct to __locale_struct. + * locale/duplocale.h: Likewise. + * locale/newlocale.h: Likewise. + + * math/Makefile (headers): Add complex.h and cmathcalls.h. + (routines): Remove w_cabs. Add conj, cimag, creal, and cabs. + * math/math.h: Undefine __MATHDECL_1, __MATHDECL, and __MATHCALL + after use. + (signgam): Move declaration to here from mathcalls.h. + * math/mathcalls.h (cabs, __cabs_complex, signgam): Remove definition. + Correct comment for fmin and fmax. + Start implementing complex math function from ISO C 9X. + * math/complex.h: New file. + * math/cmathcalls.h: New file. + * math/cabs.c: New file. + * math/cabsf.c: New file. + * math/cabsl.c: New file. + * math/cimag.c: New file. + * math/cimagf.c: New file. + * math/cimagl.c: New file. + * math/conj.c: New file. + * math/conjf.c: New file. + * math/conjl.c: New file. + * math/creal.c: New file. + * math/crealf.c: New file. + * math/creall.c: New file. + * sysdeps/libm-ieee754/w_cabs.c: Removed. + * sysdeps/libm-ieee754/w_cabsf.c: Removed. + * sysdeps/libm-ieee754/w_cabsl.c: Removed. + + * posix/regex.c: Merge with regex sources from Arnold Robbins' + version in GNU awk. + * posix/regex.h: Likewise. + + Add regex test suite by Tom Lord. + * posix/Makefile (distribute): Add TESTS, TESTS2C.sed, and testcases.h. + (tests): Add runtests. + (before-compile): Add testcases.h. + (testcases.h): New rule to generate header with tests. + * posix/TESTS: New file. + * posix/TESTS2C.sed.: New file. + * posix/runtests.c: New file. + * posix/testcases.h: New file. + + * sysdeps/unix/sysv/linux/poll.c: Test whether poll syscall is + available and use fall-back implementation if not. + + * sysdeps/unix/sysv/linux/syscalls.list: Sort entries. + + * time/ialloc.c: Update from tzcode1997c. + * time/private.h: Likewise. + * time/scheck.c: Likewise. + * time/tzselect.ksh: Likewise. * 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. - -1998-01-12 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * 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>. - -1998-01-09 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines. Suggested - by Roland McGrath. [PR libc/395] - -1998-01-08 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * manual/arith.texi (Parsing of Integers): Correct description of - strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>. - [PR libc/396] - -1997-12-30 14:14 Matthias Urlichs <urlichs@noris.de> - * misc/lsearch.c (lsearch): Return a pointer to the new element - if one was "allocated". + * time/tzfile.c: Pretty print. -1997-12-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-03-06 07:37 Geoff Keating <geoffk@ozemail.com.au> - * string/strsignal.c: NSIG is not a valid index into - _sys_siglist. Don't zap the last character of the "Unknown - signal" message. + Port to powerpc-*-linux-gnu. Slightly tested, under MkLinux, + on a 601. -1998-01-19 15:08 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/powerpc/Implies: Added. + * sysdeps/powerpc/__longjmp.S: Added. + * sysdeps/powerpc/__math.h: Added. + * sysdeps/powerpc/bsd-_setjmp.S: Added. + * sysdeps/powerpc/bsd-setjmp.S: Added. + * sysdeps/powerpc/dl-machine.h: Added. + * sysdeps/powerpc/ffs.c: Added. + * sysdeps/powerpc/fpu_control.h: Added. + * sysdeps/powerpc/jmp_buf.h: Added. + * sysdeps/powerpc/setjmp.S: Added. + * sysdeps/powerpc/strlen.S: Added. + * sysdeps/powerpc/elf/start.c: Added. + * sysdeps/powerpc/fpu_control.h: Added. + * sysdeps/powerpc/jmp_buf.h: Added. - * locale/programs/charmap.c (parse_charmap): Correct parsing of - ellipsis expressions. + * sysdeps/unix/sysv/linux/powerpc/Dist: Added. + * sysdeps/unix/sysv/linux/powerpc/_exit.S: Added. + * sysdeps/unix/sysv/linux/powerpc/brk.c: Added. + * sysdeps/unix/sysv/linux/powerpc/clone.S: Added. + * sysdeps/unix/sysv/linux/powerpc/init-first.h: Added. + * sysdeps/unix/sysv/linux/powerpc/ioctl-types.h: Added. + * sysdeps/unix/sysv/linux/powerpc/profil.c: Added. + * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Added. + * sysdeps/unix/sysv/linux/powerpc/socket.S: Added. + * sysdeps/unix/sysv/linux/powerpc/syscall.S: Added. + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Added. + * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Added. + * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Added. + * sysdeps/unix/sysv/linux/powerpc/termbits.h: Added. - * locale/programs/charset.c (insert_char): Correctly insert value - of eliipsis expression. +1997-03-05 05:24 Geoff Keating <geoffk@ozemail.com.au> -1997-12-28 15:08 Ulrich Drepper <drepper@cygnus.com> + * elf/dl-runtime.c (fixup): Add ELF_FIXUP_RETURNS_ADDRESS switch, + because knowing the first instruction of a PowerPC PLT trampoline + is not very helpful. - * 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>. - - * Make-dist (sysdep_dirs): Ignore bits dirs while searching. - - * Makefile: Undo last patch. - (distribute): Add test-installation.pl. - - * configure.in: Correct handling of --enable-add-ons without parameter. - Correct address of WWW pages. - - * libc.map: Add _nl_domain_bindings. +1997-03-04 08:04 Geoff Keating <geoffk@ozemail.com.au> - * db2/mutex/tsl_parisc.s: New file. + * elf/dl-load.c (ELF_PREFERRED_ADDRESS, ELF_PREFERRED_ADDRESS_DATA, + ELF_FIXED_ADDRESS): Added. These are for dl-machine.h to indicate + a preference as to where executables should be loaded. - * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c, - and extra-module.mk. +1997-02-28 08:50 Geoff Keating <geoffk@ozemail.com.au> - * localedata/Makefile (distribute): New. Add all the files. + * elf/elf.h: Add in all those PowerPC reloc types. - * 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. - - * include/limits.h: Define MB_LEN_MAX in any case to 6. The gcc - header is still not correct. - - * 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. +1997-02-24 07:12 Geoff Keating <geoffk@ozemail.com.au> - * manual/arith.texi: Change definition of mul macro. - * manual/math.texi: Likewise. + * stdio-common/vfscanf.c: Use __va_copy if available. - * 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. +1997-03-06 13:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/generic/setrlimit64.c: Don't mark as stub. + * malloc/malloc.c (mprotect) [_LIBC]: Define as __mprotect to + clean up namespace. - * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print. +1997-03-07 14:27 Ulrich Drepper <drepper@cygnus.com> - * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma. + * sysdeps/libm-ieee754/s_fpclassify.c (__fpclassify): Don't use + non-existing GET_WORDS macro, use EXTRACT_WORDS. + Reported by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>. - * 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. +1997-03-07 05:27 Ulrich Drepper <drepper@cygnus.com> - * 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. - - * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK, - and SOL_NETROM definition. - - * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S. - - * sysdeps/unix/sysv/linux/net/route.h: Pretty print. - * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print. - -1997-12-25 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/alpha/net/route.h: New file. - - * 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. - - * 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. - -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. + * sysdeps/unix/sysv/linux/i386/sigaction.c: The user- and + kernel-level sigaction structure is different. handle this + correctly. + Bug report by Andreas Jaeger <jaeger@informatik.uni-kl.de>. - * 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. +1997-03-06 05:55 David Engel <david@sw.ods.com> - * nss/digits_dots.c: Pretty print. + * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Also + recognize cache entries with flag == 3. - * posix/getconf.c (vars): Add symbols for programming environment - recognition. Recognize --version. +1997-03-06 01:05 Ulrich Drepper <drepper@cygnus.com> - * 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/netinet/in.h (INADDR_NONE): Cast to unsigned int. + (INADDR_LOOPBACK): Likewise. + * sysdeps/unix/sysv/linux/netinet/in.h: Likewise. - * 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. + * manual/socket.texi: Correct types of INADDR_* constants from + unsigned long to unsigned. - * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c. - * sysdeps/unix/sysv/linux/rt_sigpending.c: New file. +1997-03-05 23:14 Ulrich Drepper <drepper@cygnus.com> - * 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. - - * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8, - SCNu*. - * sysdeps/wordsize-64/inttypes.h: Likewise. - - * time/africa: Update from tzdata1997j. - * time/antarctica: Likewise. + * time/antarctica: Update from tzdata1997c. * 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. - -1997-12-21 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. - -1997-12-20 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. - - * Makerules (.SUFFIXES): Don't define any suffixes. - -1997-12-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * time/zone.tab: Likewise. + +1997-03-05 00:43 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * configure.in (libc_cv_asm_symver_directive, + libc_cv_ld_version_script_option): Remove unknown instruction from + assembler test file. + +1997-03-04 19:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/m68k/fpu/__math.h: Update feature tests to use + __USE_ISOC9X. + [__USE_ISOC9X]: Define __log2 and __exp2 inlines. + (fabs): Remove defininition, it is a gcc builtin. + (sqrt, __sqrt): Remove definition, they have wrappers in libm. + +1997-03-04 10:11 H.J. Lu <hjl@lucon.org> + + * sunrpc/Makefile ($(objpfx)rpc-proto.c): Create subdir before + generating file. + +1997-03-05 03:59 Ulrich Drepper <drepper@cygnus.com> + + * inet/rcmd.c (__ivaliduser): Don't use getline, but __getline + instead to avoid namespace problems. + Reported by David Mosberger-Tang <davidm@AZStarNet.COM>. + +1997-03-03 19:01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * login/utmp_file.c: Fix previous change. Make portable by + checking the _HAVE_UT_* feature macros. + +1997-03-04 04:31 Ulrich Drepper <drepper@cygnus.com> + + * Makerules: Add rules to handle versioning. + * config.h.in (DO_VERSIONING): New macro. + * config.make.in (versioning): New variable. + * configure.in: Add checks for .symver directive in gas and + --version-script option to ld. Define DO_VERSIONING and + versioning if appropriate. + + * math/Makefile (routines): Add s_signbit, s_fpclassify, s_fmax, + s_fmin, and s_fdim. + * math/math.h: Define ISO C 9X constants, macros and functions. + * math/mathcalls.h: Likewise. + * sysdeps/libm-ieee754/s_fdim.c: New file. + * sysdeps/libm-ieee754/s_fdimf.c: New file. + * sysdeps/libm-ieee754/s_fdiml.c: New file. + * sysdeps/libm-ieee754/s_fmax.c: New file. + * sysdeps/libm-ieee754/s_fmaxf.c: New file. + * sysdeps/libm-ieee754/s_fmaxl.c: New file. + * sysdeps/libm-ieee754/s_fmin.c: New file. + * sysdeps/libm-ieee754/s_fminf.c: New file. + * sysdeps/libm-ieee754/s_fminl.c: New file. + * sysdeps/libm-ieee754/s_fpclassify.c: New file. + * sysdeps/libm-ieee754/s_fpclassifyf.c: New file. + * sysdeps/libm-ieee754/s_fpclassifyl.c: New file. + * sysdeps/libm-ieee754/s_signbit.c: New file. + * sysdeps/libm-ieee754/s_signbitf.c: New file. + * sysdeps/libm-ieee754/s_signbitl.c: New file. + + * stdio-common/printf_fphex.c: Correct printing of decimal point + character. + Simplify conversion of mantissa to string. + * stdio-common/vfscanf.c: Handle %A format. + Optimize termination of floating-point scanning. + * stdio-common/tstscanf.c (main): Add new test to scanf to test + scanning float values with given width. + * stdlib/strtod.c: Add handling of floating-point numbers in + hexadecimal notation. + + * stdlib/stdlib.h: Use __USE_ISOC9X feature macro for new long long + functions. + Pretty print #if directives. + * string/string.h: Pretty print #if directives. - * 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. + * sysdeps/ieee754/dbl2mpn.c: Update copyright. + * sysdeps/ieee754/ldbl2mpn.c: Likewise. + * sysdeps/ieee754/mpn2dbl.c: Likewise. + * sysdeps/ieee754/mpn2flt.c: Likewise. + * sysdeps/ieee754/mpn2ldbl.c: Likewise. - * sysdeps/generic/bits/stat.h: Add LFS support. - * sysdeps/generic/bits/statfs.h: Likewise. + * sysdeps/unix/sysv/linux/poll.c: Implement poll function by + falling back to select-based implementation if syscall isn't + available. + * sysdeps/unix/sysv/linux/syscalls.list: Add s_poll. - * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY) - [__USE_FILE_OFFSET64]: Make long long constant. - (RLIM64_INFINITY): Likewise. + * time/leapseconds: Update from tzdata1997b. + * time/zic.c: Update from tzcode1997b. - * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct - for LFS support. - (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define. - * sysdeps/generic/bits/resource.h: Likewise. +1997-03-01 15:08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * misc/Makefile (routines): Add truncate64 and ftruncate64. + * time/Makefile $(tzfiles:%=$(objpfx)z.%): Remove unneeded + depedencies between installed $(tzlinks) and $(tzbases) files. - * include/features.h: Don't prevent LFS support from defining BSD - and SYSV things. +1997-03-01 14:27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * math/math.h: Make compatible with traditional preprocessor; + requires carefull placement of whitespace in macro arguments. + Use __CONCAT instead of ##. + Declare long double functions only if __STDC__ or __GNUC__. + * math/mathcall.h: Avoid whitespace before argument of macro call + that is used as function name. - * 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/m68k/fpu/__math.h: Use __CONCAT instead of ##. + (__m81_u, __m81_inline): Depend on __LIBC_M81_MATH_INLINES instead + of __NO_M81_MATH_INLINES. + [!__LIBC_M81_MATH_INLINES]: Don't define internal functions + starting with __ieee754. + [!__NO_MATH_INLINES && __OPTIMIZE__]: Define user visible + functions as inlines. + (__m81_defun): Put __attribute__ between return type and function + name. + * math/math.h: Include <__math.h> also if __LIBC_M81_MATH_INLINES + is defined. + * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_M81_MATH_INLINES + instead of __NO_M81_MATH_INLINES. + * sysdeps/m68k/fpu/e_fmod.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. De-ANSI-declify. + * 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_modf.c: Likewise. + * sysdeps/m68k/fpu/s_scalbn.c: Likewise. - * 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. +1997-02-27 21:51 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. + * Makefile (tests): Cope with $PATH not including the current + directory. - * 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. +1997-02-27 18:04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/unix/sysv/linux/xstatconv.c: LFS support. + * sysdeps/unix/Makefile ($(common-objpfx)mk-local_lim): Use + $(common-objdir-compile). + ($(common-objpfx)make-ioctls): Likewise. + (mk-local_lim-CFLAGS): Set this instead of local_lim-CFLAGS. + ($(common-objpfx)sys/param.h): Use $(make-target-directory). + ($(addprefix $(common-objpfx),$(sys/param.h-includes))): + Likewise. + ($(common-objpfx)sys/syscall.h): Likewise. + ($(common-objpfx)local_lim.h): Let make deal with command + failure. + ($(common-objpfx)param.h.dep): Use temporary file and update + target atomically. + ($(common-objpfx)errnos): Avoid the Useless Use of cat Award. + (include $(common-objpfx)param.h.dep): Ignore error. + + * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Use + $(common-objdir-compile). + (mk-stdiolim-CFLAGS): Renamed from cded-objdir-includes, use + $(shell pwd) instead of $$cwd. + + * sysdeps/generic/Makefile ($(common-objpfx)det_endian): Use + $(common-objdir-compile). + ($(objpfx)make_siglist): Use $(native-compile). + (make_siglist-CFLAGS): New variable. + + * Makerules (ALL_BUILD_CFLAGS): Renamed from BUILD_CFLAGS, leaving + the old name for the user to pass additional flags to the host + compiler. Fix reference to config header. + (native-compile, common-objdir-compile): Rewritten to make more + generally usable. + * sysdeps/unix/sysv/sysv4/solaris2/Makefile: Set ALL_BUILD_CFLAGS + instead of BUILD_CFLAGS. + + * sysvips/sys/ipc.h: Warn if needed feature select macro are not + defined. -1997-12-18 12:07 Philip Blundell <pb@nexus.co.uk> +1997-02-27 17:11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/generic/bits/statfs.h (struct statfs64): Added. + * sunrpc/Makefile ($(objpfx)rpc-proto.d, $(objpfx)rpc-proto.c): + New rules to generate dependencies for the RPC service objects. - * sysdeps/generic/getrlimit.c: Include <sys/types.h>. - * sysdeps/generic/getrlimit64.c: Likewise. - * sysdeps/generic/setrlimit.c: Likewise. - * sysdeps/generic/setrlimit64.c: Likewise. +1997-02-27 16:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-12-17 13:57 Philip Blundell <pb@nexus.co.uk> + * argp/argp-parse.c (parser_finalize): Always set *END_INDEX if + supplied. - * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not - using versioning. +1997-02-28 03:27 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t. + * stdlib/strtod.c (STRTOF): Make sure return value is large enough + so that clearing second word is necessary. - * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added. + * sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel + header since it is wrong for 64 bit systems. + Patch by a sun <asun@zoology.washington.edu>. -1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-02-27 10:34 Richard Henderson <rth@tamu.edu> - * locale/programs/ld-ctype.c (ctype_output): Clear out the padding - after the codeset name. + * sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386 + and OSF/1 style brk syscalls. We may want to change Linux/Alpha + for the benefit of running foreign binaries. -1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-03-01 20:21 Miles Bader <miles@gnu.ai.mit.edu> - * libc.map: Add get_kernel_syms. + * login/utmp_file.c (pututline_file): Correctly decide whether + LAST_ENTRY matches DATA. + Don't depend on ut_id ever being set. + (proc_utmp_eq): New function. + (internal_getut_r): Renamed from internal_getutid_r. + Use proc_utmp_eq. -1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * login/logout.c (logout): Change type of entry to be DEAD_PROCESS. - * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make - static. - * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): - Likewise. Fix condition. +1997-02-25 19:42 Miles Bader <miles@gnu.ai.mit.edu> -1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/mach/hurd/fcntlbits.h (O_NORW): New macro. - * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen. +1997-02-27 05:12 Ulrich Drepper <drepper@cygnus.com> -1997-12-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * manual/Makefile: Add rules to run and distribute xtract-typefun. + * manual/xtract-typefun.awk: New file. Script to extract function, + variable, macro anchor to put into the `dir' file. + * manual/signal.texi: Document difference between SysV and BSD + signal(3) function and add documentation for sysv_signal. - * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline. - Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC. + * sysdeps/libm-i387/e_acoshl.c: Clear upper half of word containing + exponent before comparing. -1997-12-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-02-27 01:13 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back. - * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this - instead. Oops. + * sysdeps/generic/netinet/in.h (htonl, htons, ntohl, ntohs): Change + prototypes to use types with explicit width. `unsigned long' is + different on 64 bit systems. + * sysdeps/unix/sysv/linux/netinet/in.h: Likewise. + * sysdeps/generic/htonl.c: Likewise. + * sysdeps/generic/htons.c: Likewise. + * sysdeps/generic/ntohl.c: Likewise. + * sysdeps/generic/ntohs.c: Likewise. + Suggested by a sun <asun@zoology.washington.edu>. -1997-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-02-26 08:30 Andreas Jaeger <aj@arthur.pfalz.de> - * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting. + * math/math.h: Include <__math.h> if __NO_MATH_INLINES is not + defined and we want optimization. -1997-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-02-02 19:53 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * math/libm-test.c (catanh_test): Change epsilon. - Reported by H.J. Lu. + * misc/getpass.c: Don't disable canonical input. + Reverted patch of Mon Jan 6 01:35:29 1997. -1997-12-14 19:39 H.J. Lu <hjl@gnu.org> +1996-12-14 22:07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * libc.map (__getpid): Added for linuxthreads. + * libio/libioP.h (_IO_finish_t): Take additional parameter, to + match the hidden __in_chrg parameter of the destructor. + (_IO_FINISH): Pass zero for it. + * libio/genops.c (_IO_default_finish): Add second parameter, which + is ignored. + * libio/memstream.c (_IO_mem_finish): Likewise. + * libio/fileops.c (_IO_file_finish): Likewise. + * libio/strops.c (_IO_str_finish): Likewise. All callers changed. -1997-12-13 21:09 H.J. Lu <hjl@gnu.org> +1997-02-27 00:23 H.J. Lu <hjl@lucon.org> - * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define - it if gcc uses static variable in DWARF2 unwind information - for exception support. + * time/Makefile: Avoid using patterns in dependencies. - * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New. +1997-02-26 00:56 Miguel de Icaza <miguel@nuclecu.unam.mx> - * elf/soinit.c (__libc_global_ctors, _fini): Handle - HAVE_DWARF2_UNWIND_INFO_STATIC. + * elf/rtld.c: Make _dl_start static. Otherwise the linker on the + SPARC will convert the call _dl_start into a call into the PLT. - * libc.map (__register_frame*, __deregister_frame*): Make them - global. + * elf/rtld.c (_dl_start): On the SPARC we need to adjust the value + of arg to make it point to the actual values. -1997-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/sparc/elf/DEFS.h: New ELF specific version. + * sysdeps/sparc/Dist: Mention sysdeps/sparc/elf/DEFS.h. - * math/libm-test.c: Add more tests for "normal" values. + * sysdeps/sparc/bsd-_setjmp.S, sysdeps/sparc/bsd-setjmp.S: Make + them PIC aware. -1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/sparc/dl-machine.h (elf_machine_load_address): + Implemented. + (elf_machine_rela): Make it compile; fix existing relocation + types; add unhandled relocation types. + (ELF_ADJUST_ARG): Get pointer to arguments at program startup. + (RTLD_START): Initial implementation, not yet finished. - * stdio-common/printf_fphex.c: Fix printing of long double number - with a biased exponent of zero. Fix rounding. + * sysdeps/sparc/elf/start.S: Fix. -1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/sparc/fpu_control.h: Remove duplicate declaration of + __setfpucw. - * sunrpc/rpc_main.c: Accept new flag -$. - * sunrpc/Makefile (rpcgen-cmd): Pass it here. + * sysdeps/sparc/divrem.m4: Make compilable under Linux. + * sysdeps/sparc/rem.S, sysdeps/sparc/sdiv.S, sysdeps/sparc/udiv.S, + sysdeps/sparc/urem.S : Regenerated. -1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/sparc/setjmp.S: Make it PIC aware. - * Makefile ($(inst_slibdir)/libc-$(version).so): Install the - dynamic linker first, in case the interface has changed. + * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Define + __ASSEMBLY__ before using kernel header. -1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/sparc/Makefile: Use -mv8 flag to compile + rtld.c. - * nss/nss_files/files-alias.c (get_next_alias): Fix parameter - order. + * sysdeps/unix/sysv/linux/sparc/brk.c: Implement. + * sysdeps/unix/sysv/linux/sparc/profil-counter.h: Remove code + to handle old signals. + * sysdeps/unix/sysv/linux/sparc/sigaction.c: Implements sigaction + for all Linux/SPARC kernels. + * sysdeps/unix/sysv/linux/sparc/syscall.S: Add code to store + errno using __errno_location. + * sysdeps/unix/sysv/linux/sparc/sysdep.h: Add various handler + macros for assembler sources. + * sysdeps/unix/sysv/linux/sparc/errno.c: Define errno. -1997-12-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-02-25 16:02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * math/tgmath.h: Check for double first, for architectures where - sizeof (long double) == sizeof (double). + * elf/rtld.c (dl_main): Remove dead code that is never executed. + Rename local variable l to main_map where it is used to point to + the load_map for the executable. -1997-12-07 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-02-25 15:03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * math/libm-test.c: New tests for "normal" values added for most - functions. + * elf/dl-version.c (_dl_check_all_versions): Ignore libraries that + could not be found. -1997-12-14 21:33 Ulrich Drepper <drepper@cygnus.com> +1997-02-24 23:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * version.h (VERSION): Bump to 2.0.91. + * Makerules: Generate implicit object suffix rules automagically. + (o-iterator): Move before first use. - * db2/makedb.c (process_input): Fix typo in message. - * sunrpc/rpcinfo.c (pmapdump): Unify messages. + * Makeconfig (all-object-suffixes): Add .bo suffix. - * elf/dynamic-link.h: Pretty print. +1997-02-25 15:11 Ulrich Drepper <drepper@cygnus.com> - * elf/rtld.c: Allow multiple preloading of a shared object. + * sysdeps/libm-i387/e_acoshf.S (__ieee754_acoshf): Test correct + word on stack for overflow. - * include/limits.h: Prevent multiple inclusion. +1997-02-24 23:05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> - * 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. + * malloc/malloc.c (malloc_get_state): New function. + Saves global malloc state to an opaque data structure which + is dynamically allocated in the heap. + * malloc/malloc.c (malloc_set_state): New function. + Restore previously obtained state. + * malloc/malloc.h: Add declaration of malloc_get_state() + and malloc_set_state(). - * 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. +1997-02-24 23:27 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/posix/waitid.c: New file. - Provided by Zack Weinberg. + * sysdeps/libm-ieee754/s_cbrtl.c: Shift B1_EXP value to right + position. - * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request. +1997-02-24 17:38 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): - Add missing parameters. + * misc/error.c: Make error and error_at_line weak aliases of + __error and __error_at_line respectively. + Suggested by David Mosberger-Tang <davidm@AZStarNet.COM>. - * 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. + * sysdeps/unix/sysv/linux/i386/socket.S: Update copyright. - * sysdeps/i386/dl-machine.h: Little cleanup. +1997-02-22 11:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions. - (__finite): Mark function as const. - Add inline code for __ieee754_atan2. + * elf/ldd.bash.in: Run the program directly, not as argument + to the dynamic linker, if it contains an interpreter segment. + * elf/ldd.sh.in: Likewise. - * 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. + * elf/rtld.c (dl_main): In verify mode check whether the dynamic + object contains an interpreter segment and exit with 2 if not. - * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as - old_kernel_sigaction. +1997-02-23 01:23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print. + * Makefile (distribute): Remove nsswitch.h, netgroup.h, mcheck.h + and xlocale.h. Make-dist adds them automagically. - * wctype/Makefile (routines): Add wctype_l. - * wctype/wctype.h: Add declaration of __wctype_l. - * wctype/wctype_l.c: New file. +1997-02-22 12:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-12-10 00:38 Ulrich Drepper <drepper@cygnus.com> + * locale/C-time.c (_nl_C_LC_TIME): Add missing entry for + time-era-num-entries. - * 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. +1997-02-06 13:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-12-13 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * rellns-sh: No need to check for existance of first parameter. - * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice. +1997-02-24 15:20 Jonathan T. Agnew <jtagnew@amherst.edu> -1997-12-05 20:19 H.J. Lu <hjl@gnu.org> + * glibcbug.in: Don't mention destination on MAIL_AGENT command line + to avoid duplicate mail. - * iconvdata/Makefile: Fix a typo. +1997-02-24 03:51 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add - oldsiglist for shared library. + * Makefile (distribute): Add isomac.c. + (tests): Run isomac test. - * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist, - sys_sigabbrev): Make them as the default version GLIBC_2.1. + * features.h (__USE_ISOC9X): New macro. - * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist, - sys_siglist, sys_sigabbrev): New file. Make them as the old - version GLIBC_2.0. + * catgets/catgets.c: Don't use global variable `optind'. Instead + use result computed by argp_parse. + * db/makedb: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. - * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added - to GLIBC_2.1. + * libio/stdio.h: Rewrite. Make it more readable and add comments. + + * libio/clearerr.c: Remove clearerr_locked alias. + * libio/feof.c: Remove feof_locked alias. + * libio/ferror.c: Remove feof_locked alias. + * libio/fileno.c: Remove fileno_locked alias. + * libio/fputc.c: Remove fputc_locked alias. + * libio/getc.c: Remove getc_locked alias. + * libio/getchar.c: Remove getchar_locked alias. + * libio/iofflush.c: Remove fflush_locked alias. + * libio/putc.c: Remove putc_locked alias. + * libio/putc.c: Remove putchar_locked alias. + + * stdio-common/printf_fp.c: When number is inifinity print INF + or inf depending on case of specifier. Same for NaN where NAN + or nan is printed. Specified in ISO C 9X. + + * misc/sys/cdefs.h (__restrict): Define to empty string for now. + * stdio/stdio.h: Add __restrict to prototypes where necessary. + * libio/stdio.h: Likewise. + * stdlib/stdlib.h: Likewise. + * string/string.h: Likewise. + * time/time.h: Likewise. + * wcsmbs/wchar.h: Likewise. -1997-11-20 18:02 H.J. Lu <hjl@gnu.ai.mit.edu> + * stdlib/strtod.c: Change to recognize INF, INFINITY, NAN, and + NAN(...). + + * sysdeps/ieee754/huge_val.h: Define HUGE_VALF and HUGE_VALL instead + of HUGE_VALf and HUGE_VALL. + * stdlib/strtof.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALF + instead of HUGE_VALf. + * wcsmbs/wcstof.c: Likewise. + * stdlib/strtold.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALL + instead of HUGE_VALl. + * wcsmbs/wcstold.c: Likewise. - * libio/iofgets.c (_IO_fgets): Return an error only if there - is a new error. - * libio/iogets.c (_IO_gets): Ditto. + * sysdeps/posix/gai_strerror.c: Use size_t for counter variable to + avoid warning. -1997-11-20 07:26 H.J. Lu <hjl@gnu.ai.mit.edu> + * wcsmbs/Makefile (routines): Add wcscasecmp and wcsncase. + * wcsmbs/wchar.h: Add prototypes for wcscasecmp and wcsncase. + * wcsmbs/wcscasecmp.c: New file. + * wcsmbs/wcsncase.c: New file. - * libc.map (_IO_fdopen): Add support for GLIBC_2.0. + * stdlib/strtol.c: Define wide character quad word functions as + wcstoll and wcstoull and normal versions as strtoll and strtoull. + * wcsmbs/wchar.h: Add prototypes for wcstoll and wcstoull. + * wcsmbs/wcstoq: Renamed to wcstoll.c. + * wcsmbs/wcstouq: Renamed to wcstoull.c. + * wcsmbs/wcstoll.c: Renamed from wcstoq.c. Make wcstoq a weak + alias of wcstoll. + * wcsmbs/wcstoull.c: Renamed from wcstouq.c. Make wcstouq a weak + alias of wcstoull. + * wcsmbs/Makefile (routines): Replace wcstoq and wcstouq by + wcstoll and wcstoull respectively. + * stdlib/strtoq.c: Rename to strtoll.c. + * stdlib/strtouq.c: Rename to strtoull.c. + * stdlib/strtoll.c: Renamed from strtoq.c. Make strtoq a weak + alias of strtoll. + * stdlib/strtoll.c: Renamed from strtouq.c. Make strtouq a weak + alias of strtoull. + * stdlib/Makefile (routines): Replace strtoq and strtouq by + strtoll and strtoull respectively. + * stdio-common/vfscanf.c: Don't use __strtoq_internal and + __strtouq_internal but instead __strtoll_internal and + __strtoull_internal respectively. + * stdlib/stdlib.h (strtoq): Use __internal_strtoll in inline version. + (strtouq): Similar with __internal_strtoull. + * wcsmbs/wchar.h (wcstoq): Use __internal_wcstoll in inline version. + (wcstouq): Similar with __internal_wcstoull. + +1997-02-23 04:38 Ulrich Drepper <drepper@cygnus.com> + + * stdlib/strtol.c (STRTOL): It is not illegal to parse a minus + sign in the strtouXX functions. The results gets simply negated. + * stdio-common/tstscanf.c: Add testcase for above case. + * stdlib/tst-strtol.c: Correct tests. + + * manual/stdio-fp.c: New file. Generate output for example program + in stdio.texi. + + * stdio-common/Makefile (routines): Add printf_fphex. + * stdio-common/vfprintf.c: Add handling of %a and %A specifier. + * stdio-common/printf_fphex.c: New file. Implement %a and %A + specifier. + +1997-02-22 03:01 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/sysv/linux/timebits.h (CLK_TCK): Don't defined if + __STRICT_ANSI__. + + * math/math.h: Prevent definition of struct exception when using + C++. Use __exception instead. + +1997-02-22 01:45 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/syscalls.list: Dup takes only one argument. + Reported by Greg McGary. + +1997-02-21 00:22 Miles Bader <miles@gnu.ai.mit.edu> + + * sysdeps/mach/hurd/readlink.c (__readlink): Use io_read rather + than file_get_translator. + + * sysdeps/mach/hurd/defs.c, sysdeps/stub/defs.c, sysdeps/posix/defs.c + (_cleanup): Use __fcloseall instead of fclose with a NULL stream. + +1997-02-20 01:28 Miles Bader <miles@gnu.ai.mit.edu> + + * hurd/fchroot.c (fchroot): Reparent DIR to make it a real root. + * sysdeps/mach/hurd/chroot.c (chroot): Likewise. + +1997-02-19 13:56 Miles Bader <miles@gnu.ai.mit.edu> + + * sysdeps/mach/hurd/accept.c (accept): Don't segv if ADDR_LEN == 0 + but ADDR also == 0. + + * hurd/report-wait.c (_hurd_itimer_thread): Make a weak alias for + now instead of a weak extern, as some old programs expect it to be + defined by ld.so. + +1997-02-18 15:39 Miles Bader <miles@gnu.ai.mit.edu> + + * hurd/hurdfault.c (_hurdsig_fault_preempter): New weak alias. + + * sysdeps/mach/hurd/dl-sysdep.c (__hurd_threadvar_max, + __hurd_threadvar_stack_offset): Restore initialized versions, so + startup works correctly. + + * malloc/thread-m.h (mutex_trylock): Invert sense of return value. + +1997-02-17 10:58 Miles Bader <miles@gnu.ai.mit.edu> + + * malloc/thread-m.h (mutex_trylock): Define to be __mutex_trylock, + not __mutex_try_lock. + (tsd_setspecific): Cast DATA to (unsigned long) before storing. + (tsd_getspecific): Case variable to (void *) before returning. + + * hurd/hurdinit.c (__libc_argv): Remove extern. + (__libc_argc): New variable. + +1997-02-15 10:23 Miles Bader <miles@gnu.ai.mit.edu> + + * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add + _HURD_THREADVAR_MALLOC. + * malloc/thread-m.h + [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER] + (mutex_lock, mutex_unlock, mutex_trylock): Defined in terms of + __mutex_*. + (mutex_t): Type removed & replaced by new macro. + (tsd_key_t): Typedef to int instead of pthread_key_t. + (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros. + (__pthread_initialize): New macro, work around assumption of pthreads. + (tsd_keys_alloced): New static variable. + <hurd/threadvar.h>: New include. + + * hurd/report-wait.c (_hurd_itimer_thread): Make a weak extern. + (_S_msg_report_wait): Check to see if _hurd_itimer_thread is + defined before using it. - * libio/Makefile (routines, shared-only-routines): Add - oldiofdopen. + * sysdeps/mach/hurd/i386/init-first.c (__libc_argv, __libc_argc): + Make extern. + * hurd/hurdinit.c (__libc_argv): Make extern. - * 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. + * hurd/getdport.c (_default_hurd_getdport_fn): New variable. + (_hurd_getdport_fn): Now a weak alias to _default_hurd_getdport_fn. - * libio/genops.c (_IO_init): Set _vtable_offset to 0. + * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max, + __hurd_threadvar_stack_offset, + __hurd_threadvar_stack_mask): New variables. + * hurd/hurdsig.c (__hurd_sigthread_stack_base, + __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables): + New variables (moved here from hurdstartup.c). + * hurd/hurdstartup.c (__hurd_sigthread_stack_base, + __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables): + Variables removed (moved to hurdsig.c). + (__hurd_threadvar_max, __hurd_threadvar_stack_offset, + __hurd_threadvar_stack_mask): Variables removed. + * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base, + __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables, + __hurd_threadvar_max, __hurd_threadvar_stack_offset, + __hurd_threadvar_stack_mask): Variables removed. - * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen - and make it for _IO_fdopen/fdopen version GLIBC_2.1. +1997-02-14 14:07 Miles Bader <miles@gnu.ai.mit.edu> - * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose, - _IO_old_fdopen, _IO_new_fdopen): New declaration. + * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync): + Declare extern. - * 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. + * malloc/thread-m.h + [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER] + (mutex_t): Type removed. + (mutex_t): New macro. + (mutex_trylock): New macro. + (__x_mutex_lock, __x_mutex_unlock): New functions. + (mutex_lock, mutex_unlock): New macros, redefining the behavior of + the cthread definitions. + (tsd_key_t): Typedef to cthread_key_t instead of pthread_key_t. + (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros. + (mutex_lock, mutex_unlock, mutex_trylock, mutex_init): Macros removed. + (__pthread_initialize): New macro, work around assumption of pthreads. - * 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. +1997-02-11 05:27 Ulrich Drepper <drepper@cygnus.com> + + * locale/weight.h (collate_rules): It's an u_int32_t array. + (get_weight): Compute initial SLOT value correctly. + +1997-02-24 17:06 Geoffrey Keating <geoffk@discus.anu.edu.au> + + * sysdeps/unix/sysv/linux/accept.S (NARGS): Describe number of + arguments taken, for sysdeps/unix/sysv/linux/powerpc/socket.S. + * sysdeps/unix/sysv/linux/bind.S: Likewise. + * sysdeps/unix/sysv/linux/connect.S: Likewise. + * sysdeps/unix/sysv/linux/getpeername.S: Likewise. + * sysdeps/unix/sysv/linux/getsockname.S: Likewise. + * sysdeps/unix/sysv/linux/getsockopt.S: Likewise. + * sysdeps/unix/sysv/linux/listen.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. + * sysdeps/unix/sysv/linux/setsockopt.S: Likewise. + * sysdeps/unix/sysv/linux/shutdown.S: Likewise. + * sysdeps/unix/sysv/linux/socketpair.S: Likewise. - * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE. - * libio/oldiofclose.c: Ditto. - * libio/oldiofopen.c: Ditto. - * libio/oldstdfiles.c: Ditto. +1997-02-22 00:17 Ulrich Drepper <drepper@cygnus.com> - * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset - for the old _IO_FILE. + * catgets/gencat.c: Change to use argp. + * db/makedb: Likewise. + * locale/programs/localedef.c: Likewise. - * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME. - (_IO_check_libio): Set _vtable_offset for old stdin, stdout - and stderr. + * locale/programs/locale.c: Little adjustment for better usage of + argp. - * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete - and remove INAME. +1997-02-20 20:07 Greg McGary <gkm@eng.ascend.com> - * libio/stdio.c (stdin, stdout, stdin): Don't use - _IO_FILE_complete. + * Makeconfig: Add rules for libc with bounded pointers. + * Makerules: Likewise. + * config.make.in: Likewise. + * configure.in: Likewise. - * libio/oldiofdopen.c: New. +1997-02-21 10:41 Miles Bader <miles@gnu.ai.mit.edu> - * stdio-common/vfprintf.c (buffered_vfprintf): Set - hp->_vtable_offset to 0. + * argp/argp.h (OPTION_NO_USAGE): New macro. + * argp/argp-help.c (usage_long_opt, usage_argful_short_opt, + add_argless_short_opt): Implement OPTION_NO_USAGE. -1997-11-18 08:03 H.J. Lu <hjl@gnu.ai.mit.edu> +1997-02-20 16:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * libc.map (_IO_file_open): Added. + * malloc/obstack.h: Fix typo. - * libio/libioP.h (_IO_file_open): Declared. +1997-02-20 15:56 Miles Bader <miles@gnu.ai.mit.edu> - * libio/fileops.c (_IO_file_open): New. - (_IO_file_fopen): Call _IO_file_open (). + * argp/argp-fmtstream.c (__argp_fmtstream_update): Account for case + where NEXTLINE points one past the end of the active buffer. - * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN. - * sysdeps/unix/sysv/linux/_G_config.h: Likewise. + * argp/argp-help.c <stddef.h>: New include. + (__argp_failure): Only exit if STATE says it's ok. + (print_header, hol_entry_help): Use UPARAMS fields rather than + constants. + (_help): Call fill_in_uparams if necessary. + (struct hol_help_state): New type. + (struct pentry_state): Add hhstate field. Remove prev_entry & + sep_groups fields. + (hol_entry_help): Add HHSTATE parameter. Remove prev_entry & + sep_groups parameters. + Suppress duplicate arguments if requested, and note the fact. + (print_header, comma): Use PEST->hhstate fields. + (hol_help): Add HHSTATE variable & pass to hol_entry_help. + Remove LAST_ENTRY & SEP_GROUPS variables. + If any suplicate arguments were suppressed, print explanatory note. + (filter_doc): Replace PEST parameter with STATE. + (struct uparams): New type. + (uparams): New variable. + (struct uparam_name): New type. + (uparam_names): New variable. + (fill_in_uparams): New function. + (__argp_failure, __argp_error, __argp_state_help): Make STATE + parameter const. + * argp/argp.h (argp_state_help, __argp_state_help, argp_usage, + __argp_usage, argp_error, __argp_error, argp_failure, + __argp_failure): Make STATE parameter const. + (ARGP_KEY_HELP_DUP_ARGS_NOTE): New macro. -1997-12-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * argp/argp.h (argp_program_bug_address): Make const. - * signal/signal.h: Fix selection of signal semantics to match - comment. +1997-02-20 19:20 Ulrich Drepper <drepper@cygnus.com> -1997-12-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/mman/syscalls.list: Explain msync interface. - * 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. +1997-02-19 01:37 Erik Troan <ewt@redhat.com> -1997-12-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields. - * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>. Fix - declarations. +1997-02-20 14:44 Andreas Jaeger <aj@arthur.pfalz.de> -1997-12-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * stdio-common/test-fseek.c: Remove temporary file, add + copyright. - * iconvdata/extra-module.mk: Expand extra-objs now. +1997-02-20 17:51 Ulrich Drepper <drepper@cygnus.com> -1997-12-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/generic/netinet/in.h: Protect contents using + __BEGIN/END_DECLS. Reported by a sun <asun@zoology.washington.edu>. - * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of - inline functions by feature tests to avoid warning about missing - prototype declarations. + * inet/net/ethernet.h: Move to sysdeps/unix/sysv/linux/net. + * inet/Makefile (headers): Remove net/ethernet.h. + * sysdeps/unix/sysv/linux/Makefile: Install net/ethernet.h. + * sysdeps/unix/sysv/linux/Dist: Distribute net/ethernet.h. -1997-12-09 15:08 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> +1997-02-20 15:23 Thorsten Kukuk <kukuk@weber.uni-paderborn.de> - * 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. + * nss/nsswitch.c (__nss_configure_lookup): Use correct test when + searching in sorted array. -1997-12-10 13:52 Philip Blundell <pb@nexus.co.uk> +1997-02-20 01:24 Philip Blundell <pjb27@cam.ac.uk> - * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added. - (EIO): Likewise. - (ENOSPC): Likewise. - (EEXIST): Likewise. - (__errno_location): Likewise. + * inet/getnameinfo.c: Change to use reentrant getXXbyYY functions + and protect modification of global data. - * sysdeps/generic/sys/param.h (MAXPATHLEN): Added. +1997-02-19 18:48 Miles Bader <miles@gnu.ai.mit.edu> - * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t. + * argp/argp-parse.c (argp_default_parser): Set STATE->name for OPT_PROGNAME. + (parser_init): Use the basename for PARSER->state.name. + * argp/argp-help.c (__argp_error, __argp_failure, __argp_state_help): + Use PROGRAM_INVOCATION_SHORT_NAME instead of PROGRAM_INVOCATION_NAME. -1997-12-09 08:10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * argp/argp-parse.c (parser_init): Set PARSER->state.flags. + Make check whether PARSER has the prog name in argv[0] at the + proper place. - * sunrpc/publickey.c: Use new NSS interface. +1997-02-19 23:34 Ulrich Drepper <drepper@cygnus.com> -1997-12-09 03:08 Ulrich Drepper <drepper@cygnus.com> + * locale/programs/ld-time.c (time_finish): t_fmt_ampm is optional. + Use default value instead of printing a warning. - * manual/malloc.texi: Document mtrace/muntrace and the concept. + * nss/XXX-lookup.c: Add missing explanation. -1997-12-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-02-19 19:14 Andreas Jaeger <aj@arthur.pfalz.de> - * 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. + * inet/in6_addr.c: Add missing braces. -1997-12-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * inet/getnameinfo.c: Include <arpa/inet.h>. - * manual/signal.texi (Signal Stack): Remove spurious @item. + * sysdeps/posix/getaddrinfo.c: Include <arpa/inet.h>. -1997-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-02-19 11:46 Ulrich Drepper <drepper@cygnus.com> - * rt/aio.h: Remove double semicolon. + * string/strxfrm.c (STRCOLL): Correct handling of `position' + levels with no non-IGNOREd element and handling of NUL byte. + * string/strcoll.c (STRXFRM): Likewise. + * locale/weight.h: Likewise. - * rt/librt.map: Add aio_init. + * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'. -1997-12-08 03:24 Ulrich Drepper <drepper@cygnus.com> +1997-02-19 03:28 Miles Bader <miles@gnu.ai.mit.edu> - * Makeconfig: Define $(rt) to rt if linuxthreads is available. - * Makefile (subdirs): Replace rt by $(rt). + * argp/argp-help.c: Add support for user provided filter of help + messages. + * argp/argp-parse.c: Likewise. + * argp/argp.h: Likewise. + * argp/argp-namefrob.h: Define __argp_input. - * shlib-versions: Use version .2 for NSS modules. + * argp/argp-test.c: Add example for filter. - * 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-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-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. +1997-02-19 02:58 Ulrich Drepper <drepper@cygnus.com> - * 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. + * argp.h: New file. + * locale/programs/locale.c: Switch to use argp. -1997-12-04 10:40 Philip Blundell <pb@nexus.co.uk> + * errno.h: Make it possible to get definition of error_t even + after having errno.h already. - * 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. + * elf/dl-hash.h: New file. ELF hashing function. Extracted + from dl-lookup.c. + * elf/dl-lookup.c (_dl_elf_hash): Remove definition. - * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not - size_t. + * elf/dl-load.c: Rename _dl_does_name_match_p to _dl_name_match_p. + * elf/dl-version.c: Likewise. - * sysdeps/generic/syscall.c (syscall): Return value and arg are - long, to match prototype. + * elf/dl-lookup.c: Implement new versioning lookup scheme. + * elf/dl-version.c (_dl_check_map_versions): Initialize new field + in l_versions member. - * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't - have mremap() yet. + * elf/dlvsym.c: Correct call of _dl_lookup_versioned_symbol_skip + and _dl_lookup_versioned_symbol. - * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype. + * elf/link.h: Rename hash_name_pair to struct r_found_version. + * sysdeps/alpha/dl-machine.h: Likewise. + * sysdeps/i386/dl-machine.h: Likewise. + * sysdeps/m68k/dl-machine.h: Likewise. + * sysdeps/mips/dl-machine.h: Likewise. - * sysdeps/unix/sysv/linux/arm/syscalls.list: New file. + * intl/l10nflist.c: (_nl_make_l10nflist): Fix bug in computation of + length of abs_filename. - * sysdeps/generic/bits/time.h: Use __time_t not time_t. + * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH. - * sysdeps/generic/bits/resource.h: Include <bits/types.h> for - __rlim_t. + * locale/programs/ld-monetary.c (monetary_add): Allow value 0 + in mon_grouping information. This means no more grouping. + * locale/programs/ld-numeric.c (numeric_add): Write value \377 + when seein value 0 in grouping information. + * locale/programs/linereader.c (lr_close): Don't free fname since + it might be used in error messages. - * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added. + * locale/programs/locale.c: Check whether output of `locale -a' + really is locale directory. Also print locale aliases. - * sysdeps/generic/bits/dirent.h (struct dirent64): Added. + * misc/search.h (__action_fn_t): Parameters VALUE and LEVEL cannot + be const. - * io/sys/stat.h (S_ISLNK): Always false if we don't have - __S_IFLNK. +1997-02-19 02:16 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/standalone/close.c (_STDIO_H): Define before including - <bits/stdio_lim.h>. - * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise. + * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Correct #defin to + #define. Reported by Rick Flower <FLOWER@sdvax2.sdd.TRW.COM>. -1997-12-06 01:09 Ulrich Drepper <drepper@cygnus.com> +1997-02-19 01:37 Erik Troan <ewt@redhat.com> - * posix/sys/wait.h: Don't use transparent unions in C++. + * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields. -1997-12-05 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-02-19 01:02 Ulrich Drepper <drepper@cygnus.com> - * time/time.h: Add strfxtime. + * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments. + Reported by Andreas Jaeger <aj@arthur.pfalz.de>. - * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs, - sysv_signal, strfxtime, pread64, pwrite64. + * sysdeps/stub/msync.c (msync): Add missing third parameter. -1997-11-30 21:57 Richard Henderson <rth@cygnus.com> +1997-02-19 00:29 Ulrich Drepper <drepper@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. + * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed + additional argument. -1997-12-05 00:01 Ulrich Drepper <drepper@cygnus.com> +1997-02-18 22:13 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. + * inet/net/ethernet.h: New file. + * sysdeps/unix/sysv/linux/netinet/if_ether.c: Add BSD compatibility. + * sysdeps/unix/sysv/linux/net/if_slip.h: New file. + Contributed by a sun <asun@zoology.washington.edu>. - * FAQ.in: New file. - * gen-FAQ.pl: New file. - * Makefile (FAQ): Add rule to generate from FAQ.in. + * sysdeps/unix/sysv/linux/net/if_arp.h: Include <sys/socket.h>. + * sunrpc/rpc/rpc_msg.h: Include <rpc/clnt.h>. + Reported by a sun <asun@zoology.washington.edu>. - * iconvdata/Makefile: Treat libJIS like the other modules. +1997-02-16 14:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * rt/librt.map: New file. + * Makerules ((common-objpfx)distinfo-$(subdir)): Depend on sysdep + makefiles which may change the distinfo variables. - * sysdeps/wordsize-32/bits/environments.h: Add test for direct - inclusion. - * sysdeps/wordsize-64/bits/environments.h: Likewise. Correct - comment. +1997-02-16 14:03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-12-04 22:29 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) + [$(subdir)=misc]: Add sys/quota.h. + (sysdep_headers) [$(subdir)=inet]: Add netinet/udp.h. - * 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-02-17 13:12 aleph1@dfw.net -1997-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sunrpc/clnt_simp.c (callrpc): Prevent buffer overflow by using + strncpy. - * string/bits/string2.h: Fix spellings. +1997-02-18 03:28 Ulrich Drepper <drepper@cygnus.com> - * string/string.h: Fix spellings. + * stdio-common/bug10.c (main): Correct parameter. -1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-02-17 02:51 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern - declaration to __syscall_rt_sigaction. + * malloc/obstack.h: Add `extern "C"' protection. + * posix/regex.h: Likewise. + * io/ftw.h: Likewise. + * misc/libgen.h: Likewise. + * login/utmp.h: Likewise. + * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise. + * sysdeps/unix/sysv/linux/netinet/in.h: Likewise. + * sunrpc/rpc/pmap_rmt.h: Likewise. + * sunrpc/rpc/auth_des.h: Likewise. + * elf/link.h: Likewise. + Reported by HJ Lu. - * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of - non-existant <sigcontext.h>. +1997-02-17 01:45 a sun <asun@zoology.washington.edu> -1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de> + Linux specific network headers. + * sysdeps/unix/sysv/linux/netinet/if_fddi.h: New file. + * sysdeps/unix/sysv/linux/netinet/if_tr.h: New file. + * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: New file. + * sysdeps/unix/sysv/linux/netinet/ip_fw.h: New file. + * sysdeps/unix/sysv/linux/netinet/igmp.h: New file. + * sysdeps/unix/sysv/linux/netinet/icmp.h: New file. + * sysdeps/unix/sysv/linux/netinet/ip.h: New file. + * sysdeps/unix/sysv/linux/netinet/tcp.h: New file. + * sysdeps/unix/sysv/linux/netipx/ipx.h: New file. + * sysdeps/unix/sysv/linux/netatalk/atalk.h: New file. + * sysdeps/unix/sysv/linux/Dist: Add new network headers. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers): + Add sys/quota.h. + [$(subdir)=inet] (sysdep_headers): Add new network header. - * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct - typo. + * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes. -1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * inet/netinet/ip.h: Move to sysdeps/generic. + * inet/netinet/tcp.h: Likewise. + * sysdeps/generic/netinet/ip.h: Moved to here from inet/netinet. + * sysdeps/generic/netinet/tcp.h: Likewise. - * sysdeps/wordsize-64/bits/environments.h: Correct spelling. +1997-02-17 01:18 Ulrich Drepper <drepper@cygnus.com> - * Makeconfig (shared-thread-library): Correct spelling. + * misc/sys/syslog.h (prioritynames): Correct definition to use + braces where necessary. + (facilitynames): Likewise. + Patch by Ronald F. Guilmette <rfg@monkeys.com>. + Comment and beautify declarations. - * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not - <asm/pci.h>. +1997-02-16 19:54 1997 Philip Blundell <Philip.Blundell@pobox.com> -1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * inet/Makefile (routines): Add in6_addr, getnameinfo. + * inet/getnameinfo.c: New file. Implementation of getnameinfo() + by Craig Metz. + * inet/in6_addr.c: New file. IPv6 addressing constants. + * posix/Makefile (routines): Add gai_strerror. + * resolv/netdb.h: Add more constants for IPv6 basic API. + * sysdeps/posix/gai_strerror.c: New file. + * sysdeps/stub/gai_strerror.c New file. + * sysdeps/unix/sysv/linux/netinet/in.h: Add definitions for IPv6 + basic API. - * 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] + * sysdeps/posix/getaddrinfo.c: Update from latest version by + Craig Metz and use reentrant getXXbyYY functions. -1997-12-04 10:21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> +1997-02-15 14:32 Andreas Jaeger <aj@arthur.pfalz.de> - * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval. + * argp/argp.h: Declare argp_program_version as const char. + * argp/argp-test.c: Likewise -1997-12-04 00:06 Zack Weinberg <zack@rabi.phys.columbia.edu> + * stdlib/testrand.c (main): Declare main prototype. + * stdlib/testdiv.c (main): Likewise. + * string/testcopy.c (main): Likewise. + * string/test-ffs.c (main): Likewise. + * time/test_time.c (main): Likewise. - * configure.in: If --enable-add-ons is given without an - argument, set the addons list to all subdirs with a configure - script. + * locale/duplocale.c (__duplocale): Return result. -1997-12-03 23:50 Ulrich Drepper <drepper@cygnus.com> +1997-02-16 03:54 Ulrich Drepper <drepper@cygnus.com> - * Makeconfig: Add shared-thread-library variable. + * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport. + Reported by fabsoft@fabserver1.zarm.uni-bremen.de. - * 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. + * nss/nss.h: Remove declaration of __nss_shlib_revision. + * nss/nsswitch.c: Don't use NSS_SHLIB_VERSION macro. - * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print. +1997-02-16 03:48 Thorsten Kukuk <kukuk@weber.uni-paderborn.de> - * sysdeps/unix/sysv/linux/sys/pci.h: New file. + * nis/nss_nis/nis-ethers.c (_nss_nis_getethernam_r): Rename to + _nss_nis_gethostton_r. + (_nss_nis_getetherbyaddr_r): Rename to _nss_nis_getntohost_r. -1997-12-03 Ulrich Drepper <drepper@cygnus.com> +1997-02-15 22:37 Andy Berkheimer <andy@tho.org> - * posix/sys/wait.h: Use __transparent_union__ instead of - transparent_union. Reported by Roland McGrath. + * resolv/gethnamaddr.c (gethostbyname2): Test for ':' in name before + trying to resolv name as numeric IPv6 address. + * nss/digits_dots.c: Likewise. -1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-02-15 04:51 Ulrich Drepper <drepper@cygnus.com> - * 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]. + * locale/setlocale.c (setlocale): Don't try to be clever about + unused locales. When the existence of the locale files isn't + tested the result of setlocale might be different. - * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t. +1997-02-15 03:34 Ulrich Drepper <drepper@cygnus.com> - * inet/arpa/inet.h: Change types of inet_neta and inet_addr. + * locale/setlocale.c (setlocale): Don't increment usage_count of + new locale if it already has the value MAX_USAGE_COUNT (it might + be the C locale data which is read-only). -1997-12-03 20:40 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> +1997-02-15 02:41 Miles Bader <miles@gnu.ai.mit.edu> - * grp/initgroups.c: Increase buffer if it is too small. + * argp/argp-help.c: Gettextize sources. + * argp/argp-parse.c: Likewise. -1997-12-03 Ulrich Drepper <drepper@cygnus.com> +1997-02-13 22:32 Ulrich Drepper <drepper@cygnus.com> + + * features.h (__GLIBC_MINOR__): Bump to 1. + + * xlocale.h: New file. Wrapper around locale/xlocale.h. + * Makefile (distribute): Add xlocale.h. + * locale/Makefile (routines): Add ctype_l. + * locale/ctype-extn.c: Update copyright. De-ANSI-declfy. + Add __isblank_l, __toascii_l and __isascii_l. + * ctype/ctype.h: Add definitions and declarations for *_l functions. + * locale/Makefile (headers): Add xlocale.h. + (routines): Add newlocale, duplocale, and freelocale. + * locale/localeinfo.h (MAX_USAGE_COUNT): New macro. + (struct locale_data): Add new fields mmaped and usage_count. + Correct various declarations. + * locale/C-collate.c: Define value for new fields mmaped and + usage_count. + * locale/C-ctype.c: Likewise. + * locale/C-messages.c: Likewise. + * locale/C-monetary.c: Likewise. + * locale/C-numeric.c: Likewise. + * locale/C-time.c: Likewise. + * locale/loadlocale.c (_nl_load_locale): Initialize mmaped and + usage_count fields. + * locale/locale.h: Don't define locale_t here (moved to xlocale.h). + Correct prototypes for __newlocale and __freelocale. + Add prototype for __duplocale. + * locale/findlocale.c (copy): Remove function. Use __strdup instead. + (_nl_remove_locale): New function. + * locale/nl_langinfo.c: Don't declare locale_data objects as const. + * locale/setlocale.c: Likewise. + * locale/weight.h: Change for use with locale objects. + * locale/xlocale.h: New file. Define __locale_t type. + * locale/newlocale.c: New file. Create new locale object. + * locale/freelocale.c: New file. Destroy locale object. + * locale/duplocale.c: New file. Create copy of locale object. + * stdlib/Makefile (routines): Add strfmon_l. + * stdlib/monetary.h [__USE_GNU]: Declare __strfmon_l. + * stdlib/strfmon.c: Add support for use in extended locale model. + * stdlib/strfmon_l.c: New file. + * string/Makefile (routines): Add strcoll_l and strxfrm_l. + * string/strcoll.c: Change for use in extended locale model. + * string/strxfrm.c: Likewise. + * string/strcoll_l.c: New file. Implement __strcoll_l function. + * string/strxfrm_l.c: New file. Implement __strxfrm_l function. + * wcsmbs/Makefile (routines): Add wcscoll_l and wcsxfrm_l. + * wcsmbs/wchar.h [__USE_GNU]: Declare wcscoll_l and wcsxfrm_l. + * wcsmbs/wcscoll.c: Change for use in extended locale model. + * wcsmbs/wcscoll_l.c: New file. Implement __wcscoll_l function. + * wcsmbs/wcsxfrm_l.c: New file. Implement __wcsxfrm_l function. + * wctype/Makefile (routines): Add wcextra, wcfuncs_l, iswctype_l, + and towctrans_l. + * wctype/cname-lookup.h: Prepare for use in extended locale model. + * wctype/iswctype_l.c: New file. Implement character classification + functions for use with locale objects. + * wctype/wctype.h: Declare functions for use with locale objects. + * wctype/towctrans_l.c: New file. Implement __towctrans_l function + for use with locale objects. + * wctype/wcfuncs_l.c: New file. Implement wide character + classification functions for use with locale objects. + * wctype/wcextra.c: New file. Implement real functions for + non-standard classification functions. + + * elf/ldd.bash.in: Don't use --data-relocs and --function-relocs + parameters to ld.so. Use environment variables. + * elf/ldd.sh.in: Likewise. + * elf/rtld.c: Remove handling of --data-relocs and --function-relocs + options. Instead read environment variables. + + * elf/link.h (receiver_fct): Add new argument to take error code. + * elf/dl-error.c (_dl_signal_error): Call receiver function with + another argument. + + * elf/dl-object.c (_dl_new_object): Create new object with list of + names in l_libname member. + * elf/dl-load.c (_dl_map_object_from_fd): Add name which was used to + find to object to the list in the link_map variable. + (_dl_map_object): Use _dl_does_name_match_p to compare with all + available names of the object. + Optimize handling of LD_LIBRARY_PATH a bit. + * elf/rtld.c: Initialize l_libname member of _dl_rtld_map. + + * elf/dl-lookup.c (_dl_elf_hash): Optimize function. + + * elf/Makefile (routines): Add dl-version. + * elf/link.h (hash_name_pair): New type. Group pointer to string + and its hash value. + (struct link_map): Change l_libname member to be a list of names, + not a single pointer to a name. + Add new members l_nversions and l_versions. + (_dl_does_name_match_p): New function to test for all names of an + object. + Add prototypes for new lookup and versioning functions. + * elf/dl-lookup.c (do_lookup): Add new argument and handle case + when versioned symbol is requested. + (_dl_lookup_symbol): Call do_lookup with another argument. + (_dl_lookup_symbol_skip): Likewise. + (_dl_lookup_versioned_symbol): New function. Handle lookup of + versioned symbol. + (_dl_lookup_versioned_symbol_skip): Likewise, similar to + _dl_lookup_symbol_skip. + * elf/dl-reloc.c (RESOLVE): Call _dl_lookup_versioned_symbol or + _dl_lookup_symbol depending on availability of version information. + * elf/dl-runtime.c (RESOLVE): Likewise. + (fixup): Call elf_machine_relplt with additional argument to point + to versioning information if available. + * elf/do-rel.h (elf_dynamic_do_rel): Likewise. + * elf/dl-open.c (_dl_open): Call _dl_check_map_versions to check + for correct versions. + * elf/dl-version.c: New file. Check library versions and extract + version information for easier access. + * elf/dlfcn.h [__USE_GNU]: Add prototype for dlvsym. + * elf/dlvsym.c: New file. Implementation of function similar to + dlsym, but looks for versioned symbol. + * elf/elf.h: Add types and macros for versioning. + * elf/rtld.c (dl_main): Check availability of needed versions. + * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add additional + argument for version information. Call RESOLVE with additional + argument. + * sysdeps/i386/dl-machine.h: Likewise. + * sysdeps/m68k/dl-machine.h: Likewise. + * sysdeps/mips/dl-machine.h: Likewise. - * 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. + * elf/dlerror.c: Change comment to align with guidelines. + * elf/dlopen.c: Likewise. + * elf/dlsym.c: Likewise. -1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * locale/programs/localedef.c: Implement --quiet option. + * locale/programs/charset.h: Declare be_quiet variable. + * locale/programs/locfile.h: Likewise. + * locale/programs/charmap.c: Don't print warnings if quiet option + was given. + * locale/programs/ld-collate.c: Likewise. + * locale/programs/ld-ctype.c: Likewise. + * locale/programs/ld-messages.c: Likewise. + * locale/programs/ld-monetary.c: Likewise. + * locale/programs/ld-numeric.c: Likewise. + * locale/programs/ld-time.c: Likewise. + * locale/programs/locfile.c: Likewise. - * sysdeps/i386/sys/ucontext.h (enum): Add missing commata. + * Makefile (subdirs): Add argp. -1997-12-03 08:58 Philip Blundell <pb@nexus.co.uk> + * catgets/catgets.c (catopen): Little code improvement. - * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines - _SYS_UTSNAME_H not _UTSNAME_H. + * posix/execl.c: Remove restriction to 1024 arguments. + * posix/execle.c: Likewise. + * posix/execlp.c: Likewise. + + * posix/getopt.c [_LIBC]: Define global objects with __ prefix + and make regular names weak aliases. + * posix/getopt1.c: Likewise. + * posix/getopt.h [_LIBC]: Provide prototypes and declarations for + __ protected forms. + + * posix/unistd.h: Add prototype for __sleep. + * sysdeps/mach/sleep.c: Make sleep weak alias of __sleep. + * sysdeps/posix/sleep.c: Likewise. + * sysdeps/stub/sleep.c: Likewise. + * sysdeps/unix/sysv/linux/sleep.c: Likewise. + + * ctype/ctype-info.c: Update copyright. + * ctype/ctype.c: Likewise. + * ctype/test_ctype.c: Likewise. + * dirent/alphasort.c: Likewise. + * dirent/list.c: Likewise. + * gmon/bb_exit_func.c: Likewise. + * grp/fgetgrent.c: Likewise. + * grp/getgrent.c: Likewise. + * grp/getgrent_r.c: Likewise. + * grp/getgrgid.c: Likewise. + * grp/getgrgid_r.c: Likewise. + * grp/getgrnam.c: Likewise. + * grp/getgrnam_r.c: Likewise. + * hurd/alloc-fd.c: Likewise. + * hurd/catch-exc.c: Likewise. + * hurd/ctty-input.c: Likewise. + * hurd/ctty-output.c: Likewise. + * hurd/dtable.c: Likewise. + * hurd/fchroot.c: Likewise. + * hurd/fd-close.c: Likewise. + * hurd/fd-read.c: Likewise. + * hurd/fd-write.c: Likewise. + * hurd/fopenport.c: Likewise. + * hurd/get-host.c: Likewise. + * hurd/getdport.c: Likewise. + * hurd/getuids.c: Likewise. + * hurd/getumask.c: Likewise. + * hurd/hurd-raise.c: Likewise. + * hurd/hurd.h: Likewise. + * hurd/hurdauth.c: Likewise. + * hurd/hurdexec.c: Likewise. + * hurd/hurdhost.h: Likewise. + * hurd/hurdid.c: Likewise. + * hurd/hurdinit.c: Likewise. + * hurd/hurdioctl.c: Likewise. + * hurd/hurdkill.c: Likewise. + * hurd/hurdlookup.c: Likewise. + * hurd/hurdmsg.c: Likewise. + * hurd/hurdpid.c: Likewise. + * hurd/hurdports.c: Likewise. + * hurd/hurdprio.c: Likewise. + * hurd/hurdrlimit.c: Likewise. + * hurd/hurdsock.c: Likewise. + * hurd/hurdstartup.c: Likewise. + * hurd/hurdstartup.h: Likewise. + * hurd/intern-fd.c: Likewise. + * hurd/intr-msg.c: Likewise. + * hurd/intr-rpc.defs: Likewise. + * hurd/intr-rpc.h: Likewise. + * hurd/msgportdemux.c: Likewise. + * hurd/new-fd.c: Likewise. + * hurd/openport.c: Likewise. + * hurd/pid2task.c: Likewise. + * hurd/port-cleanup.c: Likewise. + * hurd/port2fd.c: Likewise. + * hurd/ports-get.c: Likewise. + * hurd/ports-set.c: Likewise. + * hurd/privports.c: Likewise. + * hurd/report-wait.c: Likewise. + * hurd/set-host.c: Likewise. + * hurd/setauth.c: Likewise. + * hurd/setuids.c: Likewise. + * hurd/siginfo.c: Likewise. + * hurd/sigunwind.c: Likewise. + * hurd/task2pid.c: Likewise. + * hurd/thread-cancel.c: Likewise. + * hurd/thread-self.c: Likewise. + * hurd/vpprintf.c: Likewise. + * hurd/hurd/fd.h: Likewise. + * hurd/hurd/id.h: Likewise. + * hurd/hurd/ioctl.h: Likewise. + * hurd/hurd/lookup.h: Likewise. + * hurd/hurd/port.h: Likewise. + * hurd/hurd/resource.h: Likewise. + * hurd/hurd/threadvar.h: Likewise. + * hurd/hurd/userlink.h: Likewise. + * inet/ether_aton.c: Likewise. + * inet/ether_aton_r.c: Likewise. + * inet/ether_ntoa.c: Likewise. + * inet/ether_ntoa_r.c: Likewise. + * inet/gethstbyad.c: Likewise. + * inet/gethstbyad_r.c: Likewise. + * inet/gethstent.c: Likewise. + * inet/getnetbyad.c: Likewise. + * inet/getnetbyad_r.c: Likewise. + * inet/getnetbynm.c: Likewise. + * inet/getnetbynm_r.c: Likewise. + * inet/getnetent.c: Likewise. + * inet/getnetent_r.c: Likewise. + * inet/getproto.c: Likewise. + * inet/getproto_r.c: Likewise. + * inet/getprtent.c: Likewise. + * inet/getprtent_r.c: Likewise. + * inet/getprtname.c: Likewise. + * inet/getrpcbyname.c: Likewise. + * inet/getrpcbyname_r.c: Likewise. + * inet/getrpcbynumber.c: Likewise. + * inet/getrpcbynumber_r.c: Likewise. + * inet/getrpcent.c: Likewise. + * inet/getrpcent_r.c: Likewise. + * inet/getservent.c: Likewise. + * inet/getservent_r.c: Likewise. + * inet/getsrvbynm.c: Likewise. + * inet/getsrvbynm_r.c: Likewise. + * inet/getsrvbypt.c: Likewise. + * inet/getsrvbypt_r.c: Likewise. + * inet/herrno.c: Likewise. + * inet/netgroup.h: Likewise. + * ient/netinet/ether.h: Likewise. + * intl/bindtextdom.c: Likewise. + * intl/dcgettext.c: Likewise. + * intl/dgettext.c: Likewise. + * intl/gettext.c: Likewise. + * intl/gettext.h: Likewise. + * intl/gettextP.h: Likewise. + * intl/hash-string.h: Likewise. + * intl/loadmsgcat.c: Likewise. + * intl/localealias.c: Likewise. + * intl/textdomain.c: Likewise. + * io/creat.c: Likewise. + * io/getdirname.c: Likewise. + * io/lockf.c: Likewise. + * io/pwd.c: Likewise. + * io/test-utime.c: Likewise. + * locale/categories.def: Likewise. + * locale/codeset_name.c: Likewise. + * locale/lc-collate.c: Likewise. + * locale/lc-ctype.c: Likewise. + * locale/lc-messages.c: Likewise. + * locale/lc-monetary.c: Likewise. + * locale/lc-numeric.c: Likewise. + * locale/lc-time.c: Likewise. + * locale/loadlocale.c: Likewise. + * locale/localeconv.c: Likewise. + * locale/nl_langinfo.c: Likewise. + * locale/setlocale.c: Likewise. + * locale/strlen-hash.h: Likewise. + * locale/programs/charmap-kw.gperf: Likewise. + * locale/programs/charmap-kw.h: Likewise. + * locale/programs/charset.c: Likewise. + * locale/programs/ld-ctype.c: Likewise. + * locale/programs/ld-messages.c: Likewise. + * locale/programs/ld-monetary.c: Likewise. + * locale/programs/linereader.h: Likewise. + * locale/programs/locale-spec.c: Likewise. + * locale/programs/locales.h: Likewise. + * locale/programs/locfile-kw.gperf: Likewise. + * locale/programs/locfile-kw.h: Likewise. + * locale/programs/locfile-token.h: Likewise. + * locale/programs/simple-hash.h: Likewise. + * locale/programs/stringtrans.c: Likewise. + * locale/programs/stringtrans.h: Likewise. + * login/logout.c: Likewise. + * mach/bootprivport.c: Likewise. + * mach/devstream.c: Likewise. + * mach/hello.c: Likewise. + * mach/mach.h: Likewise. + * mach/mach_init.c: Likewise. + * mach/mach_init.h: Likewise. + * mach/mig-alloc.c: Likewise. + * mach/mig-dealloc.c: Likewise. + * mach/mutex-init.c: Likewise. + * mach/mutex-solid.c: Likewise. + * mach/setup-thread.c: Likewise. + * mach/spin-lock.h: Likewise. + * mach/spin-solid.c: Likewise. + * mach/mach/mig_support.h: Likewise. + * md5-crypt/md5-crypt.c: Likewise. + * misc/nlist.h: Likewise. + * nss/nss_files/files-ether.c: Likewise. + * posix/confstr.c: Likewise. + * posix/execl.c: Likewise. + * posix/execle.c: Likewise. + * posix/execlp.c: Likewise. + * posix/execv.c: Likewise. + * posix/execvp.c: Likewise. + * posix/fnmatch.c: Likewise. + * posix/getopt.c: Likewise. + * posix/getopt.h: Likewise. + * posix/getopt1.c: Likewise. + * posix/id.c: Likewise. + * posix/regex.c: Likewise. + * posix/setpgrp.c: Likewise. + * posix/unistd.h: Likewise. + * posix/wordexp.c: Likewise. + * pwd/fgetpwent.c: Likewise. + * pwd/getpwent.c: Likewise. + * pwd/getpwent_r.c: Likewise. + * pwd/getpwnam.c: Likewise. + * pwd/getpwnam_r.c: Likewise. + * pwd/getpwuid.c: Likewise. + * pwd/getpwuid_r.c: Likewise. + * pwd/putpwent.c: Likewise. + * resolv/gethnamaddr.c: Likewise. + * resolv/res_hconf.c: Likewise. + * resolv/res_hconf.h: Likewise. + * setjmp/longjmp.c: Likewise. + * setjmp/sigjmp.c: Likewise. + * setjmp/tst-setjmp.c: Likewise. + * stdio/clearerr.c: Likewise. + * stdio/ferror.c: Likewise. + * stdio/fgetc.c: Likewise. + * stdio/fgetpos.c: Likewise. + * stdio/fgets.c: Likewise. + * stdio/fileno.c: Likewise. + * stdio/fmemopen.c: Likewise. + * stdio/fopen.c: Likewise. + * stdio/fopncook.c: Likewise. + * stdio/fputc.c: Likewise. + * stdio/fputs.c: Likewise. + * stdio/fread.c: Likewise. + * stdio/freopen.c: Likewise. + * stdio/fseek.c: Likewise. + * stdio/fsetpos.c: Likewise. + * stdio/ftell.c: Likewise. + * stdio/fwrite.c: Likewise. + * stdio/getchar.c: Likewise. + * stdio/getdelim.c: Likewise. + * stdio/gets.c: Likewise. + * stdio/glue.c: Likewise. + * stdio/internals.c: Likewise. + * stdio/linewrap.c: Likewise. + * stdio/linewrap.h: Likewise. + * stdio/memstream.c: Likewise. + * stdio/newstream.c: Likewise. + * stdio/putchar.c: Likewise. + * stdio/puts.c: Likewise. + * stdio/rewind.c: Likewise. + * stdio/setbuf.c: Likewise. + * stdio/setbuffer.c: Likewise. + * stdio/setlinebuf.c: Likewise. + * stdio/setvbuf.c: Likewise. + * stdio/ungetc.c: Likewise. + * stdio/vasprintf.c: Likewise. + * stdio/vscanf.c: Likewise. + * stdio/vsnprintf.c: Likewise. + * stdio/vsprintf.c: Likewise. + * stdio/vsscanf.c: Likewise. + * stdio-common/asprintf.c: Likewise. + * stdio-common/dprintf.c: Likewise. + * stdio-common/errnobug.c: Likewise. + * stdio-common/fprintf.c: Likewise. + * stdio-common/getline.c: Likewise. + * stdio-common/getw.c: Likewise. + * stdio-common/perror.c: Likewise. + * stdio-common/psignal.c: Likewise. + * stdio-common/putw.c: Likewise. + * stdio-common/reg-printf.c: Likewise. + * stdio-common/scanf.c: Likewise. + * stdio-common/snprintf.c: Likewise. + * stdio-common/sprintf.c: Likewise. + * stdio-common/tempnam.c: Likewise. + * stdio-common/test_rdwr.c: Likewise. + * stdio-common/tst-fileno.c: Likewise. + * stdio-common/tst-printf.c: Likewise. + * stdio-common/tstgetln.c: Likewise. + * stdio-common/vprintf.c: Likewise. + * stdlib/drand48.c: Likewise. + * stdlib/drand48_r.c: Likewise. + * stdlib/erand48.c: Likewise. + * stdlib/erand48_r.c: Likewise. + * stdlib/exit.h: Likewise. + * stdlib/strtoq.c: Likewise. + * stdlib/strtoul.c: Likewise. + * stdlib/strtouq.c: Likewise. + * stdlib/test-canon.c: Likewise. + * stdlib/testdiv.c: Likewise. + * stdlib/testrand.c: Likewise. + * string/argz-append.c: Likewise. + * string/argz-count.c: Likewise. + * string/argz-create.c: Likewise. + * string/argz-ctsep.c: Likewise. + * string/argz-delete.c: Likewise. + * string/argz-extract.c: Likewise. + * string/argz-insert.c: Likewise. + * string/argz-next.c: Likewise. + * string/argz-stringify.c: Likewise. + * string/basename.c: Likewise. + * string/envz.c: Likewise. + * string/memfrob.c: Likewise. + * string/strcoll.c: Likewise. + * string/strdup.c: Likewise. + * string/string.h: Likewise. + * string/strndup.c: Likewise. + * string/strnlen.c: Likewise. + * string/strsignal.c: Likewise. + * string/strxfrm.c: Likewise. + * string/test-ffs.c: Likewise. + * string/testcopy.c: Likewise. + * sysdeps/generic/enbl-secure.c: Likewise. + * sysdeps/generic/memcopy.h: Likewise. + * sysdeps/generic/stpncpy.c: Likewise. + * sysdeps/generic/strcasecmp.c: Likewise. + * sysdeps/generic/strcat.c: Likewise. + * sysdeps/generic/strchr.c: Likewise. + * sysdeps/generic/strcpy.c: Likewise. + * sysdeps/generic/strcspn.c: Likewise. + * sysdeps/generic/strlen.c: Likewise. + * sysdeps/generic/strncase.c: Likewise. + * sysdeps/generic/strncat.c: Likewise. + * sysdeps/generic/strncpy.c: Likewise. + * sysdeps/generic/strpbrk.c: Likewise. + * sysdeps/generic/strsep.c: Likewise. + * sysdeps/generic/strspn.c: Likewise. + * sysdeps/generic/strstr.c: Likewise. + * sysdeps/generic/strtok.c: Likewise. + * sysdeps/generic/strtok_r.c: Likewise. + * sysdeps/mach/sleep.c: Likewise. + * sysdeps/posix/sleep.c: Likewise. + * sysdeps/stub/sleep.c: Likewise. + * time/date.c: Likewise. + * time/test_time.c: Likewise. + * wcsmbs/wmemcpy.c: Likewise. + * wctye/test_wctype.c: Likewise. + * wctye/towctrans.c: Likewise. + * wctye/wcfuncs.c: Likewise. + * wctye/wctrans.c: Likewise. + +1997-02-13 22:15 Miles Bader <miles@gnu.ai.mit.edu> + + * argp/Makefile: New file. + * argp/argp.h: Likewise. + * argp/argp-ba.c: Likewise. + * argp/argp-fmtstream.c: Likewise. + * argp/argp-fmtstream.h: Likewise. + * argp/argp-fs-xinl.c: Likewise. + * argp/argp-help.c: Likewise. + * argp/argp-namefrob.h: Likewise. + * argp/argp-parse.c: Likewise. + * argp/argp-pv.c: Likewise. + * argp/argp-pvh.c: Likewise. + * argp/argp-test.c: Likewise. + * argp/argp-xinl.c: Likewise. -1997-11-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-02-13 11:44 Andreas Jaeger <aj@arthur.pfalz.de> - * elf/dl-profile.c (_dl_start_profile): Avoid overflow when - computing s_scale. + * stdlib/qsort.c: Add prototype for _quicksort. -1997-11-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * stdlib/msort.c (qsort): Correct prototype for _quicksort. - * 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. + * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning + from dl-machine.h. - * math/libm-test.c (csqrt_test): Add testcase. +1997-02-13 18:18 Marcus G. Daniels <marcus@sysc.pdx.edu> -1997-12-03 15:44 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file. + Allow user to overwrite it. - * 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-02-13 17:55 Ulrich Drepper <drepper@cygnus.com> -1997-11-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * libio/_G_config.h: Make sure wint_t is also defined for old gcc + versions. Reported by Andreas Jaeger. - * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration. +1997-02-13 11:44 Andreas Jaeger <aj@arthur.pfalz.de> -1997-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * time/tzfile.c (__tzfile_read): Change comment to follow + change of 1997-02-12. - * 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-02-13 02:32 Ulrich Drepper <drepper@cygnus.com> -1997-12-02 17:14 Philip Blundell <pb@nexus.co.uk> + * time/time.h (__nanosleep): Define only when struct timespec is + also available. + Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>. - * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including - <bits/setjmp.h>. - * sysdeps/arm/setjmp.S: Likewise. +1997-02-12 21:34 a sun <asun@zoology.washington.edu> - * 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. - -1997-12-02 17:41 Philip Blundell <pb@nexus.co.uk> - - * 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. + * sysdeps/unix/sysv/linux/netinet/udp.h: New file. + * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h. - * localedata/*: Add to here from add-on. We need the information - to generate tables for iconv. +1997-02-12 21:16 Ulrich Drepper <drepper@cygnus.com> - 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. + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch + of 1997-02-09 in resolv/gethnamaddr.c. -1997-11-30 06:01 Ulrich Drepper <drepper@cygnus.com> +1997-02-11 18:52 H.J. Lu <hjl@gnu.ai.mit.edu> - * 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>. + * libio/_G_config.h (_G_wint_t): New. -1997-11-28 11:21 Zack Weinberg <zack@rabi.phys.columbia.edu> +1997-02-09 11:31 H.J. Lu <hjl@gnu.ai.mit.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. + * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf) + to sizeof (buf.buf) while calling res_search (). -1997-11-30 05:21 Ulrich Drepper <drepper@cygnus.com> +1997-02-03 20:01 H.J. Lu <hjl@gnu.ai.mit.edu> - * 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>. + * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat, + val to keydat, stat to status. - * 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-02-12 20:45 Andreas Jaeger <jaeger@informatik.uni-kl.de> -1997-11-29 19:19 Zack Weinberg <zack@rabi.phys.columbia.edu> + * time/tzfile.c (__tzfile_read): Fix problem with SUID programs. - * 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-02-12 19:55 Ulrich Drepper <drepper@cygnus.com> -1997-11-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4 + by Keith Bostic. - * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67. +1997-02-11 14:49 Andreas Jaeger <jaeger@informatik.uni-kl.de> - * 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. + * stdlib/atoll.c: Undefine atoll, not atol. - * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan, - csqrt (-1), ctanh(i*pi/4). +1997-02-08 09:36 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-11-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove + unused arguments of shell script. - * sysdeps/generic/bits/confname.h: Fix comma in enumerator. + * Makeconfig (all-object-suffixes): New variable. + * Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead + of $(object-suffixes). + * sysdeps/unix/make-syscalls.sh: Likewise. Fix comment. -1997-11-28 13:28 Philip Blundell <Philip.Blundell@pobox.com> +1997-02-10 17:45 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants. + * string/argz-ctsep.c: Initialize *LEN when successful. -1997-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-02-09 04:35 Ulrich Drepper <drepper@cygnus.com> - * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake. + * stdio-common/_itoa.h: Update copyright. -1997-11-26 21:28 Ulrich Drepper <drepper@cygnus.com> +1997-02-09 02:59 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. + * version.h (VERSION): Bump to 2.0.2. -1997-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * posix/Makefile (routines): Add getopt_init. + * posix/getopt.c: Don't get environment variable with nonoption + flags here. Depend on __getopt_nonoption_flags variable filled + somewhere else. This is necessary since the variable must be + removed even when getopt isn't used in case exec(2) gets called. + * posix/getopt_init.c: New file. Initialize __getopt_nonoption_flags + and remove environment variable. + * sysdeps/i386/init-first.c: Call __getopt_clean_environment. + * sysdeps/mach/hurd/i386/init-first.c: Likewise. + * sysdeps/stub/init-first.c: Likewise. + * sysdeps/unix/sysv/linux/init-first.c: Likewise. - * 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/generic/dl-sysdep.c (_dl_sysdep_start): Recognize + AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize. - * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h. + * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES + encryption is wanted. - * 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. + * libio/vsnprintf.c: If MAXLEN is 0 return 0. + * stdio/vsnprintf.c: Likewise. + Reported by Philip Blundell <pjb27@cam.ac.uk>. - * 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. + * libio/vsnprintf.c: If MAXLEN is 0 return 0. + * stdio/vsnprintf.c: Likewise. + Reported by Philip Blundell <pjb27@cam.ac.uk>. -1997-11-25 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-02-07 17:43 Ulrich Drepper <drepper@cygnus.com> - * libio/stdio.h: Correct comment of sys_nerr/sys_errlist. + * sysdeps/generic/sysd-stdio.c: Include <errno.h>. + Change PTR to void *. + * sysdeps/posix/vdprintf.c: Change PTR to void *. + Reported by Brian Oxley <boxley%dev.cm.ssb.com@clipper.ssb.com>. -1997-11-25 Paul Eggert <eggert@shade.twinsun.com> +1997-02-07 17:41 Philip Blundell <pjb27@cam.ac.uk> - * 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. + * sysdeps/unix/sysv/linux/socketbits.h: Fix typo. -1997-11-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-02-06 13:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * README.template: Fix spelling. + * rellns-sh: No need to check for existance of first parameter. -1997-11-25 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-02-06 13:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * configure.in: Enhance --enable-add-ons description a wee bit. + * rellns-sh: No need to check for existance of first parameter. -1997-11-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-02-06 14:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * glibcbug.in: Add more information of build environment and flags. + * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks. Reported + by David Holland <dholland@eecs.harvard.edu>. -1997-11-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-02-06 14:38 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate - it into ENOENT. + * sunrpc/clnt_tcp.c (readtcp): Pass copy of timeout value to + select, in case it is modified by the latter. + * sunrpc/clnt_udp.c (clntudp_call): Likewise. + * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise. + * sunrpc/svc_tcp.c (readtcp): Likewise. -1997-11-24 03:01 Ulrich Drepper <drepper@cygnus.com> + * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids + array. - * 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. + * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t + and gid_t. - * 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. + * sunrpc/auth_unix.c (authunix_validate): Fix type of second + argument. - * 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-02-06 14:29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-11-22 19:28 Ulrich Drepper <drepper@cygnus.com> + * elf/Makefile (extra-objs): Don't zap previous value. + * Makefile (before-compile): Likewise. Don't add gnu/lib-names.h + twice. - * iconv/gconv_simple.c: Fix lots of bugs. - * iconv/iconv_open.c: Normalize names before passing them to - __gconv_open. +1997-02-06 14:19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose. + * sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for + braindamage (sigh!). - * libio/iopopen.c: Check for correct mode argument and punt otherwise. - * stdio-common/test-popen.c: Add test for above change. +1997-02-06 17:10 Jim Meyering <meyering@asic.sc.ti.com> - * 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. + * manual/memory.texi: Correct `copystring' example for obstacks. - * 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. +1997-02-06 14:10 Ulrich Drepper <drepper@cygnus.com> - * stdlib/strtod.c: Little code cleanup. + * Makeconfig: Don't use [:lower:] and [:upper:] in tr since old + GNU tr don't grok it. - * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for - compiling in math subdir. +1997-02-03 21:13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr): + Don't use GNU C extensions. + (CMSG_DATA): Use portable definition. - * 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. +1997-02-05 05:58 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias. + * elf/ldd.bash.in: Add test for read permission and print appropriate + message. Change warning and error messages to print "ldd: " at start. + * elf/ldd.sh.in: Likewise. -1997-11-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * stdlib/Makefile (routines): Add atoll. + * stdlib/atoll.c: New file. + * stdlib/stdlib.h: Add prototype and optimization for atoll. + + * stdlib/a64l.c: Update copyright. + * stdlib/abs.c: Likewise. + * stdlib/atof.c: Likewise. + * stdlib/atoi.c: Likewise. + * stdlib/atol.c: Likewise. + * stdlib/bsearch.c: Likewise. + * stdlib/exit.c: Likewise. + * stdlib/fpioconst.c: Likewise. + * stdlib/fpioconst.h: Likewise. + * stdlib/jrand48.c: Likewise. + * stdlib/jrand48_r.c: Likewise. + * stdlib/labs.c: Likewise. + * stdlib/lcong48.c: Likewise. + * stdlib/lcong48_r.c: Likewise. + * stdlib/llabs.c: Likewise. + * stdlib/lrand48.c: Likewise. + * stdlib/lrand48_r.c: Likewise. + * stdlib/mblen.c: Likewise. + * stdlib/mbstowcs.c: Likewise. + * stdlib/mbtowc.c: Likewise. + * stdlib/mp_clz_tab.c: Likewise. + * stdlib/mrand48.c: Likewise. + * stdlib/mrand48_r.c: Likewise. + * stdlib/msort.c: Likewise. + * stdlib/nrand48.c: Likewise. + * stdlib/nrand48_r.c: Likewise. + * stdlib/qsort.c: Likewise. + * stdlib/rpmatch.c: Likewise. + * stdlib/seed48.c: Likewise. + * stdlib/seed48_r.c: Likewise. + * stdlib/srand48.c: Likewise. + * stdlib/srand48_r.c: Likewise. + * stdlib/strtod.c: Likewise. + * stdlib/wcstombs.c: Likewise. + * stdlib/wctomb.c: Likewise. - * Makerules ($(common-objpfx)stub-$(subdir)): Look for - sysdeps/generic in the whole dep file, not only in the first line. +1997-02-05 05:08 Ulrich Drepper <drepper@cygnus.com> -1997-11-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define + as const. - * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type. +1997-02-04 23:57 Fila Kolodny <fila@ibi.com> -1997-11-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before + including <stddef.h>. - * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right - place. +1997-02-03 20:01 H.J. Lu <hjl@gnu.ai.mit.edu> -1997-11-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * time/Makefile (tzbases, tzlinks): New. + (tzfiles): Changed to $(tzbases) $(tzlinks). + ($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases). - * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME - is non-empty. +1997-02-02 12:13 H.J. Lu <hjl@gnu.ai.mit.edu> -1997-11-20 16:51 Ulrich Drepper <drepper@cygnus.com> + * Makefile (install): Ignore error from ldconfig. - * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for - return value. + * time/zic.c (mkdirs): Double check the error return of mkdir (). -1997-11-19 21:36 Ulrich Drepper <drepper@cygnus.com> +1997-02-04 22:01 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if - readlink succeeds but the return value is too long. + * stdio-common/vfprintf.c: Prepare to use __va_copy for architectures + like PPC where va_list is no integral type. - * stdio-common/printf_fphex.c: Determine sign of number correctly. +1997-02-04 15:27 Roma Ekzhanov <ekzhanov@paragraph.com> -1997-11-19 02:45 Ulrich Drepper <drepper@cygnus.com> + * posix/getopt.c (exchange): Don't allocate nonoption_flags array + if nonoption_flags_len == -1. - * libc.map: Export __divl, __reml, __divq, __remq, __divqu and - __remqu for Alpha. +1997-02-04 02:08 Ulrich Drepper <drepper@cygnus.com> -1997-11-18 23:08 Ulrich Drepper <drepper@cygnus.com> + * Version 2.0.1 net release. - * sysdeps/generic/sys/ucontext.h: Stub context file. +1997-02-03 23:34 Stephen L Moshier <moshier@world.std.com> - * libio/iofprintf.c: Removed. We use the stdio-common version. + * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign. - * manual/Makefile (distribute): Add stdio-fp.c. +1997-02-03 19:59 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/powerpc/Dist: Add ppc-mcount.S. + * stdlib/getsubopt.c: Don't return `=' for suboption which has + a parameter. Reported by Gary L. Hennigan <glhenni@cs.sandia.gov>. - * db2/Makefile (distribute): Add include/os_func.h, README and - mutex/tsl_parisc.s. +1997-02-03 18:20 Thorsten Kukuk <kukuk@weber.uni-paderborn.de> - * hesiod/Makefile (distribute): Add README.hesiod. + * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of + values as in yp.x and yp.h. -1997-11-18 22:14 Ulrich Drepper <drepper@cygnus.com> +1997-02-03 16:58 Ulrich Drepper <drepper@cygnus.com> - * iconv/gconv.c: Correctly call transformation function. + * nis/rpcsvc/yp.x (struct ypresp_key_val): Revert patch from + 1997-02-03 02:17. Sun's implementation internally corrects + this bug but we don't want to hide this from the user. + * nis/rpcsvc/yp.h: Likewise. - * manual/maint.texi: Document need of binutils 2.8.1.0.17. +1997-02-01 18:28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple + inclusion. - * 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-02-02 14:56 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc + fixes. - * 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. +1997-02-02 11:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * math/libm-test.c: Added counting/reporting of number of test cases. + * MakeTAGS (sysdep-sources, sysdep-headers): New variables. + (all-sources, all-headers): Use them instead of $(sources) and + $(headers) when searching in sysdep directories. - * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required, - use awk instead. +1997-02-02 11:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS. + * Makerules (REAL_MAKE_VERSION): Use internal make function + instead of shelling out. -1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-02-02 11:47 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic. + * time/Makefile (install-test-data): Remove mkdir command, zic can + handle that gracefully. -1997-11-18 18:04 Ulrich Drepper <drepper@cygnus.com> +1997-02-03 14:07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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>. + * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime + somehow. -1997-11-18 16:02 Ulrich Drepper <drepper@cygnus.com> +1997-02-02 07:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * libc.map: Add socket functions with __libc_* names. - Reported by Andreas Jaeger. + * sunrpc/Makefile: Check $(cross-compiling) only after including + ../Makeconfig. + ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Add empty command to force + being considered as a rule. + (generated): Add stamp files before the inclusion of Makerules to + magically mark them as not being intermediate via the `generated' + target. -1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-02-03 02:33 Ulrich Drepper <drepper@cygnus.com> - * libc.map: Tidy up (remove duplicates, sort entries). + * elf/dl-deps.c (_dl_map_object_deps): Handle multiple AUXILIARY + entries. This is still no complete implementation since AUXILIARY + entries in other shared objects are not yet handled. -1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected + place. - * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS. + * po/es.po: Update. + * po/fr.po: Update. + * po/nl.po: Update. + + * time/Makefile: Better cross-compile support. Avoid test which + cannot be run. + (CFLAGS-tzset.c): New variable. Overwrite TZDEFAULT value from + tzfile.h file. + * time/tzfile.c (__tzfile_read): Allow TZDEFAULT start with '/' even + in SUID programs. + * time/tzset.c (__tzset_internal): If TZ envvar is not set use same + default values as in tzfile.c. + + * elf/dynamic-link.h (elf_get_dynamic_info): Recognize versioning + tags. + * elf/link.h: Likewise. + * elf/elf.h: Add tag definitions and data structures for versioning. + +1997-02-03 02:17 Ulrich Drepper <drepper@cygnus.com> + + * nis/rpcsvc/yp.x (struct ypresp_key_val): There is not stupid + "Sun bug". This is the order of elements also used by 4.4BSD. + * nis/rpcsvc/yp.h: Likewise. + Reported by HJ Lu. -1997-11-18 06:45 Ulrich Drepper <drepper@cygnus.com> +1997-02-02 12:13 H.J. Lu <hjl@gnu.ai.mit.edu> - * sysdeps/generic/pty.c: Make thread safe. Fix bug when calling - again after successful call. - Patch by Marc Lehmann <pcg@goof.com>. + * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as + action. -1997-11-17 Paul Eggert <eggert@twinsun.com> + * Makefile (install): Pass installation directories as arguments + to ldconfig. - * time/mktime.c, time/strftime.c (_REENTRANT): #define, - as some hosts need this to declare localtime_r properly. +1997-02-02 23:15 Ulrich Drepper <drepper@cygnus.com> -1997-11-18 06:08 Ulrich Drepper <drepper@cygnus.com> + * malloc/malloc.c (__after_morecore_hook): New variable. + (malloc_extend_top): Call __after_morecore_hook if set. + (main_trim): Likewise. + * malloc/malloc.h: Add declaration of __after_morecore_hook. + Suggested by Marcus Daniels. - * libc.map: Add iconv_open, iconv, and iconv_close. +1997-02-02 23:00 Marcus G. Daniels <marcus@tdb.com> -1997-11-18 02:31 Ulrich Drepper <drepper@cygnus.com> + * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by + #ifndef NO_THREADS. + (mallinfo): Likewise. - * 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. + * malloc/malloc.c (__morecore): Make external since it is used in + programs. - * Makeconfig: Define gconvdir. - * Makefile (subdirs): Add iconv. +1997-02-02 15:10 Ulrich Drepper <drepper@cygnus.com> - * string/bits/string2.h: Add optimization for strtok_r. + * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field + unsigned. - * 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>. +1997-02-01 23:36 Richard Henderson <rth@tamu.edu> - * configure.in: Correct test for bash2. - Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>. + * sysdeps/alpha/stxncpy.S ($unaligned) [src % 8 > dst % 8]: Don't + use t6 as a temporary; it contains bits we still need in $u_head. - * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts. - (CFLAGS-locfile.c): Likewise. - Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>. +1997-01-31 15:05 John Bowman <bowman@ipp-garching.mpg.de> - * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for - non-existing entry if the table is full. + * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes + using __ prefix. Add prototype for log1p. - * posix/regex.h: Pretty print. +1997-02-02 00:39 Ulrich Drepper <drepper@cygnus.com> - * stdio-common/printf_fp.c: Don't define NDEBUG if already defined. + * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE. - * sysdeps/posix/ctermid.c: Simplify a bit. +1997-02-01 17:04 Philip Blundell <pjb27@cam.ac.uk> - * sysdeps/unix/sysv/linux/net/if.h: Pretty print. + * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition. -1997-11-17 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-02-01 17:00 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/sys/quota.h: Add include for - <sys/types.h> instead of <asm/types.h>. + * sysdeps/unix/sysv/linux/socketbits.h: Add definition of cmsghdr + structure plus related macros. + * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: New file. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] + (sysdep_routines): Add cmsg_nxthdr. + * sysdeps/unix/sysv/linux/Dist: Add cmsg_nxthdr.c. + Suggested by Philip Blundell <pjb27@cam.ac.uk>. -1997-11-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-02-01 12:34 Ulrich Drepper <drepper@cygnus.com> - * math/libm-test.c (asin_test): Add epsilon for asin (0.5). + * time/strftime.c: Define _strftime_copytm without protecting arguments + which breaks the definition. -1997-11-16 17:09 H.J. Lu <hjl@gnu.ai.mit.edu> +1997-02-01 03:31 Thorsten Kukuk <kukuk@weber.uni-paderborn.de> - * 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. + * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after + definition of type for element. - * libio/Makefile (routines, shared-only-routines): Add - oldiofclose. Remove oldfreopen. +1997-02-01 03:28 Philip Blundell <pjb27@cam.ac.uk> - * libio/freopen.c (freopen): When PIC is defined, call - _IO_old_freopen () for old stdio. + * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_* + constants. - * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose. - (_IO_fclose, fclose): Use _IO_new_fclose as default version - for GLIBC_2.1. +1997-02-01 03:09 H.J. Lu <hjl@lucon.org> - * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it - instead of _IO_file_close_it. + * Makefile: Pass PARALLELMFLAGS to sub-makes. + * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile. - * 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. +1997-01-31 Paul Eggert <eggert@twinsun.com> - * libio/libioP.h (_IO_old_do_flush): New. + * time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS): + Define if _LIBC is defined. + <limits.h>: Include if HAVE_LIMITS_H instead of if + __STDC__ || __GNU_LIBRARY__ || STDC_HEADERS. + <stdlib.h>: Similarly, include if STDC_HEADERS. + (localtime_r): Redo #ifdef to make it clear that glibc has + localtime_r now. - * 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 (). +1997-02-29 20:08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init () - instead of _IO_file_init (). - Bind old symbols to version GLIBC_2.0. + * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp + file to avoid unnecessary recompilation. - * 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. +1997-01-29 19:33 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * libio/oldiofclose.c: New file. + * Makefile: Set install-others, not install_others. + (before-compile): Use += to preserve previous value. + ($(inst_includedir)/gnu/lib-names.h): Remove obsolete comment and + fix dependency name. + ($(objpfx)lib-names.h): Remove rule. + * Makeconfig ($(common-objpfx)gnu/lib-names.h): Generate it here, + with correct name, using an intermediate stamp file. + (common-generated): Add gnu/lib-names.h. + (before-compile): Add $(common-objpfx)gnu/lib-names.h. - * 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. +1997-01-30 18:29 Richard Henderson <richard@atheist.tamu.edu> - * libio/stdio.c (stdin, stdout, stderr): Set to - _IO_2_1_stdxxx_._ - (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of - stdxxx. + * malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned + to prevent warnings on 64 bit systems. + Reported by Paul Wouters <paul@xtdnet.nl>. - * csu/Makefile (distribute): Add init.c. - (extra-objs): Add init.o for ELF. - (start-installed-name): Add $(objpfx)init.o. + * sysdeps/alpha/dl-machine.h: Revert check for broken gas. By default + we assume it works. - * csu/init.c: New file. +1997-01-30 03:24 Ulrich Drepper <drepper@cygnus.com> -1997-11-12 08:02 H.J. Lu <hjl@gnu.ai.mit.edu> + * sysdeps/i386/elf/start.S (_start): Align stack pointer to + double word boundary before pushing args for main. This way we + don't get penalties for misaligned memory accesses. Reported by + Edward Seidl <seidl@janed.com>. - * elf/dl-lookup.c (do_lookup): Don't use the hidden base - definition as the default. + * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51. + Patch by HJ Lu. -1997-08-27 Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de> + * misc/bsd-compat.c: Update copyright. + * misc/efgcvt.c: Likewise. + * misc/efgcvt_r.c: Likewise. + * misc/error.c: Likewise. + * misc/error.h: Likewise. + * misc/fstab.c: Likewise. + * misc/init-misc.c: Likewise. + * misc/lsearch.c: Likewise. + * misc/mntent.c: Likewise. + * misc/qefgcvt.c: Likewise. + * misc/qefgcvt_r.c: Likewise. + * nss/databases.def: Likewise. + * nss/db-Makefile: Likewise. + * nss/ethers-lookup.c: Likewise. + * nss/hosts-lookup.c: Likewise. + * nss/netgrp-lookup.c: Likewise. + * nss/nsswitch.h: Likewise. + * nss/proto-lookup.c: Likewise. + * nss/rpc-lookup.c: Likewise. + * nss/service-lookup.c: Likewise. + * nss/nss_db/db-netgrp.c: Likewise. + * nss/nss_files/files-grp.c: Likewise. + * nss/nss_files/files-hosts.c: Likewise. + * nss/nss_files/files-network.c: Likewise. + * nss/nss_files/files-proto.c: Likewise. + * nss/nss_files/files-pwd.c: Likewise. + * nss/nss_files/files-rpc.c: Likewise. + * nss/nss_files/files-service.c: Likewise. + * nss/nss_files/files-spwd.c: Likewise. + * shadow/fgetspent.c: Likewise. + * shadow/fgetspent_r.c: Likewise. + * shadow/getspent.c: Likewise. + * shadow/getspent_r.c: Likewise. + * shadow/getspnam.c: Likewise. + * shadow/getspnam_r.c: Likewise. + * shadow/putspent.c: Likewise. + * shadow/sgetspent.c: Likewise. + * shadow/sgetspent_r.c: Likewise. + * sysdeps/i386/init-first.c: Likewise. + * sysdeps/unix/i386/sysdep.S: Likewise. - * erand48_r.c (__erand48_r): Implement for 32 bit short int. + * shadow/shadow.h: Don't use __USE_REENTRENT. All code must be + prepared to be running in a multi-threaded environment. Change + to __USE_MISC unless the function is defined in POSIX.1 (in this + case also test for __USE_POSIX). + * dirent/dirent.h: Likewise. + * grp/grp.h: Likewise. + * inet/aliases.h: Likewise. + * libio/libio.h: Likewise. + * libio/stdio.h: Likewise. + * login/utmp.h: Likewise. + * math/mathcalls.h: Likewise. + * misc/mntent.h: Likewise. + * pwd/pwd.h: Likewise. + * resolv/netdb.h: Likewise. + * stdlib/stdlib.h: Likewise. + * string/string.h: Likewise. + * sunrpc/rpc/netdb.h: Likewise. + * sysdeps/generic/crypt.h: Likewise. + * sysdeps/unix/sysv/linux/errnos.h: Likewise. + * time/time.h: Likewise. -1997-11-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-01-30 00:27 Fila Kolodny <fila@ibi.com> - * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2 - (PR 351). + * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h + only if not cross compiling. -1997-11-16 21:01 Philip Blundell <Philip.Blundell@pobox.com> +1997-01-29 16:16 Fila Kolodny <fila@ibi.com> - * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not - to preserve condition codes on function call. + * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of + NULL. + * sysdeps/posix/sigwait.c: Likewise. -1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-01-28 23:42 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l. + * Makeconfig ($(common-objpfx)config.make): Depend on + $(..)config.make.in. -1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de> +1997-01-29 04:30 Ulrich Drepper <drepper@cygnus.com> - * 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. + * sunrpc/Makefile: Don't generate headers derived from .x files when + crosscompiling. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add - net/if_packet.h. +1997-01-28 10:51 Richard Henderson <rth@tamu.edu> - * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h. + * Makefile: Generate gnu/lib-names.h in before-compile. + * nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable. + * nss/nssswitch.c (__nss_shlib_revision): New variable. Initialize + to the revision found for LIBNSS_FILES_SO. + (nss_initilized): Removed. It was tested but never set. + (nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal. -1997-11-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * shlib-versions: Tag all alpha-linux shlibs with a .1 "minor" + not just libc. Except instead of ld.so.1.1 use ld-linux.so.2. - * md5-crypt/Makefile (extra-objs): Make recursively expanded - variable, since $(object-suffixes) is not defined yet. + * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp. -1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-01-28 12:16 Andreas Jaeger <aj@arthur.pfalz.de> - * db2/Makefile (distribute): db185/db185_int.src -> - db185/db185_int.h. + * elf/Makefile (CFLAGS-dl-load.c): Use += to not + override the definition. -1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-01-28 20:13 Fila Kolodny <fila@ibi.com> - * misc/tst-fdset.c: Don't require the value of FD_ISSET to be - exactly one. + * config.make.in (malloc): Remove. -1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-01-28 04:23 Ulrich Drepper <drepper@cygnus.com> - * 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. - -1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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. + * version.h (VERSION): Bump to 2.0.1. -1997-11-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * posix/getopt.c: Handle another problem introduced by the + nonoption_flags array. We must be able to work with reordered + argv arrays. Reported by Andreas Schwab. - * Makefile (install): Quote $(CC) expansion. +1997-01-28 02:38 Ulrich Drepper <drepper@cygnus.com> -1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new + stack. - * 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). +1997-01-27 17:34 Thorsten Kukuk <kukuk@weber.uni-paderborn.de> -1997-11-14 19:14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so + that it works with yp.h. - * nis/nss_compat/compat-grp.c: Remove buggy assert call. - * nis/nss_compat/compat-pwd.c: Likewise. - * nis/nss_compat/compat-spwd.c: Likewise. +1997-01-27 13:28 Ulrich Drepper <drepper@cygnus.com> -1997-11-14 22:23 Ulrich Drepper <drepper@cygnus.com> + * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as + __libc_malloc_initialized so that this variable is not shared with + other users of GNU malloc. + Suggested by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>. - * 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. + * mcheck.h: Correct typo. Use malloc/ instead of new-malloc/. -1997-11-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/i386/Makefile (CFLAGS-dl-load.c, CFLAGS-dl-reloc.c): New + variables to prevent warnings. + * sysdeps/i386/dl-machine.h (fixup): Add prototype and declare + using attribute regparm. + (ELF_MACHINE_RUNTIME_TRAMPOLINE): Rewrite so that no register + is changed by the resolver code. - * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a - pointer to unsigned char. +1997-01-14 14:20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * malloc/malloc.c (weak_variable): Define. + (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook, + __memalign_hook): Make them weak definitions. - * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function. +1997-01-26 11:35 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function. + * sysdeps/unix/sysv/linux/getdents.c: Don't write beyond buffer + limits, correctly take structure padding into account, use correct + offset when resetting the stream, change heuristic to assume an + average name length of 14 characters. - * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function. +1997-01-25 18:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple + inclusion. - * 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. - -1997-11-14 05:44 Ulrich Drepper <drepper@cygnus.com> - - * 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. - -1997-11-14 03:06 Ulrich Drepper <drepper@cygnus.com> - - * 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.6 for earlier changes. |