diff -durpN glibc-2.0/ChangeLog glibc-2.0.1/ChangeLog --- glibc-2.0/ChangeLog Sun Jan 26 09:06:07 1997 +++ glibc-2.0.1/ChangeLog Mon Feb 3 21:02:31 1997 @@ -1,10528 +1,384 @@ -Sun Jan 26 13:39:31 1997 Ulrich Drepper - - * Version 2.0 net release. - - * sysdeps/unix/sysv/linux/alpha/Dist: Correct distribution of - kernel_*.h files. - - * Make-dist: Don't mention new-malloc for dirs with have to be - processed. - - * sysdeps/unix/sysv/linux/netinet/in.h (SOL_IP): Added. - * inet/netinet/tcp.h (SOL_TCP): Added. - * sysdeps/unix/sysv/linux/socketbits.h (SOL_RAW): Added. - Reported by a sun . - -Sun Jan 26 05:41:42 1997 Ulrich Drepper - - * version.h (VERSION): Bump to 2.0. - (RELEASE): Now it's "experimental". - - * Makefile (subdirs): Change $(malloc) to malloc. We have only - one malloc implementation again. - * malloc/*: Remove from GNU libc. - * new-malloc/* Move to malloc/. - * config.make.in (defines): Remove @USE_NEW_MALLOC@. - * configure.in: Remove --enable-new-malloc option and check for - malloc implementation choice. - * malloc.h: We don't need to check for the implementation to use - anymore. Simply include malloc/malloc.h. - * malloc/Makefile (subdir): Change to malloc. - * sysdeps/unix/sysv/linux/configure.in: Don't set malloc anymore. - - * Makefile: Add special goal to generate only-MD5 based crypt - library. - * md5-crypt/Makefile: Likewise. - - * stdio-common/tstscanf.c: De-ANSI-declfy. Update copyright. - (rounds): Change type to size_t to prevent warning. - - * wcsmbs/btowc.c: Reformat copyright. - * wcsmbs/mbrlen.c: Likewise. - * wcsmbs/mbsinit.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcpcpy.c: Likewise. - * wcsmbs/wcpncpy.c: Likewise. - * wcsmbs/wcscat.c: Likewise. - * wcsmbs/wcscmp.c: Likewise. - * wcsmbs/wcscoll.c: Likewise. - * wcsmbs/wcscpy.c: Likewise. - * wcsmbs/wcscspn.c: Likewise. - * wcsmbs/wcsdup.c: Likewise. - * wcsmbs/wcslen.c: Likewise. - * wcsmbs/wcsncat.c: Likewise. - * wcsmbs/wcsncpy.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wcsspn.c: Likewise. - * wcsmbs/wcsstr.c: Likewise. - * wcsmbs/wcstod.c: Likewise. - * wcsmbs/wcstof.c: Likewise. - * wcsmbs/wcstok.c: Likewise. - * wcsmbs/wcstol.c: Likewise. - * wcsmbs/wcstold.c: Likewise. - * wcsmbs/wcstoq.c: Likewise. - * wcsmbs/wcstoul.c: Likewise. - * wcsmbs/wcstouq.c: Likewise. - * wcsmbs/wcswidth.c: Likewise. - * wcsmbs/wcsxfrm.c: Likewise. - * wcsmbs/wctob.c: Likewise. - * wcsmbs/wcwidth.c: Likewise. - * wcsmbs/wcwidth.h: Likewise. - * wcsmbs/wmemchr.c: Likewise. - * wcsmbs/wmemcmp.c: Likewise. - * wcsmbs/wmemmove.c: Likewise. - * wcsmbs/wmemset.c: Likewise. - -Sat Jan 25 03:34:14 1997 Ulrich Drepper - - * sysdeps/unix/sysv/linux/termbits.h: Protect against multiple - inclusion. Reported by a sun . - -Sat Jan 25 02:05:19 1997 Eirik Fuller - - * sysdeps/unix/sysv/linux/alpha/ioperm.c: Rename T2_SPARSE_BASE and - T2_DENSE_BASE to T2_SPARSE_MEM and T2_DENSE_MEM resp. - -Thu Jan 23 11:13:46 1997 Andreas Schwab - - * sysdeps/unix/sysv/linux/usleep.c: Normalize the time - specification. - -Fri Jan 24 14:33:45 1997 Ulrich Drepper - - * sysdeps/generic/socketbits.h: Also make SOCK_* constants available - as macros so that #ifdef works. - * sysdeps/unix/sysv/linux/socketbits.h: Likewise. - -1997-01-23 Paul Eggert - - * login/utmp_db.c, manual/time.texi, shlib-versions, sunrpc/rpc/svc.h, - sunrpc/rpcsvc/sm_inter.x, sysdeps/generic/abort.c, - sysdeps/libm-ieee754/e_sinhl.c, sysdeps/unix/sysv/linux/net/route.h, - sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Spell fixes. - -1997-01-23 Paul Eggert - - * mktime.c (mktime): Invoke __tzset, not __tzset_internal, to set tz, - so that tzname is set as POSIX requires. - -Fri Jan 24 02:49:18 1997 Ulrich Drepper - - * dirent/dirent.h: Declare readdir_r also when __USE_POSIX. - * grp/grp.h: Declare *_r functions also when __USE_POSIX. - * pwd/pwd.h: Likewise. - * time/time.h: Likewise. - * posix/unistd.h: Declare ttyname_r also when __USE_POSIX. - * string/string.h: Declare strtok_r also when __USE_POSIX. - - * stdio-common/bug7.c: Use tmpnam to generate names for test files. - - * stdio-common/tmpnam.c: Update copyright. - * stdio-common/tmpnam_r.c: Likewise. - - * sysdeps/unix/sysv/linux/alpha/sys/kernel_termios.h: Protect - against multiple inclusion. Include . - * sysdeps/unix/sysv/linux/sys/kernel_termios.h: Likewise. - - * sysdeps/unix/sysv/linux/net/if.h: Update according to recent - kernel headers. Patch by Philip Blundell . - -Thu Jan 23 17:42:00 1997 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sparc/clone.S: Correct author attribution. - - * sysdeps/unix/sysv/linux/net/if_arp (MAX_ADDR_LEN): Add definition. - -Thu Jan 23 14:20:34 1997 Ulrich Drepper - - * time/tzfile.c (__tzfile_read): Don't allow arbitrary files to be - read when running a setuid program. - -Thu Jan 23 04:06:42 1997 Ulrich Drepper - - * Make-dist (.PHONY: dist): Remove duplicate declaration. - (README): Depend on version.h not version.c. - * Makefile (README): Depend on version.h not version.c. - - * Makeconfig (inst_libdir, inst_slibdir, inst_includedir, - inst_datadir, inst_zonedir, inst_localedir, inst_i18ndir, inst_bindir, - inst_sbindir, inst_infodir, inst_sysconfdir): New variables. Same - as variable withough inst_ but prepended with $(install_root). - (localtime-time): Use $(inst_sysconfdir) not $(sysconfdir). - * Makefile (install-others): Use $(inst_includedir). - (gnu/stabs.h, gnu/lib-names.h): Use $(inst_includedir). - * Makerules (tons of install rules): Use inst_% variables. - * elf/Makefile: Likewise. - * hurd/Makefile: Likewise. - * intl/Makefile: Likewise. - * manual/Makefile: Likewise. - * po/Makefile: Likewise. - * sunrpc/Makefile: Likewise. - * sysdeps/mach/hurd/Makefile: Likewise. - * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise. - * time/Makefile: Likewise. - - * config.make.in: Revert patch from Sat Jan 18 22:15:26 1997, - leave install_root in place. - - * gnu-versions.h (_GNU_GETOPT_INTERFACE_VERSION): Define to 2. - * posix/getopt.c (GETOPT_INTERFACE_VERSION): Define to 2. - * posix/getopt1.c (GETOPT_INTERFACE_VERSION): Define to 2. - - * elf/Makefile [yes==$(has-ldconfig)]: Correct dependencies of - ldconfig. - (CFLAGS-dl-load.c): New variable, avoid gcc warning. - - * sysdeps/mach/hurd/configure.in: Add _LIBC_REENTRENT to DEFINES. - - * sysdeps/mach/hurd/getdents.c: Update copyright. De-ANSI-declfy. - * sysdeps/stub/getdents.c: Likewise. Correct return value. - * sysdeps/unix/getdents.c: Likewise. - * sysdeps/unix/sysv/getdents.c: Likewise. - - * sysdeps/unix/readdir.c: Update copyright. - - * sysdeps/unix/bsd/sony/newsos4/Makefile: Correct ifeq arguments. - * sysdeps/unix/bsd/sun/sunos4/Makefile: Likewise. - * sysdeps/unix/sysv/Makefile: Likewise. - * sysdeps/unix/sysv/linux/Makefile: Likewise. - * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise. - * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. - - * sysdeps/unix/sysv/linux/Dist: Don't distribute kernel_termios.h, - but sys/kernel_termios.h. - * sysdeps/unix/sysv/linux/alpha/Dist: Likewise. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)==termios] - (sysdep_headers): Add sys/kernel_termios.h. - * sysdeps/unix/sysv/linux/kernel_termios.h: Moved to... - * sysdeps/unix/sysv/linux/sys/kernel_termios.h: ...here. - * sysdeps/unix/sysv/linux/sys/tcgetattr.c: Use __kernel_termios and - __KERNEL_NCCS instead of kernel_termios and KERNEL_NCCS resp. - - * sysdeps/unix/sysv/linux/alpha/ioctls.h: New file. - - * sysdeps/unix/sysv/linux/getdents.c: Correct problems with alignment. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove getdents. - Reported by Eirik Fuller . - - * time/Banner: Removed. Wrong and unnecessary information. It's now - in... - * time/README: New file. - * time/Makefile (distribute): Remove Banner, add README. - -Wed Jan 22 13:19:56 1997 Richard Henderson - - * sysdeps/unix/sysv/linux/alpha/ioperm.c (platforms): Add Sable. - (init_iosys): Recognize /etc/alpha_systype as a four-tuple for - the purpose of supporting brand new systems. - (*): The type of iosys variables should be iosys_t. - -1997-01-22 Paul Eggert - - * strftime.c (_strftime_copytm): - New function, to work around Solaris 2.5 tzset bug. - -Wed Jan 22 23:05:14 1997 Ulrich Drepper - - * sysdeps/mach/hurd/vdprintf.c: Complete de-ANSI-declfication. - Reported by Marcus G. Daniels . - -Wed Jan 22 13:58:56 1997 Andreas Jaeger - - * elf/Makefile (CFLAGS-dl-load.c): New Variable to keep gcc silent - since name_copy is initialized. - -Wed Jan 22 16:58:12 1997 Ulrich Drepper - - * stdio-common/Makefile (tests): Remove scanf11. - * stdio-common/scanf11.c: Removed. - * stdio-common/vfscanf.c Revert patch of Thu Jan 16 23:39:25 1997. - Although the Corrigendum 1 describes the result as implemented the - even more recent Amendement 1 seconds the position of ISO C:1990 - where the %n directive has no effect on the assignment count. - * stdio-common/bug10.c: Likewise. - * stdio-common/scanf1.c: Likewise. - * stdio-common/scanf3.c: Likewise. - * stdio-common/scanf10.c: Likewise. - * stdio-common/tstdiomisc.c: Likewise. - - * new-malloc/obstack.h: Don't define malloc using bcopy if malloc - is not available. This leads to problems since bcopy does not - return a value. Instead define _obstack_memcpy based on memcpy or - bcopy. This name isn't used outside obstack.h and so no problems - from using the memcpy function in a file including obstack.h can - result. - Reported by Martin Trapp . - -Tue Jan 21 18:35:55 1997 Andreas Schwab - - * misc/regexp.h (compile): Fix typos. - -Tue Jan 21 01:01:59 1997 Andreas Schwab - - * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo): Fix - type of pr_{pid,ppid,pgrp,sid} fields. - * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct - elf_prpsinfo): Likewise. - -1997-01-21 Paul Eggert - - * posix/getopt.c (_getopt_internal): Return -1, not EOF, when args - are exhausted; this is required by POSIX.2. - * catgets/gencat.c, db/makedb.c, locale/programs/locale.c, - locale/programs/localedef.c, manual/examples/subopt.c, - posix/getopt.c, posix/getopt1.c, stdio-common/bug4.c, - sunrpc/rpcinfo.c (main): Check getopt return value against -1, not EOF. - -Tue Jan 21 23:10:40 1997 Ulrich Drepper - - * version.h (VERSION): Bump to 1.102. - - * sysdeps/unix/sysv/linux/alpha/Dist: Add kernel_sigaction.h. - - * elf/Makefile: Don't use CFLAGS-dl-load.c, but instead - CPPFLAGS-dl-load.c so that dependencies can be determined correctly. - * elf/dl-load.c: Fix comment. - - * time/Banner: New file. - * time/Makefile (distribute): Add Banner. - - Update from ADO tzcode1997a and tzdata1997a. - * time/antarctica: Update. - * time/australia: Update. - * time/zdump.c: Update. - * time/zic.c: Update. - * time/zone.tab: Update. - -Mon Jan 20 08:38:32 1997 H.J. Lu - - * config.make.in (has-ldconfig): New variable. - - * configure, configure.in (has_ldconfig): New substitute. - - * sysdeps/unix/sysv/linux/configure.in (has_ldconfig): New, - check if $srcdir/elf/ldconfig.c exists. - - * Makeconfig (rootsbindir): New, default as - $(exec_prefix)/sbin. - (rtld-version-installed-name): New, default as - ld-$(version).so. - - * Makefile (install): Call `$(common-objpfx)elf/ldconfig -d' - only if $(cross-compiling) is no and $(build-shared) is yes. - - * Makerules (make-shlib-link): New macro. - ($(slibdir)/libfoo.so.$(libfoo.so-version)): Use - $(make-shlib-link) for symlink. - (install-rootsbin, install-rootsbin-nosubdir): New. - (install-no-libc.a-nosubdir): Add - install-rootsbin-nosubdir. - - * Rules (others): Add $(install-rootsbin). - - * config.make.in (rootsbindir): New. - - * configure, configure.in (libc_cv_rootsbindir): New - substitute. - - * elf/Makefile (others, install-rootsbin): New, set to - ldconfig. - (+link): New for static linking. - ($(slibdir)/$(rtld-version-installed-name)): New. - ($(slibdir)/$(rtld-installed-name)): Depend on - $(slibdir)/$(rtld-version-installed-name) and use - $(make-shlib-link) for symlink. - - * sunrpc/xdr.c (xdr_string): Return FALSE if sp == NULL - while XDR_ENCODE. - - * sysdeps/unix/sysv/linux/a.out.h: Use #include_next for - glibc internals. - - * sysdeps/unix/sysv/linux/configure.in (libc_cv_rootsbindir): - New, set to "/sbin" if "$prefix" == "/usr". - -Tue Jan 21 13:38:39 1997 Ulrich Drepper - - * Makefile (distribute): Add glibcbug.in. - Reported by Philip Blundell . - - * elf/Makefile ($(objpfx)trusted-dirs.h): Create elf/ subdir in - build directory if necessary. - Reported by marcus@shannon.sysc.pdx.edu (Marcus G. Daniels). - -Tue Jan 21 04:05:20 1997 Ulrich Drepper - - * version.h (VERSION): Bump to 1.101. - - Implement -d and -r option to `ldd' to check relocations. - * elf/dl-error.c: Add another method to intercept errors. - (_dl_receive_error): New function. Install user defined handler. - (receiver): New variable. Contains pointer to user provided handler. - (_dl_signal_error): If user provided handler is installed call this. - * elf/dl-load.c (_dl_map_object): When shared object is not found in - trace mode initialize a few more fields so that lookup can actually - happen but always fails. - * elf/ldd.sh.in: Rewrite argument handling. Recognize new arguments - to trigger reloation test. Return with appropriate error code if - a file wasn't found. Print warning if object is not executable. - * elf/ldd.bash.in: Likewise. - * elf/link.h (receiver_fct): New type. Used in _dl_receive_error. - (_dl_sysdep_error): New prototype. - (_dl_receive_error): New prototype. - (_dl_signal_error): Remove __attribute__ ((__noreturn__)). - * elf/rtld.c (dl_main): Rewrite argument handling. More than - one argument allowed. Recognize --data-relocs and --function-relocs - arguments. - Don't determine `lazy' mode from LD_BIND_NOW environment variable - when in trace mode. - If in trace mode and either --data-relocs or --function-relocs is - given perform relocation. Report errors using print_unresolved - function. - (print_unresolved): New function. Print information about missing - symbol on stderr. - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_error): New function. - Like _dl_sysdep_message but print to stderr. - * sysdeps/mach/hurd/dl-sysdep.c: Likewise. - - * sysdeps/generic/sockaddrcom.h: Add definition of sa_family_t. - Reported by Andreas Schwab. - (__SOCKADDR_COMMON): Use sa_family_t for family member. - * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise. - - Linux/Sparc support by Miguel de Icaza. - * sysdeps/sparc/fpu_control.h: New file. - * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: New file. - * sysdeps/unix/sysv/linux/sparc/brk.c: New file. - * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file. - * sysdeps/unix/sysv/linux/sparc/sigaction.c: New file. - * sysdeps/unix/sysv/linux/sparc/socket.S: New file. - * sysdeps/unix/sysv/linux/sparc/syscall.S: New file. - * sysdeps/unix/sysv/linux/sparc/sysdep.h: New file. - * sysdeps/unix/sysv/linux/sparc/Dist: New file. - * sysdeps/unix/sysv/linux/sparc/Makefile: New file. - - * sysdeps/unix/sysv/linux/net/if_arp.h: Don't use kernel header. - Provide own definition based on 4.4BSD and Linux. - * sysdeps/unix/sysv/linux/net/ppp_defs.h: Define __u32 before - including . - * sysdeps/unix/sysv/linux/sys/msq_buf.h (struct msqid_ds): Don't - use __pid_t since the kernel might have a different size. - * sysdeps/unix/sysv/linux/sys/shm_buf.h (struct shmid_ds): Likewise. - Reported by Andreas Schwab. - - * time/asctime.c: Update copyright. - * time/dysize.c: Likewise. - * time/gmtime.c: Likewise. - * time/timegm.c: Likewise. - * time/offtime.c: Likewise. De-ANSI-declfy. - - * time/tzset.c (__tzset_internal): When TZ envvar does not name a - DST timezone don't default to offset -1. - - * sysdeps/unix/sysv/linux/net/route.h: Don't use kernel header. - Reported by a sun . - - * resolv/Makefile: Correct spelling: subdirs-dirs -> subdir-dirs. - - * sysdeps/stub/sysv_signal.c: New file. Stub implementation. - - * Makefile (distribute): Add mcheck.h. - - * nis/Makefile (distribute): Add nss-nis.h. - - * libio/Makefile (routines): Change vdprintf to iovdprintf to prevent - dist problem. - - * nss/Makefile (distribute): Add digits_dots.c. - - * sysdeps/unix/sysv/linux/Dist: Add kernel_sigaction.h. - * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/procfs.h. - * sysdeps/unix/sysv/linux/sparc/Dist: Add clone.S. - * new-malloc/Makefile (distribute): Add mcheck-init.c and mcheck.h. - -Mon Jan 20 17:54:28 1997 Sven Verdoolaege - - * manual/filesys.texi: Fix little problem (reentrant->readdir). - -Fri Jan 17 19:07:07 1997 Andreas Schwab - - * configure.in [$elf=yes]: Check for support of .previous and - .popsection in the assembler. - * config.h.in: Add HAVE_ASM_PREVIOUS_DIRECTIVE and - HAVE_ASM_POPSECTION_DIRECTIVE. - * libc-symbols.h (__make_section_unallocated) [HAVE_ELF]: Define - appropriate if either .previous or .popsection is supported. - (libc_warning) [HAVE_ELF]: Use it here. - -Sat Jan 18 22:15:26 1997 Richard Henderson - - * Makeconfig (CFLAGS-.so): Add -fno-common to prevent odd sorts of - errors that can occur when linking libc.so. - -Mon Jan 20 05:20:49 1997 Ulrich Drepper - - * elf/dl-load.c (open_path): When running setuid don't try - a directory if it is not given with the full name. - - * elf/Makefile (before-compile): New variable. Mention trusted-dirs.h. - (trusted-dirs.h): Construct file from $(default-rpath) and - $(user-defined-trusted-dirs) variables. - * elf/dl-load.c (_dl_map_object): Pass additional argument to open_path - which is NULL except for the LD_LIBRARY_PATH pass in which case it - is a pointer to the list of directories from the trusted-dirs.h - file. - (open_path): Accept additional argument with list of trusted dirs. - When running setuid and a list of trusted dirs is given only use - those which are mentioned in the list. - - * elf/rtld.c (dl_main): Don't reject whole LD_LIBRARY_PATH when - running setuid. Instead accept entries which do not contain a '/'. - - * Makeconfig: Correct comment about +(default_cflags). - -Mon Jan 20 05:11:14 1997 Hrvoje Niksic - - * time/strptime.c (recursive): Use && not || to test for valid - argument. - -Mon Jan 20 05:06:50 1997 Ulrich Drepper - - * elf/ldd.sh.in: Exit with value 1 if an error occured. - * elf/ldd.bash.in: Likewise. - - * elf/rtld.c (dl_main): Do not always ignore LD_PRELOAD when the - binary runs setuid. It is save to use those entries which do not - contain a '/'. This is compatible with Solaris-2. - -Mon Jan 20 03:02:50 1997 Ulrich Drepper - - * Make-dist: Update and reformat copyright. - * Makeconfig: Likewise. - * assert/Makefile: Likewise. - * bare/Makefile: Likewise. - * ctype/Makefile: Likewise. - * dirent/Makefile: Likewise. - * gmon/Makefile: Likewise. - * gnulib/Makefile: Likewise. - * grp/Makefile: Likewise. - * hurd/Makefile: Likewise. - * intl/Makefile: Likewise. - * mach/Makefile: Likewise. - * malloc/Makefile: Likewise. - * manual/Makefile: Likewise. - * math/Makefile: Likewise. - * po/Makefile: Likewise. - * pwd/Makefile: Likewise. - * resource/Makefile: Likewise. - * setjmp/Makefile: Likewise. - * socket/Makefile: Likewise. - * string/Makefile: Likewise. - * sunrpc/Makefile: Likewise. - * sysdeps/alpha/Makefile: Likewise. - * sysdeps/gnu/Makefile: Likewise. - * sysdeps/m68k/fpu/switch/Makefile: Likewise. - * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise. - * sysdeps/m68k/fpu/switch/switch.c: Likewise. - * sysdeps/mach/Makefile: Likewise. - * sysdeps/hurd/Makefile: Likewise. - * sysdeps/sparc/Makefile: Likewise. - * sysdeps/standalone/i960/nindy960/Makefile: Likewise. - * sysdeps/standalone/m68k/m68020/mvme136/Makefile: Likewise. - * sysdeps/unix/common/Makefile: Likewise. - * sysdeps/unix/sysv/Makefile: Likewise. - * sysdeps/unix/sysv/irix4/Makefile: Likewise. - * sysdeps/unix/sysv/sco3.2/Makefile: Likewise. - * sysdeps/unix/sysv/sysv4/Makefile: Likewise. - * sysdeps/vax/Makefile: Likewise. - * sysvipc/Makefile: Likewise. - * wcsmbs/Makefile: Likewise. - * wctype/Makefile: Likewise. - - * elf/rtld.c (dl_main): Objects in LD_PRELOAD environment variable - are separated according to Sun docs by white space not colon. - - * locale/C-time.c (_nl_C_LC_TIME): Use empty string to initialize - fields which are not defined for the C locale. - - * sysdeps/m68k/fpu/switch/Makefile: Don't use ansidecl.h in constructed - files. - * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise. - * sysdeps/m68k/fpu/switch/switch.c: Likewise. - -Sun Jan 19 19:43:31 1997 Andreas Jaeger - - * time/strptime.c: Provide prototype for strptime_internal. - -Sun Jan 19 23:46:27 1997 Ulrich Drepper - - * glibcbug.in: We don't guarantee confidential handling. Set - field to always contain `no'. - -Sun Jan 19 21:28:01 1997 Philippe De Muyter - - * intl/explodename.c: Include sys/types.h. - * intl/l10nflist.c: Likewise. - -Sat Jan 18 22:15:26 1997 Richard Henderson - - * config.make.in (install_root): New variable to make it easy to - install glibc somewhere other than /. - - * shlib-versions: alpha-*-linux-* libc=6.1. - - Since sigset_t no longer fits in a register, we can't pass in the - thread's initial mask so easily. Take this opportunity to simplify - the clone implementation by only accepting a single void* argument. - - * sysdeps/unix/sysv/linux/alpha/clone.S: Only take one argument. - * sysdeps/unix/sysv/linux/i386/clone.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/clone.S: Likewise. - * sysdeps/unix/sysv/linux/schedbits.h: Update clone prototypes. - - * sysdeps/unix/sysv/linux/alpha/ioctl-types.h: Remove. - Default Linux version should be sufficient. - - * sysdeps/unix/sysv/linux/alpha/sigprocmask.c: The osf_sigprocmask - system call wants the sigset dereferenced. - - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add entries for - __syscall_ustat and __syscall_xmknod. - * sysdeps/unix/sysv/linux/alpha/xmknod.c: Include sys/sysmacros.h. - - * sysdeps/unix/sysv/linux/sigset.h: Use longs instead of ints. - - * sysdeps/unix/sysv/linux/tcsetattr.c: Fix pointer dereferences. - - * sysdeps/unix/sysv/linux/alpha/sigsuspend.c: Add comment about - dependency to kernel type. - - * sysdeps/unix/sysv/linux/alpha/termbits.h: Correct comment. - -Sun Jan 19 04:38:20 1997 Ulrich Drepper - - * config.make.in (have-ksh, KSH): New variables. Will be filled - in by configure. - * configure.in: Add test for ksh like shell (prefer bash). - * time/Makefile (tests): Depend on install-test-data. - (distribute): Add simplebackw. - (generated-dirs): New variable. - [$(have-ksh)==yes] (install-others): Add iso3166.tab and zone.tab. - (install-bin): Add tzselect. - (install-test-data): Install the zoneinfo files which are needed - for the test case in the build directory. - (test-tz-ENV): New variable. Call test-tz program using data in - build directory. - * time/simpleback: New file. - * time/test-tz.c: Pretty print. - * time/tzfile.c: Use value of environment variable TZDIR as directory - to look for zone info files. - don't let search for DST data destroy already found values. - * time/tzselect.ksh: Use @KSH@ and @TZDIR@ to be substituted when - installing. - * time/tzset.c (__tzset_internal): Avoid freeing string twice. - Set DST zone name to normal zone name if no information is provided. - - * time/mktime.c (mktime): Call __tzset_internal to use current - value of TZ. - - * Makerules (common-clean): Remove $(generated-dirs) inclusing content. - - * glibcbug.in: Fix several bugs. Reported by several people. - - * elf/Makefile: Correct dependecies for $(objpfx)ldd. - - * inet/netinet/ip.h: Define IPTOS_LOWCOST and IPTOS_MINCOST. - - * locale/C-time.c: Update copyright. - * locale/localeinfo.h: Likewise. - * sysdeps/unix/bsd/bsd4.4/direntry.h: Likewise. - - * locale/programs/ld-time.c (time_finish): Correct message string. - * locale/programs/linereader.c (lr_token): Use correctly `number' - not `digit' in message string. - - * stdlib/strtol.c [UNSIGNED]: Don't punt immediately when `-' is - seen. Instead return ULONG_MAX and set ERANGE. - * stdlib/tst-strtol.c: Correct test to reflect above change. - -Sun Jan 19 03:22:30 1997 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sys/mtio.h: Don't use . - We must not use . - - * sysdeps/unix/sysv/linux/sys/ipc_buf.h: Don't use __kernel_* types - since we must not use . - * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/sys/ipc_buf.h: New file. Similar - to sysdeps/unix/sysv/linux/sys/ipc_buf.h, but use alpha relavent - types. - * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: New file. Similar - to sysdeps/unix/sysv/linux/sys/procfs.h, but use alpha relavent - types. - -Sun Jan 19 01:48:20 1997 H.J. Lu - - * sysdeps/libm-i387/e_exp.S: Correct computation of fractional - part. - * sysdeps/libm-i387/e_expf.S: Likewise. - * sysdeps/libm-i387/e_expl.S: Likewise. - * sysdeps/libm-i387/s_expm1.S: Correct computation of fractional - part. Take care of additional value left on stack by fscale. - * sysdeps/libm-i387/s_expm1f.S: Likewise. - * sysdeps/libm-i387/s_expm1l.S: Likewise. - -Fri Jan 17 17:45:32 1997 Ulrich Drepper - - * posix/getopt.c: Change all direct usages of `gettext' to `_'. - - * sysdeps/generic/sysd-stdio.c (__stdio_reopen): Add missing - parameter. - Reported by Harmanjit Singh . - -Thu Jan 16 23:39:25 1997 Ulrich Drepper - - * stdio-common/Makefile (tests): Add scanf11. - * stdio-common/scanf11.c: New file. - * stdio-common/vfscanf.c (__vfscanf): Increment `done' when %n - was processed and value is not suppressed. - * stdio-common/bug10.c: Correct test to expect %n increment the - return value of scanf. - * stdio-common/scanf1.c: Likewise. - * stdio-common/scanf3.c: Likewise. - * stdio-common/scanf10.c: Likewise. - * stdio-common/tstdiomisc.c: Likewise. - - * time/strptime.c: Add lots of conditional compiling to enable use - outside glibc. When used in glibc, make sure C locale format - strings will always be recognized. - -Sat Jan 11 18:53:47 1997 Andreas Schwab - - * sysdeps/unix/sysv/linux/sys/sysmacros.h (major, minor, makedev): - Fix definitions so that they work with __kernel_dev_t. - -Sat Jan 11 14:24:10 1997 Andreas Schwab - - * sysdeps/unix/sysv/linux/kernel_sigaction.h, - sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h, - sysdeps/unix/sysv/linux/sigaction.c: New files. - * sysdeps/unix/sysv/linux/syscalls.list: Add s_sigaction. - -Sun Jan 12 15:22:33 1997 Andreas Schwab - - * libc-symbols.h (link_warning): Make sure that the .gnu.warning - section is not allocated. - Update and reformat copyright. - -Sun Jan 12 12:19:28 1997 Andreas Schwab - - * elf/Makefile ($(objpfx)ldd): Fix depedency list. - -Sat Jan 11 15:11:26 1997 Andreas Schwab - - * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Fix - command so that it works in subdirectories. - -Wed Jan 8 22:07:58 1997 Andreas Schwab - - * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_getgroups and - s_setgroups. - * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/i386/getgroups.c, - sysdeps/unix/sysv/linux/i386/setgroups.c, - sysdeps/unix/sysv/linux/m68k/getgroups.c, - sysdeps/unix/sysv/linux/m68k/setgroups.c: New files. - -Wed Jan 8 19:42:59 1997 Andreas Schwab - - * Makefile (config.status): Delete bogus rule. - ($(objpfx)glibcbug): Renamed from plain `glibcbug', depend on - config.status in build directory, fix command to change to build - directory. - * Makeconfig ($(common-objpfx)config.status): Depend on version.h. - -Thu Jan 9 08:47:54 1997 Andreas Jaeger - - * glibcbug.in (while): We test for four and not five conditions, - set MAIL_AGENT instead of RMAIL, filter spaces and tabs. - -Thu Jan 16 22:00:27 1997 Ulrich Drepper - - * misc/syslog.c: Don't define cancel_handler if _LIBC_REENTRANT - is not defined. Reported by Andreas Jaeger. - -Thu Jan 9 08:47:54 1997 Andreas Jaeger - - * new-malloc/malloc.c (__MALLOC_P): define call to pthread - initializer only if NO_THREADS is not defined. - -Wed Jan 8 21:28:58 1997 Andreas Jaeger - - * resolv/nss_dns/dns-host.c: Clean-up: delete unnecessary includes - and variables. - -Thu Jan 16 21:50:27 1997 Ulrich Drepper - - * inet/arpa/inet.h: Include to get struct in_addr - defined. - -Tue Jan 7 17:29:59 1997 Andreas Schwab - - * Makerules (LDLIBS-c.so): New variable. - -Tue Jan 7 19:22:00 1997 Andreas Schwab - - * Makefile ($(includedir)/gnu/lib-names.h): Define the library - names as strings, not as sequence of tokens that may fall apart. - -Fri Jan 10 14:08:41 1997 Roland McGrath - - * time/tzfile.c (__tzfile_read): Check for bogus type and zone name - indices in data file and punt, so a bogus file can't crash us. - -Thu Jan 16 20:29:15 1997 Ulrich Drepper - - * values.h [__USE_MISC]: Define BITSPERBYTE. - -Fri Jan 17 14:16:28 1997 Thomas Bushnell, n/BSG - - * stdio/vdprintf.c: Moved file to ... - * sysdeps/posix/vdprintf.c: Here. De-ansideclificate. - * sysdeps/stub/vdprintf.c: New file. - * sysdeps/mach/hurd/vdprintf.c: New file. - -Thu Jan 9 15:59:35 1997 Thomas Bushnell, n/BSG - - * sysdeps/mach/hurd/posix_opt.h: New file. - - * sysdeps/mach/hurd/sigwait.c (sigwait): Don't affect signal mask. - - * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Finish - deansideclification. - - * sysdeps/mach/libc-lock.h: Add kludges to pretend to implement - recursive locks. - -Tue Jan 7 09:48:15 1997 Andreas Jaeger - - * signal/sigempty.c (sigemptyset): Correct typo: Empty set should - have all bits zero. - -Tue Jan 7 23:44:39 1997 Ulrich Drepper - - * inet/gethstbynm.c: Include additional headers for additional - code in nss/digits_dots.c. - * inet/gethstbynm_r.c: Likewise. - * inet/gethstbynm2.c: Likewise. - * inet/gethstbynm2_r.c: Likewise. - * nss/digits_dots.c: New file. Handle dotted pair notation for - gethstbynm functions. - * nss/getXXbyYY.c: Include digits_dots.c to get extra code for - handling dotted pair notation. - * nss/getXXbyYY_r.c: Likewise. - Patches by HJ Lu. - - * resolv/nss_dns/dns-host.c: Don't handle dotted pair notation. - - * io/getwd.c: Optimized a bit. - - * signal/signal.h: Always declare __sysv_signal. - - * sysdeps/generic/setenv.c: Add some portability code. - - * sysdeps/unix/sysv/fcntlbits.h: Update copyright. - - * sysdeps/unix/sysv/linux/fcntlbits.h: Add definitions from kernel - to avoid using kernel headers. - * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: New file. Alpha - specific version. - - * sysdeps/unix/sysv/linux/syscalls.list: Add sys_mknod. Don't - mark sigreturn as EXTRA. - - * sysdeps/unix/sysv/linux/ustat.c: Declare __syscall_ustat. - * sysdeps/unix/sysv/linux/alpha/ustat.c: New file. Alpha version. - -Tue Jan 7 09:48:15 1997 Andreas Jaeger - - * io/fts.c (fts_alloc): Add const to second parameter of function. - - * io/Makefile: Change CFLAGS-fts.c and define CFLAGS-ftw.c to - prevent warnings. - - * signal/sigfillset.c: Include for memset declaration. - -Tue Jan 7 11:14:32 1997 Miles Bader - - * sysdeps/generic/setenv.c: Fix portability problems. - -Tue Jan 7 02:10:17 1997 Ulrich Drepper - - * posix/getopt.c (_getopt_internal): Don't reset __getopt_initialized - after the last option was seen. - -Mon Jan 6 15:30:21 1997 Ulrich Drepper - - * elf/elf.h (DT_EXTRANUM): Set to 3 since 0x7ffffffd is used. - -Mon Jan 6 13:57:05 1997 Ulrich Drepper - - * io/ftw.c: Add `const' to second parameter of function given as - second parameter to ftw. - * io/ftw.h: Likewise for prototype. - Reported by Ronald F. Guilmette . - -Thu Jan 2 23:44:39 1997 Philip Blundell - - * inet/Makefile (headers): Add netinet/ip.h. - * inet/netinet/ip.h: New file, contains BSD definitions for struct - ip and friends. - -Fri Jan 3 23:17:11 1997 Andreas Schwab - - * string/string.h (strnlen): Add cast for C++. - -Mon Jan 6 03:31:46 1997 Ulrich Drepper - - * Makefile (install-bin): Define as glibcbug to install script. - (glibcbug): New rules. Create from glibcbug.in. - * configure.in (AC_OUTPUT): Generate glibcbug script. - * glibcbug.in: New file. - * version.c: Mention glibcbug to report bugs. - * catgets/gencat.c: Likewise. - * db/makedb.c: Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/localedef.c: Likewise. - * elf/ldd.bash.in: Likewise. - * elf/ldd.sh.in: Likewise. - * intl/locale.alias: Likewise. - - * mcheck.h: New file. Necessary since mcheck.h is used in time/ap.c. - - * set-init.c: Update and reformat copyright. - * version.c: Likewise. - * signal/sigaddset.c: Likewise. - * signal/sigdelset.c: Likewise. - * signal/sigempty.c: Likewise. - * signal/sigfillset.c: Likewise. - * signal/siggetmask.c: Likewise. - * signal/sigismem.c: Likewise. - * sysdeps/generic/speed.c: Likewise. - * sysdeps/unix/getdents.c: Likewise. - * sysdeps/unix/xmknod.c: Likewise. - * sysdeps/unix/bsd/poll.c: Likewise. - * sysdeps/unix/bsd/tcdrain.c: Likewise. - * sysdeps/unix/bsd/tcflow.c: Likewise. - * sysdeps/unix/bsd/tcflush.c: Likewise. - * sysdeps/unix/bsd/tcgetpgrp.c: Likewise. - * sysdeps/unix/bsd/tcsendbrk.c: Likewise. - * sysdeps/unix/bsd/tcsetpgrp.c: Likewise. - * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c: Likewise. - * sysdeps/unix/sysv/getdents.c: Likewise. - * sysdeps/unix/sysv/i386/sigreturn.S: Likewise. - * termios/Makefile: Likewise. - * termios/cfmakeraw.c: Likewise. - * termios/cfsetspeed.c: Likewise. - - * version.h: Bump VERSION to 1.100. - - * intl/finddomain.c: Defining stpcpy function isn't necessary. - - * libio/genops.c (_IO_init): Use _IO_lock_init instead of - _IO_lock_init_recursive. - * libio/stdfiles.c (DEF_STDFILE): Use _IO_lock_initializer instead - of _IO_lock_init. - - * locale/programs/charmap.c (obstack_chunk_alloc): Use malloc instead - of xmalloc. - * locale/programs/ld-collate.c: Likewise. - * locale/programs/simple-hash.c: Likewise. - - * misc/Makefile (headers): Add selectbits.h. - * misc/sys/select.h: Include to get necessary - definitions. - * sysdeps/generic/selectbits.h: New file. Generic macros for - handling file descriptor sets. - * sysdeps/i386/selectbits.h: New file. i386 specific macros for - handling file descriptor sets. - * sysdeps/generic/gnu/types.h: Remove _FD_* macros. - - * misc/mntent_r.c: Fix handling of multiple, comma-separated - options. Patch by Sai-Lai Lo . - - * po/de.po: Update. - * po/ko.po: Update. - * po/sv.po: Update. - - * posix/getopt.c: Only use the bash generated environment variable - to determine non-option parameters when using in GNU libc and if - the argument vector given to getopt is the same as given to the - program. - - * posix/unistd.h [__USE_GNU]: Declare environ. - - * posix/sys/types.h (key_t): Also define when __USE_XOPEN. - - * resolv/res_debug.c: Add casts to prevent warnings. - * resolv/res_query.c: Likewise. - - * resolv/nss_dns/dns-host.c: Change type for buffer size arguments - to `size_t'. - * resolv/nss_dns/dns-network.c: Likewise. - - * signal/sigempty.c: Use memset to initialize variable. - * signal/sigfillset.c: Likewise. - - * signal/signal.h: Change back handling of signal. The BSD - version is preferred and the new sysv_signal is used when - __USE_XOPEN. - * sysdeps/posix/sysv_signal.c: Renamed from signal.c. Use SVID - semantic. - * sysdeps/posix/signal.c: Renamed from bsd_signal.c. Use BSD - semantic. - * sysdpes/posix/sigpause.c: Correct comment. - * sysdeps/stub/sigpause.c: Provide default implementation. - * signal/Makefile (routines): Remove bsd_signal, add sysv_signal. - - * sysdeps/generic/abort.c: Allow repeated calls to abort if - a user defined handler for SIGABRT is installed. - - * sysdeps/stub/libc-lock.h: Define separate set of macros for - handling recursive mutexes. - - * sysdeps/unix/Makefile: Change rule to generate syscall.h file - so that it is generate in the sys/ subdir. - - * sysdeps/unix/sysv/linux/Dist: Add kernel_termios.h. - * sysdeps/unix/sysv/linux/alpha/Dist: Add kernel_termios.h and - sys/acct.h. - - * sysdeps/unix/sysv/linux/direntry.h: Don't use struct dirent from - kernel. Define own version with additional field d_type. - * sysdeps/unix/sysv/linux/getdents.c: New file. Reformat dirent - entries after reading from kernel. - - * sysdeps/unix/sysv/linux/gnu/types.h: Don't use kernel headers. - Define types based on kernel types except for uid_t, gid_t, mode_t, - dev_t which are larger now. - * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Likewise. - - * sysdeps/unix/sysv/linux/ioctl-types.h: Don't include - . Define structure here. - * sysdeps/unix/sysv/linux/alpha/ioctl-types.h: Likewise. - * sysdeps/unix/sysv/linux/kernel_termios.h: New file. Define - architecture dependent struct termio type. - * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Likewise. - * sysdeps/unix/sysv/linux/sigset.h: Define extended sigset_t type. - * sysdeps/unix/sysv/linux/sigsuspend.c: Pass first word of array - to syscall. - - * sysdeps/unix/sysv/linux/socketbits.h: Don't use kernel header. - * sysdeps/unix/sysv/linux/statfsbuf.h: Likewise. - * sysdeps/unix/sysv/linux/termbits.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/termbits.h: Likewise. - * sysdeps/unix/sysv/linux/ustatbits.h: Likewise. - * sysdeps/unix/sysv/linux/net/if.h: Likewise. - * sysdeps/unix/sysv/linux/netinet/in.h: Likewise. - * sysdeps/unix/sysv/linux/sys/acct.h: Likewise. - - * sysdeps/unix/sysv/linux/sys/sysmacros.h (minor, major, mkdev): - Change definitions to fit new dev_t definition. - - * sysdeps/unix/sysv/linux/syscalls.list: Add getdents and sigreturn. - Rename ustat to s_ustat since wrapper is needed. - - * sysdeps/unix/sysv/linux/tcgetattr.c: After getting value from - kernel rewrite it to userland level data format. - * sysdeps/unix/sysv/linux/tcsetattr.c: Before calling kernel change - data format to kernel format. - * sysdeps/unix/sysv/linux/ustat.c: New file. Change format of - device parameter to format needed by kernel. - * sysdeps/unix/sysv/linux/alpha/ustat.c: Likewise. - * sysdeps/unix/sysv/linux/xmknod.c: New file. Extend generic - version to change device parameter to format needed by kernel. - * sysdeps/unix/sysv/linux/alpha/xmknod.c: Likewise. - - * sysdeps/unix/sysv/linux/alpha/sys/acct.h: New file. Alpha specific - definition of accounting structure. - - * sysdeps/unix/sysv/linux/sys/ptrace.h: Include . - Patch by Andreas Schwab. - - * time/ap.c: Include . - - * time/tzset.c (__tzset_internal): Change to take one argument - which tells whether examining of TZ is always wanted or only if - no initialization happened before. - * time/localtime.c: (localtime, __localtime_r): Change for new - __tzset_internal form. - - * time/sys/time.h: Include to get select related - declarations. - -Mon Jan 6 01:58:21 1997 Richard Henderson - - * sysdeps/alpha/dl-machine.h (elf_machine_dynamic): Work around - bug in GNU ld. - -Mon Jan 6 01:35:29 1997 H.J. Lu - - * misc/getpass.c: Make sure the content of the input buffer is not - printed if the getpass function is interrupted. - -Sat Jan 4 17:07:08 1997 Roland McGrath - - * md5-crypt/Makefile (rpath-link): Add md5-crypt objdir, not crypt. - -Thu Jan 2 17:58:23 1997 Roland McGrath - - * sysdeps/generic/abort.c: Include for memset decl. - - * new-malloc/mcheck.c [_LIBC || STDC_HEADERS || USG]: Include - so memset is declared. - -Tue Dec 31 21:16:05 1996 Roland McGrath - - * elf/dl-deps.c (_dl_map_object_deps): Support DT_AUXILIARY. - - * elf/dl-error.c (_dl_catch_error): Save and restore old catch site so - calls can be nested. - - * elf/link.h (struct link_map): Extend `l_info' by DT_EXTRANUM elts. - * elf/dynamic-link.h (elf_get_dynamic_info): Grok tags in the Sun - extension range. - - * elf/elf.h (DT_AUXILIARY, DT_FILTER, DT_EXTRANUM): New constant - macros, for Sun extensions. - (DT_EXTRATAGID): New macro to convert Sun extension tag values placed - near the top of the processor-specific range into zero-origin indices. - - * elf/dl-deps.c (_dl_map_object_deps): Check for malloc failure. - -Sat Jan 4 22:25:01 1997 Andreas Jaeger - - * libio/fcloseall.c: Include stdio.h for prototype declaration for - __fcloseall. - -Thu Jan 2 17:35:20 1997 Thomas Bushnell, n/BSG - - * sysdeps/posix/signal.c: Provide ignorable definitions of - SA_ONESHOT, SA_NOMASK, and SA_INTERRUPT for non-threads Posix - systems. - -Thu Jan 2 23:20:51 1997 Andreas Schwab - - * MakeTAGS ($P/siglist.pot): Delete rule. - (XGETTEXTFLAGS-siglist.pot): Remove definition. - (all-pot): Remove $P/siglist.pot. - * sysdeps/unix/siglist.c: Mark strings as translatable. - * sysdeps/unix/sysv/linux/siglist.h: Likewise. - -Wed Jan 1 22:21:18 1997 Andreas Schwab - - * misc/syscall.h: New file. - * misc/sys/syscall.h: Removed. Forwarding to might - find user header, so do it the other way round. - * sysdeps/mach/sys/syscall.h: Moved here from parent directory. - * sysdeps/stub/sys/syscall.h: Likewise. - * sysdeps/unix/sysv/linux/sys/syscall.h: Likewise. - * sysdeps/unix/sysv/sco3.2.4/sys/syscall.h: Likewise. - * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Update - dependency. - * sysdeps/unix/sysdep.h: Include instead of - . - -Tue Dec 31 00:03:18 1996 Andreas Schwab - - * features.h: Fix typo. - -Thu Jan 2 00:46:09 1997 Ulrich Drepper - - * libio/_G_config.h: Add _G_HAVE_LONG_DOUBLE_IO for libg++. - -Wed Jan 1 15:15:00 1997 Ulrich Drepper - - * libio/Makefile (routines): Add fcloseall. - * libio/fcloseall.c: New file. - * libio/stdio.h [__USE_GNU]: Add prototype for fcloseall. - * libio/iofclose.c: Don't close all streams when argument is NULL. - - * stdio/Makefile (routines): Add fcloseall. - * stdio/fcloseall.c: New file. - * stdio/stdio.h [__USE_GNU]: Add prototype for fcloseall. - * stdio/fclose.c: Don't close all streams when argument is NULL. - - * manual/stdio.texi: Document fcloseall. - - * sysdeps/generic/abort.c: Call __fcloseall instead of fclose with - NULL argument. - - * socket/sys/un.h (SUN_LEN): Add cast. - - * sunrpc/auth_unix.c (authunix_create): Change parameter types - of uid, gid, and aup_gids to uid_t and gid_t respectively. - (authunix_create_default): Likewise. - (authunix_refresh): Correct cast for aup_gids assignment. - * sunrpc/rpc/auth.h (authunix_create): Correct types in declaration. - * sunrpc/rpc/auth_unix.h (struct authunix_parms): Correct field - types to uid_t and gid_t respectively. - (struct short_hand_verf): Likewise. - Reported by Andreas Schwab. - - * sysdeps/ieee754/Makefile: New file. Make sure ieee754.h gets - installed. - * sysdeps/ieee754/ieee754.h: Protect against multiple inclusion and - use in C++ programs. - - * sysdeps/libm-i387/e_pow.S: New file. Optimized ix87 assembler - version of pow() function. - * sysdeps/libm-i387/e_powf.S: New file. Float version. - * sysdeps/libm-i387/e_powl.S: New file. Long double version. - - * sysdeps/libm-i387/s_expm1.S: New file. Optimized ix87 assembler - version of expm1() function. - * sysdeps/libm-i387/s_expm1f.S: New file. Float version. - * sysdeps/libm-i387/s_expm1l.S: New file. Long double version. - - * sysdeps/libm-i387/e_exp.S: Optimize handling of +-Inf. - Better handling of computation stack from current NetBSD sources. - * sysdeps/libm-i387/e_expf.S: Likewise. - * sysdeps/libm-i387/e_expl.S: Likewise. - - * sysdeps/libm-i387/e_log.S: Use fstp instead of fincstp. - * sysdeps/libm-i387/e_logf.S: Likewise. - * sysdeps/libm-i387/e_logl.S: Likewise. - * sysdeps/libm-i387/e_log10.S: Likewise. - * sysdeps/libm-i387/e_log10f.S: Likewise. - * sysdeps/libm-i387/e_log10l.S: Likewise. - * sysdeps/libm-i387/s_asinh.S: Likewise. - * sysdeps/libm-i387/s_asinhf.S: Likewise. - * sysdeps/libm-i387/s_asinhl.S: Likewise. - * sysdeps/libm-i387/s_significandl.S: Likewise. - - * sysdeps/libm-i387/s_ceil.S: Don't create stack frame. Modify - stack pointer directly. Use 32 bit instead of 16 bit operations. - * sysdeps/libm-i387/s_ceilf.S: Likewise. - * sysdeps/libm-i387/s_ceill.S: Likewise. - * sysdeps/libm-i387/s_floor.S: Likewise. - * sysdeps/libm-i387/s_floorf.S: Likewise. - * sysdeps/libm-i387/s_floorl.S: Likewise. - - * sysdeps/libm-ieee754/e_coshf.c (huge): Don't declare volatile. - * sysdeps/libm-ieee754/e_expf.c: Likewise. - * sysdeps/libm-ieee754/e_powf.c: Likewise. - From current NetBSD sources. - - * sysdeps/libm-ieee754/e_hypot.c (__ieee754_hypot): Don't initialize - `a' and `b' in definition. - * sysdeps/libm-ieee754/e_hypotf.c: Likewise. - - * sysdeps/libm-ieee754/e_hypotl.c: New file. Long double - implementation. - * sysdeps/libm-ieee754/e_sinhl.c: New file. Long double - implementation. - * sysdeps/stub/e_hypotl.c: Removed. We have a real version now. - * sysdeps/stub/e_sinhl.c: Removed. - - * sysdeps/posix/sigpause.c (__sigpause): Use sigdelset instead of - sigaddset. Reported by Andreas Schwab. - (__default_sigpause): New function. Call __sigpause as BSD version. - Make this the default function by providing alias sigpause. - * sysdeps/stub/sigpause.c (__default_sigpause): New funciton. - Simply fail. Provide alias sigpause. - -Wed Jan 1 12:34:54 1997 Ulrich Drepper - - * po/es.po: Update for glibc-1.98. - * po/fr.po: Likewise. - * po/sv.po: New file. Swedish translation. - -Wed Jan 1 12:18:07 1997 MacGyver - - * values.h: Fix typos: use SHRT_MAX but SHORT_MAX and SHRT_MIN but - SHORT_MIN. - -Tue Dec 24 23:10:21 1996 Andreas Schwab - - * Makefile: Replace `stubs.h' by `gnu/stubs.h'. - * features.h: Include instead of . - -Tue Dec 24 22:16:55 1996 Andreas Schwab - - * Makefile (subdirs): Move `elf' last so that librtld.so isn't - relinked in the `make others' pass if an add-on adds something to - libc. - -Mon Dec 23 21:23:16 1996 Andreas Schwab - - * sysdeps/m68k/abort-instr.h: New File. - -Mon Dec 23 21:16:38 1996 Andreas Schwab - - * sysdeps/m68k/Makefile ($(subdir)=elf): Define CFLAGS-rtld.c - to prevent warning. - -Mon Dec 23 21:14:22 1996 Andreas Schwab - - * resolv/Makefile (subdirs-dirs): Define. - -Mon Dec 23 20:56:49 1996 Andreas Schwab - - * sysdeps/gnu/utmpbits.h (struct utmp): Fix padding. - -Mon Dec 30 11:05:11 1996 Ulrich Drepper - - Update from ADO tzcode1996o. - * time/difftime.c: De-ANSI-declfy. Simplify computation of hibit - according to ADO version. - * time/zic.c: Correct typo is message. - - Update from ADO tzdata1996n. - * time/asia: Updated. - * time/australasia: Likewise. - * time/europe: Likewise. - * time/northamerica: Likewise. - * time/southamerica: Likewise. - -Mon Dec 30 01:32:59 1996 Ulrich Drepper - - * tme/localtime.c: Rewrite so that localtime_r does not call tzset, - but localtime does. - - * features.h: Rename ANSI C to ISO C. - Mention __GLIBC__ and __GLIBC_MINOR__ macros. - - * gnu-versions.h: Add _GNU_GETOPT_INTERFACE_VERSION. - * posix/getopt.c: Use _GNU_GETOPT_INTERFACE_VERSION to check - whether we can elide the code. - * posix/getopt1.c: Likewise. - * posix/Makefile: Correct copyright. - - * elf/dl-error.c (_dl_catch_error): Clear `catch' also when error - occurred. - * elf/dl-support.c (_dl_sysdep_open_zero_fill): Don't define if - MAP_ANON is defined. - * elf/eval.c: Use __getline instead of getline. - * elf/rtld.c (dl_main): Check return value of _dl_new_object - function for NULL. - * sysdeps/generic/dl-cache.c: Update copyright. - - * signal/Makefile: Correct copyright. - (routines): Remove gsignal and ssignal. Add bsd_signal. - * signal/gsignal.c: Removed. Now is made an alias. - * signal/ssignal.c: Likewise. - * sysdeps/posix/raise.c: Add alias gsignal. - * sysdeps/stub/raise.c: Likewise. - * sysdeps/posix/signal.c: Add alias ssignal. - * sysdeps/stub/signal.c: Likewise. - * signal/signal.h: Declare bsd_signal. Define signal as bsd_signal - if __FAVOR_BSD. - * sysdeps/posix/bsd_signal.c: New file. Implementation of XPG - function. This is the old signal.c file. - * sysdeps/posix/signal.c: Change to have semantic of X/Open. - - * sysdeps/unix/sysv/linux/signal.c: Add explanation. - - * socket/sys/un.h: Define SUN_LEN according to POSIX.1g. - - * stdio-common/Makefile (tests): Add scanf10. - * stdio-common/scanf10.c: New file. - * stdio-common/vfscanf.c: Decrement counter if EOF is read while - reading string. - - * sysdeps/libm-i387/e_acos.S: Use END, not PSEUDO_END. - * sysdeps/libm-i387/e_acosl.S: Likewise. - * sysdeps/libm-i387/e_asin.S: Likewise. - * sysdeps/libm-i387/e_asinl.S: Likewise. - * sysdeps/libm-i387/e_atan2.S: Likewise. - * sysdeps/libm-i387/e_atan2f.S: Likewise. - * sysdeps/libm-i387/e_atan2l.S: Likewise. - * sysdeps/libm-i387/e_exp.S: Likewise. - * sysdeps/libm-i387/e_expl.S: Likewise. - * sysdeps/libm-i387/e_fmod.S: Likewise. - * sysdeps/libm-i387/e_fmodl.S: Likewise. - * sysdeps/libm-i387/e_log.S: Likewise. - * sysdeps/libm-i387/e_log10.S: Likewise. - * sysdeps/libm-i387/e_log10l.S: Likewise. - * sysdeps/libm-i387/e_logl.S: Likewise. - * sysdeps/libm-i387/e_remainder.S: Likewise. - * sysdeps/libm-i387/e_remainderf.S: Likewise. - * sysdeps/libm-i387/e_remainderl.S: Likewise. - * sysdeps/libm-i387/e_scalb.S: Likewise. - * sysdeps/libm-i387/e_scalbl.S: Likewise. - * sysdeps/libm-i387/e_sqrt.S: Likewise. - * sysdeps/libm-i387/e_sqrtf.S: Likewise. - * sysdeps/libm-i387/e_sqrtl.S: Likewise. - * sysdeps/libm-i387/s_atan.S: Likewise. - * sysdeps/libm-i387/s_atanf.S: Likewise. - * sysdeps/libm-i387/s_atanl.S: Likewise. - * sysdeps/libm-i387/s_ceil.S: Likewise. - * sysdeps/libm-i387/s_ceilf.S: Likewise. - * sysdeps/libm-i387/s_ceill.S: Likewise. - * sysdeps/libm-i387/s_copysign.S: Likewise. - * sysdeps/libm-i387/s_copysignf.S: Likewise. - * sysdeps/libm-i387/s_copysignl.S: Likewise. - * sysdeps/libm-i387/s_cos.S: Likewise. - * sysdeps/libm-i387/s_cosf.S: Likewise. - * sysdeps/libm-i387/s_cosl.S: Likewise. - * sysdeps/libm-i387/s_finite.S: Likewise. - * sysdeps/libm-i387/s_finitef.S: Likewise. - * sysdeps/libm-i387/s_finitel.S: Likewise. - * sysdeps/libm-i387/s_floor.S: Likewise. - * sysdeps/libm-i387/s_floorf.S: Likewise. - * sysdeps/libm-i387/s_floorl.S: Likewise. - * sysdeps/libm-i387/s_ilogb.S: Likewise. - * sysdeps/libm-i387/s_ilogbf.S: Likewise. - * sysdeps/libm-i387/s_ilogbl.S: Likewise. - * sysdeps/libm-i387/s_log1p.S: Likewise. - * sysdeps/libm-i387/s_log1pf.S: Likewise. - * sysdeps/libm-i387/s_log1pl.S: Likewise. - * sysdeps/libm-i387/s_logb.S: Likewise. - * sysdeps/libm-i387/s_logbf.S: Likewise. - * sysdeps/libm-i387/s_logbl.S: Likewise. - * sysdeps/libm-i387/s_rint.S: Likewise. - * sysdeps/libm-i387/s_rintf.S: Likewise. - * sysdeps/libm-i387/s_rintl.S: Likewise. - * sysdeps/libm-i387/s_scalbn.S: Likewise. - * sysdeps/libm-i387/s_scalbnf.S: Likewise. - * sysdeps/libm-i387/s_scalbnl.S: Likewise. - * sysdeps/libm-i387/s_significand.S: Likewise. - * sysdeps/libm-i387/s_significandf.S: Likewise. - * sysdeps/libm-i387/s_significandl.S: Likewise. - * sysdeps/libm-i387/s_sin.S: Likewise. - * sysdeps/libm-i387/s_sinf.S: Likewise. - * sysdeps/libm-i387/s_sinl.S: Likewise. - - * sysdeps/libm-i387/e_log.S: Use fyl2xp1 instruction for values - near 1 to increase precision. - * sysdeps/libm-i387/e_log10.S: Likewise. - * sysdeps/libm-i387/e_log10l.S: Likewise. - * sysdeps/libm-i387/e_logl.S: Likewise. - - * sysdeps/libm-i387/s_cos.S: Use testl instead of andw. - * sysdeps/libm-i387/s_cosl.S: Likewise. - * sysdeps/libm-i387/s_sin.S: Likewise. - * sysdeps/libm-i387/s_sinl.S: Likewise. - * sysdeps/libm-i387/s_tan.S: Likewise. - * sysdeps/libm-i387/s_tanl.S: Likewise. - - * sysdeps/libm-i387/e_acosf.S: New file. Add float versions. - * sysdeps/libm-i387/e_asinf.S: Likewise. - * sysdeps/libm-i387/e_expf.S: Likewise. - * sysdeps/libm-i387/e_fmodf.S: Likewise. - * sysdeps/libm-i387/e_log10f.S: Likewise. - * sysdeps/libm-i387/e_logf.S: Likewise. - * sysdeps/libm-i387/e_scalbf.S: Likewise. - - * sysdeps/libm-i387/e_acosh.S: New file. Highly optimized versions. - * sysdeps/libm-i387/e_acoshf.S: Likewise. - * sysdeps/libm-i387/e_acoshl.S: Likewise. - * sysdeps/libm-i387/e_atanh.S: Likewise. - * sysdeps/libm-i387/e_atanhf.S: Likewise. - * sysdeps/libm-i387/e_atanhl.S: Likewise. - * sysdeps/libm-i387/e_asinh.S: Likewise. - * sysdeps/libm-i387/e_asinhf.S: Likewise. - * sysdeps/libm-i387/e_asinhl.S: Likewise. - - * sysdeps/libm-ieee754/s_asinhf.c: Tweak a bit. Use lower levels - for simplified handling. - - * sysdeps/unix/sysv/linux/syscalls.list: Add query_module. - -Sun Dec 22 01:39:29 1996 Andreas Schwab - - * inet/rcmd.c (rcmd): Set h_errno before calling herror. - * inet/rexec.c (rexec): Likewise. - -Sat Dec 21 21:47:08 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/setjmp.c (__setjmp): Make it really - compatible. - -Sun Dec 22 03:23:33 1996 Ulrich Drepper - - * sysdeps/libm-i387/s_log1p.S: Use fyl2xp1 for numbers in range - -0.29 <= x <= 0.29, otherwise the old method. - * sysdeps/libm-i387/s_log1pf.S: Likewise. - * sysdeps/libm-i387/s_log1pl.S: Likewise. - -Sun Dec 22 00:01:27 1996 Ulrich Drepper - - * inet/getnetgrent.c: Reformat copyright. - - * inet/getnetgrent_r.c (__internal_endnetgrent): Correct comment. - (__internal_getnetgrent): Rename to __internal_getnetgrent_r as - required in change nis/nss_compat/* at Thu Dec 19 14:24:50 1996. - Reported by Thorsten Kukuk . - - * nss/nss_files/files-netgrp.c: Fix typo. - * login/utmp_db.c: Comment out unused variables. - * misc/tst-dirname.c: Provide prototype for main (for now). - * new-malloc/mcheck-init.c: Include . - * new-malloc/obstack.c: Provide real prototypes. - - * resolv/base64.c (b64_ntop): Use size_t as type of `i', not int. - (b64_pton): Likewise for `tarindex'. - * resolv/nsap_addr.c (inet_nsap_addr): Add cast to prevent warning. - - * stdio-common/Makefile: Add CFLAGS-vfprintf.c to prevent warning. - * stdio-common/printf-parse.h: Remove definition of MIN and MAX. - * stdio-common/printf-prs.c: Include to get MIN and MAX. - * stdio-common/vfprintf.c: Likewise. - * stdlib/gmp-impl.h: Only define MIN and MAX if not already done. - * stdlib/tst-strtol.c: Don't use -2147483648 as unsigned long value. - - * sysdeps/generic/Makefile ($(subdir)=string): Define - CFLAGS-wordcopy.c to prevent warning. - * sysdeps/generic/mul_n.c (mpn_mul_n): Don't define as inline. - * sysdeps/generic/wordcopy.c: De-ANSI-declfy. - * sysdeps/i386/Makefile ($(subdir)=elf): Define CFLAGS-rtld.c - to prevent warning. - * sysdeps/i386/dl-machine.h: Correct copyright. - * sysdeps/unix/closedir.c: Likewise. - * sysdeps/unix/dirstream.h: Likewise. - * sysdeps/unix/opendir.c: Likewise. - * time/tzset.c: Add prototype for __tzset_internal. - - * sysdeps/gnu/utmpbits.h (enum utlogin): Comment out since the - way it is supposed to work is not yet known. - (struct utmp): Remove ut_login and ut_syslen field for now. - -Sat Dec 21 16:23:54 1996 Ulrich Drepper - - * time/strftime.c: Fix another bug in handling flags made it - impossible to use the `-', `_', or `0' flag. - -Sat Dec 21 04:14:16 1996 Ulrich Drepper - - * sysdeps/unix/common/pause.c: Add missing second argument in - call to __sigpause. - Reported by a sun . - - * locale/weight.h: Correct handling of collation elements. - Reported by Keld Simonsen . - - * manual/time.texi: Document ^ flag and %P format. - - * new-malloc/malloc.c: Update from Wolfram Gloger. - - * nss/nss.h: Reformat copyright. - * posix/sched.h: Likewise. - * sysdeps/i386/fpu_control.h: Likewise. - * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise. - * sysdeps/unix/sysv/linux/ioctls.h: Likewise. - * sysdeps/unix/sysv/linux/sigcontext.h: Likewise. - * sysdeps/unix/sysv/linux/utsnamelen.h: Likewise. - * sysdeps/unix/sysv/linux/sys/acct.h: Likewise. - * sysvips/sys/msg.h: Likewise. - - * stdio-common/Makefile (routines): Remove fcloseall. - * stdio-common/fcloseall.c: Removed. - - * stdlib/Makefile (distribute): Add abort-instr.h. - * sysdeps/generic/abort-instr.h: New file. - * sysdeps/i386/abort-instr.h: New file. - * sysdeps/generic/abort.c: Use lock and stage counter to prevent - any form of loop. - - * sysdeps/unix/sysv/linux/timebits.h: Define CLK_TCK as 100. - * sysdeps/unix/sysv/linux/alpha/timebits.h: Define CLOCKS_PER_SEC - as 1000000. Define CLK_TCK as 1024. - * time/time.c (CLK_TCK): Define only if not already set. - - * time/strftime.c: Don't use `isdigit' when computing field width - from string since the locale might have more than one digit - block. - -Fri Dec 20 12:38:14 1996 Darrel Hankerson - - * posix/getopt.c (in -W option handling): Return when optind == argc. - -Thu Dec 19 14:24:50 1996 Andreas Schwab - - * nis/nss_nis/nis-alias.c (_nss_nis_parse_aliasent): Add const to - type of KEY. - - * nis/nss_compat/compat-grp.c: Include the declaration of the file - parser. - * nis/nss_compat/compat-pwd.c: Likewise. - * nis/nss_compat/compat-spwd.c: Likewise. - * nis/nss_nis/nis-ethers.c: Likewise. - * nis/nss_nis/nis-grp.c: Likewise. - * nis/nss_nis/nis-network.c: Likewise. - * nis/nss_nis/nis-proto.c: Likewise. - * nis/nss_nis/nis-pwd.c: Likewise. - * nis/nss_nis/nis-rpc.c: Likewise. - * nis/nss_nis/nis-spwd.c: Likewise. - - * nis/nss_compat/compat-grp.c (getgrent_next_nis, - getgrent_next_file): Pass the correct type for the buffer to the - parser function. - * nis/nss_compat/compat-pwd.c (getpwent_next_netgr, - getpwent_next_nis, getpwent_next_file): Likewise. - * nis/nss_compat/compat-spwd.c (getspent_next_netgr, - getspent_next_nis, getspent_next_file): Likewise. - * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r, - _nss_nis_getethernam_r, _nss_nis_getetherbyaddr_r): Likewise. - * nis/nss_nis/nis-grp.c (internal_nis_getgrent_r, - _nss_nis_getgrnam_r, _nss_nis_getgrgid_r): Likewise. - * nis/nss_nis/nis-network.c (internal_nis_getnetent_r, - _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise. - * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r, - _nss_nis_getprotobyname_r, _nss_nis_getprotobynumber_r): Likewise. - * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r, - _nss_nis_getpwnam_r, _nss_nis_getpwuid_r): Likewise. - * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r, - _nss_nis_getrpcbynumber_r): Likewise. - * nis/nss_nis/nis-spwd.c (internal_nis_getspent_r, - _nss_nis_getspnam_r): Likewise. - -Thu Dec 19 13:37:16 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/setjmp.c: New file. - -Thu Dec 19 23:28:33 1996 Ulrich Drepper - - * resolv/resolv.h: Update from BIND 4.9.5-P1. - * resolv/res_comp.c: Likewise. - * resolv/res_debug.c: Likewise. - * resolv/Banner: Update version number. - -Thu Dec 19 20:58:53 1996 Ulrich Drepper - - * elf/dlfcn.h: Add extern "C" wrapper. - - * io/utime.h: Don't define NULL since this isn't allowed in POSIX. - * io/sys/stat.h: Declare `lstat' only if __USE_BSD || - __USE_XOPEN_EXTENDED. - * locale/locale.h: Define NULL. - * math/math.c: Don't include to define math errors. - * stdlib/stdlib.h: Likewise. - * posix/unistd.h: Don't declare environ. - * posix/sys/utsname.h (struct utsname): Declare member domainname - as __domainname is !__USE_GNU. - * signal/signal.h: Declare size_t only if __USE_BSD || - __USE_XOPEN_EXTENDED. - * stdio/stdio.h: Don't declare cuserid when __USE_POSIX, but - instead when __USE_XOPEN. - * string/string.h: Define strndup only if __USE_GNU. - * sysdeps/unix/sysv/linux/clock.c: New file. - * sysdeps/unix/sysv/linux/timebits.h: Define CLOCKS_PER_SEC as - 1000000 per X/Open standard. - * features.h: Add code to recognize _POSIX_C_SOURCE value 199309. - Define __USE_POSIX199309. - * posix/unistd.h: Declare fdatasync only if __USE_POSIX199309. - * time/time.c: Declare nanosleep only if __USE_POSIX199309. - Patches by Rüdiger Helsch . - - * locale/locale.h: Add declaration of newlocale and freelocale. - - * new-malloc/Makefile (distibute): Add mtrace.awk. - (dist-routines): Add mcheck and mtrace. - (install-lib, non-lib.a): Define as libmcheck.a. - * new-malloc/malloc.h: Add declaration of __malloc_initialized. - * new-malloc/mcheck.c: New file. - * new-malloc/mcheck.h: New file. - * new-malloc/mtrace.c: New file. - * new-malloc/mtrace.awk: New file. - - * posix/unistd.h: Correct prototype for usleep. - * sysdeps/unix/bsd/usleep.c: De-ANSI-declfy. Correct return type. - * sysdeps/unix/sysv/linux/usleep.c: Real implementation based on - nanosleep. - - * signal/signal.h: Change protoype of __sigpause to take two - arguments. Remove prototype for sigpause. Add two different - macros named sigpause selected when __USE_BSD or __USE_XOPEN - are defined. This is necessary since the old BSD definition - of theis function collides with the X/Open definition. - * sysdeps/posix/sigpause.c: Change function definition to also - fit X/Open definition. - - * sysdeps/libm-i387/e_exp.S: Make sure stack is empty when the - function is left. - * sysdeps/libm-i387/e_expl.S: Likewise. - Patch by HJ Lu. - -1996-12-17 Paul Eggert - - * many, many files: Spelling corrections. - * catgets/catgetsinfo.h (mmapped): - Renamed from mmaped (in struct catalog_info.status). - * mach/err_kern.sub (err_codes_unix), string/stratcliff.c (main): - Fix spelling in message. - * po/libc.pot: Fix spelling in message for `zic'; this anticipates - a fix in the tzcode distribution. - -Wed Dec 18 15:48:02 1996 Ulrich Drepper - - * time/strftime.c: Implement ^ flag to cause output be converted - to use upper case characters. - - * time/zic.c: Update from ADO tzcode1996n. - -Wed Dec 18 14:29:24 1996 Erik Naggum - - * time/strftime.c (add): Don't change global `i' until all is over. - Define NULL is not already defined. - -Tue Dec 17 09:49:03 1996 Andreas Schwab - - * libio/iovsprintf.c (_IO_vsprintf): Change `&sf' to `&sf._sbf._f' - to avoid the need for a cast. - * libio/iovsscanf.c (_IO_vsscanf): Likewise. - -Wed Dec 18 03:31:58 1996 Ulrich Drepper - - * dirent/scandir.c: Undo change from Mon Dec 2 15:32:15 1996. - The stream is private and usages outside glibc don't care about - reentrancy. - * io/fts.c: Likewise. - * io/ftw.c: Likewise. - * sysdeps/posix/getcwd.c: Likewise. - * sysdeps/posix/ttyname.c: Likewise. - * sysdeps/posix/ttyname_r.c: Likewise. - * sysdeps/posix/glob.c: Likewise. - - * libio/iovsprintf.c: Add cast to prevent warning. - * libio/iovsscanf.c: Likewise. - - * libio/libioP.h: Define mmap to __mmap and munmap to __munmap - to keep namespace clean. - - * new-malloc/malloc.c: Update to last version from Wolfram Gloger. - Add hooks and check functions from old GNU malloc. - * new-malloc/malloc.h: Likewise. - - * nis/ypclnt.c: Remove prototype for xdr_free. - * sunrpc/rpc/xdr.h: Add prototype for xdr_free. - - * manual/nss.texi: Correct description of default values and don't - meantion NSS as an add-on. - - * nss/grp-lookup.c: Provide default value as - "compat [NOTFOUND=return] files". - * nss/pwd-lookup.c: Likewise. - * nss/spwd-lookup.c: Likewise. - * nss/network-lookup.c: Correct default to - "dns [!UNAVAIL=return] files". - * nss/nsswitch.c: Change default-default value to "nis - [NOTFOUND=return] files" since compat is only available for group, - passwd, and shadow. - - * stdlib/on_exit.c (on_exit): Rename to __on_exit and make old name - a weak alias. - * stdlib/stdlib.h: Add prototype for __on_exit. - - * sysdeps/unix/sysv/linux/schedbits.h: Add prototype for __clone. - - * time/Makefile: Undo change from Sun Dec 8 06:56:49 1996. - The new malloc now has mcheck. - * time/ap.c: Likewise. - - * time/tzset.c (__tzset): Rename to __tzset_internal. - (tzset): Rename to __tzset. Make tzset a weak alias for __tzset. - * time/localtime.c: Use __tzset_internal not __tzset. - * time/strftime.c [_LIBC]: Define tzname as __tzname and tzset - as __tzset to prevent namespace pollution. - - * wctype/iswctype.h (icwctype): Rename to __iswctype. Make iswctype - a weak alias of __iswctype. - * wctype/wctype.h: Add prototype for __iswctype. - (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, - iswprint, iswpunct, iswspace, iswupper, iswxdigit, iswblank): - Use __iswctype for the test, not iswctype. - -1996-12-16 Paul Eggert - - * hurd/hurd/sigpreempt.h - (struct hurd_signal_preemptor.preemptor, _hurdsig_preemptors), - hurd/hurd/signal.h (struct hurd_sigstate.preemptors), - hurd/hurdfault.c, hurd/hurdfault.h (_hurdsig_fault_preemptor), - hurd/hurdsig.c (_hurdsig_preempters): - Renamed to fix spelling from `preempter' to `preemptor'. - All uses changed. - -1996-12-15 Paul Eggert - - * ctime.c (ctime): Return asctime (localtime (t)), as the C - standard requires. - -Tue Dec 17 02:05:48 1996 Thomas Bushnell, n/BSG - - * sysdeps/mach/libc-lock.h (__libc_lock_trylock): Invert return - value because Mach/cthreads uses the opposite convention from - Posix/glibc. - -Mon Dec 16 22:41:01 1996 Ulrich Drepper - - * stdio-common/fcloseall.c: Correct test of already_called. - Reported by Thomas Bushnell, n/BSG. - -Mon Dec 16 14:52:07 1996 Thomas Bushnell, n/BSG - - * mach/lock-intern.h (__mutex_try_lock): New function. - -Sun Dec 15 16:33:44 1996 Andreas Schwab - - * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Only use OXTABS if - defined, else XTABS. - (CEOL, CSTATUS): Use _POSIX_VDISABLE if defined. - -Sun Dec 15 11:56:19 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/mremap.S: New file. - * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it. - * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines): Add mremap. - -Mon Dec 16 02:15:42 1996 Ulrich Drepper - - Make sure tzset() sets always tzname[]. - * time/tzfile.c: De-ANSI-declfy. - (find_transition): New function. Set tzname according to given time. - (__tzread_file): Use find_transition to set tzname. - (__tzfile_compute): Use find_transition instead of doing the work - self. - * time/tzset.c (tzset): Set tzname[] directly only if !__use_tzfile. - -Sun Dec 15 16:52:34 1996 Ulrich Drepper - - * login/utmp-file.c (pututline_file): Open file if closed. - Reported by Roma Ekzhanov . - Use fcntl instead of flock. - -Sun Dec 15 14:20:51 1996 Ulrich Drepper - - * manual/time.texi: Update documentation of strftime function. - -Sun Dec 15 01:53:20 1996 Ulrich Drepper - - * Makefile (subdirs): Change crypt to md5-crypt. - * crypt/Makefile, crypt/md5-crypt.c, crypt/md5.c, crypt/md5.h, - crypt/md5c-test.c, crypt/md5test.c: Move to new directory - md5-crypt. - * sysdeps/unix/sysv/linux/configure.in: Refer to linuxthreads and - crypt instead of LinuxThreads and des-crypt. - - * Makefile (subdirs): Add nss back. - * sysdeps/unix/inet/Subdirs: Move nis to end of file to fulfill - dependencies. - - * libio/iofclose.c: Implement fclose(NULL) as closing all streams. - * stdio-common/Makefile (routines): Add fcloseall. - * stdio-common/fcloseall.c: New file. - * sysdeps/generic/abort.c: Make implementation POSIX.1 compatible. - - * sysdeps/mach/libc-lock.h: Add definition of __libc_lock_trylock. - * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock to always - return 0. - - * stdio-common/printf.h: Define MIN and MAX only if not already - defined. - - * stdio-common/vfprintf.c: Set errno to EBADF if stream does not - allow writing. Required by POSIX.1. - - * libio/libioP.h (CHECK_FILE): Use MAYBE_SET_EINVAL instead of - assignment. - - * interp.c: Update copyright. - * libio/clearerr.c: Likewise. - * libio/ioseekoff.c: Likewise. - * libio/ioseekpos.c: Likewise. - * stdio/fclose.c: Likewise. - * stdio/fflus.c: Likewise. - - * libio/libio.h [!_IO_MTSAFE_IO]: Define _IO_cleanup_region_start - and _IO_cleanup_region_end as empty. - * libio/fgetc.c: Use _IO_cleanup_region_start and - _IO_cleanup_region_end instead of __libc_cleanup_region_start and - __libc_cleanup_region_end. - * libio/fputc.c: Likewise. - * libio/freopen.c: Likewise. - * libio/fseek.c: Likewise. - * libio/getc.c: Likewise. - * libio/getchar.c: Likewise. - * libio/iofclose.c: Likewise. - * libio/iofflush.c: Likewise. - * libio/iofgetpos.c: Likewise. - * libio/iofgets.c: Likewise. - * libio/iofputs.c: Likewise. - * libio/iofread.c: Likewise. - * libio/iofsetpos.c: Likewise. - * libio/ioftell.c: Likewise. - * libio/iofwrite.c: Likewise. - * libio/iogetdelim.c: Likewise. - * libio/iogets.c: Likewise. - * libio/ioputs.c: Likewise. - * libio/iosetbuffer.c: Likewise. - * libio/iosetvbuf.c: Likewise. - * libio/ioungetc.c: Likewise. - - * libio/iovspintf.c: Use cleanup handler to make sure no dangling - locks can stay over. - * libio/iovsscanf.c: Likewise. - - * libio/genops.c: Use _IO_lock_init_recursive and _IO_lock_fini - instead of __libc_lock_init_recursive and __libc_lock_fini. - - * libio/filedoalloc.c: Only use __isatty when compiling GNU libc. - Otherwise use isatty. - * libio/fileops.c: Likewise for __open and open. - - * login/utmp_file.c (getutent_r_file): Use fcntl instead of - flock. - - * nis/ypclnt.h: Add more casts to prevent warnings. - - * nss/Makefile (services): Remove dns. - (libnss_dns, libnss_dns-inhibit-o): Remove definition. - ($(objpfx)libnss_dns.so): Removed. - * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Moved to... - * resolv/nss_dns: ...here. - * resolv/Makefile (extra-libs): Add libnss_dns. - (libnss_dns-routines, libnss_dns-inhibit-o): Define as in - nss/Makefile. - - * nss/XXX-lookup.c: Call __nss_database_lookup with new argument - specifying alternate name for entry in /etc/nsswitch.conf - * nss/nsswitch.c: If no entry with primary name is found in - /etc/nsswitch.conf try alternate name if given. - * nss/nsswitch.h: Add new parameter in prototype for - __nss_database_lookup. - * nss/spwd-lookup.c: Provide alternative entry name to look for. - This makes our NSS compatible with Solaris' nsswitch.conf files. - - * string/tst-strlen.c: Change all counting variables to type size_t - to prevent warnings. - - * sysdeps/posix/fpathconf.c: Update copyright. - * sysdeps/posix/pathconf.c: Don't call fpathconf to do the work. - Opening the file at this path may fail if it is a FIFO or pipe. - - These changes make the time implementation POSIX.1 compliant. - * time/localtime.c (__localtime_r): Always call __tzset not only - if __tzset_run is zero. - * time/strftime.c: Add definition of memset_space to help to - reduce for systems which have memset. - (strftime): Don't use tm_zone member of argument for zone name. - Instead always use tzname[]. - Call tzset() as required by POSIX.1 before any action. - * time/tzset.c (tzset): Set tzname[] as required by POSIX.1. - Remove global variable __tzset_run. __tzset is now called always - when a dependent function is used. - (__tzset): Caching happens based on the contents of the - environment variable TZ. - -Fri Dec 13 01:06:52 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/paths.h: Add _PATH_KLOG. - -Thu Dec 12 09:16:35 1996 Andreas Schwab - - * rellns-sh: Correctly handle a relative source file name. - -Wed Dec 11 19:18:40 1996 Andreas Schwab - - * login/utmp_file.c (setutent_file): Seek back to beginning of the - file if resetting. - -Thu Dec 12 16:39:12 1996 Thomas Bushnell, n/BSG - - * hurd/hurdinit.c (map0): Delete function. Don't do this on - _hurd_preinit_hook. - * hurd/hurdstartup.c (_hurd_startup): Map page zero redzone here. - -Thu Dec 12 03:32:21 1996 Ulrich Drepper - - * libio/_G_config.h: Add definition of _G_int16_t, _G_int32_t, - _G_uint16_t, _G_uin32_t, _G_HAVE_BOOL, _G_HAVE_MMAP, and - _G_ARGS. - - Change libio buffer handling to allocate internal buffers using - mmap if possible. - * libio/filedoalloc.c (_IO_file_doallocate): Change call to - ALLOC_BUF. - * libio/genops.c (_IO_setb, _IO_default_finish): Change call - to FREE_BUF. - (_IO_default_doallocate): Change call to ALLOC_BUF. - * libio/libioP.h: Change definition of ALLOC_BUF and FREE_BUF - to use mmap/munmap when possible. - * libio/memstream.c: Don't use ALLOC_BUF, but directly malloc. - * libio/vasprintf.c: Likewise. - Patch by HJ Lu. - - * libio/libio.h: Define NULL as __null only for gcc-2.8 and up. - * libio/libioP.h: Likewise. - - * libio/fileops.c (_IO_file_read, _IO_file_write): Don't - restart syscall when EINTR was returned. Necessary for POSIX.1. - - * libio/strops.c (_IO_str_overflow): Add cast to prevent warning. - - * new-malloc/malloc.c (heap_trim): Correctly place parentheses to - prevent warnings. - - * nis/Makefile: Remove rules for bsd-tools which are not part - of glibc. - Patch by Thorsten Kukuk. - - * nis/ypclnt.c: Add prototype for xdr_free. - Add const to first parameter for __yp_bind. - * nis/nss_compat/compat-pwd.c (getpwent_next_netgr, getpwent_next_nis, - getpwent_next_file): Variable `p2len' must have type size_t. - * nis/nss_nis/nis-alias.c: Add casts to prevent warnings. - * nis/nss_nis/nis-ethers.c: Likewise. - * nis/nss_nis/nis-grp.c: Likewise. - * nis/nss_nis/nis-hosts.c: Likewise. - * nis/nss_nis/nis-network.c: Likewise. - * nis/nss_nis/nis-proto.c: Likewise. - * nis/nss_nis/nis-pwd.c: Likewise. - * nis/nss_nis/nis-rpc.c: Likewise. - * nis/nss_nis/nis-service.c: Likewise. - * nis/nss_nis/nis-spwd.c: Likewise. - - * nis/rpcsvc/yp_prot.h (ypreq_key): Change type of members to - `const char *'. - (ypmaplist): Change member names to `map' and `next' and provide - #defines for old names. - Patch by Thorsten Kukuk. - - * nss/nss_files/files-parse.c (parse_line, parse_list): Change - type for `datalen' parameter to size_t. - - * shsdow/lckpwdf.c: Use fcntl forlocking, not flock. - - * stdio-common/printf.c [USE_IN_LIBIO]: Provide alias _IO_printf - for printf. - * stdio-common/sscanf.c [USE_IN_LIBIO]: Provide alias _IO_sscanf - for sscanf. - Patch by HJ Lu. - - * stdio-common/tmpfile.c: Update copyright. - - * stdio-common/vfscanf.c: Correctly handle EINTR error from fgetc - function. - Don't eat white space for `C' format. - - * stdlib/tst-strtol.c [~0UL != 0xffffffff]: Fix typo in test data. - - * sysdeps/generic/abort.c: Update copyright. De-ANSI-declfy. - * sysdeps/i386/abort.c: Removed. This version does not use - signal SIGABRT. - - * sysdeps/i386/fpu/__math.h: Define __NO_MATH_INLINES if not using - gcc-2.8 or up. - Patch by HJ Lu. - - * sysdeps/posix/tempname.c: Test for error but EEXIST after open - call. If EMFILE, ENFILE, or EINTR return with error. - -Wed Dec 11 14:43:52 1996 Ulrich Drepper - - * gnu-versions.h: Set _GNU_OBSTACK_INTERFACE_VERSION back to 1. - We are compatible again. - * new-malloc/obstack.h (struct obstack): Add back alloc_failed bit - even though it is not used. - * malloc/obstack.h: Likewise. - * new-malloc/obstack.c (_obstack_begin, _obstack_begin_1): Initialize - alloc_failed bit to 0. - - * time/strftime.c: Extend for Emacs' needs. Recognize field width, - %P format and `0' modifier. - -Tue Dec 10 21:20:44 1996 Andreas Schwab - - * Makerules (make-link): Don't discard exit codes of intermediate - commands. Always use rellns-sh if symbolic links are available. - -Tue Dec 10 20:09:51 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/netinet/in.h: Enclose #include - in __BEGIN_DECLS/__END_DECLS to avoid linkage - conflict of ntohs etc. in . - -Wed Dec 11 01:04:30 1996 Ulrich Drepper - - Add NIS NSS implementation. - * shlib-versions: Add versions for NIS libraries. - * sysdeps/unix/inet/Subdirs: Add nis. - * nis/Banner: New file. - * nis/Makefile: New file. - * nis/nss-nis.h: New file. - * nis/yp_xdr.h: New file. - * nis/ypclnt.h: New file. - * nis/ypupdate_xdr.c: New file. - * nis/nss_compat/compat-grp.c: New file. - * nis/nss_compat/compat-pwd.c: New file. - * nis/nss_compat/compat-spwd.c: New file. - * nis/nss_nis/nis-alias.c: New file. - * nis/nss_nis/nis-ethers.c: New file. - * nis/nss_nis/nis-grp.c: New file. - * nis/nss_nis/nis-hosts.c: New file. - * nis/nss_nis/nis-netgrp.c: New file. - * nis/nss_nis/nis-network.c: New file. - * nis/nss_nis/nis-proto.c: New file. - * nis/nss_nis/nis-publickey.c: New file. - * nis/nss_nis/nis-pwd.c: New file. - * nis/nss_nis/nis-rpc.c: New file. - * nis/nss_nis/nis-service.c: New file. - * nis/nss_nis/nis-spwd.c: New file. - * nis/rpcsvc/yp.h: New file. - * nis/rpcsvc/yp.x: New file. - * nis/rpcsvc/yp_prot.h: New file. - * nis/rpcsvc/ypclnt.h: New file. - * nis/rpcsvc/ypupd.h: New file. - - * libio/_G_config.h: Define _G_HAVE_SYS_WAIT and _G_HAVE_PRINTF_FP. - - * locale/C-numeric.c: Update copyright. - - * locale/Makefile: Add rules to build libBrokenLocale. - * locale/broken_cur_max.c: New file. - * locale/mb_cur_max.c: Update copyright. - (__ctype_get_mb_cur_max): Make function weak. - - * new-malloc/malloc.c: Correct copyright. - * new-malloc/thread-m.h: Correct key handling. - - * shadow/lckpwdf.c: Update copyright. - (PWD_LOCKFILE): Change to /etc/.pwd.lock. - - * stdlib/strtod.c: Add another assertion. - * stdlib/tst-strtod.c: Add another test case. - - * sysdeps/generic/paths.h: Add _PATH_PRESERVE. Needed by nvi. - * sysdeps/unix/sysv/linux/paths.h: Likewise. - - * sysdeps/gnu/utmpbits.h: Rename ut_addr field to ut_addr_v6. - ut_addr names a single element in ut_addr_v6. - - * sysdeps/mach/hurd/xmknod.c: Remove alias from __mknod to mknod. - Patch by Thomas Bushnell, n/BSG. - -Tue Dec 10 11:35:28 1996 Richard Henderson - - * sysdeps/alpha/strncmp.S: Fix aligned short truncated compare - corner condition. - - * sysdeps/alpha/memchr.S: Don't read ahead, even if the load - did fit nicely into that delay slot (patch from David Mosberger-Tang). - -Mon Dec 9 23:53:43 1996 Thomas Bushnell, n/BSG - - * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Renamed from - `ttyname_r'. - (ttyname_r): New alias. - -Tue Dec 10 02:17:31 1996 Ulrich Drepper - - * stdio-common/printf_fp.c (__guess_grouping): Fix off by one - error in computation of number of groups. - Patch sent by Harald Schreiber . - -Tue Dec 10 01:50:07 1996 Ulrich Drepper - - * version.h: Set version to 1.99. - - * Make-dist (routines): Add malloc and new-malloc. - - * Makeconfig: Allow Makefiles to set $(CPPFLAGS-$( - - * Make-dist: Make sure both malloc directories get distributed. - -Sun Dec 8 23:14:10 1996 Andreas Schwab - - * libio/iogets.c (_IO_gets): Fix early returns to not leave the - stream locked. - -Sat Dec 7 22:08:09 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/sys/module.h: Enclose declarations in - __BEGIN_DECLS/__END_DECLS. - -Sat Dec 7 14:23:12 1996 Andreas Schwab - - * login/utmp_file.c: Consistently set file_offset to the position - after the entry just read. - -Mon Dec 9 03:39:30 1996 Ulrich Drepper - - * config.make.in (defines): Add @USE_NEW_MALLOC@. - * Makefile.in: Define USE_NEW_MALLOC to -DUSE_NEW_MALLOC if - we use the new malloc. - - * malloc.h: Use either or - depending on USE_NEW_MALLOC. - - Fix some more POSIX.1 problems. - * libio/fileops.c (_IO_file_underflow): Set errno to EBADF if used - on a write-only stream. - (_IO_file_overflow): Set errno to EBADF if used on a read-only - stream. - (_IO_file_seekoff): POSIX.1 requires that fseek() after an fflush() - call really positions the file offset to the correct position - and no read-ahead happens. - - * locale/C-monetary.c: Set mon_grouping file to "" and "\377" - to pass POSIX test suite. - * stdio-common/vfprintf.c: Handle empty string as grouping command - correctly. - * stdlib/grouping.h: Likewise. - - * misc/syslog.c: Case first argument of __libc_cleanup_region_start. - - * signal/sigsetops.h: Update copyright. Don't include ansidecl.h. - - * stdio-common/printf_fp.c: Update copyright. - -Sun Dec 8 16:39:28 1996 Andreas Jaeger - - * time/Makefile: Compile ap.c with NO_MCHECK flag if new-malloc - used (not otherwise). - -Sun Dec 8 06:56:49 1996 Ulrich Drepper - - * io/getwd.c: Use PATH_MAX not LOCAL_PATH_MAX. Fix typo in - comment. - * stdlib/canonicalize.c: Correct bugs in last change. - Patch by HJ Lu. - - * libio/Makefile (routines): Remove ioprims. - (aux): Remove cleanup. - Add IO_DEBUG option for .o files. - * libio/cleanups.c: Removed. - * libio/ioprims.c: Removed. - * libio/filedoalloc.c: More updates from libg++-2.8b5. - * libio/fileops.c: Likewise. - * libio/genops.c: Likewise. - * libio/iolibio.h: Likewise. - * libio/iopopen.c: Likewise. - * libio/iovsprintf.c: Likewise. - * libio/iovsscanf.c: Likewise. - * libio/libio.h: Likewise. - * libio/libioP.h: Likewise. - * libio/memstream.c: Likewise. - * libio/strfile.h: Likewise. - * libio/vasprintf.c: Likewise. - * libio/vsnprintf.c: Likewise. - - * libio/stdio.h: Define P_tmpdir only is __USE_SVID. - - * manual/arith.texi: Change references to ANSI C to ISO C. - * manual/conf.texi: Likewise. - * manual/creature.texi: Likewise. - * manual/ctype.texi: Likewise. - * manual/errno.texi: Likewise. - * manual/filesys.texi: Likewise. - * manual/intro.texi. Likewise. - * manual/io.texi: Likewise. - * manual/lang.texi: Likewise. - * manual/libc.texinfo: Likewise. - * manual/locale.texi: Likewise. - * manual/maint.texi: Likewise. - * manual/mbyte.texi: Likewise. - * manual/memory.texi: Likewise. - * manual/process.texi: Likewise. - * manual/process.texi: Likewise. - * manual/search.texi: Likewise. - * manual/setjmp.texi: Likewise. - * manual/signal.texi: Likewise. - * manual/startup.texi: Likewise. - * manual/stdio.texi: Likewise. - * manual/string.texi: Likewise. - * manual/time.texi: Likewise. - - * manual/locale.texi: Remove description of LC_RESPONSE and add - LC_MESSAGES. - - * Makefile (subdirs): Change malloc in $(malloc). - * config.make.in: Add variable malloc which is initialized from - @malloc@. - * configure.in: Add new option --enable-new-malloc to use new - malloc. This is the default on Linux. - * sysdeps/unix/sysv/linux/configure.in: Define malloc to new-malloc - by default. - * new-malloc/Makefile: New file. Improved malloc implementation. - * new-malloc/malloc.c: Likewise. - * new-malloc/malloc.h: Likewise. - * new-malloc/mallocbug.c: Likewise. - * new-malloc/obstack.c: Likewise. - * new-malloc/obstack.h: Likewise. - * new-malloc/thread-m.h: Likewise. - * time/Makefile: Compile ap.c with NO_MCHECK flag for now. - * time/ap.c: Don't call mcheck if NO_MCHECK is defined. - - * resolv/Makefile: Add rule to rebuiild libresolv.so when libc.so - changed. - - * stdio/feof.c: Update copyright. - * stdio/stdio.h: Add field for lock to FILE structure. - Add cast to *MAGIC constants to prevent warnings. - - * stdio-common/bug7.c: Correct test. Stream must not be closed - twice. - - * stdlib/Makefile (routines): Add secure-getenv. - * stdlib/secure-getenv.c: New file. __secure_getenv function - moved to here from sysdeps/generic/getenv.c. Otherwise an - application cannot replace the getenv function in the libc. - * sysdeps/generic/getenv.c: Remove __secure_getenv function. - * sysdeps/stub/getenv.c: Remove __secure_getenv alias. - - * sysdeps/mach/libc-lock.h: Define__libc_mutex_lock to __mutex_lock. - - * sysdeps/posix/fdopen.c: Update copyright. Don't use EXFUN. - - * time/test-tz.c: Comment fifth test out. PROBLEM. - - * time/tzset.c: De-ANSI-declfy. - (__tzset): Don't increment pointer tz when no DST information is - given. - - * misc/syslog.c (vsyslog): Cast argument to __libc_cleanup_region - to get Hurd macros right. - -Sat Dec 7 23:47:54 1996 Ulrich Drepper - - * sysdeps/mach/libc-lock.h [_LIBC]: Add definition of - __libc_mutex_lock. - Patch by Thomas Bushnell. - - * sysdeps/unix/sysv/linux/timebits.h: Load only - if __USE_MISC. - - * sysdeps/unix/sysv/linux/Dist: Add llseek.c. - -Sat Dec 7 12:18:56 1996 Ulrich Drepper - - * time/strftime (%c format): Remove %Z from default string. - Reported by Paul Eggert - -Sat Dec 7 03:24:36 1996 Ulrich Drepper - - * configure.in: Discard error message from test in test for - bash-2.0. - - * io/getwd.c: Don't apply getcwd on user supplied buffer. - Instead always use temporary buffer and only copy the result. - Patch by HJ Lu. - * stdlib/canonicalize.c: Likewise. - - * libio/fileops.c: Change comments according to libg++2.8b5. - * libio/iosetvbuf.c: Follow change in libg++-2.8b5 to clear - unbuffered flag. - Reported by HJ Lu. - - * manual/nss.texi: Correct prototypes. - - * misc/syslog.c: Make reentrant. Catch SIGPIPE signal to prevent - crash if syslog daemon is restarted. - - * stdlib/rand_r.c: New file. Implementation of POSIX.2 function - rand_r. - * stdlib/Makefile (routines): Add rand_r. - - * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock and - __libc_mutex_lock. - - * configure.in: Add --disable-sanity-check option. - * sysdeps/unix/sysv/linux/configure.in: If linuxthreads or - des-crypt are not available and --disbale-sanity-check is not - given abort with a message. - -Thu Dec 5 19:19:53 1996 Richard Henderson - - * posix/glob.c: Tests against STDC_HEADERS should also test - __GNU_LIBRARY__. - -Thu Dec 5 16:20:55 1996 Ulrich Drepper - - * misc/err.c (vwarn): Set errno again before using %m format. - -Thu Dec 5 10:14:05 1996 Andreas Jaeger - - * grp/grp.h: Add declaration of __getgrent_r. - - * io/fts.c (fts_build): Remove "register" from variables dirbuf - and dp since their address is needed. - - * sysdeps/posix/getcwd.c (__getcwd): Remove "register" from - variable d since d's address is needed. - - * misc/tst-dirname.c (main): Provide prototype. - * misc/ioctltst.c (main): Dito. - - * Makefile: Add gnu/lib-names.h to install-others before including - Makerules. - -Wed Dec 4 16:00:09 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sys/socketvar.h: New file. Simply use - . - * sysdeps/unix/sysv/linux/Dist: Add sys/socketvar.h. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet)]: Add - sys/socketvar.h to sysdep_headers. - -Tue Dec 3 08:38:15 1996 Richard Henderson - - * sysdeps/unix/alpha/sysdep.S: Remove definition of __errno_location. - Reformat copyright. - - * elf/rtld.c (_dl_start): Don't dereference the value returned by - elf_machine_got to get _DYNAMIC, instead call new function - elf_machine_dynamic. - * sysdeps/alpha/dl-machine.h: Permute elf_machine_got to - elf_machine_dynamic. Reformat copyright. - * sysdeps/i386/dl-machine.h: Likewise. - * sysdeps/m68k/dl-machine.h: Likewise. - * sysdeps/mips/dl-machine.h: Likewise. - * sysdeps/sparc/dl-machine.h: Likewise. - * sysdeps/stub/dl-machine.h: Likewise. - -Tue Oct 15 23:46:00 1996 Andreas Schwab - - * MakeTAGS (sysdep_dirs): Include add-on sysdep directories. - -Tue Dec 3 02:06:18 1996 Ulrich Drepper - - * Makerules ($(libdir)/libc.so): Make first line of generated - link script contain `/* GNU ld script'. This will be used in - ldconfig to check for linker scripts. - * sysdeps/mach/hurd/libc-ldscript: Likewise. - * sysdeps/mach/hurd/libc_p-ldscript: Likewise. - - * stdlib/getsubopt.c: Update copyright. Correct typo in comment. - -Mon Dec 2 15:32:15 1996 Ulrich Drepper - - * elf/dl-lookup.c (_dl_lookup_symbol_skip): Remove unused variable - `found_entry'. - - * misc/ttyslot.c: Use ttyname_r instead of ttyname. - - * assert/assert-perr.c: Use __strerror_r instead of strerror. - * assert/assert.c: De-ANSIdecl-fy. Update copyright. - * string/string.h: Declare __strerror_r. - * string/strerror_r.c: Make strerror_r a weak alias of __strerror_r. - * stdio-common/vfprintf.c: Save current errno value on entry so - that %m format finds the correct value. - * io/getwd.c: Use __strerror_r instead of strerror. - * misc/err.c (vwarn): Use %m printf format instead of explicitly - calling strerror. - * inet/rcmd.c: Likewise. - * misc/error.c (error, error_at_line): Use __strerror_r instead - of strerror when this function is available. - - * stdlib/rand.c: Update copyright and de-ANSI-declfy. - * stdlib/random_r.c: Don't make srand_r weak alais of __srandom_r. - * stdlib/stdlib.h: Define prototype for rand_r. - - * string/strfry.c: Update copyright. Use reentrant random functions. - - * dirent/scandir.c: Use __readdir_r instead of readdir. - * posix/glob.c: Likewise. - * sysdeps/posix/ttyname.c: Likewise. - * sysdeps/posix/ttyname_r.c: Likewise. - * io/ftw.c: Likewise. - * io/fts.c: Likewise. - * sysdeps/posix/getcwd.c: Likewise. - * dirent/dirent.h: Add prototype for __readdir_r. - * sysdeps/unix/readdir_r: Update copyright. - - * time/ctime.c: Use __localtime_r and __asctime_r instead of - non reentrant versions. - * time/ctime_r.c: Update copyright. - - * intl/l10nflist.c (_nl_make_l10nflist): Pretty print. - - * locale/Makefile (localepath): Correct value. - - * nss/nss_files/files-XXX.c: Include to define - NETDB_INTERNAL. - Fix typo in using H_ERRNO_SET macro. - -Fri Nov 29 23:22:14 1996 Andreas Schwab - - * Makerules (elfobjdir): Definition removed. - * Makeconfig (elfobjdir): Define it here instead, so that - expanding $(rpath-link) gets the right value. - - * a.out.h: Removed. - * misc/a.out.h: Moved to... - * sysdeps/generic/a.out.h: ...here. - * sysdeps/unix/sysv/linux/a.out.h: New file. Wrapper around - kernel header. - -Mon Dec 2 03:59:38 1996 Ulrich Drepper - - * grp/initgroups.c: Update and reformat copyright. - Use __getgrent_r instead of getgrent. - - * inet/rcmd.c: Update and reformat copyright. - Use __gethostbyname_r instead of gethostbyname. - * inet/rexec.c: Likewise. - - * intl/finddomain.c: Correct comment about CEN sponsor and revision. - * locale/findlocale.c: Likewise. - * intl/l10nflist.c: Correct handling of CEN sponsor and revision. - * locale/Makefile (CPPFLAGS): Add definition of LOCALEDIR. - * locale/setlocale.c (setlocale): Correctly split value of - LOCALE_PATH. - * locale/programs/localedef.c: Use LOCALEDIR not LOCALE_PATH to - find output directory. - - * nss/getXXbyYY.c [NEED_H_ERRNO]: Before enlarging buffer test - h_errno_tmp variable. - Save error value from being changed during `free' call. - * nss/getXXent.c: Likewise. - - * nss/nss_files/files-XXX.c: Set h_errno variable to NETDB_INTERNAL - before returning ERANGE error. - - * posix/glob.c: Use getlogin_r and getpwnam_r function when available - or in GNU libc. - - * pwd/getpw.c: Use getpwuid_r instead of getpwuid. - - * sunrpc/clnt_gen.c: Use gethostbyname_r and getprotobyname_r. - * sunrpc/clnt_simp.c: Likewise. - * sunrpc/getrpcport.c: Likewise. - * sysdeps/unix/sysv/linux/gethostid.c: Likewise. - - * posix/getconf.c: Treat _SC_UNIT_MAX and _SC_ULONG_MAX separately - since the value might be outside the range of the `long int'. - Print string `undefined' when a value is undefined. - - * stdlib/l64a.c: Return correct pointer. - Patch by NIIBE Yutaka . - - * string/Makefile (routines): Add argz-addsep. - * string/argz-addsep.c: New file. - * string/argz.h: Add prototypes for argz_add_sep. - - * string/argz-ctsep.c: Prevent memory leak. - - * string/strcoll.c: Correct typo in comment. - -Sat Nov 30 02:53:59 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sys/serial.h: Removed again. The file is - not general enough to be part of the libc. - * sysdeps/unix/sysv/linux/Dist: Remove sys/serial.h. - * sysdeps/unix/sysv/linux/Makefile: Don't install sys/serial.h. - -Thu Nov 28 20:04:41 1996 Andreas Schwab - - * login/Makefile: Fix typo. - - * nss/Makefile (generated): Filter out db-alias.c. - -Thu Nov 28 14:44:01 1996 Andreas Schwab - - * time/Makefile (echo-zonenames): Don't depend on non-existing - target `zonenames'. - -Thu Nov 28 12:34:05 1996 Andreas Schwab - - * link.h: New file. - * nss/nsswitch.c: Use it. - - * printf.h: Fix file name. - * stdlib/strfmon.c: Use it. - -Thu Nov 28 23:03:32 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/netinet/in_systm.h: New file. - * sysdeps/unix/sysv/linux/Dist: Add netinet/in_systm.h. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers): - Add netinet/in_systm.h. - Reported by NIIBE Yutaka . - -Thu Nov 28 03:11:11 1996 Ulrich Drepper - - * libio/fileops.c: Update from latest libg++. - - * sysdeps/unix/sysv/linux/init-first.c: Reformat copyright. - - * sysdeps/stub/libc-lock.h: Add __libc_lock_init_recursive. - * libio/genops.c (_IO_init): Use __libc_lock_init_recursive - instead of __libc_lock_init for streams. - Reported by a sun . - - * sysdeps/unix/sysv/linux/i386/brk.c: Reformat copyright. - - * sysdeps/generic/errno-loc.c: New file. Generic definition of - __errno_location function. - * sysdeps/unix/sysv/linux/i386/sysdep.S: Remove definition of - __errno_location. - * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=csu]: Add errno-loc - to sysdep-routines. - - * sysdeps/unix/sysv/linux/configure: Add test for linuxthreads - and crypt add-on and warn if not available. - -Wed Nov 27 23:09:37 1996 Ulrich Drepper - - * po/ko.po: Update from Bang Jun-Young . - - * sysdeps/unix/sysv/linux/syscalls.list: Remove _llseek. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (routines): Add - llseek. - * sysdeps/unix/sysv/linux/llseek.c: New file. Uses syscall. - * sysdeps/unix/sysv/linux/i386/syscalls.list: Add __sys_llseek. - * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add __sys_llseek. - Reported by HJ Lu . - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add llseek. - * sysdeps/unix/sysv/linux/alpha/llseek.S: Remove. Generic syscall - is enough. - Patch by Richard Henderson . - - * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for - pciconfig_read and pciconfig_write. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add new syscalls - pciconfig_read and pciconfig_write. - - * login/getutent_r.c: Fix several bugs in last change. - -Wed Nov 27 06:10:10 1996 Ulrich Drepper - - * Makefile: Fix typo. - - * configure: Require autoconf-2.11. - - * elf/dl-deps.c: Terminate duplicate list. - - * libio/libio.h: Add prototypes for _IO_seekoff and _IO_seekpos. - * libio/strfile.h: Update from current libg++. - * libio/strops.c: Likewise. - - * login/Makefile (routines): Update after correction of reentrant - interface. - * login/endutent.c: Removed. - * login/endutent_r.c: Likewise. - * login/pututline.c: Likewise. - * login/pututline_r.c: Likewise. - * login/setutent.c: Likewise. - * login/setutent_r.c: Likewise. - * login/getutent.c: Update for new interface. - * login/getutent_r.c: Likewise. - * login/getutid.c: Likewise. - * login/getutid_r.c: Likewise. - * login/getutline.c: Likewise. - * login/getutline_r.c: Likewise. - * login/login.c: Likewise. - * login/logout.c: Likewise. - * login/logwtmp.c: Likewise. - * login/utmp.h: Likewise. - * sysdeps/unix/getlogin.c: Likewise. - * sysdeps/unix/getlogin_r.c: Likewise. - * login/utmp-private.h: New private header. - * login/utmp_db.c: Stub DB backend for utmp handler. - * login/utmp_file.c: File backend for utmp handler. - * sysdeps/gnu/utmpbits.h (struct utmp): Add some more fields. - (enum utlogin): List of record types. - (struct exit_status): Record to align with other implementations. - - * sysdeps/generic/paths.h: Add _PATH_UTMP_DB. - * sysdeps/unix/sysv/linux/paths.h: Likewise. - - * sysdeps/generic/pty.c: Use getgrnam_r instead of getgrnam. - - * sysdeps/stub/getlogin.c: Update copyright. - * sysdeps/stub/getlogin_r.c: Likewise. - - * nss/getXXbyYY_r.c: Use -1l for error-pointer value instead of -1. - * nss/getXXent_r.c: Likewise. - * nss/nsswitch.c: Likewise. - - * posix/Makefile (headers): Add wait.h. - * posix/wait.h: New file. - - * posix/sys/types.h: Always define intN_t types. - - * stdio-common/Makefile: Update copyright. - Use -Wno-format flag for scanf4.c and scanf7.c. - - * stdlib/stdlib.h: Reformat. - -Fri Nov 22 19:34:12 1996 Andreas Schwab - - * sysdeps/posix/getcwd.c (__getcwd): After resizing the buffer - move the current contents to the end and relocate file name - pointer to upper half of the buffer. - -Sun Nov 24 04:56:19 1996 Ulrich Drepper - - * time/africa: Update from ADO tzdata1996m. - * time/antarctica: Likewise. - * time/asia: Likewise. - * time/australia: Likewise. - * time/etcetera: Likewise. - * time/europe: Likewise. - * time/nothamerica: Likewise. - * time/southameria: Likewise. - * time/zone.tab: Likewise. - - * sysdeps/unix/sysv/linux/sys/serial.h: New file. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers): - Add sys/serial.h. - * sysdeps/unix/sysv/linux/Dist: Add sys/serial.h. - - * posix/wait.h: New file. - * posix/Makefile (headers): Add wait.h. - -Sat Nov 23 17:27:52 1996 Roland McGrath - - * Makeconfig ($(common-objpfx)soversions.mk): Use regular - expression instead of shell pattern matching. - * shlib-versions: Change to regular expressions. - -Sat Nov 23 13:24:55 1996 Ulrich Drepper - - * io/stat.c: Add section from libgcc to copyright comment - to allow this file to be statically linked in applications. - * io/fstat.c: Likewise. - * io/lstat.c: Likewise. - * io/mknod.c: Likewise. - -Fri Nov 22 15:14:23 1996 Ulrich Drepper - - * csu/initfini.c: Add section from libgcc to copyright comment - to allow this file to be statically linked in applications. - - * malloc/obstack.h [!_LIBC && !HAVE_STRING_H]: Define memcpy if - not already defined. - (obstack_grow, obstack_grow0): Correct placement of braces. - - * gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Define to 2. - * malloc/obstack.c (OBSTACK_INTERFACE_VERSION): Define to 2. - -Thu Nov 21 19:54:51 1996 Andreas Schwab - - * Makerules (make-link): Simplify by changing directory only if - not using rellns-sh; check whether we really have symbolic links. - - * rellns-sh: Fix the case of $(dirname $2) being a prefix of - $(dirname $1); use status of ln for exit code; make more robust - against multiple slashes in a row. - -Thu Nov 21 13:05:21 1996 Thomas Bushnell, n/BSG - - * configure.in (after AC_CANONICAL_HOST): mutate *-*-gnu* names - into *-*-gnu-gnu*. - * shlib-versions (gnu versions): Recognize *-*-gnu-gnu* instead of - the three-part name, to distinguish correctly from *-*-linux-gnu*. - - * sysdeps/mach/hurd/Makefile ($(libdir)/libc.so): Depend on - $(rpcuserlibs). - - * sysdeps/mach/hurd/Makefile (install-others): Add - $(libdir)/libc_p.a. - ($(libdir)/libc_p.a): New rule. - * sysdeps/mach/hurd/libc_p-ldscript: New file. - * sysdeps/mach/hurd/Dist: Add libc_p-ldscript. - -Wed Nov 20 20:28:21 1996 Richard Henderson - - * Makerules (make-link): Use $(shell) to find rellns-sh before we cd. - * time/Makefile: Likewise. - - * sysdeps/alpha/elf/Makefile: New file. Build crtbegin.o & crtend.o. - * sysdeps/alpha/elf/Dist: New file. - * sysdeps/alpha/elf/crtbegin.S, sysdeps/alpha/elf/crtend.S: New files. - The bits currently distributed with GCC fail in two ways -- they don't - understand multiple .got subsections and the extents of the lists are - dynamicly bound meaning that the application's lists get executed - multiple times and the library's lists never get executed. - -Wed Nov 20 00:42:45 1996 Andreas Schwab - - * stdlib/strtod.c: Fix previous change. - -Wed Nov 20 22:07:58 1996 Andreas Jaeger - - * time/Makefile ($(installed-localtime-file)): Use $(..) to find - rellns-sh script. - -Wed Nov 20 12:50:54 1996 Ulrich Drepper - - * stdio-common/Makefile: Add CFLAGS-scanf7.c to prevent warning. - Likewise for scanf4.c - -Wed Nov 20 02:04:11 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sigsuspend.c: Make sigsuspend a weak - alias of __sigsuspend. - - * grp/grp.h: Correct comment about POSIX compliance. - * pwd/pwd.h: Likewise. - - * login/utmp.h: Update copyright and pretty-print prototypes. - * sysdeps/generic/paths.h: Add _PATH_LASTLOG, _PATH_UTMP and - _PATH_WTMP from utmpbits.h. - * sysdeps/unix/sysv/linux/paths.h: Likewise. - * sysdeps/generic/utmpbits.h: Remove here. - * sysdeps/gnu/utmpbits.h: Likewise. - - * misc/sys/uio.h: Place __BEGIN_DECLS correctly. - Pretty-print prototypes. - - * sysdeps/unix/sysv/linux/sparc/clone.S: New file. Taken from - LinuxThreads-0.5. - -Tue Nov 19 13:43:07 1996 Richard Henderson - - * inet/ether_hton.c: Include . - * inet/ether_ntoh.c: Likewise. - * inet/rexec.c: Get errno, index, getpass, getlogin from headers. - * misc/search.h: Fix hcreate_r argument type (unsigned -> size_t). - - * misc/sys/cdefs.h: Change __long_double_t definition from typedef - to define. Jim Nance reports problems building XEmacs otherwise. - - * resolv/gethnamaddr.c: Protect h_errno redefinition. - * resolv/getnetnamadr.c: Likewise. - * resolv/herror.c: Likewise. - - * sysdeps/generic/sigset.h (__SIGSETFN): Operator ## doesn't work - with -traditional. Reported by Eric Youngdale. While we're at this, - don't do error checking in the __ functions. This is consistent - with the sysv4 definitions and seems Right. - * signal/signal.h: Don't __OPTIMIZE__ sigops to __ versions. Add - prototype for __sigsuspend. - * sysdeps/posix/sigblock.c: Optimize sigmask <-> sigset_t conversions - for sigset_t == unsigned long. De-ansidecl-ify. Reformat copyright. - * sysdeps/posix/sigpause.c: Likewise. - * sysdeps/posix/sigsetmask.c: Likewise. - * sysdeps/posix/sigvec.c: Likewise. - * sysdeps/posix/sigintr.c: Reformat copyright. - * sysdeps/posix/signal.c: Check signal number out of range since - __sigismember doesn't anymore. Reformat copyright. - * sysdeps/posix/sigwait.c: Use __ versions of sigfillset, sigismember, - sigdelset, sigaction, and sigsuspend. - - * stdlib/drand48-iter.c (__drand48_iterate): Cast state fragments - to the wider type before shifting. - - * sysdeps/alpha/bsd-_setjmp.S: Silence assembler warning "$at used - without .set noat" in profiling hook. - * sysdeps/alpha/bsd-setjmp.S: Likewise. - * sysdeps/alpha/htonl.S: Likewise. - * sysdeps/alpha/htons.S: Likewise. - * sysdeps/alpha/s_copysign.S: Likewise. - * sysdeps/alpha/setjmp.S: Likewise. - * sysdeps/alpha/stpcpy.S: Likewise. - * sysdeps/alpha/strcat.S: Likewise. - * sysdeps/alpha/strcpy.S: Likewise. - * sysdeps/alpha/strncat.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/brk.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise. Rename - function to __sigsuspend and add weak alias. - * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. Add missing END. - - * sysdeps/alpha/w_sqrt.S: Define _ERRNO_H so defines EDOM. - - * sysdeps/unix/execve.S: Match PSEUDO_END symbol with the symbol - SYSCALL__ actually generated. - - * sysdeps/unix/sysv/linux/errnos.h [_LIBC_REENTRANT]: Reflexively - #define __set_errno, as several imported subsystems (eg. BIND) check - that the symbol is defined. - - * sysdeps/unix/sysv/linux/getsysstats.c: Include . - - * sysdeps/alpha/memcpy.S: Temporarily remove until I can find a bug - that manifests in GCC. - -Tue Nov 19 11:10:05 1996 Thomas Bushnell, n/BSG - - * sysdeps/posix/writev.c (writev): COUNT parm is now int. - * sysdeps/posix/readv.c (readv): Likewise. - -Tue Nov 19 15:28:29 1996 Ulrich Drepper - - * nss/nss_dns/dns-network.c: Change return type of all functions - to enum nss_status. - Reported by NIIBE Yutaka. - * nss/nss_dns/dns-host.c: Update copyright. - -Fri Nov 15 20:16:38 1996 Andreas Schwab - - * config.make.in: Remove definition of top_absdir. - * configure.in: Likewise. Use $(..) instead. - * Makerules (make-link): Use $(..) to find rellns-sh script. - -Sat Nov 16 15:52:29 1996 Andreas Schwab - - * manual/nss.texi (Name Service Switch): Fix reference to - `frobnicate'. - -Fri Nov 15 22:08:33 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add - sys/mtio.h. - -Mon Nov 18 05:51:13 1996 Ulrich Drepper - - * sysdeps/generic/waitstatus.h (__WIFSIGNALED): Rename local - variable from __stat to __status to prevent shadowing. - * sunrpc/rpc/clnt.h (clntudp_create, clntudp_bufcreate): Likewise - for parameter __wait. - Reported by NIIBE Yutaka. - -Mon Nov 18 02:05:38 1996 Ulrich Drepper - - * misc/regexp.c: New file. Implementation of obsolete interface - to regular expression matcher (required in XPG4.2). - * misc/regexp.h: New file. Header for above. - * misc/Makefile (headers): Add regexp.h. - (routines): Add regexp.c. - Update copyright. - -Sun Nov 17 21:50:24 1996 Andreas Jaeger - - * stdlib/tst-strtod.c (main): Add arguments for main. - * stdlib/tst-strtol.c (main): Likewise. - -Sun Nov 17 21:15:05 1996 Ulrich Drepper - - * configure.in: Substitute libc_cv_slibdir and libc_cv_sysconfdir - in output files. - * sysdepes/unix/sysv/linux/configure: Define libc_cv_slibdir to /lib - and sysconfdir to /etc if $prefix is /usr. - * config.make.in: Add slibdir, sysconfdir and BASH to be replaced. - - * elf/Makefile ($(objpfx)ldd): Install ldd.bash.in if - $(have-bash2) is yes. - * elf/ldd.bash.in: Add copyright and various cleanups. - * elf/ldd.sh.in: Likewise. - - Implement RTLD_NEXT. - * elf/dlfcn.h: Define RTLD_NEXT. - * elf/dl-deps.c: Build second searchlist which contains duplicates. - * elf/dl-lookup.c (_dl_lookup_symbol_skip): New function. Used - for RTLD_NEXT lookup. - Rewrite _dl_lookup_symbol to put common parts for both lookup - functions in a separate function. - * elf/dlsym.c: Handle RTLD_NEXT by calling _dl_lookup_symbol_skip. - * elf/link.h (struct link_map): Add l_dupsearchlist and - l_ndupsearchlist. - Add prototype for _dl_lookup_symbol_skip. - - * sunrpc/Makefile (rpcsvc): Add rusers. - * sunrpc/rpcsvc/rnusers.x: Remove. Obsolteted by rusers.x. - * sunrpc/rpcsvc/rusers.x: New file. - -Sun Nov 17 04:24:35 1996 Ulrich Drepper - - * stdio-common/vfprintf.c [USE_IN_LIBIO] (buffered_vfprintf): Call - __libc_lock_init for local lock. - Reported by a sun . - [!USE_IN_LIBIO] (PAD): Optimize a bit. - -Sun Nov 17 03:13:57 1996 Ulrich Drepper - - * db/makedb.c: Update and reformat copyright. - * elf/Makefile: Likewise. - * elf/dl-close.c: Likewise. - * elf/dl-debug.c: Likewise. - * elf/dl-deps.c: Likewise. - * elf/dl-error.c: Likewise. - * elf/dl-fini.c: Likewise. - * elf/dl-init.c: Likewise. - * elf/dl-load.c: Likewise. - * elf/dl-lookup.c: Likewise. - * elf/dl-minimal.c: Likewise. - * elf/dl-object.c: Likewise. - * elf/dl-open.c: Likewise. - * elf/dl-reloc.c: Likewise. - * elf/dl-runtime.c: Likewise. - * elf/dl-support.c: Likewise. - * elf/dl-symbol.c: Likewise. - * elf/dladdr.c: Likewise. - * elf/dlclose.c: Likewise. - * elf/dlerror.c: Likewise. - * elf/dlopen.c: Likewise. - * elf/dlsym.c: Likewise. - * elf/do-rel.h: Likewise. - * elf/dynamic-link.h: Likewise. - * elf/eval.c: Likewise. - * elf/rtld.c: Likewise. - * inet/ether_hton.c: Likewise. - * inet/ether_ntoh.c: Likewise. - * inet/ether_line.c: Likewise. - * inet/getnetgrent_r.c: Likewise. - - * inet/Makefile (+gccwarn): Remove definition. - Instead set CFLAGS-rcmd.c, CFLAGS-rexec.c, and CFLAGS-ruserpass.c - to `-w'. - * inet/aliases.h: Add C++ protection. - * inet/ether_hton.c: Add prototype for __nss_ethers_lookup. - (ether_hostton): Remove unused variable result. - * inet/ether_ntoh.c: Likewise. - * inet/ether_line.c: Include and . - * inet/getnetgrent_r.c: Include . - Use casts to prevent warnings. - (innetgr): Initialize `known' and `needed'. - * inet/inet_net.c: Make local variable `i' of type u_int32_t. - * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)) [NEED__RES]: Don't - return NULL. Instead set *RESULT to NULL and return -1. - * nss/getXXent_r.c (INTERNAL (REENTRANT_GETNAME)): Likewise. - (SETFUNC_NAME, ENDFUNC_NAME) [NEED__RES]: Don't return anything. - - * nss/nss_files/files-alias.c: Debug function. I didn't worked at - all before. - -Sat Nov 16 15:25:34 1996 Ulrich Drepper - - * sysdeps/posix/readv.c: Don't use PTR anymore. - * sysdeps/posix/writev.c: Likewise. - - * version.h (VERSION): Bump to 1.98. - - * nss/db-Makefile: Generate lines for getXXXent iteration. - - * sysdeps/alpha/Dist: Don't distribute removed files divlu.S, - divqu.S, remlu.S, and remqu.S. - -Fri Nov 15 08:55:54 1996 Andreas Jaeger - - * posix/unistd.h: Correct typo in documentation. - -Thu Nov 14 18:08:14 1996 a sun - - * inet/netinet/tcp.h: Use __ protected versions instead of - BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN directly. - -Sat Nov 16 13:44:55 1996 Ulrich Drepper - - * intl/loadmsgcat.c (_nl_msg_cat_cntr): Initialize so that - references in libc.so are not anymore undefined. - -Sat Nov 16 18:17:36 1996 NIIBE Yutaka - - * io/utime.h: Rename second parameter for utime to prevent warning - for -Wshadow. - * dirent/dirent.h: Same here for scandir prototype. - * math/mathcalls.h: Likewise for frexp and ldexp. - * sysdeps/unix/sysv/linux/netinet/in.h: Likewise for bindresvport. - -Sat Nov 16 03:49:27 1996 Ulrich Drepper - - * stdlib/tst-strtod.c: Add test for error case below. - -Sat Nov 16 03:48:39 1996 Wolfram Gloger - - * stdlib/strtod.c: Recognize numbers like 0e-19. - -Fri Nov 15 08:38:43 1996 Andreas Jaeger - - * time/Makefile ($(installed-localtime-file)): Fix path to - rellns-sh. - - * Makefile: Don't generate and install gnu/lib-names.h if - $(build-shared) is not `yes'. - -Thu Nov 14 09:23:58 1996 H.J. Lu (hjl@gnu.ai.mit.edu) - - * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend - on $(..)posix/posix1_lim.h, not ../posix/posix1_lim.h. - - * Makerules (REAL_MAKE_VERSION): New, use it instead of - MAKE_VERSION. - -Thu Nov 14 22:10:43 1996 Ulrich Drepper - - * nss/nss_files/files-XXX.x (_nss_files_get,ENTNAME_r): Fix typo. - * nss/getXXent_r.c: Fix typo. Set correct return value when - no further service is available. - -Thu Nov 14 17:48:13 1996 Ulrich Drepper - - * db/recno/rec_put.c: Add cast to avoid warning. - * db/recno/rec_close.c: Likewise. - * db/mpool/mpool.c: Likewise. - * db/hash/hash_bigkey.h: Likewise. - * db/hash/hash.c: Likewise. - * db/btree/bt_split.c: Likewise. - * db/btree/bt_put.c: Likewise. - -Thu Nov 14 14:11:44 1996 Ulrich Drepper - - * dirent/dirent.h: Update copyright. - * elf/elf.h: Likewise. - * elf/link.h: Likewise. - * gmon/sys/gmon_out.h: Likewise. - * gnu-versions.h: Likewise. - * intl/libintl.h: Likewise. - * io/fcntl.h: Likewise. - * io/ftw.h: Likewise. - * io/sys/statfs.h: Likewise. - * io/utime.h: Likewise. - * locale/langinfo.h: Likewise. - * malloc/malloc.h: Likewise. - * malloc/obstack.h: Likewise. - * misc/ar.h: Likewise. - * misc/error.h: Likewise. - * misc/mntent.h: Likewise. - * misc/sgtty.h: Likewise. - * misc/sys/cdefs.h: Likewise. - * misc/sys/dir.h: Likewise. - * misc/sys/file.h: Likewise. - * misc/sys/ioctl.h: Likewise. - * misc/sys/ustat.h: Likewise. - * posix/fnmatch.h: Likewise. - * posix/getopt.h: Likewise. - * posix/glob.h: Likewise. - * posix/posix2_lim.h: Likewise. - * posix/regex.h: Likewise. - * posix/sys/times.h: Likewise. - * posix/sys/types.h: Likewise. - * posix/sys/utsname.h: Likewise. - * posix/tar.h: Likewise. - * posix/wordexp.h: Likewise. - * resource/sys/resource.h: Likewise. - * resource/sys/vlimit.h: Likewise. - * resource/sys/vtimes.h: Likewise. - * socket/sys/socket.h: Likewise. - * socket/sys/un.h: Likewise. - * stdio-common/printf.h: Likewise. - * stdlib/alloca.h: Likewise. - * string/argz.h: Likewise. - * string/endian.h: Likewise. - * string/envz.h: Likewise. - * string/memory.h: Likewise. - * string/strings.h: Likewise. - * sysdeps/generic/crypt.h: Likewise. - * sysdeps/generic/direntry.h: Likewise. - * sysdeps/generic/gnu/types.h: Likewise. - * sysdeps/generic/ioctl-types.h: Likewise. - * sysdeps/generic/netinet/in.h: Likewise. - * sysdeps/generic/resourcebits.h: Likewise. - * sysdeps/generic/sigset.h: Likewise. - * sysdeps/generic/sockaddrcom.h: Likewise. - * sysdeps/generic/sys/mman.h: Likewise. - * sysdeps/generic/sys/ptrace.h: Likewise. - * sysdeps/generic/termbits.h: Likewise. - * sysdeps/generic/waitstatus.h: Likewise. - * sysdeps/ieee754/huge_val.h: Likewise. - * sysdeps/ieee754/nan.h: Likewise. - * sysdeps/mach/hurd/local_lim.h: Likewise. - * sysdeps/mach/hurd/statbuf.h: Likewise. - * sysdeps/stub/huge_val.h: Likewise. - * sysdeps/stub/libc-lock.h: Likewise. - * sysdeps/stub/signum.h: Likewise. - * sysdeps/stub/statbuf.h: Likewise. - * sysdeps/stub/waitflags.h: Likewise. - * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise. - * sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise. - * sysdeps/unix/bsd/osf/sys/mman.h: Likewise. - * sysdeps/unix/bsd/signum.h: Likewise. - * sysdeps/unix/bsd/statbuf.h: Likewise. - * sysdeps/unix/bsd/sun/signum.h: Likewise. - * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Likewise. - * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise. - * sysdeps/unix/bsd/sun/sunos4/termbits.h: Likewise. - * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise. - * sysdeps/unix/bsd/waitflags.h: Likewise. - * sysdeps/unix/sysv/irix4/signum.h: Likewise. - * sysdeps/unix/sysv/irix4/statbuf.h: Likewise. - * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/sys/io.h: Likewise. - * sysdeps/unix/sysv/linux/direntry.h: Likewise. - * sysdeps/unix/sysv/linux/gnu/types.h: Likewise. - * sysdeps/unix/sysv/linux/ioctl-types.h: Likewise. - * sysdeps/unix/sysv/linux/local_lim.h: Likewise. - * sysdeps/unix/sysv/linux/netinet/in.h: Likewise. - * sysdeps/unix/sysv/linux/resourcebits.h: Likewise. - * sysdeps/unix/sysv/linux/signum.h: Likewise. - * sysdeps/unix/sysv/linux/statbuf.h: Likewise. - * sysdeps/unix/sysv/linux/sys/io.h: Likewise. - * sysdeps/unix/sysv/linux/sys/klog.h: Likewise. - * sysdeps/unix/sysv/linux/sys/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise. - * sysdeps/unix/sysv/linux/syscall.h: Likewise. - * sysdeps/unix/sysv/linux/termbits.h: Likewise. - * sysdeps/unix/sysv/local_lim.h: Likewise. - * sysdeps/unix/sysv/sco3.2.4/syscall.h: Likewise. - * sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise. - * sysdeps/unix/sysv/signum.h: Likewise. - * sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise. - * sysdeps/unix/sysv/sysv4/signum.h: Likewise. - * sysdeps/unix/sysv/sysv4/sigset.h: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/signum.h: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: Likewise. - * sysdeps/unix/sysv/sysv4/waitflags.h: Likewise. - * sysdeps/vax/huge_val.h: Likewise. - * values.h: Likewise. - -Thu Nov 14 04:22:41 1996 Ulrich Drepper - - * malloc/obstack.h: Use memcpy instead of bcopy and define a macro - `memcpy' using bcopy if memcpy is not available. - - * manual/stdio.texi: Correct description of printf customization. - The argument info function is not optional anymore and the - interface for `printf_function' also changed. - * manual/examples/rprintf.c: Define and use argument info function. - - * stdio-common/printf.h (struct printf_info): Change type for field - `pad' to wchar_t. - Correct comment for `register_printf_function'. - - * nss/getXXbyYY.c [NEED_H_ERRNO]: Don't pass pointer to h_errno - to reentrant function. Instead use temporary variable and set - h_errno if an error occured. - Reported by NIIBE Yutaka. - -Fri Nov 15 12:27:25 1996 Thomas Bushnell, n/BSG - - * sysdeps/mach/hurd/statbuf.h (S_IPTRANS, S_IATRANS, S_IROOT, - S_ITRANS): New macros. - (S_ISPARE): Update to include new macros and S_IUSEUNK. - - * sysdeps/mach/hurd/select.c (__select): Construct arg to - mach_msg_destroy more nicely. - - * sysdeps/mach/hurd/ioctl.c: Include . - - * stdio/fopen.c (__getmode): Declare with prototype. - * stdio/memstream.c (enlarge_buffer, seek, free_info): Likewise. - * stdio/internals.c (__stdio_check_funcs, init_stream, - seek_to_target, flushbuf, fillbuf): Likewise. - - * stdio-common/vfscanf.c (encode_error) [! USE_IN_LIBIO]: Call - funlockfile, not _IO_funlockfile. - - * sysdeps/posix/readv.c (readv): Change return type to ssize_t. - Deansideclized. - * sysdeps/posix/writev.c (writev): Likewise. - - * sysdeps/mach/hurd/lchown.c: Include and fix typo. - -Thu Nov 14 12:53:16 1996 Thomas Bushnell, n/BSG - - * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Make this a - prototyped definition. - - * sysdeps/mach/hurd/select.c (__select): Deal properly when there - are no bits set in the masks. Reported by baldazzi@csr.unibo.it. - -Thu Nov 14 02:00:33 1996 Ulrich Drepper - - * inet/Makefile (headers): Add aliases.h. - (routines): Add getaliasent_r, getaliasent, getaliasname, and - getaliasname_r. - * aliases.h: New file. - * inet/aliases.h: New file. - * inet/getaliasent.c: New file. - * inet/getaliasent_r.c: New file. - * inet/getaliasname.c: New file. - * inet/getaliasname_r.c: New file. - * nss/Makefile (databases): Add alias. - * nss/alias-lookup.c: New file. - * nss/databases.def: Add aliases and publickey. - * nss/nss_db/db-alias.c: New file. - * nss/nss_files/files-alias.c: New file. - - * inet/getnetgrent_r.c (__internal_getnetgrent): Buffer length - argument to lookup function is of type size_t. - (innetgr): Likewise. - * nss/getXXbyYY_r.c: Likewise. - * nss/getXXent_r.c: Likewise. - * nss/nss_db/db-XXX.c: Likewise. - - * nss/getXXbyYY.c: Don't provide static buffer. Resize if call - failed because buffer was too small. - * nss/getXXent.c: Likewise. - - * nss/nss_files/files-XXX.c: Correct handling of shared file. The - getXXent_r function now uses f[gs]etpos to get to the correct - position. - - * nss/nss_files/files-parse.c: Indent lines for better readability. - - * malloc/obstack.c: Add new variable obstack_alloc_failed_handler - and new function print_and_abort. Remove all references to - alloc_failed field. - Add new function _obstack_memory_used. - * malloc/obstack.h (struct obstack): Remove field alloc_field. - Remove all references to alloc_failed field. - Add prototype for _obstack_memory_used. - - * posix/unistd.h: Correct typo. - -Wed Nov 13 03:09:16 1996 Ulrich Drepper - - * configure.in: Require at least autoconf-2.10.2. - -Tue Nov 12 16:58:41 1996 Thomas Bushnell, n/BSG - - * mach/mach.h (__mach_msg_destroy, mach_msg_destroy, __mach_msg): - Provide prototypes. - - * mach/msg-destroy.c (mach_msg_destroy_port, - mach_msg_destroy_memory): Use prototype syntax. - * hurd/hurdmalloc.c (more_memory, malloc_fork_prepare, - malloc_fork_parent, malloc_fork_child): Likewise. - - * stdio/stdio.h: Repair broken cpp syntax. - - * sysdeps/mach/hurd/lchown.c: New file. Guts from chown.c, except - we pass O_NOLINK on the open. - - * manual/errno.texi (EBADMSG, EIDRM, EMULTIHOP, ENODATA, ENOLINK, - ENOMSG, ENOSR, ENOSTR, EOVERFLOW, EPROTO, ETIME): Redesignate as - an XOPEN error code, move to before the "Linux only" section, and - give it a new number for the Hurd. - -Tue Nov 12 03:35:01 1996 Christian von Roques - - * malloc/obstack.h: Add new macro `obstack_make_room'. - * malloc/obstack.c: Add function implementation for - `obstack_make_room'. - -Mon Nov 11 13:54:04 1996 Ulrich Drepper - - Update to BIND-4.9.5-REL. - * resolv/Banner: Set to 4.9.5-REL. - * resolv/inet_net_pton.c: Was doing bad things to subnets and b'casts. - * resolv/res_debug.c (__fp_nquery): Could read past end of buffer. - (fix from BIND 8.1) - - * config.make.in: Add definition for top_absdir. - * Makerules (make-link): Fix path to rellns-sh script. - -Sat Nov 9 02:15:24 1996 Andreas Schwab - - * posix/unistd.h: Fix comment. - - * manual/arith.texi: Fix misspellings. Use `zero', not `null', - when talking about numbers. - * manual/users.texi: Likewise. - * manual/creature.texi: Likewise. Use @defvarx for a secondary - description header. - -Sat Nov 9 19:25:11 1996 Andreas Schwab - - * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend on - the real posix1_lim.h file so that it works in all subdirs, not - only in posix. - -Sat Nov 9 02:08:34 1996 Andreas Schwab - - * Makefile ($(includedir)/gnu/lib-names.h): Quote arguments of tr. - -Sat Nov 9 02:06:17 1996 Andreas Schwab - - * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Don't depend - on $(before-compile) which hasn't been properly setup yet at this - point. - -Sat Nov 9 02:02:48 1996 Andreas Schwab - - * sysdeps/generic/sigset.h: Don't use implicit int which will - probably require a diagnostic in the next revision of the C - standard. - * sysdeps/stub/lockfile.c: Likewise. - -Sat Nov 9 01:57:17 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/syscall.S: Correct last change. - * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. - -Mon Nov 11 02:53:14 1996 Ulrich Drepper - - * time/strftime.c: Update copyright. Small cosmetic changes. - -Sun Nov 10 23:28:16 1996 Ulrich Drepper - - * inet/getprtname_r.c: Reformat copyright. - - * nss/Makefile (databases): Add key. - (libnss_files-routines): Exclude key database. - (libnss_db-routines): Likewise. - * nss/key-lookup.c: New file. - - * nss/getXXent_r.c (last_nip): Remember last service used since - last setXXent call. - (SETFUNC): Don't force to work through whole list of services in - call to __nss_next. - Update last_nip if necessary. - (ENDFUNC): Only process endXXent function up to currently used - last service. - (GETFUNC): Update last_nip if necessary. - - * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't - make static. - - * rpc/auth_des.h: New file. - * sunrpc/Makefile (headers): Add auth_des.h. - (routines): Add publickey. - * sunrpc/publickey.c: New file. Interface to public key handling. - * sunrpc/rpc/auth_des.h: New file. - * sunrpc/rpc/netdb.h: Really include . - -Sun Nov 10 02:37:15 1996 Ulrich Drepper - - * inet/gethstent_r.c: Update copyright. - * nss/getXXbyYY_r.c: Likewise. - * nss/nsswitch.c: Likewise. - * nss/getXXent_r.c: Likewise. - * nss/nss_files/files-XXX.c: Likewise. - * nss/nss_files/files-netgroup.c: Likewise. - * nss/nss_files/files-parse.c: Likewise. - - * nss/getXXent_r.c: Change implementation. It's not necessary to - call all setXXent functions. Just find first available and - when necessary let getXXent_r call the others. - - * nss/nss_files/files-XXX.c: Make really reentrant. Now calls - of getXXent and getXXbyYY can be mixed. The cursor for traversing - the database with getXXent will be remembered. - - * stdlib/test-canon.c (cwd): Change size to PATH_MAX. - -Sat Nov 9 15:34:48 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/Dist: Add sys/mtio.h. - * sysdeps/unix/sysv/linux/sys/mtio.h: New file. - - * signal/signal.h [__USE_BSD]: Add prototype for siggetmask. - -Fri Nov 8 13:29:30 1996 Ulrich Drepper - - * ctype/ctype.h (__isascii): Don't test for seventh bit not to be - set. Instead for none beside the first seven bits to be set. - X/Open allows the argument to be an `int' value. - Reported by Alain Williams . - (toascii, isascii): Define macro also when __USE_XOPEN. - - * sysdeps/posix/fpathconf.c: Use fstatfs to compute NAME_MAX, not - PATH_MAX. - -Thu Nov 7 03:04:29 1996 Ulrich Drepper - - * nss/getXXXent_r.c (SETFUNC_NAME): Reset `nip' after loop to - NULL so that GETFUNC will see first entry. - (ENDFUNC_NAME): Likewise. - - Rewrite Netgroups implementation to avoid global data. - * inet/netgroup.h: Add definition of name_list and struct - __netgrent. - Add prototypes for internal netgroup functions. - * nss/nss_files/files-netgroup.c (_nss_files_setnetgrent): Take - extra argument and use the included data instead of global vars. - (_nss_files_endnetgrent): Likewise. - (_nss_netgroup_parseline): Change to be static and use data - included in the RESULT structure. - * inet/getnetgrent_r.c (startp): Move into setup function. - (known_groups, needed_groups): new part of the __netgrent sruct. - (freememory): Take extra argument and use included data. - (__internal_endnetgrent): Likewise. - (internal_setnetgrent): Renamed to __internal_setnetgrent_reuse - and take extra argument. - (__internal_setnetgrent): New function. Call - __internal_setnetgrent_reuse after calling free_memory. - (setnetgrent): Only call __internal_setnetgrent. - (__getnetgrent_r): Split into two functions. __getnetgrent_r - calls __internal_getnetgrent after locking. - (innetgr): Use dynamic data only. I.e., innetgr now is fully - reentrant. - -Thu Nov 7 00:15:14 1996 Ulrich Drepper - - * sysdeps/stub/setenv.c: Correct typo: unseenv -> unsetenv. - Reported by Joshua Cowan . - -Wed Nov 6 13:13:37 1996 Ulrich Drepper - - * manual/creature.texi: Document that _GNU_SOURCE is no longer the - default when no *_SOURCE macro is given. - Reported by Karsten Weiss . - * NOTES: remade from manual/creature.texi. - * manual/libc.texinfo: Add back line about GPL translation which - somehow got lost. - - * Make-dist (dist.tar): Depend on README being updated. - - * rellns-sh: Correct thinko in removing leading /. - Reported by Andreas Jaeger . - - * pwd/fgetpwent_r.c: Recognize lines containing only names starting - with `+' or `-' in parser. - * grp/fgetgrent_r.c: Likewise. - * shadow/sgetspent_r.c: Likewise. - * nss/nss_files/files-spwd.c: Don't accept entries starting with - `+' or `-'. - -Wed Nov 6 04:30:26 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias llseek for - _llseek syscall. Reported by Andy Sewell . - - * string/argz.h: Don't protect by __USE_GNU. - -Tue Nov 5 23:38:28 1996 Ulrich Drepper - - * Lots of files: Update and reformat copyright. - - * Makefile (headers): Add xopen_lim.h. - - * catgets/nl_types.h: Move __BEGIN_DECLS before definition of nl_catd. - - * grp/grp.h: Define setgrent, getgrent, endgrent, and getgrent_r - if __USE_XOPEN_EXTENDED is defined. - * pwd/pwd.h: Define setpwent, getpwent, endpwent, and getpwent_r - if __USE_XOPEN_EXTENDED is defined. - - * io/Makefile (routines): Add lchown. - * sysdeps/stub/lchown.c: New file. - - * io/sys/poll.h: Add definition of POLLWRNORM. - - * io/sys/stat.h: Declare lstat, fchmod, mknod when - __USE_XOPEN_EXTENDED is defined. - - * libio/Makefile (routines): Add obprintf. - * libio/obprintf.c: New file. - * libio/iolibio.h: Add prototypes for _IO_obstack_vprintf and - _IO_obstack_printf. - * libio/libio.h: Fix typo. - * libio/stdio.h: Declare tempnam if __USE_XOPEN_EXTENDED is defined. - Add prototypes for obstack_vprintf and obstack_printf. - - * manual/creature.texi: Describe _XOPEN_SOURCE macro. - * manual/intro.texi: Add reference to NSS chapter. - * manual/libc.texinfo: Update UPDATED. - Comment out `@printindex cp'. It works again. - * manual/memory.texi: Add description for obstack_ptr_grow, - obstack_int_grow, obstack_ptr_grow_fast, and obstack_int_grow_fast. - * manual/nss.texi: Add a few @cindex entries and change NSS_STATUS_* - index entries to @vindex. - * manual/users.texi: Correct @cindex entry for Netgroup. - - * math/mathcalls.h: Use __USE_XOPEN and __USE_XOPEN_EXTENDED to - make declarations visible for X/Open sources. - - * misc/search.h: Declare insque/remque only is __USE_SVID or - __USE_XOPEN_EXTENDED is defined. - - * misc/sys/uio.h (readv, writev): Change return value from int to - ssize_t. - - * posix/Makefile (headers): Add re_comp.h. - * posix/re_comp.h: New file. XPG interface to regex functions. - - * posix/getconf.c: Add all names from XPG4.2. - * posix/posix1_lim.h: Increase minimum values for _POSIX_CHILD_MAX - and _POSIX_OPEN_MAX to minimums from XPG4.2. - * sysdeps/generic/confname.h: Add all _SC_* names from XPG4.2. - * sysdeps/posix/sysconf.c: Handle new _SC_* values. - * sysdeps/stub/sysconf.c: Likewise. - - * posix/unistd.h: Add declaration of ualarm and lchown. Declare - usleep, fchown, fchdir, nice, getpgid, setsid, getsid, setreuid, - setregid, vfork, ttyslot, symlink, readlink, gethostid, truncate, - ftruncate, getdtablesize, brk, sbrk, lockf when - __USE_XOPEN_EXTENDED is defined. - - * posix/sys/wait.h: Declare wait3 if __USE_XOPEN_EXTENDED is defined. - - * shadow/shadow.h: Define SHADOW using _PATH_SHADOW. - * sysdeps/generic/paths.h: Define _PATH_SHADOW. - * sysdeps/unix/sysv/linux/paths.h: Likewise. - - * signal/signal.h: Declare killpg, sigstack and sigaltstack when - __USE_XOPEN_EXTENDED is defined. - - * stdio/stdio.h: Declare tempnam when __USE_XOPEN is defined. - - * stdlib/stdlib.h: Make rand48 functions available when __USE_XOPEN - is defined. - Likewise for valloc, putenv, realpath, [efg]cvt*, and getsubopt - functions. - - * string/string.h: Make memccpy, strdup, bcmp, bcopy, bzero, index, - and rindex available when __USE_XOPEN_EXTENDED is defined. - - * sysdeps/mach/getpagesize.c: De-ANSI-fy. Change return type to int. - * sysdeps/posix/getpagesize.c: Likewise. - * sysdeps/stub/getpagesize.c: Likewise. - * sysdeps/unix/getpagesize.c: Likewise. - - * time/africa: Update from tzdata1996l. - * time/asia: Likewise. - * time/australia: Likewise. - * time/europe: Likewise. - * time/northamerica: Likewise. - * time/pacificnew: Likewise. - * time/southamerica: Likewise. - * time/tzfile.h: Update from tzcode1996m. - - * time/time.h: Declare strptime if __USE_XOPEN. - Declare daylight and timezone also if __USE_XOPEN. - - * time/sys/time.h: Remove declaration of ualarm. - - * wctype/wctype.h: Just reference ISO C standard. - -Tue Nov 5 01:26:32 1996 Richard Henderson - - * crypt/Makefile: Add crypt routines to libc as well iff - $(crypt-in-libc) is set. Do this for temporary binary compatibility - on existing Linux/Alpha installations. - - * stdlib/div.c, sysdeps/generic/div.c: Move file to .../generic/. - * stdlib/ldiv.c, sysdeps/generic/ldiv.c: Likewise. - * stdlib/lldiv.c, sysdeps/generic/lldiv.c: Likewise. - * sysdeps/alpha/Makefile (divrem): Add divlu, dviqu, remlu, and - remqu. - * sysdeps/alpha/div.S: New file. - * sysdeps/alpha/ldiv.S: New file. - * sysdeps/alpha/lldiv.S: New file. - * sysdeps/alpha/divrem.h: Merge signed and unsigned division. - Take pointers from Linus and tighten the inner loops a bit. - * sysdeps/alpha/divl.S: Change defines for merged routines. - * sysdeps/alpha/divq.S: Likewise. - * sysdeps/alpha/reml.S: Likewise. - * sysdeps/alpha/remq.S: Likewise. - * sysdeps/alpha/divlu.S: Remove file. - * sysdeps/alpha/divqu.S: Likewise. - * sysdeps/alpha/remlu.S: Likewise. - * sysdeps/alpha/remqu.S: Likewise. - - * sysdeps/alpha/bsd-_setjmp.S: If PROF, call _mcount. - * sysdeps/alpha/bsd-setjmp.S: Likewise. - * sysdeps/alpha/bzero.S: Likewise. - * sysdeps/alpha/ffs.S: Likewise. - * sysdeps/alpha/htonl.S: Likewise. - * sysdeps/alpha/htons.S: Likewise. - * sysdeps/alpha/memchr.S: Likewise. - * sysdeps/alpha/memset.S: Likewise. - * sysdeps/alpha/s_copysign.S: Likewise. - * sysdeps/alpha/s_fabs.S: Likewise. - * sysdeps/alpha/setjmp.S: Likewise. - * sysdeps/alpha/stpcpy.S: Likewise. - * sysdeps/alpha/stpncpy.S: Likewise. - * sysdeps/alpha/strcat.S: Likewise. - * sysdeps/alpha/strchr.S: Likewise. - * sysdeps/alpha/strcpy.S: Likewise. - * sysdeps/alpha/strlen.S: Likewise. - * sysdeps/alpha/strncat.S: Likewise. - * sysdeps/alpha/strncpy.S: Likewise. - * sysdeps/alpha/strrchr.S: Likewise. - * sysdeps/alpha/udiv_qrnnd.S: Likewise. Fix private labels. - Convert two small jumps to use conditional moves. - * sysdeps/unix/alpha/sysdep.h: Compress all __STDC__ nastiness. - (PSEUDO): If PROF, call _mcount. - * sysdeps/unix/sysv/linux/alpha/brk.S: If PROF, call _mcount. - * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. - - * sysdeps/alpha/memcpy.S: New file. Odd layout because it should - eventually contain memmove as well. - * sysdeps/alpha/strcmp.S: New file. - * sysdeps/alpha/strncmp.S: New file. - * sysdeps/alpha/w_sqrt.S: New file. - -Tue Nov 5 18:06:06 1996 Ulrich Drepper - - * sysdeps/mach/hurd/ttyname_r.c: Use `size_t' for len variable. - -Tue Nov 5 12:09:29 1996 Ulrich Drepper - - * sysdeps/generic/sysdep.h: Define END only if not yet defined. - * sysdeps/unix/sysdep.h: Define PSEUDO_END only if not yet defined. - Reported by Thomas Bushnell, n/BSG. - -Mon Nov 4 22:46:53 1996 Ulrich Drepper - - * manual/users.texi (Netgroup Data): Remove { } around @cindex. - -Mon Nov 4 19:07:05 1996 Ulrich Drepper - - * malloc/calloc.c: Check for overflow before trying to allocate - memory. Proposed by Neil Matthews . - -Fri Nov 1 18:18:32 1996 Andreas Schwab - - * manual/llio.texi (Operating Modes): Add missing arguments to - @deftypevr in O_NONBLOCK description. - - * manual/time.texi (Time Zone Functions): Enclose type name in - braces in description of tzname. FIXME: this does not yet work - correctly in info. - -Sun Nov 3 17:29:06 1996 Ulrich Drepper - - * features.h: Add X/Open macros. - * posix/unistd.h: Define X/Open macros. - * sysdeps/generic/confname.h: Add _SC_XOPEN_XCU_VERSION, - _SC_XOPEN_UNIX, _SC_XOPEN_CRYPT, _SC_XOPEN_ENH_I18N, - _SC_XOPEN_SHM, _SC_2_CHAR_TERM, _SC_2_C_VERSION, and _SC_2_UPE. - * sysdeps/posix/sysconf.c: Handle new constants. - * sysdeps/stub/sysconf.c: Likewise. - * sysdeps/unix/sysv/linux/posix_opt.h: Add definition of _XOPEN_SHM. - - * catgets/catgets.c (catopen): Set errno to ENOMEM when - we run out of memory. - (catgets): Set errno to EBADF when catalog handle is invalid. - Set errno to ENOMSG when translation is not available. - (catclose): Set errno to EBADF when catalog handle is invalid. - - * ctype/ctype.h: Declare isascii and toascii when __USE_XOPEN. - Likewise for _toupper and _tolower. - - * manual/arith.texi: Document strtoq, strtoll, strtouq, strtoull, - strtof, and strtold. - * manual/math.texi: Document HUGE_VALf and HUGE_VALl. - * manual/stdio.h: Document ' flag for numeric formats of scanf. - * manual/users.texi: Document that cuserid shouldn't be used. - - * misc/Makefile (routines): Add dirname. - (headers): Add libgen.h. - (tests): Add tst-dirname. - * misc/dirname.c: New file. - * misc/libgen.h: New file. - * misc/tst-dirname.c: New file. - - * misc/search.h: Parameter of hcreate must be of type size_t. - * misc/hsearch.c: Likewise. - * misc/hsearch_r.c: Likewise for hcreate_r. - * misc/search.h: Parameters of insque and remque must be `void *'. - * misc/insremque.c: Likewise. - - * posix/unistd.h: Move declarations of mktemp and mkstemp to... - * stdlib/stdlib.h: ...here. - * posix/unistd.h [__USE_XOPEN]: Add prototypes for crypt, setkey, - encrypt, and swab. - - * stdio-common/printf-parse.h (struct printf_spec): Add pa_wchar - and pa_wstring. - (parse_one_spec): Remove Linux compatibility code. - Recognize %C and %S formats. - * stdio-common/printf.h: Add PA_WCHAR and PA_WSTRING. - * stdio-common/vfprintf.c: Add implementation of %C and %S format. - * stdio-common/vfscanf.c: Likewise for scanf. - - * stdlib/l64a.c: Return value for 0 must be the empty string. - * stdlib/stdlib.h: Declare reentrant function from rand48 family - only if __USE_REENTRANT. - Declare rand48 functions also if __USE_XOPEN. - - * stdlib/strtol.c: Return 0 and set errno to EINVAL when BASE is - not a legal value. - Return 0 and set errno to EINVAL when strou* sees negativ number. - * stdlib/tst-strtol.c: De-ANSI-fy. - Change expected results for test of unsigned function and negative - input. - - * string/stratcliff.c: Prevent warnings. - * string.h: Move declaration of swab to . - * string/swab.c: De-ANSI-fy. - - * sysdeps/posix/cuserid.c: Implement using getpwuid_r. - * sysdeps/posix/mkstemp.c: Include for prototype. - * sysdeps/posix/mktemp.c: Likewise. - * sysdeps/stub/mkstemp.c: Likewise. - * sysdeps/stub/mktemp.c: Likewise. - - * sysvipc/sys/ipc.h: Prototypes of ftok have to be of types `const - char *' and `int'. - * sysvipc/ftok.c: Likewise. Make sure only lower 8 bits of - PROJ_ID are used. - -Sun Nov 3 03:21:28 1996 Heiko Schroeder - - * locale/programs/ld-numeric.c (numeric_output): Compute idx[0] - correctly. - -Sat Nov 2 17:44:32 1996 Ulrich Drepper - - * sysdeps/posix/cuserid.c: Use reentrant functions. - * manual/users.texi: Tell that cuserid is marked to be withdrawn in - XPG4.2. - -Sat Nov 2 14:26:37 1996 Ulrich Drepper - - Linus said he will make sure no system call will return a value - in -1 ... -4095 as a valid result. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Correct test for error. - * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise. - -Sat Nov 2 16:54:49 1996 NIIBE Yutaka - - * sysdeps/stub/lockfile.c [!USE_IN_LIBIO]: Define weak alias for - __funlockfile, not a circular alias. - Define __IO_ftrylockfile if USE_IN_LIBIO and __ftrylockfile if not, - not vice versa. - - * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location): Make - it a weak symbol. - * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location): Likewise. - -Tue Nov 5 00:04:48 1996 Thomas Bushnell, n/BSG - - * stdio-common/vfprintf.c: Include . - -Mon Nov 4 16:57:42 1996 Thomas Bushnell, n/BSG - - * sysdeps/mach/hurd/ttyname_r.c (ttyname_r): Change prototype to - match POSIX.1c. - - * sysdeps/stub/lockfile.c [! USE_IN_LIBIO]: Second definition of - __internal_funlockfile (in terms of itself) should actually be a - definition of __funlockfile. - - * pwd/pwd.h: Get `size_t' from . - * grp/grp.h: Likewise. - * shadow/shadow.h: Likewise. - - * stdlib/atexit.c (__new_exitfn): Add missing semicolons after - calls to __libc_lock_lock and __libc_lock_unlock. - * stdlib/random.c (__srandom, __initstate, __setstate, __random): - Likewise. - - * hurd/hurdsig.c (write_corefile): Fix typo. - - * sysdeps/mach/hurd/sigwait.c: New file. - -Sat Nov 2 01:48:47 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/errnos.h: Move declaration of errno - and __errno_location to correct position. - -Thu Oct 31 22:51:25 1996 Ulrich Drepper - - * Makefile (distribute): Add rellns-sh. - * rellns-sh: New file. - * Makerules (make-link): Use rellns-sh. - * time/Makefile ($(installed-localtime-file)): Likewise. - -Thu Oct 31 11:33:01 1996 Ulrich Drepper - - * elf/Makefile ($objpfx)ldd) Substitute $(version) for @VERSION@. - (distribute): Add ldd.bash.in. - * elf/ldd.sh.in: Process --help and --version parameter. - Correct comments. - * elf/ldd.bash.in: New file. - - * stdlib/stdlib.h: Add prototype for clearenv. - * sysdeps/generic/setenv.c: Add implementation of clearenv. - (setenv): Handle __environ == NULL correctly. - * sysdeps/stub/setenv.c: Add stub definition for unsetenv and - clearenv. - - * sysdeps/generic/putenv.c: Correct layout to fit in libit. - * sysdeps/generic/setenv.c: Likewise. - * stdlib/strtol.h: Likewise. - - * time/sys/time.h: Define __need_timeval and include . - Remove definition of struct timeval. - * sysdeps/stub/timebits.h [__need_timeval]: Define struct timeval - using `time_t' for members. - * sysdeps/unix/sysv/linux/timebits.h [__need_timeval]: Likewise. - * sysdeps/unix/sysv/linux/alpha/timebits.h: New file. Same - as old Linux specific version. - -Thu Oct 31 00:01:39 1996 Ulrich Drepper - - * signal/Makefile (routines): Add sigwait. - * signal/signal.h: Add prototype for sigwait. - * sysdeps/posix/sigwait.c: New file. Implementation of sigwait - function from POSIX.1c. - * sysdeps/stub/sigwait.c: New file. Stub version of sigwait. - -Wed Oct 30 02:01:17 1996 Richard Henderson - - * sunrpc/xdr_float.c (xdr_float): Handle sizeof(float)!=sizeof(long), - but don't bother going farther than sizeof(float)==sizeof(int). - (xdr_double): Handle little-endian machines! Handle sizeof(double) - != 2*sizeof(long), though again don't bother with more than int. - -Thu Oct 29 16:09:42 1996 Craig Metz - - * sysdeps/posix/getaddrinfo.c: Use buffer limits for inet_ntop - function. - -Tue Oct 29 12:37:22 1996 Ulrich Drepper - - * Makerules: Create symbolic links for linking in $(libdir). - (make-link): Use absolute path for destination if this is not in - the same directory. - - * elf/rtld.c (dl_main): When verifying don't check the name of - the dynamic linker. - - * shlib-versions: Change entries for Hurd specific libs from - *-*-gnu* to *-*-gnu?* so that i586-pc-linux-gnu does not match - these entries. - - * assert/assert.h: Reformat copyright. - Change reference to ANSI into reference to ISO C. - * ctype/ctype.h: Likewise. - * errno.h: Likewise. - * limits.h: Likewise. - * math/math.h: Likewise. - * setjmp/setjmp.h: Likewise. - * stdio/stdio.h: Likewise. - * libio/stdio.h: Likewise. - * stdlib/stdlib.h: Likewise. - * string/string.h: Likewise. - * time/time.h: Likewise. - - * string/argz.h: Use __const in definitions. - - * elf/dlfcn.h: Use __const and __P. Reformat copyright. - * misc/err.h: Likewise. - - * wctype/wctype.h (wctrans_t): Use __const instead of const. - - * Makeconfig ($(common-objpfx)soversions.mk): Generate list of - sonames for versioned libraries. - * Makefile: Remove code to generate libc-version.h. - Generate gnu/lib-names.h with info from soversions.mk. - * features.h: Define __GLIBC__ and __GLIBC_MINOR__. - - * dirent/tst-seekdir.c: Initialize save3. - * grp/testgrp.c: Initialize my_group. - - * grp/fgetgrent_r.c: Change interface to follow POSIX.1c. - * grp/grp.h: Likewise. - * nss/getXXbyYY.c: Likewise. - * nss/getXXbyYY_r.c: Likewise. - * nss/getXXent.c: Likewise. - * nss/getXXent_r.c: Likewise. - * pwd/fgetpwent_r.c: Likewise. - * pwd/pwd.h: Likewise. - * shadow/fgetspent_r.c: Likewise. - * shadow/sgetspent.c: Likewise. - * shadow/sgetspent_r.c: Likewise. - * grp/fgetgrent.c: Adapt for change in interface of fgetgrent_r. - * pwd/fgetpwent.c: Likewise, for fgetpwent_r.c. - * shadow/fgetspent.c: Likewise, for fgetpwent_r.c. - * resolv/netdb.h: Adapt prototypes for reentrant functions to - follow POSIX.1c. - * sunrpc/rpc/netdb.h: Likewise, - * shadow/shadow.h: Likewise. - - * inet/getnetgrent_r.c: Follow change in pwd/grp function interface. - - * sysdeps/unix/getlogin_r.c: Return ERANGE when buffer is too small. - - * inet/herrno.c: Don't define __h_errno, only h_errno otherwise the - ELF aliasing creates strange situations. - * sysdeps/unix/sysv/linux/errnos.H: Define __set_errno as inline - function. - * sysdeps/unix/sysv/linux/i386/sysdep.S: Don't define __errno. - * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. - - * libio/libio.h: Don't declare _IO_flockfile and _IO_funlockfile - weak. - - * locale/programs/charmap.c: Add casts to prevent warnings. - * locale/programs/linereader.h: Likewise. - * locale/programs/ld-collate.c: Likewise. - * locale/programs/stringtrans.c: Likewise. - Change types for various variables to prevent warnings. - * locale/programs/ld-ctype.c: Likewise. - * locale/programs/linereader.h (lr_ungetc): Likewise. - * locale/programs/charset.h (struct charset): Use `unsigned int' - as type for width_default. - * posix/regex.c: Change type of `this_reg' variables. - * stdio-common/Makefile: Use -Wno-format for tstdiomisc.c. - * stdio-common/bug5.c: De-ANSI-fy. Use correct types for - variables. - * stdio-common/printf_fp.c: Initialize to_shift. - * stdio-common/test_rdwr.c: Add cast. - * stdio-common/vfprintf.c: Add casts and use correct types to - prevent warnings. - * stdio-common/vfscanf.c: Initialize str and strptr. - * sysdeps/libm-ieee754/e_jnf.c: Use correct types to prevent warnings. - * sysdeps/libm-ieee754/e_pow.c: Likewise. - * sysdeps/libm-ieee754/e_powf.c: Likewise. - * sysdeps/libm-ieee754/e_rem_pio2f.c: Likewise. - * time/test-tz.c: Likewise. - - * manual/creature.texi: Document _REENTRANT and _THREAD_SAFE. - * manual/libc.texinfo: Prevent makeinfo failure by avoiding - libc.cp index. This must be fixed. - * manual/nss.texi: Adapt for correct POSIX.1c interface of - reentrant functions. - * manual/users.texi: Document netgroup functions. - - * po/es.po: Updated. - * po/fr.po: Updated. - - * posix/fnmatch.c: Change to match libit version. - - * posix/unistd.h: Change prototype for ttyname_r to match POSIX.1c. - * sysdep/posix/ttyname_r.c: Likewise. - - * stdlib/atexit.h (__new_exitfn): Add internal locking. - * stdlib/exit.c: De-ANSI-fy. Handle new ef_us value for flavor. - * stdlib/exit.h: De-ANSI-fy. Define new ef_us value for flavor. - * stdlib/random.c (__srandom): Add internal locking. - (__initstate): Likewise. - (__setstate): Likewise. - (__random): Likewise. - -Mon Oct 28 22:28:37 1996 NIIBE Yutaka - - * sysdeps/generic/crypt-entry.c (crypt_r): Use __set_errno. - (crypt): Likewise. - * resolv/gethnamaddr.c (gethostbyname2): Likewise. - * sysdeps/generic/uname.c: Likewise. - * sysdeps/posix/rename.c: Likewise. - * sysdeps/stub/setrlimit.c: Likewise. - - * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Fix typo. - -Sun Oct 27 11:12:50 1996 Andreas Schwab - - * locale/programs/ld-collate.c (collate_order_elem): Fix format - string. - (collate_element_to): Cast field width argument to `int' for - format string. - (collate_symbol): Likewise. - (collate_order_elem): Likewise. - (collate_weight_bsymbol): Likewise. - (collate_simple_weight): Likewise. - - * locale/programs/ld-time.c (STRARR_ELEM): Fix format string. - - * locale/programs/ld-ctype.c (ctype_class_newP): Add missing - argument for format string. - (ctype_map_newP): Likewise. - (set_class_defaults): Fix format string. - - * locale/programs/localedef.c (construct_output_path): Putting an - explicit \0 into the format string does not work, use %c. - -Sat Oct 26 20:38:36 1996 Richard Henderson - - * Makerules: Install all shared libraries in $(slibdir). - - * login/Makefile: Build libutil.so in others pass after - libc.so is created. - - * misc/mntent.h: Include for _PATH_MNTTAB & _PATH_MOUNTED. - - * string/stratcliff.c: Allocate 3 pages instead of one, then use - mprotect so that we know that the adjacent pages are inaccessible. - - * resource/sys/resource.h: Move all structures and enums to ... - * sysdeps/generic/resourcebits.h: ... here ... - * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: ... and here. - * sysdeps/unix/sysv/linux/alpha/resourcebits.h: Remove. - * sysdeps/unix/sysv/linux/i386/resourcebits.h: Remove. - * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Remove. - * sysdeps/unix/sysv/linux/mips/resourcebits.h: Remove. - * sysdeps/unix/sysv/linux/resourcebits.h: New file. Use kernel - header for RLIMIT_* definitions. The members of struct rlimit - are longs. - - -Thu Oct 24 17:43:34 1996 Andreas Schwab - - * MakeTAGS (sysdep-dirs): Fix typo. - -Thu Oct 24 17:32:57 1996 Thomas Bushnell, n/BSG - - * hurd/hurdsig.c (write_corefile): If we can't create the core - file, still call crash_dump_task with a null FILE arg. Maybe it - won't actually need the file. - -Wed Oct 23 03:45:22 1996 Ulrich Drepper - - * Makefile (headers): Don't mention libc-version.h. - (install-others): ...but here. - -Tue Oct 22 21:38:21 1996 Ulrich Drepper - - * version.h: Bump version number to 1.97. - - * features.h: Undo change of Sun Oct 20 22:19:58 1996. - Include libc-version.h. - * features.h.in: Removed. - * Makefile: Change rules to generate libc-version.h instead of - features.h. - - * malloc/free.c: Add cast to prevent warning. - * malloc/malloc-walk.c: Likewise. - * malloc/ralloc.c: Likewise. - * malloc/realloc.c: Likewise. - - * grp/fgetgrent_r.c: Accept empty numeric field if name start with + - or -. - * pwd/fgetpwent_r.c: Likewise. - * nss/nss_files/files-grp.c: Don't accept entries with names starting - with + or - in lookup functions. - * nss/nss_files/files-pwd.c: Likewise. - - * Makerules: Call autolock.sh using $(SHELL). - -Mon Oct 21 22:52:16 1996 NIIBE Yutaka - - * elf/dl-minimal.c: Don't define `dgettext' replacement but - `dcgettext'. When optimizing the macros in define - `dgettext' as a macro and so this function will never be called. - -Mon Oct 21 15:41:59 1996 Ulrich Drepper - - * sysdeps/i386/sysdep.h: Define END to use .size when available. - (PSEUDO_END): Use END. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PSEUDO_END to - define SYSCALL_ERROR_HANDLER before using END. - (SYSCALL_ERROR_HANDLER): Don't use .size directive. - * sysdeps/unix/sysv/linux/clone.S: Don't use SYSCALL_ERROR_HANDLER - and .size directive but PSEUDO_END. - * sysdeps/unix/sysv/linux/mmap.S: Likewise. - * sysdeps/unix/sysv/linux/socket.S: Likewise. - * sysdeps/unix/sysv/linux/syscall.S: Likewise. - * sysdeps/unix/sysv/linux/sysdep.S (__errno_location): Use END. - * sysdeps/unix/i386/sysdep.S (__syscall_error): Likewise. - * sysdeps/i386/__longjmp.S: Use END instead of PSEUDO_END. - * sysdeps/i386/bsd-_setjmp.S: Likewise. - * sysdeps/i386/bsd-setjmp.S: Likewise. - * sysdeps/i386/memchr.S: Likewise. - * sysdeps/i386/memcmp.S: Likewise. - * sysdeps/i386/setjmp.S: Likewise. - * sysdeps/i386/stpcpy.S: Likewise. - * sysdeps/i386/stpncpy.S: Likewise. - * sysdeps/i386/strchr.S: Likewise. - * sysdeps/i386/strcspn.S: Likewise. - * sysdeps/i386/strpbrk.S: Likewise. - * sysdeps/i386/strrchr.S: Likewise. - * sysdeps/i386/strspn.S: Likewise. - * sysdeps/i386/strtok.S: Likewise. - * sysdeps/i386/i486/strcat.S: Likewise. - * sysdeps/i386/i486/strlen.S: Likewise. - * sysdeps/i386/i586/memset.S: Likewise. - * sysdeps/i386/i586/strchr.S: Likewise. - * sysdeps/i386/i586/strlen.S: Likewise. - - * sysdeps/i386/strlen.c: De-ANSI-fy. - - * sysdeps/generic/_strerror.c: Undo change of Mon Oct 21 01:32:36 1996. - Define dgettext if not defined to use dcgettext. - * sysdeps/mach/_strerror.c: Likewise. - - * sysdeps/unix/sysv/i386/time.S: Add PSEUDO_END to get - __syscall_error defined.. - -Sat Oct 19 12:27:50 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/mmap.S: Fix braino: CALL_MCOUNT is - already included in the ENTRY macro. Remove SYSCALL_ERROR_HANDLER - now provided by PSEUDO_END. - * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. Use JUMPTARGET. - - * sysdeps/generic/sysdep.h (END): Provide default empty - definition. - * sysdeps/unix/sysv/linux/m68k/sysdep.h (END): Redefine to use - size directive. - (PSEUDO): Don't include SYSCALL_ERROR_HANDLER. - (PSEUDO_END): Include it here instead. - (SYSCALL_ERROR_HANDLER): Remove type directive. - * sysdeps/m68k/bsd-_setjmp.S: Use END, not PSEUDO_END. - * sysdeps/m68k/bsd-setjmp.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. - (__syscall_error): Can't use ENTRY macro. - -Sat Oct 19 12:13:24 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/syscalls.list (getresuid, setresuid): - Set caller to EXTRA. - -Mon Oct 21 01:32:36 1996 Ulrich Drepper - - * elf/rtld.c (dl_main): Move initialization of `_dl_starting_up' - to beginning of function. So libc functions can use this flag. - * sysdeps/generic/_strerror.c: Don't use dgettext for message - translation while `_dl_starting_up' is nonzero. - - * elf/dl-deps.c (_dl_map_object_deps): Add new parameter - TRACE_MODE. - Pass parameter value to _dl_map_object. - * elf/dl-load (_dl_map_object): Add new parameter TRACE_MODE. - If TRACE_MODE is nonzero don#t signal error when shared lib - is not found. Instead create fake entry for link map. - * dl-open.c (dl-open): Pass 0 for new argument to _dl_map_object. - * dl-runtime.c (_dl_object_relocation_scope): Pass 0 for new - argument to _dl_map_object_deps. - * elf/link.h: Add new parameter TRACE_MODE for prototypes of - _dl_map_object and _dl_map_object_deps. - * elf/rtld.c (dl_main): Pass 0 for new argument to _dl_map_object - and _dl_map_object_deps. - When mode == trace test for l_opencount == 0 before printing - link information since this means the lib is not found. - -Sun Oct 20 22:19:58 1996 Ulrich Drepper - - * rpm/template: Add INSTALL to %doc line to follow copyright - restrictions which demand the distribution of the copyright - messages in INSTALL even for binary distributions. - - * features.h: Rename to... - * features.h.in: ...this. Change value of __GNU_LIBRARY__ to 2 - (for major version numberof package) and add __GNU_LIBRARY_MINOR__ - and __GNU_LIBRARY_INTERFACE__. - * Makefile ($(objpfx)features.h): New rule to generate features.h - from template features.h.in. - - * sysdeps/unix/sysv/linux/getsysstats.c: Include . - -Sun Oct 20 00:00:13 1996 Richard Henderson - - * locale/programs/linereader.c (lr_open): Cast away const before free. - (lr_close): Likewise. - - * misc/mntent.h: Move _PATH_MNTTAB & _PATH_MOUNTED to paths.h. - * misc/paths.h: Move to ... - * sysdeps/generic/paths.h: ... here. - * paths.h: Remove. - * sysdeps/unix/sysv/linux/paths.h: New file. Correct _PATH_STDPATH, - _PATH_MAILDIR, _PATH_MOUNTED, _PATH_UNIX to comply with the fsstd. - - * nss/nss_db/db-netgrp.h: Include . - - * stdio-common/psignal.c: De-ansidecl-ify. Allow NULL entries in - _sys_siglist, which result in the "Unknown signal" message. - * string/strsignal.c: Likewise. - * sysdeps/generic/Makefile [stdio-common]: If $(inhibit-siglist), - don't auto-generate siglist.c. - * sysdeps/unix/sysv/linux/Makefile [stdio-common]: Set inhibit-siglist. - * sysdeps/unix/sysv/linux/siglist.c: New file. Not needing to - autogenerate makes bootstrapping and cross-compiling much easier. - * sysdeps/unix/sysv/linux/siglist.h: New file. - - * stdlib/longlong.h: Prototype __udiv_qrnnd. - - * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_headers): Remove - sys/io.h. It is already added in .../linux/Makefile. - - * sysdeps/unix/sysv/linux/alpha/sigaction.h: New file. - * sysdeps/unix/sysv/linux/alpha/signum.h: New file. - * sysdeps/unix/sysv/linux/alpha/statbuf.h: New file. - -Sun Oct 20 17:17:12 1996 Ulrich Drepper - - Add implementation of POSIX.1g function getaddrinfo. - * posix/Makefile (routines): Add getaddrinfo. - * sysdeps/posix/getaddrinfo.c.: New file. Add implementation by - Craig Metz. - * sysdeps/stub/getaddrinfo.c: New file. Stub implementation. - * resolv/netdb.h [__USE_POSIX]: Add getaddrinfo prototypes and - related constants and structures. - -Sun Oct 20 13:02:34 1996 Ulrich Drepper - - * sysdeps/stub/lockfile.c: Rename functions to __internal_*. - Make all old names weak alises so that they can be replaced - by libpthread. - - * stdio-common/vfprintf.c: Only declare __flockfile and __funlockfile - for !USE_IN_LIBIO. - [USE_IN_LIBIO]: Call _IO_flockfile and _IO_funlockfile instead of - __flockfile and __funlockfile. - Reported by NIIBE Yutaka. - - * crypt/md5.c: Change form of copyright message according to GNITS - rules. - Add warning for requirement on RESBUF parameter for `md5_finish_ctx' - and `md5_read_ctx' function. - * crypt/md5.h: Likewise. - - * grp/testgrp.c: Don't use perror for error cases since getgr* and - getpw* functions do not return usable error codes. - -Sun Oct 19 23:05:32 1996 Jim Meyering - - * crypt/md5.c (md5_process_bytes): Used casting for pointer - arithmetic. - -Sun Oct 20 03:53:23 1996 Ulrich Drepper - - * sunrpc/Makefile (others): Remove portmap here, too. - -Sat Oct 19 17:42:24 1996 Ulrich Drepper - - * intl/locale.alias: Language for entry `czech' is `cs'. - -Fri Oct 17 13:20:35 1996 Thorsten Kukuk - - * sunrpc/etc.rpc: Update from ti-rpcsvc 2.3. - -Fri Oct 18 22:56:45 1996 Ulrich Drepper - - * sunrpc/Makefile (install-sbin): Remove portmap. This version is - buggy and more competent people work on a usable version which is - distributed separately. - * sunrpc/portmap.c: Removed. - Suggested by Thorsten Kukuk. - -Fri Oct 18 12:17:09 1996 Enrique Melero - - * sysdeps/libm-ieee754/s_finitel.c: Change function name to - `finitel'. - -Fri Oct 18 00:01:10 1996 Ulrich Drepper - - * string/Makefile (tests): Add stratcliff. - * string/stratcliff.c: New file. Test for string function at - the edge of the usable memory. - -Thu Oct 17 22:10:19 1996 Ulrich Drepper - - * Makerules ($(libdir)/libc.so): Fix typo. - - * elf/ldd.sh.in: Test whether given file really exist and give - better message if it is not available. - -Thu Oct 17 04:25:38 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sys/shm_buf.h: Add definition for - SHM_R and SHM_W. - -Thu Oct 17 01:55:34 1996 Ulrich Drepper - - * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Write - output to $@T and move to $@ later since the new rpcgen will not - overwrite existing files. - - * po/Makefile (libc.pot): Fix typo. - -Sun Oct 13 20:52:07 1996 Thorsten Kukuk - - Update rpcgen program to TI-rpc code. - * sunrpc/Makefile (rpcgen-objs): Add rpc_tblout.o and rpc_sample.o. - (distribute): Add proto.h. - * sunrpc/proto.h: New file. Prototypes for all the RPC functions. - * sunrpc/rpc_clntout.c: Change to allow generation of ISO C code. - * sunrpc/rpc_cout.c: Likewise. - * sunrpc/rpc_hout.c: Likewise. - * sunrpc/rpc_main.c: Likewise. - * sunrpc/rpc_parse.c: Likewise. - * sunrpc/rpc_parse.h: Likewise. - * sunrpc/rpc_scan.c: Likewise. - * sunrpc/rpc_scan.h: Likewise. - * sunrpc/rpc_svcout.c: Likewise. - * sunrpc/rpc_util.c: Likewise. - * sunrpc/rpc_util.h: Likewise. - - * sunrpc/rpc_tblout.c: New file. - * sunrpc/rpc_sample.c: Likewise. - -Thu Oct 17 00:26:20 1996 NIIBE Yutaka - - * sysdeps/unix/opendir.c: Add semicolon for consistency. - -Wed Oct 16 12:26:53 1996 Sven Verdoolaege - - * locale/programs/localedef.c (main): Test with -1 to find out - whether read failed. - -Wed Oct 16 14:54:59 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/clone.S: Use JUMPTARGET and - PSEUDO_END macro. - -Tue Oct 15 21:27:42 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/sigcontext.h: Removed. - -Tue Oct 15 15:52:29 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/clone.S: Add CALL_MCOUNT. - * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location): - Likewise. - * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise. - Correct generation of system call. - -Tue Oct 15 15:13:16 1996 Andreas Schwab - - * Makerules (sysd-Makefile): Fix command so that it works in the - subdirectories. - (BUILD_CFLAGS): Change back using $(..) instead of - $(common-objpfx), the latter fails in the toplevel directory when - $(objdir) is relative. - (common-objdir-compile): Run compiler in $(objdir). - * sysdeps/posix/Makefile (mk-stdiolim): Likewise. - -Tue Oct 15 23:39:48 1996 Ulrich Drepper - - * string/string.h [__USE_SVID]: Add prototype for swab. - * time/sys/time.h [__USE_BSD]: Add prototype for ualarm. - Reported by Andreas Jaeger. - - The available nlist implementation is not generally usable. - Especially on the currently supported ELF systems the nlist - function comes with the libelf. - * misc/Makefile (headers): Remove nlist.h. - (routines): Remove nlist. - - * Makefile ($(objpfx)version-info.h): Include information about - system the libc is built on in version-info.h file. - - * po/Makefile (distribute): Add header.pot. - -Tue Oct 15 16:34:15 1996 Andreas Jaeger - - * sysdeps/unix/sysv/linux/sleep.c: Include file with prototype. - * sysdeps/unix/sysv/linux/reboot.c: Likewise. - * misc/error.c: Likewise. - -Tue Oct 15 22:41:27 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/syscalls.list: Add {get,set}resuid. - -Tue Oct 15 08:06:02 1996 Andreas Jaeger - - * crypt/Makefile (rpath-link): Extend search path to current directory. - -Fri Oct 11 09:18:06 1996 Sven Verdoolaege - - * sysdeps/i386/i586/strlen.S: Correct handling of prolog for - aligning pointer. - -Tue Oct 15 02:13:21 1996 Ulrich Drepper - - * stdio-common/vfprintf.c: Don't declare __flockfile as weak. - - * crypt/md5-crypt.c (md5_crypt_r): Add cast to prevent warning. - -Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG - - * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and - O_SHLOCK. - -Sun Oct 13 19:16:10 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/sysdep.h (POUND): Macro removed, - replaced by `&'. - (PSEUDO_END): Provide definition to use .size directive. - (PSEUDO): Don't interpret negative return values less than -128 as - syscall error. - * sysdeps/unix/sysv/linux/m68k/syscall.S (syscall): Likewise. - - * sysdeps/m68k/bsd-_setjmp.S: Use PSEUDO_END macro to provide - .size directive. - * sysdeps/m68k/bsd-setjmp.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use PSEUDO_END instead of - explicit .size directive. - -Sun Oct 13 22:52:56 1996 Ulrich Drepper - - * shlib-versions: Add version number/name for ld.so. - * Makeconfig: Move definition of rtld-installed-name after - inclusion of soversions.mk. - Don't add . before version number from shlib-versions file when - when name does not start with digit. This is needed for ld.so. - -Sat Oct 12 20:31:58 1996 Richard Henderson - - * libio/iogets.c: Warn when gets is used. - * stdio/gets.c: Strengthen the warning. - -Sat Oct 12 23:10:43 1996 Ulrich Drepper - - * libio/Makefile [_LIBC_REENTRANT] (routines): Add peekc. - * libio/libio.h: Add prototypes for _IO_getc, _IO_putc, _IO_feof, - _IO_ferror, _IO_peekc_locked, and _IO_ftrylockfile. - Remove prototypes for _IO_getc_locked and _IO_putc_locked. - [_IO_MTSAFE_IO]: Add weak aliases for _IO_flockfile and - _IO_funlockfile. - [! _IO_MTSAFE_IO]: Define _IO_ftrylockfile as empty. - Define _IO_getc, _IO_peekc, _IO_putc, _IO_feof, _IO_ferror to - appropriate values according to __USE_REENTRANT. - * libio/stdio.h: Add prototype for ftrylockfile. - [!_LIBC]: Define getc_locked, getchar_locked, putchar_locked, - getc, getchar, putc, and putchar using _IO_* names. - * libio/feof.c: Rename to _IO_feof and make feof weak alias. - * libio/ferror.c: Rename to _IO_ferror and make ferror weak alias. - * libio/getc.c: Rename to _IO_getc and make getc weak alias. - * libio/putc.c: Rename to _IO_putc and make putc weak alias. - * libio/putc_u.c: Don't define alias _IO_putc_unlocked. - * libio/peekc.c: New file. - - * stdio-common/vfprintf.c (vfprintf): Unconditionally call - __flockfile. - - * sysdeps/stub/locfile.c [USE_IN_LIBIO]: Also define _IO_* names. - - * crypt/Makefile (tests): Add md5test and md5c-test. - * crypt/md5-crypt.c: Correct various error. Now md5_process_bytes - is called, the buffer limit is honoured and a loop in a inner - loop is corrected. - * crypt/md5.h (struct md5_ctx): Add new fields. - Add prototypes for new functions. - * crypt/md5.c (md5_init_ctx): Initialize new fields. - (md5_finish_ctx): New function. Like md5_read_ctx but before - perform correct finalization. - (md5_process_bytes): New function. Similar to md5_proces_block, - but does not require input size to be multiple of 64. - (md5_stream): Rewrite using md5_process_bytes and md5_finish_ctx. - (md5_buffer): Likewise. - (md5_process_block): Count number of bytes. - * crypt/md5test.c: New file. Test program for MD5 functions. - * crypt/md5c-test.c: New file: Test program for MD5 crypt - function. - - * po/fr.po: Update. - - * time/strptime.c: Recognize %s, %u, %g, and %G format. - - * posix/getopt.c: Add some more casts and initializations to - prevent warnings. - -Sat Oct 12 16:15:29 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/speed.c (speeds): Removed. We provide - an extra function to provide this functionality. - (cfgetospeed): Simply return masked value. - (cfsetospeed): Don't use speeds array and so we can simply test - the value of SPEED for illegal values. - * termios/cfsetspeed.c: Rewrite. We convert here between the - real values and the B* constants. - Changes suggested by Uwe Ohse . - -Fri Oct 11 21:45:34 1996 Andreas Jaeger - - * locale/programs/xstrdup.c: Define prototypes. - * locale/programs/xmalloc.c: Likewise. - - * stdio-common/xbug.c (main): Change definition to avoid warning. - -Fri Oct 11 23:36:31 1996 Miles Bader - - * db/hash/hash.c (__hash_open): Correctly test for a read-write db. - -Fri Oct 11 19:13:34 1996 Ulrich Drepper - - * locale/Makefile (CPPFLAGS): Set CHARMAP_PATH to - "$(i18ndir)/charmaps". - -Fri Oct 11 22:12:41 1996 NIIBE Yutaka - - * sysdeps/unix/sysv/linux/sys/procfs.h: Include - to get definition of FPU description struct. - - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (subdir_headers): - Add net/if.h, net/if_ppp.h, net/ppp-comp.h, net/ppp_defs.h, - net/if_arp.h, and net/route.h. - * sysdeps/unix/sysv/linux/net/if_arp.h: New file. - * sysdeps/unix/sysv/linux/net/route.h: New file. - -Fri Oct 11 14:49:13 1996 Ulrich Drepper - - * sysdeps/stub/readdir_r.c: New file. We need a stub version. - * sysdeps/stub/e_acosl.c: Likewise. - * sysdeps/stub/e_asinl.c: Likewise. - * sysdeps/stub/e_atan2l.c: Likewise. - * sysdeps/stub/e_expl.c: Likewise. - * sysdeps/stub/e_fmodl.c: Likewise. - * sysdeps/stub/e_log10l.c: Likewise. - * sysdeps/stub/e_logl.c: Likewise. - * sysdeps/stub/e_sqrtl.c: Likewise. - * sysdeps/stub/s_atanl.c: Likewise. - * sysdeps/stub/s_log1pl.c: Likewise. - - * Makefile (distribute): Add nsswitch.h and netgroup.h. - - * nss/Makefile (generated): db-netgrp.c is not generated. - - * sysdeps/alpha/Dist: Add stxcpy.S and stxncpy.S. - - * Make-dist (+out): Add $(dont_distribute). - -Fri Oct 11 00:27:18 1996 Andreas Schwab - - * stdio-common/Makefile (routines): Add tmpnam_r. - -Fri Oct 11 05:32:51 1996 Ulrich Drepper - - * version.h: Bump version to 1.96. - -Fri Oct 11 18:13:47 1996 Andreas Jaeger - - * stdio-common/tst-printf.c: Some more cleanups. - -Fri Oct 11 02:48:02 1996 Ulrich Drepper - - * resolv/arpa/nameser.h: Update from bind-4.9.5-T6B. - * resolv/resolv.h: Likewise. - * resolv/gethnamaddr.c: Likewise. - * resolv/res_comp.c: Likewise. - * resolv/res_debug.c: Likewise. - * resolv/res_init.c: Likewise. - * resolv/res_send.c: Likewise. - * resolv/Banner: Update version number. - - * nss/nss_dns/dns-host.c: Update according to change in - resolv/gethnamaddr.c. - -Fri Oct 10 20:52:28 1996 Ralph Loader - - * crypt/md5.c (md5_stream): When reading the block in several - pieces append to instead of replace previously read data. - -Thu Oct 10 15:53:17 1996 Richard Henderson - - * sysdeps/alpha/stxcpy.S ($unaligned): In single word copy, correct - last-byte-written bit for source word misalignment. - * sysdeps/alpha/strchr.c: Removed. There is now an assembler - version. - -Thu Oct 10 17:17:23 1996 Ulrich Drepper - - * sunrpc/Makefile (rpcsvc): Remove yp.x. The corrected version - comes with glibc-nis. - * sunrpc/rpcsvc/yp.x: Removed. - - * nss/nss_files/files-netgr.c (_nss_netgroup_parseline): Test - for *CURSOR to be NULL and dump a core if yes. - -Thu Oct 9 20:09:53 1996 Matthew Jacob - - * sysdeps/unix/sysv/linux/alpha/brk.S: Define _ERRNO_H before - including to get error numbers. - -Thu Oct 10 14:00:01 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/sigcontext.h: Moved file... - * sysdeps/unix/sysv/linux/sigcontext.h: ...to here. So the - Alpha people find a correct file. - * sysdeps/libm-ieee754/w_cabs.c: We cannot make __cabsl simply - an alias of __cabs since the structures have different names. - * sysdeps/libm-ieee754/w_log10.c: Fix typo in weak_alias. - Reported by Matthew Jacob . - -Wed Oct 9 00:24:52 1996 Jim Meyering - - * time/strftime.c: Allow old K&R compilers compile this file. - -Wed Oct 9 12:03:56 1996 Ulrich Drepper - - * posix/execlp.c: Add first argument parameter to be compliant - with POSIX. Rearrange body to start vararg counter after - this new argument. - -Wed Oct 9 04:34:50 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sys/procfs.h: Rewrite. We cannot use - simply a wrapper around the file since the - kernel header is not clean enough. We provide the definitions - in this file instead. - -Wed Oct 9 01:43:18 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Avoid - get?id calls by using __libc_enable_secure. - -Wed Oct 9 00:30:33 1996 Ulrich Drepper - - * inet/getnetgrent_r.c: Correct netgroup implementation. A - specification of a netgroup can also name another netgroup. - * nss/nss_files/files-netgrp.c: Likewise. - * inet/netgroup.h: Add fields to hold additional information. - -Tue Oct 8 21:51:14 1996 Arnold D. Robbins - - * posix/getopt.c: Implement POSIX -W option handling. When the - option string contains "W;" -W foo is handled like --foo. - -Tue Oct 8 12:27:26 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/clone.S: Define _ERRNO_H before - inclusing so we really get error symbols defined. - * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. - - * sunrpc/auth_unix.c (authunix_create_default): Don't use fixed - size array for getgroups call. Instead get maximal number via - sysconf. But discard list to NGRPS elements before calling XDR - function since Sun's code cannot handle longer lists. - Based on a patch by Thorsten Kukuk . - - * sysdeps/stub/e_j0l.c: Define y0l as well. - * sysdeps/stub/e_j1l.c: Define y1l as well. - * sysdeps/stub/e_jnl.c: Define ynl as well. - - * posix/unistd.h: Correct prototype for execlp. - - * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_NO_TRUNC. - -Mon Oct 7 22:18:03 1996 Andreas Schwab - - * Makeconfig (sysdep-library-path): New variable. - (built-program-cmd): Use it here to properly build a colon - separated library path. - -Mon Oct 7 22:11:55 1996 Andreas Schwab - - * crypt/md5-crypt.c (md5_crypt_r): Add missing parens around & - within comparison. Fix comments. - (md5_crypt): Fix comment. - -Tue Oct 8 05:10:49 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/errnos.h: Only include - when _ERRNO_H is defined. - [!_ERRNO_H && __need_Emath]: Define value for EDOM and ERANGE. - Should there ever be a Linux port where the numeric values are - not 33 and 34 this file must change. - -Mon Oct 7 13:54:04 1996 Ulrich Drepper - - * libio/iofgets.c (_IO_fgets): Use _IO_flockfile instead of - __flockfile. - -Mon Oct 7 11:01:45 1996 Andreas Jaeger - - * string/tst-strlen.c (main): Provide prototype. - * malloc/mallocbug.c: Likewise. - * io/test-utime.c: Likewise. - - * sysdeps/generic/crypt-entry.c: Correct typo. - -Mon Oct 7 13:42:20 1996 Ulrich Drepper - - * elf/dl-open.c (_dl_open): Check against _dl_sysdep_start to - test for libc.a. Checking _DYNAMIC is of no worth here. - Suggested by Andreas Schwab . - - * nss/nss_files/files-parse.c: Define LOOKUP_NAME even if - EXTERN_PARSER is defined. - -Sat Oct 5 17:05:36 1996 Andreas Jaeger - - * Rules (dep-dummy-lib): Correct prototype for __dummy__. - - * crypt/md5-crypt.c: Fix typos in comments. - - * gmon/gmon.c: Provide prototypes. - * db/makedb.c: Likewise. - * locale/programs/xmalloc.c: Likewise. - * stdio-common/bug11.c (main): Likewise. - * stdio-common/bug7.c (main): Likewise. - * stdio-common/bug8.c (main): Likewise. - * stdio-common/bug9.c (main): Likewise. - * stdio-common/scanf1.c (main): Likewise. - * stdio-common/scanf2.c (main): Likewise. - * stdio-common/scanf5.c (main): Likewise. - * stdio-common/scanf6.c (main): Likewise. - * stdio-common/scanf7.c (main): Likewise. - * stdio-common/scanf8.c (main): Likewise. - * stdio-common/temptest.c (main): Likewise. - * stdio-common/test-fwrite.c (main): Likewise. - * stdio-common/tst-printf.c: Likewise. - * stdio-common/tstdiomisc.c: Likewise. - * stdio-common/tstgetln.c (main): Likewise. - * stdlib/testmb.c (main): Likewise. - - * stdio-common/scanf4.c (main): Correct prototype, remove unused - variable n. - - * stdio-common/scanf3.c (main): Correct prototype, change - declaration of s to reduce warnings. - * stdio-common/bug10.c (main): Likewise. - - * stdio-common/tfformat.c: Provide prototype, remove unused - reference to dump_stats, add braces in sprint_doubles. - * stdio-common/tiformat.c: Likewise. - - * stdio-common/test_rdwr.c (main): Parameter `where' is long in - printf call. - -Mon Oct 7 14:04:26 1996 NIIBE Yutaka - - * sysdeps/unix/sysv/linux/sys/soundcard.h: Fix typo. - - * shadow/putspent.c: Don't write colon after flag field. - - * sysdeps/unix/sysv/linux/net/if_ppp.h: New file. Wrapper around - kernel header. - * sysdeps/unix/sysv/linux/net/ppp-comp.h: Likewise. - * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise. - * sysdeps/unix/sysv/linux/Dist: Mention new files. - -Mon Oct 7 00:58:19 1996 Ulrich Drepper - - * sysdeps/i386/i586/strchr.S: Correct handling of first bytes to - get pointer aligned. Reported by Matthias Urlichs . - - * sysdeps/posix/euidaccess.c [_LIBC]: Avoid calling get?id functions - by using __libc_enable_secure variable. - -Tue Oct 8 13:58:31 1996 Thomas Bushnell, n/BSG - - * hurd/ports-get.c (_hurd_ports_get): If the requested port is - null, don't attempt mach_port_mod_refs. - -Mon Oct 7 14:51:52 1996 Thomas Bushnell, n/BSG - - * sysdeps/mach/hurd/pipestream.c: New file to avoid use of - sysdeps/unix/pipestream.c. - - * sysdeps/mach/hurd/readdir_r.c: New file, guts copied entirely - from sysdeps/mach/hurd/readdir.c. - - * stdio/freopen.c: Complete de-ansideclification. - * stdio/fgets.c (fgets): Likewise. - * stdio/getdelim.c (__getdelim): Likewise. - * sysdeps/posix/pipestream.c (readdecl, writedecl, seekdecl, - popen): - Likewise. - * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise. - * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise. - - * sysdeps/mach/hurd/wait4.c (__wait4): Allow a null value for - STAT_LOC without error. - -Sun Oct 6 02:05:52 1996 Ulrich Drepper - - * posix/getopt.c: Add casts to prevent warnings. - * posix/regex.c: Likewise. - - * math/Makefile (long-m-routines, long-m-yes): Define to correct - values to make `long double' functions available. - (distribute): Add $(long-m-yes:=.c). - - * sysdeps/libm-i387/s_copysignl.S: Correct loading of return value. - Use long double instruction. - - * sysdeps/libm-ieee754/e_atanhl.c (huge): Correct constant. - * sysdeps/libm-ieee754/e_asinhl.c: Likewise. - * sysdeps/libm-ieee754/s_tanhl.c: Likewise. - - * sysdeps/libm-ieee754/e_coshl.c: New file. - - * sysdeps/libm-ieee754/s_asinh.c [!NO_LONG_DOUBLE]: Define names - for `long double' version as alias. - * sysdeps/libm-ieee754/s_atan.c: Likewise. - * sysdeps/libm-ieee754/s_cbrt.c: Likewise. - * sysdeps/libm-ieee754/s_ceil.c: Likewise. - * sysdeps/libm-ieee754/s_copysign.c: Likewise. - * sysdeps/libm-ieee754/s_cos.c: Likewise. - * sysdeps/libm-ieee754/s_erf.c: Likewise. - * sysdeps/libm-ieee754/s_expm1.c: Likewise. - * sysdeps/libm-ieee754/s_fabs.c: Likewise. - * sysdeps/libm-ieee754/s_finite.c: Likewise. - * sysdeps/libm-ieee754/s_floor.c: Likewise. - * sysdeps/libm-ieee754/s_frexp.c: Likewise. - * sysdeps/libm-ieee754/s_ilogb.c: Likewise. - * sysdeps/libm-ieee754/s_ldexp.c: Likewise. - * sysdeps/libm-ieee754/s_log1p.c: Likewise. - * sysdeps/libm-ieee754/s_logb.c: Likewise. - * sysdeps/libm-ieee754/s_modf.c: Likewise. - * sysdeps/libm-ieee754/s_nextafter.c: Likewise. - * sysdeps/libm-ieee754/s_rint.c: Likewise. - * sysdeps/libm-ieee754/s_scalbn.c: Likewise. - * sysdeps/libm-ieee754/s_significand.c: Likewise. - * sysdeps/libm-ieee754/s_sin.c: Likewise. - * sysdeps/libm-ieee754/s_tan.c: Likewise. - * sysdeps/libm-ieee754/s_tanh.c: Likewise. - * sysdeps/libm-ieee754/w_acos.c: Likewise. - * sysdeps/libm-ieee754/w_acosh.c: Likewise. - * sysdeps/libm-ieee754/w_sin.c: Likewise. - * sysdeps/libm-ieee754/w_atan2.c: Likewise. - * sysdeps/libm-ieee754/w_atanh.c: Likewise. - * sysdeps/libm-ieee754/w_cabs.c: Likewise. - * sysdeps/libm-ieee754/w_cosh.c: Likewise. - * sysdeps/libm-ieee754/w_drem.c: Likewise. - * sysdeps/libm-ieee754/w_exp.c: Likewise. - * sysdeps/libm-ieee754/w_fmod.c: Likewise. - * sysdeps/libm-ieee754/w_gamma.c: Likewise. - * sysdeps/libm-ieee754/w_gamma_r.c: Likewise. - * sysdeps/libm-ieee754/w_hypot.c: Likewise. - * sysdeps/libm-ieee754/w_j0.c: Likewise. - * sysdeps/libm-ieee754/w_j1.c: Likewise. - * sysdeps/libm-ieee754/w_jn.c: Likewise. - * sysdeps/libm-ieee754/w_lgamma.c: Likewise. - * sysdeps/libm-ieee754/w_lgamma_r.c: Likewise. - * sysdeps/libm-ieee754/w_log.c: Likewise. - * sysdeps/libm-ieee754/w_log10.c: Likewise. - * sysdeps/libm-ieee754/w_pow.c: Likewise. - * sysdeps/libm-ieee754/w_remainder.c: Likewise. - * sysdeps/libm-ieee754/w_scalb.c: Likewise. - * sysdeps/libm-ieee754/w_sinh.c: Likewise. - * sysdeps/libm-ieee754/w_sqrt.c: Likewise. - - Stub files for missing long double math functions. - * sysdeps/stub/e_acoshl.c: New file. - * sysdeps/stub/e_hypotl.c: New file. - * sysdeps/stub/e_j0l.c: New file. - * sysdeps/stub/e_j1l.c: New file. - * sysdeps/stub/e_jnl.c: New file. - * sysdeps/stub/e_lgammal_r.c: New file. - * sysdeps/stub/e_powl.c: New file. - * sysdeps/stub/e_rem_pio2l.c: New file. - * sysdeps/stub/e_sinhl.c: New file. - * sysdeps/stub/k_cosl.c: New file. - * sysdeps/stub/k_rem_pio2l.c: New file. - * sysdeps/stub/k_sinl.c: New file. - * sysdeps/stub/k_tanl.c: New file. - * sysdeps/stub/s_erfl.c: New file. - * sysdeps/stub/s_expm1l.c: New file. - - * sysdeps/i386/__longjmp.S: Use PSEUDO_END macro to provide - .size directive. - * sysdeps/i386/bsd-_setjmp.S: Likewise. - * sysdeps/i386/bsd-setjmp.S: Likewise. - * sysdeps/i386/memchr.S: Likewise. - * sysdeps/i386/memcmp.S: Likewise. - * sysdeps/i386/setjmp.S: Likewise. - * sysdeps/i386/stpcpy.S: Likewise. - * sysdeps/i386/stpncpy.S: Likewise. - * sysdeps/i386/strchr.S: Likewise. - * sysdeps/i386/strcspn.S: Likewise. - * sysdeps/i386/strpbrk.S: Likewise. - * sysdeps/i386/strrchr.S: Likewise. - * sysdeps/i386/strspn.S: Likewise. - * sysdeps/i386/strtok.S: Likewise. - * sysdeps/i386/i486/strcat.S: Likewise. - * sysdeps/i386/i486/strlen.S: Likewise. - * sysdeps/i386/i586/memset.S: Likewise. - * sysdeps/i386/i586/strchr.S: Likewise. - * sysdeps/i386/i586/strlen.S: Likewise. - * sysdeps/libm-i387/e_acos.S: Likewise. - * sysdeps/libm-i387/e_acosl.S: Likewise. - * sysdeps/libm-i387/e_asin.S: Likewise. - * sysdeps/libm-i387/e_asinl.S: Likewise. - * sysdeps/libm-i387/e_atan2.S: Likewise. - * sysdeps/libm-i387/e_atan2l.S: Likewise. - * sysdeps/libm-i387/e_exp.S: Likewise. - * sysdeps/libm-i387/e_expl.S: Likewise. - * sysdeps/libm-i387/e_fmod.S: Likewise. - * sysdeps/libm-i387/e_fmodl.S: Likewise. - * sysdeps/libm-i387/e_log.S: Likewise. - * sysdeps/libm-i387/e_log10.S: Likewise. - * sysdeps/libm-i387/e_log10l.S: Likewise. - * sysdeps/libm-i387/e_logl.S: Likewise. - * sysdeps/libm-i387/e_remainder.S: Likewise. - * sysdeps/libm-i387/e_remainderf.S: Likewise. - * sysdeps/libm-i387/e_remainderl.S: Likewise. - * sysdeps/libm-i387/e_scalb.S: Likewise. - * sysdeps/libm-i387/e_scalbl.S: Likewise. - * sysdeps/libm-i387/e_sqrt.S: Likewise. - * sysdeps/libm-i387/e_sqrtf.S: Likewise. - * sysdeps/libm-i387/e_sqrtl.S: Likewise. - * sysdeps/libm-i387/s_atan.S: Likewise. - * sysdeps/libm-i387/s_atanf.S: Likewise. - * sysdeps/libm-i387/s_atanl.S: Likewise. - * sysdeps/libm-i387/s_ceil.S: Likewise. - * sysdeps/libm-i387/s_ceilf.S: Likewise. - * sysdeps/libm-i387/s_ceill.S: Likewise. - * sysdeps/libm-i387/s_copysign.S: Likewise. - * sysdeps/libm-i387/s_copysignf.S: Likewise. - * sysdeps/libm-i387/s_copysignl.S: Likewise. - * sysdeps/libm-i387/s_cos.S: Likewise. - * sysdeps/libm-i387/s_cosf.S: Likewise. - * sysdeps/libm-i387/s_cosl.S: Likewise. - * sysdeps/libm-i387/s_finite.S: Likewise. - * sysdeps/libm-i387/s_finitef.S: Likewise. - * sysdeps/libm-i387/s_finitel.S: Likewise. - * sysdeps/libm-i387/s_floor.S: Likewise. - * sysdeps/libm-i387/s_floorf.S: Likewise. - * sysdeps/libm-i387/s_floorl.S: Likewise. - * sysdeps/libm-i387/s_ilogb.S: Likewise. - * sysdeps/libm-i387/s_ilogbf.S: Likewise. - * sysdeps/libm-i387/s_ilogbl.S: Likewise. - * sysdeps/libm-i387/s_log1p.S: Likewise. - * sysdeps/libm-i387/s_log1pf.S: Likewise. - * sysdeps/libm-i387/s_log1pl.S: Likewise. - * sysdeps/libm-i387/s_logb.S: Likewise. - * sysdeps/libm-i387/s_logbf.S: Likewise. - * sysdeps/libm-i387/s_logbl.S: Likewise. - * sysdeps/libm-i387/s_rint.S: Likewise. - * sysdeps/libm-i387/s_rintf.S: Likewise. - * sysdeps/libm-i387/s_rintl.S: Likewise. - * sysdeps/libm-i387/s_scalbn.S: Likewise. - * sysdeps/libm-i387/s_scalbnf.S: Likewise. - * sysdeps/libm-i387/s_scalbnl.S: Likewise. - * sysdeps/libm-i387/s_significand.S: Likewise. - * sysdeps/libm-i387/s_significandf.S: Likewise. - * sysdeps/libm-i387/s_significandl.S: Likewise. - * sysdeps/libm-i387/s_sin.S: Likewise. - * sysdeps/libm-i387/s_sinf.S: Likewise. - * sysdeps/libm-i387/s_sinl.S: Likewise. - * sysdeps/libm-i387/s_tan.S: Likewise. - * sysdeps/libm-i387/s_tanf.S: Likewise. - * sysdeps/libm-i387/s_tanl.S: Likewise. - - * sysdeps/unix/sysv/linux/i386/clone.S: Add .size directive. - * sysdeps/unix/sysv/linux/i386/mmap.S. Likewise. - * sysdeps/unix/sysv/linux/i386/socket.S. Likewise. - * sysdeps/unix/sysv/linux/i386/sysdep.S. More compact .size line. - - * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): New macro. Used - to provide .size directive on ELF systems. - - * sysdeps/unix/sysv/linux/i386/profil-counter.h: Include - and rename parameter type to sigcontext. - * sysdeps/unix/sysv/linux/i386/sigcontext.h New file. - - * sysdeps/unix/sysv/linux/i386/syscall.S: From Linux 2.1 on - negative values might occur as positive results. Test against - -125 to decide for error or not. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise for system calls. - -Thu Oct 3 21:07:58 1996 Andreas Schwab - - * elf/dl-open.c: Use _DYNAMIC instead of _dl_start to decide - whether this is a statically linked program. The latter is now - always defined. - -Fri Oct 4 17:30:22 1996 Thomas Bushnell, n/BSG - - * hurd/hurdsig.c (signal_allowed): Add SIGWINCH to the list that - controlling terminals are allowed to send. - - * hurd/alloc-fd.c (_hurd_alloc_fd): If SIZE is so big that the - table is larger than the allowable address size, then return - failure. - -Fri Oct 4 02:08:10 1996 Bang Jun-Young - - * po/ko.po: Update. - -Fri Oct 4 02:07:46 1996 Michel Robitaille - - * po/fr.po: New file. - -Fri Oct 4 05:04:52 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/sigcontext.h: New file. - - Add support for MD5 crypt replacement. - * Makefile (subdirs): Add crypt. - * shlib-versions: Add entry for libcrypt. - * crypt/md5-crypt.c: New file. - * crypt/md5.c: New file. - * crypt/md5.h: New file. - * sysdeps/generic/crypt-entry.c: New file. - * sysdeps/generic/crypt.h: New file. - -Thu Oct 3 20:53:23 1996 Andreas Jaeger - - * dirent/tst-seekdir.c: Provide correct prototypes. - * io/test-utime.c: Likewise. - * malloc/mallocbug.c: Likewise. - * posix/testfnm.c: Likewise. - * stdio-common/xbug.c: Likewise. - * sysdeps/posix/cuserid.c: Likewise. - -Wed Oct 2 13:33:48 1996 Richard Henderson - - Provide optimized string functions for Alpha processors. - * sysdeps/alpha/bzero.S: New file. - * sysdeps/alpha/memset.S: New file. - * sysdeps/alpha/stpcpy.S: New file. - * sysdeps/alpha/stpncpy.S: New file. - * sysdeps/alpha/strcat.S: New file. - * sysdeps/alpha/strchr.S: New file. - * sysdeps/alpha/strcpy.S: New file. - * sysdeps/alpha/strncat.S: New file. - * sysdeps/alpha/strncpy.S: New file. - * sysdeps/alpha/strrchr.S: New file. - * sysdeps/alpha/stxcpy.S: New file. - * sysdeps/alpha/stxncpy.S: New file. - - * sysdeps/alpha/Makefile [$(sudir)==string]: Add stxcpy and - stxncpy to sysdep_routines. - Minor correction. - -Thu Oct 3 13:33:31 1996 Thomas Bushnell, n/BSG - - * sysdeps/generic/gnu/types.h: Added __loff_t. - Don't declare key_t here. - - * hurd/alloc-fd.c (_hurd_alloc_fd): If realloc fails, bother to - set errno (to ENOMEM). - -Wed Oct 2 13:41:48 1996 Ulrich Drepper - - * sysdeps/generic/strtok.c: Don't set stored pointer to NULL when - nothing is found. This guarantees all subsequent calls behave - the same. - * sysdeps/generic/strtok_r.c: Likewise. - -Mon Sep 30 22:27:36 1996 Andreas Schwab - - * sysdeps/posix/tempname.c (__stdio_gen_tempname): Don't declare - `i' as const. - -Mon Sep 30 22:38:29 1996 Richard Henderson - - * sysdeps/generic/strtok.c: When we hit EOS, don't set olds to - NULL immediately; we're going to get called one more time. - * sysdeps/generic/strtok_r.c: Likewise. - -Tue Oct 1 09:12:21 1996 Ulrich Drepper - - * locale/programs/ld-time.c: Always write some bytes at the end of - the file even if no `era's are specified. - - * stdio-common/tmpname.c (tmpbuf): Don't define as array of - pointers. - -Tue Oct 1 01:43:11 1996 Ulrich Drepper - - * libio/iofclose.c: Move unlocking to right position. - -Mon Sep 30 03:08:34 1996 Richard Henderson - - * misc/Makefile: Kill force-wrapper. - * misc/force-wrapper.c: Delete. - - * elf/eval.c: Add . - - * gmon/sys/gmon_out.h: Nonsense like `char foo[sizeof(char*)]' - followed by `bcopy(&ptr, &foo, sizeof(foo))' helps portability - and binary compatibility not at all. Better to do `char *foo' - followed by `foo = ptr' as it is much cleaner. - (struct gmon_hdr): Fix version. - (struct gmon_hist_hdr): Fix low_pc, high_pc, hist_size, prof_rate. - (struct gmon_cg_arc_record): Fix from_pc, self_pc, count. - * gmon/gmon.c: De-ansidecl-ify. - (write_hist): De-bcopy-fy. - (write_call_graph): Likewise. - - * gmon/mcount.c: Assume _MCOUNT_DECL does the entire declaration. - * sysdeps/alpha/machine-gmon.h: Update _MCOUNT_DECL. - * sysdeps/generic/machine-gmon.h: Likewise. - - * resolv/netdb.h: Add __set_h_errno to mimic __set_errno. - * nss/getXXent_r.c: Use __set_h_errno to set h_errno in all funcs. - * nss/nss_dns/dns-network.c: Likewise. - * resolv/getunamaddr.c: Likewise. Also use __set_errno where needed. - * resolv/getnetnamadr.c: Likewise. - * resolv/res_debug.c: Likewise. - * resolv/res_mkquery.c: Likewise. - * resolv/res_query.c: Likewise. - - * libio/clearerr_u.c: It's not necessary to define __ protected - function so don't do it. - * libio/feof_u.c, libio/ferror_u.c, libio/fputc_u.c, - libio/getc_u.c, libio/getchar_u.c, libio/iofflush_u.c: Likewise. - - * libio/fgetc.c: Avoid a warning by casting _IO_funlockfile for - the cleanup registrar. - * libio/fputc.c, libio/freopen.c, libio/fseek.c, libio/getc.c, - libio/getchar.c, libio/iofclose.c, libio/iofflush.c, - libio/iofgetpos.c, libio/iofgets.c, libio/iofputs.c, - libio/iofread.c, libio/iofsetpos.c, libio/ioftell.c, - libio/iofwrite.c, libio/iogetdelim.c, libio/iogets.c, - libio/ioputs.c, libio/iosetbuffer.c, libio/iosetvbuf.c, - libio/ioungetc.c, libio/putc.c, libio/putchar.c, libio/rewind.c: - Likewise. - - * locale/programs/ld-ctype.c: Include . - - * login/login_tty.c: Get login_tty prototype from . - - * posix/sys/types.h: Change #defines to typedefs. This is looking - forward to more comprehensive namespace cleanups for C++. - * posix/unistd.h: Likewise for ssize_t. - - * pwd/getpw.c: Prototype and rename getpw -> __getpw and add a - weak alias. - - * resolv/base64.c: Don't do `for (NULL; ...)' as it causes - `statement with no effect' warnings. - * resolv/inet_neta.c: Include for strlen. - - * stdio-common/getline.c: Undef ssize_t before libio redefinition. - * stdio-common/tstgetln.c: Same. De-ansidecl-ify. - * stdio-common/vfprintf.c: Same for va_list. - * stdio-common/vfscanf.c: Same. - * stdio-common/reg-printf.c: Prototype the __ function. - * stdio-common/scanf.c [USE_IN_LIBIO]: Include for - _IO_vscanf declaration. - - * string/tester.c: Tsk, tsk. Don't cast pointers to int, - but to unsigned long for the health of 64-bit systems. - - * sunrpc/svc_udp.c: Define MAX only if we don't have it yet. - Many system's pulls this in. - - * sysdeps/generic/dl-cache.c: Kill the bottom half of the - patch doubled file. - - * sysdeps/generic/pty.c (forkpty): Get login_tty decl from - instead of defining it locally. - - * sysdeps/posix/sigvec.c: Prototype wrapper_handler and convert_mask. - * sysdeps/stub/chflags.c: Prototype chflags. - * sysdeps/stub/fchflags.c: Prototype fchflags. - * sysdeps/stub/sstk.c: Prototype sstk. - - * sysdeps/unix/alpha/sysdep.S: Add strong alias from errno - variable to __errno. Update __syscall_error to store to both - the global and per-thread variables. - - * sysdeps/unix/sysv/linux/init-first.c: Change include of - init-first.h from "" to <> as "" does not search the include path. - Prototype _dl_start. - -Sun Sep 29 14:41:17 1996 Andreas Schwab - - * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Make it a - pattern rule to get the right stem. - -Sat Sep 28 01:30:06 1996 Andreas Schwab - - * Makefile ($(objpfx)version-info.h): Fix typo in previous change. - -Sat Sep 28 00:44:38 1996 Andreas Schwab - - * sysdeps/posix/euidaccess.c (__set_errno): Fix typo. - -Sat Sep 28 00:40:38 1996 Andreas Schwab - - * malloc/free.c (_free_internal): Don't call free recursively, use - the internal functions instead. - -Sat Sep 28 00:23:20 1996 Andreas Schwab - - * sysdeps/posix/tempname.c (__stdio_gen_tempname) [USE_IN_LIBIO && - _IO_MTSAFE_IO]: Allocate and initialize the file lock. - -Fri Sep 27 23:58:17 1996 Andreas Schwab - - * catgets/gencat.c (main): Print version information on stdout, - not stderr. - * db/makedb.c: Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/localedef.c: Likewise. - -Mon Sep 30 00:14:26 1996 Ulrich Drepper - - Add implementation of netgroup. - * inet/Makefile (distributes): Add netgroup.h. - (routines): Add getnetgrent.c and getnetgrent_r.c. - * inet/getnetgrent.c: New file. - * inet/getnetgrent_r.c: New file. - * inet/netgroup.h: New file. - * netgroup.h: New file. - * nsswitch.h: New file. - * nss/Makefile (databases): Add getgrp. - * nss/databases.def: Add netgroup. - * nss/db-Makefile: Add rules for netgroup. - * nss/netgrp-lookup.c: New file. - * nss/nss.h: Add new status value NSS_STATUS_RETURN which will - always return without a check of the transition table. - * nss/nsswitch.h (struct service_user): Extend actions array to - five elements. - * nss/nsswitch.c (__nss_next): Allow NSS_STATUS_RETURN as legal - status value. - (nss_parse_service_list): Initialize action for NSS_STATUS_RETURN - to NSS_ACTION_RETURN. - * nss/nss_db/db-netgrp.c: New file. - * nss/nss_files/files-netgrp.c: New file. - * nss/nsswitch.conf: Add entry for netgroup. - * resolv/netdb.h: Add prototypes for netgroup functions. - - * nss/nss_db/db-XXX.c: Use `enum nss_status' type when status - value is used. - -Sun Sep 29 12:55:58 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/syscalls.list: Change function name for - _llseek to _llseek (not llseek). - Reported by Matthias Urlichs . - -Sun Sep 29 05:34:32 1996 Ulrich Drepper - - * inet/rcmd.c: Remove definition of MIN. - -Sat Sep 28 14:22:51 1996 Ulrich Drepper - - * dirent/readdir_r.c: Removed. We indeed need a real implementation. - * sysdeps/unix/readdir_r.c: New file. - * sysdeps/unix/readdir.c: Remove check for correct parameter - values. Let them simply die. - * manual/filesys.texi: Document readdir_r. - - * sysdeps/gnu/errlist.awk: Define _sys_errlist as `const char* const'. - Proposed by Per Abrahamsen . - -Sat Sep 28 03:02:49 1996 Ulrich Drepper - - * dirent/Makefile (routines): Add readdir_r. - * dirent/readdir_r.c: New file. Wrapper around readdir.c. - * dirent/dirent.h: Add prototype for readdir_r. - - * misc/hsearch_r.c (ENTRY): Make field `used' of type `unsigned int' - to prevent warnings. - - * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): - Initialize `result'. - -Sat Sep 28 01:16:42 1996 Ulrich Drepper - - * sysdeps/generic/strsep.c: Rename to __strsep and make strsep - weak alias. - * string/string.h: Add prototype for __strsep. - * misc/mntent_r.c: Use __strsep instead of strsep to keep - namespace clean. - - * sysdeps/stub/nanosleep.c: Rename to __libc_nanosleep and make - __nanosleep and nanosleep weak aliases. - * sysdeps/unix/sysv/linux/syscalls.list: Add __nanosleep as weak - alias. - * sysdeps/unix/sysv/linux/sleep.c: Call __nanosleep instead of - nanosleep to keep namespace clean. - - * sysdeps/posix/ttyname.c (ttyname): Add cast to prevent warning. - * sysdeps/posix/ttyname_r.c (ttyname_r): Likewise. - * sysdeps/posix/getcwd.c (__getcwd): Likewise. - - * sysdeps/unix/nlist.c: Use ISO C definition since we don't always - have prototype. - - * login/Makefile (headers): Add pty.h. - * login/pty.h: New file. - * sysdeps/generic/pty.h: Include . - * login/pututline_r.c: Add cast to prevent warning. - - * gmon/gmon.c: Add prototype for __profile_frequency. - (monstartup): Add cast to prevent warning. - * sysdeps/generic/prof-freq.c: Change to use ISO C style definition. - - * locale/programs/ld-time.c (time_output): Write `era' information - in correct order. - -Sat Sep 28 00:11:08 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias - `adjtimex'. - Set caller for mlock, mlockall, mremap, munlock, and munlockall - to EXTRA. - Reported by Matthias Urlichs . - -1996-09-27 Paul Eggert - - * strftime.c (strftime): Output incomplete formats like %E - at end of string. - -1996-09-27 Paul Eggert - - * strftime.c (strftime): Add support for %EC and %Ey. - Fix support for %EY. This uses the new _nl_get_era_entry function. - -Fri Sep 27 14:12:27 1996 Ulrich Drepper - - Security related patch by Elliot Lee and - David Holland . - - * inet/rexec.c (rexec): Increase size of `num' array from 8 to 32. - * inet/ruserpass.c (ruserpass): Don't allow $HOME envvar to not exist. - - * sysdeps/generic/getenv.c (__secure_getenv): New function. Return - NULL when programs runs with SUID or SGID enabled. - * sysdeps/stub/getenv.c: Make __secure_getenv an alias of getenv. - * stdlib/stdlib.h: Add prototype for __secure_getenv. - - * locale/setlocale.c: Use __secure_getenv. - * resolv/res_init.c: Likewise. - * resolv/res_query.c: Likewise. - * inet/ruserpass.c: Likewise. - * sysdeps/posix/tempname.c: Likewise. - * malloc/mtrace.c: Likewise. - * catgets/catgets.c: Likewise. - - Make temporary file handling functions reentrant. - - * stdio-common/tmpnam.c: Rewrite to have own buffer to write - result to. The called __stdio_gen_tempname function must be - thread safe. - * stdio-common/tmpnam_r.c: New file. - * stdio/stdio.h: Add prototype for `tmpnam_r'. - Change prototype for __stdio_gen_tempname. - * stdio/libio.h: Likewise. - * sysdeps/posix/tempname.c: Add new parameters and use them instead - of static buffer. - Don't reset `indeces' when PID changed between calls. - Don't fail for long running programs when index counter once - reached the limit. - * sysdeps/stub/tempname.c: Likewise. - * stdio-common/tempnam.c: Provide local buffer as extra argument - to __stdio_gen_tempname. This makes this function reentrant. - * stdio-common/tmpfile.c: Likewise. - * stdio-common/temptest.c: Provide extra argument to - __stdio_gen_tempname. - * manual/filesys.texi: Describe tmpnam_r and add comments about - reentrancy of the functions. - - * inet/rcmd.c: Fixed address length handling. - - * sysdeps/posix/mk-stdiolim.c: Count final \0 byte in L_tmpnam value. - - * time/strftime.c: Remove unused variables alt_digits and - end_alt_digits. - - * sysdeps/unix/sysv/linux/sys/sysinfo.h: Correct prototype names - for get_nprocs and get_nprocs_conf. - * sysdeps/generic/sys/sysinfo.h: Likewise. - - * stdlib/test-canon.c: Finally do the right fix. - - * misc/Makefile: Only compile force-wrapper when compiling - reentrant libc. - -Fri Sep 27 03:49:56 1996 Ulrich Drepper - - Add support for cancelable system calls. - - * csu/initfini.c: Make in crti.o reference to symbol - __libc_force_cancel_wrapper when compiling reentrant version. - * misc/Makefile (routines): Add force-wrapper. - * misc/force-wrapper.c: New file. - - * posix/system.c: Rename function to __libc_system and make system - a weak alias. - * sysdeps/stub/system.c: Likewise. - * posix/wait.c: Rename function to __libc_wait and make __wait a - weak alias. De-ANSI-fy. - * sysdeps/standalone/read.c: Rename function to __libc_read and - make __read a weak alias. - * sysdeps/stub/read.c: Likewise. - * sysdeps/standalone/write.c: Rename function to __libc_write and - make __write a weak alias. - * sysdeps/stub/write.c: Likewise. - * sysdeps/stub/tcdrain.c: Rename function to __libc_tcdrain and - make tcdrain a weak alias. - * sysdeps/unix/bsd/tcdrain.c: Likewise. - * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise. - * sysdeps/unix/sysv/tcdrain.c: Likewise. - * sysdeps/unix/sysv/linux/tcdrain.c: Likewise. - * sysdeps/unix/bsd/bsd4.4/wait.c: Rename function to __libc_wait - and make __wait a weak alias. - * sysdeps/stub/waitpid.c: Rename function to __libc_waitpid and - make __waitpid a weak alias. - * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise. - * sysdeps/unix/sysv/linux/waitpid.c: Likewise. - * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise. - * sysdeps/unix/common/pause.c: Rename function to __libc_pause - and make pause a weak alias. De-ANSI-fy. - - * sysdeps/unix/syscalls.list: Change name for close, fcntl, fsync, - lseek, open, read, and write to have __libc_ prefix and make old - names a weak alias. - * sysdeps/unix/mman/syscalls.list: Likewise for msync. - * sysdeps/unix/sysv/linux/syscalls.list: Likewise for nanosleep. - - * io/creat.c: De-ANSI-fy. - - * sysdeps/unix/sysv/linux/syscalls.list: Add pause. - -Thu Sep 26 19:15:55 1996 Ulrich Drepper - - * misc/mntent.h: Add MNTTYPE_* and MNTOPT_* macros. - Reported by Hans Grobler . - -Thu Sep 26 14:40:10 1996 Ulrich Drepper - - * sysdeps/posix/pathconf.c: Pass descriptor for just opened file - to fpathconf. - Reported by Martin von Loewis . - -Thu Sep 26 04:02:43 1996 Ulrich Drepper - - * locale/programs/locfile.c (write_locale_data): Allocate room - even for file name for LC_MESSAGES locale. - (locafile_read): `tok_era' must be handled as a string list. - * locale/programs/ld-time.c: Finish correction of handling `era'. - * locale/C-time.c (_nl_C_LC_TIME): Add initializer for new fields. - * locale/categories.def: Add postload function for LC_TIME. - * locale/setlocale.c: Make lock global and rename to - __libc_setlocale_lock. - * locale/localeinfo.h (struct era_entry): New type. Used in strftime. - Add prototypes for _nl_get_era_entry and _nl_get_alt_digit. - * locale/lc-time.c (_nl_postload_time): New function. Initialize - lazy intialization. - (_nl_get_era_entry): New function. Return era entry which corresponds - to given year. - (_nl_get_alt_digit): New function. Return string with alternate - digit representation for given number. - - * time/strftime.c (strftime): Use _nl_get_alt_digit to get - string representing alternate digit notation. - -Wed Sep 25 17:31:55 1996 Ulrich Drepper - - * sysdeps/generic/waitstatus.h (union wait): Add w_status field. - Reported by Hans Grobler . - - * elf/rtld.c (dl_main): Process LD_PRELOAD before loading - ld.so.preload. Suggested by David Engel . - -Wed Sep 25 13:10:57 1996 Ulrich Drepper - - * catgets/gencat.c (main): Change --version again because RMS wants - the package name in parentheses. - * db/makedb.c: Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/localedef.c: Likewise. - -Tue Sep 24 01:28:05 1996 Andreas Schwab - - * Makefile ($(objpfx)sysd-dirs): Depend on Subdirs files, command - rewritten. - ($(objpfx)version-info.h): Depend on Banner files, command - rewritten. - -Wed Sep 25 02:44:41 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sleep.c: New file. Based on nanosleep. - -Tue Sep 24 21:46:02 1996 Ulrich Drepper - - * shadow/lckpwdf.c (PWD_LOCKFILE): Change to /etc/lock.pwd to be - on the same device as the password file. - * shadow/shadow.h (struct spwd): Change type of numeric fields - to `long int' since there value are days, not seconds. - * shadow/putspent.c: Change casts from time_t to `long int'. - * shadow/sgetspent_r.c (LINE_READER): Likewise. - -Mon Sep 23 23:05:24 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/errnos.h: Define __set_errno to make - sure the thread specific variable is set as well as the global - variable. - * sysdeps/mach/hurd/errnos.awk: Define macro for source code - compatibility. - * sysdeps/stub/errnos.h: Likewise. - * sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise. - - * shadow/putspent.c: Don't include . - - * dirent/scandir.c (scandir): Use __set_errno to set errno - variable. - * elf/dl-load.c (open_path): Likewise. - * inet/rcmd.c (rcmd): Likewise. - (rresvport): Likewise. - * intl/dcgettext.c [!__set_errno]: Define __set_errno. - (DCGETTEXT): Use __set_errno to set errno variable. - * io/fts.c (fts_open): Likewise. - (fts_close): Likewise. - (fts_read): Likewise. - (fts_set): Likewise. - (fts_children): Likewise. - (fts_build): Likewise. - (fts_stat): Likewise. - * io/ftw.c (ftw_dir): Likewise. - (ftw): Likewise. - * io/getwd.c (getwd): Likewise. - * io/lockf.c (lockf): Likewise. - * libio/libioP.h [EINVAL]: Use __set_errno to define MAYBE_SET_EINVAL. - * libio/iofdopen.c (_IO_fdopen): Use MAYBE_SET_EINVAL to errno. - * libio/iogetdelim.c (_IO_getdelim): Likewise. - * libio/fileops.c (_IO_file_open): Use __set_errno to set errno - variable. - * libio/iofgetpos.c (_IO_fgetpos): Likewise. - * libio/iofsetpos.c (_IO_fsetpos): Likewise. - * libio/ioftell.c (_IO_ftell): Likewise. - * locale/loadlocale.c (_nl_load_locale): Likewise. - * locale/nl_langinfo.c (nl_langinfo): Likewise. - * locale/setlocale.c (ERROR_RETURN): Likewise. - * login/getutid_r (__getutid_r): Likewise. - * login/getutline_r (__getutline_r): Likewise. - * login/login.c (tty_name): Likewise. - * login/oututline_r.c (__pututline_r): Likewise. - * malloc/malloc.c (morecore): Likewise. - * misc/efgcvt_r.c (fcvt_r): Likewise. - * misc/hsearch_r.c (hcreate_r): Likewise. - (hdestroy_r): Likewise. - (hsearch_r): Likewise. - * nss/nsswitch.c (__nss_configure_lookup): Likewise. - * nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Likewise. - (_nss_dns_gethostbyaddr_r): Likewise. - * nss/nss_files/files-XXX.c (internal_getent): Likewise. - * nss/nss_files/files-parse.c (parse_list): Likewise. - * posix/confstr.c (confstr): Likewise. De-ANSI-fy. - * posix/execvp.c (execvp): Likewise. - * posix/glob.c: Define __set_errno. - (glob): Use __set_errno to set errno variable. - (glob_in_dir): Likewise. - * pwd/getpw.c: Likewise. De-ANSI-fy. - * pwd/putpwent.c: Likewise. - * resolv/inet_net_ntop.c: Likewise. - * resolv/inet_net_pton.c: Likewise. - * resolv/inet_neta.c: Likewise. - * resolv/inet_ntop.c: Likewise. - * resolv/inet_pton.c: Likewise. - * resolv/res_query.c (res_search): Likewise. - * resolv/res_send.c (Aerror): Likewise. - (Perror): Likewise. - (res_send): Likewise. - * signal/sigaddset.c: Likewise. De-ANSI-fy. - * signal/sigdelset.c: Likewise. - * signal/sigempty.c: Likewise. - * signal/sigfillset.c: Likewise. - * signal/sigismem.c: Likewise. - * stdio/fclose.c: Likewise. - * stdio/feof.c: Likewise. - * stdio/ferror.c: Likewise. - * stdio/fflush.c: Likewise. - * stdio/fgetc.c: Likewise. - * stdio/fgetpos.c: Likewise. - * stdio/fgets.c: Likewise. - * stdio/fileno.c: Likewise. - * stdio/fmemopen.c: Likewise. - * stdio/fopen.c: Likewise. - * stdio/fputc.c: Likewise. - * stdio/fread.c: Likewise. - * stdio/freopen.c: Likewise. - * stdio/fseek.c: Likewise. - * stdio/fsetpos.c: Likewise. - * stdio/ftell.c: Likewise. - * stdio/fwrite.c: Likewise. - * stdio/getdelim.c: Likewise. - * stdio/gets.c: Likewise. - * stdio/glue.c: Likewise. - * stdio/internals.c: Likewise. - * stdio/memstream.c: Likewise. - * stdio/setvbuf.c: Likewise. - * stdio/ungetc.c: Likewise. - * stdio/vsscanf.c: Likewise. - * stdio-common/reg-printf.c: Likewise. - * stdio-common/vfprintf.c: Likewise. - * stdio-common/vfscanf.c: Likewise. - * stdlib/canonicalize.c: Likewise. - * stdlib/msort.c: Likewise. - * stdlib/random_r.c: Likewise. - * stdlib/strfmon.c: Likewise. - * stdlib/strtod.c: Likewise. - * stdlib/strtol.c: Likewise. - * sunrpc/bindrsvprt.c: Likewise. - * time/asctime.c: Likewise. - * time/localtime.c: Likewise. - * wcsmbs/mbrtowc.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wcstok.c: Likewise. - * sysdeps/generic/ftime.c: Likewise. - * sysdeps/generic/pty.c: Likewise. - * sysdeps/generic/setenv.c: Likewise. - * sysdeps/generic/speed.c: Likewise. - * sysdeps/generic/sysd-stdio.c: Likewise. - * sysdeps/generic/uname.c: Likewise. - * sysdeps/generic/vlimit.c: Likewise. - * sysdeps/libm-ieee754/k_standard.c: Likewise. - * sysdeps/libm-ieee754/s_ldexp.c: Likewise. - * sysdeps/libm-ieee754/s_ldexpf.c: Likewise. - * sysdeps/libm-ieee754/s_ldexpl.c: Likewise. - * sysdeps/libm-ieee754/w_scalb.c: Likewise. - * sysdeps/libm-ieee754/w_scalbf.c: Likewise. - * sysdeps/libm-ieee754/w_scalbl.c: Likewise. - * sysdeps/posix/dup2.c: Likewise. - * sysdeps/posix/euidaccess.c: Likewise. - * sysdeps/posix/fdopen.c: Likewise. - * sysdeps/posix/flock.c: Likewise. - * sysdeps/posix/fpathconf.c: Likewise. - * sysdeps/posix/getcwd.c: Likewise. - * sysdeps/posix/gettimeofday.c: Likewise. - * sysdeps/posix/isatty.c: Likewise. - * sysdeps/posix/isfdtype.c: Likewise. - * sysdeps/posix/killpg.c: Likewise. - * sysdeps/posix/mkstemp.c: Likewise. - * sysdeps/posix/mktemp.c: Likewise. - * sysdeps/posix/pathconf.c: Likewise. - * sysdeps/posix/pipestream.c: Likewise. - * sysdeps/posix/remove.c: Likewise. - * sysdeps/posix/rename.c: Likewise. - * sysdeps/posix/sigintr.c: Likewise. - * sysdeps/posix/signal.c: Likewise. - * sysdeps/posix/sigsuspend.c: Likewise. - * sysdeps/posix/sigvec.c: Likewise. - * sysdeps/posix/sleep.c: Likewise. - * sysdeps/posix/sysconf.c: Likewise. - * sysdeps/posix/system.c: Likewise. - * sysdeps/posix/tempname.c: Likewise. - * sysdeps/posix/truncate.c: Likewise. - * sysdeps/posix/ttyname.c: Likewise. - * sysdeps/posix/ttyname_r.c: Likewise. - * sysdeps/posix/wait3.c: Likewise. - * sysdeps/standalone/close.c: Likewise. - * sysdeps/standalone/open.c: Likewise. - * sysdeps/standalone/read.c: Likewise. - * sysdeps/standalone/write.c: 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/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/dirfd.c: Likewise. - * sysdeps/stub/dup.c: Likewise. - * sysdeps/stub/dup2.c: Likewise. - * sysdeps/stub/euidaccess.c: Likewise. - * sysdeps/stub/execve.c: Likewise. - * sysdeps/stub/fchdir.c: Likewise. - * sysdeps/stub/fchflags.c: Likewise. - * sysdeps/stub/fchmod.c: Likewise. - * sysdeps/stub/fchown.c: Likewise. - * sysdeps/stub/fcntl.c: Likewise. - * sysdeps/stub/fdopen.c: Likewise. - * sysdeps/stub/fexecve.c: Likewise. - * sysdeps/stub/flock.c: Likewise. - * sysdeps/stub/fork.c: Likewise. - * sysdeps/stub/fpathconf.c: Likewise. - * sysdeps/stub/fstatfs.c: Likewise. - * sysdeps/stub/fsync.c: Likewise. - * sysdeps/stub/ftruncate.c: Likewise. - * sysdeps/stub/fxstat.c: Likewise. - * sysdeps/stub/getcwd.c: Likewise. - * sysdeps/stub/getdents.c: Likewise. - * sysdeps/stub/getdomain.c: Likewise. - * sysdeps/stub/getdtsz.c: Likewise. - * sysdeps/stub/getegid.c: Likewise. - * sysdeps/stub/getenv.c: Likewise. - * sysdeps/stub/geteuid.c: Likewise. - * sysdeps/stub/getgid.c: Likewise. - * sysdeps/stub/getgroups.c: Likewise. - * sysdeps/stub/gethostid.c: Likewise. - * sysdeps/stub/gethostname.c: Likewise. - * sysdeps/stub/getitimer.c: Likewise. - * sysdeps/stub/getlogin.c: Likewise. - * sysdeps/stub/getlogin_r.c: Likewise. - * sysdeps/stub/getpagesize.c: Likewise. - * sysdeps/stub/getpeername.c: Likewise. - * sysdeps/stub/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/ioctl.c: Likewise. - * sysdeps/stub/isatty.c: Likewise. - * sysdeps/stub/isfdtype.c: Likewise. - * sysdeps/stub/kill.c: Likewise. - * sysdeps/stub/killpg.c: Likewise. - * sysdeps/stub/link.c: Likewise. - * sysdeps/stub/listen.c: Likewise. - * sysdeps/stub/lseek.c: Likewise. - * sysdeps/stub/lxstat.c: Likewise. - * sysdeps/stub/madvice.c: Likewise. - * sysdeps/stub/mkdir.c: Likewise. - * sysdeps/stub/mkfifo.c: Likewise. - * sysdeps/stub/mkstemp.c: Likewise. - * sysdeps/stub/mktemp.c: Likewise. - * sysdeps/stub/mmap.c: Likewise. - * sysdeps/stub/morecore.c: Likewise. - * sysdeps/stub/mprotect.c: Likewise. - * sysdeps/stub/msgctl.c: Likewise. - * sysdeps/stub/msgget.c: Likewise. - * sysdeps/stub/msgrcv.c: Likewise. - * sysdeps/stub/msgsnd.c: Likewise. - * sysdeps/stub/msync.c: Likewise. - * sysdeps/stub/munmap.c: Likewise. - * sysdeps/stub/nanosleep.c: Likewise. - * sysdeps/stub/nice.c: Likewise. - * 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/pipe.c: Likewise. - * sysdeps/stub/pipestream.c: Likewise. - * sysdeps/stub/poll.c: Likewise. - * sysdeps/stub/profil.c: Likewise. - * sysdeps/stub/ptrace.c: Likewise. - * sysdeps/stub/putenv.c: Likewise. - * sysdeps/stub/raise.c: Likewise. - * sysdeps/stub/read.c: Likewise. - * sysdeps/stub/readdir.c: Likewise. - * sysdeps/stub/readlink.c: Likewise. - * sysdeps/stub/readv.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/setitimer.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/shmat.c: Likewise. - * sysdeps/stub/shmctl.c: Likewise. - * sysdeps/stub/shmdt.c: Likewise. - * sysdeps/stub/shmget.c: Likewise. - * sysdeps/stub/shutdown.c: Likewise. - * sysdeps/stub/sigaction.c: Likewise. - * sysdeps/stub/sigaltstack.c: Likewise. - * sysdeps/stub/sigblock.c: Likewise. - * sysdeps/stub/sigintr.c: Likewise. - * sysdeps/stub/signal.c: Likewise. - * sysdeps/stub/sigpause.c: Likewise. - * sysdeps/stub/sigpending.c: Likewise. - * sysdeps/stub/sigprocmask.c: Likewise. - * sysdeps/stub/sigreturn.c: Likewise. - * sysdeps/stub/sigsetmask.c: Likewise. - * sysdeps/stub/sigstack.c: Likewise. - * sysdeps/stub/sigsuspend.c: Likewise. - * sysdeps/stub/sigvec.c: Likewise. - * sysdeps/stub/sleep.c: Likewise. - * sysdeps/stub/socket.c: Likewise. - * sysdeps/stub/socketpair.c: Likewise. - * sysdeps/stub/sstk.c: Likewise. - * sysdeps/stub/statfs.c: Likewise. - * sysdeps/stub/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/sysconf.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/tcsetattr.c: Likewise. - * sysdeps/stub/tcsetpgrp.c: Likewise. - * sysdeps/stub/telldir.c: Likewise. - * sysdeps/stub/tempname.c: Likewise. - * sysdeps/stub/time.c: Likewise. - * sysdeps/stub/times.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/vhangup.c: Likewise. - * sysdeps/stub/wait.c: Likewise. - * sysdeps/stub/wait3.c: Likewise. - * sysdeps/stub/wait4.c: Likewise. - * sysdeps/stub/waitpid.c: Likewise. - * sysdeps/stub/write.c: Likewise. - * sysdeps/stub/writev.c: Likewise. - * sysdeps/stub/xmknod.c: Likewise. - * sysdeps/stub/xstat.c: Likewise. - * sysdeps/unix/closedir.c: Likewise. - * sysdeps/unix/fxstat.c: Likewise. - * sysdeps/unix/getlogin.c: Likewise. - * sysdeps/unix/getlogin_r.c: Likewise. - * sysdeps/unix/mkdir.c: Likewise. - * sysdeps/unix/nice.c: Likewise. - * sysdeps/unix/nlist.c: Likewise. - * sysdeps/unix/opendir.c: Likewise. - * sysdeps/unix/readdir.c: Likewise. - * sysdeps/unix/rmdir.c: Likewise. - * sysdeps/unix/stime.c: Likewise. - * sysdeps/unix/xmknod.c: Likewise. - * sysdeps/unix/xstat.c: Likewise. - * sysdeps/unix/bsd/isatty.c: Likewise. - * sysdeps/unix/bsd/setegid.c: Likewise. - * sysdeps/unix/bsd/seteuid.c: Likewise. - * sysdeps/unix/bsd/setsid.c: Likewise. - * sysdeps/unix/bsd/sigaction.c: Likewise. - * sysdeps/unix/bsd/sigprocmask.c: Likewise. - * sysdeps/unix/bsd/sigsuspend.c: Likewise. - * sysdeps/unix/bsd/tcflow.c: Likewise. - * sysdeps/unix/bsd/tcflush.c: Likewise. - * sysdeps/unix/bsd/tcgetattr.c: Likewise. - * sysdeps/unix/bsd/tcsetattr.c: Likewise. - * sysdeps/unix/bsd/times.c: Likewise. - * sysdeps/unix/bsd/ulimit.c: Likewise. - * sysdeps/unix/common/lxstat.c: Likewise. - * sysdeps/unix/common/tcsendbrk.c: Likewise. - * sysdeps/unix/sysv/setrlimit.c: Likewise. - * sysdeps/unix/sysv/settimeofday.c: Likewise. - * sysdeps/unix/sysv/sigaction.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/bsd/ultrix4/sysconf.c: Likewise. - * sysdeps/unix/sysv/irix4/getpriority.c: Likewise. - * sysdeps/unix/sysv/irix4/setpriority.c: Likewise. - * sysdeps/unix/sysv/linux/adjtime.c: Likewise. - * sysdeps/unix/sysv/linux/gethostid.c: Likewise. - * sysdeps/unix/sysv/linux/gethostname.c: Likewise. - * sysdeps/unix/sysv/linux/getsysstats.c: Likewise. - * sysdeps/unix/sysv/linux/ptrace.c: Likewise. - * sysdeps/unix/sysv/linux/speed.c: Likewise. - * sysdeps/unix/sysv/linux/ulimit.c: Likewise. - * sysdeps/unix/sysv/sysv4/sigaction.c: Likewise. - * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise. - * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise. - * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise. - * sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise. - * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/ioperm.c: Likewise. - * sysdeps/unix/sysv/linux/i386/brk.c: Likewise. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/brk.c: Likewise. - - * sunrpc/clnt_tcp.c: Protect declaration of errno by #ifndef. - * sunrpc/clnt_udp.c: Likewise. - * sunrpc/bindrsvprt.c: Likewise. - * sunrpc/pm_getmaps.c: Likewise. - * sunrpc/pmap_rmt.c: Likewise. - * sunrpc/svc.c: Likewise. - * sunrpc/svc_run.c: Likewise. - * sunrpc/svc_tcp.c: Likewise. - * sunrpc/svc_udp.c: Likewise. - - * sysdeps/generic/strtok.c: Don't check argument, just crash. - * sysdeps/generic/strtok_r.c: Likewise. - - * sysdeps/stub/start.c: Make __errno a strong alias of errno. - * sysdeps/unix/start.c: Likewise. De-ANSI-fy. - * sysdeps/unix/sparc/start.c: Likewise. - * sysdeps/standalone/m68k/m68020/start.S: Likewise. - * sysdeps/unix/sysv/irix4/start.c: Likewise. - * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise. - * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. - -Mon Sep 23 17:54:57 1996 Ulrich Drepper - - * catgets/gencat.c (main): Put package name in --version message - in parantheses. Reported by Jim Meyering. - * db/makedb.c: Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/localedef.c: Likewise. - - * sysdeps/i386/fpu/__math.h (tan): Make sure gcc knows we use - two registers. Patch by John Bowman. - -Sat Sep 21 15:08:25 1996 Andreas Schwab - - * sysdeps/mach/libc-lock.h: Fix comment. - * sysdeps/stubs/libc-lock.h: Likewise. - -Sat Sep 21 13:50:40 1996 Andreas Schwab - - * libio/genops.c (_IO_init) [_IO_MTSAFE_IO]: Dereference pointer - to lock when passing it to __libc_lock_init macro. - (_IO_default_finish) [_IO_MTSAFE_IO]: Dereference pointer to lock - when passing it to __libc_lock_fini macro. - -Sat Sep 21 14:35:40 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER) - [_LIBC_REENTRANT]: Add missing semicolon. - - * sysdeps/unix/sysv/linux/m68k/sysdep.S: Move inclusion of - sysdep.h to the top outside of #ifndef PIC. Don't include errnos.h. - Use the ENTRY macro. - -Sat Sep 21 14:33:41 1996 Andreas Schwab - - * libio/Makefile: Make `all' the default target. - * po/Makefile: Likewise. - -Mon Sep 23 15:49:47 1996 Ulrich Drepper - - * stdlib/test-canon.c: Correct patch from Thu Sep 12 23:01:16 1996. - I applied it incorrectly. - * sysdeps/m68k/fpu/s_scalbn.c: Likewise. - * sysdeps/m68k/fpu/s_scalbnf.c: Likewise. - * sysdeps/m68k/fpu/s_scalbnl.c: Likewise. - -Mon Sep 23 03:00:10 1996 Ulrich Drepper - - * shadow/sgetspent_r.c (LINE_PARSER): Accept empty 9th field. - Patch by NIIBE Yutaka . - - * shadow/sgetspent_r.c (LINE_PARSER): Don't accept any chars after - 9th field. - - * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc] - (sysdep_headers): Add sys/debugreg.h, sys/kd.h, sys/soundcard.h, - and sys/vt.h. - * sysdeps/unix/sysv/linux/sys/debugreg.h: New file. - * sysdeps/unix/sysv/linux/sys/kd.h: New file. - * sysdeps/unix/sysv/linux/sys/soundcard.h: New file. - * sysdeps/unix/sysv/linux/sys/vt.h: New file. - Reported by NIIBE Yutaka . - -Thu Sep 26 13:44:29 1996 Thomas Bushnell, n/BSG - - * hurd/Makefile (installed-sunrpc-headers): New variable. - (sunrpc-headers): New variable. - (install-headers-nosubir): Depend on $(installed-sunrpc-headers), - not just . - ($(installed-sunrpc-headers)): Provide rule for all of these. - -Mon Sep 23 15:31:04 1996 Thomas Bushnell, n/BSG - - * hurd/Makefile ($(includedir)/rpc/netdb.h): There is no make - variable `top_srcdir' in libc; use $(..) instead. - - * sysdeps/mach/hurd/Makefile (rtld-installed-name): Delete special - definition. It was a *Mistake*. (With a capital M.) - - * sysdeps/mach/getsysstats.c (__get_nprocs): Renamed from - __get_nproc. - (__get_nprocs_conf): Renamed from __get_nproc_conf. - -Sun Sep 22 15:18:41 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/init-first.c: Define dummy function - `_dl_start' so that linking fails if this file should ever be used - in ld.so. - - * catgets/gencat.c (main): Change --version message according to - RMS' last standard revision. - * db/makedb.c: Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/localedef.c: Likewise. - -Sat Sep 21 23:42:39 1996 Thomas Bushnell, n/BSG - - * sysdeps/mach/getsysstats.c: Include . - (__get_nproc_conf): New function. - -Sun Sep 22 03:40:52 1996 Ulrich Drepper - - * resolv/resolv.h: Update to bind-4.9.5-T4B. - * resolv/base64.c: Likewise. - * resolv/res_debug.c: Likewise. - * resolv/res_query.c: Likewise. - * resolv/gethnamaddr.c: Likewise. - * nss/nss_dns/dns-host.c: Likewise. - * resolv/res_comp.c: Likewise. - * resolv/res_send.c: Likewise. - * resolv/arpa/nameser.h: Likewise. Attention: MAXDNAME is much - higher now. - - * resolv/Banner: New file. - * resolv/Makefile (distribute): Add Banner. - -Sat Sep 21 19:15:24 1996 Ulrich Drepper - - * sysdeps/stub/getsysstats.c: New file. - * sysdeps/unix/sysv/linux/getsysstats.c: New file. - - * misc/Makefile (headers): Add sys/sysinfo.h. - (routines): Add getsysstats. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc] - (sysdep_headers): Remove sys/sysinfo.h. - * sysdeps/generic/sys/sysinfo.h: New file. - * sysdeps/unix/sysv/linux/sys/sysinfo.h: Add prototype for get_nprocs, - get_phys_pages, and get_avphys_pages. - - * misc/Makefile (routines): Add mntent_r. - * misc/mntent_r.c: New file. - * misc/mntent.c: Remove all functions but getmntent and use - __getmntent_r. - * misc/mntent.h: Add prototype for __getmntent_r. - * misc/fstab.c: Use __getmntent_r function instead of getmntent. - This will not clobber the state in getmntent. - - * sysdeps/generic/confname.h: Add _SC_PROCESSORS_CONF, - _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES, _SC_AVPHYS_PAGES, - _SC_ATEXIT_MAX, and _SC_PASS_MAX. - * sysdeps/stub/sysconf.c: Add handling _SC_PROCESSORS_CONF and - _SC_NPROCESSORS_ONLN by calling __get_nprocs, _SC_PHYS_PAGES by - calling __get_phys_pages, _SY_AVPHYS_PAGES by calling - __get_avphys_pages, _SC_ATEXIT_MAX and _SC_PASS_MAX. - * sysdeps/posix/sysconf.c: Likewise. - * posix/getconf.c (vars): Add _NPROCESSORS_CONF, _NPROCESSORS_ONLN, - _PHYS_PAGES, _AVPHYS_PAGES, ATEXIT_MAX, and PASS_MAX entries. - -Sat Sep 21 05:20:36 1996 Ulrich Drepper - - * version.h (VERSION): Bump to 1.95. - - * Make-dist (+tsrcs): Don't filter out files in subdirs which - match files in the sysdeps hierachy (welcome back, - sys/syscall.h!). - - * resolv/Makefile (libresolv-routines): Remove getnetnamad. - -Sat Sep 21 03:00:19 1996 Ulrich Drepper - - * locale/loadlocale.c (_nl_free_locale): Remove function. - * locale/localeinfo.h: Remove prototype for _nl_free_locale. - * locale/setlocale.c (setlocale): Don't free locale data of - categories which succeeded to load after a wrong or missing data - file was observed. - - * locale/setlocale (setlocale): Initialize NEWNAME correctly so - that it works even when the locale data is not used. - - * stdlib/random_r.c: Fix typo in comment. - * stdlib/drand48-iter.c: Likewise. - * stdlib/drand48.c: Likewise. - * stdlib/erand48.c: Likewise. - * stdlib/jrand48.c: Likewise. - * stdlib/lcong48.c: Likewise. - * stdlib/lrand48.c: Likewise. - * stdlib/mrand48.c: Likewise. - * stdlib/nrand48.c: Likewise. - * stdlib/random.c: Likewise. - * stdlib/seed48.c: Likewise. - * stdlib/srand48.c: Likewise. - * misc/search.h: Likewise. - * misc/hsearch.c: Likewise. - * misc/hsearch_r.c: Likewise. - -Sat Sep 21 14:59:22 1996 Thomas Bushnell, n/BSG - - * sysdeps/mach/getsysstats.c: New file. - - * shlib-versions (*-*-gnu*): Increment libc to 0.2 for upcoming - binary distribution. - - * sysdeps/mach/hurd/Makefile (rtld-installed-name): Provide - definition to override dangerous one in Makeconfig. - - * hurd/Makefile (install-headers-nosubdir): Install . - ($(includedir)/rpc/netdb.h): New rule. - [ This is XXX until sunrpc can be built; is - essential. ] +1997-02-04 02:08 Ulrich Drepper -Fri Sep 20 16:06:06 1996 Thomas Bushnell, n/BSG + * Version 2.0.1 net release. - * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Add definition, - to guarantee link errors if this is included in ld.so. +1997-02-03 23:34 Stephen L Moshier -Thu Sep 19 21:50:55 1996 Ulrich Drepper + * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign. - * sysdeps/posix/gettimeofday.c (__gettimeofday): Use localtime_r - instead of localtime. - Reported by Matthias Urlichs. +1997-02-03 19:59 Ulrich Drepper - * shlib-versions: Remove version number for libcrypt. - * features.h: Define __USE_REENTRANT if _REENTRANT or _THREAD_SAFE. - * libc-symbols.h: Define _REENTRANT while compiling libc. + * stdlib/getsubopt.c: Don't return `=' for suboption which has + a parameter. Reported by Gary L. Hennigan . - * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location): - Define even if !_LIBC_REENTRANT. - * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location): - Likewise. +1997-02-03 18:20 Thorsten Kukuk - * sysdeps/posix/cuserid.h: Remove prototype for geteuid(). - De-ANSI-fy. + * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of + values as in yp.x and yp.h. - * MakeTAGS ($P/libc.pot): Generate correctly formed header. - * po/header.pot: Correct title line. - * po/nl.po: Update. +1997-02-03 16:58 Ulrich Drepper -Thu Sep 19 18:59:55 1996 Ulrich Drepper + * 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. - * Makeconfig (soversions.mk): Prefer shared lib version numbers - is add ons over version in libc itself. +1997-02-01 18:28 Andreas Schwab - * sysdeps/unix/sysv/linux/i386/sysdep.S: Include . - * sysdeps/unix/sysv/linux/i386/sysdep.h: Prevent multiple + * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple inclusion. - * libio/iofgets.c: Use __flockfile and __funlockfile instead of - _IO_flockfile and _IO_funlockfile resp. - - * locale/categories.def: Partly support for correct `era' handling - in LC_TIME category. - * locale/langinfo.h: Likewise. - * locale/programs/ld-time.c: Likewise. - * locale/localeinfo.h: Change comment a bit. - - * malloc/memalign.c: Don't use goto, not necessary anymore. - -1996-09-18 Paul Eggert - - * time/mktime.c (ydhms_tm_diff): Work correctly even if year - is negative, or if time_t is unsigned. - * time/strftime.c (tm_diff): Work correctly even if tm_year - is near INT_MIN. - -Tue Sep 17 16:14:34 1996 Andreas Schwab - - * sysdeps/m68k/fpu/__math.h (__inline_mathop): Changed to generate - all three versions of the math function. - (__inline_mathopf, __inline_mathopl): Removed. - (__inline_functions): New temporary definition containing all - non-trivial inline functions. - -Wed Sep 18 00:25:41 1996 Ulrich Drepper - - * time/strftime.c (strftime): The T_FMT_AMPM string may be empty. - -Tue Sep 17 20:27:18 1996 Ulrich Drepper - - * math/Makefile (extra-libs-others): Use $(extra-libs) instead - of $(extra-libc). - -Tue Sep 17 17:09:44 1996 Ulrich Drepper - - * sysdeps/stub/fpu_control.h: Correct end of file comment. - -Tue Sep 17 05:39:18 1996 Ulrich Drepper - - * stdio-common/bug3.c, stdio-common/bug4.c, stdio-common/bug5.c, - stdio-common/test-popen.c: Remove temporary files after test. - * stdio-common/bug5.c: Use `system' instead of `execlp'. - Patches by Andreas Jaeger. - - * stdio-common/bug5.c: Create string for `system' argument to - make sure the input and output file names are really correct. - -Sun Sep 15 12:46:44 1996 Andreas Schwab - - * configure.in: If $os contains a hyphen add the part before the - hyphen to $ostry. - -Sun Sep 15 18:14:02 1996 Andreas Schwab - - * sysdeps/m68k/fpu/__math.h (__ieee754_pow, __ieee754_powf, - __ieee754_powl): Rename local variable i to __i. - (__ieee754_atan2, __ieee754_atan2f, __ieee754_atan2l): New inline - functions. - * sysdeps/m68k/fpu/e_atan2.c, sysdeps/m68k/fpu/e_atan2f.c, - sysdeps/m68k/fpu/e_atan2l.c: New files. - -1996-09-15 Paul Eggert - - * manual/time.texi: Change `range X to Y' to `range X through - Y', to avoid ambiguity in English. - - (strftime): Numbers that do not have a range indicated are not padded. - Describe E and O modifiers. - %g, %G, %u: New formats. - %C, %y, %Y: Describe behavior on negative years. - %e: Fix typo (was labeled %d). - %l, %V: Fix typo in range. - %M, %S, %U, %w, %W: Give ranges. - %p: Clarify how noon and midnight are handled for AM and PM. - %s: Clarify leap second handling. - %r: Now locale-defined. - %C, %D, %e, %h, %n, %r, %t, %T: Say that they are POSIX.2 extensions. - %z: Say that it is a GNU extension. - %Z: Wording fix. - - * time/strftime.c: (strftime): - %V: Fix mishandling of week numbers near year boundaries. - %g, %G: New formats (suggested by Arthur David Olson). - %U, %W: Use inline expression instead of `week' function. - %C, %y: Handle negative years portably. - %C, %Y: Use width 1, since values can be arbitrarily wide. - %r: Use T_FMT_AMPM format if _NL_CURRENT is defined. - %u: New Posix.2 format. - %w: Width is 1, not 2. - (iso_week_days): New function, for %V, %G, %g. - (week): Remove; it didn't handle %V correctly. - (__isleap): New macro. - (mbsinit): Use arg, to pacify GCC -Wall. - -1996-09-13 Paul Eggert - - * time/strftime.c (strftime): - If using the GNU C library, do not bother to check for - multibyte encodings, since they're safe in formats. Otherwise: - - Check for multibyte encodings when encountering any character that - is not in the basic execution character set of the C Standard. - - Use mbrlen (if available) instead of mblen, to avoid modifying - mblen's internal state. - - Do not assume that '%' cannot appear as the first character of a - multibyte character sequence, since this is possible when not in the - initial shift state. - (HAVE_MBRLEN, MULTIBYTE_IS_FORMAT_SAFE): Define if _LIBC is defined. - (DO_MULTIBYTE): New macro. - (): Do not include. - (): Include if HAVE_MBRLEN. - (mbstate_t, mbrlen, mbsinit): Define if ! HAVE_MBRLEN. - (mbstate_zero): New constant. - -1996-09-12 Paul Eggert - - * time/strftime.c (strftime): - Use an empty zone if it can't be determined; POSIX.2 requires this. - Use plain `int' for pad and modifier (which now contain char value). - Use plain `int' for number_value, to print negative values correctly. - Use plain `int' for digits; there was no need to make it unsigned. - Initialize subfmt consistently. - Remove incorrect code for %EC and %Ey; they aren't implemented yet. - For %O, if there is no alternate digit, output Ascii instead of "". - Output the `%' of an unknown format; this is most likely the right - thing to do if a multibyte string has been misparsed. - -Thu Sep 12 23:23:13 1996 Andreas Schwab - - * stdio-common/scanf7.c (main): Remove extra conversion from - printf format string. - -Thu Sep 12 23:01:16 1996 Andreas Schwab - - * stdlib/test-canon.c (tests): Rename structure member from errno - to error, all uses changed. - -Thu Sep 12 20:08:06 1996 Andreas Schwab - - * sysdeps/m68k/fpu/__math.h (__ldexp, __ldexpf, __ldexpl): - Removed. - * sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c, - sysdeps/m68k/fpu/s_ldexpl.c: Removed, use generic implementation - instead. - * sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c, - sysdeps/m68k/fpu/s_scalbnl.c: Replaced with old contents of - s_ldexp.c, s_ldexpf.c and s_ldexpl.c, resp., suitably adpted. - - * sysdeps/m68k/fpu/__math.h (__frexp, __frexpf, __frexpl): - Return value must be in [0.5, 1), not [1, 2). Reported by Chris - Lawrence. - (__ilogb, __ilogbf, __ilogbl): Check for argument being zero. - (__scalbn, __scalbnf, __scalbnl): Use second argument directly. - -Thu Sep 12 19:59:24 1996 Andreas Schwab - - * sysdeps/libm-ieee754/e_acoshl.c: Fix typos. - * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable. - -Thu Sep 12 19:59:24 1996 Andreas Schwab - - * sysdeps/libm-ieee754/e_acoshl.c: Fix typos. - * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable. - -Thu Sep 12 19:56:07 1996 Andreas Schwab - - * inet/herrno.c (__h_errno_location): Fix return type. - -Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG - - * hurd/hurdinit.c (__libc_argv): Provide common decl. - (_hurd_setproc): Don't declare __libc_argv here. - -Tue Sep 17 10:51:58 1996 Thomas Bushnell, n/BSG - - * malloc/memalign.c (memalign): Only acquire __libc_malloc_lock - for actual modifications to global state. - -Fri Sep 13 01:21:36 1996 Thomas Bushnell, n/BSG - - * sysdeps/mach/Makefile (includes): Add -I$(common-objpfx)mach/. - * sysdeps/mach/hurd/Makefile (includes): Add - -I$(common-objpfx)hurd/. Reported by Marcus Daniels. - - * sysdeps/generic/schedbits.h (struct sched_param): Renamed from - struct sched_params. - * sysdeps/stub/sched_setp.c (__sched_setparam): struct - sched_params -> struct sched_param. - * sysdeps/stub/sched_getp.c (__sched_getparam): Likewise. - * sysdeps/stub/sched_sets.c (__sched_setscheduler): Likewise. - -Thu Sep 12 23:58:25 1996 Thomas Bushnell, n/BSG - - * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): Fix - syntax error. - - * stdio-common/Makefile: Put lockfile in routines - unconditionally. - Define _MT_SAFE_IO if using for libio and compiling reentrant - libc. - - * stdio-common/vfprintf.c (__flockfile, __funlockfile): Declare - this always, not just if _LIBC_REENTRANT. - (__funlockfile): Don't use weak_extern for this one; - __libc_cleanup_region_end might be defined and the use of - __funlockfile can't be protected the way the use of __flockfile - can be. - -Fri Sep 13 04:33:08 1996 Ulrich Drepper - - * sched.h: New file. Helper to access posix/sched.h. - * posix/sched.h: Change `sched_params' to `sched_param' to follow - POSIX.4. - -Thu Sep 12 20:12:40 1996 Ulrich Drepper - - * db/makedb.c (usage): Print bug report address separately to - ease translators task. - * catgets/gencat.c (usage): Likewise. - * locale/locale.c (usage): Likewise. - * locale/localedef.c (usage): Likewise. - -1996-09-12 Paul Eggert - - * time/strftime.c (my_localtime_r): Define if ! HAVE_LOCALTIME_R, - and #define localtime_r to it. If _LIBC, use __localtime_r instead. - (my_gmtime_r): Similar, except it's not needed if ! HAVE_TM_GMTOFF. - -Thu Sep 12 14:03:29 1996 Ulrich Drepper - - * crypt/Makefile: Include Makeconfig and add crypt object dir to - rpath-link so that running the check finds the new library. - * crypt/cert.c: provide correct prototypes to prevent warnings. - Reported by Andreas Jaeger. - - * sysdeps/mach/hurd/Makefile (rpath-link): Don't use += because - old and new value must be glued using `:'. - Reported by Marcus Daniels. - -Thu Sep 12 12:33:52 1996 Thomas Bushnell, n/BSG - - * sysdeps/mach/hurd/dl-cache.c: Delete second copy of file - accidentally added on. - - * sysdeps/stub/intr-msg.h: New file. - - * stdio-common/vfprintf.c: Include . - * stdio-common/vfscanf.c: Include . - - * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New - macro. - (__libc_cleanup_region_end): New macro. - -Thu Sep 12 03:35:27 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/Dist: Remove init-first.h. - * sysdeps/unix/sysv/linux/m68k/Dist: Likewise. - * sysdeps/unix/sysv/linux/Dist: Add init-first.h. - -1996-09-11 Paul Eggert - - * strftime.c (strftime): - Handle E and O modifiers, required for POSIX.2 and XPG4. - Don't use sprintf to format numbers; this way, we can handle time_t - correctly regardless of whether it's signed. - Don't dump core if format ends in %. - In default %c format, use %e instead of %d, for POSIX.2 compatibility. - For %z: - Use tm_gmtoff if available. - Output nothing if tm_isdst is negative. - Output correct value even if arg is 1969-12-31 23:59:59 UTC. - Don't assume that UTC offset is less than 24 hours; - Posix requires support for 24 hours, and there's no point - limiting it at all. - (HAVE_TM_GMTOFF, TYPE_SIGNED, INT_STRLEN_BOUND): New macros. - (CHAR_BIT): Define if doesn't. - (tm_diff): New function. - (fmt, ): Remove; no longer used. - -Thu Sep 12 02:21:44 1996 Ulrich Drepper - - * db/Makefile: Add extra-libs-others variable so that shared - library is built in `others' pass. - * elf/Makefile: Likewise. - * math/Makefile: Likewise. - * resolv/Makefile: Likewise. - - * Makefile (generated): Add version.info.h. - - * time/checktab.awk: New file. From ADO 96k. - * time/iso3166.tab: Likewise. - * time/tzselect.ksh: Likewise. - * time/zone.tab: Likewise. - - * stdio-common/vfprintf.c: Correct cleanup registration. We - cannot use a macro - -1996-09-11 Paul Eggert - - * time/time.h (tm_gmtoff, tm_zone): Prefix with `__' unless - __USE_BSD; this is required for ANSI C compatibility. - * manual/time.texi: Replace GMT by UTC, daylight savings by - daylight saving, timezone by time zone. - Rewrite description of %V to match ISO 8601. - Fix TZ Posix string example for US Eastern time. - Explain tzname[1] when DST isn't used. - Explain tzname when multiple abbreviations used (e.g. EST/EWT/EDT). - Explain that timezone's sign is opposite from tm_gmtoff, and that - timezone lacks DST adjustment whereas tm_gmtoff has it. - Deprecate tzname and timezone. - -Tue Sep 10 14:46:16 1996 Andreas Schwab - - Implement Roland McGrath's idea of how to put an .interp into - shared libraries. - * interp.c: New file. - * Makerules (interp-obj): New object, linked into every shared - library. - (common-generated): Add interp.so. - (CFLAGS-interp.c): Pass name of interpreter. - -Tue Sep 10 21:09:35 1996 Andreas Schwab - - * db/Makefile: Fix typo. - -Tue Sep 10 19:29:53 1996 Andreas Schwab - - * nss/db-Makefile ($(VAR_DB)/passwd.db): Look for multiple - occurences of the same uid, and only generate a mapping for the - first one. - -Tue Sep 10 03:14:59 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/system.c: New file, to override - sysdeps/unix/system.c. - -Tue Sep 10 15:05:40 1996 Andreas Schwab - - * Makefile (before-compile): Add version-info.h, needed to build - version.d. - -Tue Sep 10 14:14:33 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/sysdep.S: Remove check for - EWOULDBLOCK, never true on Linux. - (__errno_location): New function. - [_LIBC_REENTRANT]: Set errno using __errno_location function. - * sysdeps/unix/sysv/linux/m68k/sysdep.h [PIC]: Add second - syscall_error handler for reentrant libc. - -Tue Sep 10 13:27:49 1996 Andreas Schwab - - * elf/Makefile (extra-objs): Add eval.so to get dependencies. - -Wed Sep 11 04:40:57 1996 Ulrich Drepper - - * time/tzset.c (__tzname_cur_max): Use type `size_t' to avoid - warning. - * time/tzfile.c (compute_tzname_max): Likewise. - -Wed Sep 11 02:57:31 1996 Ulrich Drepper - - * configure.in: Quote $add_ons argument in loop to generated - prefices. - -Tue Sep 10 20:43:45 1996 Ulrich Drepper - - * db/makedb.c: Include . Reported by Fila Kolodny. - -Tue Sep 10 14:42:39 1996 Thomas Bushnell, n/BSG - - * elf/dl-cache.c: Rename to ... - * sysdeps/generic/dl-cache.c: ... here. - * sysdeps/mach/hurd/dl-cache.c: New file. - - * mach/Makefile (distribute): Add `errsystems.awk'. - * hurd/Makefile (distribute): Add `Notes' and `intr-msg.h'. - * hurd/hurdintr.awk: Delete file. (Not used in ages.) - * hurd/intr-rpc.awk: Likewise. - * hurd/invoke-trans.c: Likewise. - * sysdeps/mach/hurd/i386/longjmp-ctx.c: Likewise. - * sysdeps/mach/hurd/alpha/longjmp-ctx.c: Likewise. - * sysdeps/mach/hurd/mips/longjmp-ctx.c: Likewise. - * sysdeps/mach/hurd/i386/init-fault.c: Likewise. - * sysdeps/mach/hurd/mips/init-fault.c: Likewise. - * sysdeps/stub/init-fault.c: Likewise. - * sysdeps/stub/longjmp-ctx.c: Likewise. - -Tue Sep 10 13:49:08 1996 Ulrich Drepper - - * inet/herrno.c: Initialize `h_errno' so that we can provide - alias. - - * Makefile (version-info.h): Fix typo in shell script. - - * sysdeps/i386/i586/strlen.S: Optimize startup code a bit. - * sysdeps/i386/i586/strchr.S: Likewise. - -Mon Sep 9 20:31:27 1996 Ulrich Drepper - - * version.c (banner): Report to bug-glibc@prep not @gnu. - Reported by Andreas Jaeger. - - * libio/stdio.h [!__USE_REENTRANT]: Don't define getc as - _IO_getc_unlocked. - [__USE_REENTRANT]: Don't define - -Mon Sep 9 15:59:32 1996 Ulrich Drepper - - * sysdeps/i386/strrchr.c: Fix bug where NUL byte is not recognized - when it is the third byte in the string. Reported by - NIIBE Yutaka. - * string/tester.c: Add tests for above bug to strlen, strchr, and - strrchr tests. - -Fri Sep 6 21:23:33 1996 Andreas Schwab - - * sysdeps/m68k/fpu/e_acos.c: Deansideclized. Include - "math_private.h" to get prototype. - * sysdeps/m68k/fpu/e_fmod.c: Likewise. - * sysdeps/m68k/fpu/k_cos.c: Likewise. - * sysdeps/m68k/fpu/k_sin.c: Likewise. - * sysdeps/m68k/fpu/k_tan.c: Likewise. - - * sysdeps/m68k/fpu/k_sin.c: Remove uneeded indirection of - __m81_u. - * sysdeps/m68k/fpu/k_tan.c: Likewise. - -Sun Sep 1 18:01:35 1996 Andreas Schwab - - * sysdeps/m68k/fpu/__math.h: Check for __NO_M81_MATH_INLINES - instead of __NO_MATH_INLINES. - (__M81_MATH_INLINES): Renamed from __MATH_INLINES. - * sysdeps/m68k/fpu/e_acos.c: Define __NO_M81_MATH_INLINES. - * sysdeps/m68k/fpu/e_fmod.c: Likewise. - * sysdeps/m68k/fpu/k_cos.c: Likewise. - * sysdeps/m68k/fpu/k_sin.c: Likewise. - * sysdeps/m68k/fpu/k_tan.c: Likewise. - * sysdeps/m68k/fpu/s_atan.c: Likewise. - * sysdeps/m68k/fpu/s_frexp.c: Likewise. - * sysdeps/m68k/fpu/s_ilogb.c: Likewise. - * sysdeps/m68k/fpu/s_isinf.c: Likewise. - * sysdeps/m68k/fpu/s_ldexp.c: Likewise. - * sysdeps/m68k/fpu/s_modf.c: Likewise. - * sysdeps/m68k/fpu/k_cos.c: Use inline version of __cos. - * sysdeps/m68k/fpu/k_sin.c: Likewise. - * sysdeps/m68k/fpu/k_tan.c: Likewise. - -Mon Sep 9 12:55:14 1996 Ulrich Drepper - - * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): Check for - available character before converting number and return with - error if none is available. - -Fri Sep 6 22:09:08 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/init-first.h: New file, generic - implementation for architectures where parameters are passed on - stack. - * sysdeps/unix/sysv/linux/m68k/init-first.h: Removed. - * sysdeps/unix/sysv/linux/i386/init-first.h: Removed. - -Fri Sep 6 22:05:32 1996 Andreas Schwab - - * configure.in: Remove unneeded sysnames frobbing. - -Mon Sep 9 05:29:09 1996 Ulrich Drepper - - * time/zic.c: Update from ADO 96l. - * time/africa: Update from ADO 96k. - * time/antarctica: Likewise. - * time/asia: Likewise. - * time/australia: Likewise. - * time/europe: Likewise. - * time/northamerica: Likewise. - * time/southamerica: Likewise. - -Mon Sep 9 05:03:47 1996 NIIBE Yutaka - - * sysdeps/unix/sysv/linux/i386/init-first.h: Work around buggy - gcc <= 2.7.2.1 which optimizes away address operations on weak - objects. - - * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): New macro. - Like INT_FIELD but also accept non-existing field. - * shadow/sgetspent_r.c (LINE_PARSER): Use INT_FIELD_MAYBE_NULL - for last four fields. - * shadow/putspent.c (putspent): Print `:' after numeric value. - -Mon Sep 9 02:42:48 1996 Richard Henderson - - * libio/stdio.h (BUFSIZ): Define using _IO_BUFSIZ. - -Sun Sep 8 16:43:56 1996 Ulrich Drepper +1997-02-02 14:56 Andreas Schwab - * Make-dist: Filter out $(add-ons) from $(subdirs). - Don't distribute TAGS files. - ($(tardir).tar): Remove dist.tar when all is done. - * manual/Makefile (distribute): Add libc.info*. - * libio/Makefile (distribute): Add Banner. - * inet/Makefile (headers): Add netinet/tcp.h. + * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc + fixes. - * resolv/Makefile (libresolv-routines): Add getnetnamadr. +1997-02-02 11:51 Andreas Schwab - * crypt-README: Removed. - * gnu-stabs.h: Removed. + * MakeTAGS (sysdep-sources, sysdep-headers): New variables. + (all-sources, all-headers): Use them instead of $(sources) and + $(headers) when searching in sysdep directories. - * sysdeps/alpha/copysign.S: Renamed to... - * sysdeps/alpha/s_copysign.S: ...this. - * sysdeps/alpha/fabs.S: Renamed to... - * sysdeps/alpha/s_fabs.S: ...this. +1997-02-02 11:49 Andreas Schwab - * sysdeps/m68k/isinfl.c: Renamed to... - * sysdeps/m68k/s_isinfl.c: ...this. - * sysdeps/m68k/isnanl.c: Renamed to... - * sysdeps/m68k/s_isnanl.c: ...this. + * Makerules (REAL_MAKE_VERSION): Use internal make function + instead of shelling out. - * sysdeps/sparc/sqrt.c: Renamed to... - * sysdeps/sparc/e_sqrt.c: ...this. Function name now is - __ieee754_sqrt. +1997-02-02 11:47 Andreas Schwab - * sysdeps/generic/get_str.c: Removed. + * time/Makefile (install-test-data): Remove mkdir command, zic can + handle that gracefully. - * sysdeps/ieee754/cbrt.c: Removed. - * sysdeps/ieee754/drem.c: Removed. - * sysdeps/ieee754/logb.c: Removed. - * sysdeps/ieee754/sqrt.c: Removed. +1997-02-03 14:07 Andreas Schwab - * sysdeps/stub/cbrt.c: Removed. - * sysdeps/stub/cos.c: Removed. - * sysdeps/stub/drem.c: Removed. - * sysdeps/stub/isinf.c: Removed. - * sysdeps/stub/isinfl.c: Removed. - * sysdeps/stub/isnanl.c: Removed. - * sysdeps/stub/logb.c: Removed. - * sysdeps/stub/sin.c: Removed. - * sysdeps/stub/sqrt.c: Removed. + * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime + somehow. - * sysdeps/tahoe/log10.c: Removed. +1997-02-02 07:46 Andreas Schwab - * sysdeps/vax/index.s: Removed. - * sysdeps/vax/rindex.s: Removed. - * sysdeps/vax/bcmp.s: Removed. - * sysdeps/vax/log10.c: Removed. - * sysdeps/vax/infnan.c: Removed. - * sysdeps/vax/Dist: Add fl.h. + * 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. - * sysdeps/unix/sysv/linux/alpha/Dist: Add llseek.S. +1997-02-03 02:33 Ulrich Drepper - * inet/rcmd.c (rcmd): Make messages more uniform. + * 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. -Sun Sep 8 14:15:42 1996 Ulrich Drepper + * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected + place. - * po/de.po: Update. * po/es.po: Update. - * po/ko.po: Update. - * po/pl.po: New file. - * po/nl.po: New file. - -Sat Sep 7 18:41:17 1996 Richard Henderson - - * Makeconfig (+link): Filter out start, pre & postinit from the - generic depenancies as well. - * Rules: Add start, pre & postinit to the dependancies of - $(others) and $(tests). - - * configure.in: elf_dirs missing "sysdeps" component. - -Sun Sep 8 02:36:02 1996 Ulrich Drepper - - * locale/SYS_libc.c (_libc_intl_domainname): Change value to "libc". - This is consistent with all other GNU packages. We shouldn't - take care for a possible clash. Nobody will name the domain - of a package libc if it is not the libc itself. - * MakeTAGS ($P/SYS_libc.pot): Rename to $P/libc.pot. - * po/Makefile (domainname): Change to libc. - (distribute): Now ship libc.pot. - * catgets/gencat.c (usage): Use `PACKAGE' for package name in - version information banner. - Change bug report address to bug-glibc@prep not @gnu. - * db/makedb.c (PACKAGE): New macro. Set to _libc_intl_domain. - (main): Use `PACKAGE' for package name in version information - banner. - Change bug report address to bug-glibc@prep not @gnu. - * locale/programs/locale.c (main): Use `PACKAGE' for package name - in version information banner. - Change bug report address to bug-glibc@prep not @gnu. - * locale/programs/localedef.c (main): Likewise. - - * version.h (VERSION): Bump to 1.94. - - * locale/Makefile (distribute): Add locale.c and localedef.c. - -Sat Sep 7 14:00:33 1996 David Mosberger-Tang - - * catgets/catgets.c (catopen): Allocate sizeof(*result) bytes - instead of sizeof(nl_catd) (which is just a pointer!). - -Sat Sep 7 19:39:19 1996 Ulrich Drepper - - * Makefile ($(objpfx)version-info.h): Generate from Banner files. - * version.c (banner): Add contents of version-info.h to string. - - * Makerules: If $($(subdir)-version) is available name versioned - shared library according to this value instead of glibc's version. - - * libio/Banner: New file. - - * elf/eval.c (funcall): Write error message in case function is - not found. - (eval): Recognize `_' in names. - -Sat Sep 7 05:15:45 1996 Ulrich Drepper - - * libio/iofdopen: Initialize _lock field only if _IO_MTSAFE_IO. - * libio/iofopen: Likewise. - * libio/iofopncook.c: Likewise. - * libio/iopopen.c: Likewise. - * libio/iovsprintf.c: Likewise. - * libio/iovsscanf.c: Likewise. - * libio/memstream.c: Likewise. - * libio/vasprintf.c: Likewise. - * libio/vdprintf.c: Likewise. - * libio/vsnprintf.c: Likewise. - -Sat Sep 7 03:55:47 1996 Ulrich Drepper - - * Makeconfig (soversions.mk): Also use shlib-versions files - in add-on directories. - * config.make.in (config-defines): Remove. Not used anymore. - (defines): New variable. Initiliazed by @DEFINES@. - * configure.in: Add AC_SUBST(DEFINES). - - * libio/Makefile (routines): When compiling reentrant libc add - clearerr_u, feof_u, ferror_u, fputc_u, getc_u, getchar_u, - iofflush_u, putc_u, putchar_u, ioflockfile. - (CPPFLAGS): Add -D_IO_MTSAFE_IO for reentrant libc. - - * sysdeps/stub/libc-lock.h: Add stubs for __libc_cleanup_region_start - and __libc_cleanup_region_end. - - * sysdeps/unix/i386/sysdep.S [_LIBC_REENTRANT]: Set errno - using __errno_location function. - * sysdeps/unix/sysv/linux/i386/sysdep.S [_LIBC_REENTRANT]: Set errno - using __errno_location function. - (__errno_location): New function. - * sysdeps/unix/sysv/linux/i386/sysdep.h [PIC]: Add second - syscall_error handler for reentrant libc. - - * sysdeps/unix/opendir.c: Remove unneeded `;'. - - * libio.h [_IO_MTSAFE_IO]: Include . - [!_IO_MTSAFE_IO]: Define _IO_flockfile and _IO_funlockfile - as empty macros. - * libioP.h: Include . - * libio/stdio.h: Add prototypes for *_locked and *_unlocked - functions. - - * libio/clearerr.c: Use _IO_ protected versions of flockfile - and funlockfile to be namespace clean. - - * libio/genops.c: Use __libc_lock_* macros for handling lock. - - * libio/iofdopen: Add initialization of _lock in _IO_FILE. - * libio/iofopen: Likewise. - * libio/iofopncook.c: Likewise. - * libio/iopopen.c: Likewise. - * libio/iovsprintf.c: Likewise. - * libio/iovsscanf.c: Likewise. - * libio/memstream.c: Likewise. - * libio/vasprintf.c: Likewise. - * libio/vdprintf.c: Likewise. - * libio/vsnprintf.c: Likewise. - - * libio/fgetc.c: Use __libc_cleanup_region_* macros instead - of flockfile etc. - * libio/fputc.c: Likewise. - * libio/freopen.c: Likewise. - * libio/fseek.c: Likewise. - * libio/getc.c: Likewise. - * libio/getchar.c: Likewise. - * libio/iofclose.c: Likewise. - * libio/iofflush.c: Likewise. - * libio/iofgetpos.c: Likewise. - * libio/iofgets.c: Likewise. - * libio/iofputs.c: Likewise. - * libio/iofread.c: Likewise. - * libio/iofsetpos.c: Likewise. - * libio/ioftell.c: Likewise. - * libio/iofwrite.c: Likewise. - * libio/iogetdelim.c: Likewise. - * libio/iogets.c: Likewise. - * libio/ioputs.c: Likewise. - * libio/iosetbuffer.c: Likewise. - * libio/iosetvbuf.c: Likewise. - * libio/ioungetc.c: Likewise. - * libio/putc.c: Likewise. - * libio/putchar.c: Likewise. - * libio/rewind.c: Likewise. - * stdio-common/vfprintf.c: Likewise. - * stdio-common/vfscanf.c: Likewise. - - * libio/clearerr_u.c: Correct alias name. - * libio/ferror_u.c: Likewise. - * libio/fileno.c: Likewise. - * libio/fputc_u.c: Likewise. - * libio/getc.c: Likewise. - * libio/getc_u.c: Likewise. - * libio/getchar.c: Likewise. - * libio/getchar_u.c: Likewise. - * libio/putc.c: Likewise. - * libio/putchar.c: Likewise. - - * libio/feof_u.c: Undefine macro with name of function before - definition of function itself. - - * libio/ioflockfile.c: New file. Implementation of flockfile and - funlockfile. - - * libio/putchar_u.c: Fix typo. Use stdout instead of fp. - - * malloc/malloc.h: Don't include and don't declare - _malloc_loc. - - * malloc/free.c: Include . - * malloc/realloc.c: Likewise. - * malloc/malloc-find.c: Likewise. - * malloc/malloc-size.c: Likewise. - * malloc/malloc-walk.c: Likewise. - * malloc/memalign.c: Likewise. - * malloc/malloc.c: Likewise. - - * sysdeps/i386/dl-machine.h: Correct clearing of _dl_starting_up. - -Fri Sep 6 19:38:49 1996 Ulrich Drepper - - * sysdeps/stub/libc-lock.h: Define __libc_lock_critical_start - and __libc_lock_critical_end as empty macros. - - * malloc/malloc.h: Don't include and don't declare - __libc_malloc_lock. - * malloc/free.c: Include . - * malloc/malloc-find.c: Likewise. - * malloc/malloc-size.c: Likewise. - * malloc/malloc-walk.c: Likewise. - * malloc/malloc.c: Likewise. - * malloc/memalign.c: Likewise. - * malloc/realloc.c: Likewise. - - * Makefile: Undo change from Mon Sep 2 22:15:14 1996. No more - extra_solibs pass. - * Rules: Likewise. - * extra-lib.mk: Likewise. - * manual/Makefile: Likewise. - - * db/Makefile (makedb): Choose dependecies based on build-shared. - Patch by Andres Schwab. - - * sysdeps/posix/sysconf.c: Don't use PTHREAD_DESTRUCTOR_ITERATIONS - but _POSIX_THREAD_DESTRUCTOR_ITERATIONS. - - * sysdeps/unix/sysv/linux/errnos.h: New file. - * sysdeps/unix/sysv/linux/schedbits.h: New file. - * sysdeps/unix/sysv/linux/waitflags.h: New file. - - * sysdeps/unix/sysv/linux/gnu/types.h: Add definition of `key_t'. - -Fri Sep 6 08:26:31 1996 Andreas Schwab - - * rpm/template: Fix typo in %build section. - -Fri Sep 6 03:31:07 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/errnos.h: Don't define errno macro when - building libc without thread support. - * resolv/netdb.h: Likewise for h_errno macro. - -Thu Sep 5 23:01:48 1996 Ulrich Drepper - - * libc-symbols.h: Add new macro weak_const_function. It's like - weak_function, but the function is additionally marked as const. - * features.h: Only include if !__ASSEMBLER__. - -Thu Sep 5 22:55:49 1996 Richard Henderson - - * inet/herrno.c (__h_errno_location): New function. - (h_errno): Make strong_alias __h_errno so that we can access - the variable even if `h_errno' is a macro. - * resolv/netdb.h: Define macro h_errno to access thread specific - version of h_errno variable. Declare alias __h_errno for h_errno. - * resolv/res_query (h_errno): Remove definition. - * sysdeps/unix/sysv/linux/errnos.h [!__ASSEMBLER__ && __USE_REENTRANT]: - Add macro `errno' to get thread specific variable. - * sysdeps/unix/alpha/sysdep.S [_LIBC_REENTRANT]: Set errno using - __errno_location function. - (__errno_location): New function. - -Thu Sep 5 21:08:44 1996 Ulrich Drepper - - * posix/gnu/types.h: Remove definition of key_t. - * sysdeps/generic/gnu/types.h: Move it to here. - * sysdeps/unix/sysv/linux/gnu/types.h: Add Linux specific - definition of key_t. - - * sysdeps/unix/sysv/linux/waitflags.h: New file. Linux specific - definitions. - * sysdeps/unix/sysv/linux/schedbits.h: New file. Include - clone prototypes and associated flags. - -Thu Sep 5 08:58:47 1996 Richard Henderson - - * sysdeps/alpha/elf/start.S: Make _start global again. - -Thu Sep 5 13:18:25 1996 Thomas Bushnell, n/BSG - - * sysdeps/mach/hurd/i386/init-first.c (__libc_argc, __libc_argv): - New variables. - (init1): Initialize them. - * hurd/hurdinit.c (_hurd_setproc): Now that happens to be - available, pass __libc_argv in call to __proc_set_arg_locations. - - * gmon/gmon.c (write_hist): Call __profile_frequency instead of - hertz. - (hertz): Delete function. - * gmon/Makefile (routines): Add `prof-freq'. - * sysdeps/generic/prof-freq.c: New file. - * sysdeps/mach/hurd/prof-freq.c: New (stubby) file. - * sysdeps/mach/hurd/profil.c (profile_tick): New variable. - (update_waiter): Store frequency in profile_tick. - (__profile_frequency): New function. - - * sysdeps/mach/hurd/sendto.c (sendto): Use prototype definition - syntax. - - * Rules (generated): Restore reference to $(generated). - - * mach/Machrules (mig.uh, mig.__h): Don't include $(user-MIGFLAGS) - here. - - * malloc/free.c (free): __lib_malloc_lock -> __libc_malloc_lock. - - * malloc/free.c: Provide extern decl of __libc_malloc_lock. - * malloc/realloc.c: Likewise. - * malloc/malloc-find.c: Likewise. - * malloc/malloc-size.c: Likewise. - * malloc/malloc-walk.c: Likewise. - * malloc/memalign.c: Likewise. - -Thu Sep 5 03:20:42 1996 Ulrich Drepper - - Change configuration and Makefiles to allow add-ons to have a - sysdeps/ directory hierachy. - * configure.in: Test for sysdeps/ directory in add-ons. Before - all test and searches in these hierachies, too. - * Makeconfig (full-config-subdirs): Define based on $(config-sysdirs). - Extend with $(..) if not absolute path. - Use $(full-config-subdirs) where $(config-sysdirs) was used. - * Makefile ($(objpfx)sysd-dirs): Use config-sysdirs. - * MakeTAGS: Use $(full-config-subdirs). - * Makerules: Change comment to libc.so link script. - (sysdirs): Define based on $(full-config-subdirs). - (sysd-Makefile): Define using config-sysdirs. - (sysd-rules): Likewise. - * sysdeps/unix/Makefile (sysd-syscalls): Define based on +sysdep-dirs. - * sysdeps/unix/make-syscalls.sh: Remove basedir argument. - -Wed Sep 4 01:32:21 1996 Andreas Schwab - - * sysdeps/m68k/fpu/k_cos.c: Rewritten for better accuracy. - * sysdeps/m68k/fpu/k_sin.c: Likewise. - * sysdeps/m68k/fpu/k_tan.c: Likewise. - -Thu Sep 5 01:06:09 1996 Richard Henderson - - * malloc/free.c (free): Protect by using __libc_malloc_lock. - * malloc/malloc-find.c (malloc_find_object_address): Likewise. - * malloc/malloc-size.c (malloc_usable_size): Likewise. - * malloc/malloc-walk.c (malloc_walk): Likewise. - * malloc/memalign.c (memalign): Likewise. - * malloc/realloc.c (realloc): Likewise. - * malloc/malloc.c: Define __libc_malloc_lock. - (_malloc_internal): Don't use `malloc'. Instead look for - `__malloc_hook' or call `_malloc_internal'. - (malloc): Protect by using `__libc_malloc_lock'. - * malloc/malloc.h: Declare `__libc_malloc_lock'. - -Mon Sep 2 22:42:59 1996 Richard Henderson - - * sysdeps/alpha/elf/start.S: Use weak_alias for __start - instead of the hard definition. - - * sysdeps/alpha/dl-machine.h (RTLD_START): Add type info for - _start and _dl_start_user. - - * sysdeps/unix/sysv/linux/alpha/init-first.h (SYSDEP_CALL_INIT): - Make _dl_starting_up weak. Add type info for NAME. - -Mon Sep 2 22:15:14 1996 Richard Henderson - - * Makefile (all): Add extra_solibs pass. - (+subdir_targets): Same. - * Rules (extra_solibs): New phony empty target for subdirs without - extra libs. - * extra-lib.mk: Build lib*.so* in extra_solibs not lib-noranlib. - * manual/Makefile: Add dummy extra_solibs target. - -Sun Sep 1 15:41:22 1996 Richard Henderson - - * Makeconfig (+link): Add $(link-extra-libs). - (link-extra-libs): New variable which expands to the full paths of - the other libraries needed by a program, as controled by LDLIBS-$(@F). - * db/Makefile: Use LDLIBS-makedb to link libdb not a dependency, as - the later attempts to install the library before linking it. - - * sysdeps/unix/alpha/sysdep.S: Align errno. - - * sysdeps/unix/sysv/linux/alpha/ioperm.c (struct platform): Add - hae_shift entry. - (io): Move bus_memory_base and sparse_bus_memory_base into struct. - (_hae_shift): New function. - * sysdeps/unix/sysv/linux/alpha/sys/io.h: New file. Prototypes - for the bus query functions. - -Sat Aug 31 18:14:54 1996 Richard Henderson - - * elf/dl-close.c (_dl_close): In static executables, map->l_prev - can be NULL when unloading a library. - - * elf/dl-open.c (_dl_open): Pass __environ instead of __libc_envp - to the library .init function. - - * sysdeps/alpha/dl-machine.h (elf_machine_rela): Since we omitted - part of the COPY reloc processing earlier, omit the rest now -- - we'll get into less trouble later when some fool does use a COPY. - - * sysdeps/unix/sysv/linux/init-first.c (init): Accept argc et al as - parameters. Move all argc and __libc_multiple_libcs calculation out - to init-first.h. Use __environ not __libc_envp. - * sysdeps/unix/sysv/linux/alpha/init-first.h: Rewrite. - * sysdeps/unix/sysv/linux/i386/init-first.h: Rewrite. - -Thu Aug 29 20:26:40 1996 Andreas Schwab - - * sysdeps/posix/profil.c (profil): Don't clobber saved timer and - signal settings when profiling was already turned on. - - * csu/gmon-start.c (__gmon_start__) [HAVE_INITFINI]: Protect from - being called twice. - -Wed Sep 4 01:31:50 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/mmap.S: Test for - 0 < return value < -4096 and not < 0 to decide about failure. - Reported by Andreas Jaeger. - -Tue Sep 3 19:04:05 1996 Ulrich Drepper - - * stdio-common/vfscanf.c (__vfscanf): Don't count EOF char - in %c format. - -Sat Aug 31 18:10:51 1996 Ulrich Drepper - - * wcsmbs/wchar.h: Define prototypes for wcstoq and wcstouq only - #ifdef __USE_GNU. - -Sat Aug 31 12:34:29 1996 Ulrich Drepper - - * version.c: Add missing newline character in banner. - - * sysdeps/unix/sysv/linux/alpha/Dist: Correct typo. - * sysdeps/unix/sysv/linux/i386/Dist: Likewise. - -Sat Aug 31 03:07:39 1996 Ulrich Drepper - - * intl/l10nflist.c (_nl_normalize_codeset): We convert to lower - case, so don't prepend uppercase `ISO' for only numeric arg. - -Wed Sep 4 16:16:13 1996 Ulrich Drepper - - * sysdeps/mach/hurd/send.c (__send): De-ANSI-fy. - * sysdeps/mach/hurd/sendto.c (sendto): Likewise. - -Tue Sep 3 11:16:07 1996 Thomas Bushnell/ n/BSG - - * shadow/lckpwdf.c (__ulckpwdf): Don't take address of LOCK in - call to __libc_lock_lock. - - * sysdeps/mach/hurd/send.c (__send): Declare BUF const. - * sysdeps/mach/hurd/sendto.c (sendto): Likewise. - - * sysdeps/stub/ustat.c: Include . - - * misc/syslog.c (vsyslog): Fix typo (`mow_tm' -> `now_tm'). - -Fri Aug 30 19:55:27 1996 Ulrich Drepper - - * libio/genops.c: Make _cleanup an alias of _IO_cleanup. - Reported by Erik Troan. - -Fri Aug 30 15:40:04 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/Dist: Add sys/procfs.h and - sys/sysmacros.h. Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>. - -Fri Aug 30 13:53:32 1996 Andreas Jaeger - - * sysdeps/unix/mman/syscalls.list: `mmap' has 6 arguments, not 5. - -Fri Aug 30 13:01:10 1996 NIIBE Yutaka - - * sysdeps/i386/fpu/__math.h (tan): Pop 1.0 in ST to get - real result. - -Fri Aug 30 03:33:33 1996 Ulrich Drepper - - * sysdeps/libm-ieee754/s_cbrtl.c: New file. `long double' - implementation. - -Fri Aug 30 13:39:21 1996 Thomas Bushnell, n/BSG - - * Makerules (BUILD_CFLAGS): Use @(common-objpfx) for config.h, not - $(..). Some rules (like sysdeps/posix/Makefile for mk-stdiolim) - do `cd' commands. - (sed-remove-objpfx): Don't substitute for $(objpfx) anymore; - $(common-objpfx) is good enough. - * Rules (common-generated): Provide default (empty) value. - (dummy.o, dummy.c, empty.o, empty.c): Put these in - $(common-generated), not $(generated), and without $(..). - (subdir_echo-distinfo): Treat $(common-generated) just like - $(generated). - (generated): Depend on the (suitably mutated) $(common-generated) - files too. - * Makerules (common-clean): Remove common-generated files too. - * sysdeps/mach/hurd/Makefile (generated): Don't put errnos.d and - stamp-errnos here. - (common-generated): Do put errnos.d and stamp-errnos here. - (rpath-link): Don't use +=; $(rpath-link) is a colon separated list. - - * sysdeps/mach/hurd/Makefile (before-compile): Add auth; also add - auth to following rule to get it built. - -Fri Aug 30 01:26:44 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/Dist: Add clone.S. - * sysdeps/unix/sysv/linux/m68k/Dist: Likewise. - * sysdeps/unix/sysv/linux/alpha/Dist: Likewise. - - * version.c: Add comment about where to report bugs to. - * catgets/gencat.c (usage): Likewise. - * db/makedb.c (usage): Likewise. - * locale/programs/locale.c (usage): Likewise. - * locale/programs/localedef.c (usage): Likewise. - - * manual/socket.texi: A little bit better wording. - -Thu Aug 29 18:03:06 1996 Ulrich Drepper - - * Makerules: Make sure directory exists before generating stamp file. - (BUILD_CFLAGS): Always refer to using $(..). - * manual/Makefile: Make sure directory exists before generating - stamp file. - (make-target-directory): Add macro definition. - * sysdeps/generic/Makefile: Make sure directory exists before - generating stamp file. - - * Makefile (distribute): Add autolock.sh. Reported by Fila Kolodny. - -Tue Aug 27 10:06:22 1996 Andreas Schwab - - When compiling in separate directory put objects into - subdirectories matching the source layout. - * Makeconfig (objpfx) [ifdef objdir]: Append $(subdir). - When looking for configparms try in $(common-objpfx). - Use $(common-objpfx)SUBDIR to find objects from other subdirectory - builds. - * Makerules: Add $(objpfx) to vpath list. - (make-dummy-dep): Use $(common-objpfx) to avoid creating dummy.d - more than once. All uses in dependency lists changed. - (+make-deps): Make target directory. - (sed-remove-objpfx): Substitute $(common-objpfx). - (do-ar, build-extra-lib, $(common-objpfx)stub-$(subdir)): Use - $(objpfx) instead of $(objdir) for cd command. - (O%-lib): Always find libc relative to $(..). - (subdir-stamps): Collect stamp files from subdirs. - (common-mostlyclean): Remove stub file in $(common-objpfx). - * MakeTAGS ($P/siglist.pot): Find siglist.c in stdio-common. - * Rules (dep-dummy-lib): Use $(common-objpfx) to avoid creating to - more than once. - ($(objpfx)dummy.c, $(objpfx)empty.c): Change target name to use - $(common-objfpx). All uses in dependency lists changed. - (generated): Prepend $(..) to names. - * bare/Makefile ($(objpfx)lib$(config-vendor).a): Remove $(objpfx) - from $@. - * nss/Makefile ($(objpfx)libnss_dns.so, $(objpfx)libnss_db.so): - Use $(common-objpfx) instead of $(..) in dependencies. - * sysdeps/mach/Makefile (mach-objpfx): Unconditionally use - $(common-objpfx) instead of $(..) and (objpfx). - * sysdeps/mach/hurd/Makefile (hurd-objpfx): Likewise. - (rpath-link): Likewise. - (rpcuserlibs): Likewise. - * sysdeps/unix/Makefile [$(subdir) = stdio-common]: Check for - errlist.c in $(objpfx), not $(common-objpfx). - ($(common-objpfx)s-proto.d): Special rule not covered by pattern - rule. - * sysdeps/unix/make-syscalls.sh: Make syscall rules depending on - s-proto.d in $(common-objpfx), not $(objpfx). - -Thu Aug 29 17:45:49 1996 Ulrich Drepper - - * nss/nsswitch.c (nss_dlerror_run): Free returned error - string. - -Thu Aug 29 15:53:33 1996 Ulrich Drepper - - * sysdeps/libm-ieee754/e_acoshl.c: New file. `long double' - implementation. - * sysdeps/libm-ieee754/e_atanhl.c: Likewise. - * sysdeps/libm-ieee754/e_remainderl.c: Likewise. - * sysdeps/libm-ieee754/e_scalbl.c: Likewise. - * sysdeps/libm-ieee754/s_asinhl.c: Likewise. - * sysdeps/libm-ieee754/s_cosl.c: Likewise. - * sysdeps/libm-ieee754/s_sinl.c: Likewise. - * sysdeps/libm-ieee754/s_tanhl.c: Likewise. - * sysdeps/libm-ieee754/s_tanl.c: Likewise. - -Thu Aug 29 00:28:08 1996 Ulrich Drepper - - * stdio-common/printf_fp.c (__printf_fp): Use default value '.' if - `decimal' char is 0. - - * C-numeric.c (not_available): New constant. - (_nl_C_LC_NUMERIC): Use `not_available' for grouping value. - - * nss/nsswitch.conf: Example configuration file. - * nss/db-Makefile: Example Makefile for generation of databases - for nss_db. - * nss/Makefile (distribute): Add nsswitch.conf and db-Makefile. - -1996-08-28 Paul Eggert - - * C-messages.c (_nl_C_LC_MESSAGES): Set yesexpr to "^[yY]" and - noexpr to "^[nN]"; this conforms to POSIX.2. - - * C-time.c (_nl_C_LC_TIME): Change %d to %e in d_t_format, to - conform to POSIX.2. - -1996-08-28 Paul Eggert - - * C-monetary.c (not_available): New constant. - (_nl_C_LC_MONETARY): Set mon_decimal_point to "", and set - mon_grouping, int_frac_digits, frac_digits, p_cs_precedes, - p_sep_by_space, n_cs_precedes, n_sep_by_space, p_sign_posn, and - n_sign_posn to CHAR_MAX, as required by the POSIX Standard. - -Wed Aug 28 23:12:28 1996 Ulrich Drepper - - * nss/nss_db/db-XXX.c: Correct function names. They must be - `_nss_db_*' instead of `_nss_files_*'. - (lookup): `parse_line' returns 1 if succesful. - * nss/nss_files/files-service.c (servbyname): Key for database - must also contain protocol names. - (servbypt): Likewise. - Test must also check for protocol. Add `proto' argument. - -Tue Aug 27 09:56:13 1996 Andreas Schwab - - * MakeTAGS ($P/subdirs.pot): Prefix all file names, not only the - first one. - -Tue Aug 27 17:45:21 1996 Ulrich Drepper - - * Makerules: Add some test for correct version of GNU Make. - - * io/fcntl.h: Undo change from Mon Aug 26 22:22:17 1996. - * sysdeps/unix/sysv/linux/fcntlbits.h: Place macros here instead. - - * sysdeps/generic/dl-sysdep.c: Initialize break address to - avoid overwriting last page (OK, Roland). - -Tue Aug 27 16:20:37 1996 Ulrich Drepper - - * resolv/resolv.h: Update from BIND-4.9.5-T3A. - * resolv/arpa/nameser.h: Likewise. - * resolv/res_init.c: Likewise. - * resolv/res_debug.c: Likewise. - * resolv/res_mkquery.c: Likewise. - -Tue Aug 27 15:47:04 1996 Ulrich Drepper - - * elf/dl-error.c (catch): Define errstring element not as const. - (_dl_catch_error): ERRSTRING argument is not const pointer. - Initialize *ERRSTRING and *OBJNAME separately. - * elf/link.h: Change prototype for `_dl_catch_error'. - - * elf/dl-load.c (_dl_map_object): Use separate variable for - copied NAME to avoid `const' warning. - - * elf/dlerror.c: Make `last_errstring' variable not const pointer. - - * elf/rtld.c: Implement reading of /etc/ld.so.preload. This - provides preloading even for SUID binaries. - Add some more casts to avoid signed<->unsigned warnings. - -Tue Aug 27 15:40:28 1996 NIIBE Yutaka - - * posix/sys/types.h: Define loff_t. - * sysdeps/unix/sysv/linux/gnu/types.h: Define __loff_t. - -Mon Aug 26 22:22:17 1996 Ulrich Drepper - - * io/fcntl.h: Add definition for BSD F* macros. - - * misc/init-misc.c (__init_misc): Make static. - * misc/Makefile: Pass -fkeep-inline-functions flag for init-misc.c. - - * configure.in: Add test for -fno-exception option of gcc. - * config.make.in: Add definition of have-no-exceptions. - * Makerules: Define no-exceptions based on have-no-exceptions. - * csu/Makefile: When translating initfini.c pass $(no-exceptions). - This is necessary for gcc >= ss-960816. - -Mon Aug 26 17:16:48 1996 Richard Henderson - - * sysdeps/alpha/dl-machine.h: Clear startup flag. - -Fri Aug 16 21:17:50 1996 Andreas Schwab - - * Makerules (o-iterator-doit): Simplify reference to autolock - script. - -Sat Aug 24 15:27:41 1996 Andreas Schwab - - * sysdeps/mach/hurd/getcwd.c - (_hurd_canonicalize_directory_name_internal): After resizing the - buffer move the current contents to the end. Correctly relocate - file name pointer to upper half of the buffer. - -Mon Aug 26 15:49:59 1996 Ulrich Drepper - - * rtld.c (dl_main): Remove code to call ld.so initializer. This - was introduced for compatibility with Linux ld.so and would not - be used anymore. Now we don't have any good values to use as the - parameters to the initializer so simply remove it. - -Sun Aug 25 18:25:52 1996 Andreas Schwab - - * gmon/gmon.c (ERR): Don't write the terminating NUL. - - * sysdeps/posix/profil.c (profil): Disable the profiling timer at - first. - (profil_count): Use 64 bit arithmethic to avoid overflow. - - * sysdeps/generic/machine-gmon.h (MCOUNT): Fix argument order. - -Mon Aug 26 16:31:33 1996 Thomas Bushnell, n/BSG - - * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Tolerate NEW - being null; in that case don't touch the timer at all (but do - return something in OLD if necessary). - -Mon Aug 26 13:35:16 1996 Thomas Bushnell, n/BSG - - * sysdeps/mach/hurd/i386/init-first.c (__libc_multiple_libcs): New - variable. - * sysdeps/i386/init-first.c: Likewise. - * sysdeps/stub/init-first.c: Likewise. - -Mon Aug 26 02:01:37 1996 Ulrich Drepper - - * elf/dl-open.c (_dl_open): Call library initializer with - correct command line arguments and environment information. - * elf/rtld.c (dl_main): Provide arguments to initializer of - ld.so itself. - -Sun Aug 25 19:15:46 1996 Ulrich Drepper - - * shadow/Makefile (routines): Add lckpwdf. - * shadow/lckpwdf.c: New file. - - * sysdeps/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Force - argument `cw' to be placed in memory. Patch by Torbjorn Granlund. - -Sun Aug 25 12:53:37 1996 Ulrich Drepper - - * configure.in: Add definition for `__eh_pc' and `__throw' in - test for --no-whole-archive. The compiler generates dependencies - for this but none of the standard librares and startup files - are used. Necessary for gcc >= ss-960816. - -Sun Aug 25 01:31:33 1996 Ulrich Drepper - - * elf/dl-error.c (_dl_signal_error): If error is catched, malloc - return string since string might be on stack. - * elf/dl-lookup.c (_dl_lookup_symbol): Undo change of - Wed Aug 21 10:14:59 1996. - * elf/dlerror.c (dlerror): Free error string after printing. - (_dlerror_run): If error string was not printed since last error - free string. - * rtld.c (dl_main): Free error string in case of error. - -Sat Aug 24 03:16:47 1996 Ulrich Drepper - - * misc/syslog.c (vsyslog): Don't use `localtime' or `gmtime' since - this changes the global state for `localtime' and `gmtime'. Use - `__localtime_r'/`__gmtime_r' instead. - * resolv/res_debug.c (__p_secstodate): Likewise. - * sysdeps/generic/ftime.c: Likewise. - * sysdeps/posix/gettimeofday.c: Likewise. - Reported by Paul Eggert. - - * time/gmtime.c: De-ANSI-fy. - * time/strftime.c: Don't call non-reentrant functions which change - state. - -Wed Aug 21 10:14:59 1996 Richard Henderson - - * elf/dl-lookup.c (_dl_lookup_symbol): Malloc the error string rather - than putting it on the stack. - -Wed Aug 21 10:12:42 1996 Richard Henderson - - * elf/rtld.c (dl_main): When looking up symbols in response to --list, - don't find .plt entries. - -Mon Aug 19 23:18:12 1996 Andreas Schwab - - * sysdeps/m68k/dl-machine.h (RTLD_START): Optimize clearing - _dl_starting_up. - -Tue Aug 20 17:42:10 1996 Miles Bader - - * stdio/linewrap.c (line_wrap_stream): Initialize D->seek. - -Sat Aug 17 12:19:37 1996 David Mosberger-Tang - - * login/pututline_r.c (__pututline_r): Fix handling of case where - getutid_r() fails with ESRCH. Reported by Miquel van Smoorenburg. - -Wed Aug 14 14:10:54 1996 David Mosberger-Tang - - * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Change entry - for "Jensen" so _bus_base() returns 0 on that platform. Use - _bus_base_sparse() to determine base address of sparse memory. - - * sysdeps/unix/sysv/linux/sys/io.h: Enclose #include - and declarations in __BEGIN_DECLS/__END_DECLS. - -Sun Aug 18 13:37:09 1996 Ulrich Drepper - - * err.h: New file. Wrapper around misc/err.h. - - Correct solution of multiple initialization problem by - Roland McGrath. - * csu/initfini.c: Remove global variable __libc_is_static. - * elf/rtld.c: Introduce new global variable _dl_starting_up. - It's nonzero during the startup. - * elf/dl-open.c (_dl_open): When _dl_start function is not - available (i.e., if in static libc) set `__libc_multiple_libcs' - to nonzero value. - * sysdeps/unix/sysv/linux/init-first.c (__libc_multiple_libc): - New global variable. - (init): Undo change of Fri Aug 2 03:12:40 1996. - Initialize `__libc_multiple_libcs' to nonzero only if this is - a shared lib called from a statically linked program and don't - call `personality' and `setfpucw' in this case either. - * sysdeps/generic/sbrk.c: Undo change of Fri Aug 2 03:12:40 1996. - Don't call brk(0) until `__libc_multiple_libcs' is nonzero. - * sysdeps/i386/dl-machine.h (RTLD_START): Clear _dl_starting_up - before jumping to user code. - * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise. - -Fri Aug 16 04:59:01 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/init-first.c: Remove hack from - Thu Aug 8 12:40:20 1996. - * sysdeps/unix/sysv/linux/Makefile [$(subdir) = csu]: Use - -fkeep-inline-functions flag instead. - -Fri Aug 16 01:24:33 1996 Ulrich Drepper - - * inet/ruserpass.c (userpass): Allocate buffer for .netrc file - name dynamically. Reported by Alan Cox. - Uncomment warnings and mark as translatable. - - * time/strftime (strftime): Add implementation for %s and %z - format. Change behaviour for unknown format character: now - simply print it. This matches the behaviour of printf. - Reported by Jim Meyering. - * manual/time.texi: Document all formats and flags of strftime. - -Thu Aug 15 18:02:51 1996 Ulrich Drepper - - * elf/rtld.c (dl_main): Loaded object has type lt_executable, - not lt_library. - - * misc/sys/select.h: Define fd_set using typedef, not #define. - Proposed by David Mosberger-Tang. - -Thu Aug 15 12:48:21 1996 Ulrich Drepper - - * po/header.pot: Use real description line. - -Thu Aug 15 04:42:44 1996 Ulrich Drepper - - * elf/rtld.c (dl_main): When started with --verify prevent - any warning. Just exit with an error. - * elf/ldd.sh.in: Don't run given object directly. This fails for - libraries. Instead use $RTLD again. - -Thu Aug 15 02:08:59 1996 Ulrich Drepper - - * manual/nss.texi: New file. Document NSS. - * manual/nsswitch.texi: New file. Example configuration. - - * manual/string.texi: Document stpncpy, strdupa, and strndupa. - * manual/example/strdupa.c: New file. Example for strdupa. - -Wed Aug 14 21:36:16 1996 Ulrich Drepper - - * stdlib/strtod.c (STRTOD): Correct assertion about size of - wint_t and wchar_t. Reported by David Mosberger-Tang. - -Mon Aug 12 22:40:16 1996 Andreas Schwab - - * elf/dl-lookup.c (_dl_lookup_symbol): Remove fifth parameter - RELOC_ADDR and make NOPLT a set of flags. All callers - changed. Delete condition that checks for resolving to the - location being filled in. Add condition to skip the - executable's symbols if requested. - * elf/link.h: Change declaration of _dl_lookup_symbol - accordingly. - (DL_LOOKUP_NOEXEC, DL_LOOKUP_NOPLT): New definitions. - * elf/dl-reloc.c (RESOLVE): Remove second parameter and rename - NOPLT to FLAGS. - * elf/dl-runtime.c (RESOLVE): Likewise. - * elf/rtld.c (RESOLVE): Likewise. - * sysdeps/m68k/dl-machine.h (elf_machine_rela): Pass - DL_LOOKUP_NOEXEC as second argument to the RESOLVE macro if - processing a copy reloc, DL_LOOKUP_NOPLT for a jump slot - reloc, zero otherwise. - * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. - * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. - * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise. - -Wed Aug 14 17:57:08 1996 Ulrich Drepper - - * MakeTAGS: Clean up use of --omit-header and -n for xgettext. - * po/header.pot: Add empty line at end. - -Sun Aug 11 13:45:33 1996 Andreas Schwab - - * MakeTAGS (all-pot): Remove $P/errlist.pot, all error messages - are now in $P/stdio-common.pot. - (XGETTEXTFLAGS-errlist.pot): Variable removed. - -Mon Aug 12 19:25:03 1996 Andreas Schwab - - * Makerules (do-ar, o-iterator-doit): Compute path to autolock - script at run time, not configure time. - * config.make.in, configure.in: Undo previous change. - -Wed Aug 14 13:20:02 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/close.S: Push return value of thread - on stack as argument for `_exit'. Reported by Andreas Schwab. - -Mon Aug 12 19:36:25 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/clone.S: New file. - -Wed Aug 14 04:22:35 1996 Richard Henderson - - * elf/dl-load.c (_dl_map_object): Save name in malloced memory. - (_dl_map_object_from_fd): Free name on error. - -Wed Aug 14 13:00:09 1996 Ulrich Drepper - - * string/strdup.c: Use result of memcpy to avoid reloading. - -Tue Aug 13 00:55:03 1996 Andreas Schwab - - * shadow/sgetspent_r.c (__sgetspent_r): Copy string to buffer, not - the other way round. - -Tue Aug 13 20:51:21 1996 Ulrich Drepper - - * stdlib/canonicalize.c (canonicalize): Add cast to prevent - warning. - - * Makerules (o-iterator-doit): Use autolock.sh when running ranlib. - -Tue Aug 13 18:26:45 1996 Ulrich Drepper - - * nss/nsswitch.c (__nss_configure_lookup): Use fact that list is - sorted. - - Update from bind-4.9.5-T1A. - * resolv/Makefile (libresolv-routines): Add base64, inet_net_ntop, - inet_net_pton, inet_net. - - * resolv/gethnamaddr.c: Include . - * resolv/getnetnamadr.c: Likewise. - * resolv/herror.c: Likewise. - * resolv/inet_addr.c: Likewise. - * resolv/nsap_addr.c: Likewise. - * resolv/res_comp.c: Likewise. - * resolv/res_data.c: Likewise. - * resolv/res_init.c: Likewise. - * resolv/res_mkquery.c: Likewise. - * resolv/res_query.c: Likewise. - * resolv/res_send.c: Likewise. - - * resolv/gethnamaddr.c [! SPRINTF_CHAR] (SPRINTF): Cast return - value of sprintf. - * resolv/inet_ntop.c: Likewise. - - * resolv/gethnamaddr.c [BSD]: Include . - Remove prototype of gethostbyname_ipv4. - - * resolv/inet_ntop.c, resolv/inet_pton.c: Use ISO C `mem*' - functions instead of BSD `b*' functions. - - * resolv/nsap_addr.c: Add copyright message. - - * resolv/res_comp.c: Remove comment explaining label format. - (res_mailok): Correct check. - - * resolv/res_debug: Include missing headers. - (__fp_nquery): Handle `unused', `ad', and `cd' bits. - (__p_fqnname): New function to print FQDN from compressed name. - (__p_rr): Use __p_fqnname. Correct printing of ". Handle T_TXT - correctly. Add handling of T_KEY and T_SIG. - Handle class and type names by using name arrays instead of - explicit `switch'es. - (__sym_ston, __sym_ntos, __sym_ntop): New functions to use arrays. - (__dn_count_labels, __p_secstodate): New functions. - - * resolv/resolv.h (__RES): Update version number. - (res_sym): New type. - Add #defines for new functions. - Declare sym_ntos, sym_ntop, b64_ntop, b64_pton, __p_fqnname, - __p_secstodate, dn_count_labels. - - * resolv/arpa/nameser.h (__BIND): Update version number. - Add KEYFLAG_* and ALGORITHM_* symbols. - (HEADER): Add `ad' and `cd' flags. - - * inet/ient.h: Add prototypes for inet_neta, inet_net_ntop, - and inet_net_pton. - - * manual/maint.texi: Document that we use bind-4.9.5. - * INSTALL: Ditto. - -Mon Aug 12 19:03:22 1996 Thomas Bushnell n/BSG - - * sysdeps/generic/gnu/types.h: Declare __fd_mask as `unsigned long'. - - * mach/Makefile (mach/mach_host.uh): Depend on - $(objpfx)/mach-syscalls.mk. - ($(objpfx)mach-shortcuts.h): Depend on $(objpfx)mach/mach_host.h. - (This fixes a make loop; thanks to Marcus Daniels - for the patch.) - -Mon Aug 12 16:41:52 1996 Thomas Bushnell n/BSG - - * io/getwd.c (getwd) [! PATH_MAX]: Don't assume that the user's - buffer is any longer than the amount necessary to hold the - filename; the Hurd getcwd uses the *entire* contents of the - buffer, however long it is specified to be. - -Mon Aug 12 04:33:09 1996 Ulrich Drepper - - * nss/nsswitch.c (__nss_database_lookup): Always release locks - before returning. Reported by Miles Bader. - -Mon Aug 12 03:31:58 1996 Ulrich Drepper - - * nss/nsswitch.c (__nss_configure_lookup): New function. - Allows to specify services. - * nss/XXX-lookup.h: Rename database variable and make global. - * nss/databases.def: New file. Real names of all databases. - - * nss/nss.h: New file. Contains declaration useful for users - and service developers. - * nss/nsswitch.h: Move some declarations to nss/nss.h. - * nss.h: New file. Wrapper around nss/nss.h. - - * nss/Makefile (headers): Add nss.h. - (distributes): Add databases.def. - -Sun Aug 11 16:19:42 1996 Ulrich Drepper - - Help the poor people with fast machines by making sure only - one `ar' commands works on the library. - * autolock.sh: New file. Written by Tom Tromey. - * Makerules (do-ar): Call autolock.sh shell script instead of - directly using `ar'. - * config.make.in: Make configuration variable AUTOLOCK which - gets initialized by configure. - * configure.in: Define variable AUTOLOCK to point to autolock.sh - script and mark it to substitute. - - * string/Makefile: Add -fno-builtin for tst-strlen.c, too. - - * sysdeps/generic/sbrk.c (__sbrk): Get kernel brk address - always only if in static libc or if statically linked program - uses libc.so. - -Sun Aug 11 01:12:38 1996 Richard Henderson - - * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Optimize LD_BIND_NOW - startup by moving Icache flush from here ... - (ELF_MACHINE_RUNTIME_TRAMPOLINE): ... to here. - (ELF_MACHINE_USER_ADDRESS_MASK): Delete; it is unused. - - * sysdeps/alpha/divrem.h: Update comment to reflect the actual - calling conventions. The code is already correct. - -Sun Aug 11 01:06:42 1996 Richard Henderson - - * string/Makefile: Compile tester with -fno-builtin as we want to - test our implementations, not gcc's. - -Sat Aug 10 13:17:27 1996 David Mosberger-Tang - - * shadow.h: New file. - - * sysdeps/unix/sysv/linux/netinet/in.h: Move - __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as - well. - - * socket/sys/socket.h [__cplusplus]: Use old-style __SOCKADDR_ARG. - g++ 2.7.2 (and earlier) has no transparent unions support. - -Fri Aug 9 18:50:06 1996 David Mosberger-Tang - - * sysdeps/unix/sysv/linux/alpha/ioperm.c (_bus_base_sparse): New - function to determine the base address of sparse bus memory. - (APECS_*): Rename to CIA_*. - (APECS_SPARSE_MEM, CIA_SPARSE_MEM): New macros. - (platform): Add sparse_bus_memory_base member and initialize. - (sparse_bus_memory_base): New variable. - -Tue Aug 6 10:23:18 1996 David Mosberger-Tang - - * sysdeps/posix/ttyname_r.c (ttyname_r), - sysdeps/posix/ttyname.c (ttyname): Return -1/NULL if - !__isatty(fd) (POSIX.1 says so.) - - * sysdeps/unix/getlogin.c (getlogin): Fix to check fd 0 only. - This is not a gross hack, after all---for compatibility, - getlogin() really should check fd 0 only and not try to base its - operation on the controlling tty. - -Wed Jul 17 10:54:20 1996 David Mosberger-Tang - - * sysdeps/unix/getlogin.c (getlogin): Add static variable NAME, - change utmp_data from static to auto. - -Sun Aug 11 02:56:08 1996 Ulrich Drepper - - * posix/unistd.h [__USE_MISC]: Add prototype for `nice'. - Reported by David Mosberger-Tang. - -Sat Aug 10 02:05:28 1996 Richard Henderson - - * sysdeps/libm-ieee754/s_isnan.c [NO_LONG_DOUBLE]: Add strong - alias to `__isnanl'. - -Fri Aug 9 17:38:58 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sys/timex.h: Include to - get `struct timeval'. - * sysdeps/unix/sysv/linux/sys/acct.h: Get time_t from . - * sysdeps/unix/sysv/linux/sys/module.h: Get size_t from . - * sysdeps/unix/sysv/linux/sys/io.h: Get definition of __P. - * sysdeps/unix/sysv/linux/sys/klog.h: Likewise. - * gmon/sys/gmon.h: Include to get u_long. - * sysdeps/unix/sysv/linux/direntry.h: Complete types in - . - * io/fts.h: Include to get dev_t. - Reported by Matthias Urlichs. - - * sysdeps/posix/tempname.c [USE_IN_LIBIO]: Don't clear - _IO_file_flags. It's the same as _flags. - Reported by Miquel van Smoorenburg . - -Wed Aug 7 19:38:47 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Add RLIMIT_AS. - -Thu Aug 8 16:17:38 1996 Ulrich Drepper - - * pwd/getpwent.c: Define BUFLEN from NSS_BUFLEN_PASSWD. - * pwd/getpwent_r.c: Likewise. - * pwd/getpwnam.c: Likewise. - * pwd/getpwnam_r.c: Likewise. - * pwd/getpwuid.c: Likewise. - * pwd/getpwuid_r.c: Likewise. - - * grp/getgrent.c: Define BUFLEN from NSS_BUFLEN_GROUP. - * grp/getgrent_r.c: Likewise. - * grp/getgrgid.c: Likewise. - * grp/getgrgid_r.c: Likewise. - * grp/getgrnam.c: Likewise. - - * pwd/fgetpwent_r.c: New file. Reentrant version of fgetpwent. - * pwd/fgetpwent.c: Rewrite to use fgetpwent_r. - * pwd/Makefile (routines): Add fgetpwent_r. - * pwd/pwd.h: Add prototypes for __fgetpwent_r and fgetpwent_r. - - * grp/fgetgrent_r.c: New file. Reentrant version of fgetgrent. - * grp/fgetgrent.c: Rewrite to use fgetgrent_r. - * grp/Makefile (routines): Add fgetgrent_r. - * grp/grp.h: Add prototypes for __fgetgrent_r and fgetgrent_r. - - Implement shadow password lookup functions. This is no complete - shadow password suite. - * shadow/Makefile: New file. - * shadow/fgetspent.c: New file. - * shadow/fgetspent_r.c: New file. - * shadow/getspent.c: New file. - * shadow/getspent_r.c: New file. - * shadow/getspnam.c: New file. - * shadow/getspnam_r.c: New file. - * shadow/putspent.c: New file. - * shadow/sgetspent.c: New file. - * shadow/sgetspent_r.c: New file. - * shadow/shadow.h: New file. - * shadow/spwd-lookup.c: New file. - * shadow/nss_files/files-spwd.c: New file. - -Thu Aug 8 13:33:45 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ftime.c: New file. Available system - call is only a stub. - Reported by Matthias Urlichs. - - * Makeconfig [!default_cflags]: Change default value from `-g' - to `-g -O'. - - * configure.in: Recognize i686. - * sysdeps/i386/i686/Implies: Default on i586 optimized code. - -Thu Aug 8 12:40:20 1996 Matthias Urlichs - - * Makeconfig [$(build-omitfp) == yes]: Add to CFLAGS-.so - value of CFLAGS-.o, not CFLAGS-o. - - * sysdeps/unix/sysv/linux/init-first.c (init): Add volatile - pointer to ourself. Otherwise `gcc -O3' optimized init away. - -Thu Aug 8 01:41:43 1996 Ulrich Drepper - - * elf/Makefile: Undo change of Tue Aug 6 14:27:11 1996. - * elf/dl-support: Add definition of `_dl_sysdep_read_whole_file'. - -Thu Aug 8 01:15:59 1996 Ulrich Drepper - - * sysdeps/i386/fpu_control.h (_FPU_DEFAULT, _FPU_IEEE): Set - to 0x137f to allow long double operations. - -Sun Aug 4 13:12:05 1996 Richard Henderson - - Bug Fixes: - - * nss/nsswitch.c (_res): Remove redundant variable definition. - The real one is in resolve/res_init.c, and having both prevents - using -fno-common when building the shared library. - * sunrpc/rpc_prot.c (_null_auth): Same. Original is in rpc_common.c. - - * sysdeps/unix/sysv/linux/alpha/brk.S: When PIC, define __curbrk as - a .bss object not a COMMON symbol. - - * sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S: Must load - $gp before referencing __sigsetjmp symbol. Retain LITUSE for same. - - Optimizations: - - * sysdeps/alpha/strlen.S: Rearrange first-word setup and thense the - main loop for better dual-issue on EV5. Rearrange binary search to - pipeline better and trim one instruction. - - Cosmetic Changes: - - * time/localtime.c (localtime_r): Move lock declaration back next to - the comment where it was before the 960724 change. - - * INSTALL, manual/maint.texi: alpha-gnu-linux -> alpha-ANYTHING-linux. - The second word is supposed to be the hardware manufacturer. - - * sysdeps/alpha/_mcount.S: Retain LITUSE for __mcount. - * sysdeps/alpha/setjmp.S: Retain LITUSE for __sigsetjmp_aux. - - * sysdeps/alpha/divrem.h: More local labels, retain LITUSE for _mcount. - - * sysdeps/alpha/alphaev5/add_n.S, sysdeps/alpha/alphaev5/lshift.S, - sysdeps/alpha/alphaev5/rshift.S, sysdeps/alpha/alphaev5/sub_n.S: - Same cleanups as with EV4 GMP stuff. - -Tue Jul 25 03:30:56 1996 Richard Henderson - - * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_routines): Add clone. - * sysdeps/unix/sysv/linux/alpha/clone.S: New file. - * sysdeps/unix/sysv/linux/i386/clone.S: New file. - -Sun Aug 4 00:12:41 1996 David Mosberger-Tang - - * sysdeps/unix/sysv/linux/gnu/types.h: Declare __fd_mask as - `unsigned long'. - - * misc/sys/select.h: Declare fd_mask as alias of __fd_mask. - -Sat Aug 3 16:20:02 1996 David Mosberger-Tang - - * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for - Mikasa. - - * socket/sys/socket.h (send, __send, sendto): Declare buffer - pointer as __const. - - * string/tester.c (main): Test stpncpy. - - * sysdeps/generic/stpncpy.c (__stpncpy): Fix so it works without - segfault when called with an N that is not a multiple of four and - src[N-1]=='\0'. - - * misc/syslog.c (LogType): New variable. - (openlog): If connect() with SOCK_DGRAM fails with EPROTOTYPE, - try again with SOCK_STREAM (the Linux syslogd uses a socket of the - latter type). - (vsyslog): When LogType==SOCK_STREAM, also send ASCII NUL - terminator as a record-delimiter. If __send(LogFile) fails, - call closelog() so logfile gets re-opened next time. - -Wed Aug 7 15:15:14 1996 Ulrich Drepper - - * elf/dl-open (_dl_open): Add cast to avoid warning. - - * manual/memory.texi: Improve some examples to give readers better - advice: Use `stpcpy' instead of `strcat' if possible. - * manual/string.texi: Document `strtok_r' and `strtok'. - - * sunrpc/Makefile: Move `+gccwarn' definition before inclusion - of Makeconfig. - [$(cross-compiling)=no]: Change test before making librpcsvc - to this from $(cross-compile). - Reported by Andreas Schwab. - -Tue Aug 6 14:27:11 1996 Ulrich Drepper - - * elf/Makefile (routines): Move dl-sysdep to here... - (rtld-routines): ...from here. This should make static linking - work again. - - * locale/setlocale.c: Add local variable `lock' and add code to - `setlocale' to avoid simultaneous changing of global data. - - * catgets/catgets.c (catopen): Use `__strdup' instead of `strdup'. - * catgets/open_catalog (__open_catalog): Use `__stpcpy', `__open', - `__fstat', `__read', `__mmap', `__munmap' and `__close' instead - of unprotected names. - -Tue Aug 6 01:13:56 1996 Ulrich Drepper - - Clean name space according to ISO C, ISO C/Amd 1, and POSIX.1. - This requires to rename several functions to use __ protected - names. - * dirent/dirent.h: Add prototypes of __opendir, __closedir, - and __readdir. - * sysdeps/mach/hurd/closedir.c: Prepend function name with __ - and make old name a weak alias. - * sysdeps/mach/hurd/getrlimit.c: Likewise. - * sysdeps/mach/hurd/opendir.c: Likewise. - * sysdeps/mach/hurd/readdir.c: Likewise. - * sysdeps/stub/closedir.c: Likewise. - * sysdeps/stub/opendir.c: Likewise. - * sysdeps/stub/readdir.c: Likewise. - * sysdeps/unix/closedir.c: Likewise. - * sysdeps/unix/opendir.c: Likewise. - * sysdeps/unix/readdir.c: Likewise. - - * sysdeps/unix/opendir.c: Call `__fcntl' instead `fcntl'. - - * sysdeps/posix/getcwd.c: Call `__opendir', `__readdir', - `__closedir' instead of unprotected names. - - * libio/filedoalloc.c (_IO_file_doallocate): Call `__isatty' - instead of `isatty' since later is not part of ISO C. - * libio/fileops.c (_IO_file_fopen): Call `__open' instead of - `open' since later is not part of ISO C. - - * login/endutent.c (endutent): Call `__endutent_r', not - `endutent_r'. - * login/endutent_r.c: Rename defined function to `__endutent_r', - make `endutent_r' weak alias. - * login/getutent.c (getutent): Call `__getutent_r', not - `getutent_r'. - * login/getutid.c (getutid): Call `__getutid_r', not `getutid_r'. - * login/getutid_r.c: Rename defined function to `__getutent_r', - make `getutent_r' weak alias. - * login/getutline.c (getutline): Call `__getutline_r', not - `getutline_r'. - * login/getutline_r.c: Rename defined function to `__getutline_r', - make `getutline_r' weak alias. - * login/pututline_r.c: Rename defined function to `__pututline_r', - make `pututline_r' weak alias. - * login/setutent.c (setutent): Call `__setutline_r', not - `setutline_r'. - * login/setutent_r.c: Rename defined function to `__setutline_r', - make `setutline_r' weak alias. - Rename `utmpname' to `__utmpname' and make former weak alias. - (__utmpname): Call `__strdup', not `strdup'. - * login/utmp.h: Add prototypes for name space clean reentrant - versions. - * sysdeps/unix/getlogin.c: Call `__ttyname_r', `__setutent_r', - and `__endutent_r' instead of unprotected names. - - * math/math.h: Add prototype for `__matherr'. - * sysdeps/libm-ieee754/k_standard.c: Call `__matherr' instead - of `matherr'. - - * nss/getXXbyYY.c: Call __ protected reentrant function. - * nss/getXXent.c: Likewise. - * nss/getXXbyYY_r.c: Define `get*' function with __ protected - name. Make usual name a weak alias. - * nss/getXXent_r.c: Likewise. - - * posix/unistd.h: Add prototype for `__ttyname_r'. - * sysdeps/posix/ttyname_r.c: Rename function to `__ttyname_r' - and make `ttyname_r' a weak alias. - - * resource/sys/resource.h: Add prototype for `__getrlimit'. - * sysdeps/stub/getrlimit.c: Prepend function name with __ - and make old name a weak alias. - * sysdeps/unix/syscalls.list: Rename system call to `__getrlimit' - and make `getrlimit' weak alias. - - * libc/stdio/stdio.h: Add prototype for `__vscanf'. - * libc/stdio/vscanf.c: De-ANSI-fy. - Rename function to `__vscanf' and make `vscanf' a weak alias. - * stdio-common/scanf.c (scanf): Use _IO_vscanf/__vscanf instead - of `vscanf'. - - * stdio-common/reg-printf.c: De-ANSI-fy. - Rename function to `__register_printf_function' and make - `register_printf_function' weak alias. - - * stdio-common/vfprintf.c: Call `__wcsrtombs' instead of - `wcsrtombs'. - - * stdlib/mbstowcs.c: Call `__mbsrtowcs' instead of `mbsrtowcs'. - * stdlib/mbtowc.c: Call `__mbrtowc' instead of `mbrtowc'. - * stdlib/wcstombs.c: Call `__wcsrtombs' instead of `wcsrtombs'. - * stdlib/wctomb.c: Call `__wcrtomb' instead of `wcrtomb'. - * wcsmbs/mbrtowc.c: Prepend function name with __ and make old - name a weak alias. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wchar.h: Add prototypes for __ protected versions. - - * sysdeps/posix/sigsetmask.c (__sigsetmask): Call `__sigprocmask' - instead of `sigprocmask'. - - - * grp/grp.h [__USE_REENTRANT]: Add prototypes for reentrant - version getgrent_r, getgrgid_r, and getgrnam_r. - * pwd/pwd.h [__USE_REENTRANT]: Add prototypes for reentrant - version getpwent_r, getpwuid_r, getpwnam_r and __ protected - names. - * resolv/netdb.h: Complete rewrite. No more BSD ugliness. - - - * misc/error.c (private_strerror): Translate messages from table, - too. - - * io/fcntl.h: Pretty printing. - * misc/fstab.h: Likewise. - * misc/ttyent.h: Likewise. - * resource/sys/resource.h: Likewise. - * string/argz.h: Likewise. - * string/envz.h: Likewise. - - Add support for symbols from POSIX.1c (POSIX threads). - * posix/getconf.c: Handle new sysconf symbols. - * posix/posix1_lim.h: Define _POSIX_TTY_NAME_MAX and - _POSIX_LOGIN_NAME_MAX with minimal maximal values. - * sysdeps/generic/confname.h: Define new symbols. - * sysdeps/posix/sysconf.c: Handle new symbols. - * sysdeps/stub/sysconf.c: Ditto. - * sysdeps/unix/sysv/linux/sysconf.c: Removed. Generic version - is ok now. - - * sunrpc/rpc/xdr.h: Move definition of type `xdrproc_t' to - have real prototype. - - * sysdeps/generic/resourcebits.h: Add macro definition for - RLIMIT_* values. Some sources test using #ifdef whether specific - limit is available. - * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Ditto. - * sysdeps/unix/sysv/linux/resourcebits.h: Removed. We need - separate files for the architectures. - * sysdeps/unix/sysv/linux/alpha/resourcebits.h: New file. - * sysdeps/unix/sysv/linux/i386/resourcebits.h: New file. - * sysdeps/unix/sysv/linux/m68k/resourcebits.h: New file. - * sysdeps/unix/sysv/linux/mips/resourcebits.h: New file. - - * sysdeps/posix/getdtsz.c: Rewrite to use `__getrlimit' function - and only default on `OPEN_MAX'. - * sysdeps/unix/sysv/sysv4/getdtsz.c: Removed. Default is already - the POSIX version. - - * time/Makefile (routines): Add ctime_r. - * time/asctime.c: Add implementation of `asctime_r'. Make - `asctime' implementation based on reentrant version. - * time/ctime_r.c: New file. - * time/time.h [__USE_REENTRANT]: Add definition of `asctime_r' - and `ctime_r'. - -Sat Aug 3 18:41:36 1996 Andreas Schwab - - * locale/C-ctype.c (_nl_C_LC_CTYPE_toupper): Fix EOF entry. - (_nl_C_LC_CTYPE): Fix ordering. - * locale/categories.def (LC_CTYPE): Add missing ctype-class32; fix - typo. - -Sat Aug 3 12:31:06 1996 Richard Henderson - - * csu/initfini.c: Discover the maximum alignment generated by the - compiler when emitting a function. - (_init): Make sure the end of the crti fragment is aligned. - (_fini): Likewise. - -Fri Aug 2 03:12:40 1996 Ulrich Drepper - - * initfini.c: (__libc_is_static): New variable. Will be - initialized in init-first.c. Some actions in the libc work - different when libc is static or dynamic. - - * sysdeps/unix/sysv/linux/init-first.c (init): Use - `__libc_is_static' variable to determine whether call to - `personality' and `setfpucw' is necessary. When done set variable - to +-1 depending on library type. - - * locale/setlocale.c (setlocale): Use global variable - `__libc_enable_secure' instead of calling `get{,e}{g,u}id()' to - determine whether it's a SET[UG]ID program. - -Fri Aug 2 14:40:22 1996 Roland McGrath - - * Version 1.93 test release. - - * manual/Makefile: Use -include for chapters-incl too. - - * Makeconfig (+link): Add back start.o, mistakenly removed in last - change. - -Fri Aug 2 01:04:02 1996 Roland McGrath - - * nss/Makefile (generated): Add db-*.c. - - * sysdeps/i386/sysdep.h: Get generic/sysdep.h explicitly instead of - using #include_next. - - * configure.in (--enable-add-ons): Quote m4 macro args. - - * elf/rtld.c (dl_main): For --verify, fail if no dynamic section. - -Thu Aug 1 14:40:03 1996 Roland McGrath - - * sunrpc/Makefile [$(cross-compile)=no]: Test before making librpcsvc. - - * Makerules (build-shlib): Add -B$(csu-objpfx) to find crt[in].o there. - - * Makeconfig (+preinit, +postinit): Prepend $(csu-objpfx) here. - (+link): Not here. - - * stdio-common/_itoa.h (_itoa_word): Declare unused to suppress - warning when inline function is elided. - * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Likewise. - (elf_machine_runtime_setup): Likewise. - * elf/dynamic-link.h (elf_get_dynamic_info): Likewise. - * sysdeps/i386/dl-machine.h (elf_machine_got): Likewise. - (elf_machine_load_address): Likewise. - - * catgets/gencat.c: Include . - - * sysdeps/unix/mk-local_lim.c (param): Add SYMLOOP_MAX/MAXSYMLINKS. - - * login/logwtmp.c (logwtmp): Call time, not __time. - - * sysdeps/gnu/utmpbits.h (_HAVE_UT_PID): New macro. - * login/login.c (login): Test [_HAVE_UT_PID] to use ut_pid member. - * login/logwtmp.c (logwtmp): Likewise. - - * sysdeps/generic/ioctl-types.h (sizeof): Define to 0 around #if - comparing ioctl macro values. - - * sysdeps/i386/sysdep.h: Do `#include_next '. - - * manual/Makefile: Use -include for chapters to suppress warning. - - * sysdeps/stub/socket.c: Fix type of TYPE arg. - * sysdeps/stub/socketpair.c: Likewise. - - * sysdeps/stub/_exit.c (_exit): Remove obsolete __NORETURN keyword. - - * sysdeps/generic/sysdep.h: New file, broken out of ... - * sysdeps/unix/sysdep.h: ... here. - (C_LABEL): Moved out. - - * Makeconfig (soversions.mk): Don't use newfangled ${x%%y} syntax; - stick to sed. Do `exit 0' at end because while returns nonzero. - - * sysdeps/i386/sysdep.h: New file, broken out of ... - * sysdeps/unix/i386/sysdep.h: ... here. Generic asm macros moved out. - - * sysdeps/stub/stdio_lim.h (L_ctermid, L_cuserid): Macros removed. - They are defined unconditionally in libio/stdio.h. - - * elf/dl-runtime.c: Include for `NULL' defn. - * elf/dl-cache.c: Likewise. - -Mon Jul 29 19:20:05 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/Makefile [$(subdir == misc] - (sysdep_headers): Add sys/sysmacros.h. - * sysdeps/unix/sysv/linux/sys/sysmacros.h: New file. - -Wed Jul 31 14:21:36 1996 Ulrich Drepper - - * termios/termios.h [__OPTIMIZE__]: Remove "optimization" for - tcgetattr. We have weak aliases now. - * stdlib/stdlib.h [__OPTIMIZE__ && __GNUC__ >= 2]: Remove - "optimizations" for random functions. - -Mon Jul 29 20:33:42 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/netinet/in.h (ntohl, ntohs, htonl, - htons) [__BIG_ENDIAN]: #undef them before defining to avoid - redefinition warning. - -Mon Jul 29 20:28:27 1996 Andreas Schwab - - * time/time.h: Don't optimize tzset() to __tzset() which bypasses - the __tzset_lock. - -Tue Jul 30 15:14:50 1996 Roland McGrath - - * sunrpc/rpc/pmap_clnt.h: Fix botched patch for multiple inclusion - protection. - -Tue Jul 30 02:48:28 1996 Ulrich Drepper - - * locale/loadlocale.c (_nl_load_locale): Change cast to `size_t' - to be 64-bit clean. - Reported by Richard Henderson . - -Tue Jul 30 15:04:50 1996 Roland McGrath - - * locale/programs/ld-collate.c (collate_output): Fix typo reported by - David Miller. - -Tue Jul 30 13:23:13 1996 Ulrich Drepper - - * locale/setlocale.c (setlocale): Don't try to free C locale - data. - Reported by Matthias Urlichs. - -Tue Jul 30 14:35:17 1996 Miles Bader - - * sysdeps/mach/hurd/dl-sysdep.c (__open): Use open_file. - (open_file): New function, contents mostly from __open. - (_dl_sysdep_read_whole_file): New function. - -Sat Jul 27 11:23:59 1996 Miles Bader - - * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Quote - `..' dots in sed search string. - -Mon Jul 29 01:27:07 1996 Roland McGrath - - * sunrpc/rpc/rpc_msg.h: Fix botched patch for multiple inclusion - protection. - -Sun Jul 28 23:46:14 1996 Roland McGrath - - * configure.in: Grok `--enable-add-ons=DIR1,DIR2,...', and configure - in those directories. - * config.make.in (add-ons): New varaible, set from @subdirs@. - * Makefile (subdirs): Added $(add-ons) at the end. - - * time/strftime.c (strftime: do_number): Initialize PRINTED to - MAXDIGITS in case P is null and so sprintf is never actually called. - -Mon Jul 29 02:46:23 1996 Ulrich Drepper - - Add support for the to-be-written internationalized regexp. - This code must be able to use collation symbols and collation - equivalent classes. - * locale/C-collate.c (_nl_C_LC_COLLATE_symbol_hash, - _nl_C_LC_COLLATE_symbol_strings, _nl_C_LC_COLLATE_symbol_classes): - New global variables for collation classes. - * locale/categories.def: Add new descriptions for collation symbols - and collation classes. - * locale/langinfo.h: Add constants for collation symbols and - collation classes. - * locale/lc-collate.c: Add new global variables for collation symbols - and collation classes. - (_nl_postload_collate): Initialize new variables. - * locale/programs/ld-collate.c: Add code to emit tables for - collation symbols and collation classes. - * locale/programs/locales.h: Change prototype for `collate_output'. - * locale/programs/locfile.c (write_all_categories): Call - `collate_output' with new argument. - * locale/localeinfo.h: Add declaration for new global vars. - (union locale_data_value): New member wstr for `wchar_t' strings. - * locale/programs/locale-spec.c: Handle `collate-classes' - keyword and print information about available collation classes. - * locale/strlen-hash.h: New file. Simple hashing function which - takes a string with known length. - * locale/Makefile (distribute): Add strlen-hash.h. - (locale-modules): New var. Additional files for `locale' program. - - * locale/C-ctype.c: Rewrite to avoid using string for giving values - which are of type `u_int32_t'. - Correct entry for EOF in toupper and tolower tables. - - * locale/loadlocale.c (_nl_load_locale): Add cast to prevent - warning. - - * locale/programs/ld-ctype.c (ctype_output): Add code to make - sure that all tables in binary file are word-aligned. - - * locale/programs/locfile.c (write_locale_data): Correct handling - of LC_MESSAGES locale. Create directory if necessary. - - * locale/setlocale.c (setlocale): Add cast to avoid warning. - - * string/string.h: Add prototype for `__strndup'. - -Wed Jul 24 19:10:00 1996 Andreas Schwab - - * wcsmbs/mbrtowc.c: Remove unused variable. - -Sun Jul 28 22:40:25 1996 Roland McGrath - - * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): Update to - 2.0.10; some problems were reported with an earlier version, and this - one is known to work. - - * sysdeps/generic/dl-sysdep.c (__libc_enable_secure): New variable. - * sysdeps/mach/hurd/dl-sysdep.c: Likewise. - -Sat Jul 27 13:02:09 1996 Ulrich Drepper - - * elf/rtld.c (dl_main): Ignore arguments when environment variable - LD_TRACE_LOADED_OBJECTS is set. - -Sun Jul 28 19:42:51 1996 Roland McGrath - - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Initialize - __libc_enable_secure instead of _dl_secure. - * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise. - * elf/dl-load.c (_dl_map_object): Check __libc_enable_secure instead - of _dl_secure. - * elf/Makefile (routines): Add enbl-secure. - (elide-routines.so): Here too. - * sysdeps/generic/enbl-secure.c: New file. - * posix/unistd.h [__USE_GNU]: Declare `__libc_enable_secure' flag. - * elf/dl-support.c (_dl_secure): Variable removed. - * elf/rtld.c: Likewise. Replace all uses with __libc_enable_secure. - -Sun Jul 28 19:26:40 1996 David S. Miller - - * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): - Declare _dl_runtime_resolve with __attribute__ ((unused)) so the - compiler doesn't elide it. - (elf_machine_rel): Follow Jul 14 change in sysdeps/i386/dl-machine.h. - -Sat Jul 27 02:58:49 1996 Roland McGrath - - * elf/rtld.c (dl_main): Take new option --verify when run directly. - In verify mode, exit with status zero iff the argument object's - PT_INTERP matches argv[0]. - * elf/ldd.sh.in: Use ${RTLD} --verify and only run the program if it - exits with zero status. This makes `ldd' secure again. - -Fri Jul 26 22:49:58 1996 Ulrich Drepper - - * elf/rtld.c (dl_main): Implement LD_TRACE_LOADED_OBJECTS - environment variable handling. This makes the dynamic linker - only print loaded libraries and quit. - - * elf/ldd.sh.in: Don't use `rtld --list' but instead - LD_TRACE_LOADED_OBJECTS environment variable to print needed - objects. - -Sat Jul 27 02:03:26 1996 Roland McGrath - - * db/makedb.c (main): Print version on stdout, not stderr. Don't exit - after printing version until after doing usage for --help. - (long_options, main, usage): Rename -l/--lowercase option to - -f/--fold-case (-f matches sort). - -Sat Jul 27 04:32:31 1996 Ulrich Drepper - - * db/makedb.c: New file. Implement program to create simple - database from textual input. This will be used for nss_db. - -Sat Jul 27 01:24:05 1996 Roland McGrath - - * sunrpc/rpc/auth_unix.h: Fix misapplied patches in last changes. - * sunrpc/rpc/pmap_clnt.h: Likewise. - * sunrpc/rpc/auth.h: Likewise. - * sunrpc/rpc/pmap_rmt.h: Likewise. - * sunrpc/rpc/rpc_msg.h: Likewise. - -Sat Jul 27 04:37:34 1996 Ulrich Drepper - - * string/string.h (strndupa): Change to use return value of - `memcpy' for more performance. - * string/strndup.c: Likewise. - - * string/string.h (strdupa): Don't call __builtin_alloca in argument. - This might lead to problems. - (strndupa): Likewise. - -Fri Jul 26 15:24:25 1996 Ulrich Drepper - - * sunrpc/rpc/auth.h: Add protection against multiple inclusion - and change K&R prototypes to ANSI prototypes. - * sunrpc/rpc/auth_unix.h: Ditto. - * sunrpc/rpc/clnt.h: Ditto. - * sunrpc/rpc/pmap_clnt.h: Ditto. - * sunrpc/rpc/pmap_prot.h: Ditto. - * sunrpc/rpc/pmap_rmt.h: Ditto. - * sunrpc/rpc/rpc_msg.h: Ditto. - * sunrpc/rpc/svc.h: Ditto. - * sunrpc/rpc/svc_auth.h: Ditto. - * sunrpc/rpc/xdr.h: Ditto. - -Fri Jul 26 20:39:42 1996 Roland McGrath - - * ctype/test_ctype.c: Test EOF too. - -Fri Jul 26 18:06:58 1996 Ulrich Drepper - - * sunrpc/rpc/auth.h: Add __BEGIN_DECLS and __END_DECLS. - * sunrpc/rpc/auth_unix.h: Likewise. - * sunrpc/rpc/clnt.h: Likewise. - * sunrpc/rpc/netdb.h: Likewise. - * sunrpc/rpc/pmap_clnt.h: Likewise. - * sunrpc/rpc/pmap_prot.h: Likewise. - * sunrpc/rpc/rpc_msg.h: Likewise. - * sunrpc/rpc/svc.h: Likewise. - * sunrpc/rpc/svc_auth.h: Likewise. - * sunrpc/rpc/xdr.h: Likewise. - - * sunrpc/rpc/pmap_clnt.h: Move definition of type `resultproc_t' - to here from... - * sunrpc/pmap_rmt.c: ...here. - -Fri Jul 26 16:10:43 1996 Miles Bader - - * login/pututline_r.c (pututline_r): Only call getutid_r if ID has a - valid ut_id field. - * login/getutid_r.c (getutid_r): Mark UTMP_DATA->loc_utmp invalid - if a search fails. - -Fri Jul 26 00:36:50 1996 Roland McGrath - - * sysdeps/mips/dl-machine.h: New file, contributed by Kazumoto Kojima - . - -Fri Jul 26 04:41:28 1996 Ulrich Drepper - - * intl/libintl.h: Define optimizing macros if __OPTIMIZE__ is - defined, not __OPTIMIZED. - (_nl_msg_cat_cntr): Move declaration outside macro definition - to prevent "nested extern" warning. - (dcgettext): Rename local variable `result' to `__result'. - -Thu Jul 25 22:46:30 1996 Roland McGrath - - * locale/programs/localedef.c (__progname): Remove decl. - (main): Use program_invocation_short_name instead of __progname. - (usage): Use program_invocation_name instead of __progname. - -Fri Jul 26 03:46:08 1996 Ulrich Drepper - - * catgets/gencat.c: Use "libc" instead of PACKAGE. - * locale/localedef.c: Ditto. - * locale/locale.c: Ditto. - - * locale/findlocale.c (_nl_find_locale): Little optimization. - Use new function `strndup'. - - * locale/loadlocale.c: Little optimization. Use constant value - from `_nl_category_num_items' instead of byte-order dependend - value from file. - - * locale/programs/ld-time.c (time_add): Correct string constant. - - * locale/programs/locale-spec.c: New file. - * locale/programs/locale.c: Call `locale_special' function if - no other field matches. - - * locale/programs/localedef.c: No need to define `program_name'. - Use global variable `__progname'. - - * locale/programs/locfile.c (write_locale_data): Always write - LC_MESSAGES data in LC_MESSAGES/SYS_LC_MESSAGES file. This is - necessary since message catalogs are also installed in the - LC_MESSAGES/ directory. - - * locale/programs/stringtrans.c (ADDC): Correctly use `encode_char' - function instead of writing single bytes. - (encode_char): Also handle little endian. - - * locale/setlocale.c (new_composite_name): Little optimization. - Use return value of `memcpy'. - - * misc/ttyent.h: Pretty print prototypes, add missing parameter - names, prepend parameter names with __ and use `__const' instead - of `const'. - * posix/unistd.h: Ditto. - * stdlib/stdlib.h: Ditto. - * string/string.h: Ditto. - - * posix/getconf.c: De-ANSI-fy. Recognize POSIX.2 constant names. - Use `error' function instead of doing it by hand. - * sysdeps/posix/sysconf.c: De-ANSI-fy. - Handle _SC_COLL_WEIGHTS_MAX. - * sysdeps/stub/sysconf.c: Handle _SC_CHARCLASS_NAME_MAX, - _SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_2_LOCALEDEF - since these do not depend on the platform. - Add POSIX.4 symbols. - - * posix/posix2_lim.h: Add missing definition of - _POSIX2_COLL_WEIGHTS_MAX. - Change _POSIX2_EQUIV_CLASS_MAX and _POSIX2_CHARCLASS_NAME_MAX - to high values since we have no fixed limit. - - * sysdeps/generic/confname.h: Add _SC_PAGE_SIZE as alias for - _SC_PAGESIZE for buggy systems (= HP UX) out there. - - * wcsmbs/Makefile (routines): Add mbsnrtowcs and wcsnrtombs. - * wcsmbs/mbsnrtowcs.c: New file. Non-standard implementation. - * wcsmbs/wcsnrtombs.c: Ditto. - * wcsmbs/wchar.h [__USE_GNU]: Add prototypes for mbsnrtowcs and - wcsnrtombs. - -Thu Jul 25 00:25:54 Richard Henderson - - * nss/nss_db/db-XXX.c: Kill trailing ; from lock defn as a matter of - course. - * nss/getXXent_r.c: Likewise. - * nss/nsswitch.c: Likewise. - * nss/nss_files/files-XXX.c: Likewise. - * sysdeps/mach/hurd/dirstream.h (struct __dirstream): Likewise. - * sysdeps/unix/bsd/telldir.c (struct record): Likewise. - * sysdeps/unix/dirstream.h (struct __dirstream): Likewise. - -Thu Jul 25 00:53:06 1996 Roland McGrath - - * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): New - macro, now put the needed Linux version just once, here; update to - needing linux-2.0.3 headers. - (libc_cv_linuxVER): New macro derived from that. - (kernel header check): Use those macros and some m4 magic to replace - hard-coded `201' and `2.0.1' in several places. - - * Makerules ($(libdir)/libc.so): Fix typos in generated comment. - -Wed Jul 24 17:02:30 1996 Ulrich Drepper - - * time/localtime.c: Move lock variable declaration to end of - variable declarations since if is a dummy macro the ; at the - end terminates the variable section of the function. - - * time/tzset.c: Undefine `tzset' before function declaration. - Use `weak_function' macro instead of `weak_symbol'. - -Wed Jul 24 18:57:33 1996 Ulrich Drepper - - * stdlib/strtouq.c: Additional weak alias is `strtoull', not - `strotull'. - -Wed Jul 24 18:26:23 1996 Ulrich Drepper - - * locale/C-ctype.c: Increment number of fields after change - from Wed Jun 19 03:24:58 1996. - -Tue Jul 23 18:13:37 1996 Roland McGrath - - * sysdeps/mach/hurd/Makefile (rpcuserlibs): New variable. - ($(common-objpfx)libc.so): Move deps into that, use it. - [$(subdir) = elf] ($(objpfx)librtld.so): Depend on - $(rpcuserlibs:.so=_pic.a). - * elf/Makefile ($(objpfx)librtld.so): Just depend on libc_pic.a; don't - use $(LDLIBS-c.so). - -Thu Jul 18 21:41:25 1996 Andreas Schwab - - * sysdeps/generic/stpncpy.c: Fix semantics to make `stpncpy (d, s, - n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'. - -Tue Jul 23 02:49:58 1996 Ulrich Drepper - - * locale/iso-4217.def: Add India to comment for symbol "INR ". - Reported by Raja R Harinath . - -Sat Jul 20 14:03:45 1996 Andreas Schwab - - * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove bogus - #undef RESOLVE. - -Sun Jul 21 06:48:38 1996 Roland McGrath - - * time/tzset.c: Include . - (__tzset_lock): New lock variable. - (tzset): New function (weak defn), no longer weak alias for __tzset. - Call __tzset while holding __tzset_lock. - * time/localtime.c: Include . - (__localtime_r): Hold __tzset_lock while doing the work. - - * sysdeps/generic/setenv.c (__environ): Change conditional for #define - from [!HAVE_GNU_LD] to [!_LIBC]. - [_LIBC]: Include and define a lock. - (LOCK, UNLOCK): New macros, no-ops for [! _LIBC]. - (setenv, unsetenv): Use them. - -Sun Jul 21 01:44:39 1996 Miles Bader - - * locale/programs/locfile.c (write_locale_data): Deal with missing - UIO_MAXIOV. - - * sysdeps/mach/hurd/socket.c (socket): Make TYPE an int. - * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise. - -Sat Jul 20 21:55:31 1996 Roland McGrath - - Win32 hacks from . - * posix/glob.c [WIN32]: Don't include ; don't use d_ino; - use void * for my_realloc; include for alloca. - (glob) [WIN32]: Use "c:/users/default" for ~ if no HOME variable. - * posix/fnmatch.h [WIN32]: Use prototypes even if [!__STDC__]. - * posix/glob.h: Likewise. - -Sat Jul 20 13:28:52 1996 Miles Bader - - * sysdeps/mach/hurd/select.c (__select): Don't poll on the last - call __io_select unless there's only a single descriptor, as each - descriptor now has its own reply port. - If there is only a single descriptor, just use its reply port for - everything and don't bother creating the port set. - - * sysdeps/mach/hurd/uname.c (uname): Deref UNAME to get nodename. - : New include. - - * sysdeps/mach/libc-lock.h (__libc_lock_define): Backslashify - continuation line. - -Sat Jul 20 07:15:33 1996 Roland McGrath - - * crypt/Makefile, crypt/nocrypt.c: Removed. It is illegal to export - from the USA any software that even makes it easy to drop in an - encryption module of foreign origin. - * Makerules (cryptobjdir): Variable removed. - ($(libdir)/libc.so): Remove dep on libcrypt.so$(libcrypt.so-version). - * Makefile (subdirs): Remove crypt. - -Fri Jul 19 15:45:20 1996 Ulrich Drepper - - * locale/C-messages.c (_nl_C_LC_MESSAGES): Add missing Kleene - operator to yesexpr and noexpr string. - -Fri Jul 19 15:10:37 1996 David Mosberger-Tang - - * sunrpc/xdr_mem.c (xdrmem_putlong): Don't cast LP to int32 (the - old code would have failed on a big-endian 64-bit architecture). - * sunrpc/xdr_stdio.c (xdrstdio_putlong): Ditto. - - * sunrpc/xdr.c (xdr_int): Handle XDR_FREE case. - (xdr_u_long): Use switch instead of chain of if-statements. - Remove gratitous parentheses around return expressions. - (xdr_enum): Open code case where INT_MAX - - * dlfcn.h, db.h: New wrapper headers. - - * posix/glob.h [!_AMIGA && !VMS]: Check this instead of just [!_AMIGA] - for `struct stat;' forward decl. - -Fri Jul 19 22:25:19 1996 Ulrich Drepper - - * locale/iso-4217.def: Add some more standardized currency - symbols. - -Fri Jul 19 13:18:02 1996 Roland McGrath - - * hurd/report-wait.c (describe_number): Use unsigned long int for J. - -Thu Jul 18 12:33:57 1996 Roland McGrath - - * Rules (dummy.o, empty.o): Targets removed. - (dummy.c, empty.c): New targets replace them. - -Thu Jul 18 11:42:39 1996 Roland McGrath - - * crypt/Makefile (lib-noranlib): Depend on - $(objpfx)libcrypt.so$(libcrypt.so-version). - (subdir): Fix name. - -Thu Jul 18 04:33:21 1996 Roland McGrath - - * sysdeps/mach/hurd/errnos.awk: Move EWOULDBLOCK check before errno==0 - check. mib's clueless hacking broke it. - -Thu Jul 18 04:27:21 1996 Roland McGrath - - * Makerules ($(libdir)/libc.so): Add missing / after $(cryptobjdir). - -Wed Jul 17 10:54:20 1996 David Mosberger-Tang - - * misc/sys/ustat.h: New file. - * misc/ustat.h: Ditto. - * sysdeps/generic/ustatbits.h: Ditto. - * sysdeps/stub/ustat.c: Ditto. - * sysdeps/unix/sysv/linux/ustatbits.h: Ditto. - * misc/Makefile (headers): Mention ustat.h, sys/ustat.h, and - ustatbits.h. - (routines): Mention ustat. - - * sysdeps/unix/sysv/linux/alpha/start.S: Move to ... - * sysdeps/alpha/elf/start.S: here. - - * sysdeps/unix/sysv/linux/syscalls.list: Mention klogctl in - alphabetically correct place. Mention ustat. - - * sysdeps/unix/alpha/sysdep.S: Make errno a bss symbol, not a - common symbol (makes errno accessible from gdb). - - * login/pututline_r.c (pututline_r): Test ut_id in repositioning - test, not ut_type. - - * login/logwtmp.c (logwtmp): Reimplemented. Must ensure that a - record always gets appended at end of file (wtmp is a log file, - after all). Set ut_type to DEAD_PROCESS if name is empty. - - * login/getutid_r.c (getutid_r): Handle search for UT_TYPE in - separate loop from search for UT_ID. Fix code so it is in - sync with Unix man page. - - * login/getutline_r.c (getutline_r): Stop searching only if - ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS. - -Tue Jul 16 15:06:18 1996 David Mosberger-Tang - - * sysdeps/unix/sysv/linux/netinet/in.h: Base on to - avoid duplicate declarations. - -Sun Jul 14 19:08:55 1996 David Mosberger-Tang - - * manual/maint.texi (Supported Configurations): Add alpha-gnu-linux - and alpha-gnu-linuxecoff targets. - -Fri Jul 12 16:58:44 1996 David Mosberger-Tang - - * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport(). - -Sat Jun 22 23:30:07 1996 David Mosberger-Tang - - * resolv/res_send.c (res_send): Declare FROMLEN as size_t instead - of int. - - * resolv/res_comp.c (res_hnok): Use empty statement in place - of NULL (which generates a "useless expression" warning in - gcc). - -Wed Jul 17 23:56:35 1996 Roland McGrath - - * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Replace ../ - with $(..) in output. - -Wed Jul 17 21:53:45 1996 Roland McGrath - - * elf/Makefile (dl-routines): Add dl-cache. - * elf/dl-cache.c: New file. - * elf/dl-load.c (_dl_map_object): Check cache before default path. - -Wed Jul 17 20:41:30 1996 Ulrich Drepper - - * stdio-common/vfscanf.c: Major change. Now read character - from stream only if needed. Before it was read after the - previous character was used. - Bug reported by Martin Goik - - * stdio-common/tstscanf.c: Change test program so that return - value is != 0 if one test failed. - -Wed Jul 17 17:08:48 1996 Roland McGrath - - * sysdeps/m68k/Makefile (crypt): Variable removed. - * sysdeps/sparc/Makefile: Likewise. - - * version.h (VERSION): Update to 1.93. - - * Makerules ($(libdir)/libc.so): Depend on - $(common-objpfx)libcrypt.so$(libcrypt.so-version). - - * crypt/nocrypt.c: New file. - * Makefile (subdirs): Add crypt. - * crypt/Makefile: New file. - - * Makerules (soversions.mk): Move this target, include of it, and - include of version.mk to ... - * Makeconfig: ... here. - (soversions.mk): Depend on Makeconfig instead of Makerules. - - * shlib-versions (*-*-*): Set libcrypt=0. - -Wed Jul 17 11:29:26 1996 Miles Bader - - * stdio/linewrap.c (lwupdate): Fix boundary condition where a - word extends right up to rmargin. - - * stdio/linewrap.c (lwupdate): When we've done a word wrap and - output the wrap margin, set point_col to wmargin. - Use negative point_col to deal with a wmargin of 0. - (line_wrap_point): Return 0 for a negative point_col. - (line_wrap_stream): Make wmargin ssize_t. - * stdio/linewrap.h (struct line_wrap_data): Make wmargin & - point_col ssize_t. - (line_wrap_stream): Make wmargin ssize_t. - (line_wrap_point): Return 0 for a negative point_col. - -Wed Jul 17 02:43:28 1996 Roland McGrath - - * shlib-versions (*-*-gnu*): Set libc=0.0 - -Tue Jul 16 01:52:42 1996 Andreas Schwab - - * sysdeps/m68k/dl-machine.h: Follow Jul 14 change in - sysdeps/i386/dl-machine.h. - -Tue Jul 16 00:18:19 1996 Miles Bader - - * stdio/linewrap.c (__line_wrap_update): Add hackery from flshfp - to fiddle __put_limit in conjunction with __linebuf_active. - -Tue Jul 16 00:14:07 1996 Andreas Schwab - - * sysdeps/unix/inet/syscalls.list (connect, send): Add underscores - to the strong name, not the file name. - -Tue Jul 16 16:43:58 1996 Roland McGrath - - * csu/initfini.c: More magic. Detect if .end is produced and put it - in the output iff the compiler does. - - * elf/dl-lookup.c (_dl_lookup_symbol): Avoid sizeof dynamic auto array - because that is broken on alpha. - - * sysdeps/mach/hurd/mmap.c: Use same inheritance arg in second vm_map - call as in first. - - * Makerules (make-link): Install the new link with atomic mv -f in - case ln itself requires the library being installed. - -Tue Jul 16 00:31:31 1996 Richard Henderson - - * sysdeps/alpha/dl-machine.h: Mirror Roland's changes to - i386/dl-machine.h of 960713. - - * sysdeps/generic/dl-sysdep.c: Include . - (_dl_sysdep_read_whole_file): Fix result variable declaration. - -Tue Jul 16 00:53:57 1996 Roland McGrath - - * sysdeps/mach/hurd/uname.c: Call __gethostname to fill in the - `nodename' member. - -Mon Jul 15 17:23:53 1996 Ulrich Drepper - - * stdio-common/vfprintf.c (vfprintf): Call parse_one_spec - with pointer to local variable instead of NULL. - -1996-07-15 Paul Eggert - - * time/strftime.c (strftime): Don't pass empty macro argument to `add'. - -Sat Jul 13 09:53:39 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove names - that are already added by other means. - - * sysdeps/unix/sysv/linux/syscalls.list: Add more EXTRA's in the - caller column to get those syscalls added automagically. - -Mon Jul 15 12:24:54 1996 Miles Bader - - * login/logout.c (logout): Initialize DATA to a state that will - make setutent_r happy. - -Sun Jul 14 01:51:39 1996 Roland McGrath - - * elf/rtld.c (dl_main) [ELF_MACHINE_DEBUG_SETUP]: Use this macro - instead of setting the DT_DEBUG pointer. - - * csu/initfini.c (_init, _fini): Generate .end directives after - standalone prologues and filter them out from epilogues. - - * Makeconfig (rtld-installed-name): Set to ld.so.1. - * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): Variable - removed. - - * manual/Makefile (glibc-targets): Remove subdir_ from elts. - - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): New fn. - - * MakeTAGS (extract): Pass --add-comments=TRANS. - * sysdeps/gnu/errlist.awk: Write comments into the output with the - descriptive paragraphs from the manual preceded by TRANS. - - * elf/rtld.c (RESOLVE): Use the dl's load address, not a constant zero! - (_dl_start): Move RESOLVE defn inside this function and #include - "dynamic-link.h" a second time there. - [RTLD_START]: Move use of this after _dl_start function. - - * elf/dl-reloc.c: Include "dynamic-link.h" at file scope. - - * elf/rtld.c: Include . - - * elf/dynamic-link.h (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA, - ELF_DYNAMIC_RELOCATE): No longer take RESOLVE argument. - Conditionalize defns on [RESOLVE]. - * elf/do-rel.h (elf_dynamic_do_rel): Likewise. - * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. - Instead use RESOLVE macro with same args. - (elf_machine_rel): Conditionalize defn on [RESOLVE]. - * elf/dl-reloc.c (RESOLVE): New macro, define before including - "dynamic-link.h". It replaces `resolve' local function. - * elf/dl-runtime.c: Likewise. - * elf/rtld.c: Likewise. - - * elf/dl-deps.c (_dl_map_object_deps): Start TAILP at last preload. - - * elf/dl-open.c (_dl_open): Force an indirect call for - _dl_relocate_object so there is no chance a PLT fixup will be done - and clobber _dl_global_scope before our call happens. - - * sysdeps/i386/fpu/__math.h (tan): Correct output constraint from =u - to =t; must operate on top of fp reg stack, not second from top. - Correct input constraint to 0 from t; must be explicit when input and - output are the same register. - (floor): Use __volatile instead of volatile. - (ceil): Likewise. - - * manual/Makefile ($(objpfx)stamp%-$(subdir)): Separate rule from - other targets. - -Sat Jul 13 23:50:17 1996 Roland McGrath - - * manual/Makefile (lib): New phony target. Depend on stamp files. - ($(objpfx)stamp%-$(subdir)): New rule to create them when necessary. - -1996-07-13 Paul Eggert - - * time/strftime.c (strftime): Use space padding for %e, %k, %l, - to match Emacs format-time-string specification. - (DO_NUMBER_SPACEPAD): Renamed from DO_NUMBER_NOPAD. - -Sat Jul 13 20:17:38 1996 Roland McGrath - - * elf/dl-deps.c (_dl_map_object_deps): Take new args PRELOADS and - NPRELOADS, vector of `struct link_map *'s; add them to the searchlist - between MAP and its deps. - * elf/link.h: Fix decl. - * elf/rtld.c (dl_main): If not secure, parse LD_PRELOAD for - colon-separated list of names, map those and pass vector of ptrs as - PRELOADS list to _dl_map_object_deps. - * elf/dl-runtime.c (_dl_object_relocation_scope): Pass new args to - _dl_map_object_deps with empty preload list. - * elf/dl-open.c (_dl_open): Likewise. - - * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): Function - removed. - (__mmap): Pass MACH_PORT_NULL for memobj port when (flags & MAP_ANON). - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill): - Conditionalize defn on [! MAP_ANON]. - * elf/dl-minimal.c (malloc): Conditionalize use of _dl_zerofd - on [! MAP_ANON]. - * elf/rtld.c (dl_main): Likewise. - * elf/dl-load.c (_dl_zerofd): Conditionalize defn on [! MAP_ANON]. - (_dl_map_object_from_fd): Conditionalize initialization of _dl_zerofd. - - * elf/dl-fini.c (_dl_fini): Skip finalizer for executable itself. - -Sat Jul 13 02:47:53 1996 David Mosberger-Tang - - * stdlib/random.c (__random): Declare as int32_t to be in sync - with declaration. - - * socket/Makefile (headers): Add socketbits.h. - - * misc/mntent.c (endmntent): Allow for NULL stream. SunOS does - it that way. - - * grp/initgroups.c (initgroups): Add groups that user is a member - of, not the ones he is _not_ a member of. - - * nss/nsswitch.c (known_compare): Make known_compare() a static - instead of a local function. The latter are difficult to debug - and slow to execute on certain platforms. - - * sysdeps/posix/ttyname_r.c (ttyname_r): Use sizeof (dev) - 1 in - place of sizeof (dev). The size of a literal string includes the - NUL byte. - - * sysdeps/unix/getlogin.c (getlogin): Initialize ut_fd with -1. - -Thu Jul 11 16:59:10 1996 David Mosberger-Tang - - * misc/mntent.c (addmntent): Seek to end of file before writing - entry. Return 1 on error, not -1. - -Tue Jul 9 19:08:05 1996 David Mosberger-Tang - - * sysdeps/unix/sysv/linux/syscalls.list: Mark bdflush as EXTRA - syscall. - -Fri Jul 5 18:44:55 1996 David Mosberger-Tang - - * sysdeps/unix/sysv/linux/alpha/ioperm.c (port_to_cpu_addr): Size - shift amount for Jensen must be 5 not 4. - -Sat Jul 13 20:04:28 1996 Roland McGrath - - * socket/sys/socket.h (struct osockaddr): New type. - -Sat Jul 13 03:50:53 1996 Ulrich Drepper - - * misc/Makefile (routines): Add qefgcvt and qefgcvt_r. - * misc/efgcvt.c, misc/efgcvt_r.c: Change code so that the `double' - and `long double' versions can be generated. - * misc/qefgcvt.c, misc/qefgcvt_r.c: New files. Define macros - so that included efgcvt{,_r}.c file generate `long double' - versions. - * stdlib/stdlib.h: Add prototypes for q[efg]cvt() and q[ef]cvt_r() - functions. - - * manual/startup.texi: Document new getsubopt function. - * manual/examples/subopt.c: New example program for documenting - getsubopt function. - -Fri Jul 12 23:58:37 1996 Ulrich Drepper - - * stdlib/Makefile (routines): Add getsubopt. - * stdlib/stdlib.h: Add prototype for getsubopt. - * stdlib/getsubopt.c: New file. Implement getsubopt function - to handle suboption parsing. - -Thu Jul 11 20:09:55 1996 Roland McGrath - - * inet/getnetent_r.c: Define NEED_H_ERRNO. - * inet/getnetbynm_r.c: Likewise. - * inet/getnetent.c: Likewise. - * inet/getnetbyad_r.c: Likewise. - * inet/getnetbyad.c: Likewise. - * inet/getnetbynm.c: Likewise. - - * sysdeps/generic/pselect.c: Include . - - * misc/sys/select.h: Include instead of for - `struct timespec'. - - * math/Makefile (calls): Add s_frexp, s_ldexp. - (routines): Remove them and &f from here. - - * sys/socket.h: New file, wrapper for socket/sys/socket.h. - - * nss/nss_files/files-service.c (getservbyname): Take second arg PROTO - and check it. - - * nss/nss_files/files-XXX.c: Comment fix. - -Fri Jul 12 01:28:35 1996 Ulrich Drepper - - * nss/getXXent_r.c (GETFUNC_NAME_STRING): Define with name - of reentrant function. - (setup): Pass additional argument with function name we are - looking for. - (SETFUNC_NAME, ENDFUNC_NAME, GETFUNC_NAME): Call setup with - new argument {SET,END,GET}FUNC_NAME_STRING. - - * nss/getXXent.c (GETFUNC_NAME): RESULT must be static because - we return a pointer. - -Thu Jul 11 18:20:44 1996 Roland McGrath - - * nss/nss_files/files-parse.c: Add comment about things to #define. - - * nss/nss_files/files-hosts.c (NEED_H_ERRNO): Define it. - - * nss/nss_files/files-parse.c (STRING_FIELD): Don't flag NUL before - terminator char as an error. - - * nss/getXXbyYY_r.c (REENTRANT_NAME): Set *H_ERRNOP, not h_errno. - -Thu Jul 11 03:21:10 1996 Ulrich Drepper - - * catgets/gencat.c (write_out): Move code to determine new - best size out of inner loop. - -Thu Jul 11 00:22:40 1996 Ulrich Drepper - - * sysdeps/libm-ieee754/s_frexpl.c: New file. `long double' - implementation of frexp() function. - * sysdeps/libm-ieee754/s_ldexpl.c: New file. `long double' - implementation of ldexp() function. - - * sysdeps/libm-i387/s_isnanl.c (isnanl): Mask explicit one - out before or'ing. + * po/fr.po: Update. + * po/nl.po: Update. -Wed Jul 10 05:24:40 1996 David Mosberger-Tang + * 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. - * misc/mntent.c: Include . - (endmntent): Return 1 one success, 0 on failure. - (getmntent): Chop newline and ignore empty lines. + * 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. -Mon Jul 8 21:18:40 1996 Andreas Schwab +1997-02-03 02:17 Ulrich Drepper - * sysdeps/m68k/dl-machine.h (RESOLVE): New macro, defined - differently based on [RTLD_BOOTSTRAP]. - (elf_machine_rela): Use it instead of the fn ptr arg directly. + * 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. -Tue Jul 9 09:37:55 1996 Roland McGrath +1997-02-02 12:13 H.J. Lu - * posix/glob.h (__glob_opendir_hook, __glob_readdir_hook, - __glob_closedir_hook): Remove decls. + * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as + action. - * sysdeps/generic/machine-gmon.h: Declare mcount_internal. + * Makefile (install): Pass installation directories as arguments + to ldconfig. - * sysdeps/unix/inet/syscalls.list: Define __ names with weak aliases - for send and connect syscalls. +1997-02-02 23:15 Ulrich Drepper - * socket/sys/socket.h: New file, taken from non-sysdep parts of - linux/sys/socket.h; break sysdeps parts out into socketbits.h. - Declare __ names for send and connect. - * sysdeps/generic/socketbits.h: New file. - * sysdeps/unix/sysv/linux/socketbits.h: New file. - * sysdeps/unix/sysv/linux/sys/socket.h: File removed. - * sysdeps/generic/sys/socket.h: File removed. + * 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. - * sysdeps/mach/hurd/connect.c: Define __ name and weak alias. - * sysdeps/mach/hurd/send.c: Likewise. +1997-02-02 23:00 Marcus G. Daniels - * sysdeps/mach/libc-lock.h: New file. - * sysdeps/unix/readdir.c: Do locking. - * sysdeps/unix/seekdir.c: Likewise. - * sysdeps/unix/rewinddir.c: Likewise. - * sysdeps/unix/closedir.c: Likewise. - * sysdeps/unix/bsd/telldir.c: Likewise. - * sysdeps/mach/hurd/seekdir.c: Likewise. - * sysdeps/mach/hurd/readdir.c: Likewise. - * sysdeps/mach/hurd/closedir.c: Likewise. - * sysdeps/mach/hurd/opendir.c: Initialize the lock. - * sysdeps/unix/opendir.c: Likewise. - * sysdeps/mach/hurd/dirstream.h: Include . - (struct __dirstream): Add lock member using __libc_lock_define. - * sysdeps/unix/dirstream.h: Likewise. + * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by + #ifndef NO_THREADS. + (mallinfo): Likewise. - * sysdeps/stub/libc-lock.h (__libc_lock_fini): New macro. + * malloc/malloc.c (__morecore): Make external since it is used in + programs. - * stdlib/mbstowcs.c: Pass address of pointer to mbsrtowcs. +1997-02-02 15:10 Ulrich Drepper - * stdlib/wcstombs.c: Use wcsrtombs instead of mbsrtowcs. + * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field + unsigned. -Thu Jul 4 01:34:04 1996 Ulrich Drepper +1997-02-01 23:36 Richard Henderson - * locale/programs/stringtrans.c: Fix typo in copyright. + * 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. - * stdio-common/printf-prs.c: Add casts to prevent - signed<->unsigned warnings. +1997-01-31 15:05 John Bowman - * stdio-common/printf-parse.h: Initialize state variable before - calling mbrlen. - * stdio-common/printf-prs.c: Don't initialize state variable here. - * stdio-common/vfprintf.c: Don't initialize state variable. - (vfprintf): While determining length of multibyte string don't - try to be clever in determining characters to use for first - call. + * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes + using __ prefix. Add prototype for log1p. - Add real implementation of multibyte<->wide char conversion - functions. The functions always convert between the fixed wide - char format (ISO 10646 in UCS4) and the UTF8 representation of - this character set. Conversion between the currently used - 8bit character set and ISO 10646 will not take place. This is - what iconv() is for. - * wcsmbs/wchar.h (mbstate_t): Define as structure to replace - dummy definition. - Add optimized version of `mbrlen' function. - * wcsmbs/btowc.c (btowc): Restrict range of legal characters - to 0...0x7f. - * wcsmbs/wctob.c (wctob): Restrict range of legal characters - to 0..0x7f. - * wcsmbs/mbrlen.c: Make mbrlen a weak alias of __mbrlen. - This is needed in the wchar.h header. - * wcsmbs/mbrtowc.c: Replace dummy implementation. Convert UTF8 - encoded character to UCS4. - * wcsmbs/mbsinit.c: Replace dummy implementation. Test COUNT - element of `mbstate_t' for initial state. - * wcsmbs/mbsrtowcs.c: Replace dummy implementation. Convert UTF8 - encoded string to UCS4 string. - * wcsmbs/wcrtomb.c: Replace dummy implementation. Convert UCS4 - character to UTF8 encoded form. - * wcsmbs/wcsrtombs.c: Replace dummy implementation. Convert UCS4 - encoded string to UTF8 encoded form. +1997-02-02 00:39 Ulrich Drepper -Tue Jul 9 06:19:29 1996 Roland McGrath + * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE. - * sysdeps/unix/sysv/linux/configure.in: Use version number in cache - variable name, so new a libc with new requirements won't fail to - notice an insufficient Linux version. +1997-02-01 17:04 Philip Blundell - * sysdeps/unix/sysv/linux/direntry.h: New file from David Mosberger. + * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition. - * sysdeps/unix/sysv/linux/configure.in: Check for Linux 2.0.1 headers, - instead of 2.0 headers. +1997-02-01 17:00 Ulrich Drepper - * sysdeps/mach/hurd/Makefile (stamp-errnos): Uncomment CVS commit cmds. + * 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 . - * sysdeps/gnu/errlist.awk: Undo mib's bogus changes. The - sysdeps/mach/hurd/errnos.awk bug fix was the only correct change. +1997-02-01 12:34 Ulrich Drepper - * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Declare _mcount - before using it in lhs of weak_alias. + * time/strftime.c: Define _strftime_copytm without protecting arguments + which breaks the definition. - * nss/getXXent_r.c (setup): New function, broken out of SETFUNC_NAME. - Call __nss_lookup when not setting STARTP. - (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Call it to set up for - function-calling loop. +1997-02-01 03:31 Thorsten Kukuk -Tue Jul 9 00:14:52 1996 Michael I. Bushnell p/BSG + * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after + definition of type for element. - * sysdeps/mach/hurd/ioctls.h (MDMBUF, ECHO, TOSTOP, FLUSHO, - PENDIN, NOFLSH): Undefine these at start if they are already - defined to avoid collision with termbits.h. - * sysdeps/generic/termbits.h (ECHO, TOSTOP, NOFLSH): Likewise. - (MDMBUF, FLUSHO, PENDIN) [__USE_BSD]: Likewise. +1997-02-01 03:28 Philip Blundell -Mon Jul 8 13:37:40 1996 Roland McGrath + * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_* + constants. - * math/math.h (_Mfloat_, _Mlong_double_): New macros, defined iff not - already defined to float, long double. Use those macros for _Mdouble_ - defns when including mathcalls.h. - * math/Makefile [$(long-double-fcts) != yes] (CPPFLAGS): Append - -D_Mlong_double_=double. +1997-02-01 03:09 H.J. Lu - Add more -lm functions to -lc because ldexp uses them. - * math/Makefile (calls): Add s_finite, s_copysign, s_scalbn, s_modf. - (routines): Remove s_modf, add s_frexpf, s_ldexpf; all but frexp and - ldexp have both f and l code, and those have f though not l code. + * Makefile: Pass PARALLELMFLAGS to sub-makes. + * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile. -Mon Jul 8 13:10:50 1996 Michael I. Bushnell p/BSG +1997-01-31 Paul Eggert - * sysdeps/mach/hurd/errnos.awk: Skip entries where the - error is 0. The "placeholder" entries recently added to - errno.texi convert to zero since `???/' is at the front of them. - * sysdeps/gnu/errlist.awk (errnoh): Likewise. + * time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS): + Define if _LIBC is defined. + : Include if HAVE_LIMITS_H instead of if + __STDC__ || __GNU_LIBRARY__ || STDC_HEADERS. + : Similarly, include if STDC_HEADERS. + (localtime_r): Redo #ifdef to make it clear that glibc has + localtime_r now. - * sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm - __const to conform with unistd.h. +1997-02-29 20:08 Andreas Schwab - * stdlib/stdlib.h (random): Declare return type to be int32_t. + * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp + file to avoid unnecessary recompilation. - * string/argz-delete.c (argz_delete): Use memmove instead of - memcpy for possibly overlapping strings. +1997-01-29 19:33 Andreas Schwab -Mon Jul 8 02:14:25 1996 Roland McGrath + * 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. - * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_alias): Use extern - storage class. GCC gives an error for non-extern data defns with the - alias attribute. +1997-01-30 18:29 Richard Henderson -Mon Jul 8 01:37:34 1996 Michael I. Bushnell, p/BSG + * malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned + to prevent warnings on 64 bit systems. + Reported by Paul Wouters . - * string/argz-insert.c (__argz_insert): (__argz_insert): Use - memmove instead of memcpy for possible overlapping strings. + * sysdeps/alpha/dl-machine.h: Revert check for broken gas. By default + we assume it works. -Mon Jul 8 00:11:15 1996 Roland McGrath +1997-01-30 03:24 Ulrich Drepper - * libc-symbols.h (weak_function): New macro. - For GCC 2.7+ define as __attribute__ ((weak)). - * elf/dl-minimal.c: Use weak_function as keyword in function defns - instead of weak_symbol (NAME) after the defn. - * stdlib/strtol.c: Likewise. - * stdlib/strtod.c: Likewise. - * sysdeps/mach/hurd/dl-sysdep.c: Likewise. + * 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 . - * sysdeps/alpha/dl-machine.h (elf_machine_rela) [RTLD_BOOTSTRAP]: - If this is defined, don't declare _dl_rtld_map as weak, and - don't check for MAP pointing to it. RESOLVE is always null in this - case, so test with #ifdef instead of if. + * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51. + Patch by HJ Lu. - * libc-symbols.h (symbol_set_declare): Use weak_extern instead of - weak_symbol. - * csu/initfini.c (_init): Likewise. - * locale/setlocale.c (DEFINE_CATEGORY): Likewise. + * misc/bsd-compat.c: Update copyright. + * misc/efgcvt.c: Likewise. * misc/efgcvt_r.c: Likewise. - * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. - * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. - - * libc-symbols.h [ASSEMBLER] (weak_symbol): Macro removed. - It was not used in any assembler code. - (weak_symbol_asm): Renamed to weak_extern_asm. - (weak_extern): New macro replaces weak_symbol for weak extern refs; - define to weak_extern_asm for [!ASSEMBLER]. - -Sun Jul 7 18:42:06 1996 Roland McGrath - - * libc-symbols.h [! ASSEMBLER] [HAVE_WEAK_SYMBOLS] (weak_symbol_asm, - weak_alias_asm): New macros, renamed from weak_symbol/weak_alias; - define those now as aliases. - Change conditional to use __attribute__ syntax for GCC 2.7+, not 2.8+ - [GCC >= 2.7] [HAVE_WEAK_SYMBOLS] (weak_symbol): Do weak_symbol_asm - after GCC weak attribute decl. - - * sysdeps/gnu/errlist.awk (BEGIN): Initialize associative array ALIAS, - map EWOULDBLOCK->EAGAIN, EDEADLOCK->EDEADLK. - (element printer): Check for elt in ALIAS, instead of special case - for EWOULDBLOCK. - - * io/Makefile (headers): Add sys/vfs.h. - * io/sys/vfs.h: New file. - - * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Don't unlock the - critical section lock before unlinking dying active resources. - The unlock just before return is right (i.e. old code unlocked twice). - -Sun Jun 2 22:28:43 1996 Miles Bader - - * stdio/linewrap.c (lwupdate): Update D->point_offs when done. - Use memmove instead of memcpy where overlap is possible (not - necessary using current implementation of memcpy, but...). - (__line_wrap_update): Don't update D->point_offs (lwupdate does it). - -Fri May 31 11:48:46 1996 Miles Bader - - * stdio/linewrap.c (lwupdate): New function, mostly was - __line_wrap_update. Use POINT_COL field instead of POINT. - (__line_wrap_output): Use lwupdate. - (__line_wrap_update): New function. - (ensure_unwrapped, ensure_wrapped): New functions. - (line_wrap_set_lmargin, line_wrap_set_rmargin, - line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update. - - * stdio/linewrap.h (struct line_wrap_data): Rename POINT field to - POINT_COL. Add POINT_OFFS field. - (__line_wrap_update): New decl. - (line_wrap_set_lmargin, line_wrap_set_rmargin, - line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update. - -Fri Jul 5 17:34:47 1996 Miles Bader - - * login/logout.c (logout): Do nothing if getutline_r returns ESRCH. - - * login/pututline_r.c (pututline_r): Since we assign RESULT from - lseek now, check that it's >= 0, not == 0. - -Wed Jul 3 13:28:04 1996 Miles Bader - - * login/login.c (login): Make a copy of *UT, fill in various - fields that we supply (ut_line, ut_type, ut_pid), and use the copy - in place of UT. - - * login/getutline_r.c (getutline_r): When we return ESRCH, mark - UTMP_DATA->ubuf invalid (by setting UTMP_DATA->loc_utmp to 0). - -Fri Jul 5 12:22:51 1996 Roland McGrath - - * hurd/hurdsig.c (_hurd_internal_post_signal): In case of handled - signal during critical section doing interruptible RPC, if - _hurdsig_abort_rpcs wants to change thread state, do thread_set_state - before thread_resume. If in critical section, pass 0 for SIGNO to - _hurdsig_abort_rpcs so rpc is interrupted regardless of SA_RESTART. - - * extra-lib.mk: Fix typo in $(extra-libs-others) conditional. - - * sysdeps/unix/sysv/linux/sys/user.h: New file. - * sysdeps/unix/sysv/linux/Dist: Add it. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add sys/user.h. - - * nss/nss_files/files-parse.c (parse_list): Set EOL from LINE if it - points within DATA->linebuffer; otherwise use all of DATA->linebuffer - itself, no need to skip past a NUL. - - * nss/nsswitch.h (known_function): Comment fix. - * nss/nsswitch.c (nss_lookup_function): Rewritten using __tsearch - directly. Do the lookup and insertion with a single call, and fill in - the tree node afterwards if new. - (known_compare, nss_find_entry, nss_insert_entry): Functions removed. - - * misc/sys/select.h: #define __need_timespec before incl. - (struct timeval): Add bodiless decl for scope. - - * time/time.h (struct timespec): Rename members from `ts_*' to `tv_*'. - Move struct timespec defn outside [_TIME_H] so it can be got with - #define __need_timespec. - - * time/sys/time.h (TIMEVAL_TO_TIMESPEC): Use `tv_*' instead of `ts_*' - for `struct timespec' member names. - (TIMESPEC_TO_TIMEVAL): Likewise. - - * nss/Makefile (extra-libs-others): New variable. - - * extra-lib.mk: Don't test for $($(lib)-no-lib-dep). Instead match - $(lib) in $(extra-libs-others). - * sunrpc/Makefile (extra-libs-others): New variable. - (librpcsvc-no-lib-dep): Variable removed. - - * elf/rtld.c: Define RTLD_BOOTSTRAP before #include "dynamic-link.h". - * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove weak decl for - _dl_rtld_map. - (RESOLVE): New macro, defined differently based on [RTLD_BOOTSTRAP]. - (elf_machine_rel): Use it instead of testing fn ptr arg at runtime. - (elf_machine_rel: case R_386_32) [! RTLD_BOOTSTRAP]: Declare - _dl_rtld_map weak only here. - - * posix/unistd.h [__USE_BSD]: Declare getdomainname, setdomainname. - -Thu Jul 4 05:21:59 1996 David Mosberger-Tang - - * login/utmp.h: Fix typos. - - * misc/syslog.c (vsyslog): Use __send instead of send and - __connect instead of connect to avoid name-space collisions (e.g., - with psgetty). - -Wed Jul 3 16:29:41 1996 Roland McGrath - - * nss/getXXbyYY_r.c (REENTRANT_NAME): Cast FCT in __nss_next call. - - * sysdeps/generic/sbrk.c: Always call __brk (0) to update __curbrk. - - * malloc/malloc-size.c (malloc_usable_size): Renamed from - malloc_object_allocation_size. - * malloc/malloc.h: Fix decl. - - * sys/select.h: New file, wrapper header. - - * posix/sys/types.h [__USE_BSD]: Include ; remove - fd_set, associated macros, and select decl. - - * sysdeps/posix/isfdtype.c: New file. - -Tue Jul 2 23:45:14 1996 Ulrich Drepper - - The latest Japanese proposal for POSIX locales renames the - CHARMAP keyword in locale definition files to CHARCONV. - * locale/programs/ld-ctype.c, locale/programs/locales.h: Rename - function ctype_is_charmap to ctype_is_charconv. - * locale/programs/locfile-kw.gperf: Replace charmap keyword with - charconv. - * locale/programs/locfile-token.h: Add definition of token - charconv. - * locale/programs/locfile.c: Recognize charconv keyword. Rename - lables according to this. - - * locale/weight.h (get_weight): Cast constants to prevent - warnings. - - * stdlib/strtod.c, stdlib/strtol.c, string/strcoll.c, - string/strxfrm.c: Add some more casts to prevent signed<->unsigned - warnings. - - New stuff described in P1003.1g. - * misc/Makefile (headers): Add sys/select.h. - (routines): Add pselect. - * misc/sys/select.h: New file. Declare select functions and - needed data types and macros. - * sysdeps/generic/pselect.c: New file. Add generic implementation - of pselect() function which uses select(). - - * posix/getconf.c: Recognize new variables from P1003.1g. - * posix/posix1_lim.h: Define _POSIX_FD_SETSIZE, _POSIX_QLIMIT, - _POSIX_HIWAT, and _POSIX_UIO_MAXIOV. - * posix/unistd.h: Add description of the P1003.1g variables. - * sysdeps/generic/confname.h: Define _SC_* values for new - variables. - * sysdeps/posix/fpathconf.c (fpathconf): Add handling of - _PC_SOCK_MAXBUF. - * sysdeps/stub/fpathconf.c (fpathconf): Ditto. - * sysdeps/posix/sysconf.c (sysconf): Add handling of new - P1003.1g variables. - * sysdeps/stub/sysconf.c (sysconf): Ditto. - * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_POLL and - _POSIX_SELECT since Linux has this. - - * socket/Makefile (routines): Add isfdtype. - * sysdeps/generic/sys/socket.h: Add prototype for isfdtype. - * sysdeps/stub/isfdtype.c: New file. Stub implementation of - isfdtype. - - * wcsmbs/wcrtomb.c (wcrtomb): Fix typo. - -Wed Jul 3 11:26:28 1996 Roland McGrath - - * elf/Makefile (LDFLAGS-dl.so): New variable. - (libdl.so): Depend on eval.so. - (distribute): Add eval.c. - * elf/eval.c: New file. - - * time/strftime.c (strftime: do_number): Adjust P and I after sprintf - in case it wrote fewer than MAXDIGITS chars. - - * stdio/fwrite.c (fwrite: fill_buffer): Separate flushing for last - newline from flushing full buffer in loop, fix test so no fflush is - done when last byte written exactly fills the buffer. - - * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Depend on libc.so. - - * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): Variable removed. - (libc.so): Instead, give this deps on lib{mach,hurd}user.so. - - * elf/dl-debug.c (_dl_debug_initialize): Use LDBASE arg instead of - extracting _dl_rtld_map.l_addr. - - * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare _dl_rtld_map as - weak. - * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. - - * shlib-versions (*-*-*): Set libnss_db=1. - -Tue Jul 2 10:44:37 1996 Roland McGrath - - * elf/rtld.c (dl_main): Set _dl_rtld_map's DT_DEBUG location too. - - * rpm/template (%build): Use @prefix@ instead of always /usr. - Set up configparms only if @prefix@ is in fact /usr. - * rpm/Makefile ($(config)): Substitute $(prefix) for @prefix@. - - * elf/Makefile: Add missing endif. - - * nss/nss_files/files-ethers.c (ntohost): Fix db key. - - * nss/nss_files/files-network.c: Pass empty for new DB_LOOKUP args. - (DATABASE): Define this instead of DATAFILE. - * nss/nss_files/files-hosts.c: Likewise. - (hostbyname): Use LOOKUP_NAME macro. - - * nss/nss_db/db-XXX.c: New file. - * nss/Makefile (services): Add db. - (libnss_db-inhibit-o): New variable. - (libnss_db-routines): New variable. - (distribute): Append db-XXX.c. - (libnss_db.so): Depend on libdb.so and libnss_files.so. - ($(libnss_db-routines:%=$(objpfx)%.c)): New static pattern rule. - - * nss/nss_files/files-XXX.c (DB_LOOKUP): Add KEYSIZE and KEYPATTERN - args, ignored. - (DATAFILE): New macro. - * nss/nss_files/files-parse.c (GENERIC): If undefined, define to - "files-XXX.c". - * nss/nss_files/files-rpc.c: Include GENERIC instead of "files-XXX.c". - Pass db key args to DB_LOOKUP. - (DATAFILE): Macro removed. - (DATABASE): New macro replaces it, lacks "/etc/" prefix. - * nss/nss_files/files-service.c: Likewise. - * nss/nss_files/files-pwd.c: Likewise. - * nss/nss_files/files-proto.c: Likewise. - * nss/nss_files/files-grp.c: Likewise. - * nss/nss_files/files-ethers.c: Likewise. - - * elf/linux-compat.c: File removed. - * elf/Makefile (distribute): Remove linux-compat.c. - (ld-linux.so.1): Remove target and associated variables. - - * sunrpc/xdr.c: Remove malloc decl. - * sunrpc/portmap.c: Likewise. - - * sunrpc/svc_tcp.c (abort): Don't declare. Instead define as macro - casting abort to fn returning bool_t. - - * nss/nss_files/files-parse.c [EXTERN_PARSER]: Do an extern decl of - the parser function. - [EXTERN_PARSER] (LINE_PARSER): Define to empty. - * nss/nss_files/files-pwd.c (EXTERN_PARSER): Define it. + * 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. - - * Makeconfig (BUILD_CC): If undefined, define to $(CC). - - * sunrpc/rpc/types.h: Include stdlib.h instead of declaring malloc. - - * Makeconfig (built-program-cmd): Use $(rtld-installed-name) in place - of ld.so so lookups for that soname find it. - - * nss/Makefile (libnss_dns.so): Depend on libresolv.so. - (resobjdir, LDLIBS-nss_dns.so): Variables removed. - - * pwd/fgetpwent.c: Don't include ../nss/nss_files/files-parse.c to - define parse_line function. - (parse_line): #define to _nss_files_parse_pwent and - add extern decl for that. - - * nss/nss_files/files-XXX.c (internal_getent): Return - NSS_STATUS_TRYAGAIN for ERANGE error. - - * sysdeps/i386/strtok.S (LreturnNULL): Save current state ptr instead - of null, so next round returns null again instead of bombing. Fix - from drepper. - - * nss/nss_files/files-parse.c (LINE_PARSER): Take new first arg EOLSET. - Remove ; after `ENTDATA_DECL (data)'. - Truncate line at strpbrk (line, EOLSET "\n"). - (ENTDATA_DECL): Put ; at end. - (MIDLINE_COMMENTS): Macro removed. - * nss/nss_files/files-ethers.c: Pass new argument. * nss/nss_files/files-hosts.c: Likewise. * nss/nss_files/files-network.c: Likewise. - * nss/nss_files/files-parse.c: Likewise. * nss/nss_files/files-proto.c: Likewise. + * nss/nss_files/files-pwd.c: Likewise. * nss/nss_files/files-rpc.c: Likewise. * nss/nss_files/files-service.c: Likewise. - * grp/fgetgrent.c: Likewise. - * pwd/fgetpwent.c: Likewise. - * nss/nss_files/files-pwd.c: Get parse_line with extern decl, since - fgetpwent.c already defines it. - * nss/nss_files/files-grp.c: Likewise. - - * elf/dl-load.c (_dl_map_object): Use any object with matching l_name - as well as any matching with l_libname. Fix DT_SONAME lookup to use - string table properly. - - * elf/rtld.c (dl_main): Set _dl_rtld_map.l_name from _dl_argv[0] when - invoked directly, and l_libname from that if PT_INTERP missing. - Set l_name from l_libname only if not set from argv. - - * time/europe, time/northamerica: Updated from ADO 96i. - -Mon Jul 1 15:44:34 1996 Roland McGrath - - * stdio-common/tst-ungetc.c: Include unistd.h. - - * inet/Makefile (routines): Change getnetbypt to getnetbyad. - -Mon Jul 1 13:32:42 1996 Miles Bader - - * hurd/report-wait.c (describe_number): Make I unsigned long. - - * login/login.c (login): Only Frob OLD->ut_type if getutline_r - actually found any entry. - - * login/pututline_r.c (pututline_r): If not located after any - entry don't use UTMP_DATA->ubuf, and seek to the end before adding. - Lock the file before stating. - -Mon Jul 1 12:29:50 1996 Roland McGrath - - * nss/Makefile (databases): Change host to hosts. - * nss/host-lookup.c: Renamed to nss/hosts-lookup.c. - - * nss/nsswitch.c (nss_parse_service_list): Use const for NAME. - - * nss/nss_files/files-parse.c (parse_list): Correct alignment fixup. - - * string/string.h (strndupa): Pass missing arg to strnlen. - - * inet/getnetbypt_r.c: Renamed to ... - * inet/getnetbyad_r.c: this; fixed function name. - * inet/getnetbypt.c: Renamed to ... - * inet/getnetbyad.c: this; fixed function name. - -Sat Jun 29 01:08:35 1996 Andreas Schwab - - * grp/getgrgid_r.c (LOOKUP_TYPE): Define to struct group, not - struct passwd. - -Fri Jun 28 23:25:35 1996 Miles Bader - - * login/login.c (login): Initialize DATA so that setutent_r will - actually do something. - -Fri Jun 28 16:53:01 1996 David Mosberger-Tang - - * resolv/res_hconf.c (strndup): Remove function. - - * nss/nsswitch.c (nss_lookup_function): Declare loadbase and ref - using ElfW() instead of Elf32_*. - - * sysdeps/unix/sysv/linux/alpha/init-first.h, - sysdeps/unix/sysv/linux/m68k/init-first.h, - sysdeps/unix/sysv/linux/i386/init-first.h: New files. - * sysdeps/unix/sysv/linux/init-first.c: Use platform-dependent - init-first.h to make abstract machine dependent parts of - initialization. - - * sysdeps/unix/alpha/sysdep.h: Undo PIC-optimization of syscall - error handling. It's safer that way. - - * sysdeps/unix/alpha/sysdep.S: Make ldgp part of the prologue. - Fix by Richard Henderson. - - * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix - typo/extraneous whitespace. - - * sunrpc/xdr.c (xdr_int, xdr_u_int): Use to test - determine what integer sizes we're dealing with. - -Fri Jun 28 15:46:02 1996 Michael I. Bushnell, p/BSG - - * hurd/hurdsig.c (_hurd_internal_post_signal): In pending signal - check for signal zero, repair logical sense of test by - parenthesizing correctly. - - * hurd/hurdsig.c (_hurd_internal_post_signal): In - check-for-pending signals code, release _hurd_siglock before - jumping to deliver_pending. - -Thu Jun 27 04:04:27 1996 David Mosberger-Tang - - * configure.in (config_machine): Make ELF the default even for - Linux/Alpha unless a configuration of the form *-*-linux*ecoff - is specified. - -Fri Jun 28 07:27:10 1996 Roland McGrath - - * nss/nss_files/files-hosts.c (ENTDATA): Define it. - * nss/nss_files/files-parse.c (struct parser_data): Define entdata - member only #ifdef ENTDATA. - (ENTDATA_DECL): New macro. - (LINE_PARSER): Use it for entdata decl. - (parse_list): Find the space for LIST from DATA->linebuffer instead of - from the input LINE, which might not be writable buffer space. - (LINE_PARSER): Use `parser_stclass' in place of `static inline'. - [ENTDATA] (parser_stclass): #define to `static inline'. - [!ENDATA] (parser_stclass): #define to empty. - [!ENTDATA] (parse_line): #define to _nss_files_parse_ENTNAME; the - function is exported to -lnss_files users. - - * string/strndup.c: Add missing arg. - - * string/string.h (strndupa): Likewise. - * string/strndup.c (strndup): Always terminate the string. - -Thu Jun 27 14:22:31 1996 Andreas Schwab - - * stdio/Makefile (routines): Add vscanf. - * stdio-common/Makefile (routines): Remove vscanf. - * stdio-common/vscanf.c: Move to ... - * stdio/vscanf.c: here. - - * rpm/Makefile (headers, install-lib, install-lib.so, - versioned, install-bin, install-sbin, install-data, - install-others): Add $(-VARIABLE). - -Fri Jun 28 02:41:08 1996 Roland McGrath - - * nss/Makefile (databases): New variable. - (routines, libnss_files-routines): Use it. - (subdir-dirs): Compute from $(services). - - * sysdeps/unix/sysv/linux/syscalls.list (create_module, delete_module, - init_module, klogctl): Use EXTRA in the "caller" column so these get - added to unix-extra-syscalls and thus compiled in misc. - - * string/Makefile (routines): Add strndup. - * string/strndup.c: New file. - * string/string.h: Declare strndup. - (strndupa): New macro. - - * string/string.h: Declare __strdup. - * string/strdup.c: Deansideclized. Define __ name and weak alias. - - * string/string.h: Don't define memccpy as macro for [__OPTIMIZE__]. - -Thu Jun 27 02:49:28 1996 Ulrich Drepper - - * catgets/gencat.c: Add casts to avoid signed<->unsigned warnings. - - * grp/initgroups.c (initgroups): De-ansi-fy. - Move declaration of NGROUPS and GROUPS outside #if so that - the code compiles for NGROUPS_MAX != 0. - - * inet/Makefile (headers): Add netinet/ether.h and netinet/if_ether.h. - (routines): Add ether_aton, ether_aton_r, ether_hton, ether_line, - ether_ntoa, ether_ntoa_r, and ether_ntoh. - * inet/ether_aton.c, inet/ether_aton_r.c, inet/ether_hton.c, - inet/ether_line.c, inet/ether_ntoa.c, inet/ether_ntoa_r.c, - inet/ether_ntoh.c: New files. Implementation of functions to - handle Ethernet address to host mapping. - * inet/netinet/ether.h: New file. Declare ether_* functions. - * netinet/ether.h: Wrapper around inet/netinet/ether.h for glibc - compilation. - * nss/ethers-lookup.c: New file. Lookup function for ethers database. - * nss/Makefile (routines): Add ethers-lookup. - (libnss_files-routines): Add files-ethers. - - * nss/getXXent_r.c: Don't define set*ent and end*ent function - with _r suffix. - - * nss/nss_files/files-XXX.c (internal_endent): Don't reset - KEEP_STREAM every time called. - (_nss_files_end): Reset KEEP_STREAM here instead. - (internal_getent): If STREAM == NULL try to open instead of - signalling error. - Use cast to prevent warning. - Terminate read line in case the buffer is too small. - - * nss/nss_files/files-ethers.c: New file. Implementation of - Ethernet adress<->hostname lookup through files interface. - - * stdlib/mbstowcs.c: Define based on mbsrtowcs(). - * stdlib/mbtowc.c: Define based on mbrtowc(). - * stdlib/wcstombs.c: Define based on wcsrtombs(). - * stdlib/wctomb.c: Define based on wcrtomb(). - - * sunrpc/xdr.c (xdr_u_int): Avoid bogus call to - unexpected_sizes_in_xdr_u_int. - - * sysdeps/generic/netinet/if_ether.h: New file. Generic declaration - of `struct ether_addr'. - * sysdeps/unix/sysv/linux/netinet/if_ether.h: New file. Linux specific - declaration of `struct ether_addr'. - - * wcsmbs/mbrtowc.c: Handle case where argument PS is NULL. - * wcsmbs/mbsrtowcs.c: Ditto. - * wcsmbs/wcrtomb.c: Ditto. - * wcsmbs/wcsrtombs.c: Ditto. - - * wcsmbs/mbsinit.c: Prepare for PS being NULL. - -Wed Jun 26 13:19:35 1996 Miles Bader - - * hurd/get-host.c : New include. - * hurd/set-host.c : New include. - (_hurd_set_host_config): Include NEW in args to dir_link. - Return NWROTE, not NREAD. - - * sysdeps/mach/hurd/getcwd.c - (_hurd_canonicalize_directory_name_internal): Don't deallocate - DOTID & DOTDEVID until we're finished with them (we need to keep - them at least until we've fetched the next level of id ports, so - that mach will be able to use the same name if they're the same). - Add inner_errlose: label, which deallocates DOTID & DOTDEVID and - jumps to errlose, for those places where such cleanup is needed. - -Wed Jun 26 01:58:49 1996 Roland McGrath - - * nss/nss_files/files-parse.c (parse_list): Count null in EOL calc. - - Move DB code into separate -ldb library. - * db/Makefile (extra-libs): New variable, list libdb. - (routines): Renamed to libdb-routines. - * shlib-versions: Add libdb=2. - - * nss/network-lookup.c (DEFAULT_CONFIG): New macro. - * nss/host-lookup.c (DEFAULT_CONFIG): New macro. - - * nss/nsswitch.c (nss_parse_service_list): Use __strncasecmp instead - of strncasecmp. Extend syntax to grok [!foo=bar]. - - * sysdeps/generic/strncase.c: Define __strncasecmp with strncasecmp as - weak alias. - * string/string.h: Declare __strncasecmp. - - * nss/nsswitch.c (nss_parse_file): Call __getline, not getline. - (service_alias): Variable removed. - (nss_parse_service_list): New function, broken out of nss_getline. - Remove alias conversion; we will just use symlinks. - (__nss_database_lookup): Take new string arg DEFCONFIG. - If no entry exists, make one with service list parsed from that. - * nss/nsswitch.h: Update protocol for __nss_database_lookup. - * nss/XXX-lookup.c (DEFAULT_CONFIG): New macro, set to 0 if undefined. - (DB_LOOKUP_FCT): Pass it to _nss_database_lookup. - - * grp/initgroups.c: Rewritten using getgrent. Handle unlimited group - list size. - - * sunrpc/xdr.c (xdr_int): #if 0 out unresolved references in dead code. - -Wed Jun 26 01:56:50 1996 Ulrich Drepper - - * locale/programs/locale.c (long_options): Short form of - --version option is `-V'. - (main): Recognize `-V' as option, not `-v'. - Call `usage' instead of printing error message for illegal - option. - (usage): Document `-V'. - -Tue Jun 25 17:22:55 1996 Miles Bader - - * sysdeps/mach/hurd/getcwd.c - (_hurd_canonicalize_directory_name_internal): Initialize PARENT to - THISDIR, and don't ever deallocate PARENT unless it's != THISDIR. - -Tue Jun 25 10:58:23 1996 Roland McGrath - - * inet/getrpcent.c: Fix macros. - * inet/getrpcent_r.c: Fix macros. - - * elf/dlsym.c (dlsym): Search the global scope if HANDLE is null. - - * elf/dl-load.c (_dl_map_object_from_fd): Initialize L. - -Tue Jun 25 09:55:47 1996 David Mosberger-Tang - - * catgets/gencat.c (write_out): Use %Zu to print variables of type - size_t. - * resolv/res_debug.c (__p_rr): Print size_t variable as %lu and - cast it to (unsigned long) to make it work both on 32 and 64 - bit architectures. - -Sat Jun 22 13:05:25 1996 Andreas Schwab - - * locale/Makefile (distribute): Add `programs/' prefix to all - files in that directory. - - * Makerules (distinfo-vars): Assign subdir directly so that `ifdef - subdir' works. - - * MakeTAGS (sources, headers): Make them simply expanded variables - so that all-dist is expanded before it is changed. - -Tue Jun 25 02:59:11 1996 Roland McGrath - - * Make-dist (dist): Don't depend on crypt tar file. Remove that rule. - * Makefile (subdirs): Remove crypt. - * crypt: Directory removed. It will be made an independent library - distribution. - - * Makefile (distribute): Add rpm/{Makefile,teplate,rpmrc}. - - * inet/getrpcent_r.c (DATABASE_NAME): New macro. - - * inet/getrpcbynumber.c (BUFLEN): New macro. - - * configure.in (--no-whole-archive check): Remove backslashes in cmd. - - * Makefile (headers): Add libc-lock.h. - * sysdeps/stub/libc-lock.h: New file. - - * inet/getrpcbynumber.c: Remove _r typo. - - * elf/dl-load.c (_dl_map_object): Fix typo in last change. - - * nss/nss_files/files-parse.c (parse_list): Reset ELT for elements - after the first! - - * nss/nsswitch.c (__nss_database_lookup): If nsswitch.conf is missing - or doesn't mention DATABASE, use an internal default equivalent to - "DATABASE: compat [NOTFOUND=return] dns [NOTFOUND=return] files". - (nss_lookup_function): Call nss_new_service as needed. - (nss_parse_file): Don't bother calling nss_new_service here. - - * grp/fgetgrent.c (LINE_PARSER): Pass zero SWALLOW arg for fields. - * pwd/fgetpwent.c: Likewise. - - * malloc/malloc.h: Declare malloc_object_allocated_size, malloc_walk. - * malloc/Makefile (dist-routines): Add malloc-size, malloc-walk. - * malloc/malloc-size.c: New file. - * malloc/malloc-walk.c: New file. - - * malloc/malloc-find.c (malloc_find_object_address): Return null if - PTR is outside the heap. - - * elf/dl-load.c (_dl_map_object): If the requested name matches the - soname of a loaded object, use that object. - -Mon Jun 24 19:57:01 1996 Roland McGrath - - * Makefile (subdirs): Add nss. - - * inet/Makefile (routines): Add getrpcent, getrpcbyname, - getrpcbynumber, getrpcent_r, getrpcbyname_r, getrpcbynumber_r. - * inet/getrpcbynumber_r.c: New file. - * inet/getrpcbynumber.c: New file. - * inet/getrpcbyname.c: New file. - * inet/getrpcbyname_r.c: New file. - * inet/getrpcent_r.c: New file. - * inet/getrpcent.c: New file. - * nss/rpc-lookup.c: New file. - * nss/nss_files/files-rpc.c: New file. - * nss/Makefile (routines): Add rpc-lookup. - (libnss_files-routines): Add files-rpc. - * sunrpc/Makefile (routines): Remove getrpcent. - * sunrpc/getrpcent.c: File removed. - - * nss/getXXent_r.c (REENTRANT_GETNAME): Clear NO_MORE when NIP is - non-null on entry. - - * Makeconfig (rpath-link): Add $(nssobjdir). - (nssobjdir): New variable. - - * Makerules: Move shared library building before objects rules, so - versions are known before extra-lib.mk gets included. - * extra-lib.mk (lib-noranlib): Depend on the shared object too. - - * pwd/getpwuid.c: Rewritten using nss. - * pwd/getpwnam.c: Likewise. - * pwd/getpwent.c: Likewise. - * grp/getgrnam.c: Likewise. - * grp/getgrgid.c: Likewise. - * grp/getgrent.c: Likewise. - * pwd/Makefile (routines): Add getpwent_r, getpwnam_r, getpwuid_r. - * pwd/getpwent_r.c: New file. - * pwd/getpwnam_r.c: New file. - * pwd/getpwuid_r.c: New file. - * grp/Makefile (routines): Add getgrent_r, getgrgid_r, getgrnam_r. - * grp/getgrnam_r.c: New file. - * grp/getgrgid_r.c: New file. - * grp/getgrent_r.c: New file. - * grp/Makefile (routines): Remove grpopen, grpread. - * pwd/Makefile (routines): Remove pwdopen, pwdread. - * grp/grpopen.c, grp/grpread.c, pwd/pwdopen.c, pwd/pwdread.c: Removed. - - * pwd/fgetpwent.c: Rewritten using files-parse.c. - * grp/fgetgrent.c: Likewise. - - * nss/Makefile (routines): Add grp-lookup and pwd-lookup. - * nss/pwd-lookup.c, nss/grp-lookup.c: New files. - * nss/nss_files/files-grp.c: New file. - * nss/nss_files/files-pwd.c: New file. - - * nss/Makefile (subdir-dirs): New variable; use it in vpath. - - * nss/nss_files/files-parse.c: New file. - * nss/nss_files/files-XXX.c: New file. - * nss/nss_files/files-hosts.c, nss/nss_files/files-proto.c, - nss/nss_files/files-service.c, nss/nss_files/files-network.c: - Rewritten using them. - - * nss/Makefile (libnss_files-routines): Remove files-host. - Add files-hosts, files-grp, files-pwd. - - * nss/nss_dns/dns-network.c: Don't include . - -Mon Jun 24 22:39:12 1996 Richard Henderson - - * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): - A .plt entry now loads the .rela.plt offset directly rather - than making us calculate it. - -Sun Jun 23 15:24:05 1996 Roland McGrath - - * time/Makefile ($(installed-localtime-file) rule): Do - $(make-target-directory) first. - - * resolv.h: Fix wrapper for resolv/resolv.h. - - * configure.in (ld --no-whole-archive check): Use AC_TRY_COMMAND. - Compile dummy file and pass -nostdlib -nostartfiles so as not to - require installed libraries. - - * shlib-versions (*-*-*): Set libresolv=2, libnss_files=1, - libnss_dns=1. - -Sun Jun 23 19:42:05 1996 Ulrich Drepper - - * resolv/Makefile (distribute): Remove res_hconf.h; add mapv4v6addr.h - and mapv4v6hostent.h. - (routines): Move res* and gethnamaddr into libresolv-routines. - (libresolv-routines): New variable, put them there. - (extra-libs): New variable, list libresolv. - (CPPFLAGS): Add -D for get*by* to res_get*by*. - - * resolv/netdb.h (_PATH_NSSWITCH_CONF): New macro. - - * inet/herrno.c: New file. - - * resolv/res_init.c: Remove res_hconf calls. - - * nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c, - nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c, - nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c, - nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c, - nss/service-lookup.c: New files. Implementation of name - service switch, following the approach in Solaris. - Interface specification and general structure inspired by Peter - Eriksson . - * nss/nss_files/files-host.c, nss/nss_files/files-network.c, - nss/nss_files/files-proto.c, nss/nss_files/files-service.c: - Implementation of libnss_files.so module for file based databases - in NSS service. - * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation - if libnss_dns.so module for DNS name lookup in NSS service. - - * inet/getproto.c, inet/getprtent.c, inet/getprtname.c, - inet/getservent.c, inet/getsrvbynm.c, inet/getsrvbypt.c: - Changed to serve as interface to NSS. - * inet/gethstbyad.c, inet/gethstbyad_r.c, inet/gethstbynm.c, - inet/gethstbynm2.c, inet/gethstbynm2_r.c, inet/gethstbynm_r.c, - inet/gethstent.c, inet/gethstent_r.c, inet/getnetbynm.c, - inet/getnetbynm_r.c, inet/getnetbypt.c, inet/getnetbypt_r.c, - inet/getnetent.c, inet/getnetent_r.c, inet/getproto_r.c, - inet/getprtent_r.c, inet/getprtname_r.c, inet/getservent_r.c, - inet/getsrvbynm_r.c, inet/getsrvbypt_r.c: New files. Implement - interfaces to NSS, including reentrant functions. - - * resolv/getnetbyaddr.c, resolv/getnetbyname.c, resolv/getnetent.c, - resolv/sethostent.c: Removed: Obsoleted by NSS. - - * resolv/mapv4v6addr.h, resolv/mapv4v6hostent.h: Extracted from - gethnamaddr.c. These private functions are now used in more - than one file. - - * resolv/inet_pton.c, resolv/gethnamaddr.c: Updated to bind-4.9.4-T5B. - -Sat Jun 22 16:49:47 1996 Andreas Schwab - - * rpm/Makefile ($(config)): Make sure the word list in the for - loop is syntactically non-empty. - -Sat Jun 22 21:29:52 1996 Roland McGrath - - * Version 1.92 test release. - -Sat Jun 22 23:30:07 1996 David Mosberger-Tang - - * sysdeps/unix/sysv/linux/syscalls.list (ksyslog_ctl): Rename - to klogctl to match prototype in sys/klog.h. - - * sysdeps/posix/libc_fatal.c: Add include of . - * sysdeps/unix/sysv/linux/gethostid.c: Ditto. - - * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal): - Remove. Code is now part of __getcwd again. The old function - never really worked for anything but THISDIR==".". - - * sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants - only when building ELF version of library. - - * libio/libioP.h (_IO_vscanf): Add prototype. - - * posix/unistd.h (syscall): Change sysno arg and return value - to int long. - -Sat Jun 22 10:44:09 1996 Roland McGrath - - * version.h (VERSION): Updated to 1.92. - - * misc/Makefile (headers): Add ar.h. - * misc/ar.h: New file. - - * config.make.in (BUILD_CC): New variable. - * configure.in: Check for BUILD_CC if $host != $build. - - * posix/glob.c: Include only [HAVE_ALLOCA_H], not [sparc]. - - * Makerules [! objects] (subdir_lib): Depend on the stamp$o files. - (stamp$o files): New targets, create them empty, no deps. - - * rpm/template (Source): New field. - (%prep, %build, %install): New sections. - (%files): Add %doc FAQ NEWS NOTES README. - * rpm/rpmrc (builddir): Removed. - -Fri Jun 21 00:27:51 1996 Roland McGrath - - * elf/dl-load.c (_dl_map_object_from_fd): Fix mapping and l_phdr - guessing to not assume p_vaddr of first load cmd is zero. - - * sysdeps/sparc/elf/start.S: New file. - * sysdeps/sparc/dl-machine.h: New file. - - * posix/fnmatch.c (fnmatch): Fix \*[*?]+ case to increment name ptr - only for ?s, not for *s. Fix from Chet Ramey. - - Fixes thanks to Raja R Harinath : - * sysdeps/unix/sysv/utmpbits.h: Define _HAVE_UT_{TYPE,ID,TV,HOST}. - Use __{BEGIN,END}_DECLS. - (_PATH_WTMP, _PATH_UTMP, _PATH_LASTLOG): New macros. - * login/utmp.h (UTMP_FILE, UTMP_FILENAME, WTMP_FILE, WTMP_FILENAME): - New macros, moved here from sysdeps/gnu/utmpbits.h. - * sysdeps/generic/utmpbits.h (_HAVE_UT_HOST): Define it. - * sysdeps/gnu/utmpbits.h (_HAVE_UT_HOST): Likewise. - * login/logout.c: Use ut_host only #if _HAVE_UT_HOST. - Use sizeof instead of UT_*SIZE. - * login/logwtmp.c: Likewise. - - * misc/tsearch.c (tdelete): Define as weak alias to __tdelete. - - * version.c (banner): Add trailing newline. - - * login/utmp.h: Declare login_tty. - -Thu Jun 20 21:19:07 1996 Richard Henderson - - * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): - Changed to a 12-byte PLT entry to remove dependency on $gp. - Take a new got_addr parameter. - (elf_machine_rela): Pass the new parameter. - (ELF_MACHINE_RUNTIME_TRAMPOLINE): Do arithmetic for 12-byte PLT. - (RTLD_START): Do normal linkage with program entry. - -Thu Jun 20 12:18:21 1996 Miles Bader - - * sysdeps/mach/hurd/brk.c (_hurd_brk): Initialize to 0. - - * hurd/getuids.c (getuids): New weak link to __getuids. - -Wed Jun 19 10:21:24 1996 Miles Bader - - * hurd/hurdlookup.c (__hurd_file_name_lookup_retry, - __hurd_file_name_lookup, __hurd_file_name_split): Add & use LOOKUP - argument. - Rename nested function lookup to lookup_op. - (__file_name_lookup, __file_name_lookup_under): - Pass 0 for lookup arg to __hurd_file_name_lookup. - (__file_name_split): Likewise for __hurd_file_name_split. - * hurd/path-lookup.c (hurd_file_name_path_lookup): Add LOOKUP argument. - Rename nested function lookup to scan_lookup. - (file_name_path_lookup): Pass 0 for lookup arg to - hurd_file_name_path_lookup. - * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup, - __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry: - __hurd_file_name_split, hurd_file_name_split, hurd_file_name_lookup): - Add LOOKUP argument. - * sysdeps/mach/hurd/access.c (__access): Pass 0 lookup arg to - __hurd_file_name_lookup. - -Mon Jun 17 19:09:49 1996 Andreas Schwab - - * Make-dist (+sysdeps): Move wildcard inside loop to avoid consing - up a huge list just to discard most of it. - - * configure.in (sysnames): Avoid fgrep by using the case shell - builtin. - - * Makeconfig (config.status): Fix dependency on Implies files. - -Wed Jun 19 01:27:57 1996 Roland McGrath - - * math/Makefile (distribute): Add ieee-math.c. + * 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. -Wed Jun 19 03:24:58 1996 Ulrich Drepper + * 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. - * locale/codeset_name.c: New file. Provide function for information - about currently used character set. - * locale/Makefile (routines): Add codeset_name. - * locale/langinfo.h (_NL_CTYPE_CODESET_NAME): Add new constant. - * locale/localeinfo.h: Change magic number because of incompatible - change. - * locale/C-ctype.c: Add initializer for new field `codeset_name'. - * locale/programs/ld-ctype.c: Implement handling of `codeset_name'. +1997-01-30 00:27 Fila Kolodny - * locale/programs/locfile.c: Don't depend in pre-2.0 Linux specific - name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'. + * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h + only if not cross compiling. - * locale/setlocale.c (setlocale): Initialize local variables to - prevent warnings. +1997-01-29 16:16 Fila Kolodny -Thu Jun 13 17:25:11 1996 David Mosberger-Tang + * sysdeps/posix/sigpause.c: Include to get definition of + NULL. + * sysdeps/posix/sigwait.c: Likewise. - * sysdeps/generic/memcmp.c: Add prototype decls for internal fns. +1997-01-28 23:42 Andreas Schwab - * locale/programs/locale.c: Include string.h. + * Makeconfig ($(common-objpfx)config.make): Depend on + $(..)config.make.in. - * sunrpc/xdr_stdio.c (xdrstdio_getlong), sunrpc/xdr_rec.c - (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure - appropriate sign-extension is performed on machines with - sizeof(long) > 4. +1997-01-29 04:30 Ulrich Drepper - * sunrpc/xdr.c (xdr_int, xdr_u_int): If sizeof(long)==8 and - sizeof(int) +1997-01-28 10:51 Richard Henderson - * libio/stdio.h (__libc_fatal): Add prototype. + * Makefile: Generate gnu/lib-names.h in before-compile. + * nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable. + * nss/nssswitch.c (__nss_shlib_revision): New variable. Initialize + to the revision found for LIBNSS_FILES_SO. + (nss_initilized): Removed. It was tested but never set. + (nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal. - * libio/cleanup.c: Use __P() to declare prototype when __STDC__ is - in efect. + * shlib-versions: Tag all alpha-linux shlibs with a .1 "minor" + not just libc. Except instead of ld.so.1.1 use ld-linux.so.2. - * libio/iopopen.c (read_or_write, parent_end, child_end): Declare - volatile to avoid "might get clobbered by longjmp" warning. + * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp. - * features.h (__KERNEL_STRICT_NAMES): Define __KERNEL_STRICT_NAMES - unless _LOOSE_KERNEL_NAMES is in effect (which, with high - probability is a sure loser). - * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Remove. +1997-01-28 12:16 Andreas Jaeger - * sysdeps/unix/bsd/osf/alpha/start.S (errno): Removed. - * sysdeps/unix/sysv/linux/alpha/start.S: Ditto. + * elf/Makefile (CFLAGS-dl-load.c): Use += to not + override the definition. - * misc/paths.h (_PATH_MAN): Change from /usr/share/man to /usr/man - to be Linux FSSTND compliant. +1997-01-28 20:13 Fila Kolodny -Mon Jun 10 17:50:31 1996 David Mosberger-Tang + * config.make.in (malloc): Remove. - * sysdeps/unix/sysv/linux/alpha/pipe.S: Use PSEUDO. +1997-01-28 04:23 Ulrich Drepper - * sysdeps/unix/sysv/linux/alpha/sysdep.S, - sysdeps/unix/sysv/linux/alpha/brk.S, - sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S, - sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S, - sysdeps/unix/sysv/linux/alpha/llseek.S, - sysdeps/unix/sysv/linux/alpha/sigsuspend.S, - sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to - __syscall_error to avoid intruding application name space. + * version.h (VERSION): Bump to 2.0.1. - * sysdeps/unix/sysv/linux/alpha/sysdep.h: Rename __NR_get?id - to SYS_get?id so that syscall stubs in sysdeps/unix define - these syscalls in terms of getxpid/getxuid/getxgid. + * posix/getopt.c: Handle another problem introduced by the + nonoption_flags array. We must be able to work with reordered + argv arrays. Reported by Andreas Schwab. - * sysdeps/unix/_exit.S, sysdeps/unix/getegid.S, - sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S, - sysdeps/unix/execve.S, sysdeps/unix/fork.S, - sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END. +1997-01-28 02:38 Ulrich Drepper - * sysdeps/unix/make-syscalls.sh, sysdeps/unix/sysdep.h - (PSEUDO_END): Rename END() to PSEUDO_END(). + * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new + stack. - * sysdeps/unix/alpha/sysdep.h: Move error-handling code in PSEUDO - to PSEUDO_END to improve branch-prediction. Include .frame - directive to make syscalls debugabble. - (PSEUDO_END): New macro. +1997-01-27 17:34 Thorsten Kukuk - * sysdeps/unix/alpha/sysdep.h, sysdeps/alpha/bb_init_func.S, - sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since - latter is illegal under DEC Unix. + * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so + that it works with yp.h. - * sysdeps/unix/alpha/sysdep.S: Renamed from - sysdeps/unix/sysv/linux/alpha/sysdep.S. This file works for OSF/1 - as well. - * sysdeps/unix/bsd/osf/alpha/sysdep.S: Remove (note that the - EWOULDBLOCK -> EAGAIN mapping was unnecessary since - EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha). +1997-01-27 13:28 Ulrich Drepper - * sysdeps/alpha/divrem.h: Use retaddr instead of ra as the return - address register in the .frame directive. + * 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 . - * sysdeps/alpha/copysign.c: Remove. + * mcheck.h: Correct typo. Use malloc/ instead of new-malloc/. - * sunrpc/rpc/types.h: Include and to - avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN. + * 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. - * errno.h: Move __END_DECLS to correct place to make file - compilable under c++. +1997-01-14 14:20 Andreas Schwab - * dirent/dirent.h: Document _DIRENT_HAVE_D_OFF macro. Define - d_ino only if hasn't defined d_fileno. + * malloc/malloc.c (weak_variable): Define. + (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook, + __memalign_hook): Make them weak definitions. - * configure.in (HAVE_ASM_WEAKEXT_DIRECTIVE): Reverse order of - arguments to weakext to make .weakext detection work on ECOFF systems. +1997-01-26 11:35 Andreas Schwab - * FAQ: Add Linux/Alpha to list of supported platforms. Mention - that _validuser() has been replaced by __ivaliduser(). + * 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. -Thu Jun 6 21:39:38 1996 David Mosberger-Tang +1997-01-25 18:06 Andreas Schwab - * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Declare cmd - as unsigned long, not as int (to avoid incorrect int->long - promotion). + * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple + inclusion. - -See ChangeLog.5 for earlier changes. +See ChangeLog.6 for earlier changes. diff -durpN glibc-2.0/ChangeLog.6 glibc-2.0.1/ChangeLog.6 --- glibc-2.0/ChangeLog.6 Wed Dec 31 19:00:00 1969 +++ glibc-2.0.1/ChangeLog.6 Wed Jan 29 22:44:56 1997 @@ -0,0 +1,10547 @@ +Sun Jan 26 23:24:50 1997 Ulrich Drepper + + * Version 2.0 net release. + + * Make-dist: Don't take care for two malloc directories. + +Sun Jan 26 22:44:38 1997 Andreas Jaeger + + * mcheck.h: Adopted to new-malloc/malloc change. + +Sun Jan 26 13:39:31 1997 Ulrich Drepper + + * sysdeps/unix/sysv/linux/alpha/Dist: Correct distribution of + kernel_*.h files. + + * Make-dist: Don't mention new-malloc for dirs with have to be + processed. + + * sysdeps/unix/sysv/linux/netinet/in.h (SOL_IP): Added. + * inet/netinet/tcp.h (SOL_TCP): Added. + * sysdeps/unix/sysv/linux/socketbits.h (SOL_RAW): Added. + Reported by a sun . + +Sun Jan 26 18:35:29 1997 Wolfram Gloger + + * malloc/Makefile: Remove -DMALLOC_DEBUG. Not wanted in a + released version. + * malloc/malloc.c: Change malloc_check_init() to + __malloc_check_init(). Check for NULL in calloc() when a hook is + in place. Make more variables tunable via MALLOC_... environment + variables. + * malloc/malloc.h: Change malloc_check_init() to + __malloc_check_init(). + +Sun Jan 26 05:41:42 1997 Ulrich Drepper + + * version.h (VERSION): Bump to 2.0. + (RELEASE): Now it's "experimental". + + * Makefile (subdirs): Change $(malloc) to malloc. We have only + one malloc implementation again. + * malloc/*: Remove from GNU libc. + * new-malloc/* Move to malloc/. + * config.make.in (defines): Remove @USE_NEW_MALLOC@. + * configure.in: Remove --enable-new-malloc option and check for + malloc implementation choice. + * malloc.h: We don't need to check for the implementation to use + anymore. Simply include malloc/malloc.h. + * malloc/Makefile (subdir): Change to malloc. + * sysdeps/unix/sysv/linux/configure.in: Don't set malloc anymore. + + * Makefile: Add special goal to generate only-MD5 based crypt + library. + * md5-crypt/Makefile: Likewise. + + * stdio-common/tstscanf.c: De-ANSI-declfy. Update copyright. + (rounds): Change type to size_t to prevent warning. + + * wcsmbs/btowc.c: Reformat copyright. + * wcsmbs/mbrlen.c: Likewise. + * wcsmbs/mbsinit.c: Likewise. + * wcsmbs/mbsnrtowcs.c: Likewise. + * wcsmbs/mbsrtowcs.c: Likewise. + * wcsmbs/wcpcpy.c: Likewise. + * wcsmbs/wcpncpy.c: Likewise. + * wcsmbs/wcscat.c: Likewise. + * wcsmbs/wcscmp.c: Likewise. + * wcsmbs/wcscoll.c: Likewise. + * wcsmbs/wcscpy.c: Likewise. + * wcsmbs/wcscspn.c: Likewise. + * wcsmbs/wcsdup.c: Likewise. + * wcsmbs/wcslen.c: Likewise. + * wcsmbs/wcsncat.c: Likewise. + * wcsmbs/wcsncpy.c: Likewise. + * wcsmbs/wcsnrtombs.c: Likewise. + * wcsmbs/wcsrtombs.c: Likewise. + * wcsmbs/wcsspn.c: Likewise. + * wcsmbs/wcsstr.c: Likewise. + * wcsmbs/wcstod.c: Likewise. + * wcsmbs/wcstof.c: Likewise. + * wcsmbs/wcstok.c: Likewise. + * wcsmbs/wcstol.c: Likewise. + * wcsmbs/wcstold.c: Likewise. + * wcsmbs/wcstoq.c: Likewise. + * wcsmbs/wcstoul.c: Likewise. + * wcsmbs/wcstouq.c: Likewise. + * wcsmbs/wcswidth.c: Likewise. + * wcsmbs/wcsxfrm.c: Likewise. + * wcsmbs/wctob.c: Likewise. + * wcsmbs/wcwidth.c: Likewise. + * wcsmbs/wcwidth.h: Likewise. + * wcsmbs/wmemchr.c: Likewise. + * wcsmbs/wmemcmp.c: Likewise. + * wcsmbs/wmemmove.c: Likewise. + * wcsmbs/wmemset.c: Likewise. + +Sat Jan 25 03:34:14 1997 Ulrich Drepper + + * sysdeps/unix/sysv/linux/termbits.h: Protect against multiple + inclusion. Reported by a sun . + +Sat Jan 25 02:05:19 1997 Eirik Fuller + + * sysdeps/unix/sysv/linux/alpha/ioperm.c: Rename T2_SPARSE_BASE and + T2_DENSE_BASE to T2_SPARSE_MEM and T2_DENSE_MEM resp. + +Thu Jan 23 11:13:46 1997 Andreas Schwab + + * sysdeps/unix/sysv/linux/usleep.c: Normalize the time + specification. + +Fri Jan 24 14:33:45 1997 Ulrich Drepper + + * sysdeps/generic/socketbits.h: Also make SOCK_* constants available + as macros so that #ifdef works. + * sysdeps/unix/sysv/linux/socketbits.h: Likewise. + +1997-01-23 Paul Eggert + + * login/utmp_db.c, manual/time.texi, shlib-versions, sunrpc/rpc/svc.h, + sunrpc/rpcsvc/sm_inter.x, sysdeps/generic/abort.c, + sysdeps/libm-ieee754/e_sinhl.c, sysdeps/unix/sysv/linux/net/route.h, + sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Spell fixes. + +1997-01-23 Paul Eggert + + * mktime.c (mktime): Invoke __tzset, not __tzset_internal, to set tz, + so that tzname is set as POSIX requires. + +Fri Jan 24 02:49:18 1997 Ulrich Drepper + + * dirent/dirent.h: Declare readdir_r also when __USE_POSIX. + * grp/grp.h: Declare *_r functions also when __USE_POSIX. + * pwd/pwd.h: Likewise. + * time/time.h: Likewise. + * posix/unistd.h: Declare ttyname_r also when __USE_POSIX. + * string/string.h: Declare strtok_r also when __USE_POSIX. + + * stdio-common/bug7.c: Use tmpnam to generate names for test files. + + * stdio-common/tmpnam.c: Update copyright. + * stdio-common/tmpnam_r.c: Likewise. + + * sysdeps/unix/sysv/linux/alpha/sys/kernel_termios.h: Protect + against multiple inclusion. Include . + * sysdeps/unix/sysv/linux/sys/kernel_termios.h: Likewise. + + * sysdeps/unix/sysv/linux/net/if.h: Update according to recent + kernel headers. Patch by Philip Blundell . + +Thu Jan 23 17:42:00 1997 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sparc/clone.S: Correct author attribution. + + * sysdeps/unix/sysv/linux/net/if_arp (MAX_ADDR_LEN): Add definition. + +Thu Jan 23 14:20:34 1997 Ulrich Drepper + + * time/tzfile.c (__tzfile_read): Don't allow arbitrary files to be + read when running a setuid program. + +Thu Jan 23 04:06:42 1997 Ulrich Drepper + + * Make-dist (.PHONY: dist): Remove duplicate declaration. + (README): Depend on version.h not version.c. + * Makefile (README): Depend on version.h not version.c. + + * Makeconfig (inst_libdir, inst_slibdir, inst_includedir, + inst_datadir, inst_zonedir, inst_localedir, inst_i18ndir, inst_bindir, + inst_sbindir, inst_infodir, inst_sysconfdir): New variables. Same + as variable withough inst_ but prepended with $(install_root). + (localtime-time): Use $(inst_sysconfdir) not $(sysconfdir). + * Makefile (install-others): Use $(inst_includedir). + (gnu/stabs.h, gnu/lib-names.h): Use $(inst_includedir). + * Makerules (tons of install rules): Use inst_% variables. + * elf/Makefile: Likewise. + * hurd/Makefile: Likewise. + * intl/Makefile: Likewise. + * manual/Makefile: Likewise. + * po/Makefile: Likewise. + * sunrpc/Makefile: Likewise. + * sysdeps/mach/hurd/Makefile: Likewise. + * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise. + * time/Makefile: Likewise. + + * config.make.in: Revert patch from Sat Jan 18 22:15:26 1997, + leave install_root in place. + + * gnu-versions.h (_GNU_GETOPT_INTERFACE_VERSION): Define to 2. + * posix/getopt.c (GETOPT_INTERFACE_VERSION): Define to 2. + * posix/getopt1.c (GETOPT_INTERFACE_VERSION): Define to 2. + + * elf/Makefile [yes==$(has-ldconfig)]: Correct dependencies of + ldconfig. + (CFLAGS-dl-load.c): New variable, avoid gcc warning. + + * sysdeps/mach/hurd/configure.in: Add _LIBC_REENTRANT to DEFINES. + + * sysdeps/mach/hurd/getdents.c: Update copyright. De-ANSI-declfy. + * sysdeps/stub/getdents.c: Likewise. Correct return value. + * sysdeps/unix/getdents.c: Likewise. + * sysdeps/unix/sysv/getdents.c: Likewise. + + * sysdeps/unix/readdir.c: Update copyright. + + * sysdeps/unix/bsd/sony/newsos4/Makefile: Correct ifeq arguments. + * sysdeps/unix/bsd/sun/sunos4/Makefile: Likewise. + * sysdeps/unix/sysv/Makefile: Likewise. + * sysdeps/unix/sysv/linux/Makefile: Likewise. + * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise. + * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. + + * sysdeps/unix/sysv/linux/Dist: Don't distribute kernel_termios.h, + but sys/kernel_termios.h. + * sysdeps/unix/sysv/linux/alpha/Dist: Likewise. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)==termios] + (sysdep_headers): Add sys/kernel_termios.h. + * sysdeps/unix/sysv/linux/kernel_termios.h: Moved to... + * sysdeps/unix/sysv/linux/sys/kernel_termios.h: ...here. + * sysdeps/unix/sysv/linux/sys/tcgetattr.c: Use __kernel_termios and + __KERNEL_NCCS instead of kernel_termios and KERNEL_NCCS resp. + + * sysdeps/unix/sysv/linux/alpha/ioctls.h: New file. + + * sysdeps/unix/sysv/linux/getdents.c: Correct problems with alignment. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove getdents. + Reported by Eirik Fuller . + + * time/Banner: Removed. Wrong and unnecessary information. It's now + in... + * time/README: New file. + * time/Makefile (distribute): Remove Banner, add README. + +Wed Jan 22 13:19:56 1997 Richard Henderson + + * sysdeps/unix/sysv/linux/alpha/ioperm.c (platforms): Add Sable. + (init_iosys): Recognize /etc/alpha_systype as a four-tuple for + the purpose of supporting brand new systems. + (*): The type of iosys variables should be iosys_t. + +1997-01-22 Paul Eggert + + * strftime.c (_strftime_copytm): + New function, to work around Solaris 2.5 tzset bug. + +Wed Jan 22 23:05:14 1997 Ulrich Drepper + + * sysdeps/mach/hurd/vdprintf.c: Complete de-ANSI-declfication. + Reported by Marcus G. Daniels . + +Wed Jan 22 13:58:56 1997 Andreas Jaeger + + * elf/Makefile (CFLAGS-dl-load.c): New Variable to keep gcc silent + since name_copy is initialized. + +Wed Jan 22 16:58:12 1997 Ulrich Drepper + + * stdio-common/Makefile (tests): Remove scanf11. + * stdio-common/scanf11.c: Removed. + * stdio-common/vfscanf.c Revert patch of Thu Jan 16 23:39:25 1997. + Although the Corrigendum 1 describes the result as implemented the + even more recent Amendement 1 seconds the position of ISO C:1990 + where the %n directive has no effect on the assignment count. + * stdio-common/bug10.c: Likewise. + * stdio-common/scanf1.c: Likewise. + * stdio-common/scanf3.c: Likewise. + * stdio-common/scanf10.c: Likewise. + * stdio-common/tstdiomisc.c: Likewise. + + * new-malloc/obstack.h: Don't define malloc using bcopy if malloc + is not available. This leads to problems since bcopy does not + return a value. Instead define _obstack_memcpy based on memcpy or + bcopy. This name isn't used outside obstack.h and so no problems + from using the memcpy function in a file including obstack.h can + result. + Reported by Martin Trapp . + +Tue Jan 21 18:35:55 1997 Andreas Schwab + + * misc/regexp.h (compile): Fix typos. + +Tue Jan 21 01:01:59 1997 Andreas Schwab + + * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo): Fix + type of pr_{pid,ppid,pgrp,sid} fields. + * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct + elf_prpsinfo): Likewise. + +1997-01-21 Paul Eggert + + * posix/getopt.c (_getopt_internal): Return -1, not EOF, when args + are exhausted; this is required by POSIX.2. + * catgets/gencat.c, db/makedb.c, locale/programs/locale.c, + locale/programs/localedef.c, manual/examples/subopt.c, + posix/getopt.c, posix/getopt1.c, stdio-common/bug4.c, + sunrpc/rpcinfo.c (main): Check getopt return value against -1, not EOF. + +Tue Jan 21 23:10:40 1997 Ulrich Drepper + + * version.h (VERSION): Bump to 1.102. + + * sysdeps/unix/sysv/linux/alpha/Dist: Add kernel_sigaction.h. + + * elf/Makefile: Don't use CFLAGS-dl-load.c, but instead + CPPFLAGS-dl-load.c so that dependencies can be determined correctly. + * elf/dl-load.c: Fix comment. + + * time/Banner: New file. + * time/Makefile (distribute): Add Banner. + + Update from ADO tzcode1997a and tzdata1997a. + * time/antarctica: Update. + * time/australia: Update. + * time/zdump.c: Update. + * time/zic.c: Update. + * time/zone.tab: Update. + +Mon Jan 20 08:38:32 1997 H.J. Lu + + * config.make.in (has-ldconfig): New variable. + + * configure, configure.in (has_ldconfig): New substitute. + + * sysdeps/unix/sysv/linux/configure.in (has_ldconfig): New, + check if $srcdir/elf/ldconfig.c exists. + + * Makeconfig (rootsbindir): New, default as + $(exec_prefix)/sbin. + (rtld-version-installed-name): New, default as + ld-$(version).so. + + * Makefile (install): Call `$(common-objpfx)elf/ldconfig -d' + only if $(cross-compiling) is no and $(build-shared) is yes. + + * Makerules (make-shlib-link): New macro. + ($(slibdir)/libfoo.so.$(libfoo.so-version)): Use + $(make-shlib-link) for symlink. + (install-rootsbin, install-rootsbin-nosubdir): New. + (install-no-libc.a-nosubdir): Add + install-rootsbin-nosubdir. + + * Rules (others): Add $(install-rootsbin). + + * config.make.in (rootsbindir): New. + + * configure, configure.in (libc_cv_rootsbindir): New + substitute. + + * elf/Makefile (others, install-rootsbin): New, set to + ldconfig. + (+link): New for static linking. + ($(slibdir)/$(rtld-version-installed-name)): New. + ($(slibdir)/$(rtld-installed-name)): Depend on + $(slibdir)/$(rtld-version-installed-name) and use + $(make-shlib-link) for symlink. + + * sunrpc/xdr.c (xdr_string): Return FALSE if sp == NULL + while XDR_ENCODE. + + * sysdeps/unix/sysv/linux/a.out.h: Use #include_next for + glibc internals. + + * sysdeps/unix/sysv/linux/configure.in (libc_cv_rootsbindir): + New, set to "/sbin" if "$prefix" == "/usr". + +Tue Jan 21 13:38:39 1997 Ulrich Drepper + + * Makefile (distribute): Add glibcbug.in. + Reported by Philip Blundell . + + * elf/Makefile ($(objpfx)trusted-dirs.h): Create elf/ subdir in + build directory if necessary. + Reported by marcus@shannon.sysc.pdx.edu (Marcus G. Daniels). + +Tue Jan 21 04:05:20 1997 Ulrich Drepper + + * version.h (VERSION): Bump to 1.101. + + Implement -d and -r option to `ldd' to check relocations. + * elf/dl-error.c: Add another method to intercept errors. + (_dl_receive_error): New function. Install user defined handler. + (receiver): New variable. Contains pointer to user provided handler. + (_dl_signal_error): If user provided handler is installed call this. + * elf/dl-load.c (_dl_map_object): When shared object is not found in + trace mode initialize a few more fields so that lookup can actually + happen but always fails. + * elf/ldd.sh.in: Rewrite argument handling. Recognize new arguments + to trigger reloation test. Return with appropriate error code if + a file wasn't found. Print warning if object is not executable. + * elf/ldd.bash.in: Likewise. + * elf/link.h (receiver_fct): New type. Used in _dl_receive_error. + (_dl_sysdep_error): New prototype. + (_dl_receive_error): New prototype. + (_dl_signal_error): Remove __attribute__ ((__noreturn__)). + * elf/rtld.c (dl_main): Rewrite argument handling. More than + one argument allowed. Recognize --data-relocs and --function-relocs + arguments. + Don't determine `lazy' mode from LD_BIND_NOW environment variable + when in trace mode. + If in trace mode and either --data-relocs or --function-relocs is + given perform relocation. Report errors using print_unresolved + function. + (print_unresolved): New function. Print information about missing + symbol on stderr. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_error): New function. + Like _dl_sysdep_message but print to stderr. + * sysdeps/mach/hurd/dl-sysdep.c: Likewise. + + * sysdeps/generic/sockaddrcom.h: Add definition of sa_family_t. + Reported by Andreas Schwab. + (__SOCKADDR_COMMON): Use sa_family_t for family member. + * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise. + + Linux/Sparc support by Miguel de Icaza. + * sysdeps/sparc/fpu_control.h: New file. + * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: New file. + * sysdeps/unix/sysv/linux/sparc/brk.c: New file. + * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file. + * sysdeps/unix/sysv/linux/sparc/sigaction.c: New file. + * sysdeps/unix/sysv/linux/sparc/socket.S: New file. + * sysdeps/unix/sysv/linux/sparc/syscall.S: New file. + * sysdeps/unix/sysv/linux/sparc/sysdep.h: New file. + * sysdeps/unix/sysv/linux/sparc/Dist: New file. + * sysdeps/unix/sysv/linux/sparc/Makefile: New file. + + * sysdeps/unix/sysv/linux/net/if_arp.h: Don't use kernel header. + Provide own definition based on 4.4BSD and Linux. + * sysdeps/unix/sysv/linux/net/ppp_defs.h: Define __u32 before + including . + * sysdeps/unix/sysv/linux/sys/msq_buf.h (struct msqid_ds): Don't + use __pid_t since the kernel might have a different size. + * sysdeps/unix/sysv/linux/sys/shm_buf.h (struct shmid_ds): Likewise. + Reported by Andreas Schwab. + + * time/asctime.c: Update copyright. + * time/dysize.c: Likewise. + * time/gmtime.c: Likewise. + * time/timegm.c: Likewise. + * time/offtime.c: Likewise. De-ANSI-declfy. + + * time/tzset.c (__tzset_internal): When TZ envvar does not name a + DST timezone don't default to offset -1. + + * sysdeps/unix/sysv/linux/net/route.h: Don't use kernel header. + Reported by a sun . + + * resolv/Makefile: Correct spelling: subdirs-dirs -> subdir-dirs. + + * sysdeps/stub/sysv_signal.c: New file. Stub implementation. + + * Makefile (distribute): Add mcheck.h. + + * nis/Makefile (distribute): Add nss-nis.h. + + * libio/Makefile (routines): Change vdprintf to iovdprintf to prevent + dist problem. + + * nss/Makefile (distribute): Add digits_dots.c. + + * sysdeps/unix/sysv/linux/Dist: Add kernel_sigaction.h. + * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/procfs.h. + * sysdeps/unix/sysv/linux/sparc/Dist: Add clone.S. + * new-malloc/Makefile (distribute): Add mcheck-init.c and mcheck.h. + +Mon Jan 20 17:54:28 1997 Sven Verdoolaege + + * manual/filesys.texi: Fix little problem (reentrant->readdir). + +Fri Jan 17 19:07:07 1997 Andreas Schwab + + * configure.in [$elf=yes]: Check for support of .previous and + .popsection in the assembler. + * config.h.in: Add HAVE_ASM_PREVIOUS_DIRECTIVE and + HAVE_ASM_POPSECTION_DIRECTIVE. + * libc-symbols.h (__make_section_unallocated) [HAVE_ELF]: Define + appropriate if either .previous or .popsection is supported. + (libc_warning) [HAVE_ELF]: Use it here. + +Sat Jan 18 22:15:26 1997 Richard Henderson + + * Makeconfig (CFLAGS-.so): Add -fno-common to prevent odd sorts of + errors that can occur when linking libc.so. + +Mon Jan 20 05:20:49 1997 Ulrich Drepper + + * elf/dl-load.c (open_path): When running setuid don't try + a directory if it is not given with the full name. + + * elf/Makefile (before-compile): New variable. Mention trusted-dirs.h. + (trusted-dirs.h): Construct file from $(default-rpath) and + $(user-defined-trusted-dirs) variables. + * elf/dl-load.c (_dl_map_object): Pass additional argument to open_path + which is NULL except for the LD_LIBRARY_PATH pass in which case it + is a pointer to the list of directories from the trusted-dirs.h + file. + (open_path): Accept additional argument with list of trusted dirs. + When running setuid and a list of trusted dirs is given only use + those which are mentioned in the list. + + * elf/rtld.c (dl_main): Don't reject whole LD_LIBRARY_PATH when + running setuid. Instead accept entries which do not contain a '/'. + + * Makeconfig: Correct comment about +(default_cflags). + +Mon Jan 20 05:11:14 1997 Hrvoje Niksic + + * time/strptime.c (recursive): Use && not || to test for valid + argument. + +Mon Jan 20 05:06:50 1997 Ulrich Drepper + + * elf/ldd.sh.in: Exit with value 1 if an error occured. + * elf/ldd.bash.in: Likewise. + + * elf/rtld.c (dl_main): Do not always ignore LD_PRELOAD when the + binary runs setuid. It is save to use those entries which do not + contain a '/'. This is compatible with Solaris-2. + +Mon Jan 20 03:02:50 1997 Ulrich Drepper + + * Make-dist: Update and reformat copyright. + * Makeconfig: Likewise. + * assert/Makefile: Likewise. + * bare/Makefile: Likewise. + * ctype/Makefile: Likewise. + * dirent/Makefile: Likewise. + * gmon/Makefile: Likewise. + * gnulib/Makefile: Likewise. + * grp/Makefile: Likewise. + * hurd/Makefile: Likewise. + * intl/Makefile: Likewise. + * mach/Makefile: Likewise. + * malloc/Makefile: Likewise. + * manual/Makefile: Likewise. + * math/Makefile: Likewise. + * po/Makefile: Likewise. + * pwd/Makefile: Likewise. + * resource/Makefile: Likewise. + * setjmp/Makefile: Likewise. + * socket/Makefile: Likewise. + * string/Makefile: Likewise. + * sunrpc/Makefile: Likewise. + * sysdeps/alpha/Makefile: Likewise. + * sysdeps/gnu/Makefile: Likewise. + * sysdeps/m68k/fpu/switch/Makefile: Likewise. + * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise. + * sysdeps/m68k/fpu/switch/switch.c: Likewise. + * sysdeps/mach/Makefile: Likewise. + * sysdeps/hurd/Makefile: Likewise. + * sysdeps/sparc/Makefile: Likewise. + * sysdeps/standalone/i960/nindy960/Makefile: Likewise. + * sysdeps/standalone/m68k/m68020/mvme136/Makefile: Likewise. + * sysdeps/unix/common/Makefile: Likewise. + * sysdeps/unix/sysv/Makefile: Likewise. + * sysdeps/unix/sysv/irix4/Makefile: Likewise. + * sysdeps/unix/sysv/sco3.2/Makefile: Likewise. + * sysdeps/unix/sysv/sysv4/Makefile: Likewise. + * sysdeps/vax/Makefile: Likewise. + * sysvipc/Makefile: Likewise. + * wcsmbs/Makefile: Likewise. + * wctype/Makefile: Likewise. + + * elf/rtld.c (dl_main): Objects in LD_PRELOAD environment variable + are separated according to Sun docs by white space not colon. + + * locale/C-time.c (_nl_C_LC_TIME): Use empty string to initialize + fields which are not defined for the C locale. + + * sysdeps/m68k/fpu/switch/Makefile: Don't use ansidecl.h in constructed + files. + * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise. + * sysdeps/m68k/fpu/switch/switch.c: Likewise. + +Sun Jan 19 19:43:31 1997 Andreas Jaeger + + * time/strptime.c: Provide prototype for strptime_internal. + +Sun Jan 19 23:46:27 1997 Ulrich Drepper + + * glibcbug.in: We don't guarantee confidential handling. Set + field to always contain `no'. + +Sun Jan 19 21:28:01 1997 Philippe De Muyter + + * intl/explodename.c: Include sys/types.h. + * intl/l10nflist.c: Likewise. + +Sat Jan 18 22:15:26 1997 Richard Henderson + + * config.make.in (install_root): New variable to make it easy to + install glibc somewhere other than /. + + * shlib-versions: alpha-*-linux-* libc=6.1. + + Since sigset_t no longer fits in a register, we can't pass in the + thread's initial mask so easily. Take this opportunity to simplify + the clone implementation by only accepting a single void* argument. + + * sysdeps/unix/sysv/linux/alpha/clone.S: Only take one argument. + * sysdeps/unix/sysv/linux/i386/clone.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/clone.S: Likewise. + * sysdeps/unix/sysv/linux/schedbits.h: Update clone prototypes. + + * sysdeps/unix/sysv/linux/alpha/ioctl-types.h: Remove. + Default Linux version should be sufficient. + + * sysdeps/unix/sysv/linux/alpha/sigprocmask.c: The osf_sigprocmask + system call wants the sigset dereferenced. + + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add entries for + __syscall_ustat and __syscall_xmknod. + * sysdeps/unix/sysv/linux/alpha/xmknod.c: Include sys/sysmacros.h. + + * sysdeps/unix/sysv/linux/sigset.h: Use longs instead of ints. + + * sysdeps/unix/sysv/linux/tcsetattr.c: Fix pointer dereferences. + + * sysdeps/unix/sysv/linux/alpha/sigsuspend.c: Add comment about + dependency to kernel type. + + * sysdeps/unix/sysv/linux/alpha/termbits.h: Correct comment. + +Sun Jan 19 04:38:20 1997 Ulrich Drepper + + * config.make.in (have-ksh, KSH): New variables. Will be filled + in by configure. + * configure.in: Add test for ksh like shell (prefer bash). + * time/Makefile (tests): Depend on install-test-data. + (distribute): Add simplebackw. + (generated-dirs): New variable. + [$(have-ksh)==yes] (install-others): Add iso3166.tab and zone.tab. + (install-bin): Add tzselect. + (install-test-data): Install the zoneinfo files which are needed + for the test case in the build directory. + (test-tz-ENV): New variable. Call test-tz program using data in + build directory. + * time/simpleback: New file. + * time/test-tz.c: Pretty print. + * time/tzfile.c: Use value of environment variable TZDIR as directory + to look for zone info files. + don't let search for DST data destroy already found values. + * time/tzselect.ksh: Use @KSH@ and @TZDIR@ to be substituted when + installing. + * time/tzset.c (__tzset_internal): Avoid freeing string twice. + Set DST zone name to normal zone name if no information is provided. + + * time/mktime.c (mktime): Call __tzset_internal to use current + value of TZ. + + * Makerules (common-clean): Remove $(generated-dirs) inclusing content. + + * glibcbug.in: Fix several bugs. Reported by several people. + + * elf/Makefile: Correct dependecies for $(objpfx)ldd. + + * inet/netinet/ip.h: Define IPTOS_LOWCOST and IPTOS_MINCOST. + + * locale/C-time.c: Update copyright. + * locale/localeinfo.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/direntry.h: Likewise. + + * locale/programs/ld-time.c (time_finish): Correct message string. + * locale/programs/linereader.c (lr_token): Use correctly `number' + not `digit' in message string. + + * stdlib/strtol.c [UNSIGNED]: Don't punt immediately when `-' is + seen. Instead return ULONG_MAX and set ERANGE. + * stdlib/tst-strtol.c: Correct test to reflect above change. + +Sun Jan 19 03:22:30 1997 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sys/mtio.h: Don't use . + We must not use . + + * sysdeps/unix/sysv/linux/sys/ipc_buf.h: Don't use __kernel_* types + since we must not use . + * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/sys/ipc_buf.h: New file. Similar + to sysdeps/unix/sysv/linux/sys/ipc_buf.h, but use alpha relavent + types. + * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: New file. Similar + to sysdeps/unix/sysv/linux/sys/procfs.h, but use alpha relavent + types. + +Sun Jan 19 01:48:20 1997 H.J. Lu + + * sysdeps/libm-i387/e_exp.S: Correct computation of fractional + part. + * sysdeps/libm-i387/e_expf.S: Likewise. + * sysdeps/libm-i387/e_expl.S: Likewise. + * sysdeps/libm-i387/s_expm1.S: Correct computation of fractional + part. Take care of additional value left on stack by fscale. + * sysdeps/libm-i387/s_expm1f.S: Likewise. + * sysdeps/libm-i387/s_expm1l.S: Likewise. + +Fri Jan 17 17:45:32 1997 Ulrich Drepper + + * posix/getopt.c: Change all direct usages of `gettext' to `_'. + + * sysdeps/generic/sysd-stdio.c (__stdio_reopen): Add missing + parameter. + Reported by Harmanjit Singh . + +Thu Jan 16 23:39:25 1997 Ulrich Drepper + + * stdio-common/Makefile (tests): Add scanf11. + * stdio-common/scanf11.c: New file. + * stdio-common/vfscanf.c (__vfscanf): Increment `done' when %n + was processed and value is not suppressed. + * stdio-common/bug10.c: Correct test to expect %n increment the + return value of scanf. + * stdio-common/scanf1.c: Likewise. + * stdio-common/scanf3.c: Likewise. + * stdio-common/scanf10.c: Likewise. + * stdio-common/tstdiomisc.c: Likewise. + + * time/strptime.c: Add lots of conditional compiling to enable use + outside glibc. When used in glibc, make sure C locale format + strings will always be recognized. + +Sat Jan 11 18:53:47 1997 Andreas Schwab + + * sysdeps/unix/sysv/linux/sys/sysmacros.h (major, minor, makedev): + Fix definitions so that they work with __kernel_dev_t. + +Sat Jan 11 14:24:10 1997 Andreas Schwab + + * sysdeps/unix/sysv/linux/kernel_sigaction.h, + sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h, + sysdeps/unix/sysv/linux/sigaction.c: New files. + * sysdeps/unix/sysv/linux/syscalls.list: Add s_sigaction. + +Sun Jan 12 15:22:33 1997 Andreas Schwab + + * libc-symbols.h (link_warning): Make sure that the .gnu.warning + section is not allocated. + Update and reformat copyright. + +Sun Jan 12 12:19:28 1997 Andreas Schwab + + * elf/Makefile ($(objpfx)ldd): Fix depedency list. + +Sat Jan 11 15:11:26 1997 Andreas Schwab + + * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Fix + command so that it works in subdirectories. + +Wed Jan 8 22:07:58 1997 Andreas Schwab + + * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_getgroups and + s_setgroups. + * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/i386/getgroups.c, + sysdeps/unix/sysv/linux/i386/setgroups.c, + sysdeps/unix/sysv/linux/m68k/getgroups.c, + sysdeps/unix/sysv/linux/m68k/setgroups.c: New files. + +Wed Jan 8 19:42:59 1997 Andreas Schwab + + * Makefile (config.status): Delete bogus rule. + ($(objpfx)glibcbug): Renamed from plain `glibcbug', depend on + config.status in build directory, fix command to change to build + directory. + * Makeconfig ($(common-objpfx)config.status): Depend on version.h. + +Thu Jan 9 08:47:54 1997 Andreas Jaeger + + * glibcbug.in (while): We test for four and not five conditions, + set MAIL_AGENT instead of RMAIL, filter spaces and tabs. + +Thu Jan 16 22:00:27 1997 Ulrich Drepper + + * misc/syslog.c: Don't define cancel_handler if _LIBC_REENTRANT + is not defined. Reported by Andreas Jaeger. + +Thu Jan 9 08:47:54 1997 Andreas Jaeger + + * new-malloc/malloc.c (__MALLOC_P): define call to pthread + initializer only if NO_THREADS is not defined. + +Wed Jan 8 21:28:58 1997 Andreas Jaeger + + * resolv/nss_dns/dns-host.c: Clean-up: delete unnecessary includes + and variables. + +Thu Jan 16 21:50:27 1997 Ulrich Drepper + + * inet/arpa/inet.h: Include to get struct in_addr + defined. + +Tue Jan 7 17:29:59 1997 Andreas Schwab + + * Makerules (LDLIBS-c.so): New variable. + +Tue Jan 7 19:22:00 1997 Andreas Schwab + + * Makefile ($(includedir)/gnu/lib-names.h): Define the library + names as strings, not as sequence of tokens that may fall apart. + +Fri Jan 10 14:08:41 1997 Roland McGrath + + * time/tzfile.c (__tzfile_read): Check for bogus type and zone name + indices in data file and punt, so a bogus file can't crash us. + +Thu Jan 16 20:29:15 1997 Ulrich Drepper + + * values.h [__USE_MISC]: Define BITSPERBYTE. + +Fri Jan 17 14:16:28 1997 Thomas Bushnell, n/BSG + + * stdio/vdprintf.c: Moved file to ... + * sysdeps/posix/vdprintf.c: Here. De-ansideclificate. + * sysdeps/stub/vdprintf.c: New file. + * sysdeps/mach/hurd/vdprintf.c: New file. + +Thu Jan 9 15:59:35 1997 Thomas Bushnell, n/BSG + + * sysdeps/mach/hurd/posix_opt.h: New file. + + * sysdeps/mach/hurd/sigwait.c (sigwait): Don't affect signal mask. + + * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Finish + deansideclification. + + * sysdeps/mach/libc-lock.h: Add kludges to pretend to implement + recursive locks. + +Tue Jan 7 09:48:15 1997 Andreas Jaeger + + * signal/sigempty.c (sigemptyset): Correct typo: Empty set should + have all bits zero. + +Tue Jan 7 23:44:39 1997 Ulrich Drepper + + * inet/gethstbynm.c: Include additional headers for additional + code in nss/digits_dots.c. + * inet/gethstbynm_r.c: Likewise. + * inet/gethstbynm2.c: Likewise. + * inet/gethstbynm2_r.c: Likewise. + * nss/digits_dots.c: New file. Handle dotted pair notation for + gethstbynm functions. + * nss/getXXbyYY.c: Include digits_dots.c to get extra code for + handling dotted pair notation. + * nss/getXXbyYY_r.c: Likewise. + Patches by HJ Lu. + + * resolv/nss_dns/dns-host.c: Don't handle dotted pair notation. + + * io/getwd.c: Optimized a bit. + + * signal/signal.h: Always declare __sysv_signal. + + * sysdeps/generic/setenv.c: Add some portability code. + + * sysdeps/unix/sysv/fcntlbits.h: Update copyright. + + * sysdeps/unix/sysv/linux/fcntlbits.h: Add definitions from kernel + to avoid using kernel headers. + * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: New file. Alpha + specific version. + + * sysdeps/unix/sysv/linux/syscalls.list: Add sys_mknod. Don't + mark sigreturn as EXTRA. + + * sysdeps/unix/sysv/linux/ustat.c: Declare __syscall_ustat. + * sysdeps/unix/sysv/linux/alpha/ustat.c: New file. Alpha version. + +Tue Jan 7 09:48:15 1997 Andreas Jaeger + + * io/fts.c (fts_alloc): Add const to second parameter of function. + + * io/Makefile: Change CFLAGS-fts.c and define CFLAGS-ftw.c to + prevent warnings. + + * signal/sigfillset.c: Include for memset declaration. + +Tue Jan 7 11:14:32 1997 Miles Bader + + * sysdeps/generic/setenv.c: Fix portability problems. + +Tue Jan 7 02:10:17 1997 Ulrich Drepper + + * posix/getopt.c (_getopt_internal): Don't reset __getopt_initialized + after the last option was seen. + +Mon Jan 6 15:30:21 1997 Ulrich Drepper + + * elf/elf.h (DT_EXTRANUM): Set to 3 since 0x7ffffffd is used. + +Mon Jan 6 13:57:05 1997 Ulrich Drepper + + * io/ftw.c: Add `const' to second parameter of function given as + second parameter to ftw. + * io/ftw.h: Likewise for prototype. + Reported by Ronald F. Guilmette . + +Thu Jan 2 23:44:39 1997 Philip Blundell + + * inet/Makefile (headers): Add netinet/ip.h. + * inet/netinet/ip.h: New file, contains BSD definitions for struct + ip and friends. + +Fri Jan 3 23:17:11 1997 Andreas Schwab + + * string/string.h (strnlen): Add cast for C++. + +Mon Jan 6 03:31:46 1997 Ulrich Drepper + + * Makefile (install-bin): Define as glibcbug to install script. + (glibcbug): New rules. Create from glibcbug.in. + * configure.in (AC_OUTPUT): Generate glibcbug script. + * glibcbug.in: New file. + * version.c: Mention glibcbug to report bugs. + * catgets/gencat.c: Likewise. + * db/makedb.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. + * elf/ldd.bash.in: Likewise. + * elf/ldd.sh.in: Likewise. + * intl/locale.alias: Likewise. + + * mcheck.h: New file. Necessary since mcheck.h is used in time/ap.c. + + * set-init.c: Update and reformat copyright. + * version.c: Likewise. + * signal/sigaddset.c: Likewise. + * signal/sigdelset.c: Likewise. + * signal/sigempty.c: Likewise. + * signal/sigfillset.c: Likewise. + * signal/siggetmask.c: Likewise. + * signal/sigismem.c: Likewise. + * sysdeps/generic/speed.c: Likewise. + * sysdeps/unix/getdents.c: Likewise. + * sysdeps/unix/xmknod.c: Likewise. + * sysdeps/unix/bsd/poll.c: Likewise. + * sysdeps/unix/bsd/tcdrain.c: Likewise. + * sysdeps/unix/bsd/tcflow.c: Likewise. + * sysdeps/unix/bsd/tcflush.c: Likewise. + * sysdeps/unix/bsd/tcgetpgrp.c: Likewise. + * sysdeps/unix/bsd/tcsendbrk.c: Likewise. + * sysdeps/unix/bsd/tcsetpgrp.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c: Likewise. + * sysdeps/unix/sysv/getdents.c: Likewise. + * sysdeps/unix/sysv/i386/sigreturn.S: Likewise. + * termios/Makefile: Likewise. + * termios/cfmakeraw.c: Likewise. + * termios/cfsetspeed.c: Likewise. + + * version.h: Bump VERSION to 1.100. + + * intl/finddomain.c: Defining stpcpy function isn't necessary. + + * libio/genops.c (_IO_init): Use _IO_lock_init instead of + _IO_lock_init_recursive. + * libio/stdfiles.c (DEF_STDFILE): Use _IO_lock_initializer instead + of _IO_lock_init. + + * locale/programs/charmap.c (obstack_chunk_alloc): Use malloc instead + of xmalloc. + * locale/programs/ld-collate.c: Likewise. + * locale/programs/simple-hash.c: Likewise. + + * misc/Makefile (headers): Add selectbits.h. + * misc/sys/select.h: Include to get necessary + definitions. + * sysdeps/generic/selectbits.h: New file. Generic macros for + handling file descriptor sets. + * sysdeps/i386/selectbits.h: New file. i386 specific macros for + handling file descriptor sets. + * sysdeps/generic/gnu/types.h: Remove _FD_* macros. + + * misc/mntent_r.c: Fix handling of multiple, comma-separated + options. Patch by Sai-Lai Lo . + + * po/de.po: Update. + * po/ko.po: Update. + * po/sv.po: Update. + + * posix/getopt.c: Only use the bash generated environment variable + to determine non-option parameters when using in GNU libc and if + the argument vector given to getopt is the same as given to the + program. + + * posix/unistd.h [__USE_GNU]: Declare environ. + + * posix/sys/types.h (key_t): Also define when __USE_XOPEN. + + * resolv/res_debug.c: Add casts to prevent warnings. + * resolv/res_query.c: Likewise. + + * resolv/nss_dns/dns-host.c: Change type for buffer size arguments + to `size_t'. + * resolv/nss_dns/dns-network.c: Likewise. + + * signal/sigempty.c: Use memset to initialize variable. + * signal/sigfillset.c: Likewise. + + * signal/signal.h: Change back handling of signal. The BSD + version is preferred and the new sysv_signal is used when + __USE_XOPEN. + * sysdeps/posix/sysv_signal.c: Renamed from signal.c. Use SVID + semantic. + * sysdeps/posix/signal.c: Renamed from bsd_signal.c. Use BSD + semantic. + * sysdpes/posix/sigpause.c: Correct comment. + * sysdeps/stub/sigpause.c: Provide default implementation. + * signal/Makefile (routines): Remove bsd_signal, add sysv_signal. + + * sysdeps/generic/abort.c: Allow repeated calls to abort if + a user defined handler for SIGABRT is installed. + + * sysdeps/stub/libc-lock.h: Define separate set of macros for + handling recursive mutexes. + + * sysdeps/unix/Makefile: Change rule to generate syscall.h file + so that it is generate in the sys/ subdir. + + * sysdeps/unix/sysv/linux/Dist: Add kernel_termios.h. + * sysdeps/unix/sysv/linux/alpha/Dist: Add kernel_termios.h and + sys/acct.h. + + * sysdeps/unix/sysv/linux/direntry.h: Don't use struct dirent from + kernel. Define own version with additional field d_type. + * sysdeps/unix/sysv/linux/getdents.c: New file. Reformat dirent + entries after reading from kernel. + + * sysdeps/unix/sysv/linux/gnu/types.h: Don't use kernel headers. + Define types based on kernel types except for uid_t, gid_t, mode_t, + dev_t which are larger now. + * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Likewise. + + * sysdeps/unix/sysv/linux/ioctl-types.h: Don't include + . Define structure here. + * sysdeps/unix/sysv/linux/alpha/ioctl-types.h: Likewise. + * sysdeps/unix/sysv/linux/kernel_termios.h: New file. Define + architecture dependent struct termio type. + * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Likewise. + * sysdeps/unix/sysv/linux/sigset.h: Define extended sigset_t type. + * sysdeps/unix/sysv/linux/sigsuspend.c: Pass first word of array + to syscall. + + * sysdeps/unix/sysv/linux/socketbits.h: Don't use kernel header. + * sysdeps/unix/sysv/linux/statfsbuf.h: Likewise. + * sysdeps/unix/sysv/linux/termbits.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/termbits.h: Likewise. + * sysdeps/unix/sysv/linux/ustatbits.h: Likewise. + * sysdeps/unix/sysv/linux/net/if.h: Likewise. + * sysdeps/unix/sysv/linux/netinet/in.h: Likewise. + * sysdeps/unix/sysv/linux/sys/acct.h: Likewise. + + * sysdeps/unix/sysv/linux/sys/sysmacros.h (minor, major, mkdev): + Change definitions to fit new dev_t definition. + + * sysdeps/unix/sysv/linux/syscalls.list: Add getdents and sigreturn. + Rename ustat to s_ustat since wrapper is needed. + + * sysdeps/unix/sysv/linux/tcgetattr.c: After getting value from + kernel rewrite it to userland level data format. + * sysdeps/unix/sysv/linux/tcsetattr.c: Before calling kernel change + data format to kernel format. + * sysdeps/unix/sysv/linux/ustat.c: New file. Change format of + device parameter to format needed by kernel. + * sysdeps/unix/sysv/linux/alpha/ustat.c: Likewise. + * sysdeps/unix/sysv/linux/xmknod.c: New file. Extend generic + version to change device parameter to format needed by kernel. + * sysdeps/unix/sysv/linux/alpha/xmknod.c: Likewise. + + * sysdeps/unix/sysv/linux/alpha/sys/acct.h: New file. Alpha specific + definition of accounting structure. + + * sysdeps/unix/sysv/linux/sys/ptrace.h: Include . + Patch by Andreas Schwab. + + * time/ap.c: Include . + + * time/tzset.c (__tzset_internal): Change to take one argument + which tells whether examining of TZ is always wanted or only if + no initialization happened before. + * time/localtime.c: (localtime, __localtime_r): Change for new + __tzset_internal form. + + * time/sys/time.h: Include to get select related + declarations. + +Mon Jan 6 01:58:21 1997 Richard Henderson + + * sysdeps/alpha/dl-machine.h (elf_machine_dynamic): Work around + bug in GNU ld. + +Mon Jan 6 01:35:29 1997 H.J. Lu + + * misc/getpass.c: Make sure the content of the input buffer is not + printed if the getpass function is interrupted. + +Sat Jan 4 17:07:08 1997 Roland McGrath + + * md5-crypt/Makefile (rpath-link): Add md5-crypt objdir, not crypt. + +Thu Jan 2 17:58:23 1997 Roland McGrath + + * sysdeps/generic/abort.c: Include for memset decl. + + * new-malloc/mcheck.c [_LIBC || STDC_HEADERS || USG]: Include + so memset is declared. + +Tue Dec 31 21:16:05 1996 Roland McGrath + + * elf/dl-deps.c (_dl_map_object_deps): Support DT_AUXILIARY. + + * elf/dl-error.c (_dl_catch_error): Save and restore old catch site so + calls can be nested. + + * elf/link.h (struct link_map): Extend `l_info' by DT_EXTRANUM elts. + * elf/dynamic-link.h (elf_get_dynamic_info): Grok tags in the Sun + extension range. + + * elf/elf.h (DT_AUXILIARY, DT_FILTER, DT_EXTRANUM): New constant + macros, for Sun extensions. + (DT_EXTRATAGID): New macro to convert Sun extension tag values placed + near the top of the processor-specific range into zero-origin indices. + + * elf/dl-deps.c (_dl_map_object_deps): Check for malloc failure. + +Sat Jan 4 22:25:01 1997 Andreas Jaeger + + * libio/fcloseall.c: Include stdio.h for prototype declaration for + __fcloseall. + +Thu Jan 2 17:35:20 1997 Thomas Bushnell, n/BSG + + * sysdeps/posix/signal.c: Provide ignorable definitions of + SA_ONESHOT, SA_NOMASK, and SA_INTERRUPT for non-threads Posix + systems. + +Thu Jan 2 23:20:51 1997 Andreas Schwab + + * MakeTAGS ($P/siglist.pot): Delete rule. + (XGETTEXTFLAGS-siglist.pot): Remove definition. + (all-pot): Remove $P/siglist.pot. + * sysdeps/unix/siglist.c: Mark strings as translatable. + * sysdeps/unix/sysv/linux/siglist.h: Likewise. + +Wed Jan 1 22:21:18 1997 Andreas Schwab + + * misc/syscall.h: New file. + * misc/sys/syscall.h: Removed. Forwarding to might + find user header, so do it the other way round. + * sysdeps/mach/sys/syscall.h: Moved here from parent directory. + * sysdeps/stub/sys/syscall.h: Likewise. + * sysdeps/unix/sysv/linux/sys/syscall.h: Likewise. + * sysdeps/unix/sysv/sco3.2.4/sys/syscall.h: Likewise. + * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Update + dependency. + * sysdeps/unix/sysdep.h: Include instead of + . + +Tue Dec 31 00:03:18 1996 Andreas Schwab + + * features.h: Fix typo. + +Thu Jan 2 00:46:09 1997 Ulrich Drepper + + * libio/_G_config.h: Add _G_HAVE_LONG_DOUBLE_IO for libg++. + +Wed Jan 1 15:15:00 1997 Ulrich Drepper + + * libio/Makefile (routines): Add fcloseall. + * libio/fcloseall.c: New file. + * libio/stdio.h [__USE_GNU]: Add prototype for fcloseall. + * libio/iofclose.c: Don't close all streams when argument is NULL. + + * stdio/Makefile (routines): Add fcloseall. + * stdio/fcloseall.c: New file. + * stdio/stdio.h [__USE_GNU]: Add prototype for fcloseall. + * stdio/fclose.c: Don't close all streams when argument is NULL. + + * manual/stdio.texi: Document fcloseall. + + * sysdeps/generic/abort.c: Call __fcloseall instead of fclose with + NULL argument. + + * socket/sys/un.h (SUN_LEN): Add cast. + + * sunrpc/auth_unix.c (authunix_create): Change parameter types + of uid, gid, and aup_gids to uid_t and gid_t respectively. + (authunix_create_default): Likewise. + (authunix_refresh): Correct cast for aup_gids assignment. + * sunrpc/rpc/auth.h (authunix_create): Correct types in declaration. + * sunrpc/rpc/auth_unix.h (struct authunix_parms): Correct field + types to uid_t and gid_t respectively. + (struct short_hand_verf): Likewise. + Reported by Andreas Schwab. + + * sysdeps/ieee754/Makefile: New file. Make sure ieee754.h gets + installed. + * sysdeps/ieee754/ieee754.h: Protect against multiple inclusion and + use in C++ programs. + + * sysdeps/libm-i387/e_pow.S: New file. Optimized ix87 assembler + version of pow() function. + * sysdeps/libm-i387/e_powf.S: New file. Float version. + * sysdeps/libm-i387/e_powl.S: New file. Long double version. + + * sysdeps/libm-i387/s_expm1.S: New file. Optimized ix87 assembler + version of expm1() function. + * sysdeps/libm-i387/s_expm1f.S: New file. Float version. + * sysdeps/libm-i387/s_expm1l.S: New file. Long double version. + + * sysdeps/libm-i387/e_exp.S: Optimize handling of +-Inf. + Better handling of computation stack from current NetBSD sources. + * sysdeps/libm-i387/e_expf.S: Likewise. + * sysdeps/libm-i387/e_expl.S: Likewise. + + * sysdeps/libm-i387/e_log.S: Use fstp instead of fincstp. + * sysdeps/libm-i387/e_logf.S: Likewise. + * sysdeps/libm-i387/e_logl.S: Likewise. + * sysdeps/libm-i387/e_log10.S: Likewise. + * sysdeps/libm-i387/e_log10f.S: Likewise. + * sysdeps/libm-i387/e_log10l.S: Likewise. + * sysdeps/libm-i387/s_asinh.S: Likewise. + * sysdeps/libm-i387/s_asinhf.S: Likewise. + * sysdeps/libm-i387/s_asinhl.S: Likewise. + * sysdeps/libm-i387/s_significandl.S: Likewise. + + * sysdeps/libm-i387/s_ceil.S: Don't create stack frame. Modify + stack pointer directly. Use 32 bit instead of 16 bit operations. + * sysdeps/libm-i387/s_ceilf.S: Likewise. + * sysdeps/libm-i387/s_ceill.S: Likewise. + * sysdeps/libm-i387/s_floor.S: Likewise. + * sysdeps/libm-i387/s_floorf.S: Likewise. + * sysdeps/libm-i387/s_floorl.S: Likewise. + + * sysdeps/libm-ieee754/e_coshf.c (huge): Don't declare volatile. + * sysdeps/libm-ieee754/e_expf.c: Likewise. + * sysdeps/libm-ieee754/e_powf.c: Likewise. + From current NetBSD sources. + + * sysdeps/libm-ieee754/e_hypot.c (__ieee754_hypot): Don't initialize + `a' and `b' in definition. + * sysdeps/libm-ieee754/e_hypotf.c: Likewise. + + * sysdeps/libm-ieee754/e_hypotl.c: New file. Long double + implementation. + * sysdeps/libm-ieee754/e_sinhl.c: New file. Long double + implementation. + * sysdeps/stub/e_hypotl.c: Removed. We have a real version now. + * sysdeps/stub/e_sinhl.c: Removed. + + * sysdeps/posix/sigpause.c (__sigpause): Use sigdelset instead of + sigaddset. Reported by Andreas Schwab. + (__default_sigpause): New function. Call __sigpause as BSD version. + Make this the default function by providing alias sigpause. + * sysdeps/stub/sigpause.c (__default_sigpause): New funciton. + Simply fail. Provide alias sigpause. + +Wed Jan 1 12:34:54 1997 Ulrich Drepper + + * po/es.po: Update for glibc-1.98. + * po/fr.po: Likewise. + * po/sv.po: New file. Swedish translation. + +Wed Jan 1 12:18:07 1997 MacGyver + + * values.h: Fix typos: use SHRT_MAX but SHORT_MAX and SHRT_MIN but + SHORT_MIN. + +Tue Dec 24 23:10:21 1996 Andreas Schwab + + * Makefile: Replace `stubs.h' by `gnu/stubs.h'. + * features.h: Include instead of . + +Tue Dec 24 22:16:55 1996 Andreas Schwab + + * Makefile (subdirs): Move `elf' last so that librtld.so isn't + relinked in the `make others' pass if an add-on adds something to + libc. + +Mon Dec 23 21:23:16 1996 Andreas Schwab + + * sysdeps/m68k/abort-instr.h: New File. + +Mon Dec 23 21:16:38 1996 Andreas Schwab + + * sysdeps/m68k/Makefile ($(subdir)=elf): Define CFLAGS-rtld.c + to prevent warning. + +Mon Dec 23 21:14:22 1996 Andreas Schwab + + * resolv/Makefile (subdirs-dirs): Define. + +Mon Dec 23 20:56:49 1996 Andreas Schwab + + * sysdeps/gnu/utmpbits.h (struct utmp): Fix padding. + +Mon Dec 30 11:05:11 1996 Ulrich Drepper + + Update from ADO tzcode1996o. + * time/difftime.c: De-ANSI-declfy. Simplify computation of hibit + according to ADO version. + * time/zic.c: Correct typo is message. + + Update from ADO tzdata1996n. + * time/asia: Updated. + * time/australasia: Likewise. + * time/europe: Likewise. + * time/northamerica: Likewise. + * time/southamerica: Likewise. + +Mon Dec 30 01:32:59 1996 Ulrich Drepper + + * tme/localtime.c: Rewrite so that localtime_r does not call tzset, + but localtime does. + + * features.h: Rename ANSI C to ISO C. + Mention __GLIBC__ and __GLIBC_MINOR__ macros. + + * gnu-versions.h: Add _GNU_GETOPT_INTERFACE_VERSION. + * posix/getopt.c: Use _GNU_GETOPT_INTERFACE_VERSION to check + whether we can elide the code. + * posix/getopt1.c: Likewise. + * posix/Makefile: Correct copyright. + + * elf/dl-error.c (_dl_catch_error): Clear `catch' also when error + occurred. + * elf/dl-support.c (_dl_sysdep_open_zero_fill): Don't define if + MAP_ANON is defined. + * elf/eval.c: Use __getline instead of getline. + * elf/rtld.c (dl_main): Check return value of _dl_new_object + function for NULL. + * sysdeps/generic/dl-cache.c: Update copyright. + + * signal/Makefile: Correct copyright. + (routines): Remove gsignal and ssignal. Add bsd_signal. + * signal/gsignal.c: Removed. Now is made an alias. + * signal/ssignal.c: Likewise. + * sysdeps/posix/raise.c: Add alias gsignal. + * sysdeps/stub/raise.c: Likewise. + * sysdeps/posix/signal.c: Add alias ssignal. + * sysdeps/stub/signal.c: Likewise. + * signal/signal.h: Declare bsd_signal. Define signal as bsd_signal + if __FAVOR_BSD. + * sysdeps/posix/bsd_signal.c: New file. Implementation of XPG + function. This is the old signal.c file. + * sysdeps/posix/signal.c: Change to have semantic of X/Open. + + * sysdeps/unix/sysv/linux/signal.c: Add explanation. + + * socket/sys/un.h: Define SUN_LEN according to POSIX.1g. + + * stdio-common/Makefile (tests): Add scanf10. + * stdio-common/scanf10.c: New file. + * stdio-common/vfscanf.c: Decrement counter if EOF is read while + reading string. + + * sysdeps/libm-i387/e_acos.S: Use END, not PSEUDO_END. + * sysdeps/libm-i387/e_acosl.S: Likewise. + * sysdeps/libm-i387/e_asin.S: Likewise. + * sysdeps/libm-i387/e_asinl.S: Likewise. + * sysdeps/libm-i387/e_atan2.S: Likewise. + * sysdeps/libm-i387/e_atan2f.S: Likewise. + * sysdeps/libm-i387/e_atan2l.S: Likewise. + * sysdeps/libm-i387/e_exp.S: Likewise. + * sysdeps/libm-i387/e_expl.S: Likewise. + * sysdeps/libm-i387/e_fmod.S: Likewise. + * sysdeps/libm-i387/e_fmodl.S: Likewise. + * sysdeps/libm-i387/e_log.S: Likewise. + * sysdeps/libm-i387/e_log10.S: Likewise. + * sysdeps/libm-i387/e_log10l.S: Likewise. + * sysdeps/libm-i387/e_logl.S: Likewise. + * sysdeps/libm-i387/e_remainder.S: Likewise. + * sysdeps/libm-i387/e_remainderf.S: Likewise. + * sysdeps/libm-i387/e_remainderl.S: Likewise. + * sysdeps/libm-i387/e_scalb.S: Likewise. + * sysdeps/libm-i387/e_scalbl.S: Likewise. + * sysdeps/libm-i387/e_sqrt.S: Likewise. + * sysdeps/libm-i387/e_sqrtf.S: Likewise. + * sysdeps/libm-i387/e_sqrtl.S: Likewise. + * sysdeps/libm-i387/s_atan.S: Likewise. + * sysdeps/libm-i387/s_atanf.S: Likewise. + * sysdeps/libm-i387/s_atanl.S: Likewise. + * sysdeps/libm-i387/s_ceil.S: Likewise. + * sysdeps/libm-i387/s_ceilf.S: Likewise. + * sysdeps/libm-i387/s_ceill.S: Likewise. + * sysdeps/libm-i387/s_copysign.S: Likewise. + * sysdeps/libm-i387/s_copysignf.S: Likewise. + * sysdeps/libm-i387/s_copysignl.S: Likewise. + * sysdeps/libm-i387/s_cos.S: Likewise. + * sysdeps/libm-i387/s_cosf.S: Likewise. + * sysdeps/libm-i387/s_cosl.S: Likewise. + * sysdeps/libm-i387/s_finite.S: Likewise. + * sysdeps/libm-i387/s_finitef.S: Likewise. + * sysdeps/libm-i387/s_finitel.S: Likewise. + * sysdeps/libm-i387/s_floor.S: Likewise. + * sysdeps/libm-i387/s_floorf.S: Likewise. + * sysdeps/libm-i387/s_floorl.S: Likewise. + * sysdeps/libm-i387/s_ilogb.S: Likewise. + * sysdeps/libm-i387/s_ilogbf.S: Likewise. + * sysdeps/libm-i387/s_ilogbl.S: Likewise. + * sysdeps/libm-i387/s_log1p.S: Likewise. + * sysdeps/libm-i387/s_log1pf.S: Likewise. + * sysdeps/libm-i387/s_log1pl.S: Likewise. + * sysdeps/libm-i387/s_logb.S: Likewise. + * sysdeps/libm-i387/s_logbf.S: Likewise. + * sysdeps/libm-i387/s_logbl.S: Likewise. + * sysdeps/libm-i387/s_rint.S: Likewise. + * sysdeps/libm-i387/s_rintf.S: Likewise. + * sysdeps/libm-i387/s_rintl.S: Likewise. + * sysdeps/libm-i387/s_scalbn.S: Likewise. + * sysdeps/libm-i387/s_scalbnf.S: Likewise. + * sysdeps/libm-i387/s_scalbnl.S: Likewise. + * sysdeps/libm-i387/s_significand.S: Likewise. + * sysdeps/libm-i387/s_significandf.S: Likewise. + * sysdeps/libm-i387/s_significandl.S: Likewise. + * sysdeps/libm-i387/s_sin.S: Likewise. + * sysdeps/libm-i387/s_sinf.S: Likewise. + * sysdeps/libm-i387/s_sinl.S: Likewise. + + * sysdeps/libm-i387/e_log.S: Use fyl2xp1 instruction for values + near 1 to increase precision. + * sysdeps/libm-i387/e_log10.S: Likewise. + * sysdeps/libm-i387/e_log10l.S: Likewise. + * sysdeps/libm-i387/e_logl.S: Likewise. + + * sysdeps/libm-i387/s_cos.S: Use testl instead of andw. + * sysdeps/libm-i387/s_cosl.S: Likewise. + * sysdeps/libm-i387/s_sin.S: Likewise. + * sysdeps/libm-i387/s_sinl.S: Likewise. + * sysdeps/libm-i387/s_tan.S: Likewise. + * sysdeps/libm-i387/s_tanl.S: Likewise. + + * sysdeps/libm-i387/e_acosf.S: New file. Add float versions. + * sysdeps/libm-i387/e_asinf.S: Likewise. + * sysdeps/libm-i387/e_expf.S: Likewise. + * sysdeps/libm-i387/e_fmodf.S: Likewise. + * sysdeps/libm-i387/e_log10f.S: Likewise. + * sysdeps/libm-i387/e_logf.S: Likewise. + * sysdeps/libm-i387/e_scalbf.S: Likewise. + + * sysdeps/libm-i387/e_acosh.S: New file. Highly optimized versions. + * sysdeps/libm-i387/e_acoshf.S: Likewise. + * sysdeps/libm-i387/e_acoshl.S: Likewise. + * sysdeps/libm-i387/e_atanh.S: Likewise. + * sysdeps/libm-i387/e_atanhf.S: Likewise. + * sysdeps/libm-i387/e_atanhl.S: Likewise. + * sysdeps/libm-i387/e_asinh.S: Likewise. + * sysdeps/libm-i387/e_asinhf.S: Likewise. + * sysdeps/libm-i387/e_asinhl.S: Likewise. + + * sysdeps/libm-ieee754/s_asinhf.c: Tweak a bit. Use lower levels + for simplified handling. + + * sysdeps/unix/sysv/linux/syscalls.list: Add query_module. + +Sun Dec 22 01:39:29 1996 Andreas Schwab + + * inet/rcmd.c (rcmd): Set h_errno before calling herror. + * inet/rexec.c (rexec): Likewise. + +Sat Dec 21 21:47:08 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/setjmp.c (__setjmp): Make it really + compatible. + +Sun Dec 22 03:23:33 1996 Ulrich Drepper + + * sysdeps/libm-i387/s_log1p.S: Use fyl2xp1 for numbers in range + -0.29 <= x <= 0.29, otherwise the old method. + * sysdeps/libm-i387/s_log1pf.S: Likewise. + * sysdeps/libm-i387/s_log1pl.S: Likewise. + +Sun Dec 22 00:01:27 1996 Ulrich Drepper + + * inet/getnetgrent.c: Reformat copyright. + + * inet/getnetgrent_r.c (__internal_endnetgrent): Correct comment. + (__internal_getnetgrent): Rename to __internal_getnetgrent_r as + required in change nis/nss_compat/* at Thu Dec 19 14:24:50 1996. + Reported by Thorsten Kukuk . + + * nss/nss_files/files-netgrp.c: Fix typo. + * login/utmp_db.c: Comment out unused variables. + * misc/tst-dirname.c: Provide prototype for main (for now). + * new-malloc/mcheck-init.c: Include . + * new-malloc/obstack.c: Provide real prototypes. + + * resolv/base64.c (b64_ntop): Use size_t as type of `i', not int. + (b64_pton): Likewise for `tarindex'. + * resolv/nsap_addr.c (inet_nsap_addr): Add cast to prevent warning. + + * stdio-common/Makefile: Add CFLAGS-vfprintf.c to prevent warning. + * stdio-common/printf-parse.h: Remove definition of MIN and MAX. + * stdio-common/printf-prs.c: Include to get MIN and MAX. + * stdio-common/vfprintf.c: Likewise. + * stdlib/gmp-impl.h: Only define MIN and MAX if not already done. + * stdlib/tst-strtol.c: Don't use -2147483648 as unsigned long value. + + * sysdeps/generic/Makefile ($(subdir)=string): Define + CFLAGS-wordcopy.c to prevent warning. + * sysdeps/generic/mul_n.c (mpn_mul_n): Don't define as inline. + * sysdeps/generic/wordcopy.c: De-ANSI-declfy. + * sysdeps/i386/Makefile ($(subdir)=elf): Define CFLAGS-rtld.c + to prevent warning. + * sysdeps/i386/dl-machine.h: Correct copyright. + * sysdeps/unix/closedir.c: Likewise. + * sysdeps/unix/dirstream.h: Likewise. + * sysdeps/unix/opendir.c: Likewise. + * time/tzset.c: Add prototype for __tzset_internal. + + * sysdeps/gnu/utmpbits.h (enum utlogin): Comment out since the + way it is supposed to work is not yet known. + (struct utmp): Remove ut_login and ut_syslen field for now. + +Sat Dec 21 16:23:54 1996 Ulrich Drepper + + * time/strftime.c: Fix another bug in handling flags made it + impossible to use the `-', `_', or `0' flag. + +Sat Dec 21 04:14:16 1996 Ulrich Drepper + + * sysdeps/unix/common/pause.c: Add missing second argument in + call to __sigpause. + Reported by a sun . + + * locale/weight.h: Correct handling of collation elements. + Reported by Keld Simonsen . + + * manual/time.texi: Document ^ flag and %P format. + + * new-malloc/malloc.c: Update from Wolfram Gloger. + + * nss/nss.h: Reformat copyright. + * posix/sched.h: Likewise. + * sysdeps/i386/fpu_control.h: Likewise. + * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise. + * sysdeps/unix/sysv/linux/ioctls.h: Likewise. + * sysdeps/unix/sysv/linux/sigcontext.h: Likewise. + * sysdeps/unix/sysv/linux/utsnamelen.h: Likewise. + * sysdeps/unix/sysv/linux/sys/acct.h: Likewise. + * sysvips/sys/msg.h: Likewise. + + * stdio-common/Makefile (routines): Remove fcloseall. + * stdio-common/fcloseall.c: Removed. + + * stdlib/Makefile (distribute): Add abort-instr.h. + * sysdeps/generic/abort-instr.h: New file. + * sysdeps/i386/abort-instr.h: New file. + * sysdeps/generic/abort.c: Use lock and stage counter to prevent + any form of loop. + + * sysdeps/unix/sysv/linux/timebits.h: Define CLK_TCK as 100. + * sysdeps/unix/sysv/linux/alpha/timebits.h: Define CLOCKS_PER_SEC + as 1000000. Define CLK_TCK as 1024. + * time/time.c (CLK_TCK): Define only if not already set. + + * time/strftime.c: Don't use `isdigit' when computing field width + from string since the locale might have more than one digit + block. + +Fri Dec 20 12:38:14 1996 Darrel Hankerson + + * posix/getopt.c (in -W option handling): Return when optind == argc. + +Thu Dec 19 14:24:50 1996 Andreas Schwab + + * nis/nss_nis/nis-alias.c (_nss_nis_parse_aliasent): Add const to + type of KEY. + + * nis/nss_compat/compat-grp.c: Include the declaration of the file + parser. + * nis/nss_compat/compat-pwd.c: Likewise. + * nis/nss_compat/compat-spwd.c: Likewise. + * nis/nss_nis/nis-ethers.c: Likewise. + * nis/nss_nis/nis-grp.c: Likewise. + * nis/nss_nis/nis-network.c: Likewise. + * nis/nss_nis/nis-proto.c: Likewise. + * nis/nss_nis/nis-pwd.c: Likewise. + * nis/nss_nis/nis-rpc.c: Likewise. + * nis/nss_nis/nis-spwd.c: Likewise. + + * nis/nss_compat/compat-grp.c (getgrent_next_nis, + getgrent_next_file): Pass the correct type for the buffer to the + parser function. + * nis/nss_compat/compat-pwd.c (getpwent_next_netgr, + getpwent_next_nis, getpwent_next_file): Likewise. + * nis/nss_compat/compat-spwd.c (getspent_next_netgr, + getspent_next_nis, getspent_next_file): Likewise. + * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r, + _nss_nis_getethernam_r, _nss_nis_getetherbyaddr_r): Likewise. + * nis/nss_nis/nis-grp.c (internal_nis_getgrent_r, + _nss_nis_getgrnam_r, _nss_nis_getgrgid_r): Likewise. + * nis/nss_nis/nis-network.c (internal_nis_getnetent_r, + _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise. + * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r, + _nss_nis_getprotobyname_r, _nss_nis_getprotobynumber_r): Likewise. + * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r, + _nss_nis_getpwnam_r, _nss_nis_getpwuid_r): Likewise. + * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r, + _nss_nis_getrpcbynumber_r): Likewise. + * nis/nss_nis/nis-spwd.c (internal_nis_getspent_r, + _nss_nis_getspnam_r): Likewise. + +Thu Dec 19 13:37:16 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/setjmp.c: New file. + +Thu Dec 19 23:28:33 1996 Ulrich Drepper + + * resolv/resolv.h: Update from BIND 4.9.5-P1. + * resolv/res_comp.c: Likewise. + * resolv/res_debug.c: Likewise. + * resolv/Banner: Update version number. + +Thu Dec 19 20:58:53 1996 Ulrich Drepper + + * elf/dlfcn.h: Add extern "C" wrapper. + + * io/utime.h: Don't define NULL since this isn't allowed in POSIX. + * io/sys/stat.h: Declare `lstat' only if __USE_BSD || + __USE_XOPEN_EXTENDED. + * locale/locale.h: Define NULL. + * math/math.c: Don't include to define math errors. + * stdlib/stdlib.h: Likewise. + * posix/unistd.h: Don't declare environ. + * posix/sys/utsname.h (struct utsname): Declare member domainname + as __domainname is !__USE_GNU. + * signal/signal.h: Declare size_t only if __USE_BSD || + __USE_XOPEN_EXTENDED. + * stdio/stdio.h: Don't declare cuserid when __USE_POSIX, but + instead when __USE_XOPEN. + * string/string.h: Define strndup only if __USE_GNU. + * sysdeps/unix/sysv/linux/clock.c: New file. + * sysdeps/unix/sysv/linux/timebits.h: Define CLOCKS_PER_SEC as + 1000000 per X/Open standard. + * features.h: Add code to recognize _POSIX_C_SOURCE value 199309. + Define __USE_POSIX199309. + * posix/unistd.h: Declare fdatasync only if __USE_POSIX199309. + * time/time.c: Declare nanosleep only if __USE_POSIX199309. + Patches by Rüdiger Helsch . + + * locale/locale.h: Add declaration of newlocale and freelocale. + + * new-malloc/Makefile (distibute): Add mtrace.awk. + (dist-routines): Add mcheck and mtrace. + (install-lib, non-lib.a): Define as libmcheck.a. + * new-malloc/malloc.h: Add declaration of __malloc_initialized. + * new-malloc/mcheck.c: New file. + * new-malloc/mcheck.h: New file. + * new-malloc/mtrace.c: New file. + * new-malloc/mtrace.awk: New file. + + * posix/unistd.h: Correct prototype for usleep. + * sysdeps/unix/bsd/usleep.c: De-ANSI-declfy. Correct return type. + * sysdeps/unix/sysv/linux/usleep.c: Real implementation based on + nanosleep. + + * signal/signal.h: Change protoype of __sigpause to take two + arguments. Remove prototype for sigpause. Add two different + macros named sigpause selected when __USE_BSD or __USE_XOPEN + are defined. This is necessary since the old BSD definition + of theis function collides with the X/Open definition. + * sysdeps/posix/sigpause.c: Change function definition to also + fit X/Open definition. + + * sysdeps/libm-i387/e_exp.S: Make sure stack is empty when the + function is left. + * sysdeps/libm-i387/e_expl.S: Likewise. + Patch by HJ Lu. + +1996-12-17 Paul Eggert + + * many, many files: Spelling corrections. + * catgets/catgetsinfo.h (mmapped): + Renamed from mmaped (in struct catalog_info.status). + * mach/err_kern.sub (err_codes_unix), string/stratcliff.c (main): + Fix spelling in message. + * po/libc.pot: Fix spelling in message for `zic'; this anticipates + a fix in the tzcode distribution. + +Wed Dec 18 15:48:02 1996 Ulrich Drepper + + * time/strftime.c: Implement ^ flag to cause output be converted + to use upper case characters. + + * time/zic.c: Update from ADO tzcode1996n. + +Wed Dec 18 14:29:24 1996 Erik Naggum + + * time/strftime.c (add): Don't change global `i' until all is over. + Define NULL is not already defined. + +Tue Dec 17 09:49:03 1996 Andreas Schwab + + * libio/iovsprintf.c (_IO_vsprintf): Change `&sf' to `&sf._sbf._f' + to avoid the need for a cast. + * libio/iovsscanf.c (_IO_vsscanf): Likewise. + +Wed Dec 18 03:31:58 1996 Ulrich Drepper + + * dirent/scandir.c: Undo change from Mon Dec 2 15:32:15 1996. + The stream is private and usages outside glibc don't care about + reentrancy. + * io/fts.c: Likewise. + * io/ftw.c: Likewise. + * sysdeps/posix/getcwd.c: Likewise. + * sysdeps/posix/ttyname.c: Likewise. + * sysdeps/posix/ttyname_r.c: Likewise. + * sysdeps/posix/glob.c: Likewise. + + * libio/iovsprintf.c: Add cast to prevent warning. + * libio/iovsscanf.c: Likewise. + + * libio/libioP.h: Define mmap to __mmap and munmap to __munmap + to keep namespace clean. + + * new-malloc/malloc.c: Update to last version from Wolfram Gloger. + Add hooks and check functions from old GNU malloc. + * new-malloc/malloc.h: Likewise. + + * nis/ypclnt.c: Remove prototype for xdr_free. + * sunrpc/rpc/xdr.h: Add prototype for xdr_free. + + * manual/nss.texi: Correct description of default values and don't + meantion NSS as an add-on. + + * nss/grp-lookup.c: Provide default value as + "compat [NOTFOUND=return] files". + * nss/pwd-lookup.c: Likewise. + * nss/spwd-lookup.c: Likewise. + * nss/network-lookup.c: Correct default to + "dns [!UNAVAIL=return] files". + * nss/nsswitch.c: Change default-default value to "nis + [NOTFOUND=return] files" since compat is only available for group, + passwd, and shadow. + + * stdlib/on_exit.c (on_exit): Rename to __on_exit and make old name + a weak alias. + * stdlib/stdlib.h: Add prototype for __on_exit. + + * sysdeps/unix/sysv/linux/schedbits.h: Add prototype for __clone. + + * time/Makefile: Undo change from Sun Dec 8 06:56:49 1996. + The new malloc now has mcheck. + * time/ap.c: Likewise. + + * time/tzset.c (__tzset): Rename to __tzset_internal. + (tzset): Rename to __tzset. Make tzset a weak alias for __tzset. + * time/localtime.c: Use __tzset_internal not __tzset. + * time/strftime.c [_LIBC]: Define tzname as __tzname and tzset + as __tzset to prevent namespace pollution. + + * wctype/iswctype.h (icwctype): Rename to __iswctype. Make iswctype + a weak alias of __iswctype. + * wctype/wctype.h: Add prototype for __iswctype. + (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, + iswprint, iswpunct, iswspace, iswupper, iswxdigit, iswblank): + Use __iswctype for the test, not iswctype. + +1996-12-16 Paul Eggert + + * hurd/hurd/sigpreempt.h + (struct hurd_signal_preemptor.preemptor, _hurdsig_preemptors), + hurd/hurd/signal.h (struct hurd_sigstate.preemptors), + hurd/hurdfault.c, hurd/hurdfault.h (_hurdsig_fault_preemptor), + hurd/hurdsig.c (_hurdsig_preempters): + Renamed to fix spelling from `preempter' to `preemptor'. + All uses changed. + +1996-12-15 Paul Eggert + + * ctime.c (ctime): Return asctime (localtime (t)), as the C + standard requires. + +Tue Dec 17 02:05:48 1996 Thomas Bushnell, n/BSG + + * sysdeps/mach/libc-lock.h (__libc_lock_trylock): Invert return + value because Mach/cthreads uses the opposite convention from + Posix/glibc. + +Mon Dec 16 22:41:01 1996 Ulrich Drepper + + * stdio-common/fcloseall.c: Correct test of already_called. + Reported by Thomas Bushnell, n/BSG. + +Mon Dec 16 14:52:07 1996 Thomas Bushnell, n/BSG + + * mach/lock-intern.h (__mutex_try_lock): New function. + +Sun Dec 15 16:33:44 1996 Andreas Schwab + + * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Only use OXTABS if + defined, else XTABS. + (CEOL, CSTATUS): Use _POSIX_VDISABLE if defined. + +Sun Dec 15 11:56:19 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/mremap.S: New file. + * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it. + * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines): Add mremap. + +Mon Dec 16 02:15:42 1996 Ulrich Drepper + + Make sure tzset() sets always tzname[]. + * time/tzfile.c: De-ANSI-declfy. + (find_transition): New function. Set tzname according to given time. + (__tzread_file): Use find_transition to set tzname. + (__tzfile_compute): Use find_transition instead of doing the work + self. + * time/tzset.c (tzset): Set tzname[] directly only if !__use_tzfile. + +Sun Dec 15 16:52:34 1996 Ulrich Drepper + + * login/utmp-file.c (pututline_file): Open file if closed. + Reported by Roma Ekzhanov . + Use fcntl instead of flock. + +Sun Dec 15 14:20:51 1996 Ulrich Drepper + + * manual/time.texi: Update documentation of strftime function. + +Sun Dec 15 01:53:20 1996 Ulrich Drepper + + * Makefile (subdirs): Change crypt to md5-crypt. + * crypt/Makefile, crypt/md5-crypt.c, crypt/md5.c, crypt/md5.h, + crypt/md5c-test.c, crypt/md5test.c: Move to new directory + md5-crypt. + * sysdeps/unix/sysv/linux/configure.in: Refer to linuxthreads and + crypt instead of LinuxThreads and des-crypt. + + * Makefile (subdirs): Add nss back. + * sysdeps/unix/inet/Subdirs: Move nis to end of file to fulfill + dependencies. + + * libio/iofclose.c: Implement fclose(NULL) as closing all streams. + * stdio-common/Makefile (routines): Add fcloseall. + * stdio-common/fcloseall.c: New file. + * sysdeps/generic/abort.c: Make implementation POSIX.1 compatible. + + * sysdeps/mach/libc-lock.h: Add definition of __libc_lock_trylock. + * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock to always + return 0. + + * stdio-common/printf.h: Define MIN and MAX only if not already + defined. + + * stdio-common/vfprintf.c: Set errno to EBADF if stream does not + allow writing. Required by POSIX.1. + + * libio/libioP.h (CHECK_FILE): Use MAYBE_SET_EINVAL instead of + assignment. + + * interp.c: Update copyright. + * libio/clearerr.c: Likewise. + * libio/ioseekoff.c: Likewise. + * libio/ioseekpos.c: Likewise. + * stdio/fclose.c: Likewise. + * stdio/fflus.c: Likewise. + + * libio/libio.h [!_IO_MTSAFE_IO]: Define _IO_cleanup_region_start + and _IO_cleanup_region_end as empty. + * libio/fgetc.c: Use _IO_cleanup_region_start and + _IO_cleanup_region_end instead of __libc_cleanup_region_start and + __libc_cleanup_region_end. + * libio/fputc.c: Likewise. + * libio/freopen.c: Likewise. + * libio/fseek.c: Likewise. + * libio/getc.c: Likewise. + * libio/getchar.c: Likewise. + * libio/iofclose.c: Likewise. + * libio/iofflush.c: Likewise. + * libio/iofgetpos.c: Likewise. + * libio/iofgets.c: Likewise. + * libio/iofputs.c: Likewise. + * libio/iofread.c: Likewise. + * libio/iofsetpos.c: Likewise. + * libio/ioftell.c: Likewise. + * libio/iofwrite.c: Likewise. + * libio/iogetdelim.c: Likewise. + * libio/iogets.c: Likewise. + * libio/ioputs.c: Likewise. + * libio/iosetbuffer.c: Likewise. + * libio/iosetvbuf.c: Likewise. + * libio/ioungetc.c: Likewise. + + * libio/iovspintf.c: Use cleanup handler to make sure no dangling + locks can stay over. + * libio/iovsscanf.c: Likewise. + + * libio/genops.c: Use _IO_lock_init_recursive and _IO_lock_fini + instead of __libc_lock_init_recursive and __libc_lock_fini. + + * libio/filedoalloc.c: Only use __isatty when compiling GNU libc. + Otherwise use isatty. + * libio/fileops.c: Likewise for __open and open. + + * login/utmp_file.c (getutent_r_file): Use fcntl instead of + flock. + + * nis/ypclnt.h: Add more casts to prevent warnings. + + * nss/Makefile (services): Remove dns. + (libnss_dns, libnss_dns-inhibit-o): Remove definition. + ($(objpfx)libnss_dns.so): Removed. + * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Moved to... + * resolv/nss_dns: ...here. + * resolv/Makefile (extra-libs): Add libnss_dns. + (libnss_dns-routines, libnss_dns-inhibit-o): Define as in + nss/Makefile. + + * nss/XXX-lookup.c: Call __nss_database_lookup with new argument + specifying alternate name for entry in /etc/nsswitch.conf + * nss/nsswitch.c: If no entry with primary name is found in + /etc/nsswitch.conf try alternate name if given. + * nss/nsswitch.h: Add new parameter in prototype for + __nss_database_lookup. + * nss/spwd-lookup.c: Provide alternative entry name to look for. + This makes our NSS compatible with Solaris' nsswitch.conf files. + + * string/tst-strlen.c: Change all counting variables to type size_t + to prevent warnings. + + * sysdeps/posix/fpathconf.c: Update copyright. + * sysdeps/posix/pathconf.c: Don't call fpathconf to do the work. + Opening the file at this path may fail if it is a FIFO or pipe. + + These changes make the time implementation POSIX.1 compliant. + * time/localtime.c (__localtime_r): Always call __tzset not only + if __tzset_run is zero. + * time/strftime.c: Add definition of memset_space to help to + reduce for systems which have memset. + (strftime): Don't use tm_zone member of argument for zone name. + Instead always use tzname[]. + Call tzset() as required by POSIX.1 before any action. + * time/tzset.c (tzset): Set tzname[] as required by POSIX.1. + Remove global variable __tzset_run. __tzset is now called always + when a dependent function is used. + (__tzset): Caching happens based on the contents of the + environment variable TZ. + +Fri Dec 13 01:06:52 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/paths.h: Add _PATH_KLOG. + +Thu Dec 12 09:16:35 1996 Andreas Schwab + + * rellns-sh: Correctly handle a relative source file name. + +Wed Dec 11 19:18:40 1996 Andreas Schwab + + * login/utmp_file.c (setutent_file): Seek back to beginning of the + file if resetting. + +Thu Dec 12 16:39:12 1996 Thomas Bushnell, n/BSG + + * hurd/hurdinit.c (map0): Delete function. Don't do this on + _hurd_preinit_hook. + * hurd/hurdstartup.c (_hurd_startup): Map page zero redzone here. + +Thu Dec 12 03:32:21 1996 Ulrich Drepper + + * libio/_G_config.h: Add definition of _G_int16_t, _G_int32_t, + _G_uint16_t, _G_uin32_t, _G_HAVE_BOOL, _G_HAVE_MMAP, and + _G_ARGS. + + Change libio buffer handling to allocate internal buffers using + mmap if possible. + * libio/filedoalloc.c (_IO_file_doallocate): Change call to + ALLOC_BUF. + * libio/genops.c (_IO_setb, _IO_default_finish): Change call + to FREE_BUF. + (_IO_default_doallocate): Change call to ALLOC_BUF. + * libio/libioP.h: Change definition of ALLOC_BUF and FREE_BUF + to use mmap/munmap when possible. + * libio/memstream.c: Don't use ALLOC_BUF, but directly malloc. + * libio/vasprintf.c: Likewise. + Patch by HJ Lu. + + * libio/libio.h: Define NULL as __null only for gcc-2.8 and up. + * libio/libioP.h: Likewise. + + * libio/fileops.c (_IO_file_read, _IO_file_write): Don't + restart syscall when EINTR was returned. Necessary for POSIX.1. + + * libio/strops.c (_IO_str_overflow): Add cast to prevent warning. + + * new-malloc/malloc.c (heap_trim): Correctly place parentheses to + prevent warnings. + + * nis/Makefile: Remove rules for bsd-tools which are not part + of glibc. + Patch by Thorsten Kukuk. + + * nis/ypclnt.c: Add prototype for xdr_free. + Add const to first parameter for __yp_bind. + * nis/nss_compat/compat-pwd.c (getpwent_next_netgr, getpwent_next_nis, + getpwent_next_file): Variable `p2len' must have type size_t. + * nis/nss_nis/nis-alias.c: Add casts to prevent warnings. + * nis/nss_nis/nis-ethers.c: Likewise. + * nis/nss_nis/nis-grp.c: Likewise. + * nis/nss_nis/nis-hosts.c: Likewise. + * nis/nss_nis/nis-network.c: Likewise. + * nis/nss_nis/nis-proto.c: Likewise. + * nis/nss_nis/nis-pwd.c: Likewise. + * nis/nss_nis/nis-rpc.c: Likewise. + * nis/nss_nis/nis-service.c: Likewise. + * nis/nss_nis/nis-spwd.c: Likewise. + + * nis/rpcsvc/yp_prot.h (ypreq_key): Change type of members to + `const char *'. + (ypmaplist): Change member names to `map' and `next' and provide + #defines for old names. + Patch by Thorsten Kukuk. + + * nss/nss_files/files-parse.c (parse_line, parse_list): Change + type for `datalen' parameter to size_t. + + * shsdow/lckpwdf.c: Use fcntl forlocking, not flock. + + * stdio-common/printf.c [USE_IN_LIBIO]: Provide alias _IO_printf + for printf. + * stdio-common/sscanf.c [USE_IN_LIBIO]: Provide alias _IO_sscanf + for sscanf. + Patch by HJ Lu. + + * stdio-common/tmpfile.c: Update copyright. + + * stdio-common/vfscanf.c: Correctly handle EINTR error from fgetc + function. + Don't eat white space for `C' format. + + * stdlib/tst-strtol.c [~0UL != 0xffffffff]: Fix typo in test data. + + * sysdeps/generic/abort.c: Update copyright. De-ANSI-declfy. + * sysdeps/i386/abort.c: Removed. This version does not use + signal SIGABRT. + + * sysdeps/i386/fpu/__math.h: Define __NO_MATH_INLINES if not using + gcc-2.8 or up. + Patch by HJ Lu. + + * sysdeps/posix/tempname.c: Test for error but EEXIST after open + call. If EMFILE, ENFILE, or EINTR return with error. + +Wed Dec 11 14:43:52 1996 Ulrich Drepper + + * gnu-versions.h: Set _GNU_OBSTACK_INTERFACE_VERSION back to 1. + We are compatible again. + * new-malloc/obstack.h (struct obstack): Add back alloc_failed bit + even though it is not used. + * malloc/obstack.h: Likewise. + * new-malloc/obstack.c (_obstack_begin, _obstack_begin_1): Initialize + alloc_failed bit to 0. + + * time/strftime.c: Extend for Emacs' needs. Recognize field width, + %P format and `0' modifier. + +Tue Dec 10 21:20:44 1996 Andreas Schwab + + * Makerules (make-link): Don't discard exit codes of intermediate + commands. Always use rellns-sh if symbolic links are available. + +Tue Dec 10 20:09:51 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/netinet/in.h: Enclose #include + in __BEGIN_DECLS/__END_DECLS to avoid linkage + conflict of ntohs etc. in . + +Wed Dec 11 01:04:30 1996 Ulrich Drepper + + Add NIS NSS implementation. + * shlib-versions: Add versions for NIS libraries. + * sysdeps/unix/inet/Subdirs: Add nis. + * nis/Banner: New file. + * nis/Makefile: New file. + * nis/nss-nis.h: New file. + * nis/yp_xdr.h: New file. + * nis/ypclnt.h: New file. + * nis/ypupdate_xdr.c: New file. + * nis/nss_compat/compat-grp.c: New file. + * nis/nss_compat/compat-pwd.c: New file. + * nis/nss_compat/compat-spwd.c: New file. + * nis/nss_nis/nis-alias.c: New file. + * nis/nss_nis/nis-ethers.c: New file. + * nis/nss_nis/nis-grp.c: New file. + * nis/nss_nis/nis-hosts.c: New file. + * nis/nss_nis/nis-netgrp.c: New file. + * nis/nss_nis/nis-network.c: New file. + * nis/nss_nis/nis-proto.c: New file. + * nis/nss_nis/nis-publickey.c: New file. + * nis/nss_nis/nis-pwd.c: New file. + * nis/nss_nis/nis-rpc.c: New file. + * nis/nss_nis/nis-service.c: New file. + * nis/nss_nis/nis-spwd.c: New file. + * nis/rpcsvc/yp.h: New file. + * nis/rpcsvc/yp.x: New file. + * nis/rpcsvc/yp_prot.h: New file. + * nis/rpcsvc/ypclnt.h: New file. + * nis/rpcsvc/ypupd.h: New file. + + * libio/_G_config.h: Define _G_HAVE_SYS_WAIT and _G_HAVE_PRINTF_FP. + + * locale/C-numeric.c: Update copyright. + + * locale/Makefile: Add rules to build libBrokenLocale. + * locale/broken_cur_max.c: New file. + * locale/mb_cur_max.c: Update copyright. + (__ctype_get_mb_cur_max): Make function weak. + + * new-malloc/malloc.c: Correct copyright. + * new-malloc/thread-m.h: Correct key handling. + + * shadow/lckpwdf.c: Update copyright. + (PWD_LOCKFILE): Change to /etc/.pwd.lock. + + * stdlib/strtod.c: Add another assertion. + * stdlib/tst-strtod.c: Add another test case. + + * sysdeps/generic/paths.h: Add _PATH_PRESERVE. Needed by nvi. + * sysdeps/unix/sysv/linux/paths.h: Likewise. + + * sysdeps/gnu/utmpbits.h: Rename ut_addr field to ut_addr_v6. + ut_addr names a single element in ut_addr_v6. + + * sysdeps/mach/hurd/xmknod.c: Remove alias from __mknod to mknod. + Patch by Thomas Bushnell, n/BSG. + +Tue Dec 10 11:35:28 1996 Richard Henderson + + * sysdeps/alpha/strncmp.S: Fix aligned short truncated compare + corner condition. + + * sysdeps/alpha/memchr.S: Don't read ahead, even if the load + did fit nicely into that delay slot (patch from David Mosberger-Tang). + +Mon Dec 9 23:53:43 1996 Thomas Bushnell, n/BSG + + * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Renamed from + `ttyname_r'. + (ttyname_r): New alias. + +Tue Dec 10 02:17:31 1996 Ulrich Drepper + + * stdio-common/printf_fp.c (__guess_grouping): Fix off by one + error in computation of number of groups. + Patch sent by Harald Schreiber . + +Tue Dec 10 01:50:07 1996 Ulrich Drepper + + * version.h: Set version to 1.99. + + * Make-dist (routines): Add malloc and new-malloc. + + * Makeconfig: Allow Makefiles to set $(CPPFLAGS-$( + + * Make-dist: Make sure both malloc directories get distributed. + +Sun Dec 8 23:14:10 1996 Andreas Schwab + + * libio/iogets.c (_IO_gets): Fix early returns to not leave the + stream locked. + +Sat Dec 7 22:08:09 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/sys/module.h: Enclose declarations in + __BEGIN_DECLS/__END_DECLS. + +Sat Dec 7 14:23:12 1996 Andreas Schwab + + * login/utmp_file.c: Consistently set file_offset to the position + after the entry just read. + +Mon Dec 9 03:39:30 1996 Ulrich Drepper + + * config.make.in (defines): Add @USE_NEW_MALLOC@. + * Makefile.in: Define USE_NEW_MALLOC to -DUSE_NEW_MALLOC if + we use the new malloc. + + * malloc.h: Use either or + depending on USE_NEW_MALLOC. + + Fix some more POSIX.1 problems. + * libio/fileops.c (_IO_file_underflow): Set errno to EBADF if used + on a write-only stream. + (_IO_file_overflow): Set errno to EBADF if used on a read-only + stream. + (_IO_file_seekoff): POSIX.1 requires that fseek() after an fflush() + call really positions the file offset to the correct position + and no read-ahead happens. + + * locale/C-monetary.c: Set mon_grouping file to "" and "\377" + to pass POSIX test suite. + * stdio-common/vfprintf.c: Handle empty string as grouping command + correctly. + * stdlib/grouping.h: Likewise. + + * misc/syslog.c: Case first argument of __libc_cleanup_region_start. + + * signal/sigsetops.h: Update copyright. Don't include ansidecl.h. + + * stdio-common/printf_fp.c: Update copyright. + +Sun Dec 8 16:39:28 1996 Andreas Jaeger + + * time/Makefile: Compile ap.c with NO_MCHECK flag if new-malloc + used (not otherwise). + +Sun Dec 8 06:56:49 1996 Ulrich Drepper + + * io/getwd.c: Use PATH_MAX not LOCAL_PATH_MAX. Fix typo in + comment. + * stdlib/canonicalize.c: Correct bugs in last change. + Patch by HJ Lu. + + * libio/Makefile (routines): Remove ioprims. + (aux): Remove cleanup. + Add IO_DEBUG option for .o files. + * libio/cleanups.c: Removed. + * libio/ioprims.c: Removed. + * libio/filedoalloc.c: More updates from libg++-2.8b5. + * libio/fileops.c: Likewise. + * libio/genops.c: Likewise. + * libio/iolibio.h: Likewise. + * libio/iopopen.c: Likewise. + * libio/iovsprintf.c: Likewise. + * libio/iovsscanf.c: Likewise. + * libio/libio.h: Likewise. + * libio/libioP.h: Likewise. + * libio/memstream.c: Likewise. + * libio/strfile.h: Likewise. + * libio/vasprintf.c: Likewise. + * libio/vsnprintf.c: Likewise. + + * libio/stdio.h: Define P_tmpdir only is __USE_SVID. + + * manual/arith.texi: Change references to ANSI C to ISO C. + * manual/conf.texi: Likewise. + * manual/creature.texi: Likewise. + * manual/ctype.texi: Likewise. + * manual/errno.texi: Likewise. + * manual/filesys.texi: Likewise. + * manual/intro.texi. Likewise. + * manual/io.texi: Likewise. + * manual/lang.texi: Likewise. + * manual/libc.texinfo: Likewise. + * manual/locale.texi: Likewise. + * manual/maint.texi: Likewise. + * manual/mbyte.texi: Likewise. + * manual/memory.texi: Likewise. + * manual/process.texi: Likewise. + * manual/process.texi: Likewise. + * manual/search.texi: Likewise. + * manual/setjmp.texi: Likewise. + * manual/signal.texi: Likewise. + * manual/startup.texi: Likewise. + * manual/stdio.texi: Likewise. + * manual/string.texi: Likewise. + * manual/time.texi: Likewise. + + * manual/locale.texi: Remove description of LC_RESPONSE and add + LC_MESSAGES. + + * Makefile (subdirs): Change malloc in $(malloc). + * config.make.in: Add variable malloc which is initialized from + @malloc@. + * configure.in: Add new option --enable-new-malloc to use new + malloc. This is the default on Linux. + * sysdeps/unix/sysv/linux/configure.in: Define malloc to new-malloc + by default. + * new-malloc/Makefile: New file. Improved malloc implementation. + * new-malloc/malloc.c: Likewise. + * new-malloc/malloc.h: Likewise. + * new-malloc/mallocbug.c: Likewise. + * new-malloc/obstack.c: Likewise. + * new-malloc/obstack.h: Likewise. + * new-malloc/thread-m.h: Likewise. + * time/Makefile: Compile ap.c with NO_MCHECK flag for now. + * time/ap.c: Don't call mcheck if NO_MCHECK is defined. + + * resolv/Makefile: Add rule to rebuiild libresolv.so when libc.so + changed. + + * stdio/feof.c: Update copyright. + * stdio/stdio.h: Add field for lock to FILE structure. + Add cast to *MAGIC constants to prevent warnings. + + * stdio-common/bug7.c: Correct test. Stream must not be closed + twice. + + * stdlib/Makefile (routines): Add secure-getenv. + * stdlib/secure-getenv.c: New file. __secure_getenv function + moved to here from sysdeps/generic/getenv.c. Otherwise an + application cannot replace the getenv function in the libc. + * sysdeps/generic/getenv.c: Remove __secure_getenv function. + * sysdeps/stub/getenv.c: Remove __secure_getenv alias. + + * sysdeps/mach/libc-lock.h: Define__libc_mutex_lock to __mutex_lock. + + * sysdeps/posix/fdopen.c: Update copyright. Don't use EXFUN. + + * time/test-tz.c: Comment fifth test out. PROBLEM. + + * time/tzset.c: De-ANSI-declfy. + (__tzset): Don't increment pointer tz when no DST information is + given. + + * misc/syslog.c (vsyslog): Cast argument to __libc_cleanup_region + to get Hurd macros right. + +Sat Dec 7 23:47:54 1996 Ulrich Drepper + + * sysdeps/mach/libc-lock.h [_LIBC]: Add definition of + __libc_mutex_lock. + Patch by Thomas Bushnell. + + * sysdeps/unix/sysv/linux/timebits.h: Load only + if __USE_MISC. + + * sysdeps/unix/sysv/linux/Dist: Add llseek.c. + +Sat Dec 7 12:18:56 1996 Ulrich Drepper + + * time/strftime (%c format): Remove %Z from default string. + Reported by Paul Eggert + +Sat Dec 7 03:24:36 1996 Ulrich Drepper + + * configure.in: Discard error message from test in test for + bash-2.0. + + * io/getwd.c: Don't apply getcwd on user supplied buffer. + Instead always use temporary buffer and only copy the result. + Patch by HJ Lu. + * stdlib/canonicalize.c: Likewise. + + * libio/fileops.c: Change comments according to libg++2.8b5. + * libio/iosetvbuf.c: Follow change in libg++-2.8b5 to clear + unbuffered flag. + Reported by HJ Lu. + + * manual/nss.texi: Correct prototypes. + + * misc/syslog.c: Make reentrant. Catch SIGPIPE signal to prevent + crash if syslog daemon is restarted. + + * stdlib/rand_r.c: New file. Implementation of POSIX.2 function + rand_r. + * stdlib/Makefile (routines): Add rand_r. + + * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock and + __libc_mutex_lock. + + * configure.in: Add --disable-sanity-check option. + * sysdeps/unix/sysv/linux/configure.in: If linuxthreads or + des-crypt are not available and --disbale-sanity-check is not + given abort with a message. + +Thu Dec 5 19:19:53 1996 Richard Henderson + + * posix/glob.c: Tests against STDC_HEADERS should also test + __GNU_LIBRARY__. + +Thu Dec 5 16:20:55 1996 Ulrich Drepper + + * misc/err.c (vwarn): Set errno again before using %m format. + +Thu Dec 5 10:14:05 1996 Andreas Jaeger + + * grp/grp.h: Add declaration of __getgrent_r. + + * io/fts.c (fts_build): Remove "register" from variables dirbuf + and dp since their address is needed. + + * sysdeps/posix/getcwd.c (__getcwd): Remove "register" from + variable d since d's address is needed. + + * misc/tst-dirname.c (main): Provide prototype. + * misc/ioctltst.c (main): Dito. + + * Makefile: Add gnu/lib-names.h to install-others before including + Makerules. + +Wed Dec 4 16:00:09 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sys/socketvar.h: New file. Simply use + . + * sysdeps/unix/sysv/linux/Dist: Add sys/socketvar.h. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet)]: Add + sys/socketvar.h to sysdep_headers. + +Tue Dec 3 08:38:15 1996 Richard Henderson + + * sysdeps/unix/alpha/sysdep.S: Remove definition of __errno_location. + Reformat copyright. + + * elf/rtld.c (_dl_start): Don't dereference the value returned by + elf_machine_got to get _DYNAMIC, instead call new function + elf_machine_dynamic. + * sysdeps/alpha/dl-machine.h: Permute elf_machine_got to + elf_machine_dynamic. Reformat copyright. + * sysdeps/i386/dl-machine.h: Likewise. + * sysdeps/m68k/dl-machine.h: Likewise. + * sysdeps/mips/dl-machine.h: Likewise. + * sysdeps/sparc/dl-machine.h: Likewise. + * sysdeps/stub/dl-machine.h: Likewise. + +Tue Oct 15 23:46:00 1996 Andreas Schwab + + * MakeTAGS (sysdep_dirs): Include add-on sysdep directories. + +Tue Dec 3 02:06:18 1996 Ulrich Drepper + + * Makerules ($(libdir)/libc.so): Make first line of generated + link script contain `/* GNU ld script'. This will be used in + ldconfig to check for linker scripts. + * sysdeps/mach/hurd/libc-ldscript: Likewise. + * sysdeps/mach/hurd/libc_p-ldscript: Likewise. + + * stdlib/getsubopt.c: Update copyright. Correct typo in comment. + +Mon Dec 2 15:32:15 1996 Ulrich Drepper + + * elf/dl-lookup.c (_dl_lookup_symbol_skip): Remove unused variable + `found_entry'. + + * misc/ttyslot.c: Use ttyname_r instead of ttyname. + + * assert/assert-perr.c: Use __strerror_r instead of strerror. + * assert/assert.c: De-ANSIdecl-fy. Update copyright. + * string/string.h: Declare __strerror_r. + * string/strerror_r.c: Make strerror_r a weak alias of __strerror_r. + * stdio-common/vfprintf.c: Save current errno value on entry so + that %m format finds the correct value. + * io/getwd.c: Use __strerror_r instead of strerror. + * misc/err.c (vwarn): Use %m printf format instead of explicitly + calling strerror. + * inet/rcmd.c: Likewise. + * misc/error.c (error, error_at_line): Use __strerror_r instead + of strerror when this function is available. + + * stdlib/rand.c: Update copyright and de-ANSI-declfy. + * stdlib/random_r.c: Don't make srand_r weak alais of __srandom_r. + * stdlib/stdlib.h: Define prototype for rand_r. + + * string/strfry.c: Update copyright. Use reentrant random functions. + + * dirent/scandir.c: Use __readdir_r instead of readdir. + * posix/glob.c: Likewise. + * sysdeps/posix/ttyname.c: Likewise. + * sysdeps/posix/ttyname_r.c: Likewise. + * io/ftw.c: Likewise. + * io/fts.c: Likewise. + * sysdeps/posix/getcwd.c: Likewise. + * dirent/dirent.h: Add prototype for __readdir_r. + * sysdeps/unix/readdir_r: Update copyright. + + * time/ctime.c: Use __localtime_r and __asctime_r instead of + non reentrant versions. + * time/ctime_r.c: Update copyright. + + * intl/l10nflist.c (_nl_make_l10nflist): Pretty print. + + * locale/Makefile (localepath): Correct value. + + * nss/nss_files/files-XXX.c: Include to define + NETDB_INTERNAL. + Fix typo in using H_ERRNO_SET macro. + +Fri Nov 29 23:22:14 1996 Andreas Schwab + + * Makerules (elfobjdir): Definition removed. + * Makeconfig (elfobjdir): Define it here instead, so that + expanding $(rpath-link) gets the right value. + + * a.out.h: Removed. + * misc/a.out.h: Moved to... + * sysdeps/generic/a.out.h: ...here. + * sysdeps/unix/sysv/linux/a.out.h: New file. Wrapper around + kernel header. + +Mon Dec 2 03:59:38 1996 Ulrich Drepper + + * grp/initgroups.c: Update and reformat copyright. + Use __getgrent_r instead of getgrent. + + * inet/rcmd.c: Update and reformat copyright. + Use __gethostbyname_r instead of gethostbyname. + * inet/rexec.c: Likewise. + + * intl/finddomain.c: Correct comment about CEN sponsor and revision. + * locale/findlocale.c: Likewise. + * intl/l10nflist.c: Correct handling of CEN sponsor and revision. + * locale/Makefile (CPPFLAGS): Add definition of LOCALEDIR. + * locale/setlocale.c (setlocale): Correctly split value of + LOCALE_PATH. + * locale/programs/localedef.c: Use LOCALEDIR not LOCALE_PATH to + find output directory. + + * nss/getXXbyYY.c [NEED_H_ERRNO]: Before enlarging buffer test + h_errno_tmp variable. + Save error value from being changed during `free' call. + * nss/getXXent.c: Likewise. + + * nss/nss_files/files-XXX.c: Set h_errno variable to NETDB_INTERNAL + before returning ERANGE error. + + * posix/glob.c: Use getlogin_r and getpwnam_r function when available + or in GNU libc. + + * pwd/getpw.c: Use getpwuid_r instead of getpwuid. + + * sunrpc/clnt_gen.c: Use gethostbyname_r and getprotobyname_r. + * sunrpc/clnt_simp.c: Likewise. + * sunrpc/getrpcport.c: Likewise. + * sysdeps/unix/sysv/linux/gethostid.c: Likewise. + + * posix/getconf.c: Treat _SC_UNIT_MAX and _SC_ULONG_MAX separately + since the value might be outside the range of the `long int'. + Print string `undefined' when a value is undefined. + + * stdlib/l64a.c: Return correct pointer. + Patch by NIIBE Yutaka . + + * string/Makefile (routines): Add argz-addsep. + * string/argz-addsep.c: New file. + * string/argz.h: Add prototypes for argz_add_sep. + + * string/argz-ctsep.c: Prevent memory leak. + + * string/strcoll.c: Correct typo in comment. + +Sat Nov 30 02:53:59 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sys/serial.h: Removed again. The file is + not general enough to be part of the libc. + * sysdeps/unix/sysv/linux/Dist: Remove sys/serial.h. + * sysdeps/unix/sysv/linux/Makefile: Don't install sys/serial.h. + +Thu Nov 28 20:04:41 1996 Andreas Schwab + + * login/Makefile: Fix typo. + + * nss/Makefile (generated): Filter out db-alias.c. + +Thu Nov 28 14:44:01 1996 Andreas Schwab + + * time/Makefile (echo-zonenames): Don't depend on non-existing + target `zonenames'. + +Thu Nov 28 12:34:05 1996 Andreas Schwab + + * link.h: New file. + * nss/nsswitch.c: Use it. + + * printf.h: Fix file name. + * stdlib/strfmon.c: Use it. + +Thu Nov 28 23:03:32 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/netinet/in_systm.h: New file. + * sysdeps/unix/sysv/linux/Dist: Add netinet/in_systm.h. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers): + Add netinet/in_systm.h. + Reported by NIIBE Yutaka . + +Thu Nov 28 03:11:11 1996 Ulrich Drepper + + * libio/fileops.c: Update from latest libg++. + + * sysdeps/unix/sysv/linux/init-first.c: Reformat copyright. + + * sysdeps/stub/libc-lock.h: Add __libc_lock_init_recursive. + * libio/genops.c (_IO_init): Use __libc_lock_init_recursive + instead of __libc_lock_init for streams. + Reported by a sun . + + * sysdeps/unix/sysv/linux/i386/brk.c: Reformat copyright. + + * sysdeps/generic/errno-loc.c: New file. Generic definition of + __errno_location function. + * sysdeps/unix/sysv/linux/i386/sysdep.S: Remove definition of + __errno_location. + * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=csu]: Add errno-loc + to sysdep-routines. + + * sysdeps/unix/sysv/linux/configure: Add test for linuxthreads + and crypt add-on and warn if not available. + +Wed Nov 27 23:09:37 1996 Ulrich Drepper + + * po/ko.po: Update from Bang Jun-Young . + + * sysdeps/unix/sysv/linux/syscalls.list: Remove _llseek. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (routines): Add + llseek. + * sysdeps/unix/sysv/linux/llseek.c: New file. Uses syscall. + * sysdeps/unix/sysv/linux/i386/syscalls.list: Add __sys_llseek. + * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add __sys_llseek. + Reported by HJ Lu . + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add llseek. + * sysdeps/unix/sysv/linux/alpha/llseek.S: Remove. Generic syscall + is enough. + Patch by Richard Henderson . + + * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for + pciconfig_read and pciconfig_write. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add new syscalls + pciconfig_read and pciconfig_write. + + * login/getutent_r.c: Fix several bugs in last change. + +Wed Nov 27 06:10:10 1996 Ulrich Drepper + + * Makefile: Fix typo. + + * configure: Require autoconf-2.11. + + * elf/dl-deps.c: Terminate duplicate list. + + * libio/libio.h: Add prototypes for _IO_seekoff and _IO_seekpos. + * libio/strfile.h: Update from current libg++. + * libio/strops.c: Likewise. + + * login/Makefile (routines): Update after correction of reentrant + interface. + * login/endutent.c: Removed. + * login/endutent_r.c: Likewise. + * login/pututline.c: Likewise. + * login/pututline_r.c: Likewise. + * login/setutent.c: Likewise. + * login/setutent_r.c: Likewise. + * login/getutent.c: Update for new interface. + * login/getutent_r.c: Likewise. + * login/getutid.c: Likewise. + * login/getutid_r.c: Likewise. + * login/getutline.c: Likewise. + * login/getutline_r.c: Likewise. + * login/login.c: Likewise. + * login/logout.c: Likewise. + * login/logwtmp.c: Likewise. + * login/utmp.h: Likewise. + * sysdeps/unix/getlogin.c: Likewise. + * sysdeps/unix/getlogin_r.c: Likewise. + * login/utmp-private.h: New private header. + * login/utmp_db.c: Stub DB backend for utmp handler. + * login/utmp_file.c: File backend for utmp handler. + * sysdeps/gnu/utmpbits.h (struct utmp): Add some more fields. + (enum utlogin): List of record types. + (struct exit_status): Record to align with other implementations. + + * sysdeps/generic/paths.h: Add _PATH_UTMP_DB. + * sysdeps/unix/sysv/linux/paths.h: Likewise. + + * sysdeps/generic/pty.c: Use getgrnam_r instead of getgrnam. + + * sysdeps/stub/getlogin.c: Update copyright. + * sysdeps/stub/getlogin_r.c: Likewise. + + * nss/getXXbyYY_r.c: Use -1l for error-pointer value instead of -1. + * nss/getXXent_r.c: Likewise. + * nss/nsswitch.c: Likewise. + + * posix/Makefile (headers): Add wait.h. + * posix/wait.h: New file. + + * posix/sys/types.h: Always define intN_t types. + + * stdio-common/Makefile: Update copyright. + Use -Wno-format flag for scanf4.c and scanf7.c. + + * stdlib/stdlib.h: Reformat. + +Fri Nov 22 19:34:12 1996 Andreas Schwab + + * sysdeps/posix/getcwd.c (__getcwd): After resizing the buffer + move the current contents to the end and relocate file name + pointer to upper half of the buffer. + +Sun Nov 24 04:56:19 1996 Ulrich Drepper + + * time/africa: Update from ADO tzdata1996m. + * time/antarctica: Likewise. + * time/asia: Likewise. + * time/australia: Likewise. + * time/etcetera: Likewise. + * time/europe: Likewise. + * time/nothamerica: Likewise. + * time/southameria: Likewise. + * time/zone.tab: Likewise. + + * sysdeps/unix/sysv/linux/sys/serial.h: New file. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers): + Add sys/serial.h. + * sysdeps/unix/sysv/linux/Dist: Add sys/serial.h. + + * posix/wait.h: New file. + * posix/Makefile (headers): Add wait.h. + +Sat Nov 23 17:27:52 1996 Roland McGrath + + * Makeconfig ($(common-objpfx)soversions.mk): Use regular + expression instead of shell pattern matching. + * shlib-versions: Change to regular expressions. + +Sat Nov 23 13:24:55 1996 Ulrich Drepper + + * io/stat.c: Add section from libgcc to copyright comment + to allow this file to be statically linked in applications. + * io/fstat.c: Likewise. + * io/lstat.c: Likewise. + * io/mknod.c: Likewise. + +Fri Nov 22 15:14:23 1996 Ulrich Drepper + + * csu/initfini.c: Add section from libgcc to copyright comment + to allow this file to be statically linked in applications. + + * malloc/obstack.h [!_LIBC && !HAVE_STRING_H]: Define memcpy if + not already defined. + (obstack_grow, obstack_grow0): Correct placement of braces. + + * gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Define to 2. + * malloc/obstack.c (OBSTACK_INTERFACE_VERSION): Define to 2. + +Thu Nov 21 19:54:51 1996 Andreas Schwab + + * Makerules (make-link): Simplify by changing directory only if + not using rellns-sh; check whether we really have symbolic links. + + * rellns-sh: Fix the case of $(dirname $2) being a prefix of + $(dirname $1); use status of ln for exit code; make more robust + against multiple slashes in a row. + +Thu Nov 21 13:05:21 1996 Thomas Bushnell, n/BSG + + * configure.in (after AC_CANONICAL_HOST): mutate *-*-gnu* names + into *-*-gnu-gnu*. + * shlib-versions (gnu versions): Recognize *-*-gnu-gnu* instead of + the three-part name, to distinguish correctly from *-*-linux-gnu*. + + * sysdeps/mach/hurd/Makefile ($(libdir)/libc.so): Depend on + $(rpcuserlibs). + + * sysdeps/mach/hurd/Makefile (install-others): Add + $(libdir)/libc_p.a. + ($(libdir)/libc_p.a): New rule. + * sysdeps/mach/hurd/libc_p-ldscript: New file. + * sysdeps/mach/hurd/Dist: Add libc_p-ldscript. + +Wed Nov 20 20:28:21 1996 Richard Henderson + + * Makerules (make-link): Use $(shell) to find rellns-sh before we cd. + * time/Makefile: Likewise. + + * sysdeps/alpha/elf/Makefile: New file. Build crtbegin.o & crtend.o. + * sysdeps/alpha/elf/Dist: New file. + * sysdeps/alpha/elf/crtbegin.S, sysdeps/alpha/elf/crtend.S: New files. + The bits currently distributed with GCC fail in two ways -- they don't + understand multiple .got subsections and the extents of the lists are + dynamicly bound meaning that the application's lists get executed + multiple times and the library's lists never get executed. + +Wed Nov 20 00:42:45 1996 Andreas Schwab + + * stdlib/strtod.c: Fix previous change. + +Wed Nov 20 22:07:58 1996 Andreas Jaeger + + * time/Makefile ($(installed-localtime-file)): Use $(..) to find + rellns-sh script. + +Wed Nov 20 12:50:54 1996 Ulrich Drepper + + * stdio-common/Makefile: Add CFLAGS-scanf7.c to prevent warning. + Likewise for scanf4.c + +Wed Nov 20 02:04:11 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sigsuspend.c: Make sigsuspend a weak + alias of __sigsuspend. + + * grp/grp.h: Correct comment about POSIX compliance. + * pwd/pwd.h: Likewise. + + * login/utmp.h: Update copyright and pretty-print prototypes. + * sysdeps/generic/paths.h: Add _PATH_LASTLOG, _PATH_UTMP and + _PATH_WTMP from utmpbits.h. + * sysdeps/unix/sysv/linux/paths.h: Likewise. + * sysdeps/generic/utmpbits.h: Remove here. + * sysdeps/gnu/utmpbits.h: Likewise. + + * misc/sys/uio.h: Place __BEGIN_DECLS correctly. + Pretty-print prototypes. + + * sysdeps/unix/sysv/linux/sparc/clone.S: New file. Taken from + LinuxThreads-0.5. + +Tue Nov 19 13:43:07 1996 Richard Henderson + + * inet/ether_hton.c: Include . + * inet/ether_ntoh.c: Likewise. + * inet/rexec.c: Get errno, index, getpass, getlogin from headers. + * misc/search.h: Fix hcreate_r argument type (unsigned -> size_t). + + * misc/sys/cdefs.h: Change __long_double_t definition from typedef + to define. Jim Nance reports problems building XEmacs otherwise. + + * resolv/gethnamaddr.c: Protect h_errno redefinition. + * resolv/getnetnamadr.c: Likewise. + * resolv/herror.c: Likewise. + + * sysdeps/generic/sigset.h (__SIGSETFN): Operator ## doesn't work + with -traditional. Reported by Eric Youngdale. While we're at this, + don't do error checking in the __ functions. This is consistent + with the sysv4 definitions and seems Right. + * signal/signal.h: Don't __OPTIMIZE__ sigops to __ versions. Add + prototype for __sigsuspend. + * sysdeps/posix/sigblock.c: Optimize sigmask <-> sigset_t conversions + for sigset_t == unsigned long. De-ansidecl-ify. Reformat copyright. + * sysdeps/posix/sigpause.c: Likewise. + * sysdeps/posix/sigsetmask.c: Likewise. + * sysdeps/posix/sigvec.c: Likewise. + * sysdeps/posix/sigintr.c: Reformat copyright. + * sysdeps/posix/signal.c: Check signal number out of range since + __sigismember doesn't anymore. Reformat copyright. + * sysdeps/posix/sigwait.c: Use __ versions of sigfillset, sigismember, + sigdelset, sigaction, and sigsuspend. + + * stdlib/drand48-iter.c (__drand48_iterate): Cast state fragments + to the wider type before shifting. + + * sysdeps/alpha/bsd-_setjmp.S: Silence assembler warning "$at used + without .set noat" in profiling hook. + * sysdeps/alpha/bsd-setjmp.S: Likewise. + * sysdeps/alpha/htonl.S: Likewise. + * sysdeps/alpha/htons.S: Likewise. + * sysdeps/alpha/s_copysign.S: Likewise. + * sysdeps/alpha/setjmp.S: Likewise. + * sysdeps/alpha/stpcpy.S: Likewise. + * sysdeps/alpha/strcat.S: Likewise. + * sysdeps/alpha/strcpy.S: Likewise. + * sysdeps/alpha/strncat.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/brk.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise. Rename + function to __sigsuspend and add weak alias. + * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. Add missing END. + + * sysdeps/alpha/w_sqrt.S: Define _ERRNO_H so defines EDOM. + + * sysdeps/unix/execve.S: Match PSEUDO_END symbol with the symbol + SYSCALL__ actually generated. + + * sysdeps/unix/sysv/linux/errnos.h [_LIBC_REENTRANT]: Reflexively + #define __set_errno, as several imported subsystems (eg. BIND) check + that the symbol is defined. + + * sysdeps/unix/sysv/linux/getsysstats.c: Include . + + * sysdeps/alpha/memcpy.S: Temporarily remove until I can find a bug + that manifests in GCC. + +Tue Nov 19 11:10:05 1996 Thomas Bushnell, n/BSG + + * sysdeps/posix/writev.c (writev): COUNT parm is now int. + * sysdeps/posix/readv.c (readv): Likewise. + +Tue Nov 19 15:28:29 1996 Ulrich Drepper + + * nss/nss_dns/dns-network.c: Change return type of all functions + to enum nss_status. + Reported by NIIBE Yutaka. + * nss/nss_dns/dns-host.c: Update copyright. + +Fri Nov 15 20:16:38 1996 Andreas Schwab + + * config.make.in: Remove definition of top_absdir. + * configure.in: Likewise. Use $(..) instead. + * Makerules (make-link): Use $(..) to find rellns-sh script. + +Sat Nov 16 15:52:29 1996 Andreas Schwab + + * manual/nss.texi (Name Service Switch): Fix reference to + `frobnicate'. + +Fri Nov 15 22:08:33 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add + sys/mtio.h. + +Mon Nov 18 05:51:13 1996 Ulrich Drepper + + * sysdeps/generic/waitstatus.h (__WIFSIGNALED): Rename local + variable from __stat to __status to prevent shadowing. + * sunrpc/rpc/clnt.h (clntudp_create, clntudp_bufcreate): Likewise + for parameter __wait. + Reported by NIIBE Yutaka. + +Mon Nov 18 02:05:38 1996 Ulrich Drepper + + * misc/regexp.c: New file. Implementation of obsolete interface + to regular expression matcher (required in XPG4.2). + * misc/regexp.h: New file. Header for above. + * misc/Makefile (headers): Add regexp.h. + (routines): Add regexp.c. + Update copyright. + +Sun Nov 17 21:50:24 1996 Andreas Jaeger + + * stdlib/tst-strtod.c (main): Add arguments for main. + * stdlib/tst-strtol.c (main): Likewise. + +Sun Nov 17 21:15:05 1996 Ulrich Drepper + + * configure.in: Substitute libc_cv_slibdir and libc_cv_sysconfdir + in output files. + * sysdepes/unix/sysv/linux/configure: Define libc_cv_slibdir to /lib + and sysconfdir to /etc if $prefix is /usr. + * config.make.in: Add slibdir, sysconfdir and BASH to be replaced. + + * elf/Makefile ($(objpfx)ldd): Install ldd.bash.in if + $(have-bash2) is yes. + * elf/ldd.bash.in: Add copyright and various cleanups. + * elf/ldd.sh.in: Likewise. + + Implement RTLD_NEXT. + * elf/dlfcn.h: Define RTLD_NEXT. + * elf/dl-deps.c: Build second searchlist which contains duplicates. + * elf/dl-lookup.c (_dl_lookup_symbol_skip): New function. Used + for RTLD_NEXT lookup. + Rewrite _dl_lookup_symbol to put common parts for both lookup + functions in a separate function. + * elf/dlsym.c: Handle RTLD_NEXT by calling _dl_lookup_symbol_skip. + * elf/link.h (struct link_map): Add l_dupsearchlist and + l_ndupsearchlist. + Add prototype for _dl_lookup_symbol_skip. + + * sunrpc/Makefile (rpcsvc): Add rusers. + * sunrpc/rpcsvc/rnusers.x: Remove. Obsolteted by rusers.x. + * sunrpc/rpcsvc/rusers.x: New file. + +Sun Nov 17 04:24:35 1996 Ulrich Drepper + + * stdio-common/vfprintf.c [USE_IN_LIBIO] (buffered_vfprintf): Call + __libc_lock_init for local lock. + Reported by a sun . + [!USE_IN_LIBIO] (PAD): Optimize a bit. + +Sun Nov 17 03:13:57 1996 Ulrich Drepper + + * db/makedb.c: Update and reformat copyright. + * elf/Makefile: Likewise. + * elf/dl-close.c: Likewise. + * elf/dl-debug.c: Likewise. + * elf/dl-deps.c: Likewise. + * elf/dl-error.c: Likewise. + * elf/dl-fini.c: Likewise. + * elf/dl-init.c: Likewise. + * elf/dl-load.c: Likewise. + * elf/dl-lookup.c: Likewise. + * elf/dl-minimal.c: Likewise. + * elf/dl-object.c: Likewise. + * elf/dl-open.c: Likewise. + * elf/dl-reloc.c: Likewise. + * elf/dl-runtime.c: Likewise. + * elf/dl-support.c: Likewise. + * elf/dl-symbol.c: Likewise. + * elf/dladdr.c: Likewise. + * elf/dlclose.c: Likewise. + * elf/dlerror.c: Likewise. + * elf/dlopen.c: Likewise. + * elf/dlsym.c: Likewise. + * elf/do-rel.h: Likewise. + * elf/dynamic-link.h: Likewise. + * elf/eval.c: Likewise. + * elf/rtld.c: Likewise. + * inet/ether_hton.c: Likewise. + * inet/ether_ntoh.c: Likewise. + * inet/ether_line.c: Likewise. + * inet/getnetgrent_r.c: Likewise. + + * inet/Makefile (+gccwarn): Remove definition. + Instead set CFLAGS-rcmd.c, CFLAGS-rexec.c, and CFLAGS-ruserpass.c + to `-w'. + * inet/aliases.h: Add C++ protection. + * inet/ether_hton.c: Add prototype for __nss_ethers_lookup. + (ether_hostton): Remove unused variable result. + * inet/ether_ntoh.c: Likewise. + * inet/ether_line.c: Include and . + * inet/getnetgrent_r.c: Include . + Use casts to prevent warnings. + (innetgr): Initialize `known' and `needed'. + * inet/inet_net.c: Make local variable `i' of type u_int32_t. + * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)) [NEED__RES]: Don't + return NULL. Instead set *RESULT to NULL and return -1. + * nss/getXXent_r.c (INTERNAL (REENTRANT_GETNAME)): Likewise. + (SETFUNC_NAME, ENDFUNC_NAME) [NEED__RES]: Don't return anything. + + * nss/nss_files/files-alias.c: Debug function. I didn't worked at + all before. + +Sat Nov 16 15:25:34 1996 Ulrich Drepper + + * sysdeps/posix/readv.c: Don't use PTR anymore. + * sysdeps/posix/writev.c: Likewise. + + * version.h (VERSION): Bump to 1.98. + + * nss/db-Makefile: Generate lines for getXXXent iteration. + + * sysdeps/alpha/Dist: Don't distribute removed files divlu.S, + divqu.S, remlu.S, and remqu.S. + +Fri Nov 15 08:55:54 1996 Andreas Jaeger + + * posix/unistd.h: Correct typo in documentation. + +Thu Nov 14 18:08:14 1996 a sun + + * inet/netinet/tcp.h: Use __ protected versions instead of + BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN directly. + +Sat Nov 16 13:44:55 1996 Ulrich Drepper + + * intl/loadmsgcat.c (_nl_msg_cat_cntr): Initialize so that + references in libc.so are not anymore undefined. + +Sat Nov 16 18:17:36 1996 NIIBE Yutaka + + * io/utime.h: Rename second parameter for utime to prevent warning + for -Wshadow. + * dirent/dirent.h: Same here for scandir prototype. + * math/mathcalls.h: Likewise for frexp and ldexp. + * sysdeps/unix/sysv/linux/netinet/in.h: Likewise for bindresvport. + +Sat Nov 16 03:49:27 1996 Ulrich Drepper + + * stdlib/tst-strtod.c: Add test for error case below. + +Sat Nov 16 03:48:39 1996 Wolfram Gloger + + * stdlib/strtod.c: Recognize numbers like 0e-19. + +Fri Nov 15 08:38:43 1996 Andreas Jaeger + + * time/Makefile ($(installed-localtime-file)): Fix path to + rellns-sh. + + * Makefile: Don't generate and install gnu/lib-names.h if + $(build-shared) is not `yes'. + +Thu Nov 14 09:23:58 1996 H.J. Lu (hjl@gnu.ai.mit.edu) + + * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend + on $(..)posix/posix1_lim.h, not ../posix/posix1_lim.h. + + * Makerules (REAL_MAKE_VERSION): New, use it instead of + MAKE_VERSION. + +Thu Nov 14 22:10:43 1996 Ulrich Drepper + + * nss/nss_files/files-XXX.x (_nss_files_get,ENTNAME_r): Fix typo. + * nss/getXXent_r.c: Fix typo. Set correct return value when + no further service is available. + +Thu Nov 14 17:48:13 1996 Ulrich Drepper + + * db/recno/rec_put.c: Add cast to avoid warning. + * db/recno/rec_close.c: Likewise. + * db/mpool/mpool.c: Likewise. + * db/hash/hash_bigkey.h: Likewise. + * db/hash/hash.c: Likewise. + * db/btree/bt_split.c: Likewise. + * db/btree/bt_put.c: Likewise. + +Thu Nov 14 14:11:44 1996 Ulrich Drepper + + * dirent/dirent.h: Update copyright. + * elf/elf.h: Likewise. + * elf/link.h: Likewise. + * gmon/sys/gmon_out.h: Likewise. + * gnu-versions.h: Likewise. + * intl/libintl.h: Likewise. + * io/fcntl.h: Likewise. + * io/ftw.h: Likewise. + * io/sys/statfs.h: Likewise. + * io/utime.h: Likewise. + * locale/langinfo.h: Likewise. + * malloc/malloc.h: Likewise. + * malloc/obstack.h: Likewise. + * misc/ar.h: Likewise. + * misc/error.h: Likewise. + * misc/mntent.h: Likewise. + * misc/sgtty.h: Likewise. + * misc/sys/cdefs.h: Likewise. + * misc/sys/dir.h: Likewise. + * misc/sys/file.h: Likewise. + * misc/sys/ioctl.h: Likewise. + * misc/sys/ustat.h: Likewise. + * posix/fnmatch.h: Likewise. + * posix/getopt.h: Likewise. + * posix/glob.h: Likewise. + * posix/posix2_lim.h: Likewise. + * posix/regex.h: Likewise. + * posix/sys/times.h: Likewise. + * posix/sys/types.h: Likewise. + * posix/sys/utsname.h: Likewise. + * posix/tar.h: Likewise. + * posix/wordexp.h: Likewise. + * resource/sys/resource.h: Likewise. + * resource/sys/vlimit.h: Likewise. + * resource/sys/vtimes.h: Likewise. + * socket/sys/socket.h: Likewise. + * socket/sys/un.h: Likewise. + * stdio-common/printf.h: Likewise. + * stdlib/alloca.h: Likewise. + * string/argz.h: Likewise. + * string/endian.h: Likewise. + * string/envz.h: Likewise. + * string/memory.h: Likewise. + * string/strings.h: Likewise. + * sysdeps/generic/crypt.h: Likewise. + * sysdeps/generic/direntry.h: Likewise. + * sysdeps/generic/gnu/types.h: Likewise. + * sysdeps/generic/ioctl-types.h: Likewise. + * sysdeps/generic/netinet/in.h: Likewise. + * sysdeps/generic/resourcebits.h: Likewise. + * sysdeps/generic/sigset.h: Likewise. + * sysdeps/generic/sockaddrcom.h: Likewise. + * sysdeps/generic/sys/mman.h: Likewise. + * sysdeps/generic/sys/ptrace.h: Likewise. + * sysdeps/generic/termbits.h: Likewise. + * sysdeps/generic/waitstatus.h: Likewise. + * sysdeps/ieee754/huge_val.h: Likewise. + * sysdeps/ieee754/nan.h: Likewise. + * sysdeps/mach/hurd/local_lim.h: Likewise. + * sysdeps/mach/hurd/statbuf.h: Likewise. + * sysdeps/stub/huge_val.h: Likewise. + * sysdeps/stub/libc-lock.h: Likewise. + * sysdeps/stub/signum.h: Likewise. + * sysdeps/stub/statbuf.h: Likewise. + * sysdeps/stub/waitflags.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise. + * sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise. + * sysdeps/unix/bsd/osf/sys/mman.h: Likewise. + * sysdeps/unix/bsd/signum.h: Likewise. + * sysdeps/unix/bsd/statbuf.h: Likewise. + * sysdeps/unix/bsd/sun/signum.h: Likewise. + * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Likewise. + * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise. + * sysdeps/unix/bsd/sun/sunos4/termbits.h: Likewise. + * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise. + * sysdeps/unix/bsd/waitflags.h: Likewise. + * sysdeps/unix/sysv/irix4/signum.h: Likewise. + * sysdeps/unix/sysv/irix4/statbuf.h: Likewise. + * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/sys/io.h: Likewise. + * sysdeps/unix/sysv/linux/direntry.h: Likewise. + * sysdeps/unix/sysv/linux/gnu/types.h: Likewise. + * sysdeps/unix/sysv/linux/ioctl-types.h: Likewise. + * sysdeps/unix/sysv/linux/local_lim.h: Likewise. + * sysdeps/unix/sysv/linux/netinet/in.h: Likewise. + * sysdeps/unix/sysv/linux/resourcebits.h: Likewise. + * sysdeps/unix/sysv/linux/signum.h: Likewise. + * sysdeps/unix/sysv/linux/statbuf.h: Likewise. + * sysdeps/unix/sysv/linux/sys/io.h: Likewise. + * sysdeps/unix/sysv/linux/sys/klog.h: Likewise. + * sysdeps/unix/sysv/linux/sys/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise. + * sysdeps/unix/sysv/linux/syscall.h: Likewise. + * sysdeps/unix/sysv/linux/termbits.h: Likewise. + * sysdeps/unix/sysv/local_lim.h: Likewise. + * sysdeps/unix/sysv/sco3.2.4/syscall.h: Likewise. + * sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise. + * sysdeps/unix/sysv/signum.h: Likewise. + * sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise. + * sysdeps/unix/sysv/sysv4/signum.h: Likewise. + * sysdeps/unix/sysv/sysv4/sigset.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/signum.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: Likewise. + * sysdeps/unix/sysv/sysv4/waitflags.h: Likewise. + * sysdeps/vax/huge_val.h: Likewise. + * values.h: Likewise. + +Thu Nov 14 04:22:41 1996 Ulrich Drepper + + * malloc/obstack.h: Use memcpy instead of bcopy and define a macro + `memcpy' using bcopy if memcpy is not available. + + * manual/stdio.texi: Correct description of printf customization. + The argument info function is not optional anymore and the + interface for `printf_function' also changed. + * manual/examples/rprintf.c: Define and use argument info function. + + * stdio-common/printf.h (struct printf_info): Change type for field + `pad' to wchar_t. + Correct comment for `register_printf_function'. + + * nss/getXXbyYY.c [NEED_H_ERRNO]: Don't pass pointer to h_errno + to reentrant function. Instead use temporary variable and set + h_errno if an error occured. + Reported by NIIBE Yutaka. + +Fri Nov 15 12:27:25 1996 Thomas Bushnell, n/BSG + + * sysdeps/mach/hurd/statbuf.h (S_IPTRANS, S_IATRANS, S_IROOT, + S_ITRANS): New macros. + (S_ISPARE): Update to include new macros and S_IUSEUNK. + + * sysdeps/mach/hurd/select.c (__select): Construct arg to + mach_msg_destroy more nicely. + + * sysdeps/mach/hurd/ioctl.c: Include . + + * stdio/fopen.c (__getmode): Declare with prototype. + * stdio/memstream.c (enlarge_buffer, seek, free_info): Likewise. + * stdio/internals.c (__stdio_check_funcs, init_stream, + seek_to_target, flushbuf, fillbuf): Likewise. + + * stdio-common/vfscanf.c (encode_error) [! USE_IN_LIBIO]: Call + funlockfile, not _IO_funlockfile. + + * sysdeps/posix/readv.c (readv): Change return type to ssize_t. + Deansideclized. + * sysdeps/posix/writev.c (writev): Likewise. + + * sysdeps/mach/hurd/lchown.c: Include and fix typo. + +Thu Nov 14 12:53:16 1996 Thomas Bushnell, n/BSG + + * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Make this a + prototyped definition. + + * sysdeps/mach/hurd/select.c (__select): Deal properly when there + are no bits set in the masks. Reported by baldazzi@csr.unibo.it. + +Thu Nov 14 02:00:33 1996 Ulrich Drepper + + * inet/Makefile (headers): Add aliases.h. + (routines): Add getaliasent_r, getaliasent, getaliasname, and + getaliasname_r. + * aliases.h: New file. + * inet/aliases.h: New file. + * inet/getaliasent.c: New file. + * inet/getaliasent_r.c: New file. + * inet/getaliasname.c: New file. + * inet/getaliasname_r.c: New file. + * nss/Makefile (databases): Add alias. + * nss/alias-lookup.c: New file. + * nss/databases.def: Add aliases and publickey. + * nss/nss_db/db-alias.c: New file. + * nss/nss_files/files-alias.c: New file. + + * inet/getnetgrent_r.c (__internal_getnetgrent): Buffer length + argument to lookup function is of type size_t. + (innetgr): Likewise. + * nss/getXXbyYY_r.c: Likewise. + * nss/getXXent_r.c: Likewise. + * nss/nss_db/db-XXX.c: Likewise. + + * nss/getXXbyYY.c: Don't provide static buffer. Resize if call + failed because buffer was too small. + * nss/getXXent.c: Likewise. + + * nss/nss_files/files-XXX.c: Correct handling of shared file. The + getXXent_r function now uses f[gs]etpos to get to the correct + position. + + * nss/nss_files/files-parse.c: Indent lines for better readability. + + * malloc/obstack.c: Add new variable obstack_alloc_failed_handler + and new function print_and_abort. Remove all references to + alloc_failed field. + Add new function _obstack_memory_used. + * malloc/obstack.h (struct obstack): Remove field alloc_field. + Remove all references to alloc_failed field. + Add prototype for _obstack_memory_used. + + * posix/unistd.h: Correct typo. + +Wed Nov 13 03:09:16 1996 Ulrich Drepper + + * configure.in: Require at least autoconf-2.10.2. + +Tue Nov 12 16:58:41 1996 Thomas Bushnell, n/BSG + + * mach/mach.h (__mach_msg_destroy, mach_msg_destroy, __mach_msg): + Provide prototypes. + + * mach/msg-destroy.c (mach_msg_destroy_port, + mach_msg_destroy_memory): Use prototype syntax. + * hurd/hurdmalloc.c (more_memory, malloc_fork_prepare, + malloc_fork_parent, malloc_fork_child): Likewise. + + * stdio/stdio.h: Repair broken cpp syntax. + + * sysdeps/mach/hurd/lchown.c: New file. Guts from chown.c, except + we pass O_NOLINK on the open. + + * manual/errno.texi (EBADMSG, EIDRM, EMULTIHOP, ENODATA, ENOLINK, + ENOMSG, ENOSR, ENOSTR, EOVERFLOW, EPROTO, ETIME): Redesignate as + an XOPEN error code, move to before the "Linux only" section, and + give it a new number for the Hurd. + +Tue Nov 12 03:35:01 1996 Christian von Roques + + * malloc/obstack.h: Add new macro `obstack_make_room'. + * malloc/obstack.c: Add function implementation for + `obstack_make_room'. + +Mon Nov 11 13:54:04 1996 Ulrich Drepper + + Update to BIND-4.9.5-REL. + * resolv/Banner: Set to 4.9.5-REL. + * resolv/inet_net_pton.c: Was doing bad things to subnets and b'casts. + * resolv/res_debug.c (__fp_nquery): Could read past end of buffer. + (fix from BIND 8.1) + + * config.make.in: Add definition for top_absdir. + * Makerules (make-link): Fix path to rellns-sh script. + +Sat Nov 9 02:15:24 1996 Andreas Schwab + + * posix/unistd.h: Fix comment. + + * manual/arith.texi: Fix misspellings. Use `zero', not `null', + when talking about numbers. + * manual/users.texi: Likewise. + * manual/creature.texi: Likewise. Use @defvarx for a secondary + description header. + +Sat Nov 9 19:25:11 1996 Andreas Schwab + + * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend on + the real posix1_lim.h file so that it works in all subdirs, not + only in posix. + +Sat Nov 9 02:08:34 1996 Andreas Schwab + + * Makefile ($(includedir)/gnu/lib-names.h): Quote arguments of tr. + +Sat Nov 9 02:06:17 1996 Andreas Schwab + + * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Don't depend + on $(before-compile) which hasn't been properly setup yet at this + point. + +Sat Nov 9 02:02:48 1996 Andreas Schwab + + * sysdeps/generic/sigset.h: Don't use implicit int which will + probably require a diagnostic in the next revision of the C + standard. + * sysdeps/stub/lockfile.c: Likewise. + +Sat Nov 9 01:57:17 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/syscall.S: Correct last change. + * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. + +Mon Nov 11 02:53:14 1996 Ulrich Drepper + + * time/strftime.c: Update copyright. Small cosmetic changes. + +Sun Nov 10 23:28:16 1996 Ulrich Drepper + + * inet/getprtname_r.c: Reformat copyright. + + * nss/Makefile (databases): Add key. + (libnss_files-routines): Exclude key database. + (libnss_db-routines): Likewise. + * nss/key-lookup.c: New file. + + * nss/getXXent_r.c (last_nip): Remember last service used since + last setXXent call. + (SETFUNC): Don't force to work through whole list of services in + call to __nss_next. + Update last_nip if necessary. + (ENDFUNC): Only process endXXent function up to currently used + last service. + (GETFUNC): Update last_nip if necessary. + + * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't + make static. + + * rpc/auth_des.h: New file. + * sunrpc/Makefile (headers): Add auth_des.h. + (routines): Add publickey. + * sunrpc/publickey.c: New file. Interface to public key handling. + * sunrpc/rpc/auth_des.h: New file. + * sunrpc/rpc/netdb.h: Really include . + +Sun Nov 10 02:37:15 1996 Ulrich Drepper + + * inet/gethstent_r.c: Update copyright. + * nss/getXXbyYY_r.c: Likewise. + * nss/nsswitch.c: Likewise. + * nss/getXXent_r.c: Likewise. + * nss/nss_files/files-XXX.c: Likewise. + * nss/nss_files/files-netgroup.c: Likewise. + * nss/nss_files/files-parse.c: Likewise. + + * nss/getXXent_r.c: Change implementation. It's not necessary to + call all setXXent functions. Just find first available and + when necessary let getXXent_r call the others. + + * nss/nss_files/files-XXX.c: Make really reentrant. Now calls + of getXXent and getXXbyYY can be mixed. The cursor for traversing + the database with getXXent will be remembered. + + * stdlib/test-canon.c (cwd): Change size to PATH_MAX. + +Sat Nov 9 15:34:48 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/Dist: Add sys/mtio.h. + * sysdeps/unix/sysv/linux/sys/mtio.h: New file. + + * signal/signal.h [__USE_BSD]: Add prototype for siggetmask. + +Fri Nov 8 13:29:30 1996 Ulrich Drepper + + * ctype/ctype.h (__isascii): Don't test for seventh bit not to be + set. Instead for none beside the first seven bits to be set. + X/Open allows the argument to be an `int' value. + Reported by Alain Williams . + (toascii, isascii): Define macro also when __USE_XOPEN. + + * sysdeps/posix/fpathconf.c: Use fstatfs to compute NAME_MAX, not + PATH_MAX. + +Thu Nov 7 03:04:29 1996 Ulrich Drepper + + * nss/getXXXent_r.c (SETFUNC_NAME): Reset `nip' after loop to + NULL so that GETFUNC will see first entry. + (ENDFUNC_NAME): Likewise. + + Rewrite Netgroups implementation to avoid global data. + * inet/netgroup.h: Add definition of name_list and struct + __netgrent. + Add prototypes for internal netgroup functions. + * nss/nss_files/files-netgroup.c (_nss_files_setnetgrent): Take + extra argument and use the included data instead of global vars. + (_nss_files_endnetgrent): Likewise. + (_nss_netgroup_parseline): Change to be static and use data + included in the RESULT structure. + * inet/getnetgrent_r.c (startp): Move into setup function. + (known_groups, needed_groups): new part of the __netgrent sruct. + (freememory): Take extra argument and use included data. + (__internal_endnetgrent): Likewise. + (internal_setnetgrent): Renamed to __internal_setnetgrent_reuse + and take extra argument. + (__internal_setnetgrent): New function. Call + __internal_setnetgrent_reuse after calling free_memory. + (setnetgrent): Only call __internal_setnetgrent. + (__getnetgrent_r): Split into two functions. __getnetgrent_r + calls __internal_getnetgrent after locking. + (innetgr): Use dynamic data only. I.e., innetgr now is fully + reentrant. + +Thu Nov 7 00:15:14 1996 Ulrich Drepper + + * sysdeps/stub/setenv.c: Correct typo: unseenv -> unsetenv. + Reported by Joshua Cowan . + +Wed Nov 6 13:13:37 1996 Ulrich Drepper + + * manual/creature.texi: Document that _GNU_SOURCE is no longer the + default when no *_SOURCE macro is given. + Reported by Karsten Weiss . + * NOTES: remade from manual/creature.texi. + * manual/libc.texinfo: Add back line about GPL translation which + somehow got lost. + + * Make-dist (dist.tar): Depend on README being updated. + + * rellns-sh: Correct thinko in removing leading /. + Reported by Andreas Jaeger . + + * pwd/fgetpwent_r.c: Recognize lines containing only names starting + with `+' or `-' in parser. + * grp/fgetgrent_r.c: Likewise. + * shadow/sgetspent_r.c: Likewise. + * nss/nss_files/files-spwd.c: Don't accept entries starting with + `+' or `-'. + +Wed Nov 6 04:30:26 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias llseek for + _llseek syscall. Reported by Andy Sewell . + + * string/argz.h: Don't protect by __USE_GNU. + +Tue Nov 5 23:38:28 1996 Ulrich Drepper + + * Lots of files: Update and reformat copyright. + + * Makefile (headers): Add xopen_lim.h. + + * catgets/nl_types.h: Move __BEGIN_DECLS before definition of nl_catd. + + * grp/grp.h: Define setgrent, getgrent, endgrent, and getgrent_r + if __USE_XOPEN_EXTENDED is defined. + * pwd/pwd.h: Define setpwent, getpwent, endpwent, and getpwent_r + if __USE_XOPEN_EXTENDED is defined. + + * io/Makefile (routines): Add lchown. + * sysdeps/stub/lchown.c: New file. + + * io/sys/poll.h: Add definition of POLLWRNORM. + + * io/sys/stat.h: Declare lstat, fchmod, mknod when + __USE_XOPEN_EXTENDED is defined. + + * libio/Makefile (routines): Add obprintf. + * libio/obprintf.c: New file. + * libio/iolibio.h: Add prototypes for _IO_obstack_vprintf and + _IO_obstack_printf. + * libio/libio.h: Fix typo. + * libio/stdio.h: Declare tempnam if __USE_XOPEN_EXTENDED is defined. + Add prototypes for obstack_vprintf and obstack_printf. + + * manual/creature.texi: Describe _XOPEN_SOURCE macro. + * manual/intro.texi: Add reference to NSS chapter. + * manual/libc.texinfo: Update UPDATED. + Comment out `@printindex cp'. It works again. + * manual/memory.texi: Add description for obstack_ptr_grow, + obstack_int_grow, obstack_ptr_grow_fast, and obstack_int_grow_fast. + * manual/nss.texi: Add a few @cindex entries and change NSS_STATUS_* + index entries to @vindex. + * manual/users.texi: Correct @cindex entry for Netgroup. + + * math/mathcalls.h: Use __USE_XOPEN and __USE_XOPEN_EXTENDED to + make declarations visible for X/Open sources. + + * misc/search.h: Declare insque/remque only is __USE_SVID or + __USE_XOPEN_EXTENDED is defined. + + * misc/sys/uio.h (readv, writev): Change return value from int to + ssize_t. + + * posix/Makefile (headers): Add re_comp.h. + * posix/re_comp.h: New file. XPG interface to regex functions. + + * posix/getconf.c: Add all names from XPG4.2. + * posix/posix1_lim.h: Increase minimum values for _POSIX_CHILD_MAX + and _POSIX_OPEN_MAX to minimums from XPG4.2. + * sysdeps/generic/confname.h: Add all _SC_* names from XPG4.2. + * sysdeps/posix/sysconf.c: Handle new _SC_* values. + * sysdeps/stub/sysconf.c: Likewise. + + * posix/unistd.h: Add declaration of ualarm and lchown. Declare + usleep, fchown, fchdir, nice, getpgid, setsid, getsid, setreuid, + setregid, vfork, ttyslot, symlink, readlink, gethostid, truncate, + ftruncate, getdtablesize, brk, sbrk, lockf when + __USE_XOPEN_EXTENDED is defined. + + * posix/sys/wait.h: Declare wait3 if __USE_XOPEN_EXTENDED is defined. + + * shadow/shadow.h: Define SHADOW using _PATH_SHADOW. + * sysdeps/generic/paths.h: Define _PATH_SHADOW. + * sysdeps/unix/sysv/linux/paths.h: Likewise. + + * signal/signal.h: Declare killpg, sigstack and sigaltstack when + __USE_XOPEN_EXTENDED is defined. + + * stdio/stdio.h: Declare tempnam when __USE_XOPEN is defined. + + * stdlib/stdlib.h: Make rand48 functions available when __USE_XOPEN + is defined. + Likewise for valloc, putenv, realpath, [efg]cvt*, and getsubopt + functions. + + * string/string.h: Make memccpy, strdup, bcmp, bcopy, bzero, index, + and rindex available when __USE_XOPEN_EXTENDED is defined. + + * sysdeps/mach/getpagesize.c: De-ANSI-fy. Change return type to int. + * sysdeps/posix/getpagesize.c: Likewise. + * sysdeps/stub/getpagesize.c: Likewise. + * sysdeps/unix/getpagesize.c: Likewise. + + * time/africa: Update from tzdata1996l. + * time/asia: Likewise. + * time/australia: Likewise. + * time/europe: Likewise. + * time/northamerica: Likewise. + * time/pacificnew: Likewise. + * time/southamerica: Likewise. + * time/tzfile.h: Update from tzcode1996m. + + * time/time.h: Declare strptime if __USE_XOPEN. + Declare daylight and timezone also if __USE_XOPEN. + + * time/sys/time.h: Remove declaration of ualarm. + + * wctype/wctype.h: Just reference ISO C standard. + +Tue Nov 5 01:26:32 1996 Richard Henderson + + * crypt/Makefile: Add crypt routines to libc as well iff + $(crypt-in-libc) is set. Do this for temporary binary compatibility + on existing Linux/Alpha installations. + + * stdlib/div.c, sysdeps/generic/div.c: Move file to .../generic/. + * stdlib/ldiv.c, sysdeps/generic/ldiv.c: Likewise. + * stdlib/lldiv.c, sysdeps/generic/lldiv.c: Likewise. + * sysdeps/alpha/Makefile (divrem): Add divlu, dviqu, remlu, and + remqu. + * sysdeps/alpha/div.S: New file. + * sysdeps/alpha/ldiv.S: New file. + * sysdeps/alpha/lldiv.S: New file. + * sysdeps/alpha/divrem.h: Merge signed and unsigned division. + Take pointers from Linus and tighten the inner loops a bit. + * sysdeps/alpha/divl.S: Change defines for merged routines. + * sysdeps/alpha/divq.S: Likewise. + * sysdeps/alpha/reml.S: Likewise. + * sysdeps/alpha/remq.S: Likewise. + * sysdeps/alpha/divlu.S: Remove file. + * sysdeps/alpha/divqu.S: Likewise. + * sysdeps/alpha/remlu.S: Likewise. + * sysdeps/alpha/remqu.S: Likewise. + + * sysdeps/alpha/bsd-_setjmp.S: If PROF, call _mcount. + * sysdeps/alpha/bsd-setjmp.S: Likewise. + * sysdeps/alpha/bzero.S: Likewise. + * sysdeps/alpha/ffs.S: Likewise. + * sysdeps/alpha/htonl.S: Likewise. + * sysdeps/alpha/htons.S: Likewise. + * sysdeps/alpha/memchr.S: Likewise. + * sysdeps/alpha/memset.S: Likewise. + * sysdeps/alpha/s_copysign.S: Likewise. + * sysdeps/alpha/s_fabs.S: Likewise. + * sysdeps/alpha/setjmp.S: Likewise. + * sysdeps/alpha/stpcpy.S: Likewise. + * sysdeps/alpha/stpncpy.S: Likewise. + * sysdeps/alpha/strcat.S: Likewise. + * sysdeps/alpha/strchr.S: Likewise. + * sysdeps/alpha/strcpy.S: Likewise. + * sysdeps/alpha/strlen.S: Likewise. + * sysdeps/alpha/strncat.S: Likewise. + * sysdeps/alpha/strncpy.S: Likewise. + * sysdeps/alpha/strrchr.S: Likewise. + * sysdeps/alpha/udiv_qrnnd.S: Likewise. Fix private labels. + Convert two small jumps to use conditional moves. + * sysdeps/unix/alpha/sysdep.h: Compress all __STDC__ nastiness. + (PSEUDO): If PROF, call _mcount. + * sysdeps/unix/sysv/linux/alpha/brk.S: If PROF, call _mcount. + * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. + + * sysdeps/alpha/memcpy.S: New file. Odd layout because it should + eventually contain memmove as well. + * sysdeps/alpha/strcmp.S: New file. + * sysdeps/alpha/strncmp.S: New file. + * sysdeps/alpha/w_sqrt.S: New file. + +Tue Nov 5 18:06:06 1996 Ulrich Drepper + + * sysdeps/mach/hurd/ttyname_r.c: Use `size_t' for len variable. + +Tue Nov 5 12:09:29 1996 Ulrich Drepper + + * sysdeps/generic/sysdep.h: Define END only if not yet defined. + * sysdeps/unix/sysdep.h: Define PSEUDO_END only if not yet defined. + Reported by Thomas Bushnell, n/BSG. + +Mon Nov 4 22:46:53 1996 Ulrich Drepper + + * manual/users.texi (Netgroup Data): Remove { } around @cindex. + +Mon Nov 4 19:07:05 1996 Ulrich Drepper + + * malloc/calloc.c: Check for overflow before trying to allocate + memory. Proposed by Neil Matthews . + +Fri Nov 1 18:18:32 1996 Andreas Schwab + + * manual/llio.texi (Operating Modes): Add missing arguments to + @deftypevr in O_NONBLOCK description. + + * manual/time.texi (Time Zone Functions): Enclose type name in + braces in description of tzname. FIXME: this does not yet work + correctly in info. + +Sun Nov 3 17:29:06 1996 Ulrich Drepper + + * features.h: Add X/Open macros. + * posix/unistd.h: Define X/Open macros. + * sysdeps/generic/confname.h: Add _SC_XOPEN_XCU_VERSION, + _SC_XOPEN_UNIX, _SC_XOPEN_CRYPT, _SC_XOPEN_ENH_I18N, + _SC_XOPEN_SHM, _SC_2_CHAR_TERM, _SC_2_C_VERSION, and _SC_2_UPE. + * sysdeps/posix/sysconf.c: Handle new constants. + * sysdeps/stub/sysconf.c: Likewise. + * sysdeps/unix/sysv/linux/posix_opt.h: Add definition of _XOPEN_SHM. + + * catgets/catgets.c (catopen): Set errno to ENOMEM when + we run out of memory. + (catgets): Set errno to EBADF when catalog handle is invalid. + Set errno to ENOMSG when translation is not available. + (catclose): Set errno to EBADF when catalog handle is invalid. + + * ctype/ctype.h: Declare isascii and toascii when __USE_XOPEN. + Likewise for _toupper and _tolower. + + * manual/arith.texi: Document strtoq, strtoll, strtouq, strtoull, + strtof, and strtold. + * manual/math.texi: Document HUGE_VALf and HUGE_VALl. + * manual/stdio.h: Document ' flag for numeric formats of scanf. + * manual/users.texi: Document that cuserid shouldn't be used. + + * misc/Makefile (routines): Add dirname. + (headers): Add libgen.h. + (tests): Add tst-dirname. + * misc/dirname.c: New file. + * misc/libgen.h: New file. + * misc/tst-dirname.c: New file. + + * misc/search.h: Parameter of hcreate must be of type size_t. + * misc/hsearch.c: Likewise. + * misc/hsearch_r.c: Likewise for hcreate_r. + * misc/search.h: Parameters of insque and remque must be `void *'. + * misc/insremque.c: Likewise. + + * posix/unistd.h: Move declarations of mktemp and mkstemp to... + * stdlib/stdlib.h: ...here. + * posix/unistd.h [__USE_XOPEN]: Add prototypes for crypt, setkey, + encrypt, and swab. + + * stdio-common/printf-parse.h (struct printf_spec): Add pa_wchar + and pa_wstring. + (parse_one_spec): Remove Linux compatibility code. + Recognize %C and %S formats. + * stdio-common/printf.h: Add PA_WCHAR and PA_WSTRING. + * stdio-common/vfprintf.c: Add implementation of %C and %S format. + * stdio-common/vfscanf.c: Likewise for scanf. + + * stdlib/l64a.c: Return value for 0 must be the empty string. + * stdlib/stdlib.h: Declare reentrant function from rand48 family + only if __USE_REENTRANT. + Declare rand48 functions also if __USE_XOPEN. + + * stdlib/strtol.c: Return 0 and set errno to EINVAL when BASE is + not a legal value. + Return 0 and set errno to EINVAL when strou* sees negativ number. + * stdlib/tst-strtol.c: De-ANSI-fy. + Change expected results for test of unsigned function and negative + input. + + * string/stratcliff.c: Prevent warnings. + * string.h: Move declaration of swab to . + * string/swab.c: De-ANSI-fy. + + * sysdeps/posix/cuserid.c: Implement using getpwuid_r. + * sysdeps/posix/mkstemp.c: Include for prototype. + * sysdeps/posix/mktemp.c: Likewise. + * sysdeps/stub/mkstemp.c: Likewise. + * sysdeps/stub/mktemp.c: Likewise. + + * sysvipc/sys/ipc.h: Prototypes of ftok have to be of types `const + char *' and `int'. + * sysvipc/ftok.c: Likewise. Make sure only lower 8 bits of + PROJ_ID are used. + +Sun Nov 3 03:21:28 1996 Heiko Schroeder + + * locale/programs/ld-numeric.c (numeric_output): Compute idx[0] + correctly. + +Sat Nov 2 17:44:32 1996 Ulrich Drepper + + * sysdeps/posix/cuserid.c: Use reentrant functions. + * manual/users.texi: Tell that cuserid is marked to be withdrawn in + XPG4.2. + +Sat Nov 2 14:26:37 1996 Ulrich Drepper + + Linus said he will make sure no system call will return a value + in -1 ... -4095 as a valid result. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Correct test for error. + * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise. + +Sat Nov 2 16:54:49 1996 NIIBE Yutaka + + * sysdeps/stub/lockfile.c [!USE_IN_LIBIO]: Define weak alias for + __funlockfile, not a circular alias. + Define __IO_ftrylockfile if USE_IN_LIBIO and __ftrylockfile if not, + not vice versa. + + * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location): Make + it a weak symbol. + * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location): Likewise. + +Tue Nov 5 00:04:48 1996 Thomas Bushnell, n/BSG + + * stdio-common/vfprintf.c: Include . + +Mon Nov 4 16:57:42 1996 Thomas Bushnell, n/BSG + + * sysdeps/mach/hurd/ttyname_r.c (ttyname_r): Change prototype to + match POSIX.1c. + + * sysdeps/stub/lockfile.c [! USE_IN_LIBIO]: Second definition of + __internal_funlockfile (in terms of itself) should actually be a + definition of __funlockfile. + + * pwd/pwd.h: Get `size_t' from . + * grp/grp.h: Likewise. + * shadow/shadow.h: Likewise. + + * stdlib/atexit.c (__new_exitfn): Add missing semicolons after + calls to __libc_lock_lock and __libc_lock_unlock. + * stdlib/random.c (__srandom, __initstate, __setstate, __random): + Likewise. + + * hurd/hurdsig.c (write_corefile): Fix typo. + + * sysdeps/mach/hurd/sigwait.c: New file. + +Sat Nov 2 01:48:47 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/errnos.h: Move declaration of errno + and __errno_location to correct position. + +Thu Oct 31 22:51:25 1996 Ulrich Drepper + + * Makefile (distribute): Add rellns-sh. + * rellns-sh: New file. + * Makerules (make-link): Use rellns-sh. + * time/Makefile ($(installed-localtime-file)): Likewise. + +Thu Oct 31 11:33:01 1996 Ulrich Drepper + + * elf/Makefile ($objpfx)ldd) Substitute $(version) for @VERSION@. + (distribute): Add ldd.bash.in. + * elf/ldd.sh.in: Process --help and --version parameter. + Correct comments. + * elf/ldd.bash.in: New file. + + * stdlib/stdlib.h: Add prototype for clearenv. + * sysdeps/generic/setenv.c: Add implementation of clearenv. + (setenv): Handle __environ == NULL correctly. + * sysdeps/stub/setenv.c: Add stub definition for unsetenv and + clearenv. + + * sysdeps/generic/putenv.c: Correct layout to fit in libit. + * sysdeps/generic/setenv.c: Likewise. + * stdlib/strtol.h: Likewise. + + * time/sys/time.h: Define __need_timeval and include . + Remove definition of struct timeval. + * sysdeps/stub/timebits.h [__need_timeval]: Define struct timeval + using `time_t' for members. + * sysdeps/unix/sysv/linux/timebits.h [__need_timeval]: Likewise. + * sysdeps/unix/sysv/linux/alpha/timebits.h: New file. Same + as old Linux specific version. + +Thu Oct 31 00:01:39 1996 Ulrich Drepper + + * signal/Makefile (routines): Add sigwait. + * signal/signal.h: Add prototype for sigwait. + * sysdeps/posix/sigwait.c: New file. Implementation of sigwait + function from POSIX.1c. + * sysdeps/stub/sigwait.c: New file. Stub version of sigwait. + +Wed Oct 30 02:01:17 1996 Richard Henderson + + * sunrpc/xdr_float.c (xdr_float): Handle sizeof(float)!=sizeof(long), + but don't bother going farther than sizeof(float)==sizeof(int). + (xdr_double): Handle little-endian machines! Handle sizeof(double) + != 2*sizeof(long), though again don't bother with more than int. + +Thu Oct 29 16:09:42 1996 Craig Metz + + * sysdeps/posix/getaddrinfo.c: Use buffer limits for inet_ntop + function. + +Tue Oct 29 12:37:22 1996 Ulrich Drepper + + * Makerules: Create symbolic links for linking in $(libdir). + (make-link): Use absolute path for destination if this is not in + the same directory. + + * elf/rtld.c (dl_main): When verifying don't check the name of + the dynamic linker. + + * shlib-versions: Change entries for Hurd specific libs from + *-*-gnu* to *-*-gnu?* so that i586-pc-linux-gnu does not match + these entries. + + * assert/assert.h: Reformat copyright. + Change reference to ANSI into reference to ISO C. + * ctype/ctype.h: Likewise. + * errno.h: Likewise. + * limits.h: Likewise. + * math/math.h: Likewise. + * setjmp/setjmp.h: Likewise. + * stdio/stdio.h: Likewise. + * libio/stdio.h: Likewise. + * stdlib/stdlib.h: Likewise. + * string/string.h: Likewise. + * time/time.h: Likewise. + + * string/argz.h: Use __const in definitions. + + * elf/dlfcn.h: Use __const and __P. Reformat copyright. + * misc/err.h: Likewise. + + * wctype/wctype.h (wctrans_t): Use __const instead of const. + + * Makeconfig ($(common-objpfx)soversions.mk): Generate list of + sonames for versioned libraries. + * Makefile: Remove code to generate libc-version.h. + Generate gnu/lib-names.h with info from soversions.mk. + * features.h: Define __GLIBC__ and __GLIBC_MINOR__. + + * dirent/tst-seekdir.c: Initialize save3. + * grp/testgrp.c: Initialize my_group. + + * grp/fgetgrent_r.c: Change interface to follow POSIX.1c. + * grp/grp.h: Likewise. + * nss/getXXbyYY.c: Likewise. + * nss/getXXbyYY_r.c: Likewise. + * nss/getXXent.c: Likewise. + * nss/getXXent_r.c: Likewise. + * pwd/fgetpwent_r.c: Likewise. + * pwd/pwd.h: Likewise. + * shadow/fgetspent_r.c: Likewise. + * shadow/sgetspent.c: Likewise. + * shadow/sgetspent_r.c: Likewise. + * grp/fgetgrent.c: Adapt for change in interface of fgetgrent_r. + * pwd/fgetpwent.c: Likewise, for fgetpwent_r.c. + * shadow/fgetspent.c: Likewise, for fgetpwent_r.c. + * resolv/netdb.h: Adapt prototypes for reentrant functions to + follow POSIX.1c. + * sunrpc/rpc/netdb.h: Likewise, + * shadow/shadow.h: Likewise. + + * inet/getnetgrent_r.c: Follow change in pwd/grp function interface. + + * sysdeps/unix/getlogin_r.c: Return ERANGE when buffer is too small. + + * inet/herrno.c: Don't define __h_errno, only h_errno otherwise the + ELF aliasing creates strange situations. + * sysdeps/unix/sysv/linux/errnos.H: Define __set_errno as inline + function. + * sysdeps/unix/sysv/linux/i386/sysdep.S: Don't define __errno. + * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. + + * libio/libio.h: Don't declare _IO_flockfile and _IO_funlockfile + weak. + + * locale/programs/charmap.c: Add casts to prevent warnings. + * locale/programs/linereader.h: Likewise. + * locale/programs/ld-collate.c: Likewise. + * locale/programs/stringtrans.c: Likewise. + Change types for various variables to prevent warnings. + * locale/programs/ld-ctype.c: Likewise. + * locale/programs/linereader.h (lr_ungetc): Likewise. + * locale/programs/charset.h (struct charset): Use `unsigned int' + as type for width_default. + * posix/regex.c: Change type of `this_reg' variables. + * stdio-common/Makefile: Use -Wno-format for tstdiomisc.c. + * stdio-common/bug5.c: De-ANSI-fy. Use correct types for + variables. + * stdio-common/printf_fp.c: Initialize to_shift. + * stdio-common/test_rdwr.c: Add cast. + * stdio-common/vfprintf.c: Add casts and use correct types to + prevent warnings. + * stdio-common/vfscanf.c: Initialize str and strptr. + * sysdeps/libm-ieee754/e_jnf.c: Use correct types to prevent warnings. + * sysdeps/libm-ieee754/e_pow.c: Likewise. + * sysdeps/libm-ieee754/e_powf.c: Likewise. + * sysdeps/libm-ieee754/e_rem_pio2f.c: Likewise. + * time/test-tz.c: Likewise. + + * manual/creature.texi: Document _REENTRANT and _THREAD_SAFE. + * manual/libc.texinfo: Prevent makeinfo failure by avoiding + libc.cp index. This must be fixed. + * manual/nss.texi: Adapt for correct POSIX.1c interface of + reentrant functions. + * manual/users.texi: Document netgroup functions. + + * po/es.po: Updated. + * po/fr.po: Updated. + + * posix/fnmatch.c: Change to match libit version. + + * posix/unistd.h: Change prototype for ttyname_r to match POSIX.1c. + * sysdep/posix/ttyname_r.c: Likewise. + + * stdlib/atexit.h (__new_exitfn): Add internal locking. + * stdlib/exit.c: De-ANSI-fy. Handle new ef_us value for flavor. + * stdlib/exit.h: De-ANSI-fy. Define new ef_us value for flavor. + * stdlib/random.c (__srandom): Add internal locking. + (__initstate): Likewise. + (__setstate): Likewise. + (__random): Likewise. + +Mon Oct 28 22:28:37 1996 NIIBE Yutaka + + * sysdeps/generic/crypt-entry.c (crypt_r): Use __set_errno. + (crypt): Likewise. + * resolv/gethnamaddr.c (gethostbyname2): Likewise. + * sysdeps/generic/uname.c: Likewise. + * sysdeps/posix/rename.c: Likewise. + * sysdeps/stub/setrlimit.c: Likewise. + + * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Fix typo. + +Sun Oct 27 11:12:50 1996 Andreas Schwab + + * locale/programs/ld-collate.c (collate_order_elem): Fix format + string. + (collate_element_to): Cast field width argument to `int' for + format string. + (collate_symbol): Likewise. + (collate_order_elem): Likewise. + (collate_weight_bsymbol): Likewise. + (collate_simple_weight): Likewise. + + * locale/programs/ld-time.c (STRARR_ELEM): Fix format string. + + * locale/programs/ld-ctype.c (ctype_class_newP): Add missing + argument for format string. + (ctype_map_newP): Likewise. + (set_class_defaults): Fix format string. + + * locale/programs/localedef.c (construct_output_path): Putting an + explicit \0 into the format string does not work, use %c. + +Sat Oct 26 20:38:36 1996 Richard Henderson + + * Makerules: Install all shared libraries in $(slibdir). + + * login/Makefile: Build libutil.so in others pass after + libc.so is created. + + * misc/mntent.h: Include for _PATH_MNTTAB & _PATH_MOUNTED. + + * string/stratcliff.c: Allocate 3 pages instead of one, then use + mprotect so that we know that the adjacent pages are inaccessible. + + * resource/sys/resource.h: Move all structures and enums to ... + * sysdeps/generic/resourcebits.h: ... here ... + * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: ... and here. + * sysdeps/unix/sysv/linux/alpha/resourcebits.h: Remove. + * sysdeps/unix/sysv/linux/i386/resourcebits.h: Remove. + * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Remove. + * sysdeps/unix/sysv/linux/mips/resourcebits.h: Remove. + * sysdeps/unix/sysv/linux/resourcebits.h: New file. Use kernel + header for RLIMIT_* definitions. The members of struct rlimit + are longs. + + +Thu Oct 24 17:43:34 1996 Andreas Schwab + + * MakeTAGS (sysdep-dirs): Fix typo. + +Thu Oct 24 17:32:57 1996 Thomas Bushnell, n/BSG + + * hurd/hurdsig.c (write_corefile): If we can't create the core + file, still call crash_dump_task with a null FILE arg. Maybe it + won't actually need the file. + +Wed Oct 23 03:45:22 1996 Ulrich Drepper + + * Makefile (headers): Don't mention libc-version.h. + (install-others): ...but here. + +Tue Oct 22 21:38:21 1996 Ulrich Drepper + + * version.h: Bump version number to 1.97. + + * features.h: Undo change of Sun Oct 20 22:19:58 1996. + Include libc-version.h. + * features.h.in: Removed. + * Makefile: Change rules to generate libc-version.h instead of + features.h. + + * malloc/free.c: Add cast to prevent warning. + * malloc/malloc-walk.c: Likewise. + * malloc/ralloc.c: Likewise. + * malloc/realloc.c: Likewise. + + * grp/fgetgrent_r.c: Accept empty numeric field if name start with + + or -. + * pwd/fgetpwent_r.c: Likewise. + * nss/nss_files/files-grp.c: Don't accept entries with names starting + with + or - in lookup functions. + * nss/nss_files/files-pwd.c: Likewise. + + * Makerules: Call autolock.sh using $(SHELL). + +Mon Oct 21 22:52:16 1996 NIIBE Yutaka + + * elf/dl-minimal.c: Don't define `dgettext' replacement but + `dcgettext'. When optimizing the macros in define + `dgettext' as a macro and so this function will never be called. + +Mon Oct 21 15:41:59 1996 Ulrich Drepper + + * sysdeps/i386/sysdep.h: Define END to use .size when available. + (PSEUDO_END): Use END. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PSEUDO_END to + define SYSCALL_ERROR_HANDLER before using END. + (SYSCALL_ERROR_HANDLER): Don't use .size directive. + * sysdeps/unix/sysv/linux/clone.S: Don't use SYSCALL_ERROR_HANDLER + and .size directive but PSEUDO_END. + * sysdeps/unix/sysv/linux/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/socket.S: Likewise. + * sysdeps/unix/sysv/linux/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/sysdep.S (__errno_location): Use END. + * sysdeps/unix/i386/sysdep.S (__syscall_error): Likewise. + * sysdeps/i386/__longjmp.S: Use END instead of PSEUDO_END. + * sysdeps/i386/bsd-_setjmp.S: Likewise. + * sysdeps/i386/bsd-setjmp.S: Likewise. + * sysdeps/i386/memchr.S: Likewise. + * sysdeps/i386/memcmp.S: Likewise. + * sysdeps/i386/setjmp.S: Likewise. + * sysdeps/i386/stpcpy.S: Likewise. + * sysdeps/i386/stpncpy.S: Likewise. + * sysdeps/i386/strchr.S: Likewise. + * sysdeps/i386/strcspn.S: Likewise. + * sysdeps/i386/strpbrk.S: Likewise. + * sysdeps/i386/strrchr.S: Likewise. + * sysdeps/i386/strspn.S: Likewise. + * sysdeps/i386/strtok.S: Likewise. + * sysdeps/i386/i486/strcat.S: Likewise. + * sysdeps/i386/i486/strlen.S: Likewise. + * sysdeps/i386/i586/memset.S: Likewise. + * sysdeps/i386/i586/strchr.S: Likewise. + * sysdeps/i386/i586/strlen.S: Likewise. + + * sysdeps/i386/strlen.c: De-ANSI-fy. + + * sysdeps/generic/_strerror.c: Undo change of Mon Oct 21 01:32:36 1996. + Define dgettext if not defined to use dcgettext. + * sysdeps/mach/_strerror.c: Likewise. + + * sysdeps/unix/sysv/i386/time.S: Add PSEUDO_END to get + __syscall_error defined.. + +Sat Oct 19 12:27:50 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/mmap.S: Fix braino: CALL_MCOUNT is + already included in the ENTRY macro. Remove SYSCALL_ERROR_HANDLER + now provided by PSEUDO_END. + * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. Use JUMPTARGET. + + * sysdeps/generic/sysdep.h (END): Provide default empty + definition. + * sysdeps/unix/sysv/linux/m68k/sysdep.h (END): Redefine to use + size directive. + (PSEUDO): Don't include SYSCALL_ERROR_HANDLER. + (PSEUDO_END): Include it here instead. + (SYSCALL_ERROR_HANDLER): Remove type directive. + * sysdeps/m68k/bsd-_setjmp.S: Use END, not PSEUDO_END. + * sysdeps/m68k/bsd-setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. + (__syscall_error): Can't use ENTRY macro. + +Sat Oct 19 12:13:24 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/syscalls.list (getresuid, setresuid): + Set caller to EXTRA. + +Mon Oct 21 01:32:36 1996 Ulrich Drepper + + * elf/rtld.c (dl_main): Move initialization of `_dl_starting_up' + to beginning of function. So libc functions can use this flag. + * sysdeps/generic/_strerror.c: Don't use dgettext for message + translation while `_dl_starting_up' is nonzero. + + * elf/dl-deps.c (_dl_map_object_deps): Add new parameter + TRACE_MODE. + Pass parameter value to _dl_map_object. + * elf/dl-load (_dl_map_object): Add new parameter TRACE_MODE. + If TRACE_MODE is nonzero don#t signal error when shared lib + is not found. Instead create fake entry for link map. + * dl-open.c (dl-open): Pass 0 for new argument to _dl_map_object. + * dl-runtime.c (_dl_object_relocation_scope): Pass 0 for new + argument to _dl_map_object_deps. + * elf/link.h: Add new parameter TRACE_MODE for prototypes of + _dl_map_object and _dl_map_object_deps. + * elf/rtld.c (dl_main): Pass 0 for new argument to _dl_map_object + and _dl_map_object_deps. + When mode == trace test for l_opencount == 0 before printing + link information since this means the lib is not found. + +Sun Oct 20 22:19:58 1996 Ulrich Drepper + + * rpm/template: Add INSTALL to %doc line to follow copyright + restrictions which demand the distribution of the copyright + messages in INSTALL even for binary distributions. + + * features.h: Rename to... + * features.h.in: ...this. Change value of __GNU_LIBRARY__ to 2 + (for major version numberof package) and add __GNU_LIBRARY_MINOR__ + and __GNU_LIBRARY_INTERFACE__. + * Makefile ($(objpfx)features.h): New rule to generate features.h + from template features.h.in. + + * sysdeps/unix/sysv/linux/getsysstats.c: Include . + +Sun Oct 20 00:00:13 1996 Richard Henderson + + * locale/programs/linereader.c (lr_open): Cast away const before free. + (lr_close): Likewise. + + * misc/mntent.h: Move _PATH_MNTTAB & _PATH_MOUNTED to paths.h. + * misc/paths.h: Move to ... + * sysdeps/generic/paths.h: ... here. + * paths.h: Remove. + * sysdeps/unix/sysv/linux/paths.h: New file. Correct _PATH_STDPATH, + _PATH_MAILDIR, _PATH_MOUNTED, _PATH_UNIX to comply with the fsstd. + + * nss/nss_db/db-netgrp.h: Include . + + * stdio-common/psignal.c: De-ansidecl-ify. Allow NULL entries in + _sys_siglist, which result in the "Unknown signal" message. + * string/strsignal.c: Likewise. + * sysdeps/generic/Makefile [stdio-common]: If $(inhibit-siglist), + don't auto-generate siglist.c. + * sysdeps/unix/sysv/linux/Makefile [stdio-common]: Set inhibit-siglist. + * sysdeps/unix/sysv/linux/siglist.c: New file. Not needing to + autogenerate makes bootstrapping and cross-compiling much easier. + * sysdeps/unix/sysv/linux/siglist.h: New file. + + * stdlib/longlong.h: Prototype __udiv_qrnnd. + + * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_headers): Remove + sys/io.h. It is already added in .../linux/Makefile. + + * sysdeps/unix/sysv/linux/alpha/sigaction.h: New file. + * sysdeps/unix/sysv/linux/alpha/signum.h: New file. + * sysdeps/unix/sysv/linux/alpha/statbuf.h: New file. + +Sun Oct 20 17:17:12 1996 Ulrich Drepper + + Add implementation of POSIX.1g function getaddrinfo. + * posix/Makefile (routines): Add getaddrinfo. + * sysdeps/posix/getaddrinfo.c.: New file. Add implementation by + Craig Metz. + * sysdeps/stub/getaddrinfo.c: New file. Stub implementation. + * resolv/netdb.h [__USE_POSIX]: Add getaddrinfo prototypes and + related constants and structures. + +Sun Oct 20 13:02:34 1996 Ulrich Drepper + + * sysdeps/stub/lockfile.c: Rename functions to __internal_*. + Make all old names weak alises so that they can be replaced + by libpthread. + + * stdio-common/vfprintf.c: Only declare __flockfile and __funlockfile + for !USE_IN_LIBIO. + [USE_IN_LIBIO]: Call _IO_flockfile and _IO_funlockfile instead of + __flockfile and __funlockfile. + Reported by NIIBE Yutaka. + + * crypt/md5.c: Change form of copyright message according to GNITS + rules. + Add warning for requirement on RESBUF parameter for `md5_finish_ctx' + and `md5_read_ctx' function. + * crypt/md5.h: Likewise. + + * grp/testgrp.c: Don't use perror for error cases since getgr* and + getpw* functions do not return usable error codes. + +Sun Oct 19 23:05:32 1996 Jim Meyering + + * crypt/md5.c (md5_process_bytes): Used casting for pointer + arithmetic. + +Sun Oct 20 03:53:23 1996 Ulrich Drepper + + * sunrpc/Makefile (others): Remove portmap here, too. + +Sat Oct 19 17:42:24 1996 Ulrich Drepper + + * intl/locale.alias: Language for entry `czech' is `cs'. + +Fri Oct 17 13:20:35 1996 Thorsten Kukuk + + * sunrpc/etc.rpc: Update from ti-rpcsvc 2.3. + +Fri Oct 18 22:56:45 1996 Ulrich Drepper + + * sunrpc/Makefile (install-sbin): Remove portmap. This version is + buggy and more competent people work on a usable version which is + distributed separately. + * sunrpc/portmap.c: Removed. + Suggested by Thorsten Kukuk. + +Fri Oct 18 12:17:09 1996 Enrique Melero + + * sysdeps/libm-ieee754/s_finitel.c: Change function name to + `finitel'. + +Fri Oct 18 00:01:10 1996 Ulrich Drepper + + * string/Makefile (tests): Add stratcliff. + * string/stratcliff.c: New file. Test for string function at + the edge of the usable memory. + +Thu Oct 17 22:10:19 1996 Ulrich Drepper + + * Makerules ($(libdir)/libc.so): Fix typo. + + * elf/ldd.sh.in: Test whether given file really exist and give + better message if it is not available. + +Thu Oct 17 04:25:38 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sys/shm_buf.h: Add definition for + SHM_R and SHM_W. + +Thu Oct 17 01:55:34 1996 Ulrich Drepper + + * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Write + output to $@T and move to $@ later since the new rpcgen will not + overwrite existing files. + + * po/Makefile (libc.pot): Fix typo. + +Sun Oct 13 20:52:07 1996 Thorsten Kukuk + + Update rpcgen program to TI-rpc code. + * sunrpc/Makefile (rpcgen-objs): Add rpc_tblout.o and rpc_sample.o. + (distribute): Add proto.h. + * sunrpc/proto.h: New file. Prototypes for all the RPC functions. + * sunrpc/rpc_clntout.c: Change to allow generation of ISO C code. + * sunrpc/rpc_cout.c: Likewise. + * sunrpc/rpc_hout.c: Likewise. + * sunrpc/rpc_main.c: Likewise. + * sunrpc/rpc_parse.c: Likewise. + * sunrpc/rpc_parse.h: Likewise. + * sunrpc/rpc_scan.c: Likewise. + * sunrpc/rpc_scan.h: Likewise. + * sunrpc/rpc_svcout.c: Likewise. + * sunrpc/rpc_util.c: Likewise. + * sunrpc/rpc_util.h: Likewise. + + * sunrpc/rpc_tblout.c: New file. + * sunrpc/rpc_sample.c: Likewise. + +Thu Oct 17 00:26:20 1996 NIIBE Yutaka + + * sysdeps/unix/opendir.c: Add semicolon for consistency. + +Wed Oct 16 12:26:53 1996 Sven Verdoolaege + + * locale/programs/localedef.c (main): Test with -1 to find out + whether read failed. + +Wed Oct 16 14:54:59 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/clone.S: Use JUMPTARGET and + PSEUDO_END macro. + +Tue Oct 15 21:27:42 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/sigcontext.h: Removed. + +Tue Oct 15 15:52:29 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/clone.S: Add CALL_MCOUNT. + * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location): + Likewise. + * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise. + Correct generation of system call. + +Tue Oct 15 15:13:16 1996 Andreas Schwab + + * Makerules (sysd-Makefile): Fix command so that it works in the + subdirectories. + (BUILD_CFLAGS): Change back using $(..) instead of + $(common-objpfx), the latter fails in the toplevel directory when + $(objdir) is relative. + (common-objdir-compile): Run compiler in $(objdir). + * sysdeps/posix/Makefile (mk-stdiolim): Likewise. + +Tue Oct 15 23:39:48 1996 Ulrich Drepper + + * string/string.h [__USE_SVID]: Add prototype for swab. + * time/sys/time.h [__USE_BSD]: Add prototype for ualarm. + Reported by Andreas Jaeger. + + The available nlist implementation is not generally usable. + Especially on the currently supported ELF systems the nlist + function comes with the libelf. + * misc/Makefile (headers): Remove nlist.h. + (routines): Remove nlist. + + * Makefile ($(objpfx)version-info.h): Include information about + system the libc is built on in version-info.h file. + + * po/Makefile (distribute): Add header.pot. + +Tue Oct 15 16:34:15 1996 Andreas Jaeger + + * sysdeps/unix/sysv/linux/sleep.c: Include file with prototype. + * sysdeps/unix/sysv/linux/reboot.c: Likewise. + * misc/error.c: Likewise. + +Tue Oct 15 22:41:27 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/syscalls.list: Add {get,set}resuid. + +Tue Oct 15 08:06:02 1996 Andreas Jaeger + + * crypt/Makefile (rpath-link): Extend search path to current directory. + +Fri Oct 11 09:18:06 1996 Sven Verdoolaege + + * sysdeps/i386/i586/strlen.S: Correct handling of prolog for + aligning pointer. + +Tue Oct 15 02:13:21 1996 Ulrich Drepper + + * stdio-common/vfprintf.c: Don't declare __flockfile as weak. + + * crypt/md5-crypt.c (md5_crypt_r): Add cast to prevent warning. + +Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG + + * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and + O_SHLOCK. + +Sun Oct 13 19:16:10 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/sysdep.h (POUND): Macro removed, + replaced by `&'. + (PSEUDO_END): Provide definition to use .size directive. + (PSEUDO): Don't interpret negative return values less than -128 as + syscall error. + * sysdeps/unix/sysv/linux/m68k/syscall.S (syscall): Likewise. + + * sysdeps/m68k/bsd-_setjmp.S: Use PSEUDO_END macro to provide + .size directive. + * sysdeps/m68k/bsd-setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use PSEUDO_END instead of + explicit .size directive. + +Sun Oct 13 22:52:56 1996 Ulrich Drepper + + * shlib-versions: Add version number/name for ld.so. + * Makeconfig: Move definition of rtld-installed-name after + inclusion of soversions.mk. + Don't add . before version number from shlib-versions file when + when name does not start with digit. This is needed for ld.so. + +Sat Oct 12 20:31:58 1996 Richard Henderson + + * libio/iogets.c: Warn when gets is used. + * stdio/gets.c: Strengthen the warning. + +Sat Oct 12 23:10:43 1996 Ulrich Drepper + + * libio/Makefile [_LIBC_REENTRANT] (routines): Add peekc. + * libio/libio.h: Add prototypes for _IO_getc, _IO_putc, _IO_feof, + _IO_ferror, _IO_peekc_locked, and _IO_ftrylockfile. + Remove prototypes for _IO_getc_locked and _IO_putc_locked. + [_IO_MTSAFE_IO]: Add weak aliases for _IO_flockfile and + _IO_funlockfile. + [! _IO_MTSAFE_IO]: Define _IO_ftrylockfile as empty. + Define _IO_getc, _IO_peekc, _IO_putc, _IO_feof, _IO_ferror to + appropriate values according to __USE_REENTRANT. + * libio/stdio.h: Add prototype for ftrylockfile. + [!_LIBC]: Define getc_locked, getchar_locked, putchar_locked, + getc, getchar, putc, and putchar using _IO_* names. + * libio/feof.c: Rename to _IO_feof and make feof weak alias. + * libio/ferror.c: Rename to _IO_ferror and make ferror weak alias. + * libio/getc.c: Rename to _IO_getc and make getc weak alias. + * libio/putc.c: Rename to _IO_putc and make putc weak alias. + * libio/putc_u.c: Don't define alias _IO_putc_unlocked. + * libio/peekc.c: New file. + + * stdio-common/vfprintf.c (vfprintf): Unconditionally call + __flockfile. + + * sysdeps/stub/locfile.c [USE_IN_LIBIO]: Also define _IO_* names. + + * crypt/Makefile (tests): Add md5test and md5c-test. + * crypt/md5-crypt.c: Correct various error. Now md5_process_bytes + is called, the buffer limit is honoured and a loop in a inner + loop is corrected. + * crypt/md5.h (struct md5_ctx): Add new fields. + Add prototypes for new functions. + * crypt/md5.c (md5_init_ctx): Initialize new fields. + (md5_finish_ctx): New function. Like md5_read_ctx but before + perform correct finalization. + (md5_process_bytes): New function. Similar to md5_proces_block, + but does not require input size to be multiple of 64. + (md5_stream): Rewrite using md5_process_bytes and md5_finish_ctx. + (md5_buffer): Likewise. + (md5_process_block): Count number of bytes. + * crypt/md5test.c: New file. Test program for MD5 functions. + * crypt/md5c-test.c: New file: Test program for MD5 crypt + function. + + * po/fr.po: Update. + + * time/strptime.c: Recognize %s, %u, %g, and %G format. + + * posix/getopt.c: Add some more casts and initializations to + prevent warnings. + +Sat Oct 12 16:15:29 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/speed.c (speeds): Removed. We provide + an extra function to provide this functionality. + (cfgetospeed): Simply return masked value. + (cfsetospeed): Don't use speeds array and so we can simply test + the value of SPEED for illegal values. + * termios/cfsetspeed.c: Rewrite. We convert here between the + real values and the B* constants. + Changes suggested by Uwe Ohse . + +Fri Oct 11 21:45:34 1996 Andreas Jaeger + + * locale/programs/xstrdup.c: Define prototypes. + * locale/programs/xmalloc.c: Likewise. + + * stdio-common/xbug.c (main): Change definition to avoid warning. + +Fri Oct 11 23:36:31 1996 Miles Bader + + * db/hash/hash.c (__hash_open): Correctly test for a read-write db. + +Fri Oct 11 19:13:34 1996 Ulrich Drepper + + * locale/Makefile (CPPFLAGS): Set CHARMAP_PATH to + "$(i18ndir)/charmaps". + +Fri Oct 11 22:12:41 1996 NIIBE Yutaka + + * sysdeps/unix/sysv/linux/sys/procfs.h: Include + to get definition of FPU description struct. + + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (subdir_headers): + Add net/if.h, net/if_ppp.h, net/ppp-comp.h, net/ppp_defs.h, + net/if_arp.h, and net/route.h. + * sysdeps/unix/sysv/linux/net/if_arp.h: New file. + * sysdeps/unix/sysv/linux/net/route.h: New file. + +Fri Oct 11 14:49:13 1996 Ulrich Drepper + + * sysdeps/stub/readdir_r.c: New file. We need a stub version. + * sysdeps/stub/e_acosl.c: Likewise. + * sysdeps/stub/e_asinl.c: Likewise. + * sysdeps/stub/e_atan2l.c: Likewise. + * sysdeps/stub/e_expl.c: Likewise. + * sysdeps/stub/e_fmodl.c: Likewise. + * sysdeps/stub/e_log10l.c: Likewise. + * sysdeps/stub/e_logl.c: Likewise. + * sysdeps/stub/e_sqrtl.c: Likewise. + * sysdeps/stub/s_atanl.c: Likewise. + * sysdeps/stub/s_log1pl.c: Likewise. + + * Makefile (distribute): Add nsswitch.h and netgroup.h. + + * nss/Makefile (generated): db-netgrp.c is not generated. + + * sysdeps/alpha/Dist: Add stxcpy.S and stxncpy.S. + + * Make-dist (+out): Add $(dont_distribute). + +Fri Oct 11 00:27:18 1996 Andreas Schwab + + * stdio-common/Makefile (routines): Add tmpnam_r. + +Fri Oct 11 05:32:51 1996 Ulrich Drepper + + * version.h: Bump version to 1.96. + +Fri Oct 11 18:13:47 1996 Andreas Jaeger + + * stdio-common/tst-printf.c: Some more cleanups. + +Fri Oct 11 02:48:02 1996 Ulrich Drepper + + * resolv/arpa/nameser.h: Update from bind-4.9.5-T6B. + * resolv/resolv.h: Likewise. + * resolv/gethnamaddr.c: Likewise. + * resolv/res_comp.c: Likewise. + * resolv/res_debug.c: Likewise. + * resolv/res_init.c: Likewise. + * resolv/res_send.c: Likewise. + * resolv/Banner: Update version number. + + * nss/nss_dns/dns-host.c: Update according to change in + resolv/gethnamaddr.c. + +Fri Oct 10 20:52:28 1996 Ralph Loader + + * crypt/md5.c (md5_stream): When reading the block in several + pieces append to instead of replace previously read data. + +Thu Oct 10 15:53:17 1996 Richard Henderson + + * sysdeps/alpha/stxcpy.S ($unaligned): In single word copy, correct + last-byte-written bit for source word misalignment. + * sysdeps/alpha/strchr.c: Removed. There is now an assembler + version. + +Thu Oct 10 17:17:23 1996 Ulrich Drepper + + * sunrpc/Makefile (rpcsvc): Remove yp.x. The corrected version + comes with glibc-nis. + * sunrpc/rpcsvc/yp.x: Removed. + + * nss/nss_files/files-netgr.c (_nss_netgroup_parseline): Test + for *CURSOR to be NULL and dump a core if yes. + +Thu Oct 9 20:09:53 1996 Matthew Jacob + + * sysdeps/unix/sysv/linux/alpha/brk.S: Define _ERRNO_H before + including to get error numbers. + +Thu Oct 10 14:00:01 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/sigcontext.h: Moved file... + * sysdeps/unix/sysv/linux/sigcontext.h: ...to here. So the + Alpha people find a correct file. + * sysdeps/libm-ieee754/w_cabs.c: We cannot make __cabsl simply + an alias of __cabs since the structures have different names. + * sysdeps/libm-ieee754/w_log10.c: Fix typo in weak_alias. + Reported by Matthew Jacob . + +Wed Oct 9 00:24:52 1996 Jim Meyering + + * time/strftime.c: Allow old K&R compilers compile this file. + +Wed Oct 9 12:03:56 1996 Ulrich Drepper + + * posix/execlp.c: Add first argument parameter to be compliant + with POSIX. Rearrange body to start vararg counter after + this new argument. + +Wed Oct 9 04:34:50 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sys/procfs.h: Rewrite. We cannot use + simply a wrapper around the file since the + kernel header is not clean enough. We provide the definitions + in this file instead. + +Wed Oct 9 01:43:18 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Avoid + get?id calls by using __libc_enable_secure. + +Wed Oct 9 00:30:33 1996 Ulrich Drepper + + * inet/getnetgrent_r.c: Correct netgroup implementation. A + specification of a netgroup can also name another netgroup. + * nss/nss_files/files-netgrp.c: Likewise. + * inet/netgroup.h: Add fields to hold additional information. + +Tue Oct 8 21:51:14 1996 Arnold D. Robbins + + * posix/getopt.c: Implement POSIX -W option handling. When the + option string contains "W;" -W foo is handled like --foo. + +Tue Oct 8 12:27:26 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/clone.S: Define _ERRNO_H before + inclusing so we really get error symbols defined. + * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. + + * sunrpc/auth_unix.c (authunix_create_default): Don't use fixed + size array for getgroups call. Instead get maximal number via + sysconf. But discard list to NGRPS elements before calling XDR + function since Sun's code cannot handle longer lists. + Based on a patch by Thorsten Kukuk . + + * sysdeps/stub/e_j0l.c: Define y0l as well. + * sysdeps/stub/e_j1l.c: Define y1l as well. + * sysdeps/stub/e_jnl.c: Define ynl as well. + + * posix/unistd.h: Correct prototype for execlp. + + * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_NO_TRUNC. + +Mon Oct 7 22:18:03 1996 Andreas Schwab + + * Makeconfig (sysdep-library-path): New variable. + (built-program-cmd): Use it here to properly build a colon + separated library path. + +Mon Oct 7 22:11:55 1996 Andreas Schwab + + * crypt/md5-crypt.c (md5_crypt_r): Add missing parens around & + within comparison. Fix comments. + (md5_crypt): Fix comment. + +Tue Oct 8 05:10:49 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/errnos.h: Only include + when _ERRNO_H is defined. + [!_ERRNO_H && __need_Emath]: Define value for EDOM and ERANGE. + Should there ever be a Linux port where the numeric values are + not 33 and 34 this file must change. + +Mon Oct 7 13:54:04 1996 Ulrich Drepper + + * libio/iofgets.c (_IO_fgets): Use _IO_flockfile instead of + __flockfile. + +Mon Oct 7 11:01:45 1996 Andreas Jaeger + + * string/tst-strlen.c (main): Provide prototype. + * malloc/mallocbug.c: Likewise. + * io/test-utime.c: Likewise. + + * sysdeps/generic/crypt-entry.c: Correct typo. + +Mon Oct 7 13:42:20 1996 Ulrich Drepper + + * elf/dl-open.c (_dl_open): Check against _dl_sysdep_start to + test for libc.a. Checking _DYNAMIC is of no worth here. + Suggested by Andreas Schwab . + + * nss/nss_files/files-parse.c: Define LOOKUP_NAME even if + EXTERN_PARSER is defined. + +Sat Oct 5 17:05:36 1996 Andreas Jaeger + + * Rules (dep-dummy-lib): Correct prototype for __dummy__. + + * crypt/md5-crypt.c: Fix typos in comments. + + * gmon/gmon.c: Provide prototypes. + * db/makedb.c: Likewise. + * locale/programs/xmalloc.c: Likewise. + * stdio-common/bug11.c (main): Likewise. + * stdio-common/bug7.c (main): Likewise. + * stdio-common/bug8.c (main): Likewise. + * stdio-common/bug9.c (main): Likewise. + * stdio-common/scanf1.c (main): Likewise. + * stdio-common/scanf2.c (main): Likewise. + * stdio-common/scanf5.c (main): Likewise. + * stdio-common/scanf6.c (main): Likewise. + * stdio-common/scanf7.c (main): Likewise. + * stdio-common/scanf8.c (main): Likewise. + * stdio-common/temptest.c (main): Likewise. + * stdio-common/test-fwrite.c (main): Likewise. + * stdio-common/tst-printf.c: Likewise. + * stdio-common/tstdiomisc.c: Likewise. + * stdio-common/tstgetln.c (main): Likewise. + * stdlib/testmb.c (main): Likewise. + + * stdio-common/scanf4.c (main): Correct prototype, remove unused + variable n. + + * stdio-common/scanf3.c (main): Correct prototype, change + declaration of s to reduce warnings. + * stdio-common/bug10.c (main): Likewise. + + * stdio-common/tfformat.c: Provide prototype, remove unused + reference to dump_stats, add braces in sprint_doubles. + * stdio-common/tiformat.c: Likewise. + + * stdio-common/test_rdwr.c (main): Parameter `where' is long in + printf call. + +Mon Oct 7 14:04:26 1996 NIIBE Yutaka + + * sysdeps/unix/sysv/linux/sys/soundcard.h: Fix typo. + + * shadow/putspent.c: Don't write colon after flag field. + + * sysdeps/unix/sysv/linux/net/if_ppp.h: New file. Wrapper around + kernel header. + * sysdeps/unix/sysv/linux/net/ppp-comp.h: Likewise. + * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise. + * sysdeps/unix/sysv/linux/Dist: Mention new files. + +Mon Oct 7 00:58:19 1996 Ulrich Drepper + + * sysdeps/i386/i586/strchr.S: Correct handling of first bytes to + get pointer aligned. Reported by Matthias Urlichs . + + * sysdeps/posix/euidaccess.c [_LIBC]: Avoid calling get?id functions + by using __libc_enable_secure variable. + +Tue Oct 8 13:58:31 1996 Thomas Bushnell, n/BSG + + * hurd/ports-get.c (_hurd_ports_get): If the requested port is + null, don't attempt mach_port_mod_refs. + +Mon Oct 7 14:51:52 1996 Thomas Bushnell, n/BSG + + * sysdeps/mach/hurd/pipestream.c: New file to avoid use of + sysdeps/unix/pipestream.c. + + * sysdeps/mach/hurd/readdir_r.c: New file, guts copied entirely + from sysdeps/mach/hurd/readdir.c. + + * stdio/freopen.c: Complete de-ansideclification. + * stdio/fgets.c (fgets): Likewise. + * stdio/getdelim.c (__getdelim): Likewise. + * sysdeps/posix/pipestream.c (readdecl, writedecl, seekdecl, + popen): + Likewise. + * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise. + * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise. + + * sysdeps/mach/hurd/wait4.c (__wait4): Allow a null value for + STAT_LOC without error. + +Sun Oct 6 02:05:52 1996 Ulrich Drepper + + * posix/getopt.c: Add casts to prevent warnings. + * posix/regex.c: Likewise. + + * math/Makefile (long-m-routines, long-m-yes): Define to correct + values to make `long double' functions available. + (distribute): Add $(long-m-yes:=.c). + + * sysdeps/libm-i387/s_copysignl.S: Correct loading of return value. + Use long double instruction. + + * sysdeps/libm-ieee754/e_atanhl.c (huge): Correct constant. + * sysdeps/libm-ieee754/e_asinhl.c: Likewise. + * sysdeps/libm-ieee754/s_tanhl.c: Likewise. + + * sysdeps/libm-ieee754/e_coshl.c: New file. + + * sysdeps/libm-ieee754/s_asinh.c [!NO_LONG_DOUBLE]: Define names + for `long double' version as alias. + * sysdeps/libm-ieee754/s_atan.c: Likewise. + * sysdeps/libm-ieee754/s_cbrt.c: Likewise. + * sysdeps/libm-ieee754/s_ceil.c: Likewise. + * sysdeps/libm-ieee754/s_copysign.c: Likewise. + * sysdeps/libm-ieee754/s_cos.c: Likewise. + * sysdeps/libm-ieee754/s_erf.c: Likewise. + * sysdeps/libm-ieee754/s_expm1.c: Likewise. + * sysdeps/libm-ieee754/s_fabs.c: Likewise. + * sysdeps/libm-ieee754/s_finite.c: Likewise. + * sysdeps/libm-ieee754/s_floor.c: Likewise. + * sysdeps/libm-ieee754/s_frexp.c: Likewise. + * sysdeps/libm-ieee754/s_ilogb.c: Likewise. + * sysdeps/libm-ieee754/s_ldexp.c: Likewise. + * sysdeps/libm-ieee754/s_log1p.c: Likewise. + * sysdeps/libm-ieee754/s_logb.c: Likewise. + * sysdeps/libm-ieee754/s_modf.c: Likewise. + * sysdeps/libm-ieee754/s_nextafter.c: Likewise. + * sysdeps/libm-ieee754/s_rint.c: Likewise. + * sysdeps/libm-ieee754/s_scalbn.c: Likewise. + * sysdeps/libm-ieee754/s_significand.c: Likewise. + * sysdeps/libm-ieee754/s_sin.c: Likewise. + * sysdeps/libm-ieee754/s_tan.c: Likewise. + * sysdeps/libm-ieee754/s_tanh.c: Likewise. + * sysdeps/libm-ieee754/w_acos.c: Likewise. + * sysdeps/libm-ieee754/w_acosh.c: Likewise. + * sysdeps/libm-ieee754/w_sin.c: Likewise. + * sysdeps/libm-ieee754/w_atan2.c: Likewise. + * sysdeps/libm-ieee754/w_atanh.c: Likewise. + * sysdeps/libm-ieee754/w_cabs.c: Likewise. + * sysdeps/libm-ieee754/w_cosh.c: Likewise. + * sysdeps/libm-ieee754/w_drem.c: Likewise. + * sysdeps/libm-ieee754/w_exp.c: Likewise. + * sysdeps/libm-ieee754/w_fmod.c: Likewise. + * sysdeps/libm-ieee754/w_gamma.c: Likewise. + * sysdeps/libm-ieee754/w_gamma_r.c: Likewise. + * sysdeps/libm-ieee754/w_hypot.c: Likewise. + * sysdeps/libm-ieee754/w_j0.c: Likewise. + * sysdeps/libm-ieee754/w_j1.c: Likewise. + * sysdeps/libm-ieee754/w_jn.c: Likewise. + * sysdeps/libm-ieee754/w_lgamma.c: Likewise. + * sysdeps/libm-ieee754/w_lgamma_r.c: Likewise. + * sysdeps/libm-ieee754/w_log.c: Likewise. + * sysdeps/libm-ieee754/w_log10.c: Likewise. + * sysdeps/libm-ieee754/w_pow.c: Likewise. + * sysdeps/libm-ieee754/w_remainder.c: Likewise. + * sysdeps/libm-ieee754/w_scalb.c: Likewise. + * sysdeps/libm-ieee754/w_sinh.c: Likewise. + * sysdeps/libm-ieee754/w_sqrt.c: Likewise. + + Stub files for missing long double math functions. + * sysdeps/stub/e_acoshl.c: New file. + * sysdeps/stub/e_hypotl.c: New file. + * sysdeps/stub/e_j0l.c: New file. + * sysdeps/stub/e_j1l.c: New file. + * sysdeps/stub/e_jnl.c: New file. + * sysdeps/stub/e_lgammal_r.c: New file. + * sysdeps/stub/e_powl.c: New file. + * sysdeps/stub/e_rem_pio2l.c: New file. + * sysdeps/stub/e_sinhl.c: New file. + * sysdeps/stub/k_cosl.c: New file. + * sysdeps/stub/k_rem_pio2l.c: New file. + * sysdeps/stub/k_sinl.c: New file. + * sysdeps/stub/k_tanl.c: New file. + * sysdeps/stub/s_erfl.c: New file. + * sysdeps/stub/s_expm1l.c: New file. + + * sysdeps/i386/__longjmp.S: Use PSEUDO_END macro to provide + .size directive. + * sysdeps/i386/bsd-_setjmp.S: Likewise. + * sysdeps/i386/bsd-setjmp.S: Likewise. + * sysdeps/i386/memchr.S: Likewise. + * sysdeps/i386/memcmp.S: Likewise. + * sysdeps/i386/setjmp.S: Likewise. + * sysdeps/i386/stpcpy.S: Likewise. + * sysdeps/i386/stpncpy.S: Likewise. + * sysdeps/i386/strchr.S: Likewise. + * sysdeps/i386/strcspn.S: Likewise. + * sysdeps/i386/strpbrk.S: Likewise. + * sysdeps/i386/strrchr.S: Likewise. + * sysdeps/i386/strspn.S: Likewise. + * sysdeps/i386/strtok.S: Likewise. + * sysdeps/i386/i486/strcat.S: Likewise. + * sysdeps/i386/i486/strlen.S: Likewise. + * sysdeps/i386/i586/memset.S: Likewise. + * sysdeps/i386/i586/strchr.S: Likewise. + * sysdeps/i386/i586/strlen.S: Likewise. + * sysdeps/libm-i387/e_acos.S: Likewise. + * sysdeps/libm-i387/e_acosl.S: Likewise. + * sysdeps/libm-i387/e_asin.S: Likewise. + * sysdeps/libm-i387/e_asinl.S: Likewise. + * sysdeps/libm-i387/e_atan2.S: Likewise. + * sysdeps/libm-i387/e_atan2l.S: Likewise. + * sysdeps/libm-i387/e_exp.S: Likewise. + * sysdeps/libm-i387/e_expl.S: Likewise. + * sysdeps/libm-i387/e_fmod.S: Likewise. + * sysdeps/libm-i387/e_fmodl.S: Likewise. + * sysdeps/libm-i387/e_log.S: Likewise. + * sysdeps/libm-i387/e_log10.S: Likewise. + * sysdeps/libm-i387/e_log10l.S: Likewise. + * sysdeps/libm-i387/e_logl.S: Likewise. + * sysdeps/libm-i387/e_remainder.S: Likewise. + * sysdeps/libm-i387/e_remainderf.S: Likewise. + * sysdeps/libm-i387/e_remainderl.S: Likewise. + * sysdeps/libm-i387/e_scalb.S: Likewise. + * sysdeps/libm-i387/e_scalbl.S: Likewise. + * sysdeps/libm-i387/e_sqrt.S: Likewise. + * sysdeps/libm-i387/e_sqrtf.S: Likewise. + * sysdeps/libm-i387/e_sqrtl.S: Likewise. + * sysdeps/libm-i387/s_atan.S: Likewise. + * sysdeps/libm-i387/s_atanf.S: Likewise. + * sysdeps/libm-i387/s_atanl.S: Likewise. + * sysdeps/libm-i387/s_ceil.S: Likewise. + * sysdeps/libm-i387/s_ceilf.S: Likewise. + * sysdeps/libm-i387/s_ceill.S: Likewise. + * sysdeps/libm-i387/s_copysign.S: Likewise. + * sysdeps/libm-i387/s_copysignf.S: Likewise. + * sysdeps/libm-i387/s_copysignl.S: Likewise. + * sysdeps/libm-i387/s_cos.S: Likewise. + * sysdeps/libm-i387/s_cosf.S: Likewise. + * sysdeps/libm-i387/s_cosl.S: Likewise. + * sysdeps/libm-i387/s_finite.S: Likewise. + * sysdeps/libm-i387/s_finitef.S: Likewise. + * sysdeps/libm-i387/s_finitel.S: Likewise. + * sysdeps/libm-i387/s_floor.S: Likewise. + * sysdeps/libm-i387/s_floorf.S: Likewise. + * sysdeps/libm-i387/s_floorl.S: Likewise. + * sysdeps/libm-i387/s_ilogb.S: Likewise. + * sysdeps/libm-i387/s_ilogbf.S: Likewise. + * sysdeps/libm-i387/s_ilogbl.S: Likewise. + * sysdeps/libm-i387/s_log1p.S: Likewise. + * sysdeps/libm-i387/s_log1pf.S: Likewise. + * sysdeps/libm-i387/s_log1pl.S: Likewise. + * sysdeps/libm-i387/s_logb.S: Likewise. + * sysdeps/libm-i387/s_logbf.S: Likewise. + * sysdeps/libm-i387/s_logbl.S: Likewise. + * sysdeps/libm-i387/s_rint.S: Likewise. + * sysdeps/libm-i387/s_rintf.S: Likewise. + * sysdeps/libm-i387/s_rintl.S: Likewise. + * sysdeps/libm-i387/s_scalbn.S: Likewise. + * sysdeps/libm-i387/s_scalbnf.S: Likewise. + * sysdeps/libm-i387/s_scalbnl.S: Likewise. + * sysdeps/libm-i387/s_significand.S: Likewise. + * sysdeps/libm-i387/s_significandf.S: Likewise. + * sysdeps/libm-i387/s_significandl.S: Likewise. + * sysdeps/libm-i387/s_sin.S: Likewise. + * sysdeps/libm-i387/s_sinf.S: Likewise. + * sysdeps/libm-i387/s_sinl.S: Likewise. + * sysdeps/libm-i387/s_tan.S: Likewise. + * sysdeps/libm-i387/s_tanf.S: Likewise. + * sysdeps/libm-i387/s_tanl.S: Likewise. + + * sysdeps/unix/sysv/linux/i386/clone.S: Add .size directive. + * sysdeps/unix/sysv/linux/i386/mmap.S. Likewise. + * sysdeps/unix/sysv/linux/i386/socket.S. Likewise. + * sysdeps/unix/sysv/linux/i386/sysdep.S. More compact .size line. + + * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): New macro. Used + to provide .size directive on ELF systems. + + * sysdeps/unix/sysv/linux/i386/profil-counter.h: Include + and rename parameter type to sigcontext. + * sysdeps/unix/sysv/linux/i386/sigcontext.h New file. + + * sysdeps/unix/sysv/linux/i386/syscall.S: From Linux 2.1 on + negative values might occur as positive results. Test against + -125 to decide for error or not. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise for system calls. + +Thu Oct 3 21:07:58 1996 Andreas Schwab + + * elf/dl-open.c: Use _DYNAMIC instead of _dl_start to decide + whether this is a statically linked program. The latter is now + always defined. + +Fri Oct 4 17:30:22 1996 Thomas Bushnell, n/BSG + + * hurd/hurdsig.c (signal_allowed): Add SIGWINCH to the list that + controlling terminals are allowed to send. + + * hurd/alloc-fd.c (_hurd_alloc_fd): If SIZE is so big that the + table is larger than the allowable address size, then return + failure. + +Fri Oct 4 02:08:10 1996 Bang Jun-Young + + * po/ko.po: Update. + +Fri Oct 4 02:07:46 1996 Michel Robitaille + + * po/fr.po: New file. + +Fri Oct 4 05:04:52 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/sigcontext.h: New file. + + Add support for MD5 crypt replacement. + * Makefile (subdirs): Add crypt. + * shlib-versions: Add entry for libcrypt. + * crypt/md5-crypt.c: New file. + * crypt/md5.c: New file. + * crypt/md5.h: New file. + * sysdeps/generic/crypt-entry.c: New file. + * sysdeps/generic/crypt.h: New file. + +Thu Oct 3 20:53:23 1996 Andreas Jaeger + + * dirent/tst-seekdir.c: Provide correct prototypes. + * io/test-utime.c: Likewise. + * malloc/mallocbug.c: Likewise. + * posix/testfnm.c: Likewise. + * stdio-common/xbug.c: Likewise. + * sysdeps/posix/cuserid.c: Likewise. + +Wed Oct 2 13:33:48 1996 Richard Henderson + + Provide optimized string functions for Alpha processors. + * sysdeps/alpha/bzero.S: New file. + * sysdeps/alpha/memset.S: New file. + * sysdeps/alpha/stpcpy.S: New file. + * sysdeps/alpha/stpncpy.S: New file. + * sysdeps/alpha/strcat.S: New file. + * sysdeps/alpha/strchr.S: New file. + * sysdeps/alpha/strcpy.S: New file. + * sysdeps/alpha/strncat.S: New file. + * sysdeps/alpha/strncpy.S: New file. + * sysdeps/alpha/strrchr.S: New file. + * sysdeps/alpha/stxcpy.S: New file. + * sysdeps/alpha/stxncpy.S: New file. + + * sysdeps/alpha/Makefile [$(sudir)==string]: Add stxcpy and + stxncpy to sysdep_routines. + Minor correction. + +Thu Oct 3 13:33:31 1996 Thomas Bushnell, n/BSG + + * sysdeps/generic/gnu/types.h: Added __loff_t. + Don't declare key_t here. + + * hurd/alloc-fd.c (_hurd_alloc_fd): If realloc fails, bother to + set errno (to ENOMEM). + +Wed Oct 2 13:41:48 1996 Ulrich Drepper + + * sysdeps/generic/strtok.c: Don't set stored pointer to NULL when + nothing is found. This guarantees all subsequent calls behave + the same. + * sysdeps/generic/strtok_r.c: Likewise. + +Mon Sep 30 22:27:36 1996 Andreas Schwab + + * sysdeps/posix/tempname.c (__stdio_gen_tempname): Don't declare + `i' as const. + +Mon Sep 30 22:38:29 1996 Richard Henderson + + * sysdeps/generic/strtok.c: When we hit EOS, don't set olds to + NULL immediately; we're going to get called one more time. + * sysdeps/generic/strtok_r.c: Likewise. + +Tue Oct 1 09:12:21 1996 Ulrich Drepper + + * locale/programs/ld-time.c: Always write some bytes at the end of + the file even if no `era's are specified. + + * stdio-common/tmpname.c (tmpbuf): Don't define as array of + pointers. + +Tue Oct 1 01:43:11 1996 Ulrich Drepper + + * libio/iofclose.c: Move unlocking to right position. + +Mon Sep 30 03:08:34 1996 Richard Henderson + + * misc/Makefile: Kill force-wrapper. + * misc/force-wrapper.c: Delete. + + * elf/eval.c: Add . + + * gmon/sys/gmon_out.h: Nonsense like `char foo[sizeof(char*)]' + followed by `bcopy(&ptr, &foo, sizeof(foo))' helps portability + and binary compatibility not at all. Better to do `char *foo' + followed by `foo = ptr' as it is much cleaner. + (struct gmon_hdr): Fix version. + (struct gmon_hist_hdr): Fix low_pc, high_pc, hist_size, prof_rate. + (struct gmon_cg_arc_record): Fix from_pc, self_pc, count. + * gmon/gmon.c: De-ansidecl-ify. + (write_hist): De-bcopy-fy. + (write_call_graph): Likewise. + + * gmon/mcount.c: Assume _MCOUNT_DECL does the entire declaration. + * sysdeps/alpha/machine-gmon.h: Update _MCOUNT_DECL. + * sysdeps/generic/machine-gmon.h: Likewise. + + * resolv/netdb.h: Add __set_h_errno to mimic __set_errno. + * nss/getXXent_r.c: Use __set_h_errno to set h_errno in all funcs. + * nss/nss_dns/dns-network.c: Likewise. + * resolv/getunamaddr.c: Likewise. Also use __set_errno where needed. + * resolv/getnetnamadr.c: Likewise. + * resolv/res_debug.c: Likewise. + * resolv/res_mkquery.c: Likewise. + * resolv/res_query.c: Likewise. + + * libio/clearerr_u.c: It's not necessary to define __ protected + function so don't do it. + * libio/feof_u.c, libio/ferror_u.c, libio/fputc_u.c, + libio/getc_u.c, libio/getchar_u.c, libio/iofflush_u.c: Likewise. + + * libio/fgetc.c: Avoid a warning by casting _IO_funlockfile for + the cleanup registrar. + * libio/fputc.c, libio/freopen.c, libio/fseek.c, libio/getc.c, + libio/getchar.c, libio/iofclose.c, libio/iofflush.c, + libio/iofgetpos.c, libio/iofgets.c, libio/iofputs.c, + libio/iofread.c, libio/iofsetpos.c, libio/ioftell.c, + libio/iofwrite.c, libio/iogetdelim.c, libio/iogets.c, + libio/ioputs.c, libio/iosetbuffer.c, libio/iosetvbuf.c, + libio/ioungetc.c, libio/putc.c, libio/putchar.c, libio/rewind.c: + Likewise. + + * locale/programs/ld-ctype.c: Include . + + * login/login_tty.c: Get login_tty prototype from . + + * posix/sys/types.h: Change #defines to typedefs. This is looking + forward to more comprehensive namespace cleanups for C++. + * posix/unistd.h: Likewise for ssize_t. + + * pwd/getpw.c: Prototype and rename getpw -> __getpw and add a + weak alias. + + * resolv/base64.c: Don't do `for (NULL; ...)' as it causes + `statement with no effect' warnings. + * resolv/inet_neta.c: Include for strlen. + + * stdio-common/getline.c: Undef ssize_t before libio redefinition. + * stdio-common/tstgetln.c: Same. De-ansidecl-ify. + * stdio-common/vfprintf.c: Same for va_list. + * stdio-common/vfscanf.c: Same. + * stdio-common/reg-printf.c: Prototype the __ function. + * stdio-common/scanf.c [USE_IN_LIBIO]: Include for + _IO_vscanf declaration. + + * string/tester.c: Tsk, tsk. Don't cast pointers to int, + but to unsigned long for the health of 64-bit systems. + + * sunrpc/svc_udp.c: Define MAX only if we don't have it yet. + Many system's pulls this in. + + * sysdeps/generic/dl-cache.c: Kill the bottom half of the + patch doubled file. + + * sysdeps/generic/pty.c (forkpty): Get login_tty decl from + instead of defining it locally. + + * sysdeps/posix/sigvec.c: Prototype wrapper_handler and convert_mask. + * sysdeps/stub/chflags.c: Prototype chflags. + * sysdeps/stub/fchflags.c: Prototype fchflags. + * sysdeps/stub/sstk.c: Prototype sstk. + + * sysdeps/unix/alpha/sysdep.S: Add strong alias from errno + variable to __errno. Update __syscall_error to store to both + the global and per-thread variables. + + * sysdeps/unix/sysv/linux/init-first.c: Change include of + init-first.h from "" to <> as "" does not search the include path. + Prototype _dl_start. + +Sun Sep 29 14:41:17 1996 Andreas Schwab + + * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Make it a + pattern rule to get the right stem. + +Sat Sep 28 01:30:06 1996 Andreas Schwab + + * Makefile ($(objpfx)version-info.h): Fix typo in previous change. + +Sat Sep 28 00:44:38 1996 Andreas Schwab + + * sysdeps/posix/euidaccess.c (__set_errno): Fix typo. + +Sat Sep 28 00:40:38 1996 Andreas Schwab + + * malloc/free.c (_free_internal): Don't call free recursively, use + the internal functions instead. + +Sat Sep 28 00:23:20 1996 Andreas Schwab + + * sysdeps/posix/tempname.c (__stdio_gen_tempname) [USE_IN_LIBIO && + _IO_MTSAFE_IO]: Allocate and initialize the file lock. + +Fri Sep 27 23:58:17 1996 Andreas Schwab + + * catgets/gencat.c (main): Print version information on stdout, + not stderr. + * db/makedb.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. + +Mon Sep 30 00:14:26 1996 Ulrich Drepper + + Add implementation of netgroup. + * inet/Makefile (distributes): Add netgroup.h. + (routines): Add getnetgrent.c and getnetgrent_r.c. + * inet/getnetgrent.c: New file. + * inet/getnetgrent_r.c: New file. + * inet/netgroup.h: New file. + * netgroup.h: New file. + * nsswitch.h: New file. + * nss/Makefile (databases): Add getgrp. + * nss/databases.def: Add netgroup. + * nss/db-Makefile: Add rules for netgroup. + * nss/netgrp-lookup.c: New file. + * nss/nss.h: Add new status value NSS_STATUS_RETURN which will + always return without a check of the transition table. + * nss/nsswitch.h (struct service_user): Extend actions array to + five elements. + * nss/nsswitch.c (__nss_next): Allow NSS_STATUS_RETURN as legal + status value. + (nss_parse_service_list): Initialize action for NSS_STATUS_RETURN + to NSS_ACTION_RETURN. + * nss/nss_db/db-netgrp.c: New file. + * nss/nss_files/files-netgrp.c: New file. + * nss/nsswitch.conf: Add entry for netgroup. + * resolv/netdb.h: Add prototypes for netgroup functions. + + * nss/nss_db/db-XXX.c: Use `enum nss_status' type when status + value is used. + +Sun Sep 29 12:55:58 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/syscalls.list: Change function name for + _llseek to _llseek (not llseek). + Reported by Matthias Urlichs . + +Sun Sep 29 05:34:32 1996 Ulrich Drepper + + * inet/rcmd.c: Remove definition of MIN. + +Sat Sep 28 14:22:51 1996 Ulrich Drepper + + * dirent/readdir_r.c: Removed. We indeed need a real implementation. + * sysdeps/unix/readdir_r.c: New file. + * sysdeps/unix/readdir.c: Remove check for correct parameter + values. Let them simply die. + * manual/filesys.texi: Document readdir_r. + + * sysdeps/gnu/errlist.awk: Define _sys_errlist as `const char* const'. + Proposed by Per Abrahamsen . + +Sat Sep 28 03:02:49 1996 Ulrich Drepper + + * dirent/Makefile (routines): Add readdir_r. + * dirent/readdir_r.c: New file. Wrapper around readdir.c. + * dirent/dirent.h: Add prototype for readdir_r. + + * misc/hsearch_r.c (ENTRY): Make field `used' of type `unsigned int' + to prevent warnings. + + * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): + Initialize `result'. + +Sat Sep 28 01:16:42 1996 Ulrich Drepper + + * sysdeps/generic/strsep.c: Rename to __strsep and make strsep + weak alias. + * string/string.h: Add prototype for __strsep. + * misc/mntent_r.c: Use __strsep instead of strsep to keep + namespace clean. + + * sysdeps/stub/nanosleep.c: Rename to __libc_nanosleep and make + __nanosleep and nanosleep weak aliases. + * sysdeps/unix/sysv/linux/syscalls.list: Add __nanosleep as weak + alias. + * sysdeps/unix/sysv/linux/sleep.c: Call __nanosleep instead of + nanosleep to keep namespace clean. + + * sysdeps/posix/ttyname.c (ttyname): Add cast to prevent warning. + * sysdeps/posix/ttyname_r.c (ttyname_r): Likewise. + * sysdeps/posix/getcwd.c (__getcwd): Likewise. + + * sysdeps/unix/nlist.c: Use ISO C definition since we don't always + have prototype. + + * login/Makefile (headers): Add pty.h. + * login/pty.h: New file. + * sysdeps/generic/pty.h: Include . + * login/pututline_r.c: Add cast to prevent warning. + + * gmon/gmon.c: Add prototype for __profile_frequency. + (monstartup): Add cast to prevent warning. + * sysdeps/generic/prof-freq.c: Change to use ISO C style definition. + + * locale/programs/ld-time.c (time_output): Write `era' information + in correct order. + +Sat Sep 28 00:11:08 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias + `adjtimex'. + Set caller for mlock, mlockall, mremap, munlock, and munlockall + to EXTRA. + Reported by Matthias Urlichs . + +1996-09-27 Paul Eggert + + * strftime.c (strftime): Output incomplete formats like %E + at end of string. + +1996-09-27 Paul Eggert + + * strftime.c (strftime): Add support for %EC and %Ey. + Fix support for %EY. This uses the new _nl_get_era_entry function. + +Fri Sep 27 14:12:27 1996 Ulrich Drepper + + Security related patch by Elliot Lee and + David Holland . + + * inet/rexec.c (rexec): Increase size of `num' array from 8 to 32. + * inet/ruserpass.c (ruserpass): Don't allow $HOME envvar to not exist. + + * sysdeps/generic/getenv.c (__secure_getenv): New function. Return + NULL when programs runs with SUID or SGID enabled. + * sysdeps/stub/getenv.c: Make __secure_getenv an alias of getenv. + * stdlib/stdlib.h: Add prototype for __secure_getenv. + + * locale/setlocale.c: Use __secure_getenv. + * resolv/res_init.c: Likewise. + * resolv/res_query.c: Likewise. + * inet/ruserpass.c: Likewise. + * sysdeps/posix/tempname.c: Likewise. + * malloc/mtrace.c: Likewise. + * catgets/catgets.c: Likewise. + + Make temporary file handling functions reentrant. + + * stdio-common/tmpnam.c: Rewrite to have own buffer to write + result to. The called __stdio_gen_tempname function must be + thread safe. + * stdio-common/tmpnam_r.c: New file. + * stdio/stdio.h: Add prototype for `tmpnam_r'. + Change prototype for __stdio_gen_tempname. + * stdio/libio.h: Likewise. + * sysdeps/posix/tempname.c: Add new parameters and use them instead + of static buffer. + Don't reset `indeces' when PID changed between calls. + Don't fail for long running programs when index counter once + reached the limit. + * sysdeps/stub/tempname.c: Likewise. + * stdio-common/tempnam.c: Provide local buffer as extra argument + to __stdio_gen_tempname. This makes this function reentrant. + * stdio-common/tmpfile.c: Likewise. + * stdio-common/temptest.c: Provide extra argument to + __stdio_gen_tempname. + * manual/filesys.texi: Describe tmpnam_r and add comments about + reentrancy of the functions. + + * inet/rcmd.c: Fixed address length handling. + + * sysdeps/posix/mk-stdiolim.c: Count final \0 byte in L_tmpnam value. + + * time/strftime.c: Remove unused variables alt_digits and + end_alt_digits. + + * sysdeps/unix/sysv/linux/sys/sysinfo.h: Correct prototype names + for get_nprocs and get_nprocs_conf. + * sysdeps/generic/sys/sysinfo.h: Likewise. + + * stdlib/test-canon.c: Finally do the right fix. + + * misc/Makefile: Only compile force-wrapper when compiling + reentrant libc. + +Fri Sep 27 03:49:56 1996 Ulrich Drepper + + Add support for cancelable system calls. + + * csu/initfini.c: Make in crti.o reference to symbol + __libc_force_cancel_wrapper when compiling reentrant version. + * misc/Makefile (routines): Add force-wrapper. + * misc/force-wrapper.c: New file. + + * posix/system.c: Rename function to __libc_system and make system + a weak alias. + * sysdeps/stub/system.c: Likewise. + * posix/wait.c: Rename function to __libc_wait and make __wait a + weak alias. De-ANSI-fy. + * sysdeps/standalone/read.c: Rename function to __libc_read and + make __read a weak alias. + * sysdeps/stub/read.c: Likewise. + * sysdeps/standalone/write.c: Rename function to __libc_write and + make __write a weak alias. + * sysdeps/stub/write.c: Likewise. + * sysdeps/stub/tcdrain.c: Rename function to __libc_tcdrain and + make tcdrain a weak alias. + * sysdeps/unix/bsd/tcdrain.c: Likewise. + * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise. + * sysdeps/unix/sysv/tcdrain.c: Likewise. + * sysdeps/unix/sysv/linux/tcdrain.c: Likewise. + * sysdeps/unix/bsd/bsd4.4/wait.c: Rename function to __libc_wait + and make __wait a weak alias. + * sysdeps/stub/waitpid.c: Rename function to __libc_waitpid and + make __waitpid a weak alias. + * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise. + * sysdeps/unix/sysv/linux/waitpid.c: Likewise. + * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise. + * sysdeps/unix/common/pause.c: Rename function to __libc_pause + and make pause a weak alias. De-ANSI-fy. + + * sysdeps/unix/syscalls.list: Change name for close, fcntl, fsync, + lseek, open, read, and write to have __libc_ prefix and make old + names a weak alias. + * sysdeps/unix/mman/syscalls.list: Likewise for msync. + * sysdeps/unix/sysv/linux/syscalls.list: Likewise for nanosleep. + + * io/creat.c: De-ANSI-fy. + + * sysdeps/unix/sysv/linux/syscalls.list: Add pause. + +Thu Sep 26 19:15:55 1996 Ulrich Drepper + + * misc/mntent.h: Add MNTTYPE_* and MNTOPT_* macros. + Reported by Hans Grobler . + +Thu Sep 26 14:40:10 1996 Ulrich Drepper + + * sysdeps/posix/pathconf.c: Pass descriptor for just opened file + to fpathconf. + Reported by Martin von Loewis . + +Thu Sep 26 04:02:43 1996 Ulrich Drepper + + * locale/programs/locfile.c (write_locale_data): Allocate room + even for file name for LC_MESSAGES locale. + (locafile_read): `tok_era' must be handled as a string list. + * locale/programs/ld-time.c: Finish correction of handling `era'. + * locale/C-time.c (_nl_C_LC_TIME): Add initializer for new fields. + * locale/categories.def: Add postload function for LC_TIME. + * locale/setlocale.c: Make lock global and rename to + __libc_setlocale_lock. + * locale/localeinfo.h (struct era_entry): New type. Used in strftime. + Add prototypes for _nl_get_era_entry and _nl_get_alt_digit. + * locale/lc-time.c (_nl_postload_time): New function. Initialize + lazy intialization. + (_nl_get_era_entry): New function. Return era entry which corresponds + to given year. + (_nl_get_alt_digit): New function. Return string with alternate + digit representation for given number. + + * time/strftime.c (strftime): Use _nl_get_alt_digit to get + string representing alternate digit notation. + +Wed Sep 25 17:31:55 1996 Ulrich Drepper + + * sysdeps/generic/waitstatus.h (union wait): Add w_status field. + Reported by Hans Grobler . + + * elf/rtld.c (dl_main): Process LD_PRELOAD before loading + ld.so.preload. Suggested by David Engel . + +Wed Sep 25 13:10:57 1996 Ulrich Drepper + + * catgets/gencat.c (main): Change --version again because RMS wants + the package name in parentheses. + * db/makedb.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. + +Tue Sep 24 01:28:05 1996 Andreas Schwab + + * Makefile ($(objpfx)sysd-dirs): Depend on Subdirs files, command + rewritten. + ($(objpfx)version-info.h): Depend on Banner files, command + rewritten. + +Wed Sep 25 02:44:41 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sleep.c: New file. Based on nanosleep. + +Tue Sep 24 21:46:02 1996 Ulrich Drepper + + * shadow/lckpwdf.c (PWD_LOCKFILE): Change to /etc/lock.pwd to be + on the same device as the password file. + * shadow/shadow.h (struct spwd): Change type of numeric fields + to `long int' since there value are days, not seconds. + * shadow/putspent.c: Change casts from time_t to `long int'. + * shadow/sgetspent_r.c (LINE_READER): Likewise. + +Mon Sep 23 23:05:24 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/errnos.h: Define __set_errno to make + sure the thread specific variable is set as well as the global + variable. + * sysdeps/mach/hurd/errnos.awk: Define macro for source code + compatibility. + * sysdeps/stub/errnos.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise. + + * shadow/putspent.c: Don't include . + + * dirent/scandir.c (scandir): Use __set_errno to set errno + variable. + * elf/dl-load.c (open_path): Likewise. + * inet/rcmd.c (rcmd): Likewise. + (rresvport): Likewise. + * intl/dcgettext.c [!__set_errno]: Define __set_errno. + (DCGETTEXT): Use __set_errno to set errno variable. + * io/fts.c (fts_open): Likewise. + (fts_close): Likewise. + (fts_read): Likewise. + (fts_set): Likewise. + (fts_children): Likewise. + (fts_build): Likewise. + (fts_stat): Likewise. + * io/ftw.c (ftw_dir): Likewise. + (ftw): Likewise. + * io/getwd.c (getwd): Likewise. + * io/lockf.c (lockf): Likewise. + * libio/libioP.h [EINVAL]: Use __set_errno to define MAYBE_SET_EINVAL. + * libio/iofdopen.c (_IO_fdopen): Use MAYBE_SET_EINVAL to errno. + * libio/iogetdelim.c (_IO_getdelim): Likewise. + * libio/fileops.c (_IO_file_open): Use __set_errno to set errno + variable. + * libio/iofgetpos.c (_IO_fgetpos): Likewise. + * libio/iofsetpos.c (_IO_fsetpos): Likewise. + * libio/ioftell.c (_IO_ftell): Likewise. + * locale/loadlocale.c (_nl_load_locale): Likewise. + * locale/nl_langinfo.c (nl_langinfo): Likewise. + * locale/setlocale.c (ERROR_RETURN): Likewise. + * login/getutid_r (__getutid_r): Likewise. + * login/getutline_r (__getutline_r): Likewise. + * login/login.c (tty_name): Likewise. + * login/oututline_r.c (__pututline_r): Likewise. + * malloc/malloc.c (morecore): Likewise. + * misc/efgcvt_r.c (fcvt_r): Likewise. + * misc/hsearch_r.c (hcreate_r): Likewise. + (hdestroy_r): Likewise. + (hsearch_r): Likewise. + * nss/nsswitch.c (__nss_configure_lookup): Likewise. + * nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Likewise. + (_nss_dns_gethostbyaddr_r): Likewise. + * nss/nss_files/files-XXX.c (internal_getent): Likewise. + * nss/nss_files/files-parse.c (parse_list): Likewise. + * posix/confstr.c (confstr): Likewise. De-ANSI-fy. + * posix/execvp.c (execvp): Likewise. + * posix/glob.c: Define __set_errno. + (glob): Use __set_errno to set errno variable. + (glob_in_dir): Likewise. + * pwd/getpw.c: Likewise. De-ANSI-fy. + * pwd/putpwent.c: Likewise. + * resolv/inet_net_ntop.c: Likewise. + * resolv/inet_net_pton.c: Likewise. + * resolv/inet_neta.c: Likewise. + * resolv/inet_ntop.c: Likewise. + * resolv/inet_pton.c: Likewise. + * resolv/res_query.c (res_search): Likewise. + * resolv/res_send.c (Aerror): Likewise. + (Perror): Likewise. + (res_send): Likewise. + * signal/sigaddset.c: Likewise. De-ANSI-fy. + * signal/sigdelset.c: Likewise. + * signal/sigempty.c: Likewise. + * signal/sigfillset.c: Likewise. + * signal/sigismem.c: Likewise. + * stdio/fclose.c: Likewise. + * stdio/feof.c: Likewise. + * stdio/ferror.c: Likewise. + * stdio/fflush.c: Likewise. + * stdio/fgetc.c: Likewise. + * stdio/fgetpos.c: Likewise. + * stdio/fgets.c: Likewise. + * stdio/fileno.c: Likewise. + * stdio/fmemopen.c: Likewise. + * stdio/fopen.c: Likewise. + * stdio/fputc.c: Likewise. + * stdio/fread.c: Likewise. + * stdio/freopen.c: Likewise. + * stdio/fseek.c: Likewise. + * stdio/fsetpos.c: Likewise. + * stdio/ftell.c: Likewise. + * stdio/fwrite.c: Likewise. + * stdio/getdelim.c: Likewise. + * stdio/gets.c: Likewise. + * stdio/glue.c: Likewise. + * stdio/internals.c: Likewise. + * stdio/memstream.c: Likewise. + * stdio/setvbuf.c: Likewise. + * stdio/ungetc.c: Likewise. + * stdio/vsscanf.c: Likewise. + * stdio-common/reg-printf.c: Likewise. + * stdio-common/vfprintf.c: Likewise. + * stdio-common/vfscanf.c: Likewise. + * stdlib/canonicalize.c: Likewise. + * stdlib/msort.c: Likewise. + * stdlib/random_r.c: Likewise. + * stdlib/strfmon.c: Likewise. + * stdlib/strtod.c: Likewise. + * stdlib/strtol.c: Likewise. + * sunrpc/bindrsvprt.c: Likewise. + * time/asctime.c: Likewise. + * time/localtime.c: Likewise. + * wcsmbs/mbrtowc.c: Likewise. + * wcsmbs/mbsnrtowcs.c: Likewise. + * wcsmbs/mbsrtowcs.c: Likewise. + * wcsmbs/wcrtomb.c: Likewise. + * wcsmbs/wcsnrtombs.c: Likewise. + * wcsmbs/wcsrtombs.c: Likewise. + * wcsmbs/wcstok.c: Likewise. + * sysdeps/generic/ftime.c: Likewise. + * sysdeps/generic/pty.c: Likewise. + * sysdeps/generic/setenv.c: Likewise. + * sysdeps/generic/speed.c: Likewise. + * sysdeps/generic/sysd-stdio.c: Likewise. + * sysdeps/generic/uname.c: Likewise. + * sysdeps/generic/vlimit.c: Likewise. + * sysdeps/libm-ieee754/k_standard.c: Likewise. + * sysdeps/libm-ieee754/s_ldexp.c: Likewise. + * sysdeps/libm-ieee754/s_ldexpf.c: Likewise. + * sysdeps/libm-ieee754/s_ldexpl.c: Likewise. + * sysdeps/libm-ieee754/w_scalb.c: Likewise. + * sysdeps/libm-ieee754/w_scalbf.c: Likewise. + * sysdeps/libm-ieee754/w_scalbl.c: Likewise. + * sysdeps/posix/dup2.c: Likewise. + * sysdeps/posix/euidaccess.c: Likewise. + * sysdeps/posix/fdopen.c: Likewise. + * sysdeps/posix/flock.c: Likewise. + * sysdeps/posix/fpathconf.c: Likewise. + * sysdeps/posix/getcwd.c: Likewise. + * sysdeps/posix/gettimeofday.c: Likewise. + * sysdeps/posix/isatty.c: Likewise. + * sysdeps/posix/isfdtype.c: Likewise. + * sysdeps/posix/killpg.c: Likewise. + * sysdeps/posix/mkstemp.c: Likewise. + * sysdeps/posix/mktemp.c: Likewise. + * sysdeps/posix/pathconf.c: Likewise. + * sysdeps/posix/pipestream.c: Likewise. + * sysdeps/posix/remove.c: Likewise. + * sysdeps/posix/rename.c: Likewise. + * sysdeps/posix/sigintr.c: Likewise. + * sysdeps/posix/signal.c: Likewise. + * sysdeps/posix/sigsuspend.c: Likewise. + * sysdeps/posix/sigvec.c: Likewise. + * sysdeps/posix/sleep.c: Likewise. + * sysdeps/posix/sysconf.c: Likewise. + * sysdeps/posix/system.c: Likewise. + * sysdeps/posix/tempname.c: Likewise. + * sysdeps/posix/truncate.c: Likewise. + * sysdeps/posix/ttyname.c: Likewise. + * sysdeps/posix/ttyname_r.c: Likewise. + * sysdeps/posix/wait3.c: Likewise. + * sysdeps/standalone/close.c: Likewise. + * sysdeps/standalone/open.c: Likewise. + * sysdeps/standalone/read.c: Likewise. + * sysdeps/standalone/write.c: 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/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/dirfd.c: Likewise. + * sysdeps/stub/dup.c: Likewise. + * sysdeps/stub/dup2.c: Likewise. + * sysdeps/stub/euidaccess.c: Likewise. + * sysdeps/stub/execve.c: Likewise. + * sysdeps/stub/fchdir.c: Likewise. + * sysdeps/stub/fchflags.c: Likewise. + * sysdeps/stub/fchmod.c: Likewise. + * sysdeps/stub/fchown.c: Likewise. + * sysdeps/stub/fcntl.c: Likewise. + * sysdeps/stub/fdopen.c: Likewise. + * sysdeps/stub/fexecve.c: Likewise. + * sysdeps/stub/flock.c: Likewise. + * sysdeps/stub/fork.c: Likewise. + * sysdeps/stub/fpathconf.c: Likewise. + * sysdeps/stub/fstatfs.c: Likewise. + * sysdeps/stub/fsync.c: Likewise. + * sysdeps/stub/ftruncate.c: Likewise. + * sysdeps/stub/fxstat.c: Likewise. + * sysdeps/stub/getcwd.c: Likewise. + * sysdeps/stub/getdents.c: Likewise. + * sysdeps/stub/getdomain.c: Likewise. + * sysdeps/stub/getdtsz.c: Likewise. + * sysdeps/stub/getegid.c: Likewise. + * sysdeps/stub/getenv.c: Likewise. + * sysdeps/stub/geteuid.c: Likewise. + * sysdeps/stub/getgid.c: Likewise. + * sysdeps/stub/getgroups.c: Likewise. + * sysdeps/stub/gethostid.c: Likewise. + * sysdeps/stub/gethostname.c: Likewise. + * sysdeps/stub/getitimer.c: Likewise. + * sysdeps/stub/getlogin.c: Likewise. + * sysdeps/stub/getlogin_r.c: Likewise. + * sysdeps/stub/getpagesize.c: Likewise. + * sysdeps/stub/getpeername.c: Likewise. + * sysdeps/stub/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/ioctl.c: Likewise. + * sysdeps/stub/isatty.c: Likewise. + * sysdeps/stub/isfdtype.c: Likewise. + * sysdeps/stub/kill.c: Likewise. + * sysdeps/stub/killpg.c: Likewise. + * sysdeps/stub/link.c: Likewise. + * sysdeps/stub/listen.c: Likewise. + * sysdeps/stub/lseek.c: Likewise. + * sysdeps/stub/lxstat.c: Likewise. + * sysdeps/stub/madvice.c: Likewise. + * sysdeps/stub/mkdir.c: Likewise. + * sysdeps/stub/mkfifo.c: Likewise. + * sysdeps/stub/mkstemp.c: Likewise. + * sysdeps/stub/mktemp.c: Likewise. + * sysdeps/stub/mmap.c: Likewise. + * sysdeps/stub/morecore.c: Likewise. + * sysdeps/stub/mprotect.c: Likewise. + * sysdeps/stub/msgctl.c: Likewise. + * sysdeps/stub/msgget.c: Likewise. + * sysdeps/stub/msgrcv.c: Likewise. + * sysdeps/stub/msgsnd.c: Likewise. + * sysdeps/stub/msync.c: Likewise. + * sysdeps/stub/munmap.c: Likewise. + * sysdeps/stub/nanosleep.c: Likewise. + * sysdeps/stub/nice.c: Likewise. + * 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/pipe.c: Likewise. + * sysdeps/stub/pipestream.c: Likewise. + * sysdeps/stub/poll.c: Likewise. + * sysdeps/stub/profil.c: Likewise. + * sysdeps/stub/ptrace.c: Likewise. + * sysdeps/stub/putenv.c: Likewise. + * sysdeps/stub/raise.c: Likewise. + * sysdeps/stub/read.c: Likewise. + * sysdeps/stub/readdir.c: Likewise. + * sysdeps/stub/readlink.c: Likewise. + * sysdeps/stub/readv.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/setitimer.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/shmat.c: Likewise. + * sysdeps/stub/shmctl.c: Likewise. + * sysdeps/stub/shmdt.c: Likewise. + * sysdeps/stub/shmget.c: Likewise. + * sysdeps/stub/shutdown.c: Likewise. + * sysdeps/stub/sigaction.c: Likewise. + * sysdeps/stub/sigaltstack.c: Likewise. + * sysdeps/stub/sigblock.c: Likewise. + * sysdeps/stub/sigintr.c: Likewise. + * sysdeps/stub/signal.c: Likewise. + * sysdeps/stub/sigpause.c: Likewise. + * sysdeps/stub/sigpending.c: Likewise. + * sysdeps/stub/sigprocmask.c: Likewise. + * sysdeps/stub/sigreturn.c: Likewise. + * sysdeps/stub/sigsetmask.c: Likewise. + * sysdeps/stub/sigstack.c: Likewise. + * sysdeps/stub/sigsuspend.c: Likewise. + * sysdeps/stub/sigvec.c: Likewise. + * sysdeps/stub/sleep.c: Likewise. + * sysdeps/stub/socket.c: Likewise. + * sysdeps/stub/socketpair.c: Likewise. + * sysdeps/stub/sstk.c: Likewise. + * sysdeps/stub/statfs.c: Likewise. + * sysdeps/stub/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/sysconf.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/tcsetattr.c: Likewise. + * sysdeps/stub/tcsetpgrp.c: Likewise. + * sysdeps/stub/telldir.c: Likewise. + * sysdeps/stub/tempname.c: Likewise. + * sysdeps/stub/time.c: Likewise. + * sysdeps/stub/times.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/vhangup.c: Likewise. + * sysdeps/stub/wait.c: Likewise. + * sysdeps/stub/wait3.c: Likewise. + * sysdeps/stub/wait4.c: Likewise. + * sysdeps/stub/waitpid.c: Likewise. + * sysdeps/stub/write.c: Likewise. + * sysdeps/stub/writev.c: Likewise. + * sysdeps/stub/xmknod.c: Likewise. + * sysdeps/stub/xstat.c: Likewise. + * sysdeps/unix/closedir.c: Likewise. + * sysdeps/unix/fxstat.c: Likewise. + * sysdeps/unix/getlogin.c: Likewise. + * sysdeps/unix/getlogin_r.c: Likewise. + * sysdeps/unix/mkdir.c: Likewise. + * sysdeps/unix/nice.c: Likewise. + * sysdeps/unix/nlist.c: Likewise. + * sysdeps/unix/opendir.c: Likewise. + * sysdeps/unix/readdir.c: Likewise. + * sysdeps/unix/rmdir.c: Likewise. + * sysdeps/unix/stime.c: Likewise. + * sysdeps/unix/xmknod.c: Likewise. + * sysdeps/unix/xstat.c: Likewise. + * sysdeps/unix/bsd/isatty.c: Likewise. + * sysdeps/unix/bsd/setegid.c: Likewise. + * sysdeps/unix/bsd/seteuid.c: Likewise. + * sysdeps/unix/bsd/setsid.c: Likewise. + * sysdeps/unix/bsd/sigaction.c: Likewise. + * sysdeps/unix/bsd/sigprocmask.c: Likewise. + * sysdeps/unix/bsd/sigsuspend.c: Likewise. + * sysdeps/unix/bsd/tcflow.c: Likewise. + * sysdeps/unix/bsd/tcflush.c: Likewise. + * sysdeps/unix/bsd/tcgetattr.c: Likewise. + * sysdeps/unix/bsd/tcsetattr.c: Likewise. + * sysdeps/unix/bsd/times.c: Likewise. + * sysdeps/unix/bsd/ulimit.c: Likewise. + * sysdeps/unix/common/lxstat.c: Likewise. + * sysdeps/unix/common/tcsendbrk.c: Likewise. + * sysdeps/unix/sysv/setrlimit.c: Likewise. + * sysdeps/unix/sysv/settimeofday.c: Likewise. + * sysdeps/unix/sysv/sigaction.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/bsd/ultrix4/sysconf.c: Likewise. + * sysdeps/unix/sysv/irix4/getpriority.c: Likewise. + * sysdeps/unix/sysv/irix4/setpriority.c: Likewise. + * sysdeps/unix/sysv/linux/adjtime.c: Likewise. + * sysdeps/unix/sysv/linux/gethostid.c: Likewise. + * sysdeps/unix/sysv/linux/gethostname.c: Likewise. + * sysdeps/unix/sysv/linux/getsysstats.c: Likewise. + * sysdeps/unix/sysv/linux/ptrace.c: Likewise. + * sysdeps/unix/sysv/linux/speed.c: Likewise. + * sysdeps/unix/sysv/linux/ulimit.c: Likewise. + * sysdeps/unix/sysv/sysv4/sigaction.c: Likewise. + * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise. + * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise. + * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/ioperm.c: Likewise. + * sysdeps/unix/sysv/linux/i386/brk.c: Likewise. + * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/brk.c: Likewise. + + * sunrpc/clnt_tcp.c: Protect declaration of errno by #ifndef. + * sunrpc/clnt_udp.c: Likewise. + * sunrpc/bindrsvprt.c: Likewise. + * sunrpc/pm_getmaps.c: Likewise. + * sunrpc/pmap_rmt.c: Likewise. + * sunrpc/svc.c: Likewise. + * sunrpc/svc_run.c: Likewise. + * sunrpc/svc_tcp.c: Likewise. + * sunrpc/svc_udp.c: Likewise. + + * sysdeps/generic/strtok.c: Don't check argument, just crash. + * sysdeps/generic/strtok_r.c: Likewise. + + * sysdeps/stub/start.c: Make __errno a strong alias of errno. + * sysdeps/unix/start.c: Likewise. De-ANSI-fy. + * sysdeps/unix/sparc/start.c: Likewise. + * sysdeps/standalone/m68k/m68020/start.S: Likewise. + * sysdeps/unix/sysv/irix4/start.c: Likewise. + * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise. + * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. + +Mon Sep 23 17:54:57 1996 Ulrich Drepper + + * catgets/gencat.c (main): Put package name in --version message + in parantheses. Reported by Jim Meyering. + * db/makedb.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. + + * sysdeps/i386/fpu/__math.h (tan): Make sure gcc knows we use + two registers. Patch by John Bowman. + +Sat Sep 21 15:08:25 1996 Andreas Schwab + + * sysdeps/mach/libc-lock.h: Fix comment. + * sysdeps/stubs/libc-lock.h: Likewise. + +Sat Sep 21 13:50:40 1996 Andreas Schwab + + * libio/genops.c (_IO_init) [_IO_MTSAFE_IO]: Dereference pointer + to lock when passing it to __libc_lock_init macro. + (_IO_default_finish) [_IO_MTSAFE_IO]: Dereference pointer to lock + when passing it to __libc_lock_fini macro. + +Sat Sep 21 14:35:40 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER) + [_LIBC_REENTRANT]: Add missing semicolon. + + * sysdeps/unix/sysv/linux/m68k/sysdep.S: Move inclusion of + sysdep.h to the top outside of #ifndef PIC. Don't include errnos.h. + Use the ENTRY macro. + +Sat Sep 21 14:33:41 1996 Andreas Schwab + + * libio/Makefile: Make `all' the default target. + * po/Makefile: Likewise. + +Mon Sep 23 15:49:47 1996 Ulrich Drepper + + * stdlib/test-canon.c: Correct patch from Thu Sep 12 23:01:16 1996. + I applied it incorrectly. + * sysdeps/m68k/fpu/s_scalbn.c: Likewise. + * sysdeps/m68k/fpu/s_scalbnf.c: Likewise. + * sysdeps/m68k/fpu/s_scalbnl.c: Likewise. + +Mon Sep 23 03:00:10 1996 Ulrich Drepper + + * shadow/sgetspent_r.c (LINE_PARSER): Accept empty 9th field. + Patch by NIIBE Yutaka . + + * shadow/sgetspent_r.c (LINE_PARSER): Don't accept any chars after + 9th field. + + * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc] + (sysdep_headers): Add sys/debugreg.h, sys/kd.h, sys/soundcard.h, + and sys/vt.h. + * sysdeps/unix/sysv/linux/sys/debugreg.h: New file. + * sysdeps/unix/sysv/linux/sys/kd.h: New file. + * sysdeps/unix/sysv/linux/sys/soundcard.h: New file. + * sysdeps/unix/sysv/linux/sys/vt.h: New file. + Reported by NIIBE Yutaka . + +Thu Sep 26 13:44:29 1996 Thomas Bushnell, n/BSG + + * hurd/Makefile (installed-sunrpc-headers): New variable. + (sunrpc-headers): New variable. + (install-headers-nosubir): Depend on $(installed-sunrpc-headers), + not just . + ($(installed-sunrpc-headers)): Provide rule for all of these. + +Mon Sep 23 15:31:04 1996 Thomas Bushnell, n/BSG + + * hurd/Makefile ($(includedir)/rpc/netdb.h): There is no make + variable `top_srcdir' in libc; use $(..) instead. + + * sysdeps/mach/hurd/Makefile (rtld-installed-name): Delete special + definition. It was a *Mistake*. (With a capital M.) + + * sysdeps/mach/getsysstats.c (__get_nprocs): Renamed from + __get_nproc. + (__get_nprocs_conf): Renamed from __get_nproc_conf. + +Sun Sep 22 15:18:41 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/init-first.c: Define dummy function + `_dl_start' so that linking fails if this file should ever be used + in ld.so. + + * catgets/gencat.c (main): Change --version message according to + RMS' last standard revision. + * db/makedb.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. + +Sat Sep 21 23:42:39 1996 Thomas Bushnell, n/BSG + + * sysdeps/mach/getsysstats.c: Include . + (__get_nproc_conf): New function. + +Sun Sep 22 03:40:52 1996 Ulrich Drepper + + * resolv/resolv.h: Update to bind-4.9.5-T4B. + * resolv/base64.c: Likewise. + * resolv/res_debug.c: Likewise. + * resolv/res_query.c: Likewise. + * resolv/gethnamaddr.c: Likewise. + * nss/nss_dns/dns-host.c: Likewise. + * resolv/res_comp.c: Likewise. + * resolv/res_send.c: Likewise. + * resolv/arpa/nameser.h: Likewise. Attention: MAXDNAME is much + higher now. + + * resolv/Banner: New file. + * resolv/Makefile (distribute): Add Banner. + +Sat Sep 21 19:15:24 1996 Ulrich Drepper + + * sysdeps/stub/getsysstats.c: New file. + * sysdeps/unix/sysv/linux/getsysstats.c: New file. + + * misc/Makefile (headers): Add sys/sysinfo.h. + (routines): Add getsysstats. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc] + (sysdep_headers): Remove sys/sysinfo.h. + * sysdeps/generic/sys/sysinfo.h: New file. + * sysdeps/unix/sysv/linux/sys/sysinfo.h: Add prototype for get_nprocs, + get_phys_pages, and get_avphys_pages. + + * misc/Makefile (routines): Add mntent_r. + * misc/mntent_r.c: New file. + * misc/mntent.c: Remove all functions but getmntent and use + __getmntent_r. + * misc/mntent.h: Add prototype for __getmntent_r. + * misc/fstab.c: Use __getmntent_r function instead of getmntent. + This will not clobber the state in getmntent. + + * sysdeps/generic/confname.h: Add _SC_PROCESSORS_CONF, + _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES, _SC_AVPHYS_PAGES, + _SC_ATEXIT_MAX, and _SC_PASS_MAX. + * sysdeps/stub/sysconf.c: Add handling _SC_PROCESSORS_CONF and + _SC_NPROCESSORS_ONLN by calling __get_nprocs, _SC_PHYS_PAGES by + calling __get_phys_pages, _SY_AVPHYS_PAGES by calling + __get_avphys_pages, _SC_ATEXIT_MAX and _SC_PASS_MAX. + * sysdeps/posix/sysconf.c: Likewise. + * posix/getconf.c (vars): Add _NPROCESSORS_CONF, _NPROCESSORS_ONLN, + _PHYS_PAGES, _AVPHYS_PAGES, ATEXIT_MAX, and PASS_MAX entries. + +Sat Sep 21 05:20:36 1996 Ulrich Drepper + + * version.h (VERSION): Bump to 1.95. + + * Make-dist (+tsrcs): Don't filter out files in subdirs which + match files in the sysdeps hierachy (welcome back, + sys/syscall.h!). + + * resolv/Makefile (libresolv-routines): Remove getnetnamad. + +Sat Sep 21 03:00:19 1996 Ulrich Drepper + + * locale/loadlocale.c (_nl_free_locale): Remove function. + * locale/localeinfo.h: Remove prototype for _nl_free_locale. + * locale/setlocale.c (setlocale): Don't free locale data of + categories which succeeded to load after a wrong or missing data + file was observed. + + * locale/setlocale (setlocale): Initialize NEWNAME correctly so + that it works even when the locale data is not used. + + * stdlib/random_r.c: Fix typo in comment. + * stdlib/drand48-iter.c: Likewise. + * stdlib/drand48.c: Likewise. + * stdlib/erand48.c: Likewise. + * stdlib/jrand48.c: Likewise. + * stdlib/lcong48.c: Likewise. + * stdlib/lrand48.c: Likewise. + * stdlib/mrand48.c: Likewise. + * stdlib/nrand48.c: Likewise. + * stdlib/random.c: Likewise. + * stdlib/seed48.c: Likewise. + * stdlib/srand48.c: Likewise. + * misc/search.h: Likewise. + * misc/hsearch.c: Likewise. + * misc/hsearch_r.c: Likewise. + +Sat Sep 21 14:59:22 1996 Thomas Bushnell, n/BSG + + * sysdeps/mach/getsysstats.c: New file. + + * shlib-versions (*-*-gnu*): Increment libc to 0.2 for upcoming + binary distribution. + + * sysdeps/mach/hurd/Makefile (rtld-installed-name): Provide + definition to override dangerous one in Makeconfig. + + * hurd/Makefile (install-headers-nosubdir): Install . + ($(includedir)/rpc/netdb.h): New rule. + [ This is XXX until sunrpc can be built; is + essential. ] + +Fri Sep 20 16:06:06 1996 Thomas Bushnell, n/BSG + + * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Add definition, + to guarantee link errors if this is included in ld.so. + +Thu Sep 19 21:50:55 1996 Ulrich Drepper + + * sysdeps/posix/gettimeofday.c (__gettimeofday): Use localtime_r + instead of localtime. + Reported by Matthias Urlichs. + + * shlib-versions: Remove version number for libcrypt. + * features.h: Define __USE_REENTRANT if _REENTRANT or _THREAD_SAFE. + * libc-symbols.h: Define _REENTRANT while compiling libc. + + * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location): + Define even if !_LIBC_REENTRANT. + * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location): + Likewise. + + * sysdeps/posix/cuserid.h: Remove prototype for geteuid(). + De-ANSI-fy. + + * MakeTAGS ($P/libc.pot): Generate correctly formed header. + * po/header.pot: Correct title line. + * po/nl.po: Update. + +Thu Sep 19 18:59:55 1996 Ulrich Drepper + + * Makeconfig (soversions.mk): Prefer shared lib version numbers + is add ons over version in libc itself. + + * sysdeps/unix/sysv/linux/i386/sysdep.S: Include . + * sysdeps/unix/sysv/linux/i386/sysdep.h: Prevent multiple + inclusion. + + * libio/iofgets.c: Use __flockfile and __funlockfile instead of + _IO_flockfile and _IO_funlockfile resp. + + * locale/categories.def: Partly support for correct `era' handling + in LC_TIME category. + * locale/langinfo.h: Likewise. + * locale/programs/ld-time.c: Likewise. + * locale/localeinfo.h: Change comment a bit. + + * malloc/memalign.c: Don't use goto, not necessary anymore. + +1996-09-18 Paul Eggert + + * time/mktime.c (ydhms_tm_diff): Work correctly even if year + is negative, or if time_t is unsigned. + * time/strftime.c (tm_diff): Work correctly even if tm_year + is near INT_MIN. + +Tue Sep 17 16:14:34 1996 Andreas Schwab + + * sysdeps/m68k/fpu/__math.h (__inline_mathop): Changed to generate + all three versions of the math function. + (__inline_mathopf, __inline_mathopl): Removed. + (__inline_functions): New temporary definition containing all + non-trivial inline functions. + +Wed Sep 18 00:25:41 1996 Ulrich Drepper + + * time/strftime.c (strftime): The T_FMT_AMPM string may be empty. + +Tue Sep 17 20:27:18 1996 Ulrich Drepper + + * math/Makefile (extra-libs-others): Use $(extra-libs) instead + of $(extra-libc). + +Tue Sep 17 17:09:44 1996 Ulrich Drepper + + * sysdeps/stub/fpu_control.h: Correct end of file comment. + +Tue Sep 17 05:39:18 1996 Ulrich Drepper + + * stdio-common/bug3.c, stdio-common/bug4.c, stdio-common/bug5.c, + stdio-common/test-popen.c: Remove temporary files after test. + * stdio-common/bug5.c: Use `system' instead of `execlp'. + Patches by Andreas Jaeger. + + * stdio-common/bug5.c: Create string for `system' argument to + make sure the input and output file names are really correct. + +Sun Sep 15 12:46:44 1996 Andreas Schwab + + * configure.in: If $os contains a hyphen add the part before the + hyphen to $ostry. + +Sun Sep 15 18:14:02 1996 Andreas Schwab + + * sysdeps/m68k/fpu/__math.h (__ieee754_pow, __ieee754_powf, + __ieee754_powl): Rename local variable i to __i. + (__ieee754_atan2, __ieee754_atan2f, __ieee754_atan2l): New inline + functions. + * sysdeps/m68k/fpu/e_atan2.c, sysdeps/m68k/fpu/e_atan2f.c, + sysdeps/m68k/fpu/e_atan2l.c: New files. + +1996-09-15 Paul Eggert + + * manual/time.texi: Change `range X to Y' to `range X through + Y', to avoid ambiguity in English. + + (strftime): Numbers that do not have a range indicated are not padded. + Describe E and O modifiers. + %g, %G, %u: New formats. + %C, %y, %Y: Describe behavior on negative years. + %e: Fix typo (was labeled %d). + %l, %V: Fix typo in range. + %M, %S, %U, %w, %W: Give ranges. + %p: Clarify how noon and midnight are handled for AM and PM. + %s: Clarify leap second handling. + %r: Now locale-defined. + %C, %D, %e, %h, %n, %r, %t, %T: Say that they are POSIX.2 extensions. + %z: Say that it is a GNU extension. + %Z: Wording fix. + + * time/strftime.c: (strftime): + %V: Fix mishandling of week numbers near year boundaries. + %g, %G: New formats (suggested by Arthur David Olson). + %U, %W: Use inline expression instead of `week' function. + %C, %y: Handle negative years portably. + %C, %Y: Use width 1, since values can be arbitrarily wide. + %r: Use T_FMT_AMPM format if _NL_CURRENT is defined. + %u: New Posix.2 format. + %w: Width is 1, not 2. + (iso_week_days): New function, for %V, %G, %g. + (week): Remove; it didn't handle %V correctly. + (__isleap): New macro. + (mbsinit): Use arg, to pacify GCC -Wall. + +1996-09-13 Paul Eggert + + * time/strftime.c (strftime): + If using the GNU C library, do not bother to check for + multibyte encodings, since they're safe in formats. Otherwise: + - Check for multibyte encodings when encountering any character that + is not in the basic execution character set of the C Standard. + - Use mbrlen (if available) instead of mblen, to avoid modifying + mblen's internal state. + - Do not assume that '%' cannot appear as the first character of a + multibyte character sequence, since this is possible when not in the + initial shift state. + (HAVE_MBRLEN, MULTIBYTE_IS_FORMAT_SAFE): Define if _LIBC is defined. + (DO_MULTIBYTE): New macro. + (): Do not include. + (): Include if HAVE_MBRLEN. + (mbstate_t, mbrlen, mbsinit): Define if ! HAVE_MBRLEN. + (mbstate_zero): New constant. + +1996-09-12 Paul Eggert + + * time/strftime.c (strftime): + Use an empty zone if it can't be determined; POSIX.2 requires this. + Use plain `int' for pad and modifier (which now contain char value). + Use plain `int' for number_value, to print negative values correctly. + Use plain `int' for digits; there was no need to make it unsigned. + Initialize subfmt consistently. + Remove incorrect code for %EC and %Ey; they aren't implemented yet. + For %O, if there is no alternate digit, output Ascii instead of "". + Output the `%' of an unknown format; this is most likely the right + thing to do if a multibyte string has been misparsed. + +Thu Sep 12 23:23:13 1996 Andreas Schwab + + * stdio-common/scanf7.c (main): Remove extra conversion from + printf format string. + +Thu Sep 12 23:01:16 1996 Andreas Schwab + + * stdlib/test-canon.c (tests): Rename structure member from errno + to error, all uses changed. + +Thu Sep 12 20:08:06 1996 Andreas Schwab + + * sysdeps/m68k/fpu/__math.h (__ldexp, __ldexpf, __ldexpl): + Removed. + * sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c, + sysdeps/m68k/fpu/s_ldexpl.c: Removed, use generic implementation + instead. + * sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c, + sysdeps/m68k/fpu/s_scalbnl.c: Replaced with old contents of + s_ldexp.c, s_ldexpf.c and s_ldexpl.c, resp., suitably adpted. + + * sysdeps/m68k/fpu/__math.h (__frexp, __frexpf, __frexpl): + Return value must be in [0.5, 1), not [1, 2). Reported by Chris + Lawrence. + (__ilogb, __ilogbf, __ilogbl): Check for argument being zero. + (__scalbn, __scalbnf, __scalbnl): Use second argument directly. + +Thu Sep 12 19:59:24 1996 Andreas Schwab + + * sysdeps/libm-ieee754/e_acoshl.c: Fix typos. + * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable. + +Thu Sep 12 19:59:24 1996 Andreas Schwab + + * sysdeps/libm-ieee754/e_acoshl.c: Fix typos. + * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable. + +Thu Sep 12 19:56:07 1996 Andreas Schwab + + * inet/herrno.c (__h_errno_location): Fix return type. + +Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG + + * hurd/hurdinit.c (__libc_argv): Provide common decl. + (_hurd_setproc): Don't declare __libc_argv here. + +Tue Sep 17 10:51:58 1996 Thomas Bushnell, n/BSG + + * malloc/memalign.c (memalign): Only acquire __libc_malloc_lock + for actual modifications to global state. + +Fri Sep 13 01:21:36 1996 Thomas Bushnell, n/BSG + + * sysdeps/mach/Makefile (includes): Add -I$(common-objpfx)mach/. + * sysdeps/mach/hurd/Makefile (includes): Add + -I$(common-objpfx)hurd/. Reported by Marcus Daniels. + + * sysdeps/generic/schedbits.h (struct sched_param): Renamed from + struct sched_params. + * sysdeps/stub/sched_setp.c (__sched_setparam): struct + sched_params -> struct sched_param. + * sysdeps/stub/sched_getp.c (__sched_getparam): Likewise. + * sysdeps/stub/sched_sets.c (__sched_setscheduler): Likewise. + +Thu Sep 12 23:58:25 1996 Thomas Bushnell, n/BSG + + * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): Fix + syntax error. + + * stdio-common/Makefile: Put lockfile in routines + unconditionally. + Define _MT_SAFE_IO if using for libio and compiling reentrant + libc. + + * stdio-common/vfprintf.c (__flockfile, __funlockfile): Declare + this always, not just if _LIBC_REENTRANT. + (__funlockfile): Don't use weak_extern for this one; + __libc_cleanup_region_end might be defined and the use of + __funlockfile can't be protected the way the use of __flockfile + can be. + +Fri Sep 13 04:33:08 1996 Ulrich Drepper + + * sched.h: New file. Helper to access posix/sched.h. + * posix/sched.h: Change `sched_params' to `sched_param' to follow + POSIX.4. + +Thu Sep 12 20:12:40 1996 Ulrich Drepper + + * db/makedb.c (usage): Print bug report address separately to + ease translators task. + * catgets/gencat.c (usage): Likewise. + * locale/locale.c (usage): Likewise. + * locale/localedef.c (usage): Likewise. + +1996-09-12 Paul Eggert + + * time/strftime.c (my_localtime_r): Define if ! HAVE_LOCALTIME_R, + and #define localtime_r to it. If _LIBC, use __localtime_r instead. + (my_gmtime_r): Similar, except it's not needed if ! HAVE_TM_GMTOFF. + +Thu Sep 12 14:03:29 1996 Ulrich Drepper + + * crypt/Makefile: Include Makeconfig and add crypt object dir to + rpath-link so that running the check finds the new library. + * crypt/cert.c: provide correct prototypes to prevent warnings. + Reported by Andreas Jaeger. + + * sysdeps/mach/hurd/Makefile (rpath-link): Don't use += because + old and new value must be glued using `:'. + Reported by Marcus Daniels. + +Thu Sep 12 12:33:52 1996 Thomas Bushnell, n/BSG + + * sysdeps/mach/hurd/dl-cache.c: Delete second copy of file + accidentally added on. + + * sysdeps/stub/intr-msg.h: New file. + + * stdio-common/vfprintf.c: Include . + * stdio-common/vfscanf.c: Include . + + * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New + macro. + (__libc_cleanup_region_end): New macro. + +Thu Sep 12 03:35:27 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/Dist: Remove init-first.h. + * sysdeps/unix/sysv/linux/m68k/Dist: Likewise. + * sysdeps/unix/sysv/linux/Dist: Add init-first.h. + +1996-09-11 Paul Eggert + + * strftime.c (strftime): + Handle E and O modifiers, required for POSIX.2 and XPG4. + Don't use sprintf to format numbers; this way, we can handle time_t + correctly regardless of whether it's signed. + Don't dump core if format ends in %. + In default %c format, use %e instead of %d, for POSIX.2 compatibility. + For %z: + Use tm_gmtoff if available. + Output nothing if tm_isdst is negative. + Output correct value even if arg is 1969-12-31 23:59:59 UTC. + Don't assume that UTC offset is less than 24 hours; + Posix requires support for 24 hours, and there's no point + limiting it at all. + (HAVE_TM_GMTOFF, TYPE_SIGNED, INT_STRLEN_BOUND): New macros. + (CHAR_BIT): Define if doesn't. + (tm_diff): New function. + (fmt, ): Remove; no longer used. + +Thu Sep 12 02:21:44 1996 Ulrich Drepper + + * db/Makefile: Add extra-libs-others variable so that shared + library is built in `others' pass. + * elf/Makefile: Likewise. + * math/Makefile: Likewise. + * resolv/Makefile: Likewise. + + * Makefile (generated): Add version.info.h. + + * time/checktab.awk: New file. From ADO 96k. + * time/iso3166.tab: Likewise. + * time/tzselect.ksh: Likewise. + * time/zone.tab: Likewise. + + * stdio-common/vfprintf.c: Correct cleanup registration. We + cannot use a macro + +1996-09-11 Paul Eggert + + * time/time.h (tm_gmtoff, tm_zone): Prefix with `__' unless + __USE_BSD; this is required for ANSI C compatibility. + * manual/time.texi: Replace GMT by UTC, daylight savings by + daylight saving, timezone by time zone. + Rewrite description of %V to match ISO 8601. + Fix TZ Posix string example for US Eastern time. + Explain tzname[1] when DST isn't used. + Explain tzname when multiple abbreviations used (e.g. EST/EWT/EDT). + Explain that timezone's sign is opposite from tm_gmtoff, and that + timezone lacks DST adjustment whereas tm_gmtoff has it. + Deprecate tzname and timezone. + +Tue Sep 10 14:46:16 1996 Andreas Schwab + + Implement Roland McGrath's idea of how to put an .interp into + shared libraries. + * interp.c: New file. + * Makerules (interp-obj): New object, linked into every shared + library. + (common-generated): Add interp.so. + (CFLAGS-interp.c): Pass name of interpreter. + +Tue Sep 10 21:09:35 1996 Andreas Schwab + + * db/Makefile: Fix typo. + +Tue Sep 10 19:29:53 1996 Andreas Schwab + + * nss/db-Makefile ($(VAR_DB)/passwd.db): Look for multiple + occurences of the same uid, and only generate a mapping for the + first one. + +Tue Sep 10 03:14:59 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/system.c: New file, to override + sysdeps/unix/system.c. + +Tue Sep 10 15:05:40 1996 Andreas Schwab + + * Makefile (before-compile): Add version-info.h, needed to build + version.d. + +Tue Sep 10 14:14:33 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/sysdep.S: Remove check for + EWOULDBLOCK, never true on Linux. + (__errno_location): New function. + [_LIBC_REENTRANT]: Set errno using __errno_location function. + * sysdeps/unix/sysv/linux/m68k/sysdep.h [PIC]: Add second + syscall_error handler for reentrant libc. + +Tue Sep 10 13:27:49 1996 Andreas Schwab + + * elf/Makefile (extra-objs): Add eval.so to get dependencies. + +Wed Sep 11 04:40:57 1996 Ulrich Drepper + + * time/tzset.c (__tzname_cur_max): Use type `size_t' to avoid + warning. + * time/tzfile.c (compute_tzname_max): Likewise. + +Wed Sep 11 02:57:31 1996 Ulrich Drepper + + * configure.in: Quote $add_ons argument in loop to generated + prefices. + +Tue Sep 10 20:43:45 1996 Ulrich Drepper + + * db/makedb.c: Include . Reported by Fila Kolodny. + +Tue Sep 10 14:42:39 1996 Thomas Bushnell, n/BSG + + * elf/dl-cache.c: Rename to ... + * sysdeps/generic/dl-cache.c: ... here. + * sysdeps/mach/hurd/dl-cache.c: New file. + + * mach/Makefile (distribute): Add `errsystems.awk'. + * hurd/Makefile (distribute): Add `Notes' and `intr-msg.h'. + * hurd/hurdintr.awk: Delete file. (Not used in ages.) + * hurd/intr-rpc.awk: Likewise. + * hurd/invoke-trans.c: Likewise. + * sysdeps/mach/hurd/i386/longjmp-ctx.c: Likewise. + * sysdeps/mach/hurd/alpha/longjmp-ctx.c: Likewise. + * sysdeps/mach/hurd/mips/longjmp-ctx.c: Likewise. + * sysdeps/mach/hurd/i386/init-fault.c: Likewise. + * sysdeps/mach/hurd/mips/init-fault.c: Likewise. + * sysdeps/stub/init-fault.c: Likewise. + * sysdeps/stub/longjmp-ctx.c: Likewise. + +Tue Sep 10 13:49:08 1996 Ulrich Drepper + + * inet/herrno.c: Initialize `h_errno' so that we can provide + alias. + + * Makefile (version-info.h): Fix typo in shell script. + + * sysdeps/i386/i586/strlen.S: Optimize startup code a bit. + * sysdeps/i386/i586/strchr.S: Likewise. + +Mon Sep 9 20:31:27 1996 Ulrich Drepper + + * version.c (banner): Report to bug-glibc@prep not @gnu. + Reported by Andreas Jaeger. + + * libio/stdio.h [!__USE_REENTRANT]: Don't define getc as + _IO_getc_unlocked. + [__USE_REENTRANT]: Don't define + +Mon Sep 9 15:59:32 1996 Ulrich Drepper + + * sysdeps/i386/strrchr.c: Fix bug where NUL byte is not recognized + when it is the third byte in the string. Reported by + NIIBE Yutaka. + * string/tester.c: Add tests for above bug to strlen, strchr, and + strrchr tests. + +Fri Sep 6 21:23:33 1996 Andreas Schwab + + * sysdeps/m68k/fpu/e_acos.c: Deansideclized. Include + "math_private.h" to get prototype. + * sysdeps/m68k/fpu/e_fmod.c: Likewise. + * sysdeps/m68k/fpu/k_cos.c: Likewise. + * sysdeps/m68k/fpu/k_sin.c: Likewise. + * sysdeps/m68k/fpu/k_tan.c: Likewise. + + * sysdeps/m68k/fpu/k_sin.c: Remove uneeded indirection of + __m81_u. + * sysdeps/m68k/fpu/k_tan.c: Likewise. + +Sun Sep 1 18:01:35 1996 Andreas Schwab + + * sysdeps/m68k/fpu/__math.h: Check for __NO_M81_MATH_INLINES + instead of __NO_MATH_INLINES. + (__M81_MATH_INLINES): Renamed from __MATH_INLINES. + * sysdeps/m68k/fpu/e_acos.c: Define __NO_M81_MATH_INLINES. + * sysdeps/m68k/fpu/e_fmod.c: Likewise. + * sysdeps/m68k/fpu/k_cos.c: Likewise. + * sysdeps/m68k/fpu/k_sin.c: Likewise. + * sysdeps/m68k/fpu/k_tan.c: Likewise. + * sysdeps/m68k/fpu/s_atan.c: Likewise. + * sysdeps/m68k/fpu/s_frexp.c: Likewise. + * sysdeps/m68k/fpu/s_ilogb.c: Likewise. + * sysdeps/m68k/fpu/s_isinf.c: Likewise. + * sysdeps/m68k/fpu/s_ldexp.c: Likewise. + * sysdeps/m68k/fpu/s_modf.c: Likewise. + * sysdeps/m68k/fpu/k_cos.c: Use inline version of __cos. + * sysdeps/m68k/fpu/k_sin.c: Likewise. + * sysdeps/m68k/fpu/k_tan.c: Likewise. + +Mon Sep 9 12:55:14 1996 Ulrich Drepper + + * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): Check for + available character before converting number and return with + error if none is available. + +Fri Sep 6 22:09:08 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/init-first.h: New file, generic + implementation for architectures where parameters are passed on + stack. + * sysdeps/unix/sysv/linux/m68k/init-first.h: Removed. + * sysdeps/unix/sysv/linux/i386/init-first.h: Removed. + +Fri Sep 6 22:05:32 1996 Andreas Schwab + + * configure.in: Remove unneeded sysnames frobbing. + +Mon Sep 9 05:29:09 1996 Ulrich Drepper + + * time/zic.c: Update from ADO 96l. + * time/africa: Update from ADO 96k. + * time/antarctica: Likewise. + * time/asia: Likewise. + * time/australia: Likewise. + * time/europe: Likewise. + * time/northamerica: Likewise. + * time/southamerica: Likewise. + +Mon Sep 9 05:03:47 1996 NIIBE Yutaka + + * sysdeps/unix/sysv/linux/i386/init-first.h: Work around buggy + gcc <= 2.7.2.1 which optimizes away address operations on weak + objects. + + * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): New macro. + Like INT_FIELD but also accept non-existing field. + * shadow/sgetspent_r.c (LINE_PARSER): Use INT_FIELD_MAYBE_NULL + for last four fields. + * shadow/putspent.c (putspent): Print `:' after numeric value. + +Mon Sep 9 02:42:48 1996 Richard Henderson + + * libio/stdio.h (BUFSIZ): Define using _IO_BUFSIZ. + +Sun Sep 8 16:43:56 1996 Ulrich Drepper + + * Make-dist: Filter out $(add-ons) from $(subdirs). + Don't distribute TAGS files. + ($(tardir).tar): Remove dist.tar when all is done. + * manual/Makefile (distribute): Add libc.info*. + * libio/Makefile (distribute): Add Banner. + * inet/Makefile (headers): Add netinet/tcp.h. + + * resolv/Makefile (libresolv-routines): Add getnetnamadr. + + * crypt-README: Removed. + * gnu-stabs.h: Removed. + + * sysdeps/alpha/copysign.S: Renamed to... + * sysdeps/alpha/s_copysign.S: ...this. + * sysdeps/alpha/fabs.S: Renamed to... + * sysdeps/alpha/s_fabs.S: ...this. + + * sysdeps/m68k/isinfl.c: Renamed to... + * sysdeps/m68k/s_isinfl.c: ...this. + * sysdeps/m68k/isnanl.c: Renamed to... + * sysdeps/m68k/s_isnanl.c: ...this. + + * sysdeps/sparc/sqrt.c: Renamed to... + * sysdeps/sparc/e_sqrt.c: ...this. Function name now is + __ieee754_sqrt. + + * sysdeps/generic/get_str.c: Removed. + + * sysdeps/ieee754/cbrt.c: Removed. + * sysdeps/ieee754/drem.c: Removed. + * sysdeps/ieee754/logb.c: Removed. + * sysdeps/ieee754/sqrt.c: Removed. + + * sysdeps/stub/cbrt.c: Removed. + * sysdeps/stub/cos.c: Removed. + * sysdeps/stub/drem.c: Removed. + * sysdeps/stub/isinf.c: Removed. + * sysdeps/stub/isinfl.c: Removed. + * sysdeps/stub/isnanl.c: Removed. + * sysdeps/stub/logb.c: Removed. + * sysdeps/stub/sin.c: Removed. + * sysdeps/stub/sqrt.c: Removed. + + * sysdeps/tahoe/log10.c: Removed. + + * sysdeps/vax/index.s: Removed. + * sysdeps/vax/rindex.s: Removed. + * sysdeps/vax/bcmp.s: Removed. + * sysdeps/vax/log10.c: Removed. + * sysdeps/vax/infnan.c: Removed. + * sysdeps/vax/Dist: Add fl.h. + + * sysdeps/unix/sysv/linux/alpha/Dist: Add llseek.S. + + * inet/rcmd.c (rcmd): Make messages more uniform. + +Sun Sep 8 14:15:42 1996 Ulrich Drepper + + * po/de.po: Update. + * po/es.po: Update. + * po/ko.po: Update. + * po/pl.po: New file. + * po/nl.po: New file. + +Sat Sep 7 18:41:17 1996 Richard Henderson + + * Makeconfig (+link): Filter out start, pre & postinit from the + generic depenancies as well. + * Rules: Add start, pre & postinit to the dependancies of + $(others) and $(tests). + + * configure.in: elf_dirs missing "sysdeps" component. + +Sun Sep 8 02:36:02 1996 Ulrich Drepper + + * locale/SYS_libc.c (_libc_intl_domainname): Change value to "libc". + This is consistent with all other GNU packages. We shouldn't + take care for a possible clash. Nobody will name the domain + of a package libc if it is not the libc itself. + * MakeTAGS ($P/SYS_libc.pot): Rename to $P/libc.pot. + * po/Makefile (domainname): Change to libc. + (distribute): Now ship libc.pot. + * catgets/gencat.c (usage): Use `PACKAGE' for package name in + version information banner. + Change bug report address to bug-glibc@prep not @gnu. + * db/makedb.c (PACKAGE): New macro. Set to _libc_intl_domain. + (main): Use `PACKAGE' for package name in version information + banner. + Change bug report address to bug-glibc@prep not @gnu. + * locale/programs/locale.c (main): Use `PACKAGE' for package name + in version information banner. + Change bug report address to bug-glibc@prep not @gnu. + * locale/programs/localedef.c (main): Likewise. + + * version.h (VERSION): Bump to 1.94. + + * locale/Makefile (distribute): Add locale.c and localedef.c. + +Sat Sep 7 14:00:33 1996 David Mosberger-Tang + + * catgets/catgets.c (catopen): Allocate sizeof(*result) bytes + instead of sizeof(nl_catd) (which is just a pointer!). + +Sat Sep 7 19:39:19 1996 Ulrich Drepper + + * Makefile ($(objpfx)version-info.h): Generate from Banner files. + * version.c (banner): Add contents of version-info.h to string. + + * Makerules: If $($(subdir)-version) is available name versioned + shared library according to this value instead of glibc's version. + + * libio/Banner: New file. + + * elf/eval.c (funcall): Write error message in case function is + not found. + (eval): Recognize `_' in names. + +Sat Sep 7 05:15:45 1996 Ulrich Drepper + + * libio/iofdopen: Initialize _lock field only if _IO_MTSAFE_IO. + * libio/iofopen: Likewise. + * libio/iofopncook.c: Likewise. + * libio/iopopen.c: Likewise. + * libio/iovsprintf.c: Likewise. + * libio/iovsscanf.c: Likewise. + * libio/memstream.c: Likewise. + * libio/vasprintf.c: Likewise. + * libio/vdprintf.c: Likewise. + * libio/vsnprintf.c: Likewise. + +Sat Sep 7 03:55:47 1996 Ulrich Drepper + + * Makeconfig (soversions.mk): Also use shlib-versions files + in add-on directories. + * config.make.in (config-defines): Remove. Not used anymore. + (defines): New variable. Initiliazed by @DEFINES@. + * configure.in: Add AC_SUBST(DEFINES). + + * libio/Makefile (routines): When compiling reentrant libc add + clearerr_u, feof_u, ferror_u, fputc_u, getc_u, getchar_u, + iofflush_u, putc_u, putchar_u, ioflockfile. + (CPPFLAGS): Add -D_IO_MTSAFE_IO for reentrant libc. + + * sysdeps/stub/libc-lock.h: Add stubs for __libc_cleanup_region_start + and __libc_cleanup_region_end. + + * sysdeps/unix/i386/sysdep.S [_LIBC_REENTRANT]: Set errno + using __errno_location function. + * sysdeps/unix/sysv/linux/i386/sysdep.S [_LIBC_REENTRANT]: Set errno + using __errno_location function. + (__errno_location): New function. + * sysdeps/unix/sysv/linux/i386/sysdep.h [PIC]: Add second + syscall_error handler for reentrant libc. + + * sysdeps/unix/opendir.c: Remove unneeded `;'. + + * libio.h [_IO_MTSAFE_IO]: Include . + [!_IO_MTSAFE_IO]: Define _IO_flockfile and _IO_funlockfile + as empty macros. + * libioP.h: Include . + * libio/stdio.h: Add prototypes for *_locked and *_unlocked + functions. + + * libio/clearerr.c: Use _IO_ protected versions of flockfile + and funlockfile to be namespace clean. + + * libio/genops.c: Use __libc_lock_* macros for handling lock. + + * libio/iofdopen: Add initialization of _lock in _IO_FILE. + * libio/iofopen: Likewise. + * libio/iofopncook.c: Likewise. + * libio/iopopen.c: Likewise. + * libio/iovsprintf.c: Likewise. + * libio/iovsscanf.c: Likewise. + * libio/memstream.c: Likewise. + * libio/vasprintf.c: Likewise. + * libio/vdprintf.c: Likewise. + * libio/vsnprintf.c: Likewise. + + * libio/fgetc.c: Use __libc_cleanup_region_* macros instead + of flockfile etc. + * libio/fputc.c: Likewise. + * libio/freopen.c: Likewise. + * libio/fseek.c: Likewise. + * libio/getc.c: Likewise. + * libio/getchar.c: Likewise. + * libio/iofclose.c: Likewise. + * libio/iofflush.c: Likewise. + * libio/iofgetpos.c: Likewise. + * libio/iofgets.c: Likewise. + * libio/iofputs.c: Likewise. + * libio/iofread.c: Likewise. + * libio/iofsetpos.c: Likewise. + * libio/ioftell.c: Likewise. + * libio/iofwrite.c: Likewise. + * libio/iogetdelim.c: Likewise. + * libio/iogets.c: Likewise. + * libio/ioputs.c: Likewise. + * libio/iosetbuffer.c: Likewise. + * libio/iosetvbuf.c: Likewise. + * libio/ioungetc.c: Likewise. + * libio/putc.c: Likewise. + * libio/putchar.c: Likewise. + * libio/rewind.c: Likewise. + * stdio-common/vfprintf.c: Likewise. + * stdio-common/vfscanf.c: Likewise. + + * libio/clearerr_u.c: Correct alias name. + * libio/ferror_u.c: Likewise. + * libio/fileno.c: Likewise. + * libio/fputc_u.c: Likewise. + * libio/getc.c: Likewise. + * libio/getc_u.c: Likewise. + * libio/getchar.c: Likewise. + * libio/getchar_u.c: Likewise. + * libio/putc.c: Likewise. + * libio/putchar.c: Likewise. + + * libio/feof_u.c: Undefine macro with name of function before + definition of function itself. + + * libio/ioflockfile.c: New file. Implementation of flockfile and + funlockfile. + + * libio/putchar_u.c: Fix typo. Use stdout instead of fp. + + * malloc/malloc.h: Don't include and don't declare + _malloc_loc. + + * malloc/free.c: Include . + * malloc/realloc.c: Likewise. + * malloc/malloc-find.c: Likewise. + * malloc/malloc-size.c: Likewise. + * malloc/malloc-walk.c: Likewise. + * malloc/memalign.c: Likewise. + * malloc/malloc.c: Likewise. + + * sysdeps/i386/dl-machine.h: Correct clearing of _dl_starting_up. + +Fri Sep 6 19:38:49 1996 Ulrich Drepper + + * sysdeps/stub/libc-lock.h: Define __libc_lock_critical_start + and __libc_lock_critical_end as empty macros. + + * malloc/malloc.h: Don't include and don't declare + __libc_malloc_lock. + * malloc/free.c: Include . + * malloc/malloc-find.c: Likewise. + * malloc/malloc-size.c: Likewise. + * malloc/malloc-walk.c: Likewise. + * malloc/malloc.c: Likewise. + * malloc/memalign.c: Likewise. + * malloc/realloc.c: Likewise. + + * Makefile: Undo change from Mon Sep 2 22:15:14 1996. No more + extra_solibs pass. + * Rules: Likewise. + * extra-lib.mk: Likewise. + * manual/Makefile: Likewise. + + * db/Makefile (makedb): Choose dependecies based on build-shared. + Patch by Andres Schwab. + + * sysdeps/posix/sysconf.c: Don't use PTHREAD_DESTRUCTOR_ITERATIONS + but _POSIX_THREAD_DESTRUCTOR_ITERATIONS. + + * sysdeps/unix/sysv/linux/errnos.h: New file. + * sysdeps/unix/sysv/linux/schedbits.h: New file. + * sysdeps/unix/sysv/linux/waitflags.h: New file. + + * sysdeps/unix/sysv/linux/gnu/types.h: Add definition of `key_t'. + +Fri Sep 6 08:26:31 1996 Andreas Schwab + + * rpm/template: Fix typo in %build section. + +Fri Sep 6 03:31:07 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/errnos.h: Don't define errno macro when + building libc without thread support. + * resolv/netdb.h: Likewise for h_errno macro. + +Thu Sep 5 23:01:48 1996 Ulrich Drepper + + * libc-symbols.h: Add new macro weak_const_function. It's like + weak_function, but the function is additionally marked as const. + * features.h: Only include if !__ASSEMBLER__. + +Thu Sep 5 22:55:49 1996 Richard Henderson + + * inet/herrno.c (__h_errno_location): New function. + (h_errno): Make strong_alias __h_errno so that we can access + the variable even if `h_errno' is a macro. + * resolv/netdb.h: Define macro h_errno to access thread specific + version of h_errno variable. Declare alias __h_errno for h_errno. + * resolv/res_query (h_errno): Remove definition. + * sysdeps/unix/sysv/linux/errnos.h [!__ASSEMBLER__ && __USE_REENTRANT]: + Add macro `errno' to get thread specific variable. + * sysdeps/unix/alpha/sysdep.S [_LIBC_REENTRANT]: Set errno using + __errno_location function. + (__errno_location): New function. + +Thu Sep 5 21:08:44 1996 Ulrich Drepper + + * posix/gnu/types.h: Remove definition of key_t. + * sysdeps/generic/gnu/types.h: Move it to here. + * sysdeps/unix/sysv/linux/gnu/types.h: Add Linux specific + definition of key_t. + + * sysdeps/unix/sysv/linux/waitflags.h: New file. Linux specific + definitions. + * sysdeps/unix/sysv/linux/schedbits.h: New file. Include + clone prototypes and associated flags. + +Thu Sep 5 08:58:47 1996 Richard Henderson + + * sysdeps/alpha/elf/start.S: Make _start global again. + +Thu Sep 5 13:18:25 1996 Thomas Bushnell, n/BSG + + * sysdeps/mach/hurd/i386/init-first.c (__libc_argc, __libc_argv): + New variables. + (init1): Initialize them. + * hurd/hurdinit.c (_hurd_setproc): Now that happens to be + available, pass __libc_argv in call to __proc_set_arg_locations. + + * gmon/gmon.c (write_hist): Call __profile_frequency instead of + hertz. + (hertz): Delete function. + * gmon/Makefile (routines): Add `prof-freq'. + * sysdeps/generic/prof-freq.c: New file. + * sysdeps/mach/hurd/prof-freq.c: New (stubby) file. + * sysdeps/mach/hurd/profil.c (profile_tick): New variable. + (update_waiter): Store frequency in profile_tick. + (__profile_frequency): New function. + + * sysdeps/mach/hurd/sendto.c (sendto): Use prototype definition + syntax. + + * Rules (generated): Restore reference to $(generated). + + * mach/Machrules (mig.uh, mig.__h): Don't include $(user-MIGFLAGS) + here. + + * malloc/free.c (free): __lib_malloc_lock -> __libc_malloc_lock. + + * malloc/free.c: Provide extern decl of __libc_malloc_lock. + * malloc/realloc.c: Likewise. + * malloc/malloc-find.c: Likewise. + * malloc/malloc-size.c: Likewise. + * malloc/malloc-walk.c: Likewise. + * malloc/memalign.c: Likewise. + +Thu Sep 5 03:20:42 1996 Ulrich Drepper + + Change configuration and Makefiles to allow add-ons to have a + sysdeps/ directory hierachy. + * configure.in: Test for sysdeps/ directory in add-ons. Before + all test and searches in these hierachies, too. + * Makeconfig (full-config-subdirs): Define based on $(config-sysdirs). + Extend with $(..) if not absolute path. + Use $(full-config-subdirs) where $(config-sysdirs) was used. + * Makefile ($(objpfx)sysd-dirs): Use config-sysdirs. + * MakeTAGS: Use $(full-config-subdirs). + * Makerules: Change comment to libc.so link script. + (sysdirs): Define based on $(full-config-subdirs). + (sysd-Makefile): Define using config-sysdirs. + (sysd-rules): Likewise. + * sysdeps/unix/Makefile (sysd-syscalls): Define based on +sysdep-dirs. + * sysdeps/unix/make-syscalls.sh: Remove basedir argument. + +Wed Sep 4 01:32:21 1996 Andreas Schwab + + * sysdeps/m68k/fpu/k_cos.c: Rewritten for better accuracy. + * sysdeps/m68k/fpu/k_sin.c: Likewise. + * sysdeps/m68k/fpu/k_tan.c: Likewise. + +Thu Sep 5 01:06:09 1996 Richard Henderson + + * malloc/free.c (free): Protect by using __libc_malloc_lock. + * malloc/malloc-find.c (malloc_find_object_address): Likewise. + * malloc/malloc-size.c (malloc_usable_size): Likewise. + * malloc/malloc-walk.c (malloc_walk): Likewise. + * malloc/memalign.c (memalign): Likewise. + * malloc/realloc.c (realloc): Likewise. + * malloc/malloc.c: Define __libc_malloc_lock. + (_malloc_internal): Don't use `malloc'. Instead look for + `__malloc_hook' or call `_malloc_internal'. + (malloc): Protect by using `__libc_malloc_lock'. + * malloc/malloc.h: Declare `__libc_malloc_lock'. + +Mon Sep 2 22:42:59 1996 Richard Henderson + + * sysdeps/alpha/elf/start.S: Use weak_alias for __start + instead of the hard definition. + + * sysdeps/alpha/dl-machine.h (RTLD_START): Add type info for + _start and _dl_start_user. + + * sysdeps/unix/sysv/linux/alpha/init-first.h (SYSDEP_CALL_INIT): + Make _dl_starting_up weak. Add type info for NAME. + +Mon Sep 2 22:15:14 1996 Richard Henderson + + * Makefile (all): Add extra_solibs pass. + (+subdir_targets): Same. + * Rules (extra_solibs): New phony empty target for subdirs without + extra libs. + * extra-lib.mk: Build lib*.so* in extra_solibs not lib-noranlib. + * manual/Makefile: Add dummy extra_solibs target. + +Sun Sep 1 15:41:22 1996 Richard Henderson + + * Makeconfig (+link): Add $(link-extra-libs). + (link-extra-libs): New variable which expands to the full paths of + the other libraries needed by a program, as controled by LDLIBS-$(@F). + * db/Makefile: Use LDLIBS-makedb to link libdb not a dependency, as + the later attempts to install the library before linking it. + + * sysdeps/unix/alpha/sysdep.S: Align errno. + + * sysdeps/unix/sysv/linux/alpha/ioperm.c (struct platform): Add + hae_shift entry. + (io): Move bus_memory_base and sparse_bus_memory_base into struct. + (_hae_shift): New function. + * sysdeps/unix/sysv/linux/alpha/sys/io.h: New file. Prototypes + for the bus query functions. + +Sat Aug 31 18:14:54 1996 Richard Henderson + + * elf/dl-close.c (_dl_close): In static executables, map->l_prev + can be NULL when unloading a library. + + * elf/dl-open.c (_dl_open): Pass __environ instead of __libc_envp + to the library .init function. + + * sysdeps/alpha/dl-machine.h (elf_machine_rela): Since we omitted + part of the COPY reloc processing earlier, omit the rest now -- + we'll get into less trouble later when some fool does use a COPY. + + * sysdeps/unix/sysv/linux/init-first.c (init): Accept argc et al as + parameters. Move all argc and __libc_multiple_libcs calculation out + to init-first.h. Use __environ not __libc_envp. + * sysdeps/unix/sysv/linux/alpha/init-first.h: Rewrite. + * sysdeps/unix/sysv/linux/i386/init-first.h: Rewrite. + +Thu Aug 29 20:26:40 1996 Andreas Schwab + + * sysdeps/posix/profil.c (profil): Don't clobber saved timer and + signal settings when profiling was already turned on. + + * csu/gmon-start.c (__gmon_start__) [HAVE_INITFINI]: Protect from + being called twice. + +Wed Sep 4 01:31:50 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/mmap.S: Test for + 0 < return value < -4096 and not < 0 to decide about failure. + Reported by Andreas Jaeger. + +Tue Sep 3 19:04:05 1996 Ulrich Drepper + + * stdio-common/vfscanf.c (__vfscanf): Don't count EOF char + in %c format. + +Sat Aug 31 18:10:51 1996 Ulrich Drepper + + * wcsmbs/wchar.h: Define prototypes for wcstoq and wcstouq only + #ifdef __USE_GNU. + +Sat Aug 31 12:34:29 1996 Ulrich Drepper + + * version.c: Add missing newline character in banner. + + * sysdeps/unix/sysv/linux/alpha/Dist: Correct typo. + * sysdeps/unix/sysv/linux/i386/Dist: Likewise. + +Sat Aug 31 03:07:39 1996 Ulrich Drepper + + * intl/l10nflist.c (_nl_normalize_codeset): We convert to lower + case, so don't prepend uppercase `ISO' for only numeric arg. + +Wed Sep 4 16:16:13 1996 Ulrich Drepper + + * sysdeps/mach/hurd/send.c (__send): De-ANSI-fy. + * sysdeps/mach/hurd/sendto.c (sendto): Likewise. + +Tue Sep 3 11:16:07 1996 Thomas Bushnell/ n/BSG + + * shadow/lckpwdf.c (__ulckpwdf): Don't take address of LOCK in + call to __libc_lock_lock. + + * sysdeps/mach/hurd/send.c (__send): Declare BUF const. + * sysdeps/mach/hurd/sendto.c (sendto): Likewise. + + * sysdeps/stub/ustat.c: Include . + + * misc/syslog.c (vsyslog): Fix typo (`mow_tm' -> `now_tm'). + +Fri Aug 30 19:55:27 1996 Ulrich Drepper + + * libio/genops.c: Make _cleanup an alias of _IO_cleanup. + Reported by Erik Troan. + +Fri Aug 30 15:40:04 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/Dist: Add sys/procfs.h and + sys/sysmacros.h. Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>. + +Fri Aug 30 13:53:32 1996 Andreas Jaeger + + * sysdeps/unix/mman/syscalls.list: `mmap' has 6 arguments, not 5. + +Fri Aug 30 13:01:10 1996 NIIBE Yutaka + + * sysdeps/i386/fpu/__math.h (tan): Pop 1.0 in ST to get + real result. + +Fri Aug 30 03:33:33 1996 Ulrich Drepper + + * sysdeps/libm-ieee754/s_cbrtl.c: New file. `long double' + implementation. + +Fri Aug 30 13:39:21 1996 Thomas Bushnell, n/BSG + + * Makerules (BUILD_CFLAGS): Use @(common-objpfx) for config.h, not + $(..). Some rules (like sysdeps/posix/Makefile for mk-stdiolim) + do `cd' commands. + (sed-remove-objpfx): Don't substitute for $(objpfx) anymore; + $(common-objpfx) is good enough. + * Rules (common-generated): Provide default (empty) value. + (dummy.o, dummy.c, empty.o, empty.c): Put these in + $(common-generated), not $(generated), and without $(..). + (subdir_echo-distinfo): Treat $(common-generated) just like + $(generated). + (generated): Depend on the (suitably mutated) $(common-generated) + files too. + * Makerules (common-clean): Remove common-generated files too. + * sysdeps/mach/hurd/Makefile (generated): Don't put errnos.d and + stamp-errnos here. + (common-generated): Do put errnos.d and stamp-errnos here. + (rpath-link): Don't use +=; $(rpath-link) is a colon separated list. + + * sysdeps/mach/hurd/Makefile (before-compile): Add auth; also add + auth to following rule to get it built. + +Fri Aug 30 01:26:44 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/Dist: Add clone.S. + * sysdeps/unix/sysv/linux/m68k/Dist: Likewise. + * sysdeps/unix/sysv/linux/alpha/Dist: Likewise. + + * version.c: Add comment about where to report bugs to. + * catgets/gencat.c (usage): Likewise. + * db/makedb.c (usage): Likewise. + * locale/programs/locale.c (usage): Likewise. + * locale/programs/localedef.c (usage): Likewise. + + * manual/socket.texi: A little bit better wording. + +Thu Aug 29 18:03:06 1996 Ulrich Drepper + + * Makerules: Make sure directory exists before generating stamp file. + (BUILD_CFLAGS): Always refer to using $(..). + * manual/Makefile: Make sure directory exists before generating + stamp file. + (make-target-directory): Add macro definition. + * sysdeps/generic/Makefile: Make sure directory exists before + generating stamp file. + + * Makefile (distribute): Add autolock.sh. Reported by Fila Kolodny. + +Tue Aug 27 10:06:22 1996 Andreas Schwab + + When compiling in separate directory put objects into + subdirectories matching the source layout. + * Makeconfig (objpfx) [ifdef objdir]: Append $(subdir). + When looking for configparms try in $(common-objpfx). + Use $(common-objpfx)SUBDIR to find objects from other subdirectory + builds. + * Makerules: Add $(objpfx) to vpath list. + (make-dummy-dep): Use $(common-objpfx) to avoid creating dummy.d + more than once. All uses in dependency lists changed. + (+make-deps): Make target directory. + (sed-remove-objpfx): Substitute $(common-objpfx). + (do-ar, build-extra-lib, $(common-objpfx)stub-$(subdir)): Use + $(objpfx) instead of $(objdir) for cd command. + (O%-lib): Always find libc relative to $(..). + (subdir-stamps): Collect stamp files from subdirs. + (common-mostlyclean): Remove stub file in $(common-objpfx). + * MakeTAGS ($P/siglist.pot): Find siglist.c in stdio-common. + * Rules (dep-dummy-lib): Use $(common-objpfx) to avoid creating to + more than once. + ($(objpfx)dummy.c, $(objpfx)empty.c): Change target name to use + $(common-objfpx). All uses in dependency lists changed. + (generated): Prepend $(..) to names. + * bare/Makefile ($(objpfx)lib$(config-vendor).a): Remove $(objpfx) + from $@. + * nss/Makefile ($(objpfx)libnss_dns.so, $(objpfx)libnss_db.so): + Use $(common-objpfx) instead of $(..) in dependencies. + * sysdeps/mach/Makefile (mach-objpfx): Unconditionally use + $(common-objpfx) instead of $(..) and (objpfx). + * sysdeps/mach/hurd/Makefile (hurd-objpfx): Likewise. + (rpath-link): Likewise. + (rpcuserlibs): Likewise. + * sysdeps/unix/Makefile [$(subdir) = stdio-common]: Check for + errlist.c in $(objpfx), not $(common-objpfx). + ($(common-objpfx)s-proto.d): Special rule not covered by pattern + rule. + * sysdeps/unix/make-syscalls.sh: Make syscall rules depending on + s-proto.d in $(common-objpfx), not $(objpfx). + +Thu Aug 29 17:45:49 1996 Ulrich Drepper + + * nss/nsswitch.c (nss_dlerror_run): Free returned error + string. + +Thu Aug 29 15:53:33 1996 Ulrich Drepper + + * sysdeps/libm-ieee754/e_acoshl.c: New file. `long double' + implementation. + * sysdeps/libm-ieee754/e_atanhl.c: Likewise. + * sysdeps/libm-ieee754/e_remainderl.c: Likewise. + * sysdeps/libm-ieee754/e_scalbl.c: Likewise. + * sysdeps/libm-ieee754/s_asinhl.c: Likewise. + * sysdeps/libm-ieee754/s_cosl.c: Likewise. + * sysdeps/libm-ieee754/s_sinl.c: Likewise. + * sysdeps/libm-ieee754/s_tanhl.c: Likewise. + * sysdeps/libm-ieee754/s_tanl.c: Likewise. + +Thu Aug 29 00:28:08 1996 Ulrich Drepper + + * stdio-common/printf_fp.c (__printf_fp): Use default value '.' if + `decimal' char is 0. + + * C-numeric.c (not_available): New constant. + (_nl_C_LC_NUMERIC): Use `not_available' for grouping value. + + * nss/nsswitch.conf: Example configuration file. + * nss/db-Makefile: Example Makefile for generation of databases + for nss_db. + * nss/Makefile (distribute): Add nsswitch.conf and db-Makefile. + +1996-08-28 Paul Eggert + + * C-messages.c (_nl_C_LC_MESSAGES): Set yesexpr to "^[yY]" and + noexpr to "^[nN]"; this conforms to POSIX.2. + + * C-time.c (_nl_C_LC_TIME): Change %d to %e in d_t_format, to + conform to POSIX.2. + +1996-08-28 Paul Eggert + + * C-monetary.c (not_available): New constant. + (_nl_C_LC_MONETARY): Set mon_decimal_point to "", and set + mon_grouping, int_frac_digits, frac_digits, p_cs_precedes, + p_sep_by_space, n_cs_precedes, n_sep_by_space, p_sign_posn, and + n_sign_posn to CHAR_MAX, as required by the POSIX Standard. + +Wed Aug 28 23:12:28 1996 Ulrich Drepper + + * nss/nss_db/db-XXX.c: Correct function names. They must be + `_nss_db_*' instead of `_nss_files_*'. + (lookup): `parse_line' returns 1 if succesful. + * nss/nss_files/files-service.c (servbyname): Key for database + must also contain protocol names. + (servbypt): Likewise. + Test must also check for protocol. Add `proto' argument. + +Tue Aug 27 09:56:13 1996 Andreas Schwab + + * MakeTAGS ($P/subdirs.pot): Prefix all file names, not only the + first one. + +Tue Aug 27 17:45:21 1996 Ulrich Drepper + + * Makerules: Add some test for correct version of GNU Make. + + * io/fcntl.h: Undo change from Mon Aug 26 22:22:17 1996. + * sysdeps/unix/sysv/linux/fcntlbits.h: Place macros here instead. + + * sysdeps/generic/dl-sysdep.c: Initialize break address to + avoid overwriting last page (OK, Roland). + +Tue Aug 27 16:20:37 1996 Ulrich Drepper + + * resolv/resolv.h: Update from BIND-4.9.5-T3A. + * resolv/arpa/nameser.h: Likewise. + * resolv/res_init.c: Likewise. + * resolv/res_debug.c: Likewise. + * resolv/res_mkquery.c: Likewise. + +Tue Aug 27 15:47:04 1996 Ulrich Drepper + + * elf/dl-error.c (catch): Define errstring element not as const. + (_dl_catch_error): ERRSTRING argument is not const pointer. + Initialize *ERRSTRING and *OBJNAME separately. + * elf/link.h: Change prototype for `_dl_catch_error'. + + * elf/dl-load.c (_dl_map_object): Use separate variable for + copied NAME to avoid `const' warning. + + * elf/dlerror.c: Make `last_errstring' variable not const pointer. + + * elf/rtld.c: Implement reading of /etc/ld.so.preload. This + provides preloading even for SUID binaries. + Add some more casts to avoid signed<->unsigned warnings. + +Tue Aug 27 15:40:28 1996 NIIBE Yutaka + + * posix/sys/types.h: Define loff_t. + * sysdeps/unix/sysv/linux/gnu/types.h: Define __loff_t. + +Mon Aug 26 22:22:17 1996 Ulrich Drepper + + * io/fcntl.h: Add definition for BSD F* macros. + + * misc/init-misc.c (__init_misc): Make static. + * misc/Makefile: Pass -fkeep-inline-functions flag for init-misc.c. + + * configure.in: Add test for -fno-exception option of gcc. + * config.make.in: Add definition of have-no-exceptions. + * Makerules: Define no-exceptions based on have-no-exceptions. + * csu/Makefile: When translating initfini.c pass $(no-exceptions). + This is necessary for gcc >= ss-960816. + +Mon Aug 26 17:16:48 1996 Richard Henderson + + * sysdeps/alpha/dl-machine.h: Clear startup flag. + +Fri Aug 16 21:17:50 1996 Andreas Schwab + + * Makerules (o-iterator-doit): Simplify reference to autolock + script. + +Sat Aug 24 15:27:41 1996 Andreas Schwab + + * sysdeps/mach/hurd/getcwd.c + (_hurd_canonicalize_directory_name_internal): After resizing the + buffer move the current contents to the end. Correctly relocate + file name pointer to upper half of the buffer. + +Mon Aug 26 15:49:59 1996 Ulrich Drepper + + * rtld.c (dl_main): Remove code to call ld.so initializer. This + was introduced for compatibility with Linux ld.so and would not + be used anymore. Now we don't have any good values to use as the + parameters to the initializer so simply remove it. + +Sun Aug 25 18:25:52 1996 Andreas Schwab + + * gmon/gmon.c (ERR): Don't write the terminating NUL. + + * sysdeps/posix/profil.c (profil): Disable the profiling timer at + first. + (profil_count): Use 64 bit arithmethic to avoid overflow. + + * sysdeps/generic/machine-gmon.h (MCOUNT): Fix argument order. + +Mon Aug 26 16:31:33 1996 Thomas Bushnell, n/BSG + + * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Tolerate NEW + being null; in that case don't touch the timer at all (but do + return something in OLD if necessary). + +Mon Aug 26 13:35:16 1996 Thomas Bushnell, n/BSG + + * sysdeps/mach/hurd/i386/init-first.c (__libc_multiple_libcs): New + variable. + * sysdeps/i386/init-first.c: Likewise. + * sysdeps/stub/init-first.c: Likewise. + +Mon Aug 26 02:01:37 1996 Ulrich Drepper + + * elf/dl-open.c (_dl_open): Call library initializer with + correct command line arguments and environment information. + * elf/rtld.c (dl_main): Provide arguments to initializer of + ld.so itself. + +Sun Aug 25 19:15:46 1996 Ulrich Drepper + + * shadow/Makefile (routines): Add lckpwdf. + * shadow/lckpwdf.c: New file. + + * sysdeps/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Force + argument `cw' to be placed in memory. Patch by Torbjorn Granlund. + +Sun Aug 25 12:53:37 1996 Ulrich Drepper + + * configure.in: Add definition for `__eh_pc' and `__throw' in + test for --no-whole-archive. The compiler generates dependencies + for this but none of the standard librares and startup files + are used. Necessary for gcc >= ss-960816. + +Sun Aug 25 01:31:33 1996 Ulrich Drepper + + * elf/dl-error.c (_dl_signal_error): If error is catched, malloc + return string since string might be on stack. + * elf/dl-lookup.c (_dl_lookup_symbol): Undo change of + Wed Aug 21 10:14:59 1996. + * elf/dlerror.c (dlerror): Free error string after printing. + (_dlerror_run): If error string was not printed since last error + free string. + * rtld.c (dl_main): Free error string in case of error. + +Sat Aug 24 03:16:47 1996 Ulrich Drepper + + * misc/syslog.c (vsyslog): Don't use `localtime' or `gmtime' since + this changes the global state for `localtime' and `gmtime'. Use + `__localtime_r'/`__gmtime_r' instead. + * resolv/res_debug.c (__p_secstodate): Likewise. + * sysdeps/generic/ftime.c: Likewise. + * sysdeps/posix/gettimeofday.c: Likewise. + Reported by Paul Eggert. + + * time/gmtime.c: De-ANSI-fy. + * time/strftime.c: Don't call non-reentrant functions which change + state. + +Wed Aug 21 10:14:59 1996 Richard Henderson + + * elf/dl-lookup.c (_dl_lookup_symbol): Malloc the error string rather + than putting it on the stack. + +Wed Aug 21 10:12:42 1996 Richard Henderson + + * elf/rtld.c (dl_main): When looking up symbols in response to --list, + don't find .plt entries. + +Mon Aug 19 23:18:12 1996 Andreas Schwab + + * sysdeps/m68k/dl-machine.h (RTLD_START): Optimize clearing + _dl_starting_up. + +Tue Aug 20 17:42:10 1996 Miles Bader + + * stdio/linewrap.c (line_wrap_stream): Initialize D->seek. + +Sat Aug 17 12:19:37 1996 David Mosberger-Tang + + * login/pututline_r.c (__pututline_r): Fix handling of case where + getutid_r() fails with ESRCH. Reported by Miquel van Smoorenburg. + +Wed Aug 14 14:10:54 1996 David Mosberger-Tang + + * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Change entry + for "Jensen" so _bus_base() returns 0 on that platform. Use + _bus_base_sparse() to determine base address of sparse memory. + + * sysdeps/unix/sysv/linux/sys/io.h: Enclose #include + and declarations in __BEGIN_DECLS/__END_DECLS. + +Sun Aug 18 13:37:09 1996 Ulrich Drepper + + * err.h: New file. Wrapper around misc/err.h. + + Correct solution of multiple initialization problem by + Roland McGrath. + * csu/initfini.c: Remove global variable __libc_is_static. + * elf/rtld.c: Introduce new global variable _dl_starting_up. + It's nonzero during the startup. + * elf/dl-open.c (_dl_open): When _dl_start function is not + available (i.e., if in static libc) set `__libc_multiple_libcs' + to nonzero value. + * sysdeps/unix/sysv/linux/init-first.c (__libc_multiple_libc): + New global variable. + (init): Undo change of Fri Aug 2 03:12:40 1996. + Initialize `__libc_multiple_libcs' to nonzero only if this is + a shared lib called from a statically linked program and don't + call `personality' and `setfpucw' in this case either. + * sysdeps/generic/sbrk.c: Undo change of Fri Aug 2 03:12:40 1996. + Don't call brk(0) until `__libc_multiple_libcs' is nonzero. + * sysdeps/i386/dl-machine.h (RTLD_START): Clear _dl_starting_up + before jumping to user code. + * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise. + +Fri Aug 16 04:59:01 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/init-first.c: Remove hack from + Thu Aug 8 12:40:20 1996. + * sysdeps/unix/sysv/linux/Makefile [$(subdir) = csu]: Use + -fkeep-inline-functions flag instead. + +Fri Aug 16 01:24:33 1996 Ulrich Drepper + + * inet/ruserpass.c (userpass): Allocate buffer for .netrc file + name dynamically. Reported by Alan Cox. + Uncomment warnings and mark as translatable. + + * time/strftime (strftime): Add implementation for %s and %z + format. Change behaviour for unknown format character: now + simply print it. This matches the behaviour of printf. + Reported by Jim Meyering. + * manual/time.texi: Document all formats and flags of strftime. + +Thu Aug 15 18:02:51 1996 Ulrich Drepper + + * elf/rtld.c (dl_main): Loaded object has type lt_executable, + not lt_library. + + * misc/sys/select.h: Define fd_set using typedef, not #define. + Proposed by David Mosberger-Tang. + +Thu Aug 15 12:48:21 1996 Ulrich Drepper + + * po/header.pot: Use real description line. + +Thu Aug 15 04:42:44 1996 Ulrich Drepper + + * elf/rtld.c (dl_main): When started with --verify prevent + any warning. Just exit with an error. + * elf/ldd.sh.in: Don't run given object directly. This fails for + libraries. Instead use $RTLD again. + +Thu Aug 15 02:08:59 1996 Ulrich Drepper + + * manual/nss.texi: New file. Document NSS. + * manual/nsswitch.texi: New file. Example configuration. + + * manual/string.texi: Document stpncpy, strdupa, and strndupa. + * manual/example/strdupa.c: New file. Example for strdupa. + +Wed Aug 14 21:36:16 1996 Ulrich Drepper + + * stdlib/strtod.c (STRTOD): Correct assertion about size of + wint_t and wchar_t. Reported by David Mosberger-Tang. + +Mon Aug 12 22:40:16 1996 Andreas Schwab + + * elf/dl-lookup.c (_dl_lookup_symbol): Remove fifth parameter + RELOC_ADDR and make NOPLT a set of flags. All callers + changed. Delete condition that checks for resolving to the + location being filled in. Add condition to skip the + executable's symbols if requested. + * elf/link.h: Change declaration of _dl_lookup_symbol + accordingly. + (DL_LOOKUP_NOEXEC, DL_LOOKUP_NOPLT): New definitions. + * elf/dl-reloc.c (RESOLVE): Remove second parameter and rename + NOPLT to FLAGS. + * elf/dl-runtime.c (RESOLVE): Likewise. + * elf/rtld.c (RESOLVE): Likewise. + * sysdeps/m68k/dl-machine.h (elf_machine_rela): Pass + DL_LOOKUP_NOEXEC as second argument to the RESOLVE macro if + processing a copy reloc, DL_LOOKUP_NOPLT for a jump slot + reloc, zero otherwise. + * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. + * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise. + +Wed Aug 14 17:57:08 1996 Ulrich Drepper + + * MakeTAGS: Clean up use of --omit-header and -n for xgettext. + * po/header.pot: Add empty line at end. + +Sun Aug 11 13:45:33 1996 Andreas Schwab + + * MakeTAGS (all-pot): Remove $P/errlist.pot, all error messages + are now in $P/stdio-common.pot. + (XGETTEXTFLAGS-errlist.pot): Variable removed. + +Mon Aug 12 19:25:03 1996 Andreas Schwab + + * Makerules (do-ar, o-iterator-doit): Compute path to autolock + script at run time, not configure time. + * config.make.in, configure.in: Undo previous change. + +Wed Aug 14 13:20:02 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/close.S: Push return value of thread + on stack as argument for `_exit'. Reported by Andreas Schwab. + +Mon Aug 12 19:36:25 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/clone.S: New file. + +Wed Aug 14 04:22:35 1996 Richard Henderson + + * elf/dl-load.c (_dl_map_object): Save name in malloced memory. + (_dl_map_object_from_fd): Free name on error. + +Wed Aug 14 13:00:09 1996 Ulrich Drepper + + * string/strdup.c: Use result of memcpy to avoid reloading. + +Tue Aug 13 00:55:03 1996 Andreas Schwab + + * shadow/sgetspent_r.c (__sgetspent_r): Copy string to buffer, not + the other way round. + +Tue Aug 13 20:51:21 1996 Ulrich Drepper + + * stdlib/canonicalize.c (canonicalize): Add cast to prevent + warning. + + * Makerules (o-iterator-doit): Use autolock.sh when running ranlib. + +Tue Aug 13 18:26:45 1996 Ulrich Drepper + + * nss/nsswitch.c (__nss_configure_lookup): Use fact that list is + sorted. + + Update from bind-4.9.5-T1A. + * resolv/Makefile (libresolv-routines): Add base64, inet_net_ntop, + inet_net_pton, inet_net. + + * resolv/gethnamaddr.c: Include . + * resolv/getnetnamadr.c: Likewise. + * resolv/herror.c: Likewise. + * resolv/inet_addr.c: Likewise. + * resolv/nsap_addr.c: Likewise. + * resolv/res_comp.c: Likewise. + * resolv/res_data.c: Likewise. + * resolv/res_init.c: Likewise. + * resolv/res_mkquery.c: Likewise. + * resolv/res_query.c: Likewise. + * resolv/res_send.c: Likewise. + + * resolv/gethnamaddr.c [! SPRINTF_CHAR] (SPRINTF): Cast return + value of sprintf. + * resolv/inet_ntop.c: Likewise. + + * resolv/gethnamaddr.c [BSD]: Include . + Remove prototype of gethostbyname_ipv4. + + * resolv/inet_ntop.c, resolv/inet_pton.c: Use ISO C `mem*' + functions instead of BSD `b*' functions. + + * resolv/nsap_addr.c: Add copyright message. + + * resolv/res_comp.c: Remove comment explaining label format. + (res_mailok): Correct check. + + * resolv/res_debug: Include missing headers. + (__fp_nquery): Handle `unused', `ad', and `cd' bits. + (__p_fqnname): New function to print FQDN from compressed name. + (__p_rr): Use __p_fqnname. Correct printing of ". Handle T_TXT + correctly. Add handling of T_KEY and T_SIG. + Handle class and type names by using name arrays instead of + explicit `switch'es. + (__sym_ston, __sym_ntos, __sym_ntop): New functions to use arrays. + (__dn_count_labels, __p_secstodate): New functions. + + * resolv/resolv.h (__RES): Update version number. + (res_sym): New type. + Add #defines for new functions. + Declare sym_ntos, sym_ntop, b64_ntop, b64_pton, __p_fqnname, + __p_secstodate, dn_count_labels. + + * resolv/arpa/nameser.h (__BIND): Update version number. + Add KEYFLAG_* and ALGORITHM_* symbols. + (HEADER): Add `ad' and `cd' flags. + + * inet/ient.h: Add prototypes for inet_neta, inet_net_ntop, + and inet_net_pton. + + * manual/maint.texi: Document that we use bind-4.9.5. + * INSTALL: Ditto. + +Mon Aug 12 19:03:22 1996 Thomas Bushnell n/BSG + + * sysdeps/generic/gnu/types.h: Declare __fd_mask as `unsigned long'. + + * mach/Makefile (mach/mach_host.uh): Depend on + $(objpfx)/mach-syscalls.mk. + ($(objpfx)mach-shortcuts.h): Depend on $(objpfx)mach/mach_host.h. + (This fixes a make loop; thanks to Marcus Daniels + for the patch.) + +Mon Aug 12 16:41:52 1996 Thomas Bushnell n/BSG + + * io/getwd.c (getwd) [! PATH_MAX]: Don't assume that the user's + buffer is any longer than the amount necessary to hold the + filename; the Hurd getcwd uses the *entire* contents of the + buffer, however long it is specified to be. + +Mon Aug 12 04:33:09 1996 Ulrich Drepper + + * nss/nsswitch.c (__nss_database_lookup): Always release locks + before returning. Reported by Miles Bader. + +Mon Aug 12 03:31:58 1996 Ulrich Drepper + + * nss/nsswitch.c (__nss_configure_lookup): New function. + Allows to specify services. + * nss/XXX-lookup.h: Rename database variable and make global. + * nss/databases.def: New file. Real names of all databases. + + * nss/nss.h: New file. Contains declaration useful for users + and service developers. + * nss/nsswitch.h: Move some declarations to nss/nss.h. + * nss.h: New file. Wrapper around nss/nss.h. + + * nss/Makefile (headers): Add nss.h. + (distributes): Add databases.def. + +Sun Aug 11 16:19:42 1996 Ulrich Drepper + + Help the poor people with fast machines by making sure only + one `ar' commands works on the library. + * autolock.sh: New file. Written by Tom Tromey. + * Makerules (do-ar): Call autolock.sh shell script instead of + directly using `ar'. + * config.make.in: Make configuration variable AUTOLOCK which + gets initialized by configure. + * configure.in: Define variable AUTOLOCK to point to autolock.sh + script and mark it to substitute. + + * string/Makefile: Add -fno-builtin for tst-strlen.c, too. + + * sysdeps/generic/sbrk.c (__sbrk): Get kernel brk address + always only if in static libc or if statically linked program + uses libc.so. + +Sun Aug 11 01:12:38 1996 Richard Henderson + + * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Optimize LD_BIND_NOW + startup by moving Icache flush from here ... + (ELF_MACHINE_RUNTIME_TRAMPOLINE): ... to here. + (ELF_MACHINE_USER_ADDRESS_MASK): Delete; it is unused. + + * sysdeps/alpha/divrem.h: Update comment to reflect the actual + calling conventions. The code is already correct. + +Sun Aug 11 01:06:42 1996 Richard Henderson + + * string/Makefile: Compile tester with -fno-builtin as we want to + test our implementations, not gcc's. + +Sat Aug 10 13:17:27 1996 David Mosberger-Tang + + * shadow.h: New file. + + * sysdeps/unix/sysv/linux/netinet/in.h: Move + __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as + well. + + * socket/sys/socket.h [__cplusplus]: Use old-style __SOCKADDR_ARG. + g++ 2.7.2 (and earlier) has no transparent unions support. + +Fri Aug 9 18:50:06 1996 David Mosberger-Tang + + * sysdeps/unix/sysv/linux/alpha/ioperm.c (_bus_base_sparse): New + function to determine the base address of sparse bus memory. + (APECS_*): Rename to CIA_*. + (APECS_SPARSE_MEM, CIA_SPARSE_MEM): New macros. + (platform): Add sparse_bus_memory_base member and initialize. + (sparse_bus_memory_base): New variable. + +Tue Aug 6 10:23:18 1996 David Mosberger-Tang + + * sysdeps/posix/ttyname_r.c (ttyname_r), + sysdeps/posix/ttyname.c (ttyname): Return -1/NULL if + !__isatty(fd) (POSIX.1 says so.) + + * sysdeps/unix/getlogin.c (getlogin): Fix to check fd 0 only. + This is not a gross hack, after all---for compatibility, + getlogin() really should check fd 0 only and not try to base its + operation on the controlling tty. + +Wed Jul 17 10:54:20 1996 David Mosberger-Tang + + * sysdeps/unix/getlogin.c (getlogin): Add static variable NAME, + change utmp_data from static to auto. + +Sun Aug 11 02:56:08 1996 Ulrich Drepper + + * posix/unistd.h [__USE_MISC]: Add prototype for `nice'. + Reported by David Mosberger-Tang. + +Sat Aug 10 02:05:28 1996 Richard Henderson + + * sysdeps/libm-ieee754/s_isnan.c [NO_LONG_DOUBLE]: Add strong + alias to `__isnanl'. + +Fri Aug 9 17:38:58 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sys/timex.h: Include to + get `struct timeval'. + * sysdeps/unix/sysv/linux/sys/acct.h: Get time_t from . + * sysdeps/unix/sysv/linux/sys/module.h: Get size_t from . + * sysdeps/unix/sysv/linux/sys/io.h: Get definition of __P. + * sysdeps/unix/sysv/linux/sys/klog.h: Likewise. + * gmon/sys/gmon.h: Include to get u_long. + * sysdeps/unix/sysv/linux/direntry.h: Complete types in + . + * io/fts.h: Include to get dev_t. + Reported by Matthias Urlichs. + + * sysdeps/posix/tempname.c [USE_IN_LIBIO]: Don't clear + _IO_file_flags. It's the same as _flags. + Reported by Miquel van Smoorenburg . + +Wed Aug 7 19:38:47 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Add RLIMIT_AS. + +Thu Aug 8 16:17:38 1996 Ulrich Drepper + + * pwd/getpwent.c: Define BUFLEN from NSS_BUFLEN_PASSWD. + * pwd/getpwent_r.c: Likewise. + * pwd/getpwnam.c: Likewise. + * pwd/getpwnam_r.c: Likewise. + * pwd/getpwuid.c: Likewise. + * pwd/getpwuid_r.c: Likewise. + + * grp/getgrent.c: Define BUFLEN from NSS_BUFLEN_GROUP. + * grp/getgrent_r.c: Likewise. + * grp/getgrgid.c: Likewise. + * grp/getgrgid_r.c: Likewise. + * grp/getgrnam.c: Likewise. + + * pwd/fgetpwent_r.c: New file. Reentrant version of fgetpwent. + * pwd/fgetpwent.c: Rewrite to use fgetpwent_r. + * pwd/Makefile (routines): Add fgetpwent_r. + * pwd/pwd.h: Add prototypes for __fgetpwent_r and fgetpwent_r. + + * grp/fgetgrent_r.c: New file. Reentrant version of fgetgrent. + * grp/fgetgrent.c: Rewrite to use fgetgrent_r. + * grp/Makefile (routines): Add fgetgrent_r. + * grp/grp.h: Add prototypes for __fgetgrent_r and fgetgrent_r. + + Implement shadow password lookup functions. This is no complete + shadow password suite. + * shadow/Makefile: New file. + * shadow/fgetspent.c: New file. + * shadow/fgetspent_r.c: New file. + * shadow/getspent.c: New file. + * shadow/getspent_r.c: New file. + * shadow/getspnam.c: New file. + * shadow/getspnam_r.c: New file. + * shadow/putspent.c: New file. + * shadow/sgetspent.c: New file. + * shadow/sgetspent_r.c: New file. + * shadow/shadow.h: New file. + * shadow/spwd-lookup.c: New file. + * shadow/nss_files/files-spwd.c: New file. + +Thu Aug 8 13:33:45 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ftime.c: New file. Available system + call is only a stub. + Reported by Matthias Urlichs. + + * Makeconfig [!default_cflags]: Change default value from `-g' + to `-g -O'. + + * configure.in: Recognize i686. + * sysdeps/i386/i686/Implies: Default on i586 optimized code. + +Thu Aug 8 12:40:20 1996 Matthias Urlichs + + * Makeconfig [$(build-omitfp) == yes]: Add to CFLAGS-.so + value of CFLAGS-.o, not CFLAGS-o. + + * sysdeps/unix/sysv/linux/init-first.c (init): Add volatile + pointer to ourself. Otherwise `gcc -O3' optimized init away. + +Thu Aug 8 01:41:43 1996 Ulrich Drepper + + * elf/Makefile: Undo change of Tue Aug 6 14:27:11 1996. + * elf/dl-support: Add definition of `_dl_sysdep_read_whole_file'. + +Thu Aug 8 01:15:59 1996 Ulrich Drepper + + * sysdeps/i386/fpu_control.h (_FPU_DEFAULT, _FPU_IEEE): Set + to 0x137f to allow long double operations. + +Sun Aug 4 13:12:05 1996 Richard Henderson + + Bug Fixes: + + * nss/nsswitch.c (_res): Remove redundant variable definition. + The real one is in resolve/res_init.c, and having both prevents + using -fno-common when building the shared library. + * sunrpc/rpc_prot.c (_null_auth): Same. Original is in rpc_common.c. + + * sysdeps/unix/sysv/linux/alpha/brk.S: When PIC, define __curbrk as + a .bss object not a COMMON symbol. + + * sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S: Must load + $gp before referencing __sigsetjmp symbol. Retain LITUSE for same. + + Optimizations: + + * sysdeps/alpha/strlen.S: Rearrange first-word setup and thense the + main loop for better dual-issue on EV5. Rearrange binary search to + pipeline better and trim one instruction. + + Cosmetic Changes: + + * time/localtime.c (localtime_r): Move lock declaration back next to + the comment where it was before the 960724 change. + + * INSTALL, manual/maint.texi: alpha-gnu-linux -> alpha-ANYTHING-linux. + The second word is supposed to be the hardware manufacturer. + + * sysdeps/alpha/_mcount.S: Retain LITUSE for __mcount. + * sysdeps/alpha/setjmp.S: Retain LITUSE for __sigsetjmp_aux. + + * sysdeps/alpha/divrem.h: More local labels, retain LITUSE for _mcount. + + * sysdeps/alpha/alphaev5/add_n.S, sysdeps/alpha/alphaev5/lshift.S, + sysdeps/alpha/alphaev5/rshift.S, sysdeps/alpha/alphaev5/sub_n.S: + Same cleanups as with EV4 GMP stuff. + +Tue Jul 25 03:30:56 1996 Richard Henderson + + * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_routines): Add clone. + * sysdeps/unix/sysv/linux/alpha/clone.S: New file. + * sysdeps/unix/sysv/linux/i386/clone.S: New file. + +Sun Aug 4 00:12:41 1996 David Mosberger-Tang + + * sysdeps/unix/sysv/linux/gnu/types.h: Declare __fd_mask as + `unsigned long'. + + * misc/sys/select.h: Declare fd_mask as alias of __fd_mask. + +Sat Aug 3 16:20:02 1996 David Mosberger-Tang + + * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for + Mikasa. + + * socket/sys/socket.h (send, __send, sendto): Declare buffer + pointer as __const. + + * string/tester.c (main): Test stpncpy. + + * sysdeps/generic/stpncpy.c (__stpncpy): Fix so it works without + segfault when called with an N that is not a multiple of four and + src[N-1]=='\0'. + + * misc/syslog.c (LogType): New variable. + (openlog): If connect() with SOCK_DGRAM fails with EPROTOTYPE, + try again with SOCK_STREAM (the Linux syslogd uses a socket of the + latter type). + (vsyslog): When LogType==SOCK_STREAM, also send ASCII NUL + terminator as a record-delimiter. If __send(LogFile) fails, + call closelog() so logfile gets re-opened next time. + +Wed Aug 7 15:15:14 1996 Ulrich Drepper + + * elf/dl-open (_dl_open): Add cast to avoid warning. + + * manual/memory.texi: Improve some examples to give readers better + advice: Use `stpcpy' instead of `strcat' if possible. + * manual/string.texi: Document `strtok_r' and `strtok'. + + * sunrpc/Makefile: Move `+gccwarn' definition before inclusion + of Makeconfig. + [$(cross-compiling)=no]: Change test before making librpcsvc + to this from $(cross-compile). + Reported by Andreas Schwab. + +Tue Aug 6 14:27:11 1996 Ulrich Drepper + + * elf/Makefile (routines): Move dl-sysdep to here... + (rtld-routines): ...from here. This should make static linking + work again. + + * locale/setlocale.c: Add local variable `lock' and add code to + `setlocale' to avoid simultaneous changing of global data. + + * catgets/catgets.c (catopen): Use `__strdup' instead of `strdup'. + * catgets/open_catalog (__open_catalog): Use `__stpcpy', `__open', + `__fstat', `__read', `__mmap', `__munmap' and `__close' instead + of unprotected names. + +Tue Aug 6 01:13:56 1996 Ulrich Drepper + + Clean name space according to ISO C, ISO C/Amd 1, and POSIX.1. + This requires to rename several functions to use __ protected + names. + * dirent/dirent.h: Add prototypes of __opendir, __closedir, + and __readdir. + * sysdeps/mach/hurd/closedir.c: Prepend function name with __ + and make old name a weak alias. + * sysdeps/mach/hurd/getrlimit.c: Likewise. + * sysdeps/mach/hurd/opendir.c: Likewise. + * sysdeps/mach/hurd/readdir.c: Likewise. + * sysdeps/stub/closedir.c: Likewise. + * sysdeps/stub/opendir.c: Likewise. + * sysdeps/stub/readdir.c: Likewise. + * sysdeps/unix/closedir.c: Likewise. + * sysdeps/unix/opendir.c: Likewise. + * sysdeps/unix/readdir.c: Likewise. + + * sysdeps/unix/opendir.c: Call `__fcntl' instead `fcntl'. + + * sysdeps/posix/getcwd.c: Call `__opendir', `__readdir', + `__closedir' instead of unprotected names. + + * libio/filedoalloc.c (_IO_file_doallocate): Call `__isatty' + instead of `isatty' since later is not part of ISO C. + * libio/fileops.c (_IO_file_fopen): Call `__open' instead of + `open' since later is not part of ISO C. + + * login/endutent.c (endutent): Call `__endutent_r', not + `endutent_r'. + * login/endutent_r.c: Rename defined function to `__endutent_r', + make `endutent_r' weak alias. + * login/getutent.c (getutent): Call `__getutent_r', not + `getutent_r'. + * login/getutid.c (getutid): Call `__getutid_r', not `getutid_r'. + * login/getutid_r.c: Rename defined function to `__getutent_r', + make `getutent_r' weak alias. + * login/getutline.c (getutline): Call `__getutline_r', not + `getutline_r'. + * login/getutline_r.c: Rename defined function to `__getutline_r', + make `getutline_r' weak alias. + * login/pututline_r.c: Rename defined function to `__pututline_r', + make `pututline_r' weak alias. + * login/setutent.c (setutent): Call `__setutline_r', not + `setutline_r'. + * login/setutent_r.c: Rename defined function to `__setutline_r', + make `setutline_r' weak alias. + Rename `utmpname' to `__utmpname' and make former weak alias. + (__utmpname): Call `__strdup', not `strdup'. + * login/utmp.h: Add prototypes for name space clean reentrant + versions. + * sysdeps/unix/getlogin.c: Call `__ttyname_r', `__setutent_r', + and `__endutent_r' instead of unprotected names. + + * math/math.h: Add prototype for `__matherr'. + * sysdeps/libm-ieee754/k_standard.c: Call `__matherr' instead + of `matherr'. + + * nss/getXXbyYY.c: Call __ protected reentrant function. + * nss/getXXent.c: Likewise. + * nss/getXXbyYY_r.c: Define `get*' function with __ protected + name. Make usual name a weak alias. + * nss/getXXent_r.c: Likewise. + + * posix/unistd.h: Add prototype for `__ttyname_r'. + * sysdeps/posix/ttyname_r.c: Rename function to `__ttyname_r' + and make `ttyname_r' a weak alias. + + * resource/sys/resource.h: Add prototype for `__getrlimit'. + * sysdeps/stub/getrlimit.c: Prepend function name with __ + and make old name a weak alias. + * sysdeps/unix/syscalls.list: Rename system call to `__getrlimit' + and make `getrlimit' weak alias. + + * libc/stdio/stdio.h: Add prototype for `__vscanf'. + * libc/stdio/vscanf.c: De-ANSI-fy. + Rename function to `__vscanf' and make `vscanf' a weak alias. + * stdio-common/scanf.c (scanf): Use _IO_vscanf/__vscanf instead + of `vscanf'. + + * stdio-common/reg-printf.c: De-ANSI-fy. + Rename function to `__register_printf_function' and make + `register_printf_function' weak alias. + + * stdio-common/vfprintf.c: Call `__wcsrtombs' instead of + `wcsrtombs'. + + * stdlib/mbstowcs.c: Call `__mbsrtowcs' instead of `mbsrtowcs'. + * stdlib/mbtowc.c: Call `__mbrtowc' instead of `mbrtowc'. + * stdlib/wcstombs.c: Call `__wcsrtombs' instead of `wcsrtombs'. + * stdlib/wctomb.c: Call `__wcrtomb' instead of `wcrtomb'. + * wcsmbs/mbrtowc.c: Prepend function name with __ and make old + name a weak alias. + * wcsmbs/mbsrtowcs.c: Likewise. + * wcsmbs/wcrtomb.c: Likewise. + * wcsmbs/wcsrtombs.c: Likewise. + * wcsmbs/wchar.h: Add prototypes for __ protected versions. + + * sysdeps/posix/sigsetmask.c (__sigsetmask): Call `__sigprocmask' + instead of `sigprocmask'. + + + * grp/grp.h [__USE_REENTRANT]: Add prototypes for reentrant + version getgrent_r, getgrgid_r, and getgrnam_r. + * pwd/pwd.h [__USE_REENTRANT]: Add prototypes for reentrant + version getpwent_r, getpwuid_r, getpwnam_r and __ protected + names. + * resolv/netdb.h: Complete rewrite. No more BSD ugliness. + + + * misc/error.c (private_strerror): Translate messages from table, + too. + + * io/fcntl.h: Pretty printing. + * misc/fstab.h: Likewise. + * misc/ttyent.h: Likewise. + * resource/sys/resource.h: Likewise. + * string/argz.h: Likewise. + * string/envz.h: Likewise. + + Add support for symbols from POSIX.1c (POSIX threads). + * posix/getconf.c: Handle new sysconf symbols. + * posix/posix1_lim.h: Define _POSIX_TTY_NAME_MAX and + _POSIX_LOGIN_NAME_MAX with minimal maximal values. + * sysdeps/generic/confname.h: Define new symbols. + * sysdeps/posix/sysconf.c: Handle new symbols. + * sysdeps/stub/sysconf.c: Ditto. + * sysdeps/unix/sysv/linux/sysconf.c: Removed. Generic version + is ok now. + + * sunrpc/rpc/xdr.h: Move definition of type `xdrproc_t' to + have real prototype. + + * sysdeps/generic/resourcebits.h: Add macro definition for + RLIMIT_* values. Some sources test using #ifdef whether specific + limit is available. + * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Ditto. + * sysdeps/unix/sysv/linux/resourcebits.h: Removed. We need + separate files for the architectures. + * sysdeps/unix/sysv/linux/alpha/resourcebits.h: New file. + * sysdeps/unix/sysv/linux/i386/resourcebits.h: New file. + * sysdeps/unix/sysv/linux/m68k/resourcebits.h: New file. + * sysdeps/unix/sysv/linux/mips/resourcebits.h: New file. + + * sysdeps/posix/getdtsz.c: Rewrite to use `__getrlimit' function + and only default on `OPEN_MAX'. + * sysdeps/unix/sysv/sysv4/getdtsz.c: Removed. Default is already + the POSIX version. + + * time/Makefile (routines): Add ctime_r. + * time/asctime.c: Add implementation of `asctime_r'. Make + `asctime' implementation based on reentrant version. + * time/ctime_r.c: New file. + * time/time.h [__USE_REENTRANT]: Add definition of `asctime_r' + and `ctime_r'. + +Sat Aug 3 18:41:36 1996 Andreas Schwab + + * locale/C-ctype.c (_nl_C_LC_CTYPE_toupper): Fix EOF entry. + (_nl_C_LC_CTYPE): Fix ordering. + * locale/categories.def (LC_CTYPE): Add missing ctype-class32; fix + typo. + +Sat Aug 3 12:31:06 1996 Richard Henderson + + * csu/initfini.c: Discover the maximum alignment generated by the + compiler when emitting a function. + (_init): Make sure the end of the crti fragment is aligned. + (_fini): Likewise. + +Fri Aug 2 03:12:40 1996 Ulrich Drepper + + * initfini.c: (__libc_is_static): New variable. Will be + initialized in init-first.c. Some actions in the libc work + different when libc is static or dynamic. + + * sysdeps/unix/sysv/linux/init-first.c (init): Use + `__libc_is_static' variable to determine whether call to + `personality' and `setfpucw' is necessary. When done set variable + to +-1 depending on library type. + + * locale/setlocale.c (setlocale): Use global variable + `__libc_enable_secure' instead of calling `get{,e}{g,u}id()' to + determine whether it's a SET[UG]ID program. + +Fri Aug 2 14:40:22 1996 Roland McGrath + + * Version 1.93 test release. + + * manual/Makefile: Use -include for chapters-incl too. + + * Makeconfig (+link): Add back start.o, mistakenly removed in last + change. + +Fri Aug 2 01:04:02 1996 Roland McGrath + + * nss/Makefile (generated): Add db-*.c. + + * sysdeps/i386/sysdep.h: Get generic/sysdep.h explicitly instead of + using #include_next. + + * configure.in (--enable-add-ons): Quote m4 macro args. + + * elf/rtld.c (dl_main): For --verify, fail if no dynamic section. + +Thu Aug 1 14:40:03 1996 Roland McGrath + + * sunrpc/Makefile [$(cross-compile)=no]: Test before making librpcsvc. + + * Makerules (build-shlib): Add -B$(csu-objpfx) to find crt[in].o there. + + * Makeconfig (+preinit, +postinit): Prepend $(csu-objpfx) here. + (+link): Not here. + + * stdio-common/_itoa.h (_itoa_word): Declare unused to suppress + warning when inline function is elided. + * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Likewise. + (elf_machine_runtime_setup): Likewise. + * elf/dynamic-link.h (elf_get_dynamic_info): Likewise. + * sysdeps/i386/dl-machine.h (elf_machine_got): Likewise. + (elf_machine_load_address): Likewise. + + * catgets/gencat.c: Include . + + * sysdeps/unix/mk-local_lim.c (param): Add SYMLOOP_MAX/MAXSYMLINKS. + + * login/logwtmp.c (logwtmp): Call time, not __time. + + * sysdeps/gnu/utmpbits.h (_HAVE_UT_PID): New macro. + * login/login.c (login): Test [_HAVE_UT_PID] to use ut_pid member. + * login/logwtmp.c (logwtmp): Likewise. + + * sysdeps/generic/ioctl-types.h (sizeof): Define to 0 around #if + comparing ioctl macro values. + + * sysdeps/i386/sysdep.h: Do `#include_next '. + + * manual/Makefile: Use -include for chapters to suppress warning. + + * sysdeps/stub/socket.c: Fix type of TYPE arg. + * sysdeps/stub/socketpair.c: Likewise. + + * sysdeps/stub/_exit.c (_exit): Remove obsolete __NORETURN keyword. + + * sysdeps/generic/sysdep.h: New file, broken out of ... + * sysdeps/unix/sysdep.h: ... here. + (C_LABEL): Moved out. + + * Makeconfig (soversions.mk): Don't use newfangled ${x%%y} syntax; + stick to sed. Do `exit 0' at end because while returns nonzero. + + * sysdeps/i386/sysdep.h: New file, broken out of ... + * sysdeps/unix/i386/sysdep.h: ... here. Generic asm macros moved out. + + * sysdeps/stub/stdio_lim.h (L_ctermid, L_cuserid): Macros removed. + They are defined unconditionally in libio/stdio.h. + + * elf/dl-runtime.c: Include for `NULL' defn. + * elf/dl-cache.c: Likewise. + +Mon Jul 29 19:20:05 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/Makefile [$(subdir == misc] + (sysdep_headers): Add sys/sysmacros.h. + * sysdeps/unix/sysv/linux/sys/sysmacros.h: New file. + +Wed Jul 31 14:21:36 1996 Ulrich Drepper + + * termios/termios.h [__OPTIMIZE__]: Remove "optimization" for + tcgetattr. We have weak aliases now. + * stdlib/stdlib.h [__OPTIMIZE__ && __GNUC__ >= 2]: Remove + "optimizations" for random functions. + +Mon Jul 29 20:33:42 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/netinet/in.h (ntohl, ntohs, htonl, + htons) [__BIG_ENDIAN]: #undef them before defining to avoid + redefinition warning. + +Mon Jul 29 20:28:27 1996 Andreas Schwab + + * time/time.h: Don't optimize tzset() to __tzset() which bypasses + the __tzset_lock. + +Tue Jul 30 15:14:50 1996 Roland McGrath + + * sunrpc/rpc/pmap_clnt.h: Fix botched patch for multiple inclusion + protection. + +Tue Jul 30 02:48:28 1996 Ulrich Drepper + + * locale/loadlocale.c (_nl_load_locale): Change cast to `size_t' + to be 64-bit clean. + Reported by Richard Henderson . + +Tue Jul 30 15:04:50 1996 Roland McGrath + + * locale/programs/ld-collate.c (collate_output): Fix typo reported by + David Miller. + +Tue Jul 30 13:23:13 1996 Ulrich Drepper + + * locale/setlocale.c (setlocale): Don't try to free C locale + data. + Reported by Matthias Urlichs. + +Tue Jul 30 14:35:17 1996 Miles Bader + + * sysdeps/mach/hurd/dl-sysdep.c (__open): Use open_file. + (open_file): New function, contents mostly from __open. + (_dl_sysdep_read_whole_file): New function. + +Sat Jul 27 11:23:59 1996 Miles Bader + + * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Quote + `..' dots in sed search string. + +Mon Jul 29 01:27:07 1996 Roland McGrath + + * sunrpc/rpc/rpc_msg.h: Fix botched patch for multiple inclusion + protection. + +Sun Jul 28 23:46:14 1996 Roland McGrath + + * configure.in: Grok `--enable-add-ons=DIR1,DIR2,...', and configure + in those directories. + * config.make.in (add-ons): New varaible, set from @subdirs@. + * Makefile (subdirs): Added $(add-ons) at the end. + + * time/strftime.c (strftime: do_number): Initialize PRINTED to + MAXDIGITS in case P is null and so sprintf is never actually called. + +Mon Jul 29 02:46:23 1996 Ulrich Drepper + + Add support for the to-be-written internationalized regexp. + This code must be able to use collation symbols and collation + equivalent classes. + * locale/C-collate.c (_nl_C_LC_COLLATE_symbol_hash, + _nl_C_LC_COLLATE_symbol_strings, _nl_C_LC_COLLATE_symbol_classes): + New global variables for collation classes. + * locale/categories.def: Add new descriptions for collation symbols + and collation classes. + * locale/langinfo.h: Add constants for collation symbols and + collation classes. + * locale/lc-collate.c: Add new global variables for collation symbols + and collation classes. + (_nl_postload_collate): Initialize new variables. + * locale/programs/ld-collate.c: Add code to emit tables for + collation symbols and collation classes. + * locale/programs/locales.h: Change prototype for `collate_output'. + * locale/programs/locfile.c (write_all_categories): Call + `collate_output' with new argument. + * locale/localeinfo.h: Add declaration for new global vars. + (union locale_data_value): New member wstr for `wchar_t' strings. + * locale/programs/locale-spec.c: Handle `collate-classes' + keyword and print information about available collation classes. + * locale/strlen-hash.h: New file. Simple hashing function which + takes a string with known length. + * locale/Makefile (distribute): Add strlen-hash.h. + (locale-modules): New var. Additional files for `locale' program. + + * locale/C-ctype.c: Rewrite to avoid using string for giving values + which are of type `u_int32_t'. + Correct entry for EOF in toupper and tolower tables. + + * locale/loadlocale.c (_nl_load_locale): Add cast to prevent + warning. + + * locale/programs/ld-ctype.c (ctype_output): Add code to make + sure that all tables in binary file are word-aligned. + + * locale/programs/locfile.c (write_locale_data): Correct handling + of LC_MESSAGES locale. Create directory if necessary. + + * locale/setlocale.c (setlocale): Add cast to avoid warning. + + * string/string.h: Add prototype for `__strndup'. + +Wed Jul 24 19:10:00 1996 Andreas Schwab + + * wcsmbs/mbrtowc.c: Remove unused variable. + +Sun Jul 28 22:40:25 1996 Roland McGrath + + * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): Update to + 2.0.10; some problems were reported with an earlier version, and this + one is known to work. + + * sysdeps/generic/dl-sysdep.c (__libc_enable_secure): New variable. + * sysdeps/mach/hurd/dl-sysdep.c: Likewise. + +Sat Jul 27 13:02:09 1996 Ulrich Drepper + + * elf/rtld.c (dl_main): Ignore arguments when environment variable + LD_TRACE_LOADED_OBJECTS is set. + +Sun Jul 28 19:42:51 1996 Roland McGrath + + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Initialize + __libc_enable_secure instead of _dl_secure. + * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise. + * elf/dl-load.c (_dl_map_object): Check __libc_enable_secure instead + of _dl_secure. + * elf/Makefile (routines): Add enbl-secure. + (elide-routines.so): Here too. + * sysdeps/generic/enbl-secure.c: New file. + * posix/unistd.h [__USE_GNU]: Declare `__libc_enable_secure' flag. + * elf/dl-support.c (_dl_secure): Variable removed. + * elf/rtld.c: Likewise. Replace all uses with __libc_enable_secure. + +Sun Jul 28 19:26:40 1996 David S. Miller + + * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): + Declare _dl_runtime_resolve with __attribute__ ((unused)) so the + compiler doesn't elide it. + (elf_machine_rel): Follow Jul 14 change in sysdeps/i386/dl-machine.h. + +Sat Jul 27 02:58:49 1996 Roland McGrath + + * elf/rtld.c (dl_main): Take new option --verify when run directly. + In verify mode, exit with status zero iff the argument object's + PT_INTERP matches argv[0]. + * elf/ldd.sh.in: Use ${RTLD} --verify and only run the program if it + exits with zero status. This makes `ldd' secure again. + +Fri Jul 26 22:49:58 1996 Ulrich Drepper + + * elf/rtld.c (dl_main): Implement LD_TRACE_LOADED_OBJECTS + environment variable handling. This makes the dynamic linker + only print loaded libraries and quit. + + * elf/ldd.sh.in: Don't use `rtld --list' but instead + LD_TRACE_LOADED_OBJECTS environment variable to print needed + objects. + +Sat Jul 27 02:03:26 1996 Roland McGrath + + * db/makedb.c (main): Print version on stdout, not stderr. Don't exit + after printing version until after doing usage for --help. + (long_options, main, usage): Rename -l/--lowercase option to + -f/--fold-case (-f matches sort). + +Sat Jul 27 04:32:31 1996 Ulrich Drepper + + * db/makedb.c: New file. Implement program to create simple + database from textual input. This will be used for nss_db. + +Sat Jul 27 01:24:05 1996 Roland McGrath + + * sunrpc/rpc/auth_unix.h: Fix misapplied patches in last changes. + * sunrpc/rpc/pmap_clnt.h: Likewise. + * sunrpc/rpc/auth.h: Likewise. + * sunrpc/rpc/pmap_rmt.h: Likewise. + * sunrpc/rpc/rpc_msg.h: Likewise. + +Sat Jul 27 04:37:34 1996 Ulrich Drepper + + * string/string.h (strndupa): Change to use return value of + `memcpy' for more performance. + * string/strndup.c: Likewise. + + * string/string.h (strdupa): Don't call __builtin_alloca in argument. + This might lead to problems. + (strndupa): Likewise. + +Fri Jul 26 15:24:25 1996 Ulrich Drepper + + * sunrpc/rpc/auth.h: Add protection against multiple inclusion + and change K&R prototypes to ANSI prototypes. + * sunrpc/rpc/auth_unix.h: Ditto. + * sunrpc/rpc/clnt.h: Ditto. + * sunrpc/rpc/pmap_clnt.h: Ditto. + * sunrpc/rpc/pmap_prot.h: Ditto. + * sunrpc/rpc/pmap_rmt.h: Ditto. + * sunrpc/rpc/rpc_msg.h: Ditto. + * sunrpc/rpc/svc.h: Ditto. + * sunrpc/rpc/svc_auth.h: Ditto. + * sunrpc/rpc/xdr.h: Ditto. + +Fri Jul 26 20:39:42 1996 Roland McGrath + + * ctype/test_ctype.c: Test EOF too. + +Fri Jul 26 18:06:58 1996 Ulrich Drepper + + * sunrpc/rpc/auth.h: Add __BEGIN_DECLS and __END_DECLS. + * sunrpc/rpc/auth_unix.h: Likewise. + * sunrpc/rpc/clnt.h: Likewise. + * sunrpc/rpc/netdb.h: Likewise. + * sunrpc/rpc/pmap_clnt.h: Likewise. + * sunrpc/rpc/pmap_prot.h: Likewise. + * sunrpc/rpc/rpc_msg.h: Likewise. + * sunrpc/rpc/svc.h: Likewise. + * sunrpc/rpc/svc_auth.h: Likewise. + * sunrpc/rpc/xdr.h: Likewise. + + * sunrpc/rpc/pmap_clnt.h: Move definition of type `resultproc_t' + to here from... + * sunrpc/pmap_rmt.c: ...here. + +Fri Jul 26 16:10:43 1996 Miles Bader + + * login/pututline_r.c (pututline_r): Only call getutid_r if ID has a + valid ut_id field. + * login/getutid_r.c (getutid_r): Mark UTMP_DATA->loc_utmp invalid + if a search fails. + +Fri Jul 26 00:36:50 1996 Roland McGrath + + * sysdeps/mips/dl-machine.h: New file, contributed by Kazumoto Kojima + . + +Fri Jul 26 04:41:28 1996 Ulrich Drepper + + * intl/libintl.h: Define optimizing macros if __OPTIMIZE__ is + defined, not __OPTIMIZED. + (_nl_msg_cat_cntr): Move declaration outside macro definition + to prevent "nested extern" warning. + (dcgettext): Rename local variable `result' to `__result'. + +Thu Jul 25 22:46:30 1996 Roland McGrath + + * locale/programs/localedef.c (__progname): Remove decl. + (main): Use program_invocation_short_name instead of __progname. + (usage): Use program_invocation_name instead of __progname. + +Fri Jul 26 03:46:08 1996 Ulrich Drepper + + * catgets/gencat.c: Use "libc" instead of PACKAGE. + * locale/localedef.c: Ditto. + * locale/locale.c: Ditto. + + * locale/findlocale.c (_nl_find_locale): Little optimization. + Use new function `strndup'. + + * locale/loadlocale.c: Little optimization. Use constant value + from `_nl_category_num_items' instead of byte-order dependend + value from file. + + * locale/programs/ld-time.c (time_add): Correct string constant. + + * locale/programs/locale-spec.c: New file. + * locale/programs/locale.c: Call `locale_special' function if + no other field matches. + + * locale/programs/localedef.c: No need to define `program_name'. + Use global variable `__progname'. + + * locale/programs/locfile.c (write_locale_data): Always write + LC_MESSAGES data in LC_MESSAGES/SYS_LC_MESSAGES file. This is + necessary since message catalogs are also installed in the + LC_MESSAGES/ directory. + + * locale/programs/stringtrans.c (ADDC): Correctly use `encode_char' + function instead of writing single bytes. + (encode_char): Also handle little endian. + + * locale/setlocale.c (new_composite_name): Little optimization. + Use return value of `memcpy'. + + * misc/ttyent.h: Pretty print prototypes, add missing parameter + names, prepend parameter names with __ and use `__const' instead + of `const'. + * posix/unistd.h: Ditto. + * stdlib/stdlib.h: Ditto. + * string/string.h: Ditto. + + * posix/getconf.c: De-ANSI-fy. Recognize POSIX.2 constant names. + Use `error' function instead of doing it by hand. + * sysdeps/posix/sysconf.c: De-ANSI-fy. + Handle _SC_COLL_WEIGHTS_MAX. + * sysdeps/stub/sysconf.c: Handle _SC_CHARCLASS_NAME_MAX, + _SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_2_LOCALEDEF + since these do not depend on the platform. + Add POSIX.4 symbols. + + * posix/posix2_lim.h: Add missing definition of + _POSIX2_COLL_WEIGHTS_MAX. + Change _POSIX2_EQUIV_CLASS_MAX and _POSIX2_CHARCLASS_NAME_MAX + to high values since we have no fixed limit. + + * sysdeps/generic/confname.h: Add _SC_PAGE_SIZE as alias for + _SC_PAGESIZE for buggy systems (= HP UX) out there. + + * wcsmbs/Makefile (routines): Add mbsnrtowcs and wcsnrtombs. + * wcsmbs/mbsnrtowcs.c: New file. Non-standard implementation. + * wcsmbs/wcsnrtombs.c: Ditto. + * wcsmbs/wchar.h [__USE_GNU]: Add prototypes for mbsnrtowcs and + wcsnrtombs. + +Thu Jul 25 00:25:54 Richard Henderson + + * nss/nss_db/db-XXX.c: Kill trailing ; from lock defn as a matter of + course. + * nss/getXXent_r.c: Likewise. + * nss/nsswitch.c: Likewise. + * nss/nss_files/files-XXX.c: Likewise. + * sysdeps/mach/hurd/dirstream.h (struct __dirstream): Likewise. + * sysdeps/unix/bsd/telldir.c (struct record): Likewise. + * sysdeps/unix/dirstream.h (struct __dirstream): Likewise. + +Thu Jul 25 00:53:06 1996 Roland McGrath + + * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): New + macro, now put the needed Linux version just once, here; update to + needing linux-2.0.3 headers. + (libc_cv_linuxVER): New macro derived from that. + (kernel header check): Use those macros and some m4 magic to replace + hard-coded `201' and `2.0.1' in several places. + + * Makerules ($(libdir)/libc.so): Fix typos in generated comment. + +Wed Jul 24 17:02:30 1996 Ulrich Drepper + + * time/localtime.c: Move lock variable declaration to end of + variable declarations since if is a dummy macro the ; at the + end terminates the variable section of the function. + + * time/tzset.c: Undefine `tzset' before function declaration. + Use `weak_function' macro instead of `weak_symbol'. + +Wed Jul 24 18:57:33 1996 Ulrich Drepper + + * stdlib/strtouq.c: Additional weak alias is `strtoull', not + `strotull'. + +Wed Jul 24 18:26:23 1996 Ulrich Drepper + + * locale/C-ctype.c: Increment number of fields after change + from Wed Jun 19 03:24:58 1996. + +Tue Jul 23 18:13:37 1996 Roland McGrath + + * sysdeps/mach/hurd/Makefile (rpcuserlibs): New variable. + ($(common-objpfx)libc.so): Move deps into that, use it. + [$(subdir) = elf] ($(objpfx)librtld.so): Depend on + $(rpcuserlibs:.so=_pic.a). + * elf/Makefile ($(objpfx)librtld.so): Just depend on libc_pic.a; don't + use $(LDLIBS-c.so). + +Thu Jul 18 21:41:25 1996 Andreas Schwab + + * sysdeps/generic/stpncpy.c: Fix semantics to make `stpncpy (d, s, + n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'. + +Tue Jul 23 02:49:58 1996 Ulrich Drepper + + * locale/iso-4217.def: Add India to comment for symbol "INR ". + Reported by Raja R Harinath . + +Sat Jul 20 14:03:45 1996 Andreas Schwab + + * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove bogus + #undef RESOLVE. + +Sun Jul 21 06:48:38 1996 Roland McGrath + + * time/tzset.c: Include . + (__tzset_lock): New lock variable. + (tzset): New function (weak defn), no longer weak alias for __tzset. + Call __tzset while holding __tzset_lock. + * time/localtime.c: Include . + (__localtime_r): Hold __tzset_lock while doing the work. + + * sysdeps/generic/setenv.c (__environ): Change conditional for #define + from [!HAVE_GNU_LD] to [!_LIBC]. + [_LIBC]: Include and define a lock. + (LOCK, UNLOCK): New macros, no-ops for [! _LIBC]. + (setenv, unsetenv): Use them. + +Sun Jul 21 01:44:39 1996 Miles Bader + + * locale/programs/locfile.c (write_locale_data): Deal with missing + UIO_MAXIOV. + + * sysdeps/mach/hurd/socket.c (socket): Make TYPE an int. + * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise. + +Sat Jul 20 21:55:31 1996 Roland McGrath + + Win32 hacks from . + * posix/glob.c [WIN32]: Don't include ; don't use d_ino; + use void * for my_realloc; include for alloca. + (glob) [WIN32]: Use "c:/users/default" for ~ if no HOME variable. + * posix/fnmatch.h [WIN32]: Use prototypes even if [!__STDC__]. + * posix/glob.h: Likewise. + +Sat Jul 20 13:28:52 1996 Miles Bader + + * sysdeps/mach/hurd/select.c (__select): Don't poll on the last + call __io_select unless there's only a single descriptor, as each + descriptor now has its own reply port. + If there is only a single descriptor, just use its reply port for + everything and don't bother creating the port set. + + * sysdeps/mach/hurd/uname.c (uname): Deref UNAME to get nodename. + : New include. + + * sysdeps/mach/libc-lock.h (__libc_lock_define): Backslashify + continuation line. + +Sat Jul 20 07:15:33 1996 Roland McGrath + + * crypt/Makefile, crypt/nocrypt.c: Removed. It is illegal to export + from the USA any software that even makes it easy to drop in an + encryption module of foreign origin. + * Makerules (cryptobjdir): Variable removed. + ($(libdir)/libc.so): Remove dep on libcrypt.so$(libcrypt.so-version). + * Makefile (subdirs): Remove crypt. + +Fri Jul 19 15:45:20 1996 Ulrich Drepper + + * locale/C-messages.c (_nl_C_LC_MESSAGES): Add missing Kleene + operator to yesexpr and noexpr string. + +Fri Jul 19 15:10:37 1996 David Mosberger-Tang + + * sunrpc/xdr_mem.c (xdrmem_putlong): Don't cast LP to int32 (the + old code would have failed on a big-endian 64-bit architecture). + * sunrpc/xdr_stdio.c (xdrstdio_putlong): Ditto. + + * sunrpc/xdr.c (xdr_int): Handle XDR_FREE case. + (xdr_u_long): Use switch instead of chain of if-statements. + Remove gratitous parentheses around return expressions. + (xdr_enum): Open code case where INT_MAX + + * dlfcn.h, db.h: New wrapper headers. + + * posix/glob.h [!_AMIGA && !VMS]: Check this instead of just [!_AMIGA] + for `struct stat;' forward decl. + +Fri Jul 19 22:25:19 1996 Ulrich Drepper + + * locale/iso-4217.def: Add some more standardized currency + symbols. + +Fri Jul 19 13:18:02 1996 Roland McGrath + + * hurd/report-wait.c (describe_number): Use unsigned long int for J. + +Thu Jul 18 12:33:57 1996 Roland McGrath + + * Rules (dummy.o, empty.o): Targets removed. + (dummy.c, empty.c): New targets replace them. + +Thu Jul 18 11:42:39 1996 Roland McGrath + + * crypt/Makefile (lib-noranlib): Depend on + $(objpfx)libcrypt.so$(libcrypt.so-version). + (subdir): Fix name. + +Thu Jul 18 04:33:21 1996 Roland McGrath + + * sysdeps/mach/hurd/errnos.awk: Move EWOULDBLOCK check before errno==0 + check. mib's clueless hacking broke it. + +Thu Jul 18 04:27:21 1996 Roland McGrath + + * Makerules ($(libdir)/libc.so): Add missing / after $(cryptobjdir). + +Wed Jul 17 10:54:20 1996 David Mosberger-Tang + + * misc/sys/ustat.h: New file. + * misc/ustat.h: Ditto. + * sysdeps/generic/ustatbits.h: Ditto. + * sysdeps/stub/ustat.c: Ditto. + * sysdeps/unix/sysv/linux/ustatbits.h: Ditto. + * misc/Makefile (headers): Mention ustat.h, sys/ustat.h, and + ustatbits.h. + (routines): Mention ustat. + + * sysdeps/unix/sysv/linux/alpha/start.S: Move to ... + * sysdeps/alpha/elf/start.S: here. + + * sysdeps/unix/sysv/linux/syscalls.list: Mention klogctl in + alphabetically correct place. Mention ustat. + + * sysdeps/unix/alpha/sysdep.S: Make errno a bss symbol, not a + common symbol (makes errno accessible from gdb). + + * login/pututline_r.c (pututline_r): Test ut_id in repositioning + test, not ut_type. + + * login/logwtmp.c (logwtmp): Reimplemented. Must ensure that a + record always gets appended at end of file (wtmp is a log file, + after all). Set ut_type to DEAD_PROCESS if name is empty. + + * login/getutid_r.c (getutid_r): Handle search for UT_TYPE in + separate loop from search for UT_ID. Fix code so it is in + sync with Unix man page. + + * login/getutline_r.c (getutline_r): Stop searching only if + ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS. + +Tue Jul 16 15:06:18 1996 David Mosberger-Tang + + * sysdeps/unix/sysv/linux/netinet/in.h: Base on to + avoid duplicate declarations. + +Sun Jul 14 19:08:55 1996 David Mosberger-Tang + + * manual/maint.texi (Supported Configurations): Add alpha-gnu-linux + and alpha-gnu-linuxecoff targets. + +Fri Jul 12 16:58:44 1996 David Mosberger-Tang + + * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport(). + +Sat Jun 22 23:30:07 1996 David Mosberger-Tang + + * resolv/res_send.c (res_send): Declare FROMLEN as size_t instead + of int. + + * resolv/res_comp.c (res_hnok): Use empty statement in place + of NULL (which generates a "useless expression" warning in + gcc). + +Wed Jul 17 23:56:35 1996 Roland McGrath + + * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Replace ../ + with $(..) in output. + +Wed Jul 17 21:53:45 1996 Roland McGrath + + * elf/Makefile (dl-routines): Add dl-cache. + * elf/dl-cache.c: New file. + * elf/dl-load.c (_dl_map_object): Check cache before default path. + +Wed Jul 17 20:41:30 1996 Ulrich Drepper + + * stdio-common/vfscanf.c: Major change. Now read character + from stream only if needed. Before it was read after the + previous character was used. + Bug reported by Martin Goik + + * stdio-common/tstscanf.c: Change test program so that return + value is != 0 if one test failed. + +Wed Jul 17 17:08:48 1996 Roland McGrath + + * sysdeps/m68k/Makefile (crypt): Variable removed. + * sysdeps/sparc/Makefile: Likewise. + + * version.h (VERSION): Update to 1.93. + + * Makerules ($(libdir)/libc.so): Depend on + $(common-objpfx)libcrypt.so$(libcrypt.so-version). + + * crypt/nocrypt.c: New file. + * Makefile (subdirs): Add crypt. + * crypt/Makefile: New file. + + * Makerules (soversions.mk): Move this target, include of it, and + include of version.mk to ... + * Makeconfig: ... here. + (soversions.mk): Depend on Makeconfig instead of Makerules. + + * shlib-versions (*-*-*): Set libcrypt=0. + +Wed Jul 17 11:29:26 1996 Miles Bader + + * stdio/linewrap.c (lwupdate): Fix boundary condition where a + word extends right up to rmargin. + + * stdio/linewrap.c (lwupdate): When we've done a word wrap and + output the wrap margin, set point_col to wmargin. + Use negative point_col to deal with a wmargin of 0. + (line_wrap_point): Return 0 for a negative point_col. + (line_wrap_stream): Make wmargin ssize_t. + * stdio/linewrap.h (struct line_wrap_data): Make wmargin & + point_col ssize_t. + (line_wrap_stream): Make wmargin ssize_t. + (line_wrap_point): Return 0 for a negative point_col. + +Wed Jul 17 02:43:28 1996 Roland McGrath + + * shlib-versions (*-*-gnu*): Set libc=0.0 + +Tue Jul 16 01:52:42 1996 Andreas Schwab + + * sysdeps/m68k/dl-machine.h: Follow Jul 14 change in + sysdeps/i386/dl-machine.h. + +Tue Jul 16 00:18:19 1996 Miles Bader + + * stdio/linewrap.c (__line_wrap_update): Add hackery from flshfp + to fiddle __put_limit in conjunction with __linebuf_active. + +Tue Jul 16 00:14:07 1996 Andreas Schwab + + * sysdeps/unix/inet/syscalls.list (connect, send): Add underscores + to the strong name, not the file name. + +Tue Jul 16 16:43:58 1996 Roland McGrath + + * csu/initfini.c: More magic. Detect if .end is produced and put it + in the output iff the compiler does. + + * elf/dl-lookup.c (_dl_lookup_symbol): Avoid sizeof dynamic auto array + because that is broken on alpha. + + * sysdeps/mach/hurd/mmap.c: Use same inheritance arg in second vm_map + call as in first. + + * Makerules (make-link): Install the new link with atomic mv -f in + case ln itself requires the library being installed. + +Tue Jul 16 00:31:31 1996 Richard Henderson + + * sysdeps/alpha/dl-machine.h: Mirror Roland's changes to + i386/dl-machine.h of 960713. + + * sysdeps/generic/dl-sysdep.c: Include . + (_dl_sysdep_read_whole_file): Fix result variable declaration. + +Tue Jul 16 00:53:57 1996 Roland McGrath + + * sysdeps/mach/hurd/uname.c: Call __gethostname to fill in the + `nodename' member. + +Mon Jul 15 17:23:53 1996 Ulrich Drepper + + * stdio-common/vfprintf.c (vfprintf): Call parse_one_spec + with pointer to local variable instead of NULL. + +1996-07-15 Paul Eggert + + * time/strftime.c (strftime): Don't pass empty macro argument to `add'. + +Sat Jul 13 09:53:39 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove names + that are already added by other means. + + * sysdeps/unix/sysv/linux/syscalls.list: Add more EXTRA's in the + caller column to get those syscalls added automagically. + +Mon Jul 15 12:24:54 1996 Miles Bader + + * login/logout.c (logout): Initialize DATA to a state that will + make setutent_r happy. + +Sun Jul 14 01:51:39 1996 Roland McGrath + + * elf/rtld.c (dl_main) [ELF_MACHINE_DEBUG_SETUP]: Use this macro + instead of setting the DT_DEBUG pointer. + + * csu/initfini.c (_init, _fini): Generate .end directives after + standalone prologues and filter them out from epilogues. + + * Makeconfig (rtld-installed-name): Set to ld.so.1. + * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): Variable + removed. + + * manual/Makefile (glibc-targets): Remove subdir_ from elts. + + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): New fn. + + * MakeTAGS (extract): Pass --add-comments=TRANS. + * sysdeps/gnu/errlist.awk: Write comments into the output with the + descriptive paragraphs from the manual preceded by TRANS. + + * elf/rtld.c (RESOLVE): Use the dl's load address, not a constant zero! + (_dl_start): Move RESOLVE defn inside this function and #include + "dynamic-link.h" a second time there. + [RTLD_START]: Move use of this after _dl_start function. + + * elf/dl-reloc.c: Include "dynamic-link.h" at file scope. + + * elf/rtld.c: Include . + + * elf/dynamic-link.h (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA, + ELF_DYNAMIC_RELOCATE): No longer take RESOLVE argument. + Conditionalize defns on [RESOLVE]. + * elf/do-rel.h (elf_dynamic_do_rel): Likewise. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. + Instead use RESOLVE macro with same args. + (elf_machine_rel): Conditionalize defn on [RESOLVE]. + * elf/dl-reloc.c (RESOLVE): New macro, define before including + "dynamic-link.h". It replaces `resolve' local function. + * elf/dl-runtime.c: Likewise. + * elf/rtld.c: Likewise. + + * elf/dl-deps.c (_dl_map_object_deps): Start TAILP at last preload. + + * elf/dl-open.c (_dl_open): Force an indirect call for + _dl_relocate_object so there is no chance a PLT fixup will be done + and clobber _dl_global_scope before our call happens. + + * sysdeps/i386/fpu/__math.h (tan): Correct output constraint from =u + to =t; must operate on top of fp reg stack, not second from top. + Correct input constraint to 0 from t; must be explicit when input and + output are the same register. + (floor): Use __volatile instead of volatile. + (ceil): Likewise. + + * manual/Makefile ($(objpfx)stamp%-$(subdir)): Separate rule from + other targets. + +Sat Jul 13 23:50:17 1996 Roland McGrath + + * manual/Makefile (lib): New phony target. Depend on stamp files. + ($(objpfx)stamp%-$(subdir)): New rule to create them when necessary. + +1996-07-13 Paul Eggert + + * time/strftime.c (strftime): Use space padding for %e, %k, %l, + to match Emacs format-time-string specification. + (DO_NUMBER_SPACEPAD): Renamed from DO_NUMBER_NOPAD. + +Sat Jul 13 20:17:38 1996 Roland McGrath + + * elf/dl-deps.c (_dl_map_object_deps): Take new args PRELOADS and + NPRELOADS, vector of `struct link_map *'s; add them to the searchlist + between MAP and its deps. + * elf/link.h: Fix decl. + * elf/rtld.c (dl_main): If not secure, parse LD_PRELOAD for + colon-separated list of names, map those and pass vector of ptrs as + PRELOADS list to _dl_map_object_deps. + * elf/dl-runtime.c (_dl_object_relocation_scope): Pass new args to + _dl_map_object_deps with empty preload list. + * elf/dl-open.c (_dl_open): Likewise. + + * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): Function + removed. + (__mmap): Pass MACH_PORT_NULL for memobj port when (flags & MAP_ANON). + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill): + Conditionalize defn on [! MAP_ANON]. + * elf/dl-minimal.c (malloc): Conditionalize use of _dl_zerofd + on [! MAP_ANON]. + * elf/rtld.c (dl_main): Likewise. + * elf/dl-load.c (_dl_zerofd): Conditionalize defn on [! MAP_ANON]. + (_dl_map_object_from_fd): Conditionalize initialization of _dl_zerofd. + + * elf/dl-fini.c (_dl_fini): Skip finalizer for executable itself. + +Sat Jul 13 02:47:53 1996 David Mosberger-Tang + + * stdlib/random.c (__random): Declare as int32_t to be in sync + with declaration. + + * socket/Makefile (headers): Add socketbits.h. + + * misc/mntent.c (endmntent): Allow for NULL stream. SunOS does + it that way. + + * grp/initgroups.c (initgroups): Add groups that user is a member + of, not the ones he is _not_ a member of. + + * nss/nsswitch.c (known_compare): Make known_compare() a static + instead of a local function. The latter are difficult to debug + and slow to execute on certain platforms. + + * sysdeps/posix/ttyname_r.c (ttyname_r): Use sizeof (dev) - 1 in + place of sizeof (dev). The size of a literal string includes the + NUL byte. + + * sysdeps/unix/getlogin.c (getlogin): Initialize ut_fd with -1. + +Thu Jul 11 16:59:10 1996 David Mosberger-Tang + + * misc/mntent.c (addmntent): Seek to end of file before writing + entry. Return 1 on error, not -1. + +Tue Jul 9 19:08:05 1996 David Mosberger-Tang + + * sysdeps/unix/sysv/linux/syscalls.list: Mark bdflush as EXTRA + syscall. + +Fri Jul 5 18:44:55 1996 David Mosberger-Tang + + * sysdeps/unix/sysv/linux/alpha/ioperm.c (port_to_cpu_addr): Size + shift amount for Jensen must be 5 not 4. + +Sat Jul 13 20:04:28 1996 Roland McGrath + + * socket/sys/socket.h (struct osockaddr): New type. + +Sat Jul 13 03:50:53 1996 Ulrich Drepper + + * misc/Makefile (routines): Add qefgcvt and qefgcvt_r. + * misc/efgcvt.c, misc/efgcvt_r.c: Change code so that the `double' + and `long double' versions can be generated. + * misc/qefgcvt.c, misc/qefgcvt_r.c: New files. Define macros + so that included efgcvt{,_r}.c file generate `long double' + versions. + * stdlib/stdlib.h: Add prototypes for q[efg]cvt() and q[ef]cvt_r() + functions. + + * manual/startup.texi: Document new getsubopt function. + * manual/examples/subopt.c: New example program for documenting + getsubopt function. + +Fri Jul 12 23:58:37 1996 Ulrich Drepper + + * stdlib/Makefile (routines): Add getsubopt. + * stdlib/stdlib.h: Add prototype for getsubopt. + * stdlib/getsubopt.c: New file. Implement getsubopt function + to handle suboption parsing. + +Thu Jul 11 20:09:55 1996 Roland McGrath + + * inet/getnetent_r.c: Define NEED_H_ERRNO. + * inet/getnetbynm_r.c: Likewise. + * inet/getnetent.c: Likewise. + * inet/getnetbyad_r.c: Likewise. + * inet/getnetbyad.c: Likewise. + * inet/getnetbynm.c: Likewise. + + * sysdeps/generic/pselect.c: Include . + + * misc/sys/select.h: Include instead of for + `struct timespec'. + + * math/Makefile (calls): Add s_frexp, s_ldexp. + (routines): Remove them and &f from here. + + * sys/socket.h: New file, wrapper for socket/sys/socket.h. + + * nss/nss_files/files-service.c (getservbyname): Take second arg PROTO + and check it. + + * nss/nss_files/files-XXX.c: Comment fix. + +Fri Jul 12 01:28:35 1996 Ulrich Drepper + + * nss/getXXent_r.c (GETFUNC_NAME_STRING): Define with name + of reentrant function. + (setup): Pass additional argument with function name we are + looking for. + (SETFUNC_NAME, ENDFUNC_NAME, GETFUNC_NAME): Call setup with + new argument {SET,END,GET}FUNC_NAME_STRING. + + * nss/getXXent.c (GETFUNC_NAME): RESULT must be static because + we return a pointer. + +Thu Jul 11 18:20:44 1996 Roland McGrath + + * nss/nss_files/files-parse.c: Add comment about things to #define. + + * nss/nss_files/files-hosts.c (NEED_H_ERRNO): Define it. + + * nss/nss_files/files-parse.c (STRING_FIELD): Don't flag NUL before + terminator char as an error. + + * nss/getXXbyYY_r.c (REENTRANT_NAME): Set *H_ERRNOP, not h_errno. + +Thu Jul 11 03:21:10 1996 Ulrich Drepper + + * catgets/gencat.c (write_out): Move code to determine new + best size out of inner loop. + +Thu Jul 11 00:22:40 1996 Ulrich Drepper + + * sysdeps/libm-ieee754/s_frexpl.c: New file. `long double' + implementation of frexp() function. + * sysdeps/libm-ieee754/s_ldexpl.c: New file. `long double' + implementation of ldexp() function. + + * sysdeps/libm-i387/s_isnanl.c (isnanl): Mask explicit one + out before or'ing. + +Wed Jul 10 05:24:40 1996 David Mosberger-Tang + + * misc/mntent.c: Include . + (endmntent): Return 1 one success, 0 on failure. + (getmntent): Chop newline and ignore empty lines. + +Mon Jul 8 21:18:40 1996 Andreas Schwab + + * sysdeps/m68k/dl-machine.h (RESOLVE): New macro, defined + differently based on [RTLD_BOOTSTRAP]. + (elf_machine_rela): Use it instead of the fn ptr arg directly. + +Tue Jul 9 09:37:55 1996 Roland McGrath + + * posix/glob.h (__glob_opendir_hook, __glob_readdir_hook, + __glob_closedir_hook): Remove decls. + + * sysdeps/generic/machine-gmon.h: Declare mcount_internal. + + * sysdeps/unix/inet/syscalls.list: Define __ names with weak aliases + for send and connect syscalls. + + * socket/sys/socket.h: New file, taken from non-sysdep parts of + linux/sys/socket.h; break sysdeps parts out into socketbits.h. + Declare __ names for send and connect. + * sysdeps/generic/socketbits.h: New file. + * sysdeps/unix/sysv/linux/socketbits.h: New file. + * sysdeps/unix/sysv/linux/sys/socket.h: File removed. + * sysdeps/generic/sys/socket.h: File removed. + + * sysdeps/mach/hurd/connect.c: Define __ name and weak alias. + * sysdeps/mach/hurd/send.c: Likewise. + + * sysdeps/mach/libc-lock.h: New file. + * sysdeps/unix/readdir.c: Do locking. + * sysdeps/unix/seekdir.c: Likewise. + * sysdeps/unix/rewinddir.c: Likewise. + * sysdeps/unix/closedir.c: Likewise. + * sysdeps/unix/bsd/telldir.c: Likewise. + * sysdeps/mach/hurd/seekdir.c: Likewise. + * sysdeps/mach/hurd/readdir.c: Likewise. + * sysdeps/mach/hurd/closedir.c: Likewise. + * sysdeps/mach/hurd/opendir.c: Initialize the lock. + * sysdeps/unix/opendir.c: Likewise. + * sysdeps/mach/hurd/dirstream.h: Include . + (struct __dirstream): Add lock member using __libc_lock_define. + * sysdeps/unix/dirstream.h: Likewise. + + * sysdeps/stub/libc-lock.h (__libc_lock_fini): New macro. + + * stdlib/mbstowcs.c: Pass address of pointer to mbsrtowcs. + + * stdlib/wcstombs.c: Use wcsrtombs instead of mbsrtowcs. + +Thu Jul 4 01:34:04 1996 Ulrich Drepper + + * locale/programs/stringtrans.c: Fix typo in copyright. + + * stdio-common/printf-prs.c: Add casts to prevent + signed<->unsigned warnings. + + * stdio-common/printf-parse.h: Initialize state variable before + calling mbrlen. + * stdio-common/printf-prs.c: Don't initialize state variable here. + * stdio-common/vfprintf.c: Don't initialize state variable. + (vfprintf): While determining length of multibyte string don't + try to be clever in determining characters to use for first + call. + + Add real implementation of multibyte<->wide char conversion + functions. The functions always convert between the fixed wide + char format (ISO 10646 in UCS4) and the UTF8 representation of + this character set. Conversion between the currently used + 8bit character set and ISO 10646 will not take place. This is + what iconv() is for. + * wcsmbs/wchar.h (mbstate_t): Define as structure to replace + dummy definition. + Add optimized version of `mbrlen' function. + * wcsmbs/btowc.c (btowc): Restrict range of legal characters + to 0...0x7f. + * wcsmbs/wctob.c (wctob): Restrict range of legal characters + to 0..0x7f. + * wcsmbs/mbrlen.c: Make mbrlen a weak alias of __mbrlen. + This is needed in the wchar.h header. + * wcsmbs/mbrtowc.c: Replace dummy implementation. Convert UTF8 + encoded character to UCS4. + * wcsmbs/mbsinit.c: Replace dummy implementation. Test COUNT + element of `mbstate_t' for initial state. + * wcsmbs/mbsrtowcs.c: Replace dummy implementation. Convert UTF8 + encoded string to UCS4 string. + * wcsmbs/wcrtomb.c: Replace dummy implementation. Convert UCS4 + character to UTF8 encoded form. + * wcsmbs/wcsrtombs.c: Replace dummy implementation. Convert UCS4 + encoded string to UTF8 encoded form. + +Tue Jul 9 06:19:29 1996 Roland McGrath + + * sysdeps/unix/sysv/linux/configure.in: Use version number in cache + variable name, so new a libc with new requirements won't fail to + notice an insufficient Linux version. + + * sysdeps/unix/sysv/linux/direntry.h: New file from David Mosberger. + + * sysdeps/unix/sysv/linux/configure.in: Check for Linux 2.0.1 headers, + instead of 2.0 headers. + + * sysdeps/mach/hurd/Makefile (stamp-errnos): Uncomment CVS commit cmds. + + * sysdeps/gnu/errlist.awk: Undo mib's bogus changes. The + sysdeps/mach/hurd/errnos.awk bug fix was the only correct change. + + * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Declare _mcount + before using it in lhs of weak_alias. + + * nss/getXXent_r.c (setup): New function, broken out of SETFUNC_NAME. + Call __nss_lookup when not setting STARTP. + (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Call it to set up for + function-calling loop. + +Tue Jul 9 00:14:52 1996 Michael I. Bushnell p/BSG + + * sysdeps/mach/hurd/ioctls.h (MDMBUF, ECHO, TOSTOP, FLUSHO, + PENDIN, NOFLSH): Undefine these at start if they are already + defined to avoid collision with termbits.h. + * sysdeps/generic/termbits.h (ECHO, TOSTOP, NOFLSH): Likewise. + (MDMBUF, FLUSHO, PENDIN) [__USE_BSD]: Likewise. + +Mon Jul 8 13:37:40 1996 Roland McGrath + + * math/math.h (_Mfloat_, _Mlong_double_): New macros, defined iff not + already defined to float, long double. Use those macros for _Mdouble_ + defns when including mathcalls.h. + * math/Makefile [$(long-double-fcts) != yes] (CPPFLAGS): Append + -D_Mlong_double_=double. + + Add more -lm functions to -lc because ldexp uses them. + * math/Makefile (calls): Add s_finite, s_copysign, s_scalbn, s_modf. + (routines): Remove s_modf, add s_frexpf, s_ldexpf; all but frexp and + ldexp have both f and l code, and those have f though not l code. + +Mon Jul 8 13:10:50 1996 Michael I. Bushnell p/BSG + + * sysdeps/mach/hurd/errnos.awk: Skip entries where the + error is 0. The "placeholder" entries recently added to + errno.texi convert to zero since `???/' is at the front of them. + * sysdeps/gnu/errlist.awk (errnoh): Likewise. + + * sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm + __const to conform with unistd.h. + + * stdlib/stdlib.h (random): Declare return type to be int32_t. + + * string/argz-delete.c (argz_delete): Use memmove instead of + memcpy for possibly overlapping strings. + +Mon Jul 8 02:14:25 1996 Roland McGrath + + * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_alias): Use extern + storage class. GCC gives an error for non-extern data defns with the + alias attribute. + +Mon Jul 8 01:37:34 1996 Michael I. Bushnell, p/BSG + + * string/argz-insert.c (__argz_insert): (__argz_insert): Use + memmove instead of memcpy for possible overlapping strings. + +Mon Jul 8 00:11:15 1996 Roland McGrath + + * libc-symbols.h (weak_function): New macro. + For GCC 2.7+ define as __attribute__ ((weak)). + * elf/dl-minimal.c: Use weak_function as keyword in function defns + instead of weak_symbol (NAME) after the defn. + * stdlib/strtol.c: Likewise. + * stdlib/strtod.c: Likewise. + * sysdeps/mach/hurd/dl-sysdep.c: Likewise. + + * sysdeps/alpha/dl-machine.h (elf_machine_rela) [RTLD_BOOTSTRAP]: + If this is defined, don't declare _dl_rtld_map as weak, and + don't check for MAP pointing to it. RESOLVE is always null in this + case, so test with #ifdef instead of if. + + * libc-symbols.h (symbol_set_declare): Use weak_extern instead of + weak_symbol. + * csu/initfini.c (_init): Likewise. + * locale/setlocale.c (DEFINE_CATEGORY): Likewise. + * misc/efgcvt_r.c: Likewise. + * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. + + * libc-symbols.h [ASSEMBLER] (weak_symbol): Macro removed. + It was not used in any assembler code. + (weak_symbol_asm): Renamed to weak_extern_asm. + (weak_extern): New macro replaces weak_symbol for weak extern refs; + define to weak_extern_asm for [!ASSEMBLER]. + +Sun Jul 7 18:42:06 1996 Roland McGrath + + * libc-symbols.h [! ASSEMBLER] [HAVE_WEAK_SYMBOLS] (weak_symbol_asm, + weak_alias_asm): New macros, renamed from weak_symbol/weak_alias; + define those now as aliases. + Change conditional to use __attribute__ syntax for GCC 2.7+, not 2.8+ + [GCC >= 2.7] [HAVE_WEAK_SYMBOLS] (weak_symbol): Do weak_symbol_asm + after GCC weak attribute decl. + + * sysdeps/gnu/errlist.awk (BEGIN): Initialize associative array ALIAS, + map EWOULDBLOCK->EAGAIN, EDEADLOCK->EDEADLK. + (element printer): Check for elt in ALIAS, instead of special case + for EWOULDBLOCK. + + * io/Makefile (headers): Add sys/vfs.h. + * io/sys/vfs.h: New file. + + * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Don't unlock the + critical section lock before unlinking dying active resources. + The unlock just before return is right (i.e. old code unlocked twice). + +Sun Jun 2 22:28:43 1996 Miles Bader + + * stdio/linewrap.c (lwupdate): Update D->point_offs when done. + Use memmove instead of memcpy where overlap is possible (not + necessary using current implementation of memcpy, but...). + (__line_wrap_update): Don't update D->point_offs (lwupdate does it). + +Fri May 31 11:48:46 1996 Miles Bader + + * stdio/linewrap.c (lwupdate): New function, mostly was + __line_wrap_update. Use POINT_COL field instead of POINT. + (__line_wrap_output): Use lwupdate. + (__line_wrap_update): New function. + (ensure_unwrapped, ensure_wrapped): New functions. + (line_wrap_set_lmargin, line_wrap_set_rmargin, + line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update. + + * stdio/linewrap.h (struct line_wrap_data): Rename POINT field to + POINT_COL. Add POINT_OFFS field. + (__line_wrap_update): New decl. + (line_wrap_set_lmargin, line_wrap_set_rmargin, + line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update. + +Fri Jul 5 17:34:47 1996 Miles Bader + + * login/logout.c (logout): Do nothing if getutline_r returns ESRCH. + + * login/pututline_r.c (pututline_r): Since we assign RESULT from + lseek now, check that it's >= 0, not == 0. + +Wed Jul 3 13:28:04 1996 Miles Bader + + * login/login.c (login): Make a copy of *UT, fill in various + fields that we supply (ut_line, ut_type, ut_pid), and use the copy + in place of UT. + + * login/getutline_r.c (getutline_r): When we return ESRCH, mark + UTMP_DATA->ubuf invalid (by setting UTMP_DATA->loc_utmp to 0). + +Fri Jul 5 12:22:51 1996 Roland McGrath + + * hurd/hurdsig.c (_hurd_internal_post_signal): In case of handled + signal during critical section doing interruptible RPC, if + _hurdsig_abort_rpcs wants to change thread state, do thread_set_state + before thread_resume. If in critical section, pass 0 for SIGNO to + _hurdsig_abort_rpcs so rpc is interrupted regardless of SA_RESTART. + + * extra-lib.mk: Fix typo in $(extra-libs-others) conditional. + + * sysdeps/unix/sysv/linux/sys/user.h: New file. + * sysdeps/unix/sysv/linux/Dist: Add it. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add sys/user.h. + + * nss/nss_files/files-parse.c (parse_list): Set EOL from LINE if it + points within DATA->linebuffer; otherwise use all of DATA->linebuffer + itself, no need to skip past a NUL. + + * nss/nsswitch.h (known_function): Comment fix. + * nss/nsswitch.c (nss_lookup_function): Rewritten using __tsearch + directly. Do the lookup and insertion with a single call, and fill in + the tree node afterwards if new. + (known_compare, nss_find_entry, nss_insert_entry): Functions removed. + + * misc/sys/select.h: #define __need_timespec before incl. + (struct timeval): Add bodiless decl for scope. + + * time/time.h (struct timespec): Rename members from `ts_*' to `tv_*'. + Move struct timespec defn outside [_TIME_H] so it can be got with + #define __need_timespec. + + * time/sys/time.h (TIMEVAL_TO_TIMESPEC): Use `tv_*' instead of `ts_*' + for `struct timespec' member names. + (TIMESPEC_TO_TIMEVAL): Likewise. + + * nss/Makefile (extra-libs-others): New variable. + + * extra-lib.mk: Don't test for $($(lib)-no-lib-dep). Instead match + $(lib) in $(extra-libs-others). + * sunrpc/Makefile (extra-libs-others): New variable. + (librpcsvc-no-lib-dep): Variable removed. + + * elf/rtld.c: Define RTLD_BOOTSTRAP before #include "dynamic-link.h". + * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove weak decl for + _dl_rtld_map. + (RESOLVE): New macro, defined differently based on [RTLD_BOOTSTRAP]. + (elf_machine_rel): Use it instead of testing fn ptr arg at runtime. + (elf_machine_rel: case R_386_32) [! RTLD_BOOTSTRAP]: Declare + _dl_rtld_map weak only here. + + * posix/unistd.h [__USE_BSD]: Declare getdomainname, setdomainname. + +Thu Jul 4 05:21:59 1996 David Mosberger-Tang + + * login/utmp.h: Fix typos. + + * misc/syslog.c (vsyslog): Use __send instead of send and + __connect instead of connect to avoid name-space collisions (e.g., + with psgetty). + +Wed Jul 3 16:29:41 1996 Roland McGrath + + * nss/getXXbyYY_r.c (REENTRANT_NAME): Cast FCT in __nss_next call. + + * sysdeps/generic/sbrk.c: Always call __brk (0) to update __curbrk. + + * malloc/malloc-size.c (malloc_usable_size): Renamed from + malloc_object_allocation_size. + * malloc/malloc.h: Fix decl. + + * sys/select.h: New file, wrapper header. + + * posix/sys/types.h [__USE_BSD]: Include ; remove + fd_set, associated macros, and select decl. + + * sysdeps/posix/isfdtype.c: New file. + +Tue Jul 2 23:45:14 1996 Ulrich Drepper + + The latest Japanese proposal for POSIX locales renames the + CHARMAP keyword in locale definition files to CHARCONV. + * locale/programs/ld-ctype.c, locale/programs/locales.h: Rename + function ctype_is_charmap to ctype_is_charconv. + * locale/programs/locfile-kw.gperf: Replace charmap keyword with + charconv. + * locale/programs/locfile-token.h: Add definition of token + charconv. + * locale/programs/locfile.c: Recognize charconv keyword. Rename + lables according to this. + + * locale/weight.h (get_weight): Cast constants to prevent + warnings. + + * stdlib/strtod.c, stdlib/strtol.c, string/strcoll.c, + string/strxfrm.c: Add some more casts to prevent signed<->unsigned + warnings. + + New stuff described in P1003.1g. + * misc/Makefile (headers): Add sys/select.h. + (routines): Add pselect. + * misc/sys/select.h: New file. Declare select functions and + needed data types and macros. + * sysdeps/generic/pselect.c: New file. Add generic implementation + of pselect() function which uses select(). + + * posix/getconf.c: Recognize new variables from P1003.1g. + * posix/posix1_lim.h: Define _POSIX_FD_SETSIZE, _POSIX_QLIMIT, + _POSIX_HIWAT, and _POSIX_UIO_MAXIOV. + * posix/unistd.h: Add description of the P1003.1g variables. + * sysdeps/generic/confname.h: Define _SC_* values for new + variables. + * sysdeps/posix/fpathconf.c (fpathconf): Add handling of + _PC_SOCK_MAXBUF. + * sysdeps/stub/fpathconf.c (fpathconf): Ditto. + * sysdeps/posix/sysconf.c (sysconf): Add handling of new + P1003.1g variables. + * sysdeps/stub/sysconf.c (sysconf): Ditto. + * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_POLL and + _POSIX_SELECT since Linux has this. + + * socket/Makefile (routines): Add isfdtype. + * sysdeps/generic/sys/socket.h: Add prototype for isfdtype. + * sysdeps/stub/isfdtype.c: New file. Stub implementation of + isfdtype. + + * wcsmbs/wcrtomb.c (wcrtomb): Fix typo. + +Wed Jul 3 11:26:28 1996 Roland McGrath + + * elf/Makefile (LDFLAGS-dl.so): New variable. + (libdl.so): Depend on eval.so. + (distribute): Add eval.c. + * elf/eval.c: New file. + + * time/strftime.c (strftime: do_number): Adjust P and I after sprintf + in case it wrote fewer than MAXDIGITS chars. + + * stdio/fwrite.c (fwrite: fill_buffer): Separate flushing for last + newline from flushing full buffer in loop, fix test so no fflush is + done when last byte written exactly fills the buffer. + + * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Depend on libc.so. + + * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): Variable removed. + (libc.so): Instead, give this deps on lib{mach,hurd}user.so. + + * elf/dl-debug.c (_dl_debug_initialize): Use LDBASE arg instead of + extracting _dl_rtld_map.l_addr. + + * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare _dl_rtld_map as + weak. + * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. + + * shlib-versions (*-*-*): Set libnss_db=1. + +Tue Jul 2 10:44:37 1996 Roland McGrath + + * elf/rtld.c (dl_main): Set _dl_rtld_map's DT_DEBUG location too. + + * rpm/template (%build): Use @prefix@ instead of always /usr. + Set up configparms only if @prefix@ is in fact /usr. + * rpm/Makefile ($(config)): Substitute $(prefix) for @prefix@. + + * elf/Makefile: Add missing endif. + + * nss/nss_files/files-ethers.c (ntohost): Fix db key. + + * nss/nss_files/files-network.c: Pass empty for new DB_LOOKUP args. + (DATABASE): Define this instead of DATAFILE. + * nss/nss_files/files-hosts.c: Likewise. + (hostbyname): Use LOOKUP_NAME macro. + + * nss/nss_db/db-XXX.c: New file. + * nss/Makefile (services): Add db. + (libnss_db-inhibit-o): New variable. + (libnss_db-routines): New variable. + (distribute): Append db-XXX.c. + (libnss_db.so): Depend on libdb.so and libnss_files.so. + ($(libnss_db-routines:%=$(objpfx)%.c)): New static pattern rule. + + * nss/nss_files/files-XXX.c (DB_LOOKUP): Add KEYSIZE and KEYPATTERN + args, ignored. + (DATAFILE): New macro. + * nss/nss_files/files-parse.c (GENERIC): If undefined, define to + "files-XXX.c". + * nss/nss_files/files-rpc.c: Include GENERIC instead of "files-XXX.c". + Pass db key args to DB_LOOKUP. + (DATAFILE): Macro removed. + (DATABASE): New macro replaces it, lacks "/etc/" prefix. + * nss/nss_files/files-service.c: Likewise. + * nss/nss_files/files-pwd.c: Likewise. + * nss/nss_files/files-proto.c: Likewise. + * nss/nss_files/files-grp.c: Likewise. + * nss/nss_files/files-ethers.c: Likewise. + + * elf/linux-compat.c: File removed. + * elf/Makefile (distribute): Remove linux-compat.c. + (ld-linux.so.1): Remove target and associated variables. + + * sunrpc/xdr.c: Remove malloc decl. + * sunrpc/portmap.c: Likewise. + + * sunrpc/svc_tcp.c (abort): Don't declare. Instead define as macro + casting abort to fn returning bool_t. + + * nss/nss_files/files-parse.c [EXTERN_PARSER]: Do an extern decl of + the parser function. + [EXTERN_PARSER] (LINE_PARSER): Define to empty. + * nss/nss_files/files-pwd.c (EXTERN_PARSER): Define it. + * nss/nss_files/files-grp.c: Likewise. + + * Makeconfig (BUILD_CC): If undefined, define to $(CC). + + * sunrpc/rpc/types.h: Include stdlib.h instead of declaring malloc. + + * Makeconfig (built-program-cmd): Use $(rtld-installed-name) in place + of ld.so so lookups for that soname find it. + + * nss/Makefile (libnss_dns.so): Depend on libresolv.so. + (resobjdir, LDLIBS-nss_dns.so): Variables removed. + + * pwd/fgetpwent.c: Don't include ../nss/nss_files/files-parse.c to + define parse_line function. + (parse_line): #define to _nss_files_parse_pwent and + add extern decl for that. + + * nss/nss_files/files-XXX.c (internal_getent): Return + NSS_STATUS_TRYAGAIN for ERANGE error. + + * sysdeps/i386/strtok.S (LreturnNULL): Save current state ptr instead + of null, so next round returns null again instead of bombing. Fix + from drepper. + + * nss/nss_files/files-parse.c (LINE_PARSER): Take new first arg EOLSET. + Remove ; after `ENTDATA_DECL (data)'. + Truncate line at strpbrk (line, EOLSET "\n"). + (ENTDATA_DECL): Put ; at end. + (MIDLINE_COMMENTS): Macro removed. + * nss/nss_files/files-ethers.c: Pass new argument. + * nss/nss_files/files-hosts.c: Likewise. + * nss/nss_files/files-network.c: Likewise. + * nss/nss_files/files-parse.c: Likewise. + * nss/nss_files/files-proto.c: Likewise. + * nss/nss_files/files-rpc.c: Likewise. + * nss/nss_files/files-service.c: Likewise. + * grp/fgetgrent.c: Likewise. + * pwd/fgetpwent.c: Likewise. + * nss/nss_files/files-pwd.c: Get parse_line with extern decl, since + fgetpwent.c already defines it. + * nss/nss_files/files-grp.c: Likewise. + + * elf/dl-load.c (_dl_map_object): Use any object with matching l_name + as well as any matching with l_libname. Fix DT_SONAME lookup to use + string table properly. + + * elf/rtld.c (dl_main): Set _dl_rtld_map.l_name from _dl_argv[0] when + invoked directly, and l_libname from that if PT_INTERP missing. + Set l_name from l_libname only if not set from argv. + + * time/europe, time/northamerica: Updated from ADO 96i. + +Mon Jul 1 15:44:34 1996 Roland McGrath + + * stdio-common/tst-ungetc.c: Include unistd.h. + + * inet/Makefile (routines): Change getnetbypt to getnetbyad. + +Mon Jul 1 13:32:42 1996 Miles Bader + + * hurd/report-wait.c (describe_number): Make I unsigned long. + + * login/login.c (login): Only Frob OLD->ut_type if getutline_r + actually found any entry. + + * login/pututline_r.c (pututline_r): If not located after any + entry don't use UTMP_DATA->ubuf, and seek to the end before adding. + Lock the file before stating. + +Mon Jul 1 12:29:50 1996 Roland McGrath + + * nss/Makefile (databases): Change host to hosts. + * nss/host-lookup.c: Renamed to nss/hosts-lookup.c. + + * nss/nsswitch.c (nss_parse_service_list): Use const for NAME. + + * nss/nss_files/files-parse.c (parse_list): Correct alignment fixup. + + * string/string.h (strndupa): Pass missing arg to strnlen. + + * inet/getnetbypt_r.c: Renamed to ... + * inet/getnetbyad_r.c: this; fixed function name. + * inet/getnetbypt.c: Renamed to ... + * inet/getnetbyad.c: this; fixed function name. + +Sat Jun 29 01:08:35 1996 Andreas Schwab + + * grp/getgrgid_r.c (LOOKUP_TYPE): Define to struct group, not + struct passwd. + +Fri Jun 28 23:25:35 1996 Miles Bader + + * login/login.c (login): Initialize DATA so that setutent_r will + actually do something. + +Fri Jun 28 16:53:01 1996 David Mosberger-Tang + + * resolv/res_hconf.c (strndup): Remove function. + + * nss/nsswitch.c (nss_lookup_function): Declare loadbase and ref + using ElfW() instead of Elf32_*. + + * sysdeps/unix/sysv/linux/alpha/init-first.h, + sysdeps/unix/sysv/linux/m68k/init-first.h, + sysdeps/unix/sysv/linux/i386/init-first.h: New files. + * sysdeps/unix/sysv/linux/init-first.c: Use platform-dependent + init-first.h to make abstract machine dependent parts of + initialization. + + * sysdeps/unix/alpha/sysdep.h: Undo PIC-optimization of syscall + error handling. It's safer that way. + + * sysdeps/unix/alpha/sysdep.S: Make ldgp part of the prologue. + Fix by Richard Henderson. + + * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix + typo/extraneous whitespace. + + * sunrpc/xdr.c (xdr_int, xdr_u_int): Use to test + determine what integer sizes we're dealing with. + +Fri Jun 28 15:46:02 1996 Michael I. Bushnell, p/BSG + + * hurd/hurdsig.c (_hurd_internal_post_signal): In pending signal + check for signal zero, repair logical sense of test by + parenthesizing correctly. + + * hurd/hurdsig.c (_hurd_internal_post_signal): In + check-for-pending signals code, release _hurd_siglock before + jumping to deliver_pending. + +Thu Jun 27 04:04:27 1996 David Mosberger-Tang + + * configure.in (config_machine): Make ELF the default even for + Linux/Alpha unless a configuration of the form *-*-linux*ecoff + is specified. + +Fri Jun 28 07:27:10 1996 Roland McGrath + + * nss/nss_files/files-hosts.c (ENTDATA): Define it. + * nss/nss_files/files-parse.c (struct parser_data): Define entdata + member only #ifdef ENTDATA. + (ENTDATA_DECL): New macro. + (LINE_PARSER): Use it for entdata decl. + (parse_list): Find the space for LIST from DATA->linebuffer instead of + from the input LINE, which might not be writable buffer space. + (LINE_PARSER): Use `parser_stclass' in place of `static inline'. + [ENTDATA] (parser_stclass): #define to `static inline'. + [!ENDATA] (parser_stclass): #define to empty. + [!ENTDATA] (parse_line): #define to _nss_files_parse_ENTNAME; the + function is exported to -lnss_files users. + + * string/strndup.c: Add missing arg. + + * string/string.h (strndupa): Likewise. + * string/strndup.c (strndup): Always terminate the string. + +Thu Jun 27 14:22:31 1996 Andreas Schwab + + * stdio/Makefile (routines): Add vscanf. + * stdio-common/Makefile (routines): Remove vscanf. + * stdio-common/vscanf.c: Move to ... + * stdio/vscanf.c: here. + + * rpm/Makefile (headers, install-lib, install-lib.so, + versioned, install-bin, install-sbin, install-data, + install-others): Add $(-VARIABLE). + +Fri Jun 28 02:41:08 1996 Roland McGrath + + * nss/Makefile (databases): New variable. + (routines, libnss_files-routines): Use it. + (subdir-dirs): Compute from $(services). + + * sysdeps/unix/sysv/linux/syscalls.list (create_module, delete_module, + init_module, klogctl): Use EXTRA in the "caller" column so these get + added to unix-extra-syscalls and thus compiled in misc. + + * string/Makefile (routines): Add strndup. + * string/strndup.c: New file. + * string/string.h: Declare strndup. + (strndupa): New macro. + + * string/string.h: Declare __strdup. + * string/strdup.c: Deansideclized. Define __ name and weak alias. + + * string/string.h: Don't define memccpy as macro for [__OPTIMIZE__]. + +Thu Jun 27 02:49:28 1996 Ulrich Drepper + + * catgets/gencat.c: Add casts to avoid signed<->unsigned warnings. + + * grp/initgroups.c (initgroups): De-ansi-fy. + Move declaration of NGROUPS and GROUPS outside #if so that + the code compiles for NGROUPS_MAX != 0. + + * inet/Makefile (headers): Add netinet/ether.h and netinet/if_ether.h. + (routines): Add ether_aton, ether_aton_r, ether_hton, ether_line, + ether_ntoa, ether_ntoa_r, and ether_ntoh. + * inet/ether_aton.c, inet/ether_aton_r.c, inet/ether_hton.c, + inet/ether_line.c, inet/ether_ntoa.c, inet/ether_ntoa_r.c, + inet/ether_ntoh.c: New files. Implementation of functions to + handle Ethernet address to host mapping. + * inet/netinet/ether.h: New file. Declare ether_* functions. + * netinet/ether.h: Wrapper around inet/netinet/ether.h for glibc + compilation. + * nss/ethers-lookup.c: New file. Lookup function for ethers database. + * nss/Makefile (routines): Add ethers-lookup. + (libnss_files-routines): Add files-ethers. + + * nss/getXXent_r.c: Don't define set*ent and end*ent function + with _r suffix. + + * nss/nss_files/files-XXX.c (internal_endent): Don't reset + KEEP_STREAM every time called. + (_nss_files_end): Reset KEEP_STREAM here instead. + (internal_getent): If STREAM == NULL try to open instead of + signalling error. + Use cast to prevent warning. + Terminate read line in case the buffer is too small. + + * nss/nss_files/files-ethers.c: New file. Implementation of + Ethernet adress<->hostname lookup through files interface. + + * stdlib/mbstowcs.c: Define based on mbsrtowcs(). + * stdlib/mbtowc.c: Define based on mbrtowc(). + * stdlib/wcstombs.c: Define based on wcsrtombs(). + * stdlib/wctomb.c: Define based on wcrtomb(). + + * sunrpc/xdr.c (xdr_u_int): Avoid bogus call to + unexpected_sizes_in_xdr_u_int. + + * sysdeps/generic/netinet/if_ether.h: New file. Generic declaration + of `struct ether_addr'. + * sysdeps/unix/sysv/linux/netinet/if_ether.h: New file. Linux specific + declaration of `struct ether_addr'. + + * wcsmbs/mbrtowc.c: Handle case where argument PS is NULL. + * wcsmbs/mbsrtowcs.c: Ditto. + * wcsmbs/wcrtomb.c: Ditto. + * wcsmbs/wcsrtombs.c: Ditto. + + * wcsmbs/mbsinit.c: Prepare for PS being NULL. + +Wed Jun 26 13:19:35 1996 Miles Bader + + * hurd/get-host.c : New include. + * hurd/set-host.c : New include. + (_hurd_set_host_config): Include NEW in args to dir_link. + Return NWROTE, not NREAD. + + * sysdeps/mach/hurd/getcwd.c + (_hurd_canonicalize_directory_name_internal): Don't deallocate + DOTID & DOTDEVID until we're finished with them (we need to keep + them at least until we've fetched the next level of id ports, so + that mach will be able to use the same name if they're the same). + Add inner_errlose: label, which deallocates DOTID & DOTDEVID and + jumps to errlose, for those places where such cleanup is needed. + +Wed Jun 26 01:58:49 1996 Roland McGrath + + * nss/nss_files/files-parse.c (parse_list): Count null in EOL calc. + + Move DB code into separate -ldb library. + * db/Makefile (extra-libs): New variable, list libdb. + (routines): Renamed to libdb-routines. + * shlib-versions: Add libdb=2. + + * nss/network-lookup.c (DEFAULT_CONFIG): New macro. + * nss/host-lookup.c (DEFAULT_CONFIG): New macro. + + * nss/nsswitch.c (nss_parse_service_list): Use __strncasecmp instead + of strncasecmp. Extend syntax to grok [!foo=bar]. + + * sysdeps/generic/strncase.c: Define __strncasecmp with strncasecmp as + weak alias. + * string/string.h: Declare __strncasecmp. + + * nss/nsswitch.c (nss_parse_file): Call __getline, not getline. + (service_alias): Variable removed. + (nss_parse_service_list): New function, broken out of nss_getline. + Remove alias conversion; we will just use symlinks. + (__nss_database_lookup): Take new string arg DEFCONFIG. + If no entry exists, make one with service list parsed from that. + * nss/nsswitch.h: Update protocol for __nss_database_lookup. + * nss/XXX-lookup.c (DEFAULT_CONFIG): New macro, set to 0 if undefined. + (DB_LOOKUP_FCT): Pass it to _nss_database_lookup. + + * grp/initgroups.c: Rewritten using getgrent. Handle unlimited group + list size. + + * sunrpc/xdr.c (xdr_int): #if 0 out unresolved references in dead code. + +Wed Jun 26 01:56:50 1996 Ulrich Drepper + + * locale/programs/locale.c (long_options): Short form of + --version option is `-V'. + (main): Recognize `-V' as option, not `-v'. + Call `usage' instead of printing error message for illegal + option. + (usage): Document `-V'. + +Tue Jun 25 17:22:55 1996 Miles Bader + + * sysdeps/mach/hurd/getcwd.c + (_hurd_canonicalize_directory_name_internal): Initialize PARENT to + THISDIR, and don't ever deallocate PARENT unless it's != THISDIR. + +Tue Jun 25 10:58:23 1996 Roland McGrath + + * inet/getrpcent.c: Fix macros. + * inet/getrpcent_r.c: Fix macros. + + * elf/dlsym.c (dlsym): Search the global scope if HANDLE is null. + + * elf/dl-load.c (_dl_map_object_from_fd): Initialize L. + +Tue Jun 25 09:55:47 1996 David Mosberger-Tang + + * catgets/gencat.c (write_out): Use %Zu to print variables of type + size_t. + * resolv/res_debug.c (__p_rr): Print size_t variable as %lu and + cast it to (unsigned long) to make it work both on 32 and 64 + bit architectures. + +Sat Jun 22 13:05:25 1996 Andreas Schwab + + * locale/Makefile (distribute): Add `programs/' prefix to all + files in that directory. + + * Makerules (distinfo-vars): Assign subdir directly so that `ifdef + subdir' works. + + * MakeTAGS (sources, headers): Make them simply expanded variables + so that all-dist is expanded before it is changed. + +Tue Jun 25 02:59:11 1996 Roland McGrath + + * Make-dist (dist): Don't depend on crypt tar file. Remove that rule. + * Makefile (subdirs): Remove crypt. + * crypt: Directory removed. It will be made an independent library + distribution. + + * Makefile (distribute): Add rpm/{Makefile,teplate,rpmrc}. + + * inet/getrpcent_r.c (DATABASE_NAME): New macro. + + * inet/getrpcbynumber.c (BUFLEN): New macro. + + * configure.in (--no-whole-archive check): Remove backslashes in cmd. + + * Makefile (headers): Add libc-lock.h. + * sysdeps/stub/libc-lock.h: New file. + + * inet/getrpcbynumber.c: Remove _r typo. + + * elf/dl-load.c (_dl_map_object): Fix typo in last change. + + * nss/nss_files/files-parse.c (parse_list): Reset ELT for elements + after the first! + + * nss/nsswitch.c (__nss_database_lookup): If nsswitch.conf is missing + or doesn't mention DATABASE, use an internal default equivalent to + "DATABASE: compat [NOTFOUND=return] dns [NOTFOUND=return] files". + (nss_lookup_function): Call nss_new_service as needed. + (nss_parse_file): Don't bother calling nss_new_service here. + + * grp/fgetgrent.c (LINE_PARSER): Pass zero SWALLOW arg for fields. + * pwd/fgetpwent.c: Likewise. + + * malloc/malloc.h: Declare malloc_object_allocated_size, malloc_walk. + * malloc/Makefile (dist-routines): Add malloc-size, malloc-walk. + * malloc/malloc-size.c: New file. + * malloc/malloc-walk.c: New file. + + * malloc/malloc-find.c (malloc_find_object_address): Return null if + PTR is outside the heap. + + * elf/dl-load.c (_dl_map_object): If the requested name matches the + soname of a loaded object, use that object. + +Mon Jun 24 19:57:01 1996 Roland McGrath + + * Makefile (subdirs): Add nss. + + * inet/Makefile (routines): Add getrpcent, getrpcbyname, + getrpcbynumber, getrpcent_r, getrpcbyname_r, getrpcbynumber_r. + * inet/getrpcbynumber_r.c: New file. + * inet/getrpcbynumber.c: New file. + * inet/getrpcbyname.c: New file. + * inet/getrpcbyname_r.c: New file. + * inet/getrpcent_r.c: New file. + * inet/getrpcent.c: New file. + * nss/rpc-lookup.c: New file. + * nss/nss_files/files-rpc.c: New file. + * nss/Makefile (routines): Add rpc-lookup. + (libnss_files-routines): Add files-rpc. + * sunrpc/Makefile (routines): Remove getrpcent. + * sunrpc/getrpcent.c: File removed. + + * nss/getXXent_r.c (REENTRANT_GETNAME): Clear NO_MORE when NIP is + non-null on entry. + + * Makeconfig (rpath-link): Add $(nssobjdir). + (nssobjdir): New variable. + + * Makerules: Move shared library building before objects rules, so + versions are known before extra-lib.mk gets included. + * extra-lib.mk (lib-noranlib): Depend on the shared object too. + + * pwd/getpwuid.c: Rewritten using nss. + * pwd/getpwnam.c: Likewise. + * pwd/getpwent.c: Likewise. + * grp/getgrnam.c: Likewise. + * grp/getgrgid.c: Likewise. + * grp/getgrent.c: Likewise. + * pwd/Makefile (routines): Add getpwent_r, getpwnam_r, getpwuid_r. + * pwd/getpwent_r.c: New file. + * pwd/getpwnam_r.c: New file. + * pwd/getpwuid_r.c: New file. + * grp/Makefile (routines): Add getgrent_r, getgrgid_r, getgrnam_r. + * grp/getgrnam_r.c: New file. + * grp/getgrgid_r.c: New file. + * grp/getgrent_r.c: New file. + * grp/Makefile (routines): Remove grpopen, grpread. + * pwd/Makefile (routines): Remove pwdopen, pwdread. + * grp/grpopen.c, grp/grpread.c, pwd/pwdopen.c, pwd/pwdread.c: Removed. + + * pwd/fgetpwent.c: Rewritten using files-parse.c. + * grp/fgetgrent.c: Likewise. + + * nss/Makefile (routines): Add grp-lookup and pwd-lookup. + * nss/pwd-lookup.c, nss/grp-lookup.c: New files. + * nss/nss_files/files-grp.c: New file. + * nss/nss_files/files-pwd.c: New file. + + * nss/Makefile (subdir-dirs): New variable; use it in vpath. + + * nss/nss_files/files-parse.c: New file. + * nss/nss_files/files-XXX.c: New file. + * nss/nss_files/files-hosts.c, nss/nss_files/files-proto.c, + nss/nss_files/files-service.c, nss/nss_files/files-network.c: + Rewritten using them. + + * nss/Makefile (libnss_files-routines): Remove files-host. + Add files-hosts, files-grp, files-pwd. + + * nss/nss_dns/dns-network.c: Don't include . + +Mon Jun 24 22:39:12 1996 Richard Henderson + + * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): + A .plt entry now loads the .rela.plt offset directly rather + than making us calculate it. + +Sun Jun 23 15:24:05 1996 Roland McGrath + + * time/Makefile ($(installed-localtime-file) rule): Do + $(make-target-directory) first. + + * resolv.h: Fix wrapper for resolv/resolv.h. + + * configure.in (ld --no-whole-archive check): Use AC_TRY_COMMAND. + Compile dummy file and pass -nostdlib -nostartfiles so as not to + require installed libraries. + + * shlib-versions (*-*-*): Set libresolv=2, libnss_files=1, + libnss_dns=1. + +Sun Jun 23 19:42:05 1996 Ulrich Drepper + + * resolv/Makefile (distribute): Remove res_hconf.h; add mapv4v6addr.h + and mapv4v6hostent.h. + (routines): Move res* and gethnamaddr into libresolv-routines. + (libresolv-routines): New variable, put them there. + (extra-libs): New variable, list libresolv. + (CPPFLAGS): Add -D for get*by* to res_get*by*. + + * resolv/netdb.h (_PATH_NSSWITCH_CONF): New macro. + + * inet/herrno.c: New file. + + * resolv/res_init.c: Remove res_hconf calls. + + * nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c, + nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c, + nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c, + nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c, + nss/service-lookup.c: New files. Implementation of name + service switch, following the approach in Solaris. + Interface specification and general structure inspired by Peter + Eriksson . + * nss/nss_files/files-host.c, nss/nss_files/files-network.c, + nss/nss_files/files-proto.c, nss/nss_files/files-service.c: + Implementation of libnss_files.so module for file based databases + in NSS service. + * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation + if libnss_dns.so module for DNS name lookup in NSS service. + + * inet/getproto.c, inet/getprtent.c, inet/getprtname.c, + inet/getservent.c, inet/getsrvbynm.c, inet/getsrvbypt.c: + Changed to serve as interface to NSS. + * inet/gethstbyad.c, inet/gethstbyad_r.c, inet/gethstbynm.c, + inet/gethstbynm2.c, inet/gethstbynm2_r.c, inet/gethstbynm_r.c, + inet/gethstent.c, inet/gethstent_r.c, inet/getnetbynm.c, + inet/getnetbynm_r.c, inet/getnetbypt.c, inet/getnetbypt_r.c, + inet/getnetent.c, inet/getnetent_r.c, inet/getproto_r.c, + inet/getprtent_r.c, inet/getprtname_r.c, inet/getservent_r.c, + inet/getsrvbynm_r.c, inet/getsrvbypt_r.c: New files. Implement + interfaces to NSS, including reentrant functions. + + * resolv/getnetbyaddr.c, resolv/getnetbyname.c, resolv/getnetent.c, + resolv/sethostent.c: Removed: Obsoleted by NSS. + + * resolv/mapv4v6addr.h, resolv/mapv4v6hostent.h: Extracted from + gethnamaddr.c. These private functions are now used in more + than one file. + + * resolv/inet_pton.c, resolv/gethnamaddr.c: Updated to bind-4.9.4-T5B. + +Sat Jun 22 16:49:47 1996 Andreas Schwab + + * rpm/Makefile ($(config)): Make sure the word list in the for + loop is syntactically non-empty. + +Sat Jun 22 21:29:52 1996 Roland McGrath + + * Version 1.92 test release. + +Sat Jun 22 23:30:07 1996 David Mosberger-Tang + + * sysdeps/unix/sysv/linux/syscalls.list (ksyslog_ctl): Rename + to klogctl to match prototype in sys/klog.h. + + * sysdeps/posix/libc_fatal.c: Add include of . + * sysdeps/unix/sysv/linux/gethostid.c: Ditto. + + * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal): + Remove. Code is now part of __getcwd again. The old function + never really worked for anything but THISDIR==".". + + * sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants + only when building ELF version of library. + + * libio/libioP.h (_IO_vscanf): Add prototype. + + * posix/unistd.h (syscall): Change sysno arg and return value + to int long. + +Sat Jun 22 10:44:09 1996 Roland McGrath + + * version.h (VERSION): Updated to 1.92. + + * misc/Makefile (headers): Add ar.h. + * misc/ar.h: New file. + + * config.make.in (BUILD_CC): New variable. + * configure.in: Check for BUILD_CC if $host != $build. + + * posix/glob.c: Include only [HAVE_ALLOCA_H], not [sparc]. + + * Makerules [! objects] (subdir_lib): Depend on the stamp$o files. + (stamp$o files): New targets, create them empty, no deps. + + * rpm/template (Source): New field. + (%prep, %build, %install): New sections. + (%files): Add %doc FAQ NEWS NOTES README. + * rpm/rpmrc (builddir): Removed. + +Fri Jun 21 00:27:51 1996 Roland McGrath + + * elf/dl-load.c (_dl_map_object_from_fd): Fix mapping and l_phdr + guessing to not assume p_vaddr of first load cmd is zero. + + * sysdeps/sparc/elf/start.S: New file. + * sysdeps/sparc/dl-machine.h: New file. + + * posix/fnmatch.c (fnmatch): Fix \*[*?]+ case to increment name ptr + only for ?s, not for *s. Fix from Chet Ramey. + + Fixes thanks to Raja R Harinath : + * sysdeps/unix/sysv/utmpbits.h: Define _HAVE_UT_{TYPE,ID,TV,HOST}. + Use __{BEGIN,END}_DECLS. + (_PATH_WTMP, _PATH_UTMP, _PATH_LASTLOG): New macros. + * login/utmp.h (UTMP_FILE, UTMP_FILENAME, WTMP_FILE, WTMP_FILENAME): + New macros, moved here from sysdeps/gnu/utmpbits.h. + * sysdeps/generic/utmpbits.h (_HAVE_UT_HOST): Define it. + * sysdeps/gnu/utmpbits.h (_HAVE_UT_HOST): Likewise. + * login/logout.c: Use ut_host only #if _HAVE_UT_HOST. + Use sizeof instead of UT_*SIZE. + * login/logwtmp.c: Likewise. + + * misc/tsearch.c (tdelete): Define as weak alias to __tdelete. + + * version.c (banner): Add trailing newline. + + * login/utmp.h: Declare login_tty. + +Thu Jun 20 21:19:07 1996 Richard Henderson + + * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): + Changed to a 12-byte PLT entry to remove dependency on $gp. + Take a new got_addr parameter. + (elf_machine_rela): Pass the new parameter. + (ELF_MACHINE_RUNTIME_TRAMPOLINE): Do arithmetic for 12-byte PLT. + (RTLD_START): Do normal linkage with program entry. + +Thu Jun 20 12:18:21 1996 Miles Bader + + * sysdeps/mach/hurd/brk.c (_hurd_brk): Initialize to 0. + + * hurd/getuids.c (getuids): New weak link to __getuids. + +Wed Jun 19 10:21:24 1996 Miles Bader + + * hurd/hurdlookup.c (__hurd_file_name_lookup_retry, + __hurd_file_name_lookup, __hurd_file_name_split): Add & use LOOKUP + argument. + Rename nested function lookup to lookup_op. + (__file_name_lookup, __file_name_lookup_under): + Pass 0 for lookup arg to __hurd_file_name_lookup. + (__file_name_split): Likewise for __hurd_file_name_split. + * hurd/path-lookup.c (hurd_file_name_path_lookup): Add LOOKUP argument. + Rename nested function lookup to scan_lookup. + (file_name_path_lookup): Pass 0 for lookup arg to + hurd_file_name_path_lookup. + * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup, + __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry: + __hurd_file_name_split, hurd_file_name_split, hurd_file_name_lookup): + Add LOOKUP argument. + * sysdeps/mach/hurd/access.c (__access): Pass 0 lookup arg to + __hurd_file_name_lookup. + +Mon Jun 17 19:09:49 1996 Andreas Schwab + + * Make-dist (+sysdeps): Move wildcard inside loop to avoid consing + up a huge list just to discard most of it. + + * configure.in (sysnames): Avoid fgrep by using the case shell + builtin. + + * Makeconfig (config.status): Fix dependency on Implies files. + +Wed Jun 19 01:27:57 1996 Roland McGrath + + * math/Makefile (distribute): Add ieee-math.c. + +Wed Jun 19 03:24:58 1996 Ulrich Drepper + + * locale/codeset_name.c: New file. Provide function for information + about currently used character set. + * locale/Makefile (routines): Add codeset_name. + * locale/langinfo.h (_NL_CTYPE_CODESET_NAME): Add new constant. + * locale/localeinfo.h: Change magic number because of incompatible + change. + * locale/C-ctype.c: Add initializer for new field `codeset_name'. + * locale/programs/ld-ctype.c: Implement handling of `codeset_name'. + + * locale/programs/locfile.c: Don't depend in pre-2.0 Linux specific + name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'. + + * locale/setlocale.c (setlocale): Initialize local variables to + prevent warnings. + +Thu Jun 13 17:25:11 1996 David Mosberger-Tang + + * sysdeps/generic/memcmp.c: Add prototype decls for internal fns. + + * locale/programs/locale.c: Include string.h. + + * sunrpc/xdr_stdio.c (xdrstdio_getlong), sunrpc/xdr_rec.c + (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure + appropriate sign-extension is performed on machines with + sizeof(long) > 4. + + * sunrpc/xdr.c (xdr_int, xdr_u_int): If sizeof(long)==8 and + sizeof(int) + + * libio/stdio.h (__libc_fatal): Add prototype. + + * libio/cleanup.c: Use __P() to declare prototype when __STDC__ is + in efect. + + * libio/iopopen.c (read_or_write, parent_end, child_end): Declare + volatile to avoid "might get clobbered by longjmp" warning. + + * features.h (__KERNEL_STRICT_NAMES): Define __KERNEL_STRICT_NAMES + unless _LOOSE_KERNEL_NAMES is in effect (which, with high + probability is a sure loser). + * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Remove. + + * sysdeps/unix/bsd/osf/alpha/start.S (errno): Removed. + * sysdeps/unix/sysv/linux/alpha/start.S: Ditto. + + * misc/paths.h (_PATH_MAN): Change from /usr/share/man to /usr/man + to be Linux FSSTND compliant. + +Mon Jun 10 17:50:31 1996 David Mosberger-Tang + + * sysdeps/unix/sysv/linux/alpha/pipe.S: Use PSEUDO. + + * sysdeps/unix/sysv/linux/alpha/sysdep.S, + sysdeps/unix/sysv/linux/alpha/brk.S, + sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S, + sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S, + sysdeps/unix/sysv/linux/alpha/llseek.S, + sysdeps/unix/sysv/linux/alpha/sigsuspend.S, + sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to + __syscall_error to avoid intruding application name space. + + * sysdeps/unix/sysv/linux/alpha/sysdep.h: Rename __NR_get?id + to SYS_get?id so that syscall stubs in sysdeps/unix define + these syscalls in terms of getxpid/getxuid/getxgid. + + * sysdeps/unix/_exit.S, sysdeps/unix/getegid.S, + sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S, + sysdeps/unix/execve.S, sysdeps/unix/fork.S, + sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END. + + * sysdeps/unix/make-syscalls.sh, sysdeps/unix/sysdep.h + (PSEUDO_END): Rename END() to PSEUDO_END(). + + * sysdeps/unix/alpha/sysdep.h: Move error-handling code in PSEUDO + to PSEUDO_END to improve branch-prediction. Include .frame + directive to make syscalls debugabble. + (PSEUDO_END): New macro. + + * sysdeps/unix/alpha/sysdep.h, sysdeps/alpha/bb_init_func.S, + sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since + latter is illegal under DEC Unix. + + * sysdeps/unix/alpha/sysdep.S: Renamed from + sysdeps/unix/sysv/linux/alpha/sysdep.S. This file works for OSF/1 + as well. + * sysdeps/unix/bsd/osf/alpha/sysdep.S: Remove (note that the + EWOULDBLOCK -> EAGAIN mapping was unnecessary since + EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha). + + * sysdeps/alpha/divrem.h: Use retaddr instead of ra as the return + address register in the .frame directive. + + * sysdeps/alpha/copysign.c: Remove. + + * sunrpc/rpc/types.h: Include and to + avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN. + + * errno.h: Move __END_DECLS to correct place to make file + compilable under c++. + + * dirent/dirent.h: Document _DIRENT_HAVE_D_OFF macro. Define + d_ino only if hasn't defined d_fileno. + + * configure.in (HAVE_ASM_WEAKEXT_DIRECTIVE): Reverse order of + arguments to weakext to make .weakext detection work on ECOFF systems. + + * FAQ: Add Linux/Alpha to list of supported platforms. Mention + that _validuser() has been replaced by __ivaliduser(). + +Thu Jun 6 21:39:38 1996 David Mosberger-Tang + + * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Declare cmd + as unsigned long, not as int (to avoid incorrect int->long + promotion). + + + +See ChangeLog.5 for earlier changes. diff -durpN glibc-2.0/FAQ glibc-2.0.1/FAQ --- glibc-2.0/FAQ Fri Jan 17 10:26:10 1997 +++ glibc-2.0.1/FAQ Wed Jan 29 10:21:26 1997 @@ -74,6 +74,9 @@ please let me know. [Q20] ``How can I compile gcc 2.7.2.1 from the gcc source code using glibc 2.x? + +[Q21] ``On Linux I've got problems with the declarations in Linux + kernel headers.'' ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [Q1] ``What systems does the GNU C Library run on?'' @@ -605,9 +608,25 @@ is very tricky to compile gcc 2.7.2.1 us build it manually or with one pass only. You also have to use the specs file in this FAQ while compiling gcc. -A pre-compiled binary version of gcc 2.7.2.1 linked with glibc 2.x for -Linux/x86 is available in the same directory at the glibc 2.x source -code ftp sites. + +~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ +[Q21] ``On Linux I've got problems with the declarations in Linux + kernel headers.'' + +[A21] {UD,AJ} On Linux, the use of kernel headers is reduced to a very +minimum. Besides giving Linus the possibility to change the headers +more freely it has another reason: user level programs now do not +always use the same types like the kernel does. + +I.e., the libc abstracts the use of types. E.g., the sigset_t type is +in the kernel 32 or 64 bits wide. In glibc it is 1024 bits wide, in +preparation for future development. The reasons are obvious: we don't +want to have a new major release when the Linux kernel gets these +functionality. Consult the headers for more information about the changes. + +Therefore you shouldn't include Linux kernel header files directly if +glibc has defined a replacement. Otherwise you might get undefined +results because of type conflicts. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ diff -durpN glibc-2.0/MakeTAGS glibc-2.0.1/MakeTAGS --- glibc-2.0/MakeTAGS Fri Jan 3 11:27:04 1997 +++ glibc-2.0.1/MakeTAGS Mon Feb 3 21:02:31 1997 @@ -84,17 +84,22 @@ sources += $(foreach lib,$(extra-libs),$ # All different versions of $(sources), preserving the configured sysdep # directory order. +# Files that are found in the current directory cannot occur in +# sysdep directories, so don't bother searching them. +sysdep-sources := $(filter-out $(wildcard $(sources)), $(sources)) all-sources = $(wildcard $(sort $(sources) $(sources:.c=.S) $(sources:.c=.s) \ $(others:=.c) $(tests:=.c))) \ $(foreach dir,$(all-dirs),\ $(wildcard \ $(addprefix $(dir)/,\ - $(sort $(sources) $(sources:.c=.S) \ - $(sources:.c=.s))))) + $(sort $(sysdep-sources) \ + $(sysdep-sources:.c=.S) \ + $(sysdep-sources:.c=.s))))) +sysdep-headers := $(filter-out $(wildcard $(headers)), $(headers)) all-headers = $(wildcard $(headers)) \ $(foreach dir,$(all-dirs),\ - $(wildcard $(addprefix $(dir)/,$(headers)))) + $(wildcard $(addprefix $(dir)/,$(sysdep-headers)))) tags_sources := $(strip $(tags_sources)) diff -durpN glibc-2.0/Makeconfig glibc-2.0.1/Makeconfig --- glibc-2.0/Makeconfig Wed Jan 22 14:40:14 1997 +++ glibc-2.0.1/Makeconfig Fri Jan 31 20:46:20 1997 @@ -91,7 +91,8 @@ export full-config-sysdirs := $(full-con # changes and so config.status would be run every time; the dependence of # config.make should suffice to force regeneration and re-exec, and the new # image will notice if config.h changed. -$(common-objpfx)config.make: $(common-objpfx)config.status $(..)config.h.in +$(common-objpfx)config.make: $(common-objpfx)config.status \ + $(..)config.make.in $(..)config.h.in cd $( ${@:stmp=T} + if test -r ${@:stmp=h} && cmp -s ${@:stmp=h} ${@:stmp=T}; \ + then rm -f ${@:stmp=T}; \ + else mv -f ${@:stmp=T} ${@:stmp=h}; fi + touch $@ + +common-generated += gnu/lib-names.h gnu/lib-names.stmp # The name under which the run-time dynamic linker is installed. # We are currently going for the convention that `/lib/ld.so.1' diff -durpN glibc-2.0/Makefile glibc-2.0.1/Makefile --- glibc-2.0/Makefile Sat Jan 25 23:39:04 1997 +++ glibc-2.0.1/Makefile Sun Feb 2 17:42:24 1997 @@ -91,10 +91,12 @@ echo-headers: subdir_echo-headers # What to install. install-others = $(inst_includedir)/gnu/stubs.h +install-bin = glibcbug + ifeq (yes,$(build-shared)) +before-compile += $(objpfx)gnu/lib-names.h install-others += $(inst_includedir)/gnu/lib-names.h endif -install-bin = glibcbug ifeq (yes,$(gnu-ld)) libc-init = set-init @@ -117,7 +119,7 @@ ifeq (no,$(cross-compiling)) ifeq (yes,$(build-shared)) install: test ! -x $(common-objpfx)elf/ldconfig || \ - $(common-objpfx)elf/ldconfig -d + $(common-objpfx)elf/ldconfig -d $(inst_slibdir) $(inst_libdir) endif endif @@ -192,28 +194,10 @@ $(inst_includedir)/gnu/stubs.h: subdir_i ifeq (yes,$(build-shared)) -# Like gnu/stubs.h the gnu/lib-names.h header is not used while building the -# libc itself. So we generate it while installing. -$(inst_includedir)/gnu/lib-names.h: $(common-objpfx)soversions.mk - @rm -f $(objpfx)lib-names.h - (echo '/* This file is automatically generated.';\ - echo ' It defines macros to allow user program to find the shared';\ - echo ' library files which come as part of GNU libc. */';\ - echo '#ifndef __GNU_LIB_NAMES_H'; \ - echo '#define __GNU_LIB_NAMES_H 1'; \ - echo; \ - (libs='$(all-sonames)';\ - for l in $$libs; do \ - upname=`echo $$l | sed 's/[.]so.*//' | \ - tr '[:lower:]-' '[:upper:]_'`; \ - echo "#define $${upname}_SO \"$$l\""; \ - done;) | sort; \ - echo; \ - echo '#endif /* gnu/lib-names.h */';) > $(objpfx)lib-names.h - if test -r $@ && cmp -s $(objpfx)lib-names.h $@; \ +$(inst_includedir)/gnu/lib-names.h: $(common-objpfx)gnu/lib-names.h + if test -r $@ && cmp -s $< $@; \ then echo 'gnu/lib-names.h unchanged'; \ - else $(INSTALL_DATA) $(objpfx)lib-names.h $@; fi - rm -f $(objpfx)lib-names.h + else $(INSTALL_DATA) $< $@; fi endif # The `glibcbug' script contains the version number and it shall be rebuild @@ -224,7 +208,7 @@ $(objpfx)glibcbug: $(common-objpfx)confi # This makes the Info or DVI file of the documentation from the Texinfo source. .PHONY: info dvi info dvi: - $(MAKE) -C manual $@ + $(MAKE) $(PARALLELMFLAGS) -C manual $@ # This makes all the subdirectory targets. @@ -238,7 +222,7 @@ all-subdirs-targets := $(foreach dir,$(s # The action for each of those is to cd into the directory and make the # target there. $(all-subdirs-targets): - $(MAKE) -C $(@D) $(@F) + $(MAKE) $(PARALLELMFLAGS) -C $(@D) $(@F) .PHONY: $(+subdir_targets) $(all-subdirs-targets) @@ -321,10 +305,10 @@ INSTALL: manual/maint.texi; $(format-me) NOTES: manual/creature.texi; $(format-me) rpm/%: subdir_distinfo - $(MAKE) -C $(@D) subdirs='$(subdirs)' $(@F) + $(MAKE) $(PARALLELMFLAGS) -C $(@D) subdirs='$(subdirs)' $(@F) # This is a special goal for people making binary distributions. Normally # everybody uses the DES based crypt library but for the distribution we # need the only-MD5 based one as well. md5-crypt/libmd5crypt: - $(MAKE) -C $(@D) $(@F) + $(MAKE) $(PARALLELMFLAGS) -C $(@D) $(@F) diff -durpN glibc-2.0/Makefile.in glibc-2.0.1/Makefile.in --- glibc-2.0/Makefile.in Thu Dec 8 19:53:25 1994 +++ glibc-2.0.1/Makefile.in Sat Feb 1 18:39:01 1997 @@ -1,6 +1,9 @@ -# Generated from $Id: Makefile.in,v 1.2 1994/12/09 00:53:25 roland Exp $. +# Generated from $Id: Makefile.in,v 1.3 1997/02/01 23:39:01 drepper Exp $. srcdir = @srcdir@ +# Uncomment the line below if you want to do parallel build. +# PARALLELMFLAGS = -j 4 + all .DEFAULT: - $(MAKE) -C $(srcdir) objdir=`pwd` $@ + $(MAKE) PARALLELMFLAGS="$(PARALLELMFLAGS)" -C $(srcdir) objdir=`pwd` $@ diff -durpN glibc-2.0/Makerules glibc-2.0.1/Makerules --- glibc-2.0/Makerules Wed Jan 22 23:52:28 1997 +++ glibc-2.0.1/Makerules Mon Feb 3 21:02:31 1997 @@ -26,7 +26,7 @@ This makefile requires GNU Make. endif REQUIRED_MAKE_VERSION = 3.74 -REAL_MAKE_VERSION = $(shell echo "$(MAKE_VERSION)" | sed 's/ .*//') +REAL_MAKE_VERSION = $(firstword $(MAKE_VERSION)) ifneq ($(REQUIRED_MAKE_VERSION), \ $(firstword $(sort $(REAL_MAKE_VERSION) $(REQUIRED_MAKE_VERSION)))) diff -durpN glibc-2.0/README glibc-2.0.1/README --- glibc-2.0/README Sun Jan 26 00:49:01 1997 +++ glibc-2.0.1/README Sun Feb 2 21:06:37 1997 @@ -1,4 +1,4 @@ -This directory contains the version 2.0 test release of the GNU C Library. +This directory contains the version 2.0.1 test release of the GNU C Library. Many bugs have been fixed since the last release. Some bugs surely remain. @@ -46,7 +46,7 @@ provides the Unix `crypt' function, plus Because of the United States export restriction on DES implementations, we are distributing this code separately from the rest of the C library. There is an extra distribution tar file just for crypt; it is -called `glibc-crypt-2.0.tar.gz'. You can just unpack the crypt +called `glibc-crypt-2.0.1.tar.gz'. You can just unpack the crypt distribution along with the rest of the C library and build; you can also build the library without getting crypt. Users outside the USA can get the crypt distribution via anonymous FTP from ftp.ifi.uio.no diff -durpN glibc-2.0/config.make.in glibc-2.0.1/config.make.in --- glibc-2.0/config.make.in Sat Jan 25 23:44:44 1997 +++ glibc-2.0.1/config.make.in Tue Jan 28 22:29:24 1997 @@ -1,5 +1,5 @@ # @configure_input@ -# From $Id: config.make.in,v 1.32 1997/01/26 04:44:44 drepper Exp $. +# From $Id: config.make.in,v 1.33 1997/01/29 03:29:24 drepper Exp $. # Don't edit this file. Put configuration parameters in configparms instead. # Installation prefixes. @@ -38,7 +38,6 @@ build-shared = @shared@ build-profile = @profile@ build-omitfp = @omitfp@ stdio = @stdio@ -malloc = @malloc@ add-ons = @subdirs@ # Build tools. diff -durpN glibc-2.0/dirent/dirent.h glibc-2.0.1/dirent/dirent.h --- glibc-2.0/dirent/dirent.h Thu Jan 23 12:38:48 1997 +++ glibc-2.0.1/dirent/dirent.h Sat Feb 1 18:40:38 1997 @@ -39,12 +39,15 @@ __BEGIN_DECLS It defines the macro `_DIRENT_HAVE_D_OFF' iff there is a `d_off' member that gives the file offset of the next directory entry. + + It defines the macro `_DIRENT_HAVE_D_TYPE' iff there is a `d_type' + member that gives the type of the file. */ #include -#if (defined(__USE_BSD) || defined(__USE_MISC)) && !defined(d_fileno) -#define d_ino d_fileno /* Backward compatibility. */ +#if (defined __USE_BSD || defined __USE_MISC) && !defined d_fileno +# define d_ino d_fileno /* Backward compatibility. */ #endif /* These macros extract size information from a `struct dirent *'. @@ -62,16 +65,16 @@ __BEGIN_DECLS */ #ifdef _DIRENT_HAVE_D_NAMLEN -#define _D_EXACT_NAMLEN(d) ((d)->d_namlen) -#define _D_ALLOC_NAMLEN(d) (_D_EXACT_NAMLEN (d) + 1) -#else -#define _D_EXACT_NAMLEN(d) (strlen ((d)->d_name)) -#ifdef _DIRENT_HAVE_D_RECLEN -#define _D_ALLOC_NAMLEN(d) (((char *) (d) + (d)->d_reclen) - &(d)->d_name[0]) +# define _D_EXACT_NAMLEN(d) ((d)->d_namlen) +# define _D_ALLOC_NAMLEN(d) (_D_EXACT_NAMLEN (d) + 1) #else -#define _D_ALLOC_NAMLEN(d) (sizeof (d)->d_name > 1 ? sizeof (d)->d_name : \ - _D_EXACT_NAMLEN (d) + 1) -#endif +# define _D_EXACT_NAMLEN(d) (strlen ((d)->d_name)) +# ifdef _DIRENT_HAVE_D_RECLEN +# define _D_ALLOC_NAMLEN(d) (((char *) (d) + (d)->d_reclen) - &(d)->d_name[0]) +# else +# define _D_ALLOC_NAMLEN(d) (sizeof (d)->d_name > 1 ? sizeof (d)->d_name : \ + _D_EXACT_NAMLEN (d) + 1) +# endif #endif @@ -90,8 +93,8 @@ enum }; /* Convert between stat structure types and directory types. */ -#define IFTODT(mode) (((mode) & 0170000) >> 12) -#define DTTOIF(dirtype) ((dirtype) << 12) +# define IFTODT(mode) (((mode) & 0170000) >> 12) +# define DTTOIF(dirtype) ((dirtype) << 12) #endif @@ -116,42 +119,42 @@ extern int closedir __P ((DIR *__dirp)); extern struct dirent *__readdir __P ((DIR *__dirp)); extern struct dirent *readdir __P ((DIR *__dirp)); -#if defined __USE_POSIX || defined __USE_REENTRANT +#if defined __USE_POSIX || defined __USE_MISC /* Reentrant version of `readdir'. Return in RESULT a pointer to the next entry. */ -extern int __readdir_r __P ((DIR *__dirp, struct dirent *entry, - struct dirent **result)); -extern int readdir_r __P ((DIR *__dirp, struct dirent *entry, - struct dirent **result)); -#endif /* POSIX or reentrant */ +extern int __readdir_r __P ((DIR *__dirp, struct dirent *__entry, + struct dirent **__result)); +extern int readdir_r __P ((DIR *__dirp, struct dirent *__entry, + struct dirent **__result)); +#endif /* POSIX or misc */ /* Rewind DIRP to the beginning of the directory. */ extern void rewinddir __P ((DIR *__dirp)); -#if defined(__USE_BSD) || defined(__USE_MISC) +#if defined __USE_BSD || defined __USE_MISC /* Return the file descriptor used by DIRP. */ extern int dirfd __P ((DIR *__dirp)); -#if defined (__OPTIMIZE__) && defined (_DIR_dirfd) -#define dirfd(dirp) _DIR_dirfd (dirp) -#endif +# if defined __OPTIMIZE__ && defined _DIR_dirfd +# define dirfd(dirp) _DIR_dirfd (dirp) +# endif -#ifndef MAXNAMLEN +# ifndef MAXNAMLEN /* Get the definitions of the POSIX.1 limits. */ -#include +# include /* `MAXNAMLEN' is the BSD name for what POSIX calls `NAME_MAX'. */ -#ifdef NAME_MAX -#define MAXNAMLEN NAME_MAX -#else -#define MAXNAMLEN 255 -#endif -#endif +# ifdef NAME_MAX +# define MAXNAMLEN NAME_MAX +# else +# define MAXNAMLEN 255 +# endif +# endif -#include -#define __need_size_t -#include +# include +# define __need_size_t +# include /* Seek to position POS on DIRP. */ extern void seekdir __P ((DIR *__dirp, __off_t __pos)); diff -durpN glibc-2.0/elf/Makefile glibc-2.0.1/elf/Makefile --- glibc-2.0/elf/Makefile Wed Jan 22 19:55:35 1997 +++ glibc-2.0.1/elf/Makefile Tue Jan 28 14:14:42 1997 @@ -118,7 +118,7 @@ $(objpfx)trusted-dirs.h: Makefile done;) > $@T mv -f $@T $@ CPPFLAGS-dl-load.c = -I$(objdir)/$(subdir) -CFLAGS-dl-load.c = -Wno-uninitialized +CFLAGS-dl-load.c += -Wno-uninitialized # Specify the dependencies of libdl.so; its commands come from the generic # rule to build a shared library. diff -durpN glibc-2.0/elf/dl-deps.c glibc-2.0.1/elf/dl-deps.c --- glibc-2.0/elf/dl-deps.c Mon Jan 6 09:25:36 1997 +++ glibc-2.0.1/elf/dl-deps.c Sun Feb 2 13:29:27 1997 @@ -32,7 +32,7 @@ _dl_map_object_deps (struct link_map *ma struct link_map *map; struct list *next; }; - struct list head[2 + npreloads], *tailp, *scanp; + struct list *head, *tailp, *scanp; struct list duphead, *duptailp; unsigned int nduplist; unsigned int nlist, naux, i; @@ -49,36 +49,57 @@ _dl_map_object_deps (struct link_map *ma naux = nlist = 0; -#define AUXTAG (DT_NUM + DT_PROCNUM + DT_EXTRATAGIDX (DT_AUXILIARY)) + /* XXX The AUXILIARY implementation isn't correct in the moment. XXX + XXX The problem is that we currently do not handle auxiliary XXX + XXX entries in the loaded objects. XXX */ +#define AUXTAG (DT_NUM + DT_PROCNUM + DT_VERSIONTAGNUM \ + + DT_EXTRATAGIDX (DT_AUXILIARY)) + + /* First determine the number of auxiliary objects we have to load. */ if (map->l_info[AUXTAG]) { - /* There is an auxiliary library specified. We try to load it, - and if we can, use its symbols in preference to our own. - But if we can't load it, we just silently ignore it. - XXX support multiple DT_AUXILIARYs? - */ - struct link_map *aux; - void openaux (void) - { - const char *strtab - = ((void *) map->l_addr + map->l_info[DT_STRTAB]->d_un.d_ptr); - aux = _dl_map_object (map, strtab + map->l_info[AUXTAG]->d_un.d_val, - map->l_type == lt_executable ? lt_library : - map->l_type, trace_mode); - } - char *errstring; - const char *objname; - if (! _dl_catch_error (&errstring, &objname, &openaux)) - { - /* The auxiliary object is actually there. Use it - as the first search element, even before MAP itself. */ - preload (aux); - naux = 1; - } + ElfW(Dyn) *d; + for (d = map->l_ld; d->d_tag != DT_NULL; ++d) + if (d->d_tag == DT_AUXILIARY) + ++naux; } - /* Start the search list with one element: MAP itself. */ + /* Now we can allocate the array for the linker maps. */ + head = (struct list *) alloca (sizeof (struct list) + * (naux + npreloads + 2)); + + /* Load the auxiliary objects, even before the object itself. */ + if (map->l_info[AUXTAG]) + { + /* There is at least one auxiliary library specified. We try to + load it, and if we can, use its symbols in preference to our + own. But if we can't load it, we just silently ignore it. */ + const char *strtab + = ((void *) map->l_addr + map->l_info[DT_STRTAB]->d_un.d_ptr); + ElfW(Dyn) *d; + + for (d = map->l_ld; d->d_tag != DT_NULL; ++d) + if (d->d_tag == DT_AUXILIARY) + { + struct link_map *aux; + void openaux (void) + { + aux = _dl_map_object (map, strtab + d->d_un.d_val, + (map->l_type == lt_executable + ? lt_library : map->l_type), + trace_mode); + } + char *errstring; + const char *objname; + if (! _dl_catch_error (&errstring, &objname, openaux)) + /* The auxiliary object is actually there. Use it as + the first search element, even before MAP itself. */ + preload (aux); + } + } + + /* Next load MAP itself. */ preload (map); /* Add the preloaded items after MAP but before any of its dependencies. */ diff -durpN glibc-2.0/elf/dynamic-link.h glibc-2.0.1/elf/dynamic-link.h --- glibc-2.0/elf/dynamic-link.h Sun Jan 5 19:25:42 1997 +++ glibc-2.0.1/elf/dynamic-link.h Sun Feb 2 20:36:31 1997 @@ -26,11 +26,12 @@ static inline void __attribute__ ((unused)) elf_get_dynamic_info (ElfW(Dyn) *dyn, - ElfW(Dyn) *info[DT_NUM + DT_PROCNUM + DT_EXTRANUM]) + ElfW(Dyn) *info[DT_NUM + DT_PROCNUM + DT_VERSIONTAGNUM + + DT_EXTRANUM]) { unsigned int i; - for (i = 0; i < DT_NUM + DT_PROCNUM + DT_EXTRANUM; ++i) + for (i = 0; i < DT_NUM + DT_PROCNUM + DT_VERSIONTAGNUM + DT_EXTRANUM; ++i) info[i] = NULL; if (! dyn) @@ -43,8 +44,11 @@ elf_get_dynamic_info (ElfW(Dyn) *dyn, else if (dyn->d_tag >= DT_LOPROC && dyn->d_tag < DT_LOPROC + DT_PROCNUM) info[dyn->d_tag - DT_LOPROC + DT_NUM] = dyn; + else if ((Elf32_Word) DT_VERSIONTAGIDX (dyn->d_tag) < DT_VERSIONTAGNUM) + info[DT_VERSIONTAGIDX (dyn->d_tag) + DT_NUM + DT_PROCNUM] = dyn; else if ((Elf32_Word) DT_EXTRATAGIDX (dyn->d_tag) < DT_EXTRANUM) - info[DT_EXTRATAGIDX (dyn->d_tag) + DT_NUM + DT_PROCNUM] = dyn; + info[DT_EXTRATAGIDX (dyn->d_tag) + DT_NUM + DT_PROCNUM + + DT_VERSIONTAGNUM] = dyn; else assert (! "bad dynamic tag"); dyn++; diff -durpN glibc-2.0/elf/elf.h glibc-2.0.1/elf/elf.h --- glibc-2.0/elf/elf.h Mon Jan 6 09:25:24 1997 +++ glibc-2.0.1/elf/elf.h Sat Feb 1 16:46:02 1997 @@ -232,6 +232,11 @@ typedef struct #define SHT_SHLIB 10 /* Reserved */ #define SHT_DYNSYM 11 /* Dynamic linker symbol table */ #define SHT_NUM 12 /* Number of defined types. */ +#define SHT_LOSUNW 0x6ffffffd /* Sun-specific low bound. */ +#define SHT_GNU_verdef 0x6ffffffd /* Version definition section. */ +#define SHT_GNU_verneed 0x6ffffffe /* Version needs section. */ +#define SHT_GNU_versym 0x6fffffff /* Version symbol table. */ +#define SHT_HISUNW 0x6fffffff /* Sun-specific high bound. */ #define SHT_LOPROC 0x70000000 /* Start of processor-specific */ #define SHT_HIPROC 0x7fffffff /* End of processor-specific */ #define SHT_LOUSER 0x80000000 /* Start of application-specific */ @@ -464,12 +469,91 @@ typedef struct #define DT_HIPROC 0x7fffffff /* End of processor-specific */ #define DT_PROCNUM DT_MIPS_NUM /* Most used by any processor */ +/* The versioning entry types. The next are defined as part of the + GNU extension. */ +#define DT_VERSYM 0x6ffffff0 + +/* These were chosen by Sun. */ +#define DT_VERDEF 0x6ffffffc /* Address of version definition + table */ +#define DT_VERDEFNUM 0x6ffffffd /* Number of version definitions */ +#define DT_VERNEED 0x6ffffffe /* Address of table with needed + versions */ +#define DT_VERNEEDNUM 0x6fffffff /* Number of needed versions */ +#define DT_VERSIONTAGIDX(tag) (DT_VERNEEDNUM - (tag)) /* Reverse order! */ +#define DT_VERSIONTAGNUM 16 + /* Sun added these machine-independent extensions in the "processor-specific" range. Be compatible. */ #define DT_AUXILIARY 0x7ffffffd /* Shared object to load before self */ #define DT_FILTER 0x7fffffff /* Shared object to get values from */ #define DT_EXTRATAGIDX(tag) ((Elf32_Word)-((Elf32_Sword) (tag) <<1>>1)-1) #define DT_EXTRANUM 3 + +/* Version definition sections. */ + +typedef struct +{ + Elf32_Half vd_version; /* Version revision */ + Elf32_Half vd_flags; /* Version information */ + Elf32_Half vd_ndx; /* Version Index */ + Elf32_Half vd_cnt; /* Number of associated aux entries */ + Elf32_Word vd_hash; /* Version name hash value */ + Elf32_Word vd_aux; /* Offset in bytes to verdaux array */ + Elf32_Word vd_next; /* Offset in bytes to next verdef + entry */ +} Elf32_Verdef; + +/* Legal values for vd_version (version revision). */ +#define VER_DEF_NONE 0 /* No version */ +#define VER_DEF_CURRENT 1 /* Current version */ +#define VER_DEF_NUM 2 /* Given version number */ + +/* Legal values for vd_flags (version information flags). */ +#define VER_FLG_BASE 0x1 /* Version definition of file itself */ +#define VER_FLG_WEAK 0x2 /* Weak version identifier */ + +/* Auxialiary version information. */ + +typedef struct +{ + Elf32_Addr vda_name; /* Version or dependency names */ + Elf32_Word vda_next; /* Offset in bytes to next verdaux + entry */ +} Elf32_Verdaux; + +/* Version dependency section. */ + +typedef struct +{ + Elf32_Half vn_version; /* Version of structure */ + Elf32_Half vn_cnt; /* Number of associated aux entries */ + Elf32_Addr vn_file; /* Offset of filename for this + dependency */ + Elf32_Word vn_aux; /* Offset in bytes to vernaux array */ + Elf32_Word vn_next; /* Offset in bytes to next verneed + entry */ +} Elf32_Verneed; + +/* Legal values for vn_version (version revision). */ +#define VER_NEED_NONE 0 /* No version */ +#define VER_NEED_CURRENT 1 /* Current version */ +#define VER_NEED_NUM 2 /* Given version number */ + +/* Auxiliary needed version information. */ + +typedef struct +{ + Elf32_Word vna_hash; /* Hash value of dependency name */ + Elf32_Half vna_flags; /* Dependency specific information */ + Elf32_Half vna_other; /* Unused */ + Elf32_Addr vna_name; /* Dependency name string offset */ + Elf32_Word vna_next; /* Offset in bytes to next vernaux + entry */ +} Elf32_Vernaux; + +/* Legal values for vna_flags. */ +#define VER_FLG_WEAK 0x2 /* Weak verison identifier */ /* Auxiliary vector. */ diff -durpN glibc-2.0/elf/link.h glibc-2.0.1/elf/link.h --- glibc-2.0/elf/link.h Mon Jan 20 20:42:49 1997 +++ glibc-2.0.1/elf/link.h Sat Feb 1 18:24:40 1997 @@ -99,9 +99,12 @@ struct link_map [0,DT_NUM) are indexed by the processor-independent tags. [DT_NUM,DT_NUM+DT_PROCNUM) are indexed by the tag minus DT_LOPROC. [DT_NUM+DT_PROCNUM,DT_NUM+DT_PROCNUM+DT_EXTRANUM) are indexed - by DT_EXTRATAGIDX(tagvalue) (see ). */ + by DT_EXTRATAGIDX(tagvalue) and + [DT_NUM+DT_PROCNUM+DT_VERSIONTAGNUM, + DT_NUM+DT_PROCNUM+DT_VERSIONTAGNUM+DT_EXTRANUM) + are indexed by DT_EXTRATAGIDX(tagvalue) (see ). */ - ElfW(Dyn) *l_info[DT_NUM + DT_PROCNUM + DT_EXTRANUM]; + ElfW(Dyn) *l_info[DT_NUM + DT_PROCNUM + DT_VERSIONTAGNUM + DT_EXTRANUM]; const ElfW(Phdr) *l_phdr; /* Pointer to program header table in core. */ ElfW(Addr) l_entry; /* Entry point location. */ ElfW(Half) l_phnum; /* Number of program header entries. */ diff -durpN glibc-2.0/glibcbug.in glibc-2.0.1/glibcbug.in --- glibc-2.0/glibcbug.in Sun Jan 19 17:43:45 1997 +++ glibc-2.0.1/glibcbug.in Mon Jan 27 10:56:26 1997 @@ -106,11 +106,11 @@ From: ${USER} To: ${BUGADDR} Subject: [50 character or so descriptive subject here (for reference)] ->Submitter-Id: +>Submitter-Id: net >Originator: ${ORIGINATOR} >Organization: ${ORGANIZATION- $ORGANIZATION_C} ->Confidential: no (the GNU PR database is public) +>Confidential: no >Synopsis: $SYNOPSIS_C >Severity: $SEVERITY_C >Priority: $PRIORITY_C diff -durpN glibc-2.0/grp/grp.h glibc-2.0.1/grp/grp.h --- glibc-2.0/grp/grp.h Thu Jan 23 12:36:38 1997 +++ glibc-2.0.1/grp/grp.h Wed Jan 29 22:08:38 1997 @@ -88,10 +88,13 @@ extern struct group *getgrgid __P ((__gi /* Search for an entry with a matching group name. */ extern struct group *getgrnam __P ((__const char *__name)); -#if defined __USE_POSIX || defined __USE_REENTRENT +#if defined __USE_POSIX || defined __USE_MISC + +#ifdef __USE_MISC /* Reasonable value for the buffer sized used in the reentrant functions below. But better use `sysconf'. */ #define NSS_BUFLEN_GROUP 1024 +#endif /* Reentrant versions of some of the functions above. diff -durpN glibc-2.0/inet/aliases.h glibc-2.0.1/inet/aliases.h --- glibc-2.0/inet/aliases.h Sat Nov 16 18:25:31 1996 +++ glibc-2.0.1/inet/aliases.h Wed Jan 29 21:46:46 1997 @@ -1,4 +1,4 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. +/* Copyright (C) 1996, 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 @@ -28,12 +28,12 @@ __BEGIN_DECLS /* Structure to represent one entry of the alias data base. */ struct aliasent -{ - char *alias_name; - size_t alias_members_len; - char **alias_members; - int alias_local; -}; + { + char *alias_name; + size_t alias_members_len; + char **alias_members; + int alias_local; + }; /* Open alias data base files. */ @@ -45,19 +45,18 @@ extern void endaliasent __P ((void)); /* Get the next entry from the alias data base. */ extern struct aliasent *getaliasent __P ((void)); -/* Get alias entry corresponding to NAME. */ -extern struct aliasent *getaliasbyname __P ((__const char *__name)); - -#ifdef __USE_REENTRANT -/* Reentrant versions of some of the functions above. */ +/* Get the next entry from the alias data base and put it in RESULT_BUF. */ extern int getaliasent_r __P ((struct aliasent *__result_buf, char *__buffer, size_t __buflen, struct aliasent **__result)); +/* Get alias entry corresponding to NAME. */ +extern struct aliasent *getaliasbyname __P ((__const char *__name)); + +/* Get alias entry corresponding to NAME and put it in RESULT_BUF. */ extern int getaliasbyname_r __P ((__const char *__name, struct aliasent *__result_buf, char *__buffer, size_t __buflen, struct aliasent **__result)); -#endif /* reentrant */ __END_DECLS diff -durpN glibc-2.0/inet/netinet/ip.h glibc-2.0.1/inet/netinet/ip.h --- glibc-2.0/inet/netinet/ip.h Fri Jan 17 07:43:20 1997 +++ glibc-2.0.1/inet/netinet/ip.h Sat Feb 1 11:04:08 1997 @@ -122,6 +122,8 @@ struct ip { #define IPOPT_OFFSET 2 /* offset within option */ #define IPOPT_MINOFF 4 /* min value of above */ +#define MAX_IPOPTLEN 40 + /* * Time stamp option structure. */ diff -durpN glibc-2.0/libio/libio.h glibc-2.0.1/libio/libio.h --- glibc-2.0/libio/libio.h Fri Dec 13 16:44:24 1996 +++ glibc-2.0.1/libio/libio.h Sun Feb 2 18:05:31 1997 @@ -149,15 +149,6 @@ the executable file might be covered by struct _IO_jump_t; struct _IO_FILE; -/* Define the user-visible type, with user-friendly member names. */ -typedef struct -{ - _IO_ssize_t (*read) __P ((struct _IO_FILE *, void *, _IO_ssize_t)); - _IO_ssize_t (*write) __P ((struct _IO_FILE *, const void *, _IO_ssize_t)); - _IO_fpos_t (*seek) __P ((struct _IO_FILE *, _IO_off_t, int)); - int (*close) __P ((struct _IO_FILE *)); -} _IO_cookie_io_functions_t; - /* Handle lock. */ #ifdef _IO_MTSAFE_IO #include @@ -236,6 +227,15 @@ extern struct _IO_FILE_plus _IO_stdin_, #define _IO_stderr ((_IO_FILE*)(&_IO_stderr_)) +/* Define the user-visible type, with user-friendly member names. */ +typedef struct +{ + _IO_ssize_t (*read) __P ((struct _IO_FILE *, void *, _IO_ssize_t)); + _IO_ssize_t (*write) __P ((struct _IO_FILE *, const void *, _IO_ssize_t)); + _IO_fpos_t (*seek) __P ((struct _IO_FILE *, _IO_off_t, int)); + int (*close) __P ((struct _IO_FILE *)); +} _IO_cookie_io_functions_t; + /* Special file type for fopencookie function. */ struct _IO_cookie_file { struct _IO_FILE file; @@ -292,7 +292,10 @@ extern int _IO_ftrylockfile __P ((_IO_FI # define _IO_cleanup_region_end(_Doit) /**/ #endif /* !_IO_MTSAFE_IO */ -#ifdef __USE_REENTRANT +/* XXX Should we allow a symbol to be defined which selects the efficient + implementation when the user is really sure no threaded functions ever + will be used? */ +#if 1 # define _IO_getc(_fp) _IO_getc (_fp) # define _IO_peekc(_fp) _IO_peekc_locked (_fp) # define _IO_putc(_ch, _fp) _IO_putc (_ch, _fp) diff -durpN glibc-2.0/libio/stdio.h glibc-2.0.1/libio/stdio.h --- glibc-2.0/libio/stdio.h Wed Jan 1 05:02:50 1997 +++ glibc-2.0.1/libio/stdio.h Wed Jan 29 22:02:25 1997 @@ -1,6 +1,6 @@ /* This is part of the iostream/stdio library, providing -*- C -*- I/O. Define ANSI C stdio on top of C++ iostreams. - Copyright (C) 1991, 1994, 1995, 1996 Free Software Foundation, Inc. + Copyright (C) 1991, 1994, 1995, 1996, 1997 Free Software Foundation, Inc. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public @@ -138,7 +138,7 @@ extern int sprintf __P ((char*, __const extern int sscanf __P ((__const char* string, __const char* format, ...)); extern FILE* tmpfile __P ((void)); extern char* tmpnam __P ((char*)); -#ifdef __USE_REENTRANT +#ifdef __USE_MISC extern char* tmpnam_r __P ((char*)); #endif #if defined(__USE_SVID) || defined(__USE_XOPEN) @@ -224,7 +224,7 @@ extern const char *const _sys_errlist[]; #endif /* Handle locking of streams. */ -#ifdef __USE_REENTRANT +#ifdef __USE_MISC extern void clearerr_locked __P ((FILE *)); extern void clearerr_unlocked __P ((FILE *)); extern int feof_locked __P ((FILE *)); @@ -233,9 +233,6 @@ extern int ferror_locked __P ((FILE*)); extern int ferror_unlocked __P ((FILE*)); extern int fileno_locked __P ((FILE *)); extern int fileno_unlocked __P ((FILE *)); -extern void flockfile __P ((FILE *)); -extern void funlockfile __P ((FILE *)); -extern int ftrylockfile __P ((FILE *)); extern int fclose_unlocked __P ((FILE *)); extern int fflush_locked __P ((FILE *)); extern int fflush_unlocked __P ((FILE *)); @@ -245,24 +242,35 @@ extern size_t fwrite_unlocked __P ((cons extern int fputc_locked __P ((int, FILE*)); extern int fputc_unlocked __P ((int, FILE*)); extern int getc_locked __P ((FILE *)); -extern int getc_unlocked __P ((FILE *)); extern int getchar_locked __P ((void)); -extern int getchar_unlocked __P ((void)); extern int putc_locked __P ((int, FILE *)); -extern int putc_unlocked __P ((int, FILE *)); extern int putchar_locked __P ((int)); -extern int putchar_unlocked __P ((int)); # ifndef _LIBC -# define getc_unlocked(fp) _IO_getc_unlocked (fp) # define getc_locked(fp) _IO_getc (fp) -# define getchar_unlocked() _IO_getc_unlocked (stdin) # define getchar_locked() _IO_getc (stdin) -# define putchar_unlocked(c) _IO_putc_unlocked (c, stdout) # define putchar_locked(c) _IO_putc (c, stdout) # endif +#endif -#endif /* __USE_REENTRANT */ +#if defined __USE_POSIX || defined __USE_MISC +/* These are defined in POSIX.1:1996. */ +extern void flockfile __P ((FILE *)); +extern void funlockfile __P ((FILE *)); +extern int ftrylockfile __P ((FILE *)); + +extern int getc_unlocked __P ((FILE *)); +extern int getchar_unlocked __P ((void)); +extern int putc_unlocked __P ((int, FILE *)); +extern int putchar_unlocked __P ((int)); + +# ifndef _LIBC +# define getc_unlocked(fp) _IO_getc_unlocked (fp) +# define getchar_unlocked() _IO_getc_unlocked (stdin) +# define putc_unlocked(c, fp) _IO_putc_unlocked ((c), (fp)) +# define putchar_unlocked(c) _IO_putc_unlocked ((c), stdout) +# endif +#endif /* POSIX || misc */ #define getc(_fp) _IO_getc (_fp) #define putc(_ch, _fp) _IO_putc (_ch, _fp) diff -durpN glibc-2.0/login/utmp.h glibc-2.0.1/login/utmp.h --- glibc-2.0/login/utmp.h Tue Nov 26 21:16:17 1996 +++ glibc-2.0.1/login/utmp.h Wed Jan 29 22:12:09 1997 @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1996 Free Software Foundation, Inc. +/* Copyright (C) 1993, 1996, 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 @@ -77,7 +77,7 @@ extern struct utmp *getutline __P ((__co extern struct utmp *pututline __P ((__const struct utmp *__utmp_ptr)); -#ifdef __USE_REENTRANT +#ifdef __USE_MISC /* Reentrant versions of the file for handling utmp files. */ extern int __getutent_r __P ((struct utmp *__buffer, struct utmp **__result)); extern int getutent_r __P ((struct utmp *__buffer, struct utmp **__result)); @@ -92,7 +92,7 @@ extern int __getutline_r __P ((__const s extern int getutline_r __P ((__const struct utmp *__line, struct utmp *__buffer, struct utmp **__result)); -#endif /* Use reentrant. */ +#endif /* Use misc. */ __END_DECLS diff -durpN glibc-2.0/malloc/Makefile glibc-2.0.1/malloc/Makefile --- glibc-2.0/malloc/Makefile Sat Jan 25 23:53:42 1997 +++ glibc-2.0.1/malloc/Makefile Sun Jan 26 16:58:04 1997 @@ -50,4 +50,5 @@ $(objpfx)libmcheck.a: $(objpfx)mcheck-in lib: $(objpfx)libmcheck.a -CPPFLAGS-malloc.o += -DMALLOC_DEBUG +# Uncomment this for test releases. For public releases it is too expensive. +#CPPFLAGS-malloc.o += -DMALLOC_DEBUG diff -durpN glibc-2.0/malloc/malloc.c glibc-2.0.1/malloc/malloc.c --- glibc-2.0/malloc/malloc.c Sat Jan 18 22:47:46 1997 +++ glibc-2.0.1/malloc/malloc.c Sun Feb 2 17:14:57 1997 @@ -647,7 +647,7 @@ do { might set to a value close to the average size of a process (program) running on your system. Releasing this much memory would allow such a process to run in memory. Generally, it's - worth it to tune for trimming rather tham memory mapping when a + worth it to tune for trimming rather than memory mapping when a program undergoes phases where several large chunks are allocated and released in ways that can reuse each other's storage, perhaps mixed with phases where there are no such @@ -820,12 +820,12 @@ do { #if __STD_C Void_t * __default_morecore (ptrdiff_t); -static Void_t *(*__morecore)(ptrdiff_t) = __default_morecore; +Void_t *(*__morecore)(ptrdiff_t) = __default_morecore; #else Void_t * __default_morecore (); -static Void_t *(*__morecore)() = __default_morecore; +Void_t *(*__morecore)() = __default_morecore; #endif @@ -1486,6 +1486,13 @@ static unsigned long max_mmapped_mem = 0 +#ifndef _LIBC +#define weak_variable +#else +/* In GNU libc we want the hook variables to be weak definitions to + avoid a problem with Emacs. */ +#define weak_variable weak_function +#endif /* Already initialized? */ int __malloc_initialized = 0; @@ -1533,12 +1540,20 @@ ptmalloc_init __MALLOC_P((void)) tsd_setspecific(arena_key, (Void_t *)&main_arena); #endif #if defined(_LIBC) || defined(MALLOC_HOOKS) + if((s = getenv("MALLOC_TRIM_THRESHOLD_"))) + mALLOPt(M_TRIM_THRESHOLD, atoi(s)); + if((s = getenv("MALLOC_TOP_PAD_"))) + mALLOPt(M_TOP_PAD, atoi(s)); + if((s = getenv("MALLOC_MMAP_THRESHOLD_"))) + mALLOPt(M_MMAP_THRESHOLD, atoi(s)); + if((s = getenv("MALLOC_MMAP_MAX_"))) + mALLOPt(M_MMAP_MAX, atoi(s)); s = getenv("MALLOC_CHECK_"); __malloc_hook = save_malloc_hook; __free_hook = save_free_hook; if(s) { - if(s[0]) mallopt(M_CHECK_ACTION, (int)(s[0] - '0')); - malloc_check_init(); + if(s[0]) mALLOPt(M_CHECK_ACTION, (int)(s[0] - '0')); + __malloc_check_init(); } if(__malloc_initialize_hook != NULL) (*__malloc_initialize_hook)(); @@ -1592,18 +1607,19 @@ memalign_hook_ini(sz, alignment) size_t return mEMALIGn(sz, alignment); } -void (*__malloc_initialize_hook) __MALLOC_P ((void)) = NULL; -void (*__free_hook) __MALLOC_P ((__malloc_ptr_t __ptr)) = NULL; -__malloc_ptr_t (*__malloc_hook) +void weak_variable (*__malloc_initialize_hook) __MALLOC_P ((void)) = NULL; +void weak_variable (*__free_hook) __MALLOC_P ((__malloc_ptr_t __ptr)) = NULL; +__malloc_ptr_t weak_variable (*__malloc_hook) __MALLOC_P ((size_t __size)) = malloc_hook_ini; -__malloc_ptr_t (*__realloc_hook) +__malloc_ptr_t weak_variable (*__realloc_hook) __MALLOC_P ((__malloc_ptr_t __ptr, size_t __size)) = realloc_hook_ini; -__malloc_ptr_t (*__memalign_hook) +__malloc_ptr_t weak_variable (*__memalign_hook) __MALLOC_P ((size_t __size, size_t __alignment)) = memalign_hook_ini; +void weak_variable (*__after_morecore_hook) __MALLOC_P ((void)) = NULL; /* Activate a standard set of debugging hooks. */ void -malloc_check_init() +__malloc_check_init() { __malloc_hook = malloc_check; __free_hook = free_check; @@ -2200,6 +2216,10 @@ static void malloc_extend_top(ar_ptr, nb (brk < old_end && old_top != initial_top(&main_arena))) return; + /* Call the `morecore' hook if necessary. */ + if (__after_morecore_hook) + (*__after_morecore_hook) (); + sbrked_mem += sbrk_size; if (brk == old_end) { /* can just add bytes to current top */ @@ -2228,6 +2248,10 @@ static void malloc_extend_top(ar_ptr, nb new_brk = (char*)(MORECORE (correction)); if (new_brk == (char*)(MORECORE_FAILURE)) return; + /* Call the `morecore' hook if necessary. */ + if (__after_morecore_hook) + (*__after_morecore_hook) (); + sbrked_mem += correction; top(&main_arena) = (mchunkptr)brk; @@ -2899,8 +2923,10 @@ Void_t* rEALLOc(oldmem, bytes) Void_t* o (void)mutex_lock(&ar_ptr->mutex); #endif +#ifndef NO_THREADS /* As in malloc(), remember this arena for the next allocation. */ tsd_setspecific(arena_key, (Void_t *)ar_ptr); +#endif newp = chunk_realloc(ar_ptr, oldp, oldsize, nb); @@ -3265,10 +3291,12 @@ Void_t* cALLOc(n, elem_size) size_t n; s if (__malloc_hook != NULL) { sz = n * elem_size; mem = (*__malloc_hook)(sz); + if(mem == 0) + return 0; #ifdef HAVE_MEMCPY memset(mem, 0, sz); #else - while(sz > 0) mem[--sz] = 0; /* rather inefficient */ + while(sz > 0) ((char*)mem)[--sz] = 0; /* rather inefficient */ #endif return mem; } @@ -3404,6 +3432,10 @@ main_trim(pad) size_t pad; new_brk = (char*)(MORECORE (-extra)); + /* Call the `morecore' hook if necessary. */ + if (__after_morecore_hook) + (*__after_morecore_hook) (); + if (new_brk == (char*)(MORECORE_FAILURE)) { /* sbrk failed? */ /* Try to figure out what we have */ current_brk = (char*)(MORECORE (0)); @@ -3686,7 +3718,9 @@ struct mallinfo mALLINFo() struct mallinfo mi; Void_t *vptr = NULL; +#ifndef NO_THREADS tsd_getspecific(arena_key, vptr); +#endif malloc_update_mallinfo((vptr ? (arena*)vptr : &main_arena), &mi); return mi; } @@ -3747,7 +3781,7 @@ int mALLOPt(param_number, value) int par byte per chunk; still this will catch most cases of double frees or overruns. */ -#define MAGICBYTE(p) ( ( ((unsigned)p >> 3) ^ ((unsigned)p >> 11)) & 0xFF ) +#define MAGICBYTE(p) ( ( ((size_t)p >> 3) ^ ((size_t)p >> 11)) & 0xFF ) /* Convert a pointer to be free()d or realloc()ed to a valid chunk pointer. If the provided pointer is not valid, return NULL. The diff -durpN glibc-2.0/malloc/malloc.h glibc-2.0.1/malloc/malloc.h --- glibc-2.0/malloc/malloc.h Thu Dec 19 15:36:20 1996 +++ glibc-2.0.1/malloc/malloc.h Sun Feb 2 17:15:44 1997 @@ -1,5 +1,5 @@ /* Prototypes and definition for malloc implementation. - Copyright (C) 1996 Free Software Foundation, Inc. + Copyright (C) 1996, 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 @@ -74,6 +74,11 @@ extern "C" { #endif /* Nonzero if the malloc is already initialized. */ +#ifdef _LIBC +/* In the GNU libc we rename the global variable + `__malloc_initialized' to `__libc_malloc_initialized'. */ +#define __malloc_initialized __libc_malloc_initialized +#endif extern int __malloc_initialized; /* Initialize global configuration. Not needed with GNU libc. */ @@ -176,9 +181,10 @@ extern __malloc_ptr_t (*__realloc_hook) size_t __size)); extern __malloc_ptr_t (*__memalign_hook) __MALLOC_P ((size_t __size, size_t __alignment)); +extern void (*__after_morecore_hook) __MALLOC_P ((void)); /* Activate a standard set of debugging hooks. */ -extern void malloc_check_init __MALLOC_P ((void)); +extern void __malloc_check_init __MALLOC_P ((void)); #endif diff -durpN glibc-2.0/manual/nss.texi glibc-2.0.1/manual/nss.texi --- glibc-2.0/manual/nss.texi Wed Dec 18 16:32:58 1996 +++ glibc-2.0.1/manual/nss.texi Mon Feb 3 21:03:00 1997 @@ -8,7 +8,7 @@ @cindex databases Various functions in the C Library need to be configured to work correctly in the local environment. Traditionally, this was done by -using files (e.g., @file{/etc/passwd}), but other nameservices (line the +using files (e.g., @file{/etc/passwd}), but other nameservices (like the Network Information Service (NIS) and the Domain Name Service (DNS)) became popular, and were hacked into the C library, usually with a fixed search order (@pxref{frobnicate, , ,jargon, The Jargon File}). @@ -20,7 +20,7 @@ scheme @dfn{Name Service Switch} (NSS). Though the interface might be similar to Sun's version there is no common code. We never saw any source code of Sun's implementation and -so the internal interface is incompatible. This is also manifests in the +so the internal interface is incompatible. This also manifests in the file names we use as we will see later. diff -durpN glibc-2.0/manual/pattern.texi glibc-2.0.1/manual/pattern.texi --- glibc-2.0/manual/pattern.texi Wed Dec 18 16:33:17 1996 +++ glibc-2.0.1/manual/pattern.texi Mon Feb 3 21:03:00 1997 @@ -70,7 +70,7 @@ cannot match @samp{.} as the first chara If you set both @code{FNM_PERIOD} and @code{FNM_FILE_NAME}, then the special treatment applies to @samp{.} following @samp{/} as well as to @samp{.} at the beginning of @var{string}. (The shell uses the -@code{FNM_PERIOD} and @code{FNM_FILE_NAME} falgs together for matching +@code{FNM_PERIOD} and @code{FNM_FILE_NAME} flags together for matching file names.) @comment fnmatch.h diff -durpN glibc-2.0/manual/string.texi glibc-2.0.1/manual/string.texi --- glibc-2.0/manual/string.texi Sat Dec 7 14:12:32 1996 +++ glibc-2.0.1/manual/string.texi Mon Feb 3 21:03:00 1997 @@ -601,7 +601,7 @@ strcmp ("hello", "world") @result{} -15 /* @r{The character @code{'h'} comes before @code{'w'}.} */ strcmp ("hello", "hello, world") @result{} -44 /* @r{Comparing a null character against a comma.} */ -strncmp ("hello", "hello, world"", 5) +strncmp ("hello", "hello, world", 5) @result{} 0 /* @r{The initial 5 characters are the same.} */ strncmp ("hello, world", "hello, stupid world!!!", 5) @result{} 0 /* @r{The initial 5 characters are the same.} */ diff -durpN glibc-2.0/math/mathcalls.h glibc-2.0.1/math/mathcalls.h --- glibc-2.0/math/mathcalls.h Wed Dec 18 16:38:22 1996 +++ glibc-2.0.1/math/mathcalls.h Wed Jan 29 22:02:45 1997 @@ -1,5 +1,5 @@ /* Prototype declarations for math functions; helper file for . - Copyright (C) 1996 Free Software Foundation, Inc. + Copyright (C) 1996, 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 @@ -210,7 +210,7 @@ __MATHCALL (yn,, (int, _Mdouble_)); /* This variable is used by `gamma' and `lgamma'. */ extern int signgam; -#ifdef __USE_REENTRANT +#ifdef __USE_MISC /* Reentrant versions of gamma and lgamma. Those functions use the global variable `signgam'. The reentrant versions instead take a pointer and diff -durpN glibc-2.0/mcheck.h glibc-2.0.1/mcheck.h --- glibc-2.0/mcheck.h Fri Jan 3 10:58:06 1997 +++ glibc-2.0.1/mcheck.h Mon Jan 27 10:03:18 1997 @@ -1,5 +1 @@ -#ifdef USE_NEW_MALLOC -# include -#else -# include -#endif +#include diff -durpN glibc-2.0/misc/bsd-compat.c glibc-2.0.1/misc/bsd-compat.c --- glibc-2.0/misc/bsd-compat.c Mon Mar 18 14:38:11 1996 +++ glibc-2.0.1/misc/bsd-compat.c Wed Jan 29 11:45:48 1997 @@ -1,22 +1,21 @@ /* BSD-compatible versions of functions where BSD and POSIX.1 conflict. + Copyright (C) 1991, 92, 94, 95, 96, 97 Free Software Foundation, Inc. + This file is part of the GNU C Library. -Copyright (C) 1991, 1992, 1994, 1995, 1996 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 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. + 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., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + 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 diff -durpN glibc-2.0/misc/efgcvt.c glibc-2.0.1/misc/efgcvt.c --- glibc-2.0/misc/efgcvt.c Sun Jul 14 01:28:19 1996 +++ glibc-2.0.1/misc/efgcvt.c Wed Jan 29 11:46:37 1997 @@ -1,21 +1,21 @@ -/* [efg]cvt -- compatibility functions for floating point formatting. -Copyright (C) 1995, 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. +/* Compatibility functions for floating point formatting. + Copyright (C) 1995, 1996, 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 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. + 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., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + 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 #include diff -durpN glibc-2.0/misc/efgcvt_r.c glibc-2.0.1/misc/efgcvt_r.c --- glibc-2.0/misc/efgcvt_r.c Mon Oct 14 22:09:35 1996 +++ glibc-2.0.1/misc/efgcvt_r.c Wed Jan 29 11:47:00 1997 @@ -1,22 +1,21 @@ -/* [efg]cvt -- compatibility functions for floating point formatting, - reentrant versions. -Copyright (C) 1995, 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. +/* Compatibility functions for floating point formatting, reentrant versions. + Copyright (C) 1995, 1996, 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 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. + 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. */ + 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 #include diff -durpN glibc-2.0/misc/error.c glibc-2.0.1/misc/error.c --- glibc-2.0/misc/error.c Mon Dec 2 10:57:37 1996 +++ glibc-2.0.1/misc/error.c Wed Jan 29 11:47:47 1997 @@ -1,23 +1,23 @@ -/* error.c -- error handler for noninteractive utilities - Copyright (C) 1990, 91, 92, 93, 94, 95, 96 Free Software Foundation, Inc. +/* Error handler for noninteractive utilities + Copyright (C) 1990,91,92,93,94,95,96,97 Free Software Foundation, Inc. -This file is part of the GNU C Library. Its master source is NOT part of -the C library, however. The master source lives in /gd/gnu/lib. + This file is part of the GNU C Library. Its master source is NOT part of + the C library, however. The master source lives in /gd/gnu/lib. -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 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. + 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., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + 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. */ /* Written by David MacKenzie . */ diff -durpN glibc-2.0/misc/error.h glibc-2.0.1/misc/error.h --- glibc-2.0/misc/error.h Thu Nov 14 08:29:32 1996 +++ glibc-2.0.1/misc/error.h Wed Jan 29 11:48:04 1997 @@ -1,5 +1,5 @@ -/* error.h -- declaration for error-reporting function - Copyright (C) 1995, 1996 Free Software Foundation, Inc. +/* Declaration for error-reporting function + Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. This file is part of the GNU C Library. Its master source is NOT part of the C library, however. The master source lives in /gd/gnu/lib. diff -durpN glibc-2.0/misc/fstab.c glibc-2.0.1/misc/fstab.c --- glibc-2.0/misc/fstab.c Sat Sep 21 16:09:48 1996 +++ glibc-2.0.1/misc/fstab.c Wed Jan 29 11:48:25 1997 @@ -1,21 +1,20 @@ -/* -Copyright (C) 1995, 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. +/* Copyright (C) 1995, 1996, 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 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. + 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., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + 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 #include diff -durpN glibc-2.0/misc/init-misc.c glibc-2.0.1/misc/init-misc.c --- glibc-2.0/misc/init-misc.c Mon Aug 26 17:32:19 1996 +++ glibc-2.0.1/misc/init-misc.c Wed Jan 29 11:49:39 1997 @@ -1,21 +1,21 @@ -/* Define and initialize `__progname'. -Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. +/* Define and initialize `__progname' et. al. + Copyright (C) 1994, 1995, 1996, 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 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. + 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., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + 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 #include diff -durpN glibc-2.0/misc/lsearch.c glibc-2.0.1/misc/lsearch.c --- glibc-2.0/misc/lsearch.c Fri Jun 7 00:33:43 1996 +++ glibc-2.0.1/misc/lsearch.c Wed Jan 29 11:50:29 1997 @@ -1,22 +1,22 @@ /* Linear search functions. -Copyright (C) 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. -Contributed by Ulrich Drepper , 1996. + Copyright (C) 1996, 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper , 1996. -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 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. + 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. */ + 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 #include diff -durpN glibc-2.0/misc/mntent.c glibc-2.0.1/misc/mntent.c --- glibc-2.0/misc/mntent.c Sat Sep 21 14:50:42 1996 +++ glibc-2.0.1/misc/mntent.c Wed Jan 29 11:51:02 1997 @@ -1,21 +1,21 @@ /* Utilities for reading/writing fstab, mtab, etc. -Copyright (C) 1995, 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. + Copyright (C) 1995, 1996, 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 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. + 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., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + 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 diff -durpN glibc-2.0/misc/mntent.h glibc-2.0.1/misc/mntent.h --- glibc-2.0/misc/mntent.h Thu Nov 14 09:00:04 1996 +++ glibc-2.0.1/misc/mntent.h Wed Jan 29 22:03:06 1997 @@ -1,5 +1,5 @@ -/* -- Utilities for reading/writing fstab, mtab, etc. - Copyright (C) 1995, 1996 Free Software Foundation, Inc. +/* Utilities for reading/writing fstab, mtab, etc. + Copyright (C) 1995, 1996, 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 @@ -72,7 +72,7 @@ extern FILE *setmntent __P ((__const cha check). */ extern struct mntent *getmntent __P ((FILE *__stream)); -#ifdef __USE_REENTRANT +#ifdef __USE_MISC /* Reentrant version of the above function. */ extern struct mntent *__getmntent_r __P ((FILE *__stream, struct mntent *__result, diff -durpN glibc-2.0/misc/qefgcvt.c glibc-2.0.1/misc/qefgcvt.c --- glibc-2.0/misc/qefgcvt.c Sun Jul 14 01:28:19 1996 +++ glibc-2.0.1/misc/qefgcvt.c Wed Jan 29 11:57:53 1997 @@ -1,22 +1,21 @@ -/* q[efg]cvt -- compatibility functions for floating point formatting, - long double version. -Copyright (C) 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. +/* Compatibility functions for floating point formatting, long double version. + Copyright (C) 1996, 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 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. + 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. */ + 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. */ #define FLOAT_TYPE long double #define FUNC_PREFIX q diff -durpN glibc-2.0/misc/qefgcvt_r.c glibc-2.0.1/misc/qefgcvt_r.c --- glibc-2.0/misc/qefgcvt_r.c Sun Jul 14 01:28:18 1996 +++ glibc-2.0.1/misc/qefgcvt_r.c Wed Jan 29 11:58:14 1997 @@ -1,22 +1,22 @@ -/* [efg]cvt -- compatibility functions for floating point formatting, - reentrant, long double versions. -Copyright (C) 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. +/* Compatibility functions for floating point formatting, reentrant, + long double versions. + Copyright (C) 1996, 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 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. + 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. */ + 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. */ #define FLOAT_TYPE long double #define FUNC_PREFIX q diff -durpN glibc-2.0/nis/rpcsvc/yp.h glibc-2.0.1/nis/rpcsvc/yp.h --- glibc-2.0/nis/rpcsvc/yp.h Thu Oct 10 02:26:25 1996 +++ glibc-2.0.1/nis/rpcsvc/yp.h Mon Feb 3 21:03:33 1997 @@ -5,23 +5,23 @@ * may copy or modify Sun RPC without charge, but are not authorized * to license or distribute it to anyone else except as part of a product or * program developed by the user. - * + * * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * + * * Sun RPC is provided with no support and without any obligation on the * part of Sun Microsystems, Inc. to assist in its use, correction, * modification or enhancement. - * + * * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC * OR ANY PART THEREOF. - * + * * In no event will Sun Microsystems, Inc. be liable for any lost revenue * or profits or other special, indirect and consequential damages, even if * Sun has been advised of the possibility of such damages. - * + * * Sun Microsystems, Inc. * 2550 Garcia Avenue * Mountain View, California 94043 @@ -51,13 +51,13 @@ enum ypstat { YP_VERS = -8, }; typedef enum ypstat ypstat; -#ifdef __cplusplus +#ifdef __cplusplus extern "C" bool_t xdr_ypstat(XDR *, ypstat*); -#elif __STDC__ +#elif __STDC__ extern bool_t xdr_ypstat(XDR *, ypstat*); -#else /* Old Style C */ +#else /* Old Style C */ bool_t xdr_ypstat(); -#endif /* Old Style C */ +#endif /* Old Style C */ enum ypxfrstat { @@ -79,69 +79,69 @@ enum ypxfrstat { YPXFR_REFUSED = -14, }; typedef enum ypxfrstat ypxfrstat; -#ifdef __cplusplus +#ifdef __cplusplus extern "C" bool_t xdr_ypxfrstat(XDR *, ypxfrstat*); -#elif __STDC__ +#elif __STDC__ extern bool_t xdr_ypxfrstat(XDR *, ypxfrstat*); -#else /* Old Style C */ +#else /* Old Style C */ bool_t xdr_ypxfrstat(); -#endif /* Old Style C */ +#endif /* Old Style C */ typedef char *domainname; -#ifdef __cplusplus +#ifdef __cplusplus extern "C" bool_t xdr_domainname(XDR *, domainname*); -#elif __STDC__ +#elif __STDC__ extern bool_t xdr_domainname(XDR *, domainname*); -#else /* Old Style C */ +#else /* Old Style C */ bool_t xdr_domainname(); -#endif /* Old Style C */ +#endif /* Old Style C */ typedef char *mapname; -#ifdef __cplusplus +#ifdef __cplusplus extern "C" bool_t xdr_mapname(XDR *, mapname*); -#elif __STDC__ +#elif __STDC__ extern bool_t xdr_mapname(XDR *, mapname*); -#else /* Old Style C */ +#else /* Old Style C */ bool_t xdr_mapname(); -#endif /* Old Style C */ +#endif /* Old Style C */ typedef char *peername; -#ifdef __cplusplus +#ifdef __cplusplus extern "C" bool_t xdr_peername(XDR *, peername*); -#elif __STDC__ +#elif __STDC__ extern bool_t xdr_peername(XDR *, peername*); -#else /* Old Style C */ +#else /* Old Style C */ bool_t xdr_peername(); -#endif /* Old Style C */ +#endif /* Old Style C */ typedef struct { u_int keydat_len; char *keydat_val; } keydat; -#ifdef __cplusplus +#ifdef __cplusplus extern "C" bool_t xdr_keydat(XDR *, keydat*); -#elif __STDC__ +#elif __STDC__ extern bool_t xdr_keydat(XDR *, keydat*); -#else /* Old Style C */ +#else /* Old Style C */ bool_t xdr_keydat(); -#endif /* Old Style C */ +#endif /* Old Style C */ typedef struct { u_int valdat_len; char *valdat_val; } valdat; -#ifdef __cplusplus +#ifdef __cplusplus extern "C" bool_t xdr_valdat(XDR *, valdat*); -#elif __STDC__ +#elif __STDC__ extern bool_t xdr_valdat(XDR *, valdat*); -#else /* Old Style C */ +#else /* Old Style C */ bool_t xdr_valdat(); -#endif /* Old Style C */ +#endif /* Old Style C */ struct ypmap_parms { @@ -151,13 +151,13 @@ struct ypmap_parms { peername peer; }; typedef struct ypmap_parms ypmap_parms; -#ifdef __cplusplus +#ifdef __cplusplus extern "C" bool_t xdr_ypmap_parms(XDR *, ypmap_parms*); -#elif __STDC__ +#elif __STDC__ extern bool_t xdr_ypmap_parms(XDR *, ypmap_parms*); -#else /* Old Style C */ +#else /* Old Style C */ bool_t xdr_ypmap_parms(); -#endif /* Old Style C */ +#endif /* Old Style C */ struct ypreq_key { @@ -166,13 +166,13 @@ struct ypreq_key { keydat key; }; typedef struct ypreq_key ypreq_key; -#ifdef __cplusplus +#ifdef __cplusplus extern "C" bool_t xdr_ypreq_key(XDR *, ypreq_key*); -#elif __STDC__ +#elif __STDC__ extern bool_t xdr_ypreq_key(XDR *, ypreq_key*); -#else /* Old Style C */ +#else /* Old Style C */ bool_t xdr_ypreq_key(); -#endif /* Old Style C */ +#endif /* Old Style C */ struct ypreq_nokey { @@ -180,13 +180,13 @@ struct ypreq_nokey { mapname map; }; typedef struct ypreq_nokey ypreq_nokey; -#ifdef __cplusplus +#ifdef __cplusplus extern "C" bool_t xdr_ypreq_nokey(XDR *, ypreq_nokey*); -#elif __STDC__ +#elif __STDC__ extern bool_t xdr_ypreq_nokey(XDR *, ypreq_nokey*); -#else /* Old Style C */ +#else /* Old Style C */ bool_t xdr_ypreq_nokey(); -#endif /* Old Style C */ +#endif /* Old Style C */ struct ypreq_xfr { @@ -196,13 +196,13 @@ struct ypreq_xfr { u_int port; }; typedef struct ypreq_xfr ypreq_xfr; -#ifdef __cplusplus +#ifdef __cplusplus extern "C" bool_t xdr_ypreq_xfr(XDR *, ypreq_xfr*); -#elif __STDC__ +#elif __STDC__ extern bool_t xdr_ypreq_xfr(XDR *, ypreq_xfr*); -#else /* Old Style C */ +#else /* Old Style C */ bool_t xdr_ypreq_xfr(); -#endif /* Old Style C */ +#endif /* Old Style C */ struct ypresp_val { @@ -210,28 +210,38 @@ struct ypresp_val { valdat val; }; typedef struct ypresp_val ypresp_val; -#ifdef __cplusplus +#ifdef __cplusplus extern "C" bool_t xdr_ypresp_val(XDR *, ypresp_val*); -#elif __STDC__ +#elif __STDC__ extern bool_t xdr_ypresp_val(XDR *, ypresp_val*); -#else /* Old Style C */ +#else /* Old Style C */ bool_t xdr_ypresp_val(); -#endif /* Old Style C */ +#endif /* Old Style C */ struct ypresp_key_val { ypstat stat; +#ifdef STUPID_SUN_BUG + /* This is the form as distributed by Sun. But even the Sun NIS + servers expect the values in the other order. So their + implementation somehow must change the order internally. We + don't want to follow this bad example since the user should be + able to use rpcgen on this file. */ + keydat key; + valdat val; +#else valdat val; keydat key; +#endif }; typedef struct ypresp_key_val ypresp_key_val; -#ifdef __cplusplus +#ifdef __cplusplus extern "C" bool_t xdr_ypresp_key_val(XDR *, ypresp_key_val*); -#elif __STDC__ +#elif __STDC__ extern bool_t xdr_ypresp_key_val(XDR *, ypresp_key_val*); -#else /* Old Style C */ +#else /* Old Style C */ bool_t xdr_ypresp_key_val(); -#endif /* Old Style C */ +#endif /* Old Style C */ struct ypresp_master { @@ -239,13 +249,13 @@ struct ypresp_master { peername peer; }; typedef struct ypresp_master ypresp_master; -#ifdef __cplusplus +#ifdef __cplusplus extern "C" bool_t xdr_ypresp_master(XDR *, ypresp_master*); -#elif __STDC__ +#elif __STDC__ extern bool_t xdr_ypresp_master(XDR *, ypresp_master*); -#else /* Old Style C */ +#else /* Old Style C */ bool_t xdr_ypresp_master(); -#endif /* Old Style C */ +#endif /* Old Style C */ struct ypresp_order { @@ -253,13 +263,13 @@ struct ypresp_order { u_int ordernum; }; typedef struct ypresp_order ypresp_order; -#ifdef __cplusplus +#ifdef __cplusplus extern "C" bool_t xdr_ypresp_order(XDR *, ypresp_order*); -#elif __STDC__ +#elif __STDC__ extern bool_t xdr_ypresp_order(XDR *, ypresp_order*); -#else /* Old Style C */ +#else /* Old Style C */ bool_t xdr_ypresp_order(); -#endif /* Old Style C */ +#endif /* Old Style C */ struct ypresp_all { @@ -269,13 +279,13 @@ struct ypresp_all { } ypresp_all_u; }; typedef struct ypresp_all ypresp_all; -#ifdef __cplusplus +#ifdef __cplusplus extern "C" bool_t xdr_ypresp_all(XDR *, ypresp_all*); -#elif __STDC__ +#elif __STDC__ extern bool_t xdr_ypresp_all(XDR *, ypresp_all*); -#else /* Old Style C */ +#else /* Old Style C */ bool_t xdr_ypresp_all(); -#endif /* Old Style C */ +#endif /* Old Style C */ struct ypresp_xfr { @@ -283,13 +293,13 @@ struct ypresp_xfr { ypxfrstat xfrstat; }; typedef struct ypresp_xfr ypresp_xfr; -#ifdef __cplusplus +#ifdef __cplusplus extern "C" bool_t xdr_ypresp_xfr(XDR *, ypresp_xfr*); -#elif __STDC__ +#elif __STDC__ extern bool_t xdr_ypresp_xfr(XDR *, ypresp_xfr*); -#else /* Old Style C */ +#else /* Old Style C */ bool_t xdr_ypresp_xfr(); -#endif /* Old Style C */ +#endif /* Old Style C */ struct ypmaplist { @@ -297,13 +307,13 @@ struct ypmaplist { struct ypmaplist *next; }; typedef struct ypmaplist ypmaplist; -#ifdef __cplusplus +#ifdef __cplusplus extern "C" bool_t xdr_ypmaplist(XDR *, ypmaplist*); -#elif __STDC__ +#elif __STDC__ extern bool_t xdr_ypmaplist(XDR *, ypmaplist*); -#else /* Old Style C */ +#else /* Old Style C */ bool_t xdr_ypmaplist(); -#endif /* Old Style C */ +#endif /* Old Style C */ struct ypresp_maplist { @@ -311,13 +321,13 @@ struct ypresp_maplist { ypmaplist *maps; }; typedef struct ypresp_maplist ypresp_maplist; -#ifdef __cplusplus +#ifdef __cplusplus extern "C" bool_t xdr_ypresp_maplist(XDR *, ypresp_maplist*); -#elif __STDC__ +#elif __STDC__ extern bool_t xdr_ypresp_maplist(XDR *, ypresp_maplist*); -#else /* Old Style C */ +#else /* Old Style C */ bool_t xdr_ypresp_maplist(); -#endif /* Old Style C */ +#endif /* Old Style C */ enum yppush_status { @@ -339,13 +349,13 @@ enum yppush_status { YPPUSH_REFUSED = -14, }; typedef enum yppush_status yppush_status; -#ifdef __cplusplus +#ifdef __cplusplus extern "C" bool_t xdr_yppush_status(XDR *, yppush_status*); -#elif __STDC__ +#elif __STDC__ extern bool_t xdr_yppush_status(XDR *, yppush_status*); -#else /* Old Style C */ +#else /* Old Style C */ bool_t xdr_yppush_status(); -#endif /* Old Style C */ +#endif /* Old Style C */ struct yppushresp_xfr { @@ -353,13 +363,13 @@ struct yppushresp_xfr { yppush_status status; }; typedef struct yppushresp_xfr yppushresp_xfr; -#ifdef __cplusplus +#ifdef __cplusplus extern "C" bool_t xdr_yppushresp_xfr(XDR *, yppushresp_xfr*); -#elif __STDC__ +#elif __STDC__ extern bool_t xdr_yppushresp_xfr(XDR *, yppushresp_xfr*); -#else /* Old Style C */ +#else /* Old Style C */ bool_t xdr_yppushresp_xfr(); -#endif /* Old Style C */ +#endif /* Old Style C */ enum ypbind_resptype { @@ -367,13 +377,13 @@ enum ypbind_resptype { YPBIND_FAIL_VAL = 2, }; typedef enum ypbind_resptype ypbind_resptype; -#ifdef __cplusplus +#ifdef __cplusplus extern "C" bool_t xdr_ypbind_resptype(XDR *, ypbind_resptype*); -#elif __STDC__ +#elif __STDC__ extern bool_t xdr_ypbind_resptype(XDR *, ypbind_resptype*); -#else /* Old Style C */ +#else /* Old Style C */ bool_t xdr_ypbind_resptype(); -#endif /* Old Style C */ +#endif /* Old Style C */ struct ypbind_binding { @@ -381,13 +391,13 @@ struct ypbind_binding { char ypbind_binding_port[2]; }; typedef struct ypbind_binding ypbind_binding; -#ifdef __cplusplus +#ifdef __cplusplus extern "C" bool_t xdr_ypbind_binding(XDR *, ypbind_binding*); -#elif __STDC__ +#elif __STDC__ extern bool_t xdr_ypbind_binding(XDR *, ypbind_binding*); -#else /* Old Style C */ +#else /* Old Style C */ bool_t xdr_ypbind_binding(); -#endif /* Old Style C */ +#endif /* Old Style C */ struct ypbind_resp { @@ -398,13 +408,13 @@ struct ypbind_resp { } ypbind_resp_u; }; typedef struct ypbind_resp ypbind_resp; -#ifdef __cplusplus +#ifdef __cplusplus extern "C" bool_t xdr_ypbind_resp(XDR *, ypbind_resp*); -#elif __STDC__ +#elif __STDC__ extern bool_t xdr_ypbind_resp(XDR *, ypbind_resp*); -#else /* Old Style C */ +#else /* Old Style C */ bool_t xdr_ypbind_resp(); -#endif /* Old Style C */ +#endif /* Old Style C */ #define YPBIND_ERR_ERR 1 #define YPBIND_ERR_NOSERV 2 @@ -416,13 +426,13 @@ struct ypbind_setdom { u_int ypsetdom_vers; }; typedef struct ypbind_setdom ypbind_setdom; -#ifdef __cplusplus +#ifdef __cplusplus extern "C" bool_t xdr_ypbind_setdom(XDR *, ypbind_setdom*); -#elif __STDC__ +#elif __STDC__ extern bool_t xdr_ypbind_setdom(XDR *, ypbind_setdom*); -#else /* Old Style C */ +#else /* Old Style C */ bool_t xdr_ypbind_setdom(); -#endif /* Old Style C */ +#endif /* Old Style C */ #define YPPROG ((u_long)100004) @@ -504,7 +514,7 @@ extern ypresp_order * ypproc_order_2_sv extern ypresp_maplist * ypproc_maplist_2(domainname *, CLIENT *); extern ypresp_maplist * ypproc_maplist_2_svc(domainname *, struct svc_req *); -#else /* Old Style C */ +#else /* Old Style C */ #define YPPROC_NULL ((u_long)0) extern void * ypproc_null_2(); extern void * ypproc_null_2_svc(); @@ -541,7 +551,7 @@ extern ypresp_order * ypproc_order_2_sv #define YPPROC_MAPLIST ((u_long)11) extern ypresp_maplist * ypproc_maplist_2(); extern ypresp_maplist * ypproc_maplist_2_svc(); -#endif /* Old Style C */ +#endif /* Old Style C */ #define YPPUSH_XFRRESPPROG ((u_long)0x40000000) #define YPPUSH_XFRRESPVERS ((u_long)1) @@ -562,14 +572,14 @@ extern void * yppushproc_null_1_svc(voi extern void * yppushproc_xfrresp_1(yppushresp_xfr *, CLIENT *); extern void * yppushproc_xfrresp_1_svc(yppushresp_xfr *, struct svc_req *); -#else /* Old Style C */ +#else /* Old Style C */ #define YPPUSHPROC_NULL ((u_long)0) extern void * yppushproc_null_1(); extern void * yppushproc_null_1_svc(); #define YPPUSHPROC_XFRRESP ((u_long)1) extern void * yppushproc_xfrresp_1(); extern void * yppushproc_xfrresp_1_svc(); -#endif /* Old Style C */ +#endif /* Old Style C */ #define YPBINDPROG ((u_long)100007) #define YPBINDVERS ((u_long)2) @@ -596,7 +606,7 @@ extern ypbind_resp * ypbindproc_domain_ extern void * ypbindproc_setdom_2(ypbind_setdom *, CLIENT *); extern void * ypbindproc_setdom_2_svc(ypbind_setdom *, struct svc_req *); -#else /* Old Style C */ +#else /* Old Style C */ #define YPBINDPROC_NULL ((u_long)0) extern void * ypbindproc_null_2(); extern void * ypbindproc_null_2_svc(); @@ -606,6 +616,6 @@ extern ypbind_resp * ypbindproc_domain_ #define YPBINDPROC_SETDOM ((u_long)2) extern void * ypbindproc_setdom_2(); extern void * ypbindproc_setdom_2_svc(); -#endif /* Old Style C */ +#endif /* Old Style C */ #endif /* !__RPCSVC_YP_H__ */ diff -durpN glibc-2.0/nis/rpcsvc/yp.x glibc-2.0.1/nis/rpcsvc/yp.x --- glibc-2.0/nis/rpcsvc/yp.x Tue Oct 8 02:48:53 1996 +++ glibc-2.0.1/nis/rpcsvc/yp.x Mon Feb 3 21:03:32 1997 @@ -7,23 +7,23 @@ * may copy or modify Sun RPC without charge, but are not authorized * to license or distribute it to anyone else except as part of a product or * program developed by the user. - * + * * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * + * * Sun RPC is provided with no support and without any obligation on the * part of Sun Microsystems, Inc. to assist in its use, correction, * modification or enhancement. - * + * * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC * OR ANY PART THEREOF. - * + * * In no event will Sun Microsystems, Inc. be liable for any lost revenue * or profits or other special, indirect and consequential damages, even if * Sun has been advised of the possibility of such damages. - * + * * Sun Microsystems, Inc. * 2550 Garcia Avenue * Mountain View, California 94043 @@ -82,7 +82,7 @@ typedef opaque valdat; struct ypmap_parms { - domainname domain; + domainname domain; mapname map; unsigned int ordernum; peername peer; @@ -95,10 +95,10 @@ struct ypreq_key { }; struct ypreq_nokey { - domainname domain; + domainname domain; mapname map; }; - + struct ypreq_xfr { ypmap_parms map_parms; unsigned int transid; @@ -115,6 +115,11 @@ struct ypresp_val { struct ypresp_key_val { ypstat stat; #ifdef STUPID_SUN_BUG + /* This is the form as distributed by Sun. But even the Sun NIS + servers expect the values in the other order. So their + implementation somehow must change the order internally. We + don't want to follow this bad example since the user should be + able to use rpcgen on this file. */ keydat key; valdat val; #else @@ -125,7 +130,7 @@ struct ypresp_key_val { struct ypresp_master { - ypstat stat; + ypstat stat; peername peer; }; @@ -184,31 +189,31 @@ struct yppushresp_xfr { * Response structure and overall result status codes. Success and failure * represent two separate response message types. */ - + enum ypbind_resptype { - YPBIND_SUCC_VAL = 1, + YPBIND_SUCC_VAL = 1, YPBIND_FAIL_VAL = 2 }; - + struct ypbind_binding { opaque ypbind_binding_addr[4]; /* In network order */ opaque ypbind_binding_port[2]; /* In network order */ -}; +}; union ypbind_resp switch (ypbind_resptype ypbind_status) { case YPBIND_FAIL_VAL: unsigned ypbind_error; case YPBIND_SUCC_VAL: ypbind_binding ypbind_bindinfo; -}; +}; /* Detailed failure reason codes for response field ypbind_error*/ - + const YPBIND_ERR_ERR = 1; /* Internal error */ const YPBIND_ERR_NOSERV = 2; /* No bound server for passed domain */ const YPBIND_ERR_RESC = 3; /* System resource allocation failure */ - - + + /* * Request data structure for ypbind "Set domain" procedure. */ @@ -224,11 +229,11 @@ struct ypbind_setdom { */ program YPPROG { version YPVERS { - void + void YPPROC_NULL(void) = 0; - bool - YPPROC_DOMAIN(domainname) = 1; + bool + YPPROC_DOMAIN(domainname) = 1; bool YPPROC_DOMAIN_NONACK(domainname) = 2; @@ -236,10 +241,10 @@ program YPPROG { ypresp_val YPPROC_MATCH(ypreq_key) = 3; - ypresp_key_val + ypresp_key_val YPPROC_FIRST(ypreq_key) = 4; - ypresp_key_val + ypresp_key_val YPPROC_NEXT(ypreq_key) = 5; ypresp_xfr @@ -257,7 +262,7 @@ program YPPROG { ypresp_order YPPROC_ORDER(ypreq_nokey) = 10; - ypresp_maplist + ypresp_maplist YPPROC_MAPLIST(domainname) = 11; } = 2; } = 100004; @@ -272,7 +277,13 @@ program YPPUSH_XFRRESPPROG { YPPUSHPROC_NULL(void) = 0; #ifdef STUPID_SUN_BUG - yppushresp_xfr + /* This is the form as distributed by Sun. But even + the Sun NIS servers expect the values in the other + order. So their implementation somehow must change + the order internally. We don't want to follow this + bad example since the user should be able to use + rpcgen on this file. */ + yppushresp_xfr YPPUSHPROC_XFRRESP(void) = 1; #else void @@ -288,7 +299,7 @@ program YPBINDPROG { version YPBINDVERS { void YPBINDPROC_NULL(void) = 0; - + ypbind_resp YPBINDPROC_DOMAIN(domainname) = 1; @@ -296,5 +307,3 @@ program YPBINDPROG { YPBINDPROC_SETDOM(ypbind_setdom) = 2; } = 2; } = 100007; - - diff -durpN glibc-2.0/nis/rpcsvc/yp_prot.h glibc-2.0.1/nis/rpcsvc/yp_prot.h --- glibc-2.0/nis/rpcsvc/yp_prot.h Wed Dec 11 17:36:35 1996 +++ glibc-2.0.1/nis/rpcsvc/yp_prot.h Mon Feb 3 21:03:33 1997 @@ -61,26 +61,28 @@ #define YPPROG ((u_long)100004) #define YPVERS ((u_long)2) #define YPVERS_ORIG ((u_long)1) -#define YPMAXRECORD ((u_long)1024) -#define YPMAXDOMAIN ((u_long)256) -#define YPMAXMAP ((u_long)64) -#define YPMAXPEER ((u_long)256) +#define YPMAXRECORD 1024 +#define YPMAXDOMAIN 64 /* XXX orig. yp_prot.h defines ((u_long)256) */ +#define YPMAXMAP 64 +#define YPMAXPEER 64 /* XXX orig. yp_prot.h defines ((u_long)256) */ /* byte size of a large NIS packet */ #define YPMSGSZ 1600 -#ifndef DATUM typedef struct { - char *dptr; - int dsize; -} datum; -#define DATUM -#endif + u_int keydat_len; + char *keydat_val; +} keydat; + +typedef struct { + u_int valdat_len; + char *valdat_val; +} valdat; struct ypmap_parms { char *domain; /* Null string means not available */ char *map; /* Null string means not available */ - unsigned long int ordernum; /* 0 means not available */ + unsigned int ordernum; /* 0 means not available */ char *owner; /* Null string means not available */ }; @@ -91,7 +93,7 @@ struct ypmap_parms { struct ypreq_key { const char *domain; const char *map; - datum keydat; + keydat keydat; }; struct ypreq_nokey { @@ -101,16 +103,9 @@ struct ypreq_nokey { struct ypreq_xfr { struct ypmap_parms map_parms; - unsigned long transid; - unsigned long proto; - unsigned short port; -}; - -struct ypreq_newxfr { - struct ypmap_parms map_parms; - unsigned long transid; - unsigned long proto; - char *name; + u_int transid; + u_int proto; + u_int port; }; #define ypxfr_domain map_parms.domain @@ -118,40 +113,80 @@ struct ypreq_newxfr { #define ypxfr_ordernum map_parms.ordernum #define ypxfr_owner map_parms.owner +/* Return status values */ + +enum ypstat { + YP_TRUE = 1, /* General purpose success code */ +#define YP_TRUE YP_TRUE + YP_NOMORE = 2, /* No more entries in map */ +#define YP_NOMORE YP_NOMORE + YP_FALSE = 0, /* General purpose failure code */ +#define YP_FALSE YP_FALSE + YP_NOMAP = -1, /* No such map in domain */ +#define YP_NOMAP YP_NOMAP + YP_NODOM = -2, /* Domain not supported */ +#define YP_NODOM YP_NODOM + YP_NOKEY = -3, /* No such key in map */ +#define YP_NOKEY YP_NOKEY + YP_BADOP = -4, /* Invalid operation */ +#define YP_BADOP YP_BADOP + YP_BADDB = -5, /* Server data base is bad */ +#define YP_BADDB YP_BADDB + YP_YPERR = -6, /* NIS server error */ +#define YP_YPERR YP_YPERR + YP_BADARGS = -7, /* Request arguments bad */ +#define YP_BADARGS YP_BADARGS + YP_VERS = -8, /* NIS server version mismatch - server can't supply + requested service. */ +#define YP_VERS YP_VERS +}; + /* * Response parameter structures */ +typedef enum ypstat ypstat; + struct ypresp_val { - long unsigned status; - datum valdat; + ypstat status; + valdat valdat; }; struct ypresp_key_val { - long unsigned status; - datum keydat; - datum valdat; + ypstat status; +#ifdef STUPID_SUN_BUG + /* This is the form as distributed by Sun. But even the Sun NIS + servers expect the values in the other order. So their + implementation somehow must change the order internally. We + don't want to follow this bad example since the user should be + able to use rpcgen on this file. */ + keydat key; + valdat val; +#else + valdat val; + keydat key; +#endif }; struct ypresp_master { - long unsigned status; + ypstat status; char *master; }; struct ypresp_order { - long unsigned status; - unsigned long int ordernum; + ypstat status; + u_int ordernum; }; struct ypmaplist { - char map[YPMAXMAP + 1]; + char *map; #define ypml_name map struct ypmaplist *next; #define ypml_next next }; struct ypresp_maplist { - long unsigned status; + ypstat status; struct ypmaplist *list; }; @@ -175,20 +210,6 @@ struct ypresp_maplist { #define YPPROC_MAPLIST ((u_long)11) #define YPPROC_NEWXFR ((u_long)12) -/* Return status values */ - -#define YP_TRUE ((long)1) /* General purpose success code */ -#define YP_NOMORE ((long)2) /* No more entries in map */ -#define YP_FALSE ((long)0) /* General purpose failure code */ -#define YP_NOMAP ((long)-1) /* No such map in domain */ -#define YP_NODOM ((long)-2) /* Domain not supported */ -#define YP_NOKEY ((long)-3) /* No such key in map */ -#define YP_BADOP ((long)-4) /* Invalid operation */ -#define YP_BADDB ((long)-5) /* Server data base is bad */ -#define YP_YPERR ((long)-6) /* NIS server error */ -#define YP_BADARGS ((long)-7) /* Request arguments bad */ -#define YP_VERS ((long)-8) /* NIS server version mismatch - server - * can't supply requested service. */ /* * Protocol between clients and NIS binder servers */ @@ -230,7 +251,7 @@ struct ypbind_binding { struct ypbind_resp { enum ypbind_resptype ypbind_status; union { - unsigned long ypbind_error; + u_int ypbind_error; struct ypbind_binding ypbind_bindinfo; } ypbind_respbody; }; @@ -246,9 +267,9 @@ struct ypbind_resp { * Request data structure for ypbind "Set domain" procedure. */ struct ypbind_setdom { - char ypsetdom_domain[YPMAXDOMAIN + 1]; + char *ypsetdom_domain; struct ypbind_binding ypsetdom_binding; - unsigned short ypsetdom_vers; + u_int ypsetdom_vers; }; #define ypsetdom_addr ypsetdom_binding.ypbind_binding_addr #define ypsetdom_port ypsetdom_binding.ypbind_binding_port @@ -259,7 +280,7 @@ struct ypbind_setdom { * is supplied to ypxfr as a command-line parameter when it * is activated by ypserv. */ -#define YPPUSHVERS ((u_long) 1) +#define YPPUSHVERS ((u_long)1) #define YPPUSHVERS_ORIG ((u_long)1) /* Procedure symbols */ @@ -267,32 +288,50 @@ struct ypbind_setdom { #define YPPUSHPROC_NULL ((u_long)0) #define YPPUSHPROC_XFRRESP ((u_long)1) -struct yppushresp_xfr { - unsigned long transid; - unsigned long status; -}; - /* Status values for yppushresp_xfr.status */ -#define YPPUSH_SUCC ((long)1) /* Success */ -#define YPPUSH_AGE ((long)2) /* Master's version not newer */ -#define YPPUSH_NOMAP ((long)-1) /* Can't find server for map */ -#define YPPUSH_NODOM ((long)-2) /* Domain not supported */ -#define YPPUSH_RSRC ((long)-3) /* Local resouce alloc failure */ -#define YPPUSH_RPC ((long)-4) /* RPC failure talking to server */ -#define YPPUSH_MADDR ((long)-5) /* Can't get master address */ -#define YPPUSH_YPERR ((long)-6) /* NIS server/map db error */ -#define YPPUSH_BADARGS ((long)-7) /* Request arguments bad */ -#define YPPUSH_DBM ((long)-8) /* Local dbm operation failed */ -#define YPPUSH_FILE ((long)-9) /* Local file I/O operation failed */ -#define YPPUSH_SKEW ((long)-10) /* Map version skew during transfer */ -#define YPPUSH_CLEAR ((long)-11) /* Can't send "Clear" req to local - * ypserv */ -#define YPPUSH_FORCE ((long)-12) /* No local order number in map - - * use -f flag. */ -#define YPPUSH_XFRERR ((long)-13) /* ypxfr error */ -#define YPPUSH_REFUSED ((long)-14) /* Transfer request refused by ypserv */ -#define YPPUSH_NOALIAS ((long)-15) /* Alias not found for map or domain */ +enum yppush_status { + YPPUSH_SUCC = 1, /* Success */ +#define YPPUSH_SUCC YPPUSH_SUCC + YPPUSH_AGE = 2, /* Master's version not newer */ +#define YPPUSH_AGE YPPUSH_AGE + YPPUSH_NOMAP = -1, /* Can't find server for map */ +#define YPPUSH_NOMAP YPPUSH_NOMAP + YPPUSH_NODOM = -2, /* Domain not supported */ +#define YPPUSH_NODOM YPPUSH_NODOM + YPPUSH_RSRC = -3, /* Local resouce alloc failure */ +#define YPPUSH_RSRC YPPUSH_RSRC + YPPUSH_RPC = -4, /* RPC failure talking to server */ +#define YPPUSH_RPC YPPUSH_RPC + YPPUSH_MADDR = -5, /* Can't get master address */ +#define YPPUSH_MADDR YPPUSH_MADDR + YPPUSH_YPERR = -6, /* NIS server/map db error */ +#define YPPUSH_YPERR YPPUSH_YPERR + YPPUSH_BADARGS = -7, /* Request arguments bad */ +#define YPPUSH_BADARGS YPPUSH_BADARGS + YPPUSH_DBM = -8, /* Local dbm operation failed */ +#define YPPUSH_DBM YPPUSH_DBM + YPPUSH_FILE = -9, /* Local file I/O operation failed */ +#define YPPUSH_FILE YPPUSH_FILE + YPPUSH_SKEW = -10, /* Map version skew during transfer */ +#define YPPUSH_SKEW YPPUSH_SKEW + YPPUSH_CLEAR = -11, /* Can't send "Clear" req to local ypserv */ +#define YPPUSH_CLEAR YPPUSH_CLEAR + YPPUSH_FORCE = -12, /* No local order number in map - use -f flag*/ +#define YPPUSH_FORCE YPPUSH_FORCE + YPPUSH_XFRERR = -13, /* ypxfr error */ +#define YPPUSH_XFRERR YPPUSH_XFRERR + YPPUSH_REFUSED = -14, /* Transfer request refused by ypserv */ +#define YPPUSH_REFUSED YPPUSH_REFUSED + YPPUSH_NOALIAS = -15 /* Alias not found for map or domain */ +#define YPPUSH_NOALIAS YPPUSH_NOALIAS +}; +typedef enum yppush_status yppush_status; + +struct yppushresp_xfr { + u_int transid; + yppush_status status; +}; struct ypresp_all { bool_t more; @@ -303,33 +342,24 @@ struct ypresp_all { __BEGIN_DECLS -extern bool_t xdr_datum __P ((XDR *__xdrs, datum * __objp)); -extern bool_t xdr_ypdomain_wrap_string __P ((XDR *__xdrs, char ** __objp)); -extern bool_t xdr_ypmap_wrap_string __P ((XDR *__xdrs, char ** __objp)); extern bool_t xdr_ypreq_key __P ((XDR *__xdrs, struct ypreq_key * __objp)); extern bool_t xdr_ypreq_nokey __P ((XDR *__xdrs, struct ypreq_nokey * __objp)); extern bool_t xdr_ypreq_xfr __P ((XDR *__xdrs, struct ypreq_xfr * __objp)); -extern bool_t xdr_ypreq_newxfr __P ((XDR *__xdrs, struct ypreq_newxfr * __objp)); extern bool_t xdr_ypresp_val __P ((XDR *__xdrs, struct ypresp_val * __objp)); extern bool_t xdr_ypresp_key_val __P ((XDR *__xdrs, struct ypresp_key_val * __objp)); extern bool_t xdr_ypbind_resp __P ((XDR *__xdrs, struct ypbind_resp * __objp)); extern bool_t xdr_ypbind_setdom __P ((XDR *__xdrs, struct ypbind_setdom * __objp)); extern bool_t xdr_ypmap_parms __P ((XDR *__xdrs, struct ypmap_parms * __objp)); -extern bool_t xdr_ypowner_wrap_string __P ((XDR *__xdrs, char ** __objp)); extern bool_t xdr_yppushresp_xfr __P ((XDR *__xdrs, struct yppushresp_xfr * __objp)); extern bool_t xdr_ypresp_order __P ((XDR *__xdrs, struct ypresp_order * __objp)); extern bool_t xdr_ypresp_master __P ((XDR *__xdrs, struct ypresp_master * __objp)); extern bool_t xdr_ypall __P ((XDR *__xdrs, struct ypall_callback * __objp)); extern bool_t xdr_ypresp_maplist __P ((XDR *__xdrs, struct ypresp_maplist * __objp)); - -extern bool_t xdr_domainname_ypbind __P ((XDR *__xdrs, char * __objp)); extern bool_t xdr_ypbind_binding __P ((XDR *__xdrs, struct ypbind_binding * __objp)); extern bool_t xdr_ypbind_resptype __P ((XDR *__xdrs, enum ypbind_resptype * __objp)); extern bool_t xdr_ypstat __P ((XDR *__xdrs, enum ypbind_resptype * __objp)); extern bool_t xdr_ypresp_all __P ((XDR *__xdrs, struct ypresp_all * __objp)); -extern bool_t xdr_ypresp_all_seq __P ((XDR *__xdrs, u_long * __objp)); -extern bool_t xdr_ypmaplist_str __P ((XDR *__xdrs, char * __objp)); -extern bool_t xdr_ypmaplist __P ((XDR *__xdrs, struct ypmaplist * __objp)); +extern bool_t xdr_domainname __P ((XDR *__xdrs, char ** __objp)); __END_DECLS diff -durpN glibc-2.0/nss/databases.def glibc-2.0.1/nss/databases.def --- glibc-2.0/nss/databases.def Sun Nov 10 21:57:40 1996 +++ glibc-2.0.1/nss/databases.def Wed Jan 29 10:29:45 1997 @@ -1,5 +1,5 @@ /* List of all databases defined for the NSS in GNU C Library. - Copyright (C) 1996 Free Software Foundation, Inc. + Copyright (C) 1996, 1997 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1996. @@ -32,3 +32,9 @@ DEFINE_DATABASE (publickey) DEFINE_DATABASE (rpc) DEFINE_DATABASE (services) DEFINE_DATABASE (shadow) + +/* + Local Variables: + mode:C + End: + */ diff -durpN glibc-2.0/nss/db-Makefile glibc-2.0.1/nss/db-Makefile --- glibc-2.0/nss/db-Makefile Sat Nov 16 11:10:11 1996 +++ glibc-2.0.1/nss/db-Makefile Wed Jan 29 10:31:42 1997 @@ -1,3 +1,23 @@ +# Makefile to (re-)generate db versions of system database files. +# Copyright (C) 1996, 1997 Free Software Foundation, Inc. +# This file is part of the GNU C Library. +# Contributed by Ulrich Drepper , 1996. +# +# 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. */ + DATABASES = $(wildcard /etc/passwd /etc/group /etc/ethers /etc/protocols \ /etc/rpc /etc/services /etc/shadow /etc/netgroup) diff -durpN glibc-2.0/nss/ethers-lookup.c glibc-2.0.1/nss/ethers-lookup.c --- glibc-2.0/nss/ethers-lookup.c Fri Jun 28 04:55:52 1996 +++ glibc-2.0.1/nss/ethers-lookup.c Wed Jan 29 10:32:32 1997 @@ -1,21 +1,21 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. -Contributed by Ulrich Drepper , 1996. +/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper , 1996. -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 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. + 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. */ + 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. */ #define DATABASE_NAME ethers diff -durpN glibc-2.0/nss/hosts-lookup.c glibc-2.0.1/nss/hosts-lookup.c --- glibc-2.0/nss/hosts-lookup.c Mon Jul 1 18:16:40 1996 +++ glibc-2.0.1/nss/hosts-lookup.c Wed Jan 29 10:33:36 1997 @@ -1,21 +1,21 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. -Contributed by Ulrich Drepper , 1996. +/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper , 1996. -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 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. + 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. */ + 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. */ #define DATABASE_NAME hosts #define DEFAULT_CONFIG "dns [!UNAVAIL=return] files" diff -durpN glibc-2.0/nss/netgrp-lookup.c glibc-2.0.1/nss/netgrp-lookup.c --- glibc-2.0/nss/netgrp-lookup.c Sat Sep 28 19:49:19 1996 +++ glibc-2.0.1/nss/netgrp-lookup.c Wed Jan 29 10:34:09 1997 @@ -1,21 +1,21 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. -Contributed by Ulrich Drepper , 1996. +/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper , 1996. -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 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. + 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. */ + 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. */ #define DATABASE_NAME netgroup diff -durpN glibc-2.0/nss/nss.h glibc-2.0.1/nss/nss.h --- glibc-2.0/nss/nss.h Fri Dec 20 10:44:55 1996 +++ glibc-2.0.1/nss/nss.h Tue Jan 28 16:25:31 1997 @@ -1,4 +1,4 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. +/* Copyright (C) 1996, 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 @@ -25,7 +25,8 @@ #include /* Revision number of NSS interface (must be a string). */ -#define NSS_SHLIB_REVISION ".1" +#define NSS_SHLIB_REVISION __nss_shlib_revision +extern const char *const __nss_shlib_revision; __BEGIN_DECLS diff -durpN glibc-2.0/nss/nss_db/db-netgrp.c glibc-2.0.1/nss/nss_db/db-netgrp.c --- glibc-2.0/nss/nss_db/db-netgrp.c Mon Oct 28 12:25:24 1996 +++ glibc-2.0.1/nss/nss_db/db-netgrp.c Wed Jan 29 10:26:48 1997 @@ -1,22 +1,22 @@ /* Netgroup file parser in nss_db modules. -Copyright (C) 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. -Contributed by Ulrich Drepper , 1996. + Copyright (C) 1996, 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper , 1996. -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 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. + 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. */ + 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 #include diff -durpN glibc-2.0/nss/nss_files/files-grp.c glibc-2.0.1/nss/nss_files/files-grp.c --- glibc-2.0/nss/nss_files/files-grp.c Mon Oct 21 20:25:18 1996 +++ glibc-2.0.1/nss/nss_files/files-grp.c Wed Jan 29 10:23:54 1997 @@ -1,21 +1,21 @@ /* Group file parser in nss_files module. -Copyright (C) 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. + Copyright (C) 1996, 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 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. + 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., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + 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 diff -durpN glibc-2.0/nss/nss_files/files-hosts.c glibc-2.0.1/nss/nss_files/files-hosts.c --- glibc-2.0/nss/nss_files/files-hosts.c Sun Oct 6 09:39:21 1996 +++ glibc-2.0.1/nss/nss_files/files-hosts.c Wed Jan 29 10:24:12 1997 @@ -1,21 +1,21 @@ /* Hosts file parser in nss_files module. -Copyright (C) 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. + Copyright (C) 1996, 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 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. + 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., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + 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 #include diff -durpN glibc-2.0/nss/nss_files/files-network.c glibc-2.0.1/nss/nss_files/files-network.c --- glibc-2.0/nss/nss_files/files-network.c Tue Jul 2 15:34:42 1996 +++ glibc-2.0.1/nss/nss_files/files-network.c Wed Jan 29 10:24:36 1997 @@ -1,21 +1,21 @@ /* Networks file parser in nss_files module. -Copyright (C) 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. + Copyright (C) 1996, 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 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. + 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., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + 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 #include diff -durpN glibc-2.0/nss/nss_files/files-proto.c glibc-2.0.1/nss/nss_files/files-proto.c --- glibc-2.0/nss/nss_files/files-proto.c Tue Jul 2 15:34:55 1996 +++ glibc-2.0.1/nss/nss_files/files-proto.c Wed Jan 29 10:25:04 1997 @@ -1,21 +1,21 @@ /* Protocols file parser in nss_files module. -Copyright (C) 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. + Copyright (C) 1996, 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 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. + 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., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + 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 diff -durpN glibc-2.0/nss/nss_files/files-pwd.c glibc-2.0.1/nss/nss_files/files-pwd.c --- glibc-2.0/nss/nss_files/files-pwd.c Mon Oct 21 20:24:58 1996 +++ glibc-2.0.1/nss/nss_files/files-pwd.c Wed Jan 29 10:25:21 1997 @@ -1,21 +1,21 @@ /* User file parser in nss_files module. -Copyright (C) 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. + Copyright (C) 1996, 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 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. + 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., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + 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 diff -durpN glibc-2.0/nss/nss_files/files-rpc.c glibc-2.0.1/nss/nss_files/files-rpc.c --- glibc-2.0/nss/nss_files/files-rpc.c Tue Jul 2 15:34:56 1996 +++ glibc-2.0.1/nss/nss_files/files-rpc.c Wed Jan 29 10:25:40 1997 @@ -1,21 +1,21 @@ /* SunRPC program number file parser in nss_files module. -Copyright (C) 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. + Copyright (C) 1996, 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 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. + 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., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + 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 diff -durpN glibc-2.0/nss/nss_files/files-service.c glibc-2.0.1/nss/nss_files/files-service.c --- glibc-2.0/nss/nss_files/files-service.c Wed Aug 28 17:14:38 1996 +++ glibc-2.0.1/nss/nss_files/files-service.c Wed Jan 29 10:25:58 1997 @@ -1,21 +1,21 @@ /* Services file parser in nss_files module. -Copyright (C) 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. + Copyright (C) 1996, 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 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. + 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., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + 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 #include diff -durpN glibc-2.0/nss/nss_files/files-spwd.c glibc-2.0.1/nss/nss_files/files-spwd.c --- glibc-2.0/nss/nss_files/files-spwd.c Wed Nov 6 09:25:33 1996 +++ glibc-2.0.1/nss/nss_files/files-spwd.c Wed Jan 29 10:23:03 1997 @@ -1,21 +1,21 @@ /* User file parser in nss_files module. -Copyright (C) 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. + Copyright (C) 1996, 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 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. + 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., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + 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 diff -durpN glibc-2.0/nss/nsswitch.c glibc-2.0.1/nss/nsswitch.c --- glibc-2.0/nss/nsswitch.c Tue Dec 17 08:06:50 1996 +++ glibc-2.0.1/nss/nsswitch.c Tue Jan 28 16:29:12 1997 @@ -1,4 +1,4 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. +/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1996. @@ -27,6 +27,7 @@ #include #include #include +#include #include "nsswitch.h" @@ -63,8 +64,8 @@ static struct __libc_lock_define_initialized (static, lock) -/* Nonzero if the sevices are already initialized. */ -static int nss_initialized; +/* String with revision number of the shared object files. */ +const char *const __nss_shlib_revision = LIBNSS_FILES_SO + 15; /* The root of the whole data base. */ @@ -88,7 +89,8 @@ __nss_database_lookup (const char *datab return 0; } - if (nss_initialized == 0 && service_table == NULL) + /* Are we initialized yet? */ + if (service_table == NULL) /* Read config file. */ service_table = nss_parse_file (_PATH_NSSWITCH_CONF); @@ -330,7 +332,7 @@ nss_lookup_function (service_user *ni, c { /* Load the shared library. */ size_t shlen = (7 + strlen (ni->library->name) + 3 - + sizeof (NSS_SHLIB_REVISION)); + + strlen (NSS_SHLIB_REVISION) + 1); char shlib_name[shlen]; void do_open (void) @@ -340,9 +342,10 @@ nss_lookup_function (service_user *ni, c } /* Construct shared object name. */ - __stpcpy (__stpcpy (__stpcpy (shlib_name, "libnss_"), - ni->library->name), - ".so" NSS_SHLIB_REVISION); + __stpcpy (__stpcpy (__stpcpy (__stpcpy (shlib_name, "libnss_"), + ni->library->name), + ".so"), + NSS_SHLIB_REVISION); if (nss_dlerror_run (do_open) != 0) /* Failed to load the library. */ diff -durpN glibc-2.0/nss/nsswitch.h glibc-2.0.1/nss/nsswitch.h --- glibc-2.0/nss/nsswitch.h Wed Dec 18 16:45:07 1996 +++ glibc-2.0.1/nss/nsswitch.h Wed Jan 29 10:34:44 1997 @@ -1,20 +1,20 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. +/* Copyright (C) 1996, 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 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. + 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. */ + 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 _NSSWITCH_H #define _NSSWITCH_H 1 diff -durpN glibc-2.0/nss/proto-lookup.c glibc-2.0.1/nss/proto-lookup.c --- glibc-2.0/nss/proto-lookup.c Tue Jun 25 02:50:14 1996 +++ glibc-2.0.1/nss/proto-lookup.c Wed Jan 29 10:35:14 1997 @@ -1,21 +1,21 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. -Contributed by Ulrich Drepper , 1996. +/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper , 1996. -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 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. + 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. */ + 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. */ #define DATABASE_NAME protocols diff -durpN glibc-2.0/nss/rpc-lookup.c glibc-2.0.1/nss/rpc-lookup.c --- glibc-2.0/nss/rpc-lookup.c Tue Jun 25 02:50:01 1996 +++ glibc-2.0.1/nss/rpc-lookup.c Wed Jan 29 10:35:36 1997 @@ -1,21 +1,21 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. -Contributed by Ulrich Drepper , 1996. +/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper , 1996. -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 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. + 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. */ + 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. */ #define DATABASE_NAME rpc diff -durpN glibc-2.0/nss/service-lookup.c glibc-2.0.1/nss/service-lookup.c --- glibc-2.0/nss/service-lookup.c Tue Jun 25 02:50:18 1996 +++ glibc-2.0.1/nss/service-lookup.c Wed Jan 29 10:35:58 1997 @@ -1,21 +1,21 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. -Contributed by Ulrich Drepper , 1996. +/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper , 1996. -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 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. + 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. */ + 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. */ #define DATABASE_NAME services Binary files glibc-2.0/po/es.mo and glibc-2.0.1/po/es.mo differ diff -durpN glibc-2.0/po/es.po glibc-2.0.1/po/es.po --- glibc-2.0/po/es.po Tue Dec 31 06:35:00 1996 +++ glibc-2.0.1/po/es.po Sat Feb 1 14:59:00 1997 @@ -4,9 +4,9 @@ # msgid "" msgstr "" -"Project-Id-Version: GNU libc 1.98\n" -"POT-Creation-Date: 1996-12-03 13:50+0100\n" -"PO-Revision-Date: 1996-12-14 17:30+0100\n" +"Project-Id-Version: GNU libc 1.100\n" +"POT-Creation-Date: 1997-01-06 15:00+0100\n" +"PO-Revision-Date: 1997-01-25 21:52+0100\n" "Last-Translator: Enrique Melero Gómez \n" "Language-Team: Spanish \n" "MIME-Version: 1.0\n" @@ -33,31 +33,31 @@ msgstr " rpcinfo [ -n númpuerto ] msgid " program vers proto port\n" msgstr " programa vers proto puerto\n" -#: time/zic.c:424 +#: time/zic.c:425 #, c-format msgid " (rule from \"%s\", line %d)" msgstr " (regla desde \"%s\", línea %d)" -#: locale/programs/ld-collate.c:360 locale/programs/ld-ctype.c:1234 +#: locale/programs/ld-collate.c:360 locale/programs/ld-ctype.c:1235 msgid " done\n" msgstr " hecho\n" -#: time/zic.c:421 +#: time/zic.c:422 #, c-format msgid "\"%s\", line %d: %s" msgstr "\"%s\", línea %d: %s" -#: time/zic.c:945 +#: time/zic.c:949 #, c-format msgid "\"Zone %s\" line and -l option are mutually exclusive" msgstr "la línea \"Zone %s\" y la opción -l son mutuamente excluyentes" -#: time/zic.c:953 +#: time/zic.c:957 #, c-format msgid "\"Zone %s\" line and -p option are mutually exclusive" msgstr "la línea \"Zone %s\" y la opción -p son mutuamente excluyentes" -#: time/zic.c:758 +#: time/zic.c:760 #, c-format msgid "%s in ruleless zone" msgstr "%s en una zona sin reglas" @@ -92,7 +92,7 @@ msgstr "%s%s%s:%u: %s%sError no esperado msgid "%s%sUnknown signal %d\n" msgstr "%s%sSeñal desconocida %d\n" -#: time/zic.c:2139 +#: time/zic.c:2155 #, c-format msgid "%s: %d did not sign extend correctly\n" msgstr "%s: %d no extendió el signo correctamente\n" @@ -102,38 +102,43 @@ msgstr "%s: %d no extendió el signo corr msgid "%s: must be greater than \n" msgstr "%s: debe ser más grande que \n" -#: time/zic.c:1430 +#: time/zic.c:1445 #, c-format msgid "%s: Can't create %s: %s\n" msgstr "%s: No se puede crear %s: %s\n" -#: time/zic.c:2118 +#: time/zic.c:2134 #, c-format msgid "%s: Can't create directory %s: %s\n" msgstr "%s; No se puede crear el directorio %s: %s\n" # Sugerencia: "desde %s hasta %s" o bien "de %s a %s" pero no mezclar. sv+ -#: time/zic.c:612 +#: time/zic.c:614 #, c-format msgid "%s: Can't link from %s to %s: %s\n" msgstr "%s: No se pudo crear un enlace desde %s a %s: %s\n" -#: time/zic.c:783 +#: time/zic.c:786 #, c-format msgid "%s: Can't open %s: %s\n" msgstr "%s: No se puede abrir %s: %s\n" -#: time/zic.c:851 +#: time/zic.c:1435 +#, c-format +msgid "%s: Can't remove %s: %s\n" +msgstr "%s: No se puede eliminar %s: %s\n" + +#: time/zic.c:855 #, c-format msgid "%s: Error closing %s: %s\n" msgstr "%s: Error al cerrar %s: %s\n" -#: time/zic.c:845 +#: time/zic.c:848 #, c-format msgid "%s: Error reading %s\n" msgstr "%s: Error al leer %s\n" -#: time/zic.c:1494 +#: time/zic.c:1509 #, c-format msgid "%s: Error writing %s\n" msgstr "%s: Error al escribir %s\n" @@ -174,44 +179,44 @@ msgstr "%s: Error al escribir en la sali # Segundo, según he visto en la documentación, sólo existe un archivo # de leap lines, por eso pongo 'el'... em+ # -#: time/zic.c:830 +#: time/zic.c:833 #, c-format msgid "%s: Leap line in non leap seconds file %s\n" msgstr "" "%s: Línea de segundos intercalares en un archivo que no es el de\n" "ajuste de años bisiestos %s\n" -#: time/zic.c:362 +#: time/zic.c:363 #, c-format msgid "%s: Memory exhausted: %s\n" msgstr "%s: Memoria agotada: %s\n" -#: time/zic.c:527 +#: time/zic.c:528 #, c-format msgid "%s: More than one -L option specified\n" msgstr "%s: La opción -L se ha especificado más de una vez\n" -#: time/zic.c:487 +#: time/zic.c:488 #, c-format msgid "%s: More than one -d option specified\n" msgstr "%s: La opción -d se ha especificado más de una vez\n" -#: time/zic.c:497 +#: time/zic.c:498 #, c-format msgid "%s: More than one -l option specified\n" msgstr "%s: La opción -l se ha especificado más de una vez\n" -#: time/zic.c:507 +#: time/zic.c:508 #, c-format msgid "%s: More than one -p option specified\n" msgstr "%s: La opción -p se ha especificado más de una vez\n" -#: time/zic.c:517 +#: time/zic.c:518 #, c-format msgid "%s: More than one -y option specified\n" msgstr "%s: La opción -y se ha especificado más de una vez\n" -#: time/zic.c:1845 +#: time/zic.c:1860 #, c-format msgid "%s: command was '%s', result was %d\n" msgstr "%s: la orden fue '%s', el resultado fue %d\n" @@ -224,7 +229,7 @@ msgstr "%s: la orden fue '%s', el result msgid "%s: error in state machine" msgstr "%s: error en la máquina de estado" -#: posix/getopt.c:687 +#: posix/getopt.c:743 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: opción no permitida -- %c\n" @@ -240,47 +245,47 @@ msgstr "%s: opción no permitida -- %c\n" # Se puede poner retroreferencia porque significa referencia hacia atrás. # (Bueno, en este caso esa palabra se usa poco, pero inválida no). sv+ # -#: posix/getopt.c:690 +#: posix/getopt.c:746 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: opción no válida -- %c\n" -#: posix/getopt.c:611 +#: posix/getopt.c:667 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: la opción `%c%s' no admite ningún argumento\n" -#: posix/getopt.c:582 +#: posix/getopt.c:638 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: la opción `%s' es ambigua\n" -#: posix/getopt.c:628 posix/getopt.c:801 +#: posix/getopt.c:684 posix/getopt.c:858 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: la opción `%s' requiere un argumento\n" -#: posix/getopt.c:606 +#: posix/getopt.c:662 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: la opción `--%s' no admite ningún argumento\n" -#: posix/getopt.c:786 +#: posix/getopt.c:843 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: la opción `-W %s' no admite ningún argumento\n" -#: posix/getopt.c:767 +#: posix/getopt.c:824 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: la opción `-W %s' es ambigua\n" -#: posix/getopt.c:721 posix/getopt.c:850 +#: posix/getopt.c:777 posix/getopt.c:907 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: la opción requiere un argumento --%c\n" -#: time/zic.c:837 time/zic.c:1248 time/zic.c:1268 +#: time/zic.c:840 time/zic.c:1252 time/zic.c:1272 #, c-format msgid "%s: panic: Invalid l_value %d\n" msgstr "%s: grave: valor_l no válido %d\n" @@ -290,17 +295,17 @@ msgstr "%s: grave: valor_l no válido %d\ msgid "%s: premature end of file" msgstr "%s: fin de archivo no esperado" -#: posix/getopt.c:661 +#: posix/getopt.c:717 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: opción desconocida `%c%s'\n" -#: posix/getopt.c:657 +#: posix/getopt.c:713 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: opción desconocida `--%s'\n" -#: time/zic.c:446 +#: time/zic.c:447 #, c-format msgid "" "%s: usage is %s [ -s ] [ -v ] [ -l localtime ] [ -p posixrules ] [ -d " @@ -332,7 +337,7 @@ msgstr "(error de autentificación descon msgid "(unknown)" msgstr "(señal desconocida)" -#: catgets/gencat.c:253 +#: catgets/gencat.c:254 msgid "*standard input*" msgstr "*entrada estándar*" @@ -341,21 +346,21 @@ msgid ".lib section in a.out corrupted" msgstr "la sección .lib en el a.out está corrompida" # ## Sugerencia: Añadir (fstat) después de información. sv -#: inet/rcmd.c:358 +#: inet/rcmd.c:359 msgid ".rhosts fstat failed" msgstr "No se pudo obtener información (fstat) del archivo .rhosts" # ## Lo mismo con lstat. sv -#: inet/rcmd.c:354 +#: inet/rcmd.c:355 msgid ".rhosts lstat failed" msgstr "No se pudo obtener información (lstat) del archivo .rhosts" # lo de regular no me gusta, pero ? -#: inet/rcmd.c:356 +#: inet/rcmd.c:357 msgid ".rhosts not regular file" msgstr ".rhosts no es un archivo regular" -#: inet/rcmd.c:362 +#: inet/rcmd.c:363 msgid ".rhosts writeable by other than owner" msgstr ".rhosts puede ser modificado por otros además del propietario" @@ -389,6 +394,10 @@ msgstr "El carácter no está en la c msgid "?" msgstr "?" +#: sysdeps/unix/sysv/linux/siglist.h:27 +msgid "Aborted" +msgstr "Abortado" + #: stdio-common/../sysdeps/gnu/errlist.c:762 msgid "Accessing a corrupted shared library" msgstr "Accediendo a una biblioteca compartida que está corrompida" @@ -410,6 +419,8 @@ msgstr "Esta familia de direcciones no e msgid "Advertise error" msgstr "Error de advertencia" +#: stdio-common/../sysdeps/unix/siglist.c:43 +#: sysdeps/unix/sysv/linux/siglist.h:33 msgid "Alarm clock" msgstr "Temporizador" @@ -455,6 +466,11 @@ msgstr "Formato de archivo fuente incorr msgid "Bad message" msgstr "Mensaje erróneo" +#: stdio-common/../sysdeps/unix/siglist.c:41 +#: sysdeps/unix/sysv/linux/siglist.h:56 +msgid "Bad system call" +msgstr "Llamada al sistema erronea" + # ## Ya estamos ... # ¿ Dispositivo de bloques ?, ¿ cómo se le puede llamar a esto ? # ## al principio puse, 'se precisa de' pero me sonó mal @@ -493,12 +509,17 @@ msgstr "Problema en la selección del `br #. TRANS or blocked. Thus, your program will never actually see @code{EPIPE} #. TRANS unless it has handled or blocked @code{SIGPIPE}. #: stdio-common/../sysdeps/gnu/errlist.c:222 +#: stdio-common/../sysdeps/unix/siglist.c:42 +#: sysdeps/unix/sysv/linux/siglist.h:32 msgid "Broken pipe" msgstr "Tubería (pipe) rota" +#: stdio-common/../sysdeps/unix/siglist.c:39 +#: sysdeps/unix/sysv/linux/siglist.h:30 msgid "Bus error" msgstr "Error del bus" +#: sysdeps/unix/sysv/linux/siglist.h:43 msgid "CPU time limit exceeded" msgstr "Rebasado el límite de tiempo de CPU" @@ -506,7 +527,7 @@ msgstr "Rebasado el límite de tiempo de msgid "Can not access a needed shared library" msgstr "No se puede acceder a una biblioteca compartida que se necesita" -#: nis/ypclnt.c:637 +#: nis/ypclnt.c:694 msgid "Can't bind to server which serves this domain" msgstr "" "Ha fallado la llamada a bind() con el servidor que sirve a este dominio" @@ -515,15 +536,15 @@ msgstr "" # # Sugerencia: to map -> asignar, map -> correspondencia. sv+ # -#: nis/ypclnt.c:649 +#: nis/ypclnt.c:706 msgid "Can't communicate with portmapper" msgstr "no se puede comunicar con el mapeador de puertos (`portmapper')" -#: nis/ypclnt.c:651 +#: nis/ypclnt.c:708 msgid "Can't communicate with ypbind" msgstr "No se puede establecer comunicación con 'ypbind'" -#: nis/ypclnt.c:653 +#: nis/ypclnt.c:710 msgid "Can't communicate with ypserv" msgstr "No se puede establecer comunicación con 'ypserv'" @@ -583,6 +604,8 @@ msgstr "No se pudo especificar la opción msgid "Channel number out of range" msgstr "Número de canal fuera de rango" +#: stdio-common/../sysdeps/unix/siglist.c:49 +#: sysdeps/unix/sysv/linux/siglist.h:39 msgid "Child exited" msgstr "El proceso hijo terminó" @@ -604,7 +627,7 @@ msgstr "Error de comunicación al enviar" msgid "Computer bought the farm" msgstr "El ordenador ha comprado una granja" -#: locale/programs/ld-ctype.c:1197 +#: locale/programs/ld-ctype.c:1198 msgid "Computing table size for character classes might take a while..." msgstr "" "El cálculo del tamaño de la tabla de clases de caracteres podría tardar un\n" @@ -641,6 +664,8 @@ msgstr "Conexión reinicializada por la m msgid "Connection timed out" msgstr "Expiró el tiempo de conexión" +#: stdio-common/../sysdeps/unix/siglist.c:48 +#: sysdeps/unix/sysv/linux/siglist.h:38 msgid "Continued" msgstr "Continúa" @@ -659,7 +684,11 @@ msgstr "" "No hay NINGUNA garantía; ni siquiera de COMERCIABILIDAD o IDONEIDAD PARA UN\n" "FIN DETERMINADO.\n" -#: nis/ypclnt.c:663 +#: stdio-common/../sysdeps/unix/siglist.c:53 +msgid "Cputime limit exceeded" +msgstr "Rebasado el límite de tiempo de CPU" + +#: nis/ypclnt.c:720 msgid "Database is busy" msgstr "La base de datos está ocupada" @@ -703,10 +732,17 @@ msgid "Disc quota exceeded" msgstr "Se ha excedido la cuota de disco" # FUZZY -#: nis/ypclnt.c:709 +#: nis/ypclnt.c:766 msgid "Domain not bound" msgstr "No se pudo conectar con el dominio" +# ???, siempre lo he usado como trap, nunca encontramos la palabra +# y es una señal estándar Unix, así que no creo conveniente traducirla +#: stdio-common/../sysdeps/unix/siglist.c:36 +#: sysdeps/unix/sysv/linux/siglist.h:53 +msgid "EMT trap" +msgstr "`trap' de EMT" + #: sunrpc/clnt_perr.c:254 #, c-format msgid "Error %d" @@ -761,6 +797,7 @@ msgstr "error `deadlock' al bloquear el msgid "File name too long" msgstr "Nombre de archivo demasiado largo" +#: sysdeps/unix/sysv/linux/siglist.h:44 msgid "File size limit exceeded" msgstr "Superado el límite de tamaño de archivo" @@ -769,6 +806,12 @@ msgstr "Superado el límite de tamaño de msgid "File too large" msgstr "Archivo demasiado grande" +#: stdio-common/../sysdeps/unix/siglist.c:54 +msgid "Filesize limit exceeded" +msgstr "Superado el límite de tamaño de archivo" + +#: stdio-common/../sysdeps/unix/siglist.c:37 +#: sysdeps/unix/sysv/linux/siglist.h:28 msgid "Floating point exception" msgstr "Excepción de coma flotante" @@ -796,6 +839,8 @@ msgstr "Error injustificado" # Habrá que mirar esto # Mirado, efectivamente esto es una señal que habrá # que dejarla con su nombre original ( entre paréntesis ) +#: stdio-common/../sysdeps/unix/siglist.c:30 +#: sysdeps/unix/sysv/linux/siglist.h:22 msgid "Hangup" msgstr "Colgar (hangup)" @@ -835,11 +880,14 @@ msgstr "El host no está operativo" msgid "Host name lookup failure" msgstr "Nombre de host no encontrado" +#: stdio-common/../sysdeps/unix/siglist.c:52 +#: sysdeps/unix/sysv/linux/siglist.h:42 msgid "I/O possible" msgstr "Operación de entrada/salida permitida" # ???, siempre lo he usado como trap, nunca encontramos la palabra # y es una señal estándar Unix, así que no creo conveniente traducirla +#: stdio-common/../sysdeps/unix/siglist.c:35 msgid "IOT trap" msgstr "`trap' de IOT" @@ -849,9 +897,16 @@ msgstr "El identificador se ha eliminado # Se trata de una instrucción ilegal en el juego de instrucciones del 486 # que provoca una "excepción". +#: sysdeps/unix/sysv/linux/siglist.h:25 msgid "Illegal Instruction" msgstr "Instrucción ilegal" +# Se trata de una instrucción ilegal en el juego de instrucciones del 486 +# que provoca una "excepción". +#: stdio-common/../sysdeps/unix/siglist.c:33 +msgid "Illegal instruction" +msgstr "Instrucción ilegal" + # ¿"seek" no era "desplazamiento"? sv # Según el contexto no se puede saber a qué se refiere # cambio ... por no permitida em+ @@ -898,27 +953,33 @@ msgstr "Función ioctl no apropiada para msgid "Inappropriate operation for background process" msgstr "Operación no válida para un proceso en segundo plano" +#: sysdeps/unix/sysv/linux/siglist.h:62 +msgid "Information request" +msgstr "Petición de información" + #. TRANS Input/output error; usually used for physical read or write errors. #: stdio-common/../sysdeps/gnu/errlist.c:40 msgid "Input/output error" msgstr "Error de entrada/salida" # ??? lo mismo que arriba -#: nis/ypclnt.c:643 +#: nis/ypclnt.c:700 msgid "Internal NIS error" msgstr "Error interno del determinador de nombres" # FUZZY FUZZY # Esto se está poniendo imposible, estas funciones # nuevas ... -#: nis/ypclnt.c:707 +#: nis/ypclnt.c:764 msgid "Internal ypbind error" msgstr "Error en la llamada a bind para el servicio de páginas amarillas" +#: stdio-common/../sysdeps/unix/siglist.c:31 +#: sysdeps/unix/sysv/linux/siglist.h:23 msgid "Interrupt" msgstr "Interrupción" -#. TRANS Interrupted function call; an asynchronous signal occured and prevented +#. TRANS Interrupted function call; an asynchronous signal occurred and prevented #. TRANS completion of the call. When this happens, you should try the call #. TRANS again. #. TRANS @@ -1026,6 +1087,8 @@ msgstr "Es un archivo de tipo `named'" # A quien se le ocurra `matar' un proceso, que especifique con qué señal. # En todo caso ` Terminado ( KILL ) ' sería apropiado. Ver fuentes +#: stdio-common/../sysdeps/unix/siglist.c:38 +#: sysdeps/unix/sysv/linux/siglist.h:29 msgid "Killed" msgstr "Terminado (killed)" @@ -1055,11 +1118,11 @@ msgstr "En enlace se ha cortado" msgid "Link number out of range" msgstr "Número de enlace fuera de rango" -#: nis/ypclnt.c:655 +#: nis/ypclnt.c:712 msgid "Local domain name not set" msgstr "No se ha establecido el nombre del dominio local" -#: nis/ypclnt.c:645 +#: nis/ypclnt.c:702 msgid "Local resource allocation failure" msgstr "La asignación de recursos locales ha fallado" @@ -1088,7 +1151,7 @@ msgstr "Se ha intentado un multihop" # No debe explicarse la terminología dentro de su propio contexto. # Creo que deberías borrar lo que hay entre paréntesis. # De verdad. sv+ -#: nis/ypclnt.c:659 +#: nis/ypclnt.c:716 msgid "NIS client/server version mismatch - can't supply service" msgstr "" "La versión de NIS (sistema de información de la red) del servidor y del " @@ -1097,7 +1160,7 @@ msgstr "" # Aquí se podría poner "la tabla NIS". sv+ # mapa es un palabro. -#: nis/ypclnt.c:657 +#: nis/ypclnt.c:714 msgid "NIS map data base is bad" msgstr "La base de datos del mapa NIS no es correcta" @@ -1218,7 +1281,7 @@ msgstr "Ningún mensaje del tipo deseado" # FUZZY # Bueno, bueno -#: nis/ypclnt.c:647 +#: nis/ypclnt.c:704 msgid "No more records in map database" msgstr "No hay más registros en la base de datos del mapa" @@ -1264,11 +1327,11 @@ msgstr "No queda espacio en el dispositi msgid "No such file or directory" msgstr "No existe el archivo o el directorio" -#: nis/ypclnt.c:641 +#: nis/ypclnt.c:698 msgid "No such key in map" msgstr "No exite esta clave en el mapa" -#: nis/ypclnt.c:639 +#: nis/ypclnt.c:696 msgid "No such map in server's domain" msgstr "No existe este mapa en el dominio del servidor" @@ -1316,7 +1379,7 @@ msgstr "Resultado numérico fuera de rang msgid "Object is remote" msgstr "El objeto es remoto" -#: time/zic.c:1939 +#: time/zic.c:1954 msgid "Odd number of quotation marks" msgstr "Número impar de comillas" @@ -1383,10 +1446,11 @@ msgid "Package not installed" msgstr "El paquete no está instalado" #. TRANS Permission denied; the file permissions do not allow the attempted operation. -#: nis/ypclnt.c:661 stdio-common/../sysdeps/gnu/errlist.c:96 +#: nis/ypclnt.c:718 stdio-common/../sysdeps/gnu/errlist.c:96 msgid "Permission denied" msgstr "Permiso denegado" +#: sysdeps/unix/sysv/linux/siglist.h:64 msgid "Power failure" msgstr "Fallo de alimentación" @@ -1404,6 +1468,8 @@ msgstr "Fin no esperado de la expresión # me acuerdo de cuál. sv # Gracias por la explicación, sé que era algo referente # al trace o debug de un programa. Miro a la alemana. +#: stdio-common/../sysdeps/unix/siglist.c:56 +#: sysdeps/unix/sysv/linux/siglist.h:46 msgid "Profiling timer expired" msgstr "El tiempo de CPU expiró" @@ -1439,6 +1505,8 @@ msgid "Protocol wrong type for socket" msgstr "Tipo de protocolo incorrecto para el `socket'" # ## Podría ser también "Abandonar" sv+ +#: stdio-common/../sysdeps/unix/siglist.c:32 +#: sysdeps/unix/sysv/linux/siglist.h:24 msgid "Quit" msgstr "Abandona" @@ -1457,7 +1525,7 @@ msgstr "error específico de RFS" msgid "RPC bad procedure for program" msgstr "RPC: procedimiento erróneo para el programa" -#: nis/ypclnt.c:635 +#: nis/ypclnt.c:692 msgid "RPC failure on NIS operation" msgstr "Fallo RPC en una operación NIS" @@ -1623,10 +1691,10 @@ msgstr "Elimine la contraseña o haga el # ## Lo cambio. Ver fileutils. sv+ #: catgets/gencat.c:224 db/makedb.c:227 locale/programs/locale.c:257 #: locale/programs/localedef.c:408 -msgid "Report bugs to .\n" -msgstr "Comunicar `bugs' a .\n" +msgid "Report bugs using the `glibcbug' script to .\n" +msgstr "Comunicar `bugs' usando el programa `glibcbug' a .\n" -#: nis/ypclnt.c:633 +#: nis/ypclnt.c:690 msgid "Request arguments bad" msgstr "Los argumentos de la petición son incorrectos" @@ -1652,6 +1720,10 @@ msgstr "Error interno del determinador d msgid "Resource deadlock avoided" msgstr "Esquivado el bloqueo para el recurso" +#: stdio-common/../sysdeps/unix/siglist.c:58 +msgid "Resource lost" +msgstr "Recurso perdido" + #. TRANS Resource temporarily unavailable; the call might work if you try again #. TRANS later. The macro @code{EWOULDBLOCK} is another name for @code{EAGAIN}; #. TRANS they are always the same in the GNU C library. @@ -1693,6 +1765,8 @@ msgstr "Recurso no disponible temporalme # No, en inglés siempre se ha dicho así. Siempre he traducido # Segmentation fault como violación de segmento. Consultémoslo, # es un mensaje que se ve demasiado a menudo em +#: stdio-common/../sysdeps/unix/siglist.c:40 +#: sysdeps/unix/sysv/linux/siglist.h:31 msgid "Segmentation fault" msgstr "Violación de segmento" @@ -1704,6 +1778,10 @@ msgstr "El servidor rechazó la credencia msgid "Server rejected verifier" msgstr "El servidor rechazó el verificador" +#: stdio-common/../sysdeps/unix/siglist.c:29 +msgid "Signal 0" +msgstr "Señal 0" + #. TRANS A file that isn't a socket was specified when a socket is required. #: stdio-common/../sysdeps/gnu/errlist.c:299 msgid "Socket operation on non-socket" @@ -1723,6 +1801,10 @@ msgstr "El programa provocó el fin de la msgid "Srmount error" msgstr "Error de `srmount'" +#: sysdeps/unix/sysv/linux/siglist.h:59 +msgid "Stack fault" +msgstr "Fallo en la pila" + # ?? sugerencias ? # Habrá que traducir el "handle" de alguna forma... sv # No veo porqué. em @@ -1740,20 +1822,28 @@ msgstr "Error de `srmount'" msgid "Stale NFS file handle" msgstr "Archivo NFS bloqueado" +#: stdio-common/../sysdeps/unix/siglist.c:47 +#: sysdeps/unix/sysv/linux/siglist.h:37 msgid "Stopped" msgstr "Parado" +#: stdio-common/../sysdeps/unix/siglist.c:46 +#: sysdeps/unix/sysv/linux/siglist.h:36 msgid "Stopped (signal)" msgstr "Parado (por una señal)" # Perdonad que sea tan largo, pero es algo que nunca esta de más # Creo que mejora al original ;) +#: stdio-common/../sysdeps/unix/siglist.c:50 +#: sysdeps/unix/sysv/linux/siglist.h:40 msgid "Stopped (tty input)" msgstr "Parado (requiere entrada de terminal)" # Perdonad que sea tan largo, pero es algo que nunca esta de más # Creo que mejora al original ;) # +#: stdio-common/../sysdeps/unix/siglist.c:51 +#: sysdeps/unix/sysv/linux/siglist.h:41 msgid "Stopped (tty output)" msgstr "Parado (requiere salida por terminal)" @@ -1773,15 +1863,17 @@ msgstr "La estructura necesita una limpi # me gustaría que hubiera otra palabra mejor. SV # Siempre me han gustado F&C ;-) # A mí también :-) sv -#: nis/ypclnt.c:631 nis/ypclnt.c:705 posix/regex.c:940 +#: nis/ypclnt.c:688 nis/ypclnt.c:762 posix/regex.c:940 #: stdio-common/../sysdeps/gnu/errlist.c:7 msgid "Success" msgstr "Conseguido" -#: nis/ypclnt.c:711 +#: nis/ypclnt.c:768 msgid "System resource allocation failure" msgstr "Fallo en la asignación de recursos del sistema" +#: stdio-common/../sysdeps/unix/siglist.c:44 +#: sysdeps/unix/sysv/linux/siglist.h:34 msgid "Terminated" msgstr "Terminado" @@ -1848,6 +1940,11 @@ msgstr "Demasiadas referencias: no se pu msgid "Too many users" msgstr "Demasiados usuarios" +#: stdio-common/../sysdeps/unix/siglist.c:34 +msgid "Trace/BPT trap" +msgstr "`trap' para seguimiento/BPT" + +#: sysdeps/unix/sysv/linux/siglist.h:26 msgid "Trace/breakpoint trap" msgstr "`trap' para punto de parada/seguimiento" @@ -1890,7 +1987,7 @@ msgid "Try `%s --help' for more informat msgstr "Pruebe `%s --help' para más información.\n" # ## Nota: este no tiene nada que ver con el anterior. sv -#: inet/rcmd.c:136 +#: inet/rcmd.c:137 #, c-format msgid "Trying %s...\n" msgstr "Intentando %s...\n" @@ -1900,7 +1997,7 @@ msgstr "Intentando %s...\n" msgid "Unknown .netrc keyword %s" msgstr "palabra clave desconocida en .netrc %s" -#: nis/ypclnt.c:665 +#: nis/ypclnt.c:722 msgid "Unknown NIS error code" msgstr "Error del NIS desconocido" @@ -1931,7 +2028,7 @@ msgstr "Señal desconocida %d" msgid "Unknown system error" msgstr "Error del sistema desconocido" -#: nis/ypclnt.c:713 +#: nis/ypclnt.c:770 msgid "Unknown ypbind error" msgstr "Error desconocido en la llamada a 'ypbind()'" @@ -1960,6 +2057,8 @@ msgstr "Variable desconocida `%s'" # Sugerencia: de E/S sv+ # ?? sigo pensando en una traducción para condición +#: stdio-common/../sysdeps/unix/siglist.c:45 +#: sysdeps/unix/sysv/linux/siglist.h:35 msgid "Urgent I/O condition" msgstr "Condición urgente de entrada/saluda" @@ -2109,9 +2208,13 @@ msgid "Usage: rpcinfo [ -n portnum ] -u msgstr "" "Modo de empleo: rpcinfo [ -n númpuerto ] -u host progrnúm [ numversión ]\n" +#: stdio-common/../sysdeps/unix/siglist.c:59 +#: sysdeps/unix/sysv/linux/siglist.h:48 msgid "User defined signal 1" msgstr "Señal definida por el usuario 1" +#: stdio-common/../sysdeps/unix/siglist.c:60 +#: sysdeps/unix/sysv/linux/siglist.h:49 msgid "User defined signal 2" msgstr "Señal definida por el usuario 2" @@ -2119,14 +2222,18 @@ msgstr "Señal definida por el usuario 2" msgid "Value too large for defined data type" msgstr "Valor demasiado grande para el tipo de datos definido" +#: stdio-common/../sysdeps/unix/siglist.c:55 +#: sysdeps/unix/sysv/linux/siglist.h:45 msgid "Virtual timer expired" msgstr "El temporizador virtual llegó al final" # # Otra opción, resultado incongruente al ejecutar la orden em -#: time/zic.c:1844 +#: time/zic.c:1859 msgid "Wild result from command execution" msgstr "Resultado salvaje en la ejecución de la orden" +#: stdio-common/../sysdeps/unix/siglist.c:57 +#: sysdeps/unix/sysv/linux/siglist.h:47 msgid "Window changed" msgstr "Ventana cambiada" @@ -2136,20 +2243,20 @@ msgstr "Ventana cambiada" msgid "Written by %s.\n" msgstr "Escrito por %s.\n" -#: nis/ypclnt.c:146 +#: nis/ypclnt.c:142 msgid "YPBINDPROC_DOMAIN: Internal error\n" msgstr "YPBINDPROC_DOMAIN: Error interno\n" -#: nis/ypclnt.c:150 +#: nis/ypclnt.c:146 #, c-format msgid "YPBINDPROC_DOMAIN: No server for domain %s\n" msgstr "YPBINDPROC_DOMAIN: No hay servidor para el dominio %s\n" -#: nis/ypclnt.c:154 +#: nis/ypclnt.c:150 msgid "YPBINDPROC_DOMAIN: Resource allocation failure\n" msgstr "YPBINDPROC_DOMAIN: Fallo en la asignación de recursos\n" -#: nis/ypclnt.c:158 +#: nis/ypclnt.c:154 msgid "YPBINDPROC_DOMAIN: Unknown error\n" msgstr "YPBINDPROC_DOMAIN: Error desconocido\n" @@ -2176,7 +2283,7 @@ msgid "You really blew it this time" msgstr "Esta vez si que lo has roto" # VER -#: time/zic.c:1050 +#: time/zic.c:1054 msgid "Zone continuation line end time is not after end time of previous line" msgstr "" "La línea de continuación de la zona no esta después del tiempo de final\n" @@ -2230,7 +2337,7 @@ msgstr "el argumento para `%s' debe ser msgid "auth_none.c - Fatal marshalling problem" msgstr "auth_none.c - Problema muy grave con autorización marshall" -#: inet/rcmd.c:360 +#: inet/rcmd.c:361 msgid "bad .rhosts owner" msgstr "El propietario del archivo .rhosts no es válido" @@ -2238,20 +2345,20 @@ msgstr "El propietario del archivo .rhos msgid "bad argument" msgstr "Argumento no válido" -#: time/zic.c:1172 +#: time/zic.c:1176 msgid "blank FROM field on Link line" msgstr "Campo FROM vacío en la línea `Link'" -#: time/zic.c:1176 +#: time/zic.c:1180 msgid "blank TO field on Link line" msgstr "Campo TO vacío en la línea `Link'" -#: malloc/mcheck.c:189 +#: new-malloc/mcheck.c:191 msgid "block freed twice" msgstr "bloque liberado dos veces" # Revisar lo de bogus. creo que es eso. -#: malloc/mcheck.c:192 +#: new-malloc/mcheck.c:194 msgid "bogus mcheck_status, library is buggy" msgstr "Valor de mcheck_status incorrecto, la biblioteca tiene un bug" @@ -2269,8 +2376,8 @@ msgid "cache_set: victim not found" msgstr "cache_set: no se encontró el objetivo" # FUZZY -#: time/zic.c:1685 -msgid "can't determine time zone abbrevation to use just after until time" +#: time/zic.c:1700 +msgid "can't determine time zone abbreviation to use just after until time" msgstr "" "No se puede determinar la abreviación de zona horaria que se usará justo\n" "después" @@ -2305,7 +2412,7 @@ msgstr "no se puede insertar la nueva de msgid "cannot open database file `%s': %s" msgstr "no se puede abrir el archivo de datos `%s': %s" -#: catgets/gencat.c:259 db/makedb.c:180 +#: catgets/gencat.c:260 db/makedb.c:180 #, c-format msgid "cannot open input file `%s'" msgstr "no se puede abrir el archivo de entrada `%s'" @@ -2315,7 +2422,7 @@ msgstr "no se puede abrir el archivo de msgid "cannot open locale definition file `%s'" msgstr "no se puede abrir el archivo de definición de locales `%s'" -#: catgets/gencat.c:764 catgets/gencat.c:805 db/makedb.c:189 +#: catgets/gencat.c:765 catgets/gencat.c:806 db/makedb.c:189 #, c-format msgid "cannot open output file `%s'" msgstr "no se puede abrir el archivo de salida `%s'" @@ -2330,12 +2437,12 @@ msgstr "no se puede abrir el archivo de msgid "cannot process order specification" msgstr "no se pueden procesar las especificaciones de orden" -#: locale/programs/locale.c:303 +#: locale/programs/locale.c:304 #, c-format msgid "cannot read character map directory `%s'" msgstr "no se puede leer el directorio de mapas de caracters `%s'" -#: locale/programs/locale.c:278 +#: locale/programs/locale.c:279 #, c-format msgid "cannot read locale directory `%s'" msgstr "No se puede leer directorio de locales %s" @@ -2414,7 +2521,7 @@ msgstr "símbolo de unión `%.*s' aparece msgid "collation symbol expected after `%s'" msgstr "símbolo de unión esperado después de `%s'" -#: inet/rcmd.c:129 +#: inet/rcmd.c:130 #, c-format msgid "connect to address %s: " msgstr "conexión a la dirección %s: " @@ -2465,24 +2572,24 @@ msgstr "definición duplicada del element msgid "duplicate definition for character `%.*s'" msgstr "definición duplicada del carácter `%.*s" -#: db/makedb.c:310 +#: db/makedb.c:311 msgid "duplicate key" msgstr "tecla duplicada" -#: catgets/gencat.c:378 +#: catgets/gencat.c:379 msgid "duplicate set definition" msgstr "definición de conjunto duplicada" -#: time/zic.c:965 +#: time/zic.c:969 #, c-format msgid "duplicate zone name %s (file \"%s\", line %d)" msgstr "nombre de zona %s duplicado (archivo \"%s\", línea %d)" -#: catgets/gencat.c:541 +#: catgets/gencat.c:542 msgid "duplicated message identifier" msgstr "identificador de mensaje duplicado" -#: catgets/gencat.c:514 +#: catgets/gencat.c:515 msgid "duplicated message number" msgstr "número de mensaje duplicado" @@ -2528,7 +2635,7 @@ msgstr "error al insertar en la tabla en msgid "expect string argument for `copy'" msgstr "se espera un argumento de cadena de caracteres para `copy'" -#: time/zic.c:856 +#: time/zic.c:860 msgid "expected continuation line not found" msgstr "la línea de continuación esperada no se encuentra" @@ -2537,6 +2644,10 @@ msgstr "la línea de continuación esperad msgid "failure while writing data for category `%s'" msgstr "error al escribir los datos para la categoría `%s'" +#: nis/ypclnt.c:186 +msgid "fcntl: F_SETFD" +msgstr "fcntl: F_SETFD" + #: locale/programs/ld-monetary.c:154 locale/programs/ld-numeric.c:95 #, c-format msgid "field `%s' in category `%s' not defined" @@ -2591,11 +2702,11 @@ msgstr "" msgid "get_myaddress: ioctl (get interface configuration)" msgstr "get_myaddress: ioctl (lee la configuración del interfaz)" -#: time/zic.c:1149 +#: time/zic.c:1153 msgid "illegal CORRECTION field on Leap line" msgstr "El campo CORRECTION en la línea de año bisiesto no es válido" -#: time/zic.c:1153 +#: time/zic.c:1157 msgid "illegal Rolling/Stationary field on Leap line" msgstr "Campo Rolling/Stationary no válido en la línea de año bisiesto" @@ -2630,7 +2741,7 @@ msgstr "" "número de desplazamiento no válido en la cadena %d en el campo `era' de la\n" "categoría `%s'" -#: catgets/gencat.c:351 catgets/gencat.c:428 +#: catgets/gencat.c:352 catgets/gencat.c:429 msgid "illegal set number" msgstr "número de conjunto inválido" @@ -2664,19 +2775,19 @@ msgstr "" msgid "incorrectly formatted file" msgstr "archivo formateado incorrectamente" -#: time/zic.c:814 +#: time/zic.c:817 msgid "input line of unknown type" msgstr "línea de entrada de tipo desconocido" -#: time/zic.c:1733 +#: time/zic.c:1748 msgid "internal error - addtype called with bad isdst" msgstr "error interno - se llamó a 'addtype' con 'isdst' erróneo" -#: time/zic.c:1741 +#: time/zic.c:1756 msgid "internal error - addtype called with bad ttisgmt" msgstr "error interno - se llamó a 'addtype' con 'ttisgmt' erróneo" -#: time/zic.c:1737 +#: time/zic.c:1752 msgid "internal error - addtype called with bad ttisstd" msgstr "error interno - se llamó a 'addtype' con 'ttisstd' erróneo" @@ -2685,44 +2796,44 @@ msgstr "error interno - se llamó a 'addt msgid "internal error in %s, line %u" msgstr "error interno en %s, línea %u" -#: time/zic.c:1021 +#: time/zic.c:1025 msgid "invalid GMT offset" msgstr "desplazamiento GMT no válido" # ¿No será "abreviatura"? sv+ -#: time/zic.c:1024 +#: time/zic.c:1028 msgid "invalid abbreviation format" msgstr "formato de abreviación incorrecto" -#: time/zic.c:1114 time/zic.c:1313 time/zic.c:1327 +#: time/zic.c:1118 time/zic.c:1317 time/zic.c:1331 msgid "invalid day of month" msgstr "día del mes no válido" -#: time/zic.c:1272 +#: time/zic.c:1276 msgid "invalid ending year" msgstr "año de final no válido" -#: time/zic.c:1086 +#: time/zic.c:1090 msgid "invalid leaping year" msgstr "año bisiesto inválido" -#: time/zic.c:1101 time/zic.c:1204 +#: time/zic.c:1105 time/zic.c:1208 msgid "invalid month name" msgstr "nombre de mes incorrecto" -#: time/zic.c:920 +#: time/zic.c:924 msgid "invalid saved time" msgstr "la hora almacenada no es válida" -#: time/zic.c:1252 +#: time/zic.c:1256 msgid "invalid starting year" msgstr "año de comienzo no válido" -#: time/zic.c:1130 time/zic.c:1232 +#: time/zic.c:1134 time/zic.c:1236 msgid "invalid time of day" msgstr "hora del día no válida" -#: time/zic.c:1318 +#: time/zic.c:1322 msgid "invalid weekday name" msgstr "nombre del día de la semana incorrecto" @@ -2738,7 +2849,7 @@ msgstr "" "la línea posterior a la elipsis no contiene una definición para una " "constante de carácter" -#: time/zic.c:794 +#: time/zic.c:797 msgid "line too long" msgstr "línea demasiado larga" @@ -2748,7 +2859,7 @@ msgid "locale file `%s', used in `copy' msgstr "" "archivo de locales `%s', que se usa en una orden `copy', no se encuentra" -#: catgets/gencat.c:609 +#: catgets/gencat.c:610 msgid "malformed line ignored" msgstr "línea incorrecta se ignoró" @@ -2757,14 +2868,14 @@ msgstr "línea incorrecta se ignoró" # ¿estropeada? ¿alterada? <- votaría por ésta. sv # Pues después de ver la traducción de Jochen estoy perdido # le voy a consultar a él directamente. em -#: malloc/mcheck.c:183 +#: new-malloc/mcheck.c:185 msgid "memory clobbered before allocated block" msgstr "memoria alterada antes del comienzo del bloque de memoria asignado" # ??? lo mismo digo # aceptado hasta que consulte con Jochen # lo mismo sugiero. sv -#: malloc/mcheck.c:186 +#: new-malloc/mcheck.c:188 msgid "memory clobbered past end of allocated block" msgstr "memoria alterada pasado el final del bloque de memoria asignado" @@ -2775,12 +2886,12 @@ msgstr "memoria alterada pasado el final msgid "memory exhausted" msgstr "memoria agotada" -#: malloc/obstack.c:425 +#: new-malloc/obstack.c:462 msgid "memory exhausted\n" msgstr "Memoria agotada\n" # biblioteca está recogida en la lista de pifias de Ángel Álvarez. -#: malloc/mcheck.c:180 +#: new-malloc/mcheck.c:182 msgid "memory is consistent, library is buggy" msgstr "no hay problemas con la memoria, la biblioteca tiene un bug" @@ -2798,7 +2909,7 @@ msgstr "" "nomnbre de era no encontrado en la cadena %d en el campo `era' de la\n" "categoría `%s'" -#: time/zic.c:915 +#: time/zic.c:919 msgid "nameless rule" msgstr "regla sin nombre" @@ -2819,7 +2930,7 @@ msgstr "" # Esto debe tener algo que ver con la función menopausie() em # No se me había ocurrido... ¿Se te ocurre algo mejor, ahora que ya # sabemos lo que quiere decir? sv -#: time/zic.c:2059 +#: time/zic.c:2074 msgid "no day in month matches rule" msgstr "ningún día del mes coincide con la regla" @@ -2855,7 +2966,7 @@ msgid "only WIDTH definitions are allowe msgstr "" "solo están permitidas definiciones WIDTH después de la una definición CHARMAP" -#: db/makedb.c:326 +#: db/makedb.c:327 #, c-format msgid "problems while reading `%s'" msgstr "problemas mientras se leía `%s'" @@ -2878,16 +2989,16 @@ msgstr "el programa %lu versión %lu no e msgid "program %lu version %lu ready and waiting\n" msgstr "el programa %lu versión %lu está listo y esperando\n" -#: inet/rcmd.c:171 +#: inet/rcmd.c:172 #, c-format msgid "rcmd: select (setting up stderr): %m\n" msgstr "rcmd: select (activando la salida de error estándar): %m\n" -#: inet/rcmd.c:103 +#: inet/rcmd.c:104 msgid "rcmd: socket: All ports in use\n" msgstr "rcmd: socket: Todos los puertos están siendo usados\n" -#: inet/rcmd.c:159 +#: inet/rcmd.c:160 #, c-format msgid "rcmd: write (setting up stderr): %m\n" msgstr "rcmd: write (activando la salida de error estándar): %m\n" @@ -2896,7 +3007,7 @@ msgstr "rcmd: write (activando la salida msgid "registerrpc: out of memory\n" msgstr "registerrpc: memoria agotada\n" -#: time/zic.c:1794 +#: time/zic.c:1809 msgid "repeated leap second moment" msgstr "segundo intercalar repetido" @@ -2934,18 +3045,18 @@ msgid "rpcinfo: can't contact portmapper msgstr "" "rpcinfo: no se puede comunicar con el mapeador de puertos (`portmapper'): " -#: time/zic.c:708 time/zic.c:710 +#: time/zic.c:710 time/zic.c:712 msgid "same rule name in multiple files" msgstr "mismo nombre de regla en varios archivos" # ¿en la configuración del servicio?, ¿del circuito?, ¿o dejarlo así? # Es de locos, estuve viendo las/los fuentes, preferí dejarlo así. em -#: inet/rcmd.c:174 +#: inet/rcmd.c:175 msgid "select: protocol failure in circuit setup\n" msgstr "select: fallo de protocolo al configurar el circuito\n" # ??? lo mismo que arriba -#: inet/rcmd.c:192 +#: inet/rcmd.c:193 msgid "socket: protocol failure in circuit setup\n" msgstr "socket: fallo de protocolo al configurar el circuito\n" @@ -2960,7 +3071,7 @@ msgstr "" "la especificación para el orden de peso del símbolo de unión no tiene " "sentido " -#: time/zic.c:779 +#: time/zic.c:781 msgid "standard input" msgstr "entrada estándar" @@ -2975,7 +3086,7 @@ msgstr "" "la fecha de comienzo no es válida en la cadena %d del campo `era' de la\n" "categoría `%s'" -#: time/zic.c:1276 +#: time/zic.c:1280 msgid "starting year greater than ending year" msgstr "año de comienzo mayor que año de final" @@ -3130,16 +3241,16 @@ msgid "syntax error: not inside a locale msgstr "" "error de sintaxis: no está dentro de una seción de definición para un local" -#: catgets/gencat.c:380 catgets/gencat.c:516 catgets/gencat.c:543 +#: catgets/gencat.c:381 catgets/gencat.c:517 catgets/gencat.c:544 msgid "this is the first definition" msgstr "esta es la primera vez que aparece la definición" -#: time/zic.c:1119 +#: time/zic.c:1123 msgid "time before zero" msgstr "hora antes de cero" # Sugerencia: Desbordamiento de fecha. (?) sv+ -#: time/zic.c:1127 time/zic.c:1959 time/zic.c:1978 +#: time/zic.c:1131 time/zic.c:1974 time/zic.c:1993 msgid "time overflow" msgstr "desbordamiento horario" @@ -3155,15 +3266,15 @@ msgstr "demasiados bytes en la codificac msgid "too many character classes defined" msgstr "demasiadas clases de caracteres definidas" -#: time/zic.c:1788 +#: time/zic.c:1803 msgid "too many leap seconds" msgstr "demasiados segundos intercalares" -#: time/zic.c:1760 +#: time/zic.c:1775 msgid "too many local time types" msgstr "demasiados tipos de hora local" -#: time/zic.c:1714 +#: time/zic.c:1729 msgid "too many transitions?!" msgstr "¡¿demasiadas transiciones?!" @@ -3175,7 +3286,7 @@ msgstr "¡demasiados pesos!" # ## Sugerencia: abreviaturas. sv # ## Ok em+ -#: time/zic.c:2082 +#: time/zic.c:2097 msgid "too many, or too long, time zone abbreviations" msgstr "demasiadas o demasiado largas abreviaturas de zona horaria" @@ -3197,7 +3308,7 @@ msgstr "dificultades para responder al p msgid "two lines in a row containing `...' are not allowed" msgstr "no están permitidas dos líneas en una misma fila con `...'" -#: time/zic.c:1283 +#: time/zic.c:1287 msgid "typed single year" msgstr "tecleado un único año" @@ -3225,19 +3336,16 @@ msgstr "la directiva de unión es descono # ## descartada (?) sv # ## ¿ y así ? em # ## por mí, vale. sv+ -#: catgets/gencat.c:477 +#: catgets/gencat.c:478 #, c-format msgid "unknown directive `%s': line ignored" msgstr "directiva desconocida '%s': línea pasada por alto" -#: catgets/gencat.c:456 +#: catgets/gencat.c:457 #, c-format msgid "unknown set `%s'" msgstr "conjunto `%s' desconocido" -msgid "unknown signal" -msgstr "señal desconocida" - # descartada (?) sv # Me gusta más `pasada por alto' em+ #: locale/programs/ld-collate.c:1367 locale/programs/ld-collate.c:1558 @@ -3246,11 +3354,11 @@ msgstr "señal desconocida" msgid "unknown symbol `%.*s': line ignored" msgstr "símbolo desconocido `%.*s': línea descartada" -#: time/zic.c:751 +#: time/zic.c:753 msgid "unruly zone" msgstr "zona sin reglas" -#: catgets/gencat.c:961 +#: catgets/gencat.c:962 msgid "unterminated message" msgstr "mensaje sin terminar" @@ -3276,7 +3384,7 @@ msgstr "el límite superior del rango no # en el archivo pondrá 2/29 em # Sugerencia: "uso de 2/29 ..." (usando sería "using") sv # Tienes razón em+ -#: time/zic.c:2025 +#: time/zic.c:2040 msgid "use of 2/29 in non leap-year" msgstr "uso de 2/29 en un año no bisiesto" @@ -3333,15 +3441,15 @@ msgstr "el valor para el campo `%s' en l msgid "while opening UTMP file" msgstr "al abrir el archivo UTMP" -#: catgets/gencat.c:988 +#: catgets/gencat.c:989 msgid "while opening old catalog file" msgstr "al abrir el archivo de catálogo antiguo" -#: db/makedb.c:353 +#: db/makedb.c:354 msgid "while reading database" msgstr "al leer el archivo de datos" -#: db/makedb.c:315 +#: db/makedb.c:316 msgid "while writing data base file" msgstr "al abrir el archivo de datos" @@ -3359,37 +3467,39 @@ msgstr "número incorrecto de argumentos" # Si es mejor, ponlo en todos los sitios. Y si no, en ninguno. # Yo creo que es mucho mejor poner "número incorrecto ..." # Si no, queda como "al revés". sv+ -#: time/zic.c:1077 +#: time/zic.c:1081 msgid "wrong number of fields on Leap line" msgstr "número incorrecto de campos en la línea de bisiesto ( Leap )" -#: time/zic.c:1168 +#: time/zic.c:1172 msgid "wrong number of fields on Link line" msgstr "número incorrecto de campos en la línea de enlace ( Link )" -#: time/zic.c:911 +#: time/zic.c:915 msgid "wrong number of fields on Rule line" msgstr "número incorrecto de argumentos en la línea de regla ( Rule )" -#: time/zic.c:981 +#: time/zic.c:985 msgid "wrong number of fields on Zone continuation line" msgstr "número de campos incorrecto en la línea de continuación de zona (Zone)" -#: time/zic.c:939 +#: time/zic.c:943 msgid "wrong number of fields on Zone line" msgstr "número de campos incorrecto en la línea de zona ( Zone )" -#: nis/ypclnt.c:570 -msgid "yp_all: clnttcp_create failed" -msgstr "yp_all: ha fallado la llamada a 'clnttcp_create()'" - -#: nis/ypclnt.c:772 +#: nis/ypclnt.c:810 msgid "yp_update: cannot convert host to netname\n" msgstr "yp_update: no puede convertir el nombre del host a nombre de red\n" -#: nis/ypclnt.c:784 +#: nis/ypclnt.c:822 msgid "yp_update: cannot get server address\n" msgstr "yp_update: no se puede encontrar la dirección del servidor\n" + +#~ msgid "unknown signal" +#~ msgstr "señal desconocida" + +#~ msgid "yp_all: clnttcp_create failed" +#~ msgstr "yp_all: ha fallado la llamada a 'clnttcp_create()'" #~ msgid "character `%c' not defined while needed as default value" #~ msgstr "" Binary files glibc-2.0/po/fr.mo and glibc-2.0.1/po/fr.mo differ diff -durpN glibc-2.0/po/fr.po glibc-2.0.1/po/fr.po --- glibc-2.0/po/fr.po Thu Dec 12 16:46:00 1996 +++ glibc-2.0.1/po/fr.po Fri Jan 24 14:13:00 1997 @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: GNU libc 1.98\n" "POT-Creation-Date: 1996-12-03 13:50+0100\n" -"PO-Revision-Date: 1996-12-12 22:46 -0500\n" +"PO-Revision-Date: 1997-01-24 20:13 -0500\n" "Last-Translator: Michel Robitaille \n" "Language-Team: French \n" "MIME-Version: 1.0\n" @@ -881,11 +881,11 @@ msgstr "Connexion par liens par noeuds m #: nis/ypclnt.c:659 msgid "NIS client/server version mismatch - can't supply service" -msgstr "Non concrodance de la version client/serveur NIS - ne peut fournir le service." +msgstr "Non concordance de la version client/serveur NIS - ne peut fournir le service." #: nis/ypclnt.c:657 msgid "NIS map data base is bad" -msgstr "La table de la base de données NIS est corrumpue." +msgstr "La table de la base de données NIS est corrompue." #: stdio-common/../sysdeps/gnu/errlist.c:746 msgid "Name not unique on network" Binary files glibc-2.0/po/nl.mo and glibc-2.0.1/po/nl.mo differ diff -durpN glibc-2.0/po/nl.po glibc-2.0.1/po/nl.po --- glibc-2.0/po/nl.po Tue Sep 17 04:39:00 1996 +++ glibc-2.0.1/po/nl.po Sat Feb 1 15:09:00 1997 @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: libc 1.94\n" +"Project-Id-Version: libc 2.0\n" "POT-Creation-Date: 1996-09-08 3:45\n" "PO-Revision-Date: 1996-09-17 14:30 MET DST\n" "Last-Translator: Erick Branderhorst \n" @@ -25,23 +25,23 @@ msgstr " %s [-s udp|tcp]* [-o uitv #: sunrpc/rpcinfo.c:612 msgid " rpcinfo -b prognum versnum\n" -msgstr "" +msgstr " rpcinfo -b programanummer versienummer\n" #: sunrpc/rpcinfo.c:613 msgid " rpcinfo -d prognum versnum\n" -msgstr "" +msgstr " rpcinfo -d programanummer versienummer\n" #: sunrpc/rpcinfo.c:611 msgid " rpcinfo -p [ host ]\n" -msgstr "" +msgstr " rpcinfo -p [ host ]\n" #: sunrpc/rpcinfo.c:610 msgid " rpcinfo [ -n portnum ] -t host prognum [ versnum ]\n" -msgstr "" +msgstr " rpcinfo [ -n poortnummer ] -t host programanummer [ versienummer ]\n" #: sunrpc/rpcinfo.c:517 msgid " program vers proto port\n" -msgstr "" +msgstr " program vers proto port\n" #: time/zic.c:425 #, c-format @@ -967,7 +967,7 @@ msgstr "Numeriek resultaat is buiten dom #. TRANS properly on the GNU system, making this error code impossible.) #: stdio-common/../sysdeps/gnu/errlist.c:502 msgid "Object is remote" -msgstr "" +msgstr "Object is niet lokaal" #: time/zic.c:1940 msgid "Odd number of quotation marks" @@ -1306,7 +1306,7 @@ msgstr "Gestopt (tty uitvoer)" #: stdio-common/../sysdeps/gnu/errlist.c:778 msgid "Streams pipe error" -msgstr "" +msgstr "Stromen pijp fout" #: stdio-common/../sysdeps/gnu/errlist.c:782 msgid "Structure needs cleaning" @@ -1652,7 +1652,7 @@ msgstr "verwacht `from' na eerste argume #: locale/programs/ld-collate.c:1108 msgid "" "`from' string in collation element declaration contains unknown character" -msgstr "" +msgstr "`from' string in vergelijkende element declaratie bevat onbekend karakter" #: locale/programs/charmap.c:267 #, c-format @@ -1734,7 +1734,7 @@ msgstr "kan niet invoegen in resultaat t #: locale/programs/ld-collate.c:1165 locale/programs/ld-collate.c:1207 #, c-format msgid "cannot insert new collating symbol definition: %s" -msgstr "" +msgstr "kan geen nieuw vergelijking symbool definitie invoegen: %s" #: db/makedb.c:149 #, c-format @@ -1763,7 +1763,7 @@ msgstr "kan uitvoerbestand `%s' niet ope #: locale/programs/ld-collate.c:1359 msgid "cannot process order specification" -msgstr "" +msgstr "kan de gespecificeerde volgorde niet afhandelen" #: locale/programs/locale.c:293 #, c-format @@ -2041,7 +2041,7 @@ msgstr "ongeldige codering gegeven" #: locale/programs/linereader.c:546 msgid "illegal escape sequence at end of string" -msgstr "" +msgstr "ongeldige escape reeks aan het einde van string" #: locale/programs/charset.c:101 msgid "illegal names for character range" @@ -2128,15 +2128,15 @@ msgstr "ongeldige tijd van de dag" #: time/zic.c:1319 msgid "invalid weekday name" -msgstr "ongeldig weekdagnaam" +msgstr "ongeldig naam voor weekdag" #: locale/programs/ld-collate.c:1411 msgid "line after ellipsis must contain character definition" -msgstr "" +msgstr "regel na ellipsis moet een karakter definitie bevatten" #: locale/programs/ld-collate.c:1390 msgid "line before ellipsis does not contain definition for character constant" -msgstr "" +msgstr "regel voor ellipsis bevat geen konstante karakter definitie" #: time/zic.c:795 msgid "line too long" @@ -2157,7 +2157,7 @@ msgstr "geheugen clobbered voordat blok #: malloc/mcheck.c:186 msgid "memory clobbered past end of allocated block" -msgstr "" +msgstr "geheugen `clobbered' na het einde van een gealloceerd blok" #: locale/programs/ld-collate.c:167 locale/programs/ld-collate.c:173 #: locale/programs/ld-collate.c:177 locale/programs/ld-collate.c:1438 @@ -2186,7 +2186,7 @@ msgstr "geen array-of-pointer declaratie #: locale/programs/ld-messages.c:95 locale/programs/ld-messages.c:116 #, c-format msgid "no correct regular expression for field `%s' in category `%s': %s" -msgstr "" +msgstr "geen correct reguliere expressie voor veld `%s' in category `%s': %s" #: time/zic.c:2060 msgid "no day in month matches rule" @@ -2285,30 +2285,30 @@ msgstr "herhalend schrikkelseconde momen #: sunrpc/rpcinfo.c:659 #, c-format msgid "rpcinfo: %s is unknown host\n" -msgstr "" +msgstr "rpcinfo: %s is onbekende host\n" #: sunrpc/rpcinfo.c:626 #, c-format msgid "rpcinfo: %s is unknown service\n" -msgstr "" +msgstr "rpcinfo: %s is onbekende service\n" #: sunrpc/rpcinfo.c:600 #, c-format msgid "rpcinfo: Could not delete registration for prog %s version %s\n" -msgstr "" +msgstr "rpcinfo: Kan geen registratie verwijderen voor programma %s versie %s\n" #: sunrpc/rpcinfo.c:576 #, c-format msgid "rpcinfo: broadcast failed: %s\n" -msgstr "" +msgstr "rpcinfo: uitzending mislukt: %s\n" #: sunrpc/rpcinfo.c:505 msgid "rpcinfo: can't contact portmapper" -msgstr "" +msgstr "rpcinfo: kan geen kontakt krijgen met portmapper" #: sunrpc/rpcinfo.c:510 msgid "rpcinfo: can't contact portmapper: " -msgstr "" +msgstr "rpcinfo: kan geen kontakt krijgen met portmapper: " #: sunrpc/portmap.c:137 msgid "run_svc returned unexpectedly\n" @@ -2320,11 +2320,11 @@ msgstr "zelfde regel naam in meerdere be #: inet/rcmd.c:158 msgid "select: protocol failure in circuit setup\n" -msgstr "" +msgstr "select: protocol mislukt in opstart circuit\n" #: inet/rcmd.c:176 msgid "socket: protocol failure in circuit setup.\n" -msgstr "" +msgstr "socket: protocol mislukt in opstart circuit.\n" #: locale/programs/locfile.c:600 msgid "sorting order `forward' and `backward' are mutually exclusive" @@ -2349,15 +2349,15 @@ msgstr "beginjaar is groter dan eindejaa #: sunrpc/svc_tcp.c:199 sunrpc/svc_tcp.c:204 msgid "svc_tcp: makefd_xprt: out of memory\n" -msgstr "" +msgstr "svc_tcp: makefd_xprt: geen geheugen meer\n" #: sunrpc/svc_tcp.c:147 msgid "svctcp_.c - cannot getsockname or listen" -msgstr "" +msgstr "svctcp_.c - `getsockname' of `listen' lukken niet" #: sunrpc/svc_tcp.c:134 msgid "svctcp_.c - udp socket creation problem" -msgstr "" +msgstr "svctcp_.c - udp socket aanmaak probleem" #: sunrpc/svc_tcp.c:154 sunrpc/svc_tcp.c:161 msgid "svctcp_create: out of memory\n" @@ -2365,11 +2365,11 @@ msgstr "svctcp_create: geen geheugen mee #: sunrpc/svc_udp.c:119 msgid "svcudp_create - cannot getsockname" -msgstr "" +msgstr "svcudp_create - `getsockname' lukt niet" #: sunrpc/svc_udp.c:107 msgid "svcudp_create: socket creation problem" -msgstr "" +msgstr "svcudp_create: socket aanmaak probleem" #: locale/programs/ld-collate.c:1190 #, c-format @@ -2377,6 +2377,8 @@ msgid "" "symbol for multicharacter collating element `%.*s' duplicates element " "definition" msgstr "" +"symbool voor multikarakter vergelijkings element `%.*s' dupliceerd\n" +"element definitie" #: locale/programs/ld-collate.c:1063 #, c-format @@ -2384,6 +2386,8 @@ msgid "" "symbol for multicharacter collating element `%.*s' duplicates other element " "definition" msgstr "" +"symbool voor multikarakter vergelijkings element `%.*s' dupliceert\n" +"andere element definities" #: locale/programs/ld-collate.c:1199 #, c-format @@ -2391,6 +2395,8 @@ msgid "" "symbol for multicharacter collating element `%.*s' duplicates other symbol " "definition" msgstr "" +"symbool voor multikarakter vergelijkings element `%.*s' dupliceert\n" +"andere symbool definitie" #: locale/programs/ld-collate.c:1072 #, c-format @@ -2428,7 +2434,7 @@ msgstr "syntactische fout in karakter co #: locale/programs/locfile.c:662 msgid "syntax error in collating order definition" -msgstr "" +msgstr "syntactische fout in collating volgorde definitie" #: locale/programs/locfile.c:512 msgid "syntax error in collation definition" diff -durpN glibc-2.0/posix/getopt.c glibc-2.0.1/posix/getopt.c --- glibc-2.0/posix/getopt.c Wed Jan 22 11:17:28 1997 +++ glibc-2.0.1/posix/getopt.c Mon Jan 27 22:15:03 1997 @@ -253,7 +253,8 @@ static int last_nonopt; /* Bash 2.0 gives us an environment variable containing flags indicating ARGV elements that should not be considered arguments. */ -static const char *nonoption_flags; +static char *nonoption_flags; +static int nonoption_flags_max_len; static int nonoption_flags_len; static int original_argc; @@ -272,6 +273,16 @@ store_args (int argc, char *const *argv) original_argv = argv; } text_set_element (__libc_subinit, store_args); + +# define SWAP_FLAGS(ch1, ch2) \ + if (nonoption_flags_len > 0) \ + { \ + char __tmp = nonoption_flags[ch1]; \ + nonoption_flags[ch1] = nonoption_flags[ch2]; \ + nonoption_flags[ch2] = __tmp; \ + } +#else +# define SWAP_FLAGS(ch1, ch2) #endif /* Exchange two adjacent subsequences of ARGV. @@ -301,6 +312,28 @@ exchange (argv) It leaves the longer segment in the right place overall, but it consists of two parts that need to be swapped next. */ +#ifdef _LIBC + /* First make sure the handling of the `nonoption_flags' string can + work normally. Our top argument must be in the range of the + string. */ + if (nonoption_flags_len != 0 && top >= nonoption_flags_max_len) + { + /* We must extend the array. The user plays games with us and + presents new arguments. */ + char *new_str = malloc (top + 1); + if (new_str == NULL) + nonoption_flags_len = nonoption_flags_max_len = 0; + else + { + memcpy (new_str, nonoption_flags, nonoption_flags_max_len); + memset (&new_str[nonoption_flags_max_len], '\0', + top + 1 - nonoption_flags_max_len); + nonoption_flags_max_len = top + 1; + nonoption_flags = new_str; + } + } +#endif + while (top > middle && middle > bottom) { if (top - middle > middle - bottom) @@ -315,6 +348,7 @@ exchange (argv) tem = argv[bottom + i]; argv[bottom + i] = argv[top - (middle - bottom) + i]; argv[top - (middle - bottom) + i] = tem; + SWAP_FLAGS (bottom + i, top - (middle - bottom) + i); } /* Exclude the moved bottom segment from further swapping. */ top -= len; @@ -331,6 +365,7 @@ exchange (argv) tem = argv[bottom + i]; argv[bottom + i] = argv[middle + i]; argv[middle + i] = tem; + SWAP_FLAGS (bottom + i, middle + i); } /* Exclude the moved top segment from further swapping. */ bottom += len; @@ -389,13 +424,33 @@ _getopt_initialize (argc, argv, optstrin command it runs, specifying which ARGV elements are the results of file name wildcard expansion and therefore should not be considered as options. */ - char var[100]; - sprintf (var, "_%d_GNU_nonoption_argv_flags_", getpid ()); - nonoption_flags = getenv (var); - if (nonoption_flags == NULL) - nonoption_flags_len = 0; - else - nonoption_flags_len = strlen (nonoption_flags); + + if (nonoption_flags_max_len == 0) + { + char var[100]; + const char *orig_str; + sprintf (var, "_%d_GNU_nonoption_argv_flags_", getpid ()); + orig_str = getenv (var); + if (orig_str == NULL || orig_str[0] == '\0') + nonoption_flags_max_len = -1; + else + { + int len = nonoption_flags_max_len = strlen (orig_str); + if (nonoption_flags_max_len < argc) + nonoption_flags_max_len = argc; + nonoption_flags = (char *) malloc (nonoption_flags_max_len); + if (nonoption_flags == NULL) + nonoption_flags_max_len = -1; + else + { + memcpy (nonoption_flags, orig_str, len); + memset (&nonoption_flags[len], '\0', + nonoption_flags_max_len - len); + } + } + } + + nonoption_flags_len = nonoption_flags_max_len; } else nonoption_flags_len = 0; diff -durpN glibc-2.0/pwd/pwd.h glibc-2.0.1/pwd/pwd.h --- glibc-2.0/pwd/pwd.h Thu Jan 23 12:37:20 1997 +++ glibc-2.0.1/pwd/pwd.h Wed Jan 29 22:06:57 1997 @@ -94,10 +94,13 @@ extern struct passwd *getpwuid __P ((__u /* Search for an entry with a matching username. */ extern struct passwd *getpwnam __P ((__const char *__name)); -#if defined __USE_POSIX || defined __USE_REENTRANT +#if defined __USE_POSIX || defined __USE_MISC + +#ifdef __USE_MISC /* Reasonable value for the buffer sized used in the reentrant functions below. But better use `sysconf'. */ -#define NSS_BUFLEN_PASSWD 1024 +#define NSS_BUFLEN_PASSWD 1024 +#endif /* Reentrant versions of some of the functions above. diff -durpN glibc-2.0/resolv/netdb.h glibc-2.0.1/resolv/netdb.h --- glibc-2.0/resolv/netdb.h Wed Dec 18 16:48:18 1996 +++ glibc-2.0.1/resolv/netdb.h Wed Jan 29 22:05:53 1997 @@ -1,4 +1,4 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. +/* Copyright (C) 1996, 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 @@ -63,7 +63,7 @@ __set_h_errno (int __err) #endif /* _LIBC */ -#if defined __USE_REENTRANT && (!defined _LIBC || defined _LIBC_REENTRANT) +#if !defined _LIBC || defined _LIBC_REENTRANT /* Use a macro to access always the thread specific `h_errno' variable. */ # define h_errno (*__h_errno_location ()) #endif @@ -125,7 +125,7 @@ extern struct hostent *gethostbyname __P for IPv6. */ extern struct hostent *gethostbyname2 __P ((__const char *__name, int __af)); -#ifdef __USE_REENTRANT +#ifdef __USE_MISC /* Reentrant versions of the functions above. The additional arguments specify a buffer of BUFLEN starting at BUF. The last argument is a pointer to a variable which gets the value which @@ -164,7 +164,7 @@ extern int gethostbyname2_r __P ((__cons struct hostent *__result_buf, char *__buf, size_t __buflen, struct hostent **__result, int *__h_errnop)); -#endif /* reentrant */ +#endif /* misc */ /* Description of data base entry for a single network. NOTE: here a @@ -197,7 +197,7 @@ extern struct netent *getnetbyaddr __P ( /* Return entry from network data base for network with NAME. */ extern struct netent *getnetbyname __P ((__const char *__name)); -#ifdef __USE_REENTRANT +#ifdef __USE_MISC /* Reentrant versions of the functions above. The additional arguments specify a buffer of BUFLEN starting at BUF. The last argument is a pointer to a variable which gets the value which @@ -227,7 +227,7 @@ extern int getnetbyname_r __P ((__const struct netent *__result_buf, char *__buf, size_t __buflen, struct netent **__result, int *__h_errnop)); -#endif /* reentrant */ +#endif /* misc */ /* Description of data base entry for a single service. */ @@ -260,7 +260,7 @@ extern struct servent *getservbyname __P extern struct servent *getservbyport __P ((int __port, __const char *__proto)); -#ifdef __USE_REENTRANT +#ifdef __USE_MISC /* Reentrant versions of the functions above. The additional arguments specify a buffer of BUFLEN starting at BUF. */ extern int __getservent_r __P ((struct servent *__result_buf, char *__buf, @@ -283,7 +283,7 @@ extern int __getservbyport_r __P ((int _ extern int getservbyport_r __P ((int __port, __const char *__proto, struct servent *__result_buf, char *__buf, size_t __buflen, struct servent **__result)); -#endif /* reentrant */ +#endif /* misc */ /* Description of data base entry for a single service. */ @@ -312,7 +312,7 @@ extern struct protoent *getprotobyname _ extern struct protoent *getprotobynumber __P ((int __proto)); -#ifdef __USE_REENTRANT +#ifdef __USE_MISC /* Reentrant versions of the functions above. The additional arguments specify a buffer of BUFLEN starting at BUF. */ extern int __getprotoent_r __P ((struct protoent *__result_buf, char *__buf, @@ -335,7 +335,7 @@ extern int __getprotobynumber_r __P ((in extern int getprotobynumber_r __P ((int __proto, struct protoent *__result_buf, char *__buf, size_t __buflen, struct protoent **__result)); -#endif /* reentrant */ +#endif /* misc */ /* Establish network group NETGROUP for enumeration. */ @@ -353,7 +353,7 @@ extern int getnetgrent __P ((char **__ho extern int innetgr __P ((__const char *__netgroup, __const char *__host, __const char *__user, __const char *domain)); -#ifdef __USE_REENTRANT +#ifdef __USE_MISC /* Reentrant version of `getnetgrent' where result is placed in BUFFER. */ extern int __getnetgrent_r __P ((char **__hostp, char **__userp, char **__domainp, @@ -361,7 +361,7 @@ extern int __getnetgrent_r __P ((char ** extern int getnetgrent_r __P ((char **__hostp, char **__userp, char **__domainp, char *__buffer, size_t __buflen)); -#endif +#endif /* misc */ /* Extension from POSIX.1g. */ diff -durpN glibc-2.0/shadow/fgetspent.c glibc-2.0.1/shadow/fgetspent.c --- glibc-2.0/shadow/fgetspent.c Sun Oct 27 09:27:57 1996 +++ glibc-2.0.1/shadow/fgetspent.c Wed Jan 29 10:45:59 1997 @@ -1,20 +1,20 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. +/* Copyright (C) 1996, 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 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. + 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., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + 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 #include diff -durpN glibc-2.0/shadow/fgetspent_r.c glibc-2.0.1/shadow/fgetspent_r.c --- glibc-2.0/shadow/fgetspent_r.c Sun Oct 27 08:59:16 1996 +++ glibc-2.0.1/shadow/fgetspent_r.c Wed Jan 29 10:45:20 1997 @@ -1,20 +1,20 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. +/* Copyright (C) 1996, 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 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. + 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., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + 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 #include diff -durpN glibc-2.0/shadow/getspent.c glibc-2.0.1/shadow/getspent.c --- glibc-2.0/shadow/getspent.c Thu Aug 8 10:13:12 1996 +++ glibc-2.0.1/shadow/getspent.c Wed Jan 29 10:44:46 1997 @@ -1,21 +1,21 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. -Contributed by Ulrich Drepper , 1996. +/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper , 1996. -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 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. + 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. */ + 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 diff -durpN glibc-2.0/shadow/getspent_r.c glibc-2.0.1/shadow/getspent_r.c --- glibc-2.0/shadow/getspent_r.c Thu Aug 8 10:07:16 1996 +++ glibc-2.0.1/shadow/getspent_r.c Wed Jan 29 10:45:00 1997 @@ -1,21 +1,21 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. -Contributed by Ulrich Drepper , 1996. +/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper , 1996. -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 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/tes -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of/tes + 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. */ + 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 diff -durpN glibc-2.0/shadow/getspnam.c glibc-2.0.1/shadow/getspnam.c --- glibc-2.0/shadow/getspnam.c Thu Aug 8 10:16:06 1996 +++ glibc-2.0.1/shadow/getspnam.c Wed Jan 29 10:44:23 1997 @@ -1,21 +1,21 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. -Contributed by Ulrich Drepper , 1996. +/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper , 1996. -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 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. + 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. */ + 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 diff -durpN glibc-2.0/shadow/getspnam_r.c glibc-2.0.1/shadow/getspnam_r.c --- glibc-2.0/shadow/getspnam_r.c Thu Aug 8 10:14:59 1996 +++ glibc-2.0.1/shadow/getspnam_r.c Wed Jan 29 10:44:03 1997 @@ -1,21 +1,21 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. -Contributed by Ulrich Drepper , 1996. +/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper , 1996. -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 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. + 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. */ + 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 diff -durpN glibc-2.0/shadow/putspent.c glibc-2.0.1/shadow/putspent.c --- glibc-2.0/shadow/putspent.c Mon Oct 7 06:21:53 1996 +++ glibc-2.0.1/shadow/putspent.c Wed Jan 29 10:46:33 1997 @@ -1,20 +1,20 @@ -/* Copyright (C) 1991, 1992, 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. +/* Copyright (C) 1991, 1992, 1996, 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 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. + 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., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + 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 #include diff -durpN glibc-2.0/shadow/sgetspent.c glibc-2.0.1/shadow/sgetspent.c --- glibc-2.0/shadow/sgetspent.c Sun Oct 27 09:27:20 1996 +++ glibc-2.0.1/shadow/sgetspent.c Wed Jan 29 10:46:56 1997 @@ -1,20 +1,20 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. +/* Copyright (C) 1996, 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 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. + 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., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + 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 #include diff -durpN glibc-2.0/shadow/sgetspent_r.c glibc-2.0.1/shadow/sgetspent_r.c --- glibc-2.0/shadow/sgetspent_r.c Wed Nov 6 17:59:01 1996 +++ glibc-2.0.1/shadow/sgetspent_r.c Wed Jan 29 10:43:53 1997 @@ -1,20 +1,20 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. +/* Copyright (C) 1996, 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 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. + 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., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + 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 #include diff -durpN glibc-2.0/shadow/shadow.h glibc-2.0.1/shadow/shadow.h --- glibc-2.0/shadow/shadow.h Tue Nov 5 16:30:04 1996 +++ glibc-2.0.1/shadow/shadow.h Wed Jan 29 22:24:38 1997 @@ -1,4 +1,4 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. +/* Copyright (C) 1996, 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 @@ -38,20 +38,20 @@ __BEGIN_DECLS /* Structure of the password file. */ struct spwd -{ - char *sp_namp; /* Login name. */ - char *sp_pwdp; /* Encrypted password. */ - long int sp_lstchg; /* Date of last change. */ - long int sp_min; /* Minimum number of days between changes. */ - long int sp_max; /* Maximum number of days between changes. */ - long int sp_warn; /* Number of days to warn user to change + { + char *sp_namp; /* Login name. */ + char *sp_pwdp; /* Encrypted password. */ + long int sp_lstchg; /* Date of last change. */ + long int sp_min; /* Minimum number of days between changes. */ + long int sp_max; /* Maximum number of days between changes. */ + long int sp_warn; /* Number of days to warn user to change the password. */ - long int sp_inact; /* Number of days the account may be + long int sp_inact; /* Number of days the account may be inactive. */ - long int sp_expire; /* Number of days since 1970-01-01 until + long int sp_expire; /* Number of days since 1970-01-01 until account expires. */ - unsigned long int sp_flag; /* Reserved. */ -}; + unsigned long int sp_flag; /* Reserved. */ + }; /* Open database for reading. */ @@ -76,7 +76,7 @@ extern struct spwd *fgetspent __P ((FILE extern int putspent __P ((__const struct spwd *__p, FILE *__stream)); -#ifdef __USE_REENTRANT +#ifdef __USE_MISC /* Reentrant versions of some of the functions above. */ extern int __getspent_r __P ((struct spwd *__result_buf, char *__buffer, size_t __buflen, struct spwd **__result)); @@ -103,8 +103,7 @@ extern int __fgetspent_r __P ((FILE *__s extern int fgetspent_r __P ((FILE *__stream, struct spwd *__result_buf, char *__buffer, size_t __buflen, struct spwd **__result)); -#endif /* reentrant */ - +#endif /* misc */ /* Protect password file against multi writers. */ extern int __lckpwdf __P ((void)); diff -durpN glibc-2.0/shlib-versions glibc-2.0.1/shlib-versions --- glibc-2.0/shlib-versions Thu Jan 23 22:42:21 1997 +++ glibc-2.0.1/shlib-versions Tue Jan 28 16:31:43 1997 @@ -11,6 +11,7 @@ # The interface to -lm depends only on cpu, not on operating system. i.86-.*-.* libm=6 m68k-.*-.* libm=6 +alpha-.*-linux.* libm=6.1 alpha-.*-.* libm=6 # We provide libc.so.6 for Linux kernel versions 2.0 and later. @@ -29,23 +30,32 @@ alpha-.*-linux.* libc=6.1 # The dynamic loader also requires different names. i.86-.*-linux.* ld=ld-linux.so.2 +alpha-.*-linux.* ld=ld-linux.so.2 # We use the ELF ABI standard name for the default. .*-.*-.* ld=ld.so.1 # The -ldl interface (see ) is the same on all platforms. +alpha-.*-linux.* libdl=2.1 .*-.*-.* libdl=2 # So far the -lutil interface is the same on all platforms, except for the # `struct utmp' format, which depends on libc. +alpha-.*-linux.* libutil=1.1 .*-.*-.* libutil=1 # Version number 2 is used on other systems for the BIND 4.9.5 resolver # interface. +alpha-.*-linux.* libresolv=2.1 .*-.*-.* libresolv=2 # Interface revision of nss_* modules. This must match NSS_SHLIB_REVISION # in nss/nsswitch.h, which determines the library names used for service # names given in /etc/nsswitch.conf. +alpha-.*-linux.* libnss_files=1.1 +alpha-.*-linux.* libnss_dns=1.1 +alpha-.*-linux.* libnss_db=1.1 +alpha-.*-linux.* libnss_compat=1.1 +alpha-.*-linux.* libnss_nis=1.1 .*-.*-.* libnss_files=1 .*-.*-.* libnss_dns=1 .*-.*-.* libnss_db=1 @@ -53,13 +63,17 @@ i.86-.*-linux.* ld=ld-linux.so.2 .*-.*-.* libnss_nis=1 # Version for libnsl with YP functions. +alpha-.*-linux.* libnsl=1.1 .*-.*-.* libnsl=1 # We use libdb.so.2 for the interface in version 1.85 of the Berkeley DB code. +alpha-.*-linux.* libdb=2.1 .*-.*-.* libdb=2 # This defines the shared library version numbers we will install. +alpha-.*-linux.* libcrypt=1.1 .*-.*-.* libcrypt=1 # The gross patch for programs assuming broken locale implementations. +alpha-.*-linux.* libBrokenLocale=1.1 .*-.*-.* libBrokenLocale=1 diff -durpN glibc-2.0/stdlib/getsubopt.c glibc-2.0.1/stdlib/getsubopt.c --- glibc-2.0/stdlib/getsubopt.c Mon Dec 2 21:24:31 1996 +++ glibc-2.0.1/stdlib/getsubopt.c Mon Feb 3 21:03:52 1997 @@ -1,5 +1,5 @@ /* Parse comma separate list into words. - Copyright (C) 1996 Free Software Foundation, Inc. + Copyright (C) 1996, 1997 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1996. @@ -57,7 +57,7 @@ getsubopt (optionp, tokens, valuep) && tokens[cnt][vstart - *optionp] == '\0') { /* We found the current option in TOKENS. */ - *valuep = vstart != endp ? vstart : NULL; + *valuep = vstart != endp ? vstart + 1 : NULL; if (*endp != '\0') *endp++ = '\0'; diff -durpN glibc-2.0/stdlib/stdlib.h glibc-2.0.1/stdlib/stdlib.h --- glibc-2.0/stdlib/stdlib.h Wed Dec 18 18:40:11 1996 +++ glibc-2.0.1/stdlib/stdlib.h Wed Jan 29 22:10:20 1997 @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 92, 93, 94, 95, 96 Free Software Foundation, Inc. +/* Copyright (C) 1991, 92, 93, 94, 95, 96, 97 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 @@ -224,7 +224,7 @@ extern __ptr_t __setstate __P ((__ptr_t extern __ptr_t setstate __P ((__ptr_t __statebuf)); -#ifdef __USE_REENTRANT +#ifdef __USE_MISC /* Reentrant versions of the `random' family of functions. These functions all use the following data structure to contain state, rather than global state variables. */ @@ -253,8 +253,8 @@ extern int initstate_r __P ((unsigned in extern int __setstate_r __P ((__ptr_t __statebuf, struct random_data *__buf)); extern int setstate_r __P ((__ptr_t __statebuf, struct random_data *__buf)); -#endif /* Use reentrant. */ -#endif /* Use BSD. */ +#endif /* Use misc. */ +#endif /* Use SVID || extended X/Open. */ /* Return a random integer between 0 and RAND_MAX inclusive. */ @@ -262,7 +262,7 @@ extern int rand __P ((void)); /* Seed the random number generator with the given number. */ extern void srand __P ((unsigned int __seed)); -#ifdef __USE_REENTRANT +#ifdef __USE_MISC /* Reentrant interface according to POSIX.1. */ extern int __rand_r __P ((unsigned int *__seed)); extern int rand_r __P ((unsigned int *__seed)); @@ -299,7 +299,7 @@ struct drand48_data int init; /* Flag for initializing. */ }; -#ifdef __USE_REENTRANT +#ifdef __USE_MISC /* Return non-negative, double-precision floating-point value in [0.0,1.0). */ extern int drand48_r __P ((struct drand48_data *__buffer, double *__result)); extern int erand48_r __P ((unsigned short int __xsubi[3], @@ -321,7 +321,7 @@ extern int seed48_r __P ((unsigned short struct drand48_data *__buffer)); extern int lcong48_r __P ((unsigned short int __param[7], struct drand48_data *__buffer)); -#endif /* Use reentrant. */ +#endif /* Use misc. */ /* Internal function to compute next state of the generator. */ extern int __drand48_iterate __P ((unsigned short int __xsubi[3], @@ -515,7 +515,7 @@ extern char *qfcvt __P ((__long_double_t extern char *qgcvt __P ((__long_double_t __value, int __ndigit, char *__buf)); -#ifdef __USE_REENTRANT +#ifdef __USE_MISC /* Reentrant version of the functions above which provide their own buffers. */ extern int ecvt_r __P ((double __value, int __ndigit, int *__decpt, @@ -527,7 +527,7 @@ extern int qecvt_r __P ((__long_double_t int *__sign, char *__buf, size_t __len)); extern int qfcvt_r __P ((__long_double_t __value, int __ndigit, int *__decpt, int *__sign, char *__buf, size_t __len)); -#endif /* reentrant */ +#endif /* misc */ #endif /* use MISC || use X/Open Unix */ diff -durpN glibc-2.0/string/string.h glibc-2.0.1/string/string.h --- glibc-2.0/string/string.h Thu Jan 23 12:40:25 1997 +++ glibc-2.0.1/string/string.h Wed Jan 29 22:11:00 1997 @@ -138,7 +138,7 @@ extern char *strstr __P ((__const char * /* Divide S into tokens separated by characters in DELIM. */ extern char *strtok __P ((char *__s, __const char *__delim)); -#if defined __USE_POSIX || defined __USE_REENTRANT +#if defined __USE_POSIX || defined __USE_MISC /* Divide S into tokens separated by characters in DELIM. Information passed between calls are stored in SAVE_PTR. */ extern char *strtok_r __P ((char *__s, __const char *__delim, @@ -175,7 +175,7 @@ strnlen (__const char *__string, size_t /* Return a string describing the meaning of the `errno' code in ERRNUM. */ extern char *strerror __P ((int __errnum)); -#ifdef __USE_REENTRANT +#ifdef __USE_MISC /* Reentrant version of `strerror'. If a temporary buffer is required, at most BUFLEN bytes of BUF will be used. */ extern char *__strerror_r __P ((int __errnum, char *__buf, size_t __buflen)); diff -durpN glibc-2.0/sunrpc/Makefile glibc-2.0.1/sunrpc/Makefile --- glibc-2.0/sunrpc/Makefile Wed Jan 22 15:14:33 1997 +++ glibc-2.0.1/sunrpc/Makefile Mon Feb 3 21:04:07 1997 @@ -46,16 +46,16 @@ subdir := sunrpc # xdr_reference.c -> xdr_ref.c # rpcsvc/bootparam_prot.x -> rpcsvc/bootparam.x -headers = $(addprefix rpc/,auth.h auth_unix.h clnt.h netdb.h pmap_clnt.h \ - pmap_prot.h pmap_rmt.h rpc.h rpc_msg.h svc.h \ - svc_auth.h types.h xdr.h auth_des.h) \ - $(rpcsvc:%=rpcsvc/%) $(rpcsvc:%.x=rpcsvc/%.h) rpcsvc = bootparam.x nlm_prot.x rstat.x \ yppasswd.x klm_prot.x rex.x sm_inter.x mount.x \ rusers.x spray.x nfs_prot.x rquota.x -install-others = $(inst_includedir)/rpcsvc/bootparam_prot.h \ - $(inst_sysconfdir)/rpc -generated = $(rpcsvc:%.x=rpcsvc/%.h) $(rpcsvc:%.x=x%.c) +headers = $(addprefix rpc/,auth.h auth_unix.h clnt.h netdb.h pmap_clnt.h \ + pmap_prot.h pmap_rmt.h rpc.h rpc_msg.h svc.h \ + svc_auth.h types.h xdr.h auth_des.h) \ + $(rpcsvc:%=rpcsvc/%) +install-others = $(inst_sysconfdir)/rpc +generated = $(rpcsvc:%.x=rpcsvc/%.h) $(rpcsvc:%.x=x%.c) \ + $(rpcsvc:%.x=rpcsvc/%.stmp) $(rpcsvc:%.x=x%.stmp) routines := auth_none auth_unix authuxprot bindrsvprt \ clnt_gen clnt_perr clnt_raw clnt_simp clnt_tcp \ @@ -86,6 +86,8 @@ include ../Makeconfig ifeq (no,$(cross-compiling)) # We can only build this library if we can run the rpcgen we build. +headers += $(rpcsvc:%.x=rpcsvc/%.h) +install-others += $(inst_includedir)/rpcsvc/bootparam_prot.h extra-libs := librpcsvc extra-libs-others := librpcsvc # Make it in `others' pass, not `lib' pass. librpcsvc-routines = $(rpcsvc:%.x=x%) @@ -115,17 +117,27 @@ $(inst_sysconfdir)/rpc: etc.rpc defines := $(defines) -D_PATH_RPC='"$(sysconfdir)/rpc"' # Generate the rpcsvc headers with rpcgen. -$(objpfx)rpcsvc/%.h: rpcsvc/%.x $(objpfx)rpcgen +# We use a stamp file to avoid unnessary recompilation each time rpcgen is +# relinked. +$(rpcsvc:%.x=$(objpfx)rpcsvc/%.h): $(objpfx)rpcsvc/%.h: $(objpfx)rpcsvc/%.stmp; +$(objpfx)rpcsvc/%.stmp: rpcsvc/%.x $(objpfx)rpcgen $(make-target-directory) - -@rm -f $@T - $(rpcgen-cmd) -h $< -o $@T - mv -f $@T $@ + -@rm -f ${@:stmp=T} $@ + $(rpcgen-cmd) -h $< -o ${@:stmp=T} + if test -r ${@:stmp=h} && cmp -s ${@:stmp=h} ${@:stmp=T}; \ + then rm -f ${@:stmp=T}; \ + else mv -f ${@:stmp=T} ${@:stmp=h}; fi + touch $@ # Generate the rpcsvc XDR functions with rpcgen. -$(objpfx)x%.c: rpcsvc/%.x $(objpfx)rpcgen - -@rm -f $@T - $(rpcgen-cmd) -c $< -o $@T - mv -f $@T $@ +$(rpcsvc:%.x=$(objpfx)x%.c): $(objpfx)x%.c: $(objpfx)x%.stmp; +$(objpfx)x%.stmp: rpcsvc/%.x $(objpfx)rpcgen + -@rm -f ${@:stmp=T} $@ + $(rpcgen-cmd) -c $< -o ${@:stmp=T} + if test -r ${@:stmp=c} && cmp -s ${@:stmp=c} ${@:stmp=T}; \ + then rm -f ${@:stmp=T}; \ + else mv -f ${@:stmp=T} ${@:stmp=c}; fi + touch $@ # The generated source files depend on the corresponding generated headers. # Gratuitous dependency on generated .c file here just gets it mentioned to diff -durpN glibc-2.0/sunrpc/rpc/netdb.h glibc-2.0.1/sunrpc/rpc/netdb.h --- glibc-2.0/sunrpc/rpc/netdb.h Sun Oct 27 10:13:48 1996 +++ glibc-2.0.1/sunrpc/rpc/netdb.h Wed Jan 29 22:13:10 1997 @@ -54,7 +54,7 @@ extern struct rpcent *getrpcbyname __P ( extern struct rpcent *getrpcbynumber __P ((int __number)); extern struct rpcent *getrpcent __P ((void)); -#ifdef __USE_REENTRANT +#ifdef __USE_MISC extern int getrpcbyname_r __P ((__const char *__name, struct rpcent *__result_buf, char *__buffer, size_t __buflen, struct rpcent **__result)); diff -durpN glibc-2.0/sysdeps/alpha/dl-machine.h glibc-2.0.1/sysdeps/alpha/dl-machine.h --- glibc-2.0/sysdeps/alpha/dl-machine.h Sun Jan 5 19:57:55 1997 +++ glibc-2.0.1/sysdeps/alpha/dl-machine.h Fri Jan 31 16:31:29 1997 @@ -43,7 +43,7 @@ elf_machine_matches_host (Elf64_Word e_m static inline Elf64_Addr elf_machine_dynamic (void) { -#ifdef AXP_MULTI_GOT_LD +#ifndef NO_AXP_MULTI_GOT_LD return (Elf64_Addr) &_DYNAMIC; #else register Elf64_Addr *gp __asm__ ("$29"); diff -durpN glibc-2.0/sysdeps/alpha/stxncpy.S glibc-2.0.1/sysdeps/alpha/stxncpy.S --- glibc-2.0/sysdeps/alpha/stxncpy.S Wed Oct 2 16:19:07 1996 +++ glibc-2.0.1/sysdeps/alpha/stxncpy.S Sun Feb 2 07:52:46 1997 @@ -1,4 +1,4 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. +/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. @@ -321,9 +321,9 @@ $unaligned: mskqh t2, t5, t2 # e0 : begin src byte val