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.7 | |
parent | 00cdcf5a4110f7ac68651f5662693c82f7bffaca (diff) | |
download | glibc-92c3af3c140f671ea49c751368d17df2e10d0eeb.tar.gz glibc-92c3af3c140f671ea49c751368d17df2e10d0eeb.tar.xz glibc-92c3af3c140f671ea49c751368d17df2e10d0eeb.zip |
Rotate ChangeLog
Diffstat (limited to 'ChangeLog.7')
-rw-r--r-- | ChangeLog.7 | 20119 |
1 files changed, 8043 insertions, 12076 deletions
diff --git a/ChangeLog.7 b/ChangeLog.7 index cc1a5a79f8..96fdef90b7 100644 --- a/ChangeLog.7 +++ b/ChangeLog.7 @@ -1,6448 +1,5750 @@ -1997-11-13 20:39 Ulrich Drepper <drepper@cygnus.com> +Sun Jan 26 23:24:50 1997 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/m68k/bits/nan.h: Removed. The generic version is usable. + * Version 2.0 net release. -1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * Make-dist: Don't take care for two malloc directories. - * manual/arith.texi: Fix typo in @ifclear. +Sun Jan 26 22:44:38 1997 Andreas Jaeger <aj@arthur.pfalz.de> - * manual/arith.texi (Imaginary Unit): Add @end deftypevr. + * mcheck.h: Adopted to new-malloc/malloc change. -1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> +Sun Jan 26 13:39:31 1997 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/libm-ieee754/s_nanl.c (__nanl): Use NAN instead of - NANL. + * sysdeps/unix/sysv/linux/alpha/Dist: Correct distribution of + kernel_*.h files. - * sysdeps/libm-ieee754/s_nanf.c (__nanf): Use NAN instead of - NANF. + * Make-dist: Don't mention new-malloc for dirs with have to be + processed. -1997-11-13 01:07 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/netinet/in.h (SOL_IP): Added. + * inet/netinet/tcp.h (SOL_TCP): Added. + * sysdeps/unix/sysv/linux/socketbits.h (SOL_RAW): Added. + Reported by a sun <asun@zoology.washington.edu>. - * 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. +Sun Jan 26 18:35:29 1997 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> - * math/complex.h (I): Define using _Complex_U not _Imaginary_I. + * malloc/Makefile: Remove -DMALLOC_DEBUG. Not wanted in a + released version. + * malloc/malloc.c: Change malloc_check_init() to + __malloc_check_init(). Check for NULL in calloc() when a hook is + in place. Make more variables tunable via MALLOC_... environment + variables. + * malloc/malloc.h: Change malloc_check_init() to + __malloc_check_init(). + +Sun Jan 26 05:41:42 1997 Ulrich Drepper <drepper@cygnus.com> + + * version.h (VERSION): Bump to 2.0. + (RELEASE): Now it's "experimental". + + * Makefile (subdirs): Change $(malloc) to malloc. We have only + one malloc implementation again. + * malloc/*: Remove from GNU libc. + * new-malloc/* Move to malloc/. + * config.make.in (defines): Remove @USE_NEW_MALLOC@. + * configure.in: Remove --enable-new-malloc option and check for + malloc implementation choice. + * malloc.h: We don't need to check for the implementation to use + anymore. Simply include malloc/malloc.h. + * malloc/Makefile (subdir): Change to malloc. + * sysdeps/unix/sysv/linux/configure.in: Don't set malloc anymore. + + * Makefile: Add special goal to generate only-MD5 based crypt + library. + * md5-crypt/Makefile: Likewise. + + * stdio-common/tstscanf.c: De-ANSI-declfy. Update copyright. + (rounds): Change type to size_t to prevent warning. + + * wcsmbs/btowc.c: Reformat copyright. + * wcsmbs/mbrlen.c: Likewise. + * wcsmbs/mbsinit.c: Likewise. + * wcsmbs/mbsnrtowcs.c: Likewise. + * wcsmbs/mbsrtowcs.c: Likewise. + * wcsmbs/wcpcpy.c: Likewise. + * wcsmbs/wcpncpy.c: Likewise. + * wcsmbs/wcscat.c: Likewise. + * wcsmbs/wcscmp.c: Likewise. + * wcsmbs/wcscoll.c: Likewise. + * wcsmbs/wcscpy.c: Likewise. + * wcsmbs/wcscspn.c: Likewise. + * wcsmbs/wcsdup.c: Likewise. + * wcsmbs/wcslen.c: Likewise. + * wcsmbs/wcsncat.c: Likewise. + * wcsmbs/wcsncpy.c: Likewise. + * wcsmbs/wcsnrtombs.c: Likewise. + * wcsmbs/wcsrtombs.c: Likewise. + * wcsmbs/wcsspn.c: Likewise. + * wcsmbs/wcsstr.c: Likewise. + * wcsmbs/wcstod.c: Likewise. + * wcsmbs/wcstof.c: Likewise. + * wcsmbs/wcstok.c: Likewise. + * wcsmbs/wcstol.c: Likewise. + * wcsmbs/wcstold.c: Likewise. + * wcsmbs/wcstoq.c: Likewise. + * wcsmbs/wcstoul.c: Likewise. + * wcsmbs/wcstouq.c: Likewise. + * wcsmbs/wcswidth.c: Likewise. + * wcsmbs/wcsxfrm.c: Likewise. + * wcsmbs/wctob.c: Likewise. + * wcsmbs/wcwidth.c: Likewise. + * wcsmbs/wcwidth.h: Likewise. + * wcsmbs/wmemchr.c: Likewise. + * wcsmbs/wmemcmp.c: Likewise. + * wcsmbs/wmemmove.c: Likewise. + * wcsmbs/wmemset.c: Likewise. - * math/libm-test.c: Add tests for fma. +Sat Jan 25 03:34:14 1997 Ulrich Drepper <drepper@cygnus.com> - * math/math.h: Describe DECIMAL_DIG macro. Pretty print. + * sysdeps/unix/sysv/linux/termbits.h: Protect against multiple + inclusion. Reported by a sun <asun@zoology.washington.edu>. - * 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. +Sat Jan 25 02:05:19 1997 Eirik Fuller <eirik@netcom.com> - * sysdeps/ieee754/bits/nan.h: Define NAN as of type float. - * sysdeps/m68k/bits/nan.h. Likewise. Remove NANF and NANL. + * sysdeps/unix/sysv/linux/alpha/ioperm.c: Rename T2_SPARSE_BASE and + T2_DENSE_BASE to T2_SPARSE_MEM and T2_DENSE_MEM resp. -1997-11-12 17:50 Ulrich Drepper <drepper@cygnus.com> +Thu Jan 23 11:13:46 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sunrpc/xcrypt.c: Don't process #ident preprocessor instruction. - Reported by Philip Blundell <pb@nexus.co.uk>. + * sysdeps/unix/sysv/linux/usleep.c: Normalize the time + specification. - * string/strndup.c: Use K&R like definition. +Fri Jan 24 14:33:45 1997 Ulrich Drepper <drepper@cygnus.com> - * 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. + * sysdeps/generic/socketbits.h: Also make SOCK_* constants available + as macros so that #ifdef works. + * sysdeps/unix/sysv/linux/socketbits.h: Likewise. -1997-11-12 15:31 Philip Blundell <pb@nexus.co.uk> +1997-01-23 Paul Eggert <eggert@twinsun.com> - * sysdeps/unix/sysv/linux/arm/sysdep.h (SYS_ify): Don't add - SWI_BASE in twice. + * login/utmp_db.c, manual/time.texi, shlib-versions, sunrpc/rpc/svc.h, + sunrpc/rpcsvc/sm_inter.x, sysdeps/generic/abort.c, + sysdeps/libm-ieee754/e_sinhl.c, sysdeps/unix/sysv/linux/net/route.h, + sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Spell fixes. - * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter): - Use correct name to access PC. +1997-01-23 Paul Eggert <eggert@twinsun.com> - * sysdeps/unix/arm/sysdep.S: Include <bits/errno.h> not <errnos.h>. + * mktime.c (mktime): Invoke __tzset, not __tzset_internal, to set tz, + so that tzname is set as POSIX requires. - * sysdeps/generic/bits/types.h: Add __ino64_t and __off64_t. - * sysdeps/generic/bits/stat.h: Add struct stat64. +Fri Jan 24 02:49:18 1997 Ulrich Drepper <drepper@cygnus.com> -1997-11-12 16:08 Ulrich Drepper <drepper@cygnus.com> + * dirent/dirent.h: Declare readdir_r also when __USE_POSIX. + * grp/grp.h: Declare *_r functions also when __USE_POSIX. + * pwd/pwd.h: Likewise. + * time/time.h: Likewise. + * posix/unistd.h: Declare ttyname_r also when __USE_POSIX. + * string/string.h: Declare strtok_r also when __USE_POSIX. - * 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/bug7.c: Use tmpnam to generate names for test files. -1997-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * stdio-common/tmpnam.c: Update copyright. + * stdio-common/tmpnam_r.c: Likewise. - * sysdeps/wordsize-32/inttypes.h (SIG_ATOMIC_MAX): Correct value. - * sysdeps/wordsize-64/inttypes.h (SIG_ATOMIC_MAX): Likewise. + * sysdeps/unix/sysv/linux/alpha/sys/kernel_termios.h: Protect + against multiple inclusion. Include <termbits.h>. + * sysdeps/unix/sysv/linux/sys/kernel_termios.h: Likewise. -1997-11-11 Paul Eggert <eggert@twinsun.com> + * sysdeps/unix/sysv/linux/net/if.h: Update according to recent + kernel headers. Patch by Philip Blundell <pjb27@cam.ac.uk>. - Add overflow checking for 64-bit time_t and 32-bit int. +Thu Jan 23 17:42:00 1997 Ulrich Drepper <drepper@cygnus.com> - * time/time.h (__offtime): Now returns int. + * sysdeps/unix/sysv/linux/sparc/clone.S: Correct author attribution. - * time/offtime.c (__offtime): Return nonzero if successful; - check for tm_year overflow. - (DIV): New macro. - (LEAPS_THRU_END_OF): Handle negative years correctly. + * sysdeps/unix/sysv/linux/net/if_arp (MAX_ADDR_LEN): Add definition. - * time/tzset.c (__tz_convert): Return NULL if offtime cannot convert. +Thu Jan 23 14:20:34 1997 Ulrich Drepper <drepper@cygnus.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. + * time/tzfile.c (__tzfile_read): Don't allow arbitrary files to be + read when running a setuid program. - * manual/time.texi: Document the fact that localtime returns 0 - if the time can't be represented. +Thu Jan 23 04:06:42 1997 Ulrich Drepper <drepper@cygnus.com> -1997-11-12 06:03 Ulrich Drepper <drepper@cygnus.com> + * Make-dist (.PHONY: dist): Remove duplicate declaration. + (README): Depend on version.h not version.c. + * Makefile (README): Depend on version.h not version.c. - * time/strftime.c (memset_space, memset_zero): Use MEMPCPY, not - mempcpy. Patch by Ken'ichi Handa <handa@etl.go.jp>. + * Makeconfig (inst_libdir, inst_slibdir, inst_includedir, + inst_datadir, inst_zonedir, inst_localedir, inst_i18ndir, inst_bindir, + inst_sbindir, inst_infodir, inst_sysconfdir): New variables. Same + as variable withough inst_ but prepended with $(install_root). + (localtime-time): Use $(inst_sysconfdir) not $(sysconfdir). + * Makefile (install-others): Use $(inst_includedir). + (gnu/stabs.h, gnu/lib-names.h): Use $(inst_includedir). + * Makerules (tons of install rules): Use inst_% variables. + * elf/Makefile: Likewise. + * hurd/Makefile: Likewise. + * intl/Makefile: Likewise. + * manual/Makefile: Likewise. + * po/Makefile: Likewise. + * sunrpc/Makefile: Likewise. + * sysdeps/mach/hurd/Makefile: Likewise. + * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise. + * time/Makefile: Likewise. - * manual/time.texi: Document %F and %f format for strftime. + * config.make.in: Revert patch from Sat Jan 18 22:15:26 1997, + leave install_root in place. - * manual/arith.texi: Document copysign, nextafter and nan. + * gnu-versions.h (_GNU_GETOPT_INTERFACE_VERSION): Define to 2. + * posix/getopt.c (GETOPT_INTERFACE_VERSION): Define to 2. + * posix/getopt1.c (GETOPT_INTERFACE_VERSION): Define to 2. -1997-11-06 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * elf/Makefile [yes==$(has-ldconfig)]: Correct dependencies of + ldconfig. + (CFLAGS-dl-load.c): New variable, avoid gcc warning. - * test-installation.pl: New file. Tests for some installation - problems. + * sysdeps/mach/hurd/configure.in: Add _LIBC_REENTRANT to DEFINES. -1997-11-11 21:30 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/mach/hurd/getdents.c: Update copyright. De-ANSI-declfy. + * sysdeps/stub/getdents.c: Likewise. Correct return value. + * sysdeps/unix/getdents.c: Likewise. + * sysdeps/unix/sysv/getdents.c: Likewise. - * 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. - - * Makefile (install): Run test-installation.pl if possible. - - * 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: Describe hh modifier for scanf/printf. + * sysdeps/unix/readdir.c: Update copyright. - * math/complex.h: Don't define _Imaginary_I, but instead _Complex_I. - gcc does no yet know the `imaginary' keyword. + * sysdeps/unix/bsd/sony/newsos4/Makefile: Correct ifeq arguments. + * sysdeps/unix/bsd/sun/sunos4/Makefile: Likewise. + * sysdeps/unix/sysv/Makefile: Likewise. + * sysdeps/unix/sysv/linux/Makefile: Likewise. + * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise. + * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. - * math/test-math.c: Add little test for know gcc bug. + * sysdeps/unix/sysv/linux/Dist: Don't distribute kernel_termios.h, + but sys/kernel_termios.h. + * sysdeps/unix/sysv/linux/alpha/Dist: Likewise. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)==termios] + (sysdep_headers): Add sys/kernel_termios.h. + * sysdeps/unix/sysv/linux/kernel_termios.h: Moved to... + * sysdeps/unix/sysv/linux/sys/kernel_termios.h: ...here. + * sysdeps/unix/sysv/linux/tcgetattr.c: Use __kernel_termios and + __KERNEL_NCCS instead of kernel_termios and KERNEL_NCCS resp. - * math/tgmath.h: Make complex versions of log10() only available - if __USE_GNU. + * sysdeps/unix/sysv/linux/alpha/ioctls.h: New file. - * stdlib/test-canon.c: Fix typo. + * sysdeps/unix/sysv/linux/getdents.c: Correct problems with alignment. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove getdents. + Reported by Eirik Fuller <eirik@netcom.com>. - * sysdeps/generic/setenv.c: Avoid compilation warnings. - Reported by Jim Meyering. + * time/Banner: Removed. Wrong and unnecessary information. It's now + in... + * time/README: New file. + * time/Makefile (distribute): Remove Banner, add README. - * 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. +Wed Jan 22 13:19:56 1997 Richard Henderson <rth@tamu.edu> - * sysdeps/i386/i586/memcpy.S: New file. - * sysdeps/i386/i586/mempcpy.S: New file. + * sysdeps/unix/sysv/linux/alpha/ioperm.c (platforms): Add Sable. + (init_iosys): Recognize /etc/alpha_systype as a four-tuple for + the purpose of supporting brand new systems. + (*): The type of iosys variables should be iosys_t. - * sysdeps/i386/i586/memset.S: Fix typo. +1997-01-22 Paul Eggert <eggert@twinsun.com> - * sysdeps/posix/getcwd.c: Define HAVE_MEMPCPY for _LIBC. Add casts. + * strftime.c (_strftime_copytm): + New function, to work around Solaris 2.5 tzset bug. - * sysdeps/posix/system.c: Add comment to explain code. +Wed Jan 22 23:05:14 1997 Ulrich Drepper <drepper@cygnus.com> - * 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/mach/hurd/vdprintf.c: Complete de-ANSI-declfication. + Reported by Marcus G. Daniels <marcus@shannon.sysc.pdx.edu>. - * wcsmbs/wchar.h: Define WCHAR_{MIN,MAX} if not already defined. - Declare __wcsto{l,ul,ll,ull}_internal only if not already done. +Wed Jan 22 13:58:56 1997 Andreas Jaeger <aj@arthur.pfalz.de> - * 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. + * elf/Makefile (CFLAGS-dl-load.c): New Variable to keep gcc silent + since name_copy is initialized. - * time/mktime.c: Little comment correction. +Wed Jan 22 16:58:12 1997 Ulrich Drepper <drepper@cygnus.com> -1997-11-10 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * stdio-common/Makefile (tests): Remove scanf11. + * stdio-common/scanf11.c: Removed. + * stdio-common/vfscanf.c Revert patch of Thu Jan 16 23:39:25 1997. + Although the Corrigendum 1 describes the result as implemented the + even more recent Amendement 1 seconds the position of ISO C:1990 + where the %n directive has no effect on the assignment count. + * stdio-common/bug10.c: Likewise. + * stdio-common/scanf1.c: Likewise. + * stdio-common/scanf3.c: Likewise. + * stdio-common/scanf10.c: Likewise. + * stdio-common/tstdiomisc.c: Likewise. - * sysdeps/libm-ieee754/s_sincosl.c: Fix typo. + * new-malloc/obstack.h: Don't define malloc using bcopy if malloc + is not available. This leads to problems since bcopy does not + return a value. Instead define _obstack_memcpy based on memcpy or + bcopy. This name isn't used outside obstack.h and so no problems + from using the memcpy function in a file including obstack.h can + result. + Reported by Martin Trapp <trapp@ipd.info.uni-karlsruhe.de>. - * sysdeps/libm-ieee754/s_tanl.c: Fix typo. +Tue Jan 21 18:35:55 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/libm-ieee754/s_floorl.c: Correct typos. + * misc/regexp.h (compile): Fix typos. - * sysdeps/libm-ieee754/e_remainderl.c: Replace - EXTRACT_LDOUBLE_WORDS by GET_LDOUBLE_WORDS. +Tue Jan 21 01:01:59 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/libm-ieee754/e_atan2l.c: Replace EXTRACT_LDOUBLE_WORDS - by GET_LDOUBLE_WORDS. + * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo): Fix + type of pr_{pid,ppid,pgrp,sid} fields. + * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct + elf_prpsinfo): Likewise. - * sysdeps/libm-ieee754/s_scalbnl.c: Replace ";" by "," for correct - variable declaration. - * sysdeps/libm-ieee754/s_scalblnl.c: Likewise. +1997-01-21 Paul Eggert <eggert@twinsun.com> - * sysdeps/libm-ieee754/s_lrint.c (__lrint): Correct function. + * posix/getopt.c (_getopt_internal): Return -1, not EOF, when args + are exhausted; this is required by POSIX.2. + * catgets/gencat.c, db/makedb.c, locale/programs/locale.c, + locale/programs/localedef.c, manual/examples/subopt.c, + posix/getopt.c, posix/getopt1.c, stdio-common/bug4.c, + sunrpc/rpcinfo.c (main): Check getopt return value against -1, not EOF. - * math/libm-test.c (sqrt_test): Add test for sqrt (0.25). - (asin_test): Add more test. +Tue Jan 21 23:10:40 1997 Ulrich Drepper <drepper@cygnus.com> -1997-11-10 23:34 Ulrich Drepper <drepper@cygnus.com> + * version.h (VERSION): Bump to 1.102. - * 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. + * sysdeps/unix/sysv/linux/alpha/Dist: Add kernel_sigaction.h. -1997-11-10 07:40 H.J. Lu <hjl@gnu.ai.mit.edu> + * elf/Makefile: Don't use CFLAGS-dl-load.c, but instead + CPPFLAGS-dl-load.c so that dependencies can be determined correctly. + * elf/dl-load.c: Fix comment. - * stdlib/exit.c (exit): Handle recursive calls to exit (). + * time/Banner: New file. + * time/Makefile (distribute): Add Banner. -1997-11-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + Update from ADO tzcode1997a and tzdata1997a. + * time/antarctica: Update. + * time/australia: Update. + * time/zdump.c: Update. + * time/zic.c: Update. + * time/zone.tab: Update. - * 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. +Mon Jan 20 08:38:32 1997 H.J. Lu <hjl@gnu.ai.mit.edu> - * 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. + * config.make.in (has-ldconfig): New variable. - * 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. + * configure, configure.in (has_ldconfig): New substitute. -1997-11-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/configure.in (has_ldconfig): New, + check if $srcdir/elf/ldconfig.c exists. - * manual/arith.texi: Misc doc fixes. - * manual/ctype.texi: Likewise. - * manual/pattern.texi: Likewise. - * manual/terminal.texi: Likewise. + * Makeconfig (rootsbindir): New, default as + $(exec_prefix)/sbin. + (rtld-version-installed-name): New, default as + ld-$(version).so. -1997-11-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * Makefile (install): Call `$(common-objpfx)elf/ldconfig -d' + only if $(cross-compiling) is no and $(build-shared) is yes. - * 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. + * Makerules (make-shlib-link): New macro. + ($(slibdir)/libfoo.so.$(libfoo.so-version)): Use + $(make-shlib-link) for symlink. + (install-rootsbin, install-rootsbin-nosubdir): New. + (install-no-libc.a-nosubdir): Add + install-rootsbin-nosubdir. -1997-11-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * Rules (others): Add $(install-rootsbin). - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) - [$(subdir)=misc]: Add sys/prctl.h. - * sysdeps/unix/sysv/linux/Dist: Distribute it. + * config.make.in (rootsbindir): New. -1997-11-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * configure, configure.in (libc_cv_rootsbindir): New + substitute. - * io/ftwtest-sh: Don't use the unknown which command, instead try - pwd as /bin/pwd and /usr/bin/pwd. + * elf/Makefile (others, install-rootsbin): New, set to + ldconfig. + (+link): New for static linking. + ($(slibdir)/$(rtld-version-installed-name)): New. + ($(slibdir)/$(rtld-installed-name)): Depend on + $(slibdir)/$(rtld-version-installed-name) and use + $(make-shlib-link) for symlink. -1997-11-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sunrpc/xdr.c (xdr_string): Return FALSE if sp == NULL + while XDR_ENCODE. - * manual/maint.texi (Tools for Installation): Don't recommend - broken version 3.76.1 of make. - (Porting): Fix wording. + * sysdeps/unix/sysv/linux/a.out.h: Use #include_next for + glibc internals. -1997-11-06 06:13 H.J. Lu <hjl@gnu.ai.mit.edu> + * sysdeps/unix/sysv/linux/configure.in (libc_cv_rootsbindir): + New, set to "/sbin" if "$prefix" == "/usr". - * config.make.in (build-pic-default): New, defined with - pic_default. +Tue Jan 21 13:38:39 1997 Ulrich Drepper <drepper@cygnus.com> - * configure.in (pic_default): New, set to yes if PIC is - default. + * Makefile (distribute): Add glibcbug.in. + Reported by Philip Blundell <pjb27@cam.ac.uk>. - * Makeconfig (CPPFLAGS-.o, CPPFLAGS-.op, CPPFLAGS-.og, - CPPFLAGS-.ob): Add -DPIC if $(build-pic-default) is yes. + * elf/Makefile ($(objpfx)trusted-dirs.h): Create elf/ subdir in + build directory if necessary. + Reported by marcus@shannon.sysc.pdx.edu (Marcus G. Daniels). + +Tue Jan 21 04:05:20 1997 Ulrich Drepper <drepper@cygnus.com> + + * version.h (VERSION): Bump to 1.101. + + Implement -d and -r option to `ldd' to check relocations. + * elf/dl-error.c: Add another method to intercept errors. + (_dl_receive_error): New function. Install user defined handler. + (receiver): New variable. Contains pointer to user provided handler. + (_dl_signal_error): If user provided handler is installed call this. + * elf/dl-load.c (_dl_map_object): When shared object is not found in + trace mode initialize a few more fields so that lookup can actually + happen but always fails. + * elf/ldd.sh.in: Rewrite argument handling. Recognize new arguments + to trigger reloation test. Return with appropriate error code if + a file wasn't found. Print warning if object is not executable. + * elf/ldd.bash.in: Likewise. + * elf/link.h (receiver_fct): New type. Used in _dl_receive_error. + (_dl_sysdep_error): New prototype. + (_dl_receive_error): New prototype. + (_dl_signal_error): Remove __attribute__ ((__noreturn__)). + * elf/rtld.c (dl_main): Rewrite argument handling. More than + one argument allowed. Recognize --data-relocs and --function-relocs + arguments. + Don't determine `lazy' mode from LD_BIND_NOW environment variable + when in trace mode. + If in trace mode and either --data-relocs or --function-relocs is + given perform relocation. Report errors using print_unresolved + function. + (print_unresolved): New function. Print information about missing + symbol on stderr. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_error): New function. + Like _dl_sysdep_message but print to stderr. + * sysdeps/mach/hurd/dl-sysdep.c: Likewise. + + * sysdeps/generic/sockaddrcom.h: Add definition of sa_family_t. + Reported by Andreas Schwab. + (__SOCKADDR_COMMON): Use sa_family_t for family member. + * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise. -1997-11-09 18:15 Ulrich Drepper <drepper@cygnus.com> + Linux/Sparc support by Miguel de Icaza. + * sysdeps/sparc/fpu_control.h: New file. + * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: New file. + * sysdeps/unix/sysv/linux/sparc/brk.c: New file. + * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file. + * sysdeps/unix/sysv/linux/sparc/sigaction.c: New file. + * sysdeps/unix/sysv/linux/sparc/socket.S: New file. + * sysdeps/unix/sysv/linux/sparc/syscall.S: New file. + * sysdeps/unix/sysv/linux/sparc/sysdep.h: New file. + * sysdeps/unix/sysv/linux/sparc/Dist: New file. + * sysdeps/unix/sysv/linux/sparc/Makefile: New file. + + * sysdeps/unix/sysv/linux/net/if_arp.h: Don't use kernel header. + Provide own definition based on 4.4BSD and Linux. + * sysdeps/unix/sysv/linux/net/ppp_defs.h: Define __u32 before + including <linux/ppp_defs.h>. + * sysdeps/unix/sysv/linux/sys/msq_buf.h (struct msqid_ds): Don't + use __pid_t since the kernel might have a different size. + * sysdeps/unix/sysv/linux/sys/shm_buf.h (struct shmid_ds): Likewise. + Reported by Andreas Schwab. + + * time/asctime.c: Update copyright. + * time/dysize.c: Likewise. + * time/gmtime.c: Likewise. + * time/timegm.c: Likewise. + * time/offtime.c: Likewise. De-ANSI-declfy. + + * time/tzset.c (__tzset_internal): When TZ envvar does not name a + DST timezone don't default to offset -1. + + * sysdeps/unix/sysv/linux/net/route.h: Don't use kernel header. + Reported by a sun <asun@zoology.washington.edu>. - * Makerules (libc.so): Fix typo. + * resolv/Makefile: Correct spelling: subdirs-dirs -> subdir-dirs. - * csu/Makefile (CFLAGS-initfini.s): Correctly fix moving function - definition. Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>. + * sysdeps/stub/sysv_signal.c: New file. Stub implementation. - * stdlib/strtod.c: Handle numbers like 0.0e10000 correctly which - produce ±0.0. Reported by Joe Keane <jgk@jgk.org>. + * Makefile (distribute): Add mcheck.h. - * sysdeps/libm-ieee754/s_ceill.c: Fix typos. - * sysdeps/libm-ieee754/s_llrint.c: Correct code, it never worked. + * nis/Makefile (distribute): Add nss-nis.h. -1997-11-06 07:00 H.J. Lu <hjl@gnu.ai.mit.edu> + * libio/Makefile (routines): Change vdprintf to iovdprintf to prevent + dist problem. - * sysdeps/unix/sysv/i386/i686/time.S: Removed. + * nss/Makefile (distribute): Add digits_dots.c. -1997-11-08 14:07 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * sysdeps/unix/sysv/linux/Dist: Add kernel_sigaction.h. + * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/procfs.h. + * sysdeps/unix/sysv/linux/sparc/Dist: Add clone.S. + * new-malloc/Makefile (distribute): Add mcheck-init.c and mcheck.h. - * nis/libnsl.map: Add __do_niscall2 for nis_cachemgr. +Mon Jan 20 17:54:28 1997 Sven Verdoolaege <skimo@breughel.ufsia.ac.be> - * nis/nis_call.c: Set UDP resend timeout correct. + * manual/filesys.texi: Fix little problem (reentrant->readdir). - * 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. +Fri Jan 17 19:07:07 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * configure.in [$elf=yes]: Check for support of .previous and + .popsection in the assembler. + * config.h.in: Add HAVE_ASM_PREVIOUS_DIRECTIVE and + HAVE_ASM_POPSECTION_DIRECTIVE. + * libc-symbols.h (__make_section_unallocated) [HAVE_ELF]: Define + appropriate if either .previous or .popsection is supported. + (libc_warning) [HAVE_ELF]: Use it here. -1997-11-06 01:39 Ulrich Drepper <drepper@cygnus.com> +Sat Jan 18 22:15:26 1997 Richard Henderson <rth@tamu.edu> - * Makerules (libc.so): Add missing closing brace. + * Makeconfig (CFLAGS-.so): Add -fno-common to prevent odd sorts of + errors that can occur when linking libc.so. -1997-11-05 Brendan Kehoe <brendan@lisa.cygnus.com> +Mon Jan 20 05:20:49 1997 Ulrich Drepper <drepper@cygnus.com> - * 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. + * elf/dl-load.c (open_path): When running setuid don't try + a directory if it is not given with the full name. -1997-11-06 00:06 Ulrich Drepper <drepper@cygnus.com> + * elf/Makefile (before-compile): New variable. Mention trusted-dirs.h. + (trusted-dirs.h): Construct file from $(default-rpath) and + $(user-defined-trusted-dirs) variables. + * elf/dl-load.c (_dl_map_object): Pass additional argument to open_path + which is NULL except for the LD_LIBRARY_PATH pass in which case it + is a pointer to the list of directories from the trusted-dirs.h + file. + (open_path): Accept additional argument with list of trusted dirs. + When running setuid and a list of trusted dirs is given only use + those which are mentioned in the list. - * argp/argp-help.c: Optimize a bit by using mempcpy. - * elf/dl-load.c: Likewise. - * elf/dl-lookup.c: Likewise. - * inet/rcmd.c: Likewise. - * io/ftw.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. - * stdio-common/vfprintf.c: Likewise. - * stdlib/canonicalize.c: Likewise. - * stdlib/msort.c: Likewise. - * string/argz-replace.c: Likewise. - * sysdeps/generic/putenv.c: Likewise. - * sysdeps/generic/setenv.c: Likewise. - * sysdeps/posix/getcwd.c: Likewise. - * sysdeps/posix/ttyname.c: Likewise. - * sysdeps/posix/writev.c: Likewise. - * time/strftime.c: Likewise. - * time/tzfile.c: Likewise. + * elf/rtld.c (dl_main): Don't reject whole LD_LIBRARY_PATH when + running setuid. Instead accept entries which do not contain a '/'. - * login/utmp_daemon.c: Use memcpy instead of strcpy where possible. - * sunrpc/svcauth_des.c: Likewise. - * sysdeps/unix/sysv/linux/gethostname.c: Likewise. + * Makeconfig: Correct comment about +(default_cflags). - * misc/tsearch.c: Use memcpy return value if possible. - * posix/regex.c: Likewise. - * sysdeps/unix/readdir_r.c: Likewise. - * wcsmbc/wcsdup.c: Likewise. +Mon Jan 20 05:11:14 1997 Hrvoje Niksic <hniksic@srce.hr> - * nss/digits_dots.c: Little optimization. + * time/strptime.c (recursive): Use && not || to test for valid + argument. - * inet/ruserpass.c (ruserpass): Optimize by using stpcpy. - (struct toktab): Make tokstr field a const char *. +Mon Jan 20 05:06:50 1997 Ulrich Drepper <drepper@cygnus.com> - * elf/dl-profile.c: Fix typo. + * elf/ldd.sh.in: Exit with value 1 if an error occured. + * elf/ldd.bash.in: Likewise. - * 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/rtld.c (dl_main): Do not always ignore LD_PRELOAD when the + binary runs setuid. It is save to use those entries which do not + contain a '/'. This is compatible with Solaris-2. - * libio/oldfileops.c (_IO_old_file_jumps): Use correct sync and write - callbacks. Patch by NIIBE Yutaka <gniibe@mri.co.jp>. +Mon Jan 20 03:02:50 1997 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. + * Make-dist: Update and reformat copyright. + * Makeconfig: Likewise. + * assert/Makefile: Likewise. + * bare/Makefile: Likewise. + * ctype/Makefile: Likewise. + * dirent/Makefile: Likewise. + * gmon/Makefile: Likewise. + * gnulib/Makefile: Likewise. + * grp/Makefile: Likewise. + * hurd/Makefile: Likewise. + * intl/Makefile: Likewise. + * mach/Makefile: Likewise. + * malloc/Makefile: Likewise. + * manual/Makefile: Likewise. + * math/Makefile: Likewise. + * po/Makefile: Likewise. + * pwd/Makefile: Likewise. + * resource/Makefile: Likewise. + * setjmp/Makefile: Likewise. + * socket/Makefile: Likewise. + * string/Makefile: Likewise. + * sunrpc/Makefile: Likewise. + * sysdeps/alpha/Makefile: Likewise. + * sysdeps/gnu/Makefile: Likewise. + * sysdeps/m68k/fpu/switch/Makefile: Likewise. + * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise. + * sysdeps/m68k/fpu/switch/switch.c: Likewise. + * sysdeps/mach/Makefile: Likewise. + * sysdeps/hurd/Makefile: Likewise. + * sysdeps/sparc/Makefile: Likewise. + * sysdeps/standalone/i960/nindy960/Makefile: Likewise. + * sysdeps/standalone/m68k/m68020/mvme136/Makefile: Likewise. + * sysdeps/unix/common/Makefile: Likewise. + * sysdeps/unix/sysv/Makefile: Likewise. + * sysdeps/unix/sysv/irix4/Makefile: Likewise. + * sysdeps/unix/sysv/sco3.2/Makefile: Likewise. + * sysdeps/unix/sysv/sysv4/Makefile: Likewise. + * sysdeps/vax/Makefile: Likewise. + * sysvipc/Makefile: Likewise. + * wcsmbs/Makefile: Likewise. + * wctype/Makefile: Likewise. - * posix/regex.c: Indent preprocessor code. + * elf/rtld.c (dl_main): Objects in LD_PRELOAD environment variable + are separated according to Sun docs by white space not colon. - * posix/wordexp.c: Using _itoa_word instead of sprintf. + * locale/C-time.c (_nl_C_LC_TIME): Use empty string to initialize + fields which are not defined for the C locale. - * stdlib/canonicalize.c: Avoid unnecessary copying. Handle NULL - and "" arguments correctly according to SUS. - * stdlib/test-canon.c: Test "" and NULL argument handling. + * sysdeps/m68k/fpu/switch/Makefile: Don't use ansidecl.h in constructed + files. + * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise. + * sysdeps/m68k/fpu/switch/switch.c: Likewise. - * sysdeps/posix/writev.c: Correct condition to leave the loop. +Sun Jan 19 19:43:31 1997 Andreas Jaeger <aj@arthur.pfalz.de> -1997-11-05 18:13 Ulrich Drepper <drepper@cygnus.com> + * time/strptime.c: Provide prototype for strptime_internal. - * 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>. +Sun Jan 19 23:46:27 1997 Ulrich Drepper <drepper@cygnus.com> -1997-11-04 23:57 Ulrich Drepper <drepper@cygnus.com> + * glibcbug.in: We don't guarantee confidential handling. Set + field to always contain `no'. - * configure.in: Correct gcc -pipe test. - Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>. +Sun Jan 19 21:28:01 1997 Philippe De Muyter <phdm@info.ucl.ac.be> - * posix/glob.c: Cleanups. Patch by H.J. Lu <hjl@lucon.org>. + * intl/explodename.c: Include sys/types.h. + * intl/l10nflist.c: Likewise. -1997-11-04 Andreas Jaeger <aj@arthur.rhein-neckar.de> +Sat Jan 18 22:15:26 1997 Richard Henderson <rth@tamu.edu> - * manual/creature.texi (Feature Test Macros): Add _POSIX_C_SOURCE - definition. + * config.make.in (install_root): New variable to make it easy to + install glibc somewhere other than /. -1997-11-04 Ulrich Drepper <drepper@cygnus.com> - - * 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>. - -1997-11-02 Paul Eggert <eggert@twinsun.com> - - * 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. - -1997-11-02 Paul Eggert <eggert@twinsun.com> - - * strftime.c (memcpy_lowcase, memcpy_uppcase, strftime): - Ensure that args to islower and isupper are valid unsigned - chars, even if char is signed. - -1997-11-04 Ulrich Drepper <drepper@cygnus.com> - - * 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>. + * shlib-versions: alpha-*-linux-* libc=6.1. -1997-11-04 03:08 Ulrich Drepper <drepper@cygnus.com> + Since sigset_t no longer fits in a register, we can't pass in the + thread's initial mask so easily. Take this opportunity to simplify + the clone implementation by only accepting a single void* argument. - * glibcbug.in: Add information about configured target. - Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>. + * sysdeps/unix/sysv/linux/alpha/clone.S: Only take one argument. + * sysdeps/unix/sysv/linux/i386/clone.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/clone.S: Likewise. + * sysdeps/unix/sysv/linux/schedbits.h: Update clone prototypes. - * 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. + * sysdeps/unix/sysv/linux/alpha/ioctl-types.h: Remove. + Default Linux version should be sufficient. - * manual/creature.texi: Apply Paul Eggert's patch for better - _POSIX_C_SOURCE description. + * sysdeps/unix/sysv/linux/alpha/sigprocmask.c: The osf_sigprocmask + system call wants the sigset dereferenced. - * stdlib/strfmon.c: Fix numerous bugs in formatting. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add entries for + __syscall_ustat and __syscall_xmknod. + * sysdeps/unix/sysv/linux/alpha/xmknod.c: Include sys/sysmacros.h. - * 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/sigset.h: Use longs instead of ints. - * wcsmbs/wchar.h: Fix documentation bugs. Declare wcsdup only - is __USE_GNU. + * sysdeps/unix/sysv/linux/tcsetattr.c: Fix pointer dereferences. -1997-11-03 02:48 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/alpha/sigsuspend.c: Add comment about + dependency to kernel type. - * sysdeps/generic/bits/errno.h: Remove all error definitions. This - is only meant as a stub. + * sysdeps/unix/sysv/linux/alpha/termbits.h: Correct comment. -1997-10-31 Andreas Jaeger <aj@arthur.rhein-neckar.de> +Sun Jan 19 04:38:20 1997 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/standalone/bits/errno.h: Copied from - sysdeps/generic/bits/errno.h and added all know error codes that - are used in glibc. + * config.make.in (have-ksh, KSH): New variables. Will be filled + in by configure. + * configure.in: Add test for ksh like shell (prefer bash). + * time/Makefile (tests): Depend on install-test-data. + (distribute): Add simplebackw. + (generated-dirs): New variable. + [$(have-ksh)==yes] (install-others): Add iso3166.tab and zone.tab. + (install-bin): Add tzselect. + (install-test-data): Install the zoneinfo files which are needed + for the test case in the build directory. + (test-tz-ENV): New variable. Call test-tz program using data in + build directory. + * time/simpleback: New file. + * time/test-tz.c: Pretty print. + * time/tzfile.c: Use value of environment variable TZDIR as directory + to look for zone info files. + don't let search for DST data destroy already found values. + * time/tzselect.ksh: Use @KSH@ and @TZDIR@ to be substituted when + installing. + * time/tzset.c (__tzset_internal): Avoid freeing string twice. + Set DST zone name to normal zone name if no information is provided. -1997-11-03 02:23 Ulrich Drepper <drepper@cygnus.com> + * time/mktime.c (mktime): Call __tzset_internal to use current + value of TZ. - * 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>. + * Makerules (common-clean): Remove $(generated-dirs) inclusing content. -1997-11-03 00:20 Ulrich Drepper <drepper@cygnus.com> + * glibcbug.in: Fix several bugs. Reported by several people. - * intl/localealias.c (read_alias_file): Correct handling of line - reader which sometimes skipped complete lines (PR 205). - Optimize a bit by using mempcpy. + * elf/Makefile: Correct dependecies for $(objpfx)ldd. -1997-11-02 16:59 Philipp Thomas <kthomas@gwdg.de> + * inet/netinet/ip.h: Define IPTOS_LOWCOST and IPTOS_MINCOST. - * intl/localealias.c (read_alias_file): Correctly set map[].value - instead of overwriting map[].alias + * locale/C-time.c: Update copyright. + * locale/localeinfo.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/direntry.h: Likewise. -1997-11-02 15:32 Ulrich Drepper <drepper@cygnus.com> + * locale/programs/ld-time.c (time_finish): Correct message string. + * locale/programs/linereader.c (lr_token): Use correctly `number' + not `digit' in message string. - * libc.map: Add _IO_flockfile and _IO_funlockfile. - Suggested by H.J. Lu <hjl@lucon.org>. + * stdlib/strtol.c [UNSIGNED]: Don't punt immediately when `-' is + seen. Instead return ULONG_MAX and set ERANGE. + * stdlib/tst-strtol.c: Correct test to reflect above change. -1997-11-02 15:17 Ulrich Drepper <drepper@cygnus.com> +Sun Jan 19 03:22:30 1997 Ulrich Drepper <drepper@cygnus.com> - * 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/sysv/linux/sys/mtio.h: Don't use <linux/mtio.h>. + We must not use <linux/posix_types.h>. -1997-11-01 16:46 Zack Weinberg <zack@rabi.phys.columbia.edu> + * sysdeps/unix/sysv/linux/sys/ipc_buf.h: Don't use __kernel_* types + since we must not use <linux/posix_types.h>. + * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/sys/ipc_buf.h: New file. Similar + to sysdeps/unix/sysv/linux/sys/ipc_buf.h, but use alpha relavent + types. + * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: New file. Similar + to sysdeps/unix/sysv/linux/sys/procfs.h, but use alpha relavent + types. - * configure.in: Check for gcc-2.7.2 -pipe bug and hack around it - (PR 245). +Sun Jan 19 01:48:20 1997 H.J. Lu <hjl@gnu.ai.mit.edu> -1997-11-01 Paul Eggert <eggert@twinsun.com> + * sysdeps/libm-i387/e_exp.S: Correct computation of fractional + part. + * sysdeps/libm-i387/e_expf.S: Likewise. + * sysdeps/libm-i387/e_expl.S: Likewise. + * sysdeps/libm-i387/s_expm1.S: Correct computation of fractional + part. Take care of additional value left on stack by fscale. + * sysdeps/libm-i387/s_expm1f.S: Likewise. + * sysdeps/libm-i387/s_expm1l.S: 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. +Fri Jan 17 17:45:32 1997 Ulrich Drepper <drepper@cygnus.com> -1997-10-31 23:16 Ulrich Drepper <drepper@cygnus.com> + * posix/getopt.c: Change all direct usages of `gettext' to `_'. - * 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). + * sysdeps/generic/sysd-stdio.c (__stdio_reopen): Add missing + parameter. + Reported by Harmanjit Singh <harman@netearth.iitd.ernet.in>. - * 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. +Thu Jan 16 23:39:25 1997 Ulrich Drepper <drepper@cygnus.com> - * misc/Makefile (tests): Add tst-fdset. + * stdio-common/Makefile (tests): Add scanf11. + * stdio-common/scanf11.c: New file. + * stdio-common/vfscanf.c (__vfscanf): Increment `done' when %n + was processed and value is not suppressed. + * stdio-common/bug10.c: Correct test to expect %n increment the + return value of scanf. + * stdio-common/scanf1.c: Likewise. + * stdio-common/scanf3.c: Likewise. + * stdio-common/scanf10.c: Likewise. + * stdio-common/tstdiomisc.c: Likewise. - * sysdeps/i386/bits/select.h: Rewrite asm macros to be cleaner. + * time/strptime.c: Add lots of conditional compiling to enable use + outside glibc. When used in glibc, make sure C locale format + strings will always be recognized. - * sysdeps/unix/sysv/linux/Dist: Add xstatconv.c. - * sysdeps/unix/sysv/linux/alpha/Dist: Likewise. +Sat Jan 11 18:53:47 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * time/strptime.c (strptime_internal): In %y format, regard years - >= 69 as of twentieth century, all other as of twenty-first. + * sysdeps/unix/sysv/linux/sys/sysmacros.h (major, minor, makedev): + Fix definitions so that they work with __kernel_dev_t. - * time/tzset.c: Correct typo and little optimization. +Sat Jan 11 14:24:10 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-10-31 16:01 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/kernel_sigaction.h, + sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h, + sysdeps/unix/sysv/linux/sigaction.c: New files. + * sysdeps/unix/sysv/linux/syscalls.list: Add s_sigaction. - * inet/getnetgrent.c: Allocate buffer dynamically if needed. - Suggested by Joe Keane <jgk@jgk.org>. +Sun Jan 12 15:22:33 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-10-31 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * libc-symbols.h (link_warning): Make sure that the .gnu.warning + section is not allocated. + Update and reformat copyright. - * io/ftw.h: Declare __ftw64_func_t and __nftw64_func_t only when - __USE_FILE_OFFSET64 || __USE_LARGEFILE64 is true. +Sun Jan 12 12:19:28 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-10-30 05:47 Ulrich Drepper <drepper@cygnus.com> + * elf/Makefile ($(objpfx)ldd): Fix depedency list. - * 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>. +Sat Jan 11 15:11:26 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * misc/mntent.c: Allow freeing of allocated buffer in - __libc_subfreeres. - * misc/efgcvt.c: Likewise. + * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Fix + command so that it works in subdirectories. - * misc/efgcvt.c: Call correct reentrant functions. - Use better values for MAXDIG. - * misc/qefgcvt.c: Use better values for MAXDIG. +Wed Jan 8 22:07:58 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-10-29 18:48 Richard Henderson <rth@cygnus.com> + * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_getgroups and + s_setgroups. + * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/i386/getgroups.c, + sysdeps/unix/sysv/linux/i386/setgroups.c, + sysdeps/unix/sysv/linux/m68k/getgroups.c, + sysdeps/unix/sysv/linux/m68k/setgroups.c: New files. - * 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. +Wed Jan 8 19:42:59 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * Makefile (config.status): Delete bogus rule. + ($(objpfx)glibcbug): Renamed from plain `glibcbug', depend on + config.status in build directory, fix command to change to build + directory. + * Makeconfig ($(common-objpfx)config.status): Depend on version.h. - * 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. +Thu Jan 9 08:47:54 1997 Andreas Jaeger <aj@arthur.pfalz.de> - * 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. + * glibcbug.in (while): We test for four and not five conditions, + set MAIL_AGENT instead of RMAIL, filter spaces and tabs. - * sysdeps/unix/sysv/linux/alpha/bits/dirent.h (struct dirent): For - consistency, force d_ino to use ino_t and supply padding. +Thu Jan 16 22:00:27 1997 Ulrich Drepper <drepper@cygnus.com> -1997-10-29 18:47 Richard Henderson <rth@cygnus.com> + * misc/syslog.c: Don't define cancel_handler if _LIBC_REENTRANT + is not defined. Reported by Andreas Jaeger. - * libio/iofopen.c: Correct weak_alias. +Thu Jan 9 08:47:54 1997 Andreas Jaeger <aj@arthur.pfalz.de> -1997-10-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * new-malloc/malloc.c (__MALLOC_P): define call to pthread + initializer only if NO_THREADS is not defined. - * Makerules (install): Correct last patch. +Wed Jan 8 21:28:58 1997 Andreas Jaeger <aj@arthur.pfalz.de> -1997-10-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * resolv/nss_dns/dns-host.c: Clean-up: delete unnecessary includes + and variables. - * math/libm-test.c (cbrt_test): Add epsilon for cbrt(0.970299). +Thu Jan 16 21:50:27 1997 Ulrich Drepper <drepper@cygnus.com> -1997-10-29 21:20 Ulrich Drepper <drepper@cygnus.com> + * inet/arpa/inet.h: Include <netinet/in.h> to get struct in_addr + defined. - * libio/strops.c (_IO_str_seekoff): If mode is zero and the read/write - pointers are tied set mode according to current stream mode. +Tue Jan 7 17:29:59 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * Makerules (LDLIBS-c.so): New variable. - * 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. +Tue Jan 7 19:22:00 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-10-17 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * Makefile ($(includedir)/gnu/lib-names.h): Define the library + names as strings, not as sequence of tokens that may fall apart. - * Make-dist (try-sysdeps): Don't look for stub files anymore. +Fri Jan 10 14:08:41 1997 Roland McGrath <roland@fmh.frob.com> - * manual/maint.texi (Porting): Remove another reference to stub - directory. + * time/tzfile.c (__tzfile_read): Check for bogus type and zone name + indices in data file and punt, so a bogus file can't crash us. - * 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 +Thu Jan 16 20:29:15 1997 Ulrich Drepper <drepper@cygnus.com> -1997-10-29 03:54 Ulrich Drepper <drepper@cygnus.com> + * values.h [__USE_MISC]: Define BITSPERBYTE. - * resolv/nss_dns/dns-host.c: Change variable pointed to by h_errnop - in all error cases (PR 244). +Fri Jan 17 14:16:28 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> -1997-10-29 00:56 Ulrich Drepper <drepper@cygnus.com> + * stdio/vdprintf.c: Moved file to ... + * sysdeps/posix/vdprintf.c: Here. De-ansideclificate. + * sysdeps/stub/vdprintf.c: New file. + * sysdeps/mach/hurd/vdprintf.c: New file. - * posix/glob.c: Fix handling of expressions like "*/" (PR 325). - Optimize by using mempcpy. +Thu Jan 9 15:59:35 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> -1997-10-17 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/mach/hurd/posix_opt.h: New file. - * 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>. + * sysdeps/mach/hurd/sigwait.c (sigwait): Don't affect signal mask. -1997-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Finish + deansideclification. - * sysdeps/generic/bits/errno.h (ENOMSG): Define it. - Pointed out by Klaus Espenlaub - <kespenla@hydra.informatik.uni-ulm.de> (PR libc/259). + * sysdeps/mach/libc-lock.h: Add kludges to pretend to implement + recursive locks. -1997-10-28 17:40 Ulrich Drepper <drepper@cygnus.com> +Tue Jan 7 09:48:15 1997 Andreas Jaeger <aj@arthur.pfalz.de> - * 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. + * signal/sigempty.c (sigemptyset): Correct typo: Empty set should + have all bits zero. -1997-10-28 17:14 Ulrich Drepper <drepper@cygnus.com> +Tue Jan 7 23:44:39 1997 Ulrich Drepper <drepper@cygnus.com> - * manual/filesys.texi (S_ISVTX): Describe that it is available with - _BSD_SOURCE only. - Reported by Jochen Hein <jochen.hein@delphi.central.de>. + * inet/gethstbynm.c: Include additional headers for additional + code in nss/digits_dots.c. + * inet/gethstbynm_r.c: Likewise. + * inet/gethstbynm2.c: Likewise. + * inet/gethstbynm2_r.c: Likewise. + * nss/digits_dots.c: New file. Handle dotted pair notation for + gethstbynm functions. + * nss/getXXbyYY.c: Include digits_dots.c to get extra code for + handling dotted pair notation. + * nss/getXXbyYY_r.c: Likewise. + Patches by HJ Lu. -1997-10-28 04:26 Ulrich Drepper <drepper@cygnus.com> + * resolv/nss_dns/dns-host.c: Don't handle dotted pair notation. - * 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>. + * io/getwd.c: Optimized a bit. -1997-10-28 02:51 Ulrich Drepper <drepper@cygnus.com> + * signal/signal.h: Always declare __sysv_signal. - * manual/filesys.texi: Correct prototype in readdir_r description. - Reported by Jim Meyering <meyering@eng.ascend.com>. + * sysdeps/generic/setenv.c: Add some portability code. -1997-10-27 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/unix/sysv/fcntlbits.h: Update copyright. - * math/libm-test.c (cbrt_test): Add test for cbrt(0.970299). + * sysdeps/unix/sysv/linux/fcntlbits.h: Add definitions from kernel + to avoid using kernel headers. + * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: New file. Alpha + specific version. -1997-10-26 19:39 Zack Weinberg <zack@rabi.phys.columbia.edu> + * sysdeps/unix/sysv/linux/syscalls.list: Add sys_mknod. Don't + mark sigreturn as EXTRA. - * 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. + * sysdeps/unix/sysv/linux/ustat.c: Declare __syscall_ustat. + * sysdeps/unix/sysv/linux/alpha/ustat.c: New file. Alpha version. -1997-10-26 18:12 Ulrich Drepper <drepper@cygnus.com> +Tue Jan 7 09:48:15 1997 Andreas Jaeger <aj@arthur.pfalz.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. + * io/fts.c (fts_alloc): Add const to second parameter of function. - * login/Makefile (distribute): Add README.utmpd. - * login/README.utmpd: New file. - Provided by Mark M. Kettenis <kettenis@phys.uva.nl>. + * io/Makefile: Change CFLAGS-fts.c and define CFLAGS-ftw.c to + prevent warnings. - * manual/job.texi: Document tcgetsid. - * manual/pattern.texi: Document globfree. - * manual/terminal.texi: Document B38400 ... B460800. + * signal/sigfillset.c: Include <string.h> for memset declaration. - * posix/confstr.c: Print "-D_FILE_OFFSET_SIZE=64" for _CS_LFS_CFLAGS. +Tue Jan 7 11:14:32 1997 Miles Bader <miles@gnu.ai.mit.edu> - * posix/unistd.h: Add explanation of _POSIX_* constants. + * sysdeps/generic/setenv.c: Fix portability problems. - * 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. +Tue Jan 7 02:10:17 1997 Ulrich Drepper <drepper@cygnus.com> - * string/bits/string2.h: Add casts to allow void * arguments. + * posix/getopt.c (_getopt_internal): Don't reset __getopt_initialized + after the last option was seen. - * sysdeps/i386/i486/bits/string.h: Define index and rindex only if - __USE_BSD or __USE_XOPEN_EXTENDED. +Mon Jan 6 15:30:21 1997 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/bits/socket.h: Add SCM_RIGHTS and other - SCM_* constants from kernel header. + * elf/elf.h (DT_EXTRANUM): Set to 3 since 0x7ffffffd is used. - * termios/termios.h: Add prototype for tcgetsid. +Mon Jan 6 13:57:05 1997 Ulrich Drepper <drepper@cygnus.com> -1997-10-26 13:26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * io/ftw.c: Add `const' to second parameter of function given as + second parameter to ftw. + * io/ftw.h: Likewise for prototype. + Reported by Ronald F. Guilmette <rfg@monkeys.com>. - * sunrpc/clnt_perr.c: Add trailing '\0' to strings. +Thu Jan 2 23:44:39 1997 Philip Blundell <pjb27@cam.ac.uk> - * sunrpc/get_myaddr.c: Include rpc/clnt.h for prototypes. + * inet/Makefile (headers): Add netinet/ip.h. + * inet/netinet/ip.h: New file, contains BSD definitions for struct + ip and friends. - * sunrpc/pmap_clnt.c: Use get_myaddress from header file. +Fri Jan 3 23:17:11 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-10-26 05:26 Ulrich Drepper <drepper@cygnus.com> + * string/string.h (strnlen): Add cast for C++. - * configure.in: Punt if any directory mentioned in the - enable-add-on parameter does not exist. +Mon Jan 6 03:31:46 1997 Ulrich Drepper <drepper@cygnus.com> -1997-10-25 19:25 Ulrich Drepper <drepper@cygnus.com> + * Makefile (install-bin): Define as glibcbug to install script. + (glibcbug): New rules. Create from glibcbug.in. + * configure.in (AC_OUTPUT): Generate glibcbug script. + * glibcbug.in: New file. + * version.c: Mention glibcbug to report bugs. + * catgets/gencat.c: Likewise. + * db/makedb.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. + * elf/ldd.bash.in: Likewise. + * elf/ldd.sh.in: Likewise. + * intl/locale.alias: Likewise. - * termios/Makefile (routines): Add tcgetsid. - * termios/tcgetsid.c: New file. - Provided by Mark M. Kettenis <kettenis@phys.uva.nl>. + * mcheck.h: New file. Necessary since mcheck.h is used in time/ap.c. -1997-10-25 18:56 Ulrich Drepper <drepper@cygnus.com> + * set-init.c: Update and reformat copyright. + * version.c: Likewise. + * signal/sigaddset.c: Likewise. + * signal/sigdelset.c: Likewise. + * signal/sigempty.c: Likewise. + * signal/sigfillset.c: Likewise. + * signal/siggetmask.c: Likewise. + * signal/sigismem.c: Likewise. + * sysdeps/generic/speed.c: Likewise. + * sysdeps/unix/getdents.c: Likewise. + * sysdeps/unix/xmknod.c: Likewise. + * sysdeps/unix/bsd/poll.c: Likewise. + * sysdeps/unix/bsd/tcdrain.c: Likewise. + * sysdeps/unix/bsd/tcflow.c: Likewise. + * sysdeps/unix/bsd/tcflush.c: Likewise. + * sysdeps/unix/bsd/tcgetpgrp.c: Likewise. + * sysdeps/unix/bsd/tcsendbrk.c: Likewise. + * sysdeps/unix/bsd/tcsetpgrp.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c: Likewise. + * sysdeps/unix/sysv/getdents.c: Likewise. + * sysdeps/unix/sysv/i386/sigreturn.S: Likewise. + * termios/Makefile: Likewise. + * termios/cfmakeraw.c: Likewise. + * termios/cfsetspeed.c: Likewise. - * stdlib/stdlib.h: Remove mblen optimization. - * stdlib/mblen.c: Rewrite to make sure global state is not changed. - Reported by anderson@metrolink.com. + * version.h: Bump VERSION to 1.100. -1997-10-19 21:51 Wolfram Gloger <wg@wolfram.dent.med.uni-muenchen.de> + * intl/finddomain.c: Defining stpcpy function isn't necessary. - * malloc/thread-m.h [_LIBC]: Use new __libc_internal_tsd_{set,get} - interface for thread-specific data. + * libio/genops.c (_IO_init): Use _IO_lock_init instead of + _IO_lock_init_recursive. + * libio/stdfiles.c (DEF_STDFILE): Use _IO_lock_initializer instead + of _IO_lock_init. -1997-10-25 06:51 Ulrich Drepper <drepper@cygnus.com> + * locale/programs/charmap.c (obstack_chunk_alloc): Use malloc instead + of xmalloc. + * locale/programs/ld-collate.c: Likewise. + * locale/programs/simple-hash.c: Likewise. - * elf/dl-addr.c: Use braces for correct logical grouping. - Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>. + * misc/Makefile (headers): Add selectbits.h. + * misc/sys/select.h: Include <selectbits.h> to get necessary + definitions. + * sysdeps/generic/selectbits.h: New file. Generic macros for + handling file descriptor sets. + * sysdeps/i386/selectbits.h: New file. i386 specific macros for + handling file descriptor sets. + * sysdeps/generic/gnu/types.h: Remove _FD_* macros. -1997-10-18 09:15 Geoff Keating <geoffk@ozemail.com.au> + * misc/mntent_r.c: Fix handling of multiple, comma-separated + options. Patch by Sai-Lai Lo <sll@orl.co.uk>. - * io/ftwtest-sh: Sometimes /tmp is a symlink to somewhere more - convenient; that caused this test to break. + * po/de.po: Update. + * po/ko.po: Update. + * po/sv.po: Update. - * sysdeps/powerpc/dl-machine.h: Fix typo. + * posix/getopt.c: Only use the bash generated environment variable + to determine non-option parameters when using in GNU libc and if + the argument vector given to getopt is the same as given to the + program. - * 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. + * posix/unistd.h [__USE_GNU]: Declare environ. - * rpm/template: Add description, use RPM flags rather than the ones - used to build the spec. Build in a temporary directory, not /. + * posix/sys/types.h (key_t): Also define when __USE_XOPEN. - * 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. + * resolv/res_debug.c: Add casts to prevent warnings. + * resolv/res_query.c: Likewise. -1997-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * resolv/nss_dns/dns-host.c: Change type for buffer size arguments + to `size_t'. + * resolv/nss_dns/dns-network.c: Likewise. - * manual/filesys.texi (Scanning Directory Content): Document error - case more. + * signal/sigempty.c: Use memset to initialize variable. + * signal/sigfillset.c: Likewise. - * dirent/scandir.c (scandir): Ignore errors from select function. - Suggested by urbanw@cs.umu.se (closes PR libc/316). + * signal/signal.h: Change back handling of signal. The BSD + version is preferred and the new sysv_signal is used when + __USE_XOPEN. + * sysdeps/posix/sysv_signal.c: Renamed from signal.c. Use SVID + semantic. + * sysdeps/posix/signal.c: Renamed from bsd_signal.c. Use BSD + semantic. + * sysdpes/posix/sigpause.c: Correct comment. + * sysdeps/stub/sigpause.c: Provide default implementation. + * signal/Makefile (routines): Remove bsd_signal, add sysv_signal. -1997-10-25 06:18 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/generic/abort.c: Allow repeated calls to abort if + a user defined handler for SIGABRT is installed. - * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Corrections. - Patch by Erik Troan <ewt@redhat.com>. + * sysdeps/stub/libc-lock.h: Define separate set of macros for + handling recursive mutexes. -1997-10-25 04:00 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/Makefile: Change rule to generate syscall.h file + so that it is generate in the sys/ subdir. - * 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. + * sysdeps/unix/sysv/linux/Dist: Add kernel_termios.h. + * sysdeps/unix/sysv/linux/alpha/Dist: Add kernel_termios.h and + sys/acct.h. -1997-10-22 18:47 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * sysdeps/unix/sysv/linux/direntry.h: Don't use struct dirent from + kernel. Define own version with additional field d_type. + * sysdeps/unix/sysv/linux/getdents.c: New file. Reformat dirent + entries after reading from kernel. - * sunrpc/rpc/clnt.h: Add get_myaddress prototype. + * sysdeps/unix/sysv/linux/gnu/types.h: Don't use kernel headers. + Define types based on kernel types except for uid_t, gid_t, mode_t, + dev_t which are larger now. + * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Likewise. - * nis/libnsl.map: Fix typo. + * sysdeps/unix/sysv/linux/ioctl-types.h: Don't include + <linux/termios.h>. Define structure here. + * sysdeps/unix/sysv/linux/alpha/ioctl-types.h: Likewise. + * sysdeps/unix/sysv/linux/kernel_termios.h: New file. Define + architecture dependent struct termio type. + * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Likewise. + * sysdeps/unix/sysv/linux/sigset.h: Define extended sigset_t type. + * sysdeps/unix/sysv/linux/sigsuspend.c: Pass first word of array + to syscall. + + * sysdeps/unix/sysv/linux/socketbits.h: Don't use kernel header. + * sysdeps/unix/sysv/linux/statfsbuf.h: Likewise. + * sysdeps/unix/sysv/linux/termbits.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/termbits.h: Likewise. + * sysdeps/unix/sysv/linux/ustatbits.h: Likewise. + * sysdeps/unix/sysv/linux/net/if.h: Likewise. + * sysdeps/unix/sysv/linux/netinet/in.h: Likewise. + * sysdeps/unix/sysv/linux/sys/acct.h: Likewise. - * nis/nis_call.c: Fix memory leak. + * sysdeps/unix/sysv/linux/sys/sysmacros.h (minor, major, mkdev): + Change definitions to fit new dev_t definition. -1997-10-22 19:29 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/syscalls.list: Add getdents and sigreturn. + Rename ustat to s_ustat since wrapper is needed. - * sysdeps/generic/memcmp.c: Define __P if not defined before. - Patch by Jim Meyering <meyering@eng.ascend.com>. + * sysdeps/unix/sysv/linux/tcgetattr.c: After getting value from + kernel rewrite it to userland level data format. + * sysdeps/unix/sysv/linux/tcsetattr.c: Before calling kernel change + data format to kernel format. + * sysdeps/unix/sysv/linux/ustat.c: New file. Change format of + device parameter to format needed by kernel. + * sysdeps/unix/sysv/linux/alpha/ustat.c: Likewise. + * sysdeps/unix/sysv/linux/xmknod.c: New file. Extend generic + version to change device parameter to format needed by kernel. + * sysdeps/unix/sysv/linux/alpha/xmknod.c: Likewise. -1997-10-21 22:09 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/alpha/sys/acct.h: New file. Alpha specific + definition of accounting structure. - * sysdeps/unix/sysv/linux/sys/prctl.h: New file by Richard Gooch - <rgooch@atnf.csiro.au>. + * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <asm/ptrace.h>. + Patch by Andreas Schwab. -1997-10-21 21:50 Ulrich Drepper <drepper@cygnus.com> + * time/ap.c: Include <mcheck.h>. - * misc/syslog.c (vsyslog): Open console with O_NOCTTY. - Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>. + * time/tzset.c (__tzset_internal): Change to take one argument + which tells whether examining of TZ is always wanted or only if + no initialization happened before. + * time/localtime.c: (localtime, __localtime_r): Change for new + __tzset_internal form. -1997-10-21 18:07 Ulrich Drepper <drepper@cygnus.com> + * time/sys/time.h: Include <sys/select.h> to get select related + declarations. - * posix/wordexp.c: Improve handling of $... expressions. - Patch by Tim Waugh <tim@cyberelk.demon.co.uk>. +Mon Jan 6 01:58:21 1997 Richard Henderson <richard@atheist.tamu.edu> -1997-10-21 16:12 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/alpha/dl-machine.h (elf_machine_dynamic): Work around + bug in GNU ld. - * manual/string.texi: Correct return values of bcopy and bzero. - Patch by Matthew Wilcox <willy@odie.barnet.ac.uk>. +Mon Jan 6 01:35:29 1997 H.J. Lu <hjl@gnu.ai.mit.edu> -1997-10-18 15:03 Philip Blundell <Philip.Blundell@pobox.com> + * misc/getpass.c: Make sure the content of the input buffer is not + printed if the getpass function is interrupted. - * 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. +Sat Jan 4 17:07:08 1997 Roland McGrath <roland@fmh.frob.com> -1997-10-17 22:29 Ulrich Drepper <drepper@cygnus.com> + * md5-crypt/Makefile (rpath-link): Add md5-crypt objdir, not crypt. - * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Fix another - bug in startup code. - Patch by Eric Delaunay <delaunay@lix.polytechnique.fr>. +Thu Jan 2 17:58:23 1997 Roland McGrath <roland@fmh.frob.com> -1997-10-16 20:17 Richard Henderson <rth@cygnus.com> + * sysdeps/generic/abort.c: Include <string.h> for memset decl. - * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Dump args to the - stack and give the kernel a pointer. Use the sysdep.h macros. + * new-malloc/mcheck.c [_LIBC || STDC_HEADERS || USG]: Include + <string.h> so memset is declared. -1997-10-17 04:07 Ulrich Drepper <drepper@cygnus.com> +Tue Dec 31 21:16:05 1996 Roland McGrath <roland@fmh.frob.com> - * sysdeps/sparc/sparc32/elf/start.S: Calculate argv correctly. - Patch by Eric Delaunay <delaunay@lix.polytechnique.fr>. + * elf/dl-deps.c (_dl_map_object_deps): Support DT_AUXILIARY. -1997-10-16 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * elf/dl-error.c (_dl_catch_error): Save and restore old catch site so + calls can be nested. - * sysdeps/libm-ieee754/s_nextafterxf.c [!__STDC__]: Correct typo. + * elf/link.h (struct link_map): Extend `l_info' by DT_EXTRANUM elts. + * elf/dynamic-link.h (elf_get_dynamic_info): Grok tags in the Sun + extension range. -1997-10-16 14:50 Ulrich Drepper <drepper@cygnus.com> + * elf/elf.h (DT_AUXILIARY, DT_FILTER, DT_EXTRANUM): New constant + macros, for Sun extensions. + (DT_EXTRATAGID): New macro to convert Sun extension tag values placed + near the top of the processor-specific range into zero-origin indices. - * manual/pattern.texi: Document globfree. + * elf/dl-deps.c (_dl_map_object_deps): Check for malloc failure. -1997-10-15 21:11 Philip Blundell <Philip.Blundell@pobox.com> +Sat Jan 4 22:25:01 1997 Andreas Jaeger <aj@arthur.pfalz.de> - * sysdeps/unix/sysv/linux/net/if_packet.h: New file. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add - net/if_packet.h. + * libio/fcloseall.c: Include stdio.h for prototype declaration for + __fcloseall. - * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_ASH): New type, for - 64Mbps ASH. - (ARPHRD_ETHER): This is used for 100Mbps networks too. +Thu Jan 2 17:35:20 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> -1997-10-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/posix/signal.c: Provide ignorable definitions of + SA_ONESHOT, SA_NOMASK, and SA_INTERRUPT for non-threads Posix + systems. - * Makerules (install): Use full pathnames for linker script. - This is to work around a limitation in `ld' while no better solution - is possible. +Thu Jan 2 23:20:51 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-10-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * MakeTAGS ($P/siglist.pot): Delete rule. + (XGETTEXTFLAGS-siglist.pot): Remove definition. + (all-pot): Remove $P/siglist.pot. + * sysdeps/unix/siglist.c: Mark strings as translatable. + * sysdeps/unix/sysv/linux/siglist.h: Likewise. - * malloc/malloc.c (mmap_chunk): Put inline before static in - function definition to avoid compiler warning. - (malloc_extend): Likewise. +Wed Jan 1 22:21:18 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/generic/des_impl.c: Include "des.h" to avoid warning. + * misc/syscall.h: New file. + * misc/sys/syscall.h: Removed. Forwarding to <syscall.h> might + find user header, so do it the other way round. + * sysdeps/mach/sys/syscall.h: Moved here from parent directory. + * sysdeps/stub/sys/syscall.h: Likewise. + * sysdeps/unix/sysv/linux/sys/syscall.h: Likewise. + * sysdeps/unix/sysv/sco3.2.4/sys/syscall.h: Likewise. + * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Update + dependency. + * sysdeps/unix/sysdep.h: Include <sys/syscall.h> instead of + <syscall.h>. -1997-10-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> +Tue Dec 31 00:03:18 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.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. + * features.h: Fix typo. -1997-10-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Thu Jan 2 00:46:09 1997 Ulrich Drepper <drepper@cygnus.com> - * Rules: Remove all empty.* files. - (shared-only-routines): Correct implementation. + * libio/_G_config.h: Add _G_HAVE_LONG_DOUBLE_IO for libg++. -1997-10-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Wed Jan 1 15:15:00 1997 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/libm-ieee754/s_lrintl.c: Make compilable. - * sysdeps/libm-ieee754/s_llrintl.c: Likewise. Optimized. + * libio/Makefile (routines): Add fcloseall. + * libio/fcloseall.c: New file. + * libio/stdio.h [__USE_GNU]: Add prototype for fcloseall. + * libio/iofclose.c: Don't close all streams when argument is NULL. -1997-10-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * stdio/Makefile (routines): Add fcloseall. + * stdio/fcloseall.c: New file. + * stdio/stdio.h [__USE_GNU]: Add prototype for fcloseall. + * stdio/fclose.c: Don't close all streams when argument is NULL. - * elf/ldd.bash.in: Only prepend ./ if the file contains no slash - at all. - * elf/ldd.sh.in: Likewise. + * manual/stdio.texi: Document fcloseall. -1997-10-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/generic/abort.c: Call __fcloseall instead of fclose with + NULL argument. - * sysdeps/m68k/sys/ucontext.h: New file. + * socket/sys/un.h (SUN_LEN): Add cast. -1997-10-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sunrpc/auth_unix.c (authunix_create): Change parameter types + of uid, gid, and aup_gids to uid_t and gid_t respectively. + (authunix_create_default): Likewise. + (authunix_refresh): Correct cast for aup_gids assignment. + * sunrpc/rpc/auth.h (authunix_create): Correct types in declaration. + * sunrpc/rpc/auth_unix.h (struct authunix_parms): Correct field + types to uid_t and gid_t respectively. + (struct short_hand_verf): Likewise. + Reported by Andreas Schwab. - * 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. + * sysdeps/ieee754/Makefile: New file. Make sure ieee754.h gets + installed. + * sysdeps/ieee754/ieee754.h: Protect against multiple inclusion and + use in C++ programs. - * sysdeps/m68k/fpu/s_scalbn.c: Add scalbln alias. - * sysdeps/m68k/fpu/s_scalbnf.c: Adapted. - * sysdeps/m68k/fpu/s_scalbnl.c: Adapted. + * sysdeps/libm-i387/e_pow.S: New file. Optimized ix87 assembler + version of pow() function. + * sysdeps/libm-i387/e_powf.S: New file. Float version. + * sysdeps/libm-i387/e_powl.S: New file. Long double version. - * 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. + * sysdeps/libm-i387/s_expm1.S: New file. Optimized ix87 assembler + version of expm1() function. + * sysdeps/libm-i387/s_expm1f.S: New file. Float version. + * sysdeps/libm-i387/s_expm1l.S: New file. Long double version. - * sysdeps/m68k/fpu/bits/mathinline.h: Add fma and scalbln. Update - lrint and scalbn. - (__m81_inline) [__cplusplus]: Define to __inline. + * sysdeps/libm-i387/e_exp.S: Optimize handling of +-Inf. + Better handling of computation stack from current NetBSD sources. + * sysdeps/libm-i387/e_expf.S: Likewise. + * sysdeps/libm-i387/e_expl.S: Likewise. - * math/bits/mathcalls.h: Remove whitespace before second argument - of __MATHDECL. Add note explaining this. + * sysdeps/libm-i387/e_log.S: Use fstp instead of fincstp. + * 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/s_asinh.S: Likewise. + * sysdeps/libm-i387/s_asinhf.S: Likewise. + * sysdeps/libm-i387/s_asinhl.S: Likewise. + * sysdeps/libm-i387/s_significandl.S: Likewise. -1997-10-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/libm-i387/s_ceil.S: Don't create stack frame. Modify + stack pointer directly. Use 32 bit instead of 16 bit operations. + * sysdeps/libm-i387/s_ceilf.S: Likewise. + * sysdeps/libm-i387/s_ceill.S: Likewise. + * sysdeps/libm-i387/s_floor.S: Likewise. + * sysdeps/libm-i387/s_floorf.S: Likewise. + * sysdeps/libm-i387/s_floorl.S: Likewise. - * manual/arith.texi (Absolute Value): Spelling fix. + * sysdeps/libm-ieee754/e_coshf.c (huge): Don't declare volatile. + * sysdeps/libm-ieee754/e_expf.c: Likewise. + * sysdeps/libm-ieee754/e_powf.c: Likewise. + From current NetBSD sources. -1997-10-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/libm-ieee754/e_hypot.c (__ieee754_hypot): Don't initialize + `a' and `b' in definition. + * sysdeps/libm-ieee754/e_hypotf.c: Likewise. - * malloc/obstack.h (obstack_empty_p) [!__GNUC__]: Properly - parenthesize the macro parameter. + * sysdeps/libm-ieee754/e_hypotl.c: New file. Long double + implementation. + * sysdeps/libm-ieee754/e_sinhl.c: New file. Long double + implementation. + * sysdeps/stub/e_hypotl.c: Removed. We have a real version now. + * sysdeps/stub/e_sinhl.c: Removed. -1997-10-15 06:56 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/posix/sigpause.c (__sigpause): Use sigdelset instead of + sigaddset. Reported by Andreas Schwab. + (__default_sigpause): New function. Call __sigpause as BSD version. + Make this the default function by providing alias sigpause. + * sysdeps/stub/sigpause.c (__default_sigpause): New funciton. + Simply fail. Provide alias sigpause. - * Rules: Remove rules to magically install <subdir>.h headers. - Reported by Mark Kettenis <kettenis@phys.uva.nl>. +Wed Jan 1 12:34:54 1997 Ulrich Drepper <drepper@cygnus.com> - * 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. + * po/es.po: Update for glibc-1.98. + * po/fr.po: Likewise. + * po/sv.po: New file. Swedish translation. - * libc.map: Move _IO_list_all back to GLIBC_2.0. +Wed Jan 1 12:18:07 1997 MacGyver <macgyver@tos.net> - * elf/rtld.c: Provide name of running program to _dl_new_object. + * values.h: Fix typos: use SHRT_MAX but SHORT_MAX and SHRT_MIN but + SHORT_MIN. - * 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. +Tue Dec 24 23:10:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * stdio-common/printf.c: Optimize. - * stdio-common/scanf.c: Optimize. + * Makefile: Replace `stubs.h' by `gnu/stubs.h'. + * features.h: Include <gnu/stubs.h> instead of <stubs.h>. - * sysdeps/generic/setfpucw.c: Include #include <...> not "...". +Tue Dec 24 22:16:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/i386/i486/bits/string.h: Add optimized versions of index and - rindex. + * Makefile (subdirs): Move `elf' last so that librtld.so isn't + relinked in the `make others' pass if an add-on adds something to + libc. -1997-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de> +Mon Dec 23 21:23:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * sysdeps/m68k/abort-instr.h: New File. -1997-10-13 05:25 Ulrich Drepper <drepper@cygnus.com> +Mon Dec 23 21:16:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. - -1997-10-12 20:27 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * 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. + * sysdeps/m68k/Makefile ($(subdir)=elf): Define CFLAGS-rtld.c + to prevent warning. -1997-10-12 20:14 Zack Weinberg <zack@rabi.phys.columbia.edu> +Mon Dec 23 21:14:22 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/stub/getsid.c: Add a stub_warning. - * sysdeps/stub/mmap.c: Likewise. - * sysdeps/stub/munmap.c: Likewise. + * resolv/Makefile (subdirs-dirs): Define. -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. - - * nis/nis_call.c: Remove calls to the cache functions. - - * nis/libnsl.map: Remove cache and depending functions. - * nis/nis_intern.h: 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_local_names.c: Likewise. - * nis/nis_mkdir.c: Likewise. - * nis/nis_rmdir.c: Likewise. - * nis/nis_subr.c: Likewise. - * nis/nis_verifygroup.c: Likewise. - - * 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. - - * nis/nis_defaults.c: Fixed a lot of race conditions. - - * nis/nis_free.c: Rewritten. - - * sunrpc/auth_des.c: Fix use of free'ed pointer. - - * nis/Makefile (libnsl-routines): Remove nis_clone, nis_cache and - lckcache. Add nis_clone_dir, nis_clone_obj, and nis_clone_res. +Mon Dec 23 20:56:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-10-09 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/gnu/utmpbits.h (struct utmp): Fix padding. - * wctype/test_wctype.c (TEST): Add parens to avoid ambiguity. +Mon Dec 30 11:05:11 1996 Ulrich Drepper <drepper@cygnus.com> -1997-10-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + Update from ADO tzcode1996o. + * time/difftime.c: De-ANSI-declfy. Simplify computation of hibit + according to ADO version. + * time/zic.c: Correct typo is message. - * include/features.h: Don't crash if _XOPEN_SOURCE is defined to - be empty. + Update from ADO tzdata1996n. + * time/asia: Updated. + * time/australasia: Likewise. + * time/europe: Likewise. + * time/northamerica: Likewise. + * time/southamerica: Likewise. -1997-10-09 05:54 Ulrich Drepper <drepper@cygnus.com> +Mon Dec 30 01:32:59 1996 Ulrich Drepper <drepper@cygnus.com> - * 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. - -1997-10-09 05:00 Ulrich Drepper <drepper@cygnus.com> - - * 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>. + * tme/localtime.c: Rewrite so that localtime_r does not call tzset, + but localtime does. -1997-10-09 04:58 Ulrich Drepper <drepper@cygnus.com> + * features.h: Rename ANSI C to ISO C. + Mention __GLIBC__ and __GLIBC_MINOR__ macros. - * configure.in: Add __bzero definition to DWARF2 unwind test. - Reported by David S. Miller <davem@caip.rutgers.edu>. + * gnu-versions.h: Add _GNU_GETOPT_INTERFACE_VERSION. + * posix/getopt.c: Use _GNU_GETOPT_INTERFACE_VERSION to check + whether we can elide the code. + * posix/getopt1.c: Likewise. + * posix/Makefile: Correct copyright. + + * elf/dl-error.c (_dl_catch_error): Clear `catch' also when error + occurred. + * elf/dl-support.c (_dl_sysdep_open_zero_fill): Don't define if + MAP_ANON is defined. + * elf/eval.c: Use __getline instead of getline. + * elf/rtld.c (dl_main): Check return value of _dl_new_object + function for NULL. + * sysdeps/generic/dl-cache.c: Update copyright. + + * signal/Makefile: Correct copyright. + (routines): Remove gsignal and ssignal. Add bsd_signal. + * signal/gsignal.c: Removed. Now is made an alias. + * signal/ssignal.c: Likewise. + * sysdeps/posix/raise.c: Add alias gsignal. + * sysdeps/stub/raise.c: Likewise. + * sysdeps/posix/signal.c: Add alias ssignal. + * sysdeps/stub/signal.c: Likewise. + * signal/signal.h: Declare bsd_signal. Define signal as bsd_signal + if __FAVOR_BSD. + * sysdeps/posix/bsd_signal.c: New file. Implementation of XPG + function. This is the old signal.c file. + * sysdeps/posix/signal.c: Change to have semantic of X/Open. + + * sysdeps/unix/sysv/linux/signal.c: Add explanation. + + * socket/sys/un.h: Define SUN_LEN according to POSIX.1g. + + * stdio-common/Makefile (tests): Add scanf10. + * stdio-common/scanf10.c: New file. + * stdio-common/vfscanf.c: Decrement counter if EOF is read while + reading string. + + * sysdeps/libm-i387/e_acos.S: Use END, not PSEUDO_END. + * sysdeps/libm-i387/e_acosl.S: Likewise. + * sysdeps/libm-i387/e_asin.S: Likewise. + * sysdeps/libm-i387/e_asinl.S: Likewise. + * sysdeps/libm-i387/e_atan2.S: Likewise. + * sysdeps/libm-i387/e_atan2f.S: Likewise. + * sysdeps/libm-i387/e_atan2l.S: Likewise. + * sysdeps/libm-i387/e_exp.S: Likewise. + * sysdeps/libm-i387/e_expl.S: Likewise. + * sysdeps/libm-i387/e_fmod.S: Likewise. + * sysdeps/libm-i387/e_fmodl.S: Likewise. + * sysdeps/libm-i387/e_log.S: Likewise. + * sysdeps/libm-i387/e_log10.S: Likewise. + * sysdeps/libm-i387/e_log10l.S: Likewise. + * sysdeps/libm-i387/e_logl.S: Likewise. + * sysdeps/libm-i387/e_remainder.S: Likewise. + * sysdeps/libm-i387/e_remainderf.S: Likewise. + * sysdeps/libm-i387/e_remainderl.S: Likewise. + * sysdeps/libm-i387/e_scalb.S: Likewise. + * sysdeps/libm-i387/e_scalbl.S: Likewise. + * sysdeps/libm-i387/e_sqrt.S: Likewise. + * sysdeps/libm-i387/e_sqrtf.S: Likewise. + * sysdeps/libm-i387/e_sqrtl.S: Likewise. + * sysdeps/libm-i387/s_atan.S: Likewise. + * sysdeps/libm-i387/s_atanf.S: Likewise. + * sysdeps/libm-i387/s_atanl.S: Likewise. + * sysdeps/libm-i387/s_ceil.S: Likewise. + * sysdeps/libm-i387/s_ceilf.S: Likewise. + * sysdeps/libm-i387/s_ceill.S: Likewise. + * sysdeps/libm-i387/s_copysign.S: Likewise. + * sysdeps/libm-i387/s_copysignf.S: Likewise. + * sysdeps/libm-i387/s_copysignl.S: Likewise. + * sysdeps/libm-i387/s_cos.S: Likewise. + * sysdeps/libm-i387/s_cosf.S: Likewise. + * sysdeps/libm-i387/s_cosl.S: Likewise. + * sysdeps/libm-i387/s_finite.S: Likewise. + * sysdeps/libm-i387/s_finitef.S: Likewise. + * sysdeps/libm-i387/s_finitel.S: Likewise. + * sysdeps/libm-i387/s_floor.S: Likewise. + * sysdeps/libm-i387/s_floorf.S: Likewise. + * sysdeps/libm-i387/s_floorl.S: Likewise. + * sysdeps/libm-i387/s_ilogb.S: Likewise. + * sysdeps/libm-i387/s_ilogbf.S: Likewise. + * sysdeps/libm-i387/s_ilogbl.S: Likewise. + * sysdeps/libm-i387/s_log1p.S: Likewise. + * sysdeps/libm-i387/s_log1pf.S: Likewise. + * sysdeps/libm-i387/s_log1pl.S: Likewise. + * sysdeps/libm-i387/s_logb.S: Likewise. + * sysdeps/libm-i387/s_logbf.S: Likewise. + * sysdeps/libm-i387/s_logbl.S: Likewise. + * sysdeps/libm-i387/s_rint.S: Likewise. + * sysdeps/libm-i387/s_rintf.S: Likewise. + * sysdeps/libm-i387/s_rintl.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/s_significand.S: Likewise. + * sysdeps/libm-i387/s_significandf.S: Likewise. + * sysdeps/libm-i387/s_significandl.S: Likewise. + * sysdeps/libm-i387/s_sin.S: Likewise. + * sysdeps/libm-i387/s_sinf.S: Likewise. + * sysdeps/libm-i387/s_sinl.S: Likewise. -1997-10-07 Paul Eggert <eggert@twinsun.com> + * sysdeps/libm-i387/e_log.S: Use fyl2xp1 instruction for values + near 1 to increase precision. + * sysdeps/libm-i387/e_log10.S: Likewise. + * sysdeps/libm-i387/e_log10l.S: Likewise. + * sysdeps/libm-i387/e_logl.S: Likewise. - * intl/loadmsgcat.c (_nl_load_domain): - Fix &&/|| typo when checking file size. - Check for overflow when stuffing off_t into size_t. + * sysdeps/libm-i387/s_cos.S: Use testl instead of andw. + * 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_tan.S: Likewise. + * sysdeps/libm-i387/s_tanl.S: Likewise. -1997-10-07 18:11 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/libm-i387/e_acosf.S: New file. Add float versions. + * sysdeps/libm-i387/e_asinf.S: Likewise. + * sysdeps/libm-i387/e_expf.S: Likewise. + * sysdeps/libm-i387/e_fmodf.S: Likewise. + * sysdeps/libm-i387/e_log10f.S: Likewise. + * sysdeps/libm-i387/e_logf.S: Likewise. + * sysdeps/libm-i387/e_scalbf.S: Likewise. - * time/africa: Update from tzdata1997i. + * sysdeps/libm-i387/e_acosh.S: New file. Highly optimized versions. + * sysdeps/libm-i387/e_acoshf.S: Likewise. + * sysdeps/libm-i387/e_acoshl.S: Likewise. + * sysdeps/libm-i387/e_atanh.S: Likewise. + * sysdeps/libm-i387/e_atanhf.S: Likewise. + * sysdeps/libm-i387/e_atanhl.S: Likewise. + * sysdeps/libm-i387/e_asinh.S: Likewise. + * sysdeps/libm-i387/e_asinhf.S: Likewise. + * sysdeps/libm-i387/e_asinhl.S: Likewise. -1997-10-07 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/libm-ieee754/s_asinhf.c: Tweak a bit. Use lower levels + for simplified handling. - * posix/globtest.sh: Add arguments for name of dynamic linker and - call dynamic linker to execute globtest. + * sysdeps/unix/sysv/linux/syscalls.list: Add query_module. - * posix/Makefile (tests): Supply arguments to globtest.sh. +Sun Dec 22 01:39:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-10-07 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * inet/rcmd.c (rcmd): Set h_errno before calling herror. + * inet/rexec.c (rexec): Likewise. - * nis/rpcsvc/ypupd.h: Add missing __END_DECLS. +Sat Dec 21 21:47:08 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-10-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/m68k/setjmp.c (__setjmp): Make it really + compatible. - * libc.map: Add mempcpy, prctl. +Sun Dec 22 03:23:33 1996 Ulrich Drepper <drepper@cygnus.com> -1997-09-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/libm-i387/s_log1p.S: Use fyl2xp1 for numbers in range + -0.29 <= x <= 0.29, otherwise the old method. + * sysdeps/libm-i387/s_log1pf.S: Likewise. + * sysdeps/libm-i387/s_log1pl.S: Likewise. - * sysdeps/generic/memcmp.c: Avoid warnings. - * sysdeps/generic/memset.c: Likewise. - * sysdeps/generic/strchr.c: Likewise. - * sysdeps/generic/strlen.c: Likewise. +Sun Dec 22 00:01:27 1996 Ulrich Drepper <drepper@cygnus.com> -1997-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * inet/getnetgrent.c: Reformat copyright. - * malloc/Makefile ($(objpfx)mtrace): Fix typo. + * inet/getnetgrent_r.c (__internal_endnetgrent): Correct comment. + (__internal_getnetgrent): Rename to __internal_getnetgrent_r as + required in change nis/nss_compat/* at Thu Dec 19 14:24:50 1996. + Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>. -1997-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * nss/nss_files/files-netgrp.c: Fix typo. + * login/utmp_db.c: Comment out unused variables. + * misc/tst-dirname.c: Provide prototype for main (for now). + * new-malloc/mcheck-init.c: Include <mcheck.h>. + * new-malloc/obstack.c: Provide real prototypes. - * 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. + * resolv/base64.c (b64_ntop): Use size_t as type of `i', not int. + (b64_pton): Likewise for `tarindex'. + * resolv/nsap_addr.c (inet_nsap_addr): Add cast to prevent warning. - * 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. + * stdio-common/Makefile: Add CFLAGS-vfprintf.c to prevent warning. + * stdio-common/printf-parse.h: Remove definition of MIN and MAX. + * stdio-common/printf-prs.c: Include <sys/param.h> to get MIN and MAX. + * stdio-common/vfprintf.c: Likewise. + * stdlib/gmp-impl.h: Only define MIN and MAX if not already done. + * stdlib/tst-strtol.c: Don't use -2147483648 as unsigned long value. + + * sysdeps/generic/Makefile ($(subdir)=string): Define + CFLAGS-wordcopy.c to prevent warning. + * sysdeps/generic/mul_n.c (mpn_mul_n): Don't define as inline. + * sysdeps/generic/wordcopy.c: De-ANSI-declfy. + * sysdeps/i386/Makefile ($(subdir)=elf): Define CFLAGS-rtld.c + to prevent warning. + * sysdeps/i386/dl-machine.h: Correct copyright. + * sysdeps/unix/closedir.c: Likewise. + * sysdeps/unix/dirstream.h: Likewise. + * sysdeps/unix/opendir.c: Likewise. + * time/tzset.c: Add prototype for __tzset_internal. - * elf/dl-runtime.c (fixup, profile_fixup): Don't add in the - addend, instead let the machine dependent setup decide. + * sysdeps/gnu/utmpbits.h (enum utlogin): Comment out since the + way it is supposed to work is not yet known. + (struct utmp): Remove ut_login and ut_syslen field for now. -1997-09-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Sat Dec 21 16:23:54 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/m68k/m68020/bits/string.h: New file. + * time/strftime.c: Fix another bug in handling flags made it + impossible to use the `-', `_', or `0' flag. -1997-10-07 04:27 Richard Henderson <rth@cygnus.com> +Sat Dec 21 04:14:16 1996 Ulrich Drepper <drepper@cygnus.com> - * Makeconfig (+includes): Add -I$(objpfx). + * sysdeps/unix/common/pause.c: Add missing second argument in + call to __sigpause. + Reported by a sun <asun@zoology.washington.edu>. - * stdlib/longlong.h [__sparc__]: Prototype __udiv_qrnnd. + * locale/weight.h: Correct handling of collation elements. + Reported by Keld Simonsen <keld@dkuug.dk>. - * 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. + * manual/time.texi: Document ^ flag and %P format. -1997-10-06 21:01 David S. Miller <davem@tanya.rutgers.edu> + * new-malloc/malloc.c: Update from Wolfram Gloger. - * 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. + * nss/nss.h: Reformat copyright. + * posix/sched.h: Likewise. + * sysdeps/i386/fpu_control.h: Likewise. + * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise. + * sysdeps/unix/sysv/linux/ioctls.h: Likewise. + * sysdeps/unix/sysv/linux/sigcontext.h: Likewise. + * sysdeps/unix/sysv/linux/utsnamelen.h: Likewise. + * sysdeps/unix/sysv/linux/sys/acct.h: Likewise. + * sysvips/sys/msg.h: Likewise. -1997-10-06 19:35 Ulrich Drepper <drepper@cygnus.com> + * stdio-common/Makefile (routines): Remove fcloseall. + * stdio-common/fcloseall.c: Removed. - * sysdeps/sparc/sparc64/sub_n.S: Fix typo. - Patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>. + * stdlib/Makefile (distribute): Add abort-instr.h. + * sysdeps/generic/abort-instr.h: New file. + * sysdeps/i386/abort-instr.h: New file. + * sysdeps/generic/abort.c: Use lock and stage counter to prevent + any form of loop. -1997-10-06 01:09 Zack Weinberg <zack@rabi.phys.columbia.edu> + * sysdeps/unix/sysv/linux/timebits.h: Define CLK_TCK as 100. + * sysdeps/unix/sysv/linux/alpha/timebits.h: Define CLOCKS_PER_SEC + as 1000000. Define CLK_TCK as 1024. + * time/time.c (CLK_TCK): Define only if not already set. - * time/README: Correct list of files from tzcode package. Add - contact information for tzcode/tzdata maintainers. Correct - spelling of author's name. Compact lists. + * time/strftime.c: Don't use `isdigit' when computing field width + from string since the locale might have more than one digit + block. -1997-10-06 01:48 Ulrich Drepper <drepper@cygnus.com> +Fri Dec 20 12:38:14 1996 Darrel Hankerson <hankedr@mail.auburn.edu> - * malloc/malloc.h: Remove hook definition without caller argument. - * malloc/malloc.c: Likewise. + * posix/getopt.c (in -W option handling): Return when optind == argc. - * 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. +Thu Dec 19 14:24:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * libc.map: Remove _libio_using_thunks, add _fp_hw and _dl_addr. + * nis/nss_nis/nis-alias.c (_nss_nis_parse_aliasent): Add const to + type of KEY. - * 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. + * nis/nss_compat/compat-grp.c: Include the declaration of the file + parser. + * nis/nss_compat/compat-pwd.c: Likewise. + * nis/nss_compat/compat-spwd.c: Likewise. + * nis/nss_nis/nis-ethers.c: Likewise. + * nis/nss_nis/nis-grp.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. + + * nis/nss_compat/compat-grp.c (getgrent_next_nis, + getgrent_next_file): Pass the correct type for the buffer to the + parser function. + * nis/nss_compat/compat-pwd.c (getpwent_next_netgr, + getpwent_next_nis, getpwent_next_file): Likewise. + * nis/nss_compat/compat-spwd.c (getspent_next_netgr, + getspent_next_nis, getspent_next_file): Likewise. + * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r, + _nss_nis_getethernam_r, _nss_nis_getetherbyaddr_r): Likewise. + * nis/nss_nis/nis-grp.c (internal_nis_getgrent_r, + _nss_nis_getgrnam_r, _nss_nis_getgrgid_r): Likewise. + * nis/nss_nis/nis-network.c (internal_nis_getnetent_r, + _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise. + * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r, + _nss_nis_getprotobyname_r, _nss_nis_getprotobynumber_r): Likewise. + * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r, + _nss_nis_getpwnam_r, _nss_nis_getpwuid_r): Likewise. + * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r, + _nss_nis_getrpcbynumber_r): Likewise. + * nis/nss_nis/nis-spwd.c (internal_nis_getspent_r, + _nss_nis_getspnam_r): Likewise. + +Thu Dec 19 13:37:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/unix/sysv/linux/m68k/setjmp.c: New file. + +Thu Dec 19 23:28:33 1996 Ulrich Drepper <drepper@cygnus.com> + + * resolv/resolv.h: Update from BIND 4.9.5-P1. + * resolv/res_comp.c: Likewise. + * resolv/res_debug.c: Likewise. + * resolv/Banner: Update version number. + +Thu Dec 19 20:58:53 1996 Ulrich Drepper <drepper@cygnus.com> + + * elf/dlfcn.h: Add extern "C" wrapper. + + * io/utime.h: Don't define NULL since this isn't allowed in POSIX. + * io/sys/stat.h: Declare `lstat' only if __USE_BSD || + __USE_XOPEN_EXTENDED. + * locale/locale.h: Define NULL. + * math/math.c: Don't include <errno.h> to define math errors. * 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. + * posix/unistd.h: Don't declare environ. + * posix/sys/utsname.h (struct utsname): Declare member domainname + as __domainname is !__USE_GNU. + * signal/signal.h: Declare size_t only if __USE_BSD || + __USE_XOPEN_EXTENDED. + * stdio/stdio.h: Don't declare cuserid when __USE_POSIX, but + instead when __USE_XOPEN. + * string/string.h: Define strndup only if __USE_GNU. + * sysdeps/unix/sysv/linux/clock.c: New file. + * sysdeps/unix/sysv/linux/timebits.h: Define CLOCKS_PER_SEC as + 1000000 per X/Open standard. + * features.h: Add code to recognize _POSIX_C_SOURCE value 199309. + Define __USE_POSIX199309. + * posix/unistd.h: Declare fdatasync only if __USE_POSIX199309. + * time/time.c: Declare nanosleep only if __USE_POSIX199309. + Patches by Rüdiger Helsch <rh@unifix.de>. + + * locale/locale.h: Add declaration of newlocale and freelocale. + + * new-malloc/Makefile (distibute): Add mtrace.awk. + (dist-routines): Add mcheck and mtrace. + (install-lib, non-lib.a): Define as libmcheck.a. + * new-malloc/malloc.h: Add declaration of __malloc_initialized. + * new-malloc/mcheck.c: New file. + * new-malloc/mcheck.h: New file. + * new-malloc/mtrace.c: New file. + * new-malloc/mtrace.awk: New file. + + * posix/unistd.h: Correct prototype for usleep. + * sysdeps/unix/bsd/usleep.c: De-ANSI-declfy. Correct return type. + * sysdeps/unix/sysv/linux/usleep.c: Real implementation based on + nanosleep. + + * signal/signal.h: Change protoype of __sigpause to take two + arguments. Remove prototype for sigpause. Add two different + macros named sigpause selected when __USE_BSD or __USE_XOPEN + are defined. This is necessary since the old BSD definition + of theis function collides with the X/Open definition. + * sysdeps/posix/sigpause.c: Change function definition to also + fit X/Open definition. + + * sysdeps/libm-i387/e_exp.S: Make sure stack is empty when the + function is left. + * sysdeps/libm-i387/e_expl.S: Likewise. + Patch by HJ Lu. - * 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. +1996-12-17 Paul Eggert <eggert@twinsun.com> - * 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. + * many, many files: Spelling corrections. + * catgets/catgetsinfo.h (mmapped): + Renamed from mmaped (in struct catalog_info.status). + * mach/err_kern.sub (err_codes_unix), string/stratcliff.c (main): + Fix spelling in message. + * po/libc.pot: Fix spelling in message for `zic'; this anticipates + a fix in the tzcode distribution. - * posix/exevp.c: Don't use nested function. +Wed Dec 18 15:48:02 1996 Ulrich Drepper <drepper@cygnus.com> - * stdlib/ucontext.h: New file. - * sysdeps/i386/sys/ucontext.h: New file. SysV/i386 API definitions. + * time/strftime.c: Implement ^ flag to cause output be converted + to use upper case characters. - * sunrpc/xcrypt.c (hexval): Make a macro for efficiency. + * time/zic.c: Update from ADO tzcode1996n. - * sysdeps/i386/setjmp.h: Make `here` label local. +Wed Dec 18 14:29:24 1996 Erik Naggum <erik@naggum.no> - * sysdeps/i386/elf/start.S: Define _fp_hw "variable". + * time/strftime.c (add): Don't change global `i' until all is over. + Define NULL is not already defined. - * sysdeps/stub/fstatfs.c: Correct warning. - * sysdeps/stub/fxstat.c: Likewise. - * sysdeps/stub/lxstat.c: Likewise. +Tue Dec 17 09:49:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/unix/sysv/i386/i686/time.S: New file. - -1997-10-03 20:56 Jason Merrill <jason@yorick.cygnus.com> - - * malloc/obstack.h (obstack_empty_p): New macro. - -1997-10-04 17:41 Philip Blundell <Philip.Blundell@pobox.com> - - * inet/getnameinfo.c (getnameinfo): Remove spurious `#if INET6'. - -1997-09-30 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * 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. - -1997-09-30 17:29 Richard Henderson <rth@cygnus.com> - - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Move - _dl_hwcap declaration to ... - (elf_machine_fixup_plt): ... here. - -1997-09-30 18:03 Ulrich Drepper <drepper@cygnus.com> - - * Makerules: Undo last change. - * csu/Makefile: Define before-compile at the right place. - - * aclocal.m4: Remove a.out file created by assembler test. - - * set-init.c: Find set-hooks.h using <...>. - - 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_conv.c: Likewise. - * db2/btree/bt_cursor.c: Likewise. - * db2/btree/bt_put.c: Likewise. - * db2/btree/bt_rec.c: Likewise. - * db2/btree/bt_recno.c: Likewise. - * db2/btree/btree.src: Likewise. - * db2/btree/btree_auto.c: Likewise. - * db2/clib/getlong.c: Likewise. - * db2/db/db.c: Likewise. - * db2/db/db_auto.c: Likewise. - * db2/db/db_conv.c: Likewise. - * db2/db/db_pr.c: Likewise. - * db2/db/db_ret.c: Likewise. - * db2/db/db_thread.c: Likewise. - * db2/hash/hash.c: Likewise. - * db2/hash/hash_auto.c: Likewise. - * db2/hash/hash_conv.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/include/btree.h: Likewise. - * db2/include/btree_ext.h: Likewise. - * db2/include/db.h.src: Likewise. - * db2/include/db_185.h.src: Likewise. - * db2/include/db_cxx.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/lock.h: Likewise. - * db2/include/log.h: Likewise. - * db2/include/log_ext.h: Likewise. - * db2/include/mp.h: Likewise. - * db2/include/shqueue.h: Likewise. - * db2/include/txn.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/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/mutex/mutex.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_dump185/db_dump185.c: Likewise. - * db2/progs/db_load/db_load.c: Likewise. - * db2/progs/db_recover/db_recover.c: Likewise. - * db2/txn/txn.c: Likewise. - * db2/txn/txn_auto.c: Likewise. - - * 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. + * libio/iovsprintf.c (_IO_vsprintf): Change `&sf' to `&sf._sbf._f' + to avoid the need for a cast. + * libio/iovsscanf.c (_IO_vsscanf): Likewise. - * 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. - - * 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. +Wed Dec 18 03:31:58 1996 Ulrich Drepper <drepper@cygnus.com> - * locale/programs/localedef.c (options): Short form of verbose is v. - Reported by Andreas Jaeger. + * dirent/scandir.c: Undo change from Mon Dec 2 15:32:15 1996. + The stream is private and usages outside glibc don't care about + reentrancy. + * io/fts.c: Likewise. + * io/ftw.c: Likewise. + * sysdeps/posix/getcwd.c: Likewise. + * sysdeps/posix/ttyname.c: Likewise. + * sysdeps/posix/ttyname_r.c: Likewise. + * sysdeps/posix/glob.c: Likewise. - * misc/sys/select.h: Define pselect only is __USE_POSIX since this - header is used in some others as well for historical reasons. + * libio/iovsprintf.c: Add cast to prevent warning. + * libio/iovsscanf.c: Likewise. - * resolv/resolv.h: Include <netinet/in.h> to make self-contained. + * libio/libioP.h: Define mmap to __mmap and munmap to __munmap + to keep namespace clean. - * string/bits/string2.h: Add missing braces and optimize strcmp a - bit more. - * sysdeps/i386/i486/bits/string.h: Likewise. + * new-malloc/malloc.c: Update to last version from Wolfram Gloger. + Add hooks and check functions from old GNU malloc. + * new-malloc/malloc.h: Likewise. - * sunrpc/rpc/auth_des.h: Include rpc/auth.h to be self-contained. - Pretty print. + * nis/ypclnt.c: Remove prototype for xdr_free. + * sunrpc/rpc/xdr.h: Add prototype for xdr_free. - * sysdeps/mach/hurd/cthreads.c: Add copyright text. + * manual/nss.texi: Correct description of default values and don't + meantion NSS as an add-on. - * sysdeps/unix/sysv/linux/syscalls.list: Correct prctl entry. + * nss/grp-lookup.c: Provide default value as + "compat [NOTFOUND=return] files". + * nss/pwd-lookup.c: Likewise. + * nss/spwd-lookup.c: Likewise. + * nss/network-lookup.c: Correct default to + "dns [!UNAVAIL=return] files". + * nss/nsswitch.c: Change default-default value to "nis + [NOTFOUND=return] files" since compat is only available for group, + passwd, and shadow. - * sysdeps/unix/sysv/linux/sys/mman.h: Get definition of size_t. + * stdlib/on_exit.c (on_exit): Rename to __on_exit and make old name + a weak alias. + * stdlib/stdlib.h: Add prototype for __on_exit. - * time/time.h: Pretty print. + * sysdeps/unix/sysv/linux/schedbits.h: Add prototype for __clone. -1997-09-29 Paul Eggert <eggert@twinsun.com> + * time/Makefile: Undo change from Sun Dec 8 06:56:49 1996. + The new malloc now has mcheck. + * time/ap.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. + * time/tzset.c (__tzset): Rename to __tzset_internal. + (tzset): Rename to __tzset. Make tzset a weak alias for __tzset. + * time/localtime.c: Use __tzset_internal not __tzset. + * time/strftime.c [_LIBC]: Define tzname as __tzname and tzset + as __tzset to prevent namespace pollution. -1997-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * wctype/iswctype.h (icwctype): Rename to __iswctype. Make iswctype + a weak alias of __iswctype. + * wctype/wctype.h: Add prototype for __iswctype. + (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, + iswprint, iswpunct, iswspace, iswupper, iswxdigit, iswblank): + Use __iswctype for the test, not iswctype. - * 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. +1996-12-16 Paul Eggert <eggert@twinsun.com> -1997-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * hurd/hurd/sigpreempt.h + (struct hurd_signal_preemptor.preemptor, _hurdsig_preemptors), + hurd/hurd/signal.h (struct hurd_sigstate.preemptors), + hurd/hurdfault.c, hurd/hurdfault.h (_hurdsig_fault_preemptor), + hurd/hurdsig.c (_hurdsig_preempters): + Renamed to fix spelling from `preempter' to `preemptor'. + All uses changed. - * elf/soinit.c (__EH_FRAME_BEGIN__): Don't make the .eh_frame - section read-only, it contains relocations. - * elf/sofini.c (__FRAME_END__): Likewise. +1996-12-15 Paul Eggert <eggert@twinsun.com> -1997-09-29 03:08 Ulrich Drepper <drepper@cygnus.com> + * ctime.c (ctime): Return asctime (localtime (t)), as the C + standard requires. - * 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>. +Tue Dec 17 02:05:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> -1997-09-28 08:27 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * sysdeps/mach/libc-lock.h (__libc_lock_trylock): Invert return + value because Mach/cthreads uses the opposite convention from + Posix/glibc. - * nis/nis_call.c (__do_niscall2): Fix return code, add missing - break in switch case. +Mon Dec 16 22:41:01 1996 Ulrich Drepper <drepper@cygnus.com> - * nis/nis_mkdir.c: Fix return codes to match Solaris version. - * nis/nis_rmdir.c: Likewise. + * stdio-common/fcloseall.c: Correct test of already_called. + Reported by Thomas Bushnell, n/BSG. - * nis/rpcsvc/yp_prot.h: Rename struct keydat to struct keydat_t - for C++. +Mon Dec 16 14:52:07 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> -1997-09-28 04:32 Ulrich Drepper <drepper@cygnus.com> + * mach/lock-intern.h (__mutex_try_lock): New function. - * configure.in: Fix typo. - Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>. +Sun Dec 15 16:33:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-09-25 20:14 Philip Blundell <Philip.Blundell@pobox.com> + * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Only use OXTABS if + defined, else XTABS. + (CEOL, CSTATUS): Use _POSIX_VDISABLE if defined. - * sysdeps/unix/sysv/linux/scsi/sg.h: New file. - * sysdeps/unix/sysv/linux/Makefile: Install <scsi/sg.h>. +Sun Dec 15 11:56:19 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-09-27 01:14 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/m68k/mremap.S: New file. + * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it. + * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines): Add mremap. - * Makeconfig (extra-objs): Depend in before-compile. +Mon Dec 16 02:15:42 1996 Ulrich Drepper <drepper@cygnus.com> - * 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. + Make sure tzset() sets always tzname[]. + * time/tzfile.c: De-ANSI-declfy. + (find_transition): New function. Set tzname according to given time. + (__tzread_file): Use find_transition to set tzname. + (__tzfile_compute): Use find_transition instead of doing the work + self. + * time/tzset.c (tzset): Set tzname[] directly only if !__use_tzfile. - * elf/dladdr.c (dladdr): Change address argument to be const. - * elf/dlfcn.h: Likewise. +Sun Dec 15 16:52:34 1996 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. + * login/utmp-file.c (pututline_file): Open file if closed. + Reported by Roma Ekzhanov <ekzhanov@paragraph.com>. + Use fcntl instead of flock. - 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. +Sun Dec 15 14:20:51 1996 Ulrich Drepper <drepper@cygnus.com> - * po/fr.po: New version. + * manual/time.texi: Update documentation of strftime function. - * 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. +Sun Dec 15 01:53:20 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/syscalls.list: Add prctl. + * Makefile (subdirs): Change crypt to md5-crypt. + * crypt/Makefile, crypt/md5-crypt.c, crypt/md5.c, crypt/md5.h, + crypt/md5c-test.c, crypt/md5test.c: Move to new directory + md5-crypt. + * sysdeps/unix/sysv/linux/configure.in: Refer to linuxthreads and + crypt instead of LinuxThreads and des-crypt. -1997-09-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * Makefile (subdirs): Add nss back. + * sysdeps/unix/inet/Subdirs: Move nis to end of file to fulfill + dependencies. - * string/bits/string2.h (__stpcpy_small): Don't use casts as - lvalues. + * libio/iofclose.c: Implement fclose(NULL) as closing all streams. + * stdio-common/Makefile (routines): Add fcloseall. + * stdio-common/fcloseall.c: New file. + * sysdeps/generic/abort.c: Make implementation POSIX.1 compatible. -1997-09-26 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/mach/libc-lock.h: Add definition of __libc_lock_trylock. + * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock to always + return 0. - * manual/time.texi (Formatting Date and Time): Clarify - explanation of strftime flags a bit. - Suggested by Robert Bihlmeyer <robbe@orcus.priv.at>. + * stdio-common/printf.h: Define MIN and MAX only if not already + defined. -1997-09-25 00:13 David S. Miller <davem@tanya.rutgers.edu> + * stdio-common/vfprintf.c: Set errno to EBADF if stream does not + allow writing. Required by POSIX.1. - * sysdeps/libm-ieee754/s_exp2f.c: Protect _GNU_SOURCE definition. - Fix typo, it is FLT_MANT_DIG. + * libio/libioP.h (CHECK_FILE): Use MAYBE_SET_EINVAL instead of + assignment. -1997-09-24 18:52 H.J. Lu <hjl@gnu.ai.mit.edu> + * interp.c: Update copyright. + * libio/clearerr.c: Likewise. + * libio/ioseekoff.c: Likewise. + * libio/ioseekpos.c: Likewise. + * stdio/fclose.c: Likewise. + * stdio/fflus.c: Likewise. + + * libio/libio.h [!_IO_MTSAFE_IO]: Define _IO_cleanup_region_start + and _IO_cleanup_region_end as empty. + * libio/fgetc.c: Use _IO_cleanup_region_start and + _IO_cleanup_region_end instead of __libc_cleanup_region_start and + __libc_cleanup_region_end. + * libio/fputc.c: Likewise. + * libio/freopen.c: Likewise. + * libio/fseek.c: Likewise. + * libio/getc.c: Likewise. + * libio/getchar.c: Likewise. + * libio/iofclose.c: Likewise. + * libio/iofflush.c: Likewise. + * libio/iofgetpos.c: Likewise. + * libio/iofgets.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/ioputs.c: Likewise. + * libio/iosetbuffer.c: Likewise. + * libio/iosetvbuf.c: Likewise. + * libio/ioungetc.c: Likewise. - * math/atest-exp2.c: Include <stdlib/gmp.h> instead of <gmp.h>. + * libio/iovspintf.c: Use cleanup handler to make sure no dangling + locks can stay over. + * libio/iovsscanf.c: Likewise. -1997-08-27 08:10 H.J. Lu <hjl@gnu.ai.mit.edu> + * libio/genops.c: Use _IO_lock_init_recursive and _IO_lock_fini + instead of __libc_lock_init_recursive and __libc_lock_fini. + + * libio/filedoalloc.c: Only use __isatty when compiling GNU libc. + Otherwise use isatty. + * libio/fileops.c: Likewise for __open and open. + + * login/utmp_file.c (getutent_r_file): Use fcntl instead of + flock. + + * nis/ypclnt.h: Add more casts to prevent warnings. + + * nss/Makefile (services): Remove dns. + (libnss_dns, libnss_dns-inhibit-o): Remove definition. + ($(objpfx)libnss_dns.so): Removed. + * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Moved to... + * resolv/nss_dns: ...here. + * resolv/Makefile (extra-libs): Add libnss_dns. + (libnss_dns-routines, libnss_dns-inhibit-o): Define as in + nss/Makefile. + + * nss/XXX-lookup.c: Call __nss_database_lookup with new argument + specifying alternate name for entry in /etc/nsswitch.conf + * nss/nsswitch.c: If no entry with primary name is found in + /etc/nsswitch.conf try alternate name if given. + * nss/nsswitch.h: Add new parameter in prototype for + __nss_database_lookup. + * nss/spwd-lookup.c: Provide alternative entry name to look for. + This makes our NSS compatible with Solaris' nsswitch.conf files. + + * string/tst-strlen.c: Change all counting variables to type size_t + to prevent warnings. + + * sysdeps/posix/fpathconf.c: Update copyright. + * sysdeps/posix/pathconf.c: Don't call fpathconf to do the work. + Opening the file at this path may fail if it is a FIFO or pipe. + + These changes make the time implementation POSIX.1 compliant. + * time/localtime.c (__localtime_r): Always call __tzset not only + if __tzset_run is zero. + * time/strftime.c: Add definition of memset_space to help to + reduce for systems which have memset. + (strftime): Don't use tm_zone member of argument for zone name. + Instead always use tzname[]. + Call tzset() as required by POSIX.1 before any action. + * time/tzset.c (tzset): Set tzname[] as required by POSIX.1. + Remove global variable __tzset_run. __tzset is now called always + when a dependent function is used. + (__tzset): Caching happens based on the contents of the + environment variable TZ. + +Fri Dec 13 01:06:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/unix/sysv/linux/paths.h: Add _PATH_KLOG. + +Thu Dec 12 09:16:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * rellns-sh: Correctly handle a relative source file name. + +Wed Dec 11 19:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * login/utmp_file.c (setutent_file): Seek back to beginning of the + file if resetting. + +Thu Dec 12 16:39:12 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + + * hurd/hurdinit.c (map0): Delete function. Don't do this on + _hurd_preinit_hook. + * hurd/hurdstartup.c (_hurd_startup): Map page zero redzone here. + +Thu Dec 12 03:32:21 1996 Ulrich Drepper <drepper@cygnus.com> + + * libio/_G_config.h: Add definition of _G_int16_t, _G_int32_t, + _G_uint16_t, _G_uin32_t, _G_HAVE_BOOL, _G_HAVE_MMAP, and + _G_ARGS. + + Change libio buffer handling to allocate internal buffers using + mmap if possible. + * libio/filedoalloc.c (_IO_file_doallocate): Change call to + ALLOC_BUF. + * libio/genops.c (_IO_setb, _IO_default_finish): Change call + to FREE_BUF. + (_IO_default_doallocate): Change call to ALLOC_BUF. + * libio/libioP.h: Change definition of ALLOC_BUF and FREE_BUF + to use mmap/munmap when possible. + * libio/memstream.c: Don't use ALLOC_BUF, but directly malloc. + * libio/vasprintf.c: Likewise. + Patch by HJ Lu. - * libio/libio.h, libio/libioP.h: Support libio in libstdc++. + * libio/libio.h: Define NULL as __null only for gcc-2.8 and up. + * libio/libioP.h: Likewise. - * libio/libio.h (_IO_peekc): Defined as _IO_peekc_unlocked if - _IO_MTSAFE_IO is undefined. + * libio/fileops.c (_IO_file_read, _IO_file_write): Don't + restart syscall when EINTR was returned. Necessary for POSIX.1. -1997-09-24 23:27 Richard Henderson <rth@cygnus.com> + * libio/strops.c (_IO_str_overflow): Add cast to prevent warning. - * 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. + * new-malloc/malloc.c (heap_trim): Correctly place parentheses to + prevent warnings. - * 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. + * nis/Makefile: Remove rules for bsd-tools which are not part + of glibc. + Patch by Thorsten Kukuk. -1997-09-25 00:23 Ulrich Drepper <drepper@cygnus.com> + * nis/ypclnt.c: Add prototype for xdr_free. + Add const to first parameter for __yp_bind. + * nis/nss_compat/compat-pwd.c (getpwent_next_netgr, getpwent_next_nis, + getpwent_next_file): Variable `p2len' must have type size_t. + * nis/nss_nis/nis-alias.c: Add casts to prevent warnings. + * 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. - * elf/dl-profile.c: Correct implementation. + * nis/rpcsvc/yp_prot.h (ypreq_key): Change type of members to + `const char *'. + (ypmaplist): Change member names to `map' and `next' and provide + #defines for old names. + Patch by Thorsten Kukuk. - * io/ftwtest-sh: Don't depend on TMPDIR == /tmp. + * nss/nss_files/files-parse.c (parse_line, parse_list): Change + type for `datalen' parameter to size_t. - * locale/setlocale.c: Rewrite a bit for more clarity. + * shsdow/lckpwdf.c: Use fcntl forlocking, not flock. - * 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. + * stdio-common/printf.c [USE_IN_LIBIO]: Provide alias _IO_printf + for printf. + * stdio-common/sscanf.c [USE_IN_LIBIO]: Provide alias _IO_sscanf + for sscanf. + Patch by HJ Lu. - * 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. + * stdio-common/tmpfile.c: Update copyright. - * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use - .text and .previous to select correct section. + * stdio-common/vfscanf.c: Correctly handle EINTR error from fgetc + function. + Don't eat white space for `C' format. -1997-09-23 19:56 Philip Blundell <Philip.Blundell@pobox.com> + * stdlib/tst-strtol.c [~0UL != 0xffffffff]: Fix typo in test data. - * configure.in: Add `--disable-versioning' option to suppress the - use of symbol versions even if binutils claims to support it. + * sysdeps/generic/abort.c: Update copyright. De-ANSI-declfy. + * sysdeps/i386/abort.c: Removed. This version does not use + signal SIGABRT. -1997-09-24 20:10 Philip Blundell <Philip.Blundell@pobox.com> + * sysdeps/i386/fpu/__math.h: Define __NO_MATH_INLINES if not using + gcc-2.8 or up. + Patch by HJ Lu. - * csu/Makefile (before-compile): Don't try to build abi-tags.h if - not using ELF. + * sysdeps/posix/tempname.c: Test for error but EEXIST after open + call. If EMFILE, ENFILE, or EINTR return with error. -1997-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Wed Dec 11 14:43:52 1996 Ulrich Drepper <drepper@cygnus.com> - * elf/sofini.c [HAVE_DWARF2_UNWIND_INFO]: Supply termination for - the frame unwind info section. + * gnu-versions.h: Set _GNU_OBSTACK_INTERFACE_VERSION back to 1. + We are compatible again. + * new-malloc/obstack.h (struct obstack): Add back alloc_failed bit + even though it is not used. + * malloc/obstack.h: Likewise. + * new-malloc/obstack.c (_obstack_begin, _obstack_begin_1): Initialize + alloc_failed bit to 0. - * elf/soinit.c [HAVE_DWARF2_UNWIND_INFO]: Register and unregister - the frame unwind info. + * time/strftime.c: Extend for Emacs' needs. Recognize field width, + %P format and `0' modifier. - * config.h.in (HAVE_DWARF2_UNWIND_INFO): Add #undef. +Tue Dec 10 21:20:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * configure.in: Check whether gcc supports DWARF2 unwind info. + * Makerules (make-link): Don't discard exit codes of intermediate + commands. Always use rellns-sh if symbolic links are available. - * libc.map: Export frame handling tables. +Tue Dec 10 20:09:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-09-10 06:56 Geoff Keating <geoffk@ozemail.com.au> + * sysdeps/unix/sysv/linux/netinet/in.h: Enclose #include + <linux/in.h> in __BEGIN_DECLS/__END_DECLS to avoid linkage + conflict of ntohs etc. in <asm/byteorder.h>. - * sysdeps/unix/sysv/linux/powerpc/bits/kernel_termios.h: - Use the size of the kernel's termios structure for ioctls. +Wed Dec 11 01:04:30 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/powerpc/dl-machine.h: Prepare for library profiling. + Add NIS NSS implementation. + * shlib-versions: Add versions for NIS libraries. + * sysdeps/unix/inet/Subdirs: Add nis. + * nis/Banner: New file. + * nis/Makefile: New file. + * nis/nss-nis.h: New file. + * nis/yp_xdr.h: New file. + * nis/ypclnt.h: New file. + * nis/ypupdate_xdr.c: New file. + * nis/nss_compat/compat-grp.c: New file. + * nis/nss_compat/compat-pwd.c: New file. + * nis/nss_compat/compat-spwd.c: New file. + * nis/nss_nis/nis-alias.c: New file. + * nis/nss_nis/nis-ethers.c: New file. + * nis/nss_nis/nis-grp.c: New file. + * nis/nss_nis/nis-hosts.c: New file. + * nis/nss_nis/nis-netgrp.c: New file. + * nis/nss_nis/nis-network.c: New file. + * nis/nss_nis/nis-proto.c: New file. + * nis/nss_nis/nis-publickey.c: New file. + * nis/nss_nis/nis-pwd.c: New file. + * nis/nss_nis/nis-rpc.c: New file. + * nis/nss_nis/nis-service.c: New file. + * nis/nss_nis/nis-spwd.c: New file. + * nis/rpcsvc/yp.h: New file. + * nis/rpcsvc/yp.x: New file. + * nis/rpcsvc/yp_prot.h: New file. + * nis/rpcsvc/ypclnt.h: New file. + * nis/rpcsvc/ypupd.h: New file. - * 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. + * libio/_G_config.h: Define _G_HAVE_SYS_WAIT and _G_HAVE_PRINTF_FP. - * sysdeps/powerpc/Makefile (pic-ccflags): Define this instead of - CFLAGS-.os. + * locale/C-numeric.c: Update copyright. - * sysdeps/powerpc/bzero.S: New file. - * sysdeps/powerpc/strcat.c: New file. - * sysdeps/powerpc/strcpy.S: New file. - * sysdeps/powerpc/stpcpy.S: New file. + * locale/Makefile: Add rules to build libBrokenLocale. + * locale/broken_cur_max.c: New file. + * locale/mb_cur_max.c: Update copyright. + (__ctype_get_mb_cur_max): Make function weak. - * 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. + * new-malloc/malloc.c: Correct copyright. + * new-malloc/thread-m.h: Correct key handling. - * 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. + * shadow/lckpwdf.c: Update copyright. + (PWD_LOCKFILE): Change to /etc/.pwd.lock. - * elf/dl-runtime.c (fixup): Factor out call to elf_machine_relplt. - (profile_fixup): Likewise. + * stdlib/strtod.c: Add another assertion. + * stdlib/tst-strtod.c: Add another test case. -1997-09-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/generic/paths.h: Add _PATH_PRESERVE. Needed by nvi. + * sysdeps/unix/sysv/linux/paths.h: Likewise. - * posix/globtest.c (main): Change to directory passed as first - argument. + * sysdeps/gnu/utmpbits.h: Rename ut_addr field to ut_addr_v6. + ut_addr names a single element in ut_addr_v6. - * posix/globtest.sh: Don't cd before running the program, instead - pass testdir as argument, so that $common_objpfx remains valid. + * sysdeps/mach/hurd/xmknod.c: Remove alias from __mknod to mknod. + Patch by Thomas Bushnell, n/BSG. -1997-09-23 18:01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> +Tue Dec 10 11:35:28 1996 Richard Henderson <rth@tamu.edu> - * nis/nis_call.c (__do_niscall2): Fix multiple Server support. + * sysdeps/alpha/strncmp.S: Fix aligned short truncated compare + corner condition. - * nis/nis_findserver.c: Save latest working sockaddr_in. + * sysdeps/alpha/memchr.S: Don't read ahead, even if the load + did fit nicely into that delay slot (patch from David Mosberger-Tang). -1997-09-17 22:07 Zack Weinberg <zack@rabi.phys.columbia.edu> +Mon Dec 9 23:53:43 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - * 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. + * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Renamed from + `ttyname_r'. + (ttyname_r): New alias. - * configure.in: Allow the user to force configuration for - unsupported platforms with an undocumented option. +Tue Dec 10 02:17:31 1996 Ulrich Drepper <drepper@cygnus.com> -1997-09-22 16:55 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * stdio-common/printf_fp.c (__guess_grouping): Fix off by one + error in computation of number of groups. + Patch sent by Harald Schreiber <Harald.Schreiber@post.rwth-aachen.de>. - * sunrpc/get_myaddr.c (get_myaddress): Avoid loopback interfaces, - return loopback address only if there is no other interface. +Tue Dec 10 01:50:07 1996 Ulrich Drepper <drepper@cygnus.com> - * nis/Makefile: Add nis_callback libnsl-routines. + * version.h: Set version to 1.99. - * 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. + * Make-dist (routines): Add malloc and new-malloc. - * nis/rpcsvc/nis.h: Make C++ safe. + * Makeconfig: Allow Makefiles to set $(CPPFLAGS-$(<F)) and + $(CPPFLAGS-$(@F)) to be added to CPPFLAGS. + Same for $(CFLAGS-$(@F)) and CFLAGS. - * nis/nss_nisplus/nisplus-publickey.c (getsecretkey): Fix use - of variables. + * gmon/sys/gmon_out.h: Add __BEGIN_DECLS/__END_DECLS. Unify + layout. + * io/sys/poll.h: Likewise. + * sysdeps/stub/sys/ipb_buf.h: Likewise. + * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise. + * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise. + * sysdeps/unix/sysv/linux/sys/ipc_buf.h: Likewise. + * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise. + * sysdeps/unix/sysv/linux/sys/klog.h: Likewise. + * sysdeps/unix/sysv/linux/sys/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sys/module.h: Likewise. + * sysdeps/unix/sysv/linux/sys/mount.h: Likewise. + * sysdeps/unix/sysv/linux/sys/msq_buf.h: Likewise. + * sysdeps/unix/sysv/linux/sys/param.h: Likewise. + * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise. + * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise. + * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise. + * sysdeps/unix/sysv/linux/sys/sem_buf.h: Likewise. + * sysdeps/unix/sysv/linux/sys/shm_buf.h: Likewise. + * sysdeps/unix/sysv/linux/sys/socketcall.h: Likewise. + * sysdeps/unix/sysv/linux/sys/swap.h: Likewise. + * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise. + * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise. + * sysdeps/unix/sysv/linux/sys/sysmacros.h: Likewise. + * sysdeps/unix/sysv/linux/sys/timex.h: Likewise. + * sysvipc/sys/sem.h: Likewise. + * sysvipc/sys/shm.h: Likewise. - * nis/nis_findserv.c: Make thread safe. + * new-malloc/Makefile: Set CPPFLAGS-malloc.o. + * new-malloc/malloc.c: Remove problem with 64 bits pointers. + Add statistics for threads. + * new-malloc/malloc.h: Likewise. + * new-malloc/thread-m.h: Likewise. - * 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. + * time/strftime.c: Declare tzname if if HAVE_TZNAME is defined. -1997-09-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * time/strptime.c: Update copyright. - * 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. +Mon Dec 9 14:51:10 1996 Ulrich Drepper <drepper@cygnus.com> -1997-09-22 04:12 Ulrich Drepper <drepper@cygnus.com> + * Make-dist: Make sure both malloc directories get distributed. - * sysdeps/i386/i486/atomicity.h (exchange_and_add): Really address - memory in xadd not %1. +Sun Dec 8 23:14:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-09-21 13:56 Ulrich Drepper <drepper@cygnus.com> + * libio/iogets.c (_IO_gets): Fix early returns to not leave the + stream locked. - * manual/maint.texi (Supported Configurations): Add SPARC64 to - list of supported platforms. +Sat Dec 7 22:08:09 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-09-21 03:19 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/sys/module.h: Enclose declarations in + __BEGIN_DECLS/__END_DECLS. - * 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. +Sat Dec 7 14:23:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * login/utmp_file.c: Consistently set file_offset to the position + after the entry just read. - * sysdeps/i386/i486/string.h (__stpcpy_small): Increment __cp not cp. - Patch by HJ Lu <hjl@gnu.ai.mit.edu>. +Mon Dec 9 03:39:30 1996 Ulrich Drepper <drepper@cygnus.com> -1997-09-20 16:45 Ulrich Drepper <drepper@cygnus.com> + * config.make.in (defines): Add @USE_NEW_MALLOC@. + * Makefile.in: Define USE_NEW_MALLOC to -DUSE_NEW_MALLOC if + we use the new malloc. - * hesiod/hesiod.c (hesiod_init): Use __secure_getenv to get - HES_DOMAIN environment variable. - Suggested by Mark Kettenis <kettenis@phys.uva.nl>. + * malloc.h: Use either <malloc/malloc.h> or <new-malloc/malloc.h> + depending on USE_NEW_MALLOC. - * hesiod/README.hesiod: A bit of information about Hesiod and how - to use it. Written by Mark Kettenis <kettenis@phys.uva.nl>. + Fix some more POSIX.1 problems. + * libio/fileops.c (_IO_file_underflow): Set errno to EBADF if used + on a write-only stream. + (_IO_file_overflow): Set errno to EBADF if used on a read-only + stream. + (_IO_file_seekoff): POSIX.1 requires that fseek() after an fflush() + call really positions the file offset to the correct position + and no read-ahead happens. -1997-09-20 05:15 Ulrich Drepper <drepper@cygnus.com> + * locale/C-monetary.c: Set mon_grouping file to "" and "\377" + to pass POSIX test suite. + * stdio-common/vfprintf.c: Handle empty string as grouping command + correctly. + * stdlib/grouping.h: Likewise. - * manual/maint.texi: Update requirement list. + * misc/syslog.c: Case first argument of __libc_cleanup_region_start. - * io/ftw.h: Don't use parameter names from global namespace in - prototypes. + * signal/sigsetops.h: Update copyright. Don't include ansidecl.h. - * 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>. + * stdio-common/printf_fp.c: Update copyright. -1997-09-19 21:42 David S. Miller <davem@tanya.rutgers.edu> +Sun Dec 8 16:39:28 1996 Andreas Jaeger <aj@arthur.pfalz.de> - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: ssize_t is - a long long int. + * time/Makefile: Compile ap.c with NO_MCHECK flag if new-malloc + used (not otherwise). -1997-09-19 15:12 H.J. Lu <hjl@gnu.ai.mit.edu> +Sun Dec 8 06:56:49 1996 Ulrich Drepper <drepper@cygnus.com> - * posix/Makefile (test-srcs): New, set to globtest. + * io/getwd.c: Use PATH_MAX not LOCAL_PATH_MAX. Fix typo in + comment. + * stdlib/canonicalize.c: Correct bugs in last change. + Patch by HJ Lu. -1997-09-20 00:24 Ulrich Drepper <drepper@cygnus.com> + * libio/Makefile (routines): Remove ioprims. + (aux): Remove cleanup. + Add IO_DEBUG option for .o files. + * libio/cleanups.c: Removed. + * libio/ioprims.c: Removed. + * libio/filedoalloc.c: More updates from libg++-2.8b5. + * libio/fileops.c: Likewise. + * libio/genops.c: Likewise. + * libio/iolibio.h: Likewise. + * libio/iopopen.c: Likewise. + * libio/iovsprintf.c: Likewise. + * libio/iovsscanf.c: Likewise. + * libio/libio.h: Likewise. + * libio/libioP.h: Likewise. + * libio/memstream.c: Likewise. + * libio/strfile.h: Likewise. + * libio/vasprintf.c: Likewise. + * libio/vsnprintf.c: Likewise. - * manual/filesys.texi: Document ftw, nftw and needed data types. + * libio/stdio.h: Define P_tmpdir only is __USE_SVID. -1997-09-19 12:53 H.J. Lu <hjl@gnu.ai.mit.edu> + * manual/arith.texi: Change references to ANSI C to ISO C. + * manual/conf.texi: Likewise. + * manual/creature.texi: Likewise. + * manual/ctype.texi: Likewise. + * manual/errno.texi: Likewise. + * manual/filesys.texi: Likewise. + * manual/intro.texi. Likewise. + * manual/io.texi: Likewise. + * manual/lang.texi: Likewise. + * manual/libc.texinfo: Likewise. + * manual/locale.texi: Likewise. + * manual/maint.texi: Likewise. + * manual/mbyte.texi: Likewise. + * manual/memory.texi: Likewise. + * manual/process.texi: Likewise. + * manual/process.texi: Likewise. + * manual/search.texi: Likewise. + * manual/setjmp.texi: Likewise. + * manual/signal.texi: Likewise. + * manual/startup.texi: Likewise. + * manual/stdio.texi: Likewise. + * manual/string.texi: Likewise. + * manual/time.texi: Likewise. - * sysdeps/i386/i486/bits/string.h: Fix typo. + * manual/locale.texi: Remove description of LC_RESPONSE and add + LC_MESSAGES. + + * Makefile (subdirs): Change malloc in $(malloc). + * config.make.in: Add variable malloc which is initialized from + @malloc@. + * configure.in: Add new option --enable-new-malloc to use new + malloc. This is the default on Linux. + * sysdeps/unix/sysv/linux/configure.in: Define malloc to new-malloc + by default. + * new-malloc/Makefile: New file. Improved malloc implementation. + * new-malloc/malloc.c: Likewise. + * new-malloc/malloc.h: Likewise. + * new-malloc/mallocbug.c: Likewise. + * new-malloc/obstack.c: Likewise. + * new-malloc/obstack.h: Likewise. + * new-malloc/thread-m.h: Likewise. + * time/Makefile: Compile ap.c with NO_MCHECK flag for now. + * time/ap.c: Don't call mcheck if NO_MCHECK is defined. + + * resolv/Makefile: Add rule to rebuiild libresolv.so when libc.so + changed. + + * stdio/feof.c: Update copyright. + * stdio/stdio.h: Add field for lock to FILE structure. + Add cast to *MAGIC constants to prevent warnings. + + * stdio-common/bug7.c: Correct test. Stream must not be closed + twice. -1997-09-19 14:11 Ulrich Drepper <drepper@cygnus.com> + * stdlib/Makefile (routines): Add secure-getenv. + * stdlib/secure-getenv.c: New file. __secure_getenv function + moved to here from sysdeps/generic/getenv.c. Otherwise an + application cannot replace the getenv function in the libc. + * sysdeps/generic/getenv.c: Remove __secure_getenv function. + * sysdeps/stub/getenv.c: Remove __secure_getenv alias. - * io/ftwtest.c (cb): Print level. - * io/ftwtest-sh: Updated for ftwtest.c change. + * sysdeps/mach/libc-lock.h: Define__libc_mutex_lock to __mutex_lock. - * string/argz.h (__argz_next): Cast NULL to char * to satisfy C++ - compilers. - Reported by Mirko Streckenbach <mirko@ramz.ing.tu-bs.de>. + * sysdeps/posix/fdopen.c: Update copyright. Don't use EXFUN. - * catgets/catgets.c (catopen): Correctly allocate string of nlspath. - Reported by Charles C. Fu <ccwf@klab.caltech.edu>. + * time/test-tz.c: Comment fifth test out. PROBLEM. -1997-09-18 13:30 Klaus Espenlaub <kespenla@student.informatik.uni-ulm.de> + * time/tzset.c: De-ANSI-declfy. + (__tzset): Don't increment pointer tz when no DST information is + given. - * 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. + * misc/syslog.c (vsyslog): Cast argument to __libc_cleanup_region + to get Hurd macros right. -1997-09-18 03:16 Ulrich Drepper <drepper@cygnus.com> +Sat Dec 7 23:47:54 1996 Ulrich Drepper <drepper@cygnus.com> - * manual/search.texi: Document lsearch, lfind, the hsearch and - tsearch functions. + * sysdeps/mach/libc-lock.h [_LIBC]: Add definition of + __libc_mutex_lock. + Patch by Thomas Bushnell. -1997-09-18 00:04 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/timebits.h: Load <asm/param.h> only + if __USE_MISC. - * 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. + * sysdeps/unix/sysv/linux/Dist: Add llseek.c. -1997-09-17 19:44 Ulrich Drepper <drepper@cygnus.com> +Sat Dec 7 12:18:56 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Get rid - of hack for handling flush opcode. - Patch by Richard Henderson <rth@cygnus.com>. + * time/strftime (%c format): Remove %Z from default string. + Reported by Paul Eggert -1997-09-16 23:48 Ulrich Drepper <drepper@cygnus.com> +Sat Dec 7 03:24:36 1996 Ulrich Drepper <drepper@cygnus.com> - * libio/fileops.c: Define __set_errno if necessary. - * libio/libioP.h: Don't use __BEGIN_DECLS/__END_DECLS, expand macros. + * configure.in: Discard error message from test in test for + bash-2.0. -1997-09-16 22:03 Ulrich Drepper <drepper@cygnus.com> + * io/getwd.c: Don't apply getcwd on user supplied buffer. + Instead always use temporary buffer and only copy the result. + Patch by HJ Lu. + * stdlib/canonicalize.c: Likewise. - * string/Makefile (headers): Instead bits/string2.h. - Reported by David S. Miller <davem@jenolan.rutgers.edu>. + * libio/fileops.c: Change comments according to libg++2.8b5. + * libio/iosetvbuf.c: Follow change in libg++-2.8b5 to clear + unbuffered flag. + Reported by HJ Lu. -1997-09-16 13:31 David S. Miller <davem@tanya.rutgers.edu> + * manual/nss.texi: Correct prototypes. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: New file. + * misc/syslog.c: Make reentrant. Catch SIGPIPE signal to prevent + crash if syslog daemon is restarted. -1997-09-16 17:42 Ulrich Drepper <drepper@cygnus.com> + * stdlib/rand_r.c: New file. Implementation of POSIX.2 function + rand_r. + * stdlib/Makefile (routines): Add rand_r. - * 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>. + * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock and + __libc_mutex_lock. -1997-09-16 04:32 Ulrich Drepper <drepper@cygnus.com> + * configure.in: Add --disable-sanity-check option. + * sysdeps/unix/sysv/linux/configure.in: If linuxthreads or + des-crypt are not available and --disbale-sanity-check is not + given abort with a message. - * 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. +Thu Dec 5 19:19:53 1996 Richard Henderson <rth@tamu.edu> - * string/Makefile (noinl-tester-ENV): New variable to make - strerror test pass. - (CFLAGS-noinl-tester): Make sure we test the correct functions. + * posix/glob.c: Tests against STDC_HEADERS should also test + __GNU_LIBRARY__. - * sysdeps/stub/atomicity.h: Fix typo. - Zack Weinberg <zack@rabi.phys.columbia.edu> told me this twice. +Thu Dec 5 16:20:55 1996 Ulrich Drepper <drepper@cygnus.com> - * manual/string.texi: Document strnlen and mempcpy. - Tell a bit more about the locale dependence of strcasecmp and - strncasecmp. + * misc/err.c (vwarn): Set errno again before using %m format. - * 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>. - -1997-09-16 02:14 Ulrich Drepper <drepper@cygnus.com> - - 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. - - * shlib-versions: Add version number for libnss_hesiod. - - * 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. - - * manual/math.texi: Explain the use of the optimizing inline - functions. - Describe rand_r function and tell about SysV RNGs in introduction. +Thu Dec 5 10:14:05 1996 Andreas Jaeger <aj@arthur.pfalz.de> - * resolv/res_send.c (res_send): Use socklen_t type for `fromlen' - variable. + * grp/grp.h: Add declaration of __getgrent_r. - * 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. + * io/fts.c (fts_build): Remove "register" from variables dirbuf + and dp since their address is needed. - * 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/posix/getcwd.c (__getcwd): Remove "register" from + variable d since d's address is needed. - * sysdeps/generic/bits/select.h: Don't use ugly casts to access array. - * sysdeps/i386/bits/select.h: Likewise. + * misc/tst-dirname.c (main): Provide prototype. + * misc/ioctltst.c (main): Dito. - * 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. + * Makefile: Add gnu/lib-names.h to install-others before including + Makerules. - * 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. +Wed Dec 4 16:00:09 1996 Ulrich Drepper <drepper@cygnus.com> -1997-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/sys/socketvar.h: New file. Simply use + <sys/socket.h>. + * sysdeps/unix/sysv/linux/Dist: Add sys/socketvar.h. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet)]: Add + sys/socketvar.h to sysdep_headers. - * sysdeps/generic/stpcpy.c: #undef stpcpy and __stpcpy. +Tue Dec 3 08:38:15 1996 Richard Henderson <rth@tamu.edu> -1997-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/alpha/sysdep.S: Remove definition of __errno_location. + Reformat copyright. - * string/bits/string2.h: Add prototypes to avoid warning. + * elf/rtld.c (_dl_start): Don't dereference the value returned by + elf_machine_got to get _DYNAMIC, instead call new function + elf_machine_dynamic. + * sysdeps/alpha/dl-machine.h: Permute elf_machine_got to + elf_machine_dynamic. Reformat copyright. + * sysdeps/i386/dl-machine.h: Likewise. + * sysdeps/m68k/dl-machine.h: Likewise. + * sysdeps/mips/dl-machine.h: Likewise. + * sysdeps/sparc/dl-machine.h: Likewise. + * sysdeps/stub/dl-machine.h: Likewise. -1997-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Tue Oct 15 23:46:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * string/bits/string2.h (strsep): Fix handling of empty REJECT. - (__strsep_1c): Handle NULL and empty string. - (__strsep_g): Likewise. + * MakeTAGS (sysdep_dirs): Include add-on sysdep directories. -1997-09-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Tue Dec 3 02:06:18 1996 Ulrich Drepper <drepper@cygnus.com> - * catgets/Makefile (extra-objs): Set this instead of generated. + * Makerules ($(libdir)/libc.so): Make first line of generated + link script contain `/* GNU ld script'. This will be used in + ldconfig to check for linker scripts. + * sysdeps/mach/hurd/libc-ldscript: Likewise. + * sysdeps/mach/hurd/libc_p-ldscript: Likewise. - * md5-crypt/Makefile (extra-objs): Add all object file variants of - onlymd5-entry. + * stdlib/getsubopt.c: Update copyright. Correct typo in comment. -1997-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Mon Dec 2 15:32:15 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/generic/sysd-stdio.c (__stdio_read): Fix typo in last - change. + * elf/dl-lookup.c (_dl_lookup_symbol_skip): Remove unused variable + `found_entry'. -1997-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/m68k/m68020/atomicity.h: New file. - -1997-09-15 05:11 Ulrich Drepper <drepper@cygnus.com> - - * 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>. - - * libio/fileops.c (_IO_file_sync): Acquire lock before doing the work. - * libio/ioseekoff.c (_IO_seekoff): Likewise. - * libio/ioseekpos.c (_IO_seekpos): Likewise. - -1997-09-13 18:06 Ulrich Drepper <drepper@cygnus.com> - - * configure.in: Prevent configuration for unsupported platforms. - -1997-09-13 04:07 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. - -1997-09-12 11:47 Fila Kolodny <fila@ibi.com> - - * string/bits/string2.h (__strsep_1c): Cast out const from __retval. - (__strsep_g): Likewise. - -1997-09-11 17:32 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_ASYNC. - Patch by David S. Miller <davem@jenolan.rutgers.edu>. - -1997-09-11 04:36 Ulrich Drepper <drepper@cygnus.com> - - * 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. - - * 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. - - * 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. + * misc/ttyslot.c: Use ttyname_r instead of ttyname. - * string/tester.c: Add copyright and make little cleanups. + * assert/assert-perr.c: Use __strerror_r instead of strerror. + * assert/assert.c: De-ANSIdecl-fy. Update copyright. + * string/string.h: Declare __strerror_r. + * string/strerror_r.c: Make strerror_r a weak alias of __strerror_r. + * stdio-common/vfprintf.c: Save current errno value on entry so + that %m format finds the correct value. + * io/getwd.c: Use __strerror_r instead of strerror. + * misc/err.c (vwarn): Use %m printf format instead of explicitly + calling strerror. + * inet/rcmd.c: Likewise. + * misc/error.c (error, error_at_line): Use __strerror_r instead + of strerror when this function is available. - * inet/test_ifindex.c: Change type of ni variable to unsigned int. + * stdlib/rand.c: Update copyright and de-ANSI-declfy. + * stdlib/random_r.c: Don't make srand_r weak alais of __srandom_r. + * stdlib/stdlib.h: Define prototype for rand_r. - * locale/programs/ld-ctype.c (struct locale_ctype_t): Change type - of fields map_collection_max and map_collection_act to size_t. + * string/strfry.c: Update copyright. Use reentrant random functions. - * nss/libnss_files.map: Group entries. + * dirent/scandir.c: Use __readdir_r instead of readdir. + * posix/glob.c: Likewise. + * sysdeps/posix/ttyname.c: Likewise. + * sysdeps/posix/ttyname_r.c: Likewise. + * io/ftw.c: Likewise. + * io/fts.c: Likewise. + * sysdeps/posix/getcwd.c: Likewise. + * dirent/dirent.h: Add prototype for __readdir_r. + * sysdeps/unix/readdir_r: Update copyright. - * posix/unistd.h: Add prototype for __setpgid and __profil. + * time/ctime.c: Use __localtime_r and __asctime_r instead of + non reentrant versions. + * time/ctime_r.c: Update copyright. - * sysdeps/generic/crypt.h: Declare __crypt_r. + * intl/l10nflist.c (_nl_make_l10nflist): Pretty print. - * sysdeps/i386/bits/select.h: Fix fatal bugs, use correct casts now. + * locale/Makefile (localepath): Correct value. - * sysdeps/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal, - isless, islessequal, islessgreater, isunordered): Optimize a bit. + * nss/nss_files/files-XXX.c: Include <netdb.h> to define + NETDB_INTERNAL. + Fix typo in using H_ERRNO_SET macro. - * 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. +Fri Nov 29 23:22:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/unix/sysv/linux/if_index.c: Don't compile or use opensock - if SIOGIFINDEX and SIOGIFNAME are not defined. - - * sysdeps/unix/sysv/linux/net/if.h: Add IFF_PORTSEL and IFF_AUTOMEDIA - according to recent kernel changes. - -1997-09-10 21:32 Klaus Espenlaub <kespenla@student.informatik.uni-ulm.de> - - * 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. - - * 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. + * Makerules (elfobjdir): Definition removed. + * Makeconfig (elfobjdir): Define it here instead, so that + expanding $(rpath-link) gets the right value. - * posix/getopt.c: Don't use text_set_element if not defined. + * a.out.h: Removed. + * misc/a.out.h: Moved to... + * sysdeps/generic/a.out.h: ...here. + * sysdeps/unix/sysv/linux/a.out.h: New file. Wrapper around + kernel header. - * 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. +Mon Dec 2 03:59:38 1996 Ulrich Drepper <drepper@cygnus.com> -1997-09-10 05:08 David S. Miller <davem@caip.rutgers.edu> + * grp/initgroups.c: Update and reformat copyright. + Use __getgrent_r instead of getgrent. - * 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. + * inet/rcmd.c: Update and reformat copyright. + Use __gethostbyname_r instead of gethostbyname. + * inet/rexec.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add aliases for - _longjmp and siglongjmp. + * intl/finddomain.c: Correct comment about CEN sponsor and revision. + * locale/findlocale.c: Likewise. + * intl/l10nflist.c: Correct handling of CEN sponsor and revision. + * locale/Makefile (CPPFLAGS): Add definition of LOCALEDIR. + * locale/setlocale.c (setlocale): Correctly split value of + LOCALE_PATH. + * locale/programs/localedef.c: Use LOCALEDIR not LOCALE_PATH to + find output directory. -1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * nss/getXXbyYY.c [NEED_H_ERRNO]: Before enlarging buffer test + h_errno_tmp variable. + Save error value from being changed during `free' call. + * nss/getXXent.c: Likewise. - * libio/stdio.h: Add format attributes to the extra printf and - scanf like functions. - * stdio/stdio.h: Likewise. + * nss/nss_files/files-XXX.c: Set h_errno variable to NETDB_INTERNAL + before returning ERANGE error. -1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * posix/glob.c: Use getlogin_r and getpwnam_r function when available + or in GNU libc. - * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r): - Print tablename_val, not tablename_len. + * pwd/getpw.c: Use getpwuid_r instead of getpwuid. - * 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. + * sunrpc/clnt_gen.c: Use gethostbyname_r and getprotobyname_r. + * sunrpc/clnt_simp.c: Likewise. + * sunrpc/getrpcport.c: Likewise. + * sysdeps/unix/sysv/linux/gethostid.c: Likewise. - * 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. + * posix/getconf.c: Treat _SC_UNIT_MAX and _SC_ULONG_MAX separately + since the value might be outside the range of the `long int'. + Print string `undefined' when a value is undefined. - * libc.map: Export __stpcpy and __strdup. + * stdlib/l64a.c: Return correct pointer. + Patch by NIIBE Yutaka <gniibe@mri.co.jp>. -1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * string/Makefile (routines): Add argz-addsep. + * string/argz-addsep.c: New file. + * string/argz.h: Add prototypes for argz_add_sep. - * math/Makefile (CFLAGS-test-float.c, CFLAGS-test-double.c, - CFLAGS-test-ldouble.c): Pass -ffloat-store to avoid excessive - precision. + * string/argz-ctsep.c: Prevent memory leak. -1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * string/strcoll.c: Correct typo in comment. - * include/rpc/auth_des.h: New file. +Sat Nov 30 02:53:59 1996 Ulrich Drepper <drepper@cygnus.com> -1997-09-09 Paul Eggert <eggert@twinsun.com> + * sysdeps/unix/sysv/linux/sys/serial.h: Removed again. The file is + not general enough to be part of the libc. + * sysdeps/unix/sysv/linux/Dist: Remove sys/serial.h. + * sysdeps/unix/sysv/linux/Makefile: Don't install sys/serial.h. - * 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. +Thu Nov 28 20:04:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-09-09 22:11 Ulrich Drepper <drepper@cygnus.com> + * login/Makefile: Fix typo. - * sysdeps/posix/getcwd.c: Correct test for too small buffer. - Reported by Erik Troan <ewt@redhat.com>. + * nss/Makefile (generated): Filter out db-alias.c. - * elf/dl-close.c: Include <bits/libc-lock.h>, not <libc-lock.h>. - * elf/dl-open.c: Likewise. +Thu Nov 28 14:44:01 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-09-07 17:09 Richard Henderson <rth@cygnus.com> + * time/Makefile (echo-zonenames): Don't depend on non-existing + target `zonenames'. - * 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. +Thu Nov 28 12:34:05 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-09-06 20:20 Ulrich Drepper <drepper@cygnus.com> + * link.h: New file. + * nss/nsswitch.c: Use it. - * include/rpc/auth.h: New file. - * include/rpc/auth_unix.h: New file. + * printf.h: Fix file name. + * stdlib/strfmon.c: Use it. -1997-09-06 Paul Eggert <eggert@twinsun.com> +Thu Nov 28 23:03:32 1996 Ulrich Drepper <drepper@cygnus.com> - Fix gmtime so that it reports leap seconds when TZ - indicates that leap seconds are desired. + * sysdeps/unix/sysv/linux/netinet/in_systm.h: New file. + * sysdeps/unix/sysv/linux/Dist: Add netinet/in_systm.h. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers): + Add netinet/in_systm.h. + Reported by NIIBE Yutaka <gniibe@mri.co.jp>. - * 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. +Thu Nov 28 03:11:11 1996 Ulrich Drepper <drepper@cygnus.com> - * 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. + * libio/fileops.c: Update from latest libg++. - * time/strftime.c (__tz_compute): Remove unused (and now incorrect) - decl. + * sysdeps/unix/sysv/linux/init-first.c: Reformat copyright. - * time/tzfile.c (__tzfile_compute): New arg USE_LOCALTIME. + * sysdeps/stub/libc-lock.h: Add __libc_lock_init_recursive. + * libio/genops.c (_IO_init): Use __libc_lock_init_recursive + instead of __libc_lock_init for streams. + Reported by a sun <asun@zoology.washington.edu>. - * 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. + * sysdeps/unix/sysv/linux/i386/brk.c: Reformat copyright. -1997-09-06 Paul Eggert <eggert@twinsun.com> + * sysdeps/generic/errno-loc.c: New file. Generic definition of + __errno_location function. + * sysdeps/unix/sysv/linux/i386/sysdep.S: Remove definition of + __errno_location. + * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=csu]: Add errno-loc + to sysdep-routines. - * 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. + * sysdeps/unix/sysv/linux/configure: Add test for linuxthreads + and crypt add-on and warn if not available. -1997-09-06 Paul Eggert <eggert@twinsun.com> +Wed Nov 27 23:09:37 1996 Ulrich Drepper <drepper@cygnus.com> - * time/tzset.c (__tzname_max): Lock tz data structures before - invoking tzset_internal. + * po/ko.po: Update from Bang Jun-Young <bangjy@nownuri.nowcom.co.kr>. - * time/tzfile.c: Define compute_tzname_max statically. + * sysdeps/unix/sysv/linux/syscalls.list: Remove _llseek. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (routines): Add + llseek. + * sysdeps/unix/sysv/linux/llseek.c: New file. Uses syscall. + * sysdeps/unix/sysv/linux/i386/syscalls.list: Add __sys_llseek. + * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add __sys_llseek. + Reported by HJ Lu <hjl@gnu.ai.mit.edu>. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add llseek. + * sysdeps/unix/sysv/linux/alpha/llseek.S: Remove. Generic syscall + is enough. + Patch by Richard Henderson <rth@tamu.edu>. -1997-09-07 10:57 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for + pciconfig_read and pciconfig_write. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add new syscalls + pciconfig_read and pciconfig_write. - * 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. + * login/getutent_r.c: Fix several bugs in last change. - * sunrpc/auth_des.c: Don't dereference NULL pointer, - initialize ad->ad_timediff. +Wed Nov 27 06:10:10 1996 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. + * Makefile: Fix typo. - * sunrpc/key_call.c: Fix signal handling. + * configure: Require autoconf-2.11. - * sunrpc/openchild.c: Don't use /bin/sh to start /usr/etc/keyenvoy, - or we will get a deadlock with NIS+. + * elf/dl-deps.c: Terminate duplicate list. - * sunrpc/rpc/auth.h: Add prototype for xdr_opaque_auth, don't define - HAVE_SECURE_RPC. + * libio/libio.h: Add prototypes for _IO_seekoff and _IO_seekpos. + * libio/strfile.h: Update from current libg++. + * libio/strops.c: Likewise. -1997-09-07 15:51 Ulrich Drepper <drepper@cygnus.com> + * login/Makefile (routines): Update after correction of reentrant + interface. + * login/endutent.c: Removed. + * login/endutent_r.c: Likewise. + * login/pututline.c: Likewise. + * login/pututline_r.c: Likewise. + * login/setutent.c: Likewise. + * login/setutent_r.c: Likewise. + * login/getutent.c: Update for new interface. + * login/getutent_r.c: Likewise. + * login/getutid.c: Likewise. + * login/getutid_r.c: Likewise. + * login/getutline.c: Likewise. + * login/getutline_r.c: Likewise. + * login/login.c: Likewise. + * login/logout.c: Likewise. + * login/logwtmp.c: Likewise. + * login/utmp.h: Likewise. + * sysdeps/unix/getlogin.c: Likewise. + * sysdeps/unix/getlogin_r.c: Likewise. + * login/utmp-private.h: New private header. + * login/utmp_db.c: Stub DB backend for utmp handler. + * login/utmp_file.c: File backend for utmp handler. + * sysdeps/gnu/utmpbits.h (struct utmp): Add some more fields. + (enum utlogin): List of record types. + (struct exit_status): Record to align with other implementations. - * 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. + * sysdeps/generic/paths.h: Add _PATH_UTMP_DB. + * sysdeps/unix/sysv/linux/paths.h: Likewise. -1997-09-07 05:07 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/generic/pty.c: Use getgrnam_r instead of getgrnam. - * 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>. + * sysdeps/stub/getlogin.c: Update copyright. + * sysdeps/stub/getlogin_r.c: Likewise. - * sysdeps/i386/bits/string.h [__PIC__] (strcspn, strspn, strpbrk, - strsep): Use register for second parameter. - * sysdeps/i386/i486/bits/string.h: Likewise. - Reported by NIIBE Yutaka <gniibe@mri.co.jp>. + * nss/getXXbyYY_r.c: Use -1l for error-pointer value instead of -1. + * nss/getXXent_r.c: Likewise. + * nss/nsswitch.c: Likewise. -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. - -1997-09-04 15:57 Ulrich Drepper <drepper@cygnus.com> - - * termios/cfsetspeed.c (cfsetspeed): Change return value to int. - * termios/termios.h: Change prototype accordingly. - Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>. - -1997-07-26 14:42 H.J. Lu <hjl@gnu.ai.mit.edu> - - * libio/stdfiles.c (_libio_using_thunks): Define if - _G_USING_THUNKS is defined. - - * libio/_G_config.h: Moved to ... - * sysdeps/generic/_G_config.h: ...here. - - * sysdeps/unix/sysv/linux/_G_config.h: New, - Add vtable thunks support. - -1997-09-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/m68k/Makefile (pic-ccflag): Override it for more - efficient code (together with a change in gcc). - - * Makeconfig (pic-ccflag): New variable. - (CFLAGS-.os): Use it instead of hardcoding -fPIC. - -1997-09-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use - _dl_start instead of a local label, to avoid getting an unreadable - label name. - -1997-09-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * nss/Makefile ($(objpfx)libnss_db.so): Use $(dbobjdir) to find - libdb.so. - - * Makeconfig (dbobjdir): Use db2. - -1997-08-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * manual/maint.texi (Porting to Unix): Update description of the - implementation of Unix system calls. - (Contributors): Use real umlaut in tege's name. - -1997-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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. - -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. + * posix/Makefile (headers): Add wait.h. + * posix/wait.h: New file. -1997-08-29 02:36 Ulrich Drepper <drepper@cygnus.com> + * posix/sys/types.h: Always define intN_t types. - * Makefile (version-info.h): Use ISO form for the date. + * stdio-common/Makefile: Update copyright. + Use -Wno-format flag for scanf4.c and scanf7.c. - * 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. + * stdlib/stdlib.h: Reformat. - * csu/Makefile (abi-tag.h): Make sure target directory exists. +Fri Nov 22 19:34:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * sysdeps/posix/getcwd.c (__getcwd): After resizing the buffer + move the current contents to the end and relocate file name + pointer to upper half of the buffer. - * libio/fileops.c (_IO_file_read, _IO_file_write): Remove dead code. +Sun Nov 24 04:56:19 1996 Ulrich Drepper <drepper@cygnus.com> - * malloc/obstack.c: Add casts to keep very verbose compilers on - 64bit machine quiet. + * time/africa: Update from ADO tzdata1996m. + * time/antarctica: Likewise. + * time/asia: Likewise. + * time/australia: Likewise. + * time/etcetera: Likewise. + * time/europe: Likewise. + * time/nothamerica: Likewise. + * time/southameria: Likewise. + * time/zone.tab: Likewise. - * nss/Makefile (libnss_db.so): Find libdb.so in db2 directory. + * sysdeps/unix/sysv/linux/sys/serial.h: New file. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers): + Add sys/serial.h. + * sysdeps/unix/sysv/linux/Dist: Add sys/serial.h. -1997-08-28 17:30 Ulrich Drepper <drepper@cygnus.com> + * posix/wait.h: New file. + * posix/Makefile (headers): Add wait.h. - * catgets/catgets.c (catopen): Correctly determine length of string - in NLSPATH environment variable. Patch by HJ Lu <hjl@gnu.ai.mit.edu>. +Sat Nov 23 17:27:52 1996 Roland McGrath <roland@gnu.ai.mit.edu> -1997-08-27 23:19 Richard Henderson <rth@cygnus.com> + * Makeconfig ($(common-objpfx)soversions.mk): Use regular + expression instead of shell pattern matching. + * shlib-versions: Change to regular expressions. - * 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. +Sat Nov 23 13:24:55 1996 Ulrich Drepper <drepper@cygnus.com> - * 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. + * io/stat.c: Add section from libgcc to copyright comment + to allow this file to be statically linked in applications. + * io/fstat.c: Likewise. + * io/lstat.c: Likewise. + * io/mknod.c: Likewise. -1997-08-10 19:17 Philip Blundell <Philip.Blundell@pobox.com> +Fri Nov 22 15:14:23 1996 Ulrich Drepper <drepper@cygnus.com> - * 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. + * csu/initfini.c: Add section from libgcc to copyright comment + to allow this file to be statically linked in applications. -1997-08-27 21:20 Ulrich Drepper <drepper@cygnus.com> + * malloc/obstack.h [!_LIBC && !HAVE_STRING_H]: Define memcpy if + not already defined. + (obstack_grow, obstack_grow0): Correct placement of braces. - * 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. + * gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Define to 2. + * malloc/obstack.c (OBSTACK_INTERFACE_VERSION): Define to 2. - * 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. - - * libio/stdio.h [__cplusplus] (__STDIO_INLINE): Define as inline. - - * po/de.po, po/sv.po: Update from 2.0.5 translations. - - * sysdeps/unix/sysv/linux/netinet/tcp.h: Pretty print. - - * 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. - -1997-08-27 18:47 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/if_index.c: Include <errno.h>. - Reported by Benjamin Kosnik <bkoz@cygnus.com>. - -1997-08-27 02:27 Roland McGrath <roland@baalperazim.frob.com> - - * 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. - -1997-08-25 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. - -1997-08-25 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/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. - -1997-08-25 17:01 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/i386/bits/select.h: Correct assembler versions to work even - for descriptors >= 32. - - * 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>. - - * 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>. +Thu Nov 21 19:54:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-08-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * Makerules (make-link): Simplify by changing directory only if + not using rellns-sh; check whether we really have symbolic links. - * manual/libc.texinfo: Reorder chapters to match logical order. + * rellns-sh: Fix the case of $(dirname $2) being a prefix of + $(dirname $1); use status of ln for exit code; make more robust + against multiple slashes in a row. -1997-08-25 12:22 Ulrich Drepper <drepper@cygnus.com> +Thu Nov 21 13:05:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.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>. + * configure.in (after AC_CANONICAL_HOST): mutate *-*-gnu* names + into *-*-gnu-gnu*. + * shlib-versions (gnu versions): Recognize *-*-gnu-gnu* instead of + the three-part name, to distinguish correctly from *-*-linux-gnu*. -1997-08-24 Miles Bader <miles@gnu.ai.mit.edu> + * sysdeps/mach/hurd/Makefile ($(libdir)/libc.so): Depend on + $(rpcuserlibs). - * string/argz.h: Add missing __END_DECLS. + * sysdeps/mach/hurd/Makefile (install-others): Add + $(libdir)/libc_p.a. + ($(libdir)/libc_p.a): New rule. + * sysdeps/mach/hurd/libc_p-ldscript: New file. + * sysdeps/mach/hurd/Dist: Add libc_p-ldscript. -1997-08-24 12:24 Ulrich Drepper <drepper@cygnus.com> +Wed Nov 20 20:28:21 1996 Richard Henderson <rth@tamu.edu> - * configure.in (INSTALL): Quote `$'. + * Makerules (make-link): Use $(shell) to find rellns-sh before we cd. + * time/Makefile: Likewise. - * libc.map: Add __xpg_basename. + * sysdeps/alpha/elf/Makefile: New file. Build crtbegin.o & crtend.o. + * sysdeps/alpha/elf/Dist: New file. + * sysdeps/alpha/elf/crtbegin.S, sysdeps/alpha/elf/crtend.S: New files. + The bits currently distributed with GCC fail in two ways -- they don't + understand multiple .got subsections and the extents of the lists are + dynamicly bound meaning that the application's lists get executed + multiple times and the library's lists never get executed. - * csu/Makefile (initfini.s): Disable optimization. +Wed Nov 20 00:42:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * elf/dl-deps.c: Implement handling of DT_FILTER. + * stdlib/strtod.c: Fix previous change. - * elf/dl-load.c (_dl_init_paths): Add error check. +Wed Nov 20 22:07:58 1996 Andreas Jaeger <aj@arthur.pfalz.de> - * intl/finddomain.c (_nl_find_domain): Correct comment. - * intl/localealias.c: Include <bits/libc-lock.h> not <libc-lock.h>. + * time/Makefile ($(installed-localtime-file)): Use $(..) to find + rellns-sh script. - * libio/stdio.h: Make {,v}snprintf available if __USE_BSD. - Change extern inline functions to work correctly in C++. +Wed Nov 20 12:50:54 1996 Ulrich Drepper <drepper@cygnus.com> - * locale/iso-4217.def: Update for more recent ISO 4217 version. + * stdio-common/Makefile: Add CFLAGS-scanf7.c to prevent warning. + Likewise for scanf4.c - * locale/loadlocale.c (_nl_load_locale): Add cast. +Wed Nov 20 02:04:11 1996 Ulrich Drepper <drepper@cygnus.com> - * manual/message.texi: Finish gettext section. + * sysdeps/unix/sysv/linux/sigsuspend.c: Make sigsuspend a weak + alias of __sigsuspend. - * 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. + * grp/grp.h: Correct comment about POSIX compliance. + * pwd/pwd.h: Likewise. - * poisx/glob.c: Add prototype for next_brace_sub. + * login/utmp.h: Update copyright and pretty-print prototypes. + * sysdeps/generic/paths.h: Add _PATH_LASTLOG, _PATH_UTMP and + _PATH_WTMP from utmpbits.h. + * sysdeps/unix/sysv/linux/paths.h: Likewise. + * sysdeps/generic/utmpbits.h: Remove here. + * sysdeps/gnu/utmpbits.h: Likewise. - * sysdeps/generic/dl-sysdep.c: Recognize AT_BASE value on auxiliary - vector. + * misc/sys/uio.h: Place __BEGIN_DECLS correctly. + Pretty-print prototypes. + + * sysdeps/unix/sysv/linux/sparc/clone.S: New file. Taken from + LinuxThreads-0.5. + +Tue Nov 19 13:43:07 1996 Richard Henderson <rth@tamu.edu> + + * inet/ether_hton.c: Include <string.h>. + * inet/ether_ntoh.c: Likewise. + * inet/rexec.c: Get errno, index, getpass, getlogin from headers. + * misc/search.h: Fix hcreate_r argument type (unsigned -> size_t). + + * misc/sys/cdefs.h: Change __long_double_t definition from typedef + to define. Jim Nance reports problems building XEmacs otherwise. + + * resolv/gethnamaddr.c: Protect h_errno redefinition. + * resolv/getnetnamadr.c: Likewise. + * resolv/herror.c: Likewise. + + * sysdeps/generic/sigset.h (__SIGSETFN): Operator ## doesn't work + with -traditional. Reported by Eric Youngdale. While we're at this, + don't do error checking in the __ functions. This is consistent + with the sysv4 definitions and seems Right. + * signal/signal.h: Don't __OPTIMIZE__ sigops to __ versions. Add + prototype for __sigsuspend. + * sysdeps/posix/sigblock.c: Optimize sigmask <-> sigset_t conversions + for sigset_t == unsigned long. De-ansidecl-ify. Reformat copyright. + * sysdeps/posix/sigpause.c: Likewise. + * sysdeps/posix/sigsetmask.c: Likewise. + * sysdeps/posix/sigvec.c: Likewise. + * sysdeps/posix/sigintr.c: Reformat copyright. + * sysdeps/posix/signal.c: Check signal number out of range since + __sigismember doesn't anymore. Reformat copyright. + * sysdeps/posix/sigwait.c: Use __ versions of sigfillset, sigismember, + sigdelset, sigaction, and sigsuspend. + + * stdlib/drand48-iter.c (__drand48_iterate): Cast state fragments + to the wider type before shifting. + + * sysdeps/alpha/bsd-_setjmp.S: Silence assembler warning "$at used + without .set noat" in profiling hook. + * sysdeps/alpha/bsd-setjmp.S: Likewise. + * sysdeps/alpha/htonl.S: Likewise. + * sysdeps/alpha/htons.S: Likewise. + * sysdeps/alpha/s_copysign.S: Likewise. + * sysdeps/alpha/setjmp.S: Likewise. + * sysdeps/alpha/stpcpy.S: Likewise. + * sysdeps/alpha/strcat.S: Likewise. + * sysdeps/alpha/strcpy.S: Likewise. + * sysdeps/alpha/strncat.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/brk.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise. Rename + function to __sigsuspend and add weak alias. + * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. Add missing END. - * 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/alpha/w_sqrt.S: Define _ERRNO_H so <errnos.h> defines EDOM. - * sysdeps/i386/fpu/fraiseexcpt.c: Add volatile to asms. + * sysdeps/unix/execve.S: Match PSEUDO_END symbol with the symbol + SYSCALL__ actually generated. - * 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. + * sysdeps/unix/sysv/linux/errnos.h [_LIBC_REENTRANT]: Reflexively + #define __set_errno, as several imported subsystems (eg. BIND) check + that the symbol is defined. - * sysdeps/standalone/i386/i386.h: Clean up asm statements a bit. - * sysdeps/standalone/i960/i960ca.h: Likewise. + * sysdeps/unix/sysv/linux/getsysstats.c: Include <alloca.h>. -1997-08-22 19:04 Richard Henderson <rth@cygnus.com> + * sysdeps/alpha/memcpy.S: Temporarily remove until I can find a bug + that manifests in GCC. - * elf/rtld.c (_dl_start): Init _dl_rtld_map.l_opencount due to - undocumented test addition in _dl_map_object. +Tue Nov 19 11:10:05 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - Support ET_EXEC versions of ld.so, for debugging at least: + * sysdeps/posix/writev.c (writev): COUNT parm is now int. + * sysdeps/posix/readv.c (readv): Likewise. - * 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. +Tue Nov 19 15:28:29 1996 Ulrich Drepper <drepper@cygnus.com> - Sparc 32 merge: + * nss/nss_dns/dns-network.c: Change return type of all functions + to enum nss_status. + Reported by NIIBE Yutaka. + * nss/nss_dns/dns-host.c: Update copyright. - * 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. +Fri Nov 15 20:16:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * config.make.in: Remove definition of top_absdir. + * configure.in: Likewise. Use $(..) instead. + * Makerules (make-link): Use $(..) to find rellns-sh script. - * 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. +Sat Nov 16 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/sparc/fpu/bits/mathdef.h (FP_ILOGB0, FP_ILOGBNAN): New. + * manual/nss.texi (Name Service Switch): Fix reference to + `frobnicate'. - * sysdeps/sparc/fpu/fraiseexcpt.c: Rearrange for smaller code. +Fri Nov 15 22:08:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/sparc/sparc32/Makefile: Fix sparc->sparc/sparc32 bits - in divrem expansions. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add + sys/mtio.h. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (END, LOC): New - definitions for assembly syntax differences. +Mon Nov 18 05:51:13 1996 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. + * sysdeps/generic/waitstatus.h (__WIFSIGNALED): Rename local + variable from __stat to __status to prevent shadowing. + * sunrpc/rpc/clnt.h (clntudp_create, clntudp_bufcreate): Likewise + for parameter __wait. + Reported by NIIBE Yutaka. - * 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. - - * 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. - - * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: - Clean up PIC code. - - * sysdeps/sparc/sparc32/elf/start.S: New file, slightly modified - from the sparc64 version. - * sysdeps/sparc/sparc32/elf/start.c: Removed. - - * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Rewrite in - assembly based on the sparc64 version. - - * 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. - - * 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. - - * 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/sparc/sparc64/init-first.h: sll->sllx, - optimize for branch delay slot usage. - -1997-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * csu/Makefile ($(objpfx)crt%.o): Fix a missing *.so -> *.os - change. +Mon Nov 18 02:05:38 1996 Ulrich Drepper <drepper@cygnus.com> -1997-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * misc/regexp.c: New file. Implementation of obsolete interface + to regular expression matcher (required in XPG4.2). + * misc/regexp.h: New file. Header for above. + * misc/Makefile (headers): Add regexp.h. + (routines): Add regexp.c. + Update copyright. - * math/libm-test.c (identities): Change epsilon. +Sun Nov 17 21:50:24 1996 Andreas Jaeger <aj@arthur.pfalz.de> - * sysdeps/i386/fpu/bits/mathinline.h: Correct arguments to fabs, - fabsf, fabsl, __fabsl. + * stdlib/tst-strtod.c (main): Add arguments for main. + * stdlib/tst-strtol.c (main): Likewise. -1997-08-20 05:30 Ulrich Drepper <drepper@cygnus.com> +Sun Nov 17 21:15:05 1996 Ulrich Drepper <drepper@cygnus.com> - * catgets/catgets.c (catclose): Use __munmap instead of munmap. - * catgets/gencat.c (read_input_file): Fix typo. + * configure.in: Substitute libc_cv_slibdir and libc_cv_sysconfdir + in output files. + * sysdepes/unix/sysv/linux/configure: Define libc_cv_slibdir to /lib + and sysconfdir to /etc if $prefix is /usr. + * config.make.in: Add slibdir, sysconfdir and BASH to be replaced. - * dirent/dirent.h: Make seekdir and telldir available for __USE_XOPEN. + * elf/Makefile ($(objpfx)ldd): Install ldd.bash.in if + $(have-bash2) is yes. + * elf/ldd.bash.in: Add copyright and various cleanups. + * elf/ldd.sh.in: Likewise. - * elf/dl-load.c: Fix case of missing DT_RPATH in object which gets - executed (e.g., when it is a static binary). + Implement RTLD_NEXT. + * elf/dlfcn.h: Define RTLD_NEXT. + * elf/dl-deps.c: Build second searchlist which contains duplicates. + * elf/dl-lookup.c (_dl_lookup_symbol_skip): New function. Used + for RTLD_NEXT lookup. + Rewrite _dl_lookup_symbol to put common parts for both lookup + functions in a separate function. + * elf/dlsym.c: Handle RTLD_NEXT by calling _dl_lookup_symbol_skip. + * elf/link.h (struct link_map): Add l_dupsearchlist and + l_ndupsearchlist. + Add prototype for _dl_lookup_symbol_skip. + + * sunrpc/Makefile (rpcsvc): Add rusers. + * sunrpc/rpcsvc/rnusers.x: Remove. Obsolteted by rusers.x. + * sunrpc/rpcsvc/rusers.x: New file. + +Sun Nov 17 04:24:35 1996 Ulrich Drepper <drepper@cygnus.com> + + * stdio-common/vfprintf.c [USE_IN_LIBIO] (buffered_vfprintf): Call + __libc_lock_init for local lock. + Reported by a sun <asun@zoology.washington.edu>. + [!USE_IN_LIBIO] (PAD): Optimize a bit. - * 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. +Sun Nov 17 03:13:57 1996 Ulrich Drepper <drepper@cygnus.com> - * 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. + * db/makedb.c: Update and reformat copyright. + * elf/Makefile: 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-minimal.c: Likewise. + * elf/dl-object.c: Likewise. + * elf/dl-open.c: Likewise. + * elf/dl-reloc.c: Likewise. + * elf/dl-runtime.c: Likewise. + * elf/dl-support.c: Likewise. + * elf/dl-symbol.c: Likewise. + * elf/dladdr.c: Likewise. + * elf/dlclose.c: Likewise. + * elf/dlerror.c: Likewise. + * elf/dlopen.c: Likewise. + * elf/dlsym.c: Likewise. + * elf/do-rel.h: Likewise. + * elf/dynamic-link.h: Likewise. + * elf/eval.c: Likewise. + * elf/rtld.c: Likewise. + * inet/ether_hton.c: Likewise. + * inet/ether_ntoh.c: Likewise. + * inet/ether_line.c: Likewise. + * inet/getnetgrent_r.c: Likewise. - * math/Makefile (test-longdouble-yes): Enable. We want long double - tests now. + * inet/Makefile (+gccwarn): Remove definition. + Instead set CFLAGS-rcmd.c, CFLAGS-rexec.c, and CFLAGS-ruserpass.c + to `-w'. + * inet/aliases.h: Add C++ protection. + * inet/ether_hton.c: Add prototype for __nss_ethers_lookup. + (ether_hostton): Remove unused variable result. + * inet/ether_ntoh.c: Likewise. + * inet/ether_line.c: Include <ctype.h> and <string.h>. + * inet/getnetgrent_r.c: Include <stdlib.h>. + Use casts to prevent warnings. + (innetgr): Initialize `known' and `needed'. + * inet/inet_net.c: Make local variable `i' of type u_int32_t. + * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)) [NEED__RES]: Don't + return NULL. Instead set *RESULT to NULL and return -1. + * nss/getXXent_r.c (INTERNAL (REENTRANT_GETNAME)): Likewise. + (SETFUNC_NAME, ENDFUNC_NAME) [NEED__RES]: Don't return anything. + + * nss/nss_files/files-alias.c: Debug function. I didn't worked at + all before. + +Sat Nov 16 15:25:34 1996 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/posix/readv.c: Don't use PTR anymore. + * sysdeps/posix/writev.c: Likewise. - Crusade against strcat. - * nis/nss_nisplus/nisplus-publickey.c: Remove uses of strcat. - * stdlib/canonicalize.c: Likewise. + * version.h (VERSION): Bump to 1.98. - * posix/glob.h: Define __const if necessary. Use __const in all - prototypes. + * nss/db-Makefile: Generate lines for getXXXent iteration. - * sysdeps/generic/stpcpy.c: Use K&R form to allow use in other - GNU packages. + * sysdeps/alpha/Dist: Don't distribute removed files divlu.S, + divqu.S, remlu.S, and remqu.S. - * posix/wordexp.c: Completely reworked buffer handling for much - better performance. Patch by Tim Waugh. +Fri Nov 15 08:55:54 1996 Andreas Jaeger <aj@arthur.pfalz.de> - * socket/sys/sochet.h (getpeername): Fix type of LEN parameter, - it must be socklen_t. + * posix/unistd.h: Correct typo in documentation. - * 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>. +Thu Nov 14 18:08:14 1996 a sun <asun@zoology.washington.edu> -1997-08-18 15:21 Ulrich Drepper <drepper@cygnus.com> + * inet/netinet/tcp.h: Use __ protected versions instead of + BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN directly. - * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Fix memory leak - in cleanup code. +Sat Nov 16 13:44:55 1996 Ulrich Drepper <drepper@cygnus.com> -1997-08-17 Paul Eggert <eggert@twinsun.com> + * intl/loadmsgcat.c (_nl_msg_cat_cntr): Initialize so that + references in libc.so are not anymore undefined. - * 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. +Sat Nov 16 18:17:36 1996 NIIBE Yutaka <gniibe@mri.co.jp> -1997-08-10 19:17 Philip Blundell <Philip.Blundell@pobox.com> + * io/utime.h: Rename second parameter for utime to prevent warning + for -Wshadow. + * dirent/dirent.h: Same here for scandir prototype. + * math/mathcalls.h: Likewise for frexp and ldexp. + * sysdeps/unix/sysv/linux/netinet/in.h: Likewise for bindresvport. - * inet/getnameinfo.c: Tidy up. - * sysdeps/posix/getaddrinfo.c: Likewise. +Sat Nov 16 03:49:27 1996 Ulrich Drepper <drepper@cygnus.com> - * 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. + * stdlib/tst-strtod.c: Add test for error case below. -1997-08-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Sat Nov 16 03:48:39 1996 Wolfram Gloger <Wolfram.Gloger@dent.med.uni-muenchen.de> - * 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. + * stdlib/strtod.c: Recognize numbers like 0e-19. -1997-08-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Fri Nov 15 08:38:43 1996 Andreas Jaeger <aj@arthur.pfalz.de> - * Makerules (lib%.so): Depend on $(+preinit) and $(+postinit). - (build-shlib): Filter them out of $^. + * time/Makefile ($(installed-localtime-file)): Fix path to + rellns-sh. -1997-08-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * Makefile: Don't generate and install gnu/lib-names.h if + $(build-shared) is not `yes'. - * elf/dl-error.c (_dl_signal_error): Fix error message. +Thu Nov 14 09:23:58 1996 H.J. Lu (hjl@gnu.ai.mit.edu) -1997-08-16 04:06 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend + on $(..)posix/posix1_lim.h, not ../posix/posix1_lim.h. - * assert/assert.h [__USE_GNU]: Undefine assert_perror. - Reported by Theodore C. Belding <Ted.Belding@umich.edu>. + * Makerules (REAL_MAKE_VERSION): New, use it instead of + MAKE_VERSION. -1997-08-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Thu Nov 14 22:10:43 1996 Ulrich Drepper <drepper@cygnus.com> - * 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. + * nss/nss_files/files-XXX.x (_nss_files_get,ENTNAME_r): Fix typo. + * nss/getXXent_r.c: Fix typo. Set correct return value when + no further service is available. - * manual/creature.texi: Mention _XOPEN_SOURCE_EXTENDED in correct - place. +Thu Nov 14 17:48:13 1996 Ulrich Drepper <drepper@cygnus.com> - * manual/math.texi: Add comment to sincos decsription to say it's a - GNU extension. - Fix description of random function. + * db/recno/rec_put.c: Add cast to avoid warning. + * db/recno/rec_close.c: Likewise. + * db/mpool/mpool.c: Likewise. + * db/hash/hash_bigkey.h: Likewise. + * db/hash/hash.c: Likewise. + * db/btree/bt_split.c: Likewise. + * db/btree/bt_put.c: Likewise. - * 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>. +Thu Nov 14 14:11:44 1996 Ulrich Drepper <drepper@cygnus.com> - * stdio-common/_itoa.c: Don't use relateive #include paths. + * dirent/dirent.h: Update copyright. + * elf/elf.h: Likewise. + * elf/link.h: Likewise. + * gmon/sys/gmon_out.h: Likewise. + * gnu-versions.h: Likewise. + * intl/libintl.h: Likewise. + * io/fcntl.h: Likewise. + * io/ftw.h: Likewise. + * io/sys/statfs.h: Likewise. + * io/utime.h: Likewise. + * locale/langinfo.h: Likewise. + * malloc/malloc.h: Likewise. + * malloc/obstack.h: Likewise. + * misc/ar.h: Likewise. + * misc/error.h: Likewise. + * misc/mntent.h: Likewise. + * misc/sgtty.h: Likewise. + * misc/sys/cdefs.h: Likewise. + * misc/sys/dir.h: Likewise. + * misc/sys/file.h: Likewise. + * misc/sys/ioctl.h: Likewise. + * misc/sys/ustat.h: Likewise. + * posix/fnmatch.h: Likewise. + * posix/getopt.h: Likewise. + * posix/glob.h: Likewise. + * posix/posix2_lim.h: Likewise. + * posix/regex.h: Likewise. + * posix/sys/times.h: Likewise. + * posix/sys/types.h: Likewise. + * posix/sys/utsname.h: Likewise. + * posix/tar.h: Likewise. + * posix/wordexp.h: Likewise. + * resource/sys/resource.h: Likewise. + * resource/sys/vlimit.h: Likewise. + * resource/sys/vtimes.h: Likewise. + * socket/sys/socket.h: Likewise. + * socket/sys/un.h: Likewise. + * stdio-common/printf.h: Likewise. + * stdlib/alloca.h: Likewise. + * string/argz.h: Likewise. + * string/endian.h: Likewise. + * string/envz.h: Likewise. + * string/memory.h: Likewise. + * string/strings.h: Likewise. + * sysdeps/generic/crypt.h: Likewise. + * sysdeps/generic/direntry.h: Likewise. + * sysdeps/generic/gnu/types.h: Likewise. + * sysdeps/generic/ioctl-types.h: Likewise. + * sysdeps/generic/netinet/in.h: Likewise. + * sysdeps/generic/resourcebits.h: Likewise. + * sysdeps/generic/sigset.h: Likewise. + * sysdeps/generic/sockaddrcom.h: Likewise. + * sysdeps/generic/sys/mman.h: Likewise. + * sysdeps/generic/sys/ptrace.h: Likewise. + * sysdeps/generic/termbits.h: Likewise. + * sysdeps/generic/waitstatus.h: Likewise. + * sysdeps/ieee754/huge_val.h: Likewise. + * sysdeps/ieee754/nan.h: Likewise. + * sysdeps/mach/hurd/local_lim.h: Likewise. + * sysdeps/mach/hurd/statbuf.h: Likewise. + * sysdeps/stub/huge_val.h: Likewise. + * sysdeps/stub/libc-lock.h: Likewise. + * sysdeps/stub/signum.h: Likewise. + * sysdeps/stub/statbuf.h: Likewise. + * sysdeps/stub/waitflags.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise. + * sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise. + * sysdeps/unix/bsd/osf/sys/mman.h: Likewise. + * sysdeps/unix/bsd/signum.h: Likewise. + * sysdeps/unix/bsd/statbuf.h: Likewise. + * sysdeps/unix/bsd/sun/signum.h: Likewise. + * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Likewise. + * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise. + * sysdeps/unix/bsd/sun/sunos4/termbits.h: Likewise. + * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise. + * sysdeps/unix/bsd/waitflags.h: Likewise. + * sysdeps/unix/sysv/irix4/signum.h: Likewise. + * sysdeps/unix/sysv/irix4/statbuf.h: Likewise. + * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/sys/io.h: Likewise. + * sysdeps/unix/sysv/linux/direntry.h: Likewise. + * sysdeps/unix/sysv/linux/gnu/types.h: Likewise. + * sysdeps/unix/sysv/linux/ioctl-types.h: Likewise. + * sysdeps/unix/sysv/linux/local_lim.h: Likewise. + * sysdeps/unix/sysv/linux/netinet/in.h: Likewise. + * sysdeps/unix/sysv/linux/resourcebits.h: Likewise. + * sysdeps/unix/sysv/linux/signum.h: Likewise. + * sysdeps/unix/sysv/linux/statbuf.h: Likewise. + * sysdeps/unix/sysv/linux/sys/io.h: Likewise. + * sysdeps/unix/sysv/linux/sys/klog.h: Likewise. + * sysdeps/unix/sysv/linux/sys/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise. + * sysdeps/unix/sysv/linux/syscall.h: Likewise. + * sysdeps/unix/sysv/linux/termbits.h: Likewise. + * sysdeps/unix/sysv/local_lim.h: Likewise. + * sysdeps/unix/sysv/sco3.2.4/syscall.h: Likewise. + * sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise. + * sysdeps/unix/sysv/signum.h: Likewise. + * sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise. + * sysdeps/unix/sysv/sysv4/signum.h: Likewise. + * sysdeps/unix/sysv/sysv4/sigset.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/signum.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: Likewise. + * sysdeps/unix/sysv/sysv4/waitflags.h: Likewise. + * sysdeps/vax/huge_val.h: Likewise. + * values.h: Likewise. - * 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. +Thu Nov 14 04:22:41 1996 Ulrich Drepper <drepper@cygnus.com> -1997-08-13 09:44 Philip Blundell <Philip.Blundell@pobox.com> + * malloc/obstack.h: Use memcpy instead of bcopy and define a macro + `memcpy' using bcopy if memcpy is not available. - * 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. + * manual/stdio.texi: Correct description of printf customization. + The argument info function is not optional anymore and the + interface for `printf_function' also changed. + * manual/examples/rprintf.c: Define and use argument info function. -1997-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * stdio-common/printf.h (struct printf_info): Change type for field + `pad' to wchar_t. + Correct comment for `register_printf_function'. - * io/ftw.c (object_compare): Avoid memcmp when comparing scalar - types. + * nss/getXXbyYY.c [NEED_H_ERRNO]: Don't pass pointer to h_errno + to reentrant function. Instead use temporary variable and set + h_errno if an error occured. + Reported by NIIBE Yutaka. -1997-08-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Fri Nov 15 12:27:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - * math/libm-test.c (cbrt_test): Add epsilon for long double to - `cbrt (-0.001)'. + * sysdeps/mach/hurd/statbuf.h (S_IPTRANS, S_IATRANS, S_IROOT, + S_ITRANS): New macros. + (S_ISPARE): Update to include new macros and S_IUSEUNK. -1997-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/mach/hurd/select.c (__select): Construct arg to + mach_msg_destroy more nicely. - * sysdeps/stub/bits/string.h: Fix comment. + * sysdeps/mach/hurd/ioctl.c: Include <mach/mig-support.h>. -1997-08-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * stdio/fopen.c (__getmode): Declare with prototype. + * stdio/memstream.c (enlarge_buffer, seek, free_info): Likewise. + * stdio/internals.c (__stdio_check_funcs, init_stream, + seek_to_target, flushbuf, fillbuf): Likewise. - * elf/Makefile (routines): Remove dl-version. - (dl-routines): Add it here instead. This removes dead code from - libc.so. + * stdio-common/vfscanf.c (encode_error) [! USE_IN_LIBIO]: Call + funlockfile, not _IO_funlockfile. -1997-08-12 17:17 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> + * sysdeps/posix/readv.c (readv): Change return type to ssize_t. + Deansideclized. + * sysdeps/posix/writev.c (writev): Likewise. - * 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(). + * sysdeps/mach/hurd/lchown.c: Include <fcntl.h> and fix typo. -1997-08-11 23:00:32 1997 Mark Kettenis <kettenis@phys.uva.nl> +Thu Nov 14 12:53:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - * 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. + * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Make this a + prototyped definition. - * posix/getopt.c: Recognize Windog by _WINDOWS32 not WIN32. - Patch by Paul D. Smith <psmith@BayNetworks.COM>. + * sysdeps/mach/hurd/select.c (__select): Deal properly when there + are no bits set in the masks. Reported by baldazzi@csr.unibo.it. -1997-08-12 13:51 Ulrich Drepper <drepper@cygnus.com> +Thu Nov 14 02:00:33 1996 Ulrich Drepper <drepper@cygnus.com> - * login/getutid.c: Rename to __getutid and make getutid and getutxid - weak aliases. - Patch by ir. Mark M._Kettenis <kettenis@phys.uva.nl>. + * inet/Makefile (headers): Add aliases.h. + (routines): Add getaliasent_r, getaliasent, getaliasname, and + getaliasname_r. + * aliases.h: New file. + * inet/aliases.h: New file. + * inet/getaliasent.c: New file. + * inet/getaliasent_r.c: New file. + * inet/getaliasname.c: New file. + * inet/getaliasname_r.c: New file. + * nss/Makefile (databases): Add alias. + * nss/alias-lookup.c: New file. + * nss/databases.def: Add aliases and publickey. + * nss/nss_db/db-alias.c: New file. + * nss/nss_files/files-alias.c: New file. -1997-08-11 23:55 Ulrich Drepper <drepper@cygnus.com> + * inet/getnetgrent_r.c (__internal_getnetgrent): Buffer length + argument to lookup function is of type size_t. + (innetgr): Likewise. + * nss/getXXbyYY_r.c: Likewise. + * nss/getXXent_r.c: Likewise. + * nss/nss_db/db-XXX.c: Likewise. - * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers): - Add bits/mman.h. + * nss/getXXbyYY.c: Don't provide static buffer. Resize if call + failed because buffer was too small. + * nss/getXXent.c: Likewise. -1997-08-11 08:51:21 1997 H.J. Lu <hjl@gnu.ai.mit.edu> + * nss/nss_files/files-XXX.c: Correct handling of shared file. The + getXXent_r function now uses f[gs]etpos to get to the correct + position. - * stdlib/fmtmsg.c (fmtmsg): Add static to - __libc_once_define macro. + * nss/nss_files/files-parse.c: Indent lines for better readability. - * libc.map (__progname_full, __progname): Added. + * malloc/obstack.c: Add new variable obstack_alloc_failed_handler + and new function print_and_abort. Remove all references to + alloc_failed field. + Add new function _obstack_memory_used. + * malloc/obstack.h (struct obstack): Remove field alloc_field. + Remove all references to alloc_failed field. + Add prototype for _obstack_memory_used. -1997-08-04 08:31 H.J. Lu <hjl@gnu.ai.mit.edu> + * posix/unistd.h: Correct typo. - * 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. +Wed Nov 13 03:09:16 1996 Ulrich Drepper <drepper@cygnus.com> -1997-08-11 11:58 Richard Henderson <rth@cygnus.com> + * configure.in: Require at least autoconf-2.10.2. - 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. +Tue Nov 12 16:58:41 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> -1997-08-11 11:58 Richard Henderson <rth@cygnus.com> + * mach/mach.h (__mach_msg_destroy, mach_msg_destroy, __mach_msg): + Provide prototypes. - Sparc64 merge: - * configure.in: Change up subdirectories, rename sparc8->sparcv8. + * mach/msg-destroy.c (mach_msg_destroy_port, + mach_msg_destroy_memory): Use prototype syntax. + * hurd/hurdmalloc.c (more_memory, malloc_fork_prepare, + malloc_fork_parent, malloc_fork_child): Likewise. - * csu/Makefile: Nuke need-nopic-initfini bits. The problem was - that sparc64 ld did not recognize pic relocs at all. + * stdio/stdio.h: Repair broken cpp syntax. - * 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. + * sysdeps/mach/hurd/lchown.c: New file. Guts from chown.c, except + we pass O_NOLINK on the open. - * 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. + * manual/errno.texi (EBADMSG, EIDRM, EMULTIHOP, ENODATA, ENOLINK, + ENOMSG, ENOSR, ENOSTR, EOVERFLOW, EPROTO, ETIME): Redesignate as + an XOPEN error code, move to before the "Linux only" section, and + give it a new number for the Hurd. - * shlib-versions: Rename sparc64 ld.so to not conflict with sparc32 - on the same machine. +Tue Nov 12 03:35:01 1996 Christian von Roques <roques@pond.sub.org> - 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. + * malloc/obstack.h: Add new macro `obstack_make_room'. + * malloc/obstack.c: Add function implementation for + `obstack_make_room'. - * 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. +Mon Nov 11 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com> - * 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. + Update to BIND-4.9.5-REL. + * resolv/Banner: Set to 4.9.5-REL. + * resolv/inet_net_pton.c: Was doing bad things to subnets and b'casts. + * resolv/res_debug.c (__fp_nquery): Could read past end of buffer. + (fix from BIND 8.1) - * sysdeps/sparc/sparc32/fpu/fpu_control.h: Move from ../. - * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise. + * config.make.in: Add definition for top_absdir. + * Makerules (make-link): Fix path to rellns-sh script. - * sysdeps/sparc/sparc32/udiv_qrnnd.S: Clean up PIC support. +Sat Nov 9 02:15:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * posix/unistd.h: Fix comment. - * 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. + * manual/arith.texi: Fix misspellings. Use `zero', not `null', + when talking about numbers. + * manual/users.texi: Likewise. + * manual/creature.texi: Likewise. Use @defvarx for a secondary + description header. - * sysdeps/sparc/sparc64/dl-machine.h: Finish real implementation. +Sat Nov 9 19:25:11 1996 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/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend on + the real posix1_lim.h file so that it works in all subdirs, not + only in posix. - * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (struct sigaction): - Fix sa_flags size for sparc64; add sa_restorer for kernel. +Sat Nov 9 02:08:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. - - * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: New file. - -1997-08-10 18:29:08 1997 Mark Kettenis <kettenis@phys.uva.nl> - - * login/login.c (login): Check for correct return value of - utmpname. - -1997-08-11 16:49 Ulrich Drepper <drepper@cygnus.com> - - * time/tzset.c (__tzset_internal): Correctly handle TZ strings - following incorrect old POSIX specs. - Patch by Paul Eggert <eggert@twinsun.com>. - - * 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>. + * Makefile ($(includedir)/gnu/lib-names.h): Quote arguments of tr. -1997-08-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Sat Nov 9 02:06:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Don't depend + on $(before-compile) which hasn't been properly setup yet at this + point. -1997-08-10 18:48 Ulrich Drepper <drepper@cygnus.com> +Sat Nov 9 02:02:48 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * sysdeps/generic/sigset.h: Don't use implicit int which will + probably require a diagnostic in the next revision of the C + standard. + * sysdeps/stub/lockfile.c: Likewise. - * 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. +Sat Nov 9 01:57:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * gmon/gmon.c (__monstartup): Use calloc instead of malloc+memset. + * sysdeps/unix/sysv/linux/m68k/syscall.S: Correct last change. + * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. - * gmon/sys/gmon.h: Add prototype for write_profiling. +Mon Nov 11 02:53:14 1996 Ulrich Drepper <drepper@cygnus.com> - * 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. + * time/strftime.c: Update copyright. Small cosmetic changes. - * sysdeps/stub/bits/libc-lock.h (__libc_once_define): Add new first - parameter for class. +Sun Nov 10 23:28:16 1996 Ulrich Drepper <drepper@cygnus.com> - * 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. + * inet/getprtname_r.c: Reformat copyright. - * manual/time.texi: Document localtime_r, gmtime_r, asctime_r, and - ctime_r. - Mention that tzname values must not be changed. + * nss/Makefile (databases): Add key. + (libnss_files-routines): Exclude key database. + (libnss_db-routines): Likewise. + * nss/key-lookup.c: New file. - * 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. + * nss/getXXent_r.c (last_nip): Remember last service used since + last setXXent call. + (SETFUNC): Don't force to work through whole list of services in + call to __nss_next. + Update last_nip if necessary. + (ENDFUNC): Only process endXXent function up to currently used + last service. + (GETFUNC): Update last_nip if necessary. - * 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. + * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't + make static. - * 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/libm-i387/s_cbrt.S: Fix several bugs. - * sysdeps/libm-i387/s_cbrtf.S: Likewise. - * sysdeps/libm-i387/s_cbrtl.S: Likewise. - - * sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct - little bug. - - * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Make field - msg_iovlen of type int. - - * time/tzfile.c: Change return type of __tzstring to char *. - * time/tzset.c: Likewise. Change definition of __tzstring. - - * 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>. - -1997-07-20 03:01 Geoff Keating <geoffk@ozemail.com.au> - - * 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. - - * inet/getnameinfo.c: Make `domain' non-const. - - * sysdeps/unix/sysv/linux/powerpc/kernel_termios.c: Clean up. - - * 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. - - * sysdeps/powerpc/dl-machine.h: Print proper error message on - unknown reloc type (rather than using assert). - - * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: New file. - * sysdeps/unix/sysv/linux/powerpc/profil.c: Deleted. - -1997-07-16 12:47 Geoff Keating <geoffk@ozemail.com.au> - - * 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). - - * 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. - - * 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/libm-ieee754/s_lround.c [NO_LONG_DOUBLE]: Fix a few bugs, - document the existence of some more. - - * 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. - - * 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. - - * 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. + * rpc/auth_des.h: New file. + * sunrpc/Makefile (headers): Add auth_des.h. + (routines): Add publickey. + * sunrpc/publickey.c: New file. Interface to public key handling. + * sunrpc/rpc/auth_des.h: New file. + * sunrpc/rpc/netdb.h: Really include <rpc/auth_des.h>. -1997-08-08 20:20 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> +Sun Nov 10 02:37:15 1996 Ulrich Drepper <drepper@cygnus.com> - * nis_cache.c: Replace dummy functions. + * inet/gethstent_r.c: Update copyright. + * nss/getXXbyYY_r.c: Likewise. + * nss/nsswitch.c: Likewise. + * nss/getXXent_r.c: Likewise. + * nss/nss_files/files-XXX.c: Likewise. + * nss/nss_files/files-netgroup.c: Likewise. + * nss/nss_files/files-parse.c: Likewise. + + * nss/getXXent_r.c: Change implementation. It's not necessary to + call all setXXent functions. Just find first available and + when necessary let getXXent_r call the others. + + * nss/nss_files/files-XXX.c: Make really reentrant. Now calls + of getXXent and getXXbyYY can be mixed. The cursor for traversing + the database with getXXent will be remembered. + + * stdlib/test-canon.c (cwd): Change size to PATH_MAX. + +Sat Nov 9 15:34:48 1996 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/sysv/linux/Dist: Add sys/mtio.h. + * sysdeps/unix/sysv/linux/sys/mtio.h: New file. + + * signal/signal.h [__USE_BSD]: Add prototype for siggetmask. + +Fri Nov 8 13:29:30 1996 Ulrich Drepper <drepper@cygnus.com> + + * ctype/ctype.h (__isascii): Don't test for seventh bit not to be + set. Instead for none beside the first seven bits to be set. + X/Open allows the argument to be an `int' value. + Reported by Alain Williams <addw@phcomp.co.uk>. + (toascii, isascii): Define macro also when __USE_XOPEN. + + * sysdeps/posix/fpathconf.c: Use fstatfs to compute NAME_MAX, not + PATH_MAX. + +Thu Nov 7 03:04:29 1996 Ulrich Drepper <drepper@cygnus.com> + + * nss/getXXXent_r.c (SETFUNC_NAME): Reset `nip' after loop to + NULL so that GETFUNC will see first entry. + (ENDFUNC_NAME): Likewise. + + Rewrite Netgroups implementation to avoid global data. + * inet/netgroup.h: Add definition of name_list and struct + __netgrent. + Add prototypes for internal netgroup functions. + * nss/nss_files/files-netgroup.c (_nss_files_setnetgrent): Take + extra argument and use the included data instead of global vars. + (_nss_files_endnetgrent): Likewise. + (_nss_netgroup_parseline): Change to be static and use data + included in the RESULT structure. + * inet/getnetgrent_r.c (startp): Move into setup function. + (known_groups, needed_groups): new part of the __netgrent sruct. + (freememory): Take extra argument and use included data. + (__internal_endnetgrent): Likewise. + (internal_setnetgrent): Renamed to __internal_setnetgrent_reuse + and take extra argument. + (__internal_setnetgrent): New function. Call + __internal_setnetgrent_reuse after calling free_memory. + (setnetgrent): Only call __internal_setnetgrent. + (__getnetgrent_r): Split into two functions. __getnetgrent_r + calls __internal_getnetgrent after locking. + (innetgr): Use dynamic data only. I.e., innetgr now is fully + reentrant. + +Thu Nov 7 00:15:14 1996 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/stub/setenv.c: Correct typo: unseenv -> unsetenv. + Reported by Joshua Cowan <jcowan@jcowan.reslife.okstate.edu>. + +Wed Nov 6 13:13:37 1996 Ulrich Drepper <drepper@cygnus.com> + + * manual/creature.texi: Document that _GNU_SOURCE is no longer the + default when no *_SOURCE macro is given. + Reported by Karsten Weiss <karsten@addx.au.s.shuttle.de>. + * NOTES: remade from manual/creature.texi. + * manual/libc.texinfo: Add back line about GPL translation which + somehow got lost. + + * Make-dist (dist.tar): Depend on README being updated. + + * rellns-sh: Correct thinko in removing leading /. + Reported by Andreas Jaeger <aj@arthur.pfalz.de>. - * libc.map: Add xdr_sizeof symbol. + * pwd/fgetpwent_r.c: Recognize lines containing only names starting + with `+' or `-' in parser. + * grp/fgetgrent_r.c: Likewise. + * shadow/sgetspent_r.c: Likewise. + * nss/nss_files/files-spwd.c: Don't accept entries starting with + `+' or `-'. - * sunrpc/Makefile: Add xdr_sizeof to routines. - * sunrpc/rpc/xdr.h: Add xdr_sizeof prototype. - * sunrpc/xdr_sizeof.c: New, from tirpc 2.3. +Wed Nov 6 04:30:26 1996 Ulrich Drepper <drepper@cygnus.com> -1997-08-08 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias llseek for + _llseek syscall. Reported by Andy Sewell <puck@pookhill.demon.co.uk>. - * sysdeps/mach/bits/libc-lock.h (__libc_once): Define correctly. + * string/argz.h: Don't protect by __USE_GNU. -1997-08-07 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> +Tue Nov 5 23:38:28 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/mach/hurd/profil.c (fetch_samples): Put parens in the - right place. + * Lots of files: Update and reformat copyright. -1997-08-06 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + * Makefile (headers): Add xopen_lim.h. - * sysdeps/mach/hurd/profil.c (fetch_samples): Do arithmetic on - PC's in long long to avoid overflow. + * catgets/nl_types.h: Move __BEGIN_DECLS before definition of nl_catd. -1997-08-07 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + * grp/grp.h: Define setgrent, getgrent, endgrent, and getgrent_r + if __USE_XOPEN_EXTENDED is defined. + * pwd/pwd.h: Define setpwent, getpwent, endpwent, and getpwent_r + if __USE_XOPEN_EXTENDED is defined. - * sysdeps/mach/bits/libc-lock.h (__libc_once, __libc_once_define): - New macros. + * io/Makefile (routines): Add lchown. + * sysdeps/stub/lchown.c: New file. -1997-08-06 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * io/sys/poll.h: Add definition of POLLWRNORM. - * nis/Makefile (headers): Remove bits/nislib.h. + * io/sys/stat.h: Declare lstat, fchmod, mknod when + __USE_XOPEN_EXTENDED is defined. -1997-08-06 14:54 Ulrich Drepper <drepper@cygnus.com> + * libio/Makefile (routines): Add obprintf. + * libio/obprintf.c: New file. + * libio/iolibio.h: Add prototypes for _IO_obstack_vprintf and + _IO_obstack_printf. + * libio/libio.h: Fix typo. + * libio/stdio.h: Declare tempnam if __USE_XOPEN_EXTENDED is defined. + Add prototypes for obstack_vprintf and obstack_printf. - * sysdeps/mach/hurd/Subdirs: Add login. + * manual/creature.texi: Describe _XOPEN_SOURCE macro. + * manual/intro.texi: Add reference to NSS chapter. + * manual/libc.texinfo: Update UPDATED. + Comment out `@printindex cp'. It works again. + * manual/memory.texi: Add description for obstack_ptr_grow, + obstack_int_grow, obstack_ptr_grow_fast, and obstack_int_grow_fast. + * manual/nss.texi: Add a few @cindex entries and change NSS_STATUS_* + index entries to @vindex. + * manual/users.texi: Correct @cindex entry for Netgroup. -1997-08-06 14:23 Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de> + * math/mathcalls.h: Use __USE_XOPEN and __USE_XOPEN_EXTENDED to + make declarations visible for X/Open sources. - * db/hash/hash.c (init_hash): Don't use stat() if it doesn't provide - the preferred block size. + * misc/search.h: Declare insque/remque only is __USE_SVID or + __USE_XOPEN_EXTENDED is defined. - * 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. + * misc/sys/uio.h (readv, writev): Change return value from int to + ssize_t. - * login/programs/utmpdump.c (print_entry): Always use ut_tv field. + * posix/Makefile (headers): Add re_comp.h. + * posix/re_comp.h: New file. XPG interface to regex functions. - * login/programs/xtmp.c: Fix numerous xtmp/utmp typos. Use the ut_tv - field for timestamps if supported. + * posix/getconf.c: Add all names from XPG4.2. + * posix/posix1_lim.h: Increase minimum values for _POSIX_CHILD_MAX + and _POSIX_OPEN_MAX to minimums from XPG4.2. + * sysdeps/generic/confname.h: Add all _SC_* names from XPG4.2. + * sysdeps/posix/sysconf.c: Handle new _SC_* values. + * sysdeps/stub/sysconf.c: Likewise. - * login/programs/xtmp.h: Fix xtmp/utmp typo. + * posix/unistd.h: Add declaration of ualarm and lchown. Declare + usleep, fchown, fchdir, nice, getpgid, setsid, getsid, setreuid, + setregid, vfork, ttyslot, symlink, readlink, gethostid, truncate, + ftruncate, getdtablesize, brk, sbrk, lockf when + __USE_XOPEN_EXTENDED is defined. - * sysdeps/posix/defs.c (stdstream): Change (PTR) to (void *). + * posix/sys/wait.h: Declare wait3 if __USE_XOPEN_EXTENDED is defined. - * 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. + * shadow/shadow.h: Define SHADOW using _PATH_SHADOW. + * sysdeps/generic/paths.h: Define _PATH_SHADOW. + * sysdeps/unix/sysv/linux/paths.h: Likewise. -1997-08-05 13:28 Philip Blundell <pb@spring.nexus.co.uk> + * signal/signal.h: Declare killpg, sigstack and sigaltstack when + __USE_XOPEN_EXTENDED is defined. - * sysdeps/standalone/arm/bits/errno.h: Add EISDIR, EOPNOTSUPP; - tidy up formatting. + * stdio/stdio.h: Declare tempnam when __USE_XOPEN is defined. - * Makefile (subdirs): Remove `login'. - * sysdeps/unix/Subdirs: New file; build `login' subdirectory - for Unix systems. + * stdlib/stdlib.h: Make rand48 functions available when __USE_XOPEN + is defined. + Likewise for valloc, putenv, realpath, [efg]cvt*, and getsubopt + functions. -1997-08-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * string/string.h: Make memccpy, strdup, bcmp, bcopy, bzero, index, + and rindex available when __USE_XOPEN_EXTENDED is defined. - * sysdeps/generic/bits/utmpx.h: New file. + * sysdeps/mach/getpagesize.c: De-ANSI-fy. Change return type to int. + * sysdeps/posix/getpagesize.c: Likewise. + * sysdeps/stub/getpagesize.c: Likewise. + * sysdeps/unix/getpagesize.c: Likewise. - * 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. + * time/africa: Update from tzdata1996l. + * time/asia: Likewise. + * time/australia: Likewise. + * time/europe: Likewise. + * time/northamerica: Likewise. + * time/pacificnew: Likewise. + * time/southamerica: Likewise. + * time/tzfile.h: Update from tzcode1996m. + + * time/time.h: Declare strptime if __USE_XOPEN. + Declare daylight and timezone also if __USE_XOPEN. + + * time/sys/time.h: Remove declaration of ualarm. + + * wctype/wctype.h: Just reference ISO C standard. + +Tue Nov 5 01:26:32 1996 Richard Henderson <rth@tamu.edu> + + * crypt/Makefile: Add crypt routines to libc as well iff + $(crypt-in-libc) is set. Do this for temporary binary compatibility + on existing Linux/Alpha installations. + + * stdlib/div.c, sysdeps/generic/div.c: Move file to .../generic/. + * stdlib/ldiv.c, sysdeps/generic/ldiv.c: Likewise. + * stdlib/lldiv.c, sysdeps/generic/lldiv.c: Likewise. + * sysdeps/alpha/Makefile (divrem): Add divlu, dviqu, remlu, and + remqu. + * sysdeps/alpha/div.S: New file. + * sysdeps/alpha/ldiv.S: New file. + * sysdeps/alpha/lldiv.S: New file. + * sysdeps/alpha/divrem.h: Merge signed and unsigned division. + Take pointers from Linus and tighten the inner loops a bit. + * sysdeps/alpha/divl.S: Change defines for merged routines. + * sysdeps/alpha/divq.S: Likewise. + * sysdeps/alpha/reml.S: Likewise. + * sysdeps/alpha/remq.S: Likewise. + * sysdeps/alpha/divlu.S: Remove file. + * sysdeps/alpha/divqu.S: Likewise. + * sysdeps/alpha/remlu.S: Likewise. + * sysdeps/alpha/remqu.S: Likewise. + + * sysdeps/alpha/bsd-_setjmp.S: If PROF, call _mcount. + * sysdeps/alpha/bsd-setjmp.S: Likewise. + * sysdeps/alpha/bzero.S: Likewise. + * sysdeps/alpha/ffs.S: Likewise. + * sysdeps/alpha/htonl.S: Likewise. + * sysdeps/alpha/htons.S: Likewise. + * sysdeps/alpha/memchr.S: Likewise. + * sysdeps/alpha/memset.S: Likewise. + * sysdeps/alpha/s_copysign.S: Likewise. + * sysdeps/alpha/s_fabs.S: Likewise. + * sysdeps/alpha/setjmp.S: Likewise. + * sysdeps/alpha/stpcpy.S: Likewise. + * sysdeps/alpha/stpncpy.S: Likewise. + * sysdeps/alpha/strcat.S: Likewise. + * sysdeps/alpha/strchr.S: Likewise. + * sysdeps/alpha/strcpy.S: Likewise. + * sysdeps/alpha/strlen.S: Likewise. + * sysdeps/alpha/strncat.S: Likewise. + * sysdeps/alpha/strncpy.S: Likewise. + * sysdeps/alpha/strrchr.S: Likewise. + * sysdeps/alpha/udiv_qrnnd.S: Likewise. Fix private labels. + Convert two small jumps to use conditional moves. + * sysdeps/unix/alpha/sysdep.h: Compress all __STDC__ nastiness. + (PSEUDO): If PROF, call _mcount. + * sysdeps/unix/sysv/linux/alpha/brk.S: If PROF, call _mcount. + * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. -1997-08-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/alpha/memcpy.S: New file. Odd layout because it should + eventually contain memmove as well. + * sysdeps/alpha/strcmp.S: New file. + * sysdeps/alpha/strncmp.S: New file. + * sysdeps/alpha/w_sqrt.S: New file. - * libc.map: Add missing symbols. +Tue Nov 5 18:06:06 1996 Ulrich Drepper <drepper@cygnus.com> -1997-08-05 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/mach/hurd/ttyname_r.c: Use `size_t' for len variable. - * manual/socket.texi: Correct typos. +Tue Nov 5 12:09:29 1996 Ulrich Drepper <drepper@cygnus.com> - * manual/math.texi: Correct typos. + * sysdeps/generic/sysdep.h: Define END only if not yet defined. + * sysdeps/unix/sysdep.h: Define PSEUDO_END only if not yet defined. + Reported by Thomas Bushnell, n/BSG. - * manual/time.texi (Formatting Date and Time): Likewise. +Mon Nov 4 22:46:53 1996 Ulrich Drepper <drepper@cygnus.com> + + * manual/users.texi (Netgroup Data): Remove { } around @cindex. + +Mon Nov 4 19:07:05 1996 Ulrich Drepper <drepper@cygnus.com> + + * malloc/calloc.c: Check for overflow before trying to allocate + memory. Proposed by Neil Matthews <nm@adv.sbc.sony.co.jp>. + +Fri Nov 1 18:18:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * manual/llio.texi (Operating Modes): Add missing arguments to + @deftypevr in O_NONBLOCK description. + + * manual/time.texi (Time Zone Functions): Enclose type name in + braces in description of tzname. FIXME: this does not yet work + correctly in info. + +Sun Nov 3 17:29:06 1996 Ulrich Drepper <drepper@cygnus.com> + + * features.h: Add X/Open macros. + * posix/unistd.h: Define X/Open macros. + * sysdeps/generic/confname.h: Add _SC_XOPEN_XCU_VERSION, + _SC_XOPEN_UNIX, _SC_XOPEN_CRYPT, _SC_XOPEN_ENH_I18N, + _SC_XOPEN_SHM, _SC_2_CHAR_TERM, _SC_2_C_VERSION, and _SC_2_UPE. + * sysdeps/posix/sysconf.c: Handle new constants. + * sysdeps/stub/sysconf.c: Likewise. + * sysdeps/unix/sysv/linux/posix_opt.h: Add definition of _XOPEN_SHM. + + * catgets/catgets.c (catopen): Set errno to ENOMEM when + we run out of memory. + (catgets): Set errno to EBADF when catalog handle is invalid. + Set errno to ENOMSG when translation is not available. + (catclose): Set errno to EBADF when catalog handle is invalid. + + * ctype/ctype.h: Declare isascii and toascii when __USE_XOPEN. + Likewise for _toupper and _tolower. + + * manual/arith.texi: Document strtoq, strtoll, strtouq, strtoull, + strtof, and strtold. + * manual/math.texi: Document HUGE_VALf and HUGE_VALl. + * manual/stdio.h: Document ' flag for numeric formats of scanf. + * manual/users.texi: Document that cuserid shouldn't be used. + + * misc/Makefile (routines): Add dirname. + (headers): Add libgen.h. + (tests): Add tst-dirname. + * misc/dirname.c: New file. + * misc/libgen.h: New file. + * misc/tst-dirname.c: New file. + + * misc/search.h: Parameter of hcreate must be of type size_t. + * misc/hsearch.c: Likewise. + * misc/hsearch_r.c: Likewise for hcreate_r. + * misc/search.h: Parameters of insque and remque must be `void *'. + * misc/insremque.c: Likewise. + + * posix/unistd.h: Move declarations of mktemp and mkstemp to... + * stdlib/stdlib.h: ...here. + * posix/unistd.h [__USE_XOPEN]: Add prototypes for crypt, setkey, + encrypt, and swab. + + * stdio-common/printf-parse.h (struct printf_spec): Add pa_wchar + and pa_wstring. + (parse_one_spec): Remove Linux compatibility code. + Recognize %C and %S formats. + * stdio-common/printf.h: Add PA_WCHAR and PA_WSTRING. + * stdio-common/vfprintf.c: Add implementation of %C and %S format. + * stdio-common/vfscanf.c: Likewise for scanf. + + * stdlib/l64a.c: Return value for 0 must be the empty string. + * stdlib/stdlib.h: Declare reentrant function from rand48 family + only if __USE_REENTRANT. + Declare rand48 functions also if __USE_XOPEN. + + * stdlib/strtol.c: Return 0 and set errno to EINVAL when BASE is + not a legal value. + Return 0 and set errno to EINVAL when strou* sees negativ number. + * stdlib/tst-strtol.c: De-ANSI-fy. + Change expected results for test of unsigned function and negative + input. + + * string/stratcliff.c: Prevent warnings. + * string.h: Move declaration of swab to <unistd.h>. + * string/swab.c: De-ANSI-fy. + + * sysdeps/posix/cuserid.c: Implement using getpwuid_r. + * sysdeps/posix/mkstemp.c: Include <stdlib.h> for prototype. + * sysdeps/posix/mktemp.c: Likewise. + * sysdeps/stub/mkstemp.c: Likewise. + * sysdeps/stub/mktemp.c: Likewise. + + * sysvipc/sys/ipc.h: Prototypes of ftok have to be of types `const + char *' and `int'. + * sysvipc/ftok.c: Likewise. Make sure only lower 8 bits of + PROJ_ID are used. + +Sun Nov 3 03:21:28 1996 Heiko Schroeder <Heiko.Schroeder@post.rwth-aachen.de> + + * locale/programs/ld-numeric.c (numeric_output): Compute idx[0] + correctly. -1997-08-04 13:06 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> +Sat Nov 2 17:44:32 1996 Ulrich Drepper <drepper@cygnus.com> - * 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. + * sysdeps/posix/cuserid.c: Use reentrant functions. + * manual/users.texi: Tell that cuserid is marked to be withdrawn in + XPG4.2. - * sysdeps/mach/hurd/profil.c (fetch_samples): Initialize NSAMPLES. +Sat Nov 2 14:26:37 1996 Ulrich Drepper <drepper@cygnus.com> -1997-08-01 17:53 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + Linus said he will make sure no system call will return a value + in -1 ... -4095 as a valid result. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Correct test for error. + * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise. - * 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> +Sat Nov 2 16:54:49 1996 NIIBE Yutaka <gniibe@mri.co.jp> - * 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. + * sysdeps/stub/lockfile.c [!USE_IN_LIBIO]: Define weak alias for + __funlockfile, not a circular alias. + Define __IO_ftrylockfile if USE_IN_LIBIO and __ftrylockfile if not, + not vice versa. - * 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. - - * 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/strtod.c: Fix typo. - - * 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. - - * sysdeps/powerpc/bits/fenv.h: Fix typos. - - * sysdeps/unix/sysv/linux/if_index.c: Let functions return ENOSYS - if SIOGIFINDEX is not defined. - - * sysdeps/wordsize-32/inttypes.h: Pretty print. - * sysdeps/wordsize-64/inttypes.h: Pretty print. + * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location): Make + it a weak symbol. + * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location): Likewise. - * termios/cfsetspeed.c: Rewrite loop to do what it shall do. - - * wcsmbs/Makefile (tests): Add tst-wcstof. - * wcsmbs/tst-wcstof.c: New file. +Tue Nov 5 00:04:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> -1997-08-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * stdio-common/vfprintf.c: Include <libc-lock.h>. - * sysdeps/m68k/__longjmp.c: Replace call to abort by infinite - loop, to avoid dragging stdio into the dynamic linker. +Mon Nov 4 16:57:42 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> -1997-08-02 19:44 H.J. Lu <hjl@gnu.ai.mit.edu> + * sysdeps/mach/hurd/ttyname_r.c (ttyname_r): Change prototype to + match POSIX.1c. - * nis/nis_findserv.c (xid, xid_seed, xid_lookup): Make them - u_int32_t. + * sysdeps/stub/lockfile.c [! USE_IN_LIBIO]: Second definition of + __internal_funlockfile (in terms of itself) should actually be a + definition of __funlockfile. -1997-08-03 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * 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. + * pwd/pwd.h: Get `size_t' from <stddef.h>. + * grp/grp.h: Likewise. + * shadow/shadow.h: Likewise. - * libc.map: Add wordexp, wordfree. + * stdlib/atexit.c (__new_exitfn): Add missing semicolons after + calls to __libc_lock_lock and __libc_lock_unlock. + * stdlib/random.c (__srandom, __initstate, __setstate, __random): + Likewise. - * posix/Makefile (routines): Add wordexp. + * hurd/hurdsig.c (write_corefile): Fix typo. -1997-08-03 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/mach/hurd/sigwait.c: New file. - * posix/wordexp.c: Correct typo in comment. - (wordexp): Likewise. +Sat Nov 2 01:48:47 1996 Ulrich Drepper <drepper@cygnus.com> - * manual/errno.texi (Error Codes): Fix typo. + * sysdeps/unix/sysv/linux/errnos.h: Move declaration of errno + and __errno_location to correct position. -1997-08-03 15:28 Ulrich Drepper <drepper@cygnus.com> +Thu Oct 31 22:51:25 1996 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>. + * Makefile (distribute): Add rellns-sh. + * rellns-sh: New file. + * Makerules (make-link): Use rellns-sh. + * time/Makefile ($(installed-localtime-file)): Likewise. -1997-08-02 21:27 Ulrich Drepper <drepper@cygnus.com> +Thu Oct 31 11:33:01 1996 Ulrich Drepper <drepper@cygnus.com> - * 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. + * elf/Makefile ($objpfx)ldd) Substitute $(version) for @VERSION@. + (distribute): Add ldd.bash.in. + * elf/ldd.sh.in: Process --help and --version parameter. + Correct comments. + * elf/ldd.bash.in: New file. - * nis/Makefile (headers): Add bits/nislib.h. - * nis/rpcsvc/nislib.h: Moved to .... - * nis/bits/nislib.h: ... here. + * stdlib/stdlib.h: Add prototype for clearenv. + * sysdeps/generic/setenv.c: Add implementation of clearenv. + (setenv): Handle __environ == NULL correctly. + * sysdeps/stub/setenv.c: Add stub definition for unsetenv and + clearenv. - * 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. - - * nis/rpcsvc/nis.x: Include bits/nislib.h, not rpcsvc/nislib.h. - * nis/rpcsvc/nis.h: Likewise. - - * inet/getnameinfo.c (nrl_domainname): Change return type to const - char *. - (getnameinfo): Change type of local variable c to const char *. - - * inet/inet_ntoa.c: Rewrite to use __libc_once for initialization. - * stdlib/fmtmsg.c: Likewise. - - * 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. + * sysdeps/generic/putenv.c: Correct layout to fit in libit. + * sysdeps/generic/setenv.c: Likewise. + * stdlib/strtol.h: Likewise. - * login/getutid_r.c: Remove parameter to setutent call. - * login/getutline_r.c: Likewise. + * time/sys/time.h: Define __need_timeval and include <timebits.h>. + Remove definition of struct timeval. + * sysdeps/stub/timebits.h [__need_timeval]: Define struct timeval + using `time_t' for members. + * sysdeps/unix/sysv/linux/timebits.h [__need_timeval]: Likewise. + * sysdeps/unix/sysv/linux/alpha/timebits.h: New file. Same + as old Linux specific version. - * posix/wordexp.c: Complete rewrite. Not fully implemented yet, - though. Patch by Tim Waugh <tim@cyberelk.demon.co.uk>. +Thu Oct 31 00:01:39 1996 Ulrich Drepper <drepper@cygnus.com> - * stdio-common/printf_fp.c: Remove relative include paths. - * stdio-common/printf_fphex.c: Likewise. + * signal/Makefile (routines): Add sigwait. + * signal/signal.h: Add prototype for sigwait. + * sysdeps/posix/sigwait.c: New file. Implementation of sigwait + function from POSIX.1c. + * sysdeps/stub/sigwait.c: New file. Stub version of sigwait. - * sysdeps/generic/crypt.h: Cleanup. Don't define non standard - elements unless __USE_GNU. +Wed Oct 30 02:01:17 1996 Richard Henderson <rth@tamu.edu> - * sysdeps/generic/vlimit.c: Pretty print. - * sysdeps/generic/vtimes.c: Likewise. + * sunrpc/xdr_float.c (xdr_float): Handle sizeof(float)!=sizeof(long), + but don't bother going farther than sizeof(float)==sizeof(int). + (xdr_double): Handle little-endian machines! Handle sizeof(double) + != 2*sizeof(long), though again don't bother with more than int. - * 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. +Thu Oct 29 16:09:42 1996 Craig Metz <cmetz@inner.net> - * sysdeps/i386/fpu/bits/mathinline.h: More patches by John Bowman. + * sysdeps/posix/getaddrinfo.c: Use buffer limits for inet_ntop + function. - * sysdeps/stub/if_index.h: Set errno in all functions and add - stub warnings. +Tue Oct 29 12:37:22 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/stub/libc-lock.h: Add __libc_once. + * Makerules: Create symbolic links for linking in $(libdir). + (make-link): Use absolute path for destination if this is not in + the same directory. -1997-08-02 01:57 Ulrich Drepper <drepper@cygnus.com> + * elf/rtld.c (dl_main): When verifying don't check the name of + the dynamic linker. - * 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>. + * shlib-versions: Change entries for Hurd specific libs from + *-*-gnu* to *-*-gnu?* so that i586-pc-linux-gnu does not match + these entries. -1997-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * assert/assert.h: Reformat copyright. + Change reference to ANSI into reference to ISO C. + * ctype/ctype.h: Likewise. + * errno.h: Likewise. + * limits.h: Likewise. + * math/math.h: Likewise. + * setjmp/setjmp.h: Likewise. + * stdio/stdio.h: Likewise. + * libio/stdio.h: Likewise. + * stdlib/stdlib.h: Likewise. + * string/string.h: Likewise. + * time/time.h: Likewise. - * sysdeps/unix/sysv/linux/sys/fsuid.h: Change include - <gnu/types.h> to <sys/types.h>. + * string/argz.h: Use __const in definitions. -1997-08-01 23:18 Ulrich Drepper <drepper@cygnus.com> + * elf/dlfcn.h: Use __const and __P. Reformat copyright. + * misc/err.h: Likewise. - * csu/defs.awk: Fix regexp for end and align. - Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>. + * wctype/wctype.h (wctrans_t): Use __const instead of const. - * 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>. + * Makeconfig ($(common-objpfx)soversions.mk): Generate list of + sonames for versioned libraries. + * Makefile: Remove code to generate libc-version.h. + Generate gnu/lib-names.h with info from soversions.mk. + * features.h: Define __GLIBC__ and __GLIBC_MINOR__. -1997-08-01 18:45 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * dirent/tst-seekdir.c: Initialize save3. + * grp/testgrp.c: Initialize my_group. - * nis/nss_nisplus/nisplus-alias.c: Fix NULL pointer problems - * nis/nss_nisplus/nisplus-grp.c: Likewise. + * grp/fgetgrent_r.c: Change interface to follow POSIX.1c. + * grp/grp.h: Likewise. + * nss/getXXbyYY.c: Likewise. + * nss/getXXbyYY_r.c: Likewise. + * nss/getXXent.c: Likewise. + * nss/getXXent_r.c: Likewise. + * pwd/fgetpwent_r.c: Likewise. + * pwd/pwd.h: Likewise. + * shadow/fgetspent_r.c: Likewise. + * shadow/sgetspent.c: Likewise. + * shadow/sgetspent_r.c: Likewise. + * grp/fgetgrent.c: Adapt for change in interface of fgetgrent_r. + * pwd/fgetpwent.c: Likewise, for fgetpwent_r.c. + * shadow/fgetspent.c: Likewise, for fgetpwent_r.c. + * resolv/netdb.h: Adapt prototypes for reentrant functions to + follow POSIX.1c. + * sunrpc/rpc/netdb.h: Likewise, + * shadow/shadow.h: Likewise. -1997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * inet/getnetgrent_r.c: Follow change in pwd/grp function interface. - * elf/dl-profile.c (_dl_start_profile): Use _dl_sysdep_error - instead of fprintf. + * sysdeps/unix/getlogin_r.c: Return ERANGE when buffer is too small. -1997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * inet/herrno.c: Don't define __h_errno, only h_errno otherwise the + ELF aliasing creates strange situations. + * sysdeps/unix/sysv/linux/errnos.H: Define __set_errno as inline + function. + * sysdeps/unix/sysv/linux/i386/sysdep.S: Don't define __errno. + * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. - * manual/socket.texi (Host Address Functions): Fix arguments of - @deftypefun. + * libio/libio.h: Don't declare _IO_flockfile and _IO_funlockfile + weak. -1997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * locale/programs/charmap.c: Add casts to prevent warnings. + * locale/programs/linereader.h: Likewise. + * locale/programs/ld-collate.c: Likewise. + * locale/programs/stringtrans.c: Likewise. + Change types for various variables to prevent warnings. + * locale/programs/ld-ctype.c: Likewise. + * locale/programs/linereader.h (lr_ungetc): Likewise. + * locale/programs/charset.h (struct charset): Use `unsigned int' + as type for width_default. + * posix/regex.c: Change type of `this_reg' variables. + * stdio-common/Makefile: Use -Wno-format for tstdiomisc.c. + * stdio-common/bug5.c: De-ANSI-fy. Use correct types for + variables. + * stdio-common/printf_fp.c: Initialize to_shift. + * stdio-common/test_rdwr.c: Add cast. + * stdio-common/vfprintf.c: Add casts and use correct types to + prevent warnings. + * stdio-common/vfscanf.c: Initialize str and strptr. + * sysdeps/libm-ieee754/e_jnf.c: Use correct types to prevent warnings. + * sysdeps/libm-ieee754/e_pow.c: Likewise. + * sysdeps/libm-ieee754/e_powf.c: Likewise. + * sysdeps/libm-ieee754/e_rem_pio2f.c: Likewise. + * time/test-tz.c: Likewise. + + * manual/creature.texi: Document _REENTRANT and _THREAD_SAFE. + * manual/libc.texinfo: Prevent makeinfo failure by avoiding + libc.cp index. This must be fixed. + * manual/nss.texi: Adapt for correct POSIX.1c interface of + reentrant functions. + * manual/users.texi: Document netgroup functions. + + * po/es.po: Updated. + * po/fr.po: Updated. + + * posix/fnmatch.c: Change to match libit version. + + * posix/unistd.h: Change prototype for ttyname_r to match POSIX.1c. + * sysdep/posix/ttyname_r.c: Likewise. + + * stdlib/atexit.h (__new_exitfn): Add internal locking. + * stdlib/exit.c: De-ANSI-fy. Handle new ef_us value for flavor. + * stdlib/exit.h: De-ANSI-fy. Define new ef_us value for flavor. + * stdlib/random.c (__srandom): Add internal locking. + (__initstate): Likewise. + (__setstate): Likewise. + (__random): Likewise. + +Mon Oct 28 22:28:37 1996 NIIBE Yutaka <gniibe@mri.co.jp> + + * sysdeps/generic/crypt-entry.c (crypt_r): Use __set_errno. + (crypt): Likewise. + * resolv/gethnamaddr.c (gethostbyname2): Likewise. + * sysdeps/generic/uname.c: Likewise. + * sysdeps/posix/rename.c: Likewise. + * sysdeps/stub/setrlimit.c: Likewise. - * elf/dl-runtime.c: Avoid warning about profile_fixup being - unused. + * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Fix typo. - * sysdeps/m68k/dl-machine.h: Add support for shared library - profiling. +Sun Oct 27 11:12:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * locale/programs/ld-collate.c (collate_order_elem): Fix format + string. + (collate_element_to): Cast field width argument to `int' for + format string. + (collate_symbol): Likewise. + (collate_order_elem): Likewise. + (collate_weight_bsymbol): Likewise. + (collate_simple_weight): Likewise. - * md5-crypt/Makefile (extra-objs): Add onlymd5-crypt.o for - dependencies. + * locale/programs/ld-time.c (STRARR_ELEM): Fix format string. -1997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * locale/programs/ld-ctype.c (ctype_class_newP): Add missing + argument for format string. + (ctype_map_newP): Likewise. + (set_class_defaults): Fix format string. - * Make-dist (subdirs): Distribute both aout and elf. + * locale/programs/localedef.c (construct_output_path): Putting an + explicit \0 into the format string does not work, use %c. -1997-07-31 23:04 Mark Kettenis <kettenis@phys.uva.nl> +Sat Oct 26 20:38:36 1996 Richard Henderson <rth@tamu.edu> - * 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. + * Makerules: Install all shared libraries in $(slibdir). - * login/utmp_daemon.c (pututline_daemon): Try to open connection - before reporting failure. + * login/Makefile: Build libutil.so in others pass after + libc.so is created. - * 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. + * misc/mntent.h: Include <paths.h> for _PATH_MNTTAB & _PATH_MOUNTED. - * login/programs/utmpd.c (main): Remove files created by a - previous `bind' before creating sockets. - Suggested by a sun <asum@zoology.washington.edu>. + * string/stratcliff.c: Allocate 3 pages instead of one, then use + mprotect so that we know that the adjacent pages are inaccessible. -1997-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * resource/sys/resource.h: Move all structures and enums to ... + * sysdeps/generic/resourcebits.h: ... here ... + * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: ... and here. + * sysdeps/unix/sysv/linux/alpha/resourcebits.h: Remove. + * sysdeps/unix/sysv/linux/i386/resourcebits.h: Remove. + * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Remove. + * sysdeps/unix/sysv/linux/mips/resourcebits.h: Remove. + * sysdeps/unix/sysv/linux/resourcebits.h: New file. Use kernel + header for RLIMIT_* definitions. The members of struct rlimit + are longs. - * math/libm-test.c: Remove unneeded function check_int_exec. - * BUGS: Correct typos. +Thu Oct 24 17:43:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * gmon/gmon.c: Add alias for monstartup, declare _strerror_internal. + * MakeTAGS (sysdep-dirs): Fix typo. -1997-07-30 Andreas Jaeger <aj@arthur.rhein-neckar.de> +Thu Oct 24 17:32:57 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - * manual/socket.texi (Host Address Functions): Reformat inet_ntop - entry to confirm with expected behaviour of some scripts. + * hurd/hurdsig.c (write_corefile): If we can't create the core + file, still call crash_dump_task with a null FILE arg. Maybe it + won't actually need the file. - * libc.map: Add functions/variables in global namespace, - remove wildcards. +Wed Oct 23 03:45:22 1996 Ulrich Drepper <drepper@cygnus.com> -1997-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * Makefile (headers): Don't mention libc-version.h. + (install-others): ...but here. - * resolv/libresolv.map: Add variables and routines used by named, - nslookup and other bind utils. - * libc.map: Likewise. +Tue Oct 22 21:38:21 1996 Ulrich Drepper <drepper@cygnus.com> -1997-07-31 00:35 Philip Blundell <Philip.Blundell@pobox.com> + * version.h: Bump version number to 1.97. - * 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. + * features.h: Undo change of Sun Oct 20 22:19:58 1996. + Include libc-version.h. + * features.h.in: Removed. + * Makefile: Change rules to generate libc-version.h instead of + features.h. -1997-08-01 04:25 Ulrich Drepper <drepper@cygnus.com> + * malloc/free.c: Add cast to prevent warning. + * malloc/malloc-walk.c: Likewise. + * malloc/ralloc.c: Likewise. + * malloc/realloc.c: Likewise. - * nis/nss_nisplus/nisplus-parser.c: Fix another bug in the parser. - Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>. + * grp/fgetgrent_r.c: Accept empty numeric field if name start with + + or -. + * pwd/fgetpwent_r.c: Likewise. + * nss/nss_files/files-grp.c: Don't accept entries with names starting + with + or - in lookup functions. + * nss/nss_files/files-pwd.c: Likewise. - * manual/errno.texi: Fix typo. - Reported by Erik Talvola <etalvo@sapient.com>. + * Makerules: Call autolock.sh using $(SHELL). -1997-07-28 23:35 Ulrich Drepper <drepper@cygnus.com> +Mon Oct 21 22:52:16 1996 NIIBE Yutaka <gniibe@mri.co.jp> - * 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. + * elf/dl-minimal.c: Don't define `dgettext' replacement but + `dcgettext'. When optimizing the macros in <libintl.h> define + `dgettext' as a macro and so this function will never be called. - * 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. +Mon Oct 21 15:41:59 1996 Ulrich Drepper <drepper@cygnus.com> - * elf/dl-load.c: Fix handling of current directory in search path. + * sysdeps/i386/sysdep.h: Define END to use .size when available. + (PSEUDO_END): Use END. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PSEUDO_END to + define SYSCALL_ERROR_HANDLER before using END. + (SYSCALL_ERROR_HANDLER): Don't use .size directive. + * sysdeps/unix/sysv/linux/clone.S: Don't use SYSCALL_ERROR_HANDLER + and .size directive but PSEUDO_END. + * sysdeps/unix/sysv/linux/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/socket.S: Likewise. + * sysdeps/unix/sysv/linux/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/sysdep.S (__errno_location): Use END. + * sysdeps/unix/i386/sysdep.S (__syscall_error): Likewise. + * sysdeps/i386/__longjmp.S: Use END instead of PSEUDO_END. + * sysdeps/i386/bsd-_setjmp.S: Likewise. + * sysdeps/i386/bsd-setjmp.S: Likewise. + * sysdeps/i386/memchr.S: Likewise. + * sysdeps/i386/memcmp.S: Likewise. + * sysdeps/i386/setjmp.S: Likewise. + * sysdeps/i386/stpcpy.S: Likewise. + * sysdeps/i386/stpncpy.S: Likewise. + * sysdeps/i386/strchr.S: Likewise. + * sysdeps/i386/strcspn.S: Likewise. + * sysdeps/i386/strpbrk.S: Likewise. + * sysdeps/i386/strrchr.S: Likewise. + * sysdeps/i386/strspn.S: Likewise. + * sysdeps/i386/strtok.S: Likewise. + * sysdeps/i386/i486/strcat.S: Likewise. + * sysdeps/i386/i486/strlen.S: Likewise. + * sysdeps/i386/i586/memset.S: Likewise. + * sysdeps/i386/i586/strchr.S: Likewise. + * sysdeps/i386/i586/strlen.S: Likewise. - * 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. + * sysdeps/i386/strlen.c: De-ANSI-fy. - * 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. + * sysdeps/generic/_strerror.c: Undo change of Mon Oct 21 01:32:36 1996. + Define dgettext if not defined to use dcgettext. + * sysdeps/mach/_strerror.c: Likewise. - * string/string.h: Pretty print. + * sysdeps/unix/sysv/i386/time.S: Add PSEUDO_END to get + __syscall_error defined.. - * sysdeps/i386/fpu/bits/mathinline.h: Major update by John Bowman. - Add float and long double versions. +Sat Oct 19 12:27:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-07-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/m68k/mmap.S: Fix braino: CALL_MCOUNT is + already included in the ENTRY macro. Remove SYSCALL_ERROR_HANDLER + now provided by PSEUDO_END. + * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. Use JUMPTARGET. - * elf/rtld.c (print_unresolved): Replace empty object name by main - program name. + * sysdeps/generic/sysdep.h (END): Provide default empty + definition. + * sysdeps/unix/sysv/linux/m68k/sysdep.h (END): Redefine to use + size directive. + (PSEUDO): Don't include SYSCALL_ERROR_HANDLER. + (PSEUDO_END): Include it here instead. + (SYSCALL_ERROR_HANDLER): Remove type directive. + * sysdeps/m68k/bsd-_setjmp.S: Use END, not PSEUDO_END. + * sysdeps/m68k/bsd-setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. + (__syscall_error): Can't use ENTRY macro. + +Sat Oct 19 12:13:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/unix/sysv/linux/syscalls.list (getresuid, setresuid): + Set caller to EXTRA. + +Mon Oct 21 01:32:36 1996 Ulrich Drepper <drepper@cygnus.com> + + * elf/rtld.c (dl_main): Move initialization of `_dl_starting_up' + to beginning of function. So libc functions can use this flag. + * sysdeps/generic/_strerror.c: Don't use dgettext for message + translation while `_dl_starting_up' is nonzero. + + * elf/dl-deps.c (_dl_map_object_deps): Add new parameter + TRACE_MODE. + Pass parameter value to _dl_map_object. + * elf/dl-load (_dl_map_object): Add new parameter TRACE_MODE. + If TRACE_MODE is nonzero don#t signal error when shared lib + is not found. Instead create fake entry for link map. + * dl-open.c (dl-open): Pass 0 for new argument to _dl_map_object. + * dl-runtime.c (_dl_object_relocation_scope): Pass 0 for new + argument to _dl_map_object_deps. + * elf/link.h: Add new parameter TRACE_MODE for prototypes of + _dl_map_object and _dl_map_object_deps. + * elf/rtld.c (dl_main): Pass 0 for new argument to _dl_map_object + and _dl_map_object_deps. + When mode == trace test for l_opencount == 0 before printing + link information since this means the lib is not found. + +Sun Oct 20 22:19:58 1996 Ulrich Drepper <drepper@cygnus.com> + + * rpm/template: Add INSTALL to %doc line to follow copyright + restrictions which demand the distribution of the copyright + messages in INSTALL even for binary distributions. + + * features.h: Rename to... + * features.h.in: ...this. Change value of __GNU_LIBRARY__ to 2 + (for major version numberof package) and add __GNU_LIBRARY_MINOR__ + and __GNU_LIBRARY_INTERFACE__. + * Makefile ($(objpfx)features.h): New rule to generate features.h + from template features.h.in. + + * sysdeps/unix/sysv/linux/getsysstats.c: Include <paths.h>. + +Sun Oct 20 00:00:13 1996 Richard Henderson <rth@tamu.edu> + + * locale/programs/linereader.c (lr_open): Cast away const before free. + (lr_close): Likewise. + + * misc/mntent.h: Move _PATH_MNTTAB & _PATH_MOUNTED to paths.h. + * misc/paths.h: Move to ... + * sysdeps/generic/paths.h: ... here. + * paths.h: Remove. + * sysdeps/unix/sysv/linux/paths.h: New file. Correct _PATH_STDPATH, + _PATH_MAILDIR, _PATH_MOUNTED, _PATH_UNIX to comply with the fsstd. + + * nss/nss_db/db-netgrp.h: Include <string.h>. + + * stdio-common/psignal.c: De-ansidecl-ify. Allow NULL entries in + _sys_siglist, which result in the "Unknown signal" message. + * string/strsignal.c: Likewise. + * sysdeps/generic/Makefile [stdio-common]: If $(inhibit-siglist), + don't auto-generate siglist.c. + * sysdeps/unix/sysv/linux/Makefile [stdio-common]: Set inhibit-siglist. + * sysdeps/unix/sysv/linux/siglist.c: New file. Not needing to + autogenerate makes bootstrapping and cross-compiling much easier. + * sysdeps/unix/sysv/linux/siglist.h: New file. -1997-07-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * stdlib/longlong.h: Prototype __udiv_qrnnd. - * sysdeps/generic/htons.c (htons): Renamed from __htons. + * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_headers): Remove + sys/io.h. It is already added in .../linux/Makefile. -1997-07-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/alpha/sigaction.h: New file. + * sysdeps/unix/sysv/linux/alpha/signum.h: New file. + * sysdeps/unix/sysv/linux/alpha/statbuf.h: New file. - * sysdeps/m68k/bits/byteswap.h: New file. +Sun Oct 20 17:17:12 1996 Ulrich Drepper <drepper@cygnus.com> -1997-07-27 23:50 Philip Blundell <Philip.Blundell@pobox.com> + Add implementation of POSIX.1g function getaddrinfo. + * posix/Makefile (routines): Add getaddrinfo. + * sysdeps/posix/getaddrinfo.c.: New file. Add implementation by + Craig Metz. + * sysdeps/stub/getaddrinfo.c: New file. Stub implementation. + * resolv/netdb.h [__USE_POSIX]: Add getaddrinfo prototypes and + related constants and structures. - * 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. +Sun Oct 20 13:02:34 1996 Ulrich Drepper <drepper@cygnus.com> - * manual/socket.texi: Document some more IPv6 things. - * manual/libc.texinfo: Likewise. + * sysdeps/stub/lockfile.c: Rename functions to __internal_*. + Make all old names weak alises so that they can be replaced + by libpthread. -1997-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * stdio-common/vfprintf.c: Only declare __flockfile and __funlockfile + for !USE_IN_LIBIO. + [USE_IN_LIBIO]: Call _IO_flockfile and _IO_funlockfile instead of + __flockfile and __funlockfile. + Reported by NIIBE Yutaka. - * libc.map: Define missing symbol. + * crypt/md5.c: Change form of copyright message according to GNITS + rules. + Add warning for requirement on RESBUF parameter for `md5_finish_ctx' + and `md5_read_ctx' function. + * crypt/md5.h: Likewise. -1997-07-27 14:31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * grp/testgrp.c: Don't use perror for error cases since getgr* and + getpw* functions do not return usable error codes. - * 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. +Sun Oct 19 23:05:32 1996 Jim Meyering <meyering@asic.sc.ti.com> -1997-07-26 04:14 Ulrich Drepper <drepper@cygnus.com> + * crypt/md5.c (md5_process_bytes): Used casting for pointer + arithmetic. - * 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. +Sun Oct 20 03:53:23 1996 Ulrich Drepper <drepper@cygnus.com> - * elf/dl-error.c (_dl_signal_error): Make message nicer. + * sunrpc/Makefile (others): Remove portmap here, too. - * nss/libnss_files.map: Fix typo. - Reported by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>. +Sat Oct 19 17:42:24 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/generic/strsep.c: Optimize case where separator set contains - only one character. + * intl/locale.alias: Language for entry `czech' is `cs'. - * 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. +Fri Oct 17 13:20:35 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de> -1997-07-25 09:15 H.J. Lu <hjl@gnu.ai.mit.edu> + * sunrpc/etc.rpc: Update from ti-rpcsvc 2.3. - * 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. +Fri Oct 18 22:56:45 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/mips/bsd-_setjmp.S: Remove __PIC__ comment. - * sysdeps/mips/bsd-setjmp.S: Likewise. + * sunrpc/Makefile (install-sbin): Remove portmap. This version is + buggy and more competent people work on a usable version which is + distributed separately. + * sunrpc/portmap.c: Removed. + Suggested by Thorsten Kukuk. - * sysdeps/mips/dl-machine.h: Remove extra stuff. - * sysdeps/mips/mips64/dl-machine.h: Likewise. +Fri Oct 18 12:17:09 1996 Enrique Melero <justine@iprolink.ch> -1997-07-25 18:55 Philip Blundell <Philip.Blundell@pobox.com> + * sysdeps/libm-ieee754/s_finitel.c: Change function name to + `finitel'. - * sysdeps/standalone/arm/sysdep.c: New file. +Fri Oct 18 00:01:10 1996 Ulrich Drepper <drepper@cygnus.com> -1997-07-25 13:25 Philip Blundell <Philip.Blundell@pobox.com> + * string/Makefile (tests): Add stratcliff. + * string/stratcliff.c: New file. Test for string function at + the edge of the usable memory. - * aout/Makefile: New file. - * Makeconfig (binfmt-subdir): Assume a.out when not ELF. +Thu Oct 17 22:10:19 1996 Ulrich Drepper <drepper@cygnus.com> - * 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. + * Makerules ($(libdir)/libc.so): Fix typo. -1997-07-25 16:24 H.J. Lu <hjl@gnu.ai.mit.edu> + * elf/ldd.sh.in: Test whether given file really exist and give + better message if it is not available. - * elf/dl-deps.c (_dl_map_object_deps): Fix a typo. +Thu Oct 17 04:25:38 1996 Ulrich Drepper <drepper@cygnus.com> -1997-07-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/sys/shm_buf.h: Add definition for + SHM_R and SHM_W. - * math/libm-test.c (ccos_test, ccosh_test): Fix sign in some - tests. +Thu Oct 17 01:55:34 1996 Ulrich Drepper <drepper@cygnus.com> -1997-07-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Write + output to $@T and move to $@ later since the new rpcgen will not + overwrite existing files. - * sunrpc/clnt_udp.c (clntudp_call): Rename cu_wait from timeout to - not shadow the variable in the outer scope. + * po/Makefile (libc.pot): Fix typo. -1997-07-24 03:14 Ulrich Drepper <drepper@cygnus.com> +Sun Oct 13 20:52:07 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de> - * elf/dl-deps.c: Complete rewrite to handle DT_AUXILIARY correctly. + Update rpcgen program to TI-rpc code. + * sunrpc/Makefile (rpcgen-objs): Add rpc_tblout.o and rpc_sample.o. + (distribute): Add proto.h. + * sunrpc/proto.h: New file. Prototypes for all the RPC functions. + * sunrpc/rpc_clntout.c: Change to allow generation of ISO C code. + * sunrpc/rpc_cout.c: Likewise. + * sunrpc/rpc_hout.c: Likewise. + * sunrpc/rpc_main.c: Likewise. + * sunrpc/rpc_parse.c: Likewise. + * sunrpc/rpc_parse.h: Likewise. + * sunrpc/rpc_scan.c: Likewise. + * sunrpc/rpc_scan.h: Likewise. + * sunrpc/rpc_svcout.c: Likewise. + * sunrpc/rpc_util.c: Likewise. + * sunrpc/rpc_util.h: Likewise. - * inet/Makefile (tests): Add htontest. - * inet/htontest.c: New file. + * sunrpc/rpc_tblout.c: New file. + * sunrpc/rpc_sample.c: Likewise. - * 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. - - * 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. - - * misc/search.h: General cleanup. Don't define reentrant hsearch - functions uless __USE_GNU. - - * nss/nsswitch.c: Pretty print. - - * sunrpc/clnt_udp.c (clntudp_call): Initialize outlen to prevent - warning. +Thu Oct 17 00:26:20 1996 NIIBE Yutaka <gniibe@mri.co.jp> - * sysdeps/unix/i386/sysdep.h (DO_CALL): Use lcall, binutils have - been fixed meanwhile. - Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>. + * sysdeps/unix/opendir.c: Add semicolon for consistency. -1997-07-24 00:53 Philip Blundell <Philip.Blundell@pobox.com> +Wed Oct 16 12:26:53 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be> - * db/hash/hash.c (init_hash): Only use statbuf.st_blksize if it - exists for this port. + * locale/programs/localedef.c (main): Test with -1 to find out + whether read failed. -1997-07-24 00:12 Philip Blundell <Philip.Blundell@pobox.com> +Wed Oct 16 14:54:59 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/standalone/arm/bits/errno.h (ESTALE): Add. + * sysdeps/unix/sysv/linux/i386/clone.S: Use JUMPTARGET and + PSEUDO_END macro. -1997-07-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Tue Oct 15 21:27:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * manual/argp.texi (Argp Option Vectors): Use @minus, not @math, - to format a proper minus sign. + * sysdeps/unix/sysv/linux/m68k/sigcontext.h: Removed. -1997-07-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Tue Oct 15 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/m68k/fpu/fraiseexcpt.c: Don't handle FE_INEXACT - specially, the standard doesn't require it. + * sysdeps/unix/sysv/linux/m68k/clone.S: Add CALL_MCOUNT. + * 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/m68k/sysdep.S (__errno_location): + Likewise. + * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise. + Correct generation of system call. - * 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. +Tue Oct 15 15:13:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-07-23 05:10 Ulrich Drepper <drepper@cygnus.com> + * Makerules (sysd-Makefile): Fix command so that it works in the + subdirectories. + (BUILD_CFLAGS): Change back using $(..) instead of + $(common-objpfx), the latter fails in the toplevel directory when + $(objdir) is relative. + (common-objdir-compile): Run compiler in $(objdir). + * sysdeps/posix/Makefile (mk-stdiolim): Likewise. - * 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. +Tue Oct 15 23:39:48 1996 Ulrich Drepper <drepper@cygnus.com> -1997-07-16 10:09 Fila Kolodny <fila@ibi.com> + * string/string.h [__USE_SVID]: Add prototype for swab. + * time/sys/time.h [__USE_BSD]: Add prototype for ualarm. + Reported by Andreas Jaeger. - * 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. + The available nlist implementation is not generally usable. + Especially on the currently supported ELF systems the nlist + function comes with the libelf. + * misc/Makefile (headers): Remove nlist.h. + (routines): Remove nlist. -1997-07-22 09:54 H.J. Lu <hjl@gnu.ai.mit.edu> + * Makefile ($(objpfx)version-info.h): Include information about + system the libc is built on in version-info.h file. - * inet/netinet/in.h (htons): Fix typos. + * po/Makefile (distribute): Add header.pot. - * sysdeps/i386/bits/htontoh.h (__ntohs): Return the value. +Tue Oct 15 16:34:15 1996 Andreas Jaeger <aj@arthur.pfalz.de> -1997-07-22 11:47 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/sleep.c: Include file with prototype. + * sysdeps/unix/sysv/linux/reboot.c: Likewise. + * misc/error.c: Likewise. - * nss/nsswitch.c (nss_lookup_function): Include function.def, not - functions.def. - Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>. +Tue Oct 15 22:41:27 1996 Ulrich Drepper <drepper@cygnus.com> -1997-07-22 01:35 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/syscalls.list: Add {get,set}resuid. - * Makerules (+make-deps): Use $(CFLAGS) in run of $(+mkdep) so - that optimizing is also selected for dependency generation. +Tue Oct 15 08:06:02 1996 Andreas Jaeger <aj@arthur.pfalz.de> - * configure.in: Add machine description for TI c[34]x. + * crypt/Makefile (rpath-link): Extend search path to current directory. - * 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. +Fri Oct 11 09:18:06 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be> - * sysdeps/i386/fpu/bits/mathinline.h: Correct and optimized compare - macros. + * sysdeps/i386/i586/strlen.S: Correct handling of prolog for + aligning pointer. - * sysdeps/mips/dl-machine.h: Remove mips64 dependent parts. - * sysdeps/mips/mips64/dl-machine.h: New file. +Tue Oct 15 02:13:21 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't install - syscall-list.h. + * stdio-common/vfprintf.c: Don't declare __flockfile as weak. -1997-07-12 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * crypt/md5-crypt.c (md5_crypt_r): Add cast to prevent warning. - * libc.map: Add missing symbol _obstack. +Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> -1997-07-14 08:22 H.J. Lu <hjl@gnu.ai.mit.edu> + * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and + O_SHLOCK. - * sysdeps/mips/rtld-parms: New. +Sun Oct 13 19:16:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/unix/sysv/linux/mips/lxstat.h: Moved to - * sysdeps/unix/sysv/linux/mips/lxstat.c: ...this. + * sysdeps/unix/sysv/linux/m68k/sysdep.h (POUND): Macro removed, + replaced by `&'. + (PSEUDO_END): Provide definition to use .size directive. + (PSEUDO): Don't interpret negative return values less than -128 as + syscall error. + * sysdeps/unix/sysv/linux/m68k/syscall.S (syscall): Likewise. - * sysdeps/unix/sysv/linux/mips/sgidef.h: Moved to - * sysdeps/unix/sysv/linux/mips/sgidefs.h: ...this. + * sysdeps/m68k/bsd-_setjmp.S: Use PSEUDO_END macro to provide + .size directive. + * sysdeps/m68k/bsd-setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/clone.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/m68k/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use PSEUDO_END instead of + explicit .size directive. + +Sun Oct 13 22:52:56 1996 Ulrich Drepper <drepper@cygnus.com> + + * shlib-versions: Add version number/name for ld.so. + * Makeconfig: Move definition of rtld-installed-name after + inclusion of soversions.mk. + Don't add . before version number from shlib-versions file when + when name does not start with digit. This is needed for ld.so. + +Sat Oct 12 20:31:58 1996 Richard Henderson <rth@tamu.edu> + + * libio/iogets.c: Warn when gets is used. + * stdio/gets.c: Strengthen the warning. + +Sat Oct 12 23:10:43 1996 Ulrich Drepper <drepper@cygnus.com> + + * libio/Makefile [_LIBC_REENTRANT] (routines): Add peekc. + * libio/libio.h: Add prototypes for _IO_getc, _IO_putc, _IO_feof, + _IO_ferror, _IO_peekc_locked, and _IO_ftrylockfile. + Remove prototypes for _IO_getc_locked and _IO_putc_locked. + [_IO_MTSAFE_IO]: Add weak aliases for _IO_flockfile and + _IO_funlockfile. + [! _IO_MTSAFE_IO]: Define _IO_ftrylockfile as empty. + Define _IO_getc, _IO_peekc, _IO_putc, _IO_feof, _IO_ferror to + appropriate values according to __USE_REENTRANT. + * libio/stdio.h: Add prototype for ftrylockfile. + [!_LIBC]: Define getc_locked, getchar_locked, putchar_locked, + getc, getchar, putc, and putchar using _IO_* names. + * libio/feof.c: Rename to _IO_feof and make feof weak alias. + * libio/ferror.c: Rename to _IO_ferror and make ferror weak alias. + * libio/getc.c: Rename to _IO_getc and make getc weak alias. + * libio/putc.c: Rename to _IO_putc and make putc weak alias. + * libio/putc_u.c: Don't define alias _IO_putc_unlocked. + * libio/peekc.c: New file. + + * stdio-common/vfprintf.c (vfprintf): Unconditionally call + __flockfile. + + * sysdeps/stub/locfile.c [USE_IN_LIBIO]: Also define _IO_* names. + + * crypt/Makefile (tests): Add md5test and md5c-test. + * crypt/md5-crypt.c: Correct various error. Now md5_process_bytes + is called, the buffer limit is honoured and a loop in a inner + loop is corrected. + * crypt/md5.h (struct md5_ctx): Add new fields. + Add prototypes for new functions. + * crypt/md5.c (md5_init_ctx): Initialize new fields. + (md5_finish_ctx): New function. Like md5_read_ctx but before + perform correct finalization. + (md5_process_bytes): New function. Similar to md5_proces_block, + but does not require input size to be multiple of 64. + (md5_stream): Rewrite using md5_process_bytes and md5_finish_ctx. + (md5_buffer): Likewise. + (md5_process_block): Count number of bytes. + * crypt/md5test.c: New file. Test program for MD5 functions. + * crypt/md5c-test.c: New file: Test program for MD5 crypt + function. - * sysdeps/generic/dl-sysdep.c (_start): Change to ENTRY_POINT. + * po/fr.po: Update. -1997-07-17 08:39 H.J. Lu <hjl@gnu.ai.mit.edu> + * time/strptime.c: Recognize %s, %u, %g, and %G format. - * sysdeps/mips/dl-machine.h: Remove extra stuff. + * posix/getopt.c: Add some more casts and initializations to + prevent warnings. -1997-07-06 07:18 Geoff Keating <geoffk@ozemail.com.au> - * sysdeps/powerpc/bits/endian.h: Handle multiple endianess. +Sat Oct 12 16:15:29 1996 Ulrich Drepper <drepper@cygnus.com> - * 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. + * sysdeps/unix/sysv/linux/speed.c (speeds): Removed. We provide + an extra function to provide this functionality. + (cfgetospeed): Simply return masked value. + (cfsetospeed): Don't use speeds array and so we can simply test + the value of SPEED for illegal values. + * termios/cfsetspeed.c: Rewrite. We convert here between the + real values and the B* constants. + Changes suggested by Uwe Ohse <uwe@tirka.gun.de>. - * 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. +Fri Oct 11 21:45:34 1996 Andreas Jaeger <aj@arthur.pfalz.de> - * 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. + * locale/programs/xstrdup.c: Define prototypes. + * locale/programs/xmalloc.c: Likewise. - * 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. + * stdio-common/xbug.c (main): Change definition to avoid warning. -1997-07-15 21:54 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> +Fri Oct 11 23:36:31 1996 Miles Bader <miles@gnu.ai.mit.edu> - * 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. - - * nis/nss_nisplus-parse.c: If buffer to small, give -1 back. - -1997-07-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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. - - * sysdeps/i386/dl-machine.h (elf_machine_rel): Print program name - first. + * db/hash/hash.c (__hash_open): Correctly test for a read-write db. -1997-07-20 19:33 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> +Fri Oct 11 19:13:34 1996 Ulrich Drepper <drepper@cygnus.com> - * libc.map: Add _null_auth and _seterr_reply. + * locale/Makefile (CPPFLAGS): Set CHARMAP_PATH to + "$(i18ndir)/charmaps". - * sunrpc/clnt_udp.c (clntudp_call): If xargs is NULL, don't encode it. +Fri Oct 11 22:12:41 1996 NIIBE Yutaka <gniibe@mri.co.jp> -1997-07-19 22:53 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/sys/procfs.h: Include <asm/user.h> + to get definition of FPU description struct. - * 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. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (subdir_headers): + Add net/if.h, net/if_ppp.h, net/ppp-comp.h, net/ppp_defs.h, + net/if_arp.h, and net/route.h. + * sysdeps/unix/sysv/linux/net/if_arp.h: New file. + * sysdeps/unix/sysv/linux/net/route.h: New file. - * libio/stdio.h: Declare snprint and vsnprintf for __USE_ISOC9X. +Fri Oct 11 14:49:13 1996 Ulrich Drepper <drepper@cygnus.com> - * math/math.h: Correct comments. Include <bits/mathinline.h> - always when optimizing. + * sysdeps/stub/readdir_r.c: New file. We need a stub version. + * 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_log10l.c: Likewise. + * sysdeps/stub/e_logl.c: Likewise. + * sysdeps/stub/e_sqrtl.c: Likewise. + * sysdeps/stub/s_atanl.c: Likewise. + * sysdeps/stub/s_log1pl.c: Likewise. -1997-07-19 10:23 Mark Kettenis <kettenis@phys.uva.nl> + * Makefile (distribute): Add nsswitch.h and netgroup.h. - * time/getdate.c (__getdate_r): - Report failure if string was not completely parsed. - (getdate): Set getdate_err on failure. + * nss/Makefile (generated): db-netgrp.c is not generated. -1997-07-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/alpha/Dist: Add stxcpy.S and stxncpy.S. - * include/gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): - Synchronize with malloc/obstack.c. + * Make-dist (+out): Add $(dont_distribute). -1997-07-16 Miles Bader <miles@gnu.ai.mit.edu> +Fri Oct 11 00:27:18 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * stdio-common/Makefile (routines): Add tmpnam_r. -1997-07-15 Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu> +Fri Oct 11 05:32:51 1996 Ulrich Drepper <drepper@cygnus.com> - * 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. + * version.h: Bump version to 1.96. -1997-07-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> +Fri Oct 11 18:13:47 1996 Andreas Jaeger <aj@arthur.pfalz.de> - * sysdeps/posix/ttyname_r.c (__ttyname_r): Correct comment. - * posix/unistd.h: Likewise. - * sysdeps/stub/ttyname_r.c: Likewise. + * stdio-common/tst-printf.c: Some more cleanups. -1997-07-14 23:37 Ulrich Drepper <drepper@cygnus.com> +Fri Oct 11 02:48:02 1996 Ulrich Drepper <drepper@cygnus.com> - * inet/getnameinfo.c: Pretty print. - Correctly enlarge buffers. + * resolv/arpa/nameser.h: Update from bind-4.9.5-T6B. + * resolv/resolv.h: Likewise. + * resolv/gethnamaddr.c: Likewise. + * resolv/res_comp.c: Likewise. + * resolv/res_debug.c: Likewise. + * resolv/res_init.c: Likewise. + * resolv/res_send.c: Likewise. + * resolv/Banner: Update version number. - * login/programs/utmpd.c: Use _() instead of gettext(). + * nss/nss_dns/dns-host.c: Update according to change in + resolv/gethnamaddr.c. - * 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. +Fri Oct 10 20:52:28 1996 Ralph Loader <loader@maths.ox.ac.uk> - * 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. + * crypt/md5.c (md5_stream): When reading the block in several + pieces append to instead of replace previously read data. - * 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. +Thu Oct 10 15:53:17 1996 Richard Henderson <rth@tamu.edu> - * sysdeps/mips/mips64/Implies: Imply ieee754. + * sysdeps/alpha/stxcpy.S ($unaligned): In single word copy, correct + last-byte-written bit for source word misalignment. + * sysdeps/alpha/strchr.c: Removed. There is now an assembler + version. - * sysdeps/unix/sysv/linux/Makefile: Make sure bits/syscall.h is - installed. - * sysdeps/unix/sysv/linux/sys/syscall.h: Pretty print. - -1997-07-14 00:25 Ulrich Drepper <drepper@cygnus.com> - - * 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>. - -1997-06-22 Paul Eggert <eggert@twinsun.com> - - * time/strftime.c (strftime): Use tm_zone if available, even if _LIBC. - - * time/tzfile.c (__tzstring): New decl. - (__tzfile_read, __tzfile_default): Set __tzname to permanent strings. - (__tzfile_default): First two args are now const char *. - - * 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. - -1997-07-13 01:18 Ulrich Drepper <drepper@cygnus.com> - - * setjmp/setjmp.h: Define _setjmp and _longjmp also if __USE_XOPEN. - - * 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. - - * 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>. - -1997-06-30 14:49 H.J. Lu <hjl@gnu.ai.mit.edu> - - From Ralf Baechle <ralf@informatik.uni-koblenz.de> on - Sat Jun 21 18:11:21 1997: - - * sysdeps/unix/sysv/linux/syscalls.list (swapon): Add __swapon alias. - (swapoff): New. - - * elf/Makefile: Add linker script support. - (headers): Add bits/dlfcn.h. - - * elf/dl-load.c (MAP_BASE_ADDR): New. - - * elf/dlfcn.h: Include <bits/dlfcn.h>. - - * elf/elf.h: Add MIPS support. - - * sysdeps/generic/Dist: Add entry.h. - * sysdeps/generic/entry.h: New, define the entry symbol. - - * elf/rtld.c (_start): Include <entry.h>. Change to ENTRY_POINT. - * sysdeps/generic/dl-sysdep.c (_start): Likewise. - * mips/elf/start.S (_start): Likewise. - - * 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/mips/dl-machine.h: Update for Linux/MIPS. - * sysdeps/mips/fpu_control.h: Likewise. - - * sysdeps/generic/bits/dlfcn.h: New file. - - * 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. - -1997-04-09 19:05 H.J. Lu (hjl@gnu.ai.mit.edu) - - * isomac.c (xstrndup): New, use it instead of strndup (). - -1997-07-02 08:55 H.J. Lu <hjl@gnu.ai.mit.edu> - - * sysdeps/i386/dl-machine.h (elf_machine_rel): Print - the program name for different sizes. - -1997-07-10 15:47 Fila Kolodny <fila@ibi.com> - - * 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. - -1997-07-12 18:47 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>. - - * configure.in: Move mips64* recognition before mips*. - Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>. - -1997-07-03 20:44 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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. - -1997-07-12 17:56 Ulrich Drepper <drepper@cygnus.com> - - * 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. - -1997-07-10 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * login/utmp_file.c (getutline_r_file): Fix type: compare with - *result. - -1997-07-11 00:21 Mark Kettenis <kettenis@phys.uva.nl> - - * login/Makefile (headers): Add utmpx.h and bits/utmpx.h. - -1997-07-09 19:21 Mark Kettenis <kettenis@phys.uva.nl> - - * login/programs/utmpd.c, login/programs/database.c, - login/programs/request.c: Prepare messages for - internationalization. - - * 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. - - * 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. - -1997-07-11 03:00 Ulrich Drepper <drepper@cygnus.com> - - * inet/inet_ntoa.c: Prevent looking for thread data key if we found - one. - - * 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>. +Thu Oct 10 17:17:23 1996 Ulrich Drepper <drepper@cygnus.com> - * stdio-common/snprintf.c: Use ISO C function definition form. + * sunrpc/Makefile (rpcsvc): Remove yp.x. The corrected version + comes with glibc-nis. + * sunrpc/rpcsvc/yp.x: Removed. - * 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. + * nss/nss_files/files-netgr.c (_nss_netgroup_parseline): Test + for *CURSOR to be NULL and dump a core if yes. - * stdio-common/strops.c: Partialy undo last change. Will need - more investigation. +Thu Oct 9 20:09:53 1996 Matthew Jacob <mjacob@feral.com> -1997-07-10 Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu> + * sysdeps/unix/sysv/linux/alpha/brk.S: Define _ERRNO_H before + including <errnos.h> to get error numbers. - * sysdeps/mach/hurd/select.c (__select): Need bit count for - MACH_MSG_TYPE_INTEGER_T. +Thu Oct 10 14:00:01 1996 Ulrich Drepper <drepper@cygnus.com> -1997-07-08 10:12 Fila Kolodny <fila@ibi.com> + * sysdeps/unix/sysv/linux/i386/sigcontext.h: Moved file... + * sysdeps/unix/sysv/linux/sigcontext.h: ...to here. So the + Alpha people find a correct file. + * sysdeps/libm-ieee754/w_cabs.c: We cannot make __cabsl simply + an alias of __cabs since the structures have different names. + * sysdeps/libm-ieee754/w_log10.c: Fix typo in weak_alias. + Reported by Matthew Jacob <mjacob@feral.com>. - * sysdeps/i370/Implies: New file for i370-ibm-mvs port. - * sysdeps/mvs/Implies: Likewise. +Wed Oct 9 00:24:52 1996 Jim Meyering <meyering@asic.sc.ti.com> -1997-07-09 23:06 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * time/strftime.c: Allow old K&R compilers compile this file. - * nis/Makefile: Add new source files. +Wed Oct 9 12:03:56 1996 Ulrich Drepper <drepper@cygnus.com> - * nis/nis_intern.h: Add new internal functions. - * nis/rpcsvc/nislib.h: Likewise. + * posix/execlp.c: Add first argument parameter to be compliant + with POSIX. Rearrange body to start vararg counter after + this new argument. - * 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. +Wed Oct 9 04:34:50 1996 Ulrich Drepper <drepper@cygnus.com> - * 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. + * sysdeps/unix/sysv/linux/sys/procfs.h: Rewrite. We cannot use + simply a wrapper around the <linux/elfcore.h> file since the + kernel header is not clean enough. We provide the definitions + in this file instead. - * nis/nss_nis/nis-publickey.c: Remove libc-lock.h include. +Wed Oct 9 01:43:18 1996 Ulrich Drepper <drepper@cygnus.com> - * nis/nis_intern.c: Removed. + * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Avoid + get?id calls by using __libc_enable_secure. - * nis/nis_call.c: Complete rewrite. - * nis/nis_lookup.c: Likewise. - * nis/nis_table.c: Likewise. +Wed Oct 9 00:30:33 1996 Ulrich Drepper <drepper@cygnus.com> - * nis/libnsl.map: Add missing symbols. + * inet/getnetgrent_r.c: Correct netgroup implementation. A + specification of a netgroup can also name another netgroup. + * nss/nss_files/files-netgrp.c: Likewise. + * inet/netgroup.h: Add fields to hold additional information. - * nis/nis_print.c: Fix nis_print_link. - * nis/nis_subr.c: Fix nis_getnames. +Tue Oct 8 21:51:14 1996 Arnold D. Robbins <arnold@skeeve.atl.ga.us> -1997-07-09 07:19 H.J. Lu <hjl@gnu.ai.mit.edu> + * posix/getopt.c: Implement POSIX -W option handling. When the + option string contains "W;" -W foo is handled like --foo. - * posix/execvp.c (execvp): Handle ESTALE. +Tue Oct 8 12:27:26 1996 Ulrich Drepper <drepper@cygnus.com> -1997-07-10 13:54 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/i386/clone.S: Define _ERRNO_H before + inclusing <errnos.h> so we really get error symbols defined. + * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/clone.S: 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>. + * sunrpc/auth_unix.c (authunix_create_default): Don't use fixed + size array for getgroups call. Instead get maximal number via + sysconf. But discard list to NGRPS elements before calling XDR + function since Sun's code cannot handle longer lists. + Based on a patch by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>. -1997-07-09 08:16 H.J. Lu <hjl@gnu.ai.mit.edu> + * sysdeps/stub/e_j0l.c: Define y0l as well. + * sysdeps/stub/e_j1l.c: Define y1l as well. + * sysdeps/stub/e_jnl.c: Define ynl as well. - * libio/fileops.c (_IO_file_underflow): Adjust pointers - before calling _IO_SYSREAD (). + * posix/unistd.h: Correct prototype for execlp. -1997-07-07 22:54 Zack Weinberg <zack@rabi.phys.columbia.edu> + * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_NO_TRUNC. - * 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. +Mon Oct 7 22:18:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/sparc/rem.S: Regenerated. - * sysdeps/sparc/sdiv.S: Regenerated. - * sysdeps/sparc/udiv.S: Regenerated. - * sysdeps/sparc/urem.S: Regenerated. + * Makeconfig (sysdep-library-path): New variable. + (built-program-cmd): Use it here to properly build a colon + separated library path. - * sysdeps/sparc/DEFS.h: Removed. - * sysdeps/sparc/elf/DEFS.h: Removed. - * sysdeps/sparc/Dist: Don't distribute DEFS.h. +Mon Oct 7 22:11:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/unix/sparc/sysdep.h: Use 4 byte alignment. Add .type - directive #ifdef HAVE_ELF. Minor format changes. + * crypt/md5-crypt.c (md5_crypt_r): Add missing parens around & + within comparison. Fix comments. + (md5_crypt): Fix comment. - * sysdeps/alpha/DEFS.h: Removed. - * sysdeps/alpha/Dist: Don't distribute DEFS.h. +Tue Oct 8 05:10:49 1996 Ulrich Drepper <drepper@cygnus.com> -1997-07-07 19:03 H.J. Lu <hjl@gnu.ai.mit.edu> + * sysdeps/unix/sysv/linux/errnos.h: Only include <linux/errnos.h> + when _ERRNO_H is defined. + [!_ERRNO_H && __need_Emath]: Define value for EDOM and ERANGE. + Should there ever be a Linux port where the numeric values are + not 33 and 34 this file must change. - * math/test-fenv.c (feenv_nomask_test): Move - fesetenv (FE_NOMASK_ENV) after fork () to work with - SMP. +Mon Oct 7 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/i386/fpu_control.h (_FPU_IEEE): Fix comment. + * libio/iofgets.c (_IO_fgets): Use _IO_flockfile instead of + __flockfile. -1997-07-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Mon Oct 7 11:01:45 1996 Andreas Jaeger <aj@arthur.pfalz.de> - * libc.map: Add _IO_peekc_locked. + * string/tst-strlen.c (main): Provide prototype. + * malloc/mallocbug.c: Likewise. + * io/test-utime.c: Likewise. -1997-07-07 15:45 Fila Kolodny <fila@ibi.com> + * sysdeps/generic/crypt-entry.c: Correct typo. - * Makeconfig: Add dbobjdir to rpath-link analogous to nssobjdir. +Mon Oct 7 13:42:20 1996 Ulrich Drepper <drepper@cygnus.com> -1997-07-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * elf/dl-open.c (_dl_open): Check against _dl_sysdep_start to + test for libc.a. Checking _DYNAMIC is of no worth here. + Suggested by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>. - * sysdeps/m68k/fpu/feholdexcpt.c: Shift the exception mask in the - right position. - * sysdeps/m68k/fpu/fesetenv.c (fesetenv): Likewise. + * nss/nss_files/files-parse.c: Define LOOKUP_NAME even if + EXTERN_PARSER is defined. -1997-07-08 13:59 Ulrich Drepper <drepper@cygnus.com> +Sat Oct 5 17:05:36 1996 Andreas Jaeger <aj@arthur.pfalz.de> - * time/strftime.c (spaces, zeroes): Handle broken SGI compiler. - Patch by Richard Stallman <rms@gnu.ai.mit.edu>. + * Rules (dep-dummy-lib): Correct prototype for __dummy__. -1997-07-08 02:18 Ulrich Drepper <drepper@cygnus.com> + * crypt/md5-crypt.c: Fix typos in comments. - * io/lockf.c (lockf): Clear fl before using. - Patch by sr@adb.fr. + * gmon/gmon.c: Provide prototypes. + * db/makedb.c: Likewise. + * locale/programs/xmalloc.c: Likewise. + * stdio-common/bug11.c (main): Likewise. + * stdio-common/bug7.c (main): Likewise. + * stdio-common/bug8.c (main): Likewise. + * stdio-common/bug9.c (main): Likewise. + * stdio-common/scanf1.c (main): Likewise. + * stdio-common/scanf2.c (main): Likewise. + * stdio-common/scanf5.c (main): Likewise. + * stdio-common/scanf6.c (main): Likewise. + * stdio-common/scanf7.c (main): Likewise. + * stdio-common/scanf8.c (main): Likewise. + * stdio-common/temptest.c (main): Likewise. + * stdio-common/test-fwrite.c (main): Likewise. + * stdio-common/tst-printf.c: Likewise. + * stdio-common/tstdiomisc.c: Likewise. + * stdio-common/tstgetln.c (main): Likewise. + * stdlib/testmb.c (main): Likewise. - * libio/strops.c: Correctly handle _IO_write_end. + * stdio-common/scanf4.c (main): Correct prototype, remove unused + variable n. - * 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>. + * stdio-common/scanf3.c (main): Correct prototype, change + declaration of s to reduce warnings. + * stdio-common/bug10.c (main): Likewise. - * 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>. + * stdio-common/tfformat.c: Provide prototype, remove unused + reference to dump_stats, add braces in sprint_doubles. + * stdio-common/tiformat.c: Likewise. -1997-07-06 23:36 Ulrich Drepper <drepper@cygnus.com> + * stdio-common/test_rdwr.c (main): Parameter `where' is long in + printf call. - * isomac.c (get_null_defines): Put NULL at end of list. +Mon Oct 7 14:04:26 1996 NIIBE Yutaka <gniibe@mri.co.jp> - * 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>. + * sysdeps/unix/sysv/linux/sys/soundcard.h: Fix typo. - * math/fenv-test.c: Add more tests. - Patch by Andreas Jaeger <aj@arthur.rhein-neckar.de>. + * shadow/putspent.c: Don't write colon after flag field. - * 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. + * sysdeps/unix/sysv/linux/net/if_ppp.h: New file. Wrapper around + kernel header. + * sysdeps/unix/sysv/linux/net/ppp-comp.h: Likewise. + * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise. + * sysdeps/unix/sysv/linux/Dist: Mention new files. -1997-07-04 15:33 H.J. Lu <hjl@gnu.ai.mit.edu> +Mon Oct 7 00:58:19 1996 Ulrich Drepper <drepper@cygnus.com> - * elf/rtld.c (dl_main): Add '\n' to _dl_sysdep_fatal (). + * sysdeps/i386/i586/strchr.S: Correct handling of first bytes to + get pointer aligned. Reported by Matthias Urlichs <smurf@noris.de>. -1997-07-01 09:18 H.J. Lu <hjl@gnu.ai.mit.edu> + * sysdeps/posix/euidaccess.c [_LIBC]: Avoid calling get?id functions + by using __libc_enable_secure variable. - * libc.map: Add missing symbol. +Tue Oct 8 13:58:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> -1997-07-04 18:04 H.J. Lu <hjl@gnu.ai.mit.edu> + * hurd/ports-get.c (_hurd_ports_get): If the requested port is + null, don't attempt mach_port_mod_refs. - * stdlib/tst-strtol.c: Don't assume cpp takes ~0UL as long - in cc1. Cpp in gcc doesn't do it. +Mon Oct 7 14:51:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> -1997-07-01 21:15 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/mach/hurd/pipestream.c: New file to avoid use of + sysdeps/unix/pipestream.c. - * libio/libioP.h: Remove second definition of _IO_file_attach. + * sysdeps/mach/hurd/readdir_r.c: New file, guts copied entirely + from sysdeps/mach/hurd/readdir.c. - * sysdeps/i386/fpu/fraiseexcpt.c (feraiseexcept): Correct comments. + * stdio/freopen.c: Complete de-ansideclification. + * stdio/fgets.c (fgets): Likewise. + * stdio/getdelim.c (__getdelim): Likewise. + * sysdeps/posix/pipestream.c (readdecl, writedecl, seekdecl, + popen): + Likewise. + * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise. + * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise. - * 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/mach/hurd/wait4.c (__wait4): Allow a null value for + STAT_LOC without error. -1997-07-05 11:56 Ulrich Drepper <drepper@cygnus.com> +Sun Oct 6 02:05:52 1996 Ulrich Drepper <drepper@cygnus.com> - * login/login.c (tty_name): Use newly allocated buffer. - Patch by Jaakko Hyvätti <jaakko.hyvatti@iki.fi>. + * posix/getopt.c: Add casts to prevent warnings. + * posix/regex.c: Likewise. - * time/asctime.c: Never translate week and month name according - to LC_TIME. Patch by Paul Eggert <eggert@twinsun.com>. + * math/Makefile (long-m-routines, long-m-yes): Define to correct + values to make `long double' functions available. + (distribute): Add $(long-m-yes:=.c). -1997-07-03 22:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/libm-i387/s_copysignl.S: Correct loading of return value. + Use long double instruction. - * locale/setlocale.c (setname): Do nothing when reusing the same - name. + * sysdeps/libm-ieee754/e_atanhl.c (huge): Correct constant. + * sysdeps/libm-ieee754/e_asinhl.c: Likewise. + * sysdeps/libm-ieee754/s_tanhl.c: Likewise. -1997-07-03 20:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/libm-ieee754/e_coshl.c: New file. - * libc.map: Add global variables of malloc. + * sysdeps/libm-ieee754/s_asinh.c [!NO_LONG_DOUBLE]: Define names + for `long double' version as alias. + * sysdeps/libm-ieee754/s_atan.c: Likewise. + * sysdeps/libm-ieee754/s_cbrt.c: Likewise. + * sysdeps/libm-ieee754/s_ceil.c: Likewise. + * sysdeps/libm-ieee754/s_copysign.c: Likewise. + * sysdeps/libm-ieee754/s_cos.c: Likewise. + * sysdeps/libm-ieee754/s_erf.c: Likewise. + * sysdeps/libm-ieee754/s_expm1.c: Likewise. + * sysdeps/libm-ieee754/s_fabs.c: Likewise. + * sysdeps/libm-ieee754/s_finite.c: Likewise. + * sysdeps/libm-ieee754/s_floor.c: Likewise. + * sysdeps/libm-ieee754/s_frexp.c: Likewise. + * sysdeps/libm-ieee754/s_ilogb.c: Likewise. + * sysdeps/libm-ieee754/s_ldexp.c: Likewise. + * sysdeps/libm-ieee754/s_log1p.c: Likewise. + * sysdeps/libm-ieee754/s_logb.c: Likewise. + * sysdeps/libm-ieee754/s_modf.c: Likewise. + * sysdeps/libm-ieee754/s_nextafter.c: Likewise. + * sysdeps/libm-ieee754/s_rint.c: Likewise. + * sysdeps/libm-ieee754/s_scalbn.c: Likewise. + * sysdeps/libm-ieee754/s_significand.c: Likewise. + * sysdeps/libm-ieee754/s_sin.c: Likewise. + * sysdeps/libm-ieee754/s_tan.c: Likewise. + * sysdeps/libm-ieee754/s_tanh.c: Likewise. + * sysdeps/libm-ieee754/w_acos.c: Likewise. + * sysdeps/libm-ieee754/w_acosh.c: Likewise. + * sysdeps/libm-ieee754/w_sin.c: Likewise. + * sysdeps/libm-ieee754/w_atan2.c: Likewise. + * sysdeps/libm-ieee754/w_atanh.c: Likewise. + * sysdeps/libm-ieee754/w_cabs.c: Likewise. + * sysdeps/libm-ieee754/w_cosh.c: Likewise. + * sysdeps/libm-ieee754/w_drem.c: Likewise. + * sysdeps/libm-ieee754/w_exp.c: Likewise. + * sysdeps/libm-ieee754/w_fmod.c: Likewise. + * sysdeps/libm-ieee754/w_gamma.c: Likewise. + * sysdeps/libm-ieee754/w_gamma_r.c: Likewise. + * sysdeps/libm-ieee754/w_hypot.c: Likewise. + * sysdeps/libm-ieee754/w_j0.c: Likewise. + * sysdeps/libm-ieee754/w_j1.c: Likewise. + * sysdeps/libm-ieee754/w_jn.c: Likewise. + * sysdeps/libm-ieee754/w_lgamma.c: Likewise. + * sysdeps/libm-ieee754/w_lgamma_r.c: Likewise. + * sysdeps/libm-ieee754/w_log.c: Likewise. + * sysdeps/libm-ieee754/w_log10.c: Likewise. + * sysdeps/libm-ieee754/w_pow.c: Likewise. + * sysdeps/libm-ieee754/w_remainder.c: Likewise. + * sysdeps/libm-ieee754/w_scalb.c: Likewise. + * sysdeps/libm-ieee754/w_sinh.c: Likewise. + * sysdeps/libm-ieee754/w_sqrt.c: Likewise. + + Stub files for missing long double math functions. + * sysdeps/stub/e_acoshl.c: New file. + * sysdeps/stub/e_hypotl.c: New file. + * sysdeps/stub/e_j0l.c: New file. + * sysdeps/stub/e_j1l.c: New file. + * sysdeps/stub/e_jnl.c: New file. + * sysdeps/stub/e_lgammal_r.c: New file. + * sysdeps/stub/e_powl.c: New file. + * sysdeps/stub/e_rem_pio2l.c: New file. + * sysdeps/stub/e_sinhl.c: New file. + * sysdeps/stub/k_cosl.c: New file. + * sysdeps/stub/k_rem_pio2l.c: New file. + * sysdeps/stub/k_sinl.c: New file. + * sysdeps/stub/k_tanl.c: New file. + * sysdeps/stub/s_erfl.c: New file. + * sysdeps/stub/s_expm1l.c: New file. + + * sysdeps/i386/__longjmp.S: Use PSEUDO_END macro to provide + .size directive. + * sysdeps/i386/bsd-_setjmp.S: Likewise. + * sysdeps/i386/bsd-setjmp.S: Likewise. + * sysdeps/i386/memchr.S: Likewise. + * sysdeps/i386/memcmp.S: Likewise. + * sysdeps/i386/setjmp.S: Likewise. + * sysdeps/i386/stpcpy.S: Likewise. + * sysdeps/i386/stpncpy.S: Likewise. + * sysdeps/i386/strchr.S: Likewise. + * sysdeps/i386/strcspn.S: Likewise. + * sysdeps/i386/strpbrk.S: Likewise. + * sysdeps/i386/strrchr.S: Likewise. + * sysdeps/i386/strspn.S: Likewise. + * sysdeps/i386/strtok.S: Likewise. + * sysdeps/i386/i486/strcat.S: Likewise. + * sysdeps/i386/i486/strlen.S: Likewise. + * sysdeps/i386/i586/memset.S: Likewise. + * sysdeps/i386/i586/strchr.S: Likewise. + * sysdeps/i386/i586/strlen.S: Likewise. + * sysdeps/libm-i387/e_acos.S: Likewise. + * sysdeps/libm-i387/e_acosl.S: Likewise. + * sysdeps/libm-i387/e_asin.S: Likewise. + * sysdeps/libm-i387/e_asinl.S: Likewise. + * sysdeps/libm-i387/e_atan2.S: Likewise. + * sysdeps/libm-i387/e_atan2l.S: Likewise. + * sysdeps/libm-i387/e_exp.S: Likewise. + * sysdeps/libm-i387/e_expl.S: Likewise. + * sysdeps/libm-i387/e_fmod.S: Likewise. + * sysdeps/libm-i387/e_fmodl.S: Likewise. + * sysdeps/libm-i387/e_log.S: Likewise. + * sysdeps/libm-i387/e_log10.S: Likewise. + * sysdeps/libm-i387/e_log10l.S: Likewise. + * sysdeps/libm-i387/e_logl.S: Likewise. + * sysdeps/libm-i387/e_remainder.S: Likewise. + * sysdeps/libm-i387/e_remainderf.S: Likewise. + * sysdeps/libm-i387/e_remainderl.S: Likewise. + * sysdeps/libm-i387/e_scalb.S: Likewise. + * sysdeps/libm-i387/e_scalbl.S: Likewise. + * sysdeps/libm-i387/e_sqrt.S: Likewise. + * sysdeps/libm-i387/e_sqrtf.S: Likewise. + * sysdeps/libm-i387/e_sqrtl.S: Likewise. + * sysdeps/libm-i387/s_atan.S: Likewise. + * sysdeps/libm-i387/s_atanf.S: Likewise. + * sysdeps/libm-i387/s_atanl.S: Likewise. + * sysdeps/libm-i387/s_ceil.S: Likewise. + * sysdeps/libm-i387/s_ceilf.S: Likewise. + * sysdeps/libm-i387/s_ceill.S: Likewise. + * sysdeps/libm-i387/s_copysign.S: Likewise. + * sysdeps/libm-i387/s_copysignf.S: Likewise. + * sysdeps/libm-i387/s_copysignl.S: Likewise. + * sysdeps/libm-i387/s_cos.S: Likewise. + * sysdeps/libm-i387/s_cosf.S: Likewise. + * sysdeps/libm-i387/s_cosl.S: Likewise. + * sysdeps/libm-i387/s_finite.S: Likewise. + * sysdeps/libm-i387/s_finitef.S: Likewise. + * sysdeps/libm-i387/s_finitel.S: Likewise. + * sysdeps/libm-i387/s_floor.S: Likewise. + * sysdeps/libm-i387/s_floorf.S: Likewise. + * sysdeps/libm-i387/s_floorl.S: Likewise. + * sysdeps/libm-i387/s_ilogb.S: Likewise. + * sysdeps/libm-i387/s_ilogbf.S: Likewise. + * sysdeps/libm-i387/s_ilogbl.S: Likewise. + * sysdeps/libm-i387/s_log1p.S: Likewise. + * sysdeps/libm-i387/s_log1pf.S: Likewise. + * sysdeps/libm-i387/s_log1pl.S: Likewise. + * sysdeps/libm-i387/s_logb.S: Likewise. + * sysdeps/libm-i387/s_logbf.S: Likewise. + * sysdeps/libm-i387/s_logbl.S: Likewise. + * sysdeps/libm-i387/s_rint.S: Likewise. + * sysdeps/libm-i387/s_rintf.S: Likewise. + * sysdeps/libm-i387/s_rintl.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/s_significand.S: Likewise. + * sysdeps/libm-i387/s_significandf.S: Likewise. + * sysdeps/libm-i387/s_significandl.S: Likewise. + * sysdeps/libm-i387/s_sin.S: Likewise. + * sysdeps/libm-i387/s_sinf.S: Likewise. + * sysdeps/libm-i387/s_sinl.S: Likewise. + * sysdeps/libm-i387/s_tan.S: Likewise. + * sysdeps/libm-i387/s_tanf.S: Likewise. + * sysdeps/libm-i387/s_tanl.S: Likewise. -1997-07-03 13:24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/i386/clone.S: Add .size directive. + * sysdeps/unix/sysv/linux/i386/mmap.S. Likewise. + * sysdeps/unix/sysv/linux/i386/socket.S. Likewise. + * sysdeps/unix/sysv/linux/i386/sysdep.S. More compact .size line. - * 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. + * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): New macro. Used + to provide .size directive on ELF systems. -1997-07-03 12:33 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/i386/profil-counter.h: Include + <sigcontext.h> and rename parameter type to sigcontext. + * sysdeps/unix/sysv/linux/i386/sigcontext.h New file. - * sysdeps/m68k/fpu/fraiseexcpt.c: Correct the FE_INEXACT and - FE_UNDERFLOW cases. + * sysdeps/unix/sysv/linux/i386/syscall.S: From Linux 2.1 on + negative values might occur as positive results. Test against + -125 to decide for error or not. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise for system calls. -1997-07-01 13:36 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Thu Oct 3 21:07:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * elf/link.h: Remove final comma from enumerator list, forbidden - by ISO C. Use __inline instead of inline. + * elf/dl-open.c: Use _DYNAMIC instead of _dl_start to decide + whether this is a statically linked program. The latter is now + always defined. -1997-07-01 16:40 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> +Fri Oct 4 17:30:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - * hurd/hurdsig.c: Include <hurd/id.h>. - (reauth_proc): Call proc_setowner appropriately too. + * hurd/hurdsig.c (signal_allowed): Add SIGWINCH to the list that + controlling terminals are allowed to send. -1997-07-01 09:18 H.J. Lu <hjl@gnu.ai.mit.edu> + * hurd/alloc-fd.c (_hurd_alloc_fd): If SIZE is so big that the + table is larger than the allowable address size, then return + failure. - * libc.map: Add missing symbol. +Fri Oct 4 02:08:10 1996 Bang Jun-Young <bangjy@nownuri.nowcom.co.kr> -1997-06-30 12:12 Fila Kolodny <fila@ibi.com> + * po/ko.po: Update. - * sysdeps/mach/hurd/fchdir.c: Make fchdir a weak alias of __fchdir. - * sysdeps/mach/hurd/getpeername.c (getpeername): Remove spurious - declaration of addr. +Fri Oct 4 02:07:46 1996 Michel Robitaille <robitail@IRO.UMontreal.CA> -1997-06-29 17:56 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * po/fr.po: New file. - * manual/argp.texi (Argp Option Vectors): Fix use of @math to make - it work in TeX. +Fri Oct 4 05:04:52 1996 Ulrich Drepper <drepper@cygnus.com> -1997-06-27 21:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/i386/sigcontext.h: New file. - * 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. + Add support for MD5 crypt replacement. + * Makefile (subdirs): Add crypt. + * shlib-versions: Add entry for libcrypt. + * crypt/md5-crypt.c: New file. + * crypt/md5.c: New file. + * crypt/md5.h: New file. + * sysdeps/generic/crypt-entry.c: New file. + * sysdeps/generic/crypt.h: New file. - * 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. +Thu Oct 3 20:53:23 1996 Andreas Jaeger <aj@arthur.pfalz.de> - * 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. + * dirent/tst-seekdir.c: Provide correct prototypes. + * io/test-utime.c: Likewise. + * malloc/mallocbug.c: Likewise. + * posix/testfnm.c: Likewise. + * stdio-common/xbug.c: Likewise. + * sysdeps/posix/cuserid.c: Likewise. + +Wed Oct 2 13:33:48 1996 Richard Henderson <rth@tamu.edu> + + Provide optimized string functions for Alpha processors. + * sysdeps/alpha/bzero.S: New file. + * sysdeps/alpha/memset.S: New file. + * sysdeps/alpha/stpcpy.S: New file. + * sysdeps/alpha/stpncpy.S: New file. + * sysdeps/alpha/strcat.S: New file. + * sysdeps/alpha/strchr.S: New file. + * sysdeps/alpha/strcpy.S: New file. + * sysdeps/alpha/strncat.S: New file. + * sysdeps/alpha/strncpy.S: New file. + * sysdeps/alpha/strrchr.S: New file. + * sysdeps/alpha/stxcpy.S: New file. + * sysdeps/alpha/stxncpy.S: New file. + + * sysdeps/alpha/Makefile [$(sudir)==string]: Add stxcpy and + stxncpy to sysdep_routines. + Minor correction. + +Thu Oct 3 13:33:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + + * sysdeps/generic/gnu/types.h: Added __loff_t. + Don't declare key_t here. + + * hurd/alloc-fd.c (_hurd_alloc_fd): If realloc fails, bother to + set errno (to ENOMEM). + +Wed Oct 2 13:41:48 1996 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/generic/strtok.c: Don't set stored pointer to NULL when + nothing is found. This guarantees all subsequent calls behave + the same. + * sysdeps/generic/strtok_r.c: Likewise. -1997-06-29 23:03 Andreas Jaeger <aj@arthur.rhein-neckar.de> +Mon Sep 30 22:27:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.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. + * sysdeps/posix/tempname.c (__stdio_gen_tempname): Don't declare + `i' as const. -1997-06-29 23:43 Ulrich Drepper <drepper@cygnus.com> +Mon Sep 30 22:38:29 1996 Richard Henderson <rth@tamu.edu> - * 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. + * sysdeps/generic/strtok.c: When we hit EOS, don't set olds to + NULL immediately; we're going to get called one more time. + * sysdeps/generic/strtok_r.c: 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>. +Tue Oct 1 09:12:21 1996 Ulrich Drepper <drepper@cygnus.com> + + * locale/programs/ld-time.c: Always write some bytes at the end of + the file even if no `era's are specified. + + * stdio-common/tmpname.c (tmpbuf): Don't define as array of + pointers. + +Tue Oct 1 01:43:11 1996 Ulrich Drepper <drepper@cygnus.com> + + * libio/iofclose.c: Move unlocking to right position. + +Mon Sep 30 03:08:34 1996 Richard Henderson <rth@tamu.edu> + + * misc/Makefile: Kill force-wrapper. + * misc/force-wrapper.c: Delete. + + * elf/eval.c: Add <string.h>. + + * gmon/sys/gmon_out.h: Nonsense like `char foo[sizeof(char*)]' + followed by `bcopy(&ptr, &foo, sizeof(foo))' helps portability + and binary compatibility not at all. Better to do `char *foo' + followed by `foo = ptr' as it is much cleaner. + (struct gmon_hdr): Fix version. + (struct gmon_hist_hdr): Fix low_pc, high_pc, hist_size, prof_rate. + (struct gmon_cg_arc_record): Fix from_pc, self_pc, count. + * gmon/gmon.c: De-ansidecl-ify. + (write_hist): De-bcopy-fy. + (write_call_graph): Likewise. + + * gmon/mcount.c: Assume _MCOUNT_DECL does the entire declaration. + * sysdeps/alpha/machine-gmon.h: Update _MCOUNT_DECL. + * sysdeps/generic/machine-gmon.h: Likewise. + + * resolv/netdb.h: Add __set_h_errno to mimic __set_errno. + * nss/getXXent_r.c: Use __set_h_errno to set h_errno in all funcs. + * nss/nss_dns/dns-network.c: Likewise. + * resolv/getunamaddr.c: Likewise. Also use __set_errno where needed. + * resolv/getnetnamadr.c: Likewise. + * resolv/res_debug.c: Likewise. + * resolv/res_mkquery.c: Likewise. + * resolv/res_query.c: Likewise. + + * libio/clearerr_u.c: It's not necessary to define __ protected + function so don't do it. + * libio/feof_u.c, libio/ferror_u.c, libio/fputc_u.c, + libio/getc_u.c, libio/getchar_u.c, libio/iofflush_u.c: Likewise. + + * libio/fgetc.c: Avoid a warning by casting _IO_funlockfile for + the cleanup registrar. + * libio/fputc.c, libio/freopen.c, libio/fseek.c, libio/getc.c, + libio/getchar.c, libio/iofclose.c, libio/iofflush.c, + libio/iofgetpos.c, libio/iofgets.c, libio/iofputs.c, + libio/iofread.c, libio/iofsetpos.c, libio/ioftell.c, + libio/iofwrite.c, libio/iogetdelim.c, libio/iogets.c, + libio/ioputs.c, libio/iosetbuffer.c, libio/iosetvbuf.c, + libio/ioungetc.c, libio/putc.c, libio/putchar.c, libio/rewind.c: + Likewise. - * libc.map: Add _rpc_dtablesize. Reported by Thorsten Kukuk. + * locale/programs/ld-ctype.c: Include <alloca.h>. - * db/makedb.c: Exit with error if number of option is incorrect. + * login/login_tty.c: Get login_tty prototype from <utmp.h>. - * math/Makefile (tests): Add test-fenv. - * math/test-fenv.c: New file. Test for exception handling functions. - Written mainly by Andreas Jaeger. + * posix/sys/types.h: Change #defines to typedefs. This is looking + forward to more comprehensive namespace cleanups for C++. + * posix/unistd.h: Likewise for ssize_t. - * sysdeps/i386/fpu/fraiseexcpt.c: Correct implementation. + * pwd/getpw.c: Prototype and rename getpw -> __getpw and add a + weak alias. - * sysdeps/mach/hurd/abi-tag.h: Set tag to 1 for Hurd and kernel - compatibility version to 0. Reported by Roland McGrath. + * resolv/base64.c: Don't do `for (NULL; ...)' as it causes + `statement with no effect' warnings. + * resolv/inet_neta.c: Include <string.h> for strlen. -1997-06-27 18:49 Philip Blundell <Philip.Blundell@pobox.com> + * stdio-common/getline.c: Undef ssize_t before libio redefinition. + * stdio-common/tstgetln.c: Same. De-ansidecl-ify. + * stdio-common/vfprintf.c: Same for va_list. + * stdio-common/vfscanf.c: Same. + * stdio-common/reg-printf.c: Prototype the __ function. + * stdio-common/scanf.c [USE_IN_LIBIO]: Include <libioP.h> for + _IO_vscanf declaration. - * 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. + * string/tester.c: Tsk, tsk. Don't cast pointers to int, + but to unsigned long for the health of 64-bit systems. -1997-06-27 10:44 Fila Kolodny <fila@ibi.com> + * sunrpc/svc_udp.c: Define MAX only if we don't have it yet. + Many system's <sys/param.h> pulls this in. - * sysdeps/mach/hurd/dl-sysdep.c: Make _dl_sysdep_read_whole_file weak. + * sysdeps/generic/dl-cache.c: Kill the bottom half of the + patch doubled file. -1997-06-27 00:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/generic/pty.c (forkpty): Get login_tty decl from <utmp.h> + instead of defining it locally. - * elf/dl-open.c (_dl_open): Check versions of all newly loaded - objects, including dependencies. + * sysdeps/posix/sigvec.c: Prototype wrapper_handler and convert_mask. + * sysdeps/stub/chflags.c: Prototype chflags. + * sysdeps/stub/fchflags.c: Prototype fchflags. + * sysdeps/stub/sstk.c: Prototype sstk. - * elf/dl-runtime.c (fixup): Always use version information if - available. + * sysdeps/unix/alpha/sysdep.S: Add strong alias from errno + variable to __errno. Update __syscall_error to store to both + the global and per-thread variables. -1997-06-26 12:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/init-first.c: Change include of + init-first.h from "" to <> as "" does not search the include path. + Prototype _dl_start. - * sysdeps/m68k/bits/nan.h: Renamed from sysdeps/m68k/nan.h. +Sun Sep 29 14:41:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-06-26 11:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Make it a + pattern rule to get the right stem. - * 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. +Sat Sep 28 01:30:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-06-27 02:17 Ulrich Drepper <drepper@cygnus.com> + * Makefile ($(objpfx)version-info.h): Fix typo in previous change. - * sysdeps/unix/sysv/linux/syscalls.list: Add quotactl. - Reported by a sun. +Sat Sep 28 00:44:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-06-26 21:50 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/posix/euidaccess.c (__set_errno): Fix typo. - * 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. +Sat Sep 28 00:40:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * Makerules: Move definition of load-map-file before use. - (lib%.so): Depend on load-map-file, not lib%-map. + * malloc/free.c (_free_internal): Don't call free recursively, use + the internal functions instead. - * manual/lgpl.texinfo: Update copyright. +Sat Sep 28 00:23:20 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-06-24 09:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/posix/tempname.c (__stdio_gen_tempname) [USE_IN_LIBIO && + _IO_MTSAFE_IO]: Allocate and initialize the file lock. - * 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. +Fri Sep 27 23:58:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/m68k/fpu/bits/mathdef.h (FP_ILOGB0): Correct value. + * catgets/gencat.c (main): Print version information on stdout, + not stderr. + * db/makedb.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. -1997-06-26 17:06 Ulrich Drepper <drepper@cygnus.com> +Mon Sep 30 00:14:26 1996 Ulrich Drepper <drepper@cygnus.com> + + Add implementation of netgroup. + * inet/Makefile (distributes): Add netgroup.h. + (routines): Add getnetgrent.c and getnetgrent_r.c. + * inet/getnetgrent.c: New file. + * inet/getnetgrent_r.c: New file. + * inet/netgroup.h: New file. + * netgroup.h: New file. + * nsswitch.h: New file. + * nss/Makefile (databases): Add getgrp. + * nss/databases.def: Add netgroup. + * nss/db-Makefile: Add rules for netgroup. + * nss/netgrp-lookup.c: New file. + * nss/nss.h: Add new status value NSS_STATUS_RETURN which will + always return without a check of the transition table. + * nss/nsswitch.h (struct service_user): Extend actions array to + five elements. + * nss/nsswitch.c (__nss_next): Allow NSS_STATUS_RETURN as legal + status value. + (nss_parse_service_list): Initialize action for NSS_STATUS_RETURN + to NSS_ACTION_RETURN. + * nss/nss_db/db-netgrp.c: New file. + * nss/nss_files/files-netgrp.c: New file. + * nss/nsswitch.conf: Add entry for netgroup. + * resolv/netdb.h: Add prototypes for netgroup functions. - * 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>. + * nss/nss_db/db-XXX.c: Use `enum nss_status' type when status + value is used. - * hurd/hurdsig.c (_hurdsig_init): Call _hurd_self_sigstate. - Patch by Kazumoto Kojima <kkojima@kk.info.kanagawa-u.ac.jp>. +Sun Sep 29 12:55:58 1996 Ulrich Drepper <drepper@cygnus.com> -1997-06-26 09:02 Fila Kolodny <fila@ibi.com> + * sysdeps/unix/sysv/linux/syscalls.list: Change function name for + _llseek to _llseek (not llseek). + Reported by Matthias Urlichs <smurf@smurf.noris.de>. - * sysdeps/mach/hurd/abi-tag.h: New file. +Sun Sep 29 05:34:32 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/mach/bits/libc-lock.h: Add typedef for __libc_key_t. - * sysdeps/stub/bits/libc-lock.h: Likewise. + * inet/rcmd.c: Remove definition of MIN. - * 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. +Sat Sep 28 14:22:51 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/mach/hurd/select.c (__select): Change MACH_MSG_SIZE_INTEGER_T - to sizeof(MACH_MSG_TYPE_INTEGER_T). + * dirent/readdir_r.c: Removed. We indeed need a real implementation. + * sysdeps/unix/readdir_r.c: New file. + * sysdeps/unix/readdir.c: Remove check for correct parameter + values. Let them simply die. + * manual/filesys.texi: Document readdir_r. - * io/ftw.c (ftw_startup): Use PATH_MAX only if defined. + * sysdeps/gnu/errlist.awk: Define _sys_errlist as `const char* const'. + Proposed by Per Abrahamsen <abraham@dina.kvl.dk>. - * sysdeps/mach/hurd/open.c (__open): Fix type of parameter file. +Sat Sep 28 03:02:49 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Add closefn to - paramater list since it is used. + * dirent/Makefile (routines): Add readdir_r. + * dirent/readdir_r.c: New file. Wrapper around readdir.c. + * dirent/dirent.h: Add prototype for readdir_r. - * sysdeps/mach/hurd/rename.c (rename): Fix type of paramater new. + * misc/hsearch_r.c (ENTRY): Make field `used' of type `unsigned int' + to prevent warnings. - * sysdeps/mach/hurd/sigaltstack.c (sigaltstack): Change parameter from - ss to argss. + * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): + Initialize `result'. -1997-06-24 14:02 Andreas Jaeger <aj@arthur.rhein-neckar.de> +Sat Sep 28 01:16:42 1996 Ulrich Drepper <drepper@cygnus.com> - * Rules: Update copyright. - * mach/Machrules: Likewise. + * sysdeps/generic/strsep.c: Rename to __strsep and make strsep + weak alias. + * string/string.h: Add prototype for __strsep. + * misc/mntent_r.c: Use __strsep instead of strsep to keep + namespace clean. -1997-06-26 14:28 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/stub/nanosleep.c: Rename to __libc_nanosleep and make + __nanosleep and nanosleep weak aliases. + * sysdeps/unix/sysv/linux/syscalls.list: Add __nanosleep as weak + alias. + * sysdeps/unix/sysv/linux/sleep.c: Call __nanosleep instead of + nanosleep to keep namespace clean. - * configure.in: Fix accidently removed AC_OUTPUT line. - Reported by Andreas Jaeger. + * sysdeps/posix/ttyname.c (ttyname): Add cast to prevent warning. + * sysdeps/posix/ttyname_r.c (ttyname_r): Likewise. + * sysdeps/posix/getcwd.c (__getcwd): Likewise. - * time/strftime.c: Don't define `memcpy' macro if HAVE_MEMCPY is - defined. Reported by Akim Demaille <demaille@inf.enst.fr>. + * sysdeps/unix/nlist.c: Use ISO C definition since we don't always + have prototype. - * 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>. + * login/Makefile (headers): Add pty.h. + * login/pty.h: New file. + * sysdeps/generic/pty.h: Include <pty.h>. + * login/pututline_r.c: Add cast to prevent warning. -1997-06-23 22:20 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * gmon/gmon.c: Add prototype for __profile_frequency. + (monstartup): Add cast to prevent warning. + * sysdeps/generic/prof-freq.c: Change to use ISO C style definition. - * 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. + * locale/programs/ld-time.c (time_output): Write `era' information + in correct order. -1997-06-26 02:06 Ulrich Drepper <drepper@cygnus.com> +Sat Sep 28 00:11:08 1996 Ulrich Drepper <drepper@cygnus.com> - * posix/Makefile (CFLAGS-regex.c): -DDEBUG was not meant for the - public. + * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias + `adjtimex'. + Set caller for mlock, mlockall, mremap, munlock, and munlockall + to EXTRA. + Reported by Matthias Urlichs <smurf@smurf.noris.de>. + +1996-09-27 Paul Eggert <eggert@twinsun.com> - * Makerules ($(common-objpfx)libc.so): Use $(load-map-file) in - dependency, not $(libc-map). + * strftime.c (strftime): Output incomplete formats like %E + at end of string. - * sysdeps/posix/mk-stdiolim.c: Pretty print. +1996-09-27 Paul Eggert <eggert@twinsun.com> -1997-06-25 15:54 Fila Kolodny <fila@ibi.com> + * strftime.c (strftime): Add support for %EC and %Ey. + Fix support for %EY. This uses the new _nl_get_era_entry function. - * sysdeps/mach/hurd/bits/fcntl.h: Change include of gnu/types.h to - include of bits/types.h. +Fri Sep 27 14:12:27 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/posix/Makefile ($(common-objpfx)bits/stdio_lim.h): Don't - conditionalize this on whether we are cross-compiling. + Security related patch by Elliot Lee <sopwith@redhat.com> and + David Holland <dholland@eecs.harvard.edu>. -1997-06-21 15:47 H.J. Lu <hjl@gnu.ai.mit.edu> + * inet/rexec.c (rexec): Increase size of `num' array from 8 to 32. + * inet/ruserpass.c (ruserpass): Don't allow $HOME envvar to not exist. - * elf/dl-lookup.c (do_lookup): Use default definition - for a default versioned symbol. + * sysdeps/generic/getenv.c (__secure_getenv): New function. Return + NULL when programs runs with SUID or SGID enabled. + * sysdeps/stub/getenv.c: Make __secure_getenv an alias of getenv. + * stdlib/stdlib.h: Add prototype for __secure_getenv. - * elf/dl-version.c (_dl_check_map_versions): Set the hidden field. + * locale/setlocale.c: Use __secure_getenv. + * resolv/res_init.c: Likewise. + * resolv/res_query.c: Likewise. + * inet/ruserpass.c: Likewise. + * sysdeps/posix/tempname.c: Likewise. + * malloc/mtrace.c: Likewise. + * catgets/catgets.c: Likewise. + + Make temporary file handling functions reentrant. + + * stdio-common/tmpnam.c: Rewrite to have own buffer to write + result to. The called __stdio_gen_tempname function must be + thread safe. + * stdio-common/tmpnam_r.c: New file. + * stdio/stdio.h: Add prototype for `tmpnam_r'. + Change prototype for __stdio_gen_tempname. + * stdio/libio.h: Likewise. + * sysdeps/posix/tempname.c: Add new parameters and use them instead + of static buffer. + Don't reset `indeces' when PID changed between calls. + Don't fail for long running programs when index counter once + reached the limit. + * sysdeps/stub/tempname.c: Likewise. + * stdio-common/tempnam.c: Provide local buffer as extra argument + to __stdio_gen_tempname. This makes this function reentrant. + * stdio-common/tmpfile.c: Likewise. + * stdio-common/temptest.c: Provide extra argument to + __stdio_gen_tempname. + * manual/filesys.texi: Describe tmpnam_r and add comments about + reentrancy of the functions. - * elf/dlvsym.c (__dlvsym): Set the hidden field to 1. + * inet/rcmd.c: Fixed address length handling. - * elf/link.h (r_found_version): Add the hidden field. + * sysdeps/posix/mk-stdiolim.c: Count final \0 byte in L_tmpnam value. - * math/test-matherr.c: New file. + * time/strftime.c: Remove unused variables alt_digits and + end_alt_digits. - * math/Makefile (tests): Add test-matherr. - (libm-support): Put back s_matherr. - (static-only-routines, aux): Remove s_matherr. + * sysdeps/unix/sysv/linux/sys/sysinfo.h: Correct prototype names + for get_nprocs and get_nprocs_conf. + * sysdeps/generic/sys/sysinfo.h: Likewise. -1997-06-23 23:39 Ulrich Drepper <drepper@cygnus.com> + * stdlib/test-canon.c: Finally do the right fix. - * string/Makefile (headers): Change bytesex.h to bits/endian.h. - * sysdeps/generic/Makefile: Don't try to generate bytesex.h, but - bits/endian.h. + * misc/Makefile: Only compile force-wrapper when compiling + reentrant libc. - * math/libm-test.c (lgamma_test): Make sure the test of the ilogb - function will not fail because of exceptions. +Fri Sep 27 03:49:56 1996 Ulrich Drepper <drepper@cygnus.com> - * math/math.h: Add warning about use of M_* constants. - Pretty print. + Add support for cancelable system calls. -1997-06-23 11:36 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * csu/initfini.c: Make in crti.o reference to symbol + __libc_force_cancel_wrapper when compiling reentrant version. + * misc/Makefile (routines): Add force-wrapper. + * misc/force-wrapper.c: New file. - * 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. + * posix/system.c: Rename function to __libc_system and make system + a weak alias. + * sysdeps/stub/system.c: Likewise. + * posix/wait.c: Rename function to __libc_wait and make __wait a + weak alias. De-ANSI-fy. + * sysdeps/standalone/read.c: Rename function to __libc_read and + make __read a weak alias. + * sysdeps/stub/read.c: Likewise. + * sysdeps/standalone/write.c: Rename function to __libc_write and + make __write a weak alias. + * sysdeps/stub/write.c: Likewise. + * sysdeps/stub/tcdrain.c: Rename function to __libc_tcdrain and + make tcdrain a weak alias. + * sysdeps/unix/bsd/tcdrain.c: Likewise. + * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise. + * sysdeps/unix/sysv/tcdrain.c: Likewise. + * sysdeps/unix/sysv/linux/tcdrain.c: Likewise. + * sysdeps/unix/bsd/bsd4.4/wait.c: Rename function to __libc_wait + and make __wait a weak alias. + * sysdeps/stub/waitpid.c: Rename function to __libc_waitpid and + make __waitpid a weak alias. + * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise. + * sysdeps/unix/sysv/linux/waitpid.c: Likewise. + * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise. + * sysdeps/unix/common/pause.c: Rename function to __libc_pause + and make pause a weak alias. De-ANSI-fy. - * 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/unix/syscalls.list: Change name for close, fcntl, fsync, + lseek, open, read, and write to have __libc_ prefix and make old + names a weak alias. + * sysdeps/unix/mman/syscalls.list: Likewise for msync. + * sysdeps/unix/sysv/linux/syscalls.list: Likewise for nanosleep. + + * io/creat.c: De-ANSI-fy. + + * sysdeps/unix/sysv/linux/syscalls.list: Add pause. + +Thu Sep 26 19:15:55 1996 Ulrich Drepper <drepper@cygnus.com> + + * misc/mntent.h: Add MNTTYPE_* and MNTOPT_* macros. + Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>. + +Thu Sep 26 14:40:10 1996 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/posix/pathconf.c: Pass descriptor for just opened file + to fpathconf. + Reported by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>. + +Thu Sep 26 04:02:43 1996 Ulrich Drepper <drepper@cygnus.com> + + * locale/programs/locfile.c (write_locale_data): Allocate room + even for file name for LC_MESSAGES locale. + (locafile_read): `tok_era' must be handled as a string list. + * locale/programs/ld-time.c: Finish correction of handling `era'. + * locale/C-time.c (_nl_C_LC_TIME): Add initializer for new fields. + * locale/categories.def: Add postload function for LC_TIME. + * locale/setlocale.c: Make lock global and rename to + __libc_setlocale_lock. + * locale/localeinfo.h (struct era_entry): New type. Used in strftime. + Add prototypes for _nl_get_era_entry and _nl_get_alt_digit. + * locale/lc-time.c (_nl_postload_time): New function. Initialize + lazy intialization. + (_nl_get_era_entry): New function. Return era entry which corresponds + to given year. + (_nl_get_alt_digit): New function. Return string with alternate + digit representation for given number. + + * time/strftime.c (strftime): Use _nl_get_alt_digit to get + string representing alternate digit notation. + +Wed Sep 25 17:31:55 1996 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/generic/waitstatus.h (union wait): Add w_status field. + Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>. + + * elf/rtld.c (dl_main): Process LD_PRELOAD before loading + ld.so.preload. Suggested by David Engel <david@elo.ods.com>. + +Wed Sep 25 13:10:57 1996 Ulrich Drepper <drepper@cygnus.com> + + * catgets/gencat.c (main): Change --version again because RMS wants + the package name in parentheses. + * db/makedb.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. + +Tue Sep 24 01:28:05 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * Makefile ($(objpfx)sysd-dirs): Depend on Subdirs files, command + rewritten. + ($(objpfx)version-info.h): Depend on Banner files, command + rewritten. + +Wed Sep 25 02:44:41 1996 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/sysv/linux/sleep.c: New file. Based on nanosleep. + +Tue Sep 24 21:46:02 1996 Ulrich Drepper <drepper@cygnus.com> + + * shadow/lckpwdf.c (PWD_LOCKFILE): Change to /etc/lock.pwd to be + on the same device as the password file. + * shadow/shadow.h (struct spwd): Change type of numeric fields + to `long int' since there value are days, not seconds. + * shadow/putspent.c: Change casts from time_t to `long int'. + * shadow/sgetspent_r.c (LINE_READER): Likewise. + +Mon Sep 23 23:05:24 1996 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/sysv/linux/errnos.h: Define __set_errno to make + sure the thread specific variable is set as well as the global + variable. + * sysdeps/mach/hurd/errnos.awk: Define macro for source code + compatibility. + * sysdeps/stub/errnos.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise. + + * shadow/putspent.c: Don't include <errno.h>. + + * dirent/scandir.c (scandir): Use __set_errno to set errno + variable. + * elf/dl-load.c (open_path): Likewise. + * inet/rcmd.c (rcmd): Likewise. + (rresvport): Likewise. + * intl/dcgettext.c [!__set_errno]: Define __set_errno. + (DCGETTEXT): Use __set_errno to set errno variable. + * io/fts.c (fts_open): Likewise. + (fts_close): Likewise. + (fts_read): Likewise. + (fts_set): Likewise. + (fts_children): Likewise. + (fts_build): Likewise. + (fts_stat): Likewise. + * io/ftw.c (ftw_dir): Likewise. + (ftw): Likewise. + * io/getwd.c (getwd): Likewise. + * io/lockf.c (lockf): Likewise. + * libio/libioP.h [EINVAL]: Use __set_errno to define MAYBE_SET_EINVAL. + * libio/iofdopen.c (_IO_fdopen): Use MAYBE_SET_EINVAL to errno. + * libio/iogetdelim.c (_IO_getdelim): Likewise. + * libio/fileops.c (_IO_file_open): Use __set_errno to set errno + variable. + * libio/iofgetpos.c (_IO_fgetpos): Likewise. + * libio/iofsetpos.c (_IO_fsetpos): Likewise. + * libio/ioftell.c (_IO_ftell): Likewise. + * locale/loadlocale.c (_nl_load_locale): Likewise. + * locale/nl_langinfo.c (nl_langinfo): Likewise. + * locale/setlocale.c (ERROR_RETURN): Likewise. + * login/getutid_r (__getutid_r): Likewise. + * login/getutline_r (__getutline_r): Likewise. + * login/login.c (tty_name): Likewise. + * login/oututline_r.c (__pututline_r): Likewise. + * malloc/malloc.c (morecore): Likewise. + * misc/efgcvt_r.c (fcvt_r): Likewise. + * misc/hsearch_r.c (hcreate_r): Likewise. + (hdestroy_r): Likewise. + (hsearch_r): Likewise. + * nss/nsswitch.c (__nss_configure_lookup): Likewise. + * nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Likewise. + (_nss_dns_gethostbyaddr_r): Likewise. + * nss/nss_files/files-XXX.c (internal_getent): Likewise. + * nss/nss_files/files-parse.c (parse_list): Likewise. + * posix/confstr.c (confstr): Likewise. De-ANSI-fy. + * posix/execvp.c (execvp): Likewise. + * posix/glob.c: Define __set_errno. + (glob): Use __set_errno to set errno variable. + (glob_in_dir): Likewise. + * pwd/getpw.c: Likewise. De-ANSI-fy. + * pwd/putpwent.c: Likewise. + * resolv/inet_net_ntop.c: Likewise. + * resolv/inet_net_pton.c: Likewise. + * resolv/inet_neta.c: Likewise. + * resolv/inet_ntop.c: Likewise. + * resolv/inet_pton.c: Likewise. + * resolv/res_query.c (res_search): Likewise. + * resolv/res_send.c (Aerror): Likewise. + (Perror): Likewise. + (res_send): Likewise. + * signal/sigaddset.c: Likewise. De-ANSI-fy. + * signal/sigdelset.c: Likewise. + * signal/sigempty.c: Likewise. + * signal/sigfillset.c: Likewise. + * signal/sigismem.c: Likewise. + * stdio/fclose.c: Likewise. + * stdio/feof.c: Likewise. + * stdio/ferror.c: Likewise. + * stdio/fflush.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/fputc.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/getdelim.c: Likewise. + * stdio/gets.c: Likewise. + * stdio/glue.c: Likewise. + * stdio/internals.c: Likewise. + * stdio/memstream.c: Likewise. + * stdio/setvbuf.c: Likewise. + * stdio/ungetc.c: Likewise. + * stdio/vsscanf.c: Likewise. + * stdio-common/reg-printf.c: Likewise. + * stdio-common/vfprintf.c: Likewise. + * stdio-common/vfscanf.c: Likewise. + * stdlib/canonicalize.c: Likewise. + * stdlib/msort.c: Likewise. + * stdlib/random_r.c: Likewise. + * stdlib/strfmon.c: Likewise. + * stdlib/strtod.c: Likewise. + * stdlib/strtol.c: Likewise. + * sunrpc/bindrsvprt.c: Likewise. + * time/asctime.c: Likewise. + * time/localtime.c: Likewise. + * 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/wcstok.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/pty.c: Likewise. + * sysdeps/generic/setenv.c: Likewise. + * sysdeps/generic/speed.c: Likewise. + * sysdeps/generic/sysd-stdio.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/libm-ieee754/k_standard.c: Likewise. + * sysdeps/libm-ieee754/s_ldexp.c: Likewise. + * sysdeps/libm-ieee754/s_ldexpf.c: Likewise. + * sysdeps/libm-ieee754/s_ldexpl.c: Likewise. + * sysdeps/libm-ieee754/w_scalb.c: Likewise. + * sysdeps/libm-ieee754/w_scalbf.c: Likewise. + * sysdeps/libm-ieee754/w_scalbl.c: Likewise. * sysdeps/posix/dup2.c: Likewise. + * sysdeps/posix/euidaccess.c: Likewise. + * sysdeps/posix/fdopen.c: Likewise. * sysdeps/posix/flock.c: Likewise. - * sysdeps/posix/getdtsz.c: Likewise. + * sysdeps/posix/fpathconf.c: Likewise. + * sysdeps/posix/getcwd.c: Likewise. * sysdeps/posix/gettimeofday.c: Likewise. * sysdeps/posix/isatty.c: Likewise. + * sysdeps/posix/isfdtype.c: Likewise. * sysdeps/posix/killpg.c: Likewise. - * sysdeps/posix/mk-stdiolim.c: Likewise. - * sysdeps/posix/profil.c: Likewise. + * sysdeps/posix/mkstemp.c: Likewise. + * sysdeps/posix/mktemp.c: Likewise. + * sysdeps/posix/pathconf.c: Likewise. + * sysdeps/posix/pipestream.c: Likewise. * sysdeps/posix/remove.c: Likewise. * sysdeps/posix/rename.c: Likewise. + * sysdeps/posix/sigintr.c: Likewise. + * sysdeps/posix/signal.c: Likewise. * sysdeps/posix/sigsuspend.c: Likewise. + * sysdeps/posix/sigvec.c: Likewise. + * sysdeps/posix/sleep.c: Likewise. + * sysdeps/posix/sysconf.c: Likewise. + * sysdeps/posix/system.c: Likewise. * sysdeps/posix/tempname.c: Likewise. * sysdeps/posix/truncate.c: Likewise. - * sysdeps/posix/utimes.c: Likewise. - * sysdeps/posix/wait.c: Likewise. + * sysdeps/posix/ttyname.c: Likewise. + * sysdeps/posix/ttyname_r.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. @@ -6451,8 +5753,6 @@ * 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. @@ -6464,13 +5764,14 @@ * 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/dirfd.c: Likewise. * sysdeps/stub/dup.c: Likewise. * sysdeps/stub/dup2.c: Likewise. - * sysdeps/stub/exc2signal.c: Likewise. + * sysdeps/stub/euidaccess.c: Likewise. * sysdeps/stub/execve.c: Likewise. + * sysdeps/stub/fchdir.c: Likewise. * sysdeps/stub/fchflags.c: Likewise. + * sysdeps/stub/fchmod.c: Likewise. * sysdeps/stub/fchown.c: Likewise. * sysdeps/stub/fcntl.c: Likewise. * sysdeps/stub/fdopen.c: Likewise. @@ -6478,23 +5779,26 @@ * 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/getdents.c: Likewise. * sysdeps/stub/getdomain.c: Likewise. * sysdeps/stub/getdtsz.c: Likewise. * sysdeps/stub/getegid.c: Likewise. + * sysdeps/stub/getenv.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/getlogin.c: Likewise. + * sysdeps/stub/getlogin_r.c: Likewise. + * sysdeps/stub/getpagesize.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. @@ -6507,36 +5811,28 @@ * 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/madvice.c: Likewise. * sysdeps/stub/mkdir.c: Likewise. * sysdeps/stub/mkfifo.c: Likewise. + * sysdeps/stub/mkstemp.c: Likewise. + * sysdeps/stub/mktemp.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/msync.c: Likewise. * sysdeps/stub/munmap.c: Likewise. * sysdeps/stub/nanosleep.c: Likewise. * sysdeps/stub/nice.c: Likewise. @@ -6545,15 +5841,17 @@ * sysdeps/stub/opendir.c: Likewise. * sysdeps/stub/pathconf.c: Likewise. * sysdeps/stub/pause.c: Likewise. + * sysdeps/stub/pipe.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/raise.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/readv.c: Likewise. * sysdeps/stub/reboot.c: Likewise. * sysdeps/stub/recv.c: Likewise. * sysdeps/stub/recvfrom.c: Likewise. @@ -6588,6 +5886,7 @@ * sysdeps/stub/setgroups.c: Likewise. * sysdeps/stub/sethostid.c: Likewise. * sysdeps/stub/sethostname.c: Likewise. + * sysdeps/stub/setitimer.c: Likewise. * sysdeps/stub/setjmp.c: Likewise. * sysdeps/stub/setlogin.c: Likewise. * sysdeps/stub/setpgid.c: Likewise. @@ -6599,13 +5898,17 @@ * sysdeps/stub/setsockopt.c: Likewise. * sysdeps/stub/settimeofday.c: Likewise. * sysdeps/stub/setuid.c: Likewise. + * sysdeps/stub/shmat.c: Likewise. * sysdeps/stub/shmctl.c: Likewise. + * sysdeps/stub/shmdt.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/signal.c: Likewise. + * sysdeps/stub/sigpause.c: Likewise. * sysdeps/stub/sigpending.c: Likewise. * sysdeps/stub/sigprocmask.c: Likewise. * sysdeps/stub/sigreturn.c: Likewise. @@ -6613,11 +5916,11 @@ * sysdeps/stub/sigstack.c: Likewise. * sysdeps/stub/sigsuspend.c: Likewise. * sysdeps/stub/sigvec.c: Likewise. + * sysdeps/stub/sleep.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. @@ -6625,6 +5928,7 @@ * sysdeps/stub/symlink.c: Likewise. * sysdeps/stub/sync.c: Likewise. * sysdeps/stub/syscall.c: Likewise. + * sysdeps/stub/sysconf.c: Likewise. * sysdeps/stub/sysd-stdio.c: Likewise. * sysdeps/stub/system.c: Likewise. * sysdeps/stub/tcdrain.c: Likewise. @@ -6633,12 +5937,12 @@ * sysdeps/stub/tcgetattr.c: Likewise. * sysdeps/stub/tcgetpgrp.c: Likewise. * sysdeps/stub/tcsendbrk.c: Likewise. + * sysdeps/stub/tcsetattr.c: Likewise. * sysdeps/stub/tcsetpgrp.c: Likewise. * sysdeps/stub/telldir.c: Likewise. - * sysdeps/stub/thread_state.h: Likewise. + * sysdeps/stub/tempname.c: 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. @@ -6650,7931 +5954,4594 @@ * 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/writev.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/closedir.c: Likewise. * sysdeps/unix/fxstat.c: Likewise. - * sysdeps/unix/mk-local_lim.c: Likewise. + * sysdeps/unix/getlogin.c: Likewise. + * sysdeps/unix/getlogin_r.c: Likewise. * sysdeps/unix/mkdir.c: Likewise. * sysdeps/unix/nice.c: Likewise. + * sysdeps/unix/nlist.c: Likewise. + * sysdeps/unix/opendir.c: Likewise. + * sysdeps/unix/readdir.c: Likewise. * sysdeps/unix/rmdir.c: Likewise. * sysdeps/unix/stime.c: Likewise. - * sysdeps/unix/telldir.c: Likewise. + * sysdeps/unix/xmknod.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/sigsuspend.c: Likewise. + * sysdeps/unix/bsd/tcflow.c: Likewise. + * sysdeps/unix/bsd/tcflush.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/bsd/ultrix4/sysconf.c: 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/gethostid.c: Likewise. * sysdeps/unix/sysv/linux/gethostname.c: Likewise. - * sysdeps/unix/sysv/linux/if_index.c: Likewise. + * sysdeps/unix/sysv/linux/getsysstats.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. - -1997-06-21 16:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * stdlib/strtod.c (INTERNAL (STRTOF)): Fix recognition of Infinity - and NaN strings. - -1997-06-20 21:52 Andreas Schwab <schwab@issan.informatik.uni-dortmund.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. - - * sysdeps/m68k/fpu/e_scalb.c: Rewritten. - * sysdeps/m68k/fpu/e_scalbf.c: Adapted. - * sysdeps/m68k/fpu/e_scalbl.c: Adapted. - - * 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. - - * 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. - -1997-06-03 15:59 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Makerules (+depfiles): Add dependencies for $(test-srcs). - (distinfo-vars): Add test-srcs. - -1997-06-21 17:35 Ulrich Drepper <drepper@cygnus.com> - - * argp/argp.h: Remove extra #endif. Pretty print. - * md5-crypt/md5.h: Likewise. - - * ctype/ctype.h: Don't use <gnu/types.h> but <bits/types.h>. - * wctype/wctype.h: Likewise. - - * sysdeps/unix/sysv/linux/Makefile: Build stdio_lim.h in correct - directory. - - * 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. - -1997-06-21 02:48 Ulrich Drepper <drepper@cygnus.com> - - * config.h.in: Add DO_STATIC_NSS. - * config.make.in: Add build-static-nss. - - * elf/eval.c: Use __getdelim instead of __getline. - - * locale/programs/locale.c: Correct comment. - - * manual/libc.texinfo: Update copyright and date. - Remove A4 option. - - * 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. - - * 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. - - * 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. - - * 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. - - * 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. - -1997-06-20 17:59 Kazumoto Kojima <kkojima@kk.info.kanagawa-u.ac.jp> - - * 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. - - * 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. - - * md5-crypt/Makefile: Link md5test program with md5.o. - - * stdio-common/temptest.c: Don't use __stdio_gen_tempname which - is not exported by the libc.so. - - * stdio-common/vfscanf.c: Correct scanning of strings after last - change. - - * sysdeps/unix/sysv/linux/i386/sysdep.S: Use .comm to define errno. - -1997-06-19 07:37 H.J. Lu <hjl@gnu.ai.mit.edu> - - * time/tzfile.c (__tzfile_read): Store getc () return in int. - -1997-06-13 Miles Bader <miles@gnu.ai.mit.edu> - - * 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_(). - -1997-06-12 Miles Bader <miles@gnu.ai.mit.edu> - - * 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. - -1997-06-11 Miles Bader <miles@gnu.ai.mit.edu> - - * 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. - -1997-06-18 Miles Bader <miles@gnu.ai.mit.edu> - - * string/Makefile (routines): Add argz-replace. - -1997-06-16 00:16 Miles Bader <miles@gnu.ai.mit.edu> - - * 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. - -1997-06-17 22:18 Mark Kettenis <kettenis@phys.uva.nl> - - * login/programs/utmpd.c (main): Improve signal handling. - - * 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. - - * login/programs/request.c (do_pututline): - Don't fail if connection->position is -1 on entry. - -1997-06-15 16:32 Mark Kettenis <kettenis@phys.uva.nl> - - * login/utmp_file.c (updwtmp_file): Use the same method for - appending an entry as in pututline_file. - -1997-06-11 18:59 Mark Kettenis <kettenis@phys.uva.nl> - - * 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. - -1997-06-18 00:11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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. - -1997-06-17 22:17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * libc.map: Add more symbols. - -1997-06-18 12:01 Ulrich Drepper <drepper@cygnus.com> - - * manual/Makefile (install): Make sure `dir' file exists if we use - install-info. - -1997-06-17 19:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * manual/Makefile (info): Depend on dir-add.info. + * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise. + * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/ioperm.c: Likewise. + * sysdeps/unix/sysv/linux/i386/brk.c: Likewise. + * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/brk.c: Likewise. -1997-06-17 17:19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sunrpc/clnt_tcp.c: Protect declaration of errno by #ifndef. + * sunrpc/clnt_udp.c: Likewise. + * sunrpc/bindrsvprt.c: Likewise. + * sunrpc/pm_getmaps.c: Likewise. + * sunrpc/pmap_rmt.c: Likewise. + * sunrpc/svc.c: Likewise. + * sunrpc/svc_run.c: Likewise. + * sunrpc/svc_tcp.c: Likewise. + * sunrpc/svc_udp.c: Likewise. - * elf/ldd.bash.in: Fix spacing in message. + * sysdeps/generic/strtok.c: Don't check argument, just crash. + * sysdeps/generic/strtok_r.c: Likewise. -1997-06-17 14:28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/stub/start.c: Make __errno a strong alias of errno. + * sysdeps/unix/start.c: Likewise. De-ANSI-fy. + * sysdeps/unix/sparc/start.c: Likewise. + * sysdeps/standalone/m68k/m68020/start.S: Likewise. + * sysdeps/unix/sysv/irix4/start.c: Likewise. + * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise. + * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. - * elf/do-rel.h (elf_dynamic_do_rel): Always use version - information if available. +Mon Sep 23 17:54:57 1996 Ulrich Drepper <drepper@cygnus.com> -1997-06-17 11:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * catgets/gencat.c (main): Put package name in --version message + in parantheses. Reported by Jim Meyering. + * db/makedb.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. - * 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/fpu/__math.h (tan): Make sure gcc knows we use + two registers. Patch by John Bowman. -1997-06-17 00:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Sat Sep 21 15:08:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. - -1997-06-18 11:46 Ulrich Drepper <drepper@cygnus.com> - - * 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. - -1997-06-16 23:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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. - - * sysdeps/m68k/fpu/s_remquo.c: Remove FIXME and special case for - quotient. - - * 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. - - * 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. + * sysdeps/mach/libc-lock.h: Fix comment. + * sysdeps/stubs/libc-lock.h: Likewise. - * manual/Makefile (dir-add.texi): Also look in indirectly included - files. +Sat Sep 21 13:50:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-06-16 23:15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * libio/genops.c (_IO_init) [_IO_MTSAFE_IO]: Dereference pointer + to lock when passing it to __libc_lock_init macro. + (_IO_default_finish) [_IO_MTSAFE_IO]: Dereference pointer to lock + when passing it to __libc_lock_fini macro. - * 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. +Sat Sep 21 14:35:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.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. + * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER) + [_LIBC_REENTRANT]: Add missing semicolon. -1997-06-14 19:19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/m68k/sysdep.S: Move inclusion of + sysdep.h to the top outside of #ifndef PIC. Don't include errnos.h. + Use the ENTRY macro. - * sysdeps/unix/sysv/linux/arm/Dist: New file. +Sat Sep 21 14:33:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-06-14 17:59 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * libio/Makefile: Make `all' the default target. + * po/Makefile: Likewise. - * 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. +Mon Sep 23 15:49:47 1996 Ulrich Drepper <drepper@cygnus.com> -1997-06-16 03:07 Ulrich Drepper <drepper@cygnus.com> + * stdlib/test-canon.c: Correct patch from Thu Sep 12 23:01:16 1996. + I applied it incorrectly. + * sysdeps/m68k/fpu/s_scalbn.c: Likewise. + * sysdeps/m68k/fpu/s_scalbnf.c: Likewise. + * sysdeps/m68k/fpu/s_scalbnl.c: Likewise. - * sysdeps/libm-ieee754/k_standard.c: Undo change of Tue Aug 6 - 01:13:56 1996. +Mon Sep 23 03:00:10 1996 Ulrich Drepper <drepper@cygnus.com> -1997-06-16 00:54 Ulrich Drepper <drepper@cygnus.com> + * shadow/sgetspent_r.c (LINE_PARSER): Accept empty 9th field. + Patch by NIIBE Yutaka <gniibe@mri.co.jp>. - * libc.map: Add more symbols. + * shadow/sgetspent_r.c (LINE_PARSER): Don't accept any chars after + 9th field. - * Makerules (load-map-file): Currectly handle missing map file. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc] + (sysdep_headers): Add sys/debugreg.h, sys/kd.h, sys/soundcard.h, + and sys/vt.h. + * sysdeps/unix/sysv/linux/sys/debugreg.h: New file. + * sysdeps/unix/sysv/linux/sys/kd.h: New file. + * sysdeps/unix/sysv/linux/sys/soundcard.h: New file. + * sysdeps/unix/sysv/linux/sys/vt.h: New file. + Reported by NIIBE Yutaka <gniibe@mri.co.jp>. -1997-06-15 17:00 Philip Blundell <Philip.Blundell@pobox.com> +Thu Sep 26 13:44:29 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - * configure.in: Correct detection of generic uname implementation. + * hurd/Makefile (installed-sunrpc-headers): New variable. + (sunrpc-headers): New variable. + (install-headers-nosubir): Depend on $(installed-sunrpc-headers), + not just <rpc/netdb.h>. + ($(installed-sunrpc-headers)): Provide rule for all of these. -1997-06-15 23:19 Ulrich Drepper <drepper@cygnus.com> +Mon Sep 23 15:31:04 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - * math/libm-test.c: Fix typos. Patch by Andreas Jaeger. + * hurd/Makefile ($(includedir)/rpc/netdb.h): There is no make + variable `top_srcdir' in libc; use $(..) instead. - * libc.map: Add __nss_configure_lookup. Reported by Thorsten Kukuk. + * sysdeps/mach/hurd/Makefile (rtld-installed-name): Delete special + definition. It was a *Mistake*. (With a capital M.) -1997-06-15 00:43 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/mach/getsysstats.c (__get_nprocs): Renamed from + __get_nproc. + (__get_nprocs_conf): Renamed from __get_nproc_conf. - * 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. +Sun Sep 22 15:18:41 1996 Ulrich Drepper <drepper@cygnus.com> - * libc.map: Add more symbols. - * resolv/libresolv.map: Likewise. + * sysdeps/unix/sysv/linux/init-first.c: Define dummy function + `_dl_start' so that linking fails if this file should ever be used + in ld.so. - * db/libdb.map: Add __dbopen. Patch by HJ Lu. + * catgets/gencat.c (main): Change --version message according to + RMS' last standard revision. + * db/makedb.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. - * libio/stdio.h: Remove "optmizations" for vfscanf and vsscanf. +Sat Sep 21 23:42:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - * locale/programs/localedef.c: Add normalize_codeset function. We - don't want to use the _nl_normalize_codeset functions from libc. + * sysdeps/mach/getsysstats.c: Include <sys/sysinfo.h>. + (__get_nproc_conf): New function. - * 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. +Sun Sep 22 03:40:52 1996 Ulrich Drepper <drepper@cygnus.com> -1997-06-14 12:45 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * resolv/resolv.h: Update to bind-4.9.5-T4B. + * resolv/base64.c: Likewise. + * resolv/res_debug.c: Likewise. + * resolv/res_query.c: Likewise. + * resolv/gethnamaddr.c: Likewise. + * nss/nss_dns/dns-host.c: Likewise. + * resolv/res_comp.c: Likewise. + * resolv/res_send.c: Likewise. + * resolv/arpa/nameser.h: Likewise. Attention: MAXDNAME is much + higher now. + + * resolv/Banner: New file. + * resolv/Makefile (distribute): Add Banner. + +Sat Sep 21 19:15:24 1996 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/stub/getsysstats.c: New file. + * sysdeps/unix/sysv/linux/getsysstats.c: New file. + + * misc/Makefile (headers): Add sys/sysinfo.h. + (routines): Add getsysstats. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc] + (sysdep_headers): Remove sys/sysinfo.h. + * sysdeps/generic/sys/sysinfo.h: New file. + * sysdeps/unix/sysv/linux/sys/sysinfo.h: Add prototype for get_nprocs, + get_phys_pages, and get_avphys_pages. + + * misc/Makefile (routines): Add mntent_r. + * misc/mntent_r.c: New file. + * misc/mntent.c: Remove all functions but getmntent and use + __getmntent_r. + * misc/mntent.h: Add prototype for __getmntent_r. + * misc/fstab.c: Use __getmntent_r function instead of getmntent. + This will not clobber the state in getmntent. + + * sysdeps/generic/confname.h: Add _SC_PROCESSORS_CONF, + _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES, _SC_AVPHYS_PAGES, + _SC_ATEXIT_MAX, and _SC_PASS_MAX. + * sysdeps/stub/sysconf.c: Add handling _SC_PROCESSORS_CONF and + _SC_NPROCESSORS_ONLN by calling __get_nprocs, _SC_PHYS_PAGES by + calling __get_phys_pages, _SY_AVPHYS_PAGES by calling + __get_avphys_pages, _SC_ATEXIT_MAX and _SC_PASS_MAX. + * sysdeps/posix/sysconf.c: Likewise. + * posix/getconf.c (vars): Add _NPROCESSORS_CONF, _NPROCESSORS_ONLN, + _PHYS_PAGES, _AVPHYS_PAGES, ATEXIT_MAX, and PASS_MAX entries. + +Sat Sep 21 05:20:36 1996 Ulrich Drepper <drepper@cygnus.com> + + * version.h (VERSION): Bump to 1.95. + + * Make-dist (+tsrcs): Don't filter out files in subdirs which + match files in the sysdeps hierachy (welcome back, + sys/syscall.h!). + + * resolv/Makefile (libresolv-routines): Remove getnetnamad. + +Sat Sep 21 03:00:19 1996 Ulrich Drepper <drepper@cygnus.com> + + * locale/loadlocale.c (_nl_free_locale): Remove function. + * locale/localeinfo.h: Remove prototype for _nl_free_locale. + * locale/setlocale.c (setlocale): Don't free locale data of + categories which succeeded to load after a wrong or missing data + file was observed. + + * locale/setlocale (setlocale): Initialize NEWNAME correctly so + that it works even when the locale data is not used. + + * stdlib/random_r.c: Fix typo in comment. + * stdlib/drand48-iter.c: Likewise. + * stdlib/drand48.c: Likewise. + * stdlib/erand48.c: Likewise. + * stdlib/jrand48.c: Likewise. + * stdlib/lcong48.c: Likewise. + * stdlib/lrand48.c: Likewise. + * stdlib/mrand48.c: Likewise. + * stdlib/nrand48.c: Likewise. + * stdlib/random.c: Likewise. + * stdlib/seed48.c: Likewise. + * stdlib/srand48.c: Likewise. + * misc/search.h: Likewise. + * misc/hsearch.c: Likewise. + * misc/hsearch_r.c: Likewise. - * nis/nss_nis/nis-ethers.c: Add static to internal_nis_setetherent. +Sat Sep 21 14:59:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - * nis/nss_nis/nis-proto.c: Add static to internal_nis_setprotoent. + * sysdeps/mach/getsysstats.c: New file. - * nis/nss_nisplus/nisplus-hosts.c: Rewrite parser and fix - _nss_nisplus_gethostbyaddr_r interface. + * shlib-versions (*-*-gnu*): Increment libc to 0.2 for upcoming + binary distribution. - * nis/libnsl.map: Add all GLOBAL functions. + * sysdeps/mach/hurd/Makefile (rtld-installed-name): Provide + definition to override dangerous one in Makeconfig. -1997-06-13 18:32 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * hurd/Makefile (install-headers-nosubdir): Install <rpc/netdb.h>. + ($(includedir)/rpc/netdb.h): New rule. + [ This is XXX until sunrpc can be built; <rpc/netdb.h> is + essential. ] - * 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. +Fri Sep 20 16:06:06 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> -1997-06-08 10:54 H.J. Lu <hjl@gnu.ai.mit.edu> + * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Add definition, + to guarantee link errors if this is included in ld.so. - * 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. +Thu Sep 19 21:50:55 1996 Ulrich Drepper <drepper@cygnus.com> -1997-06-14 17:32 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/posix/gettimeofday.c (__gettimeofday): Use localtime_r + instead of localtime. + Reported by Matthias Urlichs. - * math/libm.map: Add inline functions, global variables. + * shlib-versions: Remove version number for libcrypt. + * features.h: Define __USE_REENTRANT if _REENTRANT or _THREAD_SAFE. + * libc-symbols.h: Define _REENTRANT while compiling libc. -1997-06-14 00:39 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location): + Define even if !_LIBC_REENTRANT. + * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location): + Likewise. - * libc.map: Add more libio functions which are used in libio.h. + * sysdeps/posix/cuserid.h: Remove prototype for geteuid(). + De-ANSI-fy. - * login/Makefile (libutil-routines): Move updwtmp to ... - (routines): ...here. - Suggested by Mark Kettenis <kettenis@phys.uva.nl>. + * MakeTAGS ($P/libc.pot): Generate correctly formed header. + * po/header.pot: Correct title line. + * po/nl.po: Update. - * sysdeps/stub/s_erfl.c: Add stub definition of erfcl. - Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>. +Thu Sep 19 18:59:55 1996 Ulrich Drepper <drepper@cygnus.com> -1997-06-13 21:10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * Makeconfig (soversions.mk): Prefer shared lib version numbers + is add ons over version in libc itself. - * nis/nis_add.c (nis_add): Create object name only if not set. + * sysdeps/unix/sysv/linux/i386/sysdep.S: Include <sysdep.h>. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Prevent multiple + inclusion. - * nis/nis_clone.c: Use calloc instead of malloc to prevent - RPC encode errors. + * libio/iofgets.c: Use __flockfile and __funlockfile instead of + _IO_flockfile and _IO_funlockfile resp. - * 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. + * locale/categories.def: Partly support for correct `era' handling + in LC_TIME category. + * locale/langinfo.h: Likewise. + * locale/programs/ld-time.c: Likewise. + * locale/localeinfo.h: Change comment a bit. -1997-06-13 14:17 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * malloc/memalign.c: Don't use goto, not necessary anymore. +1996-09-18 Paul Eggert <eggert@twinsun.com> - * 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. + * time/mktime.c (ydhms_tm_diff): Work correctly even if year + is negative, or if time_t is unsigned. + * time/strftime.c (tm_diff): Work correctly even if tm_year + is near INT_MIN. -1997-06-13 12:19 Ulrich Drepper <drepper@cygnus.com> +Tue Sep 17 16:14:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * elf/rtld.c: Print version information if LD_TRACE_LOADED_OBJECT - and LD_VERBOSE are given. + * sysdeps/m68k/fpu/__math.h (__inline_mathop): Changed to generate + all three versions of the math function. + (__inline_mathopf, __inline_mathopl): Removed. + (__inline_functions): New temporary definition containing all + non-trivial inline functions. - * elf/ldd.sh.in: Add -v|--verbose option. Add author information - as per Coding Standard. - * elf/ldd.bash.in: Likewise. +Wed Sep 18 00:25:41 1996 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. - - * posix/unistd.h: Fix comment for getcwd. - - * 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. - - * sunrpc/Makefile: Adopt comment for real situation. - - * 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/i386/sysdep.h (SYSCALL_ERROR_HANDLER): - Add .type and .size. - -1997-06-12 13:32 Philip Blundell <Philip.Blundell@pobox.com> - - * libc/sysdeps/unix/arm/brk.S: New file. - * libc/sysdeps/unix/arm/sysdep.S: Likewise. - * libc/sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise. - -1997-06-11 11:51 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent): - Check if we have shadow information. - -1997-06-08 19:33 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * 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. - - * nis/nis_removemember (nis_removemember): Fix for loop. - -1997-06-12 12:45 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. + * time/strftime.c (strftime): The T_FMT_AMPM string may be empty. -1997-06-12 03:08 Philip Blundell <Philip.Blundell@pobox.com> +Tue Sep 17 20:27:18 1996 Ulrich Drepper <drepper@cygnus.com> - * nss/getXXbyYY_r.c (do_weak_alias): Remove extra parentheses. + * math/Makefile (extra-libs-others): Use $(extra-libs) instead + of $(extra-libc). -1997-06-11 13:22 Ulrich Drepper <drepper@cygnus.com> +Tue Sep 17 17:09:44 1996 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>. + * sysdeps/stub/fpu_control.h: Correct end of file comment. -1997-06-11 10:47 Philip Blundell <Philip.Blundell@pobox.com> +Tue Sep 17 05:39:18 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/net/if_arp.h: Add two new hardware types. + * stdio-common/bug3.c, stdio-common/bug4.c, stdio-common/bug5.c, + stdio-common/test-popen.c: Remove temporary files after test. + * stdio-common/bug5.c: Use `system' instead of `execlp'. + Patches by Andreas Jaeger. -1997-06-10 11:31 H.J. Lu <hjl@gnu.ai.mit.edu> + * stdio-common/bug5.c: Create string for `system' argument to + make sure the input and output file names are really correct. - * sysdeps/powerpc/strlen.s: Use -0x101 instead of 0xfffffeff - for a signed 16-bit value. +Sun Sep 15 12:46:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-06-07 07:54 H.J. Lu <hjl@gnu.ai.mit.edu> + * configure.in: If $os contains a hyphen add the part before the + hyphen to $ostry. - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c - (_dl_sysdep_read_whole_file): Deleted. +Sun Sep 15 18:14:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/powerpc/fenvbits.h (__FE_ALL_INVALID): Changed - to FE_ALL_INVALID. + * sysdeps/m68k/fpu/__math.h (__ieee754_pow, __ieee754_powf, + __ieee754_powl): Rename local variable i to __i. + (__ieee754_atan2, __ieee754_atan2f, __ieee754_atan2l): New inline + functions. + * sysdeps/m68k/fpu/e_atan2.c, sysdeps/m68k/fpu/e_atan2f.c, + sysdeps/m68k/fpu/e_atan2l.c: New files. + +1996-09-15 Paul Eggert <eggert@twinsun.com> + + * manual/time.texi: Change `range X to Y' to `range X through + Y', to avoid ambiguity in English. + + (strftime): Numbers that do not have a range indicated are not padded. + Describe E and O modifiers. + %g, %G, %u: New formats. + %C, %y, %Y: Describe behavior on negative years. + %e: Fix typo (was labeled %d). + %l, %V: Fix typo in range. + %M, %S, %U, %w, %W: Give ranges. + %p: Clarify how noon and midnight are handled for AM and PM. + %s: Clarify leap second handling. + %r: Now locale-defined. + %C, %D, %e, %h, %n, %r, %t, %T: Say that they are POSIX.2 extensions. + %z: Say that it is a GNU extension. + %Z: Wording fix. + + * time/strftime.c: (strftime): + %V: Fix mishandling of week numbers near year boundaries. + %g, %G: New formats (suggested by Arthur David Olson). + %U, %W: Use inline expression instead of `week' function. + %C, %y: Handle negative years portably. + %C, %Y: Use width 1, since values can be arbitrarily wide. + %r: Use T_FMT_AMPM format if _NL_CURRENT is defined. + %u: New Posix.2 format. + %w: Width is 1, not 2. + (iso_week_days): New function, for %V, %G, %g. + (week): Remove; it didn't handle %V correctly. + (__isleap): New macro. + (mbsinit): Use arg, to pacify GCC -Wall. + +1996-09-13 Paul Eggert <eggert@twinsun.com> + + * time/strftime.c (strftime): + If using the GNU C library, do not bother to check for + multibyte encodings, since they're safe in formats. Otherwise: + - Check for multibyte encodings when encountering any character that + is not in the basic execution character set of the C Standard. + - Use mbrlen (if available) instead of mblen, to avoid modifying + mblen's internal state. + - Do not assume that '%' cannot appear as the first character of a + multibyte character sequence, since this is possible when not in the + initial shift state. + (HAVE_MBRLEN, MULTIBYTE_IS_FORMAT_SAFE): Define if _LIBC is defined. + (DO_MULTIBYTE): New macro. + (<ctype.h>): Do not include. + (<wchar.h>): Include if HAVE_MBRLEN. + (mbstate_t, mbrlen, mbsinit): Define if ! HAVE_MBRLEN. + (mbstate_zero): New constant. + +1996-09-12 Paul Eggert <eggert@twinsun.com> + + * time/strftime.c (strftime): + Use an empty zone if it can't be determined; POSIX.2 requires this. + Use plain `int' for pad and modifier (which now contain char value). + Use plain `int' for number_value, to print negative values correctly. + Use plain `int' for digits; there was no need to make it unsigned. + Initialize subfmt consistently. + Remove incorrect code for %EC and %Ey; they aren't implemented yet. + For %O, if there is no alternate digit, output Ascii instead of "". + Output the `%' of an unknown format; this is most likely the right + thing to do if a multibyte string has been misparsed. + +Thu Sep 12 23:23:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * stdio-common/scanf7.c (main): Remove extra conversion from + printf format string. + +Thu Sep 12 23:01:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * stdlib/test-canon.c (tests): Rename structure member from errno + to error, all uses changed. + +Thu Sep 12 20:08:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/m68k/fpu/__math.h (__ldexp, __ldexpf, __ldexpl): + Removed. + * sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c, + sysdeps/m68k/fpu/s_ldexpl.c: Removed, use generic implementation + instead. + * sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c, + sysdeps/m68k/fpu/s_scalbnl.c: Replaced with old contents of + s_ldexp.c, s_ldexpf.c and s_ldexpl.c, resp., suitably adpted. - * sysdeps/powerpc/fraiseexcpt.c (__FE_INVALID_SOFTWARE): - Changed to FE_INVALID_SOFTWARE. - (__FPSCR_STICKY_BITS): Changed to FPSCR_STICKY_BITS. + * sysdeps/m68k/fpu/__math.h (__frexp, __frexpf, __frexpl): + Return value must be in [0.5, 1), not [1, 2). Reported by Chris + Lawrence. + (__ilogb, __ilogbf, __ilogbl): Check for argument being zero. + (__scalbn, __scalbnf, __scalbnl): Use second argument directly. - * sysdeps/libm-ieee754/s_fmin.c: Fix a typo. +Thu Sep 12 19:59:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-06-07 18:48 H.J. Lu <hjl@gnu.ai.mit.edu> + * sysdeps/libm-ieee754/e_acoshl.c: Fix typos. + * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable. - * shlib-versions (.*-.*-linux.*): Set libc to 6. +Thu Sep 12 19:59:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-06-08 15:35 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * sysdeps/libm-ieee754/e_acoshl.c: Fix typos. + * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable. - * nis/nis_add.c (nis_add): Use nis_leaf_of_r instead of nis_name_of_r. +Thu Sep 12 19:56:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * inet/herrno.c (__h_errno_location): Fix return type. - * nis/nss_nis/nis-hosts.c: Use addr, not p for inet_pton call. - * nis/nss_nisplus/nisplus-hosts.c: Likewise. +Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Check for - group == NULL. + * hurd/hurdinit.c (__libc_argv): Provide common decl. + (_hurd_setproc): Don't declare __libc_argv here. -1997-06-08 21:21 Mark Kettenis <kettenis@phys.uva.nl> +Tue Sep 17 10:51:58 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - * 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. + * malloc/memalign.c (memalign): Only acquire __libc_malloc_lock + for actual modifications to global state. - * login/programs/utmpd.c: Define DEFAULT_USER. - (drop_priviliges): Use it. - (main): Set locale and text domain. +Fri Sep 13 01:21:36 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - * 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. + * sysdeps/mach/Makefile (includes): Add -I$(common-objpfx)mach/. + * sysdeps/mach/hurd/Makefile (includes): Add + -I$(common-objpfx)hurd/. Reported by Marcus Daniels. - * 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/schedbits.h (struct sched_param): Renamed from + struct sched_params. + * sysdeps/stub/sched_setp.c (__sched_setparam): struct + sched_params -> struct sched_param. + * sysdeps/stub/sched_getp.c (__sched_getparam): Likewise. + * sysdeps/stub/sched_sets.c (__sched_setscheduler): Likewise. -1997-06-05 23:10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Thu Sep 12 23:58:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - * 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. + * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): Fix + syntax error. -1997-06-04 19:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * stdio-common/Makefile: Put lockfile in routines + unconditionally. + Define _MT_SAFE_IO if using for libio and compiling reentrant + libc. - * stdlib/testsort.c (compare): Fix parameter types. + * stdio-common/vfprintf.c (__flockfile, __funlockfile): Declare + this always, not just if _LIBC_REENTRANT. + (__funlockfile): Don't use weak_extern for this one; + __libc_cleanup_region_end might be defined and the use of + __funlockfile can't be protected the way the use of __flockfile + can be. -1997-06-04 19:05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Fri Sep 13 04:33:08 1996 Ulrich Drepper <drepper@cygnus.com> - * md5-crypt/Makefile (distribute): Fix name of file. + * sched.h: New file. Helper to access posix/sched.h. + * posix/sched.h: Change `sched_params' to `sched_param' to follow + POSIX.4. -1997-06-04 19:02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Thu Sep 12 20:12:40 1996 Ulrich Drepper <drepper@cygnus.com> - * login/Makefile (utmpd-routines): Remove utmpd again, which is - already added implicitly through $(others). + * db/makedb.c (usage): Print bug report address separately to + ease translators task. + * catgets/gencat.c (usage): Likewise. + * locale/locale.c (usage): Likewise. + * locale/localedef.c (usage): Likewise. -1997-06-05 13:43 Fila Kolodny <fila@filapc.ibi.com> +1996-09-12 Paul Eggert <eggert@twinsun.com> - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add netipx/ipx.h. + * time/strftime.c (my_localtime_r): Define if ! HAVE_LOCALTIME_R, + and #define localtime_r to it. If _LIBC, use __localtime_r instead. + (my_gmtime_r): Similar, except it's not needed if ! HAVE_TM_GMTOFF. -1997-06-05 13:25 Andreas Jaeger <aj@arthur.rhein-neckar.de> +Thu Sep 12 14:03:29 1996 Ulrich Drepper <drepper@cygnus.com> - * md5-crypt/md5-crypt.c: Add prototype for __md5_crypt. + * crypt/Makefile: Include Makeconfig and add crypt object dir to + rpath-link so that running the check finds the new library. + * crypt/cert.c: provide correct prototypes to prevent warnings. + Reported by Andreas Jaeger. -1997-06-05 17:08 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/mach/hurd/Makefile (rpath-link): Don't use += because + old and new value must be glued using `:'. + Reported by Marcus Daniels. - * string/argz-addsep.c: Correct weak alias. - Reported by Ben Pfaff <pfaffben@pilot.msu.edu>. +Thu Sep 12 12:33:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - * 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/mach/hurd/dl-cache.c: Delete second copy of file + accidentally added on. -1997-06-04 12:41 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/stub/intr-msg.h: New file. - * manual/intro.texi (XPG): Correct some typos. + * stdio-common/vfprintf.c: Include <libc-lock.h>. + * stdio-common/vfscanf.c: Include <libc-lock.h>. -1997-06-04 05:09 Miles Bader <miles@gnu.ai.mit.edu> + * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New + macro. + (__libc_cleanup_region_end): New macro. - * argp/argp-help.c (_help): Use uparams.usage_indent instead of - the USAGE_INDENT macro. +Thu Sep 12 03:35:27 1996 Ulrich Drepper <drepper@cygnus.com> - * manual/summary.awk: Strip trailing commas from node-names. + * sysdeps/unix/sysv/linux/i386/Dist: Remove init-first.h. + * sysdeps/unix/sysv/linux/m68k/Dist: Likewise. + * sysdeps/unix/sysv/linux/Dist: Add init-first.h. + +1996-09-11 Paul Eggert <eggert@twinsun.com> + + * strftime.c (strftime): + Handle E and O modifiers, required for POSIX.2 and XPG4. + Don't use sprintf to format numbers; this way, we can handle time_t + correctly regardless of whether it's signed. + Don't dump core if format ends in %. + In default %c format, use %e instead of %d, for POSIX.2 compatibility. + For %z: + Use tm_gmtoff if available. + Output nothing if tm_isdst is negative. + Output correct value even if arg is 1969-12-31 23:59:59 UTC. + Don't assume that UTC offset is less than 24 hours; + Posix requires support for 24 hours, and there's no point + limiting it at all. + (HAVE_TM_GMTOFF, TYPE_SIGNED, INT_STRLEN_BOUND): New macros. + (CHAR_BIT): Define if <limits.h> doesn't. + (tm_diff): New function. + (fmt, <stdio.h>): Remove; no longer used. + +Thu Sep 12 02:21:44 1996 Ulrich Drepper <drepper@cygnus.com> + + * db/Makefile: Add extra-libs-others variable so that shared + library is built in `others' pass. + * elf/Makefile: Likewise. + * math/Makefile: Likewise. + * resolv/Makefile: Likewise. - * manual/.cvsignore: Ignore chapters-incl[12] rather than - chapters-incl. + * Makefile (generated): Add version.info.h. - * manual/Makefile (%.c.texi): Deal with multiple @-commands on a - single line. + * time/checktab.awk: New file. From ADO 96k. + * time/iso3166.tab: Likewise. + * time/tzselect.ksh: Likewise. + * time/zone.tab: Likewise. - * manual/string.texi (Argz Functions, Envz Functions): Add magic - comments for generating summary.texi. + * stdio-common/vfprintf.c: Correct cleanup registration. We + cannot use a macro -1997-06-02 22:18 Miles Bader <miles@gnu.ai.mit.edu> +1996-09-11 Paul Eggert <eggert@twinsun.com> - * 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. + * time/time.h (tm_gmtoff, tm_zone): Prefix with `__' unless + __USE_BSD; this is required for ANSI C compatibility. + * manual/time.texi: Replace GMT by UTC, daylight savings by + daylight saving, timezone by time zone. + Rewrite description of %V to match ISO 8601. + Fix TZ Posix string example for US Eastern time. + Explain tzname[1] when DST isn't used. + Explain tzname when multiple abbreviations used (e.g. EST/EWT/EDT). + Explain that timezone's sign is opposite from tm_gmtoff, and that + timezone lacks DST adjustment whereas tm_gmtoff has it. + Deprecate tzname and timezone. -1997-06-01 15:01 Miles Bader <miles@gnu.ai.mit.edu> +Tue Sep 10 14:46:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + Implement Roland McGrath's idea of how to put an .interp into + shared libraries. + * interp.c: New file. + * Makerules (interp-obj): New object, linked into every shared + library. + (common-generated): Add interp.so. + (CFLAGS-interp.c): Pass name of interpreter. -1997-06-04 20:57 Ulrich Drepper <drepper@cygnus.com> +Tue Sep 10 21:09:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * db/Makefile: Fix typo. - * posix/unistd.h: Correct value for _POSIX_VERSION. +Tue Sep 10 19:29:53 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sunrpc/Makefile (defines): Remove definition. + * nss/db-Makefile ($(VAR_DB)/passwd.db): Look for multiple + occurences of the same uid, and only generate a mapping for the + first one. - * sysdeps/ieee754/nan.h: Correct typo. +Tue Sep 10 03:14:59 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-06-04 10:50 Fila Kolodny <fila@ibi.com> + * sysdeps/unix/sysv/linux/system.c: New file, to override + sysdeps/unix/system.c. - * posix/unistd.h: Add definition of __fchdir corresponding to fchdir. +Tue Sep 10 15:05:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * login/utmp_daemon.c: Correct location of utmpd.h. + * Makefile (before-compile): Add version-info.h, needed to build + version.d. -1997-06-03 19:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Tue Sep 10 14:14:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * Makerules: Rename $(common-objpfx)distinfo-$(subdir) to - $(objpfx)distinfo. - * rpm/Makefile (distinfo): Adapted. + * sysdeps/unix/sysv/linux/m68k/sysdep.S: Remove check for + EWOULDBLOCK, never true on Linux. + (__errno_location): New function. + [_LIBC_REENTRANT]: Set errno using __errno_location function. + * sysdeps/unix/sysv/linux/m68k/sysdep.h [PIC]: Add second + syscall_error handler for reentrant libc. -1997-06-03 18:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Tue Sep 10 13:27:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * rpm/Makefile (install-slib): Collect shared libraries here - instead of in install-lib, including libc. - (instvars): Add slib. + * elf/Makefile (extra-objs): Add eval.so to get dependencies. -1997-06-03 18:23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Wed Sep 11 04:40:57 1996 Ulrich Drepper <drepper@cygnus.com> - * login/Makefile (libutil-routines): Add updwtmp. + * time/tzset.c (__tzname_cur_max): Use type `size_t' to avoid + warning. + * time/tzfile.c (compute_tzname_max): Likewise. -1997-06-03 16:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Wed Sep 11 02:57:31 1996 Ulrich Drepper <drepper@cygnus.com> - * monetary.h: New file, needed for localedata/tst-fmon.c. + * configure.in: Quote $add_ons argument in loop to generated + prefices. -1997-06-02 20:31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Tue Sep 10 20:43:45 1996 Ulrich Drepper <drepper@cygnus.com> - * 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. + * db/makedb.c: Include <locale.h>. Reported by Fila Kolodny. - * 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. +Tue Sep 10 14:42:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - * sysdeps/m68k/nan.h: New file. + * elf/dl-cache.c: Rename to ... + * sysdeps/generic/dl-cache.c: ... here. + * sysdeps/mach/hurd/dl-cache.c: New file. - * sysdeps/m68k/fpu/__math.h (isgreater, isgreaterequal, isless, - islessequal, islessgreater, isunordered): Fix assembler syntax. + * mach/Makefile (distribute): Add `errsystems.awk'. + * hurd/Makefile (distribute): Add `Notes' and `intr-msg.h'. + * hurd/hurdintr.awk: Delete file. (Not used in ages.) + * hurd/intr-rpc.awk: Likewise. + * hurd/invoke-trans.c: Likewise. + * sysdeps/mach/hurd/i386/longjmp-ctx.c: Likewise. + * sysdeps/mach/hurd/alpha/longjmp-ctx.c: Likewise. + * sysdeps/mach/hurd/mips/longjmp-ctx.c: Likewise. + * sysdeps/mach/hurd/i386/init-fault.c: Likewise. + * sysdeps/mach/hurd/mips/init-fault.c: Likewise. + * sysdeps/stub/init-fault.c: Likewise. + * sysdeps/stub/longjmp-ctx.c: Likewise. - * sysdeps/m68k/fpu/fraiseexcpt.c: Do it right so that gcc doesn't - optimize out the operations. +Tue Sep 10 13:49:08 1996 Ulrich Drepper <drepper@cygnus.com> - * 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. + * inet/herrno.c: Initialize `h_errno' so that we can provide + alias. - * 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. + * Makefile (version-info.h): Fix typo in shell script. -1997-06-03 23:42 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/i386/i586/strlen.S: Optimize startup code a bit. + * sysdeps/i386/i586/strchr.S: Likewise. - * elf/dl-support.c: Define and initialize _dl_verbose used in - dl-machine.h. +Mon Sep 9 20:31:27 1996 Ulrich Drepper <drepper@cygnus.com> - * io/ftw.c: Expand stat/lstat calls. + * version.c (banner): Report to bug-glibc@prep not @gnu. + Reported by Andreas Jaeger. - * manual/intro.texi: Also refer to ISO 9945. - Update info about SVID. - Add description for XPG. + * libio/stdio.h [!__USE_REENTRANT]: Don't define getc as + _IO_getc_unlocked. + [__USE_REENTRANT]: Don't define - * md5-crypt/md5-crypt.c: Namespace cleanups. - * md5-crypt/md5.c: Likewise. - * md5-crypt/md5.h: Likewise. - * sysdeps/generic/crypt-entry.c: Likewise. +Mon Sep 9 15:59:32 1996 Ulrich Drepper <drepper@cygnus.com> - * posix/unistd.h (_POSIX2_C_VERSION): Set to 199209L. + * sysdeps/i386/strrchr.c: Fix bug where NUL byte is not recognized + when it is the third byte in the string. Reported by + NIIBE Yutaka. + * string/tester.c: Add tests for above bug to strlen, strchr, and + strrchr tests. - * stdlib/fmtmsg.h: Declare addseverity only if __USE_SVID is - defined. +Fri Sep 6 21:23:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sunrpc/rpc_scan.c (findkind): Declare `token' as const. - * sunrpc/rpc_util.c (toktostr): Declare `token' as const. + * sysdeps/m68k/fpu/e_acos.c: Deansideclized. Include + "math_private.h" to get prototype. + * 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. - * time/Makefile: Make tzselect depend on config.make. + * sysdeps/m68k/fpu/k_sin.c: Remove uneeded indirection of + __m81_u. + * sysdeps/m68k/fpu/k_tan.c: Likewise. -1997-06-01 15:01 Miles Bader <miles@gnu.ai.mit.edu> +Sun Sep 1 18:01:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * sysdeps/m68k/fpu/__math.h: Check for __NO_M81_MATH_INLINES + instead of __NO_MATH_INLINES. + (__M81_MATH_INLINES): Renamed from __MATH_INLINES. + * sysdeps/m68k/fpu/e_acos.c: Define __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. + * 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_ldexp.c: Likewise. + * sysdeps/m68k/fpu/s_modf.c: Likewise. + * sysdeps/m68k/fpu/k_cos.c: Use inline version of __cos. + * sysdeps/m68k/fpu/k_sin.c: Likewise. + * sysdeps/m68k/fpu/k_tan.c: Likewise. -1997-05-31 20:59 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Mon Sep 9 12:55:14 1996 Ulrich Drepper <drepper@cygnus.com> - * login/Makefile (utmpd-routines): Add utmpd. - (extra-objs): Add utmpd objects to get dependencies. - (distribute): Add sources for utmpd. - (subdir-dirs): Define. + * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): Check for + available character before converting number and return with + error if none is available. -1997-06-02 16:28 Ulrich Drepper <drepper@cygnus.com> +Fri Sep 6 22:09:08 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/wordsize-32/inttypes.h: Include features.h and use - __CONCAT instead of defined __CONCAT__ ourself. - * sysdeps/wordsize-64/inttypes.h: Likewise. + * sysdeps/unix/sysv/linux/init-first.h: New file, generic + implementation for architectures where parameters are passed on + stack. + * sysdeps/unix/sysv/linux/m68k/init-first.h: Removed. + * sysdeps/unix/sysv/linux/i386/init-first.h: Removed. -1997-06-01 19:11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Fri Sep 6 22:05:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/wordsize-64/inttypes.h (INTMAX_C): Use `l' suffix, not `ll'. - (PRIdFAST, PRIoFAST, PRIxFAST, PRIuFAST, SCNdFAST, SCNiFAST, - SCNoFAST, SCNxFAST): Correct format specifiers. + * configure.in: Remove unneeded sysnames frobbing. -1997-06-02 04:23 Ulrich Drepper <drepper@cygnus.com> +Mon Sep 9 05:29:09 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/syscalls.list: Make fchdir weak alias for __fchdir. + * time/zic.c: Update from ADO 96l. + * time/africa: Update from ADO 96k. + * time/antarctica: Likewise. + * time/asia: Likewise. + * time/australia: Likewise. + * time/europe: Likewise. + * time/northamerica: Likewise. + * time/southamerica: Likewise. -1997-06-01 19:17 Ulrich Drepper <drepper@cygnus.com> +Mon Sep 9 05:03:47 1996 NIIBE Yutaka <gniibe@mri.co.jp> - * 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. + * sysdeps/unix/sysv/linux/i386/init-first.h: Work around buggy + gcc <= 2.7.2.1 which optimizes away address operations on weak + objects. -1997-06-01 12:48 Ulrich Drepper <drepper@cygnus.com> + * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): New macro. + Like INT_FIELD but also accept non-existing field. + * shadow/sgetspent_r.c (LINE_PARSER): Use INT_FIELD_MAYBE_NULL + for last four fields. + * shadow/putspent.c (putspent): Print `:' after numeric value. - * sysdeps/unix/sysv/linux/alpha/gnu/types.h (__fd_mask): Change - type to `unsigned long int'. - Patch by Richard Henderson <richard@twiddle.rth.home>. +Mon Sep 9 02:42:48 1996 Richard Henderson <rth@tamu.edu> -1997-05-30 17:34 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * libio/stdio.h (BUFSIZ): Define using _IO_BUFSIZ. - * sysdeps/generic/bb_init_func.c (__bb_init_func): Use ISO C - declaration style. +Sun Sep 8 16:43:56 1996 Ulrich Drepper <drepper@cygnus.com> - * nss/nss_files/files-hosts.c: Delete inclusion of - "../resolv/mapv4v6hostent.h". + * Make-dist: Filter out $(add-ons) from $(subdirs). + Don't distribute TAGS files. + ($(tardir).tar): Remove dist.tar when all is done. + * manual/Makefile (distribute): Add libc.info*. + * libio/Makefile (distribute): Add Banner. + * inet/Makefile (headers): Add netinet/tcp.h. -1997-05-31 02:33 Ulrich Drepper <drepper@cygnus.com> + * resolv/Makefile (libresolv-routines): Add getnetnamadr. - * io/ftwtest-sh: More tests. + * crypt-README: Removed. + * gnu-stabs.h: Removed. - * misc/tsearch.c: Rewrite tdestroy_recursive. + * sysdeps/alpha/copysign.S: Renamed to... + * sysdeps/alpha/s_copysign.S: ...this. + * sysdeps/alpha/fabs.S: Renamed to... + * sysdeps/alpha/s_fabs.S: ...this. - * libio/libio.h: Define bits for libg++-2.8. + * sysdeps/m68k/isinfl.c: Renamed to... + * sysdeps/m68k/s_isinfl.c: ...this. + * sysdeps/m68k/isnanl.c: Renamed to... + * sysdeps/m68k/s_isnanl.c: ...this. -1997-05-30 22:21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * sysdeps/sparc/sqrt.c: Renamed to... + * sysdeps/sparc/e_sqrt.c: ...this. Function name now is + __ieee754_sqrt. - * 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. + * sysdeps/generic/get_str.c: Removed. -1997-05-30 09:50 Richard Henderson <rth@tamu.edu> + * sysdeps/ieee754/cbrt.c: Removed. + * sysdeps/ieee754/drem.c: Removed. + * sysdeps/ieee754/logb.c: Removed. + * sysdeps/ieee754/sqrt.c: Removed. - * 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/stub/cbrt.c: Removed. + * sysdeps/stub/cos.c: Removed. + * sysdeps/stub/drem.c: Removed. + * sysdeps/stub/isinf.c: Removed. + * sysdeps/stub/isinfl.c: Removed. + * sysdeps/stub/isnanl.c: Removed. + * sysdeps/stub/logb.c: Removed. + * sysdeps/stub/sin.c: Removed. + * sysdeps/stub/sqrt.c: Removed. - * 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/tahoe/log10.c: Removed. - * 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/vax/index.s: Removed. + * sysdeps/vax/rindex.s: Removed. + * sysdeps/vax/bcmp.s: Removed. + * sysdeps/vax/log10.c: Removed. + * sysdeps/vax/infnan.c: Removed. + * sysdeps/vax/Dist: Add fl.h. - * sysdeps/alpha/Makefile: Temporarily turn on -mieee globally. This - will last until I figure out how to build a parallel libm_ieee. + * sysdeps/unix/sysv/linux/alpha/Dist: Add llseek.S. - * 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. + * inet/rcmd.c (rcmd): Make messages more uniform. - * 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. +Sun Sep 8 14:15:42 1996 Ulrich Drepper <drepper@cygnus.com> - * 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. + * po/de.po: Update. + * po/es.po: Update. + * po/ko.po: Update. + * po/pl.po: New file. + * po/nl.po: New file. - * 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. +Sat Sep 7 18:41:17 1996 Richard Henderson <rth@tamu.edu> - * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Undef some bits we may - have gotten from <linux/posix_types.h>. + * Makeconfig (+link): Filter out start, pre & postinit from the + generic depenancies as well. + * Rules: Add start, pre & postinit to the dependancies of + $(others) and $(tests). - * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add definition for Miata. + * configure.in: elf_dirs missing "sysdeps" component. -1997-05-30 13:05 Ulrich Drepper <drepper@cygnus.com> +Sun Sep 8 02:36:02 1996 Ulrich Drepper <drepper@cygnus.com> - * misc/tst-tsearch.c (mangle_tree): Update casts to prevent - warnings. + * locale/SYS_libc.c (_libc_intl_domainname): Change value to "libc". + This is consistent with all other GNU packages. We shouldn't + take care for a possible clash. Nobody will name the domain + of a package libc if it is not the libc itself. + * MakeTAGS ($P/SYS_libc.pot): Rename to $P/libc.pot. + * po/Makefile (domainname): Change to libc. + (distribute): Now ship libc.pot. + * catgets/gencat.c (usage): Use `PACKAGE' for package name in + version information banner. + Change bug report address to bug-glibc@prep not @gnu. + * db/makedb.c (PACKAGE): New macro. Set to _libc_intl_domain. + (main): Use `PACKAGE' for package name in version information + banner. + Change bug report address to bug-glibc@prep not @gnu. + * locale/programs/locale.c (main): Use `PACKAGE' for package name + in version information banner. + Change bug report address to bug-glibc@prep not @gnu. + * locale/programs/localedef.c (main): Likewise. -1997-05-29 14:02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * version.h (VERSION): Bump to 1.94. - * sysdeps/unix/sysv/linux/sys/ttydefaults.h (CEOL, CSTATUS): Use - correct value for _POSIX_VDISABLE. + * locale/Makefile (distribute): Add locale.c and localedef.c. -1997-05-29 13:59 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Sat Sep 7 14:00:33 1996 David Mosberger-Tang <davidm@azstarnet.com> - * Makefile (manual/dir-add.texi): Force execution. + * catgets/catgets.c (catopen): Allocate sizeof(*result) bytes + instead of sizeof(nl_catd) (which is just a pointer!). -1997-05-29 13:57 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Sat Sep 7 19:39:19 1996 Ulrich Drepper <drepper@cygnus.com> - * sysexits.h: New file. + * Makefile ($(objpfx)version-info.h): Generate from Banner files. + * version.c (banner): Add contents of version-info.h to string. -1997-05-29 13:55 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * Makerules: If $($(subdir)-version) is available name versioned + shared library according to this value instead of glibc's version. - * stdlib/strfmon.c: Don't run past EOS after `='. + * libio/Banner: New file. -1997-05-29 12:48 Ulrich Drepper <drepper@cygnus.com> + * elf/eval.c (funcall): Write error message in case function is + not found. + (eval): Recognize `_' in names. - * 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. +Sat Sep 7 05:15:45 1996 Ulrich Drepper <drepper@cygnus.com> - * misc/search.h: Add comments. Declare tdestroy. - * misc/tsearch.c (tdestroy): New function. + * libio/iofdopen: Initialize _lock field only if _IO_MTSAFE_IO. + * libio/iofopen: Likewise. + * libio/iofopncook.c: Likewise. + * libio/iopopen.c: Likewise. + * libio/iovsprintf.c: Likewise. + * libio/iovsscanf.c: Likewise. + * libio/memstream.c: Likewise. + * libio/vasprintf.c: Likewise. + * libio/vdprintf.c: Likewise. + * libio/vsnprintf.c: Likewise. - * login/Makefile: Update for UTMP daemon implementation. +Sat Sep 7 03:55:47 1996 Ulrich Drepper <drepper@cygnus.com> + + * Makeconfig (soversions.mk): Also use shlib-versions files + in add-on directories. + * config.make.in (config-defines): Remove. Not used anymore. + (defines): New variable. Initiliazed by @DEFINES@. + * configure.in: Add AC_SUBST(DEFINES). + + * libio/Makefile (routines): When compiling reentrant libc add + clearerr_u, feof_u, ferror_u, fputc_u, getc_u, getchar_u, + iofflush_u, putc_u, putchar_u, ioflockfile. + (CPPFLAGS): Add -D_IO_MTSAFE_IO for reentrant libc. + + * sysdeps/stub/libc-lock.h: Add stubs for __libc_cleanup_region_start + and __libc_cleanup_region_end. + + * sysdeps/unix/i386/sysdep.S [_LIBC_REENTRANT]: Set errno + using __errno_location function. + * sysdeps/unix/sysv/linux/i386/sysdep.S [_LIBC_REENTRANT]: Set errno + using __errno_location function. + (__errno_location): New function. + * sysdeps/unix/sysv/linux/i386/sysdep.h [PIC]: Add second + syscall_error handler for reentrant libc. + + * sysdeps/unix/opendir.c: Remove unneeded `;'. + + * libio.h [_IO_MTSAFE_IO]: Include <pthread.h>. + [!_IO_MTSAFE_IO]: Define _IO_flockfile and _IO_funlockfile + as empty macros. + * libioP.h: Include <libc-lock.h>. + * libio/stdio.h: Add prototypes for *_locked and *_unlocked + functions. - 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. + * libio/clearerr.c: Use _IO_ protected versions of flockfile + and funlockfile to be namespace clean. -1997-05-29 12:51 Mark Kettenis <kettenis@phys.uva.nl> + * libio/genops.c: Use __libc_lock_* macros for handling lock. - * 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. + * libio/iofdopen: Add initialization of _lock in _IO_FILE. + * libio/iofopen: Likewise. + * libio/iofopncook.c: Likewise. + * libio/iopopen.c: Likewise. + * libio/iovsprintf.c: Likewise. + * libio/iovsscanf.c: Likewise. + * libio/memstream.c: Likewise. + * libio/vasprintf.c: Likewise. + * libio/vdprintf.c: Likewise. + * libio/vsnprintf.c: Likewise. -1997-05-29 12:28 Jim Meyering <meyering@eng.ascend.com> + * libio/fgetc.c: Use __libc_cleanup_region_* macros instead + of flockfile etc. + * libio/fputc.c: Likewise. + * libio/freopen.c: Likewise. + * libio/fseek.c: Likewise. + * libio/getc.c: Likewise. + * libio/getchar.c: Likewise. + * libio/iofclose.c: Likewise. + * libio/iofflush.c: Likewise. + * libio/iofgetpos.c: Likewise. + * libio/iofgets.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/ioputs.c: Likewise. + * libio/iosetbuffer.c: Likewise. + * libio/iosetvbuf.c: Likewise. + * libio/ioungetc.c: Likewise. + * libio/putc.c: Likewise. + * libio/putchar.c: Likewise. + * libio/rewind.c: Likewise. + * stdio-common/vfprintf.c: Likewise. + * stdio-common/vfscanf.c: Likewise. - * time/strftime.c: Correct/normalize indentation in cpp directives. + * libio/clearerr_u.c: Correct alias name. + * libio/ferror_u.c: Likewise. + * libio/fileno.c: Likewise. + * libio/fputc_u.c: Likewise. + * libio/getc.c: Likewise. + * libio/getc_u.c: Likewise. + * libio/getchar.c: Likewise. + * libio/getchar_u.c: Likewise. + * libio/putc.c: Likewise. + * libio/putchar.c: Likewise. -1997-05-28 20:43 Philip Blundell <pjb27@cam.ac.uk> + * libio/feof_u.c: Undefine macro with name of function before + definition of function itself. - * 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*. + * libio/ioflockfile.c: New file. Implementation of flockfile and + funlockfile. -1997-05-28 21:56 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * libio/putchar_u.c: Fix typo. Use stdout instead of fp. - * math/cmathcalls.h: Correct typo in comment. + * malloc/malloc.h: Don't include <libc-lock.h> and don't declare + _malloc_loc. - * inet/netinet/icmp6.h: Include <netinet/in.h> for in6_addr. + * malloc/free.c: Include <libc-lock.h>. + * malloc/realloc.c: Likewise. + * malloc/malloc-find.c: Likewise. + * malloc/malloc-size.c: Likewise. + * malloc/malloc-walk.c: Likewise. + * malloc/memalign.c: Likewise. + * malloc/malloc.c: Likewise. - * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Include <net/if.h> for - IFNAMSIZ. + * sysdeps/i386/dl-machine.h: Correct clearing of _dl_starting_up. - * sysdeps/unix/sysv/linux/net/ppp_defs.h: Include <time.h> for - time_t. +Fri Sep 6 19:38:49 1996 Ulrich Drepper <drepper@cygnus.com> - * login/pty.h: Include <ioctl-types.h> for definition of struct - winsize. + * sysdeps/stub/libc-lock.h: Define __libc_lock_critical_start + and __libc_lock_critical_end as empty macros. - * misc/regexp.h (compile): Correct typo. + * malloc/malloc.h: Don't include <libc-lock.h> and don't declare + __libc_malloc_lock. + * malloc/free.c: Include <libc-lock.h>. + * malloc/malloc-find.c: Likewise. + * malloc/malloc-size.c: Likewise. + * malloc/malloc-walk.c: Likewise. + * malloc/malloc.c: Likewise. + * malloc/memalign.c: Likewise. + * malloc/realloc.c: Likewise. - * argp/argp.h: Put extern before __const in defintion of - argp_program_bug_address. + * Makefile: Undo change from Mon Sep 2 22:15:14 1996. No more + extra_solibs pass. + * Rules: Likewise. + * extra-lib.mk: Likewise. + * manual/Makefile: Likewise. -1997-05-29 00:20 Ulrich Drepper <drepper@cygnus.com> + * db/Makefile (makedb): Choose dependecies based on build-shared. + Patch by Andres Schwab. - * 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>. + * sysdeps/posix/sysconf.c: Don't use PTHREAD_DESTRUCTOR_ITERATIONS + but _POSIX_THREAD_DESTRUCTOR_ITERATIONS. -1997-05-28 22:51 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/errnos.h: New file. + * sysdeps/unix/sysv/linux/schedbits.h: New file. + * sysdeps/unix/sysv/linux/waitflags.h: New file. - * 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>. + * sysdeps/unix/sysv/linux/gnu/types.h: Add definition of `key_t'. - * 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>. +Fri Sep 6 08:26:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-05-28 18:19 Philip Blundell <pjb27@cam.ac.uk> + * rpm/template: Fix typo in %build section. - * posix/execl.c: Include <alloca.h> to avoid warning. +Fri Sep 6 03:31:07 1996 Ulrich Drepper <drepper@cygnus.com> -1997-05-27 18:19 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/unix/sysv/linux/errnos.h: Don't define errno macro when + building libc without thread support. + * resolv/netdb.h: Likewise for h_errno macro. - * math/libm-test.c: Implement testing of inlined functions, make - output nicer, update comments. +Thu Sep 5 23:01:48 1996 Ulrich Drepper <drepper@cygnus.com> - * 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. + * libc-symbols.h: Add new macro weak_const_function. It's like + weak_function, but the function is additionally marked as const. + * features.h: Only include <sys/cdefs.h> if !__ASSEMBLER__. - * math/test-longdouble.c: Rename to... - * math/test-ldouble.c: ...this. +Thu Sep 5 22:55:49 1996 Richard Henderson <rth@tamu.edu> - * math/Makefile: Add rules for new test programs, change rules for - renaming of longdouble test. + * inet/herrno.c (__h_errno_location): New function. + (h_errno): Make strong_alias __h_errno so that we can access + the variable even if `h_errno' is a macro. + * resolv/netdb.h: Define macro h_errno to access thread specific + version of h_errno variable. Declare alias __h_errno for h_errno. + * resolv/res_query (h_errno): Remove definition. + * sysdeps/unix/sysv/linux/errnos.h [!__ASSEMBLER__ && __USE_REENTRANT]: + Add macro `errno' to get thread specific variable. + * sysdeps/unix/alpha/sysdep.S [_LIBC_REENTRANT]: Set errno using + __errno_location function. + (__errno_location): New function. -1997-05-20 15:50 H.J. Lu <hjl@gnu.ai.mit.edu> +Thu Sep 5 21:08:44 1996 Ulrich Drepper <drepper@cygnus.com> - * sunrpc/rpc/svc.h (__dispatch_fn_t): New. - (svc_register): Use __dispatch_fn_t in prototype. + * posix/gnu/types.h: Remove definition of key_t. + * sysdeps/generic/gnu/types.h: Move it to here. + * sysdeps/unix/sysv/linux/gnu/types.h: Add Linux specific + definition of key_t. -1997-05-28 17:02 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/waitflags.h: New file. Linux specific + definitions. + * sysdeps/unix/sysv/linux/schedbits.h: New file. Include + clone prototypes and associated flags. - * sysdeps/generic/bzero.c (bzero): Fix typo. - Patch by Witek Wnuk <spider@pest.waw.ids.edu.pl>. +Thu Sep 5 08:58:47 1996 Richard Henderson <rth@tamu.edu> -1997-05-27 12:00 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/alpha/elf/start.S: Make _start global again. - * sysdeps/generic/vtimes.c: Use ISO C declaration style. +Thu Sep 5 13:18:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - * sysdeps/unix/bsd/ualarm.c: Include <unistd.h> for prototype. + * sysdeps/mach/hurd/i386/init-first.c (__libc_argc, __libc_argv): + New variables. + (init1): Initialize them. + * hurd/hurdinit.c (_hurd_setproc): Now that happens to be + available, pass __libc_argv in call to __proc_set_arg_locations. - * sysdeps/generic/memccpy.c: Include <string.h> for prototype. + * gmon/gmon.c (write_hist): Call __profile_frequency instead of + hertz. + (hertz): Delete function. + * gmon/Makefile (routines): Add `prof-freq'. + * sysdeps/generic/prof-freq.c: New file. + * sysdeps/mach/hurd/prof-freq.c: New (stubby) file. + * sysdeps/mach/hurd/profil.c (profile_tick): New variable. + (update_waiter): Store frequency in profile_tick. + (__profile_frequency): New function. - * signal/tst-signal.c (handler): Correct function declaration to - avoid warning. - * stdlib/testsort.c (compare): Likewise. - * string/tester.c: Likewise. + * sysdeps/mach/hurd/sendto.c (sendto): Use prototype definition + syntax. -1997-05-27 14:16 Miles Bader <miles@gnu.ai.mit.edu> + * Rules (generated): Restore reference to $(generated). - * argp/argp-help.c (argp_args_usage): Supply correct argp to - filter_doc. + * mach/Machrules (mig.uh, mig.__h): Don't include $(user-MIGFLAGS) + here. -1997-05-27 17:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * malloc/free.c (free): __lib_malloc_lock -> __libc_malloc_lock. - * 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. + * malloc/free.c: Provide extern decl of __libc_malloc_lock. + * malloc/realloc.c: Likewise. + * malloc/malloc-find.c: Likewise. + * malloc/malloc-size.c: Likewise. + * malloc/malloc-walk.c: Likewise. + * malloc/memalign.c: Likewise. -1997-05-27 14:47 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Thu Sep 5 03:20:42 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/m68k/fpu/e_atan2.c: Fix missing negate. Use __m81_test - instead of explicit comparisons. + Change configuration and Makefiles to allow add-ons to have a + sysdeps/ directory hierachy. + * configure.in: Test for sysdeps/ directory in add-ons. Before + all test and searches in these hierachies, too. + * Makeconfig (full-config-subdirs): Define based on $(config-sysdirs). + Extend with $(..) if not absolute path. + Use $(full-config-subdirs) where $(config-sysdirs) was used. + * Makefile ($(objpfx)sysd-dirs): Use config-sysdirs. + * MakeTAGS: Use $(full-config-subdirs). + * Makerules: Change comment to libc.so link script. + (sysdirs): Define based on $(full-config-subdirs). + (sysd-Makefile): Define using config-sysdirs. + (sysd-rules): Likewise. + * sysdeps/unix/Makefile (sysd-syscalls): Define based on +sysdep-dirs. + * sysdeps/unix/make-syscalls.sh: Remove basedir argument. + +Wed Sep 4 01:32:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/m68k/fpu/k_cos.c: Rewritten for better accuracy. + * sysdeps/m68k/fpu/k_sin.c: Likewise. + * sysdeps/m68k/fpu/k_tan.c: Likewise. -1997-05-26 18:36 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Thu Sep 5 01:06:09 1996 Richard Henderson <rth@tamu.edu> - * inet/netinet/icmp6.h: Remove use of <asm/bitops.h> which has no - place in a generic header and is no user include file. - -1997-05-27 02:20 Ulrich Drepper <drepper@cygnus.com> - - * stdio/obstream.c (obstack_printf): Fix bug in - de-ansidecl-fication. - Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>. - -1997-05-26 22:51 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>. - - * time/scheck.c (scheck): Make 2nd parameter const. - * time/private.h: Likewise. - -1997-05-26 18:58 Ulrich Drepper <drepper@cygnus.com> - - * 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>. - - * 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>. - -1997-05-22 12:50 Eric Delaunay <delaunay@lix.polytechnique.fr> - - * shlib-versions: Provide Linux/SPARC defaults. - -1997-05-26 15:00 Matthias Urlichs <urlichs@noris.de> - - * 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/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/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. + * malloc/free.c (free): Protect by using __libc_malloc_lock. + * malloc/malloc-find.c (malloc_find_object_address): Likewise. + * malloc/malloc-size.c (malloc_usable_size): Likewise. + * malloc/malloc-walk.c (malloc_walk): Likewise. + * malloc/memalign.c (memalign): Likewise. + * malloc/realloc.c (realloc): Likewise. + * malloc/malloc.c: Define __libc_malloc_lock. + (_malloc_internal): Don't use `malloc'. Instead look for + `__malloc_hook' or call `_malloc_internal'. + (malloc): Protect by using `__libc_malloc_lock'. + * malloc/malloc.h: Declare `__libc_malloc_lock'. -1997-05-25 21:57 Miles Bader <miles@gnu.ai.mit.edu> +Mon Sep 2 22:42:59 1996 Richard Henderson <rth@tamu.edu> - * 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. + * sysdeps/alpha/elf/start.S: Use weak_alias for __start + instead of the hard definition. - * 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. + * sysdeps/alpha/dl-machine.h (RTLD_START): Add type info for + _start and _dl_start_user. -1997-05-26 14:17 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/alpha/init-first.h (SYSDEP_CALL_INIT): + Make _dl_starting_up weak. Add type info for NAME. - * manual/main.texi: Clarify situation for other not supported ports. - Proposed by Andreas Jaeger <aj@arthur.rhein-neckar.de>. - We recommend binutils 2.8. +Mon Sep 2 22:15:14 1996 Richard Henderson <rth@tamu.edu> -1997-05-26 12:17 Ulrich Drepper <drepper@cygnus.com> + * Makefile (all): Add extra_solibs pass. + (+subdir_targets): Same. + * Rules (extra_solibs): New phony empty target for subdirs without + extra libs. + * extra-lib.mk: Build lib*.so* in extra_solibs not lib-noranlib. + * manual/Makefile: Add dummy extra_solibs target. - * netinet/in.h: New file. Wrapper around inet/netinet/in.h. +Sun Sep 1 15:41:22 1996 Richard Henderson <rth@tamu.edu> -1997-05-25 09:51 H.J. Lu <hjl@gnu.ai.mit.edu> + * Makeconfig (+link): Add $(link-extra-libs). + (link-extra-libs): New variable which expands to the full paths of + the other libraries needed by a program, as controled by LDLIBS-$(@F). + * db/Makefile: Use LDLIBS-makedb to link libdb not a dependency, as + the later attempts to install the library before linking it. - * sysdeps/i386/elf/start.S: Change local label "nofini" - to ".Lnofini". + * sysdeps/unix/alpha/sysdep.S: Align errno. - * sysdeps/i386/i386-mcount.S: Use GOT, instead of GOTOFF. + * sysdeps/unix/sysv/linux/alpha/ioperm.c (struct platform): Add + hae_shift entry. + (io): Move bus_memory_base and sparse_bus_memory_base into struct. + (_hae_shift): New function. + * sysdeps/unix/sysv/linux/alpha/sys/io.h: New file. Prototypes + for the bus query functions. -1997-05-24 17:45 H.J. Lu <hjl@gnu.ai.mit.edu> +Sat Aug 31 18:14:54 1996 Richard Henderson <rth@tamu.edu> - * gmon/gmon.c (_mcleanup): Free tostruct array allocated in monstartup. + * elf/dl-close.c (_dl_close): In static executables, map->l_prev + can be NULL when unloading a library. -1997-05-25 03:00 Ulrich Drepper <drepper@cygnus.com> + * elf/dl-open.c (_dl_open): Pass __environ instead of __libc_envp + to the library .init function. - * 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. + * sysdeps/alpha/dl-machine.h (elf_machine_rela): Since we omitted + part of the COPY reloc processing earlier, omit the rest now -- + we'll get into less trouble later when some fool does use a COPY. - * 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>. + * sysdeps/unix/sysv/linux/init-first.c (init): Accept argc et al as + parameters. Move all argc and __libc_multiple_libcs calculation out + to init-first.h. Use __environ not __libc_envp. + * sysdeps/unix/sysv/linux/alpha/init-first.h: Rewrite. + * sysdeps/unix/sysv/linux/i386/init-first.h: Rewrite. - * 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>. +Thu Aug 29 20:26:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-05-25 00:44 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/posix/profil.c (profil): Don't clobber saved timer and + signal settings when profiling was already turned on. - * sysdeps/i386/fpu/__math.h (logb): Fix thinko, reverse output - values. - Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>. + * csu/gmon-start.c (__gmon_start__) [HAVE_INITFINI]: Protect from + being called twice. -1997-05-24 21:03 Philip Blundell <pjb27@cam.ac.uk> +Wed Sep 4 01:31:50 1996 Ulrich Drepper <drepper@cygnus.com> - * db/btree/bt_open.c (__bt_open): Only try to use st_blksize (from - struct stat) if it exists for this port. + * sysdeps/unix/sysv/linux/i386/mmap.S: Test for + 0 < return value < -4096 and not < 0 to decide about failure. + Reported by Andreas Jaeger. -1997-05-24 20:34 Philip Blundell <pjb27@cam.ac.uk> +Tue Sep 3 19:04:05 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/standalone/arm/errnos.h: Add EPERM. + * stdio-common/vfscanf.c (__vfscanf): Don't count EOF char + in %c format. -1997-05-23 16:28 Philip Blundell <phil@kings-cross.london.uk.eu.org> +Sat Aug 31 18:10:51 1996 Ulrich Drepper <drepper@cygnus.com> - * linewrap.h: New file, needed to compile argp without libio. + * wcsmbs/wchar.h: Define prototypes for wcstoq and wcstouq only + #ifdef __USE_GNU. -1997-05-24 11:59 Andreas Jaeger <aj@arthur.rhein-neckar.de> +Sat Aug 31 12:34:29 1996 Ulrich Drepper <drepper@cygnus.com> - * manual/stdio.texi (Formatted Messages): Corrected some typos. + * version.c: Add missing newline character in banner. -1997-05-24 11:58 Philip Blundell <pjb27@cam.ac.uk> + * sysdeps/unix/sysv/linux/alpha/Dist: Correct typo. + * sysdeps/unix/sysv/linux/i386/Dist: Likewise. - * sysdeps/stub/start.c: Fix typo. +Sat Aug 31 03:07:39 1996 Ulrich Drepper <drepper@cygnus.com> -1997-05-21 17:53 Miles Bader <miles@gnu.ai.mit.edu> + * intl/l10nflist.c (_nl_normalize_codeset): We convert to lower + case, so don't prepend uppercase `ISO' for only numeric arg. - * argp/argp-help.c (hol_add_cluster): Initialize CL->depth. +Wed Sep 4 16:16:13 1996 Ulrich Drepper <drepper@cygnus.com> -1997-05-24 03:51 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/mach/hurd/send.c (__send): De-ANSI-fy. + * sysdeps/mach/hurd/sendto.c (sendto): Likewise. - * 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. +Tue Sep 3 11:16:07 1996 Thomas Bushnell/ n/BSG <thomas@gnu.ai.mit.edu> - * 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. - -1997-05-21 22:22 Philip Blundell <pjb27@cam.ac.uk> - - * 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. - -1997-05-18 12:46 Philip Blundell <pjb27@cam.ac.uk> - - * sysdeps/unix/sysv/linux/socketbits.h: Add new macros CMSG_SPACE, - CMSG_LEN, CMSG_ALIGN (for IPv6 Advanced API). - -1997-05-21 13:51 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/unix/sysv/linux/shmat.c (shmat): Add cast to prevent warning. - - * sunrpc/rpcsvc/rusers.x: Provide prototypes for implemented - functions, include <rpc/xdr.h>. - - * string/strverscmp.c: Correct typos in comment. - - * sunrpc/rpc/xdr.h: Add more `const'. - * sunrpc/xdr_stdio.c: Likewise. - * sunrpc/xdr_rec.c: Likewise. - -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. + * shadow/lckpwdf.c (__ulckpwdf): Don't take address of LOCK in + call to __libc_lock_lock. - * po/sv.po: Update. + * sysdeps/mach/hurd/send.c (__send): Declare BUF const. + * sysdeps/mach/hurd/sendto.c (sendto): Likewise. - * resolv/nss_dns/dns-host.c: Add casts to prevent warnings. - * sunrpc/pmap_rmt.c: Likewise. + * sysdeps/stub/ustat.c: Include <sys/ustat.h>. - * string/basename.c: Don't use ISO C definition style. - Include <config.h> if HAVE_CONFIG_H is defined. + * misc/syslog.c (vsyslog): Fix typo (`mow_tm' -> `now_tm'). - * 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>. +Fri Aug 30 19:55:27 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/i386/fpu/__math.h (__finite): Fix typo. + * libio/genops.c: Make _cleanup an alias of _IO_cleanup. + Reported by Erik Troan. - * sysdeps/unix/sysv/linux/shmdt.c: Add cast to prevent warning. +Fri Aug 30 15:40:04 1996 Ulrich Drepper <drepper@cygnus.com> - * time/europe: Update from tzdata1997f. - * time/zic.c: Update from tzcode1997e. + * sysdeps/unix/sysv/linux/Dist: Add sys/procfs.h and + sys/sysmacros.h. Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>. -1997-05-20 19:20 Miguel de Icaza <miguel@athena.nuclecu.unam.mx> +Fri Aug 30 13:53:32 1996 Andreas Jaeger <aj@arthur.pfalz.de> - * sysdeps/sparc/setjmp.S: Flush windows. - Bug found by Richard Henderson. + * sysdeps/unix/mman/syscalls.list: `mmap' has 6 arguments, not 5. -1997-05-19 12:54 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Fri Aug 30 13:01:10 1996 NIIBE Yutaka <gniibe@mri.co.jp> - * misc/efgcvt_r.c (fcvt_r, ecvt_r): Rewritten as to fit the specs. + * sysdeps/i386/fpu/__math.h (tan): Pop 1.0 in ST to get + real result. -1997-05-19 18:41 Thorsten Kukuk <kukuk@uni-paderborn.de> +Fri Aug 30 03:33:33 1996 Ulrich Drepper <drepper@cygnus.com> - * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent): Use - atol instead of atoi. + * sysdeps/libm-ieee754/s_cbrtl.c: New file. `long double' + implementation. -1997-05-18 00:22 Philip Blundell <pjb27@cam.ac.uk> +Fri Aug 30 13:39:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - * 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. + * Makerules (BUILD_CFLAGS): Use @(common-objpfx) for config.h, not + $(..). Some rules (like sysdeps/posix/Makefile for mk-stdiolim) + do `cd' commands. + (sed-remove-objpfx): Don't substitute for $(objpfx) anymore; + $(common-objpfx) is good enough. + * Rules (common-generated): Provide default (empty) value. + (dummy.o, dummy.c, empty.o, empty.c): Put these in + $(common-generated), not $(generated), and without $(..). + (subdir_echo-distinfo): Treat $(common-generated) just like + $(generated). + (generated): Depend on the (suitably mutated) $(common-generated) + files too. + * Makerules (common-clean): Remove common-generated files too. + * sysdeps/mach/hurd/Makefile (generated): Don't put errnos.d and + stamp-errnos here. + (common-generated): Do put errnos.d and stamp-errnos here. + (rpath-link): Don't use +=; $(rpath-link) is a colon separated list. -1997-05-17 23:29 Philip Blundell <pjb27@cam.ac.uk> + * sysdeps/mach/hurd/Makefile (before-compile): Add auth; also add + auth to following rule to get it built. - * sysdeps/unix/sysv/linux/netinet/in.h: Update IPv6 definitions - for new advanced API draft. +Fri Aug 30 01:26:44 1996 Ulrich Drepper <drepper@cygnus.com> -1997-05-13 21:33 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/i386/Dist: Add clone.S. + * sysdeps/unix/sysv/linux/m68k/Dist: Likewise. + * sysdeps/unix/sysv/linux/alpha/Dist: Likewise. - * stdio-common/printf_fp.c: Only use the field width for deciding - on padding when printing special values. - * stdio-common/printf_fphex.c: Likewise. + * version.c: Add comment about where to report bugs to. + * catgets/gencat.c (usage): Likewise. + * db/makedb.c (usage): Likewise. + * locale/programs/locale.c (usage): Likewise. + * locale/programs/localedef.c (usage): Likewise. + + * manual/socket.texi: A little bit better wording. + +Thu Aug 29 18:03:06 1996 Ulrich Drepper <drepper@cygnus.com> + + * Makerules: Make sure directory exists before generating stamp file. + (BUILD_CFLAGS): Always refer to using $(..). + * manual/Makefile: Make sure directory exists before generating + stamp file. + (make-target-directory): Add macro definition. + * sysdeps/generic/Makefile: Make sure directory exists before + generating stamp file. + + * Makefile (distribute): Add autolock.sh. Reported by Fila Kolodny. + +Tue Aug 27 10:06:22 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + When compiling in separate directory put objects into + subdirectories matching the source layout. + * Makeconfig (objpfx) [ifdef objdir]: Append $(subdir). + When looking for configparms try in $(common-objpfx). + Use $(common-objpfx)SUBDIR to find objects from other subdirectory + builds. + * Makerules: Add $(objpfx) to vpath list. + (make-dummy-dep): Use $(common-objpfx) to avoid creating dummy.d + more than once. All uses in dependency lists changed. + (+make-deps): Make target directory. + (sed-remove-objpfx): Substitute $(common-objpfx). + (do-ar, build-extra-lib, $(common-objpfx)stub-$(subdir)): Use + $(objpfx) instead of $(objdir) for cd command. + (O%-lib): Always find libc relative to $(..). + (subdir-stamps): Collect stamp files from subdirs. + (common-mostlyclean): Remove stub file in $(common-objpfx). + * MakeTAGS ($P/siglist.pot): Find siglist.c in stdio-common. + * Rules (dep-dummy-lib): Use $(common-objpfx) to avoid creating to + more than once. + ($(objpfx)dummy.c, $(objpfx)empty.c): Change target name to use + $(common-objfpx). All uses in dependency lists changed. + (generated): Prepend $(..) to names. + * bare/Makefile ($(objpfx)lib$(config-vendor).a): Remove $(objpfx) + from $@. + * nss/Makefile ($(objpfx)libnss_dns.so, $(objpfx)libnss_db.so): + Use $(common-objpfx) instead of $(..) in dependencies. + * sysdeps/mach/Makefile (mach-objpfx): Unconditionally use + $(common-objpfx) instead of $(..) and (objpfx). + * sysdeps/mach/hurd/Makefile (hurd-objpfx): Likewise. + (rpath-link): Likewise. + (rpcuserlibs): Likewise. + * sysdeps/unix/Makefile [$(subdir) = stdio-common]: Check for + errlist.c in $(objpfx), not $(common-objpfx). + ($(common-objpfx)s-proto.d): Special rule not covered by pattern + rule. + * sysdeps/unix/make-syscalls.sh: Make syscall rules depending on + s-proto.d in $(common-objpfx), not $(objpfx). + +Thu Aug 29 17:45:49 1996 Ulrich Drepper <drepper@cygnus.com> + + * nss/nsswitch.c (nss_dlerror_run): Free returned error + string. -1997-05-15 13:14 Miles Bader <miles@gnu.ai.mit.edu> +Thu Aug 29 15:53:33 1996 Ulrich Drepper <drepper@cygnus.com> - Changes by Thomas Bushnell <thomas@gnu.ai.mit.edu>: - * hurd/hurdauth.c (_S_msg_add_auth): Implement correctly. + * sysdeps/libm-ieee754/e_acoshl.c: New file. `long double' + implementation. + * sysdeps/libm-ieee754/e_atanhl.c: Likewise. + * sysdeps/libm-ieee754/e_remainderl.c: Likewise. + * sysdeps/libm-ieee754/e_scalbl.c: Likewise. + * sysdeps/libm-ieee754/s_asinhl.c: Likewise. + * sysdeps/libm-ieee754/s_cosl.c: Likewise. + * sysdeps/libm-ieee754/s_sinl.c: Likewise. + * sysdeps/libm-ieee754/s_tanhl.c: Likewise. + * sysdeps/libm-ieee754/s_tanl.c: Likewise. -1997-05-12 14:50 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> +Thu Aug 29 00:28:08 1996 Ulrich Drepper <drepper@cygnus.com> - * hurd/hurdsig.c (_hurdsig_init): Double size of sigthread stack; - msg_add_auth was overflowing it. + * stdio-common/printf_fp.c (__printf_fp): Use default value '.' if + `decimal' char is 0. -1997-05-12 21:20 Richard Henderson <rth@tamu.edu> + * C-numeric.c (not_available): New constant. + (_nl_C_LC_NUMERIC): Use `not_available' for grouping value. - * elf/dl-lookup.c (_dl_lookup_symbol_skip): Call _dl_signal_error - when we can't find the symbol. + * nss/nsswitch.conf: Example configuration file. + * nss/db-Makefile: Example Makefile for generation of databases + for nss_db. + * nss/Makefile (distribute): Add nsswitch.conf and db-Makefile. -1997-05-12 16:54 Ulrich Drepper <drepper@cygnus.com> +1996-08-28 Paul Eggert <eggert@twinsun.com> - * posix/regex.c: Fix handling of 32-bit Windog environments. - Patch by Arnold Robbins <arnold@skeeve.atl.ga.us>. + * C-messages.c (_nl_C_LC_MESSAGES): Set yesexpr to "^[yY]" and + noexpr to "^[nN]"; this conforms to POSIX.2. -1997-05-10 23:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * C-time.c (_nl_C_LC_TIME): Change %d to %e in d_t_format, to + conform to POSIX.2. - * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add cacheflush. +1996-08-28 Paul Eggert <eggert@twinsun.com> -1997-05-10 11:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * C-monetary.c (not_available): New constant. + (_nl_C_LC_MONETARY): Set mon_decimal_point to "", and set + mon_grouping, int_frac_digits, frac_digits, p_cs_precedes, + p_sep_by_space, n_cs_precedes, n_sep_by_space, p_sign_posn, and + n_sign_posn to CHAR_MAX, as required by the POSIX Standard. - * elf/ldd.bash.in: Remove spurious quote character from version - message. +Wed Aug 28 23:12:28 1996 Ulrich Drepper <drepper@cygnus.com> -1997-05-10 08:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * nss/nss_db/db-XXX.c: Correct function names. They must be + `_nss_db_*' instead of `_nss_files_*'. + (lookup): `parse_line' returns 1 if succesful. + * nss/nss_files/files-service.c (servbyname): Key for database + must also contain protocol names. + (servbypt): Likewise. + Test must also check for protocol. Add `proto' argument. - * 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. +Tue Aug 27 09:56:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-05-12 03:47 Ulrich Drepper <drepper@cygnus.com> + * MakeTAGS ($P/subdirs.pot): Prefix all file names, not only the + first one. - * 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. - - * sysdeps/unix/sysv/linux/clone.S: Likewise. - * sysdeps/unix/sysv/linux/socket.S: Likewise. - * sysdeps/unix/sysv/linux/syscall.S: Likewise. +Tue Aug 27 17:45:21 1996 Ulrich Drepper <drepper@cygnus.com> -1997-04-20 04:37 Geoff Keating <geoffk@ozemail.com.au> + * Makerules: Add some test for correct version of GNU Make. - * 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. + * io/fcntl.h: Undo change from Mon Aug 26 22:22:17 1996. + * sysdeps/unix/sysv/linux/fcntlbits.h: Place macros here instead. -1997-04-05 06:34 Geoff Keating <geoffk@ozemail.com.au> + * sysdeps/generic/dl-sysdep.c: Initialize break address to + avoid overwriting last page (OK, Roland). - * 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. +Tue Aug 27 16:20:37 1996 Ulrich Drepper <drepper@cygnus.com> -1997-05-12 02:28 Ulrich Drepper <drepper@cygnus.com> + * resolv/resolv.h: Update from BIND-4.9.5-T3A. + * resolv/arpa/nameser.h: Likewise. + * resolv/res_init.c: Likewise. + * resolv/res_debug.c: Likewise. + * resolv/res_mkquery.c: Likewise. - * 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. +Tue Aug 27 15:47:04 1996 Ulrich Drepper <drepper@cygnus.com> -1997-05-10 11:46 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * elf/dl-error.c (catch): Define errstring element not as const. + (_dl_catch_error): ERRSTRING argument is not const pointer. + Initialize *ERRSTRING and *OBJNAME separately. + * elf/link.h: Change prototype for `_dl_catch_error'. - * nis/rpcsvc/nis_callback.x: New, from tirpcsrc-2.3. + * elf/dl-load.c (_dl_map_object): Use separate variable for + copied NAME to avoid `const' warning. - * 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. + * elf/dlerror.c: Make `last_errstring' variable not const pointer. -1997-05-09 16:09 Miles Bader <miles@gnu.ai.mit.edu> + * elf/rtld.c: Implement reading of /etc/ld.so.preload. This + provides preloading even for SUID binaries. + Add some more casts to avoid signed<->unsigned warnings. - * argp/argp-eexst.c: Include <sysexits.h>. - (argp_err_exit_status): Initialize to EX_USAGE. - * argp/argp.h, argp/argp-help.c: Doc fixes. +Tue Aug 27 15:40:28 1996 NIIBE Yutaka <gniibe@mri.co.jp> -1997-05-08 17:15 Miles Bader <miles@gnu.ai.mit.edu> + * posix/sys/types.h: Define loff_t. + * sysdeps/unix/sysv/linux/gnu/types.h: Define __loff_t. - * argp/argp.h [!__error_t_defined] (__error_t_defined): Define. - * argp/argp-help.c (canon_doc_option): Correct ctype tests. +Mon Aug 26 22:22:17 1996 Ulrich Drepper <drepper@cygnus.com> -1997-05-08 07:53 H.J. Lu <hjl@gnu.ai.mit.edu> + * io/fcntl.h: Add definition for BSD F* macros. - * sysdeps/unix/sysv/linux/poll.c: Save errno. + * misc/init-misc.c (__init_misc): Make static. + * misc/Makefile: Pass -fkeep-inline-functions flag for init-misc.c. -1997-05-08 16:44 Ulrich Drepper <drepper@cygnus.com> + * configure.in: Add test for -fno-exception option of gcc. + * config.make.in: Add definition of have-no-exceptions. + * Makerules: Define no-exceptions based on have-no-exceptions. + * csu/Makefile: When translating initfini.c pass $(no-exceptions). + This is necessary for gcc >= ss-960816. - * sysdeps/unix/sysv/linux/syscalls.list: Add nfsservctl. +Mon Aug 26 17:16:48 1996 Richard Henderson <rth@tamu.edu> -1997-05-07 20:27 H.J. Lu <hjl@gnu.ai.mit.edu> + * sysdeps/alpha/dl-machine.h: Clear startup flag. - * sys/ttydefaults.h: Removed. +Fri Aug 16 21:17:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-05-07 14:10 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + * Makerules (o-iterator-doit): Simplify reference to autolock + script. - * 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). +Sat Aug 24 15:27:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-05-05 14:22 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + * sysdeps/mach/hurd/getcwd.c + (_hurd_canonicalize_directory_name_internal): After resizing the + buffer move the current contents to the end. Correctly relocate + file name pointer to upper half of the buffer. - * hurd/hurdsig.c (_hurdsig_preemptors): Provide initialization. - * hurd/hurdfault.c (_hurdsig_fault_preemptor): Likewise. +Mon Aug 26 15:49:59 1996 Ulrich Drepper <drepper@cygnus.com> -1997-05-07 16:31 Ulrich Drepper <drepper@cygnus.com> + * rtld.c (dl_main): Remove code to call ld.so initializer. This + was introduced for compatibility with Linux ld.so and would not + be used anymore. Now we don't have any good values to use as the + parameters to the initializer so simply remove it. - * 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. +Sun Aug 25 18:25:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * gmon/gmon.c (ERR): Don't write the terminating NUL. - * elf/ldd.bash.in: Correct translatable strings. + * sysdeps/posix/profil.c (profil): Disable the profiling timer at + first. + (profil_count): Use 64 bit arithmethic to avoid overflow. - * 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. + * sysdeps/generic/machine-gmon.h (MCOUNT): Fix argument order. - * posix/getopt.c: Declare as master copies. - * posix/getopt1.c: Likewise. - * posix/getopt.h: Likewise. +Mon Aug 26 16:31:33 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - * sysdeps/unix/sysv/linux/sys/mount.h: Add definitions for option - value to mount functions. - Patch by a sun <asun@zoology.washington.edu>. + * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Tolerate NEW + being null; in that case don't touch the timer at all (but do + return something in OLD if necessary). - * 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>. +Mon Aug 26 13:35:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> -1997-05-06 13:25 H.J. Lu <hjl@gnu.ai.mit.edu> + * sysdeps/mach/hurd/i386/init-first.c (__libc_multiple_libcs): New + variable. + * sysdeps/i386/init-first.c: Likewise. + * sysdeps/stub/init-first.c: Likewise. - * 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. +Mon Aug 26 02:01:37 1996 Ulrich Drepper <drepper@cygnus.com> - * sunrpc/svc_run.c (svc_exit): New, defined. - (svc_run): Test for svc_stop variable. - * sunrpc/rpc/svc.h (svc_exit): New, declared. + * elf/dl-open.c (_dl_open): Call library initializer with + correct command line arguments and environment information. + * elf/rtld.c (dl_main): Provide arguments to initializer of + ld.so itself. -1997-05-03 08:47 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Sun Aug 25 19:15:46 1996 Ulrich Drepper <drepper@cygnus.com> - * 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. + * shadow/Makefile (routines): Add lckpwdf. + * shadow/lckpwdf.c: New file. -1997-05-03 09:21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Force + argument `cw' to be placed in memory. Patch by Torbjorn Granlund. - * 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. +Sun Aug 25 12:53:37 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/m68k/e_pow.c: Raise invalid exception for NaN result. - Use __m81_test. + * configure.in: Add definition for `__eh_pc' and `__throw' in + test for --no-whole-archive. The compiler generates dependencies + for this but none of the standard librares and startup files + are used. Necessary for gcc >= ss-960816. - * 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. +Sun Aug 25 01:31:33 1996 Ulrich Drepper <drepper@cygnus.com> - * 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. + * elf/dl-error.c (_dl_signal_error): If error is catched, malloc + return string since string might be on stack. + * elf/dl-lookup.c (_dl_lookup_symbol): Undo change of + Wed Aug 21 10:14:59 1996. + * elf/dlerror.c (dlerror): Free error string after printing. + (_dlerror_run): If error string was not printed since last error + free string. + * rtld.c (dl_main): Free error string in case of error. -1997-05-02 19:48 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Sat Aug 24 03:16:47 1996 Ulrich Drepper <drepper@cygnus.com> - * Makerules, manual/Makefile: Remove -$(subdir) suffix from subdir - stamp files to avoid problems with long file names. + * misc/syslog.c (vsyslog): Don't use `localtime' or `gmtime' since + this changes the global state for `localtime' and `gmtime'. Use + `__localtime_r'/`__gmtime_r' instead. + * resolv/res_debug.c (__p_secstodate): Likewise. + * sysdeps/generic/ftime.c: Likewise. + * sysdeps/posix/gettimeofday.c: Likewise. + Reported by Paul Eggert. -1997-05-03 22:24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * time/gmtime.c: De-ANSI-fy. + * time/strftime.c: Don't call non-reentrant functions which change + state. - * sysdeps/libm-ieee754/e_acoshl.c: Fix test for x < 1. +Wed Aug 21 10:14:59 1996 Richard Henderson <rth@tamu.edu> - * sysdeps/libm-ieee754/e_atan2l.c: Ignore integer bit for Inf and - NaN. Fix test for sign of infinite y. + * elf/dl-lookup.c (_dl_lookup_symbol): Malloc the error string rather + than putting it on the stack. - * sysdeps/libm-ieee754/e_atanhl.c: Fix sign of result. +Wed Aug 21 10:12:42 1996 Richard Henderson <rth@tamu.edu> - * sysdeps/libm-ieee754/e_sinhl.c: Fix test for sign of argument. + * elf/rtld.c (dl_main): When looking up symbols in response to --list, + don't find .plt entries. -1997-05-03 01:15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Mon Aug 19 23:18:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * csu/Makefile (extra-objs) [$(elf)=yes]: Add abi-note.o to get - dependencies. + * sysdeps/m68k/dl-machine.h (RTLD_START): Optimize clearing + _dl_starting_up. - * 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/i386/dl-machine.h (elf_machine_load_address): Use notation - for local label. - - * time/strftime.c (add): Respect `0' padding flag. - Reported by Richard Stallman <rms@gnu.ai.mit.edu>. - -1997-04-30 15:46 Ulrich Drepper <drepper@cygnus.com> - - * 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>. - -1997-04-30 01:32 Ulrich Drepper <drepper@cygnus.com> - - * manual/stdio.texi: Use @vtable where possible. - Add TeX version of @multitable since texi2dvi cannot handle them - correct in the moment. +Tue Aug 20 17:42:10 1996 Miles Bader <miles@gnu.ai.mit.edu> - * po/de.po: Update. + * stdio/linewrap.c (line_wrap_stream): Initialize D->seek. -1997-04-29 21:06 Ulrich Drepper <drepper@cygnus.com> +Sat Aug 17 12:19:37 1996 David Mosberger-Tang <davidm@azstarnet.com> - * 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>. + * login/pututline_r.c (__pututline_r): Fix handling of case where + getutid_r() fails with ESRCH. Reported by Miquel van Smoorenburg. -1997-04-27 21:50 Philip Blundell <pjb27@cam.ac.uk> +Wed Aug 14 14:10:54 1996 David Mosberger-Tang <davidm@azstarnet.com> - * sysdeps/unix/sysv/linux/net/route.h (struct in6_rtmsg): Use - correct `int' sizes for struct members. + * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Change entry + for "Jensen" so _bus_base() returns 0 on that platform. Use + _bus_base_sparse() to determine base address of sparse memory. -1997-04-29 19:14 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/sys/io.h: Enclose #include <asm/io.h> + and declarations in __BEGIN_DECLS/__END_DECLS. - * sysdeps/libm-i387/e_powf.S Generate invalid exception correctly. - * sysdeps/libm-i387/e_pow.S: Likewise. - * sysdeps/libm-i387/e_powl.S: Likewise. +Sun Aug 18 13:37:09 1996 Ulrich Drepper <drepper@cygnus.com> -1997-04-23 10:08 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * err.h: New file. Wrapper around misc/err.h. - * math/fenv.h: Correct typos. + Correct solution of multiple initialization problem by + Roland McGrath. + * csu/initfini.c: Remove global variable __libc_is_static. + * elf/rtld.c: Introduce new global variable _dl_starting_up. + It's nonzero during the startup. + * elf/dl-open.c (_dl_open): When _dl_start function is not + available (i.e., if in static libc) set `__libc_multiple_libcs' + to nonzero value. + * sysdeps/unix/sysv/linux/init-first.c (__libc_multiple_libc): + New global variable. + (init): Undo change of Fri Aug 2 03:12:40 1996. + Initialize `__libc_multiple_libcs' to nonzero only if this is + a shared lib called from a statically linked program and don't + call `personality' and `setfpucw' in this case either. + * sysdeps/generic/sbrk.c: Undo change of Fri Aug 2 03:12:40 1996. + Don't call brk(0) until `__libc_multiple_libcs' is nonzero. + * sysdeps/i386/dl-machine.h (RTLD_START): Clear _dl_starting_up + before jumping to user code. + * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise. -1997-04-28 10:04 Richard Henderson <rth@tamu.edu> +Fri Aug 16 04:59:01 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/alpha/clone.S: Save the function argument - in t0 rather than a4 to avoid it being clobbered. + * sysdeps/unix/sysv/linux/init-first.c: Remove hack from + Thu Aug 8 12:40:20 1996. + * sysdeps/unix/sysv/linux/Makefile [$(subdir) = csu]: Use + -fkeep-inline-functions flag instead. -1997-04-27 23:52 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Fri Aug 16 01:24:33 1996 Ulrich Drepper <drepper@cygnus.com> - * manual/summary.awk: Recognize @defmumblex. + * inet/ruserpass.c (userpass): Allocate buffer for .netrc file + name dynamically. Reported by Alan Cox. + Uncomment warnings and mark as translatable. - * manual/signal.texi (Miscellaneous Signals): Use @deftypevrx for - second description header. + * time/strftime (strftime): Add implementation for %s and %z + format. Change behaviour for unknown format character: now + simply print it. This matches the behaviour of printf. + Reported by Jim Meyering. + * manual/time.texi: Document all formats and flags of strftime. -1997-04-27 23:29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Thu Aug 15 18:02:51 1996 Ulrich Drepper <drepper@cygnus.com> - * manual/arith.texi (Floating-Point Classes): Don't indent text, - makeinfo doesn't like that. + * elf/rtld.c (dl_main): Loaded object has type lt_executable, + not lt_library. -1997-04-27 20:52 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * misc/sys/select.h: Define fd_set using typedef, not #define. + Proposed by David Mosberger-Tang. - * malloc/obstack.h (obstack_specify_allocation_with_arg, - obstack_chunkfun, obstack_freefun): Fix casts. +Thu Aug 15 12:48:21 1996 Ulrich Drepper <drepper@cygnus.com> -1997-04-27 18:21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * po/header.pot: Use real description line. - * manual/xtract-typefun.awk: Allow names with only one character. +Thu Aug 15 04:42:44 1996 Ulrich Drepper <drepper@cygnus.com> -1997-04-26 14:16 Ulrich Drepper <drepper@cygnus.com> + * elf/rtld.c (dl_main): When started with --verify prevent + any warning. Just exit with an error. + * elf/ldd.sh.in: Don't run given object directly. This fails for + libraries. Instead use $RTLD again. - * 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>. +Thu Aug 15 02:08:59 1996 Ulrich Drepper <drepper@cygnus.com> -1997-04-25 12:31 Ulrich Drepper <drepper@cygnus.com> + * manual/nss.texi: New file. Document NSS. + * manual/nsswitch.texi: New file. Example configuration. - * csu/Makefile ($(objpfx)initfini.s): Add CPPFLAGS, CFLAGS and -g0 - to command line of compiler. - Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>. + * manual/string.texi: Document stpncpy, strdupa, and strndupa. + * manual/example/strdupa.c: New file. Example for strdupa. - * sysdeps/generic/sigset.h (__sigandset, __sigorset): Fix typos. - Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>. +Wed Aug 14 21:36:16 1996 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>. + * stdlib/strtod.c (STRTOD): Correct assertion about size of + wint_t and wchar_t. Reported by David Mosberger-Tang. - * time/strptime.c (strptime_internal): Fix %I format specifier - being off by one. - Patch by Mark Kettenis <kettenis@phys.uva.nl>. +Mon Aug 12 22:40:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-04-24 12:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * elf/dl-lookup.c (_dl_lookup_symbol): Remove fifth parameter + RELOC_ADDR and make NOPLT a set of flags. All callers + changed. Delete condition that checks for resolving to the + location being filled in. Add condition to skip the + executable's symbols if requested. + * elf/link.h: Change declaration of _dl_lookup_symbol + accordingly. + (DL_LOOKUP_NOEXEC, DL_LOOKUP_NOPLT): New definitions. + * elf/dl-reloc.c (RESOLVE): Remove second parameter and rename + NOPLT to FLAGS. + * elf/dl-runtime.c (RESOLVE): Likewise. + * elf/rtld.c (RESOLVE): Likewise. + * sysdeps/m68k/dl-machine.h (elf_machine_rela): Pass + DL_LOOKUP_NOEXEC as second argument to the RESOLVE macro if + processing a copy reloc, DL_LOOKUP_NOPLT for a jump slot + reloc, zero otherwise. + * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. + * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise. - * stdlib/lcong48_r.c: Include <limits.h>. - * stdlib/seed48_r.c: Likewise. +Wed Aug 14 17:57:08 1996 Ulrich Drepper <drepper@cygnus.com> - * stdio-common/printf_size.c (printf_size): Correct type of - `units' and make robust against future changes. + * MakeTAGS: Clean up use of --omit-header and -n for xgettext. + * po/header.pot: Add empty line at end. -1997-04-23 18:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Sun Aug 11 13:45:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * MakeTAGS (all-pot): Remove $P/errlist.pot, all error messages + are now in $P/stdio-common.pot. + (XGETTEXTFLAGS-errlist.pot): Variable removed. -1997-04-23 18:53 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Mon Aug 12 19:25:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * manual/arith.texi, manual/math.texi: Use @defmumblex for - additional description headers. - * manual/xtract-typefun.awk: Recognize them. + * Makerules (do-ar, o-iterator-doit): Compute path to autolock + script at run time, not configure time. + * config.make.in, configure.in: Undo previous change. -1997-04-22 15:58 Andreas Jaeger <aj@arthur.rhein-neckar.de> +Wed Aug 14 13:20:02 1996 Ulrich Drepper <drepper@cygnus.com> - * stdio-common/printf_size.c (printf_size): Correct size of array - units. + * sysdeps/unix/sysv/linux/i386/close.S: Push return value of thread + on stack as argument for `_exit'. Reported by Andreas Schwab. -1997-04-21 07:50 H.J. Lu <hjl@gnu.ai.mit.edu> +Mon Aug 12 19:36:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * libgen.h: New file. + * sysdeps/unix/sysv/linux/m68k/clone.S: New file. -1997-04-21 16:45 Ulrich Drepper <drepper@cygnus.com> +Wed Aug 14 04:22:35 1996 Richard Henderson <rth@tamu.edu> - * 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. + * elf/dl-load.c (_dl_map_object): Save name in malloced memory. + (_dl_map_object_from_fd): Free name on error. - * stdlib/stdlib.h: Provide new prototypes. +Wed Aug 14 13:00:09 1996 Ulrich Drepper <drepper@cygnus.com> -1997-04-21 13:25 Ulrich Drepper <drepper@cygnus.com> + * string/strdup.c: Use result of memcpy to avoid reloading. - * 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. +Tue Aug 13 00:55:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * math/cmathcalls.h: Fix typo. + * shadow/sgetspent_r.c (__sgetspent_r): Copy string to buffer, not + the other way round. - * stdlib/a64l.c: Pretty printing. +Tue Aug 13 20:51:21 1996 Ulrich Drepper <drepper@cygnus.com> - * stdlib/seed48_r.c: Also reset `a' and `c' to default values. - * stdlib/srand48_r.c: Likewise. - * stdlib/stdlib.h: Pretty printing. + * stdlib/canonicalize.c (canonicalize): Add cast to prevent + warning. - * sysdeps/i386/fpu/__math.h: Fix typo. + * Makerules (o-iterator-doit): Use autolock.sh when running ranlib. - * sysdeps/libm-ieee754/s_nearbyintf.c: Correctly name function. - * sysdeps/libm-ieee754/s_nearbyintl.c: Likewise. +Tue Aug 13 18:26:45 1996 Ulrich Drepper <drepper@cygnus.com> -1997-04-19 22:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * nss/nsswitch.c (__nss_configure_lookup): Use fact that list is + sorted. - * sysdeps/m68k/fpu/e_pow.c: Rewrite handling of integral exponent. + Update from bind-4.9.5-T1A. + * resolv/Makefile (libresolv-routines): Add base64, inet_net_ntop, + inet_net_pton, inet_net. -1997-04-18 19:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * resolv/gethnamaddr.c: Include <sys/types.h>. + * resolv/getnetnamadr.c: Likewise. + * resolv/herror.c: Likewise. + * resolv/inet_addr.c: Likewise. + * resolv/nsap_addr.c: Likewise. + * resolv/res_comp.c: Likewise. + * resolv/res_data.c: Likewise. + * resolv/res_init.c: Likewise. + * resolv/res_mkquery.c: Likewise. + * resolv/res_query.c: Likewise. + * resolv/res_send.c: Likewise. - * sysdeps/m68k/fpu/__math.h: Define optimized versions of - isgreater, isgreaterequal, isless, islessequal, islessgreater, and - isunordered. + * resolv/gethnamaddr.c [! SPRINTF_CHAR] (SPRINTF): Cast return + value of sprintf. + * resolv/inet_ntop.c: Likewise. -1997-04-20 01:28 Richard Henderson <rth@tamu.edu> + * resolv/gethnamaddr.c [BSD]: Include <stdlib.h>. + Remove prototype of gethostbyname_ipv4. - * rellns-sh: Handle files in the same directory correctly. + * resolv/inet_ntop.c, resolv/inet_pton.c: Use ISO C `mem*' + functions instead of BSD `b*' functions. -1997-04-20 11:22 Ulrich Drepper <drepper@cygnus.com> + * resolv/nsap_addr.c: Add copyright message. - * csu/initfini.c: Place ALIGN instruction at correct positions. - Patch by Richard Henderson <richard@twiddle.rth.home>. + * resolv/res_comp.c: Remove comment explaining label format. + (res_mailok): Correct check. -1997-04-19 17:12 Ulrich Drepper <drepper@cygnus.com> + * resolv/res_debug: Include missing headers. + (__fp_nquery): Handle `unused', `ad', and `cd' bits. + (__p_fqnname): New function to print FQDN from compressed name. + (__p_rr): Use __p_fqnname. Correct printing of ". Handle T_TXT + correctly. Add handling of T_KEY and T_SIG. + Handle class and type names by using name arrays instead of + explicit `switch'es. + (__sym_ston, __sym_ntos, __sym_ntop): New functions to use arrays. + (__dn_count_labels, __p_secstodate): New functions. - * Make-dist: Don't automatically ignore .c files if the .S or .s file - is ignored. + * resolv/resolv.h (__RES): Update version number. + (res_sym): New type. + Add #defines for new functions. + Declare sym_ntos, sym_ntop, b64_ntop, b64_pton, __p_fqnname, + __p_secstodate, dn_count_labels. - * csu/Makefile (distribute): Add defs.awk. + * resolv/arpa/nameser.h (__BIND): Update version number. + Add KEYFLAG_* and ALGORITHM_* symbols. + (HEADER): Add `ad' and `cd' flags. -1997-04-19 15:39 Ulrich Drepper <drepper@cygnus.com> + * inet/ient.h: Add prototypes for inet_neta, inet_net_ntop, + and inet_net_pton. - * sysdeps/stub/shmat.c: Update to XPG4.2 interface. - * sysdeps/stub/shmdt.c: Likewise. - Reported by Thomas Bushnell, n/BSG. + * manual/maint.texi: Document that we use bind-4.9.5. + * INSTALL: Ditto. -1997-04-19 13:22 Ulrich Drepper <drepper@cygnus.com> +Mon Aug 12 19:03:22 1996 Thomas Bushnell n/BSG <thomas@psilocin.gnu.ai.mit.edu> - * manual/stdio.texi: Add description of printf_size and - printf_size_info. Partly based on the documentation by Larry McVoy. + * sysdeps/generic/gnu/types.h: Declare __fd_mask as `unsigned long'. -1997-04-19 02:21 Ulrich Drepper <drepper@cygnus.com> + * mach/Makefile (mach/mach_host.uh): Depend on + $(objpfx)/mach-syscalls.mk. + ($(objpfx)mach-shortcuts.h): Depend on $(objpfx)mach/mach_host.h. + (This fixes a make loop; thanks to Marcus Daniels + <marcus@sysc.pdx.edu> for the patch.) - * 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. +Mon Aug 12 16:41:52 1996 Thomas Bushnell n/BSG <thomas@gnu.ai.mit.edu> -1997-04-18 15:48 Ulrich Drepper <drepper@cygnus.com> + * io/getwd.c (getwd) [! PATH_MAX]: Don't assume that the user's + buffer is any longer than the amount necessary to hold the + filename; the Hurd getcwd uses the *entire* contents of the + buffer, however long it is specified to be. - * 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>. +Mon Aug 12 04:33:09 1996 Ulrich Drepper <drepper@cygnus.com> -1997-04-17 17:57 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * nss/nsswitch.c (__nss_database_lookup): Always release locks + before returning. Reported by Miles Bader. - * math/Makefile (headers): Add mathbits.h. +Mon Aug 12 03:31:58 1996 Ulrich Drepper <drepper@cygnus.com> -1997-04-16 21:20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * nss/nsswitch.c (__nss_configure_lookup): New function. + Allows to specify services. + * nss/XXX-lookup.h: Rename database variable and make global. + * nss/databases.def: New file. Real names of all databases. - * 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. + * nss/nss.h: New file. Contains declaration useful for users + and service developers. + * nss/nsswitch.h: Move some declarations to nss/nss.h. + * nss.h: New file. Wrapper around nss/nss.h. - * sysdeps/libm-ieee754/e_scalb.c: Use internal names of the - functions. - * sysdeps/libm-ieee754/e_scalbl.c: Likewise. + * nss/Makefile (headers): Add nss.h. + (distributes): Add databases.def. - * 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'. +Sun Aug 11 16:19:42 1996 Ulrich Drepper <drepper@cygnus.com> -1997-04-18 11:21 Ulrich Drepper <drepper@cygnus.com> + Help the poor people with fast machines by making sure only + one `ar' commands works on the library. + * autolock.sh: New file. Written by Tom Tromey. + * Makerules (do-ar): Call autolock.sh shell script instead of + directly using `ar'. + * config.make.in: Make configuration variable AUTOLOCK which + gets initialized by configure. + * configure.in: Define variable AUTOLOCK to point to autolock.sh + script and mark it to substitute. - * shadow/fgetspent_r.c: Set *RESULT to NULL before returning error. - Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>. + * string/Makefile: Add -fno-builtin for tst-strlen.c, too. -1997-04-18 02:18 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/generic/sbrk.c (__sbrk): Get kernel brk address + always only if in static libc or if statically linked program + uses libc.so. - * 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. +Sun Aug 11 01:12:38 1996 Richard Henderson <rth@tamu.edu> -1997-04-17 16:55 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Optimize LD_BIND_NOW + startup by moving Icache flush from here ... + (ELF_MACHINE_RUNTIME_TRAMPOLINE): ... to here. + (ELF_MACHINE_USER_ADDRESS_MASK): Delete; it is unused. - * 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. + * sysdeps/alpha/divrem.h: Update comment to reflect the actual + calling conventions. The code is already correct. -1997-04-16 17:33 Miles Bader <miles@gnu.ai.mit.edu> +Sun Aug 11 01:06:42 1996 Richard Henderson <rth@tamu.edu> - * login/utmp_file.c (proc_utmp_eq): Only use ut_id field if valid. + * string/Makefile: Compile tester with -fno-builtin as we want to + test our implementations, not gcc's. -1997-04-15 12:47 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Sat Aug 10 13:17:27 1996 David Mosberger-Tang <davidm@azstarnet.com> - * 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. + * shadow.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/unix/sysv/linux/netinet/in.h: Move + __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as + well. - * sysdeps/libm-ieee754/s_roundl.c: Restore integer bit when - mantissa overflows into exponent. Fix priority of >> vs +. + * socket/sys/socket.h [__cplusplus]: Use old-style __SOCKADDR_ARG. + g++ 2.7.2 (and earlier) has no transparent unions support. - * math/libm-test.c (basic_tests): Use the appropriate isnan and - isinf function to test the value of the nan function. +Fri Aug 9 18:50:06 1996 David Mosberger-Tang <davidm@azstarnet.com> -1997-04-15 13:40 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/alpha/ioperm.c (_bus_base_sparse): New + function to determine the base address of sparse bus memory. + (APECS_*): Rename to CIA_*. + (APECS_SPARSE_MEM, CIA_SPARSE_MEM): New macros. + (platform): Add sparse_bus_memory_base member and initialize. + (sparse_bus_memory_base): New variable. - * sysdeps/libm-i387/s_finite.S: Fix typo. +Tue Aug 6 10:23:18 1996 David Mosberger-Tang <davidm@azstarnet.com> - * sysdeps/i386/fpu/__math.h: Add optimized versions of isgreater, - isgreaterequal, isless, islessequal, islessgreater, and - isunordered. + * sysdeps/posix/ttyname_r.c (ttyname_r), + sysdeps/posix/ttyname.c (ttyname): Return -1/NULL if + !__isatty(fd) (POSIX.1 says so.) -1997-04-15 03:14 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/getlogin.c (getlogin): Fix to check fd 0 only. + This is not a gross hack, after all---for compatibility, + getlogin() really should check fd 0 only and not try to base its + operation on the controlling tty. - * wcsmbs/wcsstr.c: Add weak alias wcswcs for Unix98 compliance. +Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com> - * 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/unix/getlogin.c (getlogin): Add static variable NAME, + change utmp_data from static to auto. - * sysdeps/libm-ieee754/s_roundtol.c: Fix typos. - * sysdeps/libm-ieee754/s_roundtoll.c: Likewise. +Sun Aug 11 02:56:08 1996 Ulrich Drepper <drepper@cygnus.com> - * 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. + * posix/unistd.h [__USE_MISC]: Add prototype for `nice'. + Reported by David Mosberger-Tang. - * 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. +Sat Aug 10 02:05:28 1996 Richard Henderson <richard@twiddle.tamu.edu> - * sysdeps/i386/fpu/fenvbits.h: Define FE_NOMASK_ENV. - * sysdeps/i386/fpu/fesetenv.c: Handle FE_NOMASK_ENV. + * sysdeps/libm-ieee754/s_isnan.c [NO_LONG_DOUBLE]: Add strong + alias to `__isnanl'. - * math/complex.h (_Imaginary_I): Define correctly. I misread the - standard first. +Fri Aug 9 17:38:58 1996 Ulrich Drepper <drepper@cygnus.com> - * 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. - - * sysdeps/libm-ieee754/s_ceill.c: Corrected. The mantissa has only - 63 bits. - * sysdeps/libm-ieee754/s_floorl.c: Likewise. - - * po/pl.po: Updated. - - * string/swab.c: Correctly handle array of odd length. - - * sysdeps/generic/memmem.c: Update copyright. - * manual/string.texi: Correct prototype in memmem documentation. - -1997-04-10 20:22 Ulrich Drepper <drepper@cygnus.com> - - * hurd/Makefile (sunrpc-headers): Add clnt.h. - Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>. - -1997-04-09 14:21 Miguel de Icaza <miguel@nuclecu.unam.mx> - - * sysdeps/sparc/dl-machine.h: Bug fix: I was not loading - the proper value from the GOT. Pass argument block to - init function. - - * sysdeps/sparc/elf/start.c: Call atexit (_fini) after calling - _init (). - - * sysdeps/sparc/fpu_control.h: Fix the FPU constants. I got them - wrong the first time. - - * sysdeps/sparc/setjmp.S: PIC code was clobbering a callee saved - register. - - * sysdeps/sparc/udiv_qrnnd.S: Add type @function. - - * sysdeps/unix/sysv/linux/sparc/init-first.h: Linux/SPARC specific - SYSDEP_CALL_INIT. - - * sysdeps/unix/sysv/linux/sparc/signum.h: Remove definition for - NSIG and duplicated SIGIOT. - -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-03 18:35 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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. - -1997-04-03 12:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.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. + * sysdeps/unix/sysv/linux/sys/timex.h: Include <sys/time.h> to + get `struct timeval'. + * sysdeps/unix/sysv/linux/sys/acct.h: Get time_t from <time.h>. + * sysdeps/unix/sysv/linux/sys/module.h: Get size_t from <stddef.h>. + * sysdeps/unix/sysv/linux/sys/io.h: Get definition of __P. + * sysdeps/unix/sysv/linux/sys/klog.h: Likewise. + * gmon/sys/gmon.h: Include <sys/types.h> to get u_long. + * sysdeps/unix/sysv/linux/direntry.h: Complete types in + <linux/dirent.h>. + * io/fts.h: Include <sys/types.h> to get dev_t. + Reported by Matthias Urlichs. -1997-04-04 23:57 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/posix/tempname.c [USE_IN_LIBIO]: Don't clear + _IO_file_flags. It's the same as _flags. + Reported by Miquel van Smoorenburg <miquels@Q.cistron.nl>. - * stdio-common/vfscanf.c: Fix scanning of hexadecimal fp number. - * stdio-common/tstscanf.c: Add test case for this. +Wed Aug 7 19:38:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-04-04 17:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Add RLIMIT_AS. - * math/libm-test.c: Fix more typos. +Thu Aug 8 16:17:38 1996 Ulrich Drepper <drepper@cygnus.com> -1997-04-03 17:15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * pwd/getpwent.c: Define BUFLEN from NSS_BUFLEN_PASSWD. + * pwd/getpwent_r.c: Likewise. + * pwd/getpwnam.c: Likewise. + * pwd/getpwnam_r.c: Likewise. + * pwd/getpwuid.c: Likewise. + * pwd/getpwuid_r.c: Likewise. - * math/libm-test.c (csinh_test): Fix test names. - (ccosh_test): Likewise. + * grp/getgrent.c: Define BUFLEN from NSS_BUFLEN_GROUP. + * grp/getgrent_r.c: Likewise. + * grp/getgrgid.c: Likewise. + * grp/getgrgid_r.c: Likewise. + * grp/getgrnam.c: Likewise. - * 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. + * pwd/fgetpwent_r.c: New file. Reentrant version of fgetpwent. + * pwd/fgetpwent.c: Rewrite to use fgetpwent_r. + * pwd/Makefile (routines): Add fgetpwent_r. + * pwd/pwd.h: Add prototypes for __fgetpwent_r and fgetpwent_r. - * 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. + * grp/fgetgrent_r.c: New file. Reentrant version of fgetgrent. + * grp/fgetgrent.c: Rewrite to use fgetgrent_r. + * grp/Makefile (routines): Add fgetgrent_r. + * grp/grp.h: Add prototypes for __fgetgrent_r and fgetgrent_r. - * 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. + Implement shadow password lookup functions. This is no complete + shadow password suite. + * shadow/Makefile: New file. + * shadow/fgetspent.c: New file. + * shadow/fgetspent_r.c: New file. + * shadow/getspent.c: New file. + * shadow/getspent_r.c: New file. + * shadow/getspnam.c: New file. + * shadow/getspnam_r.c: New file. + * shadow/putspent.c: New file. + * shadow/sgetspent.c: New file. + * shadow/sgetspent_r.c: New file. + * shadow/shadow.h: New file. + * shadow/spwd-lookup.c: New file. + * shadow/nss_files/files-spwd.c: New file. - * 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. +Thu Aug 8 13:33:45 1996 Ulrich Drepper <drepper@cygnus.com> -1997-04-03 10:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/ftime.c: New file. Available system + call is only a stub. + Reported by Matthias Urlichs. - * manual/Makefile (dir-add.texi): Simplify. + * Makeconfig [!default_cflags]: Change default value from `-g' + to `-g -O'. -1997-04-09 01:24 Ulrich Drepper <drepper@cygnus.com> + * configure.in: Recognize i686. + * sysdeps/i386/i686/Implies: Default on i586 optimized code. - * rellns-sh: Rewrite to work also in presence of symlinks. +Thu Aug 8 12:40:20 1996 Matthias Urlichs <smurf@smurf.noris.de> - * argp/argp-fmtstream.c: Add casts to prevent warnings. - * argp/argp-fmtstream.h: Likewise. - * argp/argp-help.c: Likewise. + * Makeconfig [$(build-omitfp) == yes]: Add to CFLAGS-.so + value of CFLAGS-.o, not CFLAGS-o. - * 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. + * sysdeps/unix/sysv/linux/init-first.c (init): Add volatile + pointer to ourself. Otherwise `gcc -O3' optimized init away. - * locale/setlocale.c (_nl_current): Add element with index LC_ALL. - Reported by Greg McGary <gkm@eng.ascend.com>. +Thu Aug 8 01:41:43 1996 Ulrich Drepper <drepper@cygnus.com> - * manual/libc.texinfo: Update malloc documentation for new malloc. - * manual/memory.texi: Likewise. - Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>. + * elf/Makefile: Undo change of Tue Aug 6 14:27:11 1996. + * elf/dl-support: Add definition of `_dl_sysdep_read_whole_file'. - * math/libm-test.c (check_long): New function. - (check_longlong): New function. - (rinttol_test): New function. - (rinttoll_test): New function. +Thu Aug 8 01:15:59 1996 Ulrich Drepper <drepper@cygnus.com> - * 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/i386/fpu_control.h (_FPU_DEFAULT, _FPU_IEEE): Set + to 0x137f to allow long double operations. - * 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>. +Sun Aug 4 13:12:05 1996 Richard Henderson <rth@tamu.edu> - * sunrpc/svc_auth.c: Moved to ... - * sysdeps/generic/svc_auth.c: ...here. + Bug Fixes: - * time/time.h: Pretty print. + * nss/nsswitch.c (_res): Remove redundant variable definition. + The real one is in resolve/res_init.c, and having both prevents + using -fno-common when building the shared library. + * sunrpc/rpc_prot.c (_null_auth): Same. Original is in rpc_common.c. -1997-04-08 07:19 H.J. Lu <hjl@gnu.ai.mit.edu> + * sysdeps/unix/sysv/linux/alpha/brk.S: When PIC, define __curbrk as + a .bss object not a COMMON symbol. - * libio/genops.c (_IO_flush_all_linebuffered): Don't flush on - a read-only stream. + * sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S: Must load + $gp before referencing __sigsetjmp symbol. Retain LITUSE for same. -1997-04-09 01:19 Ulrich Drepper <drepper@cygnus.com> + Optimizations: - * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration - in correct place. - Patch by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>. + * sysdeps/alpha/strlen.S: Rearrange first-word setup and thense the + main loop for better dual-issue on EV5. Rearrange binary search to + pipeline better and trim one instruction. -1997-04-07 15:34 Ulrich Drepper <drepper@cygnus.com> + Cosmetic Changes: - * 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. + * time/localtime.c (localtime_r): Move lock declaration back next to + the comment where it was before the 960724 change. - * 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. + * INSTALL, manual/maint.texi: alpha-gnu-linux -> alpha-ANYTHING-linux. + The second word is supposed to be the hardware manufacturer. - * 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. + * sysdeps/alpha/_mcount.S: Retain LITUSE for __mcount. + * sysdeps/alpha/setjmp.S: Retain LITUSE for __sigsetjmp_aux. - * 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. + * sysdeps/alpha/divrem.h: More local labels, retain LITUSE for _mcount. - * sysdeps/libm-ieee754/s_rintl.c: Many corrections. The previous - version was full of errors. + * sysdeps/alpha/alphaev5/add_n.S, sysdeps/alpha/alphaev5/lshift.S, + sysdeps/alpha/alphaev5/rshift.S, sysdeps/alpha/alphaev5/sub_n.S: + Same cleanups as with EV4 GMP stuff. - * math/math.h (rinttol): Argument is of type `long double' not - `double'. - (rinttoll): Likewise. - (roundtol): Likewise. - (roundtoll): Likewise. +Tue Jul 25 03:30:56 1996 Richard Henderson <rth@tamu.edu> -1997-04-06 11:32 H.J. Lu <hjl@gnu.ai.mit.edu> + * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_routines): Add clone. + * sysdeps/unix/sysv/linux/alpha/clone.S: New file. + * sysdeps/unix/sysv/linux/i386/clone.S: New file. - * posix/getopt.c (_getopt_initialize): Preserve optind. - (_getopt_internal): Set optind to 1 if optind == 0 before - calling _getopt_initialize (). +Sun Aug 4 00:12:41 1996 David Mosberger-Tang <davidm@azstarnet.com> -1997-04-05 16:45 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * sysdeps/unix/sysv/linux/gnu/types.h: Declare __fd_mask as + `unsigned long'. - * 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(). + * misc/sys/select.h: Declare fd_mask as alias of __fd_mask. - * nis/nss_compat/compat-pwd.c: Use reentrant netgroup functions. - * nis/nss_compat/compat-spwd.c: Likewise. +Sat Aug 3 16:20:02 1996 David Mosberger-Tang <davidm@azstarnet.com> -1997-03-27 07:37 H.J. Lu <hjl@gnu.ai.mit.edu> + * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for + Mikasa. - * libio/fileops.c (_IO_file_overflow): Set error when try to write - on a read-only stream. + * socket/sys/socket.h (send, __send, sendto): Declare buffer + pointer as __const. - * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol. - (ut_time): Define it only if _NO_UT_TIME is not defined. + * string/tester.c (main): Test stpncpy. -1997-04-06 00:42 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/generic/stpncpy.c (__stpncpy): Fix so it works without + segfault when called with an N that is not a multiple of four and + src[N-1]=='\0'. - * misc/tst-tsearch.c: Include <string.h>. Define _GNU_SOURCE only - if not already defined. + * misc/syslog.c (LogType): New variable. + (openlog): If connect() with SOCK_DGRAM fails with EPROTOTYPE, + try again with SOCK_STREAM (the Linux syslogd uses a socket of the + latter type). + (vsyslog): When LogType==SOCK_STREAM, also send ASCII NUL + terminator as a record-delimiter. If __send(LogFile) fails, + call closelog() so logfile gets re-opened next time. -1997-04-05 16:14 Ulrich Drepper <drepper@cygnus.com> +Wed Aug 7 15:15:14 1996 Ulrich Drepper <drepper@cygnus.com> - * 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>. + * elf/dl-open (_dl_open): Add cast to avoid warning. - * malloc/malloc.c (cALLOc): Little optimization. + * manual/memory.texi: Improve some examples to give readers better + advice: Use `stpcpy' instead of `strcat' if possible. + * manual/string.texi: Document `strtok_r' and `strtok'. -1997-04-05 03:11 Ulrich Drepper <drepper@cygnus.com> + * sunrpc/Makefile: Move `+gccwarn' definition before inclusion + of Makeconfig. + [$(cross-compiling)=no]: Change test before making librpcsvc + to this from $(cross-compile). + Reported by Andreas Schwab. - * 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. +Tue Aug 6 14:27:11 1996 Ulrich Drepper <drepper@cygnus.com> - * manual/nss.texi: Correct a few typos and errors. + * elf/Makefile (routines): Move dl-sysdep to here... + (rtld-routines): ...from here. This should make static linking + work again. - * 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. + * locale/setlocale.c: Add local variable `lock' and add code to + `setlocale' to avoid simultaneous changing of global data. - * 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. + * catgets/catgets.c (catopen): Use `__strdup' instead of `strdup'. + * catgets/open_catalog (__open_catalog): Use `__stpcpy', `__open', + `__fstat', `__read', `__mmap', `__munmap' and `__close' instead + of unprotected names. - * sysdeps/libm-i387/s_frexp.S: Optimize even more. - * sysdeps/libm-i387/s_frexpf.S: Likewise. - * sysdeps/libm-i387/s_frexpl.S: Likewise. +Tue Aug 6 01:13:56 1996 Ulrich Drepper <drepper@cygnus.com> -1997-04-04 18:55 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + Clean name space according to ISO C, ISO C/Amd 1, and POSIX.1. + This requires to rename several functions to use __ protected + names. + * dirent/dirent.h: Add prototypes of __opendir, __closedir, + and __readdir. + * sysdeps/mach/hurd/closedir.c: Prepend function name with __ + and make old name a weak alias. + * sysdeps/mach/hurd/getrlimit.c: Likewise. + * sysdeps/mach/hurd/opendir.c: Likewise. + * sysdeps/mach/hurd/readdir.c: Likewise. + * sysdeps/stub/closedir.c: Likewise. + * sysdeps/stub/opendir.c: Likewise. + * sysdeps/stub/readdir.c: Likewise. + * sysdeps/unix/closedir.c: Likewise. + * sysdeps/unix/opendir.c: Likewise. + * sysdeps/unix/readdir.c: Likewise. + + * sysdeps/unix/opendir.c: Call `__fcntl' instead `fcntl'. + + * sysdeps/posix/getcwd.c: Call `__opendir', `__readdir', + `__closedir' instead of unprotected names. + + * libio/filedoalloc.c (_IO_file_doallocate): Call `__isatty' + instead of `isatty' since later is not part of ISO C. + * libio/fileops.c (_IO_file_fopen): Call `__open' instead of + `open' since later is not part of ISO C. + + * login/endutent.c (endutent): Call `__endutent_r', not + `endutent_r'. + * login/endutent_r.c: Rename defined function to `__endutent_r', + make `endutent_r' weak alias. + * login/getutent.c (getutent): Call `__getutent_r', not + `getutent_r'. + * login/getutid.c (getutid): Call `__getutid_r', not `getutid_r'. + * login/getutid_r.c: Rename defined function to `__getutent_r', + make `getutent_r' weak alias. + * login/getutline.c (getutline): Call `__getutline_r', not + `getutline_r'. + * login/getutline_r.c: Rename defined function to `__getutline_r', + make `getutline_r' weak alias. + * login/pututline_r.c: Rename defined function to `__pututline_r', + make `pututline_r' weak alias. + * login/setutent.c (setutent): Call `__setutline_r', not + `setutline_r'. + * login/setutent_r.c: Rename defined function to `__setutline_r', + make `setutline_r' weak alias. + Rename `utmpname' to `__utmpname' and make former weak alias. + (__utmpname): Call `__strdup', not `strdup'. + * login/utmp.h: Add prototypes for name space clean reentrant + versions. + * sysdeps/unix/getlogin.c: Call `__ttyname_r', `__setutent_r', + and `__endutent_r' instead of unprotected names. + + * math/math.h: Add prototype for `__matherr'. + * sysdeps/libm-ieee754/k_standard.c: Call `__matherr' instead + of `matherr'. + + * nss/getXXbyYY.c: Call __ protected reentrant function. + * nss/getXXent.c: Likewise. + * nss/getXXbyYY_r.c: Define `get*' function with __ protected + name. Make usual name a weak alias. + * nss/getXXent_r.c: Likewise. - * nis/Makefile: Remove CFLAGS-*, add publickey to databases. + * posix/unistd.h: Add prototype for `__ttyname_r'. + * sysdeps/posix/ttyname_r.c: Rename function to `__ttyname_r' + and make `ttyname_r' a weak alias. - * nis/nis_call.c: Add MASTER_ONLY and HARD_LOOKUP flags, compile - DES part only with secure RPC add-on. + * resource/sys/resource.h: Add prototype for `__getrlimit'. + * sysdeps/stub/getrlimit.c: Prepend function name with __ + and make old name a weak alias. + * sysdeps/unix/syscalls.list: Rename system call to `__getrlimit' + and make `getrlimit' weak alias. - * nis/nis_names.c (nis_modify): Fix rpc function number. + * libc/stdio/stdio.h: Add prototype for `__vscanf'. + * libc/stdio/vscanf.c: De-ANSI-fy. + Rename function to `__vscanf' and make `vscanf' a weak alias. + * stdio-common/scanf.c (scanf): Use _IO_vscanf/__vscanf instead + of `vscanf'. - * nis/nis_server.c: Fix typos. + * stdio-common/reg-printf.c: De-ANSI-fy. + Rename function to `__register_printf_function' and make + `register_printf_function' weak alias. - * nis/nss_compat/compat-grp.c: Add NIS+ support. - * nis/nss_compat/compat-pwd.c: Likewise. - * nis/nss_compat/compat-spwd.c: Likewise. + * stdio-common/vfprintf.c: Call `__wcsrtombs' instead of + `wcsrtombs'. - * nis/nss_nis/nis-grp.c: Only a return value > 0 from parse_line - signals success. + * stdlib/mbstowcs.c: Call `__mbsrtowcs' instead of `mbsrtowcs'. + * stdlib/mbtowc.c: Call `__mbrtowc' instead of `mbrtowc'. + * stdlib/wcstombs.c: Call `__wcsrtombs' instead of `wcsrtombs'. + * stdlib/wctomb.c: Call `__wcrtomb' instead of `wcrtomb'. + * wcsmbs/mbrtowc.c: Prepend function name with __ and make old + name a weak alias. + * wcsmbs/mbsrtowcs.c: Likewise. + * wcsmbs/wcrtomb.c: Likewise. + * wcsmbs/wcsrtombs.c: Likewise. + * wcsmbs/wchar.h: Add prototypes for __ protected versions. - * 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. + * sysdeps/posix/sigsetmask.c (__sigsetmask): Call `__sigprocmask' + instead of `sigprocmask'. - * 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. - * nis/nss_nisplus/nisplus-grp.c: Rewrite parser for fixing errors - and speedup. - * nis/nss_nisplus/nisplus-netgrp.c: Likewise. + * grp/grp.h [__USE_REENTRANT]: Add prototypes for reentrant + version getgrent_r, getgrgid_r, and getgrnam_r. + * pwd/pwd.h [__USE_REENTRANT]: Add prototypes for reentrant + version getpwent_r, getpwuid_r, getpwnam_r and __ protected + names. + * resolv/netdb.h: Complete rewrite. No more BSD ugliness. -1997-04-04 17:03 Ulrich Drepper <drepper@cygnus.com> - * math/libm-test.c (cbrt_test): Add tests for +-inf and NaN - arguments. + * misc/error.c (private_strerror): Translate messages from table, + too. -1997-04-03 19:24 H.J. Lu <hjl@gnu.ai.mit.edu> + * io/fcntl.h: Pretty printing. + * misc/fstab.h: Likewise. + * misc/ttyent.h: Likewise. + * resource/sys/resource.h: Likewise. + * string/argz.h: Likewise. + * string/envz.h: Likewise. - * sysdeps/unix/sysv/linux/sigset.h (__sigisemptyset): Fix a + Add support for symbols from POSIX.1c (POSIX threads). + * posix/getconf.c: Handle new sysconf symbols. + * posix/posix1_lim.h: Define _POSIX_TTY_NAME_MAX and + _POSIX_LOGIN_NAME_MAX with minimal maximal values. + * sysdeps/generic/confname.h: Define new symbols. + * sysdeps/posix/sysconf.c: Handle new symbols. + * sysdeps/stub/sysconf.c: Ditto. + * sysdeps/unix/sysv/linux/sysconf.c: Removed. Generic version + is ok now. + + * sunrpc/rpc/xdr.h: Move definition of type `xdrproc_t' to + have real prototype. + + * sysdeps/generic/resourcebits.h: Add macro definition for + RLIMIT_* values. Some sources test using #ifdef whether specific + limit is available. + * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Ditto. + * sysdeps/unix/sysv/linux/resourcebits.h: Removed. We need + separate files for the architectures. + * sysdeps/unix/sysv/linux/alpha/resourcebits.h: New file. + * sysdeps/unix/sysv/linux/i386/resourcebits.h: New file. + * sysdeps/unix/sysv/linux/m68k/resourcebits.h: New file. + * sysdeps/unix/sysv/linux/mips/resourcebits.h: New file. + + * sysdeps/posix/getdtsz.c: Rewrite to use `__getrlimit' function + and only default on `OPEN_MAX'. + * sysdeps/unix/sysv/sysv4/getdtsz.c: Removed. Default is already + the POSIX version. + + * time/Makefile (routines): Add ctime_r. + * time/asctime.c: Add implementation of `asctime_r'. Make + `asctime' implementation based on reentrant version. + * time/ctime_r.c: New file. + * time/time.h [__USE_REENTRANT]: Add definition of `asctime_r' + and `ctime_r'. + +Sat Aug 3 18:41:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * locale/C-ctype.c (_nl_C_LC_CTYPE_toupper): Fix EOF entry. + (_nl_C_LC_CTYPE): Fix ordering. + * locale/categories.def (LC_CTYPE): Add missing ctype-class32; fix typo. -1997-04-03 16:10 Andreas Jaeger <aj@arthur.pfalz.de> - - * 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. - -1997-04-03 13:37 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/libm-ieee754/s_cexp.c: Fix typo: string_alias -> - strong_alias. - Reported by sun <asun@zoology.washington.edu>. - - * 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. +Sat Aug 3 12:31:06 1996 Richard Henderson <rth@tamu.edu> -1997-04-03 04:28 Ulrich Drepper <drepper@cygnus.com> + * csu/initfini.c: Discover the maximum alignment generated by the + compiler when emitting a function. + (_init): Make sure the end of the crti fragment is aligned. + (_fini): Likewise. - * 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. +Fri Aug 2 03:12:40 1996 Ulrich Drepper <drepper@cygnus.com> -1997-04-01 10:11 H.J. Lu <hjl@gnu.ai.mit.edu> + * initfini.c: (__libc_is_static): New variable. Will be + initialized in init-first.c. Some actions in the libc work + different when libc is static or dynamic. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] - (sysdep_headers): Remove netinet/icmp.h. + * sysdeps/unix/sysv/linux/init-first.c (init): Use + `__libc_is_static' variable to determine whether call to + `personality' and `setfpucw' is necessary. When done set variable + to +-1 depending on library type. -1997-04-02 16:55 Ulrich Drepper <drepper@cygnus.com> + * locale/setlocale.c (setlocale): Use global variable + `__libc_enable_secure' instead of calling `get{,e}{g,u}id()' to + determine whether it's a SET[UG]ID program. - * 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. +Fri Aug 2 14:40:22 1996 Roland McGrath <roland@fast.cs.utah.edu> - * Makefile: Add rule to easily generate dir-add.texi file. - * manual/Makefile: Likewise. + * Version 1.93 test release. - * 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. + * manual/Makefile: Use -include for chapters-incl too. -1997-04-02 16:28 Ulrich Drepper <drepper@cygnus.com> + * Makeconfig (+link): Add back start.o, mistakenly removed in last + change. - * 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. +Fri Aug 2 01:04:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * grp/fgetgrent_r.c (__fgetgrent_r): If `parse_result' returns -1 - this means there was not enough room for the gr_mem array. + * nss/Makefile (generated): Add db-*.c. - * nss/nss_files/files-XXX.c: Leave loop and return error if - `parse_result' returns -1. + * sysdeps/i386/sysdep.h: Get generic/sysdep.h explicitly instead of + using #include_next. - * 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. + * configure.in (--enable-add-ons): Quote m4 macro args. - * shadow/sgetspent_r.c: Only a return value > 0 from parse_line - signals success. + * elf/rtld.c (dl_main): For --verify, fail if no dynamic section. - * nss/getXXbyYY.c: Make sure NULL is returned if we ran out of memory. - * nss/getXXent.c: Likewise. +Thu Aug 1 14:40:03 1996 Roland McGrath <roland@fast.cs.utah.edu> - * 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. + * sunrpc/Makefile [$(cross-compile)=no]: Test before making librpcsvc. - * 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. + * Makerules (build-shlib): Add -B$(csu-objpfx) to find crt[in].o there. -1997-04-02 13:56 Ulrich Drepper <drepper@cygnus.com> + * Makeconfig (+preinit, +postinit): Prepend $(csu-objpfx) here. + (+link): Not here. - * manual/errno.texi: Add description of strerror_r. + * stdio-common/_itoa.h (_itoa_word): Declare unused to suppress + warning when inline function is elided. + * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Likewise. + (elf_machine_runtime_setup): Likewise. + * elf/dynamic-link.h (elf_get_dynamic_info): Likewise. + * sysdeps/i386/dl-machine.h (elf_machine_got): Likewise. + (elf_machine_load_address): Likewise. -1997-04-01 19:07 H.J. Lu (hjl@gnu.ai.mit.edu) + * catgets/gencat.c: Include <locale.h>. - * manual/errno.texi: Add ENOMEDIUM and EMEDIUMTYPE. + * sysdeps/unix/mk-local_lim.c (param): Add SYMLOOP_MAX/MAXSYMLINKS. -1997-04-02 13:55 Ulrich Drepper <drepper@cygnus.com> + * login/logwtmp.c (logwtmp): Call time, not __time. - * sysdeps/gnu/errlist.awk: The Texinfo file is named errno.texi. + * sysdeps/gnu/utmpbits.h (_HAVE_UT_PID): New macro. + * login/login.c (login): Test [_HAVE_UT_PID] to use ut_pid member. + * login/logwtmp.c (logwtmp): Likewise. -1997-03-30 10:59 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/generic/ioctl-types.h (sizeof): Define to 0 around #if + comparing ioctl macro values. - * 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. + * sysdeps/i386/sysdep.h: Do `#include_next <sysdep.h>'. - * sysdeps/m68k/fpu/s_modf.c: Rewritten. - * sysdeps/m68k/fpu/s_modff.c: Adapted. - * sysdeps/m68k/fpu/s_modfl.c: Likewise. + * manual/Makefile: Use -include for chapters to suppress warning. - * 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'. + * sysdeps/stub/socket.c: Fix type of TYPE arg. + * sysdeps/stub/socketpair.c: Likewise. - * sysdeps/m68k/fpu/__math.h: Define __trunc, __signbit, - __nearbyint. Remove __modf. + * sysdeps/stub/_exit.c (_exit): Remove obsolete __NORETURN keyword. - * sysdeps/m68k/Makefile (CFLAGS-s_copysignl.c) [$(subdir)=math]: - Define for gcc bug workaround. + * sysdeps/generic/sysdep.h: New file, broken out of ... + * sysdeps/unix/sysdep.h: ... here. + (C_LABEL): Moved out. - * 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. + * Makeconfig (soversions.mk): Don't use newfangled ${x%%y} syntax; + stick to sed. Do `exit 0' at end because while returns nonzero. -1997-03-29 16:24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/i386/sysdep.h: New file, broken out of ... + * sysdeps/unix/i386/sysdep.h: ... here. Generic asm macros moved out. - * sunrpc/Makefile (CFLAGS-xrquota.c): Fix typo in variable name. + * sysdeps/stub/stdio_lim.h (L_ctermid, L_cuserid): Macros removed. + They are defined unconditionally in libio/stdio.h. -1997-03-28 20:56 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * elf/dl-runtime.c: Include <stddef.h> for `NULL' defn. + * elf/dl-cache.c: Likewise. - * stdlib/stdlib.h: Declare __clearenv. +Mon Jul 29 19:20:05 1996 Ulrich Drepper <drepper@cygnus.com> -1997-03-28 18:03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/Makefile [$(subdir == misc] + (sysdep_headers): Add sys/sysmacros.h. + * sysdeps/unix/sysv/linux/sys/sysmacros.h: New file. - * sysdeps/libm-ieee754/s_asinhl.c: Fix Ulrich Dreppers mangling of - the last change. +Wed Jul 31 14:21:36 1996 Ulrich Drepper <drepper@cygnus.com> -1997-03-28 17:55 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * termios/termios.h [__OPTIMIZE__]: Remove "optimization" for + tcgetattr. We have weak aliases now. + * stdlib/stdlib.h [__OPTIMIZE__ && __GNUC__ >= 2]: Remove + "optimizations" for random functions. - * configure.in: Call AC_CANONICAL_BUILD before referencing - $build. Fix test for BUILD_CC. +Mon Jul 29 20:33:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-04-02 01:29 Philip Blundell <pjb27@cam.ac.uk> + * sysdeps/unix/sysv/linux/netinet/in.h (ntohl, ntohs, htonl, + htons) [__BIG_ENDIAN]: #undef them before defining to avoid + redefinition warning. - * sysdeps/libm-ieee754/s_log2f.c (__log2f): Fix typo. +Mon Jul 29 20:28:27 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-03-31 18:53 Philip Blundell <pjb27@cam.ac.uk> + * time/time.h: Don't optimize tzset() to __tzset() which bypasses + the __tzset_lock. - * sysdeps/unix/sysv/linux/net/route.h: Add new IPv6 definitions. +Tue Jul 30 15:14:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -1997-04-01 14:08 Ulrich Drepper <drepper@cygnus.com> + * sunrpc/rpc/pmap_clnt.h: Fix botched patch for multiple inclusion + protection. - * 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>. +Tue Jul 30 02:48:28 1996 Ulrich Drepper <drepper@cygnus.com> -1997-04-01 00:37 Ulrich Drepper <drepper@cygnus.com> + * locale/loadlocale.c (_nl_load_locale): Change cast to `size_t' + to be 64-bit clean. + Reported by Richard Henderson <rth@tamu.edu>. - * math/Makefile: Prevent inlining for test-{float,double,longdouble}. - * math/libm-test.c (initialize): Make strings unique and force - values to memory. +Tue Jul 30 15:04:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * posix/regex.c: Debug debugging code. + * locale/programs/ld-collate.c (collate_output): Fix typo reported by + David Miller. - * 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. +Tue Jul 30 13:23:13 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/stub/s_log2l.c: Correct function name. + * locale/setlocale.c (setlocale): Don't try to free C locale + data. + Reported by Matthias Urlichs. - * 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. +Tue Jul 30 14:35:17 1996 Miles Bader <miles@gnu.ai.mit.edu> -1997-03-31 12:42 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/mach/hurd/dl-sysdep.c (__open): Use open_file. + (open_file): New function, contents mostly from __open. + (_dl_sysdep_read_whole_file): New function. - * sysdeps/unix/sysv/linux/powerpc/Dist: Add kernel_*.h files. +Sat Jul 27 11:23:59 1996 Miles Bader <miles@gnu.ai.mit.edu> -1997-03-23 01:41 Geoff Keating <geoffk@ozemail.com.au> + * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Quote + `..' dots in sed search string. - * sysdeps/powerpc/strlen.s: Rewrote for more speed. - * string/tst-strlen.c: Also test various string alignments. +Mon Jul 29 01:27:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -1997-03-19 06:11 Geoff Keating <geoffk@ozemail.com.au> + * sunrpc/rpc/rpc_msg.h: Fix botched patch for multiple inclusion + protection. - * sysdeps/unix/sysv/linux/powerpc/statbuf.h: Removed. - * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h: Added. +Sun Jul 28 23:46:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * 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. + * configure.in: Grok `--enable-add-ons=DIR1,DIR2,...', and configure + in those directories. + * config.make.in (add-ons): New varaible, set from @subdirs@. + * Makefile (subdirs): Added $(add-ons) at the end. - * sysdeps/powerpc/dl-machine.h: More comments, more GNU indenting. - Put in extra parentheses to make explicit the relative precedence - of + and >>. + * time/strftime.c (strftime: do_number): Initialize PRINTED to + MAXDIGITS in case P is null and so sprintf is never actually called. - * sysdeps/powerpc/bsd-setjmp.S: Add `__setjmp' symbol so the tests - pass. - * sysdeps/powerpc/clone.S: Rewrite. Probably still doesn't work. +Mon Jul 29 02:46:23 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/powerpc/sys/sysdep.h: Use .section "text" - instead of .text. + Add support for the to-be-written internationalized regexp. + This code must be able to use collation symbols and collation + equivalent classes. + * locale/C-collate.c (_nl_C_LC_COLLATE_symbol_hash, + _nl_C_LC_COLLATE_symbol_strings, _nl_C_LC_COLLATE_symbol_classes): + New global variables for collation classes. + * locale/categories.def: Add new descriptions for collation symbols + and collation classes. + * locale/langinfo.h: Add constants for collation symbols and + collation classes. + * locale/lc-collate.c: Add new global variables for collation symbols + and collation classes. + (_nl_postload_collate): Initialize new variables. + * locale/programs/ld-collate.c: Add code to emit tables for + collation symbols and collation classes. + * locale/programs/locales.h: Change prototype for `collate_output'. + * locale/programs/locfile.c (write_all_categories): Call + `collate_output' with new argument. + * locale/localeinfo.h: Add declaration for new global vars. + (union locale_data_value): New member wstr for `wchar_t' strings. + * locale/programs/locale-spec.c: Handle `collate-classes' + keyword and print information about available collation classes. + * locale/strlen-hash.h: New file. Simple hashing function which + takes a string with known length. + * locale/Makefile (distribute): Add strlen-hash.h. + (locale-modules): New var. Additional files for `locale' program. -1997-03-31 02:28 Ulrich Drepper <drepper@cygnus.com> + * locale/C-ctype.c: Rewrite to avoid using string for giving values + which are of type `u_int32_t'. + Correct entry for EOF in toupper and tolower tables. - * misc/tst-tsearch.c: Don't write to stderr, write to stdout - instead. - - * inet/inet_ntoa.c (inet_ntoa): Complete rewrite. Now uses - thread-specific memory in multi-threaded programs. - - * 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/unix/sysv/linux/netatalk/atalk.h: Rename to... - * sysdeps/unix/sysv/linux/netatalk/at.h: ...this. - Suggested by a sun <asun@zoology.washington.edu>. - -1997-03-30 14:53 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: Add former contents - of <netinet/icmp.h>. - Patch by a sun <asun@zoology.washington.edu>. + * locale/loadlocale.c (_nl_load_locale): Add cast to prevent + warning. -1997-03-30 03:42 Ulrich Drepper <drepper@cygnus.com> + * locale/programs/ld-ctype.c (ctype_output): Add code to make + sure that all tables in binary file are word-aligned. - * math/libm-test.c: Add definition of ctanh_test, clog_test, and - csqrt_test. + * locale/programs/locfile.c (write_locale_data): Correct handling + of LC_MESSAGES locale. Create directory if necessary. -1997-03-29 17:39 Ulrich Drepper <drepper@cygnus.com> + * locale/setlocale.c (setlocale): Add cast to avoid warning. - * math/Makefile (routines): Add carg, s_ccosh and s_csinh. + * string/string.h: Add prototype for `__strndup'. - * math/complex.h: Add C++ protection. +Wed Jul 24 19:10:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * wcsmbs/mbrtowc.c: Remove unused variable. - * 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. +Sun Jul 28 22:40:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * 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. + * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): Update to + 2.0.10; some problems were reported with an earlier version, and this + one is known to work. - * 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. + * sysdeps/generic/dl-sysdep.c (__libc_enable_secure): New variable. + * sysdeps/mach/hurd/dl-sysdep.c: Likewise. - * 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. +Sat Jul 27 13:02:09 1996 Ulrich Drepper <drepper@cygnus.com> - * 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. + * elf/rtld.c (dl_main): Ignore arguments when environment variable + LD_TRACE_LOADED_OBJECTS is set. - * math/carg.c: New file. Generic implementatio of carg function. - * math/cargf.c: New file. - * math/cargl.c: New file. +Sun Jul 28 19:42:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -1997-03-29 16:07 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Initialize + __libc_enable_secure instead of _dl_secure. + * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise. + * elf/dl-load.c (_dl_map_object): Check __libc_enable_secure instead + of _dl_secure. + * elf/Makefile (routines): Add enbl-secure. + (elide-routines.so): Here too. + * sysdeps/generic/enbl-secure.c: New file. + * posix/unistd.h [__USE_GNU]: Declare `__libc_enable_secure' flag. + * elf/dl-support.c (_dl_secure): Variable removed. + * elf/rtld.c: Likewise. Replace all uses with __libc_enable_secure. - * sysdeps/posix/system.c: Update copyright. +Sun Jul 28 19:26:40 1996 David S. Miller <dm@neteng.engr.sgi.com> -1997-03-29 04:18 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): + Declare _dl_runtime_resolve with __attribute__ ((unused)) so the + compiler doesn't elide it. + (elf_machine_rel): Follow Jul 14 change in sysdeps/i386/dl-machine.h. - * 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>. - -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/sparc/udiv_qrnnd.S: Make the code PIC aware. - - * sysdeps/unix/sysv/linux/sparc/Dist: Add kernel_stat.h and - kernel_sigaction.h - - 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. - -1997-03-28 13:06 Philip Blundell <pjb27@cam.ac.uk> - - * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Use - __getservbyname_r() not getservbyname(). - (BROKEN_LIKE_POSIX): Define to 1 so we get strict POSIX behaviour. - -1997-03-27 02:28 Ulrich Drepper <drepper@cygnus.com> - - * 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. - - * inet/rexec.c: Make string parameters `const'. - * resolv/netdb.h: Add prototypes for rcmd, rexec, ruserok, and - rresvport. - - * 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. +Sat Jul 27 02:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * nss/nsswitch.c: Fix typo. + * elf/rtld.c (dl_main): Take new option --verify when run directly. + In verify mode, exit with status zero iff the argument object's + PT_INTERP matches argv[0]. + * elf/ldd.sh.in: Use ${RTLD} --verify and only run the program if it + exits with zero status. This makes `ldd' secure again. - * 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). +Fri Jul 26 22:49:58 1996 Ulrich Drepper <drepper@cygnus.com> - * 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. + * elf/rtld.c (dl_main): Implement LD_TRACE_LOADED_OBJECTS + environment variable handling. This makes the dynamic linker + only print loaded libraries and quit. - * 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. + * elf/ldd.sh.in: Don't use `rtld --list' but instead + LD_TRACE_LOADED_OBJECTS environment variable to print needed + objects. - * 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. +Sat Jul 27 02:03:26 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * sysdeps/sparc/elf/start.S: Remove as per request of Miguel de Icaza. + * db/makedb.c (main): Print version on stdout, not stderr. Don't exit + after printing version until after doing usage for --help. + (long_options, main, usage): Rename -l/--lowercase option to + -f/--fold-case (-f matches sort). - * sysdeps/unix/sysv/linux/netinet/icmp.h: Remove since we have - ip_icmp.h. Reported by HJ Lu. +Sat Jul 27 04:32:31 1996 Ulrich Drepper <drepper@cygnus.com> -1997-03-25 03:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * db/makedb.c: New file. Implement program to create simple <db.h> + database from textual input. This will be used for nss_db. - * sysdeps/m68k/Makefile (CFLAGS-rtld.c): Add -Wno-unused. +Sat Jul 27 01:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * 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. + * sunrpc/rpc/auth_unix.h: Fix misapplied patches in last changes. + * sunrpc/rpc/pmap_clnt.h: Likewise. + * sunrpc/rpc/auth.h: Likewise. + * sunrpc/rpc/pmap_rmt.h: Likewise. + * sunrpc/rpc/rpc_msg.h: Likewise. -1997-03-25 03:48 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Sat Jul 27 04:37:34 1996 Ulrich Drepper <drepper@cygnus.com> - * grp/grp.h: Include <stddef.h> only once. + * string/string.h (strndupa): Change to use return value of + `memcpy' for more performance. + * string/strndup.c: Likewise. -1997-03-25 09:38 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * string/string.h (strdupa): Don't call __builtin_alloca in argument. + This might lead to problems. + (strndupa): Likewise. - * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Don't define. - * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise. +Fri Jul 26 15:24:25 1996 Ulrich Drepper <drepper@cygnus.com> - * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Use either OXTABS or - TAB3, if one of them is defined. + * sunrpc/rpc/auth.h: Add protection against multiple inclusion + and change K&R prototypes to ANSI prototypes. + * sunrpc/rpc/auth_unix.h: Ditto. + * sunrpc/rpc/clnt.h: Ditto. + * sunrpc/rpc/pmap_clnt.h: Ditto. + * sunrpc/rpc/pmap_prot.h: Ditto. + * sunrpc/rpc/pmap_rmt.h: Ditto. + * sunrpc/rpc/rpc_msg.h: Ditto. + * sunrpc/rpc/svc.h: Ditto. + * sunrpc/rpc/svc_auth.h: Ditto. + * sunrpc/rpc/xdr.h: Ditto. -1997-03-26 04:53 Ulrich Drepper <drepper@cygnus.com> +Fri Jul 26 20:39:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * posix/glob.c (next_brace_sub): Decrement depth counter when '}' - is found. - Patch by Dennis Henriksen <opus@flamingo.osrl.dk>. + * ctype/test_ctype.c: Test EOF too. -1997-03-25 16:25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> +Fri Jul 26 18:06:58 1996 Ulrich Drepper <drepper@cygnus.com> - * 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/auth.h: Add __BEGIN_DECLS and __END_DECLS. + * sunrpc/rpc/auth_unix.h: Likewise. * sunrpc/rpc/clnt.h: Likewise. + * sunrpc/rpc/netdb.h: Likewise. * sunrpc/rpc/pmap_clnt.h: Likewise. + * sunrpc/rpc/pmap_prot.h: Likewise. + * sunrpc/rpc/rpc_msg.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. - -1997-03-25 13:39 Ulrich Drepper <drepper@cygnus.com> - - * math/libm-test.c (log2_test): Compile this function and call it. - (exp2_test): Likewise, but check whether function really exists - before testing. - - * math/Makefile (libm-calls): Add s_log2 and s_exp2. - -1997-03-25 04:50 Ulrich Drepper <drepper@cygnus.com> - - 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. - - 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. - -1997-03-24 19:58 Richard Henderson <rth@tamu.edu> - - * stdlib/tst-strtol.c (tests): Correct 64-bit entry. - - * sysdeps/alpha/bsd-_setjmp.S: Alias _setjmp to __setjmp for - change to tst-setjmp.c. - - * 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/libm-ieee754/s_remquo.c: Rename {hp,lp} -> {hy,ly}. - Add missing qs variable. - * sysdeps/libm-ieee754/s_remquof.c: Likewise. - -1997-03-25 02:15 Ulrich Drepper <drepper@cygnus.com> - * gmon/gmon.c: Optimize a bit by using more sets of records to - write in a single writev call. + * sunrpc/rpc/pmap_clnt.h: Move definition of type `resultproc_t' + to here from... + * sunrpc/pmap_rmt.c: ...here. - * 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. +Fri Jul 26 16:10:43 1996 Miles Bader <miles@gnu.ai.mit.edu> - * sysdeps/generic/setenv.c [_LIBC]: Define __clearenv and make - clearenv a weak alias. + * login/pututline_r.c (pututline_r): Only call getutid_r if ID has a + valid ut_id field. + * login/getutid_r.c (getutid_r): Mark UTMP_DATA->loc_utmp invalid + if a search fails. - 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. +Fri Jul 26 00:36:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * 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. + * sysdeps/mips/dl-machine.h: New file, contributed by Kazumoto Kojima + <kkojima@info.kanagawa-u.ac.jp>. - * sysdeps/unix/sysv/linux/iovec.h: Don't use kernel header because - of type clashes. Add all definitions here. +Fri Jul 26 04:41:28 1996 Ulrich Drepper <drepper@cygnus.com> - * 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. + * intl/libintl.h: Define optimizing macros if __OPTIMIZE__ is + defined, not __OPTIMIZED. + (_nl_msg_cat_cntr): Move declaration outside macro definition + to prevent "nested extern" warning. + (dcgettext): Rename local variable `result' to `__result'. - * sysvipc/sys/shm.h (shmat, shmdt): Correct types. +Thu Jul 25 22:46:30 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * sysdeps/unix/sysv/linux/sys/kd.h: Define _LINUX_TYPES_H to avoid - use of kernel types. + * locale/programs/localedef.c (__progname): Remove decl. + (main): Use program_invocation_short_name instead of __progname. + (usage): Use program_invocation_name instead of __progname. -1997-03-25 00:00 Ulrich Drepper <drepper@cygnus.com> +Fri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_timestamp): - Correct typos. Reported by a sun <asun@zoology.washington.edu>. + * catgets/gencat.c: Use "libc" instead of PACKAGE. + * locale/localedef.c: Ditto. + * locale/locale.c: Ditto. -1997-03-20 21:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * locale/findlocale.c (_nl_find_locale): Little optimization. + Use new function `strndup'. - * sysdeps/libm-ieee754/s_asinhl.c: Fix sign of result. + * locale/loadlocale.c: Little optimization. Use constant value + from `_nl_category_num_items' instead of byte-order dependend + value from file. -1997-03-20 16:20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * locale/programs/ld-time.c (time_add): Correct string constant. - * sysdeps/libm-ieee754/e_atan2l.c: Fix typo. + * locale/programs/locale-spec.c: New file. + * locale/programs/locale.c: Call `locale_special' function if + no other field matches. -1997-03-20 14:23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * locale/programs/localedef.c: No need to define `program_name'. + Use global variable `__progname'. - * 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. + * locale/programs/locfile.c (write_locale_data): Always write + LC_MESSAGES data in LC_MESSAGES/SYS_LC_MESSAGES file. This is + necessary since message catalogs are also installed in the + LC_MESSAGES/ directory. - * 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. + * locale/programs/stringtrans.c (ADDC): Correctly use `encode_char' + function instead of writing single bytes. + (encode_char): Also handle little endian. - * 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. + * locale/setlocale.c (new_composite_name): Little optimization. + Use return value of `memcpy'. -1997-03-20 14:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * misc/ttyent.h: Pretty print prototypes, add missing parameter + names, prepend parameter names with __ and use `__const' instead + of `const'. + * posix/unistd.h: Ditto. + * stdlib/stdlib.h: Ditto. + * string/string.h: Ditto. - * Makeconfig (all): Make sure this is always the default goal. + * posix/getconf.c: De-ANSI-fy. Recognize POSIX.2 constant names. + Use `error' function instead of doing it by hand. + * sysdeps/posix/sysconf.c: De-ANSI-fy. + Handle _SC_COLL_WEIGHTS_MAX. + * sysdeps/stub/sysconf.c: Handle _SC_CHARCLASS_NAME_MAX, + _SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_2_LOCALEDEF + since these do not depend on the platform. + Add POSIX.4 symbols. -1997-03-20 11:09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * posix/posix2_lim.h: Add missing definition of + _POSIX2_COLL_WEIGHTS_MAX. + Change _POSIX2_EQUIV_CLASS_MAX and _POSIX2_CHARCLASS_NAME_MAX + to high values since we have no fixed limit. - * math/libm-test.c: Increase epsilon in many places. Fix many - typos. Allow optinal argument also for short option. + * sysdeps/generic/confname.h: Add _SC_PAGE_SIZE as alias for + _SC_PAGESIZE for buggy systems (= HP UX) out there. -1997-03-20 11:09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * wcsmbs/Makefile (routines): Add mbsnrtowcs and wcsnrtombs. + * wcsmbs/mbsnrtowcs.c: New file. Non-standard implementation. + * wcsmbs/wcsnrtombs.c: Ditto. + * wcsmbs/wchar.h [__USE_GNU]: Add prototypes for mbsnrtowcs and + wcsnrtombs. - * math/Makefile ($(objpfx)$(tests)): Link against libm. +Thu Jul 25 00:25:54 Richard Henderson <rth@tamu.edu> -1997-03-24 23:14 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/libm-ieee754/s_fpclassifyl.c: Correct recognition of - denormalized numbers. - - * sysdeps/i386/huge_val.h: Remove references to byte order macros. - Don't include <endian.h>. - -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>. - -1997-03-24 23:09 Ulrich Drepper <drepper@cygnus.com> - - * inet/rcmd.c (iruserok): Use access instead of euidaccess. - -1997-03-15 18:08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * math/cmathcalls.h: Remove whitespace before function name in use - of __MATHDECL macro, to make it compilable with a traditional - preprocessor. - -1997-03-24 15:31 Ulrich Drepper <drepper@cygnus.com> - - * configure.in: Use AC_PROG_CC instead of AC_PROG_TOOL to find - compiler. - -1997-03-24 02:34 Ulrich Drepper <drepper@cygnus.com> - - * 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>. - -1997-03-23 12:15 H.J. Lu <hjl@gnu.ai.mit.edu> - - * posix/getopt.c (__getopt_nonoption_flags): Make it extern - to prevent from ld linking in getopt.o even if there is another - incompatible one. - - * posix/getopt_init.c (__getopt_nonoption_flags): Remove extern. + * nss/nss_db/db-XXX.c: Kill trailing ; from lock defn as a matter of + course. + * nss/getXXent_r.c: Likewise. + * nss/nsswitch.c: Likewise. + * nss/nss_files/files-XXX.c: Likewise. + * sysdeps/mach/hurd/dirstream.h (struct __dirstream): Likewise. + * sysdeps/unix/bsd/telldir.c (struct record): Likewise. + * sysdeps/unix/dirstream.h (struct __dirstream): Likewise. -1997-03-23 23:30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> +Thu Jul 25 00:53:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * 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/configure.in (LIBC_LINUX_VERSION): New + macro, now put the needed Linux version just once, here; update to + needing linux-2.0.3 headers. + (libc_cv_linuxVER): New macro derived from that. + (kernel header check): Use those macros and some m4 magic to replace + hard-coded `201' and `2.0.1' in several places. -1997-03-24 01:36 Ulrich Drepper <drepper@cygnus.com> + * Makerules ($(libdir)/libc.so): Fix typos in generated comment. - * 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>. +Wed Jul 24 17:02:30 1996 Ulrich Drepper <drepper@cygnus.com> - * 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>. + * time/localtime.c: Move lock variable declaration to end of + variable declarations since if is a dummy macro the ; at the + end terminates the variable section of the function. - * 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. + * time/tzset.c: Undefine `tzset' before function declaration. + Use `weak_function' macro instead of `weak_symbol'. -1997-03-23 21:33 Andreas Jaeger <aj@arthur.pfalz.de> +Wed Jul 24 18:57:33 1996 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). + * stdlib/strtouq.c: Additional weak alias is `strtoull', not + `strotull'. -1997-03-23 12:35 Andreas Jaeger <aj@arthur.pfalz.de> +Wed Jul 24 18:26:23 1996 Ulrich Drepper <drepper@cygnus.com> - * math/libm-test.c (remquo_test): Correct messages so that they - match the tests. - (copysign_test): Likewise. + * locale/C-ctype.c: Increment number of fields after change + from Wed Jun 19 03:24:58 1996. -1997-03-23 16:28 Ulrich Drepper <drepper@cygnus.com> +Tue Jul 23 18:13:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * stdio-common/Makefile (routines): Add printf_size. + * sysdeps/mach/hurd/Makefile (rpcuserlibs): New variable. + ($(common-objpfx)libc.so): Move deps into that, use it. + [$(subdir) = elf] ($(objpfx)librtld.so): Depend on + $(rpcuserlibs:.so=_pic.a). + * elf/Makefile ($(objpfx)librtld.so): Just depend on libc_pic.a; don't + use $(LDLIBS-c.so). - * stdio-common/printf.h: Add declarations for printf_size and - printf_size_info. +Thu Jul 18 21:41:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * sysdeps/generic/stpncpy.c: Fix semantics to make `stpncpy (d, s, + n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'. - * stdio-common/vfprintf.c (vfprintf): Count number of specifiers - processed in fast loop. +Tue Jul 23 02:49:58 1996 Ulrich Drepper <drepper@cygnus.com> - * stdio-common/printf_size: New file. + * locale/iso-4217.def: Add India to comment for symbol "INR ". + Reported by Raja R Harinath <harinath@cs.umn.edu>. -1997-03-23 02:11 Ulrich Drepper <drepper@cygnus.com> +Sat Jul 20 14:03:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * time/sys/time.h: Make values ITIMER_* also available as macros. + * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove bogus + #undef RESOLVE. - * 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. +Sun Jul 21 06:48:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * 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. + * time/tzset.c: Include <libc-lock.h>. + (__tzset_lock): New lock variable. + (tzset): New function (weak defn), no longer weak alias for __tzset. + Call __tzset while holding __tzset_lock. + * time/localtime.c: Include <libc-lock.h>. + (__localtime_r): Hold __tzset_lock while doing the work. - * math/libm-test.c (remquo_test): New function. + * sysdeps/generic/setenv.c (__environ): Change conditional for #define + from [!HAVE_GNU_LD] to [!_LIBC]. + [_LIBC]: Include <libc-lock.h> and define a lock. + (LOCK, UNLOCK): New macros, no-ops for [! _LIBC]. + (setenv, unsetenv): Use them. - * sysdeps/libm-ieee754/s_rintl.c: Handle implicit leading one - correctly. +Sun Jul 21 01:44:39 1996 Miles Bader <miles@gnu.ai.mit.edu> -1997-03-22 14:06 Ulrich Drepper <drepper@cygnus.com> + * locale/programs/locfile.c (write_locale_data): Deal with missing + UIO_MAXIOV. - * 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. + * sysdeps/mach/hurd/socket.c (socket): Make TYPE an int. + * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise. - * math/libm-test.c (basic_tests): Add tests for `nan' function. +Sat Jul 20 21:55:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * math/libm-test.c (copysign_test): New function. - (main): Call copysign_test. + Win32 hacks from <Rob_Tulloh@tivoli.com>. + * posix/glob.c [WIN32]: Don't include <pwd.h>; don't use d_ino; + use void * for my_realloc; include <malloc.h> for alloca. + (glob) [WIN32]: Use "c:/users/default" for ~ if no HOME variable. + * posix/fnmatch.h [WIN32]: Use prototypes even if [!__STDC__]. + * posix/glob.h: Likewise. -1997-03-22 06:28 Ulrich Drepper <drepper@cygnus.com> +Sat Jul 20 13:28:52 1996 Miles Bader <miles@gnu.ai.mit.edu> - * 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. + * sysdeps/mach/hurd/select.c (__select): Don't poll on the last + call __io_select unless there's only a single descriptor, as each + descriptor now has its own reply port. + If there is only a single descriptor, just use its reply port for + everything and don't bother creating the port set. - * math/libm-test.c (fdim_test, fmin_test, fmax_test, nextafter_test): - New functions. Test these functions. - (main): Call above new functions. + * sysdeps/mach/hurd/uname.c (uname): Deref UNAME to get nodename. + <unistd.h>: New include. -1997-03-22 04:53 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/mach/libc-lock.h (__libc_lock_define): Backslashify + continuation line. - * Net release 2.0.2. +Sat Jul 20 07:15:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -1997-03-22 04:37 Ulrich Drepper <drepper@cygnus.com> + * crypt/Makefile, crypt/nocrypt.c: Removed. It is illegal to export + from the USA any software that even makes it easy to drop in an + encryption module of foreign origin. + * Makerules (cryptobjdir): Variable removed. + ($(libdir)/libc.so): Remove dep on libcrypt.so$(libcrypt.so-version). + * Makefile (subdirs): Remove crypt. - * 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>. +Fri Jul 19 15:45:20 1996 Ulrich Drepper <drepper@cygnus.com> -1997-03-21 13:41 Roland McGrath <roland@baalperazim.frob.com> + * locale/C-messages.c (_nl_C_LC_MESSAGES): Add missing Kleene + operator to yesexpr and noexpr string. - * 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. +Fri Jul 19 15:10:37 1996 David Mosberger-Tang <davidm@azstarnet.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. + * sunrpc/xdr_mem.c (xdrmem_putlong): Don't cast LP to int32 (the + old code would have failed on a big-endian 64-bit architecture). + * sunrpc/xdr_stdio.c (xdrstdio_putlong): Ditto. - * 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. + * sunrpc/xdr.c (xdr_int): Handle XDR_FREE case. + (xdr_u_long): Use switch instead of chain of if-statements. + Remove gratitous parentheses around return expressions. + (xdr_enum): Open code case where INT_MAX<LONG_MAX. - * elf/dl-reloc.c (RESOLVE): Remove STB_LOCAL check; let it be - per-machine since it supposedly can't happen on i386. + * sunrpc/svc.c (svc_getreqset): Increment SOCK by 32, not NFDBITS. - * 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. + * sunrpc/portmap.c (reg_service): Declare ANS and PORT as long, + not int. -1997-03-21 20:55 Ulrich Drepper <drepper@cygnus.com> +Fri Jul 19 16:56:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * Makefile (distribute): Add BUGS. + * dlfcn.h, db.h: New wrapper headers. - * sysdeps/generic/machine-gmon.h: Update copyright. + * posix/glob.h [!_AMIGA && !VMS]: Check this instead of just [!_AMIGA] + for `struct stat;' forward decl. - * 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. +Fri Jul 19 22:25:19 1996 Ulrich Drepper <drepper@cygnus.com> -1997-03-20 13:39 Andreas Jaeger <aj@arthur.pfalz.de> + * locale/iso-4217.def: Add some more standardized currency + symbols. - * 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. +Fri Jul 19 13:18:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -1997-03-21 05:54 Ulrich Drepper <drepper@cygnus.com> + * hurd/report-wait.c (describe_number): Use unsigned long int for J. - * 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>. +Thu Jul 18 12:33:57 1996 Roland McGrath <roland@baalperazim.frob.com> -1997-03-20 20:22 Ulrich Drepper <drepper@cygnus.com> + * Rules (dummy.o, empty.o): Targets removed. + (dummy.c, empty.c): New targets replace them. - * 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. +Thu Jul 18 11:42:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -1997-03-20 04:34 Roland McGrath <roland@baalperazim.frob.com> + * crypt/Makefile (lib-noranlib): Depend on + $(objpfx)libcrypt.so$(libcrypt.so-version). + (subdir): Fix name. - * 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. +Thu Jul 18 04:33:21 1996 Roland McGrath <roland@baalperazim.frob.com> - * Makeconfig [$(elf)=yes] (+prector, +postctor): New variables for - crtbegin.o/crtend.o, using gcc to find them. - (+link): Use them. + * sysdeps/mach/hurd/errnos.awk: Move EWOULDBLOCK check before errno==0 + check. mib's clueless hacking broke it. -1997-03-20 00:06 Richard Henderson <rth@tamu.edu> +Thu Jul 18 04:27:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * 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. + * Makerules ($(libdir)/libc.so): Add missing / after $(cryptobjdir). - * 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. +Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com> - * 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. + * misc/sys/ustat.h: New file. + * misc/ustat.h: Ditto. + * sysdeps/generic/ustatbits.h: Ditto. + * sysdeps/stub/ustat.c: Ditto. + * sysdeps/unix/sysv/linux/ustatbits.h: Ditto. + * misc/Makefile (headers): Mention ustat.h, sys/ustat.h, and + ustatbits.h. + (routines): Mention ustat. - * sysdeps/unix/sysv/linux/alpha/ioperm.c: Include ctype.h for isdigit. + * sysdeps/unix/sysv/linux/alpha/start.S: Move to ... + * sysdeps/alpha/elf/start.S: here. -1997-03-20 14:51 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/syscalls.list: Mention klogctl in + alphabetically correct place. Mention ustat. - * nis/nis_file.c: Unify error handling. + * sysdeps/unix/alpha/sysdep.S: Make errno a bss symbol, not a + common symbol (makes errno accessible from gdb). -1997-03-19 18:36 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * login/pututline_r.c (pututline_r): Test ut_id in repositioning + test, not ut_type. - * 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. + * login/logwtmp.c (logwtmp): Reimplemented. Must ensure that a + record always gets appended at end of file (wtmp is a log file, + after all). Set ut_type to DEAD_PROCESS if name is empty. - * sunrpc/rpc/netdb.h: Add setrpcent and endrpcent prototypes. + * login/getutid_r.c (getutid_r): Handle search for UT_TYPE in + separate loop from search for UT_ID. Fix code so it is in + sync with Unix man page. -1997-03-20 06:07 Ulrich Drepper <drepper@cygnus.com> + * login/getutline_r.c (getutline_r): Stop searching only if + ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS. - * sysdeps/powerpc/dl-machine.h: Fix typo in last change. +Tue Jul 16 15:06:18 1996 David Mosberger-Tang <davidm@azstarnet.com> - * sysdeps/unix/sparc/sysdep.h: Update copyright. + * sysdeps/unix/sysv/linux/netinet/in.h: Base on <linux/in.h> to + avoid duplicate declarations. -1997-03-19 15:13 Miguel de Icaza <miguel@nuclecu.unam.mx> +Sun Jul 14 19:08:55 1996 David Mosberger-Tang <davidm@azstarnet.com> - * stdlib/tst-strtol.c: Save the value of errno, printf may modify - it. + * manual/maint.texi (Supported Configurations): Add alpha-gnu-linux + and alpha-gnu-linuxecoff targets. - * sysdeps/sparc/DEFS.h [HAVE_ELF]: Use type @function in the FUNC - macro on ELF systems. +Fri Jul 12 16:58:44 1996 David Mosberger-Tang <davidm@azstarnet.com> - * sysdeps/sparc/configure.in: Fix. + * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport(). - * sysdeps/sparc/dl-machine.h: Fix OPCODE_CALL. +Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com> - * sysdeps/sparc/setjmp.S: Fix my bugs. + * resolv/res_send.c (res_send): Declare FROMLEN as size_t instead + of int. - * 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. + * resolv/res_comp.c (res_hnok): Use empty statement in place + of NULL (which generates a "useless expression" warning in + gcc). - * 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. - -1997-03-19 21:13 Ulrich Drepper <drepper@cygnus.com> - - * 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/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/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. +Wed Jul 17 23:56:35 1996 Roland McGrath <roland@baalperazim.frob.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. + * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Replace ../ + with $(..) in output. -1997-03-19 01:40 Ulrich Drepper <drepper@cygnus.com> +Wed Jul 17 21:53:45 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * sysdeps/unix/sysv/sco3.2.4/Dist: New file. + * elf/Makefile (dl-routines): Add dl-cache. + * elf/dl-cache.c: New file. + * elf/dl-load.c (_dl_map_object): Check cache before default path. - * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c. +Wed Jul 17 20:41:30 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/bsd/Dist: Add bsdstat.h, setrgid.c, and setruid.c. + * stdio-common/vfscanf.c: Major change. Now read character + from stream only if needed. Before it was read after the + previous character was used. + Bug reported by Martin Goik <goma0002@FH-Karlsruhe.DE> - * sysdeps/unix/sysv/Dist: Add direct.h. + * stdio-common/tstscanf.c: Change test program so that return + value is != 0 if one test failed. - * sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h. +Wed Jul 17 17:08:48 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * Make-dist ($(tardir).tar): Prefer writing temporary file to - $TMPDIR is available. The default is /tmp. + * sysdeps/m68k/Makefile (crypt): Variable removed. + * sysdeps/sparc/Makefile: Likewise. - * sysdeps/generic/ip.h: Move to... - * sysdeps/generic/netinet/ip.h: ...here. + * version.h (VERSION): Update to 1.93. - * Makefile (tests): Quote $(CC) argument to isomac program. - Patch by H.J. Lu <hjl@gnu.ai.mit.edu>. + * Makerules ($(libdir)/libc.so): Depend on + $(common-objpfx)libcrypt.so$(libcrypt.so-version). - * 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. + * crypt/nocrypt.c: New file. + * Makefile (subdirs): Add crypt. + * crypt/Makefile: New file. - * sysdeps/libm-i387/e_pow.S: Compute PIC addres early. - * sysdeps/libm-i387/e_powf.S: Likewise. - * sysdeps/libm-i387/e_powl.S: Likewise. + * Makerules (soversions.mk): Move this target, include of it, and + include of version.mk to ... + * Makeconfig: ... here. + (soversions.mk): Depend on Makeconfig instead of Makerules. -1997-03-18 23:18 Ulrich Drepper <drepper@cygnus.com> + * shlib-versions (*-*-*): Set libcrypt=0. - * time/offtime.c (__offtime): Change type of `yg' to long int. - Reported by a sun <asun@zoology.washington.edu>. +Wed Jul 17 11:29:26 1996 Miles Bader <miles@gnu.ai.mit.edu> -1997-03-18 23:08 a sun <asun@zoology.washington.edu> + * stdio/linewrap.c (lwupdate): Fix boundary condition where a + word extends right up to rmargin. - * sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to - 2.2.0 to prevent version mismatch. + * stdio/linewrap.c (lwupdate): When we've done a word wrap and + output the wrap margin, set point_col to wmargin. + Use negative point_col to deal with a wmargin of 0. + (line_wrap_point): Return 0 for a negative point_col. + (line_wrap_stream): Make wmargin ssize_t. + * stdio/linewrap.h (struct line_wrap_data): Make wmargin & + point_col ssize_t. + (line_wrap_stream): Make wmargin ssize_t. + (line_wrap_point): Return 0 for a negative point_col. -1997-03-17 19:26 Andreas Jaeger <aj@arthur.pfalz.de> +Wed Jul 17 02:43:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * stdio-common/printf_fphex.c (MIN): Only define MIN if not - already defined. + * shlib-versions (*-*-gnu*): Set libc=0.0 -1997-03-14 23:34 Geoff Keating <geoffk@ozemail.com.au> +Tue Jul 16 01:52:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/unix/sysv/linux/powerpc/termbits.h: Leave ioctl numbers - in ioctls.h. + * sysdeps/m68k/dl-machine.h: Follow Jul 14 change in + sysdeps/i386/dl-machine.h. - * 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. +Tue Jul 16 00:18:19 1996 Miles Bader <miles@gnu.ai.mit.edu> -1997-03-11 04:14 Geoff Keating <geoffk@ozemail.com.au> + * stdio/linewrap.c (__line_wrap_update): Add hackery from flshfp + to fiddle __put_limit in conjunction with __linebuf_active. - * 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. +Tue Jul 16 00:14:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * sysdeps/unix/inet/syscalls.list (connect, send): Add underscores + to the strong name, not the file name. -1997-03-08 09:10 Geoff Keating <geoffk@ozemail.com.au> +Tue Jul 16 16:43:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * 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. + * csu/initfini.c: More magic. Detect if .end is produced and put it + in the output iff the compiler does. - * 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. + * elf/dl-lookup.c (_dl_lookup_symbol): Avoid sizeof dynamic auto array + because that is broken on alpha. - * sysdeps/powerpc/elf/start.c: Clean up. + * sysdeps/mach/hurd/mmap.c: Use same inheritance arg in second vm_map + call as in first. - * sysdeps/powerpc/__longjmp.S: Return 'value' as result from - setjmp call. + * Makerules (make-link): Install the new link with atomic mv -f in + case ln itself requires the library being installed. - * sysdeps/unix/sysv/linux/powerpc/statbuf.h: New file. +Tue Jul 16 00:31:31 1996 Richard Henderson <rth@tamu.edu> -1997-03-09 12:36 H.J. Lu <hjl@gnu.ai.mit.edu> + * sysdeps/alpha/dl-machine.h: Mirror Roland's changes to + i386/dl-machine.h of 960713. - * Make-dist (srcs): Add $(test-srcs). - * MakeTAGS (all-sources): Likewise. - * Makerules (depfiles, common-mostlyclean): Likewise. - * Rules (tests): Likewise. + * sysdeps/generic/dl-sysdep.c: Include <sys/mman.h>. + (_dl_sysdep_read_whole_file): Fix result variable declaration. -1997-03-18 05:28 Roland McGrath <roland@frob.com> +Tue Jul 16 00:53:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * elf/dl-reloc.c (RESOLVE): Don't try to resolve local symbols. + * sysdeps/mach/hurd/uname.c: Call __gethostname to fill in the + `nodename' member. -1997-03-17 21:39 Philip Blundell <phil@london.uk.eu.org> +Mon Jul 15 17:23:53 1996 Ulrich Drepper <drepper@cygnus.com> - * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow - protocol=NULL to match any protocol rather than returning an - error. + * stdio-common/vfprintf.c (vfprintf): Call parse_one_spec + with pointer to local variable instead of NULL. -1997-03-17 19:00 Philip Blundell <phil@london.uk.eu.org> +1996-07-15 Paul Eggert <eggert@twinsun.com> - * nss/nss_files/files-service.c (servbyname): Match any protocol - if proto==NULL. + * time/strftime.c (strftime): Don't pass empty macro argument to `add'. -1997-03-18 05:17 Ulrich Drepper <drepper@cygnus.com> +Sat Jul 13 09:53:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. - -1997-03-18 07:53 H.J. Lu <hjl@gnu.ai.mit.edu> - - * 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/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/unix/sysv/linux/Makefile (sysdep_routines): Remove names + that are already added by other means. - * 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/unix/sysv/linux/syscalls.list: Add more EXTRA's in the + caller column to get those syscalls added automagically. - * 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. +Mon Jul 15 12:24:54 1996 Miles Bader <miles@gnu.ai.mit.edu> - * 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. + * login/logout.c (logout): Initialize DATA to a state that will + make setutent_r happy. - * sysdeps/libm-i387/s_isinfl.c: Return -1 for -inf. - - * sysdeps/libm-i387/s_logbl.S: Correct return value. Discard first - stack element after fxtract. - - * sysdeps/libm-ieee754/e_atan2l.c: New file. `long double' - implementation for atan2 function. - - * 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). - - * 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. - - * 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. - - * 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. +Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * time/Makefile: Correct dependencies for test-tz. + * elf/rtld.c (dl_main) [ELF_MACHINE_DEBUG_SETUP]: Use this macro + instead of setting the DT_DEBUG pointer. -1997-03-16 14:59 Philip Blundell <phil@london.uk.eu.org> + * csu/initfini.c (_init, _fini): Generate .end directives after + standalone prologues and filter them out from epilogues. - * resolv/netdb.h: Add prototypes for gai_strerror and getnameinfo - (needed for IPv6 basic sockets API). + * Makeconfig (rtld-installed-name): Set to ld.so.1. + * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): Variable + removed. -1997-03-16 15:02 a sun <asun@zoology.washington.edu> + * manual/Makefile (glibc-targets): Remove subdir_ from elts. - * sysdeps/unix/sysv/linux/net/if_ppp.h: Don't use incompatible - kernel header. - * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): New fn. -1997-03-14 17:15 Ulrich Drepper <drepper@cygnus.com> + * MakeTAGS (extract): Pass --add-comments=TRANS. + * sysdeps/gnu/errlist.awk: Write comments into the output with the + descriptive paragraphs from the manual preceded by TRANS. - * 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. + * elf/rtld.c (RESOLVE): Use the dl's load address, not a constant zero! + (_dl_start): Move RESOLVE defn inside this function and #include + "dynamic-link.h" a second time there. + [RTLD_START]: Move use of this after _dl_start function. -1997-03-13 11:42 Jim Meyering <meyering@asic.sc.ti.com> + * elf/dl-reloc.c: Include "dynamic-link.h" at file scope. - * time/mktime.c (TIME_T_MIN): Work around a bug in Cray C 5.0.3.0. + * elf/rtld.c: Include <string.h>. -1997-03-14 04:00 Kurt Garloff <garloff@kg1.ping.de> + * elf/dynamic-link.h (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA, + ELF_DYNAMIC_RELOCATE): No longer take RESOLVE argument. + Conditionalize defns on [RESOLVE]. + * elf/do-rel.h (elf_dynamic_do_rel): Likewise. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. + Instead use RESOLVE macro with same args. + (elf_machine_rel): Conditionalize defn on [RESOLVE]. + * elf/dl-reloc.c (RESOLVE): New macro, define before including + "dynamic-link.h". It replaces `resolve' local function. + * elf/dl-runtime.c: Likewise. + * elf/rtld.c: Likewise. - * sysdeps/unix/sysv/linux/fcntlbits.h (O_FSYNC): Make alias for O_SYNC. - (FASYNC): Move to __USE_BSD section. Create new macro O_ASYNC. + * elf/dl-deps.c (_dl_map_object_deps): Start TAILP at last preload. -1997-03-14 02:50 Ulrich Drepper <drepper@cygnus.com> + * elf/dl-open.c (_dl_open): Force an indirect call for + _dl_relocate_object so there is no chance a PLT fixup will be done + and clobber _dl_global_scope before our call happens. - * 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>. + * sysdeps/i386/fpu/__math.h (tan): Correct output constraint from =u + to =t; must operate on top of fp reg stack, not second from top. + Correct input constraint to 0 from t; must be explicit when input and + output are the same register. + (floor): Use __volatile instead of volatile. + (ceil): Likewise. -1997-02-17 01:40 Zlatko Calusic <zcalusic@srce.hr> + * manual/Makefile ($(objpfx)stamp%-$(subdir)): Separate rule from + other targets. - * time/strptime.c (recursive): Return rp to caller. - (strptime_internal): First check for long names, then abbreviated - (month & weekday). +Sat Jul 13 23:50:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -1997-03-10 19:44 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * manual/Makefile (lib): New phony target. Depend on stamp files. + ($(objpfx)stamp%-$(subdir)): New rule to create them when necessary. - * 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. +1996-07-13 Paul Eggert <eggert@twinsun.com> -1997-03-11 17:00 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * time/strftime.c (strftime): Use space padding for %e, %k, %l, + to match Emacs format-time-string specification. + (DO_NUMBER_SPACEPAD): Renamed from DO_NUMBER_NOPAD. - * time/strptime.c (strptime_internal) [case 'Y']: Always subtract - 1900 from year, regardless of century. +Sat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -1997-03-12 05:43 Ulrich Drepper <drepper@cygnus.com> + * elf/dl-deps.c (_dl_map_object_deps): Take new args PRELOADS and + NPRELOADS, vector of `struct link_map *'s; add them to the searchlist + between MAP and its deps. + * elf/link.h: Fix decl. + * elf/rtld.c (dl_main): If not secure, parse LD_PRELOAD for + colon-separated list of names, map those and pass vector of ptrs as + PRELOADS list to _dl_map_object_deps. + * elf/dl-runtime.c (_dl_object_relocation_scope): Pass new args to + _dl_map_object_deps with empty preload list. + * elf/dl-open.c (_dl_open): Likewise. - * 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>. + * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): Function + removed. + (__mmap): Pass MACH_PORT_NULL for memobj port when (flags & MAP_ANON). + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill): + Conditionalize defn on [! MAP_ANON]. + * elf/dl-minimal.c (malloc): Conditionalize use of _dl_zerofd + on [! MAP_ANON]. + * elf/rtld.c (dl_main): Likewise. + * elf/dl-load.c (_dl_zerofd): Conditionalize defn on [! MAP_ANON]. + (_dl_map_object_from_fd): Conditionalize initialization of _dl_zerofd. - * sysdeps/unix/sysv/linux/netinet/ip.h: Add backward-compatibility - definitions. Patch by a sun <asun@zoology.washington.edu>. - Pretty print header. + * elf/dl-fini.c (_dl_fini): Skip finalizer for executable itself. - * 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. +Sat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com> -1997-03-11 20:16 Andreas Jaeger <aj@arthur.pfalz.de> + * stdlib/random.c (__random): Declare as int32_t to be in sync + with declaration. - * manual/math.texi (Domain and Range Errors): Change descriptions - according to recent changes for ISO C 9X. + * socket/Makefile (headers): Add socketbits.h. -1997-03-11 22:39 Ulrich Drepper <drepper@cygnus.com> + * misc/mntent.c (endmntent): Allow for NULL stream. SunOS does + it that way. - * sysdeps/libm-ieee754/k_standard.c (__kernel_standard): Correct - return values for acos, asin, and atan2. - Reported by Andreas Jaeger <aj@arthur.pfalz.de>. + * grp/initgroups.c (initgroups): Add groups that user is a member + of, not the ones he is _not_ a member of. -1997-03-10 18:16 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + * nss/nsswitch.c (known_compare): Make known_compare() a static + instead of a local function. The latter are difficult to debug + and slow to execute on certain platforms. - * nis/ypclnt.c (__yp_bind): Fix possible buffer overflow. + * sysdeps/posix/ttyname_r.c (ttyname_r): Use sizeof (dev) - 1 in + place of sizeof (dev). The size of a literal string includes the + NUL byte. -1997-03-10 18:06 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE> + * sysdeps/unix/getlogin.c (getlogin): Initialize ut_fd with -1. - * dirent/alphasort.c (alphasort): Interpret arguments as pointers - to pointers to directory entries so that alphasort really can be - used as argument for scandir. +Thu Jul 11 16:59:10 1996 David Mosberger-Tang <davidm@azstarnet.com> -1997-03-09 23:33 Andreas Jaeger <aj@arthur.pfalz.de> + * misc/mntent.c (addmntent): Seek to end of file before writing + entry. Return 1 on error, not -1. - * string/strdup.c: Declare memcpy if !(_LIBC || STDC_HEADERS) - instead of strcpy. +Tue Jul 9 19:08:05 1996 David Mosberger-Tang <davidm@azstarnet.com> -1997-03-10 03:34 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/syscalls.list: Mark bdflush as EXTRA + syscall. - * 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. +Fri Jul 5 18:44:55 1996 David Mosberger-Tang <davidm@azstarnet.com> -1997-03-10 02:46 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/alpha/ioperm.c (port_to_cpu_addr): Size + shift amount for Jensen must be 5 not 4. - * 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>. +Sat Jul 13 20:04:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -1997-03-10 02:31 H.J. Lu <hjl@gnu.ai.mit.edu> + * socket/sys/socket.h (struct osockaddr): New type. - * time/Makefile: Add source files to dependencies for test data. +Sat Jul 13 03:50:53 1996 Ulrich Drepper <drepper@cygnus.com> -1997-03-09 22:53 Thorsten Kukuk <kukuk@weber.uni-paderborn.de> + * misc/Makefile (routines): Add qefgcvt and qefgcvt_r. + * misc/efgcvt.c, misc/efgcvt_r.c: Change code so that the `double' + and `long double' versions can be generated. + * misc/qefgcvt.c, misc/qefgcvt_r.c: New files. Define macros + so that included efgcvt{,_r}.c file generate `long double' + versions. + * stdlib/stdlib.h: Add prototypes for q[efg]cvt() and q[ef]cvt_r() + functions. - * 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-rpc.c: Likewise. - * nis/nss_nis/nis-service.c: Likewise. + * manual/startup.texi: Document new getsubopt function. + * manual/examples/subopt.c: New example program for documenting + getsubopt function. -1997-03-08 14:37 Miguel de Icaza <miguel@nuclecu.unam.mx> +Fri Jul 12 23:58:37 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/sparc/dl-machine.h (elf_machine_rela): Upgrade to - versioning; Added missing R_SPARC_WDISP30 handling. - (RTLD_START): Implement it. + * stdlib/Makefile (routines): Add getsubopt. + * stdlib/stdlib.h: Add prototype for getsubopt. + * stdlib/getsubopt.c: New file. Implement getsubopt function + to handle suboption parsing. - * sysdeps/unix/sysv/linux/sparc/brk.c: Fix. +Thu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for - Linux/SPARC. + * inet/getnetent_r.c: Define NEED_H_ERRNO. + * inet/getnetbynm_r.c: Likewise. + * inet/getnetent.c: Likewise. + * inet/getnetbyad_r.c: Likewise. + * inet/getnetbyad.c: Likewise. + * inet/getnetbynm.c: Likewise. -1997-03-02 18:06 Miguel de Icaza <miguel@nuclecu.unam.mx> + * sysdeps/generic/pselect.c: Include <sys/time.h>. - * 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. + * misc/sys/select.h: Include <time.h> instead of <sys/time.h> for + `struct timespec'. -1997-03-20 20:44 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + * math/Makefile (calls): Add s_frexp, s_ldexp. + (routines): Remove them and &f from here. - * sysdeps/mach/hurd/euidaccess.c: Define as __euidaccess and make - euidaccess weak alias. + * sys/socket.h: New file, wrapper for socket/sys/socket.h. -1997-03-07 10:30 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + * nss/nss_files/files-service.c (getservbyname): Take second arg PROTO + and check it. - * stdio-common/printf_fphex.c (MIN): New macro. + * nss/nss_files/files-XXX.c: Comment fix. - * sysdeps/generic/netinet/in.h: Include <sys/types.h>. +Fri Jul 12 01:28:35 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/generic/sys/mman.h (msync): Mention third arg. + * nss/getXXent_r.c (GETFUNC_NAME_STRING): Define with name + of reentrant function. + (setup): Pass additional argument with function name we are + looking for. + (SETFUNC_NAME, ENDFUNC_NAME, GETFUNC_NAME): Call setup with + new argument {SET,END,GET}FUNC_NAME_STRING. - * sysdeps/generic/netinet/in.h: Add definitions for IPv6 basic - API. (See change by Philip Blundell on Feb 16, 1997.) + * nss/getXXent.c (GETFUNC_NAME): RESULT must be static because + we return a pointer. -1997-03-05 10:40 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> +Thu Jul 11 18:20:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * hurd/hurd.h (vpprintf): Include <stdarg.h>. New declaration. + * nss/nss_files/files-parse.c: Add comment about things to #define. - * hurd/set-host.c (_hurd_set_host_config): Cast second arg to - __file_name_split. + * nss/nss_files/files-hosts.c (NEED_H_ERRNO): Define it. - * 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. + * nss/nss_files/files-parse.c (STRING_FIELD): Don't flag NUL before + terminator char as an error. - * mach/mach/mach_traps.h: Include <mach/kern_return.h>. + * nss/getXXbyYY_r.c (REENTRANT_NAME): Set *H_ERRNOP, not h_errno. - * mach/spin-solid.c: Include <mach/mach_traps.h>. - * mach/spin-solid.c (__spin_lock_solid): Provide arg to - swtch_pri. +Thu Jul 11 03:21:10 1996 Ulrich Drepper <drepper@cygnus.com> - * mach/mach_init.c: Include <mach/mig_support.h>. + * catgets/gencat.c (write_out): Move code to determine new + best size out of inner loop. - * mach/mach_error.h (mach_error_string, mach_error, - mach_error_type): Always provide prototypes. +Thu Jul 11 00:22:40 1996 Ulrich Drepper <drepper@cygnus.com> - * mach/mach/error.h (mach_error_fn_t): Comment out declaration; it - appears to be entirely unused dead code. + * sysdeps/libm-ieee754/s_frexpl.c: New file. `long double' + implementation of frexp() function. + * sysdeps/libm-ieee754/s_ldexpl.c: New file. `long double' + implementation of ldexp() function. -1997-03-02 13:38 Miles Bader <miles@gnu.ai.mit.edu> + * sysdeps/libm-i387/s_isnanl.c (isnanl): Mask explicit one + out before or'ing. - * string/argz.h (__need_error_t): New macro, before including <errno.h> - [!__const] (__const): New macro. - [!__error_t_defined] (error_t): New typedef. +Wed Jul 10 05:24:40 1996 David Mosberger-Tang <davidm@azstarnet.com> -1997-03-09 06:59 Ulrich Drepper <drepper@cygnus.com> + * misc/mntent.c: Include <sys/types.h>. + (endmntent): Return 1 one success, 0 on failure. + (getmntent): Chop newline and ignore empty lines. - * 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. +Mon Jul 8 21:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * sysdeps/m68k/dl-machine.h (RESOLVE): New macro, defined + differently based on [RTLD_BOOTSTRAP]. + (elf_machine_rela): Use it instead of the fn ptr arg directly. - * locale/setlocale.c (setlocale): Don't set usage_count to - MAX_USAGE_COUNT if it already has this value. +Tue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * 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. + * posix/glob.h (__glob_opendir_hook, __glob_readdir_hook, + __glob_closedir_hook): Remove decls. - * stdlib/Makefile (headers): Add inttypes.h. - * sysdeps/wordsize-32/inttypes.h: New file. - * sysdeps/wordsize-64/inttypes.h: New file. + * sysdeps/generic/machine-gmon.h: Declare mcount_internal. - * 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. + * sysdeps/unix/inet/syscalls.list: Define __ names with weak aliases + for send and connect syscalls. - * time/Makefile: Rewrite rules for test to handle parallel builds. + * socket/sys/socket.h: New file, taken from non-sysdep parts of + linux/sys/socket.h; break sysdeps parts out into socketbits.h. + Declare __ names for send and connect. + * sysdeps/generic/socketbits.h: New file. + * sysdeps/unix/sysv/linux/socketbits.h: New file. + * sysdeps/unix/sysv/linux/sys/socket.h: File removed. + * sysdeps/generic/sys/socket.h: File removed. -1997-03-09 05:26 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/mach/hurd/connect.c: Define __ name and weak alias. + * sysdeps/mach/hurd/send.c: Likewise. - * manual/startup.texi (EXIT_FAILURE): Fix typo. Patch by - robbe@orcus.priv.at. + * sysdeps/mach/libc-lock.h: New file. + * sysdeps/unix/readdir.c: Do locking. + * sysdeps/unix/seekdir.c: Likewise. + * sysdeps/unix/rewinddir.c: Likewise. + * sysdeps/unix/closedir.c: Likewise. + * sysdeps/unix/bsd/telldir.c: Likewise. + * sysdeps/mach/hurd/seekdir.c: Likewise. + * sysdeps/mach/hurd/readdir.c: Likewise. + * sysdeps/mach/hurd/closedir.c: Likewise. + * sysdeps/mach/hurd/opendir.c: Initialize the lock. + * sysdeps/unix/opendir.c: Likewise. + * sysdeps/mach/hurd/dirstream.h: Include <libc-lock.h>. + (struct __dirstream): Add lock member using __libc_lock_define. + * sysdeps/unix/dirstream.h: Likewise. -1997-03-09 05:10 Edward Seidl <seidl@janed.com> + * sysdeps/stub/libc-lock.h (__libc_lock_fini): New macro. - * sysdeps/i386/elf/start.S (nofini): *Really* align stack to - 8-byte boundary. + * stdlib/mbstowcs.c: Pass address of pointer to mbsrtowcs. -1997-03-09 01:48 Ulrich Drepper <drepper@cygnus.com> + * stdlib/wcstombs.c: Use wcsrtombs instead of mbsrtowcs. - * elf/link.h: Define __need_NULL to get definition. Include - <features.h>. - Patch by Andreas Jaeger <aj@arthur.pfalz.de>. +Thu Jul 4 01:34:04 1996 Ulrich Drepper <drepper@cygnus.com> -1997-03-08 21:48 Thorsten Kukuk <kukuk@tk.uni-paderborn.de> + * locale/programs/stringtrans.c: Fix typo in copyright. - 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. + * stdio-common/printf-prs.c: Add casts to prevent + signed<->unsigned warnings. -1997-03-08 16:02 Andreas Jaeger <aj@arthur.pfalz.de> + * stdio-common/printf-parse.h: Initialize state variable before + calling mbrlen. + * stdio-common/printf-prs.c: Don't initialize state variable here. + * stdio-common/vfprintf.c: Don't initialize state variable. + (vfprintf): While determining length of multibyte string don't + try to be clever in determining characters to use for first + call. - * time/scheck.c (scheck): Add extra const to second argument. + Add real implementation of multibyte<->wide char conversion + functions. The functions always convert between the fixed wide + char format (ISO 10646 in UCS4) and the UTF8 representation of + this character set. Conversion between the currently used + 8bit character set and ISO 10646 will not take place. This is + what iconv() is for. + * wcsmbs/wchar.h (mbstate_t): Define as structure to replace + dummy definition. + Add optimized version of `mbrlen' function. + * wcsmbs/btowc.c (btowc): Restrict range of legal characters + to 0...0x7f. + * wcsmbs/wctob.c (wctob): Restrict range of legal characters + to 0..0x7f. + * wcsmbs/mbrlen.c: Make mbrlen a weak alias of __mbrlen. + This is needed in the wchar.h header. + * wcsmbs/mbrtowc.c: Replace dummy implementation. Convert UTF8 + encoded character to UCS4. + * wcsmbs/mbsinit.c: Replace dummy implementation. Test COUNT + element of `mbstate_t' for initial state. + * wcsmbs/mbsrtowcs.c: Replace dummy implementation. Convert UTF8 + encoded string to UCS4 string. + * wcsmbs/wcrtomb.c: Replace dummy implementation. Convert UCS4 + character to UTF8 encoded form. + * wcsmbs/wcsrtombs.c: Replace dummy implementation. Convert UCS4 + encoded string to UTF8 encoded form. - * time/private.h: Correct prototypes to match definition. +Tue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -1997-03-08 18:55 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/configure.in: Use version number in cache + variable name, so new a libc with new requirements won't fail to + notice an insufficient Linux version. - * sysdeps/alpha/__math.h: Remove cabs inline definition. - Reported by Philip Blundell <pjb27@cam.ac.uk>. + * sysdeps/unix/sysv/linux/direntry.h: New file from David Mosberger. -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. + * sysdeps/unix/sysv/linux/configure.in: Check for Linux 2.0.1 headers, + instead of 2.0 headers. - 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/mach/hurd/Makefile (stamp-errnos): Uncomment CVS commit cmds. - * sysdeps/unix/sysv/linux/poll.c: Test whether poll syscall is - available and use fall-back implementation if not. + * sysdeps/gnu/errlist.awk: Undo mib's bogus changes. The + sysdeps/mach/hurd/errnos.awk bug fix was the only correct change. - * sysdeps/unix/sysv/linux/syscalls.list: Sort entries. + * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Declare _mcount + before using it in lhs of weak_alias. - * 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. + * nss/getXXent_r.c (setup): New function, broken out of SETFUNC_NAME. + Call __nss_lookup when not setting STARTP. + (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Call it to set up for + function-calling loop. - * time/tzfile.c: Pretty print. +Tue Jul 9 00:14:52 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu> -1997-03-06 07:37 Geoff Keating <geoffk@ozemail.com.au> + * sysdeps/mach/hurd/ioctls.h (MDMBUF, ECHO, TOSTOP, FLUSHO, + PENDIN, NOFLSH): Undefine these at start if they are already + defined to avoid collision with termbits.h. + * sysdeps/generic/termbits.h (ECHO, TOSTOP, NOFLSH): Likewise. + (MDMBUF, FLUSHO, PENDIN) [__USE_BSD]: Likewise. - Port to powerpc-*-linux-gnu. Slightly tested, under MkLinux, - on a 601. +Mon Jul 8 13:37:40 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * 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. + * math/math.h (_Mfloat_, _Mlong_double_): New macros, defined iff not + already defined to float, long double. Use those macros for _Mdouble_ + defns when including mathcalls.h. + * math/Makefile [$(long-double-fcts) != yes] (CPPFLAGS): Append + -D_Mlong_double_=double. - * 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. + Add more -lm functions to -lc because ldexp uses them. + * math/Makefile (calls): Add s_finite, s_copysign, s_scalbn, s_modf. + (routines): Remove s_modf, add s_frexpf, s_ldexpf; all but frexp and + ldexp have both f and l code, and those have f though not l code. -1997-03-05 05:24 Geoff Keating <geoffk@ozemail.com.au> +Mon Jul 8 13:10:50 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu> - * 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/mach/hurd/errnos.awk: Skip entries where the + error is 0. The "placeholder" entries recently added to + errno.texi convert to zero since `???/' is at the front of them. + * sysdeps/gnu/errlist.awk (errnoh): Likewise. -1997-03-04 08:04 Geoff Keating <geoffk@ozemail.com.au> + * sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm + __const to conform with unistd.h. - * 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. + * stdlib/stdlib.h (random): Declare return type to be int32_t. -1997-02-28 08:50 Geoff Keating <geoffk@ozemail.com.au> + * string/argz-delete.c (argz_delete): Use memmove instead of + memcpy for possibly overlapping strings. + +Mon Jul 8 02:14:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + + * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_alias): Use extern + storage class. GCC gives an error for non-extern data defns with the + alias attribute. + +Mon Jul 8 01:37:34 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> + + * string/argz-insert.c (__argz_insert): (__argz_insert): Use + memmove instead of memcpy for possible overlapping strings. + +Mon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + + * libc-symbols.h (weak_function): New macro. + For GCC 2.7+ define as __attribute__ ((weak)). + * elf/dl-minimal.c: Use weak_function as keyword in function defns + instead of weak_symbol (NAME) after the defn. + * stdlib/strtol.c: Likewise. + * stdlib/strtod.c: Likewise. + * sysdeps/mach/hurd/dl-sysdep.c: Likewise. - * elf/elf.h: Add in all those PowerPC reloc types. + * sysdeps/alpha/dl-machine.h (elf_machine_rela) [RTLD_BOOTSTRAP]: + If this is defined, don't declare _dl_rtld_map as weak, and + don't check for MAP pointing to it. RESOLVE is always null in this + case, so test with #ifdef instead of if. -1997-02-24 07:12 Geoff Keating <geoffk@ozemail.com.au> + * libc-symbols.h (symbol_set_declare): Use weak_extern instead of + weak_symbol. + * csu/initfini.c (_init): Likewise. + * locale/setlocale.c (DEFINE_CATEGORY): Likewise. + * misc/efgcvt_r.c: Likewise. + * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. - * stdio-common/vfscanf.c: Use __va_copy if available. + * libc-symbols.h [ASSEMBLER] (weak_symbol): Macro removed. + It was not used in any assembler code. + (weak_symbol_asm): Renamed to weak_extern_asm. + (weak_extern): New macro replaces weak_symbol for weak extern refs; + define to weak_extern_asm for [!ASSEMBLER]. -1997-03-06 13:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Sun Jul 7 18:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * malloc/malloc.c (mprotect) [_LIBC]: Define as __mprotect to - clean up namespace. + * libc-symbols.h [! ASSEMBLER] [HAVE_WEAK_SYMBOLS] (weak_symbol_asm, + weak_alias_asm): New macros, renamed from weak_symbol/weak_alias; + define those now as aliases. + Change conditional to use __attribute__ syntax for GCC 2.7+, not 2.8+ + [GCC >= 2.7] [HAVE_WEAK_SYMBOLS] (weak_symbol): Do weak_symbol_asm + after GCC weak attribute decl. -1997-03-07 14:27 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/gnu/errlist.awk (BEGIN): Initialize associative array ALIAS, + map EWOULDBLOCK->EAGAIN, EDEADLOCK->EDEADLK. + (element printer): Check for elt in ALIAS, instead of special case + for EWOULDBLOCK. - * 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>. + * io/Makefile (headers): Add sys/vfs.h. + * io/sys/vfs.h: New file. -1997-03-07 05:27 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Don't unlock the + critical section lock before unlinking dying active resources. + The unlock just before return is right (i.e. old code unlocked twice). - * 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>. +Sun Jun 2 22:28:43 1996 Miles Bader <miles@gnu.ai.mit.edu> -1997-03-06 05:55 David Engel <david@sw.ods.com> + * stdio/linewrap.c (lwupdate): Update D->point_offs when done. + Use memmove instead of memcpy where overlap is possible (not + necessary using current implementation of memcpy, but...). + (__line_wrap_update): Don't update D->point_offs (lwupdate does it). - * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Also - recognize cache entries with flag == 3. +Fri May 31 11:48:46 1996 Miles Bader <miles@gnu.ai.mit.edu> -1997-03-06 01:05 Ulrich Drepper <drepper@cygnus.com> + * stdio/linewrap.c (lwupdate): New function, mostly was + __line_wrap_update. Use POINT_COL field instead of POINT. + (__line_wrap_output): Use lwupdate. + (__line_wrap_update): New function. + (ensure_unwrapped, ensure_wrapped): New functions. + (line_wrap_set_lmargin, line_wrap_set_rmargin, + line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update. - * sysdeps/generic/netinet/in.h (INADDR_NONE): Cast to unsigned int. - (INADDR_LOOPBACK): Likewise. - * sysdeps/unix/sysv/linux/netinet/in.h: Likewise. + * stdio/linewrap.h (struct line_wrap_data): Rename POINT field to + POINT_COL. Add POINT_OFFS field. + (__line_wrap_update): New decl. + (line_wrap_set_lmargin, line_wrap_set_rmargin, + line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update. - * manual/socket.texi: Correct types of INADDR_* constants from - unsigned long to unsigned. +Fri Jul 5 17:34:47 1996 Miles Bader <miles@gnu.ai.mit.edu> -1997-03-05 23:14 Ulrich Drepper <drepper@cygnus.com> + * login/logout.c (logout): Do nothing if getutline_r returns ESRCH. - * time/antarctica: Update from tzdata1997c. - * time/asia: Likewise. - * time/zone.tab: Likewise. + * login/pututline_r.c (pututline_r): Since we assign RESULT from + lseek now, check that it's >= 0, not == 0. -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/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/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. - - * time/leapseconds: Update from tzdata1997b. - * time/zic.c: Update from tzcode1997b. - -1997-03-01 15:08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * time/Makefile $(tzfiles:%=$(objpfx)z.%): Remove unneeded - depedencies between installed $(tzlinks) and $(tzbases) files. - -1997-03-01 14:27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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/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. +Wed Jul 3 13:28:04 1996 Miles Bader <miles@gnu.ai.mit.edu> -1997-02-27 21:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * login/login.c (login): Make a copy of *UT, fill in various + fields that we supply (ut_line, ut_type, ut_pid), and use the copy + in place of UT. - * Makefile (tests): Cope with $PATH not including the current - directory. + * login/getutline_r.c (getutline_r): When we return ESRCH, mark + UTMP_DATA->ubuf invalid (by setting UTMP_DATA->loc_utmp to 0). -1997-02-27 18:04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * 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. + * hurd/hurdsig.c (_hurd_internal_post_signal): In case of handled + signal during critical section doing interruptible RPC, if + _hurdsig_abort_rpcs wants to change thread state, do thread_set_state + before thread_resume. If in critical section, pass 0 for SIGNO to + _hurdsig_abort_rpcs so rpc is interrupted regardless of SA_RESTART. -1997-02-27 17:11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * extra-lib.mk: Fix typo in $(extra-libs-others) conditional. - * sunrpc/Makefile ($(objpfx)rpc-proto.d, $(objpfx)rpc-proto.c): - New rules to generate dependencies for the RPC service objects. + * sysdeps/unix/sysv/linux/sys/user.h: New file. + * sysdeps/unix/sysv/linux/Dist: Add it. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add sys/user.h. -1997-02-27 16:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * nss/nss_files/files-parse.c (parse_list): Set EOL from LINE if it + points within DATA->linebuffer; otherwise use all of DATA->linebuffer + itself, no need to skip past a NUL. - * argp/argp-parse.c (parser_finalize): Always set *END_INDEX if - supplied. + * nss/nsswitch.h (known_function): Comment fix. + * nss/nsswitch.c (nss_lookup_function): Rewritten using __tsearch + directly. Do the lookup and insertion with a single call, and fill in + the tree node afterwards if new. + (known_compare, nss_find_entry, nss_insert_entry): Functions removed. -1997-02-28 03:27 Ulrich Drepper <drepper@cygnus.com> + * misc/sys/select.h: #define __need_timespec before <sys/time.h> incl. + (struct timeval): Add bodiless decl for scope. - * stdlib/strtod.c (STRTOF): Make sure return value is large enough - so that clearing second word is necessary. + * time/time.h (struct timespec): Rename members from `ts_*' to `tv_*'. + Move struct timespec defn outside [_TIME_H] so it can be got with + #define __need_timespec. - * 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>. + * time/sys/time.h (TIMEVAL_TO_TIMESPEC): Use `tv_*' instead of `ts_*' + for `struct timespec' member names. + (TIMESPEC_TO_TIMEVAL): Likewise. -1997-02-27 10:34 Richard Henderson <rth@tamu.edu> + * nss/Makefile (extra-libs-others): New variable. - * 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. + * extra-lib.mk: Don't test for $($(lib)-no-lib-dep). Instead match + $(lib) in $(extra-libs-others). + * sunrpc/Makefile (extra-libs-others): New variable. + (librpcsvc-no-lib-dep): Variable removed. -1997-03-01 20:21 Miles Bader <miles@gnu.ai.mit.edu> + * elf/rtld.c: Define RTLD_BOOTSTRAP before #include "dynamic-link.h". + * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove weak decl for + _dl_rtld_map. + (RESOLVE): New macro, defined differently based on [RTLD_BOOTSTRAP]. + (elf_machine_rel): Use it instead of testing fn ptr arg at runtime. + (elf_machine_rel: case R_386_32) [! RTLD_BOOTSTRAP]: Declare + _dl_rtld_map weak only here. - * 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. + * posix/unistd.h [__USE_BSD]: Declare getdomainname, setdomainname. - * login/logout.c (logout): Change type of entry to be DEAD_PROCESS. +Thu Jul 4 05:21:59 1996 David Mosberger-Tang <davidm@azstarnet.com> -1997-02-25 19:42 Miles Bader <miles@gnu.ai.mit.edu> + * login/utmp.h: Fix typos. - * sysdeps/mach/hurd/fcntlbits.h (O_NORW): New macro. + * misc/syslog.c (vsyslog): Use __send instead of send and + __connect instead of connect to avoid name-space collisions (e.g., + with psgetty). -1997-02-27 05:12 Ulrich Drepper <drepper@cygnus.com> +Wed Jul 3 16:29:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * 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. + * nss/getXXbyYY_r.c (REENTRANT_NAME): Cast FCT in __nss_next call. - * sysdeps/libm-i387/e_acoshl.c: Clear upper half of word containing - exponent before comparing. + * sysdeps/generic/sbrk.c: Always call __brk (0) to update __curbrk. -1997-02-27 01:13 Ulrich Drepper <drepper@cygnus.com> + * malloc/malloc-size.c (malloc_usable_size): Renamed from + malloc_object_allocation_size. + * malloc/malloc.h: Fix decl. - * 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>. + * sys/select.h: New file, wrapper header. -1997-02-26 08:30 Andreas Jaeger <aj@arthur.pfalz.de> + * posix/sys/types.h [__USE_BSD]: Include <sys/select.h>; remove + fd_set, associated macros, and select decl. - * math/math.h: Include <__math.h> if __NO_MATH_INLINES is not - defined and we want optimization. + * sysdeps/posix/isfdtype.c: New file. -1997-02-02 19:53 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Tue Jul 2 23:45:14 1996 Ulrich Drepper <drepper@cygnus.com> - * misc/getpass.c: Don't disable canonical input. - Reverted patch of Mon Jan 6 01:35:29 1997. + The latest Japanese proposal for POSIX locales renames the + CHARMAP keyword in locale definition files to CHARCONV. + * locale/programs/ld-ctype.c, locale/programs/locales.h: Rename + function ctype_is_charmap to ctype_is_charconv. + * locale/programs/locfile-kw.gperf: Replace charmap keyword with + charconv. + * locale/programs/locfile-token.h: Add definition of token + charconv. + * locale/programs/locfile.c: Recognize charconv keyword. Rename + lables according to this. -1996-12-14 22:07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * locale/weight.h (get_weight): Cast constants to prevent + warnings. - * 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. + * stdlib/strtod.c, stdlib/strtol.c, string/strcoll.c, + string/strxfrm.c: Add some more casts to prevent signed<->unsigned + warnings. -1997-02-27 00:23 H.J. Lu <hjl@lucon.org> + New stuff described in P1003.1g. + * misc/Makefile (headers): Add sys/select.h. + (routines): Add pselect. + * misc/sys/select.h: New file. Declare select functions and + needed data types and macros. + * sysdeps/generic/pselect.c: New file. Add generic implementation + of pselect() function which uses select(). + + * posix/getconf.c: Recognize new variables from P1003.1g. + * posix/posix1_lim.h: Define _POSIX_FD_SETSIZE, _POSIX_QLIMIT, + _POSIX_HIWAT, and _POSIX_UIO_MAXIOV. + * posix/unistd.h: Add description of the P1003.1g variables. + * sysdeps/generic/confname.h: Define _SC_* values for new + variables. + * sysdeps/posix/fpathconf.c (fpathconf): Add handling of + _PC_SOCK_MAXBUF. + * sysdeps/stub/fpathconf.c (fpathconf): Ditto. + * sysdeps/posix/sysconf.c (sysconf): Add handling of new + P1003.1g variables. + * sysdeps/stub/sysconf.c (sysconf): Ditto. + * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_POLL and + _POSIX_SELECT since Linux has this. - * time/Makefile: Avoid using patterns in dependencies. + * socket/Makefile (routines): Add isfdtype. + * sysdeps/generic/sys/socket.h: Add prototype for isfdtype. + * sysdeps/stub/isfdtype.c: New file. Stub implementation of + isfdtype. -1997-02-26 00:56 Miguel de Icaza <miguel@nuclecu.unam.mx> + * wcsmbs/wcrtomb.c (wcrtomb): Fix typo. - * 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. +Wed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * elf/rtld.c (_dl_start): On the SPARC we need to adjust the value - of arg to make it point to the actual values. + * elf/Makefile (LDFLAGS-dl.so): New variable. + (libdl.so): Depend on eval.so. + (distribute): Add eval.c. + * elf/eval.c: New file. - * sysdeps/sparc/elf/DEFS.h: New ELF specific version. - * sysdeps/sparc/Dist: Mention sysdeps/sparc/elf/DEFS.h. + * time/strftime.c (strftime: do_number): Adjust P and I after sprintf + in case it wrote fewer than MAXDIGITS chars. - * sysdeps/sparc/bsd-_setjmp.S, sysdeps/sparc/bsd-setjmp.S: Make - them PIC aware. + * stdio/fwrite.c (fwrite: fill_buffer): Separate flushing for last + newline from flushing full buffer in loop, fix test so no fflush is + done when last byte written exactly fills the buffer. - * 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. + * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Depend on libc.so. - * sysdeps/sparc/elf/start.S: Fix. + * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): Variable removed. + (libc.so): Instead, give this deps on lib{mach,hurd}user.so. - * sysdeps/sparc/fpu_control.h: Remove duplicate declaration of - __setfpucw. + * elf/dl-debug.c (_dl_debug_initialize): Use LDBASE arg instead of + extracting _dl_rtld_map.l_addr. - * 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. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare _dl_rtld_map as + weak. + * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. - * sysdeps/sparc/setjmp.S: Make it PIC aware. + * shlib-versions (*-*-*): Set libnss_db=1. - * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Define - __ASSEMBLY__ before using kernel header. +Tue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * sysdeps/unix/sysv/linux/sparc/Makefile: Use -mv8 flag to compile - rtld.c. + * elf/rtld.c (dl_main): Set _dl_rtld_map's DT_DEBUG location too. - * 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. + * rpm/template (%build): Use @prefix@ instead of always /usr. + Set up configparms only if @prefix@ is in fact /usr. + * rpm/Makefile ($(config)): Substitute $(prefix) for @prefix@. -1997-02-25 16:02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * elf/Makefile: Add missing endif. - * 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. + * nss/nss_files/files-ethers.c (ntohost): Fix db key. -1997-02-25 15:03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * nss/nss_files/files-network.c: Pass empty for new DB_LOOKUP args. + (DATABASE): Define this instead of DATAFILE. + * nss/nss_files/files-hosts.c: Likewise. + (hostbyname): Use LOOKUP_NAME macro. + + * nss/nss_db/db-XXX.c: New file. + * nss/Makefile (services): Add db. + (libnss_db-inhibit-o): New variable. + (libnss_db-routines): New variable. + (distribute): Append db-XXX.c. + (libnss_db.so): Depend on libdb.so and libnss_files.so. + ($(libnss_db-routines:%=$(objpfx)%.c)): New static pattern rule. + + * nss/nss_files/files-XXX.c (DB_LOOKUP): Add KEYSIZE and KEYPATTERN + args, ignored. + (DATAFILE): New macro. + * nss/nss_files/files-parse.c (GENERIC): If undefined, define to + "files-XXX.c". + * nss/nss_files/files-rpc.c: Include GENERIC instead of "files-XXX.c". + Pass db key args to DB_LOOKUP. + (DATAFILE): Macro removed. + (DATABASE): New macro replaces it, lacks "/etc/" prefix. + * nss/nss_files/files-service.c: Likewise. + * nss/nss_files/files-pwd.c: Likewise. + * nss/nss_files/files-proto.c: Likewise. + * nss/nss_files/files-grp.c: Likewise. + * nss/nss_files/files-ethers.c: Likewise. - * elf/dl-version.c (_dl_check_all_versions): Ignore libraries that - could not be found. + * elf/linux-compat.c: File removed. + * elf/Makefile (distribute): Remove linux-compat.c. + (ld-linux.so.1): Remove target and associated variables. -1997-02-24 23:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sunrpc/xdr.c: Remove malloc decl. + * sunrpc/portmap.c: Likewise. - * Makerules: Generate implicit object suffix rules automagically. - (o-iterator): Move before first use. + * sunrpc/svc_tcp.c (abort): Don't declare. Instead define as macro + casting abort to fn returning bool_t. - * Makeconfig (all-object-suffixes): Add .bo suffix. + * nss/nss_files/files-parse.c [EXTERN_PARSER]: Do an extern decl of + the parser function. + [EXTERN_PARSER] (LINE_PARSER): Define to empty. + * nss/nss_files/files-pwd.c (EXTERN_PARSER): Define it. + * nss/nss_files/files-grp.c: Likewise. -1997-02-25 15:11 Ulrich Drepper <drepper@cygnus.com> + * Makeconfig (BUILD_CC): If undefined, define to $(CC). - * sysdeps/libm-i387/e_acoshf.S (__ieee754_acoshf): Test correct - word on stack for overflow. + * sunrpc/rpc/types.h: Include stdlib.h instead of declaring malloc. -1997-02-24 23:05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> + * Makeconfig (built-program-cmd): Use $(rtld-installed-name) in place + of ld.so so lookups for that soname find it. - * 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(). + * nss/Makefile (libnss_dns.so): Depend on libresolv.so. + (resobjdir, LDLIBS-nss_dns.so): Variables removed. -1997-02-24 23:27 Ulrich Drepper <drepper@cygnus.com> + * pwd/fgetpwent.c: Don't include ../nss/nss_files/files-parse.c to + define parse_line function. + (parse_line): #define to _nss_files_parse_pwent and + add extern decl for that. - * sysdeps/libm-ieee754/s_cbrtl.c: Shift B1_EXP value to right - position. + * nss/nss_files/files-XXX.c (internal_getent): Return + NSS_STATUS_TRYAGAIN for ERANGE error. -1997-02-24 17:38 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/i386/strtok.S (LreturnNULL): Save current state ptr instead + of null, so next round returns null again instead of bombing. Fix + from drepper. - * 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>. + * nss/nss_files/files-parse.c (LINE_PARSER): Take new first arg EOLSET. + Remove ; after `ENTDATA_DECL (data)'. + Truncate line at strpbrk (line, EOLSET "\n"). + (ENTDATA_DECL): Put ; at end. + (MIDLINE_COMMENTS): Macro removed. + * nss/nss_files/files-ethers.c: Pass new argument. + * nss/nss_files/files-hosts.c: Likewise. + * nss/nss_files/files-network.c: Likewise. + * nss/nss_files/files-parse.c: Likewise. + * nss/nss_files/files-proto.c: Likewise. + * nss/nss_files/files-rpc.c: Likewise. + * nss/nss_files/files-service.c: Likewise. + * grp/fgetgrent.c: Likewise. + * pwd/fgetpwent.c: Likewise. + * nss/nss_files/files-pwd.c: Get parse_line with extern decl, since + fgetpwent.c already defines it. + * nss/nss_files/files-grp.c: Likewise. - * sysdeps/unix/sysv/linux/i386/socket.S: Update copyright. + * elf/dl-load.c (_dl_map_object): Use any object with matching l_name + as well as any matching with l_libname. Fix DT_SONAME lookup to use + string table properly. -1997-02-22 11:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * elf/rtld.c (dl_main): Set _dl_rtld_map.l_name from _dl_argv[0] when + invoked directly, and l_libname from that if PT_INTERP missing. + Set l_name from l_libname only if not set from argv. - * 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. + * time/europe, time/northamerica: Updated from ADO 96i. - * elf/rtld.c (dl_main): In verify mode check whether the dynamic - object contains an interpreter segment and exit with 2 if not. +Mon Jul 1 15:44:34 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -1997-02-23 01:23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * stdio-common/tst-ungetc.c: Include unistd.h. - * Makefile (distribute): Remove nsswitch.h, netgroup.h, mcheck.h - and xlocale.h. Make-dist adds them automagically. + * inet/Makefile (routines): Change getnetbypt to getnetbyad. -1997-02-22 12:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Mon Jul 1 13:32:42 1996 Miles Bader <miles@gnu.ai.mit.edu> - * locale/C-time.c (_nl_C_LC_TIME): Add missing entry for - time-era-num-entries. + * hurd/report-wait.c (describe_number): Make I unsigned long. -1997-02-06 13:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * login/login.c (login): Only Frob OLD->ut_type if getutline_r + actually found any entry. - * rellns-sh: No need to check for existance of first parameter. + * login/pututline_r.c (pututline_r): If not located after any + entry don't use UTMP_DATA->ubuf, and seek to the end before adding. + Lock the file before stating. -1997-02-24 15:20 Jonathan T. Agnew <jtagnew@amherst.edu> +Mon Jul 1 12:29:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * glibcbug.in: Don't mention destination on MAIL_AGENT command line - to avoid duplicate mail. + * nss/Makefile (databases): Change host to hosts. + * nss/host-lookup.c: Renamed to nss/hosts-lookup.c. -1997-02-24 03:51 Ulrich Drepper <drepper@cygnus.com> + * nss/nsswitch.c (nss_parse_service_list): Use const for NAME. - * Makefile (distribute): Add isomac.c. - (tests): Run isomac test. + * nss/nss_files/files-parse.c (parse_list): Correct alignment fixup. - * features.h (__USE_ISOC9X): New macro. + * string/string.h (strndupa): Pass missing arg to strnlen. - * 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. + * inet/getnetbypt_r.c: Renamed to ... + * inet/getnetbyad_r.c: this; fixed function name. + * inet/getnetbypt.c: Renamed to ... + * inet/getnetbyad.c: this; fixed function name. - * 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. +Sat Jun 29 01:08:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * stdlib/strtod.c: Change to recognize INF, INFINITY, NAN, and - NAN(...). + * grp/getgrgid_r.c (LOOKUP_TYPE): Define to struct group, not + struct passwd. - * 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. +Fri Jun 28 23:25:35 1996 Miles Bader <miles@gnu.ai.mit.edu> - * sysdeps/posix/gai_strerror.c: Use size_t for counter variable to - avoid warning. + * login/login.c (login): Initialize DATA so that setutent_r will + actually do something. - * 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. +Fri Jun 28 16:53:01 1996 David Mosberger-Tang <davidm@azstarnet.com> - * 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. - - * sysdeps/mach/hurd/i386/init-first.c (__libc_argv, __libc_argc): - Make extern. - * hurd/hurdinit.c (__libc_argv): Make extern. - - * hurd/getdport.c (_default_hurd_getdport_fn): New variable. - (_hurd_getdport_fn): Now a weak alias to _default_hurd_getdport_fn. - - * 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. - -1997-02-14 14:07 Miles Bader <miles@gnu.ai.mit.edu> - - * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync): - Declare extern. - - * 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. - -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. - -1997-02-22 00:17 Ulrich Drepper <drepper@cygnus.com> - - * catgets/gencat.c: Change to use argp. - * db/makedb: Likewise. - * locale/programs/localedef.c: Likewise. + * resolv/res_hconf.c (strndup): Remove function. - * locale/programs/locale.c: Little adjustment for better usage of - argp. + * nss/nsswitch.c (nss_lookup_function): Declare loadbase and ref + using ElfW() instead of Elf32_*. -1997-02-20 20:07 Greg McGary <gkm@eng.ascend.com> + * sysdeps/unix/sysv/linux/alpha/init-first.h, + sysdeps/unix/sysv/linux/m68k/init-first.h, + sysdeps/unix/sysv/linux/i386/init-first.h: New files. + * sysdeps/unix/sysv/linux/init-first.c: Use platform-dependent + init-first.h to make abstract machine dependent parts of + initialization. - * Makeconfig: Add rules for libc with bounded pointers. - * Makerules: Likewise. - * config.make.in: Likewise. - * configure.in: Likewise. + * sysdeps/unix/alpha/sysdep.h: Undo PIC-optimization of syscall + error handling. It's safer that way. -1997-02-21 10:41 Miles Bader <miles@gnu.ai.mit.edu> + * sysdeps/unix/alpha/sysdep.S: Make ldgp part of the prologue. + Fix by Richard Henderson. - * 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. + * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix + typo/extraneous whitespace. -1997-02-20 16:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sunrpc/xdr.c (xdr_int, xdr_u_int): Use <limits.h> to test + determine what integer sizes we're dealing with. - * malloc/obstack.h: Fix typo. +Fri Jun 28 15:46:02 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> -1997-02-20 15:56 Miles Bader <miles@gnu.ai.mit.edu> + * hurd/hurdsig.c (_hurd_internal_post_signal): In pending signal + check for signal zero, repair logical sense of test by + parenthesizing correctly. - * argp/argp-fmtstream.c (__argp_fmtstream_update): Account for case - where NEXTLINE points one past the end of the active buffer. + * hurd/hurdsig.c (_hurd_internal_post_signal): In + check-for-pending signals code, release _hurd_siglock before + jumping to deliver_pending. - * 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. +Thu Jun 27 04:04:27 1996 David Mosberger-Tang <davidm@azstarnet.com> - * argp/argp.h (argp_program_bug_address): Make const. + * configure.in (config_machine): Make ELF the default even for + Linux/Alpha unless a configuration of the form *-*-linux*ecoff + is specified. -1997-02-20 19:20 Ulrich Drepper <drepper@cygnus.com> +Fri Jun 28 07:27:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * sysdeps/unix/mman/syscalls.list: Explain msync interface. + * nss/nss_files/files-hosts.c (ENTDATA): Define it. + * nss/nss_files/files-parse.c (struct parser_data): Define entdata + member only #ifdef ENTDATA. + (ENTDATA_DECL): New macro. + (LINE_PARSER): Use it for entdata decl. + (parse_list): Find the space for LIST from DATA->linebuffer instead of + from the input LINE, which might not be writable buffer space. + (LINE_PARSER): Use `parser_stclass' in place of `static inline'. + [ENTDATA] (parser_stclass): #define to `static inline'. + [!ENDATA] (parser_stclass): #define to empty. + [!ENTDATA] (parse_line): #define to _nss_files_parse_ENTNAME; the + function is exported to -lnss_files users. -1997-02-19 01:37 Erik Troan <ewt@redhat.com> + * string/strndup.c: Add missing arg. - * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields. + * string/string.h (strndupa): Likewise. + * string/strndup.c (strndup): Always terminate the string. -1997-02-20 14:44 Andreas Jaeger <aj@arthur.pfalz.de> +Thu Jun 27 14:22:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * stdio-common/test-fseek.c: Remove temporary file, add - copyright. + * stdio/Makefile (routines): Add vscanf. + * stdio-common/Makefile (routines): Remove vscanf. + * stdio-common/vscanf.c: Move to ... + * stdio/vscanf.c: here. -1997-02-20 17:51 Ulrich Drepper <drepper@cygnus.com> + * rpm/Makefile (headers, install-lib, install-lib.so, + versioned, install-bin, install-sbin, install-data, + install-others): Add $(-VARIABLE). - * sysdeps/generic/netinet/in.h: Protect contents using - __BEGIN/END_DECLS. Reported by a sun <asun@zoology.washington.edu>. +Fri Jun 28 02:41:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * 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. + * nss/Makefile (databases): New variable. + (routines, libnss_files-routines): Use it. + (subdir-dirs): Compute from $(services). -1997-02-20 15:23 Thorsten Kukuk <kukuk@weber.uni-paderborn.de> + * sysdeps/unix/sysv/linux/syscalls.list (create_module, delete_module, + init_module, klogctl): Use EXTRA in the "caller" column so these get + added to unix-extra-syscalls and thus compiled in misc. - * nss/nsswitch.c (__nss_configure_lookup): Use correct test when - searching in sorted array. + * string/Makefile (routines): Add strndup. + * string/strndup.c: New file. + * string/string.h: Declare strndup. + (strndupa): New macro. -1997-02-20 01:24 Philip Blundell <pjb27@cam.ac.uk> + * string/string.h: Declare __strdup. + * string/strdup.c: Deansideclized. Define __ name and weak alias. - * inet/getnameinfo.c: Change to use reentrant getXXbyYY functions - and protect modification of global data. + * string/string.h: Don't define memccpy as macro for [__OPTIMIZE__]. -1997-02-19 18:48 Miles Bader <miles@gnu.ai.mit.edu> +Thu Jun 27 02:49:28 1996 Ulrich Drepper <drepper@cygnus.com> - * 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. + * catgets/gencat.c: Add casts to avoid signed<->unsigned warnings. - * 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. + * grp/initgroups.c (initgroups): De-ansi-fy. + Move declaration of NGROUPS and GROUPS outside #if so that + the code compiles for NGROUPS_MAX != 0. -1997-02-19 23:34 Ulrich Drepper <drepper@cygnus.com> + * inet/Makefile (headers): Add netinet/ether.h and netinet/if_ether.h. + (routines): Add ether_aton, ether_aton_r, ether_hton, ether_line, + ether_ntoa, ether_ntoa_r, and ether_ntoh. + * inet/ether_aton.c, inet/ether_aton_r.c, inet/ether_hton.c, + inet/ether_line.c, inet/ether_ntoa.c, inet/ether_ntoa_r.c, + inet/ether_ntoh.c: New files. Implementation of functions to + handle Ethernet address to host mapping. + * inet/netinet/ether.h: New file. Declare ether_* functions. + * netinet/ether.h: Wrapper around inet/netinet/ether.h for glibc + compilation. + * nss/ethers-lookup.c: New file. Lookup function for ethers database. + * nss/Makefile (routines): Add ethers-lookup. + (libnss_files-routines): Add files-ethers. - * locale/programs/ld-time.c (time_finish): t_fmt_ampm is optional. - Use default value instead of printing a warning. + * nss/getXXent_r.c: Don't define set*ent and end*ent function + with _r suffix. - * nss/XXX-lookup.c: Add missing explanation. + * nss/nss_files/files-XXX.c (internal_endent): Don't reset + KEEP_STREAM every time called. + (_nss_files_end): Reset KEEP_STREAM here instead. + (internal_getent): If STREAM == NULL try to open instead of + signalling error. + Use cast to prevent warning. + Terminate read line in case the buffer is too small. -1997-02-19 19:14 Andreas Jaeger <aj@arthur.pfalz.de> + * nss/nss_files/files-ethers.c: New file. Implementation of + Ethernet adress<->hostname lookup through files interface. - * inet/in6_addr.c: Add missing braces. + * stdlib/mbstowcs.c: Define based on mbsrtowcs(). + * stdlib/mbtowc.c: Define based on mbrtowc(). + * stdlib/wcstombs.c: Define based on wcsrtombs(). + * stdlib/wctomb.c: Define based on wcrtomb(). - * inet/getnameinfo.c: Include <arpa/inet.h>. + * sunrpc/xdr.c (xdr_u_int): Avoid bogus call to + unexpected_sizes_in_xdr_u_int. - * sysdeps/posix/getaddrinfo.c: Include <arpa/inet.h>. + * sysdeps/generic/netinet/if_ether.h: New file. Generic declaration + of `struct ether_addr'. + * sysdeps/unix/sysv/linux/netinet/if_ether.h: New file. Linux specific + declaration of `struct ether_addr'. -1997-02-19 11:46 Ulrich Drepper <drepper@cygnus.com> + * wcsmbs/mbrtowc.c: Handle case where argument PS is NULL. + * wcsmbs/mbsrtowcs.c: Ditto. + * wcsmbs/wcrtomb.c: Ditto. + * wcsmbs/wcsrtombs.c: Ditto. - * 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. + * wcsmbs/mbsinit.c: Prepare for PS being NULL. - * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'. +Wed Jun 26 13:19:35 1996 Miles Bader <miles@gnu.ai.mit.edu> -1997-02-19 03:28 Miles Bader <miles@gnu.ai.mit.edu> + * hurd/get-host.c <fcntl.h>: New include. + * hurd/set-host.c <fcntl.h>: New include. + (_hurd_set_host_config): Include NEW in args to dir_link. + Return NWROTE, not NREAD. - * 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. + * sysdeps/mach/hurd/getcwd.c + (_hurd_canonicalize_directory_name_internal): Don't deallocate + DOTID & DOTDEVID until we're finished with them (we need to keep + them at least until we've fetched the next level of id ports, so + that mach will be able to use the same name if they're the same). + Add inner_errlose: label, which deallocates DOTID & DOTDEVID and + jumps to errlose, for those places where such cleanup is needed. - * argp/argp-test.c: Add example for filter. +Wed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -1997-02-19 02:58 Ulrich Drepper <drepper@cygnus.com> + * nss/nss_files/files-parse.c (parse_list): Count null in EOL calc. - * argp.h: New file. - * locale/programs/locale.c: Switch to use argp. + Move DB code into separate -ldb library. + * db/Makefile (extra-libs): New variable, list libdb. + (routines): Renamed to libdb-routines. + * shlib-versions: Add libdb=2. - * errno.h: Make it possible to get definition of error_t even - after having errno.h already. + * nss/network-lookup.c (DEFAULT_CONFIG): New macro. + * nss/host-lookup.c (DEFAULT_CONFIG): New macro. - * elf/dl-hash.h: New file. ELF hashing function. Extracted - from dl-lookup.c. - * elf/dl-lookup.c (_dl_elf_hash): Remove definition. + * nss/nsswitch.c (nss_parse_service_list): Use __strncasecmp instead + of strncasecmp. Extend syntax to grok [!foo=bar]. - * elf/dl-load.c: Rename _dl_does_name_match_p to _dl_name_match_p. - * elf/dl-version.c: Likewise. + * sysdeps/generic/strncase.c: Define __strncasecmp with strncasecmp as + weak alias. + * string/string.h: Declare __strncasecmp. - * elf/dl-lookup.c: Implement new versioning lookup scheme. - * elf/dl-version.c (_dl_check_map_versions): Initialize new field - in l_versions member. + * nss/nsswitch.c (nss_parse_file): Call __getline, not getline. + (service_alias): Variable removed. + (nss_parse_service_list): New function, broken out of nss_getline. + Remove alias conversion; we will just use symlinks. + (__nss_database_lookup): Take new string arg DEFCONFIG. + If no entry exists, make one with service list parsed from that. + * nss/nsswitch.h: Update protocol for __nss_database_lookup. + * nss/XXX-lookup.c (DEFAULT_CONFIG): New macro, set to 0 if undefined. + (DB_LOOKUP_FCT): Pass it to _nss_database_lookup. - * elf/dlvsym.c: Correct call of _dl_lookup_versioned_symbol_skip - and _dl_lookup_versioned_symbol. + * grp/initgroups.c: Rewritten using getgrent. Handle unlimited group + list size. - * 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. + * sunrpc/xdr.c (xdr_int): #if 0 out unresolved references in dead code. - * intl/l10nflist.c: (_nl_make_l10nflist): Fix bug in computation of - length of abs_filename. +Wed Jun 26 01:56:50 1996 Ulrich Drepper <drepper@cygnus.com> - * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH. + * locale/programs/locale.c (long_options): Short form of + --version option is `-V'. + (main): Recognize `-V' as option, not `-v'. + Call `usage' instead of printing error message for illegal + option. + (usage): Document `-V'. - * 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. +Tue Jun 25 17:22:55 1996 Miles Bader <miles@gnu.ai.mit.edu> - * locale/programs/locale.c: Check whether output of `locale -a' - really is locale directory. Also print locale aliases. + * sysdeps/mach/hurd/getcwd.c + (_hurd_canonicalize_directory_name_internal): Initialize PARENT to + THISDIR, and don't ever deallocate PARENT unless it's != THISDIR. - * misc/search.h (__action_fn_t): Parameters VALUE and LEVEL cannot - be const. +Tue Jun 25 10:58:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -1997-02-19 02:16 Ulrich Drepper <drepper@cygnus.com> + * inet/getrpcent.c: Fix macros. + * inet/getrpcent_r.c: Fix macros. - * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Correct #defin to - #define. Reported by Rick Flower <FLOWER@sdvax2.sdd.TRW.COM>. + * elf/dlsym.c (dlsym): Search the global scope if HANDLE is null. -1997-02-19 01:37 Erik Troan <ewt@redhat.com> + * elf/dl-load.c (_dl_map_object_from_fd): Initialize L. - * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields. +Tue Jun 25 09:55:47 1996 David Mosberger-Tang <davidm@AZStarNet.com> -1997-02-19 01:02 Ulrich Drepper <drepper@cygnus.com> + * catgets/gencat.c (write_out): Use %Zu to print variables of type + size_t. + * resolv/res_debug.c (__p_rr): Print size_t variable as %lu and + cast it to (unsigned long) to make it work both on 32 and 64 + bit architectures. - * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments. - Reported by Andreas Jaeger <aj@arthur.pfalz.de>. +Sat Jun 22 13:05:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/stub/msync.c (msync): Add missing third parameter. + * locale/Makefile (distribute): Add `programs/' prefix to all + files in that directory. -1997-02-19 00:29 Ulrich Drepper <drepper@cygnus.com> + * Makerules (distinfo-vars): Assign subdir directly so that `ifdef + subdir' works. - * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed - additional argument. + * MakeTAGS (sources, headers): Make them simply expanded variables + so that all-dist is expanded before it is changed. -1997-02-18 22:13 Ulrich Drepper <drepper@cygnus.com> +Tue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * 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>. + * Make-dist (dist): Don't depend on crypt tar file. Remove that rule. + * Makefile (subdirs): Remove crypt. + * crypt: Directory removed. It will be made an independent library + distribution. - * 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>. + * Makefile (distribute): Add rpm/{Makefile,teplate,rpmrc}. -1997-02-16 14:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * inet/getrpcent_r.c (DATABASE_NAME): New macro. - * Makerules ((common-objpfx)distinfo-$(subdir)): Depend on sysdep - makefiles which may change the distinfo variables. + * inet/getrpcbynumber.c (BUFLEN): New macro. -1997-02-16 14:03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * configure.in (--no-whole-archive check): Remove backslashes in cmd. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) - [$(subdir)=misc]: Add sys/quota.h. - (sysdep_headers) [$(subdir)=inet]: Add netinet/udp.h. + * Makefile (headers): Add libc-lock.h. + * sysdeps/stub/libc-lock.h: New file. -1997-02-17 13:12 aleph1@dfw.net + * inet/getrpcbynumber.c: Remove _r typo. - * sunrpc/clnt_simp.c (callrpc): Prevent buffer overflow by using - strncpy. + * elf/dl-load.c (_dl_map_object): Fix typo in last change. -1997-02-18 03:28 Ulrich Drepper <drepper@cygnus.com> + * nss/nss_files/files-parse.c (parse_list): Reset ELT for elements + after the first! - * stdio-common/bug10.c (main): Correct parameter. + * nss/nsswitch.c (__nss_database_lookup): If nsswitch.conf is missing + or doesn't mention DATABASE, use an internal default equivalent to + "DATABASE: compat [NOTFOUND=return] dns [NOTFOUND=return] files". + (nss_lookup_function): Call nss_new_service as needed. + (nss_parse_file): Don't bother calling nss_new_service here. -1997-02-17 02:51 Ulrich Drepper <drepper@cygnus.com> + * grp/fgetgrent.c (LINE_PARSER): Pass zero SWALLOW arg for fields. + * pwd/fgetpwent.c: Likewise. - * 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. + * malloc/malloc.h: Declare malloc_object_allocated_size, malloc_walk. + * malloc/Makefile (dist-routines): Add malloc-size, malloc-walk. + * malloc/malloc-size.c: New file. + * malloc/malloc-walk.c: New file. -1997-02-17 01:45 a sun <asun@zoology.washington.edu> - - 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. + * malloc/malloc-find.c (malloc_find_object_address): Return null if + PTR is outside the heap. - * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes. + * elf/dl-load.c (_dl_map_object): If the requested name matches the + soname of a loaded object, use that object. - * 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. +Mon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -1997-02-17 01:18 Ulrich Drepper <drepper@cygnus.com> - - * 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. - -1997-02-16 19:54 1997 Philip Blundell <Philip.Blundell@pobox.com> - - * 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/posix/getaddrinfo.c: Update from latest version by - Craig Metz and use reentrant getXXbyYY functions. - -1997-02-15 14:32 Andreas Jaeger <aj@arthur.pfalz.de> - - * argp/argp.h: Declare argp_program_version as const char. - * argp/argp-test.c: Likewise - - * 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. - - * locale/duplocale.c (__duplocale): Return result. - -1997-02-16 03:54 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport. - Reported by fabsoft@fabserver1.zarm.uni-bremen.de. - - * nss/nss.h: Remove declaration of __nss_shlib_revision. - * nss/nsswitch.c: Don't use NSS_SHLIB_VERSION macro. - -1997-02-16 03:48 Thorsten Kukuk <kukuk@weber.uni-paderborn.de> - - * 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-02-15 22:37 Andy Berkheimer <andy@tho.org> - - * resolv/gethnamaddr.c (gethostbyname2): Test for ':' in name before - trying to resolv name as numeric IPv6 address. - * nss/digits_dots.c: Likewise. - -1997-02-15 04:51 Ulrich Drepper <drepper@cygnus.com> - - * 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. - -1997-02-15 03:34 Ulrich Drepper <drepper@cygnus.com> - - * 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-02-15 02:41 Miles Bader <miles@gnu.ai.mit.edu> - - * argp/argp-help.c: Gettextize sources. - * argp/argp-parse.c: Likewise. - -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. - - * elf/dlerror.c: Change comment to align with guidelines. - * elf/dlopen.c: Likewise. - * elf/dlsym.c: Likewise. + * Makefile (subdirs): Add nss. - * 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. + * inet/Makefile (routines): Add getrpcent, getrpcbyname, + getrpcbynumber, getrpcent_r, getrpcbyname_r, getrpcbynumber_r. + * inet/getrpcbynumber_r.c: New file. + * inet/getrpcbynumber.c: New file. + * inet/getrpcbyname.c: New file. + * inet/getrpcbyname_r.c: New file. + * inet/getrpcent_r.c: New file. + * inet/getrpcent.c: New file. + * nss/rpc-lookup.c: New file. + * nss/nss_files/files-rpc.c: New file. + * nss/Makefile (routines): Add rpc-lookup. + (libnss_files-routines): Add files-rpc. + * sunrpc/Makefile (routines): Remove getrpcent. + * sunrpc/getrpcent.c: File removed. - * Makefile (subdirs): Add argp. + * nss/getXXent_r.c (REENTRANT_GETNAME): Clear NO_MORE when NIP is + non-null on entry. - * catgets/catgets.c (catopen): Little code improvement. + * Makeconfig (rpath-link): Add $(nssobjdir). + (nssobjdir): New variable. - * posix/execl.c: Remove restriction to 1024 arguments. - * posix/execle.c: Likewise. - * posix/execlp.c: Likewise. + * Makerules: Move shared library building before objects rules, so + versions are known before extra-lib.mk gets included. + * extra-lib.mk (lib-noranlib): Depend on the shared object too. - * 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/getpwuid.c: Rewritten using nss. * 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-02-13 11:44 Andreas Jaeger <aj@arthur.pfalz.de> - - * stdlib/qsort.c: Add prototype for _quicksort. + * pwd/getpwent.c: Likewise. + * grp/getgrnam.c: Likewise. + * grp/getgrgid.c: Likewise. + * grp/getgrent.c: Likewise. + * pwd/Makefile (routines): Add getpwent_r, getpwnam_r, getpwuid_r. + * pwd/getpwent_r.c: New file. + * pwd/getpwnam_r.c: New file. + * pwd/getpwuid_r.c: New file. + * grp/Makefile (routines): Add getgrent_r, getgrgid_r, getgrnam_r. + * grp/getgrnam_r.c: New file. + * grp/getgrgid_r.c: New file. + * grp/getgrent_r.c: New file. + * grp/Makefile (routines): Remove grpopen, grpread. + * pwd/Makefile (routines): Remove pwdopen, pwdread. + * grp/grpopen.c, grp/grpread.c, pwd/pwdopen.c, pwd/pwdread.c: Removed. + + * pwd/fgetpwent.c: Rewritten using files-parse.c. + * grp/fgetgrent.c: Likewise. - * stdlib/msort.c (qsort): Correct prototype for _quicksort. + * nss/Makefile (routines): Add grp-lookup and pwd-lookup. + * nss/pwd-lookup.c, nss/grp-lookup.c: New files. + * nss/nss_files/files-grp.c: New file. + * nss/nss_files/files-pwd.c: New file. - * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning - from dl-machine.h. + * nss/Makefile (subdir-dirs): New variable; use it in vpath. -1997-02-13 18:18 Marcus G. Daniels <marcus@sysc.pdx.edu> + * nss/nss_files/files-parse.c: New file. + * nss/nss_files/files-XXX.c: New file. + * nss/nss_files/files-hosts.c, nss/nss_files/files-proto.c, + nss/nss_files/files-service.c, nss/nss_files/files-network.c: + Rewritten using them. - * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file. - Allow user to overwrite it. + * nss/Makefile (libnss_files-routines): Remove files-host. + Add files-hosts, files-grp, files-pwd. -1997-02-13 17:55 Ulrich Drepper <drepper@cygnus.com> + * nss/nss_dns/dns-network.c: Don't include <pthread.h>. - * libio/_G_config.h: Make sure wint_t is also defined for old gcc - versions. Reported by Andreas Jaeger. +Mon Jun 24 22:39:12 1996 Richard Henderson <rth@tamu.edu> -1997-02-13 11:44 Andreas Jaeger <aj@arthur.pfalz.de> + * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): + A .plt entry now loads the .rela.plt offset directly rather + than making us calculate it. - * time/tzfile.c (__tzfile_read): Change comment to follow - change of 1997-02-12. +Sun Jun 23 15:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -1997-02-13 02:32 Ulrich Drepper <drepper@cygnus.com> + * time/Makefile ($(installed-localtime-file) rule): Do + $(make-target-directory) first. - * time/time.h (__nanosleep): Define only when struct timespec is - also available. - Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>. + * resolv.h: Fix wrapper for resolv/resolv.h. -1997-02-12 21:34 a sun <asun@zoology.washington.edu> + * configure.in (ld --no-whole-archive check): Use AC_TRY_COMMAND. + Compile dummy file and pass -nostdlib -nostartfiles so as not to + require installed libraries. - * sysdeps/unix/sysv/linux/netinet/udp.h: New file. - * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h. + * shlib-versions (*-*-*): Set libresolv=2, libnss_files=1, + libnss_dns=1. -1997-02-12 21:16 Ulrich Drepper <drepper@cygnus.com> +Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com> - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch - of 1997-02-09 in resolv/gethnamaddr.c. + * resolv/Makefile (distribute): Remove res_hconf.h; add mapv4v6addr.h + and mapv4v6hostent.h. + (routines): Move res* and gethnamaddr into libresolv-routines. + (libresolv-routines): New variable, put them there. + (extra-libs): New variable, list libresolv. + (CPPFLAGS): Add -D for get*by* to res_get*by*. -1997-02-11 18:52 H.J. Lu <hjl@gnu.ai.mit.edu> + * resolv/netdb.h (_PATH_NSSWITCH_CONF): New macro. - * libio/_G_config.h (_G_wint_t): New. + * inet/herrno.c: New file. -1997-02-09 11:31 H.J. Lu <hjl@gnu.ai.mit.edu> + * resolv/res_init.c: Remove res_hconf calls. - * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf) - to sizeof (buf.buf) while calling res_search (). + * nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c, + nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c, + nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c, + nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c, + nss/service-lookup.c: New files. Implementation of name + service switch, following the approach in Solaris. + Interface specification and general structure inspired by Peter + Eriksson <pen@lysator.liu.se>. + * nss/nss_files/files-host.c, nss/nss_files/files-network.c, + nss/nss_files/files-proto.c, nss/nss_files/files-service.c: + Implementation of libnss_files.so module for file based databases + in NSS service. + * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation + if libnss_dns.so module for DNS name lookup in NSS service. -1997-02-03 20:01 H.J. Lu <hjl@gnu.ai.mit.edu> + * inet/getproto.c, inet/getprtent.c, inet/getprtname.c, + inet/getservent.c, inet/getsrvbynm.c, inet/getsrvbypt.c: + Changed to serve as interface to NSS. + * inet/gethstbyad.c, inet/gethstbyad_r.c, inet/gethstbynm.c, + inet/gethstbynm2.c, inet/gethstbynm2_r.c, inet/gethstbynm_r.c, + inet/gethstent.c, inet/gethstent_r.c, inet/getnetbynm.c, + inet/getnetbynm_r.c, inet/getnetbypt.c, inet/getnetbypt_r.c, + inet/getnetent.c, inet/getnetent_r.c, inet/getproto_r.c, + inet/getprtent_r.c, inet/getprtname_r.c, inet/getservent_r.c, + inet/getsrvbynm_r.c, inet/getsrvbypt_r.c: New files. Implement + interfaces to NSS, including reentrant functions. - * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat, - val to keydat, stat to status. + * resolv/getnetbyaddr.c, resolv/getnetbyname.c, resolv/getnetent.c, + resolv/sethostent.c: Removed: Obsoleted by NSS. -1997-02-12 20:45 Andreas Jaeger <jaeger@informatik.uni-kl.de> + * resolv/mapv4v6addr.h, resolv/mapv4v6hostent.h: Extracted from + gethnamaddr.c. These private functions are now used in more + than one file. - * time/tzfile.c (__tzfile_read): Fix problem with SUID programs. + * resolv/inet_pton.c, resolv/gethnamaddr.c: Updated to bind-4.9.4-T5B. -1997-02-12 19:55 Ulrich Drepper <drepper@cygnus.com> +Sat Jun 22 16:49:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4 - by Keith Bostic. + * rpm/Makefile ($(config)): Make sure the word list in the for + loop is syntactically non-empty. -1997-02-11 14:49 Andreas Jaeger <jaeger@informatik.uni-kl.de> +Sat Jun 22 21:29:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * stdlib/atoll.c: Undefine atoll, not atol. + * Version 1.92 test release. -1997-02-08 09:36 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com> - * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove - unused arguments of shell script. + * sysdeps/unix/sysv/linux/syscalls.list (ksyslog_ctl): Rename + to klogctl to match prototype in sys/klog.h. - * 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. + * sysdeps/posix/libc_fatal.c: Add include of <string.h>. + * sysdeps/unix/sysv/linux/gethostid.c: Ditto. -1997-02-10 17:45 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal): + Remove. Code is now part of __getcwd again. The old function + never really worked for anything but THISDIR==".". - * string/argz-ctsep.c: Initialize *LEN when successful. + * sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants + only when building ELF version of library. -1997-02-09 04:35 Ulrich Drepper <drepper@cygnus.com> + * libio/libioP.h (_IO_vscanf): Add prototype. - * stdio-common/_itoa.h: Update copyright. + * posix/unistd.h (syscall): Change sysno arg and return value + to int long. -1997-02-09 02:59 Ulrich Drepper <drepper@cygnus.com> +Sat Jun 22 10:44:09 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * version.h (VERSION): Bump to 2.0.2. + * version.h (VERSION): Updated to 1.92. - * 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. + * misc/Makefile (headers): Add ar.h. + * misc/ar.h: New file. - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize - AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize. + * config.make.in (BUILD_CC): New variable. + * configure.in: Check for BUILD_CC if $host != $build. - * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES - encryption is wanted. + * posix/glob.c: Include <alloca.h> only [HAVE_ALLOCA_H], not [sparc]. - * libio/vsnprintf.c: If MAXLEN is 0 return 0. - * stdio/vsnprintf.c: Likewise. - Reported by Philip Blundell <pjb27@cam.ac.uk>. + * Makerules [! objects] (subdir_lib): Depend on the stamp$o files. + (stamp$o files): New targets, create them empty, no deps. - * libio/vsnprintf.c: If MAXLEN is 0 return 0. - * stdio/vsnprintf.c: Likewise. - Reported by Philip Blundell <pjb27@cam.ac.uk>. + * rpm/template (Source): New field. + (%prep, %build, %install): New sections. + (%files): Add %doc FAQ NEWS NOTES README. + * rpm/rpmrc (builddir): Removed. -1997-02-07 17:43 Ulrich Drepper <drepper@cygnus.com> +Fri Jun 21 00:27:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * 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>. + * elf/dl-load.c (_dl_map_object_from_fd): Fix mapping and l_phdr + guessing to not assume p_vaddr of first load cmd is zero. -1997-02-07 17:41 Philip Blundell <pjb27@cam.ac.uk> + * sysdeps/sparc/elf/start.S: New file. + * sysdeps/sparc/dl-machine.h: New file. - * sysdeps/unix/sysv/linux/socketbits.h: Fix typo. + * posix/fnmatch.c (fnmatch): Fix \*[*?]+ case to increment name ptr + only for ?s, not for *s. Fix from Chet Ramey. -1997-02-06 13:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + Fixes thanks to Raja R Harinath <harinath@cs.umn.edu>: + * sysdeps/unix/sysv/utmpbits.h: Define _HAVE_UT_{TYPE,ID,TV,HOST}. + Use __{BEGIN,END}_DECLS. + (_PATH_WTMP, _PATH_UTMP, _PATH_LASTLOG): New macros. + * login/utmp.h (UTMP_FILE, UTMP_FILENAME, WTMP_FILE, WTMP_FILENAME): + New macros, moved here from sysdeps/gnu/utmpbits.h. + * sysdeps/generic/utmpbits.h (_HAVE_UT_HOST): Define it. + * sysdeps/gnu/utmpbits.h (_HAVE_UT_HOST): Likewise. + * login/logout.c: Use ut_host only #if _HAVE_UT_HOST. + Use sizeof instead of UT_*SIZE. + * login/logwtmp.c: Likewise. - * rellns-sh: No need to check for existance of first parameter. + * misc/tsearch.c (tdelete): Define as weak alias to __tdelete. -1997-02-06 13:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * version.c (banner): Add trailing newline. - * rellns-sh: No need to check for existance of first parameter. + * login/utmp.h: Declare login_tty. -1997-02-06 14:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Thu Jun 20 21:19:07 1996 Richard Henderson <rth@tamu.edu> - * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks. Reported - by David Holland <dholland@eecs.harvard.edu>. + * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): + Changed to a 12-byte PLT entry to remove dependency on $gp. + Take a new got_addr parameter. + (elf_machine_rela): Pass the new parameter. + (ELF_MACHINE_RUNTIME_TRAMPOLINE): Do arithmetic for 12-byte PLT. + (RTLD_START): Do normal linkage with program entry. -1997-02-06 14:38 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Thu Jun 20 12:18:21 1996 Miles Bader <miles@gnu.ai.mit.edu> - * 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. + * sysdeps/mach/hurd/brk.c (_hurd_brk): Initialize to 0. - * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids - array. + * hurd/getuids.c (getuids): New weak link to __getuids. - * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t - and gid_t. +Wed Jun 19 10:21:24 1996 Miles Bader <miles@gnu.ai.mit.edu> - * sunrpc/auth_unix.c (authunix_validate): Fix type of second + * hurd/hurdlookup.c (__hurd_file_name_lookup_retry, + __hurd_file_name_lookup, __hurd_file_name_split): Add & use LOOKUP argument. + Rename nested function lookup to lookup_op. + (__file_name_lookup, __file_name_lookup_under): + Pass 0 for lookup arg to __hurd_file_name_lookup. + (__file_name_split): Likewise for __hurd_file_name_split. + * hurd/path-lookup.c (hurd_file_name_path_lookup): Add LOOKUP argument. + Rename nested function lookup to scan_lookup. + (file_name_path_lookup): Pass 0 for lookup arg to + hurd_file_name_path_lookup. + * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup, + __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry: + __hurd_file_name_split, hurd_file_name_split, hurd_file_name_lookup): + Add LOOKUP argument. + * sysdeps/mach/hurd/access.c (__access): Pass 0 lookup arg to + __hurd_file_name_lookup. + +Mon Jun 17 19:09:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * Make-dist (+sysdeps): Move wildcard inside loop to avoid consing + up a huge list just to discard most of it. + + * configure.in (sysnames): Avoid fgrep by using the case shell + builtin. + + * Makeconfig (config.status): Fix dependency on Implies files. + +Wed Jun 19 01:27:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + + * math/Makefile (distribute): Add ieee-math.c. + +Wed Jun 19 03:24:58 1996 Ulrich Drepper <drepper@cygnus.com> + + * locale/codeset_name.c: New file. Provide function for information + about currently used character set. + * locale/Makefile (routines): Add codeset_name. + * locale/langinfo.h (_NL_CTYPE_CODESET_NAME): Add new constant. + * locale/localeinfo.h: Change magic number because of incompatible + change. + * locale/C-ctype.c: Add initializer for new field `codeset_name'. + * locale/programs/ld-ctype.c: Implement handling of `codeset_name'. -1997-02-06 14:29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf/Makefile (extra-objs): Don't zap previous value. - * Makefile (before-compile): Likewise. Don't add gnu/lib-names.h - twice. - -1997-02-06 14:19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for - braindamage (sigh!). - -1997-02-06 17:10 Jim Meyering <meyering@asic.sc.ti.com> - - * manual/memory.texi: Correct `copystring' example for obstacks. - -1997-02-06 14:10 Ulrich Drepper <drepper@cygnus.com> - - * Makeconfig: Don't use [:lower:] and [:upper:] in tr since old - GNU tr don't grok it. - -1997-02-03 21:13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr): - Don't use GNU C extensions. - (CMSG_DATA): Use portable definition. - -1997-02-05 05:58 Ulrich Drepper <drepper@cygnus.com> - - * 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. - - * 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. - -1997-02-05 05:08 Ulrich Drepper <drepper@cygnus.com> - - * stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define - as const. - -1997-02-04 23:57 Fila Kolodny <fila@ibi.com> - - * sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before - including <stddef.h>. - -1997-02-03 20:01 H.J. Lu <hjl@gnu.ai.mit.edu> - - * time/Makefile (tzbases, tzlinks): New. - (tzfiles): Changed to $(tzbases) $(tzlinks). - ($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases). - -1997-02-02 12:13 H.J. Lu <hjl@gnu.ai.mit.edu> - - * Makefile (install): Ignore error from ldconfig. - - * time/zic.c (mkdirs): Double check the error return of mkdir (). - -1997-02-04 22:01 Ulrich Drepper <drepper@cygnus.com> - - * stdio-common/vfprintf.c: Prepare to use __va_copy for architectures - like PPC where va_list is no integral type. - -1997-02-04 15:27 Roma Ekzhanov <ekzhanov@paragraph.com> - - * posix/getopt.c (exchange): Don't allocate nonoption_flags array - if nonoption_flags_len == -1. - -1997-02-04 02:08 Ulrich Drepper <drepper@cygnus.com> - - * Version 2.0.1 net release. - -1997-02-03 23:34 Stephen L Moshier <moshier@world.std.com> - - * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign. - -1997-02-03 19:59 Ulrich Drepper <drepper@cygnus.com> - - * stdlib/getsubopt.c: Don't return `=' for suboption which has - a parameter. Reported by Gary L. Hennigan <glhenni@cs.sandia.gov>. - -1997-02-03 18:20 Thorsten Kukuk <kukuk@weber.uni-paderborn.de> - - * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of - values as in yp.x and yp.h. - -1997-02-03 16:58 Ulrich Drepper <drepper@cygnus.com> - - * 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. - -1997-02-01 18:28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple - inclusion. - -1997-02-02 14:56 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc - fixes. - -1997-02-02 11:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * MakeTAGS (sysdep-sources, sysdep-headers): New variables. - (all-sources, all-headers): Use them instead of $(sources) and - $(headers) when searching in sysdep directories. - -1997-02-02 11:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Makerules (REAL_MAKE_VERSION): Use internal make function - instead of shelling out. - -1997-02-02 11:47 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * time/Makefile (install-test-data): Remove mkdir command, zic can - handle that gracefully. - -1997-02-03 14:07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime - somehow. - -1997-02-02 07:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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-02-03 02:33 Ulrich Drepper <drepper@cygnus.com> - - * 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. - - * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected - place. - - * 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-02-02 12:13 H.J. Lu <hjl@gnu.ai.mit.edu> - - * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as - action. - - * Makefile (install): Pass installation directories as arguments - to ldconfig. - -1997-02-02 23:15 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. - -1997-02-02 23:00 Marcus G. Daniels <marcus@tdb.com> - - * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by - #ifndef NO_THREADS. - (mallinfo): Likewise. - - * malloc/malloc.c (__morecore): Make external since it is used in - programs. - -1997-02-02 15:10 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field - unsigned. - -1997-02-01 23:36 Richard Henderson <rth@tamu.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. - -1997-01-31 15:05 John Bowman <bowman@ipp-garching.mpg.de> - - * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes - using __ prefix. Add prototype for log1p. - -1997-02-02 00:39 Ulrich Drepper <drepper@cygnus.com> - - * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE. - -1997-02-01 17:04 Philip Blundell <pjb27@cam.ac.uk> - - * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition. - -1997-02-01 17:00 Ulrich Drepper <drepper@cygnus.com> - - * 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-02-01 12:34 Ulrich Drepper <drepper@cygnus.com> - - * time/strftime.c: Define _strftime_copytm without protecting arguments - which breaks the definition. - -1997-02-01 03:31 Thorsten Kukuk <kukuk@weber.uni-paderborn.de> - - * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after - definition of type for element. - -1997-02-01 03:28 Philip Blundell <pjb27@cam.ac.uk> - - * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_* - constants. - -1997-02-01 03:09 H.J. Lu <hjl@lucon.org> - - * Makefile: Pass PARALLELMFLAGS to sub-makes. - * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile. - -1997-01-31 Paul Eggert <eggert@twinsun.com> - - * 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. - -1997-02-29 20:08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp - file to avoid unnecessary recompilation. - -1997-01-29 19:33 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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. - -1997-01-30 18:29 Richard Henderson <richard@atheist.tamu.edu> - - * 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>. - - * sysdeps/alpha/dl-machine.h: Revert check for broken gas. By default - we assume it works. - -1997-01-30 03:24 Ulrich Drepper <drepper@cygnus.com> - - * 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>. - - * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51. - Patch by HJ Lu. - - * 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. - - * 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-01-30 00:27 Fila Kolodny <fila@ibi.com> - - * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h - only if not cross compiling. + * locale/programs/locfile.c: Don't depend in pre-2.0 Linux specific + name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'. -1997-01-29 16:16 Fila Kolodny <fila@ibi.com> + * locale/setlocale.c (setlocale): Initialize local variables to + prevent warnings. - * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of - NULL. - * sysdeps/posix/sigwait.c: Likewise. +Thu Jun 13 17:25:11 1996 David Mosberger-Tang <davidm@azstarnet.com> -1997-01-28 23:42 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/generic/memcmp.c: Add prototype decls for internal fns. - * Makeconfig ($(common-objpfx)config.make): Depend on - $(..)config.make.in. + * locale/programs/locale.c: Include string.h. -1997-01-29 04:30 Ulrich Drepper <drepper@cygnus.com> + * sunrpc/xdr_stdio.c (xdrstdio_getlong), sunrpc/xdr_rec.c + (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure + appropriate sign-extension is performed on machines with + sizeof(long) > 4. - * sunrpc/Makefile: Don't generate headers derived from .x files when - crosscompiling. + * sunrpc/xdr.c (xdr_int, xdr_u_int): If sizeof(long)==8 and + sizeof(int)<sizeof(long), we need to go through a temporary + variable. -1997-01-28 10:51 Richard Henderson <rth@tamu.edu> + * locale/programs/ld-numeric.c: Include <alloca.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. + * libio/stdio.h (__libc_fatal): Add prototype. - * 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. + * libio/cleanup.c: Use __P() to declare prototype when __STDC__ is + in efect. - * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp. + * libio/iopopen.c (read_or_write, parent_end, child_end): Declare + volatile to avoid "might get clobbered by longjmp" warning. -1997-01-28 12:16 Andreas Jaeger <aj@arthur.pfalz.de> + * features.h (__KERNEL_STRICT_NAMES): Define __KERNEL_STRICT_NAMES + unless _LOOSE_KERNEL_NAMES is in effect (which, with high + probability is a sure loser). + * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Remove. - * elf/Makefile (CFLAGS-dl-load.c): Use += to not - override the definition. + * sysdeps/unix/bsd/osf/alpha/start.S (errno): Removed. + * sysdeps/unix/sysv/linux/alpha/start.S: Ditto. -1997-01-28 20:13 Fila Kolodny <fila@ibi.com> + * misc/paths.h (_PATH_MAN): Change from /usr/share/man to /usr/man + to be Linux FSSTND compliant. - * config.make.in (malloc): Remove. +Mon Jun 10 17:50:31 1996 David Mosberger-Tang <davidm@azstarnet.com> -1997-01-28 04:23 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/alpha/pipe.S: Use PSEUDO. - * version.h (VERSION): Bump to 2.0.1. + * sysdeps/unix/sysv/linux/alpha/sysdep.S, + sysdeps/unix/sysv/linux/alpha/brk.S, + sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S, + sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S, + sysdeps/unix/sysv/linux/alpha/llseek.S, + sysdeps/unix/sysv/linux/alpha/sigsuspend.S, + sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to + __syscall_error to avoid intruding application name space. - * 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. + * sysdeps/unix/sysv/linux/alpha/sysdep.h: Rename __NR_get?id + to SYS_get?id so that syscall stubs in sysdeps/unix define + these syscalls in terms of getxpid/getxuid/getxgid. -1997-01-28 02:38 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/_exit.S, sysdeps/unix/getegid.S, + sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S, + sysdeps/unix/execve.S, sysdeps/unix/fork.S, + sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END. - * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new - stack. + * sysdeps/unix/make-syscalls.sh, sysdeps/unix/sysdep.h + (PSEUDO_END): Rename END() to PSEUDO_END(). -1997-01-27 17:34 Thorsten Kukuk <kukuk@weber.uni-paderborn.de> + * sysdeps/unix/alpha/sysdep.h: Move error-handling code in PSEUDO + to PSEUDO_END to improve branch-prediction. Include .frame + directive to make syscalls debugabble. + (PSEUDO_END): New macro. - * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so - that it works with yp.h. + * sysdeps/unix/alpha/sysdep.h, sysdeps/alpha/bb_init_func.S, + sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since + latter is illegal under DEC Unix. -1997-01-27 13:28 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/alpha/sysdep.S: Renamed from + sysdeps/unix/sysv/linux/alpha/sysdep.S. This file works for OSF/1 + as well. + * sysdeps/unix/bsd/osf/alpha/sysdep.S: Remove (note that the + EWOULDBLOCK -> EAGAIN mapping was unnecessary since + EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha). - * 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/alpha/divrem.h: Use retaddr instead of ra as the return + address register in the .frame directive. - * mcheck.h: Correct typo. Use malloc/ instead of new-malloc/. + * sysdeps/alpha/copysign.c: Remove. - * 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. + * sunrpc/rpc/types.h: Include <sys/param.h> and <netinet/in.h> to + avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN. -1997-01-14 14:20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * errno.h: Move __END_DECLS to correct place to make file + compilable under c++. - * malloc/malloc.c (weak_variable): Define. - (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook, - __memalign_hook): Make them weak definitions. + * dirent/dirent.h: Document _DIRENT_HAVE_D_OFF macro. Define + d_ino only if <direntry.h> hasn't defined d_fileno. -1997-01-26 11:35 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * configure.in (HAVE_ASM_WEAKEXT_DIRECTIVE): Reverse order of + arguments to weakext to make .weakext detection work on ECOFF systems. - * 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. + * FAQ: Add Linux/Alpha to list of supported platforms. Mention + that _validuser() has been replaced by __ivaliduser(). -1997-01-25 18:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Thu Jun 6 21:39:38 1996 David Mosberger-Tang <davidm@azstarnet.com> - * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple - inclusion. + * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Declare cmd + as unsigned long, not as int (to avoid incorrect int->long + promotion). + -See ChangeLog.6 for earlier changes. +See ChangeLog.5 for earlier changes. |