diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-11-18 02:50:07 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-11-18 02:50:07 +0000 |
commit | 6973fc01278d6c8a5f309738d641a68228efe5ed (patch) | |
tree | 8a55528a374d3d945d203cd92570bcb06978e09f | |
parent | fe0ec73edb48eff3785f29ddbac75cae5f8b361b (diff) | |
download | glibc-6973fc01278d6c8a5f309738d641a68228efe5ed.tar.gz glibc-6973fc01278d6c8a5f309738d641a68228efe5ed.tar.xz glibc-6973fc01278d6c8a5f309738d641a68228efe5ed.zip |
Update. cvs/libc-ud-971118 cvs/libc-ud-971117
1997-11-18 02:31 Ulrich Drepper <drepper@cygnus.com> * iconv/Makefile: New file. * iconv/gconv.c: New file. * iconv/gconv.h: New file. * iconv/gconv_builtin.c: New file. * iconv/gconv_builtin.h: New file. * iconv/gconv_close.c: New file. * iconv/gconv_conf.c: New file. * iconv/gconv_db.c: New file. * iconv/gconv_dl.c: New file. * iconv/gconv_open.c: New file. * iconv/gconv_simple.c: New file. * iconv/iconv.c: New file. * iconv/iconv.h: New file. * iconv/iconv_close.c: New file. * iconv/iconv_open.c: New file. * include/gconv.h: New file. * Makeconfig: Define gconvdir. * Makefile (subdirs): Add iconv. * string/bits/string2.h: Add optimization for strtok_r. * sysdeps/generic/_G_config.h: Define __need_NULL to get definition for NULL. Reported by H.J. Lu <hjl@gnu.ai.mit.edu>. * configure.in: Correct test for bash2. * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts. (CFLAGS-locfile.c): Likewise. Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>. * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for non-existing entry if the table is full. * posix/regex.h: Pretty print. * stdio-common/printf_fp.c: Don't define NDEBUG if already defined. * sysdeps/posix/ctermid.c: Simplify a bit. * sysdeps/unix/sysv/linux/net/if.h: Pretty print. 1997-11-17 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/unix/sysv/linux/sys/quota.h: Add include for <sys/types.h> instead of <asm/types.h>. 1997-11-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * math/libm-test.c (asin_test): Add epsilon for asin (0.5). 1997-11-16 17:09 H.J. Lu <hjl@gnu.ai.mit.edu> * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen, fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0. (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1. (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose, fclose): Added to GLIBC_2.1. * libio/Makefile (routines, shared-only-routines): Add oldiofclose. Remove oldfreopen. * libio/freopen.c (freopen): When PIC is defined, call _IO_old_freopen () for old stdio. * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose. (_IO_fclose, fclose): Use _IO_new_fclose as default version for GLIBC_2.1. * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it instead of _IO_file_close_it. * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed to _IO_2_1_stdxxx_. (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC * libio/libioP.h (_IO_old_do_flush): New. * libio/oldfileops.c (_IO_old_file_close_it, _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync): Call _IO_old_do_flush () instead of _IO_do_flush (). (_IO_old_file_xsputn): Call _IO_old_do_write () instead of _IO_do_write (). * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init () instead of _IO_file_init (). Bind old symbols to version GLIBC_2.0. * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version. (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to _IO_stdxxx_. (_IO_check_libio): New function in .init. * libio/oldiofclose.c: New file. * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_, _IO_new_stderr_): Changed to _IO_2_1_stdxxx_. (DEF_STDFILE): Don't use default_symbol_version. * libio/stdio.c (stdin, stdout, stderr): Set to _IO_2_1_stdxxx_._ (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of stdxxx. * csu/Makefile (distribute): Add init.c. (extra-objs): Add init.o for ELF. (start-installed-name): Add $(objpfx)init.o. * csu/init.c: New file. 1997-11-12 08:02 H.J. Lu <hjl@gnu.ai.mit.edu> * elf/dl-lookup.c (do_lookup): Don't use the hidden base definition as the default. 1997-08-27 Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de> * erand48_r.c (__erand48_r): Implement for 32 bit short int. 1997-11-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2 (PR 351). 1997-11-16 21:01 Philip Blundell <Philip.Blundell@pobox.com> * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not to preserve condition codes on function call. 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l. 1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de> * math/libm-test.c (asin_test): Add epsilon for float. (tan_test): Add epsilon for float. (log1p_test): Add epsilon for float. (inverse_functions): Add epsilons. * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add net/if_packet.h. * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h. 1997-11-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * md5-crypt/Makefile (extra-objs): Make recursively expanded variable, since $(object-suffixes) is not defined yet. 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * db2/Makefile (distribute): db185/db185_int.src -> db185/db185_int.h. 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * misc/tst-fdset.c: Don't require the value of FD_ISSET to be exactly one. 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level * sysdeps/generic/e_acosl.c: Likewise. * sysdeps/generic/e_asinl.c: Likewise. * sysdeps/generic/e_atan2l.c: Likewise. * sysdeps/generic/e_expl.c: Likewise. * sysdeps/generic/e_fmodl.c: Likewise. * sysdeps/generic/e_j0l.c: Likewise. * sysdeps/generic/e_j1l.c: Likewise. * sysdeps/generic/e_jnl.c: Likewise. * sysdeps/generic/e_lgammal_r.c: Likewise. * sysdeps/generic/e_log10l.c: Likewise. * sysdeps/generic/e_logl.c: Likewise. * sysdeps/generic/e_powl.c: Likewise. * sysdeps/generic/e_sqrtl.c: Likewise. * sysdeps/generic/e_exp2l.c: Likewise. 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * Make-dist (+sysdep-names): Remove extra paren. * Makefile (distribute): Add stub-tag.h. * elf/Makefile (distribute): Add atomicity.h. * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h. * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [$(subdir)=socket]: Add net/if_packet.h. * sysdeps/alpha/Dist: Remove setjmp_aux.c. * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c, net/if_packet.h, scsi/sg.h. 1997-11-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * Makefile (install): Quote $(CC) expansion. 1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of working /proc cwd and no restrictions on path length. Following some ideas from Andi Kleen <ak@muc.de> (PR 350). 1997-11-14 19:14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> * nis/nss_compat/compat-grp.c: Remove buggy assert call. 1997-11-14 22:23 Ulrich Drepper <drepper@cygnus.com> * sysdeps/libm-i387/s_fdim.S: New file. * sysdeps/libm-i387/s_fdimf.S: New file. * sysdeps/libm-i387/s_fdiml.S: New file. * sysdeps/libm-i387/i686/s_fdim.S: New file. * sysdeps/libm-i387/i686/s_fdimf.S: New file. * sysdeps/libm-i387/i686/s_fdiml.S: New file. 1997-11-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a pointer to unsigned char. 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function. * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function. * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function. 1997-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for ilogb(0/NaN). * sysdeps/libm-ieee754/s_ilogbl.c: Likewise. * sysdeps/libm-ieee754/s_ilogb.c: Likewise. 1997-11-14 05:44 Ulrich Drepper <drepper@cygnus.com> * sysdeps/libm-i387/s_fmin.S: New file. * sysdeps/libm-i387/s_fminf.S: New file. * sysdeps/libm-i387/s_fminl.S: New file. * sysdeps/libm-i387/s_fmax.S: New file. * sysdeps/libm-i387/s_fmaxf.S: New file. * sysdeps/libm-i387/s_fmaxl.S: New file. * sysdeps/libm-i387/i686/s_fmin.S: New file. * sysdeps/libm-i387/i686/s_fminf.S: New file. * sysdeps/libm-i387/i686/s_fminl.S: New file. * sysdeps/libm-i387/i686/s_fmax.S: New file. * sysdeps/libm-i387/i686/s_fmaxf.S: New file. * sysdeps/libm-i387/i686/s_fmaxl.S: New file. 1997-11-14 03:06 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias. * sysdeps/unix/sysv/linux/send.S: Likewise. * sysdeps/unix/sysv/linux/recv.S: Likewise. * sysdeps/unix/sysv/linux/connect.S: Likewise. Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>. See ChangeLog.7 for earlier changes.
116 files changed, 18208 insertions, 14750 deletions
diff --git a/ChangeLog b/ChangeLog index 3d8704f99c..f373576dc7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,14572 +1,270 @@ -1997-11-13 01:07 Ulrich Drepper <drepper@cygnus.com> - - * 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. - - * math/complex.h (I): Define using _Complex_U not _Imaginary_I. - - * math/libm-test.c: Add tests for fma. - - * math/math.h: Describe DECIMAL_DIG macro. Pretty print. - - * 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. - - * sysdeps/ieee754/bits/nan.h: Define NAN as of type float. - * sysdeps/m68k/bits/nan.h. Likewise. Remove NANF and NANL. - -1997-11-12 17:50 Ulrich Drepper <drepper@cygnus.com> - - * sunrpc/xcrypt.c: Don't process #ident preprocessor instruction. - Reported by Philip Blundell <pb@nexus.co.uk>. - - * string/strndup.c: Use K&R like definition. - - * 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. - -1997-11-12 15:31 Philip Blundell <pb@nexus.co.uk> - - * sysdeps/unix/sysv/linux/arm/sysdep.h (SYS_ify): Don't add - SWI_BASE in twice. - - * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter): - Use correct name to access PC. - - * sysdeps/unix/arm/sysdep.S: Include <bits/errno.h> not <errnos.h>. - - * sysdeps/generic/bits/types.h: Add __ino64_t and __off64_t. - * sysdeps/generic/bits/stat.h: Add struct stat64. - -1997-11-12 16:08 Ulrich Drepper <drepper@cygnus.com> - - * intl/loadmsgcat.c [_LIBC] (fstat): Don't define as __fstat since - now we have a definition as _fxstat. - * libio/fileops.c: Likewise. - * libio/oldfileops.c: Likewise. - Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>. - -1997-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/wordsize-32/inttypes.h (SIG_ATOMIC_MAX): Correct value. - * sysdeps/wordsize-64/inttypes.h (SIG_ATOMIC_MAX): Likewise. - -1997-11-11 Paul Eggert <eggert@twinsun.com> - - Add overflow checking for 64-bit time_t and 32-bit int. - - * time/time.h (__offtime): Now returns int. - - * time/offtime.c (__offtime): Return nonzero if successful; - check for tm_year overflow. - (DIV): New macro. - (LEAPS_THRU_END_OF): Handle negative years correctly. - - * time/tzset.c (__tz_convert): Return NULL if offtime cannot convert. - - * 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. - - * manual/time.texi: Document the fact that localtime returns 0 - if the time can't be represented. - -1997-11-12 06:03 Ulrich Drepper <drepper@cygnus.com> - - * time/strftime.c (memset_space, memset_zero): Use MEMPCPY, not - mempcpy. Patch by Ken'ichi Handa <handa@etl.go.jp>. - - * manual/time.texi: Document %F and %f format for strftime. - - * manual/arith.texi: Document copysign, nextafter and nan. - -1997-11-06 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * test-installation.pl: New file. Tests for some installation - problems. - -1997-11-11 21:30 Ulrich Drepper <drepper@cygnus.com> - - * 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. - - * math/complex.h: Don't define _Imaginary_I, but instead _Complex_I. - gcc does no yet know the `imaginary' keyword. - - * math/test-math.c: Add little test for know gcc bug. - - * math/tgmath.h: Make complex versions of log10() only available - if __USE_GNU. - - * stdlib/test-canon.c: Fix typo. - - * sysdeps/generic/setenv.c: Avoid compilation warnings. - Reported by Jim Meyering. - - * sysdeps/generic/bits/errno.h: EILSEQ is an ISO C error number. - * sysdeps/mach/hurd/bits/errno.h: Likewise. - * sysdeps/standalone/bits/errno.h: Likewise. - * sysdeps/unix/sysv/linux/bits/errno.h: Likewise. - - * sysdeps/i386/i586/memcpy.S: New file. - * sysdeps/i386/i586/mempcpy.S: New file. - - * sysdeps/i386/i586/memset.S: Fix typo. - - * sysdeps/posix/getcwd.c: Define HAVE_MEMPCPY for _LIBC. Add casts. - - * sysdeps/posix/system.c: Add comment to explain code. - - * 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. - - * wcsmbs/wchar.h: Define WCHAR_{MIN,MAX} if not already defined. - Declare __wcsto{l,ul,ll,ull}_internal only if not already done. - - * 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. - - * time/mktime.c: Little comment correction. - -1997-11-10 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/libm-ieee754/s_sincosl.c: Fix typo. - - * sysdeps/libm-ieee754/s_tanl.c: Fix typo. - - * sysdeps/libm-ieee754/s_floorl.c: Correct typos. - - * sysdeps/libm-ieee754/e_remainderl.c: Replace - EXTRACT_LDOUBLE_WORDS by GET_LDOUBLE_WORDS. - - * sysdeps/libm-ieee754/e_atan2l.c: Replace EXTRACT_LDOUBLE_WORDS - by GET_LDOUBLE_WORDS. - - * sysdeps/libm-ieee754/s_scalbnl.c: Replace ";" by "," for correct - variable declaration. - * sysdeps/libm-ieee754/s_scalblnl.c: Likewise. - - * sysdeps/libm-ieee754/s_lrint.c (__lrint): Correct function. - - * math/libm-test.c (sqrt_test): Add test for sqrt (0.25). - (asin_test): Add more test. - -1997-11-10 23:34 Ulrich Drepper <drepper@cygnus.com> - - * 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. - -1997-11-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf/dl-lookup.c (do_lookup): Don't accept the base version if we - require a specific one. - - * libio/oldfreopen.c: Bind old symbols to version GLIBC_2.0. - * libio/oldiofopen.c: Likewise. - * libio/oldstdfiles.c: Likewise. - * libc.map: Export them. - -1997-11-10 07:40 H.J. Lu <hjl@gnu.ai.mit.edu> - - * stdlib/exit.c (exit): Handle recursive calls to exit (). - -1997-11-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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. - - * 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. - - * 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. - -1997-11-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * manual/arith.texi: Misc doc fixes. - * manual/ctype.texi: Likewise. - * manual/pattern.texi: Likewise. - * manual/terminal.texi: Likewise. - -1997-11-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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. - -1997-11-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) - [$(subdir)=misc]: Add sys/prctl.h. - * sysdeps/unix/sysv/linux/Dist: Distribute it. - -1997-11-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * io/ftwtest-sh: Don't use the unknown which command, instead try - pwd as /bin/pwd and /usr/bin/pwd. - -1997-11-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * manual/maint.texi (Tools for Installation): Don't recommend - broken version 3.76.1 of make. - (Porting): Fix wording. - -1997-11-06 06:13 H.J. Lu <hjl@gnu.ai.mit.edu> - - * config.make.in (build-pic-default): New, defined with - pic_default. - - * configure.in (pic_default): New, set to yes if PIC is - default. - - * Makeconfig (CPPFLAGS-.o, CPPFLAGS-.op, CPPFLAGS-.og, - CPPFLAGS-.ob): Add -DPIC if $(build-pic-default) is yes. - -1997-11-09 18:15 Ulrich Drepper <drepper@cygnus.com> - - * Makerules (libc.so): Fix typo. - - * csu/Makefile (CFLAGS-initfini.s): Correctly fix moving function - definition. Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>. - - * stdlib/strtod.c: Handle numbers like 0.0e10000 correctly which - produce ±0.0. Reported by Joe Keane <jgk@jgk.org>. - - * sysdeps/libm-ieee754/s_ceill.c: Fix typos. - * sysdeps/libm-ieee754/s_llrint.c: Correct code, it never worked. - -1997-11-06 07:00 H.J. Lu <hjl@gnu.ai.mit.edu> - - * sysdeps/unix/sysv/i386/i686/time.S: Removed. - -1997-11-08 14:07 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * nis/libnsl.map: Add __do_niscall2 for nis_cachemgr. - - * nis/nis_call.c: Set UDP resend timeout correct. - - * 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. - - * 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. - -1997-11-06 01:39 Ulrich Drepper <drepper@cygnus.com> - - * Makerules (libc.so): Add missing closing brace. - -1997-11-05 Brendan Kehoe <brendan@lisa.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. - -1997-11-06 00:06 Ulrich Drepper <drepper@cygnus.com> - - * 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. - - * login/utmp_daemon.c: Use memcpy instead of strcpy where possible. - * sunrpc/svcauth_des.c: Likewise. - * sysdeps/unix/sysv/linux/gethostname.c: Likewise. - - * misc/tsearch.c: Use memcpy return value if possible. - * posix/regex.c: Likewise. - * sysdeps/unix/readdir_r.c: Likewise. - * wcsmbc/wcsdup.c: Likewise. - - * nss/digits_dots.c: Little optimization. - - * inet/ruserpass.c (ruserpass): Optimize by using stpcpy. - (struct toktab): Make tokstr field a const char *. - - * elf/dl-profile.c: Fix typo. - - * inet/ether_ntoh.c: Don't use relative #include path. - * inet/gethstbynm.c: Likewise. - * resolv/inet_pton.c: Likewise. - * shadow/sgetspent_r.c: Likewise. - - * libio/oldfileops.c (_IO_old_file_jumps): Use correct sync and write - callbacks. Patch by NIIBE Yutaka <gniibe@mri.co.jp>. - - * 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. - - * posix/regex.c: Indent preprocessor code. - - * posix/wordexp.c: Using _itoa_word instead of sprintf. - - * stdlib/canonicalize.c: Avoid unnecessary copying. Handle NULL - and "" arguments correctly according to SUS. - * stdlib/test-canon.c: Test "" and NULL argument handling. - - * sysdeps/posix/writev.c: Correct condition to leave the loop. - -1997-11-05 18:13 Ulrich Drepper <drepper@cygnus.com> - - * 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>. - -1997-11-04 23:57 Ulrich Drepper <drepper@cygnus.com> - - * configure.in: Correct gcc -pipe test. - Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>. - - * posix/glob.c: Cleanups. Patch by H.J. Lu <hjl@lucon.org>. - -1997-11-04 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * manual/creature.texi (Feature Test Macros): Add _POSIX_C_SOURCE - definition. - -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>. - -1997-11-04 03:08 Ulrich Drepper <drepper@cygnus.com> - - * glibcbug.in: Add information about configured target. - Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>. - - * 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. - - * manual/creature.texi: Apply Paul Eggert's patch for better - _POSIX_C_SOURCE description. - - * stdlib/strfmon.c: Fix numerous bugs in formatting. - - * time/strptime.c [%Y]: Treat all years, not only those which fit - in time_t. - [%Oy]: Really store value. - Patches by Paul Eggert. - - * wcsmbs/wchar.h: Fix documentation bugs. Declare wcsdup only - is __USE_GNU. - -1997-11-03 02:48 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/generic/bits/errno.h: Remove all error definitions. This - is only meant as a stub. - -1997-10-31 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/standalone/bits/errno.h: Copied from - sysdeps/generic/bits/errno.h and added all know error codes that - are used in glibc. - -1997-11-03 02:23 Ulrich Drepper <drepper@cygnus.com> - - * 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>. - -1997-11-03 00:20 Ulrich Drepper <drepper@cygnus.com> - - * intl/localealias.c (read_alias_file): Correct handling of line - reader which sometimes skipped complete lines (PR 205). - Optimize a bit by using mempcpy. - -1997-11-02 16:59 Philipp Thomas <kthomas@gwdg.de> - - * intl/localealias.c (read_alias_file): Correctly set map[].value - instead of overwriting map[].alias - -1997-11-02 15:32 Ulrich Drepper <drepper@cygnus.com> - - * libc.map: Add _IO_flockfile and _IO_funlockfile. - Suggested by H.J. Lu <hjl@lucon.org>. - -1997-11-02 15:17 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>. - -1997-11-01 16:46 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * configure.in: Check for gcc-2.7.2 -pipe bug and hack around it - (PR 245). - -1997-11-01 Paul Eggert <eggert@twinsun.com> - - * 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. - -1997-10-31 23:16 Ulrich Drepper <drepper@cygnus.com> - - * posix/glob.c (glob): If calling glob_in_dir for a list which was - generated by a glob call disable GLOB_ERR since there might be - non-directories in the list (PR 203). - - * 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. - - * misc/Makefile (tests): Add tst-fdset. - - * sysdeps/i386/bits/select.h: Rewrite asm macros to be cleaner. - - * sysdeps/unix/sysv/linux/Dist: Add xstatconv.c. - * sysdeps/unix/sysv/linux/alpha/Dist: Likewise. - - * time/strptime.c (strptime_internal): In %y format, regard years - >= 69 as of twentieth century, all other as of twenty-first. - - * time/tzset.c: Correct typo and little optimization. - -1997-10-31 16:01 Ulrich Drepper <drepper@cygnus.com> - - * inet/getnetgrent.c: Allocate buffer dynamically if needed. - Suggested by Joe Keane <jgk@jgk.org>. - -1997-10-31 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * io/ftw.h: Declare __ftw64_func_t and __nftw64_func_t only when - __USE_FILE_OFFSET64 || __USE_LARGEFILE64 is true. - -1997-10-30 05:47 Ulrich Drepper <drepper@cygnus.com> - - * 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>. - - * misc/mntent.c: Allow freeing of allocated buffer in - __libc_subfreeres. - * misc/efgcvt.c: Likewise. - - * misc/efgcvt.c: Call correct reentrant functions. - Use better values for MAXDIG. - * misc/qefgcvt.c: Use better values for MAXDIG. - -1997-10-29 18:48 Richard Henderson <rth@cygnus.com> - - * 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. - - * 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. - - * 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. - - * sysdeps/unix/sysv/linux/alpha/fxstat64.c: Empty file. - * sysdeps/unix/sysv/linux/alpha/lxstat64.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/xstat64.c: Likewise. - - * sysdeps/unix/sysv/linux/alpha/bits/dirent.h (struct dirent): For - consistency, force d_ino to use ino_t and supply padding. - -1997-10-29 18:47 Richard Henderson <rth@cygnus.com> - - * libio/iofopen.c: Correct weak_alias. - -1997-10-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * Makerules (install): Correct last patch. - -1997-10-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * math/libm-test.c (cbrt_test): Add epsilon for cbrt(0.970299). - -1997-10-29 21:20 Ulrich Drepper <drepper@cygnus.com> - - * libio/strops.c (_IO_str_seekoff): If mode is zero and the read/write - pointers are tied set mode according to current stream mode. - - * 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. - - * 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. - -1997-10-17 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * Make-dist (try-sysdeps): Don't look for stub files anymore. - - * manual/maint.texi (Porting): Remove another reference to stub - directory. - - * 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 - -1997-10-29 03:54 Ulrich Drepper <drepper@cygnus.com> - - * resolv/nss_dns/dns-host.c: Change variable pointed to by h_errnop - in all error cases (PR 244). - -1997-10-29 00:56 Ulrich Drepper <drepper@cygnus.com> - - * posix/glob.c: Fix handling of expressions like "*/" (PR 325). - Optimize by using mempcpy. - -1997-10-17 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * 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>. - -1997-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/generic/bits/errno.h (ENOMSG): Define it. - Pointed out by Klaus Espenlaub - <kespenla@hydra.informatik.uni-ulm.de> (PR libc/259). - -1997-10-28 17:40 Ulrich Drepper <drepper@cygnus.com> - - * 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. - -1997-10-28 17:14 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>. - -1997-10-28 04:26 Ulrich Drepper <drepper@cygnus.com> - - * 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>. - -1997-10-28 02:51 Ulrich Drepper <drepper@cygnus.com> - - * manual/filesys.texi: Correct prototype in readdir_r description. - Reported by Jim Meyering <meyering@eng.ascend.com>. - -1997-10-27 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * math/libm-test.c (cbrt_test): Add test for cbrt(0.970299). - -1997-10-26 19:39 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * 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. - -1997-10-26 18:12 Ulrich Drepper <drepper@cygnus.com> - - * 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. - - * login/Makefile (distribute): Add README.utmpd. - * login/README.utmpd: New file. - Provided by Mark M. Kettenis <kettenis@phys.uva.nl>. - - * manual/job.texi: Document tcgetsid. - * manual/pattern.texi: Document globfree. - * manual/terminal.texi: Document B38400 ... B460800. - - * posix/confstr.c: Print "-D_FILE_OFFSET_SIZE=64" for _CS_LFS_CFLAGS. - - * posix/unistd.h: Add explanation of _POSIX_* constants. - - * 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. - - * string/bits/string2.h: Add casts to allow void * arguments. - - * sysdeps/i386/i486/bits/string.h: Define index and rindex only if - __USE_BSD or __USE_XOPEN_EXTENDED. - - * sysdeps/unix/sysv/linux/bits/socket.h: Add SCM_RIGHTS and other - SCM_* constants from kernel header. - - * termios/termios.h: Add prototype for tcgetsid. - -1997-10-26 13:26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * sunrpc/clnt_perr.c: Add trailing '\0' to strings. - - * sunrpc/get_myaddr.c: Include rpc/clnt.h for prototypes. - - * sunrpc/pmap_clnt.c: Use get_myaddress from header file. - -1997-10-26 05:26 Ulrich Drepper <drepper@cygnus.com> - - * configure.in: Punt if any directory mentioned in the - enable-add-on parameter does not exist. - -1997-10-25 19:25 Ulrich Drepper <drepper@cygnus.com> - - * termios/Makefile (routines): Add tcgetsid. - * termios/tcgetsid.c: New file. - Provided by Mark M. Kettenis <kettenis@phys.uva.nl>. - -1997-10-25 18:56 Ulrich Drepper <drepper@cygnus.com> - - * stdlib/stdlib.h: Remove mblen optimization. - * stdlib/mblen.c: Rewrite to make sure global state is not changed. - Reported by anderson@metrolink.com. - -1997-10-19 21:51 Wolfram Gloger <wg@wolfram.dent.med.uni-muenchen.de> - - * malloc/thread-m.h [_LIBC]: Use new __libc_internal_tsd_{set,get} - interface for thread-specific data. - -1997-10-25 06:51 Ulrich Drepper <drepper@cygnus.com> - - * elf/dl-addr.c: Use braces for correct logical grouping. - Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>. - -1997-10-18 09:15 Geoff Keating <geoffk@ozemail.com.au> - - * io/ftwtest-sh: Sometimes /tmp is a symlink to somewhere more - convenient; that caused this test to break. - - * sysdeps/powerpc/dl-machine.h: Fix typo. - - * 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. - - * rpm/template: Add description, use RPM flags rather than the ones - used to build the spec. Build in a temporary directory, not /. - - * 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. - -1997-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * manual/filesys.texi (Scanning Directory Content): Document error - case more. - - * dirent/scandir.c (scandir): Ignore errors from select function. - Suggested by urbanw@cs.umu.se (closes PR libc/316). - -1997-10-25 06:18 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Corrections. - Patch by Erik Troan <ewt@redhat.com>. - -1997-10-25 04:00 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Favour exact - matching of version function if both the general (1) and - glibc-specific (3) entry are present. - -1997-10-22 18:47 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * sunrpc/rpc/clnt.h: Add get_myaddress prototype. - - * nis/libnsl.map: Fix typo. - - * nis/nis_call.c: Fix memory leak. - -1997-10-22 19:29 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/generic/memcmp.c: Define __P if not defined before. - Patch by Jim Meyering <meyering@eng.ascend.com>. - -1997-10-21 22:09 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/sys/prctl.h: New file by Richard Gooch - <rgooch@atnf.csiro.au>. - -1997-10-21 21:50 Ulrich Drepper <drepper@cygnus.com> - - * misc/syslog.c (vsyslog): Open console with O_NOCTTY. - Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>. - -1997-10-21 18:07 Ulrich Drepper <drepper@cygnus.com> - - * posix/wordexp.c: Improve handling of $... expressions. - Patch by Tim Waugh <tim@cyberelk.demon.co.uk>. - -1997-10-21 16:12 Ulrich Drepper <drepper@cygnus.com> - - * manual/string.texi: Correct return values of bcopy and bzero. - Patch by Matthew Wilcox <willy@odie.barnet.ac.uk>. - -1997-10-18 15:03 Philip Blundell <Philip.Blundell@pobox.com> - - * 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. - -1997-10-17 22:29 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Fix another - bug in startup code. - Patch by Eric Delaunay <delaunay@lix.polytechnique.fr>. - -1997-10-16 20:17 Richard Henderson <rth@cygnus.com> - - * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Dump args to the - stack and give the kernel a pointer. Use the sysdep.h macros. - -1997-10-17 04:07 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/sparc/sparc32/elf/start.S: Calculate argv correctly. - Patch by Eric Delaunay <delaunay@lix.polytechnique.fr>. - -1997-10-16 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/libm-ieee754/s_nextafterxf.c [!__STDC__]: Correct typo. - -1997-10-16 14:50 Ulrich Drepper <drepper@cygnus.com> - - * manual/pattern.texi: Document globfree. - -1997-10-15 21:11 Philip Blundell <Philip.Blundell@pobox.com> - - * sysdeps/unix/sysv/linux/net/if_packet.h: New file. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add - net/if_packet.h. - - * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_ASH): New type, for - 64Mbps ASH. - (ARPHRD_ETHER): This is used for 100Mbps networks too. - -1997-10-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * Makerules (install): Use full pathnames for linker script. - This is to work around a limitation in `ld' while no better solution - is possible. - -1997-10-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * malloc/malloc.c (mmap_chunk): Put inline before static in - function definition to avoid compiler warning. - (malloc_extend): Likewise. - - * sysdeps/generic/des_impl.c: Include "des.h" to avoid warning. - -1997-10-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * NEWS: Fix @gnu.ai.mit.edu -> @gnu.org. - * README.template: Likewise. - * db/makedb.c: Likewise. - * elf/ldd.bash.in: Likewise. - * elf/ldd.sh.in: Likewise. - * intl/locale.alias: Likewise. - * login/programs/utmpd.c: Likewise. - * libio/stdfiles.c [!_IO_MTSAFE] (DEF_STDFILE): Fix parameter list. - -1997-10-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Rules: Remove all empty.* files. - (shared-only-routines): Correct implementation. - -1997-10-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/libm-ieee754/s_lrintl.c: Make compilable. - * sysdeps/libm-ieee754/s_llrintl.c: Likewise. Optimized. - -1997-10-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf/ldd.bash.in: Only prepend ./ if the file contains no slash - at all. - * elf/ldd.sh.in: Likewise. - -1997-10-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/m68k/sys/ucontext.h: New file. - -1997-10-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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/m68k/fpu/s_scalbn.c: Add scalbln alias. - * sysdeps/m68k/fpu/s_scalbnf.c: Adapted. - * sysdeps/m68k/fpu/s_scalbnl.c: Adapted. - - * 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/m68k/fpu/bits/mathinline.h: Add fma and scalbln. Update - lrint and scalbn. - (__m81_inline) [__cplusplus]: Define to __inline. - - * math/bits/mathcalls.h: Remove whitespace before second argument - of __MATHDECL. Add note explaining this. - -1997-10-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * manual/arith.texi (Absolute Value): Spelling fix. - -1997-10-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * malloc/obstack.h (obstack_empty_p) [!__GNUC__]: Properly - parenthesize the macro parameter. - -1997-10-15 06:56 Ulrich Drepper <drepper@cygnus.com> - - * Rules: Remove rules to magically install <subdir>.h headers. - Reported by Mark Kettenis <kettenis@phys.uva.nl>. - - * 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. - - * libc.map: Move _IO_list_all back to GLIBC_2.0. - - * elf/rtld.c: Provide name of running program to _dl_new_object. - - * 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. - - * stdio-common/printf.c: Optimize. - * stdio-common/scanf.c: Optimize. - - * sysdeps/generic/setfpucw.c: Include #include <...> not "...". - - * sysdeps/i386/i486/bits/string.h: Add optimized versions of index and - rindex. - -1997-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.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. - -1997-10-13 05:25 Ulrich Drepper <drepper@cygnus.com> - - * 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. - -1997-10-12 20:14 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * sysdeps/stub/getsid.c: Add a stub_warning. - * sysdeps/stub/mmap.c: Likewise. - * sysdeps/stub/munmap.c: Likewise. - -1997-10-12 05:09 Ulrich Drepper <drepper@cygnus.com> - - * libio/Makefile (routines): Remove iofprintf. - * stdio-common/fprintf.c [USE_IN_LIBIO]: Define _IO_fprintf. - * libio/filedoalloc.c: Use _G_stat64 instead of stat. - * libio/fileops.c (_IO_file_open): Change to take extra argument - indicating whether 32 or 64 bit mode is wanted. - * libio/iofopen.c: Call _IO_file_open with extra argument set to 0. - * libio/iofopen64.c: Call _IO_file_open with extra argument set to 0. - * libio/iolibio.h (_IO_freopen, _IO_freopen64): Likewise. - * libio/iofgetpos.c: Pretty print. - * libio/iofgetpos64.c: Use _IO_fpos64_t for local variable `pos'. - - * manual/conf.texi: Document all the _SC_ and _CS_ constants. - * manual/creature.texi: Document _LARGEFILE_SOURCE, _LARGEFILE64_SOURCE - and _FILE_OFFSET_BITS. - * manual/llio.texi: Document truncate and ftruncate. - * manual/stdio.texi: Document positional parameters for printf. - - * math/Makefile (headers): Add tgmath.h. - (libm-support): Remove s_lrint, s_llrint, s_lround, and s_llround and - move to ... - (libm-calls): ... here. Add scalbln, s_nextafterx and s_fma. - * math/libm-test.c (lround_test, llround_test): Test for all FP formats - by using FUNC(). - * math/libm.map: Add fma, fmaf, fmal, nextafterx, nextafterxf, - nextafterxl, scalbln, scalblnf, scalblnl, lrintf, lrintl, llrintf, - llrintl, lroundf, lroundl, llroundf, and llroundl. - * math/math.h: Document new platform specific macros from mathdef.h. - Remove declaration of lrint, llrint, lround, and llround. - * math/test-double.c: Define TEST_DOUBLE. - * math/test-idouble.c: Likewise. - * math/test-float.c: Define TEST_FLOAT. - * math/test-ifloat.c: Likewise. - * math/tgmath.h: New file. - * math/bits/mathcalls.h: Add nextafterx, scalbln, fma, lrint, llrint, - lround, and llround. - Change second argument of scalbn to `int'. - * sysdeps/libm-ieee754/s_fma.c: New file. - * sysdeps/libm-ieee754/s_fmaf.c: New file. - * sysdeps/libm-ieee754/s_fmal.c: New file. - * sysdeps/libm-i387/s_fma.S: New file. - * sysdeps/libm-i387/s_fmaf.S: New file. - * sysdeps/libm-i387/s_fmal.S: New file. - * sysdeps/libm-i387/s_llrint.S: Change to take double argument. - * sysdeps/libm-i387/s_lrint.S: Likewise. - * sysdeps/libm-i387/s_llrintf.S: New file. - * sysdeps/libm-i387/s_llrintl.S: New file. - * sysdeps/libm-i387/s_lrintf.S: New file. - * sysdeps/libm-i387/s_lrintl.S: New file. - * sysdeps/libm-ieee754/s_llrint.c: Remove version which works on - 80bit double. - * sysdeps/libm-ieee754/s_lrint.c: Likewise. - * sysdeps/libm-ieee754/s_llrintf.c: New file. - * sysdeps/libm-ieee754/s_llrintl.c: New file. - * sysdeps/libm-ieee754/s_lrintf.c: New file. - * sysdeps/libm-ieee754/s_lrintl.c: New file. - * sysdeps/libm-i387/s_scalbln.c: New file. Empty file. - * sysdeps/libm-i387/s_scalblnf.c: New file. Empty file. - * sysdeps/libm-i387/s_scalblnl.c: New file. Empty file. - * sysdeps/libm-i387/s_scalbn.c: Add scalbln as alias. - * sysdeps/libm-i387/s_scalbnf.c: Add scalblnf as alias. - * sysdeps/libm-i387/s_scalbnl.c: Add scalblnl as alias. - * sysdeps/libm-ieee754/s_llround.c: Remove version which works on - 80bit double. - * sysdeps/libm-ieee754/s_lround.c: Likewise. - * sysdeps/libm-ieee754/s_llroundf.c: Likewise. - * sysdeps/libm-ieee754/s_llroundl.c: Likewise. - * sysdeps/libm-ieee754/s_lroundf.c: Likewise. - * sysdeps/libm-ieee754/s_lroundl.c: Likewise. - * sysdeps/libm-ieee754/s_nextafterl.c: Add alias fo nextafterxl. - * sysdeps/libm-ieee754/s_nextafterx.c: New file. - * sysdeps/libm-ieee754/s_nextafterxf.c: New file. - * sysdeps/libm-ieee754/s_nextafterxl.c: New file. - * sysdeps/libm-ieee754/s_scalbln.c: New file. - * sysdeps/libm-ieee754/s_scalblnf.c: New file. - * sysdeps/libm-ieee754/s_scalblnl.c: New file. - * sysdeps/libm-ieee754/s_scalbn.c: Change to take `int' as second arg. - * sysdeps/libm-ieee754/s_scalbnf.c: Likewise. - * sysdeps/libm-ieee754/s_scalbnl.c: Likewise. - - * stdlib/stdlib.h: Protect declarations of __strto*l_internal functions - by #ifdefs since they are duplicated in inttypes.h. - * sysdeps/wordsize-32/inttypes.h: Add definition of strtoimax and - strtoumax plus needed declarations. - - * sysdeps/generic/confname.h (_SC_AIO_LISTIO_MAX): Fix typo. - -1997-10-09 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * locale/programs/locfile.c (locfile_read): Correct while loop. - - * db2/makedb.c (main): Add missing parameter for error output. - (process_input): Likewise. - - * resolv/gethnamaddr.c (getanswer): Rewrite a bit to avoid warning. - -1997-10-12 05:05 Ulrich Drepper <drepper@cygnus.com> - - * libc-map: Add __bzero, __mempcpy. - -1997-10-10 18:51 David S. Miller <davem@tanya.rutgers.edu> - - * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Remove dependencies - on kernel_termios.h - -1997-10-09 10:24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - Add the changes from the Solaris 2.6 header files, use the new public - defines/functions. - * nis/nis_addmember.c: Updated. - * nis/nis_checkpoint.c: Updated. - * nis/nis_creategroup.c: updated. - * nis/nis_destroygroup.c: Updated. - * nis/nis_getservlist.c: Updated. - * nis/nis_ismember.c: Updated. - * nis/nis_lookup.c: Updated. - * nis/nis_modify.c: Updated. - * nis/nis_ping.c: Updated. - * nis/nis_print.c: Updated. - * nis/nis_print_group_entry.c: Updated. - * nis/nis_remove.c: Updated. - * nis/nis_removemember.c: Updated. - * nis/nis_xdr.c: Updated. - * nis/nss_nisplus/nisplus-alias.c: Updated. - * nis/nss_nisplus/nisplus-ethers.c: Updated. - * nis/nss_nisplus/nisplus-hosts.c: Updated. - * nis/nss_nisplus/nisplus-network.c: Updated. - * nis/nss_nisplus/nisplus-parser.c: Updated. - * nis/nss_nisplus/nisplus-proto.c: Updated. - * nis/nss_nisplus/nisplus-rpc.c: Updated. - * nis/nss_nisplus/nisplus-service.c: Updated. - * nis/rpcsvc/nis.h: Updated. - * nis/rpcsvc/nis.x: Updated. - * nis/rpcsvc/nis_object.x: Updated. - * nis/rpcsvc/nis_tags.h: Updated. - * nis/rpcsvc/nislib.h: Updated. - - * nis/lckcache.c: Removed, since Sun has dropped the directory - signatures. The old cache version is now a security risk and not - longer supported by Sun. - * nis/nis_cache.c: Likewise. - * nis/rpcsvc/nis_cache.h: Likewise. - * nis/rpcsvc/nis_cache.x: Likewise. - - * 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. - -1997-10-09 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * wctype/test_wctype.c (TEST): Add parens to avoid ambiguity. - -1997-10-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * include/features.h: Don't crash if _XOPEN_SOURCE is defined to - be empty. - -1997-10-09 05:54 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>. - -1997-10-09 04:58 Ulrich Drepper <drepper@cygnus.com> - - * configure.in: Add __bzero definition to DWARF2 unwind test. - Reported by David S. Miller <davem@caip.rutgers.edu>. - -1997-10-07 Paul Eggert <eggert@twinsun.com> - - * intl/loadmsgcat.c (_nl_load_domain): - Fix &&/|| typo when checking file size. - Check for overflow when stuffing off_t into size_t. - -1997-10-07 18:11 Ulrich Drepper <drepper@cygnus.com> - - * time/africa: Update from tzdata1997i. - -1997-10-07 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * posix/globtest.sh: Add arguments for name of dynamic linker and - call dynamic linker to execute globtest. - - * posix/Makefile (tests): Supply arguments to globtest.sh. - -1997-10-07 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * nis/rpcsvc/ypupd.h: Add missing __END_DECLS. - -1997-10-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * libc.map: Add mempcpy, prctl. - -1997-09-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/generic/memcmp.c: Avoid warnings. - * sysdeps/generic/memset.c: Likewise. - * sysdeps/generic/strchr.c: Likewise. - * sysdeps/generic/strlen.c: Likewise. - -1997-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * malloc/Makefile ($(objpfx)mtrace): Fix typo. - -1997-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/m68k/dl-machine.h (elf_machine_rela): Fix last change. - The R_68K_GLOB_DAT and R_68K_JMP_SLOT relocations really ignore - the addend, Richard. - (elf_machine_fixup_plt): Don't add the addend. - (elf_machine_plt_value): New function. - - * sysdeps/alpha/dl-machine.h (elf_machine_plt_value): New - function. - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_plt_value): New - function. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_plt_value): New - function. - * sysdeps/powerpc/dl-machine.h (elf_machine_plt_value): New - function. - * sysdeps/i386/dl-machine.h (elf_machine_plt_value): New - function. - - * elf/dl-runtime.c (fixup, profile_fixup): Don't add in the - addend, instead let the machine dependent setup decide. - -1997-09-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/m68k/m68020/bits/string.h: New file. - -1997-10-07 04:27 Richard Henderson <rth@cygnus.com> - - * Makeconfig (+includes): Add -I$(objpfx). - - * stdlib/longlong.h [__sparc__]: Prototype __udiv_qrnnd. - - * 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. - -1997-10-06 21:01 David S. Miller <davem@tanya.rutgers.edu> - - * 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. - -1997-10-06 19:35 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/sparc/sparc64/sub_n.S: Fix typo. - Patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>. - -1997-10-06 01:09 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * time/README: Correct list of files from tzcode package. Add - contact information for tzcode/tzdata maintainers. Correct - spelling of author's name. Compact lists. - -1997-10-06 01:48 Ulrich Drepper <drepper@cygnus.com> - - * malloc/malloc.h: Remove hook definition without caller argument. - * malloc/malloc.c: Likewise. - - * 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. - - * libc.map: Remove _libio_using_thunks, add _fp_hw and _dl_addr. - - * ctype/ctype.h: Pretty print. - * grp/grp.h: Likewise. - * include/libc-symbols.h: Likewise. - * include/limits.h: Likewise. - * include/values.h: Likewise. - * io/fcntl.h: Likewise. - * io/sys/stat.h: Likewise. - * libio/stdio.h: Likewise. - * malloc/malloc.h: Likewise. - * misc/err.h: Likewise. - * misc/regexp.h: Likewise. - * misc/sys/cdefs.h: Likewise. - * misc/sys/file.h: Likewise. - * posix/sys/utsname.h: Likewise. - * posix/sys/wait.h: Likewise. - * pwd/pwd.h: Likewise. - * resolv/netdb.h: Likewise. - * signal/signal.h: Likewise. - * stdlib/stdlib.h: Likewise. - * string/endian.h: Likewise. - * string/memory.h: Likewise. - * sysdeps/mach/hurd/bits/fcntl.h: Likewise. - * sysdeps/mach/hurd/sys/param.h: Likewise. - * sysdeps/unix/sysv/linux/sys/param.h: Likewise. - * termios/termios.h: Likewise. - * wcsmbs/wchar.h: Likewise. - * wctype/wctype.h: Likewise. - - * sysdeps/unix/bsd/bsd4.4/wait3.c: Use __WAIT_STATUS in definition. - - Implement Large File Support API. - * include/features.h: Add suuport for _LARGEFILE_SOURCE, - _LARGEFILE64_SOURCE, and _FILE_OFFSET_BITS. - * libc.map: Add new functions for LFS. - * dirent/Makefile (routines): Add readdir64 and readdir64_r. - * dirent/dirent.h: Update readdir prototype for LFS and add new - prototypes for above functions. - * io/Makefile (routines): Add xstat64, fxstat64, lxstat64, - statfs64, fstatfs64, lstat64, open64, lseek64, creat64, and ftw64. - * io/creat64.c: New file. - * io/fstat64.c: New file. - * io/lstat64.c: New file. - * io/stat64.c: New file. - * io/ftw64.c: New file. - * io/ftw.c: Rewrite to allow easy definition of ftw64. - * io/ftw.h: Add LFS interface. - * io/fcntl.h: Likewise. - * io/sys/stat.h: Likewise. - * io/sys/statfs.h: Likewise. - * libio/Makefile (routines): Add iofgetpos64, iofopen64, iofsetpos64, - freopen64, fseeko64, and ftello64. - * libcio/fseeko64.c: New file. - * libio/ftello64.c: New file. - * libio/iofgetpos64.c: New file. - * libio/iofopen64.c: New file. - * libio/iofsetpos64.c: New file. - * libio/fileops.c (_IO_file_fopen): Change to use _IO_off64_t. - (_IO_file_attach): Likewise. - (_IO_do_write): Likewise. - (_IO_file_sync): Likewise. - (_IO_file_seek): Likewise. - (_IO_file_seekoff): Likewise. Use _G_stat64. - (_IO_file_fopen64): New function. - (_IO_file_jumps): Initialize showmanyc and imbue. - * libio/genops.c (_IO_default_seekpos): Change to use _IO_fpos64_t. - (_IO_default_seekoff): Likewise. - (_IO_default_seek): Likewise. - (_IO_default_showmanyc, _IO_default_imbue): New functions. - * libio/iofopncook.c (_IO_cookie_seek): Change to use _IO_off64_t. - * libio/iolibio.h: Add prototypes for LFS functions. - * libio/ioseekoff.c: Change to use _IO_fpos64_t. - * libio/ioseekpos.c: Likewise. - * libio/libio.h: Define _IO_fpos64_t and _IO_off64_t. - (_IO_FILE): Move _offset field to end and change type to _IO_off64_t. - (_IO_seekoff, _IO_seekpos): Change prototype. - * libio/libioP.h (_IO_seekoff_t, _IO_seekpos_t, _IO_seek_t): Change - to use _IO_off64_t. - Change prototypes for function from the *ops.c files. - * libio/stdio.h: Add LFS interface definition. - * libio/strops.c (_IO_str_seekoff): Change to use _IO_fpos64_t. - * posix/Makefile (routines): Add pread64 and pwrite64. - * posix/confstr.c: Handle _CS_LFS* requests. - * posix/getconf.c: Handle LFS* requests. - * sysdeps/generic/confname.h: Add _CS_LFS* constants. - * posix/unistd.h: Document _LFS64_LARGEFILE and _LFS64_STDIO. - Define off_t and off64_t appropriately. Change prototypes of - LFS functions. - * posix/sys/types.h: Add LFS types. - * resources/Makefile (routines): Add getrlimit64 and setlimit64. - * resource/sys/resource.h: Change prototypes of LFS functions. - * stdio-common/Makefile (routines): Add tmpfile64. - * stdio-common/tmpfile64.c: New file. - * sysdeps/generic/_G_config.h: Define _G_fpos64_t and _G_off64_t. - Define _G_OPEN64, _G_LSEEK64, _G_FSTAT64. +1997-11-18 02:31 Ulrich Drepper <drepper@cygnus.com> + + * iconv/Makefile: New file. + * iconv/gconv.c: New file. + * iconv/gconv.h: New file. + * iconv/gconv_builtin.c: New file. + * iconv/gconv_builtin.h: New file. + * iconv/gconv_close.c: New file. + * iconv/gconv_conf.c: New file. + * iconv/gconv_db.c: New file. + * iconv/gconv_dl.c: New file. + * iconv/gconv_open.c: New file. + * iconv/gconv_simple.c: New file. + * iconv/iconv.c: New file. + * iconv/iconv.h: New file. + * iconv/iconv_close.c: New file. + * iconv/iconv_open.c: New file. + * include/gconv.h: New file. + + * Makeconfig: Define gconvdir. + * Makefile (subdirs): Add iconv. + + * string/bits/string2.h: Add optimization for strtok_r. + + * sysdeps/generic/_G_config.h: Define __need_NULL to get definition + for NULL. * sysdeps/unix/sysv/linux/_G_config.h: Likewise. - * 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. - - * libio/libioP.h: Add definition ofr 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. - - * 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. - - * posix/exevp.c: Don't use nested function. - - * stdlib/ucontext.h: New file. - * sysdeps/i386/sys/ucontext.h: New file. SysV/i386 API definitions. - - * sunrpc/xcrypt.c (hexval): Make a macro for efficiency. - - * sysdeps/i386/setjmp.h: Make `here` label local. - - * sysdeps/i386/elf/start.S: Define _fp_hw "variable". - - * sysdeps/stub/fstatfs.c: Correct warning. - * sysdeps/stub/fxstat.c: Likewise. - * sysdeps/stub/lxstat.c: Likewise. - - * 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. - - * 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 frequen 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. + Reported by H.J. Lu <hjl@gnu.ai.mit.edu>. - * 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. - - * locale/programs/localedef.c (options): short form os verbose is v. - Reported by Andreas Jaeger. - - * misc/sys/select.h: Define pselect only is __USE_POSIX since this - header is used in some others as well for historical reasons. - - * resolv/resolv.h: Include <netinet/in.h> to make self-contained. - - * string/bits/string2.h: Add missing braces and optimize strcmp a - bit more. - * sysdeps/i386/i486/bits/string.h: Likewise. - - * sunrpc/rpc/auth_des.h: Include rpc/auth.h to be self-contained. - Pretty print. - - * sysdeps/mach/hurd/cthreads.c: Add copyright text. - - * sysdeps/unix/sysv/linux/syscalls.list: Correct prctl entry. - - * sysdeps/unix/sysv/linux/sys/mman.h: Get definition of size_t. - - * time/time.h: Pretty print. - -1997-09-29 Paul Eggert <eggert@twinsun.com> - - * 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. - -1997-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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. - -1997-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf/soinit.c (__EH_FRAME_BEGIN__): Don't make the .eh_frame - section read-only, it contains relocations. - * elf/sofini.c (__FRAME_END__): Likewise. - -1997-09-29 03:08 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/i386/i486/bits/string.h [__PIC__] (__strspn_cg, __strcspn_cg, - __strpbrk_cg, __strstr_cg): Optimize even more. No spill register - needed. Patch by NIIBE Yutaka <gniibe@mri.co.jp>. - -1997-09-28 08:27 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * nis/nis_call.c (__do_niscall2): Fix return code, add missing - break in switch case. - - * nis/nis_mkdir.c: Fix return codes to match Solaris version. - * nis/nis_rmdir.c: Likewise. - - * nis/rpcsvc/yp_prot.h: Rename struct keydat to struct keydat_t - for C++. - -1997-09-28 04:32 Ulrich Drepper <drepper@cygnus.com> - - * configure.in: Fix typo. + * configure.in: Correct test for bash2. Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>. -1997-09-25 20:14 Philip Blundell <Philip.Blundell@pobox.com> - - * sysdeps/unix/sysv/linux/scsi/sg.h: New file. - * sysdeps/unix/sysv/linux/Makefile: Install <scsi/sg.h>. - -1997-09-27 01:14 Ulrich Drepper <drepper@cygnus.com> - - * Makeconfig (extra-objs): Depend in before-compile. - - * 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. - - * elf/dladdr.c (dladdr): Change address argument to be const. - * elf/dlfcn.h: Likewise. - - * locale/C_name.c: Add _nl_POSIX_name. - * locale/localeinfo.h: Add declaration of _nl_POSIX_name. - * locale/findlocale.c (_nl_find_locale): Use _nl_POSIX_name. - (_nl_remove_locale): Free name of data set. - * locale/setlocale.c (clever_copy): Remove. - (new_composite_name): Use _nl_C_name and _nl_POSIX_name in compare. - (setname): Only remove old name when it is for category LC_ALL. - - Change malloc, free, realloc, and memalign hooks for glibc to take - another parameter indicating the location of the caller. - * malloc/malloc.c: Change hook functions and variables. - * malloc/malloc.h: Likewise. - * malloc/mcheck.c: Likewise. Make sure later hooked function also - get the original caller address. - * malloc/mtrace.c: Likewise. - (tr_where): If no information in _mtrace_file is given use the - information about the caller. - * malloc/Makefile (distribute): Replace mtrace.awk by mtrace.pl. - Add rules to install mtrace.pl after rewriting. - * malloc/mtrace.pl: New file. Based on the old AWK script but - with extended functionality. - * malloc/mtrace.awk: Removed. - - * po/fr.po: New version. - - * 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. - - * sysdeps/unix/sysv/linux/syscalls.list: Add prctl. - -1997-09-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * string/bits/string2.h (__stpcpy_small): Don't use casts as - lvalues. - -1997-09-26 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * manual/time.texi (Formatting Date and Time): Clarify - explanation of strftime flags a bit. - Suggested by Robert Bihlmeyer <robbe@orcus.priv.at>. - -1997-09-25 00:13 David S. Miller <davem@tanya.rutgers.edu> - - * sysdeps/libm-ieee754/s_exp2f.c: Protect _GNU_SOURCE definition. - Fix typo, it is FLT_MANT_DIG. - -1997-09-24 18:52 H.J. Lu <hjl@gnu.ai.mit.edu> - - * math/atest-exp2.c: Include <stdlib/gmp.h> instead of <gmp.h>. - -1997-08-27 08:10 H.J. Lu <hjl@gnu.ai.mit.edu> - - * libio/libio.h, libio/libioP.h: Support libio in libstdc++. - - * libio/libio.h (_IO_peekc): Defined as _IO_peekc_unlocked if - _IO_MTSAFE_IO is undefined. - -1997-09-24 23:27 Richard Henderson <rth@cygnus.com> - - * 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. - - * 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. - -1997-09-25 00:23 Ulrich Drepper <drepper@cygnus.com> - - * elf/dl-profile.c: Correct implementation. - - * io/ftwtest-sh: Don't depend on TMPDIR == /tmp. - - * locale/setlocale.c: Rewrite a bit for more clarity. - - * 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. - - * 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. - - * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use - .text and .previous to select correct section. - -1997-09-23 19:56 Philip Blundell <Philip.Blundell@pobox.com> - - * configure.in: Add `--disable-versioning' option to suppress the - use of symbol versions even if binutils claims to support it. - -1997-09-24 20:10 Philip Blundell <Philip.Blundell@pobox.com> - - * csu/Makefile (before-compile): Don't try to build abi-tags.h if - not using ELF. - -1997-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf/sofini.c [HAVE_DWARF2_UNWIND_INFO]: Supply termination for - the frame unwind info section. - - * elf/soinit.c [HAVE_DWARF2_UNWIND_INFO]: Register and unregister - the frame unwind info. - - * config.h.in (HAVE_DWARF2_UNWIND_INFO): Add #undef. - - * configure.in: Check whether gcc supports DWARF2 unwind info. - - * libc.map: Export frame handling tables. - -1997-09-10 06:56 Geoff Keating <geoffk@ozemail.com.au> - - * sysdeps/unix/sysv/linux/powerpc/bits/kernel_termios.h: - Use the size of the kernel's termios structure for ioctls. - - * sysdeps/powerpc/dl-machine.h: Prepare for library profiling. - - * 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. - - * sysdeps/powerpc/Makefile (pic-ccflags): Define this instead of - CFLAGS-.os. - - * sysdeps/powerpc/bzero.S: New file. - * sysdeps/powerpc/strcat.c: New file. - * sysdeps/powerpc/strcpy.S: New file. - * sysdeps/powerpc/stpcpy.S: New file. - - * 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. - - * 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. - - * elf/dl-runtime.c (fixup): Factor out call to elf_machine_relplt. - (profile_fixup): Likewise. - -1997-09-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * posix/globtest.c (main): Change to directory passed as first - argument. - - * posix/globtest.sh: Don't cd before running the program, instead - pass testdir as argument, so that $common_objpfx remains valid. - -1997-09-23 18:01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * nis/nis_call.c (__do_niscall2): Fix multiple Server support. - - * nis/nis_findserver.c: Save latest working sockaddr_in. - -1997-09-17 22:07 Zack Weinberg <zack@rabi.phys.columbia.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. - - * configure.in: Allow the user to force configuration for - unsupported platforms with an undocumented option. - -1997-09-22 16:55 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * sunrpc/get_myaddr.c (get_myaddress): Avoid loopback interfaces, - return loopback address only if there is no other interface. - - * nis/Makefile: Add nis_callback libnsl-routines. - - * 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. - - * nis/rpcsvc/nis.h: Make C++ safe. - - * nis/nss_nisplus/nisplus-publickey.c (getsecretkey): Fix use - of variables. - - * nis/nis_findserv.c: Make thread safe. - - * 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. - -1997-09-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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. - -1997-09-22 04:12 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/i386/i486/atomicity.h (exchange_and_add): Really address - memory in xadd not %1. - -1997-09-21 13:56 Ulrich Drepper <drepper@cygnus.com> - - * manual/maint.texi (Supported Configurations): Add SPARC64 to - list of supported platforms. - -1997-09-21 03:19 Ulrich Drepper <drepper@cygnus.com> - - * 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. - - * 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. - - * sysdeps/i386/i486/string.h (__stpcpy_small): Increment __cp not cp. - Patch by HJ Lu <hjl@gnu.ai.mit.edu>. - -1997-09-20 16:45 Ulrich Drepper <drepper@cygnus.com> - - * hesiod/hesiod.c (hesiod_init): Use __secure_getenv to get - HES_DOMAIN environment variable. - Suggested by Mark Kettenis <kettenis@phys.uva.nl>. - - * hesiod/README.hesiod: A bit of information about Hesiod and how - to use it. Written by Mark Kettenis <kettenis@phys.uva.nl>. - -1997-09-20 05:15 Ulrich Drepper <drepper@cygnus.com> - - * manual/maint.texi: Update requirement list. - - * io/ftw.h: Don't use parameter names from global namespace in - prototypes. - - * 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>. - -1997-09-19 21:42 David S. Miller <davem@tanya.rutgers.edu> - - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: ssize_t is - a long long int. - -1997-09-19 15:12 H.J. Lu <hjl@gnu.ai.mit.edu> - - * posix/Makefile (test-srcs): New, set to globtest. - -1997-09-20 00:24 Ulrich Drepper <drepper@cygnus.com> - - * manual/filesys.texi: Document ftw, nftw and needed data types. - -1997-09-19 12:53 H.J. Lu <hjl@gnu.ai.mit.edu> - - * sysdeps/i386/i486/bits/string.h: Fix typo. - -1997-09-19 14:11 Ulrich Drepper <drepper@cygnus.com> - - * io/ftwtest.c (cb): Print level. - * io/ftwtest-sh: Updated for ftwtest.c change. - - * string/argz.h (__argz_next): Cast NULL to char * to satisfy C++ - compilers. - Reported by Mirko Streckenbach <mirko@ramz.ing.tu-bs.de>. - - * catgets/catgets.c (catopen): Correctly allocate string of nlspath. - Reported by Charles C. Fu <ccwf@klab.caltech.edu>. - -1997-09-18 13:30 Klaus Espenlaub <kespenla@student.informatik.uni-ulm.de> - - * 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. - -1997-09-18 03:16 Ulrich Drepper <drepper@cygnus.com> - - * manual/search.texi: Document lsearch, lfind, the hsearch and - tsearch functions. - -1997-09-18 00:04 Ulrich Drepper <drepper@cygnus.com> - - * 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. - -1997-09-17 19:44 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>. - -1997-09-16 23:48 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. - -1997-09-16 22:03 Ulrich Drepper <drepper@cygnus.com> - - * string/Makefile (headers): Instead bits/string2.h. - Reported by David S. Miller <davem@jenolan.rutgers.edu>. - -1997-09-16 13:31 David S. Miller <davem@tanya.rutgers.edu> - - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: New file. - -1997-09-16 17:42 Ulrich Drepper <drepper@cygnus.com> - - * 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>. - -1997-09-16 04:32 Ulrich Drepper <drepper@cygnus.com> - - * hesiod/hesiod.c: Don't use and define cistrcmp. We have - strcasecmp. - (hesiod_init): Use of HES_DOMAIN need not be protected by - __secure_getenv. - (hesiod_to_bind): Avoid using strcat and extra strlen calls, use - stpcpy. - - * string/Makefile (noinl-tester-ENV): New variable to make - strerror test pass. - (CFLAGS-noinl-tester): Make sure we test the correct functions. - - * sysdeps/stub/atomicity.h: Fix typo. - Zack Weinberg <zack@rabi.phys.columbia.edu> told me this twice. - - * manual/string.texi: Document strnlen and mempcpy. - Tell a bit more about the locale dependence of strcasecmp and - strncasecmp. - - * 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. + * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts. + (CFLAGS-locfile.c): Likewise. + Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>. - * resolv/res_send.c (res_send): Use socklen_t type for `fromlen' - variable. + * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for + non-existing entry if the table is full. - * 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. + * posix/regex.h: Pretty print. - * 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. + * stdio-common/printf_fp.c: Don't define NDEBUG if already defined. - * sysdeps/generic/bits/select.h: Don't use ugly casts to access array. - * sysdeps/i386/bits/select.h: Likewise. + * sysdeps/posix/ctermid.c: Simplify a bit. - * 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. + * sysdeps/unix/sysv/linux/net/if.h: Pretty print. - * 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. +1997-11-17 Andreas Jaeger <aj@arthur.rhein-neckar.de> -1997-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/sys/quota.h: Add include for + <sys/types.h> instead of <asm/types.h>. - * sysdeps/generic/stpcpy.c: #undef stpcpy and __stpcpy. +1997-11-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * math/libm-test.c (asin_test): Add epsilon for asin (0.5). - * string/bits/string2.h: Add prototypes to avoid warning. +1997-11-16 17:09 H.J. Lu <hjl@gnu.ai.mit.edu> -1997-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen, + fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0. + (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1. + (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose, + fclose): Added to GLIBC_2.1. - * string/bits/string2.h (strsep): Fix handling of empty REJECT. - (__strsep_1c): Handle NULL and empty string. - (__strsep_g): Likewise. + * libio/Makefile (routines, shared-only-routines): Add + oldiofclose. Remove oldfreopen. -1997-09-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * libio/freopen.c (freopen): When PIC is defined, call + _IO_old_freopen () for old stdio. - * catgets/Makefile (extra-objs): Set this instead of generated. + * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose. + (_IO_fclose, fclose): Use _IO_new_fclose as default version + for GLIBC_2.1. - * md5-crypt/Makefile (extra-objs): Add all object file variants of - onlymd5-entry. + * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it + instead of _IO_file_close_it. -1997-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/generic/sysd-stdio.c (__stdio_read): Fix typo in last - change. - -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. - - * string/tester.c: Add copyright and make little cleanups. - - * inet/test_ifindex.c: Change type of ni variable to unsigned int. - - * locale/programs/ld-ctype.c (struct locale_ctype_t): Change type - of fields map_collection_max and map_collection_act to size_t. - - * nss/libnss_files.map: Group entries. - - * posix/unistd.h: Add prototype for __setpgid and __profil. - - * sysdeps/generic/crypt.h: Declare __crypt_r. - - * sysdeps/i386/bits/select.h: Fix fatal bugs, use correct casts now. - - * sysdeps/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal, - isless, islessequal, islessgreater, isunordered): Optimize a bit. - - * 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. - - * 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. - - * posix/getopt.c: Don't use text_set_element if not defined. - - * configure.in: Provide a check for underscores before user labels - that works even when the compiler used for building doesn't work - (like when there is no C library). Use the old way if the compiler - works. - -1997-09-10 05:08 David S. Miller <davem@caip.rutgers.edu> - - * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: The TC* ioctls use - 'T' not 't' on SparcLinux. - * sysdeps/unix/sysv/linux/sparc/bits/termios.h: tcflag_t is 32 bits. - - * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add aliases for - _longjmp and siglongjmp. - -1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * libio/stdio.h: Add format attributes to the extra printf and - scanf like functions. - * stdio/stdio.h: Likewise. - -1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r): - Print tablename_val, not tablename_len. - - * 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. - - * 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. - - * libc.map: Export __stpcpy and __strdup. - -1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * math/Makefile (CFLAGS-test-float.c, CFLAGS-test-double.c, - CFLAGS-test-ldouble.c): Pass -ffloat-store to avoid excessive - precision. - -1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * include/rpc/auth_des.h: New file. - -1997-09-09 Paul Eggert <eggert@twinsun.com> - - * 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. - -1997-09-09 22:11 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/posix/getcwd.c: Correct test for too small buffer. - Reported by Erik Troan <ewt@redhat.com>. - - * elf/dl-close.c: Include <bits/libc-lock.h>, not <libc-lock.h>. - * elf/dl-open.c: Likewise. - -1997-09-07 17:09 Richard Henderson <rth@cygnus.com> - - * 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. - -1997-09-06 20:20 Ulrich Drepper <drepper@cygnus.com> - - * include/rpc/auth.h: New file. - * include/rpc/auth_unix.h: New file. - -1997-09-06 Paul Eggert <eggert@twinsun.com> - - Fix gmtime so that it reports leap seconds when TZ - indicates that leap seconds are desired. - - * 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. - - * 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. - - * time/strftime.c (__tz_compute): Remove unused (and now incorrect) - decl. - - * time/tzfile.c (__tzfile_compute): New arg USE_LOCALTIME. - - * 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. - -1997-09-06 Paul Eggert <eggert@twinsun.com> - - * 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. - -1997-09-06 Paul Eggert <eggert@twinsun.com> - - * time/tzset.c (__tzname_max): Lock tz data structures before - invoking tzset_internal. - - * time/tzfile.c: Define compute_tzname_max statically. - -1997-09-07 10:57 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * 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. - - * sunrpc/auth_des.c: Don't dereference NULL pointer, - initialize ad->ad_timediff. - - * 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. - - * sunrpc/key_call.c: Fix signal handling. - - * sunrpc/openchild.c: Don't use /bin/sh to start /usr/etc/keyenvoy, - or we will get a deadlock with NIS+. - - * sunrpc/rpc/auth.h: Add prototype for xdr_opaque_auth, don't define - HAVE_SECURE_RPC. - -1997-09-07 15:51 Ulrich Drepper <drepper@cygnus.com> - - * 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. - -1997-09-07 05:07 Ulrich Drepper <drepper@cygnus.com> - - * elf/dl-close.c: Include <bits/libc-lock.h>, not <libc-lock.h>. - * elf/dl-open.c: Likewise. - * sysdeps/i386/memset.c: Undefine memset in case the header with the - optimized functions is included. - Patches by NIIBE Yutaka <gniibe@mri.co.jp>. - - * 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>. - -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. - -1997-08-29 02:36 Ulrich Drepper <drepper@cygnus.com> - - * Makefile (version-info.h): Use ISO form for the date. - - * 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. - - * csu/Makefile (abi-tag.h): Make sure target directory exists. - - * 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. - - * libio/fileops.c (_IO_file_read, _IO_file_write): Remove dead code. - - * malloc/obstack.c: Add casts to keep very verbose compilers on - 64bit machine quiet. - - * nss/Makefile (libnss_db.so): Find libdb.so in db2 directory. - -1997-08-28 17:30 Ulrich Drepper <drepper@cygnus.com> - - * catgets/catgets.c (catopen): Correctly determine length of string - in NLSPATH environment variable. Patch by HJ Lu <hjl@gnu.ai.mit.edu>. - -1997-08-27 23:19 Richard Henderson <rth@cygnus.com> - - * 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. - - * 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. - -1997-08-10 19:17 Philip Blundell <Philip.Blundell@pobox.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. - -1997-08-27 21:20 Ulrich Drepper <drepper@cygnus.com> - - * 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. - - * 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 + * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed + to _IO_2_1_stdxxx_. + (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC is defined. - * sysdeps/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>. - -1997-08-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * manual/libc.texinfo: Reorder chapters to match logical order. - -1997-08-25 12:22 Ulrich Drepper <drepper@cygnus.com> - - * 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>. - -1997-08-24 Miles Bader <miles@gnu.ai.mit.edu> - - * string/argz.h: Add missing __END_DECLS. - -1997-08-24 12:24 Ulrich Drepper <drepper@cygnus.com> - - * configure.in (INSTALL): Quote `$'. - - * libc.map: Add __xpg_basename. - - * csu/Makefile (initfini.s): Disable optimization. - - * elf/dl-deps.c: Implement handling of DT_FILTER. - - * elf/dl-load.c (_dl_init_paths): Add error check. - - * intl/finddomain.c (_nl_find_domain): Correct comment. - * intl/localealias.c: Include <bits/libc-lock.h> not <libc-lock.h>. - - * libio/stdio.h: Make {,v}snprintf available if __USE_BSD. - Change extern inline functions to work correctly in C++. - - * locale/iso-4217.def: Update for more recent ISO 4217 version. - - * locale/loadlocale.c (_nl_load_locale): Add cast. - - * manual/message.texi: Finish gettext section. - - * 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. - - * poisx/glob.c: Add prototype for next_brace_sub. - - * sysdeps/generic/dl-sysdep.c: Recognize AT_BASE value on auxiliary - vector. - - * 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/i386/fpu/fraiseexcpt.c: Add volatile to asms. + * libio/libioP.h (_IO_old_do_flush): New. - * 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. + * libio/oldfileops.c (_IO_old_file_close_it, + _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync): + Call _IO_old_do_flush () instead of _IO_do_flush (). + (_IO_old_file_xsputn): Call _IO_old_do_write () instead of + _IO_do_write (). - * sysdeps/standalone/i386/i386.h: Clean up asm statements a bit. - * sysdeps/standalone/i960/i960ca.h: Likewise. + * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init () + instead of _IO_file_init (). + Bind old symbols to version GLIBC_2.0. -1997-08-22 19:04 Richard Henderson <rth@cygnus.com> + * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version. + (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to + _IO_stdxxx_. + (_IO_check_libio): New function in .init. - * elf/rtld.c (_dl_start): Init _dl_rtld_map.l_opencount due to - undocumented test addition in _dl_map_object. + * libio/oldiofclose.c: New file. - Support ET_EXEC versions of ld.so, for debugging at least: + * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_, + _IO_new_stderr_): Changed to _IO_2_1_stdxxx_. + (DEF_STDFILE): Don't use default_symbol_version. - * elf/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. + * libio/stdio.c (stdin, stdout, stderr): Set to + _IO_2_1_stdxxx_._ + (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of + stdxxx. - Sparc 32 merge: + * csu/Makefile (distribute): Add init.c. + (extra-objs): Add init.o for ELF. + (start-installed-name): Add $(objpfx)init.o. - * 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. + * csu/init.c: New file. - * 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. +1997-11-12 08:02 H.J. Lu <hjl@gnu.ai.mit.edu> - * 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. + * elf/dl-lookup.c (do_lookup): Don't use the hidden base + definition as the default. - * sysdeps/sparc/fpu/bits/mathdef.h (FP_ILOGB0, FP_ILOGBNAN): New. +1997-08-27 Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de> - * sysdeps/sparc/fpu/fraiseexcpt.c: Rearrange for smaller code. + * erand48_r.c (__erand48_r): Implement for 32 bit short int. - * sysdeps/sparc/sparc32/Makefile: Fix sparc->sparc/sparc32 bits - in divrem expansions. +1997-11-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (END, LOC): New - definitions for assembly syntax differences. + * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2 + (PR 351). - * 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. +1997-11-16 21:01 Philip Blundell <Philip.Blundell@pobox.com> - * 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/arm/sysdep.h: Use __APCS_32__ to decide whether or not + to preserve condition codes on function call. - * 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. +1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: - Clean up PIC code. + * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l. - * sysdeps/sparc/sparc32/elf/start.S: New file, slightly modified - from the sparc64 version. - * sysdeps/sparc/sparc32/elf/start.c: Removed. +1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Rewrite in - assembly based on the sparc64 version. + * math/libm-test.c (asin_test): Add epsilon for float. + (tan_test): Add epsilon for float. + (log1p_test): Add epsilon for float. + (inverse_functions): Add epsilons. - * 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. - -1997-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * math/libm-test.c (identities): Change epsilon. - - * sysdeps/i386/fpu/bits/mathinline.h: Correct arguments to fabs, - fabsf, fabsl, __fabsl. - -1997-08-20 05:30 Ulrich Drepper <drepper@cygnus.com> - - * catgets/catgets.c (catclose): Use __munmap instead of munmap. - * catgets/gencat.c (read_input_file): Fix typo. - - * dirent/dirent.h: Make seekdir and telldir available for __USE_XOPEN. - - * elf/dl-load.c: Fix case of missing DT_RPATH in object which gets - executed (e.g., when it is a static binary). - - * intl/bindtextdomain.c: Use strdup in glibc. Correct comment. - * intl/dcgettext.c: Likewise. - * intl/dgettext.c: Likewise. - * intl/explodename.c: Likewise. - * intl/finddomain.c: Likewise. - * intl/gettext.c: Likewise. - * intl/gettext.h: Likewise. - * intl/hash-string.h: Likewise. - * intl/l10nflist.c: Likewise. - * intl/libintl.h: Likewise. - * intl/loadinfo.h: Likewise. - * intl/loadmsgcat.c: Likewise. - * intl/localealias.c: Likewise. - * intl/textdomain.c: Likewise. - - Unify libio sources with code in libg++. - * libio/fcloseall.c: Update and reformat copyright. Protect use - of weak_alias. Use _IO_* thread macros instead of __libc_*. - * libio/feof.c: Likewise. - * libio/feof_u.c: Likewise. - * libio/ferror.c: Likewise. - * libio/ferror_u.c: Likewise. - * libio/fgetc.c: Likewise. - * libio/filedoalloc.c: Likewise. - * libio/fileno.c: Likewise. - * libio/fileops.c: Likewise. - * libio/fputc.c: Likewise. - * libio/fputc_u.c: Likewise. - * libio/freopen.c: Likewise. - * libio/fseek.c: Likewise. - * libio/genops.c: Likewise. - * libio/getc.c: Likewise. - * libio/getc_u.c: Likewise. - * libio/getchar.c: Likewise. - * libio/getchar_u.c: Likewise. - * libio/iofclose.c: Likewise. - * libio/iofdopen.c: Likewise. - * libio/iofflush.c: Likewise. - * libio/iofflush_u.c: Likewise. - * libio/iofgetpos.c: Likewise. - * libio/iofgets.c: Likewise. - * libio/iofopen.c: Likewise. - * libio/iofopncook.c: Likewise. - * libio/iofprintf.c: Likewise. - * libio/iofputs.c: Likewise. - * libio/iofread.c: Likewise. - * libio/iofsetpos.c: Likewise. - * libio/ioftell.c: Likewise. - * libio/iofwrite.c: Likewise. - * libio/iogetdelim.c: Likewise. - * libio/iogetline.c: Likewise. - * libio/iogets.c: Likewise. - * libio/iopadn.c: Likewise. - * libio/iopopen.c: Likewise. - * libio/ioputs.c: Likewise. - * libio/ioseekoff.c: Likewise. - * libio/ioseekpos.c: Likewise. - * libio/iosetbuffer.c: Likewise. - * libio/iosetvbuf.c: Likewise. - * libio/iosprintf.c: Likewise. - * libio/ioungetc.c: Likewise. - * libio/iovdprintf.c: Likewise. - * libio/iovsprintf.c: Likewise. - * libio/iovsscanf.c: Likewise. - * libio/libio.h: Likewise. - * libio/libioP.h: Likewise. - * libio/obprintf.c: Likewise. - * libio/pclose.c: Likewise. - * libio/peekc.c: Likewise. - * libio/putc.c: Likewise. - * libio/putchar.c: Likewise. - * libio/rewind.c: Likewise. - * libio/setbuf.c: Likewise. - * libio/setlinebuf.c: Likewise. - * libio/stdfiles.c: Likewise. - * libio/stdio.c: Likewise. - * libio/strfile.h: Likewise. - * libio/strops.c: Likewise. - * libio/vasprintf.c: Likewise. - * libio/vscanf.c: Likewise. - * libio/vsnprintf.c: Likewise. - - * manual/libc.texinfo: Add menu entries for chapter on message - translation. - * manual/locale.texi: Correct next entry in @node for new chapter. - * manual/search.texi: Likewise for previous link. - * manual/message.texi: New file. - * manual/startup.texi: Document LC_ALL, LC_MESSAGES, NLSPATH, - setenv, unsetenv, and clearenv. - * manual/string.texi: Fix typos. Patch by Jim Meyering. - - * math/Makefile (test-longdouble-yes): Enable. We want long double - tests now. - - Crusade against strcat. - * nis/nss_nisplus/nisplus-publickey.c: Remove uses of strcat. - * stdlib/canonicalize.c: Likewise. - - * posix/glob.h: Define __const if necessary. Use __const in all - prototypes. - - * sysdeps/generic/stpcpy.c: Use K&R form to allow use in other - GNU packages. - - * posix/wordexp.c: Completely reworked buffer handling for much - better performance. Patch by Tim Waugh. - - * socket/sys/sochet.h (getpeername): Fix type of LEN parameter, - it must be socklen_t. - - * 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>. - -1997-08-18 15:21 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Fix memory leak - in cleanup code. - -1997-08-17 Paul Eggert <eggert@twinsun.com> - - * 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. - -1997-08-10 19:17 Philip Blundell <Philip.Blundell@pobox.com> - - * inet/getnameinfo.c: Tidy up. - * sysdeps/posix/getaddrinfo.c: Likewise. - - * 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. - -1997-08-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.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. - -1997-08-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Makerules (lib%.so): Depend on $(+preinit) and $(+postinit). - (build-shlib): Filter them out of $^. - -1997-08-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf/dl-error.c (_dl_signal_error): Fix error message. - -1997-08-16 04:06 Ulrich Drepper <drepper@cygnus.com> - - * assert/assert.h [__USE_GNU]: Undefine assert_perror. - Reported by Theodore C. Belding <Ted.Belding@umich.edu>. - -1997-08-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Makeconfig: Change object suffixes from *.[spgb]o to *.o[spgb] - to avoid conflict with PO files. - * Makerules: Likewise. - * Rules: Likewise. - * elf/Makefile: Likewise. - * extra-lib.mk: Likewise. - * gmon/Makefile: Likewise. - * nis/Makefile: Likewise. - * nss/Makefile: Likewise. - * resolv/Makefile: Likewise. - * rpm/Makefile: Likewise. - * sunrpc/Makefile: Likewise. - * sysdeps/sparc/elf/Makefile: Likewise. - * sysdeps/sparc64/elf/Makefile: Likewise. - * sysdeps/unix/sysv/linux/sparc/Makefile: Likewise. - (ASFLAGS-.os): Renamed from as-FLAGS.os. - -1997-08-14 03:14 Ulrich Drepper <drepper@cygnus.com> - - * elf/dl-minimal.c: Don't use relative #include paths. - (malloc): Don't try to initialize _dl_pagesize, it already is. - (__sigjmp_save, longjmp): Reformat. - - * sysdeps/generic/dl-sysdep.c: Implement _dl_show_auxv function to - show content of auxiliary array. - (_dl_sysdep_start): Remember start of auxiliary vector. - * sysdeps/mach/hurd/dl-sysdep.c: (_dl_show_auxv): New dummy function. - * elf/link.h: Add prototype for _dl_show_auxv. - * elf/rtld.c (dl_main): Call _dl_show_auxv if LD_SHOW_AUXV envvar - is present. - - * libio/iofdopen.c: Better prepare for use in libstdc++. - * libio/iofflush.c: Likewise. - * libio/iofgetpos.c: Likewise. - * libio/iofgets.c: Likewise. - * libio/iofopen.c: Likewise. - * libio/iofputs.c: Likewise. - * libio/iofread.c: Likewise. - * libio/iofsetpos.c: Likewise. - * libio/ioftell.c: Likewise. - * libio/iofwrite.c: Likewise. - * libio/iogetdelim.c: Likewise. - * libio/iogets.c: Likewise. - * libio/iopopen.c: Likewise. - * libio/ioputs.c: Likewise. - * libio/iosetbuffer.c: Likewise. - * libio/iosetvbuf.c: Likewise. - * libio/ioungetc.c: Likewise. - * libio/iovsprintf.c: Likewise. - * libio/iovsscanf.c: Likewise. - - * manual/creature.texi: Mention _XOPEN_SOURCE_EXTENDED in correct - place. - - * manual/math.texi: Add comment to sincos decsription to say it's a - GNU extension. - Fix description of random function. - - * 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>. - - * stdio-common/_itoa.c: Don't use relateive #include paths. - - * 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. - -1997-08-13 09:44 Philip Blundell <Philip.Blundell@pobox.com> - - * 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. - -1997-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * io/ftw.c (object_compare): Avoid memcmp when comparing scalar - types. - -1997-08-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * math/libm-test.c (cbrt_test): Add epsilon for long double to - `cbrt (-0.001)'. - -1997-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/stub/bits/string.h: Fix comment. - -1997-08-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf/Makefile (routines): Remove dl-version. - (dl-routines): Add it here instead. This removes dead code from - libc.so. - -1997-08-12 17:17 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> - - * 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(). - -1997-08-11 23:00:32 1997 Mark Kettenis <kettenis@phys.uva.nl> - - * 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. - - * posix/getopt.c: Recognize Windog by _WINDOWS32 not WIN32. - Patch by Paul D. Smith <psmith@BayNetworks.COM>. - -1997-08-12 13:51 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>. - -1997-08-11 23:55 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers): - Add bits/mman.h. - -1997-08-11 08:51:21 1997 H.J. Lu <hjl@gnu.ai.mit.edu> - - * stdlib/fmtmsg.c (fmtmsg): Add static to - __libc_once_define macro. - - * libc.map (__progname_full, __progname): Added. - -1997-08-04 08:31 H.J. Lu <hjl@gnu.ai.mit.edu> - - * 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. - -1997-08-11 11:58 Richard Henderson <rth@cygnus.com> - - 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. - -1997-08-11 11:58 Richard Henderson <rth@cygnus.com> - - Sparc64 merge: - * configure.in: Change up subdirectories, rename sparc8->sparcv8. - - * csu/Makefile: Nuke need-nopic-initfini bits. The problem was - that sparc64 ld did not recognize pic relocs at all. - - * 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. - - * 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. - - * shlib-versions: Rename sparc64 ld.so to not conflict with sparc32 - on the same machine. - - Move old sysdeps/sparc contents to sysdeps/sparc/sparc32, - rename sparc8 subdir to sparcv8, move sysdeps/sparc64 content to - sysdeps/sparc/sparc64. Same for sysdeps/unix/sysv/linux/sparc. - - * sysdeps/sparc/Implies: Do ieee754 here. - * sysdeps/sparc/configure.in: Move from sparc32/. - * sysdeps/sparc/sparc32/Implies: Do wordsize here. - * sysdeps/sparc/sparc64/Implies: Likewise. - - * 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. - - * sysdeps/sparc/sparc32/fpu/fpu_control.h: Move from ../. - * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise. - - * sysdeps/sparc/sparc32/udiv_qrnnd.S: Clean up PIC support. - - * 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. - - * sysdeps/sparc/sparc64/bsd-_setjmp.S: Remove. - * sysdeps/sparc/sparc64/bsd-setjmp.S: Remove. - * sysdeps/unix/sysv/linux/sparc/sparc64/bsd-_setjmp.S: New empty file. - * sysdeps/unix/sysv/linux/sparc/sparc64/bsd-setjmp.S: New empty file. - * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add __longjmp alias. - * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Add weak _setjmp - and setjmp entry points. - - * sysdeps/sparc/sparc64/dl-machine.h: Finish real implementation. - - * sysdeps/sparc/sparc64/elf/crtbegin.S: Add copyright, fix PIC. - * sysdeps/sparc/sparc64/elf/crtend.S: Likewise. - - * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (struct sigaction): - Fix sa_flags size for sparc64; add sa_restorer for kernel. - - * 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>. - -1997-08-09 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. - -1997-08-10 18:48 Ulrich Drepper <drepper@cygnus.com> - - * 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/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. - - * gmon/gmon.c (__monstartup): Use calloc instead of malloc+memset. - - * gmon/sys/gmon.h: Add prototype for write_profiling. - - * 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. - - * sysdeps/stub/bits/libc-lock.h (__libc_once_define): Add new first - parameter for class. - - * 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. - - * manual/time.texi: Document localtime_r, gmtime_r, asctime_r, and - ctime_r. - Mention that tzname values must not be changed. - - * manual/users.texi: Document UTMP/WTMP handling functions. - Mainly written by Mark Kettenis. - - * math/libm-test.c (cbrt_test): Add test for number with aboslute - value < 1.0. - - * nss/nss_files/files-XXX.c (internal_setent): If opening of file - failed with EGAIN return NSS_STATUS_TRYAGAIN. - * nss/nss_files/files-alias.c (internal_setent): Likewise. - - * sysdeps/generic/bits/utmp.h: Pretty print. - - * sysdeps/i386/i586/strcpy.S: New file. Much faster implementation. - * sysdeps/i386/i586/stpcpy.S: New file. - * sysdeps/i386/i686/Implies: Don't fall back on i586 versions since - these are less efficient than i486/i386 versions. - - * sysdeps/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. - -1997-08-08 20:20 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * nis_cache.c: Replace dummy functions. - - * libc.map: Add xdr_sizeof symbol. - - * sunrpc/Makefile: Add xdr_sizeof to routines. - * sunrpc/rpc/xdr.h: Add xdr_sizeof prototype. - * sunrpc/xdr_sizeof.c: New, from tirpc 2.3. - -1997-08-08 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * sysdeps/mach/bits/libc-lock.h (__libc_once): Define correctly. - -1997-08-07 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * sysdeps/mach/hurd/profil.c (fetch_samples): Put parens in the - right place. - -1997-08-06 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * sysdeps/mach/hurd/profil.c (fetch_samples): Do arithmetic on - PC's in long long to avoid overflow. - -1997-08-07 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * sysdeps/mach/bits/libc-lock.h (__libc_once, __libc_once_define): - New macros. - -1997-08-06 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * nis/Makefile (headers): Remove bits/nislib.h. - -1997-08-06 14:54 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/mach/hurd/Subdirs: Add login. - -1997-08-06 14:23 Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de> - - * db/hash/hash.c (init_hash): Don't use stat() if it doesn't provide - the preferred block size. - - * 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. - - * login/programs/utmpdump.c (print_entry): Always use ut_tv field. - - * login/programs/xtmp.c: Fix numerous xtmp/utmp typos. Use the ut_tv - field for timestamps if supported. - - * login/programs/xtmp.h: Fix xtmp/utmp typo. - - * sysdeps/posix/defs.c (stdstream): Change (PTR) to (void *). - - * 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. - -1997-08-05 13:28 Philip Blundell <pb@spring.nexus.co.uk> - - * sysdeps/standalone/arm/bits/errno.h: Add EISDIR, EOPNOTSUPP; - tidy up formatting. - - * Makefile (subdirs): Remove `login'. - * sysdeps/unix/Subdirs: New file; build `login' subdirectory - for Unix systems. - -1997-08-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/generic/bits/utmpx.h: New file. - - * 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. - -1997-08-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * libc.map: Add missing symbols. - -1997-08-05 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * manual/socket.texi: Correct typos. - - * manual/math.texi: Correct typos. - - * manual/time.texi (Formatting Date and Time): Likewise. - -1997-08-04 13:06 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * 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/mach/hurd/profil.c (fetch_samples): Initialize NSAMPLES. - -1997-08-01 17:53 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * sysdeps/mach/hurd/profil.c (fetch_samples): Sample buffer need - not be vm_deallocated; it's a stack buffer. - (profil_vm_deallocate): Delete prototype. - (#include <../mach/RPC_vm_deallocate_rpc.c>): Drop this - inclusion. - * sysdeps/mach/hurd/Makefile - ($(common-objpfx)hurd/../mach/RPC_vm_deallocate_rpc.c): Delete - this rule. - - * sysdeps/mach/hurd/profil.c (fetch_samples): New function, guts - from profile_waiter. - (profile_waiter): Use fetch_samples. - (profil): When turning off profiling, fetch the last bunch of - samples before disabling PC sampling. - (fetch_samples): Add prototype. - -1997-07-30 12:53 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * sysdeps/mach/hurd/Makefile: Give normal rules for the mach RPC - source included by profil.c instead of trying to use - before-compile grot. - -1997-07-23 15:04 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * sysdeps/mach/hurd/profil.c (profile_waiter): Do vm_deallocate - after releasing lock. Use special RPC stubs and avoid assert, - thus making this function entirely independent of the threadvar - mechanism and of cthreads. - (lock): Convert to be a spin lock instead of a mutex, so that the - waiter thread need not use cthreads. Use a fork prepare hook - instead of _hurd_fork_locks to make sure we are clean before - forking. - (fork_profil_child): Renamed from fork_profil. - (profil_reply_port): New variable. - (profil_vm_deallocate, profil_task_get_sampled_pcs): Special RPC - stubs made by special hacks. - * sysdeps/mach/hurd/Makefile (before-compile): Add the mach RPC - source files that profil.c needs if we are in the gmon directory. - - * mach/setup-thread.c (__mach_setup_thread): Delete avoidance of a - cthreads bug that hasn't existed for two years. - -1997-08-04 15:29 Ulrich Drepper <drepper@cygnus.com> - - * locale/programs/localedef.c (main): Set bit in avail for those - categories which are successfully read. - * locale/programs/locfile.c (check_all_categories): Don't check - categories if they are not available. - (write_all_categories): Don't write categories if they are not - available. - - * 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. - - * termios/cfsetspeed.c: Rewrite loop to do what it shall do. - - * wcsmbs/Makefile (tests): Add tst-wcstof. - * wcsmbs/tst-wcstof.c: New file. - -1997-08-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/m68k/__longjmp.c: Replace call to abort by infinite - loop, to avoid dragging stdio into the dynamic linker. - -1997-08-02 19:44 H.J. Lu <hjl@gnu.ai.mit.edu> - - * nis/nis_findserv.c (xid, xid_seed, xid_lookup): Make them - u_int32_t. - -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. - - * libc.map: Add wordexp, wordfree. - - * posix/Makefile (routines): Add wordexp. - -1997-08-03 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * posix/wordexp.c: Correct typo in comment. - (wordexp): Likewise. - - * manual/errno.texi (Error Codes): Fix typo. - -1997-08-03 15:28 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>. - -1997-08-02 21:27 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. - - * nis/Makefile (headers): Add bits/nislib.h. - * nis/rpcsvc/nislib.h: Moved to .... - * nis/bits/nislib.h: ... here. - - * 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. - - * login/getutid_r.c: Remove parameter to setutent call. - * login/getutline_r.c: Likewise. - - * posix/wordexp.c: Complete rewrite. Not fully implemented yet, - though. Patch by Tim Waugh <tim@cyberelk.demon.co.uk>. - - * stdio-common/printf_fp.c: Remove relative include paths. - * stdio-common/printf_fphex.c: Likewise. - - * sysdeps/generic/crypt.h: Cleanup. Don't define non standard - elements unless __USE_GNU. - - * sysdeps/generic/vlimit.c: Pretty print. - * sysdeps/generic/vtimes.c: Likewise. - - * 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. - - * sysdeps/i386/fpu/bits/mathinline.h: More patches by John Bowman. - - * sysdeps/stub/if_index.h: Set errno in all functions and add - stub warnings. - - * sysdeps/stub/libc-lock.h: Add __libc_once. - -1997-08-02 01:57 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/ptrace.c: Don't set errno in error - case since the __syscall_ptrace call already did this. - Reported by Philip Gladstone <philip@talon.raptor.com>. - -1997-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/unix/sysv/linux/sys/fsuid.h: Change include - <gnu/types.h> to <sys/types.h>. - -1997-08-01 23:18 Ulrich Drepper <drepper@cygnus.com> - - * csu/defs.awk: Fix regexp for end and align. - Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>. - - * 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>. - -1997-08-01 18:45 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * nis/nss_nisplus/nisplus-alias.c: Fix NULL pointer problems - * nis/nss_nisplus/nisplus-grp.c: Likewise. - -1997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf/dl-profile.c (_dl_start_profile): Use _dl_sysdep_error - instead of fprintf. - -1997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * manual/socket.texi (Host Address Functions): Fix arguments of - @deftypefun. - -1997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf/dl-runtime.c: Avoid warning about profile_fixup being - unused. - - * sysdeps/m68k/dl-machine.h: Add support for shared library - profiling. - -1997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * md5-crypt/Makefile (extra-objs): Add onlymd5-crypt.o for - dependencies. - -1997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Make-dist (subdirs): Distribute both aout and elf. - -1997-07-31 23:04 Mark Kettenis <kettenis@phys.uva.nl> - - * login/utmp-private.h: Remove reset argument from backend - setutent. - * login/getutent_r.c (__setutent): Allways call the setutent - function in the daemon backend. - (setutent_unknown): Function removed. - (getutent_unknown, pututline_unknown): Call __setutent instead of - setutent_unknown. - * login/utmp_file.c (setutent_file): Removed reset argument. All - callers changed. - * login/utmp_daemon.c (setutent_daemon): Removed reset - argument. All callers changed. Try to open connection even if a - previous connection failed, but first check if the sockets exist - in the filesystem. - - * login/utmp_daemon.c (pututline_daemon): Try to open connection - before reporting failure. - - * login/programs/database.c (open_database): Create compatibility - file if it does not already exist. Supply mode argument in open - calls to guarantee that created files have the proper protection. - - * login/programs/utmpd.c (main): Remove files created by a - previous `bind' before creating sockets. - Suggested by a sun <asum@zoology.washington.edu>. - -1997-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * math/libm-test.c: Remove unneeded function check_int_exec. - - * BUGS: Correct typos. - - * gmon/gmon.c: Add alias for monstartup, declare _strerror_internal. - -1997-07-30 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * manual/socket.texi (Host Address Functions): Reformat inet_ntop - entry to confirm with expected behaviour of some scripts. - - * libc.map: Add functions/variables in global namespace, - remove wildcards. - -1997-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * resolv/libresolv.map: Add variables and routines used by named, - nslookup and other bind utils. - * libc.map: Likewise. - -1997-07-31 00:35 Philip Blundell <Philip.Blundell@pobox.com> - - * sysdeps/unix/sysv/linux/if_index.c: Rewrite to avoid using /proc - filesystem. - * inet/test_ifindex.c: New file. - * inet/Makefile (tests): Add test_ifindex. - -1997-08-01 04:25 Ulrich Drepper <drepper@cygnus.com> - - * nis/nss_nisplus/nisplus-parser.c: Fix another bug in the parser. - Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>. - - * manual/errno.texi: Fix typo. - Reported by Erik Talvola <etalvo@sapient.com>. - -1997-07-28 23:35 Ulrich Drepper <drepper@cygnus.com> - - * csu/gmon-start.c (__gmon_start__): Call __monstartup not - monstartup. - * gmon/gmon.c: Rename moncontrol to __moncontrol and monstartup - to __monstartup. - * gmon/sys/gmon.h: Fix prototypes. - * gmon/sys/gmon_out.h: Pretty print. - - * gmon/bb_exit_func.c (__bb_exit_func): Use memcpy instead of bcopy. - * gmon/gmon.c (__monstartup): Likewise. - (write_hist): Remove dependency on 32 bit int. - (_mcleanup): Don't call perror, use fprintf. - - * elf/dl-load.c: Fix handling of current directory in search path. - - * elf/Makefile (dl-routines): Add dl-profile. - * elf/dl-profile.c: New file. - * elf/dl-runtime.c (fixup): Add new parameter with address to store - relocation result in to elf_machine_relplt. - (profile_fixup): New function. - * elf/do-rel.h (elf_dynamic_do_rel): Add new parameter with address - to store relocation result in to elf_machine_relplt. - * elf/dl-support.c: Define _dl_profile and _dl_profile_map. - * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Add new parameter and - call elf_machine_runtime_setup with extra argument. - * elf/dl-reloc.c (_dl_relocate_object): Add new argument to - ELF_DYNAMIC_RELOCATE. - * elf/link.h: Add prototypes for new functions and variables. - * elf/rtld.c: Parse LD_PROFILE and LD_PROFILE_OUTPUT environment - variables and call _dl_start_profile if necessary. - * include/sys/gmon_out.h: New file. - * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Add - new parameter to enable profiling. - (elf_machine_rela): Add new parameter to specify place to store - result in. - * sysdeps/m68k/dl-machine.h: Likewise. - * sysdeps/mips/dl-machine.h: Likewise. - * sysdeps/mips/mips64/dl-machine.h: Likewise. - * sysdeps/powerpc/dl-machine.h: Likewise. - * sysdeps/sparc/dl-machine.h: Likewise. - * sysdeps/sparc64/dl-machine.h: Likewise. - * sysdeps/i386/dl-machine.h: Likewise. - (elf_machine_runtime_setup): Setup got[2] to _dl_runtime_resolve if - we do profiling. - (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add code for _dl_runtime_profile. - - * 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. - - * string/string.h: Pretty print. - - * sysdeps/i386/fpu/bits/mathinline.h: Major update by John Bowman. - Add float and long double versions. - -1997-07-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf/rtld.c (print_unresolved): Replace empty object name by main - program name. - -1997-07-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/generic/htons.c (htons): Renamed from __htons. - -1997-07-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/m68k/bits/byteswap.h: New file. - -1997-07-27 23:50 Philip Blundell <Philip.Blundell@pobox.com> - - * 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. - - * manual/socket.texi: Document some more IPv6 things. - * manual/libc.texinfo: Likewise. - -1997-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * libc.map: Define missing symbol. - -1997-07-27 14:31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * 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. - -1997-07-26 04:14 Ulrich Drepper <drepper@cygnus.com> - - * 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. - - * elf/dl-error.c (_dl_signal_error): Make message nicer. - - * nss/libnss_files.map: Fix typo. - Reported by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>. - - * sysdeps/generic/strsep.c: Optimize case where separator set contains - only one character. - - * 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. - -1997-07-25 09:15 H.J. Lu <hjl@gnu.ai.mit.edu> - - * 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. - - * sysdeps/mips/bsd-_setjmp.S: Remove __PIC__ comment. - * sysdeps/mips/bsd-setjmp.S: Likewise. - - * sysdeps/mips/dl-machine.h: Remove extra stuff. - * sysdeps/mips/mips64/dl-machine.h: Likewise. - -1997-07-25 18:55 Philip Blundell <Philip.Blundell@pobox.com> - - * sysdeps/standalone/arm/sysdep.c: New file. - -1997-07-25 13:25 Philip Blundell <Philip.Blundell@pobox.com> - - * aout/Makefile: New file. - * Makeconfig (binfmt-subdir): Assume a.out when not ELF. - - * 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. - -1997-07-25 16:24 H.J. Lu <hjl@gnu.ai.mit.edu> - - * elf/dl-deps.c (_dl_map_object_deps): Fix a typo. - -1997-07-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * math/libm-test.c (ccos_test, ccosh_test): Fix sign in some - tests. - -1997-07-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sunrpc/clnt_udp.c (clntudp_call): Rename cu_wait from timeout to - not shadow the variable in the outer scope. - -1997-07-24 03:14 Ulrich Drepper <drepper@cygnus.com> - - * elf/dl-deps.c: Complete rewrite to handle DT_AUXILIARY correctly. - - * inet/Makefile (tests): Add htontest. - * inet/htontest.c: New file. - - * 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. - - * sysdeps/unix/i386/sysdep.h (DO_CALL): Use lcall, binutils have - been fixed meanwhile. - Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>. - -1997-07-24 00:53 Philip Blundell <Philip.Blundell@pobox.com> - - * db/hash/hash.c (init_hash): Only use statbuf.st_blksize if it - exists for this port. - -1997-07-24 00:12 Philip Blundell <Philip.Blundell@pobox.com> - - * sysdeps/standalone/arm/bits/errno.h (ESTALE): Add. - -1997-07-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * manual/argp.texi (Argp Option Vectors): Use @minus, not @math, - to format a proper minus sign. - -1997-07-22 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. - - * 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. - -1997-07-23 05:10 Ulrich Drepper <drepper@cygnus.com> - - * 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. - -1997-07-16 10:09 Fila Kolodny <fila@ibi.com> - - * 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. - -1997-07-22 09:54 H.J. Lu <hjl@gnu.ai.mit.edu> - - * inet/netinet/in.h (htons): Fix typos. - - * sysdeps/i386/bits/htontoh.h (__ntohs): Return the value. - -1997-07-22 11:47 Ulrich Drepper <drepper@cygnus.com> - - * nss/nsswitch.c (nss_lookup_function): Include function.def, not - functions.def. - Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>. - -1997-07-22 01:35 Ulrich Drepper <drepper@cygnus.com> - - * Makerules (+make-deps): Use $(CFLAGS) in run of $(+mkdep) so - that optimizing is also selected for dependency generation. - - * configure.in: Add machine description for TI c[34]x. - - * 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. - - * sysdeps/i386/fpu/bits/mathinline.h: Correct and optimized compare - macros. - - * sysdeps/mips/dl-machine.h: Remove mips64 dependent parts. - * sysdeps/mips/mips64/dl-machine.h: New file. - - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't install - syscall-list.h. - -1997-07-12 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * libc.map: Add missing symbol _obstack. - -1997-07-14 08:22 H.J. Lu <hjl@gnu.ai.mit.edu> - - * sysdeps/mips/rtld-parms: New. - - * sysdeps/unix/sysv/linux/mips/lxstat.h: Moved to - * sysdeps/unix/sysv/linux/mips/lxstat.c: ...this. - - * sysdeps/unix/sysv/linux/mips/sgidef.h: Moved to - * sysdeps/unix/sysv/linux/mips/sgidefs.h: ...this. - - * sysdeps/generic/dl-sysdep.c (_start): Change to ENTRY_POINT. - -1997-07-17 08:39 H.J. Lu <hjl@gnu.ai.mit.edu> - - * sysdeps/mips/dl-machine.h: Remove extra stuff. - -1997-07-06 07:18 Geoff Keating <geoffk@ozemail.com.au> - * sysdeps/powerpc/bits/endian.h: Handle multiple endianess. - - * 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/powerpc/add_n.s: New file. - * sysdeps/powerpc/sub_n.s: New file. - * sysdeps/powerpc/lshift.s: Ported XCOFF->ELF (from GMP). - * sysdeps/powerpc/mul_1.s: Ported XCOFF->ELF (from GMP). - * sysdeps/powerpc/addmul_1.s: Ported XCOFF->ELF (from GMP). - * sysdeps/powerpc/submul_1.s: Ported XCOFF->ELF (from GMP). - * sysdeps/powerpc/rshift.s: Ported XCOFF->ELF (from GMP). - - * math/libm-test.c (cos_test, sin_test, sincos_test): Use - precomputed pi/6 rather than having gcc calculate it, otherwise - tests give inaccurate result due to inaccurate input. - * math/libm.map: Add __fe_*_env constants to list of exported - symbols. - - * sysdeps/libm-ieee754/s_isinf.c: Simplify, make faster. - * sysdeps/libm-ieee754/s_isinff.c: Simplify, make faster. - * sysdeps/libm-ieee754/s_atan2f.c: Correct value of pi to be correct - round-to-nearest value. - - * sysdeps/libm-ieee754/e_log.c: Make sure exceptions are raised. - * sysdeps/libm-ieee754/e_log10.c: Likewise. - * sysdeps/libm-ieee754/e_log10f.c: Likewise. - * sysdeps/libm-ieee754/e_logf.c: Likewise. - * sysdeps/libm-ieee754/s_log1p.c: Likewise. Also use correct -Inf. - * sysdeps/libm-ieee754/s_log1pf.c: Likewise. Also use correct -Inf. - * sysdeps/libm-ieee754/s_log2.c: Likewise. - * sysdeps/libm-ieee754/s_log2f.c: Likewise. - -1997-07-15 21:54 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * 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. - -1997-07-20 19:33 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * libc.map: Add _null_auth and _seterr_reply. - - * sunrpc/clnt_udp.c (clntudp_call): If xargs is NULL, don't encode it. - -1997-07-19 22:53 Ulrich Drepper <drepper@cygnus.com> - - * 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. - - * libio/stdio.h: Declare snprint and vsnprintf for __USE_ISOC9X. - - * math/math.h: Correct comments. Include <bits/mathinline.h> - always when optimizing. - -1997-07-19 10:23 Mark Kettenis <kettenis@phys.uva.nl> - - * time/getdate.c (__getdate_r): - Report failure if string was not completely parsed. - (getdate): Set getdate_err on failure. - -1997-07-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * include/gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): - Synchronize with malloc/obstack.c. - -1997-07-16 Miles Bader <miles@gnu.ai.mit.edu> - - * 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. - -1997-07-15 Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu> - - * 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. - -1997-07-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/posix/ttyname_r.c (__ttyname_r): Correct comment. - * posix/unistd.h: Likewise. - * sysdeps/stub/ttyname_r.c: Likewise. - -1997-07-14 23:37 Ulrich Drepper <drepper@cygnus.com> - - * inet/getnameinfo.c: Pretty print. - Correctly enlarge buffers. - - * login/programs/utmpd.c: Use _() instead of gettext(). - - * 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. - - * 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. - - * 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. - - * sysdeps/mips/mips64/Implies: Imply ieee754. - - * 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>. - - * stdio-common/snprintf.c: Use ISO C function definition form. - - * 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. - - * stdio-common/strops.c: Partialy undo last change. Will need - more investigation. - -1997-07-10 Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu> - - * sysdeps/mach/hurd/select.c (__select): Need bit count for - MACH_MSG_TYPE_INTEGER_T. - -1997-07-08 10:12 Fila Kolodny <fila@ibi.com> - - * sysdeps/i370/Implies: New file for i370-ibm-mvs port. - * sysdeps/mvs/Implies: Likewise. - -1997-07-09 23:06 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * nis/Makefile: Add new source files. - - * nis/nis_intern.h: Add new internal functions. - * nis/rpcsvc/nislib.h: Likewise. - - * 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. - - * 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. - - * nis/nss_nis/nis-publickey.c: Remove libc-lock.h include. - - * nis/nis_intern.c: Removed. - - * nis/nis_call.c: Complete rewrite. - * nis/nis_lookup.c: Likewise. - * nis/nis_table.c: Likewise. - - * nis/libnsl.map: Add missing symbols. - - * nis/nis_print.c: Fix nis_print_link. - * nis/nis_subr.c: Fix nis_getnames. - -1997-07-09 07:19 H.J. Lu <hjl@gnu.ai.mit.edu> - - * posix/execvp.c (execvp): Handle ESTALE. - -1997-07-10 13:54 Ulrich Drepper <drepper@cygnus.com> - - * posix/regex.c: Make CHAR_SET_SIZE definition always available, - even if SYNTAX_TABLE is defined. - Patch by Akim Demaille <demaille@inf.enst.fr>. - -1997-07-09 08:16 H.J. Lu <hjl@gnu.ai.mit.edu> - - * libio/fileops.c (_IO_file_underflow): Adjust pointers - before calling _IO_SYSREAD (). - -1997-07-07 22:54 Zack Weinberg <zack@rabi.phys.columbia.edu> - - * 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. - - * sysdeps/sparc/rem.S: Regenerated. - * sysdeps/sparc/sdiv.S: Regenerated. - * sysdeps/sparc/udiv.S: Regenerated. - * sysdeps/sparc/urem.S: Regenerated. - - * sysdeps/sparc/DEFS.h: Removed. - * sysdeps/sparc/elf/DEFS.h: Removed. - * sysdeps/sparc/Dist: Don't distribute DEFS.h. - - * sysdeps/unix/sparc/sysdep.h: Use 4 byte alignment. Add .type - directive #ifdef HAVE_ELF. Minor format changes. - - * sysdeps/alpha/DEFS.h: Removed. - * sysdeps/alpha/Dist: Don't distribute DEFS.h. - -1997-07-07 19:03 H.J. Lu <hjl@gnu.ai.mit.edu> - - * math/test-fenv.c (feenv_nomask_test): Move - fesetenv (FE_NOMASK_ENV) after fork () to work with - SMP. - - * sysdeps/i386/fpu_control.h (_FPU_IEEE): Fix comment. - -1997-07-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * libc.map: Add _IO_peekc_locked. - -1997-07-07 15:45 Fila Kolodny <fila@ibi.com> - - * Makeconfig: Add dbobjdir to rpath-link analogous to nssobjdir. - -1997-07-08 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. - -1997-07-08 13:59 Ulrich Drepper <drepper@cygnus.com> - - * time/strftime.c (spaces, zeroes): Handle broken SGI compiler. - Patch by Richard Stallman <rms@gnu.ai.mit.edu>. - -1997-07-08 02:18 Ulrich Drepper <drepper@cygnus.com> - - * io/lockf.c (lockf): Clear fl before using. - Patch by sr@adb.fr. - - * libio/strops.c: Correctly handle _IO_write_end. - - * 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>. - - * 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>. - -1997-07-06 23:36 Ulrich Drepper <drepper@cygnus.com> - - * isomac.c (get_null_defines): Put NULL at end of list. - - * hurd/Makefile: Remove special handling of sunrpc code. - * sysdeps/mach/hurd/Makefile: Likewise. - Compile CThreads code. - * sunrpc/rpc_main.c: Don't use MAXPATHLEN. - * sysdeps/mach/bits/libc-lock.h: Add definitions for key handling - functions. - * sysdeps/stub/bits/libc-lock.h: Likewise. - * sysdeps/mach/hurd/net/ethernet.h: New file. - * sysdeps/mach/hurd/net/if.h: New file. - * sysdeps/mach/hurd/net/if_arp.h: New file. - * sysdeps/mach/hurd/net/if_ether.h: New file. - * sysdeps/mach/hurd/net/if_ppp.h: New file. - * sysdeps/mach/hurd/net/route.h: New file. - Patches by Fila Kolodny <fila@ibi.com>. - - * math/fenv-test.c: Add more tests. - Patch by Andreas Jaeger <aj@arthur.rhein-neckar.de>. - - * sysdeps/wordsize-32/inttypes.h: Correct values for INTFAST_MIN, - INTFAST_MAX, and UINTFAST_MAX. - * sysdeps/wordsize-64/inttypes.h: Likewise. - Correct intmax_t definition. - -1997-07-04 15:33 H.J. Lu <hjl@gnu.ai.mit.edu> - - * elf/rtld.c (dl_main): Add '\n' to _dl_sysdep_fatal (). - -1997-07-01 09:18 H.J. Lu <hjl@gnu.ai.mit.edu> - - * libc.map: Add missing symbol. - -1997-07-04 18:04 H.J. Lu <hjl@gnu.ai.mit.edu> - - * stdlib/tst-strtol.c: Don't assume cpp takes ~0UL as long - in cc1. Cpp in gcc doesn't do it. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add + net/if_packet.h. -1997-07-01 21:15 Andreas Jaeger <aj@arthur.rhein-neckar.de> + * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h. - * libio/libioP.h: Remove second definition of _IO_file_attach. +1997-11-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/i386/fpu/fraiseexcpt.c (feraiseexcept): Correct comments. + * md5-crypt/Makefile (extra-objs): Make recursively expanded + variable, since $(object-suffixes) is not defined yet. - * 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. +1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -1997-07-05 11:56 Ulrich Drepper <drepper@cygnus.com> + * db2/Makefile (distribute): db185/db185_int.src -> + db185/db185_int.h. - * login/login.c (tty_name): Use newly allocated buffer. - Patch by Jaakko Hyvätti <jaakko.hyvatti@iki.fi>. +1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * time/asctime.c: Never translate week and month name according - to LC_TIME. Patch by Paul Eggert <eggert@twinsun.com>. + * misc/tst-fdset.c: Don't require the value of FD_ISSET to be + exactly one. -1997-07-03 22:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * locale/setlocale.c (setname): Do nothing when reusing the same + * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level name. + * sysdeps/generic/e_acosl.c: Likewise. + * sysdeps/generic/e_asinl.c: Likewise. + * sysdeps/generic/e_atan2l.c: Likewise. + * sysdeps/generic/e_expl.c: Likewise. + * sysdeps/generic/e_fmodl.c: Likewise. + * sysdeps/generic/e_j0l.c: Likewise. + * sysdeps/generic/e_j1l.c: Likewise. + * sysdeps/generic/e_jnl.c: Likewise. + * sysdeps/generic/e_lgammal_r.c: Likewise. + * sysdeps/generic/e_log10l.c: Likewise. + * sysdeps/generic/e_logl.c: Likewise. + * sysdeps/generic/e_powl.c: Likewise. + * sysdeps/generic/e_sqrtl.c: Likewise. + * sysdeps/generic/e_exp2l.c: Likewise. + +1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * Make-dist (+sysdep-names): Remove extra paren. + * Makefile (distribute): Add stub-tag.h. + * elf/Makefile (distribute): Add atomicity.h. + * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) + [$(subdir)=socket]: Add net/if_packet.h. + * sysdeps/alpha/Dist: Remove setjmp_aux.c. + * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c, + net/if_packet.h, scsi/sg.h. -1997-07-03 20:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * libc.map: Add global variables of malloc. - -1997-07-03 13:24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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. - -1997-07-03 12:33 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/m68k/fpu/fraiseexcpt.c: Correct the FE_INEXACT and - FE_UNDERFLOW cases. - -1997-07-01 13:36 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. - -1997-07-01 16:40 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * hurd/hurdsig.c: Include <hurd/id.h>. - (reauth_proc): Call proc_setowner appropriately too. - -1997-07-01 09:18 H.J. Lu <hjl@gnu.ai.mit.edu> - - * libc.map: Add missing symbol. - -1997-06-30 12:12 Fila Kolodny <fila@ibi.com> - - * sysdeps/mach/hurd/fchdir.c: Make fchdir a weak alias of __fchdir. - * sysdeps/mach/hurd/getpeername.c (getpeername): Remove spurious - declaration of addr. - -1997-06-29 17:56 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * manual/argp.texi (Argp Option Vectors): Fix use of @math to make - it work in TeX. - -1997-06-27 21:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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. - - * 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. - - * 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. - -1997-06-29 23:03 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * math/test-fenv.c (feenv_nomask_test): New test for non masked - exceptions. - (feenv_mask_test): New test for masked exceptions - (feenv_tests): New function calls feenv_nomask_test and - feenv_mask_test. - (main): Call new tests. - (initial_tests): New test for initilisation. - -1997-06-29 23:43 Ulrich Drepper <drepper@cygnus.com> - - * 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/i386/fpu/fraiseexcpt.c: Correct FE_INEXACT case. - - * sysdeps/sparc/rem.S: Get trap definition properly. - * sysdeps/sparc/sdiv.S: Likewise. - * sysdeps/sparc/udiv.S: Likewise. - * sysdeps/sparc/urem.S: Likewise. - * sysdeps/sparc/setjmp.S: Include <sys/trap.h>. - * sysdeps/sparc/sys/trap.h: New file. - * sysdeps/unix/sysv/linux/sparc/sys/trap.h: New file. - -1997-06-25 10:26 Thorsten Kukuk <kukuk@uni-paderborn.de> - - * sysdeps/generic/rpc/auth.h: Add xdr_opaque_auth declaration. - -1997-06-29 10:34 Fila Kolodny <fila@ibi.com> - - * sysdeps/mach/hurd/select.c (__select): Change MACH_MSG_SIZE_INTEGER_T - to MACH_MSG_TYPE_INTEGER_T. - -1997-06-29 01:04 Richard Henderson <richard@gnu.ai.mit.edu> - - Initial sparc64-linux support: - * configure.in: Recognize sparc64 as being different from sparc. - * io/ftwtest-sh: Only invoke ld.so if it exists. - * math/Makefile (LDLIBS-*): Change from libm to math/libm to get - static tests to link. Honour $(omit-long-double-fcts) == yes. - * math/libm-test.c (test_single_exception): The argument to - fetestexcept is `int' not `fexcept_t'. - * shlib-versions: Recognize sparc64. - * signal/signal.h: Add typedef for stack_t. - - * stdio-common/_itoa.c: Defaulting UMUL_TIME==UDIV_TIME is broken. - Attempt to fix up most of this by cleaning up assumptions below, - but give up and change the defaults. - - * setjmp/longjmp.c: Moved to ... - * sysdeps/generic/longjmp.c: ... here. - * setjmp/sigjmp.c: Moved to ... - * sysdeps/generic/sigjmp.c: ... here. - - * sysdeps/sparc/bsd-_setjmp.S [PIC]: There wasn't even valid asm here. - Ought to fix up gas to catch these silly things properly. - * sysdeps/sparc/bsd-setjmp.S: Likewise. - - * sysdeps/unix/sysv/linux/sparc/errno.c: Remove. - * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Remove. - * sysdeps/unix/sysv/linux/sparc/kernel_stat.h: Tell xstat about - the unused fields. - - * sysdeps/sparc/sparc64/add_n.s: Moved to ... - * sysdeps/sparc64/add_n.S: ... here. Fix up %g4 and stack usage. - * sysdeps/sparc/sparc64/addmul_1.s: Likewise. - * sysdeps/sparc/sparc64/gmp-mparam.h: Likewise. - * sysdeps/sparc/sparc64/lshift.s: Likewise. - * sysdeps/sparc/sparc64/mul_1.s: Likewise. - * sysdeps/sparc/sparc64/rshift.s: Likewise. - * sysdeps/sparc/sparc64/sub_n.s: Likewise. - * sysdeps/sparc/sparc64/submul_1.s: Likewise. - - * sysdeps/sparc64/Implies: New file. - * sysdeps/sparc64/Makefile: Likewise. - * sysdeps/sparc64/bits/endian.h: Likewise. - * sysdeps/sparc64/bsd-_setjmp.S: Likewise. - * sysdeps/sparc64/bsd-setjmp.S: Likewise. - * sysdeps/sparc64/dl-machine.h: Likewise. - * sysdeps/sparc64/elf/Makefile: Likewise. - * sysdeps/sparc64/elf/crtbegin.S: Likewise. - * sysdeps/sparc64/elf/crtbeginS.S: Likewise. - * sysdeps/sparc64/elf/crtend.S: Likewise. - * sysdeps/sparc64/elf/crtendS.S: Likewise. - * sysdeps/sparc64/elf/start.S: Likewise. - * sysdeps/sparc64/fpu_control.h: Likewise. - * sysdeps/unix/sysv/linux/sparc64/Makefile: Likewise. - * sysdeps/unix/sysv/linux/sparc64/__longjmp.S: Likewise. - * sysdeps/unix/sysv/linux/sparc64/bits/setjmp.h: Likewise. - * sysdeps/unix/sysv/linux/sparc64/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/sparc64/brk.S: Likewise. - * sysdeps/unix/sysv/linux/sparc64/clone.S: Likewise. - * sysdeps/unix/sysv/linux/sparc64/fork.S: Likewise. - * sysdeps/unix/sysv/linux/sparc64/getcontext.S: Likewise. - * sysdeps/unix/sysv/linux/sparc64/init-first.h: Likewise. - * sysdeps/unix/sysv/linux/sparc64/kernel_stat.h: Likewise. - * sysdeps/unix/sysv/linux/sparc64/longjmp.S: Likewise. - * sysdeps/unix/sysv/linux/sparc64/pipe.S: Likewise. - * sysdeps/unix/sysv/linux/sparc64/profil-counter.h: Likewise. - * sysdeps/unix/sysv/linux/sparc64/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/sparc64/setjmp.S: Likewise. - * sysdeps/unix/sysv/linux/sparc64/sigjmp.S: Likewise. - * sysdeps/unix/sysv/linux/sparc64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sparc64/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/sparc64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sparc64/ucontext.h: Likewise. - -1997-06-28 16:28 H.J. Lu <hjl@gnu.ai.mit.edu> - - * configure.in: Add -nostartfiles -nostdlib when check for - --version-script. - -1997-06-28 12:03 H.J. Lu <hjl@gnu.ai.mit.edu> - - * sysdeps/powerpc/bits/endian.h: New file. - -1997-06-28 20:52 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/syscalls.list: Add getresgid and - setresgid. - -1997-06-27 20:09 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/sys/quota.h: Add <asm/types.h>. - Reported by a sun <asun@zoology.washington.edu>. - - * libc.map: Add _rpc_dtablesize. Reported by Thorsten Kukuk. - - * db/makedb.c: Exit with error if number of option is incorrect. - - * math/Makefile (tests): Add test-fenv. - * math/test-fenv.c: New file. Test for exception handling functions. - Written mainly by Andreas Jaeger. - - * sysdeps/i386/fpu/fraiseexcpt.c: Correct implementation. - - * sysdeps/mach/hurd/abi-tag.h: Set tag to 1 for Hurd and kernel - compatibility version to 0. Reported by Roland McGrath. - -1997-06-27 18:49 Philip Blundell <Philip.Blundell@pobox.com> - - * sysdeps/standalone/brk.c (__NONE_set_memvals): Correct typo. - * sysdeps/standalone/arm/bits/errno.h: Add ENOTDIR. - * sysdeps/stub/sys/param.h: Add definition of MAX and MIN. - -1997-06-27 10:44 Fila Kolodny <fila@ibi.com> - - * sysdeps/mach/hurd/dl-sysdep.c: Make _dl_sysdep_read_whole_file weak. - -1997-06-27 00:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf/dl-open.c (_dl_open): Check versions of all newly loaded - objects, including dependencies. - - * elf/dl-runtime.c (fixup): Always use version information if - available. - -1997-06-26 12:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/m68k/bits/nan.h: Renamed from sysdeps/m68k/nan.h. - -1997-06-26 11:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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. - -1997-06-27 02:17 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/syscalls.list: Add quotactl. - Reported by a sun. - -1997-06-26 21:50 Ulrich Drepper <drepper@cygnus.com> - - * 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. - - * Makerules: Move definition of load-map-file before use. - (lib%.so): Depend on load-map-file, not lib%-map. - - * manual/lgpl.texinfo: Update copyright. - -1997-06-24 09:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/m68k/fpu/bits/mathinline.h: Don't define __ilogb. - * sysdeps/m68k/fpu/s_ilogb.c: Define it here. Handle zero, NaN - and infinity specially. - * sysdeps/m68k/fpu/s_ilogbf.c, sysdeps/m68k/fpu/s_ilogbl.c: - Adapted. - - * sysdeps/m68k/fpu/bits/mathdef.h (FP_ILOGB0): Correct value. - -1997-06-26 17:06 Ulrich Drepper <drepper@cygnus.com> - - * 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>. - - * hurd/hurdsig.c (_hurdsig_init): Call _hurd_self_sigstate. - Patch by Kazumoto Kojima <kkojima@kk.info.kanagawa-u.ac.jp>. - -1997-06-26 09:02 Fila Kolodny <fila@ibi.com> - - * sysdeps/mach/hurd/abi-tag.h: New file. - - * sysdeps/mach/bits/libc-lock.h: Add typedef for __libc_key_t. - * sysdeps/stub/bits/libc-lock.h: Likewise. - - * 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. - - * sysdeps/mach/hurd/select.c (__select): Change MACH_MSG_SIZE_INTEGER_T - to sizeof(MACH_MSG_TYPE_INTEGER_T). - - * io/ftw.c (ftw_startup): Use PATH_MAX only if defined. - - * sysdeps/mach/hurd/open.c (__open): Fix type of parameter file. - - * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Add closefn to - paramater list since it is used. - - * sysdeps/mach/hurd/rename.c (rename): Fix type of paramater new. - - * sysdeps/mach/hurd/sigaltstack.c (sigaltstack): Change parameter from - ss to argss. - -1997-06-24 14:02 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * Rules: Update copyright. - * mach/Machrules: Likewise. - -1997-06-26 14:28 Ulrich Drepper <drepper@cygnus.com> - - * configure.in: Fix accidently removed AC_OUTPUT line. - Reported by Andreas Jaeger. - - * time/strftime.c: Don't define `memcpy' macro if HAVE_MEMCPY is - defined. Reported by Akim Demaille <demaille@inf.enst.fr>. - - * 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>. - -1997-06-23 22:20 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/alpha/_mcount.S: Update and reformat copyright, - remove trailing white spaces and send through unexpand. - * sysdeps/alpha/bb_init_func.S: Likewise. - * sysdeps/alpha/bzero.S: Likewise. - * sysdeps/alpha/ffs.S: Likewise. - * sysdeps/alpha/memset.S: Likewise. - * sysdeps/alpha/s_fabs.S: Likewise. - * sysdeps/alpha/strcmp.S: Likewise. - * sysdeps/alpha/strlen.S: Likewise. - * sysdeps/alpha/strncmp.S: Likewise. - * sysdeps/alpha/strncpy.S: Likewise. - * sysdeps/alpha/strrchr.S: Likewise. - * sysdeps/alpha/stxcpy.S: Likewise. - * sysdeps/alpha/stxncpy.S: Likewise. - * sysdeps/alpha/elf/start.S: Likewise. - * sysdeps/i386/strchr.S: Likewise. - * sysdeps/m68k/bsd-_setjmp.S: Likewise. - * sysdeps/m68k/bsd-setjmp.S: Likewise. - * sysdeps/m68k/elf/start.S: Likewise. - * sysdeps/mach/alpha/syscall.S: Likewise. - * sysdeps/mach/i386/syscall.S: Likewise. - * sysdeps/mips/elf/start.S: Likewise. - * sysdeps/sparc/alloca.S: Likewise. - * sysdeps/standalone/i386/start.S: Likewise. - * sysdeps/standalone/i386/force_cpu386/strtsupp.S: Likewise. - * sysdeps/standalone/i960/start.S: Likewise. - * sysdeps/standalone/m68k/m68020/start.S: Likewise. - * sysdeps/unix/_exit.S: Likewise. - * sysdeps/unix/fork.S: Likewise. - * sysdeps/unix/getegid.S: Likewise. - * sysdeps/unix/geteuid.S: Likewise. - * sysdeps/unix/getppid.S: Likewise. - * sysdeps/unix/syscall.S: Likewise. - * sysdeps/unix/arm/brk.S: Likewise. - * sysdeps/unix/arm/fork.S: Likewise. - * sysdeps/unix/bsd/hp/m68k/brk.S: Likewise. - * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise. - * sysdeps/unix/bsd/hp/m68k/wait3.S: Likewise. - * sysdeps/unix/bsd/i386/vfork.S: Likewise. - * sysdeps/unix/bsd/i386/wait3.S: Likewise. - * sysdeps/unix/bsd/m68k/pipe.S: Likewise. - * sysdeps/unix/bsd/m68k/syscall.S: Likewise. - * sysdeps/unix/bsd/m68k/sysdep.S: Likewise. - * sysdeps/unix/bsd/m68k/wait.S: Likewise. - * sysdeps/unix/bsd/osf/alpha/brk.S: Likewise. - * sysdeps/unix/bsd/osf/alpha/fork.S: Likewise. - * sysdeps/unix/bsd/osf/alpha/killpg.S: Likewise. - * sysdeps/unix/bsd/osf/alpha/pipe.S: Likewise. - * sysdeps/unix/bsd/osf/alpha/recv.S: Likewise. - * sysdeps/unix/bsd/osf/alpha/send.S: Likewise. - * sysdeps/unix/bsd/osf/alpha/sigblock.S: Likewise. - * sysdeps/unix/bsd/osf/alpha/sigpause.S: Likewise. - * sysdeps/unix/bsd/osf/alpha/sigsetmask.S: Likewise. - * sysdeps/unix/bsd/osf/alpha/sigvec.S: Likewise. - * sysdeps/unix/bsd/osf/alpha/start.S: Likewise. - * sysdeps/unix/bsd/osf/alpha/vhangup.S: Likewise. - * sysdeps/unix/bsd/sequent/i386/getgroups.S: Likewise. - * sysdeps/unix/bsd/sequent/i386/sigvec.S: Likewise. - * sysdeps/unix/bsd/sequent/i386/syscall.S: Likewise. - * sysdeps/unix/bsd/sun/sigreturn.S: Likewise. - * sysdeps/unix/bsd/sun/m68k/brk.S: Likewise. - * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise. - * sysdeps/unix/bsd/sun/m68k/syscall.S: Likewise. - * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise. - * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise. - * sysdeps/unix/bsd/ultrix4/wait3.S: Likewise. - * sysdeps/unix/bsd/ultrix4/mips/__handler.S: Likewise. - * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise. - * sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise. - * sysdeps/unix/bsd/vax/brk.S: Likewise. - * sysdeps/unix/bsd/vax/pipe.S: Likewise. - * sysdeps/unix/bsd/vax/sysdep.S: Likewise. - * sysdeps/unix/bsd/vax/vfork.S: Likewise. - * sysdeps/unix/bsd/vax/wait.S: Likewise. - * sysdeps/unix/bsd/vax/wait3.S: Likewise. - * sysdeps/unix/i386/brk.S: Likewise. - * sysdeps/unix/i386/fork.S: Likewise. - * sysdeps/unix/i386/pipe.S: Likewise. - * sysdeps/unix/i386/sigreturn.S: Likewise. - * sysdeps/unix/i386/syscall.S: Likewise. - * sysdeps/unix/i386/vfork.S: Likewise. - * sysdeps/unix/i386/wait.S: Likewise. - * sysdeps/unix/mips/brk.S: Likewise. - * sysdeps/unix/mips/fork.S: Likewise. - * sysdeps/unix/mips/pipe.S: Likewise. - * sysdeps/unix/mips/sigreturn.S: Likewise. - * sysdeps/unix/mips/sysdep.S: Likewise. - * sysdeps/unix/mips/wait.S: Likewise. - * sysdeps/unix/sparc/brk.S: Likewise. - * sysdeps/unix/sparc/fork.S: Likewise. - * sysdeps/unix/sparc/pipe.S: Likewise. - * sysdeps/unix/sparc/sysdep.S: Likewise. - * sysdeps/unix/sparc/vfork.S: Likewise. - * sysdeps/unix/sysv/i386/signal.S: Likewise. - * sysdeps/unix/sysv/i386/time.S: Likewise. - * sysdeps/unix/sysv/irix4/__handler.S: Likewise. - * sysdeps/unix/sysv/irix4/sigreturn.S: Likewise. - * sysdeps/unix/sysv/irix4/uname.S: Likewise. - * sysdeps/unix/sysv/irix4/wait.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/pipe.S: Likewise. - * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/fork.S: Likewise. - * sysdeps/unix/sysv/sco3.2.4/sigaction.S: Likewise. - * sysdeps/unix/sysv/sco3.2.4/sysconf.S: Likewise. - * sysdeps/unix/sysv/sco3.2.4/uname.S: Likewise. - * sysdeps/unix/sysv/sco3.2.4/waitpid.S: Likewise. - * sysdeps/unix/sysv/sysv4/i386/sys-sig.S: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/fsync.S: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S: Likewise. - * sysdeps/vax/bsd-_setjmp.S: Likewise. - * sysdeps/vax/bsd-setjmp.S: Likewise. - -1997-06-26 02:06 Ulrich Drepper <drepper@cygnus.com> - - * posix/Makefile (CFLAGS-regex.c): -DDEBUG was not meant for the - public. - - * Makerules ($(common-objpfx)libc.so): Use $(load-map-file) in - dependency, not $(libc-map). - - * sysdeps/posix/mk-stdiolim.c: Pretty print. - -1997-06-25 15:54 Fila Kolodny <fila@ibi.com> - - * sysdeps/mach/hurd/bits/fcntl.h: Change include of gnu/types.h to - include of bits/types.h. - - * sysdeps/posix/Makefile ($(common-objpfx)bits/stdio_lim.h): Don't - conditionalize this on whether we are cross-compiling. - -1997-06-21 15:47 H.J. Lu <hjl@gnu.ai.mit.edu> - - * elf/dl-lookup.c (do_lookup): Use default definition - for a default versioned symbol. - - * elf/dl-version.c (_dl_check_map_versions): Set the hidden field. - - * elf/dlvsym.c (__dlvsym): Set the hidden field to 1. - - * elf/link.h (r_found_version): Add the hidden field. - - * math/test-matherr.c: New file. - - * math/Makefile (tests): Add test-matherr. - (libm-support): Put back s_matherr. - (static-only-routines, aux): Remove s_matherr. - -1997-06-23 23:39 Ulrich Drepper <drepper@cygnus.com> - - * string/Makefile (headers): Change bytesex.h to bits/endian.h. - * sysdeps/generic/Makefile: Don't try to generate bytesex.h, but - bits/endian.h. - - * math/libm-test.c (lgamma_test): Make sure the test of the ilogb - function will not fail because of exceptions. - - * math/math.h: Add warning about use of M_* constants. - Pretty print. - -1997-06-23 11:36 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * hurd/path-lookup.c: Change GPL to LGPL, update and reformat - copyright, remove trailing white spaces and send through unexpand. - * inet/netinet/icmp6.h: Likewise. - * inet/netinet/in.h: Likewise. - * inet/netinet/ip6.h: Likewise. - * locale/programs/xmalloc.c: Likewise. - * locale/programs/xstrdup.c: Likewise. - * sysdeps/generic/make_siglist.c: Likewise. - * sysdeps/generic/morecore.c: Likewise. - * sysdeps/generic/sbrk.c: Likewise. - * sysdeps/generic/signame.c: Likewise. - * sysdeps/generic/signame.h: Likewise. - * sysdeps/generic/netinet/inbits.h: Likewise. - * sysdeps/posix/getpagesize.c: Likewise. - * sysdeps/unix/errnos-tmpl.c: Likewise. - * sysdeps/unix/getpagesize.c: Likewise. - * sysdeps/unix/make_errlist.c: Likewise. - * sysdeps/unix/mkfifo.c: Likewise. - * sysdeps/unix/nlist.c: Likewise. - * sysdeps/unix/start.c: Likewise. - * sysdeps/unix/sysv/linux/netinet/inbits.h: Likewise. - - * munch-tmpl.c: Update and reformat copyright, remove trailing - white spaces and send through unexpand. - * libio/clearerr_u.c: Likewise. - * libio/memstream.c: Likewise. - * libio/putc_u.c: Likewise. - * libio/putchar_u.c: Likewise. - * stdio-common/scanf.c: Likewise. - * stdlib/longlong.h: Likewise. - * sysdeps/alpha/__longjmp.c: Likewise. - * sysdeps/alpha/divrem.h: Likewise. - * sysdeps/alpha/machine-gmon.h: Likewise. - * sysdeps/alpha/setjmp_aux.c: Likewise. - * sysdeps/alpha/bits/setjmp.h: Likewise. - * sysdeps/arm/fpu_control.h: Likewise. - * sysdeps/generic/_strerror.c: Likewise. - * sysdeps/generic/det_endian.c: Likewise. - * sysdeps/generic/fdatasync.c: Likewise. - * sysdeps/generic/fpu_control.c: Likewise. - * sysdeps/generic/ftime.c: Likewise. - * sysdeps/generic/getdomain.c: Likewise. - * sysdeps/generic/group_member.c: Likewise. - * sysdeps/generic/ldiv.c: Likewise. - * sysdeps/generic/lldiv.c: Likewise. - * sysdeps/generic/lxstat.c: Likewise. - * sysdeps/generic/memcmp.c: Likewise. - * sysdeps/generic/memmem.c: Likewise. - * sysdeps/generic/mig-reply.c: Likewise. - * sysdeps/generic/pagecopy.h: Likewise. - * sysdeps/generic/profil-counter.h: Likewise. - * sysdeps/generic/pselect.c: Likewise. - * sysdeps/generic/setfpucw.c: Likewise. - * sysdeps/generic/stpcpy.c: Likewise. - * sysdeps/generic/uname.c: Likewise. - * sysdeps/generic/varargs.h: Likewise. - * sysdeps/generic/vlimit.c: Likewise. - * sysdeps/generic/bits/sigaction.h: Likewise. - * sysdeps/generic/bits/ustat.h: Likewise. - * sysdeps/generic/netinet/if_ether.h: Likewise. - * sysdeps/generic/sys/swap.h: Likewise. - * sysdeps/generic/sys/sysinfo.h: Likewise. - * sysdeps/i386/init-first.c: Likewise. - * sysdeps/i386/ldbl2mpn.c: Likewise. - * sysdeps/i386/memcopy.h: Likewise. - * sysdeps/i386/i586/memcopy.h: Likewise. - * sysdeps/i860/memcopy.h: Likewise. - * sysdeps/m68k/__longjmp.c: Likewise. - * sysdeps/m68k/fpu_control.h: Likewise. - * sysdeps/m68k/memcopy.h: Likewise. - * sysdeps/m68k/s_isinfl.c: Likewise. - * sysdeps/m68k/s_isnanl.c: Likewise. - * sysdeps/m68k/setjmp.c: Likewise. - * sysdeps/mach/_strerror.c: Likewise. - * sysdeps/mach/getsysstats.c: Likewise. - * sysdeps/mach/mprotect.c: Likewise. - * sysdeps/mach/munmap.c: Likewise. - * sysdeps/mach/pagecopy.h: Likewise. - * sysdeps/mach/start.c: Likewise. - * sysdeps/mach/sysdep.h: Likewise. - * sysdeps/mach/alpha/machine-lock.h: Likewise. - * sysdeps/mach/alpha/machine-sp.h: Likewise. - * sysdeps/mach/alpha/sysdep.h: Likewise. - * sysdeps/mach/alpha/thread_state.h: Likewise. - * sysdeps/mach/hppa/machine-lock.h: Likewise. - * sysdeps/mach/hurd/access.c: Likewise. - * sysdeps/mach/hurd/closedir.c: Likewise. - * sysdeps/mach/hurd/dirstream.h: Likewise. - * sysdeps/mach/hurd/dl-cache.c: Likewise. - * sysdeps/mach/hurd/euidaccess.c: Likewise. - * sysdeps/mach/hurd/fdatasync.c: Likewise. - * sysdeps/mach/hurd/fexecve.c: Likewise. - * sysdeps/mach/hurd/fork.c: Likewise. - * sysdeps/mach/hurd/fpathconf.c: Likewise. - * sysdeps/mach/hurd/fstatfs.c: Likewise. - * sysdeps/mach/hurd/fxstat.c: Likewise. - * sysdeps/mach/hurd/getcwd.c: Likewise. - * sysdeps/mach/hurd/getpriority.c: Likewise. - * sysdeps/mach/hurd/getrlimit.c: Likewise. - * sysdeps/mach/hurd/getsid.c: Likewise. - * sysdeps/mach/hurd/group_member.c: Likewise. - * sysdeps/mach/hurd/kill.c: Likewise. - * sysdeps/mach/hurd/lchown.c: Likewise. - * sysdeps/mach/hurd/lxstat.c: Likewise. - * sysdeps/mach/hurd/mig-reply.c: Likewise. - * sysdeps/mach/hurd/mmap.c: Likewise. - * sysdeps/mach/hurd/opendir.c: Likewise. - * sysdeps/mach/hurd/pathconf.c: Likewise. - * sysdeps/mach/hurd/profil.c: Likewise. - * sysdeps/mach/hurd/ptrace.c: Likewise. - * sysdeps/mach/hurd/readdir.c: Likewise. - * sysdeps/mach/hurd/readdir_r.c: Likewise. - * sysdeps/mach/hurd/send.c: Likewise. - * sysdeps/mach/hurd/sendto.c: Likewise. - * sysdeps/mach/hurd/setpriority.c: Likewise. - * sysdeps/mach/hurd/statfs.c: Likewise. - * sysdeps/mach/hurd/ttyname.c: Likewise. - * sysdeps/mach/hurd/uname.c: Likewise. - * sysdeps/mach/hurd/xstat.c: Likewise. - * sysdeps/mach/hurd/alpha/exc2signal.c: Likewise. - * sysdeps/mach/hurd/alpha/longjmp-ts.c: Likewise. - * sysdeps/mach/hurd/alpha/sigreturn.c: Likewise. - * sysdeps/mach/hurd/alpha/trampoline.c: Likewise. - * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise. - * sysdeps/mach/hurd/hppa/trampoline.c: Likewise. - * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise. - * sysdeps/mach/hurd/i386/exc2signal.c: Likewise. - * sysdeps/mach/hurd/i386/intr-msg.h: Likewise. - * sysdeps/mach/hurd/i386/longjmp-ts.c: Likewise. - * sysdeps/mach/hurd/i386/sigreturn.c: Likewise. - * sysdeps/mach/hurd/i386/trampoline.c: Likewise. - * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise. - * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise. - * sysdeps/mach/hurd/sys/param.h: Likewise. - * sysdeps/mach/i386/machine-lock.h: Likewise. - * sysdeps/mach/i386/machine-sp.h: Likewise. - * sysdeps/mach/i386/sysdep.h: Likewise. - * sysdeps/mach/i386/thread_state.h: Likewise. - * sysdeps/posix/dup2.c: Likewise. - * sysdeps/posix/flock.c: Likewise. - * sysdeps/posix/getdtsz.c: Likewise. - * sysdeps/posix/gettimeofday.c: Likewise. - * sysdeps/posix/isatty.c: Likewise. - * sysdeps/posix/killpg.c: Likewise. - * sysdeps/posix/mk-stdiolim.c: Likewise. - * sysdeps/posix/profil.c: Likewise. - * sysdeps/posix/remove.c: Likewise. - * sysdeps/posix/rename.c: Likewise. - * sysdeps/posix/sigsuspend.c: Likewise. - * sysdeps/posix/tempname.c: Likewise. - * sysdeps/posix/truncate.c: Likewise. - * sysdeps/posix/utimes.c: Likewise. - * sysdeps/posix/wait.c: Likewise. - * sysdeps/posix/wait3.c: Likewise. - * sysdeps/rs6000/memcopy.h: Likewise. - * sysdeps/sparc/memcopy.h: Likewise. - * sysdeps/standalone/close.c: Likewise. - * sysdeps/standalone/dirstream.h: Likewise. - * sysdeps/standalone/filedesc.h: Likewise. - * sysdeps/standalone/open.c: Likewise. - * sysdeps/standalone/read.c: Likewise. - * sysdeps/standalone/standalone.h: Likewise. - * sysdeps/standalone/write.c: Likewise. - * sysdeps/standalone/bits/stdio_lim.h: Likewise. - * sysdeps/standalone/i386/i386.h: Likewise. - * sysdeps/standalone/m68k/m68020/m68020.h: Likewise. - * sysdeps/stub/__longjmp.c: Likewise. - * sysdeps/stub/accept.c: Likewise. - * sysdeps/stub/access.c: Likewise. - * sysdeps/stub/acct.c: Likewise. - * sysdeps/stub/adjtime.c: Likewise. - * sysdeps/stub/alarm.c: Likewise. - * sysdeps/stub/bind.c: Likewise. - * sysdeps/stub/brk.c: Likewise. - * sysdeps/stub/bsd-_setjmp.c: Likewise. - * sysdeps/stub/bsd-setjmp.c: Likewise. - * sysdeps/stub/chdir.c: Likewise. - * sysdeps/stub/chflags.c: Likewise. - * sysdeps/stub/chmod.c: Likewise. - * sysdeps/stub/chown.c: Likewise. - * sysdeps/stub/chroot.c: Likewise. - * sysdeps/stub/clock.c: Likewise. - * sysdeps/stub/close.c: Likewise. - * sysdeps/stub/closedir.c: Likewise. - * sysdeps/stub/connect.c: Likewise. - * sysdeps/stub/ctermid.c: Likewise. - * sysdeps/stub/cuserid.c: Likewise. - * sysdeps/stub/dbl2mpn.c: Likewise. - * sysdeps/stub/dirstream.h: Likewise. - * sysdeps/stub/dup.c: Likewise. - * sysdeps/stub/dup2.c: Likewise. - * sysdeps/stub/exc2signal.c: Likewise. - * sysdeps/stub/execve.c: Likewise. - * sysdeps/stub/fchflags.c: Likewise. - * sysdeps/stub/fchown.c: Likewise. - * sysdeps/stub/fcntl.c: Likewise. - * sysdeps/stub/fdopen.c: Likewise. - * sysdeps/stub/fexecve.c: Likewise. - * sysdeps/stub/flock.c: Likewise. - * sysdeps/stub/fork.c: Likewise. - * sysdeps/stub/fpathconf.c: Likewise. - * sysdeps/stub/fpu_control.h: Likewise. - * sysdeps/stub/fstatfs.c: Likewise. - * sysdeps/stub/fsync.c: Likewise. - * sysdeps/stub/ftruncate.c: Likewise. - * sysdeps/stub/fxstat.c: Likewise. - * sysdeps/stub/getcwd.c: Likewise. - * sysdeps/stub/getdomain.c: Likewise. - * sysdeps/stub/getdtsz.c: Likewise. - * sysdeps/stub/getegid.c: Likewise. - * sysdeps/stub/geteuid.c: Likewise. - * sysdeps/stub/getgid.c: Likewise. - * sysdeps/stub/getgroups.c: Likewise. - * sysdeps/stub/gethostid.c: Likewise. - * sysdeps/stub/gethostname.c: Likewise. - * sysdeps/stub/getitimer.c: Likewise. - * sysdeps/stub/getpeername.c: Likewise. - * sysdeps/stub/getpgid.c: Likewise. - * sysdeps/stub/getpid.c: Likewise. - * sysdeps/stub/getppid.c: Likewise. - * sysdeps/stub/getpriority.c: Likewise. - * sysdeps/stub/getrlimit.c: Likewise. - * sysdeps/stub/getrusage.c: Likewise. - * sysdeps/stub/getsid.c: Likewise. - * sysdeps/stub/getsockname.c: Likewise. - * sysdeps/stub/getsockopt.c: Likewise. - * sysdeps/stub/getsysstats.c: Likewise. - * sysdeps/stub/gettimeofday.c: Likewise. - * sysdeps/stub/getuid.c: Likewise. - * sysdeps/stub/gtty.c: Likewise. - * sysdeps/stub/if_index.c: Likewise. - * sysdeps/stub/init-posix.c: Likewise. - * sysdeps/stub/ioctl.c: Likewise. - * sysdeps/stub/isatty.c: Likewise. - * sysdeps/stub/isfdtype.c: Likewise. - * sysdeps/stub/jmp-unwind.c: Likewise. - * sysdeps/stub/kill.c: Likewise. - * sysdeps/stub/killpg.c: Likewise. - * sysdeps/stub/ldbl2mpn.c: Likewise. - * sysdeps/stub/link.c: Likewise. - * sysdeps/stub/listen.c: Likewise. - * sysdeps/stub/lockfile.c: Likewise. - * sysdeps/stub/longjmp-ts.c: Likewise. - * sysdeps/stub/lseek.c: Likewise. - * sysdeps/stub/lxstat.c: Likewise. - * sysdeps/stub/machine-lock.h: Likewise. - * sysdeps/stub/machine-sp.h: Likewise. - * sysdeps/stub/madvise.c: Likewise. - * sysdeps/stub/mkdir.c: Likewise. - * sysdeps/stub/mkfifo.c: Likewise. - * sysdeps/stub/mmap.c: Likewise. - * sysdeps/stub/morecore.c: Likewise. - * sysdeps/stub/mpn2dbl.c: Likewise. - * sysdeps/stub/mpn2flt.c: Likewise. - * sysdeps/stub/mpn2ldbl.c: Likewise. - * sysdeps/stub/mprotect.c: Likewise. - * sysdeps/stub/msgctl.c: Likewise. - * sysdeps/stub/msgget.c: Likewise. - * sysdeps/stub/msgrcv.c: Likewise. - * sysdeps/stub/msgsnd.c: Likewise. - * sysdeps/stub/munmap.c: Likewise. - * sysdeps/stub/nanosleep.c: Likewise. - * sysdeps/stub/nice.c: Likewise. - * sysdeps/stub/nlist.c: Likewise. - * sysdeps/stub/open.c: Likewise. - * sysdeps/stub/opendir.c: Likewise. - * sysdeps/stub/pathconf.c: Likewise. - * sysdeps/stub/pause.c: Likewise. - * sysdeps/stub/pipestream.c: Likewise. - * sysdeps/stub/poll.c: Likewise. - * sysdeps/stub/profil.c: Likewise. - * sysdeps/stub/ptrace.c: Likewise. - * sysdeps/stub/putenv.c: Likewise. - * sysdeps/stub/read.c: Likewise. - * sysdeps/stub/readdir.c: Likewise. - * sysdeps/stub/readdir_r.c: Likewise. - * sysdeps/stub/readlink.c: Likewise. - * sysdeps/stub/reboot.c: Likewise. - * sysdeps/stub/recv.c: Likewise. - * sysdeps/stub/recvfrom.c: Likewise. - * sysdeps/stub/recvmsg.c: Likewise. - * sysdeps/stub/remove.c: Likewise. - * sysdeps/stub/rename.c: Likewise. - * sysdeps/stub/revoke.c: Likewise. - * sysdeps/stub/rewinddir.c: Likewise. - * sysdeps/stub/rmdir.c: Likewise. - * sysdeps/stub/sbrk.c: Likewise. - * sysdeps/stub/sched_getp.c: Likewise. - * sysdeps/stub/sched_gets.c: Likewise. - * sysdeps/stub/sched_primax.c: Likewise. - * sysdeps/stub/sched_primin.c: Likewise. - * sysdeps/stub/sched_rr_gi.c: Likewise. - * sysdeps/stub/sched_setp.c: Likewise. - * sysdeps/stub/sched_sets.c: Likewise. - * sysdeps/stub/sched_yield.c: Likewise. - * sysdeps/stub/seekdir.c: Likewise. - * sysdeps/stub/select.c: Likewise. - * sysdeps/stub/semctl.c: Likewise. - * sysdeps/stub/semget.c: Likewise. - * sysdeps/stub/semop.c: Likewise. - * sysdeps/stub/send.c: Likewise. - * sysdeps/stub/sendmsg.c: Likewise. - * sysdeps/stub/sendto.c: Likewise. - * sysdeps/stub/setdomain.c: Likewise. - * sysdeps/stub/setegid.c: Likewise. - * sysdeps/stub/setenv.c: Likewise. - * sysdeps/stub/seteuid.c: Likewise. - * sysdeps/stub/setgid.c: Likewise. - * sysdeps/stub/setgroups.c: Likewise. - * sysdeps/stub/sethostid.c: Likewise. - * sysdeps/stub/sethostname.c: Likewise. - * sysdeps/stub/setjmp.c: Likewise. - * sysdeps/stub/setlogin.c: Likewise. - * sysdeps/stub/setpgid.c: Likewise. - * sysdeps/stub/setpriority.c: Likewise. - * sysdeps/stub/setregid.c: Likewise. - * sysdeps/stub/setreuid.c: Likewise. - * sysdeps/stub/setrlimit.c: Likewise. - * sysdeps/stub/setsid.c: Likewise. - * sysdeps/stub/setsockopt.c: Likewise. - * sysdeps/stub/settimeofday.c: Likewise. - * sysdeps/stub/setuid.c: Likewise. - * sysdeps/stub/shmctl.c: Likewise. - * sysdeps/stub/shmget.c: Likewise. - * sysdeps/stub/shutdown.c: Likewise. - * sysdeps/stub/sigaction.c: Likewise. - * sysdeps/stub/sigaltstack.c: Likewise. - * sysdeps/stub/sigblock.c: Likewise. - * sysdeps/stub/sigintr.c: Likewise. - * sysdeps/stub/sigpending.c: Likewise. - * sysdeps/stub/sigprocmask.c: Likewise. - * sysdeps/stub/sigreturn.c: Likewise. - * sysdeps/stub/sigsetmask.c: Likewise. - * sysdeps/stub/sigstack.c: Likewise. - * sysdeps/stub/sigsuspend.c: Likewise. - * sysdeps/stub/sigvec.c: Likewise. - * sysdeps/stub/socket.c: Likewise. - * sysdeps/stub/socketpair.c: Likewise. - * sysdeps/stub/sstk.c: Likewise. - * sysdeps/stub/statfs.c: Likewise. - * sysdeps/stub/stdio_init.c: Likewise. - * sysdeps/stub/stime.c: Likewise. - * sysdeps/stub/stty.c: Likewise. - * sysdeps/stub/swapoff.c: Likewise. - * sysdeps/stub/swapon.c: Likewise. - * sysdeps/stub/symlink.c: Likewise. - * sysdeps/stub/sync.c: Likewise. - * sysdeps/stub/syscall.c: Likewise. - * sysdeps/stub/sysd-stdio.c: Likewise. - * sysdeps/stub/system.c: Likewise. - * sysdeps/stub/tcdrain.c: Likewise. - * sysdeps/stub/tcflow.c: Likewise. - * sysdeps/stub/tcflush.c: Likewise. - * sysdeps/stub/tcgetattr.c: Likewise. - * sysdeps/stub/tcgetpgrp.c: Likewise. - * sysdeps/stub/tcsendbrk.c: Likewise. - * sysdeps/stub/tcsetpgrp.c: Likewise. - * sysdeps/stub/telldir.c: Likewise. - * sysdeps/stub/thread_state.h: Likewise. - * sysdeps/stub/time.c: Likewise. - * sysdeps/stub/times.c: Likewise. - * sysdeps/stub/trampoline.c: Likewise. - * sysdeps/stub/truncate.c: Likewise. - * sysdeps/stub/ttyname.c: Likewise. - * sysdeps/stub/ttyname_r.c: Likewise. - * sysdeps/stub/ualarm.c: Likewise. - * sysdeps/stub/ulimit.c: Likewise. - * sysdeps/stub/umask.c: Likewise. - * sysdeps/stub/unlink.c: Likewise. - * sysdeps/stub/usleep.c: Likewise. - * sysdeps/stub/ustat.c: Likewise. - * sysdeps/stub/utime.c: Likewise. - * sysdeps/stub/utimes.c: Likewise. - * sysdeps/stub/vdprintf.c: Likewise. - * sysdeps/stub/vhangup.c: Likewise. - * sysdeps/stub/wait.c: Likewise. - * sysdeps/stub/wait3.c: Likewise. - * sysdeps/stub/wait4.c: Likewise. - * sysdeps/stub/waitpid.c: Likewise. - * sysdeps/stub/write.c: Likewise. - * sysdeps/stub/xmknod.c: Likewise. - * sysdeps/stub/xstat.c: Likewise. - * sysdeps/stub/bits/errno.h: Likewise. - * sysdeps/stub/bits/sigcontext.h: Likewise. - * sysdeps/unix/fxstat.c: Likewise. - * sysdeps/unix/mk-local_lim.c: Likewise. - * sysdeps/unix/mkdir.c: Likewise. - * sysdeps/unix/nice.c: Likewise. - * sysdeps/unix/rmdir.c: Likewise. - * sysdeps/unix/stime.c: Likewise. - * sysdeps/unix/telldir.c: Likewise. - * sysdeps/unix/xstat.c: Likewise. - * sysdeps/unix/arm/sysdep.h: Likewise. - * sysdeps/unix/bsd/ftime.c: Likewise. - * sysdeps/unix/bsd/isatty.c: Likewise. - * sysdeps/unix/bsd/setegid.c: Likewise. - * sysdeps/unix/bsd/seteuid.c: Likewise. - * sysdeps/unix/bsd/setsid.c: Likewise. - * sysdeps/unix/bsd/sigaction.c: Likewise. - * sysdeps/unix/bsd/sigprocmask.c: Likewise. - * sysdeps/unix/bsd/tcgetattr.c: Likewise. - * sysdeps/unix/bsd/tcsetattr.c: Likewise. - * sysdeps/unix/bsd/times.c: Likewise. - * sysdeps/unix/bsd/ulimit.c: Likewise. - * sysdeps/unix/bsd/bits/dirent.h: Likewise. - * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise. - * sysdeps/unix/bsd/bsd4.4/wait.c: Likewise. - * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise. - * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise. - * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise. - * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise. - * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise. - * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise. - * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise. - * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise. - * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise. - * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise. - * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise. - * sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise. - * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise. - * sysdeps/unix/bsd/ultrix4/bits/posix_opt.h: Likewise. - * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise. - * sysdeps/unix/bsd/vax/sysdep.h: Likewise. - * sysdeps/unix/common/lxstat.c: Likewise. - * sysdeps/unix/common/tcsendbrk.c: Likewise. - * sysdeps/unix/common/bits/dirent.h: Likewise. - * sysdeps/unix/i386/sysdep.h: Likewise. - * sysdeps/unix/mips/sysdep.h: Likewise. - * sysdeps/unix/sysv/setrlimit.c: Likewise. - * sysdeps/unix/sysv/settimeofday.c: Likewise. - * sysdeps/unix/sysv/sigaction.c: Likewise. - * sysdeps/unix/sysv/sysv_termio.h: Likewise. - * sysdeps/unix/sysv/tcdrain.c: Likewise. - * sysdeps/unix/sysv/tcflow.c: Likewise. - * sysdeps/unix/sysv/tcflush.c: Likewise. - * sysdeps/unix/sysv/tcgetattr.c: Likewise. - * sysdeps/unix/sysv/tcsendbrk.c: Likewise. - * sysdeps/unix/sysv/tcsetattr.c: Likewise. - * sysdeps/unix/sysv/bits/dirent.h: Likewise. - * sysdeps/unix/sysv/irix4/getpriority.c: Likewise. - * sysdeps/unix/sysv/irix4/setpriority.c: Likewise. - * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise. - * sysdeps/unix/sysv/linux/adjtime.c: Likewise. - * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise. - * sysdeps/unix/sysv/linux/gethostname.c: Likewise. - * sysdeps/unix/sysv/linux/if_index.c: Likewise. - * sysdeps/unix/sysv/linux/ptrace.c: Likewise. - * sysdeps/unix/sysv/linux/reboot.c: Likewise. - * sysdeps/unix/sysv/linux/speed.c: Likewise. - * sysdeps/unix/sysv/linux/sysctl.c: Likewise. - * sysdeps/unix/sysv/linux/tcdrain.c: Likewise. - * sysdeps/unix/sysv/linux/ulimit.c: Likewise. - * sysdeps/unix/sysv/linux/waitpid.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Likewise. - * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. - * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise. - * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/sysv4/sigaction.c: Likewise. - * sysdeps/unix/sysv/sysv4/siginfo.h: Likewise. - * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise. - * sysdeps/unix/sysv/sysv4/sysconfig.h: Likewise. - * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise. - * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise. - * sysdeps/vax/fl.h: Likewise. - * sysdeps/vax/setjmp.c: Likewise. - -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. - -1997-06-17 17:19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf/ldd.bash.in: Fix spacing in message. - -1997-06-17 14:28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf/do-rel.h (elf_dynamic_do_rel): Always use version - information if available. - -1997-06-17 11:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sunrpc/Makefile ($(rpcsvc:%.x=$(objpfx)rpcsvc/%.h)): Make - command non-empty to force make to recheck modification time. - ($(rpcsvc:%.x=$(objpfx)x%.c)): Likewise. - -1997-06-17 00:26 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. - - * manual/Makefile (dir-add.texi): Also look in indirectly included - files. - -1997-06-16 23:15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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. - - * 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. - -1997-06-14 19:19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/arm/Dist: New file. - -1997-06-14 17:59 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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. - -1997-06-16 03:07 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/libm-ieee754/k_standard.c: Undo change of Tue Aug 6 - 01:13:56 1996. - -1997-06-16 00:54 Ulrich Drepper <drepper@cygnus.com> - - * libc.map: Add more symbols. - - * Makerules (load-map-file): Currectly handle missing map file. - -1997-06-15 17:00 Philip Blundell <Philip.Blundell@pobox.com> - - * configure.in: Correct detection of generic uname implementation. - -1997-06-15 23:19 Ulrich Drepper <drepper@cygnus.com> - - * math/libm-test.c: Fix typos. Patch by Andreas Jaeger. - - * libc.map: Add __nss_configure_lookup. Reported by Thorsten Kukuk. - -1997-06-15 00:43 Ulrich Drepper <drepper@cygnus.com> - - * Makeconfig: Define libc-map here. - * Makefile: And remove definition here. - * Makerules (load-map-file): Handle case where map file is in - other directory. - (build-shlib): Likewise. - - * libc.map: Add more symbols. - * resolv/libresolv.map: Likewise. - - * db/libdb.map: Add __dbopen. Patch by HJ Lu. - - * libio/stdio.h: Remove "optmizations" for vfscanf and vsscanf. - - * locale/programs/localedef.c: Add normalize_codeset function. We - don't want to use the _nl_normalize_codeset functions from libc. - - * 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. - -1997-06-14 12:45 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * nis/nss_nis/nis-ethers.c: Add static to internal_nis_setetherent. - - * nis/nss_nis/nis-proto.c: Add static to internal_nis_setprotoent. - - * nis/nss_nisplus/nisplus-hosts.c: Rewrite parser and fix - _nss_nisplus_gethostbyaddr_r interface. - - * nis/libnsl.map: Add all GLOBAL functions. - -1997-06-13 18:32 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * libm-test.c (main): Call new tests, reorder tests. - (fmod_test): Test function fmod. - (nearbyint_test): Test function nearbyint. - (acos_test): Add more test cases. - (signbit_test): Test macro signbit. - (output_result_bool): Output result if test fails. - (asin_test): Add another test case. - (atan2_test): Add more tests. - (asinh_test): Add more tests. - (atanh_test): Add more tests. - (hypot_test): Add more tests. - (isfinite_test): Test macro isfinite. - (isnormal_test): Test macro isnormal. - (sincos_test): Tests for sincos. - (main): Enable remquo_test since the tests are - correct (according to ANSI/IEEE 754-1985). - (remquo_test): Corrected tests cases and added more tests. - (remainder_test): Tests for remainder. - (check_int): New Function to compare int values. - (check_isnan_exc_ext): New function. - (sqrt_test): Add some extra tests for sqrt. - (erf_test): Tests for erf. - (erfc_test): Tests for erfc. - (gamma_test): Tests for gamma. - (lgamma_test): Tests for lgamma. - -1997-06-08 10:54 H.J. Lu <hjl@gnu.ai.mit.edu> - - * 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. - -1997-06-14 17:32 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * math/libm.map: Add inline functions, global variables. - -1997-06-14 00:39 Ulrich Drepper <drepper@cygnus.com> - - * libc.map: Add more libio functions which are used in libio.h. - - * login/Makefile (libutil-routines): Move updwtmp to ... - (routines): ...here. - Suggested by Mark Kettenis <kettenis@phys.uva.nl>. - - * sysdeps/stub/s_erfl.c: Add stub definition of erfcl. - Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>. - -1997-06-13 21:10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * nis/nis_add.c (nis_add): Create object name only if not set. - - * nis/nis_clone.c: Use calloc instead of malloc to prevent - RPC encode errors. - - * 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. - -1997-06-13 14:17 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - - * 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. - -1997-06-13 12:19 Ulrich Drepper <drepper@cygnus.com> - - * elf/rtld.c: Print version information if LD_TRACE_LOADED_OBJECT - and LD_VERBOSE are given. - - * elf/ldd.sh.in: Add -v|--verbose option. Add author information - as per Coding Standard. - * elf/ldd.bash.in: Likewise. - -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. - -1997-06-12 03:08 Philip Blundell <Philip.Blundell@pobox.com> - - * nss/getXXbyYY_r.c (do_weak_alias): Remove extra parentheses. - -1997-06-11 13:22 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>. - -1997-06-11 10:47 Philip Blundell <Philip.Blundell@pobox.com> - - * sysdeps/unix/sysv/linux/net/if_arp.h: Add two new hardware types. - -1997-06-10 11:31 H.J. Lu <hjl@gnu.ai.mit.edu> - - * sysdeps/powerpc/strlen.s: Use -0x101 instead of 0xfffffeff - for a signed 16-bit value. - -1997-06-07 07:54 H.J. Lu <hjl@gnu.ai.mit.edu> - - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c - (_dl_sysdep_read_whole_file): Deleted. - - * sysdeps/powerpc/fenvbits.h (__FE_ALL_INVALID): Changed - to FE_ALL_INVALID. - - * sysdeps/powerpc/fraiseexcpt.c (__FE_INVALID_SOFTWARE): - Changed to FE_INVALID_SOFTWARE. - (__FPSCR_STICKY_BITS): Changed to FPSCR_STICKY_BITS. - - * sysdeps/libm-ieee754/s_fmin.c: Fix a typo. - -1997-06-07 18:48 H.J. Lu <hjl@gnu.ai.mit.edu> - - * shlib-versions (.*-.*-linux.*): Set libc to 6. - -1997-06-08 15:35 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * nis/nis_add.c (nis_add): Use nis_leaf_of_r instead of nis_name_of_r. - - * 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. - - * nis/nss_nis/nis-hosts.c: Use addr, not p for inet_pton call. - * nis/nss_nisplus/nisplus-hosts.c: Likewise. - - * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Check for - group == NULL. - -1997-06-08 21:21 Mark Kettenis <kettenis@phys.uva.nl> - - * 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. - - * login/programs/utmpd.c: Define DEFAULT_USER. - (drop_priviliges): Use it. - (main): Set locale and text domain. - - * 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. - - * 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. - -1997-06-05 23:10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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. - -1997-06-04 19:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * stdlib/testsort.c (compare): Fix parameter types. - -1997-06-04 19:05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * md5-crypt/Makefile (distribute): Fix name of file. - -1997-06-04 19:02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * login/Makefile (utmpd-routines): Remove utmpd again, which is - already added implicitly through $(others). - -1997-06-05 13:43 Fila Kolodny <fila@filapc.ibi.com> - - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add netipx/ipx.h. - -1997-06-05 13:25 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * md5-crypt/md5-crypt.c: Add prototype for __md5_crypt. - -1997-06-05 17:08 Ulrich Drepper <drepper@cygnus.com> - - * string/argz-addsep.c: Correct weak alias. - Reported by Ben Pfaff <pfaffben@pilot.msu.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>. - -1997-06-04 12:41 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * manual/intro.texi (XPG): Correct some typos. - -1997-06-04 05:09 Miles Bader <miles@gnu.ai.mit.edu> - - * argp/argp-help.c (_help): Use uparams.usage_indent instead of - the USAGE_INDENT macro. - - * manual/summary.awk: Strip trailing commas from node-names. - - * manual/.cvsignore: Ignore chapters-incl[12] rather than - chapters-incl. - - * manual/Makefile (%.c.texi): Deal with multiple @-commands on a - single line. - - * manual/string.texi (Argz Functions, Envz Functions): Add magic - comments for generating summary.texi. - -1997-06-02 22:18 Miles Bader <miles@gnu.ai.mit.edu> - - * 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. - -1997-06-01 15:01 Miles Bader <miles@gnu.ai.mit.edu> - - * 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. - -1997-06-04 20:57 Ulrich Drepper <drepper@cygnus.com> - - * manual/string.texi: Add comments to discourage use of index and - rindex. - (strtok, strsep): Apply function on copy of the strings in example. - (l64a): Add example. - - * posix/unistd.h: Correct value for _POSIX_VERSION. - - * sunrpc/Makefile (defines): Remove definition. - - * sysdeps/ieee754/nan.h: Correct typo. - -1997-06-04 10:50 Fila Kolodny <fila@ibi.com> - - * posix/unistd.h: Add definition of __fchdir corresponding to fchdir. - - * login/utmp_daemon.c: Correct location of utmpd.h. - -1997-06-03 19:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Makerules: Rename $(common-objpfx)distinfo-$(subdir) to - $(objpfx)distinfo. - * rpm/Makefile (distinfo): Adapted. - -1997-06-03 18:32 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. - -1997-06-03 18:23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * login/Makefile (libutil-routines): Add updwtmp. - -1997-06-03 16:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * monetary.h: New file, needed for localedata/tst-fmon.c. - -1997-06-02 20:31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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. - - * 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. - - * sysdeps/m68k/nan.h: New file. - - * sysdeps/m68k/fpu/__math.h (isgreater, isgreaterequal, isless, - islessequal, islessgreater, isunordered): Fix assembler syntax. - - * sysdeps/m68k/fpu/fraiseexcpt.c: Do it right so that gcc doesn't - optimize out the operations. - - * 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. - - * 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. - -1997-06-03 23:42 Ulrich Drepper <drepper@cygnus.com> - - * elf/dl-support.c: Define and initialize _dl_verbose used in - dl-machine.h. - - * io/ftw.c: Expand stat/lstat calls. - - * manual/intro.texi: Also refer to ISO 9945. - Update info about SVID. - Add description for XPG. - - * md5-crypt/md5-crypt.c: Namespace cleanups. - * md5-crypt/md5.c: Likewise. - * md5-crypt/md5.h: Likewise. - * sysdeps/generic/crypt-entry.c: Likewise. - - * posix/unistd.h (_POSIX2_C_VERSION): Set to 199209L. - - * stdlib/fmtmsg.h: Declare addseverity only if __USE_SVID is - defined. - - * sunrpc/rpc_scan.c (findkind): Declare `token' as const. - * sunrpc/rpc_util.c (toktostr): Declare `token' as const. - - * time/Makefile: Make tzselect depend on config.make. - -1997-06-01 15:01 Miles Bader <miles@gnu.ai.mit.edu> - - * 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. - -1997-05-31 20:59 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * login/Makefile (utmpd-routines): Add utmpd. - (extra-objs): Add utmpd objects to get dependencies. - (distribute): Add sources for utmpd. - (subdir-dirs): Define. - -1997-06-02 16:28 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/wordsize-32/inttypes.h: Include features.h and use - __CONCAT instead of defined __CONCAT__ ourself. - * sysdeps/wordsize-64/inttypes.h: Likewise. - -1997-06-01 19:11 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. - -1997-06-02 04:23 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/syscalls.list: Make fchdir weak alias for __fchdir. - -1997-06-01 19:17 Ulrich Drepper <drepper@cygnus.com> - - * 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. - -1997-06-01 12:48 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/alpha/gnu/types.h (__fd_mask): Change - type to `unsigned long int'. - Patch by Richard Henderson <richard@twiddle.rth.home>. - -1997-05-30 17:34 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/generic/bb_init_func.c (__bb_init_func): Use ISO C - declaration style. - - * nss/nss_files/files-hosts.c: Delete inclusion of - "../resolv/mapv4v6hostent.h". - -1997-05-31 02:33 Ulrich Drepper <drepper@cygnus.com> - - * io/ftwtest-sh: More tests. - - * misc/tsearch.c: Rewrite tdestroy_recursive. - - * libio/libio.h: Define bits for libg++-2.8. - -1997-05-30 22:21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * 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. - -1997-05-30 09:50 Richard Henderson <rth@tamu.edu> - - * 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. - - * 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>. - - * sunrpc/clnt_udp.c (clntudp_call): Make fromlen a size_t to fix - parameters to network functions. - * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise. - * sunrpc/svc_tcp.c (svctcp_create): Likewise with `len'. - (rendezvous_request): Likewise. - * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise. - (svcudp_recv): Similar, but go through a local variable. The old code - used &xprt->xp_addrlen. Someone should determine if the type of the - structure member should be changed instead. - * sunrpc/xdr_rec.c (xdrrec_create): Expunge a ptr->int cast warning - and transform a nonsense for-loop to a closed form calculation. - (fill_input_buf): Another ptr->int warning. - - * sysdeps/alpha/Makefile: Temporarily turn on -mieee globally. This - will last until I figure out how to build a parallel libm_ieee. - - * sysdeps/alpha/fpu/fclrexcpt.c, - * sysdeps/alpha/fpu/fegetenv.c, - * sysdeps/alpha/fpu/fegetround.c, - * sysdeps/alpha/fpu/feholdexcpt.c, - * sysdeps/alpha/fpu/fenvbits.h, - * sysdeps/alpha/fpu/fesetenv.c, - * sysdeps/alpha/fpu/fesetround.c, - * sysdeps/alpha/fpu/feupdateenv.c, - * sysdeps/alpha/fpu/fgetexcptflg.c, - * sysdeps/alpha/fpu/fraiseexcpt.c, - * sysdeps/alpha/fpu/fsetexcptflg.c, - * sysdeps/alpha/fpu/ftestexcept.c: New files. There is, btw, a small - kernel patch that must be applied as of 2.0.31-pre1 and 2.1.41 for - this to work properly. - - * sysdeps/alpha/fpu/fpu_control.h: Update copyright. Change default - FP mode to round to nearest, no exceptions as for Intel. - * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Add copyright. - (rdfpcr): Use excb rather than trapb. Be more efficient about - getting at the fpcr. - (wrfpcr): Likewise. - (__setfpucw): Reformat. - - * sysdeps/ieee754/huge_val.h: Change GCC's HUGE_VAL definition to use - a single DI-mode integer instead of bytes. This produces better code - on Alpha. Similar for HUGE_VALF. - * sysdeps/ieee754/nan.h: Similar for NAN. Add NANF and NANL. - - * sysdeps/libm-ieee754/s_log2.c: Missing */ and weak_alias. - - * sysdeps/unix/alpha/sysdep.S: Tiny cleanups. - * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/brk.S: Don't use jmp macro to make - sure the stack frame is released the very instruction before the - real jump out. - * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. - - * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Undef some bits we may - have gotten from <linux/posix_types.h>. - - * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add definition for Miata. - -1997-05-30 13:05 Ulrich Drepper <drepper@cygnus.com> - - * misc/tst-tsearch.c (mangle_tree): Update casts to prevent - warnings. - -1997-05-29 14:02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/sys/ttydefaults.h (CEOL, CSTATUS): Use - correct value for _POSIX_VDISABLE. - -1997-05-29 13:59 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Makefile (manual/dir-add.texi): Force execution. - -1997-05-29 13:57 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysexits.h: New file. - -1997-05-29 13:55 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * stdlib/strfmon.c: Don't run past EOS after `='. - -1997-05-29 12:48 Ulrich Drepper <drepper@cygnus.com> - - * io/ftw.c: Complete rewrite. Add implementation of `nftw'. - * io/ftw.h: Update for new implementation and XPG4.2. - * io/Makefile (test-srcs): Add ftwtest. - (distribute): Add ftwtest-sh. - (tests): Call ftwtest-sh for this goal. - * io/ftwtest-sh: New file. Sets up test environment, calls test - program and compares the result. - * io/ftwtest.c: Test program for ftw. - - * misc/search.h: Add comments. Declare tdestroy. - * misc/tsearch.c (tdestroy): New function. - - * login/Makefile: Update for UTMP daemon implementation. - - Update resolver code to bind-4.9.6-T1A. - * resolv/Banner: Update. - * nss/digits_dots.c: Adapt text address matching to T1A. - * nss/nss_files/files-hosts.c: Always use inet_pton. - * resolv/base64.c (b64_pton): Follow T1A but don't use this code since - it would lead to warnings. - * resolv/gethnamaddr.c (getanswer): Test host name for maximal length - at several places. - * resolv/inet_net_pton.c (inet_net_pton_ipv4): Correct typo in comment. - * resolv/res_comp.c (dn_expand): Check for overflow. - (dn_comp): Likewise. - * resolv/res_debug.c (precsize_aton): Better implementation. - * resolv/res_init.c (res_init): Make `buf' of size MAXDNAME. - * resolv/res_send.c (res_send): Check for overflow in descriptor set. - * resolv/nss_dns/dns-host.c (getanswer_r): Test host name for maximal - length at several places. - -1997-05-29 12:51 Mark Kettenis <kettenis@phys.uva.nl> - - * login/utmp-private.h (struct utfuncs): Add one more parameter - to updwtmp function. - Declare all three function jump tables. - * login/utmp.h: Declare __utmpname. - * login/getutent_r.c: Remove db backend and provide support for - utmpd backend. - * login/login.c: Use `updwtmp' function insteead of writing the - record ourself. - * login/logwtmp.c: Move `updwtmp' function to... - * login/updwtmp.c: ...here. New file. - * login/utmp_db.h: Removed. - * login/utmp_file.c: Add updwtmp function to write to file. - * login/utmp_daemon.c: New file. Daemon backend. - * login/utmpname.c: New file. Implementation of utmpname function. - * login/utmpdump.c: New file. Tool to dump utmp-like files. - * login/utmpd/connection.c: New file. - * login/utmpd/database.c: New file. - * login/utmpd/error.c: New file. - * login/utmpd/request.c: New file. - * login/utmpd/utmpd-private.h: New file. - * login/utmpd/utmpd.c: New file. - * login/utmpd/utmpd.h: New file. - * login/utmpd/xtmp.c: New file. - * login/utmpd/xtmp.h: New file. - -1997-05-29 12:28 Jim Meyering <meyering@eng.ascend.com> - - * time/strftime.c: Correct/normalize indentation in cpp directives. - -1997-05-28 20:43 Philip Blundell <pjb27@cam.ac.uk> - - * nis/nis_error.c: Include <string.h> to fix warning. - * nis/nis_print.c: Likewise. - * nis/nss_nisplus/nisplus-hosts.c: Arg 3 of map_v4v6_hostent - is int* not size_t*. - -1997-05-28 21:56 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * math/cmathcalls.h: Correct typo in comment. - - * inet/netinet/icmp6.h: Include <netinet/in.h> for in6_addr. - - * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Include <net/if.h> for - IFNAMSIZ. - - * sysdeps/unix/sysv/linux/net/ppp_defs.h: Include <time.h> for - time_t. - - * login/pty.h: Include <ioctl-types.h> for definition of struct - winsize. - - * misc/regexp.h (compile): Correct typo. - - * argp/argp.h: Put extern before __const in defintion of - argp_program_bug_address. - -1997-05-29 00:20 Ulrich Drepper <drepper@cygnus.com> - - * 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>. - -1997-05-28 22:51 Ulrich Drepper <drepper@cygnus.com> - - * 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>. - - * 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>. - -1997-05-28 18:19 Philip Blundell <pjb27@cam.ac.uk> - - * posix/execl.c: Include <alloca.h> to avoid warning. - -1997-05-27 18:19 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * math/libm-test.c: Implement testing of inlined functions, make - output nicer, update comments. - - * 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. - - * math/test-longdouble.c: Rename to... - * math/test-ldouble.c: ...this. - - * math/Makefile: Add rules for new test programs, change rules for - renaming of longdouble test. - -1997-05-20 15:50 H.J. Lu <hjl@gnu.ai.mit.edu> - - * sunrpc/rpc/svc.h (__dispatch_fn_t): New. - (svc_register): Use __dispatch_fn_t in prototype. - -1997-05-28 17:02 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/generic/bzero.c (bzero): Fix typo. - Patch by Witek Wnuk <spider@pest.waw.ids.edu.pl>. - -1997-05-27 12:00 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * sysdeps/generic/vtimes.c: Use ISO C declaration style. - - * sysdeps/unix/bsd/ualarm.c: Include <unistd.h> for prototype. - - * sysdeps/generic/memccpy.c: Include <string.h> for prototype. - - * signal/tst-signal.c (handler): Correct function declaration to - avoid warning. - * stdlib/testsort.c (compare): Likewise. - * string/tester.c: Likewise. - -1997-05-27 14:16 Miles Bader <miles@gnu.ai.mit.edu> - - * argp/argp-help.c (argp_args_usage): Supply correct argp to - filter_doc. - -1997-05-27 17:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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. - -1997-05-27 14:47 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/m68k/fpu/e_atan2.c: Fix missing negate. Use __m81_test - instead of explicit comparisons. - -1997-05-26 18:36 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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. - -1997-05-25 21:57 Miles Bader <miles@gnu.ai.mit.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. - - * 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. - -1997-05-26 14:17 Ulrich Drepper <drepper@cygnus.com> - - * manual/main.texi: Clarify situation for other not supported ports. - Proposed by Andreas Jaeger <aj@arthur.rhein-neckar.de>. - We recommend binutils 2.8. - -1997-05-26 12:17 Ulrich Drepper <drepper@cygnus.com> - - * netinet/in.h: New file. Wrapper around inet/netinet/in.h. - -1997-05-25 09:51 H.J. Lu <hjl@gnu.ai.mit.edu> - - * sysdeps/i386/elf/start.S: Change local label "nofini" - to ".Lnofini". - - * sysdeps/i386/i386-mcount.S: Use GOT, instead of GOTOFF. - -1997-05-24 17:45 H.J. Lu <hjl@gnu.ai.mit.edu> - - * gmon/gmon.c (_mcleanup): Free tostruct array allocated in monstartup. - -1997-05-25 03:00 Ulrich Drepper <drepper@cygnus.com> - - * 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. - - * 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>. - - * 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>. - -1997-05-25 00:44 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/i386/fpu/__math.h (logb): Fix thinko, reverse output - values. - Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>. - -1997-05-24 21:03 Philip Blundell <pjb27@cam.ac.uk> - - * db/btree/bt_open.c (__bt_open): Only try to use st_blksize (from - struct stat) if it exists for this port. - -1997-05-24 20:34 Philip Blundell <pjb27@cam.ac.uk> - - * sysdeps/standalone/arm/errnos.h: Add EPERM. - -1997-05-23 16:28 Philip Blundell <phil@kings-cross.london.uk.eu.org> - - * linewrap.h: New file, needed to compile argp without libio. - -1997-05-24 11:59 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * manual/stdio.texi (Formatted Messages): Corrected some typos. - -1997-05-24 11:58 Philip Blundell <pjb27@cam.ac.uk> - - * sysdeps/stub/start.c: Fix typo. - -1997-05-21 17:53 Miles Bader <miles@gnu.ai.mit.edu> - - * argp/argp-help.c (hol_add_cluster): Initialize CL->depth. - -1997-05-24 03:51 Ulrich Drepper <drepper@cygnus.com> - - * 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. - - * 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. - - * po/sv.po: Update. - - * resolv/nss_dns/dns-host.c: Add casts to prevent warnings. - * sunrpc/pmap_rmt.c: Likewise. - - * string/basename.c: Don't use ISO C definition style. - Include <config.h> if HAVE_CONFIG_H is defined. - - * sunrpc/proto.h: Add `const' wherever possible. - * sunrpc/rpc_cout.c: Likewise. - * sunrpc/rpc_svcout.c: Likewise. - * sunrpc/xdr_mem.c: Likewise. - * sunrpc/xdr_rec.c: Likewise. - * sunrpc/xdr_stdio.c: Likewise. - * sunrpc/rpc_parse.c: Delete comma from end of enum definition. - * sunrpc/xdr.c: Little code cleanups. - * sunrpc/xdr_float.c: Likewise. - Patches by Matthew Wilcox <matthew.wilcox@chbs.mhs.ciba.com>. - - * sysdeps/i386/fpu/__math.h (__finite): Fix typo. - - * sysdeps/unix/sysv/linux/shmdt.c: Add cast to prevent warning. - - * time/europe: Update from tzdata1997f. - * time/zic.c: Update from tzcode1997e. - -1997-05-20 19:20 Miguel de Icaza <miguel@athena.nuclecu.unam.mx> - - * sysdeps/sparc/setjmp.S: Flush windows. - Bug found by Richard Henderson. - -1997-05-19 12:54 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * misc/efgcvt_r.c (fcvt_r, ecvt_r): Rewritten as to fit the specs. - -1997-05-19 18:41 Thorsten Kukuk <kukuk@uni-paderborn.de> - - * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent): Use - atol instead of atoi. - -1997-05-18 00:22 Philip Blundell <pjb27@cam.ac.uk> - - * 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. - -1997-05-17 23:29 Philip Blundell <pjb27@cam.ac.uk> - - * sysdeps/unix/sysv/linux/netinet/in.h: Update IPv6 definitions - for new advanced API draft. - -1997-05-13 21:33 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * stdio-common/printf_fp.c: Only use the field width for deciding - on padding when printing special values. - * stdio-common/printf_fphex.c: Likewise. - -1997-05-15 13:14 Miles Bader <miles@gnu.ai.mit.edu> - - Changes by Thomas Bushnell <thomas@gnu.ai.mit.edu>: - * hurd/hurdauth.c (_S_msg_add_auth): Implement correctly. - -1997-05-12 14:50 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * hurd/hurdsig.c (_hurdsig_init): Double size of sigthread stack; - msg_add_auth was overflowing it. - -1997-05-12 21:20 Richard Henderson <rth@tamu.edu> - - * elf/dl-lookup.c (_dl_lookup_symbol_skip): Call _dl_signal_error - when we can't find the symbol. - -1997-05-12 16:54 Ulrich Drepper <drepper@cygnus.com> - - * posix/regex.c: Fix handling of 32-bit Windog environments. - Patch by Arnold Robbins <arnold@skeeve.atl.ga.us>. - -1997-05-10 23:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add cacheflush. - -1997-05-10 11:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf/ldd.bash.in: Remove spurious quote character from version - message. - -1997-05-10 08:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * locale/programs/locale.c (write_charmaps): Don't get stuck in a - loop if the file ends in a long line without newline. - * locale/programs/charmap.c (charmap_read): Likewise. - -1997-05-12 03:47 Ulrich Drepper <drepper@cygnus.com> - - * sunrpc/rpc/xdr.h: Include more headers to be self-contained. - * sunrpc/rpc/svc_auth.h: Likewise. - * sunrpc/rpc/svc.h: Likewise. - * sunrpc/rpc/rpc_msg.h: Likewise. - * sunrpc/rpc/pmap_rmt.h: Likewise. - * sunrpc/rpc/pmap_clnt.h: Likewise. - * sunrpc/rpc/clnt.h: Likewise. - * sunrpc/rpc/auth_unix.h: Likewise. - * sysdeps/generic/rpc/auth.h: Likewise. - Patches by Michael Deutschmann <ldeutsch@mail.netshop.net>. - -1997-05-11 15:29 Philip Blundell <pjb27@cam.ac.uk> - - * sysdeps/stub/sigaction.c (__sigaction): Correct typo. - * sysdeps/standalone/arm/errnos.h: New file. - * sysdeps/stub/sys/param.h: Add dummy definition of MAXSYMLINKS. - * sysdeps/unix/arm/fork.S: New file. - * sysdeps/unix/sysv/linux/arm/sysdep.h: New file. - * sysdeps/stub/tempname.c (__stdio_gen_tempname): Add missing - `streamptr' argument. - * sysdeps/stub/vdprintf.c: Remove second copy of file (!), include - <stdarg.h> to get va_list defined, return 0 not NULL. - * sysdeps/unix/sysv/linux/statfsbuf.h: Include <gnu/types.h>. - * sysdeps/unix/sysv/linux/arm/syscall.S: New file. - * sysdeps/stub/direntry.h (struct dirent): Add missing ';'. - * sysdeps/stub/seekdir.c (seekdir): Likewise. - * sysdeps/stub/dirfd.c (dirfd): Argument dirp is DIR*, not FILE*. - * sysdeps/standalone/dirstream.h: Define struct __dirstream - not DIR; <dirent.h> provides typedef. - * sysdeps/unix/sysv/linux/arm/clone.S: New file. - * sysdeps/unix/sysv/linux/arm/socket.S: New file. - * sysdeps/stub/sysconf.c (__sysconf): Fix typos. - -1997-05-01 06:35 Geoff Keating <geoffk@ozemail.com.au> - - * sysdeps/powerpc/Dist: New file. - * sysdeps/powerpc/Makefile: New file. - * sysdeps/powerpc/fclrexcpt.c: New file. - * sysdeps/powerpc/fegetenv.c: New file. - * sysdeps/powerpc/fegetround.c: New file. - * sysdeps/powerpc/feholdexcpt.c: New file. - * sysdeps/powerpc/fenvbits.h: New file. - * sysdeps/powerpc/fenv_const.c: New file. - * sysdeps/powerpc/fenv_libc.h: New file. - * sysdeps/powerpc/fesetenv.c: New file. - * sysdeps/powerpc/fesetround.c: New file. - * sysdeps/powerpc/feupdateenv.c: New file. - * sysdeps/powerpc/fgetexcptflg.c: New file. - * sysdeps/powerpc/fraiseexcpt.c: New file. - * sysdeps/powerpc/fsetexcptflg.c: New file. - * sysdeps/powerpc/ftestexcept.c: New file. - * sysdeps/powerpc/mathbits.h: New file. - - * sysdeps/powerpc/dl-machine.h: Wrap in #ifndef dl_machine_h; - define elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p, - ELF_MACHINE_RELOC_NOPLT; consequent changes to elf_machine_rela. - - * sysdeps/powerpc/__math.h: Remove definition for hypot and __sgn. - - * sysdep/powerpc/fpu_control.h: Correct IEEE default mode. - - * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use .text, but - instead .section ".text". - -1997-04-25 05:06 Geoff Keating <geoffk@ozemail.com.au> - - * sysdeps/powerpc/__longjmp.S: Use symbolic register numbering. - * sysdeps/powerpc/bsd-_setjmp.S: Likewise. - * sysdeps/powerpc/bsd-setjmp.S: Likewise. - * sysdeps/powerpc/setjmp.S: Likewise. - - * sysdeps/unix/sysv/linux/clone.S: Likewise. - * sysdeps/unix/sysv/linux/socket.S: Likewise. - * sysdeps/unix/sysv/linux/syscall.S: Likewise. - -1997-04-20 04:37 Geoff Keating <geoffk@ozemail.com.au> - - * 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. - -1997-04-05 06:34 Geoff Keating <geoffk@ozemail.com.au> - - * 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. - -1997-05-12 02:28 Ulrich Drepper <drepper@cygnus.com> - - * time/sys/time.h: Make second argument of setitimer const. - Patch by Michael Deutschmann <ldeutsch@mail.netshop.net>. - * sysdeps/stub/setitimer.c: Likewise. - * sysdeps/mach/hurd/setitimer.c: Likewise. - -1997-05-10 11:46 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * nis/rpcsvc/nis_callback.x: New, from tirpcsrc-2.3. - - * 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. - -1997-05-09 16:09 Miles Bader <miles@gnu.ai.mit.edu> - - * argp/argp-eexst.c: Include <sysexits.h>. - (argp_err_exit_status): Initialize to EX_USAGE. - * argp/argp.h, argp/argp-help.c: Doc fixes. - -1997-05-08 17:15 Miles Bader <miles@gnu.ai.mit.edu> - - * argp/argp.h [!__error_t_defined] (__error_t_defined): Define. - * argp/argp-help.c (canon_doc_option): Correct ctype tests. - -1997-05-08 07:53 H.J. Lu <hjl@gnu.ai.mit.edu> - - * sysdeps/unix/sysv/linux/poll.c: Save errno. - -1997-05-08 16:44 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/syscalls.list: Add nfsservctl. - -1997-05-07 20:27 H.J. Lu <hjl@gnu.ai.mit.edu> - - * sys/ttydefaults.h: Removed. - -1997-05-07 14:10 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * 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). - -1997-05-05 14:22 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * hurd/hurdsig.c (_hurdsig_preemptors): Provide initialization. - * hurd/hurdfault.c (_hurdsig_fault_preemptor): Likewise. - -1997-05-07 16:31 Ulrich Drepper <drepper@cygnus.com> - - * 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. - - * 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. - - * elf/ldd.bash.in: Correct translatable strings. - - * 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. - - * posix/getopt.c: Declare as master copies. - * posix/getopt1.c: Likewise. - * posix/getopt.h: Likewise. - - * sysdeps/unix/sysv/linux/sys/mount.h: Add definitions for option - value to mount functions. - Patch by a sun <asun@zoology.washington.edu>. - - * 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>. - -1997-05-06 13:25 H.J. Lu <hjl@gnu.ai.mit.edu> - - * 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. - - * sunrpc/svc_run.c (svc_exit): New, defined. - (svc_run): Test for svc_stop variable. - * sunrpc/rpc/svc.h (svc_exit): New, declared. - -1997-05-03 08:47 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * math/libm-test.c (test_not_exception): Don't mix the internal - exception flags with the host defined FE_* values. All (indirect) - callers of this and test_exceptions changed to pass the internal - flag values. - (csin_test): Allow invalid exception for +-Inf + i NaN. Fix typos - in test names. - (csinh_test): Allow invalid exception for NaN +- i Inf. - -1997-05-03 09:21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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. - - * sysdeps/m68k/e_pow.c: Raise invalid exception for NaN result. - Use __m81_test. - - * sysdeps/m68k/s_ccosh.c: Rewritten. - * sysdeps/m68k/s_csinh.c: Rewritten. - * sysdeps/m68k/s_cexp.c: Rewritten. - * sysdeps/m68k/s_ccoshf.c: Don't define huge_val. - * sysdeps/m68k/s_ccoshl.c: Likewise. - * sysdeps/m68k/s_csinhf.c: Likewise. - * sysdeps/m68k/s_csinhl.c: Likewise. - * sysdeps/m68k/s_cexpf.c: Likewise. - * sysdeps/m68k/s_cexpl.c: Likewise. - - * sysdeps/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. - -1997-05-02 19:48 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Makerules, manual/Makefile: Remove -$(subdir) suffix from subdir - stamp files to avoid problems with long file names. - -1997-05-03 22:24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/libm-ieee754/e_acoshl.c: Fix test for x < 1. - - * sysdeps/libm-ieee754/e_atan2l.c: Ignore integer bit for Inf and - NaN. Fix test for sign of infinite y. - - * sysdeps/libm-ieee754/e_atanhl.c: Fix sign of result. - - * sysdeps/libm-ieee754/e_sinhl.c: Fix test for sign of argument. - -1997-05-03 01:15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * csu/Makefile (extra-objs) [$(elf)=yes]: Add abi-note.o to get - dependencies. - - * 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. - - * po/de.po: Update. - -1997-04-29 21:06 Ulrich Drepper <drepper@cygnus.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>. - -1997-04-27 21:50 Philip Blundell <pjb27@cam.ac.uk> - - * sysdeps/unix/sysv/linux/net/route.h (struct in6_rtmsg): Use - correct `int' sizes for struct members. - -1997-04-29 19:14 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/libm-i387/e_powf.S Generate invalid exception correctly. - * sysdeps/libm-i387/e_pow.S: Likewise. - * sysdeps/libm-i387/e_powl.S: Likewise. - -1997-04-23 10:08 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * math/fenv.h: Correct typos. - -1997-04-28 10:04 Richard Henderson <rth@tamu.edu> - - * sysdeps/unix/sysv/linux/alpha/clone.S: Save the function argument - in t0 rather than a4 to avoid it being clobbered. - -1997-04-27 23:52 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * manual/summary.awk: Recognize @defmumblex. - - * manual/signal.texi (Miscellaneous Signals): Use @deftypevrx for - second description header. - -1997-04-27 23:29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * manual/arith.texi (Floating-Point Classes): Don't indent text, - makeinfo doesn't like that. - -1997-04-27 20:52 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * malloc/obstack.h (obstack_specify_allocation_with_arg, - obstack_chunkfun, obstack_freefun): Fix casts. - -1997-04-27 18:21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * manual/xtract-typefun.awk: Allow names with only one character. - -1997-04-26 14:16 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Use <netinet/ip_icmp.h> - not <netinet/icmp.h>. - Reported by Michael Deutschmann <ldeutsch@mail.netshop.net>. - -1997-04-25 12:31 Ulrich Drepper <drepper@cygnus.com> - - * csu/Makefile ($(objpfx)initfini.s): Add CPPFLAGS, CFLAGS and -g0 - to command line of compiler. - Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>. - - * sysdeps/generic/sigset.h (__sigandset, __sigorset): Fix typos. - Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>. - - * signal/signal.h (_sys_siglist, sys_siglist): Use _NSIG, not NSIG - in declaration. - Patch by Michael Widenius <monty@tcx.se>. - - * time/strptime.c (strptime_internal): Fix %I format specifier - being off by one. - Patch by Mark Kettenis <kettenis@phys.uva.nl>. - -1997-04-24 12:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * stdlib/lcong48_r.c: Include <limits.h>. - * stdlib/seed48_r.c: Likewise. - - * stdio-common/printf_size.c (printf_size): Correct type of - `units' and make robust against future changes. - -1997-04-23 18:58 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. - -1997-04-23 18:53 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. - -1997-04-22 15:58 Andreas Jaeger <aj@arthur.rhein-neckar.de> - - * stdio-common/printf_size.c (printf_size): Correct size of array - units. - -1997-04-21 07:50 H.J. Lu <hjl@gnu.ai.mit.edu> - - * libgen.h: New file. - -1997-04-21 16:45 Ulrich Drepper <drepper@cygnus.com> - - * 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. - - * stdlib/stdlib.h: Provide new prototypes. - -1997-04-21 13:25 Ulrich Drepper <drepper@cygnus.com> - - * 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. - - * math/cmathcalls.h: Fix typo. - - * stdlib/a64l.c: Pretty printing. - - * stdlib/seed48_r.c: Also reset `a' and `c' to default values. - * stdlib/srand48_r.c: Likewise. - * stdlib/stdlib.h: Pretty printing. - - * sysdeps/i386/fpu/__math.h: Fix typo. - - * sysdeps/libm-ieee754/s_nearbyintf.c: Correctly name function. - * sysdeps/libm-ieee754/s_nearbyintl.c: Likewise. - -1997-04-19 22:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/m68k/fpu/e_pow.c: Rewrite handling of integral exponent. - -1997-04-18 19:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/m68k/fpu/__math.h: Define optimized versions of - isgreater, isgreaterequal, isless, islessequal, islessgreater, and - isunordered. - -1997-04-20 01:28 Richard Henderson <rth@tamu.edu> - - * rellns-sh: Handle files in the same directory correctly. - -1997-04-20 11:22 Ulrich Drepper <drepper@cygnus.com> - - * csu/initfini.c: Place ALIGN instruction at correct positions. - Patch by Richard Henderson <richard@twiddle.rth.home>. - -1997-04-19 17:12 Ulrich Drepper <drepper@cygnus.com> - - * Make-dist: Don't automatically ignore .c files if the .S or .s file - is ignored. - - * csu/Makefile (distribute): Add defs.awk. - -1997-04-19 15:39 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/stub/shmat.c: Update to XPG4.2 interface. - * sysdeps/stub/shmdt.c: Likewise. - Reported by Thomas Bushnell, n/BSG. - -1997-04-19 13:22 Ulrich Drepper <drepper@cygnus.com> - - * manual/stdio.texi: Add description of printf_size and - printf_size_info. Partly based on the documentation by Larry McVoy. - -1997-04-19 02:21 Ulrich Drepper <drepper@cygnus.com> - - * 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. - -1997-04-18 15:48 Ulrich Drepper <drepper@cygnus.com> - - * 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>. - -1997-04-17 17:57 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * math/Makefile (headers): Add mathbits.h. - -1997-04-16 21:20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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. - - * sysdeps/libm-ieee754/e_scalb.c: Use internal names of the - functions. - * sysdeps/libm-ieee754/e_scalbl.c: Likewise. - - * sysdeps/libm-ieee754/s_ctanh.c: Use isfinite instead of finite. - * sysdeps/libm-ieee754/s_ctanhf.c: Likewise. - * sysdeps/libm-ieee754/s_ctanhl.c: Likewise. - * sysdeps/libm-ieee754/s_ctan.c: Likewise. - * sysdeps/libm-ieee754/s_ctanf.c: Likewise. - * sysdeps/libm-ieee754/s_ctanl.c: Likewise. Fix type of `res'. - -1997-04-18 11:21 Ulrich Drepper <drepper@cygnus.com> - - * shadow/fgetspent_r.c: Set *RESULT to NULL before returning error. - Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>. - -1997-04-18 02:18 Ulrich Drepper <drepper@cygnus.com> - - * csu/initfini.c: Rewrite by Zack Weinberg - <zack@rabi.phys.columbia.edu>. - * csu/Makefile: Add rules for rewrite. - * csu/defs.awk: Helper script to generate derived header. - -1997-04-17 16:55 Ulrich Drepper <drepper@cygnus.com> - - * misc/libgen.h: Change prototype for of basename to XPG variant. - * stdlib/Makefile (routines): Add xpg_basename. - * stdlib/basename.c: New file. - * string/string.h: Don't declare basename function if basename - macro is available. - -1997-04-16 17:33 Miles Bader <miles@gnu.ai.mit.edu> - - * login/utmp_file.c (proc_utmp_eq): Only use ut_id field if valid. - -1997-04-15 12:47 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/m68k/fpu/fclrexcpt.c: New file. - * sysdeps/m68k/fpu/fenvbits.h: New file. - * sysdeps/m68k/fpu/fegetenv.c: New file. - * sysdeps/m68k/fpu/fegetround.c: New file. - * sysdeps/m68k/fpu/fesetenv.c: New file. - * sysdeps/m68k/fpu/fesetround.c: New file. - * sysdeps/m68k/fpu/feupdateenv.c: New file. - * sysdeps/m68k/fpu/fgetexcptflg.c: New file. - * sysdeps/m68k/fpu/fraiseexcpt.c: New file. - * sysdeps/m68k/fpu/fsetexcptflg.c: New file. - * sysdeps/m68k/fpu/ftestexcept.c: New file. - * sysdeps/m68k/fpu/mathbits.h: New file. - - * sysdeps/m68k/fpu/s_remquo.c: New file. - * sysdeps/m68k/fpu/s_remquol.c: New file. - * sysdeps/m68k/fpu/s_remquof.c: New file. - - * sysdeps/libm-ieee754/s_roundl.c: Restore integer bit when - mantissa overflows into exponent. Fix priority of >> vs +. - - * math/libm-test.c (basic_tests): Use the appropriate isnan and - isinf function to test the value of the nan function. - -1997-04-15 13:40 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/libm-i387/s_finite.S: Fix typo. - - * sysdeps/i386/fpu/__math.h: Add optimized versions of isgreater, - isgreaterequal, isless, islessequal, islessgreater, and - isunordered. - -1997-04-15 03:14 Ulrich Drepper <drepper@cygnus.com> - - * wcsmbs/wcsstr.c: Add weak alias wcswcs for Unix98 compliance. - - * math/Makefile (libm-calls): Add s_sincos and s_cproj. - * math/mathcalls.h: Add prototype for sincos. - * sysdeps/i386/fpu/__math.h: Warn about restriction on arguments to - inlined sin and cos function. - Define functions new in ISO C 9X when __USE_ISOC9X is defined. - Add optimized version of finite. - Rewrite sincos function to handle too large arguments. - * sysdeps/libm-i387/s_cos.S: Better code alignment. - * sysdeps/libm-i387/s_cosl.S: Likewise. - * sysdeps/libm-i387/s_sin.S: Likewise. - * sysdeps/libm-i387/s_sinl.S: Likewise. - * sysdeps/libm-i387/s_finite.S: Yet better code. - * sysdeps/libm-i387/s_finitef.S: Likewise. - * sysdeps/libm-i387/s_sincos.S: New file. - * sysdeps/libm-i387/s_sincosf.S: New file. - * sysdeps/libm-i387/s_sincosl.S: New file. - * sysdeps/libm-ieee754/s_sincos.c: New file. - * sysdeps/libm-ieee754/s_sincosf.c: New file. - * sysdeps/libm-ieee754/s_sincosl.c: New file. - - * sysdeps/libm-ieee754/s_ccosh.c: Change to use sincos function. - * sysdeps/libm-ieee754/s_ccoshf.c: Likewise. - * sysdeps/libm-ieee754/s_ccoshl.c: Likewise. - * sysdeps/libm-ieee754/s_cexp.c: Likewise. - * sysdeps/libm-ieee754/s_cexpf.c: Likewise. - * sysdeps/libm-ieee754/s_cexpl.c: Likewise. - * sysdeps/libm-ieee754/s_csinh.c: Likewise. - * sysdeps/libm-ieee754/s_csinhf.c: Likewise. - * sysdeps/libm-ieee754/s_csinhl.c: Likewise. - * sysdeps/libm-ieee754/s_ctan.c: Likewise. - * sysdeps/libm-ieee754/s_ctanf.c: Likewise. - * sysdeps/libm-ieee754/s_ctanl.c: Likewise. - * sysdeps/libm-ieee754/s_ctanh.c: Likewise. - * sysdeps/libm-ieee754/s_ctanhf.c: Likewise. - * sysdeps/libm-ieee754/s_ctanhl.c: Likewise. - - * sysdeps/libm-ieee754/s_cosl.c: Correct check for range. - * sysdeps/libm-ieee754/s_sinl.c: Likewise. - - * sysdeps/libm-ieee754/s_roundtol.c: Fix typos. - * sysdeps/libm-ieee754/s_roundtoll.c: Likewise. - - * nis/Makefile (services): Mention nisplus before compat. - * nis/nis_call.c (__do_niscall): Change type of variable server_len - to prevent warning. - * nis/nss_compat/compat-grp.c (getgrent_next_file_plusgroup): Add - cast to prevent warning. - * nis/nss_compat/compat-pwd.c (getpwent_next_file_plususer): Likewise. - * nis/nss_compat/compat-spwd.c (getspent_next_file_plususer): Likewise. - * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent): Change - type of variable `i' to prevent warning. - * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent): - Likewise. - * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent): - Likewise. - * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent): Likewise. - * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent): - Likewise. - - * sysdeps/generic/Dist: Remove old math implementation files. - * sysdeps/generic/mathimpl.h: Removed. - * sysdeps/generic/trig.h: Removed. - * sysdeps/generic/sincos.c: Removed. - * sysdeps/generic/asincos.c: Removed. - * sysdeps/generic/exp__E.c: Removed. - * sysdeps/generic/log__L.c: Removed. - -1997-04-13 17:18 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> - - * malloc/malloc.c (fREe): Small optimization. Before returning, - add fast check whether the heap containing top can go away. - -1997-04-11 16:46 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> - - * malloc/malloc.c (mALLOc, rEALLOc, cALLOc, mEMALIGn): When - failing to allocate a new chunk, also try the main_arena. It may - be that we are only running out of mmapped regions, and other - arenas cannot be enlarged sufficiently. - (new_heap, malloc_extend_top): Handle top_pad more consistently, - i.e. only in new_heap(). - -1997-04-13 21:10 Philip Blundell <pjb27@cl.cam.ac.uk> - - * sysdeps/posix/Makefile: Don't try to build and run mk-stdiolim - if cross-compiling. - - * configure.in: Recognise "...linuxaout" OS names and turn off ELF. - - * configure.in: Add ARM support. - * sysdeps/arm/Implies: New file. - * sysdeps/arm/__longjmp.S: New file. - * sysdeps/arm/bsd-_setjmp: New file. - * sysdeps/arm/bsd-setjmp: New file. - * sysdeps/arm/bytesex.h: New file. - * sysdeps/arm/fpu_control.h: New file. - * sysdeps/arm/jmp_buf.h: New file. - * sysdeps/arm/setjmp.h: New file. - * sysdeps/arm/sysdep.h: New file. - * sysdeps/unix/arm/config.h: New file. - -1997-04-14 04:03 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/libm-ieee754/s_cproj.c: New file. - * sysdeps/libm-ieee754/s_cprojf.c: New file. - * sysdeps/libm-ieee754/s_cprojl.c: New file. - -1997-04-13 01:06 Ulrich Drepper <drepper@cygnus.com> - - * isomac.c: Improve messages. - - * math/Makefile (libm-calls): Add s_nearbyint, s_catan, s_casin, - s_ccos, s_csin, s_ctan, s_ctanh, s_cacos, s_casinh, s_cacosh, - s_catanh, s_csqrt, and s_cpow. - * math/libm-test.c: New functions ccos_test, cacos_test, cacosh_test, - casin_test, casinh_test, catan_test, catanh_test, ctanh_test, - csqrt_test, cpow_test, rint_test. - * math/math.h: Include new header mathbits.h which defines some - more (system dependent) types and some macros. - (isfinite): Use __finite instead of fpclassify. - * sysdeps/generic/mathbits.h: New file. - * sysdeps/i386/fpu/mathbits.h: New file. - * sysdeps/i386/huge_val.h: Don't define INFINITY. - * sysdeps/ieee754/huge_val.h: Likewise. - * sysdeps/m68k/huge_val.h: Likewise. - - * sysdeps/i386/fpu/fenvbits.h: Define FE_NOMASK_ENV. - * sysdeps/i386/fpu/fesetenv.c: Handle FE_NOMASK_ENV. - - * math/complex.h (_Imaginary_I): Define correctly. I misread the - standard first. - - * sysdeps/libm-i387/s_finite.S: Optimized rewrite. - * sysdeps/libm-i387/s_finitef.S: Likewise. - * sysdeps/libm-i387/s_finitel.S: Likewise. - Provided by Joe Keane <jgk@jgk.org>. - - * sysdeps/libm-i387/s_nearbyint.S: New file. - * sysdeps/libm-i387/s_nearbyintf.S: New file. - * sysdeps/libm-i387/s_nearbyintl.S: New file. - * sysdeps/libm-ieee754/s_nearbyint.S: New file. - * sysdeps/libm-ieee754/s_nearbyintf.S: New file. - * sysdeps/libm-ieee754/s_nearbyintl.S: New file. - - * sysdeps/libm-ieee754/s_cacos.c: New file. - * sysdeps/libm-ieee754/s_cacosf.c: New file. - * sysdeps/libm-ieee754/s_cacosl.c: New file. - * sysdeps/libm-ieee754/s_cacosh.c: New file. - * sysdeps/libm-ieee754/s_cacoshf.c: New file. - * sysdeps/libm-ieee754/s_cacoshl.c: New file. - * sysdeps/libm-ieee754/s_casin.c: New file. - * sysdeps/libm-ieee754/s_casinf.c: New file. - * sysdeps/libm-ieee754/s_casinl.c: New file. - * sysdeps/libm-ieee754/s_casinh.c: New file. - * sysdeps/libm-ieee754/s_casinhf.c: New file. - * sysdeps/libm-ieee754/s_casinhl.c: New file. - * sysdeps/libm-ieee754/s_catan.c: New file. - * sysdeps/libm-ieee754/s_catanf.c: New file. - * sysdeps/libm-ieee754/s_catanl.c: New file. - * sysdeps/libm-ieee754/s_catanh.c: New file. - * sysdeps/libm-ieee754/s_catanhf.c: New file. - * sysdeps/libm-ieee754/s_catanhl.c: New file. - * sysdeps/libm-ieee754/s_ccos.c: New file. - * sysdeps/libm-ieee754/s_ccosf.c: New file. - * sysdeps/libm-ieee754/s_ccosl.c: New file. - * sysdeps/libm-ieee754/s_cpow.c: New file. - * sysdeps/libm-ieee754/s_cpowf.c: New file. - * sysdeps/libm-ieee754/s_cpowl.c: New file. - * sysdeps/libm-ieee754/s_csin.c: New file. - * sysdeps/libm-ieee754/s_csinf.c: New file. - * sysdeps/libm-ieee754/s_csinl.c: New file. - * sysdeps/libm-ieee754/s_csqrt.c: New file. - * sysdeps/libm-ieee754/s_csqrtf.c: New file. - * sysdeps/libm-ieee754/s_csqrtl.c: New file. - * sysdeps/libm-ieee754/s_ctan.c: New file. - * sysdeps/libm-ieee754/s_ctanf.c: New file. - * sysdeps/libm-ieee754/s_ctanl.c: New file. - * sysdeps/libm-ieee754/s_ctanh.c: New file. - * sysdeps/libm-ieee754/s_ctanhf.c: New file. - * sysdeps/libm-ieee754/s_ctanhl.c: New file. - - * time/strftime.c (memset_space): Increment pointer. - * time/strptime.c: Interpret year number 00-59 as 2000--2059. - Patches by Karl Heuer <kwzh@gnu.ai.mit.edu>. - -1997-04-11 11:57 Miguel de Icaza <miguel@nuclecu.unam.mx> - - * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove fork, - pipe, syscall. - -1997-04-05 00:57 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although - probably still wrong. - * sysdeps/libm-ieee754/s_remquof.c: Likewise. - * sysdeps/libm-ieee754/s_remquol.c: Likewise. - - * math/libm-test.c (remquo_test): Corrected. - -1997-04-11 00:01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/m68k/fpu/__math.h (__rinttol, rinttol): New inline. - * sysdeps/m68k/fpu/s_rinttol.c: New file. - * sysdeps/m68k/fpu/s_rinttoll.c: New file. - - * math/libm-test.c (remquo_test): Use check_long to test the - quotient. - (cbrt_test): Add epsilons for long double. - -1997-04-10 18:48 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * locale/localeinfo.h: Update declaration of _nl_current. - -1997-04-11 11:27 Ulrich Drepper <drepper@cygnus.com> - - * rellnsh-sh: Use explicitely /bin/pwd to find the external program. - - * math/Makefile (headers): Add fenv.h and fenvbits.h. - (libm-support): Add s_rountol, s_roundtoll, fclrexcpt, fgetexcptflg, - fraiseexcpt, fsetexcptflg, ftestexcept, fegetround, fesetround, - fegetenv, feholdexcpt, fesetenv, feupdateenv. - (libm-calls): Add s_round. - * math/fenv.h: New file. - * math/libm-test.c: Correct tests for s_rinttol and s_rinttoll. - Add roundtol_check and roundtoll_check. - * math/math.h: Pretty printing. - * sysdeps/i386/fpu/fclrexcpt.c: New file. - * sysdeps/i386/fpu/fegetenv.c: New file. - * sysdeps/i386/fpu/fegetround.c: New file. - * sysdeps/i386/fpu/feholdexcpt.c: New file. - * sysdeps/i386/fpu/fenvbits.h: New file. - * sysdeps/i386/fpu/fesetenv.c: New file. - * sysdeps/i386/fpu/fesetround.c: New file. - * sysdeps/i386/fpu/fgetexcptflg.c: New file. - * sysdeps/i386/fpu/fraiseexcpt.c: New file. - * sysdeps/i386/fpu/fsetexcptflg.c: New file. - * sysdeps/i386/fpu/ftestexcept.c: New file. - * sysdeps/stub/fclrexcpt.c: New file. - * sysdeps/stub/fegetenv.c: New file. - * sysdeps/stub/fegetround.c: New file. - * sysdeps/stub/feholdexcpt.c: New file. - * sysdeps/stub/fenvbits.h: New file. - * sysdeps/stub/fesetenv.c: New file. - * sysdeps/stub/fesetround.c: New file. - * sysdeps/stub/fgetexcptflg.c: New file. - * sysdeps/stub/fraiseexcpt.c: New file. - * sysdeps/stub/fsetexcptflg.c: New file. - * sysdeps/stub/ftestexcept.c: New file. - - * sysdeps/libm-i387/s_trunc.S: New file. - * sysdeps/libm-i387/s_truncf.S: New file. - * sysdeps/libm-i387/s_truncl.S: New file. - - * sysdeps/libm-ieee754/s_round.c: New file. - * sysdeps/libm-ieee754/s_roundf.c: New file. - * sysdeps/libm-ieee754/s_roundl.c: New file. - - * sysdeps/libm-ieee754/s_ccosh.c: Rewritten to use fpclassify. - * sysdeps/libm-ieee754/s_ccoshf.c: Likewise. - * sysdeps/libm-ieee754/s_ccoshl.c: Likewise. - * sysdeps/libm-ieee754/s_cexp.c: Likewise. - * sysdeps/libm-ieee754/s_cexpf.c: Likewise. - * sysdeps/libm-ieee754/s_cexpl.c: Likewise. - * sysdeps/libm-ieee754/s_clog.c: Likewise. - * sysdeps/libm-ieee754/s_clogf.c: Likewise. - * sysdeps/libm-ieee754/s_clogl.c: Likewise. - * sysdeps/libm-ieee754/s_csinh.c. Likewise. - * sysdeps/libm-ieee754/s_csinhf.c. Likewise. - * sysdeps/libm-ieee754/s_csinhl.c. Likewise. - - * 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. - -1997-04-04 23:57 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * stdio-common/vfscanf.c: Fix scanning of hexadecimal fp number. - * stdio-common/tstscanf.c: Add test case for this. - -1997-04-04 17:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * math/libm-test.c: Fix more typos. - -1997-04-03 17:15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * math/libm-test.c (csinh_test): Fix test names. - (ccosh_test): 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. - - * 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. - - * 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. - - * 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. - -1997-04-03 10:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * manual/Makefile (dir-add.texi): Simplify. - -1997-04-09 01:24 Ulrich Drepper <drepper@cygnus.com> - - * rellns-sh: Rewrite to work also in presence of symlinks. - - * argp/argp-fmtstream.c: Add casts to prevent warnings. - * argp/argp-fmtstream.h: Likewise. - * argp/argp-help.c: Likewise. - - * 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. - - * locale/setlocale.c (_nl_current): Add element with index LC_ALL. - Reported by Greg McGary <gkm@eng.ascend.com>. - - * manual/libc.texinfo: Update malloc documentation for new malloc. - * manual/memory.texi: Likewise. - Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>. - - * math/libm-test.c (check_long): New function. - (check_longlong): New function. - (rinttol_test): New function. - (rinttoll_test): New function. - - * 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. - - * 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>. - - * sunrpc/svc_auth.c: Moved to ... - * sysdeps/generic/svc_auth.c: ...here. - - * time/time.h: Pretty print. - -1997-04-08 07:19 H.J. Lu <hjl@gnu.ai.mit.edu> - - * libio/genops.c (_IO_flush_all_linebuffered): Don't flush on - a read-only stream. - -1997-04-09 01:19 Ulrich Drepper <drepper@cygnus.com> - - * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration - in correct place. - Patch by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>. - -1997-04-07 15:34 Ulrich Drepper <drepper@cygnus.com> - - * 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. - - * 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. - - * 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/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/libm-ieee754/s_rintl.c: Many corrections. The previous - version was full of errors. - - * math/math.h (rinttol): Argument is of type `long double' not - `double'. - (rinttoll): Likewise. - (roundtol): Likewise. - (roundtoll): Likewise. - -1997-04-06 11:32 H.J. Lu <hjl@gnu.ai.mit.edu> - - * posix/getopt.c (_getopt_initialize): Preserve optind. - (_getopt_internal): Set optind to 1 if optind == 0 before - calling _getopt_initialize (). - -1997-04-05 16:45 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * 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(). - - * nis/nss_compat/compat-pwd.c: Use reentrant netgroup functions. - * nis/nss_compat/compat-spwd.c: Likewise. - -1997-03-27 07:37 H.J. Lu <hjl@gnu.ai.mit.edu> - - * libio/fileops.c (_IO_file_overflow): Set error when try to write - on a read-only stream. - - * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol. - (ut_time): Define it only if _NO_UT_TIME is not defined. - -1997-04-06 00:42 Ulrich Drepper <drepper@cygnus.com> - - * misc/tst-tsearch.c: Include <string.h>. Define _GNU_SOURCE only - if not already defined. - -1997-04-05 16:14 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>. - - * malloc/malloc.c (cALLOc): Little optimization. - -1997-04-05 03:11 Ulrich Drepper <drepper@cygnus.com> - - * 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. - - * manual/nss.texi: Correct a few typos and errors. - - * sysdeps/libm-ieee754/s_cbrt.c: Complete rewrite based on better - algorithm. - * sysdeps/libm-ieee754/s_cbrtf.c: Likewise. - * sysdeps/libm-ieee754/s_cbrtl.c: Likewise. - - * sysdeps/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. - - * sysdeps/libm-i387/s_frexp.S: Optimize even more. - * sysdeps/libm-i387/s_frexpf.S: Likewise. - * sysdeps/libm-i387/s_frexpl.S: Likewise. - -1997-04-04 18:55 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> +1997-11-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * nis/Makefile: Remove CFLAGS-*, add publickey to databases. + * Makefile (install): Quote $(CC) expansion. - * nis/nis_call.c: Add MASTER_ONLY and HARD_LOOKUP flags, compile - DES part only with secure RPC add-on. +1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * nis/nis_names.c (nis_modify): Fix rpc function number. + * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of + working /proc cwd and no restrictions on path length. Following + some ideas from Andi Kleen <ak@muc.de> (PR 350). - * nis/nis_server.c: Fix typos. +1997-11-14 19:14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - * nis/nss_compat/compat-grp.c: Add NIS+ support. + * nis/nss_compat/compat-grp.c: Remove buggy assert call. * nis/nss_compat/compat-pwd.c: Likewise. * nis/nss_compat/compat-spwd.c: Likewise. - * nis/nss_nis/nis-grp.c: Only a return value > 0 from parse_line - signals success. - - * nis/nss_nis/nis-publickey.c: Changes for compiling with/without - secure RPC. - * nis/nss_nisplus/nisplus-publickey.c: Likewise. - * nis/ypclnt.c: Likewise. - * nis/nis_intern.h: Likewise. - - * nis/nss_nisplus/nisplus-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. - -1997-04-04 17:03 Ulrich Drepper <drepper@cygnus.com> - - * math/libm-test.c (cbrt_test): Add tests for +-inf and NaN - arguments. - -1997-04-03 19:24 H.J. Lu <hjl@gnu.ai.mit.edu> - - * sysdeps/unix/sysv/linux/sigset.h (__sigisemptyset): Fix a - 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. - -1997-04-03 04:28 Ulrich Drepper <drepper@cygnus.com> - - * 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. - -1997-04-01 10:11 H.J. Lu <hjl@gnu.ai.mit.edu> - - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] - (sysdep_headers): Remove netinet/icmp.h. - -1997-04-02 16:55 Ulrich Drepper <drepper@cygnus.com> - - * 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. - - * Makefile: Add rule to easily generate dir-add.texi file. - * manual/Makefile: Likewise. - - * 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. - -1997-04-02 16:28 Ulrich Drepper <drepper@cygnus.com> - - * 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. - - * grp/fgetgrent_r.c (__fgetgrent_r): If `parse_result' returns -1 - this means there was not enough room for the gr_mem array. - - * nss/nss_files/files-XXX.c: Leave loop and return error if - `parse_result' returns -1. - - * 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. - - * shadow/sgetspent_r.c: Only a return value > 0 from parse_line - signals success. - - * nss/getXXbyYY.c: Make sure NULL is returned if we ran out of memory. - * nss/getXXent.c: Likewise. - - * stdlib/strtod.c (SET_MANTISSA): Make sure that at least one bit - is set in mantissa. - * stdlib/strtof.c: Likewise. - * stdlib/strtold.c: Likewise. - * wcsmbs/wcstof.c: Likewise. - * wcsmbs/wcstold.c: Likewise. - - * 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. - -1997-04-02 13:56 Ulrich Drepper <drepper@cygnus.com> - - * manual/errno.texi: Add description of strerror_r. - -1997-04-01 19:07 H.J. Lu (hjl@gnu.ai.mit.edu) - - * manual/errno.texi: Add ENOMEDIUM and EMEDIUMTYPE. - -1997-04-02 13:55 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/gnu/errlist.awk: The Texinfo file is named errno.texi. - -1997-03-30 10:59 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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/m68k/fpu/s_modf.c: Rewritten. - * sysdeps/m68k/fpu/s_modff.c: Adapted. - * sysdeps/m68k/fpu/s_modfl.c: Likewise. - - * 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/m68k/fpu/__math.h: Define __trunc, __signbit, - __nearbyint. Remove __modf. - - * sysdeps/m68k/Makefile (CFLAGS-s_copysignl.c) [$(subdir)=math]: - Define for gcc bug workaround. - - * 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. - -1997-03-29 16:24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sunrpc/Makefile (CFLAGS-xrquota.c): Fix typo in variable name. - -1997-03-28 20:56 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * stdlib/stdlib.h: Declare __clearenv. - -1997-03-28 18:03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/libm-ieee754/s_asinhl.c: Fix Ulrich Dreppers mangling of - the last change. - -1997-03-28 17:55 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * configure.in: Call AC_CANONICAL_BUILD before referencing - $build. Fix test for BUILD_CC. - -1997-04-02 01:29 Philip Blundell <pjb27@cam.ac.uk> - - * sysdeps/libm-ieee754/s_log2f.c (__log2f): Fix typo. - -1997-03-31 18:53 Philip Blundell <pjb27@cam.ac.uk> - - * sysdeps/unix/sysv/linux/net/route.h: Add new IPv6 definitions. - -1997-04-01 14:08 Ulrich Drepper <drepper@cygnus.com> - - * 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>. - -1997-04-01 00:37 Ulrich Drepper <drepper@cygnus.com> - - * math/Makefile: Prevent inlining for test-{float,double,longdouble}. - * math/libm-test.c (initialize): Make strings unique and force - values to memory. - - * posix/regex.c: Debug debugging code. - - * sysdeps/i386/asm-syntax.h: Define `L' macro to emit correct - syntax for local label. - * sysdeps/i386/add_n.S: Use correct local label syntax for the - binary format. - * sysdeps/i386/addmul_1.S: Likewise. - * sysdeps/i386/lshift.S: Likewise. - * sysdeps/i386/memchr.S: Likewise. - * sysdeps/i386/memcmp.S: Likewise. - * sysdeps/i386/mul_1.S: Likewise. - * sysdeps/i386/rshift.S: Likewise. - * sysdeps/i386/stpcpy.S: Likewise. - * sysdeps/i386/stpncpy.S: Likewise. - * sysdeps/i386/strchr.S: Likewise. - * sysdeps/i386/strcspn.S: Likewise. - * sysdeps/i386/strlen.S: Likewise. - * sysdeps/i386/strpbrk.S: Likewise. - * sysdeps/i386/strrchr.S: Likewise. - * sysdeps/i386/strspn.S: Likewise. - * sysdeps/i386/strtok.S: Likewise. - * sysdeps/i386/sub_n.S: Likewise. - * sysdeps/i386/submul_1.S: Likewise. - * sysdeps/i386/i486/strcat.S: Likewise. - * sysdeps/i386/i486/strlen.S: Likewise. - * sysdeps/i386/i586/add_n.S: Likewise. - * sysdeps/i386/i586/addmul_1.S: Likewise. - * sysdeps/i386/i586/lshift.S: Likewise. - * sysdeps/i386/i586/memset.S: Likewise. - * sysdeps/i386/i586/mul_1.S: Likewise. - * sysdeps/i386/i586/rshift.S: Likewise. - * sysdeps/i386/i586/strchr.S: Likewise. - * sysdeps/i386/i586/strlen.S: Likewise. - * sysdeps/i386/i586/sub_n.S: Likewise. - * sysdeps/i386/i586/submul_1.S: Likewise. - - * sysdeps/stub/s_log2l.c: Correct function name. - - * 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. - -1997-03-31 12:42 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/powerpc/Dist: Add kernel_*.h files. - -1997-03-23 01:41 Geoff Keating <geoffk@ozemail.com.au> - - * sysdeps/powerpc/strlen.s: Rewrote for more speed. - * string/tst-strlen.c: Also test various string alignments. - -1997-03-19 06:11 Geoff Keating <geoffk@ozemail.com.au> - - * sysdeps/unix/sysv/linux/powerpc/statbuf.h: Removed. - * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h: Added. - - * 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. - - * sysdeps/powerpc/dl-machine.h: More comments, more GNU indenting. - Put in extra parentheses to make explicit the relative precedence - of + and >>. - - * sysdeps/powerpc/bsd-setjmp.S: Add `__setjmp' symbol so the tests - pass. - * sysdeps/powerpc/clone.S: Rewrite. Probably still doesn't work. - - * sysdeps/unix/sysv/linux/powerpc/sys/sysdep.h: Use .section "text" - instead of .text. - -1997-03-31 02:28 Ulrich Drepper <drepper@cygnus.com> - - * 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>. - -1997-03-30 03:42 Ulrich Drepper <drepper@cygnus.com> - - * math/libm-test.c: Add definition of ctanh_test, clog_test, and - csqrt_test. - -1997-03-29 17:39 Ulrich Drepper <drepper@cygnus.com> - - * math/Makefile (routines): Add carg, s_ccosh and s_csinh. - - * math/complex.h: Add C++ protection. - - * 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. - - * 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. - - * 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/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/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. - - * 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. - - * math/carg.c: New file. Generic implementatio of carg function. - * math/cargf.c: New file. - * math/cargl.c: New file. - -1997-03-29 16:07 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/posix/system.c: Update copyright. - -1997-03-29 04:18 Ulrich Drepper <drepper@cygnus.com> - - * 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. - - * nss/nsswitch.c: Fix typo. - - * 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). - - * 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. - - * 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. - - * 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. - - * sysdeps/sparc/elf/start.S: Remove as per request of Miguel de Icaza. - - * sysdeps/unix/sysv/linux/netinet/icmp.h: Remove since we have - ip_icmp.h. Reported by HJ Lu. - -1997-03-25 03:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/m68k/Makefile (CFLAGS-rtld.c): Add -Wno-unused. - - * 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. - -1997-03-25 03:48 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * grp/grp.h: Include <stddef.h> only once. - -1997-03-25 09:38 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Don't define. - * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise. - - * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Use either OXTABS or - TAB3, if one of them is defined. - -1997-03-26 04:53 Ulrich Drepper <drepper@cygnus.com> - - * posix/glob.c (next_brace_sub): Decrement depth counter when '}' - is found. - Patch by Dennis Henriksen <opus@flamingo.osrl.dk>. - -1997-03-25 16:25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * sunrpc/Makefile: Comment gccwarn out. - * sunrpc/auth_none.c: Fix prototypes and parameters for compiling - with enabled warnings. - * sunrpc/auth_unix.c: Likewise. - * sunrpc/authuxprot.c: Likewise. - * sunrpc/bindrsvprt.c: Likewise. - * sunrpc/clnt_gen.c: Likewise. - * sunrpc/clnt_perr.c: Likewise. - * sunrpc/clnt_raw.c: Likewise. - * sunrpc/clnt_simp.c: Likewise. - * sunrpc/clnt_tcp.c: Likewise. - * sunrpc/clnt_udp.c: Likewise. - * sunrpc/get_myaddr.c: Likewise. - * sunrpc/getrpcport.c: Likewise. - * sunrpc/pm_getmaps.c: Likewise. - * sunrpc/pm_getport.c: Likewise. - * sunrpc/pmap_clnt.c: Likewise. - * sunrpc/pmap_prot.c: Likewise. - * sunrpc/pmap_prot2.c: Likewise. - * sunrpc/pmap_rmt.c: Likewise. - * sunrpc/rpc/auth.h: Likewise. - * sunrpc/rpc/clnt.h: Likewise. - * sunrpc/rpc/pmap_clnt.h: Likewise. - * sunrpc/rpc/svc.h: Likewise. - * sunrpc/rpc/svc_auth.h: Likewise. - * sunrpc/rpc/types.h: Likewise. - * sunrpc/rpc/xdr.h: Likewise. - * sunrpc/rpc_clntout.c: Likewise. - * sunrpc/rpc_cmsg.c: Likewise. - * sunrpc/rpc_dtable.c: Likewise. - * sunrpc/rpc_prot.c: Likewise. - * sunrpc/svc.c: Likewise. - * sunrpc/svc_auth.c: Likewise. - * sunrpc/svc_authux.c: Likewise. - * sunrpc/svc_raw.c: Likewise. - * sunrpc/svc_run.c: Likewise. - * sunrpc/svc_simple.c: Likewise. - * sunrpc/svc_tcp.c: Likewise. - * sunrpc/svc_udp.c: Likewise. - * sunrpc/xdr.c: Likewise. - * sunrpc/xdr_array.c: Likewise. - * sunrpc/xdr_mem.c: Likewise. - * sunrpc/xdr_rec.c: Likewise. - * sunrpc/xdr_ref.c: Likewise. - * sunrpc/xdr_stdio.c: Likewise. - -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. - - * 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. - - * sysdeps/generic/setenv.c [_LIBC]: Define __clearenv and make - clearenv a weak alias. +1997-11-14 22:23 Ulrich Drepper <drepper@cygnus.com> - 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. + * sysdeps/libm-i387/s_fdim.S: New file. + * sysdeps/libm-i387/s_fdimf.S: New file. + * sysdeps/libm-i387/s_fdiml.S: New file. + * sysdeps/libm-i387/i686/s_fdim.S: New file. + * sysdeps/libm-i387/i686/s_fdimf.S: New file. + * sysdeps/libm-i387/i686/s_fdiml.S: New file. - * sysdeps/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. +1997-11-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/unix/sysv/linux/iovec.h: Don't use kernel header because - of type clashes. Add all definitions here. + * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a + pointer to unsigned char. - * 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. +1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysvipc/sys/shm.h (shmat, shmdt): Correct types. + * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function. - * sysdeps/unix/sysv/linux/sys/kd.h: Define _LINUX_TYPES_H to avoid - use of kernel types. + * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function. -1997-03-25 00:00 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function. - * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_timestamp): - Correct typos. Reported by a sun <asun@zoology.washington.edu>. - -1997-03-20 21:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/libm-ieee754/s_asinhl.c: Fix sign of result. - -1997-03-20 16:20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/libm-ieee754/e_atan2l.c: Fix typo. - -1997-03-20 14:23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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. - - * sysdeps/m68k/fpu/__math.h (__ieee754_atan2, __ieee754_pow): - Don't define here. - * sysdeps/m68k/fpu/e_atan2.c: Rewritten. - * sysdeps/m68k/fpu/e_pow.c: Likewise. - * sysdeps/m68k/fpu/e_atan2f.c: Based on e_atan2.c. - * sysdeps/m68k/fpu/e_atan2l.c: Likewise. - * sysdeps/m68k/fpu/e_powf.c: Based on e_pow.c. - * sysdeps/m68k/fpu/e_powl.c: Likewise. - - * sysdeps/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. - -1997-03-20 14:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Makeconfig (all): Make sure this is always the default goal. - -1997-03-20 11:09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * math/libm-test.c: Increase epsilon in many places. Fix many - typos. Allow optinal argument also for short option. - -1997-03-20 11:09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * math/Makefile ($(objpfx)$(tests)): Link against libm. - -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. - -1997-03-23 23:30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * 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. - -1997-03-24 01:36 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/libm-i387/e_scalb.S: Pop additional result before - returning. - * sysdeps/libm-i387/e_scalbf.S: Likewise. - * sysdeps/libm-i387/e_scalbl.S: Likewise. - Reported by Andreas Jaeger <aj@arthur.pfalz.de>. - - * 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>. - - * 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. - -1997-03-23 21:33 Andreas Jaeger <aj@arthur.pfalz.de> - - * 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). - -1997-03-23 12:35 Andreas Jaeger <aj@arthur.pfalz.de> - - * math/libm-test.c (remquo_test): Correct messages so that they - match the tests. - (copysign_test): Likewise. - -1997-03-23 16:28 Ulrich Drepper <drepper@cygnus.com> - - * stdio-common/Makefile (routines): Add printf_size. - - * stdio-common/printf.h: Add declarations for printf_size and - printf_size_info. - - * 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. - - * stdio-common/vfprintf.c (vfprintf): Count number of specifiers - processed in fast loop. - - * stdio-common/printf_size: New file. - -1997-03-23 02:11 Ulrich Drepper <drepper@cygnus.com> - - * time/sys/time.h: Make values ITIMER_* also available as macros. - - * 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. - - * 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. - - * math/libm-test.c (remquo_test): New function. - - * sysdeps/libm-ieee754/s_rintl.c: Handle implicit leading one - correctly. - -1997-03-22 14:06 Ulrich Drepper <drepper@cygnus.com> - - * 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. - - * math/libm-test.c (basic_tests): Add tests for `nan' function. - - * math/libm-test.c (copysign_test): New function. - (main): Call copysign_test. - -1997-03-22 06:28 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/libm-ieee754/s_nextafter.c: Return y if x == y. - * sysdeps/libm-ieee754/s_nextafterf.c: Likewise. - * sysdeps/libm-ieee754/s_nextafterl.c: Likewise. - * sysdeps/libm-i387/s_nextafterl.c: Likewise. - - * math/libm-test.c (fdim_test, fmin_test, fmax_test, nextafter_test): - New functions. Test these functions. - (main): Call above new functions. - -1997-03-22 04:53 Ulrich Drepper <drepper@cygnus.com> - - * Net release 2.0.2. - -1997-03-22 04:37 Ulrich Drepper <drepper@cygnus.com> - - * 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>. - -1997-03-21 13:41 Roland McGrath <roland@baalperazim.frob.com> - - * 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. - - * elf/rtld.c (dl_main): Pass ELF_MACHINE_RELOC_NOPLT to - _dl_lookup_symbol in place of DL_LOOKUP_NOPLT. - * sysdeps/i386/dl-machine.h (ELF_MACHINE_RELOC_NOPLT): New macro. - - * sysdeps/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. - - * elf/dl-reloc.c (RESOLVE): Remove STB_LOCAL check; let it be - per-machine since it supposedly can't happen on i386. - - * 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. - -1997-03-21 20:55 Ulrich Drepper <drepper@cygnus.com> - - * Makefile (distribute): Add BUGS. - - * sysdeps/generic/machine-gmon.h: Update copyright. - - * 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. - -1997-03-20 13:39 Andreas Jaeger <aj@arthur.pfalz.de> - - * 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. - -1997-03-21 05:54 Ulrich Drepper <drepper@cygnus.com> - - * 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>. - -1997-03-20 20:22 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/readv.c: Don't emulate readv with small - UIO_FASTIOV value by multiple readv calls since we need atomicity. - * sysdeps/unix/sysv/linux/writev.c: Likewise. - Reported by Matthis Urlichs. - -1997-03-20 04:34 Roland McGrath <roland@baalperazim.frob.com> - - * 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. - - * Makeconfig [$(elf)=yes] (+prector, +postctor): New variables for - crtbegin.o/crtend.o, using gcc to find them. - (+link): Use them. - -1997-03-20 00:06 Richard Henderson <rth@tamu.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. - - * 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. - - * 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. - - * sysdeps/unix/sysv/linux/alpha/ioperm.c: Include ctype.h for isdigit. - -1997-03-20 14:51 Ulrich Drepper <drepper@cygnus.com> - - * nis/nis_file.c: Unify error handling. - -1997-03-19 18:36 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * 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. - - * sunrpc/rpc/netdb.h: Add setrpcent and endrpcent prototypes. - -1997-03-20 06:07 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/powerpc/dl-machine.h: Fix typo in last change. - - * sysdeps/unix/sparc/sysdep.h: Update copyright. - -1997-03-19 15:13 Miguel de Icaza <miguel@nuclecu.unam.mx> - - * stdlib/tst-strtol.c: Save the value of errno, printf may modify - it. - - * sysdeps/sparc/DEFS.h [HAVE_ELF]: Use type @function in the FUNC - macro on ELF systems. - - * sysdeps/sparc/configure.in: Fix. - - * sysdeps/sparc/dl-machine.h: Fix OPCODE_CALL. - - * sysdeps/sparc/setjmp.S: Fix my bugs. - - * sysdeps/unix/sysv/linux/sparc/Dist: Add start.c, fork.S, and pipe.S. - * sysdeps/unix/sysv/linux/sparc/Makefile: Define asm-CPPFLAGS and - as-FLAGS-.so. - * sysdeps/unix/sysv/linux/sparc/syscalls.list: Add fork, pipe, and - syscall. - * sysdeps/unix/sysv/linux/sparc/fork.S: New file. - * sysdeps/unix/sysv/linux/sparc/pipe.S: New file. - * sysdeps/unix/sysv/linux/sparc/socket.S: Fix. - * sysdeps/unix/sysv/linux/sparc/sysdep.h: Fix. - - * elf/dl-lookup.c (do_lookup): Return true if we found a weak - symbol. - (_dl_lookup_symbol): Test against the symbol being global not - against the symbol being not weak (fixes important problem with - the SPARC linker) - - * sysdeps/unix/sysv/linux/sparc/brk.c: Fix. - - * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for - Linux/SPARC (while I get my asmCPPFLAGS-so variable). - -1997-03-20 01:49 Ulrich Drepper <drepper@cygnus.com> - - * Makeconfig: (rpath-link): Add math/ directory. - (math-objdir): New variable. - (link-extra-lib): Define to special version when - $(common-objpfx)!=$(objpfx) to allow libraries outside - $(common-objpfx) be linked to the application. - - * math/Makefile: Add rules to build and run test programs. - * math/libm-test.c (_GNU_SOURCE): Define only if still undefined. - (check_equal): Correct check for error. - (ceil_test): Fix typo. - (log_test): Fix typo. - (floor_test): Fix typo. - (pow_test): Fix typos. - (log10_test): Allow slight incorrectness for `log10(e)'. - (modf_test): New functions to test `modf' et.al. - (hypot_test): Rewrite test completely. - Patch partly by Andreas Jaeger. - * math/test-double.h (__NO_MATH_INLINES): Define only if not - already defined. - * math/test-float.h: Likewise. - * math/test-logdouble.h: Likewise. - - * setjmp/setjmp.h: Change references of ANSI C to ISO C. - * setjmp/tst-setjmp.c: Correct and extend test suite. - * sysdeps/i386/__longjmp.S: Update copyright. - * sysdeps/i386/bsd-_setjmp.S: Correct fatal bug in jump to - `__sigsetjmp' in PIC code. - * sysdeps/i386/bsd-setjmp.S: Likewise. - - * sysdeps/libm-i387/e_pow.S: Correct recognition of mantissa - overflow. - * sysdeps/libm-i387/e_powf.S: Likewise. - * sysdeps/libm-i387/s_expm1.S: Handle x == +-0 as a special - case since expm1(-0) == -0. - * sysdeps/libm-i387/s_expm1f.S: Likewise. - * sysdeps/libm-i387/s_expm1l.S: Likewise. - * sysdeps/libm-ieee754/s_modf.c: Optimize code by avoiding unneeded - access to FP number. - * sysdeps/libm-ieee754/s_modff.c: Likewise. - * sysdeps/libm-ieee754/s_modfl.c: Correct former completely bogus - code. It never worked correctly. - * sysdeps/libm-ieee754/s_tanh.c: Handle x == +-0 as a special - case since tanh(-0) == -0. - * sysdeps/libm-ieee754/s_tanhf.c: Likewise. - * sysdeps/libm-ieee754/s_tanhl.c (__tanhl): Correct handling of -inf. - -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. - - * 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. - -1997-03-19 01:40 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/sco3.2.4/Dist: New file. - - * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c. - - * sysdeps/unix/bsd/Dist: Add bsdstat.h, setrgid.c, and setruid.c. - - * sysdeps/unix/sysv/Dist: Add direct.h. - - * sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h. - - * Make-dist ($(tardir).tar): Prefer writing temporary file to - $TMPDIR is available. The default is /tmp. - - * sysdeps/generic/ip.h: Move to... - * sysdeps/generic/netinet/ip.h: ...here. - - * Makefile (tests): Quote $(CC) argument to isomac program. - Patch by H.J. Lu <hjl@gnu.ai.mit.edu>. - - * 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. - - * sysdeps/libm-i387/e_pow.S: Compute PIC addres early. - * sysdeps/libm-i387/e_powf.S: Likewise. - * sysdeps/libm-i387/e_powl.S: Likewise. - -1997-03-18 23:18 Ulrich Drepper <drepper@cygnus.com> - - * time/offtime.c (__offtime): Change type of `yg' to long int. - Reported by a sun <asun@zoology.washington.edu>. - -1997-03-18 23:08 a sun <asun@zoology.washington.edu> - - * sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to - 2.2.0 to prevent version mismatch. - -1997-03-17 19:26 Andreas Jaeger <aj@arthur.pfalz.de> - - * stdio-common/printf_fphex.c (MIN): Only define MIN if not - already defined. - -1997-03-14 23:34 Geoff Keating <geoffk@ozemail.com.au> - - * sysdeps/unix/sysv/linux/powerpc/termbits.h: Leave ioctl numbers - in ioctls.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. - -1997-03-11 04:14 Geoff Keating <geoffk@ozemail.com.au> - - * 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. - - * 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. - -1997-03-08 09:10 Geoff Keating <geoffk@ozemail.com.au> - - * 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. - - * sysdeps/powerpc/bsd-setjmp.S: Make jump to PLT entry if we are - generating PIC. - * sysdeps/powerpc/bsd-_setjmp.S: Likewise. - * sysdeps/powerpc/setjmp.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise. - - * sysdeps/powerpc/elf/start.c: Clean up. - - * sysdeps/powerpc/__longjmp.S: Return 'value' as result from - setjmp call. - - * sysdeps/unix/sysv/linux/powerpc/statbuf.h: New file. - -1997-03-09 12:36 H.J. Lu <hjl@gnu.ai.mit.edu> - - * Make-dist (srcs): Add $(test-srcs). - * MakeTAGS (all-sources): Likewise. - * Makerules (depfiles, common-mostlyclean): Likewise. - * Rules (tests): Likewise. - -1997-03-18 05:28 Roland McGrath <roland@frob.com> - - * elf/dl-reloc.c (RESOLVE): Don't try to resolve local symbols. - -1997-03-17 21:39 Philip Blundell <phil@london.uk.eu.org> - - * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow - protocol=NULL to match any protocol rather than returning an - error. - -1997-03-17 19:00 Philip Blundell <phil@london.uk.eu.org> - - * nss/nss_files/files-service.c (servbyname): Match any protocol - if proto==NULL. - -1997-03-18 05:17 Ulrich Drepper <drepper@cygnus.com> - - * 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/libm-i387/e_log.S: Optimize branch code. - * sysdeps/libm-i387/e_logf.S: Likewise. - * sysdeps/libm-i387/e_logl.S: Likewise. - * sysdeps/libm-i387/e_log10.S: Likewise. - * sysdeps/libm-i387/e_log10f.S: Likewise. - * sysdeps/libm-i387/e_log10l.S: Likewise. - - * sysdeps/libm-i387/e_pow.S: Major rewrite to handle special cases. - * sysdeps/libm-i387/e_powf.S: Likewise. - * sysdeps/libm-i387/e_powl.S: Likewise. - - * sysdeps/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. - - * 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. - - * time/Makefile: Correct dependencies for test-tz. - -1997-03-16 14:59 Philip Blundell <phil@london.uk.eu.org> - - * resolv/netdb.h: Add prototypes for gai_strerror and getnameinfo - (needed for IPv6 basic sockets API). - -1997-03-16 15:02 a sun <asun@zoology.washington.edu> - - * sysdeps/unix/sysv/linux/net/if_ppp.h: Don't use incompatible - kernel header. - * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise. - -1997-03-14 17:15 Ulrich Drepper <drepper@cygnus.com> - - * 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. - -1997-03-13 11:42 Jim Meyering <meyering@asic.sc.ti.com> - - * time/mktime.c (TIME_T_MIN): Work around a bug in Cray C 5.0.3.0. - -1997-03-14 04:00 Kurt Garloff <garloff@kg1.ping.de> - - * sysdeps/unix/sysv/linux/fcntlbits.h (O_FSYNC): Make alias for O_SYNC. - (FASYNC): Move to __USE_BSD section. Create new macro O_ASYNC. - -1997-03-14 02:50 Ulrich Drepper <drepper@cygnus.com> - - * 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>. - -1997-02-17 01:40 Zlatko Calusic <zcalusic@srce.hr> - - * time/strptime.c (recursive): Return rp to caller. - (strptime_internal): First check for long names, then abbreviated - (month & weekday). - -1997-03-10 19:44 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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. - -1997-03-11 17:00 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * time/strptime.c (strptime_internal) [case 'Y']: Always subtract - 1900 from year, regardless of century. - -1997-03-12 05:43 Ulrich Drepper <drepper@cygnus.com> - - * 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/unix/sysv/linux/netinet/ip.h: Add backward-compatibility - definitions. Patch by a sun <asun@zoology.washington.edu>. - Pretty print header. - - * 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. - -1997-03-11 20:16 Andreas Jaeger <aj@arthur.pfalz.de> - - * manual/math.texi (Domain and Range Errors): Change descriptions - according to recent changes for ISO C 9X. - -1997-03-11 22:39 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/libm-ieee754/k_standard.c (__kernel_standard): Correct - return values for acos, asin, and atan2. - Reported by Andreas Jaeger <aj@arthur.pfalz.de>. - -1997-03-10 18:16 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> - - * nis/ypclnt.c (__yp_bind): Fix possible buffer overflow. - -1997-03-10 18:06 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE> - - * dirent/alphasort.c (alphasort): Interpret arguments as pointers - to pointers to directory entries so that alphasort really can be - used as argument for scandir. - -1997-03-09 23:33 Andreas Jaeger <aj@arthur.pfalz.de> - - * string/strdup.c: Declare memcpy if !(_LIBC || STDC_HEADERS) - instead of strcpy. - -1997-03-10 03:34 Ulrich Drepper <drepper@cygnus.com> - - * 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. - -1997-03-10 02:46 Ulrich Drepper <drepper@cygnus.com> - - * Makeconfig (localtime-file): Don't define using installation - directory. - (inst_localtime-file): New variable. - * time/Makefile (installed-localtime-file): Use inst_localtime-file. - Reported by Edward Seidl <seidl@janed.com>. - -1997-03-10 02:31 H.J. Lu <hjl@gnu.ai.mit.edu> - - * time/Makefile: Add source files to dependencies for test data. - -1997-03-09 22:53 Thorsten Kukuk <kukuk@weber.uni-paderborn.de> - - * 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. - -1997-03-08 14:37 Miguel de Icaza <miguel@nuclecu.unam.mx> - - * sysdeps/sparc/dl-machine.h (elf_machine_rela): Upgrade to - versioning; Added missing R_SPARC_WDISP30 handling. - (RTLD_START): Implement it. - - * sysdeps/unix/sysv/linux/sparc/brk.c: Fix. - - * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for - Linux/SPARC. - -1997-03-02 18:06 Miguel de Icaza <miguel@nuclecu.unam.mx> - - * 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. - -1997-03-20 20:44 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * sysdeps/mach/hurd/euidaccess.c: Define as __euidaccess and make - euidaccess weak alias. - -1997-03-07 10:30 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * stdio-common/printf_fphex.c (MIN): New macro. - - * sysdeps/generic/netinet/in.h: Include <sys/types.h>. - - * sysdeps/generic/sys/mman.h (msync): Mention third arg. - - * sysdeps/generic/netinet/in.h: Add definitions for IPv6 basic - API. (See change by Philip Blundell on Feb 16, 1997.) - -1997-03-05 10:40 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * hurd/hurd.h (vpprintf): Include <stdarg.h>. New declaration. - - * hurd/set-host.c (_hurd_set_host_config): Cast second arg to - __file_name_split. - - * 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. - - * mach/mach/mach_traps.h: Include <mach/kern_return.h>. - - * mach/spin-solid.c: Include <mach/mach_traps.h>. - * mach/spin-solid.c (__spin_lock_solid): Provide arg to - swtch_pri. - - * mach/mach_init.c: Include <mach/mig_support.h>. - - * mach/mach_error.h (mach_error_string, mach_error, - mach_error_type): Always provide prototypes. - - * mach/mach/error.h (mach_error_fn_t): Comment out declaration; it - appears to be entirely unused dead code. - -1997-03-02 13:38 Miles Bader <miles@gnu.ai.mit.edu> - - * string/argz.h (__need_error_t): New macro, before including <errno.h> - [!__const] (__const): New macro. - [!__error_t_defined] (error_t): New typedef. - -1997-03-09 06:59 Ulrich Drepper <drepper@cygnus.com> - - * 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. - - * 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. - - * locale/setlocale.c (setlocale): Don't set usage_count to - MAX_USAGE_COUNT if it already has this value. - - * 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. - - * stdlib/Makefile (headers): Add inttypes.h. - * sysdeps/wordsize-32/inttypes.h: New file. - * sysdeps/wordsize-64/inttypes.h: New file. - - * sysdeps/generic/socketbits.h: Add PF_FILE as synonym for PF_LOCAL - and AF_FILE as synonym for AF_LOCAL. - * sysdeps/unix/sysv/linux/socketbits.h: Likewise. - - * time/Makefile: Rewrite rules for test to handle parallel builds. - -1997-03-09 05:26 Ulrich Drepper <drepper@cygnus.com> - - * manual/startup.texi (EXIT_FAILURE): Fix typo. Patch by - robbe@orcus.priv.at. - -1997-03-09 05:10 Edward Seidl <seidl@janed.com> - - * sysdeps/i386/elf/start.S (nofini): *Really* align stack to - 8-byte boundary. - -1997-03-09 01:48 Ulrich Drepper <drepper@cygnus.com> - - * elf/link.h: Define __need_NULL to get definition. Include - <features.h>. - Patch by Andreas Jaeger <aj@arthur.pfalz.de>. - -1997-03-08 21:48 Thorsten Kukuk <kukuk@tk.uni-paderborn.de> - - Rewrite NIS code to allow empty keys. - * nis/nss_nis/nis-ethers.c: Rewritten. - * nis/nss_nis/nis-proto.c: Rewritten. - * nis/nss_nis/nis-publickey.c: Rewritten. - * nis/nss_nis/nis-rpc.c: Rewritten. - * nis/nss_nis/nis-service.c: Rewritten. - -1997-03-08 16:02 Andreas Jaeger <aj@arthur.pfalz.de> - - * time/scheck.c (scheck): Add extra const to second argument. - - * time/private.h: Correct prototypes to match definition. - -1997-03-08 18:55 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/alpha/__math.h: Remove cabs inline definition. - Reported by Philip Blundell <pjb27@cam.ac.uk>. - -1997-03-08 05:30 Ulrich Drepper <drepper@cygnus.com> - - * argp/Makefile (routines): Add argp-eexst. - * argp/argp-ba.c (argp_program_bug_address): Make `const'. - * argp/argp-eexst.c: New file. Define exit status variable. - * argp/argp-help.c (__argp_state_help): Use argp_err_exit_status - variable instead of always exiting with value 1. - * argp/argp-pv.c (argp_program_version): Make `const'. - * argp/argp.h: Declare argp_err_exit_status. - Patches by Miles Bader <miles@gnu.ai.mit.edu>. - - * locale/programs/localedef.c: Use argp_err_exit_status to - terminate with correct value. - - * inet/rcmd.c (iruserok): Use euidaccess instead of half-hearted - switching of UID before opening .rhosts. - - * libio/vsnprintf.c: Change implementation to follow ISO C 9X - proposal. The return value now is always the number of characters - which would be written if enough space is available. - * manual/stdio.texi: Update description for new behaviour. - - * locale/locale.h (__locale_t): Don't use __locale_t for struct - name and pointer to struct since old gccs cannot keep the namespaces - apart. Rename struct to __locale_struct. - * locale/duplocale.h: Likewise. - * locale/newlocale.h: Likewise. - - * math/Makefile (headers): Add complex.h and cmathcalls.h. - (routines): Remove w_cabs. Add conj, cimag, creal, and cabs. - * math/math.h: Undefine __MATHDECL_1, __MATHDECL, and __MATHCALL - after use. - (signgam): Move declaration to here from mathcalls.h. - * math/mathcalls.h (cabs, __cabs_complex, signgam): Remove definition. - Correct comment for fmin and fmax. - Start implementing complex math function from ISO C 9X. - * math/complex.h: New file. - * math/cmathcalls.h: New file. - * math/cabs.c: New file. - * math/cabsf.c: New file. - * math/cabsl.c: New file. - * math/cimag.c: New file. - * math/cimagf.c: New file. - * math/cimagl.c: New file. - * math/conj.c: New file. - * math/conjf.c: New file. - * math/conjl.c: New file. - * math/creal.c: New file. - * math/crealf.c: New file. - * math/creall.c: New file. - * sysdeps/libm-ieee754/w_cabs.c: Removed. - * sysdeps/libm-ieee754/w_cabsf.c: Removed. - * sysdeps/libm-ieee754/w_cabsl.c: Removed. - - * posix/regex.c: Merge with regex sources from Arnold Robbins' - version in GNU awk. - * posix/regex.h: Likewise. - - Add regex test suite by Tom Lord. - * posix/Makefile (distribute): Add TESTS, TESTS2C.sed, and testcases.h. - (tests): Add runtests. - (before-compile): Add testcases.h. - (testcases.h): New rule to generate header with tests. - * posix/TESTS: New file. - * posix/TESTS2C.sed.: New file. - * posix/runtests.c: New file. - * posix/testcases.h: New file. - - * sysdeps/unix/sysv/linux/poll.c: Test whether poll syscall is - available and use fall-back implementation if not. - - * sysdeps/unix/sysv/linux/syscalls.list: Sort entries. - - * time/ialloc.c: Update from tzcode1997c. - * time/private.h: Likewise. - * time/scheck.c: Likewise. - * time/tzselect.ksh: Likewise. - * time/zdump.c: Likewise. - * time/zic.c: Likewise. - - * time/tzfile.c: Pretty print. - -1997-03-06 07:37 Geoff Keating <geoffk@ozemail.com.au> - - Port to powerpc-*-linux-gnu. Slightly tested, under MkLinux, - on a 601. - - * 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. - - * 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. - -1997-03-05 05:24 Geoff Keating <geoffk@ozemail.com.au> - - * 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. - -1997-03-04 08:04 Geoff Keating <geoffk@ozemail.com.au> - - * 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. - -1997-02-28 08:50 Geoff Keating <geoffk@ozemail.com.au> - - * elf/elf.h: Add in all those PowerPC reloc types. - -1997-02-24 07:12 Geoff Keating <geoffk@ozemail.com.au> - - * stdio-common/vfscanf.c: Use __va_copy if available. - -1997-03-06 13:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * malloc/malloc.c (mprotect) [_LIBC]: Define as __mprotect to - clean up namespace. - -1997-03-07 14:27 Ulrich Drepper <drepper@cygnus.com> - - * 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>. - -1997-03-07 05:27 Ulrich Drepper <drepper@cygnus.com> - - * 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>. - -1997-03-06 05:55 David Engel <david@sw.ods.com> - - * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Also - recognize cache entries with flag == 3. - -1997-03-06 01:05 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/generic/netinet/in.h (INADDR_NONE): Cast to unsigned int. - (INADDR_LOOPBACK): Likewise. - * sysdeps/unix/sysv/linux/netinet/in.h: Likewise. - - * manual/socket.texi: Correct types of INADDR_* constants from - unsigned long to unsigned. - -1997-03-05 23:14 Ulrich Drepper <drepper@cygnus.com> - - * time/antarctica: Update from tzdata1997c. - * time/asia: Likewise. - * time/zone.tab: Likewise. - -1997-03-05 00:43 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * configure.in (libc_cv_asm_symver_directive, - libc_cv_ld_version_script_option): Remove unknown instruction from - assembler test file. - -1997-03-04 19:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/m68k/fpu/__math.h: Update feature tests to use - __USE_ISOC9X. - [__USE_ISOC9X]: Define __log2 and __exp2 inlines. - (fabs): Remove defininition, it is a gcc builtin. - (sqrt, __sqrt): Remove definition, they have wrappers in libm. - -1997-03-04 10:11 H.J. Lu <hjl@lucon.org> - - * sunrpc/Makefile ($(objpfx)rpc-proto.c): Create subdir before - generating file. - -1997-03-05 03:59 Ulrich Drepper <drepper@cygnus.com> - - * inet/rcmd.c (__ivaliduser): Don't use getline, but __getline - instead to avoid namespace problems. - Reported by David Mosberger-Tang <davidm@AZStarNet.COM>. - -1997-03-03 19:01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * login/utmp_file.c: Fix previous change. Make portable by - checking the _HAVE_UT_* feature macros. - -1997-03-04 04:31 Ulrich Drepper <drepper@cygnus.com> - - * Makerules: Add rules to handle versioning. - * config.h.in (DO_VERSIONING): New macro. - * config.make.in (versioning): New variable. - * configure.in: Add checks for .symver directive in gas and - --version-script option to ld. Define DO_VERSIONING and - versioning if appropriate. - - * math/Makefile (routines): Add s_signbit, s_fpclassify, s_fmax, - s_fmin, and s_fdim. - * math/math.h: Define ISO C 9X constants, macros and functions. - * math/mathcalls.h: Likewise. - * sysdeps/libm-ieee754/s_fdim.c: New file. - * sysdeps/libm-ieee754/s_fdimf.c: New file. - * sysdeps/libm-ieee754/s_fdiml.c: New file. - * sysdeps/libm-ieee754/s_fmax.c: New file. - * sysdeps/libm-ieee754/s_fmaxf.c: New file. - * sysdeps/libm-ieee754/s_fmaxl.c: New file. - * sysdeps/libm-ieee754/s_fmin.c: New file. - * sysdeps/libm-ieee754/s_fminf.c: New file. - * sysdeps/libm-ieee754/s_fminl.c: New file. - * sysdeps/libm-ieee754/s_fpclassify.c: New file. - * sysdeps/libm-ieee754/s_fpclassifyf.c: New file. - * sysdeps/libm-ieee754/s_fpclassifyl.c: New file. - * sysdeps/libm-ieee754/s_signbit.c: New file. - * sysdeps/libm-ieee754/s_signbitf.c: New file. - * sysdeps/libm-ieee754/s_signbitl.c: New file. - - * stdio-common/printf_fphex.c: Correct printing of decimal point - character. - Simplify conversion of mantissa to string. - * stdio-common/vfscanf.c: Handle %A format. - Optimize termination of floating-point scanning. - * stdio-common/tstscanf.c (main): Add new test to scanf to test - scanning float values with given width. - * stdlib/strtod.c: Add handling of floating-point numbers in - hexadecimal notation. - - * stdlib/stdlib.h: Use __USE_ISOC9X feature macro for new long long - functions. - Pretty print #if directives. - * string/string.h: Pretty print #if directives. - - * sysdeps/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. - -1997-02-27 21:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Makefile (tests): Cope with $PATH not including the current - directory. - -1997-02-27 18:04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/Makefile ($(common-objpfx)mk-local_lim): Use - $(common-objdir-compile). - ($(common-objpfx)make-ioctls): Likewise. - (mk-local_lim-CFLAGS): Set this instead of local_lim-CFLAGS. - ($(common-objpfx)sys/param.h): Use $(make-target-directory). - ($(addprefix $(common-objpfx),$(sys/param.h-includes))): - Likewise. - ($(common-objpfx)sys/syscall.h): Likewise. - ($(common-objpfx)local_lim.h): Let make deal with command - failure. - ($(common-objpfx)param.h.dep): Use temporary file and update - target atomically. - ($(common-objpfx)errnos): Avoid the Useless Use of cat Award. - (include $(common-objpfx)param.h.dep): Ignore error. - - * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Use - $(common-objdir-compile). - (mk-stdiolim-CFLAGS): Renamed from cded-objdir-includes, use - $(shell pwd) instead of $$cwd. - - * sysdeps/generic/Makefile ($(common-objpfx)det_endian): Use - $(common-objdir-compile). - ($(objpfx)make_siglist): Use $(native-compile). - (make_siglist-CFLAGS): New variable. - - * Makerules (ALL_BUILD_CFLAGS): Renamed from BUILD_CFLAGS, leaving - the old name for the user to pass additional flags to the host - compiler. Fix reference to config header. - (native-compile, common-objdir-compile): Rewritten to make more - generally usable. - * sysdeps/unix/sysv/sysv4/solaris2/Makefile: Set ALL_BUILD_CFLAGS - instead of BUILD_CFLAGS. - - * sysvips/sys/ipc.h: Warn if needed feature select macro are not - defined. - -1997-02-27 17:11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sunrpc/Makefile ($(objpfx)rpc-proto.d, $(objpfx)rpc-proto.c): - New rules to generate dependencies for the RPC service objects. - -1997-02-27 16:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * argp/argp-parse.c (parser_finalize): Always set *END_INDEX if - supplied. - -1997-02-28 03:27 Ulrich Drepper <drepper@cygnus.com> - - * stdlib/strtod.c (STRTOF): Make sure return value is large enough - so that clearing second word is necessary. - - * sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel - header since it is wrong for 64 bit systems. - Patch by a sun <asun@zoology.washington.edu>. - -1997-02-27 10:34 Richard Henderson <rth@tamu.edu> - - * sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386 - and OSF/1 style brk syscalls. We may want to change Linux/Alpha - for the benefit of running foreign binaries. - -1997-03-01 20:21 Miles Bader <miles@gnu.ai.mit.edu> - - * 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. - - * login/logout.c (logout): Change type of entry to be DEAD_PROCESS. - -1997-02-25 19:42 Miles Bader <miles@gnu.ai.mit.edu> - - * sysdeps/mach/hurd/fcntlbits.h (O_NORW): New macro. - -1997-02-27 05:12 Ulrich Drepper <drepper@cygnus.com> - - * manual/Makefile: Add rules to run and distribute xtract-typefun. - * manual/xtract-typefun.awk: New file. Script to extract function, - variable, macro anchor to put into the `dir' file. - * manual/signal.texi: Document difference between SysV and BSD - signal(3) function and add documentation for sysv_signal. - - * sysdeps/libm-i387/e_acoshl.c: Clear upper half of word containing - exponent before comparing. - -1997-02-27 01:13 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/generic/netinet/in.h (htonl, htons, ntohl, ntohs): Change - prototypes to use types with explicit width. `unsigned long' is - different on 64 bit systems. - * sysdeps/unix/sysv/linux/netinet/in.h: Likewise. - * sysdeps/generic/htonl.c: Likewise. - * sysdeps/generic/htons.c: Likewise. - * sysdeps/generic/ntohl.c: Likewise. - * sysdeps/generic/ntohs.c: Likewise. - Suggested by a sun <asun@zoology.washington.edu>. - -1997-02-26 08:30 Andreas Jaeger <aj@arthur.pfalz.de> - - * math/math.h: Include <__math.h> if __NO_MATH_INLINES is not - defined and we want optimization. - -1997-02-02 19:53 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * misc/getpass.c: Don't disable canonical input. - Reverted patch of Mon Jan 6 01:35:29 1997. - -1996-12-14 22:07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * libio/libioP.h (_IO_finish_t): Take additional parameter, to - match the hidden __in_chrg parameter of the destructor. - (_IO_FINISH): Pass zero for it. - * libio/genops.c (_IO_default_finish): Add second parameter, which - is ignored. - * libio/memstream.c (_IO_mem_finish): Likewise. - * libio/fileops.c (_IO_file_finish): Likewise. - * libio/strops.c (_IO_str_finish): Likewise. All callers changed. - -1997-02-27 00:23 H.J. Lu <hjl@lucon.org> - - * time/Makefile: Avoid using patterns in dependencies. - -1997-02-26 00:56 Miguel de Icaza <miguel@nuclecu.unam.mx> - - * 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. - - * elf/rtld.c (_dl_start): On the SPARC we need to adjust the value - of arg to make it point to the actual values. - - * sysdeps/sparc/elf/DEFS.h: New ELF specific version. - * sysdeps/sparc/Dist: Mention sysdeps/sparc/elf/DEFS.h. - - * sysdeps/sparc/bsd-_setjmp.S, sysdeps/sparc/bsd-setjmp.S: Make - them PIC aware. - - * 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. - - * sysdeps/sparc/elf/start.S: Fix. - - * sysdeps/sparc/fpu_control.h: Remove duplicate declaration of - __setfpucw. - - * 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/sparc/setjmp.S: Make it PIC aware. - - * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Define - __ASSEMBLY__ before using kernel header. - - * sysdeps/unix/sysv/linux/sparc/Makefile: Use -mv8 flag to compile - rtld.c. - - * sysdeps/unix/sysv/linux/sparc/brk.c: Implement. - * sysdeps/unix/sysv/linux/sparc/profil-counter.h: Remove code - to handle old signals. - * sysdeps/unix/sysv/linux/sparc/sigaction.c: Implements sigaction - for all Linux/SPARC kernels. - * sysdeps/unix/sysv/linux/sparc/syscall.S: Add code to store - errno using __errno_location. - * sysdeps/unix/sysv/linux/sparc/sysdep.h: Add various handler - macros for assembler sources. - * sysdeps/unix/sysv/linux/sparc/errno.c: Define errno. - -1997-02-25 16:02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf/rtld.c (dl_main): Remove dead code that is never executed. - Rename local variable l to main_map where it is used to point to - the load_map for the executable. - -1997-02-25 15:03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf/dl-version.c (_dl_check_all_versions): Ignore libraries that - could not be found. - -1997-02-24 23:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Makerules: Generate implicit object suffix rules automagically. - (o-iterator): Move before first use. - - * Makeconfig (all-object-suffixes): Add .bo suffix. - -1997-02-25 15:11 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/libm-i387/e_acoshf.S (__ieee754_acoshf): Test correct - word on stack for overflow. - -1997-02-24 23:05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> - - * 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(). - -1997-02-24 23:27 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/libm-ieee754/s_cbrtl.c: Shift B1_EXP value to right - position. - -1997-02-24 17:38 Ulrich Drepper <drepper@cygnus.com> - - * misc/error.c: Make error and error_at_line weak aliases of - __error and __error_at_line respectively. - Suggested by David Mosberger-Tang <davidm@AZStarNet.COM>. - - * sysdeps/unix/sysv/linux/i386/socket.S: Update copyright. - -1997-02-22 11:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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. - - * elf/rtld.c (dl_main): In verify mode check whether the dynamic - object contains an interpreter segment and exit with 2 if not. - -1997-02-23 01:23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Makefile (distribute): Remove nsswitch.h, netgroup.h, mcheck.h - and xlocale.h. Make-dist adds them automagically. - -1997-02-22 12:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * locale/C-time.c (_nl_C_LC_TIME): Add missing entry for - time-era-num-entries. - -1997-02-06 13:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * rellns-sh: No need to check for existance of first parameter. - -1997-02-24 15:20 Jonathan T. Agnew <jtagnew@amherst.edu> - - * glibcbug.in: Don't mention destination on MAIL_AGENT command line - to avoid duplicate mail. - -1997-02-24 03:51 Ulrich Drepper <drepper@cygnus.com> - - * Makefile (distribute): Add isomac.c. - (tests): Run isomac test. - - * features.h (__USE_ISOC9X): New macro. - - * 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. - - * 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. - - * stdlib/strtod.c: Change to recognize INF, INFINITY, NAN, and - NAN(...). - - * sysdeps/ieee754/huge_val.h: Define HUGE_VALF and HUGE_VALL instead - of HUGE_VALf and HUGE_VALL. - * stdlib/strtof.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALF - instead of HUGE_VALf. - * wcsmbs/wcstof.c: Likewise. - * stdlib/strtold.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALL - instead of HUGE_VALl. - * wcsmbs/wcstold.c: Likewise. - - * sysdeps/posix/gai_strerror.c: Use size_t for counter variable to - avoid warning. - - * 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. - - * 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> +1997-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * 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/libm-ieee754/s_ilogbf.c: Correct return values for + ilogb(0/NaN). + * sysdeps/libm-ieee754/s_ilogbl.c: Likewise. + * sysdeps/libm-ieee754/s_ilogb.c: Likewise. + +1997-11-14 05:44 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/libm-i387/s_fmin.S: New file. + * sysdeps/libm-i387/s_fminf.S: New file. + * sysdeps/libm-i387/s_fminl.S: New file. + * sysdeps/libm-i387/s_fmax.S: New file. + * sysdeps/libm-i387/s_fmaxf.S: New file. + * sysdeps/libm-i387/s_fmaxl.S: New file. + * sysdeps/libm-i387/i686/s_fmin.S: New file. + * sysdeps/libm-i387/i686/s_fminf.S: New file. + * sysdeps/libm-i387/i686/s_fminl.S: New file. + * sysdeps/libm-i387/i686/s_fmax.S: New file. + * sysdeps/libm-i387/i686/s_fmaxf.S: New file. + * sysdeps/libm-i387/i686/s_fmaxl.S: New file. + +1997-11-14 03:06 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias. + * sysdeps/unix/sysv/linux/send.S: Likewise. * sysdeps/unix/sysv/linux/recvfrom.S: Likewise. * sysdeps/unix/sysv/linux/recvmsg.S: Likewise. - * sysdeps/unix/sysv/linux/send.S: Likewise. * sysdeps/unix/sysv/linux/sendmsg.S: Likewise. + * sysdeps/unix/sysv/linux/recv.S: Likewise. * sysdeps/unix/sysv/linux/sendto.S: Likewise. - * sysdeps/unix/sysv/linux/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. - - * locale/programs/locale.c: Little adjustment for better usage of - argp. - -1997-02-20 20:07 Greg McGary <gkm@eng.ascend.com> - - * Makeconfig: Add rules for libc with bounded pointers. - * Makerules: Likewise. - * config.make.in: Likewise. - * configure.in: Likewise. - -1997-02-21 10:41 Miles Bader <miles@gnu.ai.mit.edu> - - * argp/argp.h (OPTION_NO_USAGE): New macro. - * argp/argp-help.c (usage_long_opt, usage_argful_short_opt, - add_argless_short_opt): Implement OPTION_NO_USAGE. - -1997-02-20 16:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * malloc/obstack.h: Fix typo. - -1997-02-20 15:56 Miles Bader <miles@gnu.ai.mit.edu> - - * argp/argp-fmtstream.c (__argp_fmtstream_update): Account for case - where NEXTLINE points one past the end of the active buffer. - - * 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. - - * argp/argp.h (argp_program_bug_address): Make const. - -1997-02-20 19:20 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/mman/syscalls.list: Explain msync interface. - -1997-02-19 01:37 Erik Troan <ewt@redhat.com> - - * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields. - -1997-02-20 14:44 Andreas Jaeger <aj@arthur.pfalz.de> - - * stdio-common/test-fseek.c: Remove temporary file, add - copyright. - -1997-02-20 17:51 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/generic/netinet/in.h: Protect contents using - __BEGIN/END_DECLS. Reported by a sun <asun@zoology.washington.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. - -1997-02-20 15:23 Thorsten Kukuk <kukuk@weber.uni-paderborn.de> - - * nss/nsswitch.c (__nss_configure_lookup): Use correct test when - searching in sorted array. - -1997-02-20 01:24 Philip Blundell <pjb27@cam.ac.uk> - - * inet/getnameinfo.c: Change to use reentrant getXXbyYY functions - and protect modification of global data. - -1997-02-19 18:48 Miles Bader <miles@gnu.ai.mit.edu> - - * 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. - - * 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. - -1997-02-19 23:34 Ulrich Drepper <drepper@cygnus.com> - - * locale/programs/ld-time.c (time_finish): t_fmt_ampm is optional. - Use default value instead of printing a warning. - - * nss/XXX-lookup.c: Add missing explanation. - -1997-02-19 19:14 Andreas Jaeger <aj@arthur.pfalz.de> - - * inet/in6_addr.c: Add missing braces. - - * inet/getnameinfo.c: Include <arpa/inet.h>. - - * sysdeps/posix/getaddrinfo.c: Include <arpa/inet.h>. - -1997-02-19 11:46 Ulrich Drepper <drepper@cygnus.com> - - * 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. - - * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'. - -1997-02-19 03:28 Miles Bader <miles@gnu.ai.mit.edu> - - * 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. - - * argp/argp-test.c: Add example for filter. - -1997-02-19 02:58 Ulrich Drepper <drepper@cygnus.com> - - * argp.h: New file. - * locale/programs/locale.c: Switch to use argp. - - * errno.h: Make it possible to get definition of error_t even - after having errno.h already. - - * elf/dl-hash.h: New file. ELF hashing function. Extracted - from dl-lookup.c. - * elf/dl-lookup.c (_dl_elf_hash): Remove definition. - - * elf/dl-load.c: Rename _dl_does_name_match_p to _dl_name_match_p. - * elf/dl-version.c: Likewise. - - * elf/dl-lookup.c: Implement new versioning lookup scheme. - * elf/dl-version.c (_dl_check_map_versions): Initialize new field - in l_versions member. - - * elf/dlvsym.c: Correct call of _dl_lookup_versioned_symbol_skip - and _dl_lookup_versioned_symbol. - - * 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. - - * intl/l10nflist.c: (_nl_make_l10nflist): Fix bug in computation of - length of abs_filename. - - * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH. - - * 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. - - * locale/programs/locale.c: Check whether output of `locale -a' - really is locale directory. Also print locale aliases. - - * misc/search.h (__action_fn_t): Parameters VALUE and LEVEL cannot - be const. - -1997-02-19 02:16 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Correct #defin to - #define. Reported by Rick Flower <FLOWER@sdvax2.sdd.TRW.COM>. - -1997-02-19 01:37 Erik Troan <ewt@redhat.com> - - * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields. - -1997-02-19 01:02 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments. - Reported by Andreas Jaeger <aj@arthur.pfalz.de>. - - * sysdeps/stub/msync.c (msync): Add missing third parameter. - -1997-02-19 00:29 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed - additional argument. - -1997-02-18 22:13 Ulrich Drepper <drepper@cygnus.com> - - * 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>. - - * 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>. - -1997-02-16 14:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Makerules ((common-objpfx)distinfo-$(subdir)): Depend on sysdep - makefiles which may change the distinfo variables. - -1997-02-16 14:03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) - [$(subdir)=misc]: Add sys/quota.h. - (sysdep_headers) [$(subdir)=inet]: Add netinet/udp.h. - -1997-02-17 13:12 aleph1@dfw.net - - * sunrpc/clnt_simp.c (callrpc): Prevent buffer overflow by using - strncpy. - -1997-02-18 03:28 Ulrich Drepper <drepper@cygnus.com> - - * stdio-common/bug10.c (main): Correct parameter. - -1997-02-17 02:51 Ulrich Drepper <drepper@cygnus.com> - - * 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. - -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. - - * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes. - - * 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. - -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. - - * 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. - - * Makefile (subdirs): Add argp. - - * catgets/catgets.c (catopen): Little code improvement. - - * posix/execl.c: Remove restriction to 1024 arguments. - * posix/execle.c: Likewise. - * posix/execlp.c: Likewise. - - * posix/getopt.c [_LIBC]: Define global objects with __ prefix - and make regular names weak aliases. - * posix/getopt1.c: Likewise. - * posix/getopt.h [_LIBC]: Provide prototypes and declarations for - __ protected forms. - - * posix/unistd.h: Add prototype for __sleep. - * sysdeps/mach/sleep.c: Make sleep weak alias of __sleep. - * sysdeps/posix/sleep.c: Likewise. - * sysdeps/stub/sleep.c: Likewise. - * sysdeps/unix/sysv/linux/sleep.c: Likewise. - - * ctype/ctype-info.c: Update copyright. - * ctype/ctype.c: Likewise. - * ctype/test_ctype.c: Likewise. - * dirent/alphasort.c: Likewise. - * dirent/list.c: Likewise. - * gmon/bb_exit_func.c: Likewise. - * grp/fgetgrent.c: Likewise. - * grp/getgrent.c: Likewise. - * grp/getgrent_r.c: Likewise. - * grp/getgrgid.c: Likewise. - * grp/getgrgid_r.c: Likewise. - * grp/getgrnam.c: Likewise. - * grp/getgrnam_r.c: Likewise. - * hurd/alloc-fd.c: Likewise. - * hurd/catch-exc.c: Likewise. - * hurd/ctty-input.c: Likewise. - * hurd/ctty-output.c: Likewise. - * hurd/dtable.c: Likewise. - * hurd/fchroot.c: Likewise. - * hurd/fd-close.c: Likewise. - * hurd/fd-read.c: Likewise. - * hurd/fd-write.c: Likewise. - * hurd/fopenport.c: Likewise. - * hurd/get-host.c: Likewise. - * hurd/getdport.c: Likewise. - * hurd/getuids.c: Likewise. - * hurd/getumask.c: Likewise. - * hurd/hurd-raise.c: Likewise. - * hurd/hurd.h: Likewise. - * hurd/hurdauth.c: Likewise. - * hurd/hurdexec.c: Likewise. - * hurd/hurdhost.h: Likewise. - * hurd/hurdid.c: Likewise. - * hurd/hurdinit.c: Likewise. - * hurd/hurdioctl.c: Likewise. - * hurd/hurdkill.c: Likewise. - * hurd/hurdlookup.c: Likewise. - * hurd/hurdmsg.c: Likewise. - * hurd/hurdpid.c: Likewise. - * hurd/hurdports.c: Likewise. - * hurd/hurdprio.c: Likewise. - * hurd/hurdrlimit.c: Likewise. - * hurd/hurdsock.c: Likewise. - * hurd/hurdstartup.c: Likewise. - * hurd/hurdstartup.h: Likewise. - * hurd/intern-fd.c: Likewise. - * hurd/intr-msg.c: Likewise. - * hurd/intr-rpc.defs: Likewise. - * hurd/intr-rpc.h: Likewise. - * hurd/msgportdemux.c: Likewise. - * hurd/new-fd.c: Likewise. - * hurd/openport.c: Likewise. - * hurd/pid2task.c: Likewise. - * hurd/port-cleanup.c: Likewise. - * hurd/port2fd.c: Likewise. - * hurd/ports-get.c: Likewise. - * hurd/ports-set.c: Likewise. - * hurd/privports.c: Likewise. - * hurd/report-wait.c: Likewise. - * hurd/set-host.c: Likewise. - * hurd/setauth.c: Likewise. - * hurd/setuids.c: Likewise. - * hurd/siginfo.c: Likewise. - * hurd/sigunwind.c: Likewise. - * hurd/task2pid.c: Likewise. - * hurd/thread-cancel.c: Likewise. - * hurd/thread-self.c: Likewise. - * hurd/vpprintf.c: Likewise. - * hurd/hurd/fd.h: Likewise. - * hurd/hurd/id.h: Likewise. - * hurd/hurd/ioctl.h: Likewise. - * hurd/hurd/lookup.h: Likewise. - * hurd/hurd/port.h: Likewise. - * hurd/hurd/resource.h: Likewise. - * hurd/hurd/threadvar.h: Likewise. - * hurd/hurd/userlink.h: Likewise. - * inet/ether_aton.c: Likewise. - * inet/ether_aton_r.c: Likewise. - * inet/ether_ntoa.c: Likewise. - * inet/ether_ntoa_r.c: Likewise. - * inet/gethstbyad.c: Likewise. - * inet/gethstbyad_r.c: Likewise. - * inet/gethstent.c: Likewise. - * inet/getnetbyad.c: Likewise. - * inet/getnetbyad_r.c: Likewise. - * inet/getnetbynm.c: Likewise. - * inet/getnetbynm_r.c: Likewise. - * inet/getnetent.c: Likewise. - * inet/getnetent_r.c: Likewise. - * inet/getproto.c: Likewise. - * inet/getproto_r.c: Likewise. - * inet/getprtent.c: Likewise. - * inet/getprtent_r.c: Likewise. - * inet/getprtname.c: Likewise. - * inet/getrpcbyname.c: Likewise. - * inet/getrpcbyname_r.c: Likewise. - * inet/getrpcbynumber.c: Likewise. - * inet/getrpcbynumber_r.c: Likewise. - * inet/getrpcent.c: Likewise. - * inet/getrpcent_r.c: Likewise. - * inet/getservent.c: Likewise. - * inet/getservent_r.c: Likewise. - * inet/getsrvbynm.c: Likewise. - * inet/getsrvbynm_r.c: Likewise. - * inet/getsrvbypt.c: Likewise. - * inet/getsrvbypt_r.c: Likewise. - * inet/herrno.c: Likewise. - * inet/netgroup.h: Likewise. - * ient/netinet/ether.h: Likewise. - * intl/bindtextdom.c: Likewise. - * intl/dcgettext.c: Likewise. - * intl/dgettext.c: Likewise. - * intl/gettext.c: Likewise. - * intl/gettext.h: Likewise. - * intl/gettextP.h: Likewise. - * intl/hash-string.h: Likewise. - * intl/loadmsgcat.c: Likewise. - * intl/localealias.c: Likewise. - * intl/textdomain.c: Likewise. - * io/creat.c: Likewise. - * io/getdirname.c: Likewise. - * io/lockf.c: Likewise. - * io/pwd.c: Likewise. - * io/test-utime.c: Likewise. - * locale/categories.def: Likewise. - * locale/codeset_name.c: Likewise. - * locale/lc-collate.c: Likewise. - * locale/lc-ctype.c: Likewise. - * locale/lc-messages.c: Likewise. - * locale/lc-monetary.c: Likewise. - * locale/lc-numeric.c: Likewise. - * locale/lc-time.c: Likewise. - * locale/loadlocale.c: Likewise. - * locale/localeconv.c: Likewise. - * locale/nl_langinfo.c: Likewise. - * locale/setlocale.c: Likewise. - * locale/strlen-hash.h: Likewise. - * locale/programs/charmap-kw.gperf: Likewise. - * locale/programs/charmap-kw.h: Likewise. - * locale/programs/charset.c: Likewise. - * locale/programs/ld-ctype.c: Likewise. - * locale/programs/ld-messages.c: Likewise. - * locale/programs/ld-monetary.c: Likewise. - * locale/programs/linereader.h: Likewise. - * locale/programs/locale-spec.c: Likewise. - * locale/programs/locales.h: Likewise. - * locale/programs/locfile-kw.gperf: Likewise. - * locale/programs/locfile-kw.h: Likewise. - * locale/programs/locfile-token.h: Likewise. - * locale/programs/simple-hash.h: Likewise. - * locale/programs/stringtrans.c: Likewise. - * locale/programs/stringtrans.h: Likewise. - * login/logout.c: Likewise. - * mach/bootprivport.c: Likewise. - * mach/devstream.c: Likewise. - * mach/hello.c: Likewise. - * mach/mach.h: Likewise. - * mach/mach_init.c: Likewise. - * mach/mach_init.h: Likewise. - * mach/mig-alloc.c: Likewise. - * mach/mig-dealloc.c: Likewise. - * mach/mutex-init.c: Likewise. - * mach/mutex-solid.c: Likewise. - * mach/setup-thread.c: Likewise. - * mach/spin-lock.h: Likewise. - * mach/spin-solid.c: Likewise. - * mach/mach/mig_support.h: Likewise. - * md5-crypt/md5-crypt.c: Likewise. - * misc/nlist.h: Likewise. - * nss/nss_files/files-ether.c: Likewise. - * posix/confstr.c: Likewise. - * posix/execl.c: Likewise. - * posix/execle.c: Likewise. - * posix/execlp.c: Likewise. - * posix/execv.c: Likewise. - * posix/execvp.c: Likewise. - * posix/fnmatch.c: Likewise. - * posix/getopt.c: Likewise. - * posix/getopt.h: Likewise. - * posix/getopt1.c: Likewise. - * posix/id.c: Likewise. - * posix/regex.c: Likewise. - * posix/setpgrp.c: Likewise. - * posix/unistd.h: Likewise. - * posix/wordexp.c: Likewise. - * pwd/fgetpwent.c: Likewise. - * pwd/getpwent.c: Likewise. - * pwd/getpwent_r.c: Likewise. - * pwd/getpwnam.c: Likewise. - * pwd/getpwnam_r.c: Likewise. - * pwd/getpwuid.c: Likewise. - * pwd/getpwuid_r.c: Likewise. - * pwd/putpwent.c: Likewise. - * resolv/gethnamaddr.c: Likewise. - * resolv/res_hconf.c: Likewise. - * resolv/res_hconf.h: Likewise. - * setjmp/longjmp.c: Likewise. - * setjmp/sigjmp.c: Likewise. - * setjmp/tst-setjmp.c: Likewise. - * stdio/clearerr.c: Likewise. - * stdio/ferror.c: Likewise. - * stdio/fgetc.c: Likewise. - * stdio/fgetpos.c: Likewise. - * stdio/fgets.c: Likewise. - * stdio/fileno.c: Likewise. - * stdio/fmemopen.c: Likewise. - * stdio/fopen.c: Likewise. - * stdio/fopncook.c: Likewise. - * stdio/fputc.c: Likewise. - * stdio/fputs.c: Likewise. - * stdio/fread.c: Likewise. - * stdio/freopen.c: Likewise. - * stdio/fseek.c: Likewise. - * stdio/fsetpos.c: Likewise. - * stdio/ftell.c: Likewise. - * stdio/fwrite.c: Likewise. - * stdio/getchar.c: Likewise. - * stdio/getdelim.c: Likewise. - * stdio/gets.c: Likewise. - * stdio/glue.c: Likewise. - * stdio/internals.c: Likewise. - * stdio/linewrap.c: Likewise. - * stdio/linewrap.h: Likewise. - * stdio/memstream.c: Likewise. - * stdio/newstream.c: Likewise. - * stdio/putchar.c: Likewise. - * stdio/puts.c: Likewise. - * stdio/rewind.c: Likewise. - * stdio/setbuf.c: Likewise. - * stdio/setbuffer.c: Likewise. - * stdio/setlinebuf.c: Likewise. - * stdio/setvbuf.c: Likewise. - * stdio/ungetc.c: Likewise. - * stdio/vasprintf.c: Likewise. - * stdio/vscanf.c: Likewise. - * stdio/vsnprintf.c: Likewise. - * stdio/vsprintf.c: Likewise. - * stdio/vsscanf.c: Likewise. - * stdio-common/asprintf.c: Likewise. - * stdio-common/dprintf.c: Likewise. - * stdio-common/errnobug.c: Likewise. - * stdio-common/fprintf.c: Likewise. - * stdio-common/getline.c: Likewise. - * stdio-common/getw.c: Likewise. - * stdio-common/perror.c: Likewise. - * stdio-common/psignal.c: Likewise. - * stdio-common/putw.c: Likewise. - * stdio-common/reg-printf.c: Likewise. - * stdio-common/scanf.c: Likewise. - * stdio-common/snprintf.c: Likewise. - * stdio-common/sprintf.c: Likewise. - * stdio-common/tempnam.c: Likewise. - * stdio-common/test_rdwr.c: Likewise. - * stdio-common/tst-fileno.c: Likewise. - * stdio-common/tst-printf.c: Likewise. - * stdio-common/tstgetln.c: Likewise. - * stdio-common/vprintf.c: Likewise. - * stdlib/drand48.c: Likewise. - * stdlib/drand48_r.c: Likewise. - * stdlib/erand48.c: Likewise. - * stdlib/erand48_r.c: Likewise. - * stdlib/exit.h: Likewise. - * stdlib/strtoq.c: Likewise. - * stdlib/strtoul.c: Likewise. - * stdlib/strtouq.c: Likewise. - * stdlib/test-canon.c: Likewise. - * stdlib/testdiv.c: Likewise. - * stdlib/testrand.c: Likewise. - * string/argz-append.c: Likewise. - * string/argz-count.c: Likewise. - * string/argz-create.c: Likewise. - * string/argz-ctsep.c: Likewise. - * string/argz-delete.c: Likewise. - * string/argz-extract.c: Likewise. - * string/argz-insert.c: Likewise. - * string/argz-next.c: Likewise. - * string/argz-stringify.c: Likewise. - * string/basename.c: Likewise. - * string/envz.c: Likewise. - * string/memfrob.c: Likewise. - * string/strcoll.c: Likewise. - * string/strdup.c: Likewise. - * string/string.h: Likewise. - * string/strndup.c: Likewise. - * string/strnlen.c: Likewise. - * string/strsignal.c: Likewise. - * string/strxfrm.c: Likewise. - * string/test-ffs.c: Likewise. - * string/testcopy.c: Likewise. - * sysdeps/generic/enbl-secure.c: Likewise. - * sysdeps/generic/memcopy.h: Likewise. - * sysdeps/generic/stpncpy.c: Likewise. - * sysdeps/generic/strcasecmp.c: Likewise. - * sysdeps/generic/strcat.c: Likewise. - * sysdeps/generic/strchr.c: Likewise. - * sysdeps/generic/strcpy.c: Likewise. - * sysdeps/generic/strcspn.c: Likewise. - * sysdeps/generic/strlen.c: Likewise. - * sysdeps/generic/strncase.c: Likewise. - * sysdeps/generic/strncat.c: Likewise. - * sysdeps/generic/strncpy.c: Likewise. - * sysdeps/generic/strpbrk.c: Likewise. - * sysdeps/generic/strsep.c: Likewise. - * sysdeps/generic/strspn.c: Likewise. - * sysdeps/generic/strstr.c: Likewise. - * sysdeps/generic/strtok.c: Likewise. - * sysdeps/generic/strtok_r.c: Likewise. - * sysdeps/mach/sleep.c: Likewise. - * sysdeps/posix/sleep.c: Likewise. - * sysdeps/stub/sleep.c: Likewise. - * time/date.c: Likewise. - * time/test_time.c: Likewise. - * wcsmbs/wmemcpy.c: Likewise. - * wctye/test_wctype.c: Likewise. - * wctye/towctrans.c: Likewise. - * wctye/wcfuncs.c: Likewise. - * wctye/wctrans.c: Likewise. - -1997-02-13 22:15 Miles Bader <miles@gnu.ai.mit.edu> - - * argp/Makefile: New file. - * argp/argp.h: Likewise. - * argp/argp-ba.c: Likewise. - * argp/argp-fmtstream.c: Likewise. - * argp/argp-fmtstream.h: Likewise. - * argp/argp-fs-xinl.c: Likewise. - * argp/argp-help.c: Likewise. - * argp/argp-namefrob.h: Likewise. - * argp/argp-parse.c: Likewise. - * argp/argp-pv.c: Likewise. - * argp/argp-pvh.c: Likewise. - * argp/argp-test.c: Likewise. - * argp/argp-xinl.c: Likewise. - -1997-02-13 11:44 Andreas Jaeger <aj@arthur.pfalz.de> - - * stdlib/qsort.c: Add prototype for _quicksort. - - * stdlib/msort.c (qsort): Correct prototype for _quicksort. - - * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning - from dl-machine.h. - -1997-02-13 18:18 Marcus G. Daniels <marcus@sysc.pdx.edu> - - * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file. - Allow user to overwrite it. - -1997-02-13 17:55 Ulrich Drepper <drepper@cygnus.com> - - * libio/_G_config.h: Make sure wint_t is also defined for old gcc - versions. Reported by Andreas Jaeger. - -1997-02-13 11:44 Andreas Jaeger <aj@arthur.pfalz.de> - - * time/tzfile.c (__tzfile_read): Change comment to follow - change of 1997-02-12. - -1997-02-13 02:32 Ulrich Drepper <drepper@cygnus.com> - - * time/time.h (__nanosleep): Define only when struct timespec is - also available. - Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>. - -1997-02-12 21:34 a sun <asun@zoology.washington.edu> - - * sysdeps/unix/sysv/linux/netinet/udp.h: New file. - * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h. - -1997-02-12 21:16 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. - -1997-02-11 18:52 H.J. Lu <hjl@gnu.ai.mit.edu> - - * libio/_G_config.h (_G_wint_t): New. - -1997-02-09 11:31 H.J. Lu <hjl@gnu.ai.mit.edu> - - * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf) - to sizeof (buf.buf) while calling res_search (). - -1997-02-03 20:01 H.J. Lu <hjl@gnu.ai.mit.edu> - - * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat, - val to keydat, stat to status. - -1997-02-12 20:45 Andreas Jaeger <jaeger@informatik.uni-kl.de> - - * time/tzfile.c (__tzfile_read): Fix problem with SUID programs. - -1997-02-12 19:55 Ulrich Drepper <drepper@cygnus.com> - - * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4 - by Keith Bostic. - -1997-02-11 14:49 Andreas Jaeger <jaeger@informatik.uni-kl.de> - - * stdlib/atoll.c: Undefine atoll, not atol. - -1997-02-08 09:36 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove - unused arguments of shell script. - - * Makeconfig (all-object-suffixes): New variable. - * Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead - of $(object-suffixes). - * sysdeps/unix/make-syscalls.sh: Likewise. Fix comment. - -1997-02-10 17:45 Ulrich Drepper <drepper@cygnus.com> - - * string/argz-ctsep.c: Initialize *LEN when successful. - -1997-02-09 04:35 Ulrich Drepper <drepper@cygnus.com> - - * stdio-common/_itoa.h: Update copyright. - -1997-02-09 02:59 Ulrich Drepper <drepper@cygnus.com> - - * version.h (VERSION): Bump to 2.0.2. - - * posix/Makefile (routines): Add getopt_init. - * posix/getopt.c: Don't get environment variable with nonoption - flags here. Depend on __getopt_nonoption_flags variable filled - somewhere else. This is necessary since the variable must be - removed even when getopt isn't used in case exec(2) gets called. - * posix/getopt_init.c: New file. Initialize __getopt_nonoption_flags - and remove environment variable. - * sysdeps/i386/init-first.c: Call __getopt_clean_environment. - * sysdeps/mach/hurd/i386/init-first.c: Likewise. - * sysdeps/stub/init-first.c: Likewise. - * sysdeps/unix/sysv/linux/init-first.c: Likewise. - - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize - AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize. - - * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES - encryption is wanted. - - * libio/vsnprintf.c: If MAXLEN is 0 return 0. - * stdio/vsnprintf.c: Likewise. - Reported by Philip Blundell <pjb27@cam.ac.uk>. - - * libio/vsnprintf.c: If MAXLEN is 0 return 0. - * stdio/vsnprintf.c: Likewise. - Reported by Philip Blundell <pjb27@cam.ac.uk>. - -1997-02-07 17:43 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/generic/sysd-stdio.c: Include <errno.h>. - Change PTR to void *. - * sysdeps/posix/vdprintf.c: Change PTR to void *. - Reported by Brian Oxley <boxley%dev.cm.ssb.com@clipper.ssb.com>. - -1997-02-07 17:41 Philip Blundell <pjb27@cam.ac.uk> - - * sysdeps/unix/sysv/linux/socketbits.h: Fix typo. - -1997-02-06 13:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * rellns-sh: No need to check for existance of first parameter. - -1997-02-06 13:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * rellns-sh: No need to check for existance of first parameter. - -1997-02-06 14:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks. Reported - by David Holland <dholland@eecs.harvard.edu>. - -1997-02-06 14:38 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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. - - * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids - array. - - * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t - and gid_t. - - * sunrpc/auth_unix.c (authunix_validate): Fix type of second - argument. - -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. - -1997-01-29 16:16 Fila Kolodny <fila@ibi.com> - - * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of - NULL. - * sysdeps/posix/sigwait.c: Likewise. - -1997-01-28 23:42 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Makeconfig ($(common-objpfx)config.make): Depend on - $(..)config.make.in. - -1997-01-29 04:30 Ulrich Drepper <drepper@cygnus.com> - - * sunrpc/Makefile: Don't generate headers derived from .x files when - crosscompiling. - -1997-01-28 10:51 Richard Henderson <rth@tamu.edu> - - * 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. - - * 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. - - * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp. - -1997-01-28 12:16 Andreas Jaeger <aj@arthur.pfalz.de> - - * elf/Makefile (CFLAGS-dl-load.c): Use += to not - override the definition. - -1997-01-28 20:13 Fila Kolodny <fila@ibi.com> - - * config.make.in (malloc): Remove. - -1997-01-28 04:23 Ulrich Drepper <drepper@cygnus.com> - - * version.h (VERSION): Bump to 2.0.1. - - * 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. - -1997-01-28 02:38 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new - stack. - -1997-01-27 17:34 Thorsten Kukuk <kukuk@weber.uni-paderborn.de> - - * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so - that it works with yp.h. - -1997-01-27 13:28 Ulrich Drepper <drepper@cygnus.com> - - * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as - __libc_malloc_initialized so that this variable is not shared with - other users of GNU malloc. - Suggested by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>. - - * mcheck.h: Correct typo. Use malloc/ instead of new-malloc/. - - * 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. - -1997-01-14 14:20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * malloc/malloc.c (weak_variable): Define. - (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook, - __memalign_hook): Make them weak definitions. - -1997-01-26 11:35 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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. - -1997-01-25 18:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple - inclusion. - + * sysdeps/unix/sysv/linux/connect.S: Likewise. + Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>. -See ChangeLog.6 for earlier changes. +See ChangeLog.7 for earlier changes. diff --git a/ChangeLog.7 b/ChangeLog.7 new file mode 100644 index 0000000000..cc1a5a79f8 --- /dev/null +++ b/ChangeLog.7 @@ -0,0 +1,14580 @@ +1997-11-13 20:39 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/m68k/bits/nan.h: Removed. The generic version is usable. + +1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * manual/arith.texi: Fix typo in @ifclear. + + * manual/arith.texi (Imaginary Unit): Add @end deftypevr. + +1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * sysdeps/libm-ieee754/s_nanl.c (__nanl): Use NAN instead of + NANL. + + * sysdeps/libm-ieee754/s_nanf.c (__nanf): Use NAN instead of + NANF. + +1997-11-13 01:07 Ulrich Drepper <drepper@cygnus.com> + + * 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. + + * math/complex.h (I): Define using _Complex_U not _Imaginary_I. + + * math/libm-test.c: Add tests for fma. + + * math/math.h: Describe DECIMAL_DIG macro. Pretty print. + + * 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. + + * sysdeps/ieee754/bits/nan.h: Define NAN as of type float. + * sysdeps/m68k/bits/nan.h. Likewise. Remove NANF and NANL. + +1997-11-12 17:50 Ulrich Drepper <drepper@cygnus.com> + + * sunrpc/xcrypt.c: Don't process #ident preprocessor instruction. + Reported by Philip Blundell <pb@nexus.co.uk>. + + * string/strndup.c: Use K&R like definition. + + * 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. + +1997-11-12 15:31 Philip Blundell <pb@nexus.co.uk> + + * sysdeps/unix/sysv/linux/arm/sysdep.h (SYS_ify): Don't add + SWI_BASE in twice. + + * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter): + Use correct name to access PC. + + * sysdeps/unix/arm/sysdep.S: Include <bits/errno.h> not <errnos.h>. + + * sysdeps/generic/bits/types.h: Add __ino64_t and __off64_t. + * sysdeps/generic/bits/stat.h: Add struct stat64. + +1997-11-12 16:08 Ulrich Drepper <drepper@cygnus.com> + + * intl/loadmsgcat.c [_LIBC] (fstat): Don't define as __fstat since + now we have a definition as _fxstat. + * libio/fileops.c: Likewise. + * libio/oldfileops.c: Likewise. + Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>. + +1997-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * sysdeps/wordsize-32/inttypes.h (SIG_ATOMIC_MAX): Correct value. + * sysdeps/wordsize-64/inttypes.h (SIG_ATOMIC_MAX): Likewise. + +1997-11-11 Paul Eggert <eggert@twinsun.com> + + Add overflow checking for 64-bit time_t and 32-bit int. + + * time/time.h (__offtime): Now returns int. + + * time/offtime.c (__offtime): Return nonzero if successful; + check for tm_year overflow. + (DIV): New macro. + (LEAPS_THRU_END_OF): Handle negative years correctly. + + * time/tzset.c (__tz_convert): Return NULL if offtime cannot convert. + + * 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. + + * manual/time.texi: Document the fact that localtime returns 0 + if the time can't be represented. + +1997-11-12 06:03 Ulrich Drepper <drepper@cygnus.com> + + * time/strftime.c (memset_space, memset_zero): Use MEMPCPY, not + mempcpy. Patch by Ken'ichi Handa <handa@etl.go.jp>. + + * manual/time.texi: Document %F and %f format for strftime. + + * manual/arith.texi: Document copysign, nextafter and nan. + +1997-11-06 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * test-installation.pl: New file. Tests for some installation + problems. + +1997-11-11 21:30 Ulrich Drepper <drepper@cygnus.com> + + * 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. + + * math/complex.h: Don't define _Imaginary_I, but instead _Complex_I. + gcc does no yet know the `imaginary' keyword. + + * math/test-math.c: Add little test for know gcc bug. + + * math/tgmath.h: Make complex versions of log10() only available + if __USE_GNU. + + * stdlib/test-canon.c: Fix typo. + + * sysdeps/generic/setenv.c: Avoid compilation warnings. + Reported by Jim Meyering. + + * sysdeps/generic/bits/errno.h: EILSEQ is an ISO C error number. + * sysdeps/mach/hurd/bits/errno.h: Likewise. + * sysdeps/standalone/bits/errno.h: Likewise. + * sysdeps/unix/sysv/linux/bits/errno.h: Likewise. + + * sysdeps/i386/i586/memcpy.S: New file. + * sysdeps/i386/i586/mempcpy.S: New file. + + * sysdeps/i386/i586/memset.S: Fix typo. + + * sysdeps/posix/getcwd.c: Define HAVE_MEMPCPY for _LIBC. Add casts. + + * sysdeps/posix/system.c: Add comment to explain code. + + * 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. + + * wcsmbs/wchar.h: Define WCHAR_{MIN,MAX} if not already defined. + Declare __wcsto{l,ul,ll,ull}_internal only if not already done. + + * 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. + + * time/mktime.c: Little comment correction. + +1997-11-10 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * sysdeps/libm-ieee754/s_sincosl.c: Fix typo. + + * sysdeps/libm-ieee754/s_tanl.c: Fix typo. + + * sysdeps/libm-ieee754/s_floorl.c: Correct typos. + + * sysdeps/libm-ieee754/e_remainderl.c: Replace + EXTRACT_LDOUBLE_WORDS by GET_LDOUBLE_WORDS. + + * sysdeps/libm-ieee754/e_atan2l.c: Replace EXTRACT_LDOUBLE_WORDS + by GET_LDOUBLE_WORDS. + + * sysdeps/libm-ieee754/s_scalbnl.c: Replace ";" by "," for correct + variable declaration. + * sysdeps/libm-ieee754/s_scalblnl.c: Likewise. + + * sysdeps/libm-ieee754/s_lrint.c (__lrint): Correct function. + + * math/libm-test.c (sqrt_test): Add test for sqrt (0.25). + (asin_test): Add more test. + +1997-11-10 23:34 Ulrich Drepper <drepper@cygnus.com> + + * 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. + +1997-11-10 07:40 H.J. Lu <hjl@gnu.ai.mit.edu> + + * stdlib/exit.c (exit): Handle recursive calls to exit (). + +1997-11-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * 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. + + * 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. + + * 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. + +1997-11-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * manual/arith.texi: Misc doc fixes. + * manual/ctype.texi: Likewise. + * manual/pattern.texi: Likewise. + * manual/terminal.texi: Likewise. + +1997-11-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * 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. + +1997-11-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) + [$(subdir)=misc]: Add sys/prctl.h. + * sysdeps/unix/sysv/linux/Dist: Distribute it. + +1997-11-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * io/ftwtest-sh: Don't use the unknown which command, instead try + pwd as /bin/pwd and /usr/bin/pwd. + +1997-11-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * manual/maint.texi (Tools for Installation): Don't recommend + broken version 3.76.1 of make. + (Porting): Fix wording. + +1997-11-06 06:13 H.J. Lu <hjl@gnu.ai.mit.edu> + + * config.make.in (build-pic-default): New, defined with + pic_default. + + * configure.in (pic_default): New, set to yes if PIC is + default. + + * Makeconfig (CPPFLAGS-.o, CPPFLAGS-.op, CPPFLAGS-.og, + CPPFLAGS-.ob): Add -DPIC if $(build-pic-default) is yes. + +1997-11-09 18:15 Ulrich Drepper <drepper@cygnus.com> + + * Makerules (libc.so): Fix typo. + + * csu/Makefile (CFLAGS-initfini.s): Correctly fix moving function + definition. Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>. + + * stdlib/strtod.c: Handle numbers like 0.0e10000 correctly which + produce ±0.0. Reported by Joe Keane <jgk@jgk.org>. + + * sysdeps/libm-ieee754/s_ceill.c: Fix typos. + * sysdeps/libm-ieee754/s_llrint.c: Correct code, it never worked. + +1997-11-06 07:00 H.J. Lu <hjl@gnu.ai.mit.edu> + + * sysdeps/unix/sysv/i386/i686/time.S: Removed. + +1997-11-08 14:07 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + + * nis/libnsl.map: Add __do_niscall2 for nis_cachemgr. + + * nis/nis_call.c: Set UDP resend timeout correct. + + * 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. + + * 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. + +1997-11-06 01:39 Ulrich Drepper <drepper@cygnus.com> + + * Makerules (libc.so): Add missing closing brace. + +1997-11-05 Brendan Kehoe <brendan@lisa.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. + +1997-11-06 00:06 Ulrich Drepper <drepper@cygnus.com> + + * 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. + + * login/utmp_daemon.c: Use memcpy instead of strcpy where possible. + * sunrpc/svcauth_des.c: Likewise. + * sysdeps/unix/sysv/linux/gethostname.c: Likewise. + + * misc/tsearch.c: Use memcpy return value if possible. + * posix/regex.c: Likewise. + * sysdeps/unix/readdir_r.c: Likewise. + * wcsmbc/wcsdup.c: Likewise. + + * nss/digits_dots.c: Little optimization. + + * inet/ruserpass.c (ruserpass): Optimize by using stpcpy. + (struct toktab): Make tokstr field a const char *. + + * elf/dl-profile.c: Fix typo. + + * inet/ether_ntoh.c: Don't use relative #include path. + * inet/gethstbynm.c: Likewise. + * resolv/inet_pton.c: Likewise. + * shadow/sgetspent_r.c: Likewise. + + * libio/oldfileops.c (_IO_old_file_jumps): Use correct sync and write + callbacks. Patch by NIIBE Yutaka <gniibe@mri.co.jp>. + + * 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. + + * posix/regex.c: Indent preprocessor code. + + * posix/wordexp.c: Using _itoa_word instead of sprintf. + + * stdlib/canonicalize.c: Avoid unnecessary copying. Handle NULL + and "" arguments correctly according to SUS. + * stdlib/test-canon.c: Test "" and NULL argument handling. + + * sysdeps/posix/writev.c: Correct condition to leave the loop. + +1997-11-05 18:13 Ulrich Drepper <drepper@cygnus.com> + + * 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>. + +1997-11-04 23:57 Ulrich Drepper <drepper@cygnus.com> + + * configure.in: Correct gcc -pipe test. + Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>. + + * posix/glob.c: Cleanups. Patch by H.J. Lu <hjl@lucon.org>. + +1997-11-04 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * manual/creature.texi (Feature Test Macros): Add _POSIX_C_SOURCE + definition. + +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>. + +1997-11-04 03:08 Ulrich Drepper <drepper@cygnus.com> + + * glibcbug.in: Add information about configured target. + Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>. + + * 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. + + * manual/creature.texi: Apply Paul Eggert's patch for better + _POSIX_C_SOURCE description. + + * stdlib/strfmon.c: Fix numerous bugs in formatting. + + * time/strptime.c [%Y]: Treat all years, not only those which fit + in time_t. + [%Oy]: Really store value. + Patches by Paul Eggert. + + * wcsmbs/wchar.h: Fix documentation bugs. Declare wcsdup only + is __USE_GNU. + +1997-11-03 02:48 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/generic/bits/errno.h: Remove all error definitions. This + is only meant as a stub. + +1997-10-31 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * sysdeps/standalone/bits/errno.h: Copied from + sysdeps/generic/bits/errno.h and added all know error codes that + are used in glibc. + +1997-11-03 02:23 Ulrich Drepper <drepper@cygnus.com> + + * 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>. + +1997-11-03 00:20 Ulrich Drepper <drepper@cygnus.com> + + * intl/localealias.c (read_alias_file): Correct handling of line + reader which sometimes skipped complete lines (PR 205). + Optimize a bit by using mempcpy. + +1997-11-02 16:59 Philipp Thomas <kthomas@gwdg.de> + + * intl/localealias.c (read_alias_file): Correctly set map[].value + instead of overwriting map[].alias + +1997-11-02 15:32 Ulrich Drepper <drepper@cygnus.com> + + * libc.map: Add _IO_flockfile and _IO_funlockfile. + Suggested by H.J. Lu <hjl@lucon.org>. + +1997-11-02 15:17 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>. + +1997-11-01 16:46 Zack Weinberg <zack@rabi.phys.columbia.edu> + + * configure.in: Check for gcc-2.7.2 -pipe bug and hack around it + (PR 245). + +1997-11-01 Paul Eggert <eggert@twinsun.com> + + * 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. + +1997-10-31 23:16 Ulrich Drepper <drepper@cygnus.com> + + * posix/glob.c (glob): If calling glob_in_dir for a list which was + generated by a glob call disable GLOB_ERR since there might be + non-directories in the list (PR 203). + + * 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. + + * misc/Makefile (tests): Add tst-fdset. + + * sysdeps/i386/bits/select.h: Rewrite asm macros to be cleaner. + + * sysdeps/unix/sysv/linux/Dist: Add xstatconv.c. + * sysdeps/unix/sysv/linux/alpha/Dist: Likewise. + + * time/strptime.c (strptime_internal): In %y format, regard years + >= 69 as of twentieth century, all other as of twenty-first. + + * time/tzset.c: Correct typo and little optimization. + +1997-10-31 16:01 Ulrich Drepper <drepper@cygnus.com> + + * inet/getnetgrent.c: Allocate buffer dynamically if needed. + Suggested by Joe Keane <jgk@jgk.org>. + +1997-10-31 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * io/ftw.h: Declare __ftw64_func_t and __nftw64_func_t only when + __USE_FILE_OFFSET64 || __USE_LARGEFILE64 is true. + +1997-10-30 05:47 Ulrich Drepper <drepper@cygnus.com> + + * 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>. + + * misc/mntent.c: Allow freeing of allocated buffer in + __libc_subfreeres. + * misc/efgcvt.c: Likewise. + + * misc/efgcvt.c: Call correct reentrant functions. + Use better values for MAXDIG. + * misc/qefgcvt.c: Use better values for MAXDIG. + +1997-10-29 18:48 Richard Henderson <rth@cygnus.com> + + * 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. + + * 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. + + * 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. + + * sysdeps/unix/sysv/linux/alpha/fxstat64.c: Empty file. + * sysdeps/unix/sysv/linux/alpha/lxstat64.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/xstat64.c: Likewise. + + * sysdeps/unix/sysv/linux/alpha/bits/dirent.h (struct dirent): For + consistency, force d_ino to use ino_t and supply padding. + +1997-10-29 18:47 Richard Henderson <rth@cygnus.com> + + * libio/iofopen.c: Correct weak_alias. + +1997-10-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * Makerules (install): Correct last patch. + +1997-10-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * math/libm-test.c (cbrt_test): Add epsilon for cbrt(0.970299). + +1997-10-29 21:20 Ulrich Drepper <drepper@cygnus.com> + + * libio/strops.c (_IO_str_seekoff): If mode is zero and the read/write + pointers are tied set mode according to current stream mode. + + * 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. + + * 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. + +1997-10-17 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * Make-dist (try-sysdeps): Don't look for stub files anymore. + + * manual/maint.texi (Porting): Remove another reference to stub + directory. + + * 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 + +1997-10-29 03:54 Ulrich Drepper <drepper@cygnus.com> + + * resolv/nss_dns/dns-host.c: Change variable pointed to by h_errnop + in all error cases (PR 244). + +1997-10-29 00:56 Ulrich Drepper <drepper@cygnus.com> + + * posix/glob.c: Fix handling of expressions like "*/" (PR 325). + Optimize by using mempcpy. + +1997-10-17 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * 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>. + +1997-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * sysdeps/generic/bits/errno.h (ENOMSG): Define it. + Pointed out by Klaus Espenlaub + <kespenla@hydra.informatik.uni-ulm.de> (PR libc/259). + +1997-10-28 17:40 Ulrich Drepper <drepper@cygnus.com> + + * 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. + +1997-10-28 17:14 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>. + +1997-10-28 04:26 Ulrich Drepper <drepper@cygnus.com> + + * 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>. + +1997-10-28 02:51 Ulrich Drepper <drepper@cygnus.com> + + * manual/filesys.texi: Correct prototype in readdir_r description. + Reported by Jim Meyering <meyering@eng.ascend.com>. + +1997-10-27 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * math/libm-test.c (cbrt_test): Add test for cbrt(0.970299). + +1997-10-26 19:39 Zack Weinberg <zack@rabi.phys.columbia.edu> + + * 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. + +1997-10-26 18:12 Ulrich Drepper <drepper@cygnus.com> + + * 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. + + * login/Makefile (distribute): Add README.utmpd. + * login/README.utmpd: New file. + Provided by Mark M. Kettenis <kettenis@phys.uva.nl>. + + * manual/job.texi: Document tcgetsid. + * manual/pattern.texi: Document globfree. + * manual/terminal.texi: Document B38400 ... B460800. + + * posix/confstr.c: Print "-D_FILE_OFFSET_SIZE=64" for _CS_LFS_CFLAGS. + + * posix/unistd.h: Add explanation of _POSIX_* constants. + + * 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. + + * string/bits/string2.h: Add casts to allow void * arguments. + + * sysdeps/i386/i486/bits/string.h: Define index and rindex only if + __USE_BSD or __USE_XOPEN_EXTENDED. + + * sysdeps/unix/sysv/linux/bits/socket.h: Add SCM_RIGHTS and other + SCM_* constants from kernel header. + + * termios/termios.h: Add prototype for tcgetsid. + +1997-10-26 13:26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + + * sunrpc/clnt_perr.c: Add trailing '\0' to strings. + + * sunrpc/get_myaddr.c: Include rpc/clnt.h for prototypes. + + * sunrpc/pmap_clnt.c: Use get_myaddress from header file. + +1997-10-26 05:26 Ulrich Drepper <drepper@cygnus.com> + + * configure.in: Punt if any directory mentioned in the + enable-add-on parameter does not exist. + +1997-10-25 19:25 Ulrich Drepper <drepper@cygnus.com> + + * termios/Makefile (routines): Add tcgetsid. + * termios/tcgetsid.c: New file. + Provided by Mark M. Kettenis <kettenis@phys.uva.nl>. + +1997-10-25 18:56 Ulrich Drepper <drepper@cygnus.com> + + * stdlib/stdlib.h: Remove mblen optimization. + * stdlib/mblen.c: Rewrite to make sure global state is not changed. + Reported by anderson@metrolink.com. + +1997-10-19 21:51 Wolfram Gloger <wg@wolfram.dent.med.uni-muenchen.de> + + * malloc/thread-m.h [_LIBC]: Use new __libc_internal_tsd_{set,get} + interface for thread-specific data. + +1997-10-25 06:51 Ulrich Drepper <drepper@cygnus.com> + + * elf/dl-addr.c: Use braces for correct logical grouping. + Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>. + +1997-10-18 09:15 Geoff Keating <geoffk@ozemail.com.au> + + * io/ftwtest-sh: Sometimes /tmp is a symlink to somewhere more + convenient; that caused this test to break. + + * sysdeps/powerpc/dl-machine.h: Fix typo. + + * 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. + + * rpm/template: Add description, use RPM flags rather than the ones + used to build the spec. Build in a temporary directory, not /. + + * 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. + +1997-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * manual/filesys.texi (Scanning Directory Content): Document error + case more. + + * dirent/scandir.c (scandir): Ignore errors from select function. + Suggested by urbanw@cs.umu.se (closes PR libc/316). + +1997-10-25 06:18 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Corrections. + Patch by Erik Troan <ewt@redhat.com>. + +1997-10-25 04:00 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Favour exact + matching of version function if both the general (1) and + glibc-specific (3) entry are present. + +1997-10-22 18:47 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + + * sunrpc/rpc/clnt.h: Add get_myaddress prototype. + + * nis/libnsl.map: Fix typo. + + * nis/nis_call.c: Fix memory leak. + +1997-10-22 19:29 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/generic/memcmp.c: Define __P if not defined before. + Patch by Jim Meyering <meyering@eng.ascend.com>. + +1997-10-21 22:09 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/sysv/linux/sys/prctl.h: New file by Richard Gooch + <rgooch@atnf.csiro.au>. + +1997-10-21 21:50 Ulrich Drepper <drepper@cygnus.com> + + * misc/syslog.c (vsyslog): Open console with O_NOCTTY. + Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>. + +1997-10-21 18:07 Ulrich Drepper <drepper@cygnus.com> + + * posix/wordexp.c: Improve handling of $... expressions. + Patch by Tim Waugh <tim@cyberelk.demon.co.uk>. + +1997-10-21 16:12 Ulrich Drepper <drepper@cygnus.com> + + * manual/string.texi: Correct return values of bcopy and bzero. + Patch by Matthew Wilcox <willy@odie.barnet.ac.uk>. + +1997-10-18 15:03 Philip Blundell <Philip.Blundell@pobox.com> + + * 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. + +1997-10-17 22:29 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Fix another + bug in startup code. + Patch by Eric Delaunay <delaunay@lix.polytechnique.fr>. + +1997-10-16 20:17 Richard Henderson <rth@cygnus.com> + + * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Dump args to the + stack and give the kernel a pointer. Use the sysdep.h macros. + +1997-10-17 04:07 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/sparc/sparc32/elf/start.S: Calculate argv correctly. + Patch by Eric Delaunay <delaunay@lix.polytechnique.fr>. + +1997-10-16 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * sysdeps/libm-ieee754/s_nextafterxf.c [!__STDC__]: Correct typo. + +1997-10-16 14:50 Ulrich Drepper <drepper@cygnus.com> + + * manual/pattern.texi: Document globfree. + +1997-10-15 21:11 Philip Blundell <Philip.Blundell@pobox.com> + + * sysdeps/unix/sysv/linux/net/if_packet.h: New file. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add + net/if_packet.h. + + * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_ASH): New type, for + 64Mbps ASH. + (ARPHRD_ETHER): This is used for 100Mbps networks too. + +1997-10-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * Makerules (install): Use full pathnames for linker script. + This is to work around a limitation in `ld' while no better solution + is possible. + +1997-10-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * malloc/malloc.c (mmap_chunk): Put inline before static in + function definition to avoid compiler warning. + (malloc_extend): Likewise. + + * sysdeps/generic/des_impl.c: Include "des.h" to avoid warning. + +1997-10-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * NEWS: Fix @gnu.ai.mit.edu -> @gnu.org. + * README.template: Likewise. + * db/makedb.c: Likewise. + * elf/ldd.bash.in: Likewise. + * elf/ldd.sh.in: Likewise. + * intl/locale.alias: Likewise. + * login/programs/utmpd.c: Likewise. + * libio/stdfiles.c [!_IO_MTSAFE] (DEF_STDFILE): Fix parameter list. + +1997-10-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * Rules: Remove all empty.* files. + (shared-only-routines): Correct implementation. + +1997-10-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/libm-ieee754/s_lrintl.c: Make compilable. + * sysdeps/libm-ieee754/s_llrintl.c: Likewise. Optimized. + +1997-10-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * elf/ldd.bash.in: Only prepend ./ if the file contains no slash + at all. + * elf/ldd.sh.in: Likewise. + +1997-10-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/m68k/sys/ucontext.h: New file. + +1997-10-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * 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/m68k/fpu/s_scalbn.c: Add scalbln alias. + * sysdeps/m68k/fpu/s_scalbnf.c: Adapted. + * sysdeps/m68k/fpu/s_scalbnl.c: Adapted. + + * 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/m68k/fpu/bits/mathinline.h: Add fma and scalbln. Update + lrint and scalbn. + (__m81_inline) [__cplusplus]: Define to __inline. + + * math/bits/mathcalls.h: Remove whitespace before second argument + of __MATHDECL. Add note explaining this. + +1997-10-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * manual/arith.texi (Absolute Value): Spelling fix. + +1997-10-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * malloc/obstack.h (obstack_empty_p) [!__GNUC__]: Properly + parenthesize the macro parameter. + +1997-10-15 06:56 Ulrich Drepper <drepper@cygnus.com> + + * Rules: Remove rules to magically install <subdir>.h headers. + Reported by Mark Kettenis <kettenis@phys.uva.nl>. + + * 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. + + * libc.map: Move _IO_list_all back to GLIBC_2.0. + + * elf/rtld.c: Provide name of running program to _dl_new_object. + + * 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. + + * stdio-common/printf.c: Optimize. + * stdio-common/scanf.c: Optimize. + + * sysdeps/generic/setfpucw.c: Include #include <...> not "...". + + * sysdeps/i386/i486/bits/string.h: Add optimized versions of index and + rindex. + +1997-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.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. + +1997-10-13 05:25 Ulrich Drepper <drepper@cygnus.com> + + * 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. + +1997-10-12 20:14 Zack Weinberg <zack@rabi.phys.columbia.edu> + + * sysdeps/stub/getsid.c: Add a stub_warning. + * sysdeps/stub/mmap.c: Likewise. + * sysdeps/stub/munmap.c: Likewise. + +1997-10-12 05:09 Ulrich Drepper <drepper@cygnus.com> + + * libio/Makefile (routines): Remove iofprintf. + * stdio-common/fprintf.c [USE_IN_LIBIO]: Define _IO_fprintf. + * libio/filedoalloc.c: Use _G_stat64 instead of stat. + * libio/fileops.c (_IO_file_open): Change to take extra argument + indicating whether 32 or 64 bit mode is wanted. + * libio/iofopen.c: Call _IO_file_open with extra argument set to 0. + * libio/iofopen64.c: Call _IO_file_open with extra argument set to 0. + * libio/iolibio.h (_IO_freopen, _IO_freopen64): Likewise. + * libio/iofgetpos.c: Pretty print. + * libio/iofgetpos64.c: Use _IO_fpos64_t for local variable `pos'. + + * manual/conf.texi: Document all the _SC_ and _CS_ constants. + * manual/creature.texi: Document _LARGEFILE_SOURCE, _LARGEFILE64_SOURCE + and _FILE_OFFSET_BITS. + * manual/llio.texi: Document truncate and ftruncate. + * manual/stdio.texi: Document positional parameters for printf. + + * math/Makefile (headers): Add tgmath.h. + (libm-support): Remove s_lrint, s_llrint, s_lround, and s_llround and + move to ... + (libm-calls): ... here. Add scalbln, s_nextafterx and s_fma. + * math/libm-test.c (lround_test, llround_test): Test for all FP formats + by using FUNC(). + * math/libm.map: Add fma, fmaf, fmal, nextafterx, nextafterxf, + nextafterxl, scalbln, scalblnf, scalblnl, lrintf, lrintl, llrintf, + llrintl, lroundf, lroundl, llroundf, and llroundl. + * math/math.h: Document new platform specific macros from mathdef.h. + Remove declaration of lrint, llrint, lround, and llround. + * math/test-double.c: Define TEST_DOUBLE. + * math/test-idouble.c: Likewise. + * math/test-float.c: Define TEST_FLOAT. + * math/test-ifloat.c: Likewise. + * math/tgmath.h: New file. + * math/bits/mathcalls.h: Add nextafterx, scalbln, fma, lrint, llrint, + lround, and llround. + Change second argument of scalbn to `int'. + * sysdeps/libm-ieee754/s_fma.c: New file. + * sysdeps/libm-ieee754/s_fmaf.c: New file. + * sysdeps/libm-ieee754/s_fmal.c: New file. + * sysdeps/libm-i387/s_fma.S: New file. + * sysdeps/libm-i387/s_fmaf.S: New file. + * sysdeps/libm-i387/s_fmal.S: New file. + * sysdeps/libm-i387/s_llrint.S: Change to take double argument. + * sysdeps/libm-i387/s_lrint.S: Likewise. + * sysdeps/libm-i387/s_llrintf.S: New file. + * sysdeps/libm-i387/s_llrintl.S: New file. + * sysdeps/libm-i387/s_lrintf.S: New file. + * sysdeps/libm-i387/s_lrintl.S: New file. + * sysdeps/libm-ieee754/s_llrint.c: Remove version which works on + 80bit double. + * sysdeps/libm-ieee754/s_lrint.c: Likewise. + * sysdeps/libm-ieee754/s_llrintf.c: New file. + * sysdeps/libm-ieee754/s_llrintl.c: New file. + * sysdeps/libm-ieee754/s_lrintf.c: New file. + * sysdeps/libm-ieee754/s_lrintl.c: New file. + * sysdeps/libm-i387/s_scalbln.c: New file. Empty file. + * sysdeps/libm-i387/s_scalblnf.c: New file. Empty file. + * sysdeps/libm-i387/s_scalblnl.c: New file. Empty file. + * sysdeps/libm-i387/s_scalbn.c: Add scalbln as alias. + * sysdeps/libm-i387/s_scalbnf.c: Add scalblnf as alias. + * sysdeps/libm-i387/s_scalbnl.c: Add scalblnl as alias. + * sysdeps/libm-ieee754/s_llround.c: Remove version which works on + 80bit double. + * sysdeps/libm-ieee754/s_lround.c: Likewise. + * sysdeps/libm-ieee754/s_llroundf.c: Likewise. + * sysdeps/libm-ieee754/s_llroundl.c: Likewise. + * sysdeps/libm-ieee754/s_lroundf.c: Likewise. + * sysdeps/libm-ieee754/s_lroundl.c: Likewise. + * sysdeps/libm-ieee754/s_nextafterl.c: Add alias fo nextafterxl. + * sysdeps/libm-ieee754/s_nextafterx.c: New file. + * sysdeps/libm-ieee754/s_nextafterxf.c: New file. + * sysdeps/libm-ieee754/s_nextafterxl.c: New file. + * sysdeps/libm-ieee754/s_scalbln.c: New file. + * sysdeps/libm-ieee754/s_scalblnf.c: New file. + * sysdeps/libm-ieee754/s_scalblnl.c: New file. + * sysdeps/libm-ieee754/s_scalbn.c: Change to take `int' as second arg. + * sysdeps/libm-ieee754/s_scalbnf.c: Likewise. + * sysdeps/libm-ieee754/s_scalbnl.c: Likewise. + + * stdlib/stdlib.h: Protect declarations of __strto*l_internal functions + by #ifdefs since they are duplicated in inttypes.h. + * sysdeps/wordsize-32/inttypes.h: Add definition of strtoimax and + strtoumax plus needed declarations. + + * sysdeps/generic/confname.h (_SC_AIO_LISTIO_MAX): Fix typo. + +1997-10-09 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * locale/programs/locfile.c (locfile_read): Correct while loop. + + * db2/makedb.c (main): Add missing parameter for error output. + (process_input): Likewise. + + * resolv/gethnamaddr.c (getanswer): Rewrite a bit to avoid warning. + +1997-10-12 05:05 Ulrich Drepper <drepper@cygnus.com> + + * libc-map: Add __bzero, __mempcpy. + +1997-10-10 18:51 David S. Miller <davem@tanya.rutgers.edu> + + * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Remove dependencies + on kernel_termios.h + +1997-10-09 10:24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + + Add the changes from the Solaris 2.6 header files, use the new public + defines/functions. + * nis/nis_addmember.c: Updated. + * nis/nis_checkpoint.c: Updated. + * nis/nis_creategroup.c: updated. + * nis/nis_destroygroup.c: Updated. + * nis/nis_getservlist.c: Updated. + * nis/nis_ismember.c: Updated. + * nis/nis_lookup.c: Updated. + * nis/nis_modify.c: Updated. + * nis/nis_ping.c: Updated. + * nis/nis_print.c: Updated. + * nis/nis_print_group_entry.c: Updated. + * nis/nis_remove.c: Updated. + * nis/nis_removemember.c: Updated. + * nis/nis_xdr.c: Updated. + * nis/nss_nisplus/nisplus-alias.c: Updated. + * nis/nss_nisplus/nisplus-ethers.c: Updated. + * nis/nss_nisplus/nisplus-hosts.c: Updated. + * nis/nss_nisplus/nisplus-network.c: Updated. + * nis/nss_nisplus/nisplus-parser.c: Updated. + * nis/nss_nisplus/nisplus-proto.c: Updated. + * nis/nss_nisplus/nisplus-rpc.c: Updated. + * nis/nss_nisplus/nisplus-service.c: Updated. + * nis/rpcsvc/nis.h: Updated. + * nis/rpcsvc/nis.x: Updated. + * nis/rpcsvc/nis_object.x: Updated. + * nis/rpcsvc/nis_tags.h: Updated. + * nis/rpcsvc/nislib.h: Updated. + + * nis/lckcache.c: Removed, since Sun has dropped the directory + signatures. The old cache version is now a security risk and not + longer supported by Sun. + * nis/nis_cache.c: Likewise. + * nis/rpcsvc/nis_cache.h: Likewise. + * nis/rpcsvc/nis_cache.x: Likewise. + + * 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. + +1997-10-09 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * wctype/test_wctype.c (TEST): Add parens to avoid ambiguity. + +1997-10-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * include/features.h: Don't crash if _XOPEN_SOURCE is defined to + be empty. + +1997-10-09 05:54 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>. + +1997-10-09 04:58 Ulrich Drepper <drepper@cygnus.com> + + * configure.in: Add __bzero definition to DWARF2 unwind test. + Reported by David S. Miller <davem@caip.rutgers.edu>. + +1997-10-07 Paul Eggert <eggert@twinsun.com> + + * intl/loadmsgcat.c (_nl_load_domain): + Fix &&/|| typo when checking file size. + Check for overflow when stuffing off_t into size_t. + +1997-10-07 18:11 Ulrich Drepper <drepper@cygnus.com> + + * time/africa: Update from tzdata1997i. + +1997-10-07 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * posix/globtest.sh: Add arguments for name of dynamic linker and + call dynamic linker to execute globtest. + + * posix/Makefile (tests): Supply arguments to globtest.sh. + +1997-10-07 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * nis/rpcsvc/ypupd.h: Add missing __END_DECLS. + +1997-10-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * libc.map: Add mempcpy, prctl. + +1997-09-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/generic/memcmp.c: Avoid warnings. + * sysdeps/generic/memset.c: Likewise. + * sysdeps/generic/strchr.c: Likewise. + * sysdeps/generic/strlen.c: Likewise. + +1997-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * malloc/Makefile ($(objpfx)mtrace): Fix typo. + +1997-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/m68k/dl-machine.h (elf_machine_rela): Fix last change. + The R_68K_GLOB_DAT and R_68K_JMP_SLOT relocations really ignore + the addend, Richard. + (elf_machine_fixup_plt): Don't add the addend. + (elf_machine_plt_value): New function. + + * sysdeps/alpha/dl-machine.h (elf_machine_plt_value): New + function. + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_plt_value): New + function. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_plt_value): New + function. + * sysdeps/powerpc/dl-machine.h (elf_machine_plt_value): New + function. + * sysdeps/i386/dl-machine.h (elf_machine_plt_value): New + function. + + * elf/dl-runtime.c (fixup, profile_fixup): Don't add in the + addend, instead let the machine dependent setup decide. + +1997-09-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/m68k/m68020/bits/string.h: New file. + +1997-10-07 04:27 Richard Henderson <rth@cygnus.com> + + * Makeconfig (+includes): Add -I$(objpfx). + + * stdlib/longlong.h [__sparc__]: Prototype __udiv_qrnnd. + + * 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. + +1997-10-06 21:01 David S. Miller <davem@tanya.rutgers.edu> + + * 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. + +1997-10-06 19:35 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/sparc/sparc64/sub_n.S: Fix typo. + Patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>. + +1997-10-06 01:09 Zack Weinberg <zack@rabi.phys.columbia.edu> + + * time/README: Correct list of files from tzcode package. Add + contact information for tzcode/tzdata maintainers. Correct + spelling of author's name. Compact lists. + +1997-10-06 01:48 Ulrich Drepper <drepper@cygnus.com> + + * malloc/malloc.h: Remove hook definition without caller argument. + * malloc/malloc.c: Likewise. + + * 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. + + * libc.map: Remove _libio_using_thunks, add _fp_hw and _dl_addr. + + * ctype/ctype.h: Pretty print. + * grp/grp.h: Likewise. + * include/libc-symbols.h: Likewise. + * include/limits.h: Likewise. + * include/values.h: Likewise. + * io/fcntl.h: Likewise. + * io/sys/stat.h: Likewise. + * libio/stdio.h: Likewise. + * malloc/malloc.h: Likewise. + * misc/err.h: Likewise. + * misc/regexp.h: Likewise. + * misc/sys/cdefs.h: Likewise. + * misc/sys/file.h: Likewise. + * posix/sys/utsname.h: Likewise. + * posix/sys/wait.h: Likewise. + * pwd/pwd.h: Likewise. + * resolv/netdb.h: Likewise. + * signal/signal.h: Likewise. + * stdlib/stdlib.h: Likewise. + * string/endian.h: Likewise. + * string/memory.h: Likewise. + * sysdeps/mach/hurd/bits/fcntl.h: Likewise. + * sysdeps/mach/hurd/sys/param.h: Likewise. + * sysdeps/unix/sysv/linux/sys/param.h: Likewise. + * termios/termios.h: Likewise. + * wcsmbs/wchar.h: Likewise. + * wctype/wctype.h: Likewise. + + * sysdeps/unix/bsd/bsd4.4/wait3.c: Use __WAIT_STATUS in definition. + + Implement Large File Support API. + * include/features.h: Add suuport for _LARGEFILE_SOURCE, + _LARGEFILE64_SOURCE, and _FILE_OFFSET_BITS. + * libc.map: Add new functions for LFS. + * dirent/Makefile (routines): Add readdir64 and readdir64_r. + * dirent/dirent.h: Update readdir prototype for LFS and add new + prototypes for above functions. + * io/Makefile (routines): Add xstat64, fxstat64, lxstat64, + statfs64, fstatfs64, lstat64, open64, lseek64, creat64, and ftw64. + * io/creat64.c: New file. + * io/fstat64.c: New file. + * io/lstat64.c: New file. + * io/stat64.c: New file. + * io/ftw64.c: New file. + * io/ftw.c: Rewrite to allow easy definition of ftw64. + * io/ftw.h: Add LFS interface. + * io/fcntl.h: Likewise. + * io/sys/stat.h: Likewise. + * io/sys/statfs.h: Likewise. + * libio/Makefile (routines): Add iofgetpos64, iofopen64, iofsetpos64, + freopen64, fseeko64, and ftello64. + * libcio/fseeko64.c: New file. + * libio/ftello64.c: New file. + * libio/iofgetpos64.c: New file. + * libio/iofopen64.c: New file. + * libio/iofsetpos64.c: New file. + * libio/fileops.c (_IO_file_fopen): Change to use _IO_off64_t. + (_IO_file_attach): Likewise. + (_IO_do_write): Likewise. + (_IO_file_sync): Likewise. + (_IO_file_seek): Likewise. + (_IO_file_seekoff): Likewise. Use _G_stat64. + (_IO_file_fopen64): New function. + (_IO_file_jumps): Initialize showmanyc and imbue. + * libio/genops.c (_IO_default_seekpos): Change to use _IO_fpos64_t. + (_IO_default_seekoff): Likewise. + (_IO_default_seek): Likewise. + (_IO_default_showmanyc, _IO_default_imbue): New functions. + * libio/iofopncook.c (_IO_cookie_seek): Change to use _IO_off64_t. + * libio/iolibio.h: Add prototypes for LFS functions. + * libio/ioseekoff.c: Change to use _IO_fpos64_t. + * libio/ioseekpos.c: Likewise. + * libio/libio.h: Define _IO_fpos64_t and _IO_off64_t. + (_IO_FILE): Move _offset field to end and change type to _IO_off64_t. + (_IO_seekoff, _IO_seekpos): Change prototype. + * libio/libioP.h (_IO_seekoff_t, _IO_seekpos_t, _IO_seek_t): Change + to use _IO_off64_t. + Change prototypes for function from the *ops.c files. + * libio/stdio.h: Add LFS interface definition. + * libio/strops.c (_IO_str_seekoff): Change to use _IO_fpos64_t. + * posix/Makefile (routines): Add pread64 and pwrite64. + * posix/confstr.c: Handle _CS_LFS* requests. + * posix/getconf.c: Handle LFS* requests. + * sysdeps/generic/confname.h: Add _CS_LFS* constants. + * posix/unistd.h: Document _LFS64_LARGEFILE and _LFS64_STDIO. + Define off_t and off64_t appropriately. Change prototypes of + LFS functions. + * posix/sys/types.h: Add LFS types. + * resources/Makefile (routines): Add getrlimit64 and setlimit64. + * resource/sys/resource.h: Change prototypes of LFS functions. + * stdio-common/Makefile (routines): Add tmpfile64. + * stdio-common/tmpfile64.c: New file. + * sysdeps/generic/_G_config.h: Define _G_fpos64_t and _G_off64_t. + Define _G_OPEN64, _G_LSEEK64, _G_FSTAT64. + * sysdeps/unix/sysv/linux/_G_config.h: Likewise. + * sysdeps/generic/bits/resource.h: Add LFS definitions. + * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise. + * sysdeps/unix/sysv/linux/bits/resource.h: Likewise. + * sysdeps/generic/statfs.h: Use __fsblkcnt_t for some of the fields. + * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise. + * sysdeps/generic/types.h: Define LFS types. + * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise. + * sysdeps/generic/sys/mman.h: Add LFS definitions. + * sysdeps/unix/sysv/linux/sys/mman.h: Likewise. + * sysdeps/generic/mach/hurd/bits/fcntl.h: Add flock LFS extensions. + * sysdeps/unix/bsd/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. + * sysdeps/generic/mach/hurd/bits/stat.h: Add stat LFS extensions. + * sysdeps/unix/bsd/bits/stat.h: Likewise. + * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. + * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise. + * sysdeps/posix/open64.c: New file. + * sysdeps/stub/fstatfs64.c: New file. + * sysdeps/stub/fxstat64.c: New file. + * sysdeps/stub/getrlimit64.c: New file. + * sysdeps/stub/lseek64.c: New file. + * sysdeps/stub/lxstat64.c: New file. + * sysdeps/stub/open64.c: New file. + * sysdeps/stub/pread64.c: New file. + * sysdeps/stub/pwrite64.c: New file. + * sysdeps/stub/readdir64.c: New file. + * sysdeps/stub/readdir64_r.c: New file. + * sysdeps/stub/setrlimit64.c: New file. + * sysdeps/stub/statfs64.c: New file. + * sysdeps/stub/xstat64.c: New file. + * sysdeps/unix/sysv/linux/llseek.c: Define as __llseek and make + llseek and lseek64 weak aliases. + * sysdeps/unix/sysv/linux/lseek64.c: New file. Empty. + * sysdeps/unix/sysv/linux/alpha/bits/dirent.h: New file. + * sysdeps/unix/sysv/linux/bits/dirent.h: Add LFS definitions. + + * sysdeps/posix/tempname.c: Add extra argument to trigger use of + open64. + * sysdeps/stub/tempname.c: Likewise. + * stdio-common/tempnam.c: Call __stdio_gen_tempname with extra + argument. + * stdio-common/tmpfile.c: Likewise. + * stdio-common/tmpnam.c: Likewise. + * stdio-common/tmpnam_r.c: Likewise. + + * 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. + + * 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. + + * posix/exevp.c: Don't use nested function. + + * stdlib/ucontext.h: New file. + * sysdeps/i386/sys/ucontext.h: New file. SysV/i386 API definitions. + + * sunrpc/xcrypt.c (hexval): Make a macro for efficiency. + + * sysdeps/i386/setjmp.h: Make `here` label local. + + * sysdeps/i386/elf/start.S: Define _fp_hw "variable". + + * sysdeps/stub/fstatfs.c: Correct warning. + * sysdeps/stub/fxstat.c: Likewise. + * sysdeps/stub/lxstat.c: Likewise. + + * 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. + + * 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. + + * locale/programs/localedef.c (options): Short form of verbose is v. + Reported by Andreas Jaeger. + + * misc/sys/select.h: Define pselect only is __USE_POSIX since this + header is used in some others as well for historical reasons. + + * resolv/resolv.h: Include <netinet/in.h> to make self-contained. + + * string/bits/string2.h: Add missing braces and optimize strcmp a + bit more. + * sysdeps/i386/i486/bits/string.h: Likewise. + + * sunrpc/rpc/auth_des.h: Include rpc/auth.h to be self-contained. + Pretty print. + + * sysdeps/mach/hurd/cthreads.c: Add copyright text. + + * sysdeps/unix/sysv/linux/syscalls.list: Correct prctl entry. + + * sysdeps/unix/sysv/linux/sys/mman.h: Get definition of size_t. + + * time/time.h: Pretty print. + +1997-09-29 Paul Eggert <eggert@twinsun.com> + + * 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. + +1997-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * 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. + +1997-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * elf/soinit.c (__EH_FRAME_BEGIN__): Don't make the .eh_frame + section read-only, it contains relocations. + * elf/sofini.c (__FRAME_END__): Likewise. + +1997-09-29 03:08 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/i386/i486/bits/string.h [__PIC__] (__strspn_cg, __strcspn_cg, + __strpbrk_cg, __strstr_cg): Optimize even more. No spill register + needed. Patch by NIIBE Yutaka <gniibe@mri.co.jp>. + +1997-09-28 08:27 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + + * nis/nis_call.c (__do_niscall2): Fix return code, add missing + break in switch case. + + * nis/nis_mkdir.c: Fix return codes to match Solaris version. + * nis/nis_rmdir.c: Likewise. + + * nis/rpcsvc/yp_prot.h: Rename struct keydat to struct keydat_t + for C++. + +1997-09-28 04:32 Ulrich Drepper <drepper@cygnus.com> + + * configure.in: Fix typo. + Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>. + +1997-09-25 20:14 Philip Blundell <Philip.Blundell@pobox.com> + + * sysdeps/unix/sysv/linux/scsi/sg.h: New file. + * sysdeps/unix/sysv/linux/Makefile: Install <scsi/sg.h>. + +1997-09-27 01:14 Ulrich Drepper <drepper@cygnus.com> + + * Makeconfig (extra-objs): Depend in before-compile. + + * 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. + + * elf/dladdr.c (dladdr): Change address argument to be const. + * elf/dlfcn.h: Likewise. + + * locale/C_name.c: Add _nl_POSIX_name. + * locale/localeinfo.h: Add declaration of _nl_POSIX_name. + * locale/findlocale.c (_nl_find_locale): Use _nl_POSIX_name. + (_nl_remove_locale): Free name of data set. + * locale/setlocale.c (clever_copy): Remove. + (new_composite_name): Use _nl_C_name and _nl_POSIX_name in compare. + (setname): Only remove old name when it is for category LC_ALL. + + Change malloc, free, realloc, and memalign hooks for glibc to take + another parameter indicating the location of the caller. + * malloc/malloc.c: Change hook functions and variables. + * malloc/malloc.h: Likewise. + * malloc/mcheck.c: Likewise. Make sure later hooked function also + get the original caller address. + * malloc/mtrace.c: Likewise. + (tr_where): If no information in _mtrace_file is given use the + information about the caller. + * malloc/Makefile (distribute): Replace mtrace.awk by mtrace.pl. + Add rules to install mtrace.pl after rewriting. + * malloc/mtrace.pl: New file. Based on the old AWK script but + with extended functionality. + * malloc/mtrace.awk: Removed. + + * po/fr.po: New version. + + * 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. + + * sysdeps/unix/sysv/linux/syscalls.list: Add prctl. + +1997-09-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * string/bits/string2.h (__stpcpy_small): Don't use casts as + lvalues. + +1997-09-26 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * manual/time.texi (Formatting Date and Time): Clarify + explanation of strftime flags a bit. + Suggested by Robert Bihlmeyer <robbe@orcus.priv.at>. + +1997-09-25 00:13 David S. Miller <davem@tanya.rutgers.edu> + + * sysdeps/libm-ieee754/s_exp2f.c: Protect _GNU_SOURCE definition. + Fix typo, it is FLT_MANT_DIG. + +1997-09-24 18:52 H.J. Lu <hjl@gnu.ai.mit.edu> + + * math/atest-exp2.c: Include <stdlib/gmp.h> instead of <gmp.h>. + +1997-08-27 08:10 H.J. Lu <hjl@gnu.ai.mit.edu> + + * libio/libio.h, libio/libioP.h: Support libio in libstdc++. + + * libio/libio.h (_IO_peekc): Defined as _IO_peekc_unlocked if + _IO_MTSAFE_IO is undefined. + +1997-09-24 23:27 Richard Henderson <rth@cygnus.com> + + * 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. + + * 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. + +1997-09-25 00:23 Ulrich Drepper <drepper@cygnus.com> + + * elf/dl-profile.c: Correct implementation. + + * io/ftwtest-sh: Don't depend on TMPDIR == /tmp. + + * locale/setlocale.c: Rewrite a bit for more clarity. + + * 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. + + * 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. + + * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use + .text and .previous to select correct section. + +1997-09-23 19:56 Philip Blundell <Philip.Blundell@pobox.com> + + * configure.in: Add `--disable-versioning' option to suppress the + use of symbol versions even if binutils claims to support it. + +1997-09-24 20:10 Philip Blundell <Philip.Blundell@pobox.com> + + * csu/Makefile (before-compile): Don't try to build abi-tags.h if + not using ELF. + +1997-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * elf/sofini.c [HAVE_DWARF2_UNWIND_INFO]: Supply termination for + the frame unwind info section. + + * elf/soinit.c [HAVE_DWARF2_UNWIND_INFO]: Register and unregister + the frame unwind info. + + * config.h.in (HAVE_DWARF2_UNWIND_INFO): Add #undef. + + * configure.in: Check whether gcc supports DWARF2 unwind info. + + * libc.map: Export frame handling tables. + +1997-09-10 06:56 Geoff Keating <geoffk@ozemail.com.au> + + * sysdeps/unix/sysv/linux/powerpc/bits/kernel_termios.h: + Use the size of the kernel's termios structure for ioctls. + + * sysdeps/powerpc/dl-machine.h: Prepare for library profiling. + + * 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. + + * sysdeps/powerpc/Makefile (pic-ccflags): Define this instead of + CFLAGS-.os. + + * sysdeps/powerpc/bzero.S: New file. + * sysdeps/powerpc/strcat.c: New file. + * sysdeps/powerpc/strcpy.S: New file. + * sysdeps/powerpc/stpcpy.S: New file. + + * 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. + + * 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. + + * elf/dl-runtime.c (fixup): Factor out call to elf_machine_relplt. + (profile_fixup): Likewise. + +1997-09-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * posix/globtest.c (main): Change to directory passed as first + argument. + + * posix/globtest.sh: Don't cd before running the program, instead + pass testdir as argument, so that $common_objpfx remains valid. + +1997-09-23 18:01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + + * nis/nis_call.c (__do_niscall2): Fix multiple Server support. + + * nis/nis_findserver.c: Save latest working sockaddr_in. + +1997-09-17 22:07 Zack Weinberg <zack@rabi.phys.columbia.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. + + * configure.in: Allow the user to force configuration for + unsupported platforms with an undocumented option. + +1997-09-22 16:55 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + + * sunrpc/get_myaddr.c (get_myaddress): Avoid loopback interfaces, + return loopback address only if there is no other interface. + + * nis/Makefile: Add nis_callback libnsl-routines. + + * 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. + + * nis/rpcsvc/nis.h: Make C++ safe. + + * nis/nss_nisplus/nisplus-publickey.c (getsecretkey): Fix use + of variables. + + * nis/nis_findserv.c: Make thread safe. + + * 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. + +1997-09-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * 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. + +1997-09-22 04:12 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/i386/i486/atomicity.h (exchange_and_add): Really address + memory in xadd not %1. + +1997-09-21 13:56 Ulrich Drepper <drepper@cygnus.com> + + * manual/maint.texi (Supported Configurations): Add SPARC64 to + list of supported platforms. + +1997-09-21 03:19 Ulrich Drepper <drepper@cygnus.com> + + * 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. + + * 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. + + * sysdeps/i386/i486/string.h (__stpcpy_small): Increment __cp not cp. + Patch by HJ Lu <hjl@gnu.ai.mit.edu>. + +1997-09-20 16:45 Ulrich Drepper <drepper@cygnus.com> + + * hesiod/hesiod.c (hesiod_init): Use __secure_getenv to get + HES_DOMAIN environment variable. + Suggested by Mark Kettenis <kettenis@phys.uva.nl>. + + * hesiod/README.hesiod: A bit of information about Hesiod and how + to use it. Written by Mark Kettenis <kettenis@phys.uva.nl>. + +1997-09-20 05:15 Ulrich Drepper <drepper@cygnus.com> + + * manual/maint.texi: Update requirement list. + + * io/ftw.h: Don't use parameter names from global namespace in + prototypes. + + * 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>. + +1997-09-19 21:42 David S. Miller <davem@tanya.rutgers.edu> + + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: ssize_t is + a long long int. + +1997-09-19 15:12 H.J. Lu <hjl@gnu.ai.mit.edu> + + * posix/Makefile (test-srcs): New, set to globtest. + +1997-09-20 00:24 Ulrich Drepper <drepper@cygnus.com> + + * manual/filesys.texi: Document ftw, nftw and needed data types. + +1997-09-19 12:53 H.J. Lu <hjl@gnu.ai.mit.edu> + + * sysdeps/i386/i486/bits/string.h: Fix typo. + +1997-09-19 14:11 Ulrich Drepper <drepper@cygnus.com> + + * io/ftwtest.c (cb): Print level. + * io/ftwtest-sh: Updated for ftwtest.c change. + + * string/argz.h (__argz_next): Cast NULL to char * to satisfy C++ + compilers. + Reported by Mirko Streckenbach <mirko@ramz.ing.tu-bs.de>. + + * catgets/catgets.c (catopen): Correctly allocate string of nlspath. + Reported by Charles C. Fu <ccwf@klab.caltech.edu>. + +1997-09-18 13:30 Klaus Espenlaub <kespenla@student.informatik.uni-ulm.de> + + * 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. + +1997-09-18 03:16 Ulrich Drepper <drepper@cygnus.com> + + * manual/search.texi: Document lsearch, lfind, the hsearch and + tsearch functions. + +1997-09-18 00:04 Ulrich Drepper <drepper@cygnus.com> + + * 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. + +1997-09-17 19:44 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>. + +1997-09-16 23:48 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. + +1997-09-16 22:03 Ulrich Drepper <drepper@cygnus.com> + + * string/Makefile (headers): Instead bits/string2.h. + Reported by David S. Miller <davem@jenolan.rutgers.edu>. + +1997-09-16 13:31 David S. Miller <davem@tanya.rutgers.edu> + + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: New file. + +1997-09-16 17:42 Ulrich Drepper <drepper@cygnus.com> + + * 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>. + +1997-09-16 04:32 Ulrich Drepper <drepper@cygnus.com> + + * hesiod/hesiod.c: Don't use and define cistrcmp. We have + strcasecmp. + (hesiod_init): Use of HES_DOMAIN need not be protected by + __secure_getenv. + (hesiod_to_bind): Avoid using strcat and extra strlen calls, use + stpcpy. + + * string/Makefile (noinl-tester-ENV): New variable to make + strerror test pass. + (CFLAGS-noinl-tester): Make sure we test the correct functions. + + * sysdeps/stub/atomicity.h: Fix typo. + Zack Weinberg <zack@rabi.phys.columbia.edu> told me this twice. + + * manual/string.texi: Document strnlen and mempcpy. + Tell a bit more about the locale dependence of strcasecmp and + strncasecmp. + + * 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. + + * resolv/res_send.c (res_send): Use socklen_t type for `fromlen' + variable. + + * 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. + + * string/string.h: Always declare __bzero. + Describe __NO_STRING_INLINES. + Always include <bits/string.h>. + * string/bits/string2.h: Add warning about direct use. + Change __strcpy_small and __stpcpy_small implementation to use + macros and provide alternative for platforms which cannot do + unaligned stores. + * sysdeps/i386/bits/string.h: Don't define anything is + __NO_STRING_INLINES is defined. + * sysdeps/i386/i486/bits/string.h: Change __strcpy_small and + __stpcpy_small implementation to use macros and provide + alternative for platforms which cannot do unaligned stores. + * sysdeps/alpha/bzero.S: Define bzero as weak alias of __bzero. + * sysdeps/generic/bzero.c: Likewise. + * sysdeps/i386/bzero.c: Likewise. + * sysdeps/i386/i586/bzero.S: Likewise. + * sysdeps/vax/bzero.s: Likewise. + + * sysdeps/generic/bits/select.h: Don't use ugly casts to access array. + * sysdeps/i386/bits/select.h: Likewise. + + * 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. + + * 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. + +1997-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/generic/stpcpy.c: #undef stpcpy and __stpcpy. + +1997-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * string/bits/string2.h: Add prototypes to avoid warning. + +1997-09-14 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. + +1997-09-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * catgets/Makefile (extra-objs): Set this instead of generated. + + * md5-crypt/Makefile (extra-objs): Add all object file variants of + onlymd5-entry. + +1997-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/generic/sysd-stdio.c (__stdio_read): Fix typo in last + change. + +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. + + * string/tester.c: Add copyright and make little cleanups. + + * inet/test_ifindex.c: Change type of ni variable to unsigned int. + + * locale/programs/ld-ctype.c (struct locale_ctype_t): Change type + of fields map_collection_max and map_collection_act to size_t. + + * nss/libnss_files.map: Group entries. + + * posix/unistd.h: Add prototype for __setpgid and __profil. + + * sysdeps/generic/crypt.h: Declare __crypt_r. + + * sysdeps/i386/bits/select.h: Fix fatal bugs, use correct casts now. + + * sysdeps/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal, + isless, islessequal, islessgreater, isunordered): Optimize a bit. + + * 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. + + * 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. + + * posix/getopt.c: Don't use text_set_element if not defined. + + * configure.in: Provide a check for underscores before user labels + that works even when the compiler used for building doesn't work + (like when there is no C library). Use the old way if the compiler + works. + +1997-09-10 05:08 David S. Miller <davem@caip.rutgers.edu> + + * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: The TC* ioctls use + 'T' not 't' on SparcLinux. + * sysdeps/unix/sysv/linux/sparc/bits/termios.h: tcflag_t is 32 bits. + + * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add aliases for + _longjmp and siglongjmp. + +1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * libio/stdio.h: Add format attributes to the extra printf and + scanf like functions. + * stdio/stdio.h: Likewise. + +1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r): + Print tablename_val, not tablename_len. + + * 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. + + * 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. + + * libc.map: Export __stpcpy and __strdup. + +1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * math/Makefile (CFLAGS-test-float.c, CFLAGS-test-double.c, + CFLAGS-test-ldouble.c): Pass -ffloat-store to avoid excessive + precision. + +1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * include/rpc/auth_des.h: New file. + +1997-09-09 Paul Eggert <eggert@twinsun.com> + + * 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. + +1997-09-09 22:11 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/posix/getcwd.c: Correct test for too small buffer. + Reported by Erik Troan <ewt@redhat.com>. + + * elf/dl-close.c: Include <bits/libc-lock.h>, not <libc-lock.h>. + * elf/dl-open.c: Likewise. + +1997-09-07 17:09 Richard Henderson <rth@cygnus.com> + + * 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. + +1997-09-06 20:20 Ulrich Drepper <drepper@cygnus.com> + + * include/rpc/auth.h: New file. + * include/rpc/auth_unix.h: New file. + +1997-09-06 Paul Eggert <eggert@twinsun.com> + + Fix gmtime so that it reports leap seconds when TZ + indicates that leap seconds are desired. + + * 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. + + * 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. + + * time/strftime.c (__tz_compute): Remove unused (and now incorrect) + decl. + + * time/tzfile.c (__tzfile_compute): New arg USE_LOCALTIME. + + * 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. + +1997-09-06 Paul Eggert <eggert@twinsun.com> + + * 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. + +1997-09-06 Paul Eggert <eggert@twinsun.com> + + * time/tzset.c (__tzname_max): Lock tz data structures before + invoking tzset_internal. + + * time/tzfile.c: Define compute_tzname_max statically. + +1997-09-07 10:57 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + + * 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. + + * sunrpc/auth_des.c: Don't dereference NULL pointer, + initialize ad->ad_timediff. + + * 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. + + * sunrpc/key_call.c: Fix signal handling. + + * sunrpc/openchild.c: Don't use /bin/sh to start /usr/etc/keyenvoy, + or we will get a deadlock with NIS+. + + * sunrpc/rpc/auth.h: Add prototype for xdr_opaque_auth, don't define + HAVE_SECURE_RPC. + +1997-09-07 15:51 Ulrich Drepper <drepper@cygnus.com> + + * 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. + +1997-09-07 05:07 Ulrich Drepper <drepper@cygnus.com> + + * elf/dl-close.c: Include <bits/libc-lock.h>, not <libc-lock.h>. + * elf/dl-open.c: Likewise. + * sysdeps/i386/memset.c: Undefine memset in case the header with the + optimized functions is included. + Patches by NIIBE Yutaka <gniibe@mri.co.jp>. + + * 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>. + +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. + +1997-08-29 02:36 Ulrich Drepper <drepper@cygnus.com> + + * Makefile (version-info.h): Use ISO form for the date. + + * 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. + + * csu/Makefile (abi-tag.h): Make sure target directory exists. + + * 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. + + * libio/fileops.c (_IO_file_read, _IO_file_write): Remove dead code. + + * malloc/obstack.c: Add casts to keep very verbose compilers on + 64bit machine quiet. + + * nss/Makefile (libnss_db.so): Find libdb.so in db2 directory. + +1997-08-28 17:30 Ulrich Drepper <drepper@cygnus.com> + + * catgets/catgets.c (catopen): Correctly determine length of string + in NLSPATH environment variable. Patch by HJ Lu <hjl@gnu.ai.mit.edu>. + +1997-08-27 23:19 Richard Henderson <rth@cygnus.com> + + * 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. + + * 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. + +1997-08-10 19:17 Philip Blundell <Philip.Blundell@pobox.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. + +1997-08-27 21:20 Ulrich Drepper <drepper@cygnus.com> + + * 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. + + * 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>. + +1997-08-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * manual/libc.texinfo: Reorder chapters to match logical order. + +1997-08-25 12:22 Ulrich Drepper <drepper@cygnus.com> + + * 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>. + +1997-08-24 Miles Bader <miles@gnu.ai.mit.edu> + + * string/argz.h: Add missing __END_DECLS. + +1997-08-24 12:24 Ulrich Drepper <drepper@cygnus.com> + + * configure.in (INSTALL): Quote `$'. + + * libc.map: Add __xpg_basename. + + * csu/Makefile (initfini.s): Disable optimization. + + * elf/dl-deps.c: Implement handling of DT_FILTER. + + * elf/dl-load.c (_dl_init_paths): Add error check. + + * intl/finddomain.c (_nl_find_domain): Correct comment. + * intl/localealias.c: Include <bits/libc-lock.h> not <libc-lock.h>. + + * libio/stdio.h: Make {,v}snprintf available if __USE_BSD. + Change extern inline functions to work correctly in C++. + + * locale/iso-4217.def: Update for more recent ISO 4217 version. + + * locale/loadlocale.c (_nl_load_locale): Add cast. + + * manual/message.texi: Finish gettext section. + + * 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. + + * poisx/glob.c: Add prototype for next_brace_sub. + + * sysdeps/generic/dl-sysdep.c: Recognize AT_BASE value on auxiliary + vector. + + * 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/i386/fpu/fraiseexcpt.c: Add volatile to asms. + + * 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/standalone/i386/i386.h: Clean up asm statements a bit. + * sysdeps/standalone/i960/i960ca.h: Likewise. + +1997-08-22 19:04 Richard Henderson <rth@cygnus.com> + + * elf/rtld.c (_dl_start): Init _dl_rtld_map.l_opencount due to + undocumented test addition in _dl_map_object. + + Support ET_EXEC versions of ld.so, for debugging at least: + + * 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. + + Sparc 32 merge: + + * elf/dl-runtime.c (ELF_FIXUP_RETURN_VALUE): Provide default value. + (fixup): Simplify code. Use ELF_FIXUP_RETURN_VALUE. + (profile_fixup): Likewise, though this still needs fixing for + Sparc32 and PPC. + * sysdeps/powerpc/dl-machine.h: Transmute ELF_FIXUP_RETURNS_ADDRESS + to ELF_FIXUP_RETURN_VALUE. + + * sysdeps/sparc/sparc32/dl-machine.h: Implement lazy relocation. + Fix up _dl_start_user to handle _dl_skip_args properly. + Use _dl_hwcap to determine if "flush" is available/needed. + + * 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. + + * sysdeps/sparc/fpu/bits/mathdef.h (FP_ILOGB0, FP_ILOGBNAN): New. + + * sysdeps/sparc/fpu/fraiseexcpt.c: Rearrange for smaller code. + + * sysdeps/sparc/sparc32/Makefile: Fix sparc->sparc/sparc32 bits + in divrem expansions. + + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (END, LOC): New + definitions for assembly syntax differences. + + * 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/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. + +1997-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * math/libm-test.c (identities): Change epsilon. + + * sysdeps/i386/fpu/bits/mathinline.h: Correct arguments to fabs, + fabsf, fabsl, __fabsl. + +1997-08-20 05:30 Ulrich Drepper <drepper@cygnus.com> + + * catgets/catgets.c (catclose): Use __munmap instead of munmap. + * catgets/gencat.c (read_input_file): Fix typo. + + * dirent/dirent.h: Make seekdir and telldir available for __USE_XOPEN. + + * elf/dl-load.c: Fix case of missing DT_RPATH in object which gets + executed (e.g., when it is a static binary). + + * intl/bindtextdomain.c: Use strdup in glibc. Correct comment. + * intl/dcgettext.c: Likewise. + * intl/dgettext.c: Likewise. + * intl/explodename.c: Likewise. + * intl/finddomain.c: Likewise. + * intl/gettext.c: Likewise. + * intl/gettext.h: Likewise. + * intl/hash-string.h: Likewise. + * intl/l10nflist.c: Likewise. + * intl/libintl.h: Likewise. + * intl/loadinfo.h: Likewise. + * intl/loadmsgcat.c: Likewise. + * intl/localealias.c: Likewise. + * intl/textdomain.c: Likewise. + + Unify libio sources with code in libg++. + * libio/fcloseall.c: Update and reformat copyright. Protect use + of weak_alias. Use _IO_* thread macros instead of __libc_*. + * libio/feof.c: Likewise. + * libio/feof_u.c: Likewise. + * libio/ferror.c: Likewise. + * libio/ferror_u.c: Likewise. + * libio/fgetc.c: Likewise. + * libio/filedoalloc.c: Likewise. + * libio/fileno.c: Likewise. + * libio/fileops.c: Likewise. + * libio/fputc.c: Likewise. + * libio/fputc_u.c: Likewise. + * libio/freopen.c: Likewise. + * libio/fseek.c: Likewise. + * libio/genops.c: Likewise. + * libio/getc.c: Likewise. + * libio/getc_u.c: Likewise. + * libio/getchar.c: Likewise. + * libio/getchar_u.c: Likewise. + * libio/iofclose.c: Likewise. + * libio/iofdopen.c: Likewise. + * libio/iofflush.c: Likewise. + * libio/iofflush_u.c: Likewise. + * libio/iofgetpos.c: Likewise. + * libio/iofgets.c: Likewise. + * libio/iofopen.c: Likewise. + * libio/iofopncook.c: Likewise. + * libio/iofprintf.c: Likewise. + * libio/iofputs.c: Likewise. + * libio/iofread.c: Likewise. + * libio/iofsetpos.c: Likewise. + * libio/ioftell.c: Likewise. + * libio/iofwrite.c: Likewise. + * libio/iogetdelim.c: Likewise. + * libio/iogetline.c: Likewise. + * libio/iogets.c: Likewise. + * libio/iopadn.c: Likewise. + * libio/iopopen.c: Likewise. + * libio/ioputs.c: Likewise. + * libio/ioseekoff.c: Likewise. + * libio/ioseekpos.c: Likewise. + * libio/iosetbuffer.c: Likewise. + * libio/iosetvbuf.c: Likewise. + * libio/iosprintf.c: Likewise. + * libio/ioungetc.c: Likewise. + * libio/iovdprintf.c: Likewise. + * libio/iovsprintf.c: Likewise. + * libio/iovsscanf.c: Likewise. + * libio/libio.h: Likewise. + * libio/libioP.h: Likewise. + * libio/obprintf.c: Likewise. + * libio/pclose.c: Likewise. + * libio/peekc.c: Likewise. + * libio/putc.c: Likewise. + * libio/putchar.c: Likewise. + * libio/rewind.c: Likewise. + * libio/setbuf.c: Likewise. + * libio/setlinebuf.c: Likewise. + * libio/stdfiles.c: Likewise. + * libio/stdio.c: Likewise. + * libio/strfile.h: Likewise. + * libio/strops.c: Likewise. + * libio/vasprintf.c: Likewise. + * libio/vscanf.c: Likewise. + * libio/vsnprintf.c: Likewise. + + * manual/libc.texinfo: Add menu entries for chapter on message + translation. + * manual/locale.texi: Correct next entry in @node for new chapter. + * manual/search.texi: Likewise for previous link. + * manual/message.texi: New file. + * manual/startup.texi: Document LC_ALL, LC_MESSAGES, NLSPATH, + setenv, unsetenv, and clearenv. + * manual/string.texi: Fix typos. Patch by Jim Meyering. + + * math/Makefile (test-longdouble-yes): Enable. We want long double + tests now. + + Crusade against strcat. + * nis/nss_nisplus/nisplus-publickey.c: Remove uses of strcat. + * stdlib/canonicalize.c: Likewise. + + * posix/glob.h: Define __const if necessary. Use __const in all + prototypes. + + * sysdeps/generic/stpcpy.c: Use K&R form to allow use in other + GNU packages. + + * posix/wordexp.c: Completely reworked buffer handling for much + better performance. Patch by Tim Waugh. + + * socket/sys/sochet.h (getpeername): Fix type of LEN parameter, + it must be socklen_t. + + * 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>. + +1997-08-18 15:21 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Fix memory leak + in cleanup code. + +1997-08-17 Paul Eggert <eggert@twinsun.com> + + * 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. + +1997-08-10 19:17 Philip Blundell <Philip.Blundell@pobox.com> + + * inet/getnameinfo.c: Tidy up. + * sysdeps/posix/getaddrinfo.c: Likewise. + + * 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. + +1997-08-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.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. + +1997-08-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * Makerules (lib%.so): Depend on $(+preinit) and $(+postinit). + (build-shlib): Filter them out of $^. + +1997-08-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * elf/dl-error.c (_dl_signal_error): Fix error message. + +1997-08-16 04:06 Ulrich Drepper <drepper@cygnus.com> + + * assert/assert.h [__USE_GNU]: Undefine assert_perror. + Reported by Theodore C. Belding <Ted.Belding@umich.edu>. + +1997-08-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * Makeconfig: Change object suffixes from *.[spgb]o to *.o[spgb] + to avoid conflict with PO files. + * Makerules: Likewise. + * Rules: Likewise. + * elf/Makefile: Likewise. + * extra-lib.mk: Likewise. + * gmon/Makefile: Likewise. + * nis/Makefile: Likewise. + * nss/Makefile: Likewise. + * resolv/Makefile: Likewise. + * rpm/Makefile: Likewise. + * sunrpc/Makefile: Likewise. + * sysdeps/sparc/elf/Makefile: Likewise. + * sysdeps/sparc64/elf/Makefile: Likewise. + * sysdeps/unix/sysv/linux/sparc/Makefile: Likewise. + (ASFLAGS-.os): Renamed from as-FLAGS.os. + +1997-08-14 03:14 Ulrich Drepper <drepper@cygnus.com> + + * elf/dl-minimal.c: Don't use relative #include paths. + (malloc): Don't try to initialize _dl_pagesize, it already is. + (__sigjmp_save, longjmp): Reformat. + + * sysdeps/generic/dl-sysdep.c: Implement _dl_show_auxv function to + show content of auxiliary array. + (_dl_sysdep_start): Remember start of auxiliary vector. + * sysdeps/mach/hurd/dl-sysdep.c: (_dl_show_auxv): New dummy function. + * elf/link.h: Add prototype for _dl_show_auxv. + * elf/rtld.c (dl_main): Call _dl_show_auxv if LD_SHOW_AUXV envvar + is present. + + * libio/iofdopen.c: Better prepare for use in libstdc++. + * libio/iofflush.c: Likewise. + * libio/iofgetpos.c: Likewise. + * libio/iofgets.c: Likewise. + * libio/iofopen.c: Likewise. + * libio/iofputs.c: Likewise. + * libio/iofread.c: Likewise. + * libio/iofsetpos.c: Likewise. + * libio/ioftell.c: Likewise. + * libio/iofwrite.c: Likewise. + * libio/iogetdelim.c: Likewise. + * libio/iogets.c: Likewise. + * libio/iopopen.c: Likewise. + * libio/ioputs.c: Likewise. + * libio/iosetbuffer.c: Likewise. + * libio/iosetvbuf.c: Likewise. + * libio/ioungetc.c: Likewise. + * libio/iovsprintf.c: Likewise. + * libio/iovsscanf.c: Likewise. + + * manual/creature.texi: Mention _XOPEN_SOURCE_EXTENDED in correct + place. + + * manual/math.texi: Add comment to sincos decsription to say it's a + GNU extension. + Fix description of random function. + + * 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>. + + * stdio-common/_itoa.c: Don't use relateive #include paths. + + * 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. + +1997-08-13 09:44 Philip Blundell <Philip.Blundell@pobox.com> + + * 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. + +1997-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * io/ftw.c (object_compare): Avoid memcmp when comparing scalar + types. + +1997-08-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * math/libm-test.c (cbrt_test): Add epsilon for long double to + `cbrt (-0.001)'. + +1997-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/stub/bits/string.h: Fix comment. + +1997-08-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * elf/Makefile (routines): Remove dl-version. + (dl-routines): Add it here instead. This removes dead code from + libc.so. + +1997-08-12 17:17 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> + + * 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(). + +1997-08-11 23:00:32 1997 Mark Kettenis <kettenis@phys.uva.nl> + + * 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. + + * posix/getopt.c: Recognize Windog by _WINDOWS32 not WIN32. + Patch by Paul D. Smith <psmith@BayNetworks.COM>. + +1997-08-12 13:51 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>. + +1997-08-11 23:55 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers): + Add bits/mman.h. + +1997-08-11 08:51:21 1997 H.J. Lu <hjl@gnu.ai.mit.edu> + + * stdlib/fmtmsg.c (fmtmsg): Add static to + __libc_once_define macro. + + * libc.map (__progname_full, __progname): Added. + +1997-08-04 08:31 H.J. Lu <hjl@gnu.ai.mit.edu> + + * 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. + +1997-08-11 11:58 Richard Henderson <rth@cygnus.com> + + 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. + +1997-08-11 11:58 Richard Henderson <rth@cygnus.com> + + Sparc64 merge: + * configure.in: Change up subdirectories, rename sparc8->sparcv8. + + * csu/Makefile: Nuke need-nopic-initfini bits. The problem was + that sparc64 ld did not recognize pic relocs at all. + + * 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. + + * 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. + + * shlib-versions: Rename sparc64 ld.so to not conflict with sparc32 + on the same machine. + + Move old sysdeps/sparc contents to sysdeps/sparc/sparc32, + rename sparc8 subdir to sparcv8, move sysdeps/sparc64 content to + sysdeps/sparc/sparc64. Same for sysdeps/unix/sysv/linux/sparc. + + * sysdeps/sparc/Implies: Do ieee754 here. + * sysdeps/sparc/configure.in: Move from sparc32/. + * sysdeps/sparc/sparc32/Implies: Do wordsize here. + * sysdeps/sparc/sparc64/Implies: Likewise. + + * 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. + + * sysdeps/sparc/sparc32/fpu/fpu_control.h: Move from ../. + * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise. + + * sysdeps/sparc/sparc32/udiv_qrnnd.S: Clean up PIC support. + + * 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. + + * sysdeps/sparc/sparc64/bsd-_setjmp.S: Remove. + * sysdeps/sparc/sparc64/bsd-setjmp.S: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/bsd-_setjmp.S: New empty file. + * sysdeps/unix/sysv/linux/sparc/sparc64/bsd-setjmp.S: New empty file. + * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add __longjmp alias. + * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Add weak _setjmp + and setjmp entry points. + + * sysdeps/sparc/sparc64/dl-machine.h: Finish real implementation. + + * sysdeps/sparc/sparc64/elf/crtbegin.S: Add copyright, fix PIC. + * sysdeps/sparc/sparc64/elf/crtend.S: Likewise. + + * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (struct sigaction): + Fix sa_flags size for sparc64; add sa_restorer for kernel. + + * 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>. + +1997-08-09 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. + +1997-08-10 18:48 Ulrich Drepper <drepper@cygnus.com> + + * 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/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. + + * gmon/gmon.c (__monstartup): Use calloc instead of malloc+memset. + + * gmon/sys/gmon.h: Add prototype for write_profiling. + + * 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. + + * sysdeps/stub/bits/libc-lock.h (__libc_once_define): Add new first + parameter for class. + + * 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. + + * manual/time.texi: Document localtime_r, gmtime_r, asctime_r, and + ctime_r. + Mention that tzname values must not be changed. + + * manual/users.texi: Document UTMP/WTMP handling functions. + Mainly written by Mark Kettenis. + + * math/libm-test.c (cbrt_test): Add test for number with aboslute + value < 1.0. + + * nss/nss_files/files-XXX.c (internal_setent): If opening of file + failed with EGAIN return NSS_STATUS_TRYAGAIN. + * nss/nss_files/files-alias.c (internal_setent): Likewise. + + * sysdeps/generic/bits/utmp.h: Pretty print. + + * sysdeps/i386/i586/strcpy.S: New file. Much faster implementation. + * sysdeps/i386/i586/stpcpy.S: New file. + * sysdeps/i386/i686/Implies: Don't fall back on i586 versions since + these are less efficient than i486/i386 versions. + + * sysdeps/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. + +1997-08-08 20:20 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + + * nis_cache.c: Replace dummy functions. + + * libc.map: Add xdr_sizeof symbol. + + * sunrpc/Makefile: Add xdr_sizeof to routines. + * sunrpc/rpc/xdr.h: Add xdr_sizeof prototype. + * sunrpc/xdr_sizeof.c: New, from tirpc 2.3. + +1997-08-08 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + + * sysdeps/mach/bits/libc-lock.h (__libc_once): Define correctly. + +1997-08-07 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + + * sysdeps/mach/hurd/profil.c (fetch_samples): Put parens in the + right place. + +1997-08-06 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + + * sysdeps/mach/hurd/profil.c (fetch_samples): Do arithmetic on + PC's in long long to avoid overflow. + +1997-08-07 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + + * sysdeps/mach/bits/libc-lock.h (__libc_once, __libc_once_define): + New macros. + +1997-08-06 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * nis/Makefile (headers): Remove bits/nislib.h. + +1997-08-06 14:54 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/mach/hurd/Subdirs: Add login. + +1997-08-06 14:23 Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de> + + * db/hash/hash.c (init_hash): Don't use stat() if it doesn't provide + the preferred block size. + + * 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. + + * login/programs/utmpdump.c (print_entry): Always use ut_tv field. + + * login/programs/xtmp.c: Fix numerous xtmp/utmp typos. Use the ut_tv + field for timestamps if supported. + + * login/programs/xtmp.h: Fix xtmp/utmp typo. + + * sysdeps/posix/defs.c (stdstream): Change (PTR) to (void *). + + * 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. + +1997-08-05 13:28 Philip Blundell <pb@spring.nexus.co.uk> + + * sysdeps/standalone/arm/bits/errno.h: Add EISDIR, EOPNOTSUPP; + tidy up formatting. + + * Makefile (subdirs): Remove `login'. + * sysdeps/unix/Subdirs: New file; build `login' subdirectory + for Unix systems. + +1997-08-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/generic/bits/utmpx.h: New file. + + * 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. + +1997-08-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * libc.map: Add missing symbols. + +1997-08-05 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * manual/socket.texi: Correct typos. + + * manual/math.texi: Correct typos. + + * manual/time.texi (Formatting Date and Time): Likewise. + +1997-08-04 13:06 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + + * 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/mach/hurd/profil.c (fetch_samples): Initialize NSAMPLES. + +1997-08-01 17:53 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + + * sysdeps/mach/hurd/profil.c (fetch_samples): Sample buffer need + not be vm_deallocated; it's a stack buffer. + (profil_vm_deallocate): Delete prototype. + (#include <../mach/RPC_vm_deallocate_rpc.c>): Drop this + inclusion. + * sysdeps/mach/hurd/Makefile + ($(common-objpfx)hurd/../mach/RPC_vm_deallocate_rpc.c): Delete + this rule. + + * sysdeps/mach/hurd/profil.c (fetch_samples): New function, guts + from profile_waiter. + (profile_waiter): Use fetch_samples. + (profil): When turning off profiling, fetch the last bunch of + samples before disabling PC sampling. + (fetch_samples): Add prototype. + +1997-07-30 12:53 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + + * sysdeps/mach/hurd/Makefile: Give normal rules for the mach RPC + source included by profil.c instead of trying to use + before-compile grot. + +1997-07-23 15:04 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + + * sysdeps/mach/hurd/profil.c (profile_waiter): Do vm_deallocate + after releasing lock. Use special RPC stubs and avoid assert, + thus making this function entirely independent of the threadvar + mechanism and of cthreads. + (lock): Convert to be a spin lock instead of a mutex, so that the + waiter thread need not use cthreads. Use a fork prepare hook + instead of _hurd_fork_locks to make sure we are clean before + forking. + (fork_profil_child): Renamed from fork_profil. + (profil_reply_port): New variable. + (profil_vm_deallocate, profil_task_get_sampled_pcs): Special RPC + stubs made by special hacks. + * sysdeps/mach/hurd/Makefile (before-compile): Add the mach RPC + source files that profil.c needs if we are in the gmon directory. + + * mach/setup-thread.c (__mach_setup_thread): Delete avoidance of a + cthreads bug that hasn't existed for two years. + +1997-08-04 15:29 Ulrich Drepper <drepper@cygnus.com> + + * locale/programs/localedef.c (main): Set bit in avail for those + categories which are successfully read. + * locale/programs/locfile.c (check_all_categories): Don't check + categories if they are not available. + (write_all_categories): Don't write categories if they are not + available. + + * 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. + + * termios/cfsetspeed.c: Rewrite loop to do what it shall do. + + * wcsmbs/Makefile (tests): Add tst-wcstof. + * wcsmbs/tst-wcstof.c: New file. + +1997-08-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/m68k/__longjmp.c: Replace call to abort by infinite + loop, to avoid dragging stdio into the dynamic linker. + +1997-08-02 19:44 H.J. Lu <hjl@gnu.ai.mit.edu> + + * nis/nis_findserv.c (xid, xid_seed, xid_lookup): Make them + u_int32_t. + +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. + + * libc.map: Add wordexp, wordfree. + + * posix/Makefile (routines): Add wordexp. + +1997-08-03 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * posix/wordexp.c: Correct typo in comment. + (wordexp): Likewise. + + * manual/errno.texi (Error Codes): Fix typo. + +1997-08-03 15:28 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>. + +1997-08-02 21:27 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. + + * nis/Makefile (headers): Add bits/nislib.h. + * nis/rpcsvc/nislib.h: Moved to .... + * nis/bits/nislib.h: ... here. + + * 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. + + * login/getutid_r.c: Remove parameter to setutent call. + * login/getutline_r.c: Likewise. + + * posix/wordexp.c: Complete rewrite. Not fully implemented yet, + though. Patch by Tim Waugh <tim@cyberelk.demon.co.uk>. + + * stdio-common/printf_fp.c: Remove relative include paths. + * stdio-common/printf_fphex.c: Likewise. + + * sysdeps/generic/crypt.h: Cleanup. Don't define non standard + elements unless __USE_GNU. + + * sysdeps/generic/vlimit.c: Pretty print. + * sysdeps/generic/vtimes.c: Likewise. + + * 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. + + * sysdeps/i386/fpu/bits/mathinline.h: More patches by John Bowman. + + * sysdeps/stub/if_index.h: Set errno in all functions and add + stub warnings. + + * sysdeps/stub/libc-lock.h: Add __libc_once. + +1997-08-02 01:57 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/sysv/linux/ptrace.c: Don't set errno in error + case since the __syscall_ptrace call already did this. + Reported by Philip Gladstone <philip@talon.raptor.com>. + +1997-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * sysdeps/unix/sysv/linux/sys/fsuid.h: Change include + <gnu/types.h> to <sys/types.h>. + +1997-08-01 23:18 Ulrich Drepper <drepper@cygnus.com> + + * csu/defs.awk: Fix regexp for end and align. + Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>. + + * 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>. + +1997-08-01 18:45 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + + * nis/nss_nisplus/nisplus-alias.c: Fix NULL pointer problems + * nis/nss_nisplus/nisplus-grp.c: Likewise. + +1997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * elf/dl-profile.c (_dl_start_profile): Use _dl_sysdep_error + instead of fprintf. + +1997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * manual/socket.texi (Host Address Functions): Fix arguments of + @deftypefun. + +1997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * elf/dl-runtime.c: Avoid warning about profile_fixup being + unused. + + * sysdeps/m68k/dl-machine.h: Add support for shared library + profiling. + +1997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * md5-crypt/Makefile (extra-objs): Add onlymd5-crypt.o for + dependencies. + +1997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * Make-dist (subdirs): Distribute both aout and elf. + +1997-07-31 23:04 Mark Kettenis <kettenis@phys.uva.nl> + + * login/utmp-private.h: Remove reset argument from backend + setutent. + * login/getutent_r.c (__setutent): Allways call the setutent + function in the daemon backend. + (setutent_unknown): Function removed. + (getutent_unknown, pututline_unknown): Call __setutent instead of + setutent_unknown. + * login/utmp_file.c (setutent_file): Removed reset argument. All + callers changed. + * login/utmp_daemon.c (setutent_daemon): Removed reset + argument. All callers changed. Try to open connection even if a + previous connection failed, but first check if the sockets exist + in the filesystem. + + * login/utmp_daemon.c (pututline_daemon): Try to open connection + before reporting failure. + + * login/programs/database.c (open_database): Create compatibility + file if it does not already exist. Supply mode argument in open + calls to guarantee that created files have the proper protection. + + * login/programs/utmpd.c (main): Remove files created by a + previous `bind' before creating sockets. + Suggested by a sun <asum@zoology.washington.edu>. + +1997-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * math/libm-test.c: Remove unneeded function check_int_exec. + + * BUGS: Correct typos. + + * gmon/gmon.c: Add alias for monstartup, declare _strerror_internal. + +1997-07-30 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * manual/socket.texi (Host Address Functions): Reformat inet_ntop + entry to confirm with expected behaviour of some scripts. + + * libc.map: Add functions/variables in global namespace, + remove wildcards. + +1997-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * resolv/libresolv.map: Add variables and routines used by named, + nslookup and other bind utils. + * libc.map: Likewise. + +1997-07-31 00:35 Philip Blundell <Philip.Blundell@pobox.com> + + * sysdeps/unix/sysv/linux/if_index.c: Rewrite to avoid using /proc + filesystem. + * inet/test_ifindex.c: New file. + * inet/Makefile (tests): Add test_ifindex. + +1997-08-01 04:25 Ulrich Drepper <drepper@cygnus.com> + + * nis/nss_nisplus/nisplus-parser.c: Fix another bug in the parser. + Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>. + + * manual/errno.texi: Fix typo. + Reported by Erik Talvola <etalvo@sapient.com>. + +1997-07-28 23:35 Ulrich Drepper <drepper@cygnus.com> + + * csu/gmon-start.c (__gmon_start__): Call __monstartup not + monstartup. + * gmon/gmon.c: Rename moncontrol to __moncontrol and monstartup + to __monstartup. + * gmon/sys/gmon.h: Fix prototypes. + * gmon/sys/gmon_out.h: Pretty print. + + * gmon/bb_exit_func.c (__bb_exit_func): Use memcpy instead of bcopy. + * gmon/gmon.c (__monstartup): Likewise. + (write_hist): Remove dependency on 32 bit int. + (_mcleanup): Don't call perror, use fprintf. + + * elf/dl-load.c: Fix handling of current directory in search path. + + * elf/Makefile (dl-routines): Add dl-profile. + * elf/dl-profile.c: New file. + * elf/dl-runtime.c (fixup): Add new parameter with address to store + relocation result in to elf_machine_relplt. + (profile_fixup): New function. + * elf/do-rel.h (elf_dynamic_do_rel): Add new parameter with address + to store relocation result in to elf_machine_relplt. + * elf/dl-support.c: Define _dl_profile and _dl_profile_map. + * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Add new parameter and + call elf_machine_runtime_setup with extra argument. + * elf/dl-reloc.c (_dl_relocate_object): Add new argument to + ELF_DYNAMIC_RELOCATE. + * elf/link.h: Add prototypes for new functions and variables. + * elf/rtld.c: Parse LD_PROFILE and LD_PROFILE_OUTPUT environment + variables and call _dl_start_profile if necessary. + * include/sys/gmon_out.h: New file. + * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Add + new parameter to enable profiling. + (elf_machine_rela): Add new parameter to specify place to store + result in. + * sysdeps/m68k/dl-machine.h: Likewise. + * sysdeps/mips/dl-machine.h: Likewise. + * sysdeps/mips/mips64/dl-machine.h: Likewise. + * sysdeps/powerpc/dl-machine.h: Likewise. + * sysdeps/sparc/dl-machine.h: Likewise. + * sysdeps/sparc64/dl-machine.h: Likewise. + * sysdeps/i386/dl-machine.h: Likewise. + (elf_machine_runtime_setup): Setup got[2] to _dl_runtime_resolve if + we do profiling. + (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add code for _dl_runtime_profile. + + * 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. + + * string/string.h: Pretty print. + + * sysdeps/i386/fpu/bits/mathinline.h: Major update by John Bowman. + Add float and long double versions. + +1997-07-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * elf/rtld.c (print_unresolved): Replace empty object name by main + program name. + +1997-07-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/generic/htons.c (htons): Renamed from __htons. + +1997-07-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/m68k/bits/byteswap.h: New file. + +1997-07-27 23:50 Philip Blundell <Philip.Blundell@pobox.com> + + * 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. + + * manual/socket.texi: Document some more IPv6 things. + * manual/libc.texinfo: Likewise. + +1997-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * libc.map: Define missing symbol. + +1997-07-27 14:31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + + * 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. + +1997-07-26 04:14 Ulrich Drepper <drepper@cygnus.com> + + * 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. + + * elf/dl-error.c (_dl_signal_error): Make message nicer. + + * nss/libnss_files.map: Fix typo. + Reported by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>. + + * sysdeps/generic/strsep.c: Optimize case where separator set contains + only one character. + + * 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. + +1997-07-25 09:15 H.J. Lu <hjl@gnu.ai.mit.edu> + + * 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. + + * sysdeps/mips/bsd-_setjmp.S: Remove __PIC__ comment. + * sysdeps/mips/bsd-setjmp.S: Likewise. + + * sysdeps/mips/dl-machine.h: Remove extra stuff. + * sysdeps/mips/mips64/dl-machine.h: Likewise. + +1997-07-25 18:55 Philip Blundell <Philip.Blundell@pobox.com> + + * sysdeps/standalone/arm/sysdep.c: New file. + +1997-07-25 13:25 Philip Blundell <Philip.Blundell@pobox.com> + + * aout/Makefile: New file. + * Makeconfig (binfmt-subdir): Assume a.out when not ELF. + + * 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. + +1997-07-25 16:24 H.J. Lu <hjl@gnu.ai.mit.edu> + + * elf/dl-deps.c (_dl_map_object_deps): Fix a typo. + +1997-07-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * math/libm-test.c (ccos_test, ccosh_test): Fix sign in some + tests. + +1997-07-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sunrpc/clnt_udp.c (clntudp_call): Rename cu_wait from timeout to + not shadow the variable in the outer scope. + +1997-07-24 03:14 Ulrich Drepper <drepper@cygnus.com> + + * elf/dl-deps.c: Complete rewrite to handle DT_AUXILIARY correctly. + + * inet/Makefile (tests): Add htontest. + * inet/htontest.c: New file. + + * 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. + + * sysdeps/unix/i386/sysdep.h (DO_CALL): Use lcall, binutils have + been fixed meanwhile. + Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>. + +1997-07-24 00:53 Philip Blundell <Philip.Blundell@pobox.com> + + * db/hash/hash.c (init_hash): Only use statbuf.st_blksize if it + exists for this port. + +1997-07-24 00:12 Philip Blundell <Philip.Blundell@pobox.com> + + * sysdeps/standalone/arm/bits/errno.h (ESTALE): Add. + +1997-07-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * manual/argp.texi (Argp Option Vectors): Use @minus, not @math, + to format a proper minus sign. + +1997-07-22 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. + + * 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. + +1997-07-23 05:10 Ulrich Drepper <drepper@cygnus.com> + + * 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. + +1997-07-16 10:09 Fila Kolodny <fila@ibi.com> + + * 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. + +1997-07-22 09:54 H.J. Lu <hjl@gnu.ai.mit.edu> + + * inet/netinet/in.h (htons): Fix typos. + + * sysdeps/i386/bits/htontoh.h (__ntohs): Return the value. + +1997-07-22 11:47 Ulrich Drepper <drepper@cygnus.com> + + * nss/nsswitch.c (nss_lookup_function): Include function.def, not + functions.def. + Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>. + +1997-07-22 01:35 Ulrich Drepper <drepper@cygnus.com> + + * Makerules (+make-deps): Use $(CFLAGS) in run of $(+mkdep) so + that optimizing is also selected for dependency generation. + + * configure.in: Add machine description for TI c[34]x. + + * 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. + + * sysdeps/i386/fpu/bits/mathinline.h: Correct and optimized compare + macros. + + * sysdeps/mips/dl-machine.h: Remove mips64 dependent parts. + * sysdeps/mips/mips64/dl-machine.h: New file. + + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't install + syscall-list.h. + +1997-07-12 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * libc.map: Add missing symbol _obstack. + +1997-07-14 08:22 H.J. Lu <hjl@gnu.ai.mit.edu> + + * sysdeps/mips/rtld-parms: New. + + * sysdeps/unix/sysv/linux/mips/lxstat.h: Moved to + * sysdeps/unix/sysv/linux/mips/lxstat.c: ...this. + + * sysdeps/unix/sysv/linux/mips/sgidef.h: Moved to + * sysdeps/unix/sysv/linux/mips/sgidefs.h: ...this. + + * sysdeps/generic/dl-sysdep.c (_start): Change to ENTRY_POINT. + +1997-07-17 08:39 H.J. Lu <hjl@gnu.ai.mit.edu> + + * sysdeps/mips/dl-machine.h: Remove extra stuff. + +1997-07-06 07:18 Geoff Keating <geoffk@ozemail.com.au> + * sysdeps/powerpc/bits/endian.h: Handle multiple endianess. + + * 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/powerpc/add_n.s: New file. + * sysdeps/powerpc/sub_n.s: New file. + * sysdeps/powerpc/lshift.s: Ported XCOFF->ELF (from GMP). + * sysdeps/powerpc/mul_1.s: Ported XCOFF->ELF (from GMP). + * sysdeps/powerpc/addmul_1.s: Ported XCOFF->ELF (from GMP). + * sysdeps/powerpc/submul_1.s: Ported XCOFF->ELF (from GMP). + * sysdeps/powerpc/rshift.s: Ported XCOFF->ELF (from GMP). + + * math/libm-test.c (cos_test, sin_test, sincos_test): Use + precomputed pi/6 rather than having gcc calculate it, otherwise + tests give inaccurate result due to inaccurate input. + * math/libm.map: Add __fe_*_env constants to list of exported + symbols. + + * sysdeps/libm-ieee754/s_isinf.c: Simplify, make faster. + * sysdeps/libm-ieee754/s_isinff.c: Simplify, make faster. + * sysdeps/libm-ieee754/s_atan2f.c: Correct value of pi to be correct + round-to-nearest value. + + * sysdeps/libm-ieee754/e_log.c: Make sure exceptions are raised. + * sysdeps/libm-ieee754/e_log10.c: Likewise. + * sysdeps/libm-ieee754/e_log10f.c: Likewise. + * sysdeps/libm-ieee754/e_logf.c: Likewise. + * sysdeps/libm-ieee754/s_log1p.c: Likewise. Also use correct -Inf. + * sysdeps/libm-ieee754/s_log1pf.c: Likewise. Also use correct -Inf. + * sysdeps/libm-ieee754/s_log2.c: Likewise. + * sysdeps/libm-ieee754/s_log2f.c: Likewise. + +1997-07-15 21:54 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + + * 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. + +1997-07-20 19:33 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + + * libc.map: Add _null_auth and _seterr_reply. + + * sunrpc/clnt_udp.c (clntudp_call): If xargs is NULL, don't encode it. + +1997-07-19 22:53 Ulrich Drepper <drepper@cygnus.com> + + * 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. + + * libio/stdio.h: Declare snprint and vsnprintf for __USE_ISOC9X. + + * math/math.h: Correct comments. Include <bits/mathinline.h> + always when optimizing. + +1997-07-19 10:23 Mark Kettenis <kettenis@phys.uva.nl> + + * time/getdate.c (__getdate_r): + Report failure if string was not completely parsed. + (getdate): Set getdate_err on failure. + +1997-07-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * include/gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): + Synchronize with malloc/obstack.c. + +1997-07-16 Miles Bader <miles@gnu.ai.mit.edu> + + * 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. + +1997-07-15 Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu> + + * 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. + +1997-07-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * sysdeps/posix/ttyname_r.c (__ttyname_r): Correct comment. + * posix/unistd.h: Likewise. + * sysdeps/stub/ttyname_r.c: Likewise. + +1997-07-14 23:37 Ulrich Drepper <drepper@cygnus.com> + + * inet/getnameinfo.c: Pretty print. + Correctly enlarge buffers. + + * login/programs/utmpd.c: Use _() instead of gettext(). + + * 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. + + * 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. + + * 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. + + * sysdeps/mips/mips64/Implies: Imply ieee754. + + * 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>. + + * stdio-common/snprintf.c: Use ISO C function definition form. + + * 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. + + * stdio-common/strops.c: Partialy undo last change. Will need + more investigation. + +1997-07-10 Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu> + + * sysdeps/mach/hurd/select.c (__select): Need bit count for + MACH_MSG_TYPE_INTEGER_T. + +1997-07-08 10:12 Fila Kolodny <fila@ibi.com> + + * sysdeps/i370/Implies: New file for i370-ibm-mvs port. + * sysdeps/mvs/Implies: Likewise. + +1997-07-09 23:06 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + + * nis/Makefile: Add new source files. + + * nis/nis_intern.h: Add new internal functions. + * nis/rpcsvc/nislib.h: Likewise. + + * 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. + + * 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. + + * nis/nss_nis/nis-publickey.c: Remove libc-lock.h include. + + * nis/nis_intern.c: Removed. + + * nis/nis_call.c: Complete rewrite. + * nis/nis_lookup.c: Likewise. + * nis/nis_table.c: Likewise. + + * nis/libnsl.map: Add missing symbols. + + * nis/nis_print.c: Fix nis_print_link. + * nis/nis_subr.c: Fix nis_getnames. + +1997-07-09 07:19 H.J. Lu <hjl@gnu.ai.mit.edu> + + * posix/execvp.c (execvp): Handle ESTALE. + +1997-07-10 13:54 Ulrich Drepper <drepper@cygnus.com> + + * posix/regex.c: Make CHAR_SET_SIZE definition always available, + even if SYNTAX_TABLE is defined. + Patch by Akim Demaille <demaille@inf.enst.fr>. + +1997-07-09 08:16 H.J. Lu <hjl@gnu.ai.mit.edu> + + * libio/fileops.c (_IO_file_underflow): Adjust pointers + before calling _IO_SYSREAD (). + +1997-07-07 22:54 Zack Weinberg <zack@rabi.phys.columbia.edu> + + * 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. + + * sysdeps/sparc/rem.S: Regenerated. + * sysdeps/sparc/sdiv.S: Regenerated. + * sysdeps/sparc/udiv.S: Regenerated. + * sysdeps/sparc/urem.S: Regenerated. + + * sysdeps/sparc/DEFS.h: Removed. + * sysdeps/sparc/elf/DEFS.h: Removed. + * sysdeps/sparc/Dist: Don't distribute DEFS.h. + + * sysdeps/unix/sparc/sysdep.h: Use 4 byte alignment. Add .type + directive #ifdef HAVE_ELF. Minor format changes. + + * sysdeps/alpha/DEFS.h: Removed. + * sysdeps/alpha/Dist: Don't distribute DEFS.h. + +1997-07-07 19:03 H.J. Lu <hjl@gnu.ai.mit.edu> + + * math/test-fenv.c (feenv_nomask_test): Move + fesetenv (FE_NOMASK_ENV) after fork () to work with + SMP. + + * sysdeps/i386/fpu_control.h (_FPU_IEEE): Fix comment. + +1997-07-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * libc.map: Add _IO_peekc_locked. + +1997-07-07 15:45 Fila Kolodny <fila@ibi.com> + + * Makeconfig: Add dbobjdir to rpath-link analogous to nssobjdir. + +1997-07-08 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. + +1997-07-08 13:59 Ulrich Drepper <drepper@cygnus.com> + + * time/strftime.c (spaces, zeroes): Handle broken SGI compiler. + Patch by Richard Stallman <rms@gnu.ai.mit.edu>. + +1997-07-08 02:18 Ulrich Drepper <drepper@cygnus.com> + + * io/lockf.c (lockf): Clear fl before using. + Patch by sr@adb.fr. + + * libio/strops.c: Correctly handle _IO_write_end. + + * 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>. + + * 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>. + +1997-07-06 23:36 Ulrich Drepper <drepper@cygnus.com> + + * isomac.c (get_null_defines): Put NULL at end of list. + + * hurd/Makefile: Remove special handling of sunrpc code. + * sysdeps/mach/hurd/Makefile: Likewise. + Compile CThreads code. + * sunrpc/rpc_main.c: Don't use MAXPATHLEN. + * sysdeps/mach/bits/libc-lock.h: Add definitions for key handling + functions. + * sysdeps/stub/bits/libc-lock.h: Likewise. + * sysdeps/mach/hurd/net/ethernet.h: New file. + * sysdeps/mach/hurd/net/if.h: New file. + * sysdeps/mach/hurd/net/if_arp.h: New file. + * sysdeps/mach/hurd/net/if_ether.h: New file. + * sysdeps/mach/hurd/net/if_ppp.h: New file. + * sysdeps/mach/hurd/net/route.h: New file. + Patches by Fila Kolodny <fila@ibi.com>. + + * math/fenv-test.c: Add more tests. + Patch by Andreas Jaeger <aj@arthur.rhein-neckar.de>. + + * sysdeps/wordsize-32/inttypes.h: Correct values for INTFAST_MIN, + INTFAST_MAX, and UINTFAST_MAX. + * sysdeps/wordsize-64/inttypes.h: Likewise. + Correct intmax_t definition. + +1997-07-04 15:33 H.J. Lu <hjl@gnu.ai.mit.edu> + + * elf/rtld.c (dl_main): Add '\n' to _dl_sysdep_fatal (). + +1997-07-01 09:18 H.J. Lu <hjl@gnu.ai.mit.edu> + + * libc.map: Add missing symbol. + +1997-07-04 18:04 H.J. Lu <hjl@gnu.ai.mit.edu> + + * stdlib/tst-strtol.c: Don't assume cpp takes ~0UL as long + in cc1. Cpp in gcc doesn't do it. + +1997-07-01 21:15 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * libio/libioP.h: Remove second definition of _IO_file_attach. + + * sysdeps/i386/fpu/fraiseexcpt.c (feraiseexcept): Correct comments. + + * 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. + +1997-07-05 11:56 Ulrich Drepper <drepper@cygnus.com> + + * login/login.c (tty_name): Use newly allocated buffer. + Patch by Jaakko Hyvätti <jaakko.hyvatti@iki.fi>. + + * time/asctime.c: Never translate week and month name according + to LC_TIME. Patch by Paul Eggert <eggert@twinsun.com>. + +1997-07-03 22:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * locale/setlocale.c (setname): Do nothing when reusing the same + name. + +1997-07-03 20:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * libc.map: Add global variables of malloc. + +1997-07-03 13:24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * 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. + +1997-07-03 12:33 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/m68k/fpu/fraiseexcpt.c: Correct the FE_INEXACT and + FE_UNDERFLOW cases. + +1997-07-01 13:36 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. + +1997-07-01 16:40 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + + * hurd/hurdsig.c: Include <hurd/id.h>. + (reauth_proc): Call proc_setowner appropriately too. + +1997-07-01 09:18 H.J. Lu <hjl@gnu.ai.mit.edu> + + * libc.map: Add missing symbol. + +1997-06-30 12:12 Fila Kolodny <fila@ibi.com> + + * sysdeps/mach/hurd/fchdir.c: Make fchdir a weak alias of __fchdir. + * sysdeps/mach/hurd/getpeername.c (getpeername): Remove spurious + declaration of addr. + +1997-06-29 17:56 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * manual/argp.texi (Argp Option Vectors): Fix use of @math to make + it work in TeX. + +1997-06-27 21:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * 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. + + * 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. + + * 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. + +1997-06-29 23:03 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * math/test-fenv.c (feenv_nomask_test): New test for non masked + exceptions. + (feenv_mask_test): New test for masked exceptions + (feenv_tests): New function calls feenv_nomask_test and + feenv_mask_test. + (main): Call new tests. + (initial_tests): New test for initilisation. + +1997-06-29 23:43 Ulrich Drepper <drepper@cygnus.com> + + * 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/i386/fpu/fraiseexcpt.c: Correct FE_INEXACT case. + + * sysdeps/sparc/rem.S: Get trap definition properly. + * sysdeps/sparc/sdiv.S: Likewise. + * sysdeps/sparc/udiv.S: Likewise. + * sysdeps/sparc/urem.S: Likewise. + * sysdeps/sparc/setjmp.S: Include <sys/trap.h>. + * sysdeps/sparc/sys/trap.h: New file. + * sysdeps/unix/sysv/linux/sparc/sys/trap.h: New file. + +1997-06-25 10:26 Thorsten Kukuk <kukuk@uni-paderborn.de> + + * sysdeps/generic/rpc/auth.h: Add xdr_opaque_auth declaration. + +1997-06-29 10:34 Fila Kolodny <fila@ibi.com> + + * sysdeps/mach/hurd/select.c (__select): Change MACH_MSG_SIZE_INTEGER_T + to MACH_MSG_TYPE_INTEGER_T. + +1997-06-29 01:04 Richard Henderson <richard@gnu.ai.mit.edu> + + Initial sparc64-linux support: + * configure.in: Recognize sparc64 as being different from sparc. + * io/ftwtest-sh: Only invoke ld.so if it exists. + * math/Makefile (LDLIBS-*): Change from libm to math/libm to get + static tests to link. Honour $(omit-long-double-fcts) == yes. + * math/libm-test.c (test_single_exception): The argument to + fetestexcept is `int' not `fexcept_t'. + * shlib-versions: Recognize sparc64. + * signal/signal.h: Add typedef for stack_t. + + * stdio-common/_itoa.c: Defaulting UMUL_TIME==UDIV_TIME is broken. + Attempt to fix up most of this by cleaning up assumptions below, + but give up and change the defaults. + + * setjmp/longjmp.c: Moved to ... + * sysdeps/generic/longjmp.c: ... here. + * setjmp/sigjmp.c: Moved to ... + * sysdeps/generic/sigjmp.c: ... here. + + * sysdeps/sparc/bsd-_setjmp.S [PIC]: There wasn't even valid asm here. + Ought to fix up gas to catch these silly things properly. + * sysdeps/sparc/bsd-setjmp.S: Likewise. + + * sysdeps/unix/sysv/linux/sparc/errno.c: Remove. + * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Remove. + * sysdeps/unix/sysv/linux/sparc/kernel_stat.h: Tell xstat about + the unused fields. + + * sysdeps/sparc/sparc64/add_n.s: Moved to ... + * sysdeps/sparc64/add_n.S: ... here. Fix up %g4 and stack usage. + * sysdeps/sparc/sparc64/addmul_1.s: Likewise. + * sysdeps/sparc/sparc64/gmp-mparam.h: Likewise. + * sysdeps/sparc/sparc64/lshift.s: Likewise. + * sysdeps/sparc/sparc64/mul_1.s: Likewise. + * sysdeps/sparc/sparc64/rshift.s: Likewise. + * sysdeps/sparc/sparc64/sub_n.s: Likewise. + * sysdeps/sparc/sparc64/submul_1.s: Likewise. + + * sysdeps/sparc64/Implies: New file. + * sysdeps/sparc64/Makefile: Likewise. + * sysdeps/sparc64/bits/endian.h: Likewise. + * sysdeps/sparc64/bsd-_setjmp.S: Likewise. + * sysdeps/sparc64/bsd-setjmp.S: Likewise. + * sysdeps/sparc64/dl-machine.h: Likewise. + * sysdeps/sparc64/elf/Makefile: Likewise. + * sysdeps/sparc64/elf/crtbegin.S: Likewise. + * sysdeps/sparc64/elf/crtbeginS.S: Likewise. + * sysdeps/sparc64/elf/crtend.S: Likewise. + * sysdeps/sparc64/elf/crtendS.S: Likewise. + * sysdeps/sparc64/elf/start.S: Likewise. + * sysdeps/sparc64/fpu_control.h: Likewise. + * sysdeps/unix/sysv/linux/sparc64/Makefile: Likewise. + * sysdeps/unix/sysv/linux/sparc64/__longjmp.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/bits/setjmp.h: Likewise. + * sysdeps/unix/sysv/linux/sparc64/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/sparc64/brk.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/clone.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/fork.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/init-first.h: Likewise. + * sysdeps/unix/sysv/linux/sparc64/kernel_stat.h: Likewise. + * sysdeps/unix/sysv/linux/sparc64/longjmp.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/pipe.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/profil-counter.h: Likewise. + * sysdeps/unix/sysv/linux/sparc64/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/sigjmp.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc64/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sparc64/ucontext.h: Likewise. + +1997-06-28 16:28 H.J. Lu <hjl@gnu.ai.mit.edu> + + * configure.in: Add -nostartfiles -nostdlib when check for + --version-script. + +1997-06-28 12:03 H.J. Lu <hjl@gnu.ai.mit.edu> + + * sysdeps/powerpc/bits/endian.h: New file. + +1997-06-28 20:52 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/sysv/linux/syscalls.list: Add getresgid and + setresgid. + +1997-06-27 20:09 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/sysv/linux/sys/quota.h: Add <asm/types.h>. + Reported by a sun <asun@zoology.washington.edu>. + + * libc.map: Add _rpc_dtablesize. Reported by Thorsten Kukuk. + + * db/makedb.c: Exit with error if number of option is incorrect. + + * math/Makefile (tests): Add test-fenv. + * math/test-fenv.c: New file. Test for exception handling functions. + Written mainly by Andreas Jaeger. + + * sysdeps/i386/fpu/fraiseexcpt.c: Correct implementation. + + * sysdeps/mach/hurd/abi-tag.h: Set tag to 1 for Hurd and kernel + compatibility version to 0. Reported by Roland McGrath. + +1997-06-27 18:49 Philip Blundell <Philip.Blundell@pobox.com> + + * sysdeps/standalone/brk.c (__NONE_set_memvals): Correct typo. + * sysdeps/standalone/arm/bits/errno.h: Add ENOTDIR. + * sysdeps/stub/sys/param.h: Add definition of MAX and MIN. + +1997-06-27 10:44 Fila Kolodny <fila@ibi.com> + + * sysdeps/mach/hurd/dl-sysdep.c: Make _dl_sysdep_read_whole_file weak. + +1997-06-27 00:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * elf/dl-open.c (_dl_open): Check versions of all newly loaded + objects, including dependencies. + + * elf/dl-runtime.c (fixup): Always use version information if + available. + +1997-06-26 12:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/m68k/bits/nan.h: Renamed from sysdeps/m68k/nan.h. + +1997-06-26 11:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * 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. + +1997-06-27 02:17 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/sysv/linux/syscalls.list: Add quotactl. + Reported by a sun. + +1997-06-26 21:50 Ulrich Drepper <drepper@cygnus.com> + + * 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. + + * Makerules: Move definition of load-map-file before use. + (lib%.so): Depend on load-map-file, not lib%-map. + + * manual/lgpl.texinfo: Update copyright. + +1997-06-24 09:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/m68k/fpu/bits/mathinline.h: Don't define __ilogb. + * sysdeps/m68k/fpu/s_ilogb.c: Define it here. Handle zero, NaN + and infinity specially. + * sysdeps/m68k/fpu/s_ilogbf.c, sysdeps/m68k/fpu/s_ilogbl.c: + Adapted. + + * sysdeps/m68k/fpu/bits/mathdef.h (FP_ILOGB0): Correct value. + +1997-06-26 17:06 Ulrich Drepper <drepper@cygnus.com> + + * 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>. + + * hurd/hurdsig.c (_hurdsig_init): Call _hurd_self_sigstate. + Patch by Kazumoto Kojima <kkojima@kk.info.kanagawa-u.ac.jp>. + +1997-06-26 09:02 Fila Kolodny <fila@ibi.com> + + * sysdeps/mach/hurd/abi-tag.h: New file. + + * sysdeps/mach/bits/libc-lock.h: Add typedef for __libc_key_t. + * sysdeps/stub/bits/libc-lock.h: Likewise. + + * 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. + + * sysdeps/mach/hurd/select.c (__select): Change MACH_MSG_SIZE_INTEGER_T + to sizeof(MACH_MSG_TYPE_INTEGER_T). + + * io/ftw.c (ftw_startup): Use PATH_MAX only if defined. + + * sysdeps/mach/hurd/open.c (__open): Fix type of parameter file. + + * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Add closefn to + paramater list since it is used. + + * sysdeps/mach/hurd/rename.c (rename): Fix type of paramater new. + + * sysdeps/mach/hurd/sigaltstack.c (sigaltstack): Change parameter from + ss to argss. + +1997-06-24 14:02 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * Rules: Update copyright. + * mach/Machrules: Likewise. + +1997-06-26 14:28 Ulrich Drepper <drepper@cygnus.com> + + * configure.in: Fix accidently removed AC_OUTPUT line. + Reported by Andreas Jaeger. + + * time/strftime.c: Don't define `memcpy' macro if HAVE_MEMCPY is + defined. Reported by Akim Demaille <demaille@inf.enst.fr>. + + * 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>. + +1997-06-23 22:20 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * sysdeps/alpha/_mcount.S: Update and reformat copyright, + remove trailing white spaces and send through unexpand. + * sysdeps/alpha/bb_init_func.S: Likewise. + * sysdeps/alpha/bzero.S: Likewise. + * sysdeps/alpha/ffs.S: Likewise. + * sysdeps/alpha/memset.S: Likewise. + * sysdeps/alpha/s_fabs.S: Likewise. + * sysdeps/alpha/strcmp.S: Likewise. + * sysdeps/alpha/strlen.S: Likewise. + * sysdeps/alpha/strncmp.S: Likewise. + * sysdeps/alpha/strncpy.S: Likewise. + * sysdeps/alpha/strrchr.S: Likewise. + * sysdeps/alpha/stxcpy.S: Likewise. + * sysdeps/alpha/stxncpy.S: Likewise. + * sysdeps/alpha/elf/start.S: Likewise. + * sysdeps/i386/strchr.S: Likewise. + * sysdeps/m68k/bsd-_setjmp.S: Likewise. + * sysdeps/m68k/bsd-setjmp.S: Likewise. + * sysdeps/m68k/elf/start.S: Likewise. + * sysdeps/mach/alpha/syscall.S: Likewise. + * sysdeps/mach/i386/syscall.S: Likewise. + * sysdeps/mips/elf/start.S: Likewise. + * sysdeps/sparc/alloca.S: Likewise. + * sysdeps/standalone/i386/start.S: Likewise. + * sysdeps/standalone/i386/force_cpu386/strtsupp.S: Likewise. + * sysdeps/standalone/i960/start.S: Likewise. + * sysdeps/standalone/m68k/m68020/start.S: Likewise. + * sysdeps/unix/_exit.S: Likewise. + * sysdeps/unix/fork.S: Likewise. + * sysdeps/unix/getegid.S: Likewise. + * sysdeps/unix/geteuid.S: Likewise. + * sysdeps/unix/getppid.S: Likewise. + * sysdeps/unix/syscall.S: Likewise. + * sysdeps/unix/arm/brk.S: Likewise. + * sysdeps/unix/arm/fork.S: Likewise. + * sysdeps/unix/bsd/hp/m68k/brk.S: Likewise. + * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise. + * sysdeps/unix/bsd/hp/m68k/wait3.S: Likewise. + * sysdeps/unix/bsd/i386/vfork.S: Likewise. + * sysdeps/unix/bsd/i386/wait3.S: Likewise. + * sysdeps/unix/bsd/m68k/pipe.S: Likewise. + * sysdeps/unix/bsd/m68k/syscall.S: Likewise. + * sysdeps/unix/bsd/m68k/sysdep.S: Likewise. + * sysdeps/unix/bsd/m68k/wait.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/brk.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/fork.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/killpg.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/pipe.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/recv.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/send.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/sigblock.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/sigpause.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/sigsetmask.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/sigvec.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/start.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/vhangup.S: Likewise. + * sysdeps/unix/bsd/sequent/i386/getgroups.S: Likewise. + * sysdeps/unix/bsd/sequent/i386/sigvec.S: Likewise. + * sysdeps/unix/bsd/sequent/i386/syscall.S: Likewise. + * sysdeps/unix/bsd/sun/sigreturn.S: Likewise. + * sysdeps/unix/bsd/sun/m68k/brk.S: Likewise. + * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise. + * sysdeps/unix/bsd/sun/m68k/syscall.S: Likewise. + * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise. + * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise. + * sysdeps/unix/bsd/ultrix4/wait3.S: Likewise. + * sysdeps/unix/bsd/ultrix4/mips/__handler.S: Likewise. + * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise. + * sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise. + * sysdeps/unix/bsd/vax/brk.S: Likewise. + * sysdeps/unix/bsd/vax/pipe.S: Likewise. + * sysdeps/unix/bsd/vax/sysdep.S: Likewise. + * sysdeps/unix/bsd/vax/vfork.S: Likewise. + * sysdeps/unix/bsd/vax/wait.S: Likewise. + * sysdeps/unix/bsd/vax/wait3.S: Likewise. + * sysdeps/unix/i386/brk.S: Likewise. + * sysdeps/unix/i386/fork.S: Likewise. + * sysdeps/unix/i386/pipe.S: Likewise. + * sysdeps/unix/i386/sigreturn.S: Likewise. + * sysdeps/unix/i386/syscall.S: Likewise. + * sysdeps/unix/i386/vfork.S: Likewise. + * sysdeps/unix/i386/wait.S: Likewise. + * sysdeps/unix/mips/brk.S: Likewise. + * sysdeps/unix/mips/fork.S: Likewise. + * sysdeps/unix/mips/pipe.S: Likewise. + * sysdeps/unix/mips/sigreturn.S: Likewise. + * sysdeps/unix/mips/sysdep.S: Likewise. + * sysdeps/unix/mips/wait.S: Likewise. + * sysdeps/unix/sparc/brk.S: Likewise. + * sysdeps/unix/sparc/fork.S: Likewise. + * sysdeps/unix/sparc/pipe.S: Likewise. + * sysdeps/unix/sparc/sysdep.S: Likewise. + * sysdeps/unix/sparc/vfork.S: Likewise. + * sysdeps/unix/sysv/i386/signal.S: Likewise. + * sysdeps/unix/sysv/i386/time.S: Likewise. + * sysdeps/unix/sysv/irix4/__handler.S: Likewise. + * sysdeps/unix/sysv/irix4/sigreturn.S: Likewise. + * sysdeps/unix/sysv/irix4/uname.S: Likewise. + * sysdeps/unix/sysv/irix4/wait.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/pipe.S: Likewise. + * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/fork.S: Likewise. + * sysdeps/unix/sysv/sco3.2.4/sigaction.S: Likewise. + * sysdeps/unix/sysv/sco3.2.4/sysconf.S: Likewise. + * sysdeps/unix/sysv/sco3.2.4/uname.S: Likewise. + * sysdeps/unix/sysv/sco3.2.4/waitpid.S: Likewise. + * sysdeps/unix/sysv/sysv4/i386/sys-sig.S: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/fsync.S: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S: Likewise. + * sysdeps/vax/bsd-_setjmp.S: Likewise. + * sysdeps/vax/bsd-setjmp.S: Likewise. + +1997-06-26 02:06 Ulrich Drepper <drepper@cygnus.com> + + * posix/Makefile (CFLAGS-regex.c): -DDEBUG was not meant for the + public. + + * Makerules ($(common-objpfx)libc.so): Use $(load-map-file) in + dependency, not $(libc-map). + + * sysdeps/posix/mk-stdiolim.c: Pretty print. + +1997-06-25 15:54 Fila Kolodny <fila@ibi.com> + + * sysdeps/mach/hurd/bits/fcntl.h: Change include of gnu/types.h to + include of bits/types.h. + + * sysdeps/posix/Makefile ($(common-objpfx)bits/stdio_lim.h): Don't + conditionalize this on whether we are cross-compiling. + +1997-06-21 15:47 H.J. Lu <hjl@gnu.ai.mit.edu> + + * elf/dl-lookup.c (do_lookup): Use default definition + for a default versioned symbol. + + * elf/dl-version.c (_dl_check_map_versions): Set the hidden field. + + * elf/dlvsym.c (__dlvsym): Set the hidden field to 1. + + * elf/link.h (r_found_version): Add the hidden field. + + * math/test-matherr.c: New file. + + * math/Makefile (tests): Add test-matherr. + (libm-support): Put back s_matherr. + (static-only-routines, aux): Remove s_matherr. + +1997-06-23 23:39 Ulrich Drepper <drepper@cygnus.com> + + * string/Makefile (headers): Change bytesex.h to bits/endian.h. + * sysdeps/generic/Makefile: Don't try to generate bytesex.h, but + bits/endian.h. + + * math/libm-test.c (lgamma_test): Make sure the test of the ilogb + function will not fail because of exceptions. + + * math/math.h: Add warning about use of M_* constants. + Pretty print. + +1997-06-23 11:36 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * hurd/path-lookup.c: Change GPL to LGPL, update and reformat + copyright, remove trailing white spaces and send through unexpand. + * inet/netinet/icmp6.h: Likewise. + * inet/netinet/in.h: Likewise. + * inet/netinet/ip6.h: Likewise. + * locale/programs/xmalloc.c: Likewise. + * locale/programs/xstrdup.c: Likewise. + * sysdeps/generic/make_siglist.c: Likewise. + * sysdeps/generic/morecore.c: Likewise. + * sysdeps/generic/sbrk.c: Likewise. + * sysdeps/generic/signame.c: Likewise. + * sysdeps/generic/signame.h: Likewise. + * sysdeps/generic/netinet/inbits.h: Likewise. + * sysdeps/posix/getpagesize.c: Likewise. + * sysdeps/unix/errnos-tmpl.c: Likewise. + * sysdeps/unix/getpagesize.c: Likewise. + * sysdeps/unix/make_errlist.c: Likewise. + * sysdeps/unix/mkfifo.c: Likewise. + * sysdeps/unix/nlist.c: Likewise. + * sysdeps/unix/start.c: Likewise. + * sysdeps/unix/sysv/linux/netinet/inbits.h: Likewise. + + * munch-tmpl.c: Update and reformat copyright, remove trailing + white spaces and send through unexpand. + * libio/clearerr_u.c: Likewise. + * libio/memstream.c: Likewise. + * libio/putc_u.c: Likewise. + * libio/putchar_u.c: Likewise. + * stdio-common/scanf.c: Likewise. + * stdlib/longlong.h: Likewise. + * sysdeps/alpha/__longjmp.c: Likewise. + * sysdeps/alpha/divrem.h: Likewise. + * sysdeps/alpha/machine-gmon.h: Likewise. + * sysdeps/alpha/setjmp_aux.c: Likewise. + * sysdeps/alpha/bits/setjmp.h: Likewise. + * sysdeps/arm/fpu_control.h: Likewise. + * sysdeps/generic/_strerror.c: Likewise. + * sysdeps/generic/det_endian.c: Likewise. + * sysdeps/generic/fdatasync.c: Likewise. + * sysdeps/generic/fpu_control.c: Likewise. + * sysdeps/generic/ftime.c: Likewise. + * sysdeps/generic/getdomain.c: Likewise. + * sysdeps/generic/group_member.c: Likewise. + * sysdeps/generic/ldiv.c: Likewise. + * sysdeps/generic/lldiv.c: Likewise. + * sysdeps/generic/lxstat.c: Likewise. + * sysdeps/generic/memcmp.c: Likewise. + * sysdeps/generic/memmem.c: Likewise. + * sysdeps/generic/mig-reply.c: Likewise. + * sysdeps/generic/pagecopy.h: Likewise. + * sysdeps/generic/profil-counter.h: Likewise. + * sysdeps/generic/pselect.c: Likewise. + * sysdeps/generic/setfpucw.c: Likewise. + * sysdeps/generic/stpcpy.c: Likewise. + * sysdeps/generic/uname.c: Likewise. + * sysdeps/generic/varargs.h: Likewise. + * sysdeps/generic/vlimit.c: Likewise. + * sysdeps/generic/bits/sigaction.h: Likewise. + * sysdeps/generic/bits/ustat.h: Likewise. + * sysdeps/generic/netinet/if_ether.h: Likewise. + * sysdeps/generic/sys/swap.h: Likewise. + * sysdeps/generic/sys/sysinfo.h: Likewise. + * sysdeps/i386/init-first.c: Likewise. + * sysdeps/i386/ldbl2mpn.c: Likewise. + * sysdeps/i386/memcopy.h: Likewise. + * sysdeps/i386/i586/memcopy.h: Likewise. + * sysdeps/i860/memcopy.h: Likewise. + * sysdeps/m68k/__longjmp.c: Likewise. + * sysdeps/m68k/fpu_control.h: Likewise. + * sysdeps/m68k/memcopy.h: Likewise. + * sysdeps/m68k/s_isinfl.c: Likewise. + * sysdeps/m68k/s_isnanl.c: Likewise. + * sysdeps/m68k/setjmp.c: Likewise. + * sysdeps/mach/_strerror.c: Likewise. + * sysdeps/mach/getsysstats.c: Likewise. + * sysdeps/mach/mprotect.c: Likewise. + * sysdeps/mach/munmap.c: Likewise. + * sysdeps/mach/pagecopy.h: Likewise. + * sysdeps/mach/start.c: Likewise. + * sysdeps/mach/sysdep.h: Likewise. + * sysdeps/mach/alpha/machine-lock.h: Likewise. + * sysdeps/mach/alpha/machine-sp.h: Likewise. + * sysdeps/mach/alpha/sysdep.h: Likewise. + * sysdeps/mach/alpha/thread_state.h: Likewise. + * sysdeps/mach/hppa/machine-lock.h: Likewise. + * sysdeps/mach/hurd/access.c: Likewise. + * sysdeps/mach/hurd/closedir.c: Likewise. + * sysdeps/mach/hurd/dirstream.h: Likewise. + * sysdeps/mach/hurd/dl-cache.c: Likewise. + * sysdeps/mach/hurd/euidaccess.c: Likewise. + * sysdeps/mach/hurd/fdatasync.c: Likewise. + * sysdeps/mach/hurd/fexecve.c: Likewise. + * sysdeps/mach/hurd/fork.c: Likewise. + * sysdeps/mach/hurd/fpathconf.c: Likewise. + * sysdeps/mach/hurd/fstatfs.c: Likewise. + * sysdeps/mach/hurd/fxstat.c: Likewise. + * sysdeps/mach/hurd/getcwd.c: Likewise. + * sysdeps/mach/hurd/getpriority.c: Likewise. + * sysdeps/mach/hurd/getrlimit.c: Likewise. + * sysdeps/mach/hurd/getsid.c: Likewise. + * sysdeps/mach/hurd/group_member.c: Likewise. + * sysdeps/mach/hurd/kill.c: Likewise. + * sysdeps/mach/hurd/lchown.c: Likewise. + * sysdeps/mach/hurd/lxstat.c: Likewise. + * sysdeps/mach/hurd/mig-reply.c: Likewise. + * sysdeps/mach/hurd/mmap.c: Likewise. + * sysdeps/mach/hurd/opendir.c: Likewise. + * sysdeps/mach/hurd/pathconf.c: Likewise. + * sysdeps/mach/hurd/profil.c: Likewise. + * sysdeps/mach/hurd/ptrace.c: Likewise. + * sysdeps/mach/hurd/readdir.c: Likewise. + * sysdeps/mach/hurd/readdir_r.c: Likewise. + * sysdeps/mach/hurd/send.c: Likewise. + * sysdeps/mach/hurd/sendto.c: Likewise. + * sysdeps/mach/hurd/setpriority.c: Likewise. + * sysdeps/mach/hurd/statfs.c: Likewise. + * sysdeps/mach/hurd/ttyname.c: Likewise. + * sysdeps/mach/hurd/uname.c: Likewise. + * sysdeps/mach/hurd/xstat.c: Likewise. + * sysdeps/mach/hurd/alpha/exc2signal.c: Likewise. + * sysdeps/mach/hurd/alpha/longjmp-ts.c: Likewise. + * sysdeps/mach/hurd/alpha/sigreturn.c: Likewise. + * sysdeps/mach/hurd/alpha/trampoline.c: Likewise. + * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise. + * sysdeps/mach/hurd/hppa/trampoline.c: Likewise. + * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise. + * sysdeps/mach/hurd/i386/exc2signal.c: Likewise. + * sysdeps/mach/hurd/i386/intr-msg.h: Likewise. + * sysdeps/mach/hurd/i386/longjmp-ts.c: Likewise. + * sysdeps/mach/hurd/i386/sigreturn.c: Likewise. + * sysdeps/mach/hurd/i386/trampoline.c: Likewise. + * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise. + * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise. + * sysdeps/mach/hurd/sys/param.h: Likewise. + * sysdeps/mach/i386/machine-lock.h: Likewise. + * sysdeps/mach/i386/machine-sp.h: Likewise. + * sysdeps/mach/i386/sysdep.h: Likewise. + * sysdeps/mach/i386/thread_state.h: Likewise. + * sysdeps/posix/dup2.c: Likewise. + * sysdeps/posix/flock.c: Likewise. + * sysdeps/posix/getdtsz.c: Likewise. + * sysdeps/posix/gettimeofday.c: Likewise. + * sysdeps/posix/isatty.c: Likewise. + * sysdeps/posix/killpg.c: Likewise. + * sysdeps/posix/mk-stdiolim.c: Likewise. + * sysdeps/posix/profil.c: Likewise. + * sysdeps/posix/remove.c: Likewise. + * sysdeps/posix/rename.c: Likewise. + * sysdeps/posix/sigsuspend.c: Likewise. + * sysdeps/posix/tempname.c: Likewise. + * sysdeps/posix/truncate.c: Likewise. + * sysdeps/posix/utimes.c: Likewise. + * sysdeps/posix/wait.c: Likewise. + * sysdeps/posix/wait3.c: Likewise. + * sysdeps/rs6000/memcopy.h: Likewise. + * sysdeps/sparc/memcopy.h: Likewise. + * sysdeps/standalone/close.c: Likewise. + * sysdeps/standalone/dirstream.h: Likewise. + * sysdeps/standalone/filedesc.h: Likewise. + * sysdeps/standalone/open.c: Likewise. + * sysdeps/standalone/read.c: Likewise. + * sysdeps/standalone/standalone.h: Likewise. + * sysdeps/standalone/write.c: Likewise. + * sysdeps/standalone/bits/stdio_lim.h: Likewise. + * sysdeps/standalone/i386/i386.h: Likewise. + * sysdeps/standalone/m68k/m68020/m68020.h: Likewise. + * sysdeps/stub/__longjmp.c: Likewise. + * sysdeps/stub/accept.c: Likewise. + * sysdeps/stub/access.c: Likewise. + * sysdeps/stub/acct.c: Likewise. + * sysdeps/stub/adjtime.c: Likewise. + * sysdeps/stub/alarm.c: Likewise. + * sysdeps/stub/bind.c: Likewise. + * sysdeps/stub/brk.c: Likewise. + * sysdeps/stub/bsd-_setjmp.c: Likewise. + * sysdeps/stub/bsd-setjmp.c: Likewise. + * sysdeps/stub/chdir.c: Likewise. + * sysdeps/stub/chflags.c: Likewise. + * sysdeps/stub/chmod.c: Likewise. + * sysdeps/stub/chown.c: Likewise. + * sysdeps/stub/chroot.c: Likewise. + * sysdeps/stub/clock.c: Likewise. + * sysdeps/stub/close.c: Likewise. + * sysdeps/stub/closedir.c: Likewise. + * sysdeps/stub/connect.c: Likewise. + * sysdeps/stub/ctermid.c: Likewise. + * sysdeps/stub/cuserid.c: Likewise. + * sysdeps/stub/dbl2mpn.c: Likewise. + * sysdeps/stub/dirstream.h: Likewise. + * sysdeps/stub/dup.c: Likewise. + * sysdeps/stub/dup2.c: Likewise. + * sysdeps/stub/exc2signal.c: Likewise. + * sysdeps/stub/execve.c: Likewise. + * sysdeps/stub/fchflags.c: Likewise. + * sysdeps/stub/fchown.c: Likewise. + * sysdeps/stub/fcntl.c: Likewise. + * sysdeps/stub/fdopen.c: Likewise. + * sysdeps/stub/fexecve.c: Likewise. + * sysdeps/stub/flock.c: Likewise. + * sysdeps/stub/fork.c: Likewise. + * sysdeps/stub/fpathconf.c: Likewise. + * sysdeps/stub/fpu_control.h: Likewise. + * sysdeps/stub/fstatfs.c: Likewise. + * sysdeps/stub/fsync.c: Likewise. + * sysdeps/stub/ftruncate.c: Likewise. + * sysdeps/stub/fxstat.c: Likewise. + * sysdeps/stub/getcwd.c: Likewise. + * sysdeps/stub/getdomain.c: Likewise. + * sysdeps/stub/getdtsz.c: Likewise. + * sysdeps/stub/getegid.c: Likewise. + * sysdeps/stub/geteuid.c: Likewise. + * sysdeps/stub/getgid.c: Likewise. + * sysdeps/stub/getgroups.c: Likewise. + * sysdeps/stub/gethostid.c: Likewise. + * sysdeps/stub/gethostname.c: Likewise. + * sysdeps/stub/getitimer.c: Likewise. + * sysdeps/stub/getpeername.c: Likewise. + * sysdeps/stub/getpgid.c: Likewise. + * sysdeps/stub/getpid.c: Likewise. + * sysdeps/stub/getppid.c: Likewise. + * sysdeps/stub/getpriority.c: Likewise. + * sysdeps/stub/getrlimit.c: Likewise. + * sysdeps/stub/getrusage.c: Likewise. + * sysdeps/stub/getsid.c: Likewise. + * sysdeps/stub/getsockname.c: Likewise. + * sysdeps/stub/getsockopt.c: Likewise. + * sysdeps/stub/getsysstats.c: Likewise. + * sysdeps/stub/gettimeofday.c: Likewise. + * sysdeps/stub/getuid.c: Likewise. + * sysdeps/stub/gtty.c: Likewise. + * sysdeps/stub/if_index.c: Likewise. + * sysdeps/stub/init-posix.c: Likewise. + * sysdeps/stub/ioctl.c: Likewise. + * sysdeps/stub/isatty.c: Likewise. + * sysdeps/stub/isfdtype.c: Likewise. + * sysdeps/stub/jmp-unwind.c: Likewise. + * sysdeps/stub/kill.c: Likewise. + * sysdeps/stub/killpg.c: Likewise. + * sysdeps/stub/ldbl2mpn.c: Likewise. + * sysdeps/stub/link.c: Likewise. + * sysdeps/stub/listen.c: Likewise. + * sysdeps/stub/lockfile.c: Likewise. + * sysdeps/stub/longjmp-ts.c: Likewise. + * sysdeps/stub/lseek.c: Likewise. + * sysdeps/stub/lxstat.c: Likewise. + * sysdeps/stub/machine-lock.h: Likewise. + * sysdeps/stub/machine-sp.h: Likewise. + * sysdeps/stub/madvise.c: Likewise. + * sysdeps/stub/mkdir.c: Likewise. + * sysdeps/stub/mkfifo.c: Likewise. + * sysdeps/stub/mmap.c: Likewise. + * sysdeps/stub/morecore.c: Likewise. + * sysdeps/stub/mpn2dbl.c: Likewise. + * sysdeps/stub/mpn2flt.c: Likewise. + * sysdeps/stub/mpn2ldbl.c: Likewise. + * sysdeps/stub/mprotect.c: Likewise. + * sysdeps/stub/msgctl.c: Likewise. + * sysdeps/stub/msgget.c: Likewise. + * sysdeps/stub/msgrcv.c: Likewise. + * sysdeps/stub/msgsnd.c: Likewise. + * sysdeps/stub/munmap.c: Likewise. + * sysdeps/stub/nanosleep.c: Likewise. + * sysdeps/stub/nice.c: Likewise. + * sysdeps/stub/nlist.c: Likewise. + * sysdeps/stub/open.c: Likewise. + * sysdeps/stub/opendir.c: Likewise. + * sysdeps/stub/pathconf.c: Likewise. + * sysdeps/stub/pause.c: Likewise. + * sysdeps/stub/pipestream.c: Likewise. + * sysdeps/stub/poll.c: Likewise. + * sysdeps/stub/profil.c: Likewise. + * sysdeps/stub/ptrace.c: Likewise. + * sysdeps/stub/putenv.c: Likewise. + * sysdeps/stub/read.c: Likewise. + * sysdeps/stub/readdir.c: Likewise. + * sysdeps/stub/readdir_r.c: Likewise. + * sysdeps/stub/readlink.c: Likewise. + * sysdeps/stub/reboot.c: Likewise. + * sysdeps/stub/recv.c: Likewise. + * sysdeps/stub/recvfrom.c: Likewise. + * sysdeps/stub/recvmsg.c: Likewise. + * sysdeps/stub/remove.c: Likewise. + * sysdeps/stub/rename.c: Likewise. + * sysdeps/stub/revoke.c: Likewise. + * sysdeps/stub/rewinddir.c: Likewise. + * sysdeps/stub/rmdir.c: Likewise. + * sysdeps/stub/sbrk.c: Likewise. + * sysdeps/stub/sched_getp.c: Likewise. + * sysdeps/stub/sched_gets.c: Likewise. + * sysdeps/stub/sched_primax.c: Likewise. + * sysdeps/stub/sched_primin.c: Likewise. + * sysdeps/stub/sched_rr_gi.c: Likewise. + * sysdeps/stub/sched_setp.c: Likewise. + * sysdeps/stub/sched_sets.c: Likewise. + * sysdeps/stub/sched_yield.c: Likewise. + * sysdeps/stub/seekdir.c: Likewise. + * sysdeps/stub/select.c: Likewise. + * sysdeps/stub/semctl.c: Likewise. + * sysdeps/stub/semget.c: Likewise. + * sysdeps/stub/semop.c: Likewise. + * sysdeps/stub/send.c: Likewise. + * sysdeps/stub/sendmsg.c: Likewise. + * sysdeps/stub/sendto.c: Likewise. + * sysdeps/stub/setdomain.c: Likewise. + * sysdeps/stub/setegid.c: Likewise. + * sysdeps/stub/setenv.c: Likewise. + * sysdeps/stub/seteuid.c: Likewise. + * sysdeps/stub/setgid.c: Likewise. + * sysdeps/stub/setgroups.c: Likewise. + * sysdeps/stub/sethostid.c: Likewise. + * sysdeps/stub/sethostname.c: Likewise. + * sysdeps/stub/setjmp.c: Likewise. + * sysdeps/stub/setlogin.c: Likewise. + * sysdeps/stub/setpgid.c: Likewise. + * sysdeps/stub/setpriority.c: Likewise. + * sysdeps/stub/setregid.c: Likewise. + * sysdeps/stub/setreuid.c: Likewise. + * sysdeps/stub/setrlimit.c: Likewise. + * sysdeps/stub/setsid.c: Likewise. + * sysdeps/stub/setsockopt.c: Likewise. + * sysdeps/stub/settimeofday.c: Likewise. + * sysdeps/stub/setuid.c: Likewise. + * sysdeps/stub/shmctl.c: Likewise. + * sysdeps/stub/shmget.c: Likewise. + * sysdeps/stub/shutdown.c: Likewise. + * sysdeps/stub/sigaction.c: Likewise. + * sysdeps/stub/sigaltstack.c: Likewise. + * sysdeps/stub/sigblock.c: Likewise. + * sysdeps/stub/sigintr.c: Likewise. + * sysdeps/stub/sigpending.c: Likewise. + * sysdeps/stub/sigprocmask.c: Likewise. + * sysdeps/stub/sigreturn.c: Likewise. + * sysdeps/stub/sigsetmask.c: Likewise. + * sysdeps/stub/sigstack.c: Likewise. + * sysdeps/stub/sigsuspend.c: Likewise. + * sysdeps/stub/sigvec.c: Likewise. + * sysdeps/stub/socket.c: Likewise. + * sysdeps/stub/socketpair.c: Likewise. + * sysdeps/stub/sstk.c: Likewise. + * sysdeps/stub/statfs.c: Likewise. + * sysdeps/stub/stdio_init.c: Likewise. + * sysdeps/stub/stime.c: Likewise. + * sysdeps/stub/stty.c: Likewise. + * sysdeps/stub/swapoff.c: Likewise. + * sysdeps/stub/swapon.c: Likewise. + * sysdeps/stub/symlink.c: Likewise. + * sysdeps/stub/sync.c: Likewise. + * sysdeps/stub/syscall.c: Likewise. + * sysdeps/stub/sysd-stdio.c: Likewise. + * sysdeps/stub/system.c: Likewise. + * sysdeps/stub/tcdrain.c: Likewise. + * sysdeps/stub/tcflow.c: Likewise. + * sysdeps/stub/tcflush.c: Likewise. + * sysdeps/stub/tcgetattr.c: Likewise. + * sysdeps/stub/tcgetpgrp.c: Likewise. + * sysdeps/stub/tcsendbrk.c: Likewise. + * sysdeps/stub/tcsetpgrp.c: Likewise. + * sysdeps/stub/telldir.c: Likewise. + * sysdeps/stub/thread_state.h: Likewise. + * sysdeps/stub/time.c: Likewise. + * sysdeps/stub/times.c: Likewise. + * sysdeps/stub/trampoline.c: Likewise. + * sysdeps/stub/truncate.c: Likewise. + * sysdeps/stub/ttyname.c: Likewise. + * sysdeps/stub/ttyname_r.c: Likewise. + * sysdeps/stub/ualarm.c: Likewise. + * sysdeps/stub/ulimit.c: Likewise. + * sysdeps/stub/umask.c: Likewise. + * sysdeps/stub/unlink.c: Likewise. + * sysdeps/stub/usleep.c: Likewise. + * sysdeps/stub/ustat.c: Likewise. + * sysdeps/stub/utime.c: Likewise. + * sysdeps/stub/utimes.c: Likewise. + * sysdeps/stub/vdprintf.c: Likewise. + * sysdeps/stub/vhangup.c: Likewise. + * sysdeps/stub/wait.c: Likewise. + * sysdeps/stub/wait3.c: Likewise. + * sysdeps/stub/wait4.c: Likewise. + * sysdeps/stub/waitpid.c: Likewise. + * sysdeps/stub/write.c: Likewise. + * sysdeps/stub/xmknod.c: Likewise. + * sysdeps/stub/xstat.c: Likewise. + * sysdeps/stub/bits/errno.h: Likewise. + * sysdeps/stub/bits/sigcontext.h: Likewise. + * sysdeps/unix/fxstat.c: Likewise. + * sysdeps/unix/mk-local_lim.c: Likewise. + * sysdeps/unix/mkdir.c: Likewise. + * sysdeps/unix/nice.c: Likewise. + * sysdeps/unix/rmdir.c: Likewise. + * sysdeps/unix/stime.c: Likewise. + * sysdeps/unix/telldir.c: Likewise. + * sysdeps/unix/xstat.c: Likewise. + * sysdeps/unix/arm/sysdep.h: Likewise. + * sysdeps/unix/bsd/ftime.c: Likewise. + * sysdeps/unix/bsd/isatty.c: Likewise. + * sysdeps/unix/bsd/setegid.c: Likewise. + * sysdeps/unix/bsd/seteuid.c: Likewise. + * sysdeps/unix/bsd/setsid.c: Likewise. + * sysdeps/unix/bsd/sigaction.c: Likewise. + * sysdeps/unix/bsd/sigprocmask.c: Likewise. + * sysdeps/unix/bsd/tcgetattr.c: Likewise. + * sysdeps/unix/bsd/tcsetattr.c: Likewise. + * sysdeps/unix/bsd/times.c: Likewise. + * sysdeps/unix/bsd/ulimit.c: Likewise. + * sysdeps/unix/bsd/bits/dirent.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise. + * sysdeps/unix/bsd/bsd4.4/wait.c: Likewise. + * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise. + * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise. + * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise. + * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise. + * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise. + * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise. + * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise. + * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise. + * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise. + * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise. + * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise. + * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise. + * sysdeps/unix/bsd/ultrix4/bits/posix_opt.h: Likewise. + * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise. + * sysdeps/unix/bsd/vax/sysdep.h: Likewise. + * sysdeps/unix/common/lxstat.c: Likewise. + * sysdeps/unix/common/tcsendbrk.c: Likewise. + * sysdeps/unix/common/bits/dirent.h: Likewise. + * sysdeps/unix/i386/sysdep.h: Likewise. + * sysdeps/unix/mips/sysdep.h: Likewise. + * sysdeps/unix/sysv/setrlimit.c: Likewise. + * sysdeps/unix/sysv/settimeofday.c: Likewise. + * sysdeps/unix/sysv/sigaction.c: Likewise. + * sysdeps/unix/sysv/sysv_termio.h: Likewise. + * sysdeps/unix/sysv/tcdrain.c: Likewise. + * sysdeps/unix/sysv/tcflow.c: Likewise. + * sysdeps/unix/sysv/tcflush.c: Likewise. + * sysdeps/unix/sysv/tcgetattr.c: Likewise. + * sysdeps/unix/sysv/tcsendbrk.c: Likewise. + * sysdeps/unix/sysv/tcsetattr.c: Likewise. + * sysdeps/unix/sysv/bits/dirent.h: Likewise. + * sysdeps/unix/sysv/irix4/getpriority.c: Likewise. + * sysdeps/unix/sysv/irix4/setpriority.c: Likewise. + * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise. + * sysdeps/unix/sysv/linux/adjtime.c: Likewise. + * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise. + * sysdeps/unix/sysv/linux/gethostname.c: Likewise. + * sysdeps/unix/sysv/linux/if_index.c: Likewise. + * sysdeps/unix/sysv/linux/ptrace.c: Likewise. + * sysdeps/unix/sysv/linux/reboot.c: Likewise. + * sysdeps/unix/sysv/linux/speed.c: Likewise. + * sysdeps/unix/sysv/linux/sysctl.c: Likewise. + * sysdeps/unix/sysv/linux/tcdrain.c: Likewise. + * sysdeps/unix/sysv/linux/ulimit.c: Likewise. + * sysdeps/unix/sysv/linux/waitpid.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Likewise. + * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. + * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise. + * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/sysv4/sigaction.c: Likewise. + * sysdeps/unix/sysv/sysv4/siginfo.h: Likewise. + * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise. + * sysdeps/unix/sysv/sysv4/sysconfig.h: Likewise. + * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise. + * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise. + * sysdeps/vax/fl.h: Likewise. + * sysdeps/vax/setjmp.c: Likewise. + +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. + +1997-06-17 17:19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * elf/ldd.bash.in: Fix spacing in message. + +1997-06-17 14:28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * elf/do-rel.h (elf_dynamic_do_rel): Always use version + information if available. + +1997-06-17 11:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sunrpc/Makefile ($(rpcsvc:%.x=$(objpfx)rpcsvc/%.h)): Make + command non-empty to force make to recheck modification time. + ($(rpcsvc:%.x=$(objpfx)x%.c)): Likewise. + +1997-06-17 00:26 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. + + * manual/Makefile (dir-add.texi): Also look in indirectly included + files. + +1997-06-16 23:15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * 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. + + * 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. + +1997-06-14 19:19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/unix/sysv/linux/arm/Dist: New file. + +1997-06-14 17:59 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * 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. + +1997-06-16 03:07 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/libm-ieee754/k_standard.c: Undo change of Tue Aug 6 + 01:13:56 1996. + +1997-06-16 00:54 Ulrich Drepper <drepper@cygnus.com> + + * libc.map: Add more symbols. + + * Makerules (load-map-file): Currectly handle missing map file. + +1997-06-15 17:00 Philip Blundell <Philip.Blundell@pobox.com> + + * configure.in: Correct detection of generic uname implementation. + +1997-06-15 23:19 Ulrich Drepper <drepper@cygnus.com> + + * math/libm-test.c: Fix typos. Patch by Andreas Jaeger. + + * libc.map: Add __nss_configure_lookup. Reported by Thorsten Kukuk. + +1997-06-15 00:43 Ulrich Drepper <drepper@cygnus.com> + + * Makeconfig: Define libc-map here. + * Makefile: And remove definition here. + * Makerules (load-map-file): Handle case where map file is in + other directory. + (build-shlib): Likewise. + + * libc.map: Add more symbols. + * resolv/libresolv.map: Likewise. + + * db/libdb.map: Add __dbopen. Patch by HJ Lu. + + * libio/stdio.h: Remove "optmizations" for vfscanf and vsscanf. + + * locale/programs/localedef.c: Add normalize_codeset function. We + don't want to use the _nl_normalize_codeset functions from libc. + + * 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. + +1997-06-14 12:45 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + + * nis/nss_nis/nis-ethers.c: Add static to internal_nis_setetherent. + + * nis/nss_nis/nis-proto.c: Add static to internal_nis_setprotoent. + + * nis/nss_nisplus/nisplus-hosts.c: Rewrite parser and fix + _nss_nisplus_gethostbyaddr_r interface. + + * nis/libnsl.map: Add all GLOBAL functions. + +1997-06-13 18:32 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * libm-test.c (main): Call new tests, reorder tests. + (fmod_test): Test function fmod. + (nearbyint_test): Test function nearbyint. + (acos_test): Add more test cases. + (signbit_test): Test macro signbit. + (output_result_bool): Output result if test fails. + (asin_test): Add another test case. + (atan2_test): Add more tests. + (asinh_test): Add more tests. + (atanh_test): Add more tests. + (hypot_test): Add more tests. + (isfinite_test): Test macro isfinite. + (isnormal_test): Test macro isnormal. + (sincos_test): Tests for sincos. + (main): Enable remquo_test since the tests are + correct (according to ANSI/IEEE 754-1985). + (remquo_test): Corrected tests cases and added more tests. + (remainder_test): Tests for remainder. + (check_int): New Function to compare int values. + (check_isnan_exc_ext): New function. + (sqrt_test): Add some extra tests for sqrt. + (erf_test): Tests for erf. + (erfc_test): Tests for erfc. + (gamma_test): Tests for gamma. + (lgamma_test): Tests for lgamma. + +1997-06-08 10:54 H.J. Lu <hjl@gnu.ai.mit.edu> + + * 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. + +1997-06-14 17:32 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * math/libm.map: Add inline functions, global variables. + +1997-06-14 00:39 Ulrich Drepper <drepper@cygnus.com> + + * libc.map: Add more libio functions which are used in libio.h. + + * login/Makefile (libutil-routines): Move updwtmp to ... + (routines): ...here. + Suggested by Mark Kettenis <kettenis@phys.uva.nl>. + + * sysdeps/stub/s_erfl.c: Add stub definition of erfcl. + Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>. + +1997-06-13 21:10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + + * nis/nis_add.c (nis_add): Create object name only if not set. + + * nis/nis_clone.c: Use calloc instead of malloc to prevent + RPC encode errors. + + * 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. + +1997-06-13 14:17 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + + * 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. + +1997-06-13 12:19 Ulrich Drepper <drepper@cygnus.com> + + * elf/rtld.c: Print version information if LD_TRACE_LOADED_OBJECT + and LD_VERBOSE are given. + + * elf/ldd.sh.in: Add -v|--verbose option. Add author information + as per Coding Standard. + * elf/ldd.bash.in: Likewise. + +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. + +1997-06-12 03:08 Philip Blundell <Philip.Blundell@pobox.com> + + * nss/getXXbyYY_r.c (do_weak_alias): Remove extra parentheses. + +1997-06-11 13:22 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>. + +1997-06-11 10:47 Philip Blundell <Philip.Blundell@pobox.com> + + * sysdeps/unix/sysv/linux/net/if_arp.h: Add two new hardware types. + +1997-06-10 11:31 H.J. Lu <hjl@gnu.ai.mit.edu> + + * sysdeps/powerpc/strlen.s: Use -0x101 instead of 0xfffffeff + for a signed 16-bit value. + +1997-06-07 07:54 H.J. Lu <hjl@gnu.ai.mit.edu> + + * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c + (_dl_sysdep_read_whole_file): Deleted. + + * sysdeps/powerpc/fenvbits.h (__FE_ALL_INVALID): Changed + to FE_ALL_INVALID. + + * sysdeps/powerpc/fraiseexcpt.c (__FE_INVALID_SOFTWARE): + Changed to FE_INVALID_SOFTWARE. + (__FPSCR_STICKY_BITS): Changed to FPSCR_STICKY_BITS. + + * sysdeps/libm-ieee754/s_fmin.c: Fix a typo. + +1997-06-07 18:48 H.J. Lu <hjl@gnu.ai.mit.edu> + + * shlib-versions (.*-.*-linux.*): Set libc to 6. + +1997-06-08 15:35 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + + * nis/nis_add.c (nis_add): Use nis_leaf_of_r instead of nis_name_of_r. + + * 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. + + * nis/nss_nis/nis-hosts.c: Use addr, not p for inet_pton call. + * nis/nss_nisplus/nisplus-hosts.c: Likewise. + + * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Check for + group == NULL. + +1997-06-08 21:21 Mark Kettenis <kettenis@phys.uva.nl> + + * 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. + + * login/programs/utmpd.c: Define DEFAULT_USER. + (drop_priviliges): Use it. + (main): Set locale and text domain. + + * 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. + + * 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. + +1997-06-05 23:10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * 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. + +1997-06-04 19:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * stdlib/testsort.c (compare): Fix parameter types. + +1997-06-04 19:05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * md5-crypt/Makefile (distribute): Fix name of file. + +1997-06-04 19:02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * login/Makefile (utmpd-routines): Remove utmpd again, which is + already added implicitly through $(others). + +1997-06-05 13:43 Fila Kolodny <fila@filapc.ibi.com> + + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add netipx/ipx.h. + +1997-06-05 13:25 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * md5-crypt/md5-crypt.c: Add prototype for __md5_crypt. + +1997-06-05 17:08 Ulrich Drepper <drepper@cygnus.com> + + * string/argz-addsep.c: Correct weak alias. + Reported by Ben Pfaff <pfaffben@pilot.msu.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>. + +1997-06-04 12:41 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * manual/intro.texi (XPG): Correct some typos. + +1997-06-04 05:09 Miles Bader <miles@gnu.ai.mit.edu> + + * argp/argp-help.c (_help): Use uparams.usage_indent instead of + the USAGE_INDENT macro. + + * manual/summary.awk: Strip trailing commas from node-names. + + * manual/.cvsignore: Ignore chapters-incl[12] rather than + chapters-incl. + + * manual/Makefile (%.c.texi): Deal with multiple @-commands on a + single line. + + * manual/string.texi (Argz Functions, Envz Functions): Add magic + comments for generating summary.texi. + +1997-06-02 22:18 Miles Bader <miles@gnu.ai.mit.edu> + + * 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. + +1997-06-01 15:01 Miles Bader <miles@gnu.ai.mit.edu> + + * 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. + +1997-06-04 20:57 Ulrich Drepper <drepper@cygnus.com> + + * manual/string.texi: Add comments to discourage use of index and + rindex. + (strtok, strsep): Apply function on copy of the strings in example. + (l64a): Add example. + + * posix/unistd.h: Correct value for _POSIX_VERSION. + + * sunrpc/Makefile (defines): Remove definition. + + * sysdeps/ieee754/nan.h: Correct typo. + +1997-06-04 10:50 Fila Kolodny <fila@ibi.com> + + * posix/unistd.h: Add definition of __fchdir corresponding to fchdir. + + * login/utmp_daemon.c: Correct location of utmpd.h. + +1997-06-03 19:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * Makerules: Rename $(common-objpfx)distinfo-$(subdir) to + $(objpfx)distinfo. + * rpm/Makefile (distinfo): Adapted. + +1997-06-03 18:32 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. + +1997-06-03 18:23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * login/Makefile (libutil-routines): Add updwtmp. + +1997-06-03 16:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * monetary.h: New file, needed for localedata/tst-fmon.c. + +1997-06-02 20:31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * 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. + + * 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. + + * sysdeps/m68k/nan.h: New file. + + * sysdeps/m68k/fpu/__math.h (isgreater, isgreaterequal, isless, + islessequal, islessgreater, isunordered): Fix assembler syntax. + + * sysdeps/m68k/fpu/fraiseexcpt.c: Do it right so that gcc doesn't + optimize out the operations. + + * 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. + + * 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. + +1997-06-03 23:42 Ulrich Drepper <drepper@cygnus.com> + + * elf/dl-support.c: Define and initialize _dl_verbose used in + dl-machine.h. + + * io/ftw.c: Expand stat/lstat calls. + + * manual/intro.texi: Also refer to ISO 9945. + Update info about SVID. + Add description for XPG. + + * md5-crypt/md5-crypt.c: Namespace cleanups. + * md5-crypt/md5.c: Likewise. + * md5-crypt/md5.h: Likewise. + * sysdeps/generic/crypt-entry.c: Likewise. + + * posix/unistd.h (_POSIX2_C_VERSION): Set to 199209L. + + * stdlib/fmtmsg.h: Declare addseverity only if __USE_SVID is + defined. + + * sunrpc/rpc_scan.c (findkind): Declare `token' as const. + * sunrpc/rpc_util.c (toktostr): Declare `token' as const. + + * time/Makefile: Make tzselect depend on config.make. + +1997-06-01 15:01 Miles Bader <miles@gnu.ai.mit.edu> + + * 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. + +1997-05-31 20:59 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * login/Makefile (utmpd-routines): Add utmpd. + (extra-objs): Add utmpd objects to get dependencies. + (distribute): Add sources for utmpd. + (subdir-dirs): Define. + +1997-06-02 16:28 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/wordsize-32/inttypes.h: Include features.h and use + __CONCAT instead of defined __CONCAT__ ourself. + * sysdeps/wordsize-64/inttypes.h: Likewise. + +1997-06-01 19:11 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. + +1997-06-02 04:23 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/syscalls.list: Make fchdir weak alias for __fchdir. + +1997-06-01 19:17 Ulrich Drepper <drepper@cygnus.com> + + * 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. + +1997-06-01 12:48 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/sysv/linux/alpha/gnu/types.h (__fd_mask): Change + type to `unsigned long int'. + Patch by Richard Henderson <richard@twiddle.rth.home>. + +1997-05-30 17:34 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * sysdeps/generic/bb_init_func.c (__bb_init_func): Use ISO C + declaration style. + + * nss/nss_files/files-hosts.c: Delete inclusion of + "../resolv/mapv4v6hostent.h". + +1997-05-31 02:33 Ulrich Drepper <drepper@cygnus.com> + + * io/ftwtest-sh: More tests. + + * misc/tsearch.c: Rewrite tdestroy_recursive. + + * libio/libio.h: Define bits for libg++-2.8. + +1997-05-30 22:21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + + * 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. + +1997-05-30 09:50 Richard Henderson <rth@tamu.edu> + + * 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. + + * 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>. + + * sunrpc/clnt_udp.c (clntudp_call): Make fromlen a size_t to fix + parameters to network functions. + * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise. + * sunrpc/svc_tcp.c (svctcp_create): Likewise with `len'. + (rendezvous_request): Likewise. + * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise. + (svcudp_recv): Similar, but go through a local variable. The old code + used &xprt->xp_addrlen. Someone should determine if the type of the + structure member should be changed instead. + * sunrpc/xdr_rec.c (xdrrec_create): Expunge a ptr->int cast warning + and transform a nonsense for-loop to a closed form calculation. + (fill_input_buf): Another ptr->int warning. + + * sysdeps/alpha/Makefile: Temporarily turn on -mieee globally. This + will last until I figure out how to build a parallel libm_ieee. + + * sysdeps/alpha/fpu/fclrexcpt.c, + * sysdeps/alpha/fpu/fegetenv.c, + * sysdeps/alpha/fpu/fegetround.c, + * sysdeps/alpha/fpu/feholdexcpt.c, + * sysdeps/alpha/fpu/fenvbits.h, + * sysdeps/alpha/fpu/fesetenv.c, + * sysdeps/alpha/fpu/fesetround.c, + * sysdeps/alpha/fpu/feupdateenv.c, + * sysdeps/alpha/fpu/fgetexcptflg.c, + * sysdeps/alpha/fpu/fraiseexcpt.c, + * sysdeps/alpha/fpu/fsetexcptflg.c, + * sysdeps/alpha/fpu/ftestexcept.c: New files. There is, btw, a small + kernel patch that must be applied as of 2.0.31-pre1 and 2.1.41 for + this to work properly. + + * sysdeps/alpha/fpu/fpu_control.h: Update copyright. Change default + FP mode to round to nearest, no exceptions as for Intel. + * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Add copyright. + (rdfpcr): Use excb rather than trapb. Be more efficient about + getting at the fpcr. + (wrfpcr): Likewise. + (__setfpucw): Reformat. + + * sysdeps/ieee754/huge_val.h: Change GCC's HUGE_VAL definition to use + a single DI-mode integer instead of bytes. This produces better code + on Alpha. Similar for HUGE_VALF. + * sysdeps/ieee754/nan.h: Similar for NAN. Add NANF and NANL. + + * sysdeps/libm-ieee754/s_log2.c: Missing */ and weak_alias. + + * sysdeps/unix/alpha/sysdep.S: Tiny cleanups. + * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/brk.S: Don't use jmp macro to make + sure the stack frame is released the very instruction before the + real jump out. + * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. + + * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Undef some bits we may + have gotten from <linux/posix_types.h>. + + * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add definition for Miata. + +1997-05-30 13:05 Ulrich Drepper <drepper@cygnus.com> + + * misc/tst-tsearch.c (mangle_tree): Update casts to prevent + warnings. + +1997-05-29 14:02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/unix/sysv/linux/sys/ttydefaults.h (CEOL, CSTATUS): Use + correct value for _POSIX_VDISABLE. + +1997-05-29 13:59 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * Makefile (manual/dir-add.texi): Force execution. + +1997-05-29 13:57 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysexits.h: New file. + +1997-05-29 13:55 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * stdlib/strfmon.c: Don't run past EOS after `='. + +1997-05-29 12:48 Ulrich Drepper <drepper@cygnus.com> + + * io/ftw.c: Complete rewrite. Add implementation of `nftw'. + * io/ftw.h: Update for new implementation and XPG4.2. + * io/Makefile (test-srcs): Add ftwtest. + (distribute): Add ftwtest-sh. + (tests): Call ftwtest-sh for this goal. + * io/ftwtest-sh: New file. Sets up test environment, calls test + program and compares the result. + * io/ftwtest.c: Test program for ftw. + + * misc/search.h: Add comments. Declare tdestroy. + * misc/tsearch.c (tdestroy): New function. + + * login/Makefile: Update for UTMP daemon implementation. + + Update resolver code to bind-4.9.6-T1A. + * resolv/Banner: Update. + * nss/digits_dots.c: Adapt text address matching to T1A. + * nss/nss_files/files-hosts.c: Always use inet_pton. + * resolv/base64.c (b64_pton): Follow T1A but don't use this code since + it would lead to warnings. + * resolv/gethnamaddr.c (getanswer): Test host name for maximal length + at several places. + * resolv/inet_net_pton.c (inet_net_pton_ipv4): Correct typo in comment. + * resolv/res_comp.c (dn_expand): Check for overflow. + (dn_comp): Likewise. + * resolv/res_debug.c (precsize_aton): Better implementation. + * resolv/res_init.c (res_init): Make `buf' of size MAXDNAME. + * resolv/res_send.c (res_send): Check for overflow in descriptor set. + * resolv/nss_dns/dns-host.c (getanswer_r): Test host name for maximal + length at several places. + +1997-05-29 12:51 Mark Kettenis <kettenis@phys.uva.nl> + + * login/utmp-private.h (struct utfuncs): Add one more parameter + to updwtmp function. + Declare all three function jump tables. + * login/utmp.h: Declare __utmpname. + * login/getutent_r.c: Remove db backend and provide support for + utmpd backend. + * login/login.c: Use `updwtmp' function insteead of writing the + record ourself. + * login/logwtmp.c: Move `updwtmp' function to... + * login/updwtmp.c: ...here. New file. + * login/utmp_db.h: Removed. + * login/utmp_file.c: Add updwtmp function to write to file. + * login/utmp_daemon.c: New file. Daemon backend. + * login/utmpname.c: New file. Implementation of utmpname function. + * login/utmpdump.c: New file. Tool to dump utmp-like files. + * login/utmpd/connection.c: New file. + * login/utmpd/database.c: New file. + * login/utmpd/error.c: New file. + * login/utmpd/request.c: New file. + * login/utmpd/utmpd-private.h: New file. + * login/utmpd/utmpd.c: New file. + * login/utmpd/utmpd.h: New file. + * login/utmpd/xtmp.c: New file. + * login/utmpd/xtmp.h: New file. + +1997-05-29 12:28 Jim Meyering <meyering@eng.ascend.com> + + * time/strftime.c: Correct/normalize indentation in cpp directives. + +1997-05-28 20:43 Philip Blundell <pjb27@cam.ac.uk> + + * nis/nis_error.c: Include <string.h> to fix warning. + * nis/nis_print.c: Likewise. + * nis/nss_nisplus/nisplus-hosts.c: Arg 3 of map_v4v6_hostent + is int* not size_t*. + +1997-05-28 21:56 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * math/cmathcalls.h: Correct typo in comment. + + * inet/netinet/icmp6.h: Include <netinet/in.h> for in6_addr. + + * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Include <net/if.h> for + IFNAMSIZ. + + * sysdeps/unix/sysv/linux/net/ppp_defs.h: Include <time.h> for + time_t. + + * login/pty.h: Include <ioctl-types.h> for definition of struct + winsize. + + * misc/regexp.h (compile): Correct typo. + + * argp/argp.h: Put extern before __const in defintion of + argp_program_bug_address. + +1997-05-29 00:20 Ulrich Drepper <drepper@cygnus.com> + + * 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>. + +1997-05-28 22:51 Ulrich Drepper <drepper@cygnus.com> + + * 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>. + + * 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>. + +1997-05-28 18:19 Philip Blundell <pjb27@cam.ac.uk> + + * posix/execl.c: Include <alloca.h> to avoid warning. + +1997-05-27 18:19 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * math/libm-test.c: Implement testing of inlined functions, make + output nicer, update comments. + + * 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. + + * math/test-longdouble.c: Rename to... + * math/test-ldouble.c: ...this. + + * math/Makefile: Add rules for new test programs, change rules for + renaming of longdouble test. + +1997-05-20 15:50 H.J. Lu <hjl@gnu.ai.mit.edu> + + * sunrpc/rpc/svc.h (__dispatch_fn_t): New. + (svc_register): Use __dispatch_fn_t in prototype. + +1997-05-28 17:02 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/generic/bzero.c (bzero): Fix typo. + Patch by Witek Wnuk <spider@pest.waw.ids.edu.pl>. + +1997-05-27 12:00 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * sysdeps/generic/vtimes.c: Use ISO C declaration style. + + * sysdeps/unix/bsd/ualarm.c: Include <unistd.h> for prototype. + + * sysdeps/generic/memccpy.c: Include <string.h> for prototype. + + * signal/tst-signal.c (handler): Correct function declaration to + avoid warning. + * stdlib/testsort.c (compare): Likewise. + * string/tester.c: Likewise. + +1997-05-27 14:16 Miles Bader <miles@gnu.ai.mit.edu> + + * argp/argp-help.c (argp_args_usage): Supply correct argp to + filter_doc. + +1997-05-27 17:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * 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. + +1997-05-27 14:47 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/m68k/fpu/e_atan2.c: Fix missing negate. Use __m81_test + instead of explicit comparisons. + +1997-05-26 18:36 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * 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. + +1997-05-25 21:57 Miles Bader <miles@gnu.ai.mit.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. + + * 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. + +1997-05-26 14:17 Ulrich Drepper <drepper@cygnus.com> + + * manual/main.texi: Clarify situation for other not supported ports. + Proposed by Andreas Jaeger <aj@arthur.rhein-neckar.de>. + We recommend binutils 2.8. + +1997-05-26 12:17 Ulrich Drepper <drepper@cygnus.com> + + * netinet/in.h: New file. Wrapper around inet/netinet/in.h. + +1997-05-25 09:51 H.J. Lu <hjl@gnu.ai.mit.edu> + + * sysdeps/i386/elf/start.S: Change local label "nofini" + to ".Lnofini". + + * sysdeps/i386/i386-mcount.S: Use GOT, instead of GOTOFF. + +1997-05-24 17:45 H.J. Lu <hjl@gnu.ai.mit.edu> + + * gmon/gmon.c (_mcleanup): Free tostruct array allocated in monstartup. + +1997-05-25 03:00 Ulrich Drepper <drepper@cygnus.com> + + * 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. + + * 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>. + + * 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>. + +1997-05-25 00:44 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/i386/fpu/__math.h (logb): Fix thinko, reverse output + values. + Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>. + +1997-05-24 21:03 Philip Blundell <pjb27@cam.ac.uk> + + * db/btree/bt_open.c (__bt_open): Only try to use st_blksize (from + struct stat) if it exists for this port. + +1997-05-24 20:34 Philip Blundell <pjb27@cam.ac.uk> + + * sysdeps/standalone/arm/errnos.h: Add EPERM. + +1997-05-23 16:28 Philip Blundell <phil@kings-cross.london.uk.eu.org> + + * linewrap.h: New file, needed to compile argp without libio. + +1997-05-24 11:59 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * manual/stdio.texi (Formatted Messages): Corrected some typos. + +1997-05-24 11:58 Philip Blundell <pjb27@cam.ac.uk> + + * sysdeps/stub/start.c: Fix typo. + +1997-05-21 17:53 Miles Bader <miles@gnu.ai.mit.edu> + + * argp/argp-help.c (hol_add_cluster): Initialize CL->depth. + +1997-05-24 03:51 Ulrich Drepper <drepper@cygnus.com> + + * 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. + + * 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. + + * po/sv.po: Update. + + * resolv/nss_dns/dns-host.c: Add casts to prevent warnings. + * sunrpc/pmap_rmt.c: Likewise. + + * string/basename.c: Don't use ISO C definition style. + Include <config.h> if HAVE_CONFIG_H is defined. + + * sunrpc/proto.h: Add `const' wherever possible. + * sunrpc/rpc_cout.c: Likewise. + * sunrpc/rpc_svcout.c: Likewise. + * sunrpc/xdr_mem.c: Likewise. + * sunrpc/xdr_rec.c: Likewise. + * sunrpc/xdr_stdio.c: Likewise. + * sunrpc/rpc_parse.c: Delete comma from end of enum definition. + * sunrpc/xdr.c: Little code cleanups. + * sunrpc/xdr_float.c: Likewise. + Patches by Matthew Wilcox <matthew.wilcox@chbs.mhs.ciba.com>. + + * sysdeps/i386/fpu/__math.h (__finite): Fix typo. + + * sysdeps/unix/sysv/linux/shmdt.c: Add cast to prevent warning. + + * time/europe: Update from tzdata1997f. + * time/zic.c: Update from tzcode1997e. + +1997-05-20 19:20 Miguel de Icaza <miguel@athena.nuclecu.unam.mx> + + * sysdeps/sparc/setjmp.S: Flush windows. + Bug found by Richard Henderson. + +1997-05-19 12:54 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * misc/efgcvt_r.c (fcvt_r, ecvt_r): Rewritten as to fit the specs. + +1997-05-19 18:41 Thorsten Kukuk <kukuk@uni-paderborn.de> + + * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent): Use + atol instead of atoi. + +1997-05-18 00:22 Philip Blundell <pjb27@cam.ac.uk> + + * 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. + +1997-05-17 23:29 Philip Blundell <pjb27@cam.ac.uk> + + * sysdeps/unix/sysv/linux/netinet/in.h: Update IPv6 definitions + for new advanced API draft. + +1997-05-13 21:33 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * stdio-common/printf_fp.c: Only use the field width for deciding + on padding when printing special values. + * stdio-common/printf_fphex.c: Likewise. + +1997-05-15 13:14 Miles Bader <miles@gnu.ai.mit.edu> + + Changes by Thomas Bushnell <thomas@gnu.ai.mit.edu>: + * hurd/hurdauth.c (_S_msg_add_auth): Implement correctly. + +1997-05-12 14:50 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + + * hurd/hurdsig.c (_hurdsig_init): Double size of sigthread stack; + msg_add_auth was overflowing it. + +1997-05-12 21:20 Richard Henderson <rth@tamu.edu> + + * elf/dl-lookup.c (_dl_lookup_symbol_skip): Call _dl_signal_error + when we can't find the symbol. + +1997-05-12 16:54 Ulrich Drepper <drepper@cygnus.com> + + * posix/regex.c: Fix handling of 32-bit Windog environments. + Patch by Arnold Robbins <arnold@skeeve.atl.ga.us>. + +1997-05-10 23:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add cacheflush. + +1997-05-10 11:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * elf/ldd.bash.in: Remove spurious quote character from version + message. + +1997-05-10 08:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * locale/programs/locale.c (write_charmaps): Don't get stuck in a + loop if the file ends in a long line without newline. + * locale/programs/charmap.c (charmap_read): Likewise. + +1997-05-12 03:47 Ulrich Drepper <drepper@cygnus.com> + + * sunrpc/rpc/xdr.h: Include more headers to be self-contained. + * sunrpc/rpc/svc_auth.h: Likewise. + * sunrpc/rpc/svc.h: Likewise. + * sunrpc/rpc/rpc_msg.h: Likewise. + * sunrpc/rpc/pmap_rmt.h: Likewise. + * sunrpc/rpc/pmap_clnt.h: Likewise. + * sunrpc/rpc/clnt.h: Likewise. + * sunrpc/rpc/auth_unix.h: Likewise. + * sysdeps/generic/rpc/auth.h: Likewise. + Patches by Michael Deutschmann <ldeutsch@mail.netshop.net>. + +1997-05-11 15:29 Philip Blundell <pjb27@cam.ac.uk> + + * sysdeps/stub/sigaction.c (__sigaction): Correct typo. + * sysdeps/standalone/arm/errnos.h: New file. + * sysdeps/stub/sys/param.h: Add dummy definition of MAXSYMLINKS. + * sysdeps/unix/arm/fork.S: New file. + * sysdeps/unix/sysv/linux/arm/sysdep.h: New file. + * sysdeps/stub/tempname.c (__stdio_gen_tempname): Add missing + `streamptr' argument. + * sysdeps/stub/vdprintf.c: Remove second copy of file (!), include + <stdarg.h> to get va_list defined, return 0 not NULL. + * sysdeps/unix/sysv/linux/statfsbuf.h: Include <gnu/types.h>. + * sysdeps/unix/sysv/linux/arm/syscall.S: New file. + * sysdeps/stub/direntry.h (struct dirent): Add missing ';'. + * sysdeps/stub/seekdir.c (seekdir): Likewise. + * sysdeps/stub/dirfd.c (dirfd): Argument dirp is DIR*, not FILE*. + * sysdeps/standalone/dirstream.h: Define struct __dirstream + not DIR; <dirent.h> provides typedef. + * sysdeps/unix/sysv/linux/arm/clone.S: New file. + * sysdeps/unix/sysv/linux/arm/socket.S: New file. + * sysdeps/stub/sysconf.c (__sysconf): Fix typos. + +1997-05-01 06:35 Geoff Keating <geoffk@ozemail.com.au> + + * sysdeps/powerpc/Dist: New file. + * sysdeps/powerpc/Makefile: New file. + * sysdeps/powerpc/fclrexcpt.c: New file. + * sysdeps/powerpc/fegetenv.c: New file. + * sysdeps/powerpc/fegetround.c: New file. + * sysdeps/powerpc/feholdexcpt.c: New file. + * sysdeps/powerpc/fenvbits.h: New file. + * sysdeps/powerpc/fenv_const.c: New file. + * sysdeps/powerpc/fenv_libc.h: New file. + * sysdeps/powerpc/fesetenv.c: New file. + * sysdeps/powerpc/fesetround.c: New file. + * sysdeps/powerpc/feupdateenv.c: New file. + * sysdeps/powerpc/fgetexcptflg.c: New file. + * sysdeps/powerpc/fraiseexcpt.c: New file. + * sysdeps/powerpc/fsetexcptflg.c: New file. + * sysdeps/powerpc/ftestexcept.c: New file. + * sysdeps/powerpc/mathbits.h: New file. + + * sysdeps/powerpc/dl-machine.h: Wrap in #ifndef dl_machine_h; + define elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p, + ELF_MACHINE_RELOC_NOPLT; consequent changes to elf_machine_rela. + + * sysdeps/powerpc/__math.h: Remove definition for hypot and __sgn. + + * sysdep/powerpc/fpu_control.h: Correct IEEE default mode. + + * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use .text, but + instead .section ".text". + +1997-04-25 05:06 Geoff Keating <geoffk@ozemail.com.au> + + * sysdeps/powerpc/__longjmp.S: Use symbolic register numbering. + * sysdeps/powerpc/bsd-_setjmp.S: Likewise. + * sysdeps/powerpc/bsd-setjmp.S: Likewise. + * sysdeps/powerpc/setjmp.S: Likewise. + + * sysdeps/unix/sysv/linux/clone.S: Likewise. + * sysdeps/unix/sysv/linux/socket.S: Likewise. + * sysdeps/unix/sysv/linux/syscall.S: Likewise. + +1997-04-20 04:37 Geoff Keating <geoffk@ozemail.com.au> + + * 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. + +1997-04-05 06:34 Geoff Keating <geoffk@ozemail.com.au> + + * 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. + +1997-05-12 02:28 Ulrich Drepper <drepper@cygnus.com> + + * time/sys/time.h: Make second argument of setitimer const. + Patch by Michael Deutschmann <ldeutsch@mail.netshop.net>. + * sysdeps/stub/setitimer.c: Likewise. + * sysdeps/mach/hurd/setitimer.c: Likewise. + +1997-05-10 11:46 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + + * nis/rpcsvc/nis_callback.x: New, from tirpcsrc-2.3. + + * 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. + +1997-05-09 16:09 Miles Bader <miles@gnu.ai.mit.edu> + + * argp/argp-eexst.c: Include <sysexits.h>. + (argp_err_exit_status): Initialize to EX_USAGE. + * argp/argp.h, argp/argp-help.c: Doc fixes. + +1997-05-08 17:15 Miles Bader <miles@gnu.ai.mit.edu> + + * argp/argp.h [!__error_t_defined] (__error_t_defined): Define. + * argp/argp-help.c (canon_doc_option): Correct ctype tests. + +1997-05-08 07:53 H.J. Lu <hjl@gnu.ai.mit.edu> + + * sysdeps/unix/sysv/linux/poll.c: Save errno. + +1997-05-08 16:44 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/sysv/linux/syscalls.list: Add nfsservctl. + +1997-05-07 20:27 H.J. Lu <hjl@gnu.ai.mit.edu> + + * sys/ttydefaults.h: Removed. + +1997-05-07 14:10 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + + * 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). + +1997-05-05 14:22 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + + * hurd/hurdsig.c (_hurdsig_preemptors): Provide initialization. + * hurd/hurdfault.c (_hurdsig_fault_preemptor): Likewise. + +1997-05-07 16:31 Ulrich Drepper <drepper@cygnus.com> + + * 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. + + * 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. + + * elf/ldd.bash.in: Correct translatable strings. + + * 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. + + * posix/getopt.c: Declare as master copies. + * posix/getopt1.c: Likewise. + * posix/getopt.h: Likewise. + + * sysdeps/unix/sysv/linux/sys/mount.h: Add definitions for option + value to mount functions. + Patch by a sun <asun@zoology.washington.edu>. + + * 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>. + +1997-05-06 13:25 H.J. Lu <hjl@gnu.ai.mit.edu> + + * 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. + + * sunrpc/svc_run.c (svc_exit): New, defined. + (svc_run): Test for svc_stop variable. + * sunrpc/rpc/svc.h (svc_exit): New, declared. + +1997-05-03 08:47 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * math/libm-test.c (test_not_exception): Don't mix the internal + exception flags with the host defined FE_* values. All (indirect) + callers of this and test_exceptions changed to pass the internal + flag values. + (csin_test): Allow invalid exception for +-Inf + i NaN. Fix typos + in test names. + (csinh_test): Allow invalid exception for NaN +- i Inf. + +1997-05-03 09:21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * 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. + + * sysdeps/m68k/e_pow.c: Raise invalid exception for NaN result. + Use __m81_test. + + * sysdeps/m68k/s_ccosh.c: Rewritten. + * sysdeps/m68k/s_csinh.c: Rewritten. + * sysdeps/m68k/s_cexp.c: Rewritten. + * sysdeps/m68k/s_ccoshf.c: Don't define huge_val. + * sysdeps/m68k/s_ccoshl.c: Likewise. + * sysdeps/m68k/s_csinhf.c: Likewise. + * sysdeps/m68k/s_csinhl.c: Likewise. + * sysdeps/m68k/s_cexpf.c: Likewise. + * sysdeps/m68k/s_cexpl.c: Likewise. + + * sysdeps/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. + +1997-05-02 19:48 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * Makerules, manual/Makefile: Remove -$(subdir) suffix from subdir + stamp files to avoid problems with long file names. + +1997-05-03 22:24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/libm-ieee754/e_acoshl.c: Fix test for x < 1. + + * sysdeps/libm-ieee754/e_atan2l.c: Ignore integer bit for Inf and + NaN. Fix test for sign of infinite y. + + * sysdeps/libm-ieee754/e_atanhl.c: Fix sign of result. + + * sysdeps/libm-ieee754/e_sinhl.c: Fix test for sign of argument. + +1997-05-03 01:15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * csu/Makefile (extra-objs) [$(elf)=yes]: Add abi-note.o to get + dependencies. + + * 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. + + * po/de.po: Update. + +1997-04-29 21:06 Ulrich Drepper <drepper@cygnus.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>. + +1997-04-27 21:50 Philip Blundell <pjb27@cam.ac.uk> + + * sysdeps/unix/sysv/linux/net/route.h (struct in6_rtmsg): Use + correct `int' sizes for struct members. + +1997-04-29 19:14 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/libm-i387/e_powf.S Generate invalid exception correctly. + * sysdeps/libm-i387/e_pow.S: Likewise. + * sysdeps/libm-i387/e_powl.S: Likewise. + +1997-04-23 10:08 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * math/fenv.h: Correct typos. + +1997-04-28 10:04 Richard Henderson <rth@tamu.edu> + + * sysdeps/unix/sysv/linux/alpha/clone.S: Save the function argument + in t0 rather than a4 to avoid it being clobbered. + +1997-04-27 23:52 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * manual/summary.awk: Recognize @defmumblex. + + * manual/signal.texi (Miscellaneous Signals): Use @deftypevrx for + second description header. + +1997-04-27 23:29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * manual/arith.texi (Floating-Point Classes): Don't indent text, + makeinfo doesn't like that. + +1997-04-27 20:52 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * malloc/obstack.h (obstack_specify_allocation_with_arg, + obstack_chunkfun, obstack_freefun): Fix casts. + +1997-04-27 18:21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * manual/xtract-typefun.awk: Allow names with only one character. + +1997-04-26 14:16 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Use <netinet/ip_icmp.h> + not <netinet/icmp.h>. + Reported by Michael Deutschmann <ldeutsch@mail.netshop.net>. + +1997-04-25 12:31 Ulrich Drepper <drepper@cygnus.com> + + * csu/Makefile ($(objpfx)initfini.s): Add CPPFLAGS, CFLAGS and -g0 + to command line of compiler. + Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>. + + * sysdeps/generic/sigset.h (__sigandset, __sigorset): Fix typos. + Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>. + + * signal/signal.h (_sys_siglist, sys_siglist): Use _NSIG, not NSIG + in declaration. + Patch by Michael Widenius <monty@tcx.se>. + + * time/strptime.c (strptime_internal): Fix %I format specifier + being off by one. + Patch by Mark Kettenis <kettenis@phys.uva.nl>. + +1997-04-24 12:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * stdlib/lcong48_r.c: Include <limits.h>. + * stdlib/seed48_r.c: Likewise. + + * stdio-common/printf_size.c (printf_size): Correct type of + `units' and make robust against future changes. + +1997-04-23 18:58 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. + +1997-04-23 18:53 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. + +1997-04-22 15:58 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * stdio-common/printf_size.c (printf_size): Correct size of array + units. + +1997-04-21 07:50 H.J. Lu <hjl@gnu.ai.mit.edu> + + * libgen.h: New file. + +1997-04-21 16:45 Ulrich Drepper <drepper@cygnus.com> + + * 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. + + * stdlib/stdlib.h: Provide new prototypes. + +1997-04-21 13:25 Ulrich Drepper <drepper@cygnus.com> + + * 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. + + * math/cmathcalls.h: Fix typo. + + * stdlib/a64l.c: Pretty printing. + + * stdlib/seed48_r.c: Also reset `a' and `c' to default values. + * stdlib/srand48_r.c: Likewise. + * stdlib/stdlib.h: Pretty printing. + + * sysdeps/i386/fpu/__math.h: Fix typo. + + * sysdeps/libm-ieee754/s_nearbyintf.c: Correctly name function. + * sysdeps/libm-ieee754/s_nearbyintl.c: Likewise. + +1997-04-19 22:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/m68k/fpu/e_pow.c: Rewrite handling of integral exponent. + +1997-04-18 19:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/m68k/fpu/__math.h: Define optimized versions of + isgreater, isgreaterequal, isless, islessequal, islessgreater, and + isunordered. + +1997-04-20 01:28 Richard Henderson <rth@tamu.edu> + + * rellns-sh: Handle files in the same directory correctly. + +1997-04-20 11:22 Ulrich Drepper <drepper@cygnus.com> + + * csu/initfini.c: Place ALIGN instruction at correct positions. + Patch by Richard Henderson <richard@twiddle.rth.home>. + +1997-04-19 17:12 Ulrich Drepper <drepper@cygnus.com> + + * Make-dist: Don't automatically ignore .c files if the .S or .s file + is ignored. + + * csu/Makefile (distribute): Add defs.awk. + +1997-04-19 15:39 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/stub/shmat.c: Update to XPG4.2 interface. + * sysdeps/stub/shmdt.c: Likewise. + Reported by Thomas Bushnell, n/BSG. + +1997-04-19 13:22 Ulrich Drepper <drepper@cygnus.com> + + * manual/stdio.texi: Add description of printf_size and + printf_size_info. Partly based on the documentation by Larry McVoy. + +1997-04-19 02:21 Ulrich Drepper <drepper@cygnus.com> + + * 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. + +1997-04-18 15:48 Ulrich Drepper <drepper@cygnus.com> + + * 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>. + +1997-04-17 17:57 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * math/Makefile (headers): Add mathbits.h. + +1997-04-16 21:20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * 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. + + * sysdeps/libm-ieee754/e_scalb.c: Use internal names of the + functions. + * sysdeps/libm-ieee754/e_scalbl.c: Likewise. + + * sysdeps/libm-ieee754/s_ctanh.c: Use isfinite instead of finite. + * sysdeps/libm-ieee754/s_ctanhf.c: Likewise. + * sysdeps/libm-ieee754/s_ctanhl.c: Likewise. + * sysdeps/libm-ieee754/s_ctan.c: Likewise. + * sysdeps/libm-ieee754/s_ctanf.c: Likewise. + * sysdeps/libm-ieee754/s_ctanl.c: Likewise. Fix type of `res'. + +1997-04-18 11:21 Ulrich Drepper <drepper@cygnus.com> + + * shadow/fgetspent_r.c: Set *RESULT to NULL before returning error. + Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>. + +1997-04-18 02:18 Ulrich Drepper <drepper@cygnus.com> + + * csu/initfini.c: Rewrite by Zack Weinberg + <zack@rabi.phys.columbia.edu>. + * csu/Makefile: Add rules for rewrite. + * csu/defs.awk: Helper script to generate derived header. + +1997-04-17 16:55 Ulrich Drepper <drepper@cygnus.com> + + * misc/libgen.h: Change prototype for of basename to XPG variant. + * stdlib/Makefile (routines): Add xpg_basename. + * stdlib/basename.c: New file. + * string/string.h: Don't declare basename function if basename + macro is available. + +1997-04-16 17:33 Miles Bader <miles@gnu.ai.mit.edu> + + * login/utmp_file.c (proc_utmp_eq): Only use ut_id field if valid. + +1997-04-15 12:47 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/m68k/fpu/fclrexcpt.c: New file. + * sysdeps/m68k/fpu/fenvbits.h: New file. + * sysdeps/m68k/fpu/fegetenv.c: New file. + * sysdeps/m68k/fpu/fegetround.c: New file. + * sysdeps/m68k/fpu/fesetenv.c: New file. + * sysdeps/m68k/fpu/fesetround.c: New file. + * sysdeps/m68k/fpu/feupdateenv.c: New file. + * sysdeps/m68k/fpu/fgetexcptflg.c: New file. + * sysdeps/m68k/fpu/fraiseexcpt.c: New file. + * sysdeps/m68k/fpu/fsetexcptflg.c: New file. + * sysdeps/m68k/fpu/ftestexcept.c: New file. + * sysdeps/m68k/fpu/mathbits.h: New file. + + * sysdeps/m68k/fpu/s_remquo.c: New file. + * sysdeps/m68k/fpu/s_remquol.c: New file. + * sysdeps/m68k/fpu/s_remquof.c: New file. + + * sysdeps/libm-ieee754/s_roundl.c: Restore integer bit when + mantissa overflows into exponent. Fix priority of >> vs +. + + * math/libm-test.c (basic_tests): Use the appropriate isnan and + isinf function to test the value of the nan function. + +1997-04-15 13:40 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/libm-i387/s_finite.S: Fix typo. + + * sysdeps/i386/fpu/__math.h: Add optimized versions of isgreater, + isgreaterequal, isless, islessequal, islessgreater, and + isunordered. + +1997-04-15 03:14 Ulrich Drepper <drepper@cygnus.com> + + * wcsmbs/wcsstr.c: Add weak alias wcswcs for Unix98 compliance. + + * math/Makefile (libm-calls): Add s_sincos and s_cproj. + * math/mathcalls.h: Add prototype for sincos. + * sysdeps/i386/fpu/__math.h: Warn about restriction on arguments to + inlined sin and cos function. + Define functions new in ISO C 9X when __USE_ISOC9X is defined. + Add optimized version of finite. + Rewrite sincos function to handle too large arguments. + * sysdeps/libm-i387/s_cos.S: Better code alignment. + * sysdeps/libm-i387/s_cosl.S: Likewise. + * sysdeps/libm-i387/s_sin.S: Likewise. + * sysdeps/libm-i387/s_sinl.S: Likewise. + * sysdeps/libm-i387/s_finite.S: Yet better code. + * sysdeps/libm-i387/s_finitef.S: Likewise. + * sysdeps/libm-i387/s_sincos.S: New file. + * sysdeps/libm-i387/s_sincosf.S: New file. + * sysdeps/libm-i387/s_sincosl.S: New file. + * sysdeps/libm-ieee754/s_sincos.c: New file. + * sysdeps/libm-ieee754/s_sincosf.c: New file. + * sysdeps/libm-ieee754/s_sincosl.c: New file. + + * sysdeps/libm-ieee754/s_ccosh.c: Change to use sincos function. + * sysdeps/libm-ieee754/s_ccoshf.c: Likewise. + * sysdeps/libm-ieee754/s_ccoshl.c: Likewise. + * sysdeps/libm-ieee754/s_cexp.c: Likewise. + * sysdeps/libm-ieee754/s_cexpf.c: Likewise. + * sysdeps/libm-ieee754/s_cexpl.c: Likewise. + * sysdeps/libm-ieee754/s_csinh.c: Likewise. + * sysdeps/libm-ieee754/s_csinhf.c: Likewise. + * sysdeps/libm-ieee754/s_csinhl.c: Likewise. + * sysdeps/libm-ieee754/s_ctan.c: Likewise. + * sysdeps/libm-ieee754/s_ctanf.c: Likewise. + * sysdeps/libm-ieee754/s_ctanl.c: Likewise. + * sysdeps/libm-ieee754/s_ctanh.c: Likewise. + * sysdeps/libm-ieee754/s_ctanhf.c: Likewise. + * sysdeps/libm-ieee754/s_ctanhl.c: Likewise. + + * sysdeps/libm-ieee754/s_cosl.c: Correct check for range. + * sysdeps/libm-ieee754/s_sinl.c: Likewise. + + * sysdeps/libm-ieee754/s_roundtol.c: Fix typos. + * sysdeps/libm-ieee754/s_roundtoll.c: Likewise. + + * nis/Makefile (services): Mention nisplus before compat. + * nis/nis_call.c (__do_niscall): Change type of variable server_len + to prevent warning. + * nis/nss_compat/compat-grp.c (getgrent_next_file_plusgroup): Add + cast to prevent warning. + * nis/nss_compat/compat-pwd.c (getpwent_next_file_plususer): Likewise. + * nis/nss_compat/compat-spwd.c (getspent_next_file_plususer): Likewise. + * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent): Change + type of variable `i' to prevent warning. + * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent): + Likewise. + * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent): + Likewise. + * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent): Likewise. + * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent): + Likewise. + + * sysdeps/generic/Dist: Remove old math implementation files. + * sysdeps/generic/mathimpl.h: Removed. + * sysdeps/generic/trig.h: Removed. + * sysdeps/generic/sincos.c: Removed. + * sysdeps/generic/asincos.c: Removed. + * sysdeps/generic/exp__E.c: Removed. + * sysdeps/generic/log__L.c: Removed. + +1997-04-13 17:18 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> + + * malloc/malloc.c (fREe): Small optimization. Before returning, + add fast check whether the heap containing top can go away. + +1997-04-11 16:46 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> + + * malloc/malloc.c (mALLOc, rEALLOc, cALLOc, mEMALIGn): When + failing to allocate a new chunk, also try the main_arena. It may + be that we are only running out of mmapped regions, and other + arenas cannot be enlarged sufficiently. + (new_heap, malloc_extend_top): Handle top_pad more consistently, + i.e. only in new_heap(). + +1997-04-13 21:10 Philip Blundell <pjb27@cl.cam.ac.uk> + + * sysdeps/posix/Makefile: Don't try to build and run mk-stdiolim + if cross-compiling. + + * configure.in: Recognise "...linuxaout" OS names and turn off ELF. + + * configure.in: Add ARM support. + * sysdeps/arm/Implies: New file. + * sysdeps/arm/__longjmp.S: New file. + * sysdeps/arm/bsd-_setjmp: New file. + * sysdeps/arm/bsd-setjmp: New file. + * sysdeps/arm/bytesex.h: New file. + * sysdeps/arm/fpu_control.h: New file. + * sysdeps/arm/jmp_buf.h: New file. + * sysdeps/arm/setjmp.h: New file. + * sysdeps/arm/sysdep.h: New file. + * sysdeps/unix/arm/config.h: New file. + +1997-04-14 04:03 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/libm-ieee754/s_cproj.c: New file. + * sysdeps/libm-ieee754/s_cprojf.c: New file. + * sysdeps/libm-ieee754/s_cprojl.c: New file. + +1997-04-13 01:06 Ulrich Drepper <drepper@cygnus.com> + + * isomac.c: Improve messages. + + * math/Makefile (libm-calls): Add s_nearbyint, s_catan, s_casin, + s_ccos, s_csin, s_ctan, s_ctanh, s_cacos, s_casinh, s_cacosh, + s_catanh, s_csqrt, and s_cpow. + * math/libm-test.c: New functions ccos_test, cacos_test, cacosh_test, + casin_test, casinh_test, catan_test, catanh_test, ctanh_test, + csqrt_test, cpow_test, rint_test. + * math/math.h: Include new header mathbits.h which defines some + more (system dependent) types and some macros. + (isfinite): Use __finite instead of fpclassify. + * sysdeps/generic/mathbits.h: New file. + * sysdeps/i386/fpu/mathbits.h: New file. + * sysdeps/i386/huge_val.h: Don't define INFINITY. + * sysdeps/ieee754/huge_val.h: Likewise. + * sysdeps/m68k/huge_val.h: Likewise. + + * sysdeps/i386/fpu/fenvbits.h: Define FE_NOMASK_ENV. + * sysdeps/i386/fpu/fesetenv.c: Handle FE_NOMASK_ENV. + + * math/complex.h (_Imaginary_I): Define correctly. I misread the + standard first. + + * sysdeps/libm-i387/s_finite.S: Optimized rewrite. + * sysdeps/libm-i387/s_finitef.S: Likewise. + * sysdeps/libm-i387/s_finitel.S: Likewise. + Provided by Joe Keane <jgk@jgk.org>. + + * sysdeps/libm-i387/s_nearbyint.S: New file. + * sysdeps/libm-i387/s_nearbyintf.S: New file. + * sysdeps/libm-i387/s_nearbyintl.S: New file. + * sysdeps/libm-ieee754/s_nearbyint.S: New file. + * sysdeps/libm-ieee754/s_nearbyintf.S: New file. + * sysdeps/libm-ieee754/s_nearbyintl.S: New file. + + * sysdeps/libm-ieee754/s_cacos.c: New file. + * sysdeps/libm-ieee754/s_cacosf.c: New file. + * sysdeps/libm-ieee754/s_cacosl.c: New file. + * sysdeps/libm-ieee754/s_cacosh.c: New file. + * sysdeps/libm-ieee754/s_cacoshf.c: New file. + * sysdeps/libm-ieee754/s_cacoshl.c: New file. + * sysdeps/libm-ieee754/s_casin.c: New file. + * sysdeps/libm-ieee754/s_casinf.c: New file. + * sysdeps/libm-ieee754/s_casinl.c: New file. + * sysdeps/libm-ieee754/s_casinh.c: New file. + * sysdeps/libm-ieee754/s_casinhf.c: New file. + * sysdeps/libm-ieee754/s_casinhl.c: New file. + * sysdeps/libm-ieee754/s_catan.c: New file. + * sysdeps/libm-ieee754/s_catanf.c: New file. + * sysdeps/libm-ieee754/s_catanl.c: New file. + * sysdeps/libm-ieee754/s_catanh.c: New file. + * sysdeps/libm-ieee754/s_catanhf.c: New file. + * sysdeps/libm-ieee754/s_catanhl.c: New file. + * sysdeps/libm-ieee754/s_ccos.c: New file. + * sysdeps/libm-ieee754/s_ccosf.c: New file. + * sysdeps/libm-ieee754/s_ccosl.c: New file. + * sysdeps/libm-ieee754/s_cpow.c: New file. + * sysdeps/libm-ieee754/s_cpowf.c: New file. + * sysdeps/libm-ieee754/s_cpowl.c: New file. + * sysdeps/libm-ieee754/s_csin.c: New file. + * sysdeps/libm-ieee754/s_csinf.c: New file. + * sysdeps/libm-ieee754/s_csinl.c: New file. + * sysdeps/libm-ieee754/s_csqrt.c: New file. + * sysdeps/libm-ieee754/s_csqrtf.c: New file. + * sysdeps/libm-ieee754/s_csqrtl.c: New file. + * sysdeps/libm-ieee754/s_ctan.c: New file. + * sysdeps/libm-ieee754/s_ctanf.c: New file. + * sysdeps/libm-ieee754/s_ctanl.c: New file. + * sysdeps/libm-ieee754/s_ctanh.c: New file. + * sysdeps/libm-ieee754/s_ctanhf.c: New file. + * sysdeps/libm-ieee754/s_ctanhl.c: New file. + + * time/strftime.c (memset_space): Increment pointer. + * time/strptime.c: Interpret year number 00-59 as 2000--2059. + Patches by Karl Heuer <kwzh@gnu.ai.mit.edu>. + +1997-04-11 11:57 Miguel de Icaza <miguel@nuclecu.unam.mx> + + * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove fork, + pipe, syscall. + +1997-04-05 00:57 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although + probably still wrong. + * sysdeps/libm-ieee754/s_remquof.c: Likewise. + * sysdeps/libm-ieee754/s_remquol.c: Likewise. + + * math/libm-test.c (remquo_test): Corrected. + +1997-04-11 00:01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/m68k/fpu/__math.h (__rinttol, rinttol): New inline. + * sysdeps/m68k/fpu/s_rinttol.c: New file. + * sysdeps/m68k/fpu/s_rinttoll.c: New file. + + * math/libm-test.c (remquo_test): Use check_long to test the + quotient. + (cbrt_test): Add epsilons for long double. + +1997-04-10 18:48 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * locale/localeinfo.h: Update declaration of _nl_current. + +1997-04-11 11:27 Ulrich Drepper <drepper@cygnus.com> + + * rellnsh-sh: Use explicitely /bin/pwd to find the external program. + + * math/Makefile (headers): Add fenv.h and fenvbits.h. + (libm-support): Add s_rountol, s_roundtoll, fclrexcpt, fgetexcptflg, + fraiseexcpt, fsetexcptflg, ftestexcept, fegetround, fesetround, + fegetenv, feholdexcpt, fesetenv, feupdateenv. + (libm-calls): Add s_round. + * math/fenv.h: New file. + * math/libm-test.c: Correct tests for s_rinttol and s_rinttoll. + Add roundtol_check and roundtoll_check. + * math/math.h: Pretty printing. + * sysdeps/i386/fpu/fclrexcpt.c: New file. + * sysdeps/i386/fpu/fegetenv.c: New file. + * sysdeps/i386/fpu/fegetround.c: New file. + * sysdeps/i386/fpu/feholdexcpt.c: New file. + * sysdeps/i386/fpu/fenvbits.h: New file. + * sysdeps/i386/fpu/fesetenv.c: New file. + * sysdeps/i386/fpu/fesetround.c: New file. + * sysdeps/i386/fpu/fgetexcptflg.c: New file. + * sysdeps/i386/fpu/fraiseexcpt.c: New file. + * sysdeps/i386/fpu/fsetexcptflg.c: New file. + * sysdeps/i386/fpu/ftestexcept.c: New file. + * sysdeps/stub/fclrexcpt.c: New file. + * sysdeps/stub/fegetenv.c: New file. + * sysdeps/stub/fegetround.c: New file. + * sysdeps/stub/feholdexcpt.c: New file. + * sysdeps/stub/fenvbits.h: New file. + * sysdeps/stub/fesetenv.c: New file. + * sysdeps/stub/fesetround.c: New file. + * sysdeps/stub/fgetexcptflg.c: New file. + * sysdeps/stub/fraiseexcpt.c: New file. + * sysdeps/stub/fsetexcptflg.c: New file. + * sysdeps/stub/ftestexcept.c: New file. + + * sysdeps/libm-i387/s_trunc.S: New file. + * sysdeps/libm-i387/s_truncf.S: New file. + * sysdeps/libm-i387/s_truncl.S: New file. + + * sysdeps/libm-ieee754/s_round.c: New file. + * sysdeps/libm-ieee754/s_roundf.c: New file. + * sysdeps/libm-ieee754/s_roundl.c: New file. + + * sysdeps/libm-ieee754/s_ccosh.c: Rewritten to use fpclassify. + * sysdeps/libm-ieee754/s_ccoshf.c: Likewise. + * sysdeps/libm-ieee754/s_ccoshl.c: Likewise. + * sysdeps/libm-ieee754/s_cexp.c: Likewise. + * sysdeps/libm-ieee754/s_cexpf.c: Likewise. + * sysdeps/libm-ieee754/s_cexpl.c: Likewise. + * sysdeps/libm-ieee754/s_clog.c: Likewise. + * sysdeps/libm-ieee754/s_clogf.c: Likewise. + * sysdeps/libm-ieee754/s_clogl.c: Likewise. + * sysdeps/libm-ieee754/s_csinh.c. Likewise. + * sysdeps/libm-ieee754/s_csinhf.c. Likewise. + * sysdeps/libm-ieee754/s_csinhl.c. Likewise. + + * 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. + +1997-04-04 23:57 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * stdio-common/vfscanf.c: Fix scanning of hexadecimal fp number. + * stdio-common/tstscanf.c: Add test case for this. + +1997-04-04 17:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * math/libm-test.c: Fix more typos. + +1997-04-03 17:15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * math/libm-test.c (csinh_test): Fix test names. + (ccosh_test): 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. + + * 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. + + * 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. + + * 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. + +1997-04-03 10:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * manual/Makefile (dir-add.texi): Simplify. + +1997-04-09 01:24 Ulrich Drepper <drepper@cygnus.com> + + * rellns-sh: Rewrite to work also in presence of symlinks. + + * argp/argp-fmtstream.c: Add casts to prevent warnings. + * argp/argp-fmtstream.h: Likewise. + * argp/argp-help.c: Likewise. + + * 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. + + * locale/setlocale.c (_nl_current): Add element with index LC_ALL. + Reported by Greg McGary <gkm@eng.ascend.com>. + + * manual/libc.texinfo: Update malloc documentation for new malloc. + * manual/memory.texi: Likewise. + Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>. + + * math/libm-test.c (check_long): New function. + (check_longlong): New function. + (rinttol_test): New function. + (rinttoll_test): New function. + + * 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. + + * 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>. + + * sunrpc/svc_auth.c: Moved to ... + * sysdeps/generic/svc_auth.c: ...here. + + * time/time.h: Pretty print. + +1997-04-08 07:19 H.J. Lu <hjl@gnu.ai.mit.edu> + + * libio/genops.c (_IO_flush_all_linebuffered): Don't flush on + a read-only stream. + +1997-04-09 01:19 Ulrich Drepper <drepper@cygnus.com> + + * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration + in correct place. + Patch by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>. + +1997-04-07 15:34 Ulrich Drepper <drepper@cygnus.com> + + * 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. + + * 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. + + * 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/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/libm-ieee754/s_rintl.c: Many corrections. The previous + version was full of errors. + + * math/math.h (rinttol): Argument is of type `long double' not + `double'. + (rinttoll): Likewise. + (roundtol): Likewise. + (roundtoll): Likewise. + +1997-04-06 11:32 H.J. Lu <hjl@gnu.ai.mit.edu> + + * posix/getopt.c (_getopt_initialize): Preserve optind. + (_getopt_internal): Set optind to 1 if optind == 0 before + calling _getopt_initialize (). + +1997-04-05 16:45 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + + * 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(). + + * nis/nss_compat/compat-pwd.c: Use reentrant netgroup functions. + * nis/nss_compat/compat-spwd.c: Likewise. + +1997-03-27 07:37 H.J. Lu <hjl@gnu.ai.mit.edu> + + * libio/fileops.c (_IO_file_overflow): Set error when try to write + on a read-only stream. + + * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol. + (ut_time): Define it only if _NO_UT_TIME is not defined. + +1997-04-06 00:42 Ulrich Drepper <drepper@cygnus.com> + + * misc/tst-tsearch.c: Include <string.h>. Define _GNU_SOURCE only + if not already defined. + +1997-04-05 16:14 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>. + + * malloc/malloc.c (cALLOc): Little optimization. + +1997-04-05 03:11 Ulrich Drepper <drepper@cygnus.com> + + * 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. + + * manual/nss.texi: Correct a few typos and errors. + + * sysdeps/libm-ieee754/s_cbrt.c: Complete rewrite based on better + algorithm. + * sysdeps/libm-ieee754/s_cbrtf.c: Likewise. + * sysdeps/libm-ieee754/s_cbrtl.c: Likewise. + + * sysdeps/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. + + * sysdeps/libm-i387/s_frexp.S: Optimize even more. + * sysdeps/libm-i387/s_frexpf.S: Likewise. + * sysdeps/libm-i387/s_frexpl.S: Likewise. + +1997-04-04 18:55 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + + * nis/Makefile: Remove CFLAGS-*, add publickey to databases. + + * nis/nis_call.c: Add MASTER_ONLY and HARD_LOOKUP flags, compile + DES part only with secure RPC add-on. + + * nis/nis_names.c (nis_modify): Fix rpc function number. + + * nis/nis_server.c: Fix typos. + + * nis/nss_compat/compat-grp.c: Add NIS+ support. + * nis/nss_compat/compat-pwd.c: Likewise. + * nis/nss_compat/compat-spwd.c: Likewise. + + * nis/nss_nis/nis-grp.c: Only a return value > 0 from parse_line + signals success. + + * nis/nss_nis/nis-publickey.c: Changes for compiling with/without + secure RPC. + * nis/nss_nisplus/nisplus-publickey.c: Likewise. + * nis/ypclnt.c: Likewise. + * nis/nis_intern.h: Likewise. + + * nis/nss_nisplus/nisplus-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. + +1997-04-04 17:03 Ulrich Drepper <drepper@cygnus.com> + + * math/libm-test.c (cbrt_test): Add tests for +-inf and NaN + arguments. + +1997-04-03 19:24 H.J. Lu <hjl@gnu.ai.mit.edu> + + * sysdeps/unix/sysv/linux/sigset.h (__sigisemptyset): Fix a + 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. + +1997-04-03 04:28 Ulrich Drepper <drepper@cygnus.com> + + * 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. + +1997-04-01 10:11 H.J. Lu <hjl@gnu.ai.mit.edu> + + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] + (sysdep_headers): Remove netinet/icmp.h. + +1997-04-02 16:55 Ulrich Drepper <drepper@cygnus.com> + + * 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. + + * Makefile: Add rule to easily generate dir-add.texi file. + * manual/Makefile: Likewise. + + * 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. + +1997-04-02 16:28 Ulrich Drepper <drepper@cygnus.com> + + * 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. + + * grp/fgetgrent_r.c (__fgetgrent_r): If `parse_result' returns -1 + this means there was not enough room for the gr_mem array. + + * nss/nss_files/files-XXX.c: Leave loop and return error if + `parse_result' returns -1. + + * 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. + + * shadow/sgetspent_r.c: Only a return value > 0 from parse_line + signals success. + + * nss/getXXbyYY.c: Make sure NULL is returned if we ran out of memory. + * nss/getXXent.c: Likewise. + + * stdlib/strtod.c (SET_MANTISSA): Make sure that at least one bit + is set in mantissa. + * stdlib/strtof.c: Likewise. + * stdlib/strtold.c: Likewise. + * wcsmbs/wcstof.c: Likewise. + * wcsmbs/wcstold.c: Likewise. + + * 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. + +1997-04-02 13:56 Ulrich Drepper <drepper@cygnus.com> + + * manual/errno.texi: Add description of strerror_r. + +1997-04-01 19:07 H.J. Lu (hjl@gnu.ai.mit.edu) + + * manual/errno.texi: Add ENOMEDIUM and EMEDIUMTYPE. + +1997-04-02 13:55 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/gnu/errlist.awk: The Texinfo file is named errno.texi. + +1997-03-30 10:59 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * 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/m68k/fpu/s_modf.c: Rewritten. + * sysdeps/m68k/fpu/s_modff.c: Adapted. + * sysdeps/m68k/fpu/s_modfl.c: Likewise. + + * 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/m68k/fpu/__math.h: Define __trunc, __signbit, + __nearbyint. Remove __modf. + + * sysdeps/m68k/Makefile (CFLAGS-s_copysignl.c) [$(subdir)=math]: + Define for gcc bug workaround. + + * 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. + +1997-03-29 16:24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sunrpc/Makefile (CFLAGS-xrquota.c): Fix typo in variable name. + +1997-03-28 20:56 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * stdlib/stdlib.h: Declare __clearenv. + +1997-03-28 18:03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/libm-ieee754/s_asinhl.c: Fix Ulrich Dreppers mangling of + the last change. + +1997-03-28 17:55 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * configure.in: Call AC_CANONICAL_BUILD before referencing + $build. Fix test for BUILD_CC. + +1997-04-02 01:29 Philip Blundell <pjb27@cam.ac.uk> + + * sysdeps/libm-ieee754/s_log2f.c (__log2f): Fix typo. + +1997-03-31 18:53 Philip Blundell <pjb27@cam.ac.uk> + + * sysdeps/unix/sysv/linux/net/route.h: Add new IPv6 definitions. + +1997-04-01 14:08 Ulrich Drepper <drepper@cygnus.com> + + * 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>. + +1997-04-01 00:37 Ulrich Drepper <drepper@cygnus.com> + + * math/Makefile: Prevent inlining for test-{float,double,longdouble}. + * math/libm-test.c (initialize): Make strings unique and force + values to memory. + + * posix/regex.c: Debug debugging code. + + * sysdeps/i386/asm-syntax.h: Define `L' macro to emit correct + syntax for local label. + * sysdeps/i386/add_n.S: Use correct local label syntax for the + binary format. + * sysdeps/i386/addmul_1.S: Likewise. + * sysdeps/i386/lshift.S: Likewise. + * sysdeps/i386/memchr.S: Likewise. + * sysdeps/i386/memcmp.S: Likewise. + * sysdeps/i386/mul_1.S: Likewise. + * sysdeps/i386/rshift.S: Likewise. + * sysdeps/i386/stpcpy.S: Likewise. + * sysdeps/i386/stpncpy.S: Likewise. + * sysdeps/i386/strchr.S: Likewise. + * sysdeps/i386/strcspn.S: Likewise. + * sysdeps/i386/strlen.S: Likewise. + * sysdeps/i386/strpbrk.S: Likewise. + * sysdeps/i386/strrchr.S: Likewise. + * sysdeps/i386/strspn.S: Likewise. + * sysdeps/i386/strtok.S: Likewise. + * sysdeps/i386/sub_n.S: Likewise. + * sysdeps/i386/submul_1.S: Likewise. + * sysdeps/i386/i486/strcat.S: Likewise. + * sysdeps/i386/i486/strlen.S: Likewise. + * sysdeps/i386/i586/add_n.S: Likewise. + * sysdeps/i386/i586/addmul_1.S: Likewise. + * sysdeps/i386/i586/lshift.S: Likewise. + * sysdeps/i386/i586/memset.S: Likewise. + * sysdeps/i386/i586/mul_1.S: Likewise. + * sysdeps/i386/i586/rshift.S: Likewise. + * sysdeps/i386/i586/strchr.S: Likewise. + * sysdeps/i386/i586/strlen.S: Likewise. + * sysdeps/i386/i586/sub_n.S: Likewise. + * sysdeps/i386/i586/submul_1.S: Likewise. + + * sysdeps/stub/s_log2l.c: Correct function name. + + * 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. + +1997-03-31 12:42 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/sysv/linux/powerpc/Dist: Add kernel_*.h files. + +1997-03-23 01:41 Geoff Keating <geoffk@ozemail.com.au> + + * sysdeps/powerpc/strlen.s: Rewrote for more speed. + * string/tst-strlen.c: Also test various string alignments. + +1997-03-19 06:11 Geoff Keating <geoffk@ozemail.com.au> + + * sysdeps/unix/sysv/linux/powerpc/statbuf.h: Removed. + * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h: Added. + + * 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. + + * sysdeps/powerpc/dl-machine.h: More comments, more GNU indenting. + Put in extra parentheses to make explicit the relative precedence + of + and >>. + + * sysdeps/powerpc/bsd-setjmp.S: Add `__setjmp' symbol so the tests + pass. + * sysdeps/powerpc/clone.S: Rewrite. Probably still doesn't work. + + * sysdeps/unix/sysv/linux/powerpc/sys/sysdep.h: Use .section "text" + instead of .text. + +1997-03-31 02:28 Ulrich Drepper <drepper@cygnus.com> + + * 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>. + +1997-03-30 03:42 Ulrich Drepper <drepper@cygnus.com> + + * math/libm-test.c: Add definition of ctanh_test, clog_test, and + csqrt_test. + +1997-03-29 17:39 Ulrich Drepper <drepper@cygnus.com> + + * math/Makefile (routines): Add carg, s_ccosh and s_csinh. + + * math/complex.h: Add C++ protection. + + * 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. + + * 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. + + * 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/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/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. + + * 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. + + * math/carg.c: New file. Generic implementatio of carg function. + * math/cargf.c: New file. + * math/cargl.c: New file. + +1997-03-29 16:07 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/posix/system.c: Update copyright. + +1997-03-29 04:18 Ulrich Drepper <drepper@cygnus.com> + + * 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. + + * nss/nsswitch.c: Fix typo. + + * 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). + + * 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. + + * 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. + + * 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. + + * sysdeps/sparc/elf/start.S: Remove as per request of Miguel de Icaza. + + * sysdeps/unix/sysv/linux/netinet/icmp.h: Remove since we have + ip_icmp.h. Reported by HJ Lu. + +1997-03-25 03:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/m68k/Makefile (CFLAGS-rtld.c): Add -Wno-unused. + + * 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. + +1997-03-25 03:48 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * grp/grp.h: Include <stddef.h> only once. + +1997-03-25 09:38 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Don't define. + * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise. + + * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Use either OXTABS or + TAB3, if one of them is defined. + +1997-03-26 04:53 Ulrich Drepper <drepper@cygnus.com> + + * posix/glob.c (next_brace_sub): Decrement depth counter when '}' + is found. + Patch by Dennis Henriksen <opus@flamingo.osrl.dk>. + +1997-03-25 16:25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + + * sunrpc/Makefile: Comment gccwarn out. + * sunrpc/auth_none.c: Fix prototypes and parameters for compiling + with enabled warnings. + * sunrpc/auth_unix.c: Likewise. + * sunrpc/authuxprot.c: Likewise. + * sunrpc/bindrsvprt.c: Likewise. + * sunrpc/clnt_gen.c: Likewise. + * sunrpc/clnt_perr.c: Likewise. + * sunrpc/clnt_raw.c: Likewise. + * sunrpc/clnt_simp.c: Likewise. + * sunrpc/clnt_tcp.c: Likewise. + * sunrpc/clnt_udp.c: Likewise. + * sunrpc/get_myaddr.c: Likewise. + * sunrpc/getrpcport.c: Likewise. + * sunrpc/pm_getmaps.c: Likewise. + * sunrpc/pm_getport.c: Likewise. + * sunrpc/pmap_clnt.c: Likewise. + * sunrpc/pmap_prot.c: Likewise. + * sunrpc/pmap_prot2.c: Likewise. + * sunrpc/pmap_rmt.c: Likewise. + * sunrpc/rpc/auth.h: Likewise. + * sunrpc/rpc/clnt.h: Likewise. + * sunrpc/rpc/pmap_clnt.h: Likewise. + * sunrpc/rpc/svc.h: Likewise. + * sunrpc/rpc/svc_auth.h: Likewise. + * sunrpc/rpc/types.h: Likewise. + * sunrpc/rpc/xdr.h: Likewise. + * sunrpc/rpc_clntout.c: Likewise. + * sunrpc/rpc_cmsg.c: Likewise. + * sunrpc/rpc_dtable.c: Likewise. + * sunrpc/rpc_prot.c: Likewise. + * sunrpc/svc.c: Likewise. + * sunrpc/svc_auth.c: Likewise. + * sunrpc/svc_authux.c: Likewise. + * sunrpc/svc_raw.c: Likewise. + * sunrpc/svc_run.c: Likewise. + * sunrpc/svc_simple.c: Likewise. + * sunrpc/svc_tcp.c: Likewise. + * sunrpc/svc_udp.c: Likewise. + * sunrpc/xdr.c: Likewise. + * sunrpc/xdr_array.c: Likewise. + * sunrpc/xdr_mem.c: Likewise. + * sunrpc/xdr_rec.c: Likewise. + * sunrpc/xdr_ref.c: Likewise. + * sunrpc/xdr_stdio.c: Likewise. + +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. + + * 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. + + * sysdeps/generic/setenv.c [_LIBC]: Define __clearenv and make + clearenv a weak alias. + + 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. + + * 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/unix/sysv/linux/iovec.h: Don't use kernel header because + of type clashes. Add all definitions here. + + * 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. + + * sysvipc/sys/shm.h (shmat, shmdt): Correct types. + + * sysdeps/unix/sysv/linux/sys/kd.h: Define _LINUX_TYPES_H to avoid + use of kernel types. + +1997-03-25 00:00 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>. + +1997-03-20 21:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/libm-ieee754/s_asinhl.c: Fix sign of result. + +1997-03-20 16:20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/libm-ieee754/e_atan2l.c: Fix typo. + +1997-03-20 14:23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * 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. + + * sysdeps/m68k/fpu/__math.h (__ieee754_atan2, __ieee754_pow): + Don't define here. + * sysdeps/m68k/fpu/e_atan2.c: Rewritten. + * sysdeps/m68k/fpu/e_pow.c: Likewise. + * sysdeps/m68k/fpu/e_atan2f.c: Based on e_atan2.c. + * sysdeps/m68k/fpu/e_atan2l.c: Likewise. + * sysdeps/m68k/fpu/e_powf.c: Based on e_pow.c. + * sysdeps/m68k/fpu/e_powl.c: Likewise. + + * sysdeps/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. + +1997-03-20 14:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * Makeconfig (all): Make sure this is always the default goal. + +1997-03-20 11:09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * math/libm-test.c: Increase epsilon in many places. Fix many + typos. Allow optinal argument also for short option. + +1997-03-20 11:09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * math/Makefile ($(objpfx)$(tests)): Link against libm. + +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. + +1997-03-23 23:30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + + * 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. + +1997-03-24 01:36 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/libm-i387/e_scalb.S: Pop additional result before + returning. + * sysdeps/libm-i387/e_scalbf.S: Likewise. + * sysdeps/libm-i387/e_scalbl.S: Likewise. + Reported by Andreas Jaeger <aj@arthur.pfalz.de>. + + * 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>. + + * 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. + +1997-03-23 21:33 Andreas Jaeger <aj@arthur.pfalz.de> + + * 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). + +1997-03-23 12:35 Andreas Jaeger <aj@arthur.pfalz.de> + + * math/libm-test.c (remquo_test): Correct messages so that they + match the tests. + (copysign_test): Likewise. + +1997-03-23 16:28 Ulrich Drepper <drepper@cygnus.com> + + * stdio-common/Makefile (routines): Add printf_size. + + * stdio-common/printf.h: Add declarations for printf_size and + printf_size_info. + + * 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. + + * stdio-common/vfprintf.c (vfprintf): Count number of specifiers + processed in fast loop. + + * stdio-common/printf_size: New file. + +1997-03-23 02:11 Ulrich Drepper <drepper@cygnus.com> + + * time/sys/time.h: Make values ITIMER_* also available as macros. + + * 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. + + * 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. + + * math/libm-test.c (remquo_test): New function. + + * sysdeps/libm-ieee754/s_rintl.c: Handle implicit leading one + correctly. + +1997-03-22 14:06 Ulrich Drepper <drepper@cygnus.com> + + * 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. + + * math/libm-test.c (basic_tests): Add tests for `nan' function. + + * math/libm-test.c (copysign_test): New function. + (main): Call copysign_test. + +1997-03-22 06:28 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/libm-ieee754/s_nextafter.c: Return y if x == y. + * sysdeps/libm-ieee754/s_nextafterf.c: Likewise. + * sysdeps/libm-ieee754/s_nextafterl.c: Likewise. + * sysdeps/libm-i387/s_nextafterl.c: Likewise. + + * math/libm-test.c (fdim_test, fmin_test, fmax_test, nextafter_test): + New functions. Test these functions. + (main): Call above new functions. + +1997-03-22 04:53 Ulrich Drepper <drepper@cygnus.com> + + * Net release 2.0.2. + +1997-03-22 04:37 Ulrich Drepper <drepper@cygnus.com> + + * 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>. + +1997-03-21 13:41 Roland McGrath <roland@baalperazim.frob.com> + + * 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. + + * elf/rtld.c (dl_main): Pass ELF_MACHINE_RELOC_NOPLT to + _dl_lookup_symbol in place of DL_LOOKUP_NOPLT. + * sysdeps/i386/dl-machine.h (ELF_MACHINE_RELOC_NOPLT): New macro. + + * sysdeps/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. + + * elf/dl-reloc.c (RESOLVE): Remove STB_LOCAL check; let it be + per-machine since it supposedly can't happen on i386. + + * 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. + +1997-03-21 20:55 Ulrich Drepper <drepper@cygnus.com> + + * Makefile (distribute): Add BUGS. + + * sysdeps/generic/machine-gmon.h: Update copyright. + + * 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. + +1997-03-20 13:39 Andreas Jaeger <aj@arthur.pfalz.de> + + * 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. + +1997-03-21 05:54 Ulrich Drepper <drepper@cygnus.com> + + * 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>. + +1997-03-20 20:22 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/sysv/linux/readv.c: Don't emulate readv with small + UIO_FASTIOV value by multiple readv calls since we need atomicity. + * sysdeps/unix/sysv/linux/writev.c: Likewise. + Reported by Matthis Urlichs. + +1997-03-20 04:34 Roland McGrath <roland@baalperazim.frob.com> + + * 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. + + * Makeconfig [$(elf)=yes] (+prector, +postctor): New variables for + crtbegin.o/crtend.o, using gcc to find them. + (+link): Use them. + +1997-03-20 00:06 Richard Henderson <rth@tamu.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. + + * 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. + + * 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. + + * sysdeps/unix/sysv/linux/alpha/ioperm.c: Include ctype.h for isdigit. + +1997-03-20 14:51 Ulrich Drepper <drepper@cygnus.com> + + * nis/nis_file.c: Unify error handling. + +1997-03-19 18:36 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + + * 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. + + * sunrpc/rpc/netdb.h: Add setrpcent and endrpcent prototypes. + +1997-03-20 06:07 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/powerpc/dl-machine.h: Fix typo in last change. + + * sysdeps/unix/sparc/sysdep.h: Update copyright. + +1997-03-19 15:13 Miguel de Icaza <miguel@nuclecu.unam.mx> + + * stdlib/tst-strtol.c: Save the value of errno, printf may modify + it. + + * sysdeps/sparc/DEFS.h [HAVE_ELF]: Use type @function in the FUNC + macro on ELF systems. + + * sysdeps/sparc/configure.in: Fix. + + * sysdeps/sparc/dl-machine.h: Fix OPCODE_CALL. + + * sysdeps/sparc/setjmp.S: Fix my bugs. + + * sysdeps/unix/sysv/linux/sparc/Dist: Add start.c, fork.S, and pipe.S. + * sysdeps/unix/sysv/linux/sparc/Makefile: Define asm-CPPFLAGS and + as-FLAGS-.so. + * sysdeps/unix/sysv/linux/sparc/syscalls.list: Add fork, pipe, and + syscall. + * sysdeps/unix/sysv/linux/sparc/fork.S: New file. + * sysdeps/unix/sysv/linux/sparc/pipe.S: New file. + * sysdeps/unix/sysv/linux/sparc/socket.S: Fix. + * sysdeps/unix/sysv/linux/sparc/sysdep.h: Fix. + + * elf/dl-lookup.c (do_lookup): Return true if we found a weak + symbol. + (_dl_lookup_symbol): Test against the symbol being global not + against the symbol being not weak (fixes important problem with + the SPARC linker) + + * sysdeps/unix/sysv/linux/sparc/brk.c: Fix. + + * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for + Linux/SPARC (while I get my asmCPPFLAGS-so variable). + +1997-03-20 01:49 Ulrich Drepper <drepper@cygnus.com> + + * Makeconfig: (rpath-link): Add math/ directory. + (math-objdir): New variable. + (link-extra-lib): Define to special version when + $(common-objpfx)!=$(objpfx) to allow libraries outside + $(common-objpfx) be linked to the application. + + * math/Makefile: Add rules to build and run test programs. + * math/libm-test.c (_GNU_SOURCE): Define only if still undefined. + (check_equal): Correct check for error. + (ceil_test): Fix typo. + (log_test): Fix typo. + (floor_test): Fix typo. + (pow_test): Fix typos. + (log10_test): Allow slight incorrectness for `log10(e)'. + (modf_test): New functions to test `modf' et.al. + (hypot_test): Rewrite test completely. + Patch partly by Andreas Jaeger. + * math/test-double.h (__NO_MATH_INLINES): Define only if not + already defined. + * math/test-float.h: Likewise. + * math/test-logdouble.h: Likewise. + + * setjmp/setjmp.h: Change references of ANSI C to ISO C. + * setjmp/tst-setjmp.c: Correct and extend test suite. + * sysdeps/i386/__longjmp.S: Update copyright. + * sysdeps/i386/bsd-_setjmp.S: Correct fatal bug in jump to + `__sigsetjmp' in PIC code. + * sysdeps/i386/bsd-setjmp.S: Likewise. + + * sysdeps/libm-i387/e_pow.S: Correct recognition of mantissa + overflow. + * sysdeps/libm-i387/e_powf.S: Likewise. + * sysdeps/libm-i387/s_expm1.S: Handle x == +-0 as a special + case since expm1(-0) == -0. + * sysdeps/libm-i387/s_expm1f.S: Likewise. + * sysdeps/libm-i387/s_expm1l.S: Likewise. + * sysdeps/libm-ieee754/s_modf.c: Optimize code by avoiding unneeded + access to FP number. + * sysdeps/libm-ieee754/s_modff.c: Likewise. + * sysdeps/libm-ieee754/s_modfl.c: Correct former completely bogus + code. It never worked correctly. + * sysdeps/libm-ieee754/s_tanh.c: Handle x == +-0 as a special + case since tanh(-0) == -0. + * sysdeps/libm-ieee754/s_tanhf.c: Likewise. + * sysdeps/libm-ieee754/s_tanhl.c (__tanhl): Correct handling of -inf. + +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. + + * 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. + +1997-03-19 01:40 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/sysv/sco3.2.4/Dist: New file. + + * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c. + + * sysdeps/unix/bsd/Dist: Add bsdstat.h, setrgid.c, and setruid.c. + + * sysdeps/unix/sysv/Dist: Add direct.h. + + * sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h. + + * Make-dist ($(tardir).tar): Prefer writing temporary file to + $TMPDIR is available. The default is /tmp. + + * sysdeps/generic/ip.h: Move to... + * sysdeps/generic/netinet/ip.h: ...here. + + * Makefile (tests): Quote $(CC) argument to isomac program. + Patch by H.J. Lu <hjl@gnu.ai.mit.edu>. + + * 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. + + * sysdeps/libm-i387/e_pow.S: Compute PIC addres early. + * sysdeps/libm-i387/e_powf.S: Likewise. + * sysdeps/libm-i387/e_powl.S: Likewise. + +1997-03-18 23:18 Ulrich Drepper <drepper@cygnus.com> + + * time/offtime.c (__offtime): Change type of `yg' to long int. + Reported by a sun <asun@zoology.washington.edu>. + +1997-03-18 23:08 a sun <asun@zoology.washington.edu> + + * sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to + 2.2.0 to prevent version mismatch. + +1997-03-17 19:26 Andreas Jaeger <aj@arthur.pfalz.de> + + * stdio-common/printf_fphex.c (MIN): Only define MIN if not + already defined. + +1997-03-14 23:34 Geoff Keating <geoffk@ozemail.com.au> + + * sysdeps/unix/sysv/linux/powerpc/termbits.h: Leave ioctl numbers + in ioctls.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. + +1997-03-11 04:14 Geoff Keating <geoffk@ozemail.com.au> + + * 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. + + * 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. + +1997-03-08 09:10 Geoff Keating <geoffk@ozemail.com.au> + + * 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. + + * sysdeps/powerpc/bsd-setjmp.S: Make jump to PLT entry if we are + generating PIC. + * sysdeps/powerpc/bsd-_setjmp.S: Likewise. + * sysdeps/powerpc/setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise. + + * sysdeps/powerpc/elf/start.c: Clean up. + + * sysdeps/powerpc/__longjmp.S: Return 'value' as result from + setjmp call. + + * sysdeps/unix/sysv/linux/powerpc/statbuf.h: New file. + +1997-03-09 12:36 H.J. Lu <hjl@gnu.ai.mit.edu> + + * Make-dist (srcs): Add $(test-srcs). + * MakeTAGS (all-sources): Likewise. + * Makerules (depfiles, common-mostlyclean): Likewise. + * Rules (tests): Likewise. + +1997-03-18 05:28 Roland McGrath <roland@frob.com> + + * elf/dl-reloc.c (RESOLVE): Don't try to resolve local symbols. + +1997-03-17 21:39 Philip Blundell <phil@london.uk.eu.org> + + * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow + protocol=NULL to match any protocol rather than returning an + error. + +1997-03-17 19:00 Philip Blundell <phil@london.uk.eu.org> + + * nss/nss_files/files-service.c (servbyname): Match any protocol + if proto==NULL. + +1997-03-18 05:17 Ulrich Drepper <drepper@cygnus.com> + + * 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/libm-i387/e_log.S: Optimize branch code. + * sysdeps/libm-i387/e_logf.S: Likewise. + * sysdeps/libm-i387/e_logl.S: Likewise. + * sysdeps/libm-i387/e_log10.S: Likewise. + * sysdeps/libm-i387/e_log10f.S: Likewise. + * sysdeps/libm-i387/e_log10l.S: Likewise. + + * sysdeps/libm-i387/e_pow.S: Major rewrite to handle special cases. + * sysdeps/libm-i387/e_powf.S: Likewise. + * sysdeps/libm-i387/e_powl.S: Likewise. + + * sysdeps/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. + + * 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. + + * time/Makefile: Correct dependencies for test-tz. + +1997-03-16 14:59 Philip Blundell <phil@london.uk.eu.org> + + * resolv/netdb.h: Add prototypes for gai_strerror and getnameinfo + (needed for IPv6 basic sockets API). + +1997-03-16 15:02 a sun <asun@zoology.washington.edu> + + * sysdeps/unix/sysv/linux/net/if_ppp.h: Don't use incompatible + kernel header. + * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise. + +1997-03-14 17:15 Ulrich Drepper <drepper@cygnus.com> + + * 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. + +1997-03-13 11:42 Jim Meyering <meyering@asic.sc.ti.com> + + * time/mktime.c (TIME_T_MIN): Work around a bug in Cray C 5.0.3.0. + +1997-03-14 04:00 Kurt Garloff <garloff@kg1.ping.de> + + * sysdeps/unix/sysv/linux/fcntlbits.h (O_FSYNC): Make alias for O_SYNC. + (FASYNC): Move to __USE_BSD section. Create new macro O_ASYNC. + +1997-03-14 02:50 Ulrich Drepper <drepper@cygnus.com> + + * 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>. + +1997-02-17 01:40 Zlatko Calusic <zcalusic@srce.hr> + + * time/strptime.c (recursive): Return rp to caller. + (strptime_internal): First check for long names, then abbreviated + (month & weekday). + +1997-03-10 19:44 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * 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. + +1997-03-11 17:00 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * time/strptime.c (strptime_internal) [case 'Y']: Always subtract + 1900 from year, regardless of century. + +1997-03-12 05:43 Ulrich Drepper <drepper@cygnus.com> + + * 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/unix/sysv/linux/netinet/ip.h: Add backward-compatibility + definitions. Patch by a sun <asun@zoology.washington.edu>. + Pretty print header. + + * 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. + +1997-03-11 20:16 Andreas Jaeger <aj@arthur.pfalz.de> + + * manual/math.texi (Domain and Range Errors): Change descriptions + according to recent changes for ISO C 9X. + +1997-03-11 22:39 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/libm-ieee754/k_standard.c (__kernel_standard): Correct + return values for acos, asin, and atan2. + Reported by Andreas Jaeger <aj@arthur.pfalz.de>. + +1997-03-10 18:16 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + + * nis/ypclnt.c (__yp_bind): Fix possible buffer overflow. + +1997-03-10 18:06 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE> + + * dirent/alphasort.c (alphasort): Interpret arguments as pointers + to pointers to directory entries so that alphasort really can be + used as argument for scandir. + +1997-03-09 23:33 Andreas Jaeger <aj@arthur.pfalz.de> + + * string/strdup.c: Declare memcpy if !(_LIBC || STDC_HEADERS) + instead of strcpy. + +1997-03-10 03:34 Ulrich Drepper <drepper@cygnus.com> + + * 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. + +1997-03-10 02:46 Ulrich Drepper <drepper@cygnus.com> + + * Makeconfig (localtime-file): Don't define using installation + directory. + (inst_localtime-file): New variable. + * time/Makefile (installed-localtime-file): Use inst_localtime-file. + Reported by Edward Seidl <seidl@janed.com>. + +1997-03-10 02:31 H.J. Lu <hjl@gnu.ai.mit.edu> + + * time/Makefile: Add source files to dependencies for test data. + +1997-03-09 22:53 Thorsten Kukuk <kukuk@weber.uni-paderborn.de> + + * 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. + +1997-03-08 14:37 Miguel de Icaza <miguel@nuclecu.unam.mx> + + * sysdeps/sparc/dl-machine.h (elf_machine_rela): Upgrade to + versioning; Added missing R_SPARC_WDISP30 handling. + (RTLD_START): Implement it. + + * sysdeps/unix/sysv/linux/sparc/brk.c: Fix. + + * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for + Linux/SPARC. + +1997-03-02 18:06 Miguel de Icaza <miguel@nuclecu.unam.mx> + + * 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. + +1997-03-20 20:44 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + + * sysdeps/mach/hurd/euidaccess.c: Define as __euidaccess and make + euidaccess weak alias. + +1997-03-07 10:30 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + + * stdio-common/printf_fphex.c (MIN): New macro. + + * sysdeps/generic/netinet/in.h: Include <sys/types.h>. + + * sysdeps/generic/sys/mman.h (msync): Mention third arg. + + * sysdeps/generic/netinet/in.h: Add definitions for IPv6 basic + API. (See change by Philip Blundell on Feb 16, 1997.) + +1997-03-05 10:40 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + + * hurd/hurd.h (vpprintf): Include <stdarg.h>. New declaration. + + * hurd/set-host.c (_hurd_set_host_config): Cast second arg to + __file_name_split. + + * 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. + + * mach/mach/mach_traps.h: Include <mach/kern_return.h>. + + * mach/spin-solid.c: Include <mach/mach_traps.h>. + * mach/spin-solid.c (__spin_lock_solid): Provide arg to + swtch_pri. + + * mach/mach_init.c: Include <mach/mig_support.h>. + + * mach/mach_error.h (mach_error_string, mach_error, + mach_error_type): Always provide prototypes. + + * mach/mach/error.h (mach_error_fn_t): Comment out declaration; it + appears to be entirely unused dead code. + +1997-03-02 13:38 Miles Bader <miles@gnu.ai.mit.edu> + + * string/argz.h (__need_error_t): New macro, before including <errno.h> + [!__const] (__const): New macro. + [!__error_t_defined] (error_t): New typedef. + +1997-03-09 06:59 Ulrich Drepper <drepper@cygnus.com> + + * 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. + + * 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. + + * locale/setlocale.c (setlocale): Don't set usage_count to + MAX_USAGE_COUNT if it already has this value. + + * 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. + + * stdlib/Makefile (headers): Add inttypes.h. + * sysdeps/wordsize-32/inttypes.h: New file. + * sysdeps/wordsize-64/inttypes.h: New file. + + * sysdeps/generic/socketbits.h: Add PF_FILE as synonym for PF_LOCAL + and AF_FILE as synonym for AF_LOCAL. + * sysdeps/unix/sysv/linux/socketbits.h: Likewise. + + * time/Makefile: Rewrite rules for test to handle parallel builds. + +1997-03-09 05:26 Ulrich Drepper <drepper@cygnus.com> + + * manual/startup.texi (EXIT_FAILURE): Fix typo. Patch by + robbe@orcus.priv.at. + +1997-03-09 05:10 Edward Seidl <seidl@janed.com> + + * sysdeps/i386/elf/start.S (nofini): *Really* align stack to + 8-byte boundary. + +1997-03-09 01:48 Ulrich Drepper <drepper@cygnus.com> + + * elf/link.h: Define __need_NULL to get definition. Include + <features.h>. + Patch by Andreas Jaeger <aj@arthur.pfalz.de>. + +1997-03-08 21:48 Thorsten Kukuk <kukuk@tk.uni-paderborn.de> + + Rewrite NIS code to allow empty keys. + * nis/nss_nis/nis-ethers.c: Rewritten. + * nis/nss_nis/nis-proto.c: Rewritten. + * nis/nss_nis/nis-publickey.c: Rewritten. + * nis/nss_nis/nis-rpc.c: Rewritten. + * nis/nss_nis/nis-service.c: Rewritten. + +1997-03-08 16:02 Andreas Jaeger <aj@arthur.pfalz.de> + + * time/scheck.c (scheck): Add extra const to second argument. + + * time/private.h: Correct prototypes to match definition. + +1997-03-08 18:55 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/alpha/__math.h: Remove cabs inline definition. + Reported by Philip Blundell <pjb27@cam.ac.uk>. + +1997-03-08 05:30 Ulrich Drepper <drepper@cygnus.com> + + * argp/Makefile (routines): Add argp-eexst. + * argp/argp-ba.c (argp_program_bug_address): Make `const'. + * argp/argp-eexst.c: New file. Define exit status variable. + * argp/argp-help.c (__argp_state_help): Use argp_err_exit_status + variable instead of always exiting with value 1. + * argp/argp-pv.c (argp_program_version): Make `const'. + * argp/argp.h: Declare argp_err_exit_status. + Patches by Miles Bader <miles@gnu.ai.mit.edu>. + + * locale/programs/localedef.c: Use argp_err_exit_status to + terminate with correct value. + + * inet/rcmd.c (iruserok): Use euidaccess instead of half-hearted + switching of UID before opening .rhosts. + + * libio/vsnprintf.c: Change implementation to follow ISO C 9X + proposal. The return value now is always the number of characters + which would be written if enough space is available. + * manual/stdio.texi: Update description for new behaviour. + + * locale/locale.h (__locale_t): Don't use __locale_t for struct + name and pointer to struct since old gccs cannot keep the namespaces + apart. Rename struct to __locale_struct. + * locale/duplocale.h: Likewise. + * locale/newlocale.h: Likewise. + + * math/Makefile (headers): Add complex.h and cmathcalls.h. + (routines): Remove w_cabs. Add conj, cimag, creal, and cabs. + * math/math.h: Undefine __MATHDECL_1, __MATHDECL, and __MATHCALL + after use. + (signgam): Move declaration to here from mathcalls.h. + * math/mathcalls.h (cabs, __cabs_complex, signgam): Remove definition. + Correct comment for fmin and fmax. + Start implementing complex math function from ISO C 9X. + * math/complex.h: New file. + * math/cmathcalls.h: New file. + * math/cabs.c: New file. + * math/cabsf.c: New file. + * math/cabsl.c: New file. + * math/cimag.c: New file. + * math/cimagf.c: New file. + * math/cimagl.c: New file. + * math/conj.c: New file. + * math/conjf.c: New file. + * math/conjl.c: New file. + * math/creal.c: New file. + * math/crealf.c: New file. + * math/creall.c: New file. + * sysdeps/libm-ieee754/w_cabs.c: Removed. + * sysdeps/libm-ieee754/w_cabsf.c: Removed. + * sysdeps/libm-ieee754/w_cabsl.c: Removed. + + * posix/regex.c: Merge with regex sources from Arnold Robbins' + version in GNU awk. + * posix/regex.h: Likewise. + + Add regex test suite by Tom Lord. + * posix/Makefile (distribute): Add TESTS, TESTS2C.sed, and testcases.h. + (tests): Add runtests. + (before-compile): Add testcases.h. + (testcases.h): New rule to generate header with tests. + * posix/TESTS: New file. + * posix/TESTS2C.sed.: New file. + * posix/runtests.c: New file. + * posix/testcases.h: New file. + + * sysdeps/unix/sysv/linux/poll.c: Test whether poll syscall is + available and use fall-back implementation if not. + + * sysdeps/unix/sysv/linux/syscalls.list: Sort entries. + + * time/ialloc.c: Update from tzcode1997c. + * time/private.h: Likewise. + * time/scheck.c: Likewise. + * time/tzselect.ksh: Likewise. + * time/zdump.c: Likewise. + * time/zic.c: Likewise. + + * time/tzfile.c: Pretty print. + +1997-03-06 07:37 Geoff Keating <geoffk@ozemail.com.au> + + Port to powerpc-*-linux-gnu. Slightly tested, under MkLinux, + on a 601. + + * 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. + + * 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. + +1997-03-05 05:24 Geoff Keating <geoffk@ozemail.com.au> + + * 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. + +1997-03-04 08:04 Geoff Keating <geoffk@ozemail.com.au> + + * 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. + +1997-02-28 08:50 Geoff Keating <geoffk@ozemail.com.au> + + * elf/elf.h: Add in all those PowerPC reloc types. + +1997-02-24 07:12 Geoff Keating <geoffk@ozemail.com.au> + + * stdio-common/vfscanf.c: Use __va_copy if available. + +1997-03-06 13:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * malloc/malloc.c (mprotect) [_LIBC]: Define as __mprotect to + clean up namespace. + +1997-03-07 14:27 Ulrich Drepper <drepper@cygnus.com> + + * 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>. + +1997-03-07 05:27 Ulrich Drepper <drepper@cygnus.com> + + * 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>. + +1997-03-06 05:55 David Engel <david@sw.ods.com> + + * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Also + recognize cache entries with flag == 3. + +1997-03-06 01:05 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/generic/netinet/in.h (INADDR_NONE): Cast to unsigned int. + (INADDR_LOOPBACK): Likewise. + * sysdeps/unix/sysv/linux/netinet/in.h: Likewise. + + * manual/socket.texi: Correct types of INADDR_* constants from + unsigned long to unsigned. + +1997-03-05 23:14 Ulrich Drepper <drepper@cygnus.com> + + * time/antarctica: Update from tzdata1997c. + * time/asia: Likewise. + * time/zone.tab: Likewise. + +1997-03-05 00:43 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * configure.in (libc_cv_asm_symver_directive, + libc_cv_ld_version_script_option): Remove unknown instruction from + assembler test file. + +1997-03-04 19:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/m68k/fpu/__math.h: Update feature tests to use + __USE_ISOC9X. + [__USE_ISOC9X]: Define __log2 and __exp2 inlines. + (fabs): Remove defininition, it is a gcc builtin. + (sqrt, __sqrt): Remove definition, they have wrappers in libm. + +1997-03-04 10:11 H.J. Lu <hjl@lucon.org> + + * sunrpc/Makefile ($(objpfx)rpc-proto.c): Create subdir before + generating file. + +1997-03-05 03:59 Ulrich Drepper <drepper@cygnus.com> + + * inet/rcmd.c (__ivaliduser): Don't use getline, but __getline + instead to avoid namespace problems. + Reported by David Mosberger-Tang <davidm@AZStarNet.COM>. + +1997-03-03 19:01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * login/utmp_file.c: Fix previous change. Make portable by + checking the _HAVE_UT_* feature macros. + +1997-03-04 04:31 Ulrich Drepper <drepper@cygnus.com> + + * Makerules: Add rules to handle versioning. + * config.h.in (DO_VERSIONING): New macro. + * config.make.in (versioning): New variable. + * configure.in: Add checks for .symver directive in gas and + --version-script option to ld. Define DO_VERSIONING and + versioning if appropriate. + + * math/Makefile (routines): Add s_signbit, s_fpclassify, s_fmax, + s_fmin, and s_fdim. + * math/math.h: Define ISO C 9X constants, macros and functions. + * math/mathcalls.h: Likewise. + * sysdeps/libm-ieee754/s_fdim.c: New file. + * sysdeps/libm-ieee754/s_fdimf.c: New file. + * sysdeps/libm-ieee754/s_fdiml.c: New file. + * sysdeps/libm-ieee754/s_fmax.c: New file. + * sysdeps/libm-ieee754/s_fmaxf.c: New file. + * sysdeps/libm-ieee754/s_fmaxl.c: New file. + * sysdeps/libm-ieee754/s_fmin.c: New file. + * sysdeps/libm-ieee754/s_fminf.c: New file. + * sysdeps/libm-ieee754/s_fminl.c: New file. + * sysdeps/libm-ieee754/s_fpclassify.c: New file. + * sysdeps/libm-ieee754/s_fpclassifyf.c: New file. + * sysdeps/libm-ieee754/s_fpclassifyl.c: New file. + * sysdeps/libm-ieee754/s_signbit.c: New file. + * sysdeps/libm-ieee754/s_signbitf.c: New file. + * sysdeps/libm-ieee754/s_signbitl.c: New file. + + * stdio-common/printf_fphex.c: Correct printing of decimal point + character. + Simplify conversion of mantissa to string. + * stdio-common/vfscanf.c: Handle %A format. + Optimize termination of floating-point scanning. + * stdio-common/tstscanf.c (main): Add new test to scanf to test + scanning float values with given width. + * stdlib/strtod.c: Add handling of floating-point numbers in + hexadecimal notation. + + * stdlib/stdlib.h: Use __USE_ISOC9X feature macro for new long long + functions. + Pretty print #if directives. + * string/string.h: Pretty print #if directives. + + * sysdeps/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. + +1997-02-27 21:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * Makefile (tests): Cope with $PATH not including the current + directory. + +1997-02-27 18:04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/unix/Makefile ($(common-objpfx)mk-local_lim): Use + $(common-objdir-compile). + ($(common-objpfx)make-ioctls): Likewise. + (mk-local_lim-CFLAGS): Set this instead of local_lim-CFLAGS. + ($(common-objpfx)sys/param.h): Use $(make-target-directory). + ($(addprefix $(common-objpfx),$(sys/param.h-includes))): + Likewise. + ($(common-objpfx)sys/syscall.h): Likewise. + ($(common-objpfx)local_lim.h): Let make deal with command + failure. + ($(common-objpfx)param.h.dep): Use temporary file and update + target atomically. + ($(common-objpfx)errnos): Avoid the Useless Use of cat Award. + (include $(common-objpfx)param.h.dep): Ignore error. + + * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Use + $(common-objdir-compile). + (mk-stdiolim-CFLAGS): Renamed from cded-objdir-includes, use + $(shell pwd) instead of $$cwd. + + * sysdeps/generic/Makefile ($(common-objpfx)det_endian): Use + $(common-objdir-compile). + ($(objpfx)make_siglist): Use $(native-compile). + (make_siglist-CFLAGS): New variable. + + * Makerules (ALL_BUILD_CFLAGS): Renamed from BUILD_CFLAGS, leaving + the old name for the user to pass additional flags to the host + compiler. Fix reference to config header. + (native-compile, common-objdir-compile): Rewritten to make more + generally usable. + * sysdeps/unix/sysv/sysv4/solaris2/Makefile: Set ALL_BUILD_CFLAGS + instead of BUILD_CFLAGS. + + * sysvips/sys/ipc.h: Warn if needed feature select macro are not + defined. + +1997-02-27 17:11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sunrpc/Makefile ($(objpfx)rpc-proto.d, $(objpfx)rpc-proto.c): + New rules to generate dependencies for the RPC service objects. + +1997-02-27 16:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * argp/argp-parse.c (parser_finalize): Always set *END_INDEX if + supplied. + +1997-02-28 03:27 Ulrich Drepper <drepper@cygnus.com> + + * stdlib/strtod.c (STRTOF): Make sure return value is large enough + so that clearing second word is necessary. + + * sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel + header since it is wrong for 64 bit systems. + Patch by a sun <asun@zoology.washington.edu>. + +1997-02-27 10:34 Richard Henderson <rth@tamu.edu> + + * sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386 + and OSF/1 style brk syscalls. We may want to change Linux/Alpha + for the benefit of running foreign binaries. + +1997-03-01 20:21 Miles Bader <miles@gnu.ai.mit.edu> + + * 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. + + * login/logout.c (logout): Change type of entry to be DEAD_PROCESS. + +1997-02-25 19:42 Miles Bader <miles@gnu.ai.mit.edu> + + * sysdeps/mach/hurd/fcntlbits.h (O_NORW): New macro. + +1997-02-27 05:12 Ulrich Drepper <drepper@cygnus.com> + + * manual/Makefile: Add rules to run and distribute xtract-typefun. + * manual/xtract-typefun.awk: New file. Script to extract function, + variable, macro anchor to put into the `dir' file. + * manual/signal.texi: Document difference between SysV and BSD + signal(3) function and add documentation for sysv_signal. + + * sysdeps/libm-i387/e_acoshl.c: Clear upper half of word containing + exponent before comparing. + +1997-02-27 01:13 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/generic/netinet/in.h (htonl, htons, ntohl, ntohs): Change + prototypes to use types with explicit width. `unsigned long' is + different on 64 bit systems. + * sysdeps/unix/sysv/linux/netinet/in.h: Likewise. + * sysdeps/generic/htonl.c: Likewise. + * sysdeps/generic/htons.c: Likewise. + * sysdeps/generic/ntohl.c: Likewise. + * sysdeps/generic/ntohs.c: Likewise. + Suggested by a sun <asun@zoology.washington.edu>. + +1997-02-26 08:30 Andreas Jaeger <aj@arthur.pfalz.de> + + * math/math.h: Include <__math.h> if __NO_MATH_INLINES is not + defined and we want optimization. + +1997-02-02 19:53 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * misc/getpass.c: Don't disable canonical input. + Reverted patch of Mon Jan 6 01:35:29 1997. + +1996-12-14 22:07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * libio/libioP.h (_IO_finish_t): Take additional parameter, to + match the hidden __in_chrg parameter of the destructor. + (_IO_FINISH): Pass zero for it. + * libio/genops.c (_IO_default_finish): Add second parameter, which + is ignored. + * libio/memstream.c (_IO_mem_finish): Likewise. + * libio/fileops.c (_IO_file_finish): Likewise. + * libio/strops.c (_IO_str_finish): Likewise. All callers changed. + +1997-02-27 00:23 H.J. Lu <hjl@lucon.org> + + * time/Makefile: Avoid using patterns in dependencies. + +1997-02-26 00:56 Miguel de Icaza <miguel@nuclecu.unam.mx> + + * 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. + + * elf/rtld.c (_dl_start): On the SPARC we need to adjust the value + of arg to make it point to the actual values. + + * sysdeps/sparc/elf/DEFS.h: New ELF specific version. + * sysdeps/sparc/Dist: Mention sysdeps/sparc/elf/DEFS.h. + + * sysdeps/sparc/bsd-_setjmp.S, sysdeps/sparc/bsd-setjmp.S: Make + them PIC aware. + + * 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. + + * sysdeps/sparc/elf/start.S: Fix. + + * sysdeps/sparc/fpu_control.h: Remove duplicate declaration of + __setfpucw. + + * 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/sparc/setjmp.S: Make it PIC aware. + + * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Define + __ASSEMBLY__ before using kernel header. + + * sysdeps/unix/sysv/linux/sparc/Makefile: Use -mv8 flag to compile + rtld.c. + + * sysdeps/unix/sysv/linux/sparc/brk.c: Implement. + * sysdeps/unix/sysv/linux/sparc/profil-counter.h: Remove code + to handle old signals. + * sysdeps/unix/sysv/linux/sparc/sigaction.c: Implements sigaction + for all Linux/SPARC kernels. + * sysdeps/unix/sysv/linux/sparc/syscall.S: Add code to store + errno using __errno_location. + * sysdeps/unix/sysv/linux/sparc/sysdep.h: Add various handler + macros for assembler sources. + * sysdeps/unix/sysv/linux/sparc/errno.c: Define errno. + +1997-02-25 16:02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * elf/rtld.c (dl_main): Remove dead code that is never executed. + Rename local variable l to main_map where it is used to point to + the load_map for the executable. + +1997-02-25 15:03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * elf/dl-version.c (_dl_check_all_versions): Ignore libraries that + could not be found. + +1997-02-24 23:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * Makerules: Generate implicit object suffix rules automagically. + (o-iterator): Move before first use. + + * Makeconfig (all-object-suffixes): Add .bo suffix. + +1997-02-25 15:11 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/libm-i387/e_acoshf.S (__ieee754_acoshf): Test correct + word on stack for overflow. + +1997-02-24 23:05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> + + * 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(). + +1997-02-24 23:27 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/libm-ieee754/s_cbrtl.c: Shift B1_EXP value to right + position. + +1997-02-24 17:38 Ulrich Drepper <drepper@cygnus.com> + + * misc/error.c: Make error and error_at_line weak aliases of + __error and __error_at_line respectively. + Suggested by David Mosberger-Tang <davidm@AZStarNet.COM>. + + * sysdeps/unix/sysv/linux/i386/socket.S: Update copyright. + +1997-02-22 11:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * 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. + + * elf/rtld.c (dl_main): In verify mode check whether the dynamic + object contains an interpreter segment and exit with 2 if not. + +1997-02-23 01:23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * Makefile (distribute): Remove nsswitch.h, netgroup.h, mcheck.h + and xlocale.h. Make-dist adds them automagically. + +1997-02-22 12:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * locale/C-time.c (_nl_C_LC_TIME): Add missing entry for + time-era-num-entries. + +1997-02-06 13:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * rellns-sh: No need to check for existance of first parameter. + +1997-02-24 15:20 Jonathan T. Agnew <jtagnew@amherst.edu> + + * glibcbug.in: Don't mention destination on MAIL_AGENT command line + to avoid duplicate mail. + +1997-02-24 03:51 Ulrich Drepper <drepper@cygnus.com> + + * Makefile (distribute): Add isomac.c. + (tests): Run isomac test. + + * features.h (__USE_ISOC9X): New macro. + + * 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. + + * 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. + + * stdlib/strtod.c: Change to recognize INF, INFINITY, NAN, and + NAN(...). + + * sysdeps/ieee754/huge_val.h: Define HUGE_VALF and HUGE_VALL instead + of HUGE_VALf and HUGE_VALL. + * stdlib/strtof.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALF + instead of HUGE_VALf. + * wcsmbs/wcstof.c: Likewise. + * stdlib/strtold.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALL + instead of HUGE_VALl. + * wcsmbs/wcstold.c: Likewise. + + * sysdeps/posix/gai_strerror.c: Use size_t for counter variable to + avoid warning. + + * 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. + + * 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. + + * locale/programs/locale.c: Little adjustment for better usage of + argp. + +1997-02-20 20:07 Greg McGary <gkm@eng.ascend.com> + + * Makeconfig: Add rules for libc with bounded pointers. + * Makerules: Likewise. + * config.make.in: Likewise. + * configure.in: Likewise. + +1997-02-21 10:41 Miles Bader <miles@gnu.ai.mit.edu> + + * argp/argp.h (OPTION_NO_USAGE): New macro. + * argp/argp-help.c (usage_long_opt, usage_argful_short_opt, + add_argless_short_opt): Implement OPTION_NO_USAGE. + +1997-02-20 16:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * malloc/obstack.h: Fix typo. + +1997-02-20 15:56 Miles Bader <miles@gnu.ai.mit.edu> + + * argp/argp-fmtstream.c (__argp_fmtstream_update): Account for case + where NEXTLINE points one past the end of the active buffer. + + * 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. + + * argp/argp.h (argp_program_bug_address): Make const. + +1997-02-20 19:20 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/mman/syscalls.list: Explain msync interface. + +1997-02-19 01:37 Erik Troan <ewt@redhat.com> + + * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields. + +1997-02-20 14:44 Andreas Jaeger <aj@arthur.pfalz.de> + + * stdio-common/test-fseek.c: Remove temporary file, add + copyright. + +1997-02-20 17:51 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/generic/netinet/in.h: Protect contents using + __BEGIN/END_DECLS. Reported by a sun <asun@zoology.washington.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. + +1997-02-20 15:23 Thorsten Kukuk <kukuk@weber.uni-paderborn.de> + + * nss/nsswitch.c (__nss_configure_lookup): Use correct test when + searching in sorted array. + +1997-02-20 01:24 Philip Blundell <pjb27@cam.ac.uk> + + * inet/getnameinfo.c: Change to use reentrant getXXbyYY functions + and protect modification of global data. + +1997-02-19 18:48 Miles Bader <miles@gnu.ai.mit.edu> + + * 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. + + * 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. + +1997-02-19 23:34 Ulrich Drepper <drepper@cygnus.com> + + * locale/programs/ld-time.c (time_finish): t_fmt_ampm is optional. + Use default value instead of printing a warning. + + * nss/XXX-lookup.c: Add missing explanation. + +1997-02-19 19:14 Andreas Jaeger <aj@arthur.pfalz.de> + + * inet/in6_addr.c: Add missing braces. + + * inet/getnameinfo.c: Include <arpa/inet.h>. + + * sysdeps/posix/getaddrinfo.c: Include <arpa/inet.h>. + +1997-02-19 11:46 Ulrich Drepper <drepper@cygnus.com> + + * 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. + + * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'. + +1997-02-19 03:28 Miles Bader <miles@gnu.ai.mit.edu> + + * 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. + + * argp/argp-test.c: Add example for filter. + +1997-02-19 02:58 Ulrich Drepper <drepper@cygnus.com> + + * argp.h: New file. + * locale/programs/locale.c: Switch to use argp. + + * errno.h: Make it possible to get definition of error_t even + after having errno.h already. + + * elf/dl-hash.h: New file. ELF hashing function. Extracted + from dl-lookup.c. + * elf/dl-lookup.c (_dl_elf_hash): Remove definition. + + * elf/dl-load.c: Rename _dl_does_name_match_p to _dl_name_match_p. + * elf/dl-version.c: Likewise. + + * elf/dl-lookup.c: Implement new versioning lookup scheme. + * elf/dl-version.c (_dl_check_map_versions): Initialize new field + in l_versions member. + + * elf/dlvsym.c: Correct call of _dl_lookup_versioned_symbol_skip + and _dl_lookup_versioned_symbol. + + * 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. + + * intl/l10nflist.c: (_nl_make_l10nflist): Fix bug in computation of + length of abs_filename. + + * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH. + + * 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. + + * locale/programs/locale.c: Check whether output of `locale -a' + really is locale directory. Also print locale aliases. + + * misc/search.h (__action_fn_t): Parameters VALUE and LEVEL cannot + be const. + +1997-02-19 02:16 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Correct #defin to + #define. Reported by Rick Flower <FLOWER@sdvax2.sdd.TRW.COM>. + +1997-02-19 01:37 Erik Troan <ewt@redhat.com> + + * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields. + +1997-02-19 01:02 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments. + Reported by Andreas Jaeger <aj@arthur.pfalz.de>. + + * sysdeps/stub/msync.c (msync): Add missing third parameter. + +1997-02-19 00:29 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed + additional argument. + +1997-02-18 22:13 Ulrich Drepper <drepper@cygnus.com> + + * 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>. + + * 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>. + +1997-02-16 14:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * Makerules ((common-objpfx)distinfo-$(subdir)): Depend on sysdep + makefiles which may change the distinfo variables. + +1997-02-16 14:03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) + [$(subdir)=misc]: Add sys/quota.h. + (sysdep_headers) [$(subdir)=inet]: Add netinet/udp.h. + +1997-02-17 13:12 aleph1@dfw.net + + * sunrpc/clnt_simp.c (callrpc): Prevent buffer overflow by using + strncpy. + +1997-02-18 03:28 Ulrich Drepper <drepper@cygnus.com> + + * stdio-common/bug10.c (main): Correct parameter. + +1997-02-17 02:51 Ulrich Drepper <drepper@cygnus.com> + + * 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. + +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. + + * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes. + + * 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. + +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. + + * 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. + + * Makefile (subdirs): Add argp. + + * catgets/catgets.c (catopen): Little code improvement. + + * posix/execl.c: Remove restriction to 1024 arguments. + * posix/execle.c: Likewise. + * posix/execlp.c: Likewise. + + * posix/getopt.c [_LIBC]: Define global objects with __ prefix + and make regular names weak aliases. + * posix/getopt1.c: Likewise. + * posix/getopt.h [_LIBC]: Provide prototypes and declarations for + __ protected forms. + + * posix/unistd.h: Add prototype for __sleep. + * sysdeps/mach/sleep.c: Make sleep weak alias of __sleep. + * sysdeps/posix/sleep.c: Likewise. + * sysdeps/stub/sleep.c: Likewise. + * sysdeps/unix/sysv/linux/sleep.c: Likewise. + + * ctype/ctype-info.c: Update copyright. + * ctype/ctype.c: Likewise. + * ctype/test_ctype.c: Likewise. + * dirent/alphasort.c: Likewise. + * dirent/list.c: Likewise. + * gmon/bb_exit_func.c: Likewise. + * grp/fgetgrent.c: Likewise. + * grp/getgrent.c: Likewise. + * grp/getgrent_r.c: Likewise. + * grp/getgrgid.c: Likewise. + * grp/getgrgid_r.c: Likewise. + * grp/getgrnam.c: Likewise. + * grp/getgrnam_r.c: Likewise. + * hurd/alloc-fd.c: Likewise. + * hurd/catch-exc.c: Likewise. + * hurd/ctty-input.c: Likewise. + * hurd/ctty-output.c: Likewise. + * hurd/dtable.c: Likewise. + * hurd/fchroot.c: Likewise. + * hurd/fd-close.c: Likewise. + * hurd/fd-read.c: Likewise. + * hurd/fd-write.c: Likewise. + * hurd/fopenport.c: Likewise. + * hurd/get-host.c: Likewise. + * hurd/getdport.c: Likewise. + * hurd/getuids.c: Likewise. + * hurd/getumask.c: Likewise. + * hurd/hurd-raise.c: Likewise. + * hurd/hurd.h: Likewise. + * hurd/hurdauth.c: Likewise. + * hurd/hurdexec.c: Likewise. + * hurd/hurdhost.h: Likewise. + * hurd/hurdid.c: Likewise. + * hurd/hurdinit.c: Likewise. + * hurd/hurdioctl.c: Likewise. + * hurd/hurdkill.c: Likewise. + * hurd/hurdlookup.c: Likewise. + * hurd/hurdmsg.c: Likewise. + * hurd/hurdpid.c: Likewise. + * hurd/hurdports.c: Likewise. + * hurd/hurdprio.c: Likewise. + * hurd/hurdrlimit.c: Likewise. + * hurd/hurdsock.c: Likewise. + * hurd/hurdstartup.c: Likewise. + * hurd/hurdstartup.h: Likewise. + * hurd/intern-fd.c: Likewise. + * hurd/intr-msg.c: Likewise. + * hurd/intr-rpc.defs: Likewise. + * hurd/intr-rpc.h: Likewise. + * hurd/msgportdemux.c: Likewise. + * hurd/new-fd.c: Likewise. + * hurd/openport.c: Likewise. + * hurd/pid2task.c: Likewise. + * hurd/port-cleanup.c: Likewise. + * hurd/port2fd.c: Likewise. + * hurd/ports-get.c: Likewise. + * hurd/ports-set.c: Likewise. + * hurd/privports.c: Likewise. + * hurd/report-wait.c: Likewise. + * hurd/set-host.c: Likewise. + * hurd/setauth.c: Likewise. + * hurd/setuids.c: Likewise. + * hurd/siginfo.c: Likewise. + * hurd/sigunwind.c: Likewise. + * hurd/task2pid.c: Likewise. + * hurd/thread-cancel.c: Likewise. + * hurd/thread-self.c: Likewise. + * hurd/vpprintf.c: Likewise. + * hurd/hurd/fd.h: Likewise. + * hurd/hurd/id.h: Likewise. + * hurd/hurd/ioctl.h: Likewise. + * hurd/hurd/lookup.h: Likewise. + * hurd/hurd/port.h: Likewise. + * hurd/hurd/resource.h: Likewise. + * hurd/hurd/threadvar.h: Likewise. + * hurd/hurd/userlink.h: Likewise. + * inet/ether_aton.c: Likewise. + * inet/ether_aton_r.c: Likewise. + * inet/ether_ntoa.c: Likewise. + * inet/ether_ntoa_r.c: Likewise. + * inet/gethstbyad.c: Likewise. + * inet/gethstbyad_r.c: Likewise. + * inet/gethstent.c: Likewise. + * inet/getnetbyad.c: Likewise. + * inet/getnetbyad_r.c: Likewise. + * inet/getnetbynm.c: Likewise. + * inet/getnetbynm_r.c: Likewise. + * inet/getnetent.c: Likewise. + * inet/getnetent_r.c: Likewise. + * inet/getproto.c: Likewise. + * inet/getproto_r.c: Likewise. + * inet/getprtent.c: Likewise. + * inet/getprtent_r.c: Likewise. + * inet/getprtname.c: Likewise. + * inet/getrpcbyname.c: Likewise. + * inet/getrpcbyname_r.c: Likewise. + * inet/getrpcbynumber.c: Likewise. + * inet/getrpcbynumber_r.c: Likewise. + * inet/getrpcent.c: Likewise. + * inet/getrpcent_r.c: Likewise. + * inet/getservent.c: Likewise. + * inet/getservent_r.c: Likewise. + * inet/getsrvbynm.c: Likewise. + * inet/getsrvbynm_r.c: Likewise. + * inet/getsrvbypt.c: Likewise. + * inet/getsrvbypt_r.c: Likewise. + * inet/herrno.c: Likewise. + * inet/netgroup.h: Likewise. + * ient/netinet/ether.h: Likewise. + * intl/bindtextdom.c: Likewise. + * intl/dcgettext.c: Likewise. + * intl/dgettext.c: Likewise. + * intl/gettext.c: Likewise. + * intl/gettext.h: Likewise. + * intl/gettextP.h: Likewise. + * intl/hash-string.h: Likewise. + * intl/loadmsgcat.c: Likewise. + * intl/localealias.c: Likewise. + * intl/textdomain.c: Likewise. + * io/creat.c: Likewise. + * io/getdirname.c: Likewise. + * io/lockf.c: Likewise. + * io/pwd.c: Likewise. + * io/test-utime.c: Likewise. + * locale/categories.def: Likewise. + * locale/codeset_name.c: Likewise. + * locale/lc-collate.c: Likewise. + * locale/lc-ctype.c: Likewise. + * locale/lc-messages.c: Likewise. + * locale/lc-monetary.c: Likewise. + * locale/lc-numeric.c: Likewise. + * locale/lc-time.c: Likewise. + * locale/loadlocale.c: Likewise. + * locale/localeconv.c: Likewise. + * locale/nl_langinfo.c: Likewise. + * locale/setlocale.c: Likewise. + * locale/strlen-hash.h: Likewise. + * locale/programs/charmap-kw.gperf: Likewise. + * locale/programs/charmap-kw.h: Likewise. + * locale/programs/charset.c: Likewise. + * locale/programs/ld-ctype.c: Likewise. + * locale/programs/ld-messages.c: Likewise. + * locale/programs/ld-monetary.c: Likewise. + * locale/programs/linereader.h: Likewise. + * locale/programs/locale-spec.c: Likewise. + * locale/programs/locales.h: Likewise. + * locale/programs/locfile-kw.gperf: Likewise. + * locale/programs/locfile-kw.h: Likewise. + * locale/programs/locfile-token.h: Likewise. + * locale/programs/simple-hash.h: Likewise. + * locale/programs/stringtrans.c: Likewise. + * locale/programs/stringtrans.h: Likewise. + * login/logout.c: Likewise. + * mach/bootprivport.c: Likewise. + * mach/devstream.c: Likewise. + * mach/hello.c: Likewise. + * mach/mach.h: Likewise. + * mach/mach_init.c: Likewise. + * mach/mach_init.h: Likewise. + * mach/mig-alloc.c: Likewise. + * mach/mig-dealloc.c: Likewise. + * mach/mutex-init.c: Likewise. + * mach/mutex-solid.c: Likewise. + * mach/setup-thread.c: Likewise. + * mach/spin-lock.h: Likewise. + * mach/spin-solid.c: Likewise. + * mach/mach/mig_support.h: Likewise. + * md5-crypt/md5-crypt.c: Likewise. + * misc/nlist.h: Likewise. + * nss/nss_files/files-ether.c: Likewise. + * posix/confstr.c: Likewise. + * posix/execl.c: Likewise. + * posix/execle.c: Likewise. + * posix/execlp.c: Likewise. + * posix/execv.c: Likewise. + * posix/execvp.c: Likewise. + * posix/fnmatch.c: Likewise. + * posix/getopt.c: Likewise. + * posix/getopt.h: Likewise. + * posix/getopt1.c: Likewise. + * posix/id.c: Likewise. + * posix/regex.c: Likewise. + * posix/setpgrp.c: Likewise. + * posix/unistd.h: Likewise. + * posix/wordexp.c: Likewise. + * pwd/fgetpwent.c: Likewise. + * pwd/getpwent.c: Likewise. + * pwd/getpwent_r.c: Likewise. + * pwd/getpwnam.c: Likewise. + * pwd/getpwnam_r.c: Likewise. + * pwd/getpwuid.c: Likewise. + * pwd/getpwuid_r.c: Likewise. + * pwd/putpwent.c: Likewise. + * resolv/gethnamaddr.c: Likewise. + * resolv/res_hconf.c: Likewise. + * resolv/res_hconf.h: Likewise. + * setjmp/longjmp.c: Likewise. + * setjmp/sigjmp.c: Likewise. + * setjmp/tst-setjmp.c: Likewise. + * stdio/clearerr.c: Likewise. + * stdio/ferror.c: Likewise. + * stdio/fgetc.c: Likewise. + * stdio/fgetpos.c: Likewise. + * stdio/fgets.c: Likewise. + * stdio/fileno.c: Likewise. + * stdio/fmemopen.c: Likewise. + * stdio/fopen.c: Likewise. + * stdio/fopncook.c: Likewise. + * stdio/fputc.c: Likewise. + * stdio/fputs.c: Likewise. + * stdio/fread.c: Likewise. + * stdio/freopen.c: Likewise. + * stdio/fseek.c: Likewise. + * stdio/fsetpos.c: Likewise. + * stdio/ftell.c: Likewise. + * stdio/fwrite.c: Likewise. + * stdio/getchar.c: Likewise. + * stdio/getdelim.c: Likewise. + * stdio/gets.c: Likewise. + * stdio/glue.c: Likewise. + * stdio/internals.c: Likewise. + * stdio/linewrap.c: Likewise. + * stdio/linewrap.h: Likewise. + * stdio/memstream.c: Likewise. + * stdio/newstream.c: Likewise. + * stdio/putchar.c: Likewise. + * stdio/puts.c: Likewise. + * stdio/rewind.c: Likewise. + * stdio/setbuf.c: Likewise. + * stdio/setbuffer.c: Likewise. + * stdio/setlinebuf.c: Likewise. + * stdio/setvbuf.c: Likewise. + * stdio/ungetc.c: Likewise. + * stdio/vasprintf.c: Likewise. + * stdio/vscanf.c: Likewise. + * stdio/vsnprintf.c: Likewise. + * stdio/vsprintf.c: Likewise. + * stdio/vsscanf.c: Likewise. + * stdio-common/asprintf.c: Likewise. + * stdio-common/dprintf.c: Likewise. + * stdio-common/errnobug.c: Likewise. + * stdio-common/fprintf.c: Likewise. + * stdio-common/getline.c: Likewise. + * stdio-common/getw.c: Likewise. + * stdio-common/perror.c: Likewise. + * stdio-common/psignal.c: Likewise. + * stdio-common/putw.c: Likewise. + * stdio-common/reg-printf.c: Likewise. + * stdio-common/scanf.c: Likewise. + * stdio-common/snprintf.c: Likewise. + * stdio-common/sprintf.c: Likewise. + * stdio-common/tempnam.c: Likewise. + * stdio-common/test_rdwr.c: Likewise. + * stdio-common/tst-fileno.c: Likewise. + * stdio-common/tst-printf.c: Likewise. + * stdio-common/tstgetln.c: Likewise. + * stdio-common/vprintf.c: Likewise. + * stdlib/drand48.c: Likewise. + * stdlib/drand48_r.c: Likewise. + * stdlib/erand48.c: Likewise. + * stdlib/erand48_r.c: Likewise. + * stdlib/exit.h: Likewise. + * stdlib/strtoq.c: Likewise. + * stdlib/strtoul.c: Likewise. + * stdlib/strtouq.c: Likewise. + * stdlib/test-canon.c: Likewise. + * stdlib/testdiv.c: Likewise. + * stdlib/testrand.c: Likewise. + * string/argz-append.c: Likewise. + * string/argz-count.c: Likewise. + * string/argz-create.c: Likewise. + * string/argz-ctsep.c: Likewise. + * string/argz-delete.c: Likewise. + * string/argz-extract.c: Likewise. + * string/argz-insert.c: Likewise. + * string/argz-next.c: Likewise. + * string/argz-stringify.c: Likewise. + * string/basename.c: Likewise. + * string/envz.c: Likewise. + * string/memfrob.c: Likewise. + * string/strcoll.c: Likewise. + * string/strdup.c: Likewise. + * string/string.h: Likewise. + * string/strndup.c: Likewise. + * string/strnlen.c: Likewise. + * string/strsignal.c: Likewise. + * string/strxfrm.c: Likewise. + * string/test-ffs.c: Likewise. + * string/testcopy.c: Likewise. + * sysdeps/generic/enbl-secure.c: Likewise. + * sysdeps/generic/memcopy.h: Likewise. + * sysdeps/generic/stpncpy.c: Likewise. + * sysdeps/generic/strcasecmp.c: Likewise. + * sysdeps/generic/strcat.c: Likewise. + * sysdeps/generic/strchr.c: Likewise. + * sysdeps/generic/strcpy.c: Likewise. + * sysdeps/generic/strcspn.c: Likewise. + * sysdeps/generic/strlen.c: Likewise. + * sysdeps/generic/strncase.c: Likewise. + * sysdeps/generic/strncat.c: Likewise. + * sysdeps/generic/strncpy.c: Likewise. + * sysdeps/generic/strpbrk.c: Likewise. + * sysdeps/generic/strsep.c: Likewise. + * sysdeps/generic/strspn.c: Likewise. + * sysdeps/generic/strstr.c: Likewise. + * sysdeps/generic/strtok.c: Likewise. + * sysdeps/generic/strtok_r.c: Likewise. + * sysdeps/mach/sleep.c: Likewise. + * sysdeps/posix/sleep.c: Likewise. + * sysdeps/stub/sleep.c: Likewise. + * time/date.c: Likewise. + * time/test_time.c: Likewise. + * wcsmbs/wmemcpy.c: Likewise. + * wctye/test_wctype.c: Likewise. + * wctye/towctrans.c: Likewise. + * wctye/wcfuncs.c: Likewise. + * wctye/wctrans.c: Likewise. + +1997-02-13 22:15 Miles Bader <miles@gnu.ai.mit.edu> + + * argp/Makefile: New file. + * argp/argp.h: Likewise. + * argp/argp-ba.c: Likewise. + * argp/argp-fmtstream.c: Likewise. + * argp/argp-fmtstream.h: Likewise. + * argp/argp-fs-xinl.c: Likewise. + * argp/argp-help.c: Likewise. + * argp/argp-namefrob.h: Likewise. + * argp/argp-parse.c: Likewise. + * argp/argp-pv.c: Likewise. + * argp/argp-pvh.c: Likewise. + * argp/argp-test.c: Likewise. + * argp/argp-xinl.c: Likewise. + +1997-02-13 11:44 Andreas Jaeger <aj@arthur.pfalz.de> + + * stdlib/qsort.c: Add prototype for _quicksort. + + * stdlib/msort.c (qsort): Correct prototype for _quicksort. + + * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning + from dl-machine.h. + +1997-02-13 18:18 Marcus G. Daniels <marcus@sysc.pdx.edu> + + * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file. + Allow user to overwrite it. + +1997-02-13 17:55 Ulrich Drepper <drepper@cygnus.com> + + * libio/_G_config.h: Make sure wint_t is also defined for old gcc + versions. Reported by Andreas Jaeger. + +1997-02-13 11:44 Andreas Jaeger <aj@arthur.pfalz.de> + + * time/tzfile.c (__tzfile_read): Change comment to follow + change of 1997-02-12. + +1997-02-13 02:32 Ulrich Drepper <drepper@cygnus.com> + + * time/time.h (__nanosleep): Define only when struct timespec is + also available. + Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>. + +1997-02-12 21:34 a sun <asun@zoology.washington.edu> + + * sysdeps/unix/sysv/linux/netinet/udp.h: New file. + * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h. + +1997-02-12 21:16 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. + +1997-02-11 18:52 H.J. Lu <hjl@gnu.ai.mit.edu> + + * libio/_G_config.h (_G_wint_t): New. + +1997-02-09 11:31 H.J. Lu <hjl@gnu.ai.mit.edu> + + * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf) + to sizeof (buf.buf) while calling res_search (). + +1997-02-03 20:01 H.J. Lu <hjl@gnu.ai.mit.edu> + + * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat, + val to keydat, stat to status. + +1997-02-12 20:45 Andreas Jaeger <jaeger@informatik.uni-kl.de> + + * time/tzfile.c (__tzfile_read): Fix problem with SUID programs. + +1997-02-12 19:55 Ulrich Drepper <drepper@cygnus.com> + + * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4 + by Keith Bostic. + +1997-02-11 14:49 Andreas Jaeger <jaeger@informatik.uni-kl.de> + + * stdlib/atoll.c: Undefine atoll, not atol. + +1997-02-08 09:36 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove + unused arguments of shell script. + + * Makeconfig (all-object-suffixes): New variable. + * Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead + of $(object-suffixes). + * sysdeps/unix/make-syscalls.sh: Likewise. Fix comment. + +1997-02-10 17:45 Ulrich Drepper <drepper@cygnus.com> + + * string/argz-ctsep.c: Initialize *LEN when successful. + +1997-02-09 04:35 Ulrich Drepper <drepper@cygnus.com> + + * stdio-common/_itoa.h: Update copyright. + +1997-02-09 02:59 Ulrich Drepper <drepper@cygnus.com> + + * version.h (VERSION): Bump to 2.0.2. + + * posix/Makefile (routines): Add getopt_init. + * posix/getopt.c: Don't get environment variable with nonoption + flags here. Depend on __getopt_nonoption_flags variable filled + somewhere else. This is necessary since the variable must be + removed even when getopt isn't used in case exec(2) gets called. + * posix/getopt_init.c: New file. Initialize __getopt_nonoption_flags + and remove environment variable. + * sysdeps/i386/init-first.c: Call __getopt_clean_environment. + * sysdeps/mach/hurd/i386/init-first.c: Likewise. + * sysdeps/stub/init-first.c: Likewise. + * sysdeps/unix/sysv/linux/init-first.c: Likewise. + + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize + AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize. + + * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES + encryption is wanted. + + * libio/vsnprintf.c: If MAXLEN is 0 return 0. + * stdio/vsnprintf.c: Likewise. + Reported by Philip Blundell <pjb27@cam.ac.uk>. + + * libio/vsnprintf.c: If MAXLEN is 0 return 0. + * stdio/vsnprintf.c: Likewise. + Reported by Philip Blundell <pjb27@cam.ac.uk>. + +1997-02-07 17:43 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/generic/sysd-stdio.c: Include <errno.h>. + Change PTR to void *. + * sysdeps/posix/vdprintf.c: Change PTR to void *. + Reported by Brian Oxley <boxley%dev.cm.ssb.com@clipper.ssb.com>. + +1997-02-07 17:41 Philip Blundell <pjb27@cam.ac.uk> + + * sysdeps/unix/sysv/linux/socketbits.h: Fix typo. + +1997-02-06 13:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * rellns-sh: No need to check for existance of first parameter. + +1997-02-06 13:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * rellns-sh: No need to check for existance of first parameter. + +1997-02-06 14:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks. Reported + by David Holland <dholland@eecs.harvard.edu>. + +1997-02-06 14:38 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * 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. + + * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids + array. + + * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t + and gid_t. + + * sunrpc/auth_unix.c (authunix_validate): Fix type of second + argument. + +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. + +1997-01-29 16:16 Fila Kolodny <fila@ibi.com> + + * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of + NULL. + * sysdeps/posix/sigwait.c: Likewise. + +1997-01-28 23:42 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * Makeconfig ($(common-objpfx)config.make): Depend on + $(..)config.make.in. + +1997-01-29 04:30 Ulrich Drepper <drepper@cygnus.com> + + * sunrpc/Makefile: Don't generate headers derived from .x files when + crosscompiling. + +1997-01-28 10:51 Richard Henderson <rth@tamu.edu> + + * 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. + + * 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. + + * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp. + +1997-01-28 12:16 Andreas Jaeger <aj@arthur.pfalz.de> + + * elf/Makefile (CFLAGS-dl-load.c): Use += to not + override the definition. + +1997-01-28 20:13 Fila Kolodny <fila@ibi.com> + + * config.make.in (malloc): Remove. + +1997-01-28 04:23 Ulrich Drepper <drepper@cygnus.com> + + * version.h (VERSION): Bump to 2.0.1. + + * 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. + +1997-01-28 02:38 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new + stack. + +1997-01-27 17:34 Thorsten Kukuk <kukuk@weber.uni-paderborn.de> + + * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so + that it works with yp.h. + +1997-01-27 13:28 Ulrich Drepper <drepper@cygnus.com> + + * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as + __libc_malloc_initialized so that this variable is not shared with + other users of GNU malloc. + Suggested by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>. + + * mcheck.h: Correct typo. Use malloc/ instead of new-malloc/. + + * 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. + +1997-01-14 14:20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * malloc/malloc.c (weak_variable): Define. + (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook, + __memalign_hook): Make them weak definitions. + +1997-01-26 11:35 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * 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. + +1997-01-25 18:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple + inclusion. + + +See ChangeLog.6 for earlier changes. diff --git a/FAQ b/FAQ index 1dcb3a3fb1..653bbbfa7f 100644 --- a/FAQ +++ b/FAQ @@ -104,6 +104,11 @@ please let me know. [Q29] ``I don't include any kernel header myself but still the compiler complains about type redeclarations of types in the kernel headers.'' + +[Q30] ``When I start the program XXX after upgrading the library + I get + XXX: Symbol `_sys_errlist' has different size in shared object, consider re-linking + Why? What to do?'' ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [Q1] ``What systems does the GNU C Library run on?'' @@ -777,6 +782,29 @@ ones. See the BUGS file for other known problems. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ +[Q30] ``When I start the program XXX after upgrading the library + I get + XXX: Symbol `_sys_errlist' has different size in shared object, consider re-linking + Why? What to do?'' + +[A30] {UD} As the message says, relink the binary. The problem is that +very few symbols from the library can change in size and there is no way +to avoid this. _sys_errlist is a good example. Occasionally there are +new error numbers added to the kernel and this must be reflected at user +level. + +But this does not mean all programs are doomed once such a change is +necessary. Such symbols should normally not be used at all. There are +mechanisms to avoid using them. In the case of _sys_errlist, there is the +strerror() function which should _always_ be used instead. So the correct +fix is to rewrite that part of the application. + +In some situations (especially when testing a new library release) it might +be possible that such a symbol size change slipped in though it must not +happen. So in case of doubt report such a warning message as a problem. + + +~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Answers were given by: {UD} Ulrich Drepper, <drepper@cygnus.com> diff --git a/Make-dist b/Make-dist index df06fba3c1..981d5e68f4 100644 --- a/Make-dist +++ b/Make-dist @@ -96,7 +96,7 @@ foo:=$(shell echo 'try-sysdeps=$(try-sysdeps)'>&2) foo:=$(shell echo 'generic +sysdeps=$(+sysdeps)'>&2) +sysdep-names := $(sort $(patsubst $(..)sysdeps/generic/%,%,\ $(patsubst $(..)sysdeps/libm-ieee754/%,%,\ - $(+sysdeps))))) + $(+sysdeps)))) foo:=$(shell echo '+sysdep-names=$(+sysdep-names)' >&2) ifdef subdir-dirs diff --git a/Makeconfig b/Makeconfig index 2eb1ce1975..ba777880bf 100644 --- a/Makeconfig +++ b/Makeconfig @@ -217,6 +217,12 @@ i18ndir = $(datadir)/i18n endif inst_i18ndir = $(install_root)$(i18ndir) +# Where to install the shared object for charset transformation. +ifndef gconvdir +gconvdir = $(libdir)/gconv +endif +inst_gconvdir = $(install_root)$(gconvdir) + # Where to install programs. ifndef bindir diff --git a/Makefile b/Makefile index 0d94985e39..b9beed9303 100644 --- a/Makefile +++ b/Makefile @@ -53,7 +53,7 @@ endif # These are the subdirectories containing the library source. subdirs = csu assert ctype db2 locale intl catgets math setjmp signal stdlib \ stdio-common $(stdio) malloc string wcsmbs time dirent grp pwd \ - posix io termios resource misc socket sysvipc gmon gnulib \ + posix io termios resource misc socket sysvipc gmon gnulib iconv \ wctype manual shadow md5-crypt po argp $(add-ons) nss \ $(sysdep-subdirs) $(binfmt-subdir) export subdirs := $(subdirs) # Benign, useless in GNU make before 3.63. @@ -117,7 +117,7 @@ include Makerules # Install from subdirectories too. install: subdir_install -# Create linkfs for shared libraries using the `ldconfig' program is possible. +# Create links for shared libraries using the `ldconfig' program is possible. # Ignore the error if we cannot update /etc/ld.so.cache. ifeq (no,$(cross-compiling)) ifeq (yes,$(build-shared)) @@ -127,7 +127,7 @@ install: ifneq (no,$(PERL)) ifeq (/usr,$(prefix)) ifeq (,$(install_root)) - CC=$(CC) $(PERL) test-installation.pl $(common-objpfx) + CC="$(CC)" $(PERL) test-installation.pl $(common-objpfx) endif endif endif @@ -312,7 +312,8 @@ distribute := README INSTALL FAQ NOTES NEWS PROJECTS BUGS \ config.h.in config.make.in config-name.in Makefile.in \ autolock.sh rellns-sh munch-tmpl.c munch.awk interp.c \ sysdep.h set-hooks.h libc-symbols.h version.h shlib-versions \ - rpm/Makefile rpm/template rpm/rpmrc glibcbug.in abi-tags + rpm/Makefile rpm/template rpm/rpmrc glibcbug.in abi-tags \ + stub-tag.h distribute := $(strip $(distribute)) generated := $(generated) stubs.h version-info.h diff --git a/configure b/configure index c9613d27b1..31e30b0739 100755 --- a/configure +++ b/configure @@ -1636,7 +1636,8 @@ else fi if test "$BASH" != no && - $BASH -c 'test "$BASH_VERSINFO" -ge 2 >&/dev/null'; then + $BASH -c 'test "$BASH_VERSINFO" + && test "$BASH_VERSINFO" -ge 2 >&/dev/null'; then libc_cv_have_bash2=yes else libc_cv_have_bash2=no @@ -1647,7 +1648,7 @@ if test "$BASH" = no; then # Extract the first word of "ksh", so it can be a program name with args. set dummy ksh; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1651: checking for $ac_word" >&5 +echo "configure:1652: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_KSH'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1693,7 +1694,7 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1697: checking for $ac_word" >&5 +echo "configure:1698: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1728,7 +1729,7 @@ test -n "$PERL" || PERL="no" echo $ac_n "checking for signed size_t type""... $ac_c" 1>&6 -echo "configure:1732: checking for signed size_t type" >&5 +echo "configure:1733: checking for signed size_t type" >&5 if eval "test \"`echo '$''{'libc_cv_signed_size_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1752,12 +1753,12 @@ EOF fi echo $ac_n "checking for libc-friendly stddef.h""... $ac_c" 1>&6 -echo "configure:1756: checking for libc-friendly stddef.h" >&5 +echo "configure:1757: checking for libc-friendly stddef.h" >&5 if eval "test \"`echo '$''{'libc_cv_friendly_stddef'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 1761 "configure" +#line 1762 "configure" #include "confdefs.h" #define __need_size_t #define __need_wchar_t @@ -1772,7 +1773,7 @@ size_t size; wchar_t wchar; if (&size == NULL || &wchar == NULL) abort (); ; return 0; } EOF -if { (eval echo configure:1776: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* libc_cv_friendly_stddef=yes else @@ -1791,7 +1792,7 @@ override stddef.h = # The installed <stddef.h> seems to be libc-friendly." fi echo $ac_n "checking whether we need to use -P to assemble .S files""... $ac_c" 1>&6 -echo "configure:1795: checking whether we need to use -P to assemble .S files" >&5 +echo "configure:1796: checking whether we need to use -P to assemble .S files" >&5 if eval "test \"`echo '$''{'libc_cv_need_minus_P'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1822,7 +1823,7 @@ if test $ac_cv_prog_gcc = yes; then # We must check this even if -pipe is not given here, because the user # might do `make CFLAGS=-pipe'. echo $ac_n "checking for gcc 2.7.x -pipe bug""... $ac_c" 1>&6 -echo "configure:1826: checking for gcc 2.7.x -pipe bug" >&5 +echo "configure:1827: checking for gcc 2.7.x -pipe bug" >&5 if eval "test \"`echo '$''{'libc_cv_gcc_pipe_bug'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1851,7 +1852,7 @@ else fi echo $ac_n "checking for assembler global-symbol directive""... $ac_c" 1>&6 -echo "configure:1855: checking for assembler global-symbol directive" >&5 +echo "configure:1856: checking for assembler global-symbol directive" >&5 if eval "test \"`echo '$''{'libc_cv_asm_global_directive'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1881,7 +1882,7 @@ EOF fi echo $ac_n "checking for .set assembler directive""... $ac_c" 1>&6 -echo "configure:1885: checking for .set assembler directive" >&5 +echo "configure:1886: checking for .set assembler directive" >&5 if eval "test \"`echo '$''{'libc_cv_asm_set_directive'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1915,7 +1916,7 @@ EOF fi echo $ac_n "checking for .symver assembler directive""... $ac_c" 1>&6 -echo "configure:1919: checking for .symver assembler directive" >&5 +echo "configure:1920: checking for .symver assembler directive" >&5 if eval "test \"`echo '$''{'libc_cv_asm_symver_directive'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1934,7 +1935,7 @@ fi echo "$ac_t""$libc_cv_asm_symver_directive" 1>&6 echo $ac_n "checking for ld --version-script""... $ac_c" 1>&6 -echo "configure:1938: checking for ld --version-script" >&5 +echo "configure:1939: checking for ld --version-script" >&5 if eval "test \"`echo '$''{'libc_cv_ld_version_script_option'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1953,7 +1954,7 @@ EOF if { ac_try='${CC-cc} $CFLAGS -shared -o conftest.so conftest.o -nostartfiles -nostdlib -Wl,--version-script,conftest.map - 1>&5'; { (eval echo configure:1957: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; + 1>&5'; { (eval echo configure:1958: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then libc_cv_ld_version_script_option=yes else @@ -1984,7 +1985,7 @@ fi if test $elf = yes; then echo $ac_n "checking for .previous assembler directive""... $ac_c" 1>&6 -echo "configure:1988: checking for .previous assembler directive" >&5 +echo "configure:1989: checking for .previous assembler directive" >&5 if eval "test \"`echo '$''{'libc_cv_asm_previous_directive'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1992,7 +1993,7 @@ else .section foo_section .previous EOF - if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'; { (eval echo configure:1996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then + if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'; { (eval echo configure:1997: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then libc_cv_asm_previous_directive=yes else libc_cv_asm_previous_directive=no @@ -2008,7 +2009,7 @@ EOF else echo $ac_n "checking for .popsection assembler directive""... $ac_c" 1>&6 -echo "configure:2012: checking for .popsection assembler directive" >&5 +echo "configure:2013: checking for .popsection assembler directive" >&5 if eval "test \"`echo '$''{'libc_cv_asm_popsection_directive'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2016,7 +2017,7 @@ else .pushsection foo_section .popsection EOF - if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'; { (eval echo configure:2020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then + if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'; { (eval echo configure:2021: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then libc_cv_asm_popsection_directive=yes else libc_cv_asm_popsection_directive=no @@ -2036,12 +2037,12 @@ fi if test $elf != yes; then echo $ac_n "checking for .init and .fini sections""... $ac_c" 1>&6 -echo "configure:2040: checking for .init and .fini sections" >&5 +echo "configure:2041: checking for .init and .fini sections" >&5 if eval "test \"`echo '$''{'libc_cv_have_initfini'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2045 "configure" +#line 2046 "configure" #include "confdefs.h" int main() { @@ -2050,7 +2051,7 @@ asm (".section .init"); asm (".text"); ; return 0; } EOF -if { (eval echo configure:2054: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2055: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* libc_cv_have_initfini=yes else @@ -2078,19 +2079,19 @@ if test $elf = yes; then else if test $ac_cv_prog_cc_works = yes; then echo $ac_n "checking for _ prefix on C symbol names""... $ac_c" 1>&6 -echo "configure:2082: checking for _ prefix on C symbol names" >&5 +echo "configure:2083: checking for _ prefix on C symbol names" >&5 if eval "test \"`echo '$''{'libc_cv_asm_underscores'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2087 "configure" +#line 2088 "configure" #include "confdefs.h" asm ("_glibc_foobar:"); int main() { glibc_foobar (); ; return 0; } EOF -if { (eval echo configure:2094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* libc_cv_asm_underscores=yes else @@ -2105,17 +2106,17 @@ fi echo "$ac_t""$libc_cv_asm_underscores" 1>&6 else echo $ac_n "checking for _ prefix on C symbol names""... $ac_c" 1>&6 -echo "configure:2109: checking for _ prefix on C symbol names" >&5 +echo "configure:2110: checking for _ prefix on C symbol names" >&5 if eval "test \"`echo '$''{'libc_cv_asm_underscores'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2114 "configure" +#line 2115 "configure" #include "confdefs.h" void underscore_test(void) { return; } EOF -if { (eval echo configure:2119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if grep _underscore_test conftest* >/dev/null; then rm -f conftest* libc_cv_asm_underscores=yes @@ -2148,7 +2149,7 @@ if test $elf = yes; then libc_cv_asm_weakext_directive=no else echo $ac_n "checking for assembler .weak directive""... $ac_c" 1>&6 -echo "configure:2152: checking for assembler .weak directive" >&5 +echo "configure:2153: checking for assembler .weak directive" >&5 if eval "test \"`echo '$''{'libc_cv_asm_weak_directive'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2171,7 +2172,7 @@ echo "$ac_t""$libc_cv_asm_weak_directive" 1>&6 if test $libc_cv_asm_weak_directive = no; then echo $ac_n "checking for assembler .weakext directive""... $ac_c" 1>&6 -echo "configure:2175: checking for assembler .weakext directive" >&5 +echo "configure:2176: checking for assembler .weakext directive" >&5 if eval "test \"`echo '$''{'libc_cv_asm_weakext_directive'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2208,7 +2209,7 @@ EOF fi echo $ac_n "checking for ld --no-whole-archive""... $ac_c" 1>&6 -echo "configure:2212: checking for ld --no-whole-archive" >&5 +echo "configure:2213: checking for ld --no-whole-archive" >&5 if eval "test \"`echo '$''{'libc_cv_ld_no_whole_archive'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2219,7 +2220,7 @@ __throw () {} EOF if { ac_try='${CC-cc} $CFLAGS -nostdlib -nostartfiles -Wl,--no-whole-archive - -o conftest conftest.c 1>&5'; { (eval echo configure:2223: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then + -o conftest conftest.c 1>&5'; { (eval echo configure:2224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then libc_cv_ld_no_whole_archive=yes else libc_cv_ld_no_whole_archive=no @@ -2230,7 +2231,7 @@ fi echo "$ac_t""$libc_cv_ld_no_whole_archive" 1>&6 echo $ac_n "checking for gcc -fno-exceptions""... $ac_c" 1>&6 -echo "configure:2234: checking for gcc -fno-exceptions" >&5 +echo "configure:2235: checking for gcc -fno-exceptions" >&5 if eval "test \"`echo '$''{'libc_cv_gcc_no_exceptions'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2241,7 +2242,7 @@ __throw () {} EOF if { ac_try='${CC-cc} $CFLAGS -nostdlib -nostartfiles -fno-exceptions - -o conftest conftest.c 1>&5'; { (eval echo configure:2245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then + -o conftest conftest.c 1>&5'; { (eval echo configure:2246: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then libc_cv_gcc_no_exceptions=yes else libc_cv_gcc_no_exceptions=no @@ -2252,12 +2253,12 @@ fi echo "$ac_t""$libc_cv_gcc_no_exceptions" 1>&6 echo $ac_n "checking for DWARF2 unwind info support""... $ac_c" 1>&6 -echo "configure:2256: checking for DWARF2 unwind info support" >&5 +echo "configure:2257: checking for DWARF2 unwind info support" >&5 if eval "test \"`echo '$''{'libc_cv_gcc_dwarf2_unwind_info'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.c <<EOF -#line 2261 "configure" +#line 2262 "configure" static char __EH_FRAME_BEGIN__; _start () { @@ -2278,7 +2279,7 @@ __bzero () {} EOF if { ac_try='${CC-cc} $CFLAGS -nostdlib -nostartfiles - -o conftest conftest.c -lgcc >&5'; { (eval echo configure:2282: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then + -o conftest conftest.c -lgcc >&5'; { (eval echo configure:2283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then libc_cv_gcc_dwarf2_unwind_info=yes else libc_cv_gcc_dwarf2_unwind_info=no @@ -2336,7 +2337,7 @@ if test "$uname" = "sysdeps/generic"; then fi echo $ac_n "checking OS release for uname""... $ac_c" 1>&6 -echo "configure:2340: checking OS release for uname" >&5 +echo "configure:2341: checking OS release for uname" >&5 if eval "test \"`echo '$''{'libc_cv_uname_release'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2358,7 +2359,7 @@ echo "$ac_t""$libc_cv_uname_release" 1>&6 uname_release="$libc_cv_uname_release" echo $ac_n "checking OS version for uname""... $ac_c" 1>&6 -echo "configure:2362: checking OS version for uname" >&5 +echo "configure:2363: checking OS version for uname" >&5 if eval "test \"`echo '$''{'libc_cv_uname_version'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2380,7 +2381,7 @@ else fi echo $ac_n "checking stdio selection""... $ac_c" 1>&6 -echo "configure:2384: checking stdio selection" >&5 +echo "configure:2385: checking stdio selection" >&5 case $stdio in libio) cat >> confdefs.h <<\EOF @@ -2392,7 +2393,7 @@ esac echo "$ac_t""$stdio" 1>&6 echo $ac_n "checking ldap selection""... $ac_c" 1>&6 -echo "configure:2396: checking ldap selection" >&5 +echo "configure:2397: checking ldap selection" >&5 case $add_ons in *ldap*) @@ -2442,7 +2443,7 @@ if test $shared = default; then fi echo $ac_n "checking whether -fPIC is default""... $ac_c" 1>&6 -echo "configure:2446: checking whether -fPIC is default" >&5 +echo "configure:2447: checking whether -fPIC is default" >&5 if eval "test \"`echo '$''{'pic_default'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else diff --git a/configure.in b/configure.in index bdfe63c06a..0a8b2d4757 100644 --- a/configure.in +++ b/configure.in @@ -422,7 +422,8 @@ AC_CHECK_TOOL(RANLIB, ranlib, :) AC_PATH_PROG(BASH, bash, no) if test "$BASH" != no && - $BASH -c 'test "$BASH_VERSINFO" -ge 2 >&/dev/null'; then + $BASH -c 'test "$BASH_VERSINFO" + && test "$BASH_VERSINFO" -ge 2 >&/dev/null'; then libc_cv_have_bash2=yes else libc_cv_have_bash2=no diff --git a/csu/Makefile b/csu/Makefile index cb9e6eb6aa..681366a274 100644 --- a/csu/Makefile +++ b/csu/Makefile @@ -36,7 +36,7 @@ omit-deps = $(patsubst %.o,%,$(start-installed-name) g$(start-installed-name) \ $(csu-dummies)) install-lib = $(start-installed-name) g$(start-installed-name) \ $(csu-dummies) -distribute = initfini.c gmon-start.c start.c defs.awk abi-note.S +distribute = initfini.c gmon-start.c start.c defs.awk abi-note.S init.c all: # Make this the default target; it will be defined in Rules. @@ -89,7 +89,7 @@ $(objpfx)defs.h: $(objpfx)initfini.s endif ifeq (yes,$(elf)) -extra-objs += abi-note.o +extra-objs += abi-note.o init.o asm-CPPFLAGS += -I$(objpfx). endif @@ -103,7 +103,8 @@ ifndef start-installed-name-rule ifeq (yes,$(elf)) # We link the ELF startfile along with a SHT_NOTE section indicating # the the kernel ABI the binaries linked with this library will require. -$(objpfx)$(start-installed-name): $(objpfx)start.o $(objpfx)abi-note.o +$(objpfx)$(start-installed-name): $(objpfx)start.o $(objpfx)abi-note.o \ + $(objpfx)init.o $(link-relocatable) else # The startfile is installed under different names, so we just call our diff --git a/csu/init.c b/csu/init.c new file mode 100644 index 0000000000..2b7a2ef0ff --- /dev/null +++ b/csu/init.c @@ -0,0 +1,37 @@ +/* Special startup support. + Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it + and/or modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + In addition to the permissions in the GNU Library General Public + License, the Free Software Foundation gives you unlimited + permission to link the compiled version of this file with other + programs, and to distribute those programs without any restriction + coming from the use of this file. (The Library General Public + License restrictions do apply in other respects; for example, they + cover modification of the file, and distribution when not linked + into another program.) + + The GNU C Library is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#if defined __GNUC__ && __GNUC__ >= 2 + +#undef _LIBC +#include <libio.h> + +/* This records which stdio is linked against in the application. */ +const void *const _IO_stdin_used = _IO_stdin; + +#endif diff --git a/db2/Makefile b/db2/Makefile index 8e5cea7b17..379d51f325 100644 --- a/db2/Makefile +++ b/db2/Makefile @@ -33,7 +33,7 @@ subdir-dirs = btree common db db185 dbm hash lock log mp mutex os txn \ headers = db.h db_185.h distribute = db_int.h config.h compat.h clib/getlong.c btree/btree.src \ - db/db.src db185/db185_int.src hash/hash.src log/log.src \ + db/db.src db185/db185_int.h hash/hash.src log/log.src \ txn/txn.src \ $(addprefix include/,btree.h btree_auto.h btree_ext.h \ clib_ext.h common_ext.h cxx_int.h \ diff --git a/elf/Makefile b/elf/Makefile index 5f78c5cb1d..e608acf416 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -37,7 +37,7 @@ elide-routines.os = $(dl-routines) dl-support enbl-secure rtld-routines := rtld $(dl-routines) dl-sysdep dl-minimal distribute = $(rtld-routines:=.c) dynamic-link.h do-rel.h dl-machine.h \ dl-hash.h soinit.c sofini.c ldd.sh.in ldd.bash.in eval.c \ - genrtldtbl.awk + genrtldtbl.awk atomicity.h extra-libs = libdl extra-libs-others = $(extra-libs) diff --git a/elf/dl-lookup.c b/elf/dl-lookup.c index c51724026e..6da708109e 100644 --- a/elf/dl-lookup.c +++ b/elf/dl-lookup.c @@ -155,11 +155,12 @@ do_lookup (const char *undef_name, unsigned long int hash, else { /* We can match the version information or use the - default one. */ + default one if it is not hidden. */ ElfW(Half) ndx = verstab[symidx] & 0x7fff; if ((map->l_versions[ndx].hash != version->hash || strcmp (map->l_versions[ndx].name, version->name)) - && (version->hidden || map->l_versions[ndx].hash)) + && (version->hidden || map->l_versions[ndx].hash + || (verstab[symidx] & 0x8000))) /* It's not the version we want. */ continue; } diff --git a/elf/genrtldtbl.awk b/elf/genrtldtbl.awk index 50f81c8c34..f5656a2b44 100644 --- a/elf/genrtldtbl.awk +++ b/elf/genrtldtbl.awk @@ -5,7 +5,8 @@ BEGIN { } { for (i = 1; i <= NF; ++i) { - dir[count++] = gensub(/((.*)[^/])?[/]*/, "\\1", "", $i); + gsub (/\/*$/, "", $i); + dir[count++] = $i; } } END { diff --git a/iconv/Makefile b/iconv/Makefile new file mode 100644 index 0000000000..5e5f74878a --- /dev/null +++ b/iconv/Makefile @@ -0,0 +1,32 @@ +# Copyright (C) 1997 Free Software Foundation, Inc. +# This file is part of the GNU C Library. + +# The GNU C Library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Library General Public License as +# published by the Free Software Foundation; either version 2 of the +# License, or (at your option) any later version. + +# The GNU C Library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Library General Public License for more details. + +# You should have received a copy of the GNU Library General Public +# License along with the GNU C Library; see the file COPYING.LIB. If +# not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +# +# Makefile for iconv. +# +subdir := iconv + +headers = iconv.h gconv.h +routines = iconv_open iconv iconv_close \ + gconv_open gconv gconv_close gconv_db gconv_conf \ + gconv_dl gconv_builtin gconv_simple +distribute = gconv_builtin.h + +CFLAGS-gconv_conf.c = -DGCONV_PATH='"$(gconvdir)"' + +include ../Rules diff --git a/iconv/gconv.c b/iconv/gconv.c new file mode 100644 index 0000000000..537d0dc3e7 --- /dev/null +++ b/iconv/gconv.c @@ -0,0 +1,46 @@ +/* Convert characters in input buffer using conversion descriptor to + output buffer. + Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <gconv.h> + + +int +__gconv (gconv_t cd, const char **inbuf, size_t *inbytesleft, char **outbuf, + size_t *outbytesleft, size_t *converted) +{ + size_t last_step = cd->nsteps - 1; + int result; + + cd->data[last_step].outbuf = *outbuf; + cd->data[last_step].outbufavail = 0; + cd->data[last_step].outbufsize = *outbytesleft; + + if (converted != NULL) + *converted = 0; + + result = (*cd->steps->fct) (cd->steps, cd->data, inbuf, inbytesleft, + converted, inbuf == NULL || *inbuf == NULL); + + *outbuf += cd->data[last_step].outbufavail; + *outbytesleft -= cd->data[last_step].outbufavail; + + return result; +} diff --git a/iconv/gconv.h b/iconv/gconv.h new file mode 100644 index 0000000000..45f3a6cf8a --- /dev/null +++ b/iconv/gconv.h @@ -0,0 +1,205 @@ +/* Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#ifndef _GCONV_H +#define _GCONV_H 1 + +#include <features.h> +#include <sys/types.h> +#include <regex.h> + +/* Error codes for gconv functions. */ +enum +{ + GCONV_OK = 0, + GCONV_NOCONV, + GCONV_NODB, + GCONV_NOMEM, + + GCONV_EMPTY_INPUT, + GCONV_FULL_OUTPUT, + GCONV_ILLEGAL_INPUT, + + GCONV_ILLEGAL_DESCRIPTOR, + GCONV_INTERNAL_ERROR +}; + + +/* Structure for alias definition. Simply to strings. */ +struct gconv_alias +{ + __const char *fromname; + __const char *toname; +}; + + +/* Default size of intermediate buffers. */ +#define GCONV_DEFAULT_BUFSIZE 8160 + + +/* Forward declarations. */ +struct gconv_step; +struct gconv_step_data; + + +/* Type of a conversion function. */ +typedef int (*gconv_fct) __P ((struct gconv_step *, + struct gconv_step_data *, + __const char *, size_t *, size_t *, int)); + +/* Constructor and destructor for local data for conversion step. */ +typedef int (*gconv_init_fct) __P ((struct gconv_step *, + struct gconv_step_data *)); +typedef void (*gconv_end_fct) __P ((struct gconv_step_data *)); + + +/* Description of a conversion step. */ +struct gconv_step +{ + void *shlib_handle; + + __const char *from_name; + __const char *to_name; + + gconv_fct fct; + gconv_init_fct init_fct; + gconv_end_fct end_fct; +}; + +/* Additional data for steps in use of conversion descriptor. This is + allocated by the `init' function. */ +struct gconv_step_data +{ + char *outbuf; /* Output buffer for this step. */ + size_t outbufavail; /* Bytes already available in output buffer. */ + size_t outbufsize; /* Size of output buffer. */ + + int is_last; + + void *data; /* Pointer to step-local data. */ +}; + +/* Combine conversion step description with data. */ +typedef struct gconv_info +{ + size_t nsteps; + struct gconv_step *steps; + struct gconv_step_data *data; +} *gconv_t; + + +/* Description for an available conversion module. */ +struct gconv_module +{ + __const char *from_pattern; + __const char *from_constpfx; + size_t from_constpfx_len; + __const regex_t *from_regex; + + __const char *to_string; + + int cost; + + __const char *module_name; +}; + + +/* Global variables. */ + +/* Database of alias names. */ +extern void *__gconv_alias_db; + +/* Array with available modules. */ +extern size_t __gconv_nmodules; +extern struct gconv_module **__gconv_modules_db; + + +/* Return in *HANDLE decriptor for transformation from FROMSET to TOSET. */ +extern int __gconv_open __P ((__const char *__toset, __const char *__fromset, + gconv_t *__handle)); + +/* Free resources associated with transformation descriptor CD. */ +extern int __gconv_close __P ((gconv_t cd)); + +/* Transform at most *INBYTESLEFT bytes from buffer starting at *INBUF + according to rules described by CD and place up to *OUTBYTESLEFT + bytes in buffer starting at *OUTBUF. Return number of written + characters in *CONVERTED if this pointer is not null. */ +extern int __gconv __P ((gconv_t __cd, + __const char **__inbuf, size_t *__inbytesleft, + char **__outbuf, size_t *__outbytesleft, + size_t *__converted)); + +/* Return in *HANDLE a pointer to an array with *NSTEPS elements describing + the single steps necessary for transformation from FROMSET to TOSET. */ +extern int __gconv_find_transform __P ((__const char *__toset, + __const char *__fromset, + struct gconv_step **__handle, + size_t *__nsteps)); + +/* Read all the configuration data and cache it. */ +extern void __gconv_read_conf __P ((void)); + +/* Comparison function to search alias. */ +extern int __gconv_alias_compare __P ((__const void *__p1, + __const void *__p2)); + +/* Clear reference to transformation step implementations which might + cause the code to be unloaded. */ +extern int __gconv_close_transform __P ((struct gconv_step *__steps, + size_t __nsteps)); + + +/* Find in the shared object associated with HANDLE for a function with + name NAME. Return function pointer or NULL. */ +extern void *__gconv_find_func __P ((void *__handle, __const char *__name)); + +/* Load shared object named by NAME. If already loaded increment reference + count. */ +extern void *__gconv_find_shlib __P ((__const char *__name)); + +/* Release shared object. If no further reference is available unload + the object. */ +extern int __gconv_release_shlib __P ((void *__handle)); + +/* Fill STEP with information about builtin module with NAME. */ +extern void __gconv_get_builtin_trans __P ((__const char *__name, + struct gconv_step *__step)); + + + +/* Builtin transformations. */ +#ifdef _LIBC +# define __BUILTIN_TRANS(Name) \ + extern int Name __P ((struct gconv_step *__step, \ + struct gconv_step_data *__data, __const char *__inbuf,\ + size_t *__inlen, size_t *__written, int __do_flush)) + +__BUILTIN_TRANS (__gconv_transform_dummy); +__BUILTIN_TRANS (__gconv_transform_ucs4_utf8); +__BUILTIN_TRANS (__gconv_transform_utf8_ucs4); +# undef __BUITLIN_TRANS + +extern int __gconv_transform_init_rstate __P ((struct gconv_step *__step, + struct gconv_step_data *__data)); +extern void __gconv_transform_end_rstate __P ((struct gconv_step_data *__data)); + +#endif + +#endif /* gconv.h */ diff --git a/iconv/gconv_builtin.c b/iconv/gconv_builtin.c new file mode 100644 index 0000000000..4193822e16 --- /dev/null +++ b/iconv/gconv_builtin.c @@ -0,0 +1,64 @@ +/* Table for builtin transformation mapping. + Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <gconv.h> +#include <string.h> + +#include <assert.h> + + +static struct builtin_map +{ + const char *name; + gconv_fct fct; + gconv_init_fct init; + gconv_end_fct end; + +} map[] = +{ +#define BUILTIN_TRANSFORMATION(From, ConstPfx, ConstLen, To, Cost, Name, \ + Fct, Init, End) \ + { \ + name: Name, \ + fct: Fct, \ + init: Init, \ + end: End, \ + }, + +#include <gconv_builtin.h> +}; + + +void +__gconv_get_builtin_trans (const char *name, struct gconv_step *step) +{ + size_t cnt; + + for (cnt = 0; cnt < sizeof (map) / sizeof (map[0]); ++cnt) + if (strcmp (name, map[cnt].name) == 0) + break; + + assert (cnt < sizeof (map) / sizeof (map[0])); + + step->fct = map[cnt].fct; + step->init_fct = map[cnt].init; + step->end_fct = map[cnt].end; + step->shlib_handle = NULL; +} diff --git a/iconv/gconv_builtin.h b/iconv/gconv_builtin.h new file mode 100644 index 0000000000..a3070a532f --- /dev/null +++ b/iconv/gconv_builtin.h @@ -0,0 +1,34 @@ +/* Builtin transformations. + Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +BUILTIN_TRANSFORMATION ("\\([^/]+\\)/UCS4/\\([^/]*\\)", NULL, 0, + "\\1/UTF8/\\2", 1, "=ucs4->utf8", + __gconv_transform_ucs4_utf8, + __gconv_transform_init_rstate, + __gconv_transform_end_rstate) + +BUILTIN_TRANSFORMATION ("\\([^/]+\\)/UTF8/\\([^/]*\\)", NULL, 0, + "\\1/UCS4/\\2", 1, "=utf8->ucs4", + __gconv_transform_utf8_ucs4, + __gconv_transform_init_rstate, + __gconv_transform_end_rstate) + +BUILTIN_TRANSFORMATION ("\\(.*\\)", NULL, 0, "\\1", 1, "=dummy", + __gconv_transform_dummy, NULL, NULL) diff --git a/iconv/gconv_close.c b/iconv/gconv_close.c new file mode 100644 index 0000000000..d3d023f488 --- /dev/null +++ b/iconv/gconv_close.c @@ -0,0 +1,64 @@ +/* Release any resource associated with given conversion descriptor. + Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <gconv.h> +#include <stdlib.h> + + +int +__gconv_close (gconv_t cd) +{ + struct gconv_step *srunp; + struct gconv_step_data *drunp; + size_t nsteps; + + /* Free all resources by calling destructor functions and release + the implementations. */ + srunp = cd->steps; + nsteps = cd->nsteps; + drunp = cd->data; + do + { + /* Call destructor. */ + if (srunp->end_fct != NULL) + (*srunp->end_fct) (drunp); + else + { + free (drunp->outbuf); + if (drunp->data != NULL) + free (drunp->data); + } + + /* Next step. */ + ++srunp; + ++drunp; + } + while (!drunp->is_last); + + /* Save the pointer, we need it below. */ + srunp = cd->steps; + + /* Free the data allocated for the descriptor. */ + free (cd->data); + free (cd); + + /* Close the participating modules. */ + return __gconv_close_transform (srunp, nsteps); +} diff --git a/iconv/gconv_conf.c b/iconv/gconv_conf.c new file mode 100644 index 0000000000..d3c13d75c9 --- /dev/null +++ b/iconv/gconv_conf.c @@ -0,0 +1,420 @@ +/* Handle configuration data. + Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <ctype.h> +#include <gconv.h> +#include <search.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <unistd.h> +#include <sys/param.h> + + +/* This is the default path where we look for module lists. */ +static const char default_gconv_path[] = GCONV_PATH; + +/* Name of the file containing the module information in the directories + along the path. */ +static const char gconv_conf_filename[] = "gconv-modules"; + +/* We have a few builtin transformations. */ +static struct gconv_module builtin_modules[] = +{ +#define BUILTIN_TRANSFORMATION(From, ConstPfx, ConstLen, To, Cost, Name, \ + Fct, Init, End) \ + { \ + from_pattern: From, \ + from_constpfx: ConstPfx, \ + from_constpfx_len: ConstLen, \ + from_regex: NULL, \ + to_string: To, \ + cost: Cost, \ + module_name: Name \ + }, + +#include "gconv_builtin.h" +}; + + +/* Function for searching module. */ +static int +module_compare (const void *p1, const void *p2) +{ + struct gconv_module *s1 = (struct gconv_module *) p1; + struct gconv_module *s2 = (struct gconv_module *) p2; + int result; + + if (s1->from_pattern == NULL) + { + if (s2->from_pattern == NULL) + result = strcmp (s1->from_constpfx, s2->from_constpfx); + else + result = -1; + } + else if (s2->from_pattern == NULL) + result = 1; + else + result = strcmp (s1->from_pattern, s2->from_pattern); + + if (result == 0) + result = strcmp (s1->to_string, s2->to_string); + + return result; +} + + +/* Add new alias. */ +static inline void +add_alias (char *rp) +{ + /* We now expect two more string. The strings are normalized + (converted to UPPER case) and strored in the alias database. */ + struct gconv_alias *new_alias; + char *from, *to, *wp; + + while (isspace (*rp)) + ++rp; + from = wp = rp; + while (*rp != '\0' && !isspace (*rp)) + ++rp; + if (*rp == '\0') + /* There is no `to' string on the line. Ignore it. */ + return; + *rp++ = '\0'; + to = wp = rp; + while (isspace (*rp)) + ++rp; + while (*rp != '\0' && !isspace (*rp)) + *wp++ = *rp++; + if (to == wp) + /* No `to' string, ignore the line. */ + return; + *wp++ = '\0'; + + new_alias = (struct gconv_alias *) + malloc (sizeof (struct gconv_alias) + (wp - from)); + new_alias->fromname = memcpy ((char *) new_alias + + sizeof (struct gconv_alias), + from, to - from); + new_alias->toname = memcpy ((char *) new_alias + sizeof (struct gconv_alias) + + (to - from), to, wp - to); + + if (__tsearch (new_alias, &__gconv_alias_db, __gconv_alias_compare) == NULL) + /* Something went wrong, free this entry. */ + free (new_alias); +} + + +/* Add new module. */ +static inline void +add_module (char *rp, const char *directory, size_t dir_len, void **modules, + size_t *nmodules) +{ + /* We expect now + 1. `from' name + 2. `to' name + 3. filename of the module + 4. an optional cost value + */ + struct gconv_module *new_module; + char *from, *to, *module, *wp; + size_t const_len; + int from_is_regex; + int cost; + + while (isspace (*rp)) + ++rp; + from = rp; + from_is_regex = 0; + while (*rp != '\0' && !isspace (*rp)) + { + if (!isalnum (*rp) && *rp != '-' && *rp != '/' && *rp != '.' + && *rp != '_') + from_is_regex = 1; + ++rp; + } + if (*rp == '\0') + return; + *rp++ = '\0'; + to = wp = rp; + while (isspace (*rp)) + ++rp; + while (*rp != '\0' && !isspace (*rp)) + *wp++ = *rp++; + if (*rp == '\0') + return; + *wp++ = '\0'; + do + ++rp; + while (isspace (*rp)); + module = wp; + while (*rp != '\0' && !isspace (*rp)) + *wp++ = *rp++; + if (*rp == '\0') + { + /* There is no cost, use one by default. */ + *wp++ = '\0'; + cost = 1; + } + else + { + /* There might be a cost value. */ + char *endp; + + *wp++ = '\0'; + cost = strtol (rp, &endp, 10); + if (rp == endp) + /* No useful information. */ + cost = 1; + } + + if (module[0] == '\0') + /* No module name given. */ + return; + if (module[0] == '/') + dir_len = 0; + else + /* Increment by one for the slash. */ + ++dir_len; + + /* We've collected all the information, now create an entry. */ + + const_len = 0; + if (from_is_regex) + do + ++const_len; + while (isalnum (from[const_len]) || from[const_len] == '-' + || from[const_len] == '/' || from[const_len] == '.' + || from[const_len] == '_'); + + new_module = (struct gconv_module *) malloc (sizeof (struct gconv_module) + + (wp - from) + const_len + + dir_len); + if (new_module != NULL) + { + if (from_is_regex) + { + new_module->from_pattern = memcpy ((char *) new_module + + sizeof (struct gconv_module), + from, to - from); + new_module->from_constpfx = memcpy ((char *) new_module->from_pattern + + (to - from), + from, const_len); + ((char *) new_module->from_constpfx)[const_len] = '\0'; + new_module->from_constpfx_len = const_len; + ++const_len; + } + else + { + new_module->from_pattern = NULL; + new_module->from_constpfx = memcpy ((char *) new_module + + sizeof (struct gconv_module), + from, to - from); + new_module->from_constpfx_len = to - from - 1; + const_len = to - from; + } + new_module->from_regex = NULL; + + new_module->to_string = memcpy ((char *) new_module->from_constpfx + + const_len + 1, to, module - to); + + new_module->cost = cost; + + if (dir_len == 0) + new_module->module_name = memcpy ((char *) new_module->to_string + + (module - to), + module, wp - module); + else + { + char *tmp; + new_module->module_name = ((char *) new_module->to_string + + (module - to)); + tmp = __mempcpy ((char *) new_module->module_name, + directory, dir_len - 1); + *tmp++ = '/'; + memcpy (tmp, module, wp - module); + } + + if (__tfind (new_module, *modules, module_compare) != NULL) + if (__tsearch (new_module, modules, module_compare) == NULL) + /* Something went wrong while inserting the new module. */ + free (new_module); + else + ++*nmodules; + } +} + + +static void +insert_module (const void *nodep, VISIT value, int level) +{ + if (value == preorder || value == leaf) + __gconv_modules_db[__gconv_nmodules++] = (struct gconv_module *) nodep; +} + +static void +nothing (void *unused __attribute__ ((unused))) +{ +} + + +/* Read the next configuration file. */ +static void +internal_function +read_conf_file (const char *filename, const char *directory, size_t dir_len, + void **modules, size_t *nmodules) +{ + FILE *fp = fopen (filename, "r"); + char *line = NULL; + size_t line_len = 0; + + /* Don't complain if a file is not present or readable, simply silently + ignore it. */ + if (fp == NULL) + return; + + /* Process the known entries of the file. Comments start with `#' and + end with the end of the line. Empty lines are ignored. */ + while (!feof (fp)) + { + char *rp, *endp, *word; + ssize_t n = __getdelim (&line, &line_len, '\n', fp); + if (n < 0) + /* An error occurred. */ + break; + + rp = line; + while (isspace (*rp)) + ++rp; + /* Terminate the line (excluding comments or newline) by an NUL byte + to simplify the following code. */ + endp = strchr (rp, '#'); + if (endp != NULL) + *endp = '\0'; + else + { + endp = strchr (rp, '\n'); + if (endp != NULL) + *endp = '\0'; + } + + /* If this is an empty line go on with the next one. */ + if (rp == endp) + continue; + + word = rp; + while (*rp != '\0' && !isspace (*rp)) + ++rp; + + if (rp - word == sizeof ("alias") - 1 + && memcpy (word, "alias", sizeof ("alias") - 1) == 0) + add_alias (rp); + else if (rp - word == sizeof ("module") - 1 + && memcpy (word, "module", sizeof ("module") - 1) == 0) + add_module (rp, directory, dir_len, modules, nmodules); + /* else */ + /* Otherwise ignore the line. */ + } + + if (line != NULL) + free (line); + fclose (fp); +} + + +/* Read all configuration files found in the user-specified and the default + path. */ +void +__gconv_read_conf (void) +{ + const char *user_path = __secure_getenv ("GCONV_PATH"); + char *gconv_path, *elem; + void *modules = NULL; + size_t nmodules = 0; + + if (user_path == NULL) + /* No user-defined path. Make a modifiable copy of the default path. */ + gconv_path = strdupa (default_gconv_path); + else + { + /* Append the default path to the user-defined path. */ + size_t user_len = strlen (user_path); + char *tmp; + + gconv_path = alloca (user_len + 1 + sizeof (default_gconv_path)); + tmp = __mempcpy (gconv_path, user_path, user_len); + *tmp++ = ':'; + __mempcpy (tmp, default_gconv_path, sizeof (default_gconv_path)); + } + + elem = strtok_r (gconv_path, ":", &gconv_path); + while (elem != NULL) + { + char real_elem[MAXPATHLEN]; + + if (realpath (elem, real_elem) != NULL) + { + size_t elem_len = strlen (real_elem); + char *filename, *tmp; + + filename = alloca (elem_len + 1 + sizeof (gconv_conf_filename)); + tmp = __mempcpy (filename, real_elem, elem_len); + *tmp++ = '/'; + __mempcpy (tmp, gconv_conf_filename, sizeof (gconv_conf_filename)); + + /* Read the next configuration file. */ + read_conf_file (filename, real_elem, elem_len, &modules, &nmodules); + } + + /* Get next element in the path. */ + elem = strtok_r (NULL, ":", &gconv_path); + } + + /* If the configuration files do not contain any valid module specification + remember this by setting the pointer to the module array to NULL. */ + nmodules = sizeof (builtin_modules) / sizeof (struct gconv_module); + if (nmodules == 0) + { + __gconv_modules_db = NULL; + return; + } + + __gconv_modules_db = + (struct gconv_module **) malloc (nmodules * sizeof (struct gconv_module)); + if (__gconv_modules_db == NULL) + /* We cannot do anything. */ + return; + + /* First insert the builtin transformations. */ + while (__gconv_nmodules < (sizeof (builtin_modules) + / sizeof (struct gconv_module))) + { + __gconv_modules_db[__gconv_nmodules] = + &builtin_modules[__gconv_nmodules]; + ++__gconv_nmodules; + } + + /* Insert all module entries into the array. */ + __twalk (modules, insert_module); + + /* No remove the tree data structure. */ + __tdestroy (modules, nothing); +} diff --git a/iconv/gconv_db.c b/iconv/gconv_db.c new file mode 100644 index 0000000000..ceb94be2b1 --- /dev/null +++ b/iconv/gconv_db.c @@ -0,0 +1,538 @@ +/* Provide access to the collection of available transformation modules. + Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <gconv.h> +#include <search.h> +#include <stdlib.h> +#include <string.h> +#include <bits/libc-lock.h> + + +/* Simple data structure for alias mapping. We have two names, `from' + and `to'. */ +void *__gconv_alias_db; + +/* Array with available modules. */ +size_t __gconv_nmodules; +struct gconv_module **__gconv_modules_db; + + +/* Function for searching alias. */ +int +__gconv_alias_compare (const void *p1, const void *p2) +{ + struct gconv_alias *s1 = (struct gconv_alias *) p1; + struct gconv_alias *s2 = (struct gconv_alias *) p2; + return __strcasecmp (s1->fromname, s2->fromname); +} + + +/* To search for a derivation we create a list of intermediate steps. + Each element contains a pointer to the element which precedes it + in the derivation order. */ +struct derivation_step +{ + const char *result_set; + struct gconv_module *code; + struct derivation_step *last; + struct derivation_step *next; +}; + +#define NEW_STEP(result, module, last_mod) \ + ({ struct derivation_step *newp = alloca (sizeof (struct derivation_step)); \ + newp->result_set = result; \ + newp->code = module; \ + newp->last = last_mod; \ + newp->next = NULL; \ + newp; }) + + +/* If a specific transformation is used more than once we should not need + to start looking for it again. Instead cache each successful result. */ +struct known_derivation +{ + const char *from; + const char *to; + struct gconv_step *steps; + size_t nsteps; +}; + +/* Compare function for database of found derivations. */ +static int +derivation_compare (const void *p1, const void *p2) +{ + struct known_derivation *s1 = (struct known_derivation *) p1; + struct known_derivation *s2 = (struct known_derivation *) p2; + int result; + + result = strcmp (s1->from, s2->from); + if (result == 0) + result = strcmp (s1->to, s2->to); + return result; +} + +/* The search tree for known derivations. */ +static void *known_derivations; + +/* Look up whether given transformation was already requested before. */ +static int +derivation_lookup (const char *fromset, const char *toset, + struct gconv_step **handle, size_t *nsteps) +{ + struct known_derivation key = { fromset, toset, NULL, 0 }; + struct known_derivation *result; + + result = __tfind (&key, known_derivations, derivation_compare); + + if (result == NULL) + return GCONV_NOCONV; + + *handle = result->steps; + *nsteps = result->nsteps; + + /* Please note that we return GCONV_OK even if the last search for + this transformation was unsuccessful. */ + return GCONV_OK; +} + +/* Add new derivation to list of known ones. */ +static void +add_derivation (const char *fromset, const char *toset, + struct gconv_step *handle, size_t nsteps) +{ + struct known_derivation *new_deriv; + size_t fromset_len = strlen (fromset) + 1; + size_t toset_len = strlen (toset) + 1; + + new_deriv = (struct known_derivation *) + malloc (sizeof (struct known_derivation) + fromset_len + toset_len); + if (new_deriv != NULL) + { + new_deriv->from = memcpy ((char *) new_deriv + + sizeof (struct known_derivation), + fromset, fromset_len); + new_deriv->to = memcpy ((char *) new_deriv->from + fromset_len, + toset, toset_len); + + new_deriv->steps = handle; + new_deriv->nsteps = nsteps; + + __tsearch (new_deriv, &known_derivations, derivation_compare); + } + /* Please note that we don't complain if the allocation failed. This + is not tragically but in case we use the memory debugging facilities + not all memory will be freed. */ +} + +static void +free_derivation (void *p) +{ + struct known_derivation *deriv = (struct known_derivation *) p; + + free ((struct gconv_step *) deriv->steps); + free (deriv); +} + + +static int +internal_function +gen_steps (struct derivation_step *best, const char *toset, + const char *fromset, struct gconv_step **handle, size_t *nsteps) +{ + size_t step_cnt = 0; + struct gconv_step *result; + struct derivation_step *current; + int status = GCONV_NOMEM; + + /* First determine number of steps. */ + for (current = best; current->last != NULL; current = current->last) + ++step_cnt; + + result = (struct gconv_step *) malloc (sizeof (struct gconv_step) + * step_cnt); + if (result != NULL) + { + current = best; + while (step_cnt-- > 0) + { + result[step_cnt].from_name = current->last->result_set; + result[step_cnt].to_name = current->result_set; + + if (current->code->module_name[0] == '/') + { + /* Load the module, return handle for it. */ + void *shlib_handle = + __gconv_find_shlib (current->code->module_name); + + if (shlib_handle == NULL) + break; + + result[step_cnt].shlib_handle = shlib_handle; + + result[step_cnt].fct = __gconv_find_func (shlib_handle, "gconv"); + if (result[step_cnt].fct == NULL) + { + /* Argh, no conversion function. There is something + wrong here. */ + __gconv_release_shlib (result[step_cnt].shlib_handle); + break; + } + + result[step_cnt].init_fct = __gconv_find_func (shlib_handle, + "gconv_init"); + result[step_cnt].end_fct = __gconv_find_func (shlib_handle, + "gconv_end"); + } + else + /* It's a builtin transformation. */ + __gconv_get_builtin_trans (current->code->module_name, + &result[step_cnt]); + + current = current->last; + } + + if (step_cnt != 0) + { + /* Something went wrong while initializing the modules. */ + while (step_cnt-- > 0) + __gconv_release_shlib (result[step_cnt].shlib_handle); + free (result); + status = GCONV_NOCONV; + } + else + { + *handle = result; + *nsteps = step_cnt; + status = GCONV_OK; + } + } + + return status; +} + + +/* The main function: find a possible derivation from the `fromset' (either + the given name or the alias) to the `toset' (again with alias). */ +static int +find_derivation (const char *toset, const char *toset_expand, + const char *fromset, const char *fromset_expand, + struct gconv_step **handle, size_t *nsteps) +{ + __libc_lock_define_initialized (static, lock) + struct derivation_step *current, **lastp, *best = NULL; + int best_cost = 0; + int result; + + result = derivation_lookup (fromset_expand ?: fromset, toset_expand ?: toset, + handle, nsteps); + if (result == GCONV_OK) + return result; + + __libc_lock_lock (lock); + + /* There is a small chance that this derivation is meanwhile found. This + can happen if in `find_derivation' we look for this derivation, didn't + find it but at the same time another thread looked for this derivation. */ + result = derivation_lookup (fromset_expand ?: fromset, toset_expand ?: toset, + handle, nsteps); + if (result == GCONV_OK) + return result; + + /* ### TODO + For now we use a simple algorithm with quadratic runtime behaviour. + The task is to match the `toset' with any of the available. */ + if (fromset_expand != NULL) + { + current = NEW_STEP (fromset_expand, NULL, NULL); + current->next = NEW_STEP (fromset, NULL, NULL); + lastp = ¤t->next->next; + } + else + { + current = NEW_STEP (fromset, NULL, NULL); + lastp = ¤t->next; + } + + while (current != NULL) + { + /* Now match all the available module specifications against the + current charset name. If any of them matches check whether + we already have a derivation for this charset. If yes, use the + one with the lower costs. Otherwise add the new charset at the + end. */ + size_t cnt; + + for (cnt = 0; cnt < __gconv_nmodules; ++cnt) + { + const char *result_set = NULL; + + if (__gconv_modules_db[cnt]->from_pattern == NULL) + { + if (__strcasecmp (current->result_set, + __gconv_modules_db[cnt]->from_constpfx) == 0) + { + if (strcmp (__gconv_modules_db[cnt]->to_string, "-") == 0) + result_set = toset_expand ?: toset; + else + result_set = __gconv_modules_db[cnt]->to_string; + } + } + else + /* We have a regular expression. First see if the prefix + matches. */ + if (__strncasecmp (current->result_set, + __gconv_modules_db[cnt]->from_constpfx, + __gconv_modules_db[cnt]->from_constpfx_len) + == 0) + { + /* First compile the regex if not already done. */ + if (__gconv_modules_db[cnt]->from_regex == NULL) + { + regex_t *newp = (regex_t *) malloc (sizeof (regex_t)); + + if (regcomp (newp, __gconv_modules_db[cnt]->from_pattern, + REG_EXTENDED | REG_ICASE) != 0) + { + /* Something is wrong. Remember this. */ + free (newp); + __gconv_modules_db[cnt]->from_regex = (regex_t *) -1L; + } + else + __gconv_modules_db[cnt]->from_regex = newp; + } + + if (__gconv_modules_db[cnt]->from_regex != (regex_t *) -1L) + { + /* Try to match the from name. */ + regmatch_t match[4]; + + if (regexec (__gconv_modules_db[cnt]->from_regex, + current->result_set, 4, match, 0) == 0 + && match[0].rm_so == 0 + && current->result_set[match[0].rm_eo] == '\0') + { + /* At least the whole <from> string is matched. + We must now match sed-like possible + subexpressions from the match to the + toset expression. */ +#define ENSURE_LEN(LEN) \ + if (wp + (LEN) >= constr + len - 1) \ + { \ + char *newp = alloca (len += 128); \ + memcpy (newp, constr, wp - constr); \ + wp = newp + (wp - constr); \ + constr = newp; \ + } + size_t len = 128; + char *constr = alloca (len); + char *wp = constr; + const char *cp = __gconv_modules_db[cnt]->to_string; + + while (*cp != '\0') + { + if (*cp != '\\') + { + ENSURE_LEN (1); + *wp++ = *cp++; + } + else if (cp[1] == '\0') + /* Backslash at end of string. */ + break; + else + { + ++cp; + if (*cp == '\\') + { + *wp++ = *cp++; + ENSURE_LEN (1); + } + else if (*cp < '1' || *cp > '3') + break; + else + { + int idx = *cp - '0'; + if (match[idx].rm_so == -1) + /* No match. */ + break; + + ENSURE_LEN (match[idx].rm_eo + - match[idx].rm_so); + wp = __mempcpy (wp, + ¤t->result_set[match[idx].rm_so], + match[idx].rm_eo + - match[idx].rm_so); + ++cp; + } + } + } + if (*cp == '\0' && wp != constr) + { + /* Terminate the constructed string. */ + *wp = '\0'; + result_set = constr; + } + } + } + } + + if (result_set != NULL) + { + /* We managed to find a derivation. First see whether + this is what we are looking for. */ + if (__strcasecmp (result_set, toset) == 0 + || (toset_expand != NULL + && __strcasecmp (result_set, toset_expand) == 0)) + { + /* Determine the costs. If they are lower than the + previous solution (or this is the first solution) + remember this solution. */ + int cost = __gconv_modules_db[cnt]->cost; + struct derivation_step *runp = current; + while (runp->code != NULL) + { + cost += runp->code->cost; + runp = runp->last; + } + if (best == NULL || cost < best_cost) + { + best = NEW_STEP (result_set, __gconv_modules_db[cnt], + current); + best_cost = cost; + } + } + else + { + /* Append at the end. */ + *lastp = NEW_STEP (result_set, __gconv_modules_db[cnt], + current); + lastp = &(*lastp)->next; + } + } + } + } + + if (best != NULL) + /* We really found a way to do the transformation. Now build a data + structure describing the transformation steps.*/ + result = gen_steps (best, toset_expand ?: toset, fromset_expand ?: fromset, + handle, nsteps); + else + { + /* We haven't found a transformation. Clear the result values. */ + *handle = NULL; + *nsteps = 0; + } + + /* Add result in any case to list of known derivations. */ + add_derivation (fromset_expand ?: fromset, toset_expand ?: toset, + *handle, *nsteps); + + __libc_lock_unlock (lock); + + return result; +} + + +int +__gconv_find_transform (const char *toset, const char *fromset, + struct gconv_step **handle, size_t *nsteps) +{ + __libc_once_define (static, once); + const char *fromset_expand = NULL; + const char *toset_expand = NULL; + int result; + + /* Ensure that the configuration data is read. */ + __libc_once (once, __gconv_read_conf); + + /* If we don't have a module database return with an error. */ + if (__gconv_modules_db == NULL) + return GCONV_NOCONV; + + /* See whether the names are aliases. */ + if (__gconv_alias_db != NULL) + { + struct gconv_alias key; + struct gconv_alias *found; + + key.fromname = fromset; + found = __tfind (&key, __gconv_alias_db, __gconv_alias_compare); + fromset_expand = found != NULL ? found->toname : NULL; + + key.fromname = toset; + found = __tfind (&key, __gconv_alias_db, __gconv_alias_compare); + toset_expand = found != NULL ? found->toname : NULL; + } + + result = find_derivation (toset, toset_expand, fromset, fromset_expand, + handle, nsteps); + + /* The following code is necessary since `find_derivation' will return + GCONV_OK even when no derivation was found but the same request + was processed before. I.e., negative results will also be cached. */ + return (result == GCONV_OK + ? (*handle == NULL ? GCONV_NOCONV : GCONV_OK) + : result); +} + + +/* Release the entries of the modules list. */ +int +__gconv_close_transform (struct gconv_step *steps, size_t nsteps) +{ + int result = GCONV_OK; + + while (nsteps-- > 0) + if (steps[nsteps].shlib_handle != NULL) + { + result = __gconv_release_shlib (steps[nsteps].shlib_handle); + if (result != GCONV_OK) + break; + } + + return result; +} + + +/* Free all resources if necessary. */ +static void __attribute__ ((unused)) +free_mem (void) +{ + size_t cnt; + + if (__gconv_alias_db != NULL) + __tdestroy (__gconv_alias_db, free); + + for (cnt = 0; cnt < __gconv_nmodules; ++cnt) + { + if (__gconv_modules_db[cnt]->from_regex != NULL) + regfree ((regex_t *) __gconv_modules_db[cnt]->from_regex); + + /* Modules which names do not start with a slash are builtin + transformations and the memory is not allocated dynamically. */ + if (__gconv_modules_db[cnt]->module_name[0] == '/') + free (__gconv_modules_db[cnt]); + } + + if (known_derivations != NULL) + __tdestroy (known_derivations, free_derivation); +} + +text_set_element (__libc_subfreeres, free_mem); diff --git a/iconv/gconv_dl.c b/iconv/gconv_dl.c new file mode 100644 index 0000000000..a0003a82db --- /dev/null +++ b/iconv/gconv_dl.c @@ -0,0 +1,254 @@ +/* Handle loading/unloading of shared object for transformation. + Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <dlfcn.h> +#include <gconv.h> +#include <inttypes.h> +#include <link.h> +#include <search.h> +#include <stdlib.h> +#include <string.h> +#include <bits/libc-lock.h> +#include <sys/param.h> + + +/* This is a tuning parameter. If a transformation module is not used + anymore it gets not immediately unloaded. Instead we wait a certain + number of load attempts for further modules. If none of the + subsequent load attempts name the same object it finally gets unloaded. + Otherwise it is still available which hopefully is the frequent case. + The following number is the number of unloading attempts we wait + before unloading. */ +#define TRIES_BEFORE_UNLOAD 2 + + +/* Structure describing one loaded shared object. This normally are + objects to perform conversation but as a special case the db shared + object is also handled. */ +struct loaded_object +{ + /* Name of the object. */ + const char *name; + + /* Reference counter for the db functionality. If no conversion is + needed we unload the db library. */ + int counter; + + /* The handle for the shared object. */ + void *handle; +}; + + +/* Array of loaded objects. This is shared by all threads so we have + to use semaphores to access it. */ +static void *loaded; +__libc_lock_define_initialized (static, lock) + + + +/* Comparison function for searching `loaded_object' tree. */ +static int +known_compare (const void *p1, const void *p2) +{ + const struct loaded_object *s1 = (const struct loaded_object *) p1; + const struct loaded_object *s2 = (const struct loaded_object *) p2; + + return (intptr_t) s1->handle - (intptr_t) s2->handle; +} + + +static void +do_open (void *a) +{ + struct loaded_object *args = (struct loaded_object *) a; + /* Open and relocate the shared object. */ + args->handle = _dl_open (args->name, RTLD_LAZY); +} + + +static int +dlerror_run (void (*operate) (void *), void *args) +{ + char *last_errstring = NULL; + const char *last_object_name = NULL; + int result; + + (void) _dl_catch_error (&last_errstring, &last_object_name, operate, args); + + result = last_errstring != NULL; + if (result) + free (last_errstring); + + return result; +} + + +struct get_sym_args +{ + /* Arguments to get_sym. */ + struct link_map *map; + const char *name; + + /* Return values of get_sym. */ + ElfW(Addr) loadbase; + const ElfW(Sym) *ref; +}; + +static void +get_sym (void *a) +{ + struct get_sym_args *args = (struct get_sym_args *) a; + struct link_map *scope[2] = { args->map, NULL }; + args->ref = NULL; + args->loadbase = _dl_lookup_symbol (args->name, &args->ref, + scope, args->map->l_name, 0); +} + + +void * +__gconv_find_func (void *handle, const char *name) +{ + struct get_sym_args args; + + args.map = handle; + args.name = name; + + return (dlerror_run (get_sym, &args) ? NULL + : (void *) (args.loadbase + args.ref->st_value)); +} + + + +/* Open the gconv database if necessary. A non-negative return value + means success. */ +void * +__gconv_find_shlib (const char *name) +{ + void *result = NULL; + struct loaded_object *found; + + /* Acquire the lock. */ + __libc_lock_lock (lock); + + /* Search the tree of shared objects previously requested. Data in + the tree are `loaded_object' structures, whose first member is a + `const char *', the lookup key. The search returns a pointer to + the tree node structure; the first member of the is a pointer to + our structure (i.e. what will be a `loaded_object'); since the + first member of that is the lookup key string, &FCT_NAME is close + enough to a pointer to our structure to use as a lookup key that + will be passed to `known_compare' (above). */ + + found = __tfind (&name, loaded, known_compare); + if (found == NULL) + { + /* This name was not known before. */ + found = malloc (sizeof (struct loaded_object)); + if (found != NULL) + { + /* Point the tree node at this new structure. */ + found->name = name; + found->counter = -TRIES_BEFORE_UNLOAD - 1; + found->handle = NULL; + + if (__tsearch (found, &loaded, known_compare) == NULL) + { + /* Something went wrong while inserting the entry. */ + free (found); + found = NULL; + } + } + } + + /* Try to load the shared object if the usage count is 0. This + implies that if the shared object is not loadable, the handle is + NULL and the usage count > 0. */ + if (found != NULL) + { + if (found->counter < -TRIES_BEFORE_UNLOAD) + { + if (dlerror_run (do_open, found) == 0) + found->counter = 1; + } + else if (found->handle != NULL) + found->counter = MAX (found->counter + 1, 1); + + result = found->handle; + } + + /* Release the lock. */ + __libc_lock_unlock (lock); + + return result; +} + + +/* This is very ugly but the tsearch functions provide no way to pass + information to the walker function. So we use a global variable. + It is MT safe since we use a lock. */ +static void *release_handle; + +static void +do_release_shlib (const void *nodep, VISIT value, int level) +{ + struct loaded_object *obj = (struct loaded_object *) nodep; + + if (value != preorder && value != leaf) + return; + + if (obj->handle == release_handle) + /* This is the object we want to unload. Now set the release + counter to zero. */ + obj->counter = 0; + else if (obj->counter <= 0) + { + if (--obj->counter < -TRIES_BEFORE_UNLOAD && obj->handle != NULL) + { + /* Unload the shared object. We don't use the trick to + catch errors since in the case an error is signalled + something is really wrong. */ + _dl_close ((struct link_map *) obj->handle); + + obj->handle = NULL; + } + } +} + + +/* Notify system that a shared object is not longer needed. */ +int +__gconv_release_shlib (void *handle) +{ + /* Acquire the lock. */ + __libc_lock_lock (lock); + + /* Urgh, this is ugly but we have no other possibility. */ + release_handle = handle; + + /* Process all entries. Please note that we also visit entries + with release counts <= 0. This way we can finally unload them + if necessary. */ + __twalk (loaded, do_release_shlib); + + /* Release the lock. */ + __libc_lock_unlock (lock); + + return GCONV_OK; +} diff --git a/iconv/gconv_open.c b/iconv/gconv_open.c new file mode 100644 index 0000000000..0e789df896 --- /dev/null +++ b/iconv/gconv_open.c @@ -0,0 +1,123 @@ +/* Find matching transformation algorithms and initialize steps. + Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <errno.h> +#include <gconv.h> +#include <stdlib.h> + + +int +__gconv_open (const char *toset, const char *fromset, gconv_t *handle) +{ + struct gconv_step *steps; + size_t nsteps; + gconv_t result = NULL; + size_t cnt = 0; + int res; + + res = __gconv_find_transform (toset, fromset, &steps, &nsteps); + if (res == GCONV_OK) + { + /* Allocate room for handle. */ + result = (gconv_t) malloc (sizeof (struct gconv_info)); + if (result == NULL) + res = GCONV_NOMEM; + else + { + /* Remember the list of steps. */ + result->steps = steps; + result->nsteps = nsteps; + + /* Allocate array for the step data. */ + result->data = (struct gconv_step_data *) + calloc (nsteps, sizeof (struct gconv_step_data)); + + if (result->data == NULL) + res = GCONV_NOMEM; + else + { + /* Call all initialization functions for the transformation + step implemenations. */ + struct gconv_step_data *data = result->data; + + for (cnt = 0; cnt < nsteps; ++cnt) + { + /* If this is the last step we must not allocate an output + buffer. Signal this to the initializer. */ + data[cnt].is_last = cnt == nsteps - 1; + + if (steps[cnt].init_fct != NULL) + { + res = (steps[cnt].init_fct) (&steps[cnt], &data[cnt]); + if (res != GCONV_OK) + break; + } + else + if (!data[cnt].is_last) + { + data[cnt].outbufsize = GCONV_DEFAULT_BUFSIZE; + data[cnt].outbuf = + (char *) malloc (data[cnt].outbufsize); + if (data[cnt].outbuf == NULL) + { + res = GCONV_NOMEM; + break; + } + data[cnt].outbufavail = 0; + } + } + } + } + } + + if (res != GCONV_OK) + { + /* Something went wrong. Free all the resources. */ + int serrno = errno; + + if (result != NULL) + { + if (result->data != NULL) + { + while (cnt-- > 0) + if (steps[cnt].end_fct != NULL) + (*steps[cnt].end_fct) (&result->data[cnt]); + else + { + free (result->data[cnt].outbuf); + if (result->data[cnt].data != NULL) + free (result->data[cnt].data); + } + + free (result->data); + } + + free (result); + result = NULL; + } + + __gconv_close_transform (steps, nsteps); + + __set_errno (serrno); + } + + *handle = result; + return res; +} diff --git a/iconv/gconv_simple.c b/iconv/gconv_simple.c new file mode 100644 index 0000000000..91a347b058 --- /dev/null +++ b/iconv/gconv_simple.c @@ -0,0 +1,240 @@ +/* Simple transformations functions. + Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <gconv.h> +#include <stdlib.h> +#include <string.h> +#include <wchar.h> +#include <sys/param.h> + + +int +__gconv_transform_dummy (struct gconv_step *step, struct gconv_step_data *data, + const char *inbuf, size_t *inlen, size_t *written, + int do_flush) +{ + size_t do_write; + + /* We have no stateful encoding. So we don't have to do anything + special. */ + if (do_flush) + do_write = 0; + else + { + do_write = MIN (*inlen, data->outbufsize - data->outbufavail); + + memcpy (data->outbuf, inbuf, do_write); + + *inlen -= do_write; + data->outbufavail += do_write; + } + + /* ### TODO Actually, this number must be devided according to the + size of the input charset. I.e., if the input is in UCS4 the + number of copied bytes must be divided by 4. */ + if (written != NULL) + *written = do_write; + + return GCONV_OK; +} + + +int +__gconv_transform_init_rstate (struct gconv_step *step, + struct gconv_step_data *data) +{ + /* We have to provide the transformation function an correctly initialized + object of type `mbstate_t'. This must be dynamically allocated. */ + data->data = calloc (1, sizeof (mbstate_t)); + + return data->data == NULL ? GCONV_NOMEM : GCONV_OK; +} + + +void +__gconv_transform_end_rstate (struct gconv_step_data *data) +{ + if (data->data != NULL) + free (data->data); +} + + +int +__gconv_transform_ucs4_utf8 (struct gconv_step *step, + struct gconv_step_data *data, const char *inbuf, + size_t *inlen, size_t *written, int do_flush) +{ + struct gconv_step *next_step = step + 1; + struct gconv_step_data *next_data = data + 1; + gconv_fct fct = next_step->fct; + size_t do_write; + int result; + + /* If the function is called with no input this means we have to reset + to the initial state. The possibly partly converted input is + dropped. */ + if (do_flush) + { + /* Clear the state. */ + memset (data->data, '\0', sizeof (mbstate_t)); + do_write = 0; + + /* Call the steps down the chain if there are any. */ + if (data->is_last) + result = GCONV_OK; + else + { + struct gconv_step *next_step = step + 1; + struct gconv_step_data *next_data = data + 1; + + result = (*fct) (next_step, next_data, NULL, 0, written, 1); + + /* Clear output buffer. */ + data->outbufavail = 0; + } + } + else + { + do_write = 0; + + do + { + const char *newinbuf = inbuf; + size_t actually = __wcsnrtombs (&data->outbuf[data->outbufavail], + (const wchar_t **) &newinbuf, + *inlen / sizeof (wchar_t), + data->outbufsize - data->outbufavail, + (mbstate_t *) data->data); + + /* Status so far. */ + result = GCONV_EMPTY_INPUT; + + /* Remember how much we converted. */ + do_write += newinbuf - inbuf; + *inlen -= (newinbuf - inbuf) * sizeof (wchar_t); + + data->outbufavail += actually; + if (data->outbufavail > 0) + { + /* Call the functions below in the chain. */ + size_t newavail = data->outbufavail; + + result = (*fct) (next_step, next_data, data->outbuf, &newavail, + written, 0); + + /* Correct the output buffer. */ + if (newavail != data->outbufavail) + { + memmove (data->outbuf, + &data->outbuf[data->outbufavail - newavail], + newavail); + data->outbufavail = newavail; + } + } + } + while (*inlen > 0 && result == GCONV_EMPTY_INPUT); + } + + if (written != NULL && data->is_last) + *written = do_write / sizeof (wchar_t); + + return result; +} + + +int +__gconv_transform_utf8_ucs4 (struct gconv_step *step, + struct gconv_step_data *data, const char *inbuf, + size_t *inlen, size_t *written, int do_flush) +{ + struct gconv_step *next_step = step + 1; + struct gconv_step_data *next_data = data + 1; + gconv_fct fct = next_step->fct; + size_t do_write; + int result; + + /* If the function is called with no input this means we have to reset + to the initial state. The possibly partly converted input is + dropped. */ + if (do_flush) + { + /* Clear the state. */ + memset (data->data, '\0', sizeof (mbstate_t)); + do_write = 0; + + /* Call the steps down the chain if there are any. */ + if (data->is_last) + result = GCONV_OK; + else + { + struct gconv_step *next_step = step + 1; + struct gconv_step_data *next_data = data + 1; + + result = (*fct) (next_step, next_data, NULL, 0, written, 1); + } + } + else + { + do_write = 0; + + do + { + const char *newinbuf = inbuf; + size_t actually = __mbsnrtowcs ((wchar_t *) &data->outbuf[data->outbufavail], + &newinbuf, *inlen, + ((data->outbufsize + - data->outbufavail) + / sizeof (wchar_t)), + (mbstate_t *) data->data); + + /* Status so far. */ + result = GCONV_EMPTY_INPUT; + + /* Remember how much we converted. */ + do_write += actually; + *inlen -= newinbuf - inbuf; + + data->outbufavail += actually * sizeof (wchar_t); + if (data->outbufavail > 0) + { + /* Call the functions below in the chain. */ + size_t newavail = data->outbufavail; + + result = (*fct) (next_step, next_data, data->outbuf, &newavail, + written, 0); + + /* Correct the output buffer. */ + if (newavail != data->outbufavail) + { + memmove (data->outbuf, + &data->outbuf[data->outbufavail - newavail], + newavail); + data->outbufavail = newavail; + } + } + } + while (*inlen > 0 && result == GCONV_EMPTY_INPUT); + } + + if (written != NULL && data->is_last) + *written = do_write; + + return GCONV_OK; +} diff --git a/iconv/iconv.c b/iconv/iconv.c new file mode 100644 index 0000000000..e5b0eb7c0d --- /dev/null +++ b/iconv/iconv.c @@ -0,0 +1,38 @@ +/* Convert characters in input buffer using conversion descriptor to + output buffer. + Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <iconv.h> +#include <gconv.h> + + +size_t +iconv (iconv_t cd, const char **inbuf, size_t *inbytesleft, char **outbuf, + size_t *outbytesleft) +{ + gconv_t gcd = (gconv_t) cd; + size_t converted; + + if (__gconv (gcd, inbuf, inbytesleft, outbuf, outbytesleft, &converted) + != GCONV_OK) + return (size_t) -1; + + return converted; +} diff --git a/iconv/iconv.h b/iconv/iconv.h new file mode 100644 index 0000000000..ceb120d4f3 --- /dev/null +++ b/iconv/iconv.h @@ -0,0 +1,50 @@ +/* Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#ifndef _ICONV_H +#define _ICONV_H 1 + +#include <features.h> +#define __need_size_t +#include <stddef.h> + + +__BEGIN_DECLS + +/* Identifier for conversion method from one codeset to another. */ +typedef void *iconv_t; + + +/* Allocate descriptor for code conversion from codeset FROMCODE to + codeset TOCODE. */ +extern iconv_t iconv_open __P ((__const char *__tocode, + __const char *__fromcode)); + +/* Convert at most *INBYTESLEFT bytes from *INBUF according to the + code conversion algorithm specified by CD and place up to + *OUTBYTESLEFT bytes in buffer at *OUTBUF. */ +extern size_t iconv __P ((iconv_t cd, + __const char **__inbuf, size_t *__inbytesleft, + char **__outbuf, size_t *__outbytesleft)); + +/* Free resources allocated for descriptor CD for code conversion. */ +extern int iconv_close __P ((iconv_t __cd)); + +__END_DECLS + +#endif /* iconv.h */ diff --git a/iconv/iconv_close.c b/iconv/iconv_close.c new file mode 100644 index 0000000000..d3123e21d8 --- /dev/null +++ b/iconv/iconv_close.c @@ -0,0 +1,30 @@ +/* Release any resource associated with given conversion descriptor. + Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <iconv.h> + +#include <gconv.h> + + +int +iconv_close (iconv_t cd) +{ + return __gconv_close ((gconv_t) cd) ? -1 : 0; +} diff --git a/iconv/iconv_open.c b/iconv/iconv_open.c new file mode 100644 index 0000000000..dadf3d9dbb --- /dev/null +++ b/iconv/iconv_open.c @@ -0,0 +1,45 @@ +/* Get descriptor for character set conversion. + Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <errno.h> +#include <iconv.h> + +#include <gconv.h> + + +iconv_t +iconv_open (const char *tocode, const char *fromcode) +{ + gconv_t cd; + int res; + + res = __gconv_open (tocode, fromcode, &cd); + + if (res != GCONV_OK) + { + /* We must set the error number according to the specs. */ + if (res == GCONV_NOCONV || res == GCONV_NODB) + __set_errno (EINVAL); + + return (iconv_t) -1; + } + + return (iconv_t) cd; +} diff --git a/include/gconv.h b/include/gconv.h new file mode 100644 index 0000000000..2bcf6c6821 --- /dev/null +++ b/include/gconv.h @@ -0,0 +1 @@ +#include <iconv/gconv.h> diff --git a/libc.map b/libc.map index d77be20439..3e6b7097f1 100644 --- a/libc.map +++ b/libc.map @@ -415,12 +415,15 @@ GLIBC_2.0 { _IO_list_all; + _IO_stdin_; _IO_stdout_; _IO_stderr_; + _IO_fopen; fopen; freopen; _IO_fclose; fclose; + local: *; }; GLIBC_2.1 { global: - _IO_fopen; fopen; _IO_stdin_; _IO_stdout_; _IO_stderr_; - freopen; + _IO_fopen; fopen; _IO_fclose; fclose; + _IO_2_1_stdin_; _IO_2_1_stdout_; _IO_2_1_stderr_; } GLIBC_2.0; diff --git a/libio/Makefile b/libio/Makefile index 033c959889..f3a66f32ca 100644 --- a/libio/Makefile +++ b/libio/Makefile @@ -43,7 +43,7 @@ all: # Make this the default target; it will be defined in Rules. include ../Makeconfig ifeq ($(versioning),yes) -routines += oldiofopen oldfreopen +routines += oldiofopen oldiofclose endif CPPFLAGS-.o += -DIO_DEBUG @@ -62,7 +62,7 @@ ifeq ($(versioning),yes) aux += oldfileops oldstdfiles endif -shared-only-routines = oldiofopen oldfreopen oldfileops oldstdfiles +shared-only-routines = oldiofopen oldiofclose oldfileops oldstdfiles distribute := iolibio.h libioP.h strfile.h Banner diff --git a/libio/freopen.c b/libio/freopen.c index 7ab3e69845..808d8fab58 100644 --- a/libio/freopen.c +++ b/libio/freopen.c @@ -26,8 +26,13 @@ #include "libioP.h" #include "stdio.h" +#ifdef PIC +extern void *_IO_stdin_used; +weak_extern (_IO_stdin_used); +#endif + FILE* -__new_freopen (filename, mode, fp) +freopen (filename, mode, fp) const char* filename; const char* mode; FILE* fp; @@ -38,9 +43,17 @@ __new_freopen (filename, mode, fp) return NULL; _IO_cleanup_region_start ((void (*) __P ((void *))) _IO_funlockfile, fp); _IO_flockfile (fp); - result = _IO_freopen (filename, mode, fp); +#ifdef PIC + if (&_IO_stdin_used == NULL) + /* If the shared C library is used by the application binary which + was linked against the older version of libio, we just use the + older one even for internal use to avoid trouble since a pointer + to the old libio may be passed into shared C library and wind + up here. */ + result = _IO_old_freopen (filename, mode, fp); + else +#endif + result = _IO_freopen (filename, mode, fp); _IO_cleanup_region_end (1); return result; } - -default_symbol_version (__new_freopen, freopen, GLIBC_2.1); diff --git a/libio/iofclose.c b/libio/iofclose.c index 35f4a8b569..35a23fa6ae 100644 --- a/libio/iofclose.c +++ b/libio/iofclose.c @@ -29,7 +29,7 @@ #endif int -_IO_fclose (fp) +_IO_new_fclose (fp) _IO_FILE *fp; { int status; @@ -53,6 +53,13 @@ _IO_fclose (fp) return status; } -#ifdef weak_alias -weak_alias (_IO_fclose, fclose) +#ifdef DO_VERSIONING +strong_alias (_IO_new_fclose, __new_fclose) +default_symbol_version (_IO_new_fclose, _IO_fclose, GLIBC_2.1); +default_symbol_version (__new_fclose, fclose, GLIBC_2.1); +#else +# ifdef weak_alias +weak_alias (_IO_new_fclose, _IO_fclose) +weak_alias (_IO_new_fclose, fclose) +# endif #endif diff --git a/libio/iolibio.h b/libio/iolibio.h index bb5506444f..c1a9184305 100644 --- a/libio/iolibio.h +++ b/libio/iolibio.h @@ -53,7 +53,7 @@ extern int _IO_obstack_printf __P ((struct obstack *, const char *, ...)); #define _IO_freopen(FILENAME, MODE, FP) \ (_IO_file_close_it(FP), _IO_file_fopen(FP, FILENAME, MODE, 0)) #define _IO_old_freopen(FILENAME, MODE, FP) \ - (_IO_file_close_it(FP), _IO_old_file_fopen(FP, FILENAME, MODE)) + (_IO_old_file_close_it (FP), _IO_old_file_fopen(FP, FILENAME, MODE)) #define _IO_freopen64(FILENAME, MODE, FP) \ (_IO_file_close_it(FP), _IO_file_fopen(FP, FILENAME, MODE, 1)) #define _IO_fileno(FP) ((FP)->_fileno) diff --git a/libio/libio.h b/libio/libio.h index 7c91f6f6de..0c12ff0dc6 100644 --- a/libio/libio.h +++ b/libio/libio.h @@ -225,10 +225,18 @@ typedef struct _IO_FILE _IO_FILE; #endif struct _IO_FILE_complete; -extern struct _IO_FILE_complete _IO_stdin_, _IO_stdout_, _IO_stderr_; -#define _IO_stdin ((_IO_FILE*)(&_IO_stdin_)) -#define _IO_stdout ((_IO_FILE*)(&_IO_stdout_)) -#define _IO_stderr ((_IO_FILE*)(&_IO_stderr_)) +extern struct _IO_FILE_complete _IO_2_1_stdin_; +extern struct _IO_FILE_complete _IO_2_1_stdout_; +extern struct _IO_FILE_complete _IO_2_1_stderr_; +#ifndef _LIBC +#define _IO_stdin ((_IO_FILE*)(&_IO_2_1_stdin_)) +#define _IO_stdout ((_IO_FILE*)(&_IO_2_1_stdout_)) +#define _IO_stderr ((_IO_FILE*)(&_IO_2_1_stderr_)) +#else +extern _IO_FILE *_IO_stdin; +extern _IO_FILE *_IO_stdout; +extern _IO_FILE *_IO_stderr; +#endif /* Define the user-visible type, with user-friendly member names. */ diff --git a/libio/libioP.h b/libio/libioP.h index a90a604e53..a69d75b485 100644 --- a/libio/libioP.h +++ b/libio/libioP.h @@ -346,6 +346,9 @@ extern void _IO_flush_all_linebuffered __P ((void)); #define _IO_do_flush(_f) \ _IO_do_write(_f, (_f)->_IO_write_base, \ (_f)->_IO_write_ptr-(_f)->_IO_write_base) +#define _IO_old_do_flush(_f) \ + _IO_old_do_write(_f, (_f)->_IO_write_base, \ + (_f)->_IO_write_ptr-(_f)->_IO_write_base) #define _IO_in_put_mode(_fp) ((_fp)->_flags & _IO_CURRENTLY_PUTTING) #define _IO_mask_flags(fp, f, mask) \ ((fp)->_flags = ((fp)->_flags & ~(mask)) | ((f) & (mask))) diff --git a/libio/oldfileops.c b/libio/oldfileops.c index b426e88364..eec9eed670 100644 --- a/libio/oldfileops.c +++ b/libio/oldfileops.c @@ -130,7 +130,7 @@ _IO_old_file_close_it (fp) if (!_IO_file_is_open (fp)) return EOF; - write_status = _IO_do_flush (fp); + write_status = _IO_old_do_flush (fp); _IO_unsave_markers(fp); @@ -156,7 +156,7 @@ _IO_old_file_finish (fp, dummy) { if (_IO_file_is_open (fp)) { - _IO_do_flush (fp); + _IO_old_do_flush (fp); if (!(fp->_flags & _IO_DELETE_DONT_CLOSE)) _IO_SYSCLOSE (fp); } @@ -378,14 +378,14 @@ _IO_old_file_overflow (f, ch) f->_flags |= _IO_CURRENTLY_PUTTING; } if (ch == EOF) - return _IO_do_flush (f); + return _IO_old_do_flush (f); if (f->_IO_write_ptr == f->_IO_buf_end ) /* Buffer is really full */ - if (_IO_do_flush (f) == EOF) + if (_IO_old_do_flush (f) == EOF) return EOF; *f->_IO_write_ptr++ = ch; if ((f->_flags & _IO_UNBUFFERED) || ((f->_flags & _IO_LINE_BUF) && ch == '\n')) - if (_IO_do_flush (f) == EOF) + if (_IO_old_do_flush (f) == EOF) return EOF; return (unsigned char) ch; } @@ -401,7 +401,7 @@ _IO_old_file_sync (fp) _IO_flockfile (fp); /* char* ptr = cur_ptr(); */ if (fp->_IO_write_ptr > fp->_IO_write_base) - if (_IO_do_flush(fp)) return EOF; + if (_IO_old_do_flush(fp)) return EOF; delta = fp->_IO_read_ptr - fp->_IO_read_end; if (delta != 0) { @@ -679,7 +679,7 @@ _IO_old_file_xsputn (f, data, n) dont_write = block_size >= 128 ? to_do % block_size : 0; count = to_do - dont_write; - if (_IO_do_write (f, s, count) == EOF) + if (_IO_old_do_write (f, s, count) == EOF) return n - to_do; to_do = dont_write; diff --git a/libio/oldfreopen.c b/libio/oldiofclose.c index 705965c336..5eed0661ec 100644 --- a/libio/oldfreopen.c +++ b/libio/oldiofclose.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1993, 1995, 1997 Free Software Foundation, Inc. This file is part of the GNU IO Library. This library is free software; you can redistribute it and/or @@ -24,23 +24,35 @@ General Public License. */ #include "libioP.h" -#include "stdio.h" +#ifdef __STDC__ +#include <stdlib.h> +#endif -FILE* -__old_freopen (filename, mode, fp) - const char* filename; - const char* mode; - FILE* fp; +int +_IO_old_fclose (fp) + _IO_FILE *fp; { - FILE *result; - CHECK_FILE (fp, NULL); - if (!(fp->_flags & _IO_IS_FILEBUF)) - return NULL; + int status; + + CHECK_FILE(fp, EOF); + _IO_cleanup_region_start ((void (*) __P ((void *))) _IO_funlockfile, fp); _IO_flockfile (fp); - result = _IO_old_freopen (filename, mode, fp); + if (fp->_IO_file_flags & _IO_IS_FILEBUF) + status = _IO_old_file_close_it (fp); + else + status = fp->_flags & _IO_ERR_SEEN ? -1 : 0; + _IO_FINISH (fp); _IO_cleanup_region_end (1); - return result; + if (fp != _IO_stdin && fp != _IO_stdout && fp != _IO_stderr) + { + fp->_IO_file_flags = 0; + free(fp); + } + + return status; } -symbol_version (__old_freopen, freopen,); +strong_alias (_IO_old_fclose, __old_fclose) +symbol_version (_IO_old_fclose, _IO_fclose, GLIBC_2.0); +symbol_version (__old_fclose, fclose, GLIBC_2.0); diff --git a/libio/oldiofopen.c b/libio/oldiofopen.c index c37ec0309a..d0ffb02b13 100644 --- a/libio/oldiofopen.c +++ b/libio/oldiofopen.c @@ -49,7 +49,7 @@ _IO_old_fopen (filename, mode) #endif _IO_init (&new_f->fp.file, 0); _IO_JUMPS (&new_f->fp.file) = &_IO_old_file_jumps; - _IO_file_init (&new_f->fp.file); + _IO_old_file_init (&new_f->fp.file); #if !_IO_UNIFIED_JUMPTABLES new_f->fp.vtable = NULL; #endif @@ -61,5 +61,5 @@ _IO_old_fopen (filename, mode) } strong_alias (_IO_old_fopen, __old_fopen) -symbol_version (_IO_old_fopen, _IO_fopen,); -symbol_version (__old_fopen, fopen,); +symbol_version (_IO_old_fopen, _IO_fopen, GLIBC_2.0); +symbol_version (__old_fopen, fopen, GLIBC_2.0); diff --git a/libio/oldstdfiles.c b/libio/oldstdfiles.c index 3017109581..64c792f7a0 100644 --- a/libio/oldstdfiles.c +++ b/libio/oldstdfiles.c @@ -36,22 +36,52 @@ #define DEF_STDFILE(INAME, NAME, FD, CHAIN, FLAGS) \ static _IO_lock_t _IO_stdfile_##FD##_lock = _IO_lock_initializer; \ struct _IO_FILE_plus INAME \ - = {FILEBUF_LITERAL(CHAIN, FLAGS, FD), &_IO_old_file_jumps}; \ - symbol_version (INAME, NAME,) + = {FILEBUF_LITERAL(CHAIN, FLAGS, FD), &_IO_old_file_jumps}; #else #define DEF_STDFILE(INAME, NAME, FD, CHAIN, FLAGS) \ struct _IO_FILE_plus INAME \ - = {FILEBUF_LITERAL(CHAIN, FLAGS, FD), &_IO_old_file_jumps}; \ - symbol_version (INAME, NAME,) + = {FILEBUF_LITERAL(CHAIN, FLAGS, FD), &_IO_old_file_jumps}; #endif -DEF_STDFILE(_IO_old_stdin_, _IO_stdin_, 0, 0, _IO_NO_WRITES); -DEF_STDFILE(_IO_old_stdout_, _IO_stdout_, 1, &_IO_stdin_.plus.file, +DEF_STDFILE(_IO_stdin_, _IO_stdin_, 0, 0, _IO_NO_WRITES); +DEF_STDFILE(_IO_stdout_, _IO_stdout_, 1, &_IO_stdin_.file, _IO_NO_READS); -DEF_STDFILE(_IO_old_stderr_, _IO_stderr_, 2, &_IO_stdout_.plus.file, +DEF_STDFILE(_IO_stderr_, _IO_stderr_, 2, &_IO_stdout_.file, _IO_NO_READS+_IO_UNBUFFERED); -#if 0 -_IO_FILE *_IO_old_list_all = &_IO_stderr_.plus.file; -symbol_version (_IO_old_list_all, _IO_list_all,); +#if defined __GNUC__ && __GNUC__ >= 2 + +#include <stdio.h> + +extern void * _IO_stdin_used; +weak_extern (_IO_stdin_used); + +#undef stdin +#undef stdout +#undef stderr + +extern FILE *stdin; +extern FILE *stdout; +extern FILE *stderr; + +extern FILE *_IO_list_all; + +static void _IO_check_libio __P ((void)) __attribute__ ((constructor)); + +/* This function determines which shared C library the application + was linked against. We then set up the stdin/stdout/stderr and + _IO_list_all accordingly. */ + +static void +_IO_check_libio () +{ + if (&_IO_stdin_used == NULL) + { + /* We are using the old one. */ + stdin = &_IO_stdin_.file; + stdout = &_IO_stdout_.file; + stderr = _IO_list_all = &_IO_stderr_.file; + } +} + #endif diff --git a/libio/stdfiles.c b/libio/stdfiles.c index 7eb828350c..c70d47423d 100644 --- a/libio/stdfiles.c +++ b/libio/stdfiles.c @@ -36,22 +36,17 @@ #define DEF_STDFILE(INAME, NAME, FD, CHAIN, FLAGS) \ static _IO_lock_t _IO_stdfile_##FD##_lock = _IO_lock_initializer; \ struct _IO_FILE_complete INAME \ - = {{FILEBUF_LITERAL(CHAIN, FLAGS, FD), &_IO_file_jumps},}; \ - default_symbol_version (INAME, NAME, GLIBC_2.1) + = {{FILEBUF_LITERAL(CHAIN, FLAGS, FD), &_IO_file_jumps},}; #else #define DEF_STDFILE(INAME, NAME, FD, CHAIN, FLAGS) \ struct _IO_FILE_complete INAME \ - = {{FILEBUF_LITERAL(CHAIN, FLAGS, FD), &_IO_file_jumps},}; \ - default_symbol_version (INAME, NAME, GLIBC_2.1) + = {{FILEBUF_LITERAL(CHAIN, FLAGS, FD), &_IO_file_jumps},}; #endif -DEF_STDFILE(_IO_new_stdin_, _IO_stdin_, 0, 0, _IO_NO_WRITES); -DEF_STDFILE(_IO_new_stdout_, _IO_stdout_, 1, &_IO_stdin_.plus.file, +DEF_STDFILE(_IO_2_1_stdin_, _IO_stdin_, 0, 0, _IO_NO_WRITES); +DEF_STDFILE(_IO_2_1_stdout_, _IO_stdout_, 1, &_IO_2_1_stdin_.plus.file, _IO_NO_READS); -DEF_STDFILE(_IO_new_stderr_, _IO_stderr_, 2, &_IO_stdout_.plus.file, +DEF_STDFILE(_IO_2_1_stderr_, _IO_stderr_, 2, &_IO_2_1_stdout_.plus.file, _IO_NO_READS+_IO_UNBUFFERED); -_IO_FILE *_IO_list_all = &_IO_stderr_.plus.file; -#if 0 -default_symbol_version (_IO_new_list_all, _IO_list_all, GLIBC_2.1); -#endif +_IO_FILE *_IO_list_all = &_IO_2_1_stderr_.plus.file; diff --git a/libio/stdio.c b/libio/stdio.c index d38379f821..abea7f38ba 100644 --- a/libio/stdio.c +++ b/libio/stdio.c @@ -29,6 +29,13 @@ #undef stdin #undef stdout #undef stderr -FILE *stdin = &_IO_stdin_.plus.file; -FILE *stdout = &_IO_stdout_.plus.file; -FILE *stderr = &_IO_stderr_.plus.file; +FILE *stdin = &_IO_2_1_stdin_.plus.file; +FILE *stdout = &_IO_2_1_stdout_.plus.file; +FILE *stderr = &_IO_2_1_stderr_.plus.file; + +#undef _IO_stdin +#undef _IO_stdout +#undef _IO_stderr +strong_alias (stdin, _IO_stdin); +strong_alias (stdout, _IO_stdout); +strong_alias (stderr, _IO_stderr); diff --git a/locale/Makefile b/locale/Makefile index 90b218130d..57a5bc5715 100644 --- a/locale/Makefile +++ b/locale/Makefile @@ -80,8 +80,8 @@ CPPFLAGS := -DLOCALE_PATH='$(localepath)' \ -DLOCSRCDIR='"$(i18ndir)/locales"' -DHAVE_CONFIG_H \ -Iprograms $(CPPFLAGS) -CFLAGS-charmap.c = -Wno-write-strings -CFLAGS-locfile.c = -Wno-write-strings +CFLAGS-charmap.c = -Wno-write-strings -Wno-char-subscripts +CFLAGS-locfile.c = -Wno-write-strings -Wno-char-subscripts # Depend on libc.so so a DT_NEEDED is generated in the shared objects. # This ensures they will load libc.so for needed symbols if loaded by diff --git a/manual/arith.texi b/manual/arith.texi index a5ba31dde8..07833931fd 100644 --- a/manual/arith.texi +++ b/manual/arith.texi @@ -1,5 +1,5 @@ @c We need some definitions here. -@ifclear cdor +@ifclear cdot @ifhtml @set cdot · @end ifhtml @@ -140,6 +140,7 @@ from real values: @smallexample 3.0 - _Complex_I * 4.0 @end smallexample +@end deftypevr @noindent Without an optimizing compiler this is more expensive than the use of @@ -150,6 +151,7 @@ problem. @deftypevr Macro {const float imaginary} _Imaginary_I This macro is a representation of the value ``@math{1i}''. I.e., it is the value for which +@end deftypevr @smallexample _Imaginary_I * _Imaginary_I = -1 @@ -166,7 +168,6 @@ One can use it to easily construct complex number like in @noindent which results in the complex number with a real part of 3.0 and a imaginary part -4.0. -@end deftypevr @noindent A more intuitive approach is to use the following macro. diff --git a/math/libm-test.c b/math/libm-test.c index 5d68b4953b..0486718b8a 100644 --- a/math/libm-test.c +++ b/math/libm-test.c @@ -856,7 +856,8 @@ asin_test (void) #endif check ("asin (0) == 0", FUNC(asin) (0), 0); - check ("asin (0.5) == pi/6", FUNC(asin) (0.5), M_PI_6); + check_eps ("asin (0.5) == pi/6", FUNC(asin) (0.5), M_PI_6, + CHOOSE(3.5e-18, 0, 2e-7)); check ("asin (1.0) == pi/2", FUNC(asin) (1.0), M_PI_2); } @@ -1508,7 +1509,7 @@ log1p_test (void) check_isinfp ("log1p (+inf) == +inf", FUNC(log1p) (plus_infty)); check_eps ("log1p (e-1) == 1", FUNC(log1p) (M_E - 1.0), 1, - CHOOSE (1e-18L, 0, 0)); + CHOOSE (1e-18L, 0, 6e-8)); } @@ -1779,7 +1780,7 @@ tan_test (void) FUNC(tan) (minus_infty), INVALID_EXCEPTION); check_eps ("tan (pi/4) == 1", FUNC(tan) (M_PI_4), 1, - CHOOSE (2e-18L, 1e-15L, 0)); + CHOOSE (2e-18L, 1e-15L, 2e-7)); } @@ -4880,26 +4881,31 @@ static void inverse_functions (void) { inverse_func_pair_test ("asin(sin(x)) == x", - FUNC(sin), FUNC(asin), 1.0, CHOOSE (2e-18L, 0, 3e-7L)); + FUNC(sin), FUNC(asin), 1.0, + CHOOSE (2e-18L, 0, 3e-7L)); inverse_func_pair_test ("sin(asin(x)) == x", FUNC(asin), FUNC(sin), 1.0, 0.0); inverse_func_pair_test ("acos(cos(x)) == x", - FUNC(cos), FUNC(acos), 1.0, CHOOSE (4e-18L, 1e-15L, 0)); + FUNC(cos), FUNC(acos), 1.0, + CHOOSE (4e-18L, 1e-15L, 0)); inverse_func_pair_test ("cos(acos(x)) == x", FUNC(acos), FUNC(cos), 1.0, 0.0); inverse_func_pair_test ("atan(tan(x)) == x", FUNC(tan), FUNC(atan), 1.0, CHOOSE (2e-18L, 0, 0)); inverse_func_pair_test ("tan(atan(x)) == x", - FUNC(atan), FUNC(tan), 1.0, CHOOSE (2e-18L, 1e-15L, 0)); + FUNC(atan), FUNC(tan), 1.0, + CHOOSE (2e-18L, 1e-15L, 2e-7)); inverse_func_pair_test ("asinh(sinh(x)) == x", FUNC(sinh), FUNC(asinh), 1.0, CHOOSE (1e-18L, 0, 1e-7)); inverse_func_pair_test ("sinh(asinh(x)) == x", - FUNC(asinh), FUNC(sinh), 1.0, CHOOSE (2e-18L, 0, 0)); + FUNC(asinh), FUNC(sinh), 1.0, + CHOOSE (2e-18L, 2e-16L, 2e-7)); inverse_func_pair_test ("acosh(cosh(x)) == x", - FUNC(cosh), FUNC(acosh), 1.0, CHOOSE (1e-18L, 1e-15L, 0)); + FUNC(cosh), FUNC(acosh), 1.0, + CHOOSE (1e-18L, 1e-15L, 6e-8)); inverse_func_pair_test ("cosh(acosh(x)) == x", FUNC(acosh), FUNC(cosh), 1.0, 0.0); diff --git a/md5-crypt/Makefile b/md5-crypt/Makefile index 1737381c27..e948fb0491 100644 --- a/md5-crypt/Makefile +++ b/md5-crypt/Makefile @@ -36,7 +36,7 @@ libcrypt-map := libcrypt.map onlymd5-routines := onlymd5-entry md5-crypt md5 distribute += onlymd5-entry.c -extra-objs := $(patsubst %,onlymd5-entry%,$(object-suffixes)) +extra-objs = $(patsubst %,onlymd5-entry%,$(object-suffixes)) include ../Makeconfig diff --git a/misc/hsearch_r.c b/misc/hsearch_r.c index d9255e1c6b..fbf55eebf6 100644 --- a/misc/hsearch_r.c +++ b/misc/hsearch_r.c @@ -187,6 +187,10 @@ hsearch_r (item, action, retval, htab) else idx -= hval2; + /* If we visited all entries leave the loop unsuccessfully. */ + if (idx == hval) + break; + /* If entry is found use it. */ if (htab->table[idx].used == hval && strcmp (item.key, htab->table[idx].entry.key) == 0) diff --git a/misc/tst-fdset.c b/misc/tst-fdset.c index ddd25c3101..14372cfe0c 100644 --- a/misc/tst-fdset.c +++ b/misc/tst-fdset.c @@ -42,7 +42,7 @@ main (void) fputs (", set", stdout); FD_SET (i, &set); fputs (", check:", stdout); - if (FD_ISSET (i, &set) == 1) + if (FD_ISSET (i, &set)) fputs ("ok", stdout); else { diff --git a/nis/nss_compat/compat-grp.c b/nis/nss_compat/compat-grp.c index a460d8a8ef..6d4ca25e5d 100644 --- a/nis/nss_compat/compat-grp.c +++ b/nis/nss_compat/compat-grp.c @@ -29,10 +29,6 @@ #include <rpcsvc/nis.h> #include <nsswitch.h> -/* Comment out the following line for the production version. */ -/* #define NDEBUG 1 */ -#include <assert.h> - #include "nss-nisplus.h" #include "nisplus-parser.h" @@ -101,10 +97,6 @@ _nss_first_init (void) key, sizeof (key) - 1), local_dir, len_local_dir + 1) - grptable) - 1; - - /* *Maybe* (I'm no NIS expert) we have to duplicate the `local_dir' - value since it might change during our work. So add a test here. */ - assert (grptablelen == sizeof (key) + len_local_dir); } return NSS_STATUS_SUCCESS; @@ -705,7 +697,7 @@ getgrgid_plusgroup (gid_t gid, struct group *result, char *buffer, if (use_nisplus) /* Do the NIS+ query here */ { nis_result *res; - char buf[1024 + grptablelen]; + char buf[24 + grptablelen]; sprintf(buf, "[gid=%d],%s", gid, grptable); res = nis_list(buf, FOLLOW_PATH | FOLLOW_LINKS, NULL, NULL); @@ -727,7 +719,7 @@ getgrgid_plusgroup (gid_t gid, struct group *result, char *buffer, } else /* Use NIS */ { - char buf[1024]; + char buf[24]; char *domain, *outval, *p; int outvallen; diff --git a/nis/nss_compat/compat-pwd.c b/nis/nss_compat/compat-pwd.c index 0216522d36..38a7e2f205 100644 --- a/nis/nss_compat/compat-pwd.c +++ b/nis/nss_compat/compat-pwd.c @@ -30,10 +30,6 @@ #include <rpcsvc/nis.h> #include <nsswitch.h> -/* Comment out the following line for the production version. */ -/* #define NDEBUG 1 */ -#include <assert.h> - #include "netgroup.h" #include "nss-nisplus.h" #include "nisplus-parser.h" @@ -227,10 +223,6 @@ internal_setpwent (ent_t *ent) key, sizeof (key) - 1), local_dir, len_local_dir + 1) - pwdtable) - 1; - - /* *Maybe* (I'm no NIS expert) we have to duplicate the `local_dir' - value since it might change during our work. So add a test here. */ - assert (pwdtablelen == sizeof (key) + len_local_dir); } ent->blacklist.current = 0; diff --git a/nis/nss_compat/compat-spwd.c b/nis/nss_compat/compat-spwd.c index c33d5aa339..5da19d3feb 100644 --- a/nis/nss_compat/compat-spwd.c +++ b/nis/nss_compat/compat-spwd.c @@ -30,10 +30,6 @@ #include <rpcsvc/nis.h> #include <nsswitch.h> -/* Comment out the following line for the production version. */ -/* #define NDEBUG 1 */ -#include <assert.h> - #include "netgroup.h" #include "nss-nisplus.h" #include "nisplus-parser.h" @@ -179,10 +175,6 @@ internal_setspent (ent_t *ent) key, sizeof (key) - 1), local_dir, len_local_dir + 1) - pwdtable) - 1; - - /* *Maybe* (I'm no NIS expert) we have to duplicate the `local_dir' - value since it might change during our work. So add a test here. */ - assert (pwdtablelen == sizeof (key) + len_local_dir); } ent->blacklist.current = 0; diff --git a/posix/regex.h b/posix/regex.h index e9a53d1a9c..22d316b0f1 100644 --- a/posix/regex.h +++ b/posix/regex.h @@ -31,10 +31,10 @@ extern "C" { /* POSIX says that <sys/types.h> must be included (by the caller) before <regex.h>. */ -#if !defined (_POSIX_C_SOURCE) && !defined (_POSIX_SOURCE) && defined (VMS) +#if !defined _POSIX_C_SOURCE && !defined _POSIX_SOURCE && defined VMS /* VMS doesn't have `size_t' in <sys/types.h>, even though POSIX says it should be there. */ -#include <stddef.h> +# include <stddef.h> #endif /* The following two types have to be signed and unsigned integer type @@ -239,7 +239,7 @@ extern reg_syntax_t re_syntax_options; (erroneously) define this in other header files, but we want our value, so remove any previous define. */ #ifdef RE_DUP_MAX -#undef RE_DUP_MAX +# undef RE_DUP_MAX #endif /* If sizeof(int) == 2, then ((1 << 15) - 1) overflows. */ #define RE_DUP_MAX (0x7fff) @@ -313,7 +313,7 @@ typedef enum private to the regex routines. */ #ifndef RE_TRANSLATE_TYPE -#define RE_TRANSLATE_TYPE char * +# define RE_TRANSLATE_TYPE char * #endif struct re_pattern_buffer @@ -404,7 +404,7 @@ struct re_registers `re_match_2' returns information about at least this many registers the first time a `regs' structure is passed. */ #ifndef RE_NREGS -#define RE_NREGS 30 +# define RE_NREGS 30 #endif @@ -427,11 +427,11 @@ typedef struct #if __STDC__ -#define _RE_ARGS(args) args +# define _RE_ARGS(args) args #else /* not __STDC__ */ -#define _RE_ARGS(args) () +# define _RE_ARGS(args) () #endif /* not __STDC__ */ @@ -502,11 +502,11 @@ extern void re_set_registers unsigned num_regs, regoff_t *starts, regoff_t *ends)); #ifdef _REGEX_RE_COMP -#ifndef _CRAY +# ifndef _CRAY /* 4.2 bsd compatibility. */ extern char *re_comp _RE_ARGS ((const char *)); extern int re_exec _RE_ARGS ((const char *)); -#endif +# endif #endif /* POSIX compatibility. */ diff --git a/stdio-common/printf_fp.c b/stdio-common/printf_fp.c index 33bc25bfd2..e54fac0a57 100644 --- a/stdio-common/printf_fp.c +++ b/stdio-common/printf_fp.c @@ -42,7 +42,9 @@ #include <unistd.h> #include <stdlib.h> -#define NDEBUG /* Undefine this for debugging assertions. */ +#ifndef NDEBUG +# define NDEBUG /* Undefine this for debugging assertions. */ +#endif #include <assert.h> /* This defines make it possible to use the same code for GNU C library and diff --git a/stdlib/Makefile b/stdlib/Makefile index 2eb1843a4a..0076ad4fff 100644 --- a/stdlib/Makefile +++ b/stdlib/Makefile @@ -21,7 +21,7 @@ # subdir := stdlib -headers := stdlib.h alloca.h monetary.h fmtmsg.h +headers := stdlib.h alloca.h monetary.h fmtmsg.h ucontext.h sys/ucontext.h routines := \ atof atoi atol atoll \ diff --git a/stdlib/erand48_r.c b/stdlib/erand48_r.c index b3f8b634e3..85393b79f6 100644 --- a/stdlib/erand48_r.c +++ b/stdlib/erand48_r.c @@ -42,12 +42,18 @@ __erand48_r (xsubi, buffer, result) temp.ieee.exponent = IEEE754_DOUBLE_BIAS; temp.ieee.mantissa0 = (xsubi[2] << 4) | (xsubi[1] >> 12); temp.ieee.mantissa1 = ((xsubi[1] & 0xfff) << 20) | (xsubi[0] << 4); - /* Please note the lower 4 bits of mantissa1 are always 0. */ - *result = temp.d - 1.0; +#elif USHRT_MAX == 2147483647 + temp.ieee.negative = 0; + temp.ieee.exponent = IEEE754_DOUBLE_BIAS; + temp.ieee.mantissa0 = (xsubi[1] << 4) | (xsubi[0] >> 28); + temp.ieee.mantissa1 = ((xsubi[0] & 0xfffffff) << 4); #else # error Unsupported size of short int #endif + /* Please note the lower 4 bits of mantissa1 are always 0. */ + *result = temp.d - 1.0; + return 0; } weak_alias (__erand48_r, erand48_r) diff --git a/string/bits/string2.h b/string/bits/string2.h index e0bded08e3..f0172bf186 100644 --- a/string/bits/string2.h +++ b/string/bits/string2.h @@ -583,7 +583,7 @@ __strspn_c1 (__const char *__s, char __accept) # define strstr(haystack, needle) \ (__extension__ (__builtin_constant_p (needle) && __string2_1bptr_p (needle) \ ? (((__const unsigned char *) (needle))[0] == '\0' \ - ? haystack \ + ? (char *) (haystack) \ : (((__const unsigned char *) (needle))[1] == '\0' \ ? strchr (haystack, \ ((__const unsigned char *) (needle))[0]) \ @@ -605,6 +605,47 @@ strnlen (__const char *__string, size_t __maxlen) #endif +#if defined __USE_POSIX || defined __USE_MISC +# ifndef _HAVE_STRING_ARCH_strtok_r +# define strtok_r(s, sep, nextp) \ + (__extension__ (__builtin_constant_p (sep) && __string2_1bptr_p (sep) \ + ? (((__const unsigned char *) (sep))[0] != '\0' \ + && ((__const unsigned char *) (sep))[1] == '\0' \ + ? __strtok_r_1c (s, ((__const unsigned char *) (sep))[0],\ + nextp) \ + : strtok_r (s, sep, nextp)) \ + : strtok_r (s, sep, nextp))) + +__STRING_INLINE char *__strtok_r_1c (char *__s, char __sep, char **__nextp); +__STRING_INLINE char * +__strtok_r_1c (char *__s, char __sep, char **__nextp) +{ + char *__result; + if (__s == NULL) + __s = *__nextp; + while (*__s == __sep) + ++__s; + if (*__s == '\0') + __result = NULL; + else + { + __result = __s; + while (*__s != '\0' && *__s != __sep) + ++__s; + if (*__s == '\0') + *__nextp = __s; + else + { + *__s = '\0'; + *__nextp = __s + 1; + } + } + return __result; +} +# endif +#endif + + #ifdef __USE_BSD # ifndef _HAVE_STRING_ARCH_strsep diff --git a/sysdeps/alpha/Dist b/sysdeps/alpha/Dist index 581022f6c0..0807ce1e69 100644 --- a/sysdeps/alpha/Dist +++ b/sysdeps/alpha/Dist @@ -1,4 +1,3 @@ -setjmp_aux.c divrem.h divl.S divq.S reml.S remq.S _mcount.S diff --git a/sysdeps/arm/sysdep.h b/sysdeps/arm/sysdep.h index b7964a35b1..8d1e2972df 100644 --- a/sysdeps/arm/sysdep.h +++ b/sysdeps/arm/sysdep.h @@ -43,13 +43,13 @@ #endif -/* ARM 6 needs slightly different handling */ -#ifdef __arm6__ +/* APCS-32 doesn't preserve the condition codes across function call. */ +#ifdef __APCS_32__ #define LOADREGS(cond, base, reglist...)\ ldm##cond base,reglist #define RETINSTR(instr, regs...)\ instr regs -#else /* arm 3 */ +#else /* APCS-26 */ #define LOADREGS(cond, base, reglist...)\ ldm##cond base,reglist^ #define RETINSTR(instr, regs...)\ diff --git a/sysdeps/generic/_G_config.h b/sysdeps/generic/_G_config.h index a9a182169b..fc102c23a4 100644 --- a/sysdeps/generic/_G_config.h +++ b/sysdeps/generic/_G_config.h @@ -9,6 +9,7 @@ #include <bits/types.h> #define __need_size_t #define __need_wint_t +#define __need_NULL #include <stddef.h> #ifndef _WINT_T /* Integral type unchanged by default argument promotions that can diff --git a/sysdeps/generic/e_acoshl.c b/sysdeps/generic/e_acoshl.c index 2c7e8ca3cd..2c2fbe8eb4 100644 --- a/sysdeps/generic/e_acoshl.c +++ b/sysdeps/generic/e_acoshl.c @@ -10,5 +10,5 @@ __ieee754_acoshl (long double x) return 0.0; } -stub_warning (__ieee754_acoshl) +stub_warning (acoshl) #include <stub-tag.h> diff --git a/sysdeps/generic/e_acosl.c b/sysdeps/generic/e_acosl.c index f7ee70d592..d844d885b8 100644 --- a/sysdeps/generic/e_acosl.c +++ b/sysdeps/generic/e_acosl.c @@ -10,5 +10,5 @@ __ieee754_acosl (long double x) return 0.0; } -stub_warning (__ieee754_acosl) +stub_warning (acosl) #include <stub-tag.h> diff --git a/sysdeps/generic/e_asinl.c b/sysdeps/generic/e_asinl.c index 271a375fa2..3b26f030ef 100644 --- a/sysdeps/generic/e_asinl.c +++ b/sysdeps/generic/e_asinl.c @@ -10,5 +10,5 @@ __ieee754_asinl (long double x) return 0.0; } -stub_warning (__ieee754_asinl) +stub_warning (asinl) #include <stub-tag.h> diff --git a/sysdeps/generic/e_atan2l.c b/sysdeps/generic/e_atan2l.c index 00d43d95c2..0caed8a32f 100644 --- a/sysdeps/generic/e_atan2l.c +++ b/sysdeps/generic/e_atan2l.c @@ -10,5 +10,5 @@ __ieee754_atan2l (long double x, long double y) return 0.0; } -stub_warning (__ieee754_atan2l) +stub_warning (atan2l) #include <stub-tag.h> diff --git a/sysdeps/generic/e_expl.c b/sysdeps/generic/e_expl.c index 9d6a4bd4bd..f9467c38ab 100644 --- a/sysdeps/generic/e_expl.c +++ b/sysdeps/generic/e_expl.c @@ -10,5 +10,5 @@ __ieee754_expl (long double x) return 0.0; } -stub_warning (__ieee754_expl) +stub_warning (expl) #include <stub-tag.h> diff --git a/sysdeps/generic/e_fmodl.c b/sysdeps/generic/e_fmodl.c index 950ba085b5..380da24e41 100644 --- a/sysdeps/generic/e_fmodl.c +++ b/sysdeps/generic/e_fmodl.c @@ -10,5 +10,5 @@ __ieee754_fmodl (long double x, long double y) return 0.0; } -stub_warning (__ieee754_fmodl) +stub_warning (fmodl) #include <stub-tag.h> diff --git a/sysdeps/generic/e_j0l.c b/sysdeps/generic/e_j0l.c index 1e36bf76ad..624914b9ff 100644 --- a/sysdeps/generic/e_j0l.c +++ b/sysdeps/generic/e_j0l.c @@ -10,7 +10,7 @@ __ieee754_j0l (long double x) return 0.0; } -stub_warning (__ieee754_j0l) +stub_warning (j0l) long double __ieee754_y0l (long double x) @@ -20,5 +20,5 @@ __ieee754_y0l (long double x) return 0.0; } -stub_warning (__ieee754_y0l) +stub_warning (y0l) #include <stub-tag.h> diff --git a/sysdeps/generic/e_j1l.c b/sysdeps/generic/e_j1l.c index a1d30e2501..c2ae40e05c 100644 --- a/sysdeps/generic/e_j1l.c +++ b/sysdeps/generic/e_j1l.c @@ -10,7 +10,7 @@ __ieee754_j1l (long double x) return 0.0; } -stub_warning (__ieee754_j1l) +stub_warning (j1l) long double __ieee754_y1l (long double x) @@ -20,5 +20,5 @@ __ieee754_y1l (long double x) return 0.0; } -stub_warning (__ieee754_y1l) +stub_warning (y1l) #include <stub-tag.h> diff --git a/sysdeps/generic/e_jnl.c b/sysdeps/generic/e_jnl.c index 78915ec817..411598d40a 100644 --- a/sysdeps/generic/e_jnl.c +++ b/sysdeps/generic/e_jnl.c @@ -10,7 +10,7 @@ __ieee754_jnl (int n, long double x) return 0.0; } -stub_warning (__ieee754_jnl) +stub_warning (jnl) long double __ieee754_ynl (int n, long double x) @@ -20,5 +20,5 @@ __ieee754_ynl (int n, long double x) return 0.0; } -stub_warning (__ieee754_ynl) +stub_warning (ynl) #include <stub-tag.h> diff --git a/sysdeps/generic/e_lgammal_r.c b/sysdeps/generic/e_lgammal_r.c index bba92bb5e2..0c1bc661ad 100644 --- a/sysdeps/generic/e_lgammal_r.c +++ b/sysdeps/generic/e_lgammal_r.c @@ -10,5 +10,6 @@ __ieee754_lgammal_r (long double x, int *signgamp) return 0.0; } -stub_warning (__ieee754_lgammal_r) +stub_warning (lgammal) +stub_warning (lgammal_r) #include <stub-tag.h> diff --git a/sysdeps/generic/e_log10l.c b/sysdeps/generic/e_log10l.c index fef310308a..5bc264b32c 100644 --- a/sysdeps/generic/e_log10l.c +++ b/sysdeps/generic/e_log10l.c @@ -10,5 +10,5 @@ __ieee754_log10l (long double x) return 0.0; } -stub_warning (__ieee754_log10l) +stub_warning (log10l) #include <stub-tag.h> diff --git a/sysdeps/generic/e_logl.c b/sysdeps/generic/e_logl.c index 3fe7a48459..9ba9cfc799 100644 --- a/sysdeps/generic/e_logl.c +++ b/sysdeps/generic/e_logl.c @@ -10,5 +10,5 @@ __ieee754_logl (long double x) return 0.0; } -stub_warning (__ieee754_logl) +stub_warning (logl) #include <stub-tag.h> diff --git a/sysdeps/generic/e_powl.c b/sysdeps/generic/e_powl.c index 96ec53943e..afc2248b6b 100644 --- a/sysdeps/generic/e_powl.c +++ b/sysdeps/generic/e_powl.c @@ -10,5 +10,5 @@ __ieee754_powl (long double x, long double y) return 0.0; } -stub_warning (__ieee754_powl) +stub_warning (powl) #include <stub-tag.h> diff --git a/sysdeps/generic/e_sqrtl.c b/sysdeps/generic/e_sqrtl.c index d5380809ed..7680bdb145 100644 --- a/sysdeps/generic/e_sqrtl.c +++ b/sysdeps/generic/e_sqrtl.c @@ -10,5 +10,5 @@ __ieee754_sqrtl (long double x) return 0.0; } -stub_warning (__ieee754_sqrtl) +stub_warning (sqrtl) #include <stub-tag.h> diff --git a/sysdeps/generic/s_exp2l.c b/sysdeps/generic/s_exp2l.c index 46ecc4eae3..64ef6d3d50 100644 --- a/sysdeps/generic/s_exp2l.c +++ b/sysdeps/generic/s_exp2l.c @@ -3,13 +3,12 @@ #include <errno.h> long double -__exp2l (long double x) +__ieee754_exp2l (long double x) { - fputs ("__exp2l not implemented\n", stderr); + fputs ("__ieee754_exp2l not implemented\n", stderr); __set_errno (ENOSYS); return 0.0; } -weak_alias (__exp2l, exp2l) stub_warning (exp2l) #include <stub-tag.h> diff --git a/sysdeps/libm-i387/i686/s_fdim.S b/sysdeps/libm-i387/i686/s_fdim.S new file mode 100644 index 0000000000..1ecae61aa9 --- /dev/null +++ b/sysdeps/libm-i387/i686/s_fdim.S @@ -0,0 +1,41 @@ +/* Compute positive difference. + Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <sysdep.h> + + .text +ENTRY(__fdim) + fldl 4(%esp) // x + fldl 12(%esp) // x : y + + fucomi %st(1), %st + jp 1f + + fsubp %st(1), %st + fldz + fcmovnb %st(1), %st + jmp 2f + +1: fucomi %st(0), %st + fcmovu %st, %st(1) +2: fstp %st(1) + ret +END(__fdim) +weak_alias (__fdim, fdim) diff --git a/sysdeps/libm-i387/i686/s_fdimf.S b/sysdeps/libm-i387/i686/s_fdimf.S new file mode 100644 index 0000000000..0d2ef3cc1a --- /dev/null +++ b/sysdeps/libm-i387/i686/s_fdimf.S @@ -0,0 +1,41 @@ +/* Compute positive difference. + Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <sysdep.h> + + .text +ENTRY(__fdimf) + flds 4(%esp) // x + flds 8(%esp) // x : y + + fucomi %st(1), %st + jp 1f + + fsubp %st(1), %st + fldz + fcmovnb %st(1), %st + jmp 2f + +1: fucomi %st(0), %st + fcmovu %st, %st(1) +2: fstp %st(1) + ret +END(__fdimf) +weak_alias (__fdimf, fdimf) diff --git a/sysdeps/libm-i387/i686/s_fdiml.S b/sysdeps/libm-i387/i686/s_fdiml.S new file mode 100644 index 0000000000..94510df756 --- /dev/null +++ b/sysdeps/libm-i387/i686/s_fdiml.S @@ -0,0 +1,41 @@ +/* Compute positive difference. + Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <sysdep.h> + + .text +ENTRY(__fdiml) + fldt 4(%esp) // x + fldt 16(%esp) // x : y + + fucomi %st(1), %st + jp 1f + + fsubp %st(1), %st + fldz + fcmovnb %st(1), %st + jmp 2f + +1: fucomi %st(0), %st + fcmovu %st, %st(1) +2: fstp %st(1) + ret +END(__fdiml) +weak_alias (__fdiml, fdiml) diff --git a/sysdeps/libm-i387/i686/s_fmax.S b/sysdeps/libm-i387/i686/s_fmax.S new file mode 100644 index 0000000000..3639ba7470 --- /dev/null +++ b/sysdeps/libm-i387/i686/s_fmax.S @@ -0,0 +1,40 @@ +/* Compute maximum of two numbers, regarding NaN as missing argument. + Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <sysdep.h> + + .text +ENTRY(__fmax) + fldl 4(%esp) // x + fldl 12(%esp) // x : y + + fucomi %st(0), %st + fcmovu %st(1), %st // now %st contains y if not NaN, x otherwise + + fxch + + fucomi %st(1), %st + fcmovb %st(1), %st + + fstp %st(1) + + ret +END(__fmax) +weak_alias (__fmax, fmax) diff --git a/sysdeps/libm-i387/i686/s_fmaxf.S b/sysdeps/libm-i387/i686/s_fmaxf.S new file mode 100644 index 0000000000..ad948d0b62 --- /dev/null +++ b/sysdeps/libm-i387/i686/s_fmaxf.S @@ -0,0 +1,40 @@ +/* Compute maximum of two numbers, regarding NaN as missing argument. + Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <sysdep.h> + + .text +ENTRY(__fmaxf) + flds 4(%esp) // x + flds 8(%esp) // x : y + + fucomi %st(0), %st + fcmovu %st(1), %st // now %st contains y if not NaN, x otherwise + + fxch + + fucomi %st(1), %st + fcmovb %st(1), %st + + fstp %st(1) + + ret +END(__fmaxf) +weak_alias (__fmaxf, fmaxf) diff --git a/sysdeps/libm-i387/i686/s_fmaxl.S b/sysdeps/libm-i387/i686/s_fmaxl.S new file mode 100644 index 0000000000..14859b0a6d --- /dev/null +++ b/sysdeps/libm-i387/i686/s_fmaxl.S @@ -0,0 +1,40 @@ +/* Compute maximum of two numbers, regarding NaN as missing argument. + Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <sysdep.h> + + .text +ENTRY(__fmaxl) + fldt 4(%esp) // x + fldt 16(%esp) // x : y + + fucomi %st(0), %st + fcmovu %st(1), %st // now %st contains y if not NaN, x otherwise + + fxch + + fucomi %st(1), %st + fcmovb %st(1), %st + + fstp %st(1) + + ret +END(__fmaxl) +weak_alias (__fmaxl, fmaxl) diff --git a/sysdeps/libm-i387/i686/s_fmin.S b/sysdeps/libm-i387/i686/s_fmin.S new file mode 100644 index 0000000000..9df029996d --- /dev/null +++ b/sysdeps/libm-i387/i686/s_fmin.S @@ -0,0 +1,38 @@ +/* Compute minimum of two numbers, regarding NaN as missing argument. + Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <sysdep.h> + + .text +ENTRY(__fmin) + fldl 4(%esp) // x + fldl 12(%esp) // x : y + + fucomi %st(0), %st + fcmovu %st(1), %st // now %st contains y if not NaN, x otherwise + + fucomi %st(1), %st + fcmovb %st(1), %st + + fstp %st(1) + + ret +END(__fmin) +weak_alias (__fmin, fmin) diff --git a/sysdeps/libm-i387/i686/s_fminf.S b/sysdeps/libm-i387/i686/s_fminf.S new file mode 100644 index 0000000000..a1d1497c15 --- /dev/null +++ b/sysdeps/libm-i387/i686/s_fminf.S @@ -0,0 +1,38 @@ +/* Compute minimum of two numbers, regarding NaN as missing argument. + Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <sysdep.h> + + .text +ENTRY(__fminf) + flds 4(%esp) // x + flds 8(%esp) // x : y + + fucomi %st(0), %st + fcmovu %st(1), %st // now %st contains y if not NaN, x otherwise + + fucomi %st(1), %st + fcmovb %st(1), %st + + fstp %st(1) + + ret +END(__fminf) +weak_alias (__fminf, fminf) diff --git a/sysdeps/libm-i387/i686/s_fminl.S b/sysdeps/libm-i387/i686/s_fminl.S new file mode 100644 index 0000000000..089be40bd4 --- /dev/null +++ b/sysdeps/libm-i387/i686/s_fminl.S @@ -0,0 +1,38 @@ +/* Compute minimum of two numbers, regarding NaN as missing argument. + Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <sysdep.h> + + .text +ENTRY(__fminl) + fldt 4(%esp) // x + fldt 16(%esp) // x : y + + fucomi %st(0), %st + fcmovu %st(1), %st // now %st contains y if not NaN, x otherwise + + fucomi %st(1), %st + fcmovb %st(1), %st + + fstp %st(1) + + ret +END(__fminl) +weak_alias (__fminl, fminl) diff --git a/sysdeps/libm-i387/s_fdim.S b/sysdeps/libm-i387/s_fdim.S new file mode 100644 index 0000000000..758d6ec915 --- /dev/null +++ b/sysdeps/libm-i387/s_fdim.S @@ -0,0 +1,51 @@ +/* Compute positive difference. + Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <sysdep.h> + + .text +ENTRY(__fdim) + fldl 4(%esp) // x + fldl 12(%esp) // x : y + + fucom %st(1) + fnstsw + sahf + jp 1f + + fsubp %st(1), %st + jc 2f + + fstp %st(0) + fldz + jmp 2f + +1: fxam + fnstsw + andb $0x45, %ah + cmpb $0x01, %ah + je 3f + + fxch +3: fstp %st(1) + +2: ret +END(__fdim) +weak_alias (__fdim, fdim) diff --git a/sysdeps/libm-i387/s_fdimf.S b/sysdeps/libm-i387/s_fdimf.S new file mode 100644 index 0000000000..862f28e0eb --- /dev/null +++ b/sysdeps/libm-i387/s_fdimf.S @@ -0,0 +1,51 @@ +/* Compute positive difference. + Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <sysdep.h> + + .text +ENTRY(__fdimf) + flds 4(%esp) // x + flds 8(%esp) // x : y + + fucom %st(1) + fnstsw + sahf + jp 1f + + fsubp %st(1), %st + jc 2f + + fstp %st(0) + fldz + jmp 2f + +1: fxam + fnstsw + andb $0x45, %ah + cmpb $0x01, %ah + je 3f + + fxch +3: fstp %st(1) + +2: ret +END(__fdimf) +weak_alias (__fdimf, fdimf) diff --git a/sysdeps/libm-i387/s_fdiml.S b/sysdeps/libm-i387/s_fdiml.S new file mode 100644 index 0000000000..428ae36343 --- /dev/null +++ b/sysdeps/libm-i387/s_fdiml.S @@ -0,0 +1,51 @@ +/* Compute positive difference. + Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <sysdep.h> + + .text +ENTRY(__fdiml) + fldt 4(%esp) // x + fldt 16(%esp) // x : y + + fucom %st(1) + fnstsw + sahf + jp 1f + + fsubp %st(1), %st + jc 2f + + fstp %st(0) + fldz + jmp 2f + +1: fxam + fnstsw + andb $0x45, %ah + cmpb $0x01, %ah + je 3f + + fxch +3: fstp %st(1) + +2: ret +END(__fdiml) +weak_alias (__fdiml, fdiml) diff --git a/sysdeps/libm-i387/s_fmax.S b/sysdeps/libm-i387/s_fmax.S new file mode 100644 index 0000000000..3dbaa139ad --- /dev/null +++ b/sysdeps/libm-i387/s_fmax.S @@ -0,0 +1,44 @@ +/* Compute maximum of two numbers, regarding NaN as missing argument. + Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <sysdep.h> + + .text +ENTRY(__fmax) + fldl 12(%esp) // y + fxam + fnstsw + fldl 4(%esp) // y : x + + andb $0x45, %ah + cmpb $0x01, %ah + je 1f // y == NaN + + fucom %st(1) + fnstsw + sahf + jnc 1f + + fxch %st(1) +1: fstp %st(1) + + ret +END(__fmax) +weak_alias (__fmax, fmax) diff --git a/sysdeps/libm-i387/s_fmaxf.S b/sysdeps/libm-i387/s_fmaxf.S new file mode 100644 index 0000000000..5dd94a43c4 --- /dev/null +++ b/sysdeps/libm-i387/s_fmaxf.S @@ -0,0 +1,44 @@ +/* Compute maximum of two numbers, regarding NaN as missing argument. + Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <sysdep.h> + + .text +ENTRY(__fmaxf) + flds 8(%esp) // y + fxam + fnstsw + flds 4(%esp) // y : x + + andb $0x45, %ah + cmpb $0x01, %ah + je 1f // y == NaN + + fucom %st(1) + fnstsw + sahf + jnc 1f + + fxch %st(1) +1: fstp %st(1) + + ret +END(__fmaxf) +weak_alias (__fmaxf, fmaxf) diff --git a/sysdeps/libm-i387/s_fmaxl.S b/sysdeps/libm-i387/s_fmaxl.S new file mode 100644 index 0000000000..d833bd1985 --- /dev/null +++ b/sysdeps/libm-i387/s_fmaxl.S @@ -0,0 +1,44 @@ +/* Compute maximum of two numbers, regarding NaN as missing argument. + Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <sysdep.h> + + .text +ENTRY(__fmaxl) + fldt 16(%esp) // y + fxam + fnstsw + fldt 4(%esp) // y : x + + andb $0x45, %ah + cmpb $0x01, %ah + je 1f // y == NaN + + fucom %st(1) + fnstsw + sahf + jnc 1f + + fxch %st(1) +1: fstp %st(1) + + ret +END(__fmaxl) +weak_alias (__fmaxl, fmaxl) diff --git a/sysdeps/libm-i387/s_fmin.S b/sysdeps/libm-i387/s_fmin.S new file mode 100644 index 0000000000..1ac46c7d21 --- /dev/null +++ b/sysdeps/libm-i387/s_fmin.S @@ -0,0 +1,44 @@ +/* Compute minimum of two numbers, regarding NaN as missing argument. + Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <sysdep.h> + + .text +ENTRY(__fmin) + fldl 4(%esp) // x + fldl 12(%esp) // x : y + + fxam + fnstsw + andb $0x45, %ah + cmpb $0x01, %ah + je 1f // y == NaN + + fucom %st(1) + fnstsw + sahf + jc 2f + +1: fxch %st(1) +2: fstp %st(1) + + ret +END(__fmin) +weak_alias (__fmin, fmin) diff --git a/sysdeps/libm-i387/s_fminf.S b/sysdeps/libm-i387/s_fminf.S new file mode 100644 index 0000000000..7dd346d2bc --- /dev/null +++ b/sysdeps/libm-i387/s_fminf.S @@ -0,0 +1,44 @@ +/* Compute minimum of two numbers, regarding NaN as missing argument. + Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <sysdep.h> + + .text +ENTRY(__fminf) + flds 4(%esp) // x + flds 8(%esp) // x : y + + fxam + fnstsw + andb $0x45, %ah + cmpb $0x01, %ah + je 1f // y == NaN + + fucom %st(1) + fnstsw + sahf + jc 2f + +1: fxch %st(1) +2: fstp %st(1) + + ret +END(__fminf) +weak_alias (__fminf, fminf) diff --git a/sysdeps/libm-i387/s_fminl.S b/sysdeps/libm-i387/s_fminl.S new file mode 100644 index 0000000000..883735d32c --- /dev/null +++ b/sysdeps/libm-i387/s_fminl.S @@ -0,0 +1,44 @@ +/* Compute minimum of two numbers, regarding NaN as missing argument. + Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <sysdep.h> + + .text +ENTRY(__fminl) + fldt 4(%esp) // x + fldt 16(%esp) // x : y + + fxam + fnstsw + andb $0x45, %ah + cmpb $0x01, %ah + je 1f // y == NaN + + fucom %st(1) + fnstsw + sahf + jc 2f + +1: fxch %st(1) +2: fstp %st(1) + + ret +END(__fminl) +weak_alias (__fminl, fminl) diff --git a/sysdeps/libm-ieee754/s_ilogb.c b/sysdeps/libm-ieee754/s_ilogb.c index 0c28b689b9..820f01c9b2 100644 --- a/sysdeps/libm-ieee754/s_ilogb.c +++ b/sysdeps/libm-ieee754/s_ilogb.c @@ -37,7 +37,7 @@ static char rcsid[] = "$NetBSD: s_ilogb.c,v 1.9 1995/05/10 20:47:28 jtc Exp $"; if(hx<0x00100000) { GET_LOW_WORD(lx,x); if((hx|lx)==0) - return 0x80000001; /* ilogb(0) = 0x80000001 */ + return FP_ILOGB0; /* ilogb(0) = FP_ILOGB0 */ else /* subnormal x */ if(hx==0) { for (ix = -1043; lx>0; lx<<=1) ix -=1; @@ -47,7 +47,7 @@ static char rcsid[] = "$NetBSD: s_ilogb.c,v 1.9 1995/05/10 20:47:28 jtc Exp $"; return ix; } else if (hx<0x7ff00000) return (hx>>20)-1023; - else return 0x7fffffff; + else return FP_ILOGBNAN; } weak_alias (__ilogb, ilogb) #ifdef NO_LONG_DOUBLE diff --git a/sysdeps/libm-ieee754/s_ilogbf.c b/sysdeps/libm-ieee754/s_ilogbf.c index 2440803c20..e652b93619 100644 --- a/sysdeps/libm-ieee754/s_ilogbf.c +++ b/sysdeps/libm-ieee754/s_ilogbf.c @@ -8,7 +8,7 @@ * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this - * software is freely granted, provided that this notice + * software is freely granted, provided that this notice * is preserved. * ==================================================== */ @@ -32,13 +32,13 @@ static char rcsid[] = "$NetBSD: s_ilogbf.c,v 1.4 1995/05/10 20:47:31 jtc Exp $"; GET_FLOAT_WORD(hx,x); hx &= 0x7fffffff; if(hx<0x00800000) { - if(hx==0) - return 0x80000001; /* ilogb(0) = 0x80000001 */ + if(hx==0) + return FP_ILOGB0; /* ilogb(0) = FP_ILOGB0 */ else /* subnormal x */ for (ix = -126,hx<<=8; hx>0; hx<<=1) ix -=1; return ix; } else if (hx<0x7f800000) return (hx>>23)-127; - else return 0x7fffffff; + else return FP_ILOGBNAN; } weak_alias (__ilogbf, ilogbf) diff --git a/sysdeps/libm-ieee754/s_ilogbl.c b/sysdeps/libm-ieee754/s_ilogbl.c index 11372e0dc8..d44229dcda 100644 --- a/sysdeps/libm-ieee754/s_ilogbl.c +++ b/sysdeps/libm-ieee754/s_ilogbl.c @@ -41,7 +41,7 @@ static char rcsid[] = "$NetBSD: $"; if(es==0) { GET_LDOUBLE_WORDS(es,hx,lx,x); if((hx|lx)==0) - return 0x80000001; /* ilogbl(0) = 0x80000001 */ + return FP_ILOGB0; /* ilogbl(0) = FP_ILOGB0 */ else /* subnormal x */ if(hx==0) { for (ix = -16415; lx>0; lx<<=1) ix -=1; @@ -51,6 +51,6 @@ static char rcsid[] = "$NetBSD: $"; return ix; } else if (es<0x7fff) return es-0x3fff; - else return 0x7fffffff; + else return FP_ILOGBNAN; } weak_alias (__ilogbl, ilogbl) diff --git a/sysdeps/libm-ieee754/s_llrintf.c b/sysdeps/libm-ieee754/s_llrintf.c index 83cb7fdd37..a812377d19 100644 --- a/sysdeps/libm-ieee754/s_llrintf.c +++ b/sysdeps/libm-ieee754/s_llrintf.c @@ -34,17 +34,17 @@ long long int __llrintf (float x) { int32_t j0; - u_int32_t i, i0; + u_int32_t i0; volatile float w; float t; long long int result; int sx; - GET_FLOAT_WORD (i, x); + GET_FLOAT_WORD (i0, x); sx = i0 >> 31; j0 = ((i0 >> 23) & 0xff) - 0x7f; - i0 = i & 0x7fffff; + i0 &= 0x7fffff; i0 |= 0x800000; if (j0 < (int32_t) (sizeof (long long int) * 8) - 1) @@ -57,10 +57,10 @@ __llrintf (float x) { w = two23[sx] + x; t = w - two23[sx]; - GET_FLOAT_WORD (i, t); - i0 = i & 0x7fffff; - i0 |= 0x800000; + GET_FLOAT_WORD (i0, t); j0 = ((i0 >> 23) & 0xff) - 0x7f; + i0 &= 0x7fffff; + i0 |= 0x800000; result = i0 >> (23 - j0); } diff --git a/sysdeps/libm-ieee754/s_lrint.c b/sysdeps/libm-ieee754/s_lrint.c index 8fe7d24e14..8f0d717963 100644 --- a/sysdeps/libm-ieee754/s_lrint.c +++ b/sysdeps/libm-ieee754/s_lrint.c @@ -34,7 +34,7 @@ long int __lrint (double x) { int32_t j0; - u_int32_t i0,i1,i; + u_int32_t i0,i1; volatile double w; double t; long int result; @@ -55,9 +55,9 @@ __lrint (double x) w = two52[sx] + x; t = w - two52[sx]; EXTRACT_WORDS (i0, i1, t); - i0 = i & 0xfffff; - i0 |= 0x100000; j0 = ((i0 >> 20) & 0x7ff) - 0x3ff; + i0 &= 0xfffff; + i0 |= 0x100000; result = i0 >> (20 - j0); } @@ -71,9 +71,9 @@ __lrint (double x) w = two52[sx] + x; t = w - two52[sx]; EXTRACT_WORDS (i0, i1, t); - i0 = i & 0xfffff; - i0 |= 0x100000; j0 = ((i0 >> 20) & 0x7ff) - 0x3ff; + i0 &= 0xfffff; + i0 |= 0x100000; result = ((long int) i0 << (j0 - 20)) | (i1 >> (52 - j0)); } diff --git a/sysdeps/libm-ieee754/s_lrintf.c b/sysdeps/libm-ieee754/s_lrintf.c index d80d81a718..210ffec501 100644 --- a/sysdeps/libm-ieee754/s_lrintf.c +++ b/sysdeps/libm-ieee754/s_lrintf.c @@ -34,17 +34,17 @@ long int __lrintf (float x) { int32_t j0; - u_int32_t i, i0; + u_int32_t i0; volatile float w; float t; long int result; int sx; - GET_FLOAT_WORD (i, x); + GET_FLOAT_WORD (i0, x); sx = i0 >> 31; j0 = ((i0 >> 23) & 0xff) - 0x7f; - i0 = i & 0x7fffff; + i0 &= 0x7fffff; i0 |= 0x800000; if (j0 < (int32_t) (sizeof (long int) * 8) - 1) @@ -57,10 +57,10 @@ __lrintf (float x) { w = two23[sx] + x; t = w - two23[sx]; - GET_FLOAT_WORD (i, t); - i0 = i & 0x7fffff; - i0 |= 0x800000; + GET_FLOAT_WORD (i0, t); j0 = ((i0 >> 23) & 0xff) - 0x7f; + i0 &= 0x7fffff; + i0 |= 0x800000; result = i0 >> (23 - j0); } diff --git a/sysdeps/libm-ieee754/s_nanf.c b/sysdeps/libm-ieee754/s_nanf.c index 862327aa1e..b59040ac82 100644 --- a/sysdeps/libm-ieee754/s_nanf.c +++ b/sysdeps/libm-ieee754/s_nanf.c @@ -35,6 +35,6 @@ __nanf (const char *tagp) return strtof (buf, NULL); } - return NANF; + return NAN; } weak_alias (__nanf, nanf) diff --git a/sysdeps/libm-ieee754/s_nanl.c b/sysdeps/libm-ieee754/s_nanl.c index 223f95082e..bd42689b78 100644 --- a/sysdeps/libm-ieee754/s_nanl.c +++ b/sysdeps/libm-ieee754/s_nanl.c @@ -35,6 +35,6 @@ __nanl (const char *tagp) return strtold (buf, NULL); } - return NANL; + return NAN; } weak_alias (__nanl, nanl) diff --git a/sysdeps/posix/ctermid.c b/sysdeps/posix/ctermid.c index 410e3ece44..ea1f9a098e 100644 --- a/sysdeps/posix/ctermid.c +++ b/sysdeps/posix/ctermid.c @@ -29,11 +29,8 @@ ctermid (s) { static char name[L_ctermid]; - if (name[0] == '\0') - (void) strcpy(name, "/dev/tty"); - if (s == NULL) - return(name); + s = name; - return(strcpy(s, name)); + return strcpy (s, "/dev/tty"); } diff --git a/sysdeps/unix/sysv/linux/Dist b/sysdeps/unix/sysv/linux/Dist index 2896953cb7..70baab50ee 100644 --- a/sysdeps/unix/sysv/linux/Dist +++ b/sysdeps/unix/sysv/linux/Dist @@ -5,6 +5,8 @@ kernel_sigaction.h kernel_stat.h kernel_termios.h llseek.c +s_pread64.c +s_pwrite64.c siglist.h socketcall.h sysctl.c @@ -12,6 +14,7 @@ termio.h net/ethernet.h net/if.h net/if_arp.h +net/if_packet.h net/if_ppp.h net/if_slip.h net/ppp-comp.h @@ -28,6 +31,7 @@ netinet/tcp.h netinet/udp.h netipx/ipx.h nfs/nfs.h +scsi/sg.h sys/acct.h sys/debugreg.h sys/fsuid.h diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile index 005278068a..7331b38588 100644 --- a/sysdeps/unix/sysv/linux/Makefile +++ b/sysdeps/unix/sysv/linux/Makefile @@ -52,7 +52,7 @@ endif ifeq ($(subdir),socket) sysdep_headers += net/if.h net/if_ppp.h net/ppp-comp.h \ net/ppp_defs.h net/if_arp.h net/route.h net/ethernet.h \ - net/if_slip.h + net/if_slip.h net/if_packet.h sysdep_routines += cmsg_nxthdr endif diff --git a/sysdeps/unix/sysv/linux/_G_config.h b/sysdeps/unix/sysv/linux/_G_config.h index ccb84ad8f7..9ad897644e 100644 --- a/sysdeps/unix/sysv/linux/_G_config.h +++ b/sysdeps/unix/sysv/linux/_G_config.h @@ -9,6 +9,7 @@ #include <bits/types.h> #define __need_size_t #define __need_wint_t +#define __need_NULL #include <stddef.h> #ifndef _WINT_T /* Integral type unchanged by default argument promotions that can diff --git a/sysdeps/unix/sysv/linux/accept.S b/sysdeps/unix/sysv/linux/accept.S index 014684c708..b713a6e267 100644 --- a/sysdeps/unix/sysv/linux/accept.S +++ b/sysdeps/unix/sysv/linux/accept.S @@ -1,3 +1,4 @@ #define socket accept #define NARGS 3 #include <socket.S> +strong_alias (__accept, __libc_accept) diff --git a/sysdeps/unix/sysv/linux/connect.S b/sysdeps/unix/sysv/linux/connect.S index 93aad35d85..2840c58174 100644 --- a/sysdeps/unix/sysv/linux/connect.S +++ b/sysdeps/unix/sysv/linux/connect.S @@ -1,3 +1,4 @@ #define socket connect #define NARGS 3 #include <socket.S> +strong_alias (__connect, __libc_connect) diff --git a/sysdeps/unix/sysv/linux/getcwd.c b/sysdeps/unix/sysv/linux/getcwd.c index eea0b469e1..2af3b78da5 100644 --- a/sysdeps/unix/sysv/linux/getcwd.c +++ b/sysdeps/unix/sysv/linux/getcwd.c @@ -23,23 +23,26 @@ #include <stdlib.h> #include <unistd.h> -/* #define NDEBUG 1 */ -#include <assert.h> /* The "proc" filesystem provides an easy method to retrieve the value. For each process, the corresponding directory contains a symbolic link named `cwd'. Reading the content of this link immediate gives us the information. But we have to take care for systems which do not have the proc filesystem mounted. Use the POSIX implementation in this case. */ -static char *generic_getcwd (char *buf, size_t size); +static char *generic_getcwd (char *buf, size_t size) internal_function; char * __getcwd (char *buf, size_t size) { + static int no_new_dcache = 0; int save_errno; char *path; int n; char *result; + size_t alloc_size = size; + + if (no_new_dcache) + return generic_getcwd (buf, size); if (size == 0) { @@ -49,39 +52,56 @@ __getcwd (char *buf, size_t size) return NULL; } - size = PATH_MAX + 1; + alloc_size = PATH_MAX + 1; } if (buf != NULL) path = buf; else { - path = malloc (size); + path = malloc (alloc_size); if (path == NULL) return NULL; } save_errno = errno; - n = __readlink ("/proc/self/cwd", path, size); + + n = __readlink ("/proc/self/cwd", path, alloc_size - 1); if (n != -1) { - if (n >= size) + if (n >= alloc_size - 1) { - /* This should never happen when we allocate the buffer here. */ - assert (buf == NULL); - __set_errno (ERANGE); - return NULL; + if (size > 0) + return NULL; } - path[n] = '\0'; - return buf ?: (char *) realloc (path, (size_t) n + 1); + else + if (path[0] == '/') + { + path[n] = '\0'; + return buf ?: (char *) realloc (path, (size_t) n + 1); + } + else + no_new_dcache = 1; } + /* Set to no_new_dcache only if error indicates that proc doesn't exist. */ + if (errno != EACCES && errno != ENAMETOOLONG) + no_new_dcache = 1; + /* Something went wrong. Restore the error number and use the generic version. */ __set_errno (save_errno); + + /* Don't put restrictions on the length of the path unless the user does. */ + if (size == 0) + { + free (path); + path = NULL; + } + result = generic_getcwd (path, size); - if (result == NULL && buf == NULL) + if (result == NULL && buf == NULL && size != 0) free (path); return result; @@ -89,6 +109,6 @@ __getcwd (char *buf, size_t size) weak_alias (__getcwd, getcwd) /* Get the code for the generic version. */ -#define GETCWD_STORAGE_CLASS static +#define GETCWD_STORAGE_CLASS static internal_function #define __getcwd generic_getcwd #include <sysdeps/posix/getcwd.c> diff --git a/sysdeps/unix/sysv/linux/net/if.h b/sysdeps/unix/sysv/linux/net/if.h index f4c1a48579..861ca261de 100644 --- a/sysdeps/unix/sysv/linux/net/if.h +++ b/sysdeps/unix/sysv/linux/net/if.h @@ -150,20 +150,21 @@ struct ifconf /* Convert an interface name to an index, and vice versa. */ -unsigned int if_nametoindex(const char *ifname); -char *if_indextoname(unsigned int ifindex, char *ifname); +extern unsigned int if_nametoindex __P ((__const char *__ifname)); +extern char *if_indextoname __P ((unsigned int __ifindex, char *__ifname)); /* Return a list of all interfaces and their indices. */ -struct if_nameindex { - unsigned int if_index; /* 1, 2, ... */ - char *if_name; /* null terminated name: "eth0", ... */ -}; +struct if_nameindex + { + unsigned int if_index; /* 1, 2, ... */ + char *if_name; /* null terminated name: "eth0", ... */ + }; -struct if_nameindex *if_nameindex(void); +extern struct if_nameindex *if_nameindex __P ((void)); /* Free the data returned from if_nameindex. */ -void if_freenameindex(struct if_nameindex *ptr); +extern void if_freenameindex __P ((struct if_nameindex *__ptr)); #endif /* net/if.h */ diff --git a/sysdeps/unix/sysv/linux/recv.S b/sysdeps/unix/sysv/linux/recv.S index ae17ba3fd3..d895080f9a 100644 --- a/sysdeps/unix/sysv/linux/recv.S +++ b/sysdeps/unix/sysv/linux/recv.S @@ -1,3 +1,4 @@ #define socket recv #define NARGS 4 #include <socket.S> +strong_alias (__recv, __libc_recv) diff --git a/sysdeps/unix/sysv/linux/recvfrom.S b/sysdeps/unix/sysv/linux/recvfrom.S index ed03d3c44b..a2c94a71bc 100644 --- a/sysdeps/unix/sysv/linux/recvfrom.S +++ b/sysdeps/unix/sysv/linux/recvfrom.S @@ -1,3 +1,4 @@ #define socket recvfrom #define NARGS 6 #include <socket.S> +strong_alias (__recvfrom, __libc_recvfrom) diff --git a/sysdeps/unix/sysv/linux/recvmsg.S b/sysdeps/unix/sysv/linux/recvmsg.S index bb897d2b63..e5d8cdd16a 100644 --- a/sysdeps/unix/sysv/linux/recvmsg.S +++ b/sysdeps/unix/sysv/linux/recvmsg.S @@ -1,3 +1,4 @@ #define socket recvmsg #define NARGS 3 #include <socket.S> +strong_alias (__recvmsg, __libc_recvmsg) diff --git a/sysdeps/unix/sysv/linux/send.S b/sysdeps/unix/sysv/linux/send.S index 596135e690..5191265f62 100644 --- a/sysdeps/unix/sysv/linux/send.S +++ b/sysdeps/unix/sysv/linux/send.S @@ -1,3 +1,4 @@ #define socket send #define NARGS 4 #include <socket.S> +strong_alias (__send, __libc_send) diff --git a/sysdeps/unix/sysv/linux/sendmsg.S b/sysdeps/unix/sysv/linux/sendmsg.S index f0aabb7023..6f511af1c7 100644 --- a/sysdeps/unix/sysv/linux/sendmsg.S +++ b/sysdeps/unix/sysv/linux/sendmsg.S @@ -1,3 +1,4 @@ #define socket sendmsg #define NARGS 3 #include <socket.S> +strong_alias (__sendmsg, __libc_sendmsg) diff --git a/sysdeps/unix/sysv/linux/sendto.S b/sysdeps/unix/sysv/linux/sendto.S index 3464d46e52..b34a609a93 100644 --- a/sysdeps/unix/sysv/linux/sendto.S +++ b/sysdeps/unix/sysv/linux/sendto.S @@ -1,3 +1,4 @@ #define socket sendto #define NARGS 6 #include <socket.S> +strong_alias (__sendto, __libc_sendto) diff --git a/sysdeps/unix/sysv/linux/sys/quota.h b/sysdeps/unix/sysv/linux/sys/quota.h index 3a1c696790..47e88d7176 100644 --- a/sysdeps/unix/sysv/linux/sys/quota.h +++ b/sysdeps/unix/sysv/linux/sys/quota.h @@ -1,3 +1,3 @@ /* The kernel header file contains all declarations and definitions. */ -#include <asm/types.h> +#include <sys/types.h> #include <linux/quota.h> |