diff options
Diffstat (limited to 'ChangeLog.6')
-rw-r--r-- | ChangeLog.6 | 17493 |
1 files changed, 8912 insertions, 8581 deletions
diff --git a/ChangeLog.6 b/ChangeLog.6 index 5858bd0..6d92ec5 100644 --- a/ChangeLog.6 +++ b/ChangeLog.6 @@ -1,10547 +1,10878 @@ -Sun Jan 26 23:24:50 1997 Ulrich Drepper <drepper@cygnus.com> +Tue Jun 18 17:56:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * Version 2.0 net release. + * Version 1.91 test release. - * Make-dist: Don't take care for two malloc directories. + * Makerules ($(common-objpfx)distinfo-$(subdir)): Change target from + distinfo to this. + (distinfo): Make phony target depending on that. + (TAGS, po/%.pot, dist): Change deps. + (common-clean): Remove that file. + * rpm/Makefile (distinfo): Change names. -Sun Jan 26 22:44:38 1997 Andreas Jaeger <aj@arthur.pfalz.de> + * rpm/Makefile (clean): New target. - * mcheck.h: Adopted to new-malloc/malloc change. + * stdlib/test-canon.c: New test program contributed by David Mosberger. + * stdlib/Makefile (tests): Add test-canon. + * stdlib/canonicalize.c: Rewritten by David Mosberger. -Sun Jan 26 13:39:31 1997 Ulrich Drepper <drepper@cygnus.com> +Mon Jun 17 17:53:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * sysdeps/unix/sysv/linux/alpha/Dist: Correct distribution of - kernel_*.h files. + * mach/Machrules (%_server.c %_server.h rule): Remove gratuitous + mention of $< in mig cmd. Thanks to Shantanu Goel. - * Make-dist: Don't mention new-malloc for dirs with have to be - processed. + * sysdeps/mach/hurd/brk.c (___brk_addr): Define as weak alias for + _hurd_brk. - * sysdeps/unix/sysv/linux/netinet/in.h (SOL_IP): Added. - * inet/netinet/tcp.h (SOL_TCP): Added. - * sysdeps/unix/sysv/linux/socketbits.h (SOL_RAW): Added. - Reported by a sun <asun@zoology.washington.edu>. + * libio/stdio.h [__USE_SVID]: Declare tempnam. -Sun Jan 26 18:35:29 1997 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> +Fri Jun 14 19:28:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * malloc/Makefile: Remove -DMALLOC_DEBUG. Not wanted in a - released version. - * malloc/malloc.c: Change malloc_check_init() to - __malloc_check_init(). Check for NULL in calloc() when a hook is - in place. Make more variables tunable via MALLOC_... environment - variables. - * malloc/malloc.h: Change malloc_check_init() to - __malloc_check_init(). - -Sun Jan 26 05:41:42 1997 Ulrich Drepper <drepper@cygnus.com> - - * version.h (VERSION): Bump to 2.0. - (RELEASE): Now it's "experimental". - - * Makefile (subdirs): Change $(malloc) to malloc. We have only - one malloc implementation again. - * malloc/*: Remove from GNU libc. - * new-malloc/* Move to malloc/. - * config.make.in (defines): Remove @USE_NEW_MALLOC@. - * configure.in: Remove --enable-new-malloc option and check for - malloc implementation choice. - * malloc.h: We don't need to check for the implementation to use - anymore. Simply include malloc/malloc.h. - * malloc/Makefile (subdir): Change to malloc. - * sysdeps/unix/sysv/linux/configure.in: Don't set malloc anymore. - - * Makefile: Add special goal to generate only-MD5 based crypt - library. - * md5-crypt/Makefile: Likewise. - - * stdio-common/tstscanf.c: De-ANSI-declfy. Update copyright. - (rounds): Change type to size_t to prevent warning. - - * wcsmbs/btowc.c: Reformat copyright. - * wcsmbs/mbrlen.c: Likewise. - * wcsmbs/mbsinit.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcpcpy.c: Likewise. - * wcsmbs/wcpncpy.c: Likewise. - * wcsmbs/wcscat.c: Likewise. - * wcsmbs/wcscmp.c: Likewise. - * wcsmbs/wcscoll.c: Likewise. - * wcsmbs/wcscpy.c: Likewise. - * wcsmbs/wcscspn.c: Likewise. - * wcsmbs/wcsdup.c: Likewise. - * wcsmbs/wcslen.c: Likewise. - * wcsmbs/wcsncat.c: Likewise. - * wcsmbs/wcsncpy.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wcsspn.c: Likewise. - * wcsmbs/wcsstr.c: Likewise. - * wcsmbs/wcstod.c: Likewise. - * wcsmbs/wcstof.c: Likewise. - * wcsmbs/wcstok.c: Likewise. - * wcsmbs/wcstol.c: Likewise. - * wcsmbs/wcstold.c: Likewise. - * wcsmbs/wcstoq.c: Likewise. - * wcsmbs/wcstoul.c: Likewise. - * wcsmbs/wcstouq.c: Likewise. - * wcsmbs/wcswidth.c: Likewise. - * wcsmbs/wcsxfrm.c: Likewise. - * wcsmbs/wctob.c: Likewise. - * wcsmbs/wcwidth.c: Likewise. - * wcsmbs/wcwidth.h: Likewise. - * wcsmbs/wmemchr.c: Likewise. - * wcsmbs/wmemcmp.c: Likewise. - * wcsmbs/wmemmove.c: Likewise. - * wcsmbs/wmemset.c: Likewise. + * sysdeps/unix/sysv/linux/syscalls.list: Add swapon with two + parameters. -Sat Jan 25 03:34:14 1997 Ulrich Drepper <drepper@cygnus.com> +Wed Jun 12 20:40:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/unix/sysv/linux/termbits.h: Protect against multiple - inclusion. Reported by a sun <asun@zoology.washington.edu>. + * sysdeps/m68k/dl-machine.h (RTLD_START): Fix access to + _dl_default_scope. -Sat Jan 25 02:05:19 1997 Eirik Fuller <eirik@netcom.com> +Sun Jun 16 03:22:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * sysdeps/unix/sysv/linux/alpha/ioperm.c: Rename T2_SPARSE_BASE and - T2_DENSE_BASE to T2_SPARSE_MEM and T2_DENSE_MEM resp. + * sysdeps/stub/elfclass.h: New file. -Thu Jan 23 11:13:46 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * Make-dist (subdir): Make empty value really empty. - * sysdeps/unix/sysv/linux/usleep.c: Normalize the time - specification. + * version.h (VERSION): Update to 1.91. -Fri Jan 24 14:33:45 1997 Ulrich Drepper <drepper@cygnus.com> + * hurd/hurdinit.c (map0): Remove [!PIC] conditional. - * sysdeps/generic/socketbits.h: Also make SOCK_* constants available - as macros so that #ifdef works. - * sysdeps/unix/sysv/linux/socketbits.h: Likewise. + * shlib-versions (*-*-*): Add libutil=1. -1997-01-23 Paul Eggert <eggert@twinsun.com> + * rpm/Makefile (install-lib): Add libc.a et al. + (install-others): Only add libc.so if $(build-shared) is yes. - * 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. + * math/Makefile (install-lib): New variable, list libieee.a. + (non-lib.a): Likewise. + (extra-objs): Likewise, and ieee-math.o. + ($(objpfx)libieee.a): New target, link to ieee-math.o. + * math/ieee-math.c: New file. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=math]: Remove setfpucw + and libieee.a stuff. + * sysdeps/unix/sysv/linux/ieee-fpucw.c: File removed. + * sysdeps/unix/sysv/linux/i386/ieee_fpu.c: File removed. -1997-01-23 Paul Eggert <eggert@twinsun.com> + * sysdeps/unix/sysv/Makefile (sysdep_headers): Make append of termio.h + and rule for it conditional on termio.h not already being in + sysdep_headers. - * mktime.c (mktime): Invoke __tzset, not __tzset_internal, to set tz, - so that tzname is set as POSIX requires. + * rpm/Makefile (install-others) [libc.so-version]: Get libc.so from + $(libdir), only the versioned named from $(slibdir). + (instfiles): New variable. + (glibc-$(version).$(config).rpm): New target. Run rpm -bb. + * rpm/rpmrc: New file. A third of the options controlling rpm can + only be given here (another third is on the command line, and a third + cannot be specified in any way shape or form). -Fri Jan 24 02:49:18 1997 Ulrich Drepper <drepper@cygnus.com> +Sun Jun 16 02:44:22 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * 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. + * rpm/template: New file. + * rpm/Makefile: New file. - * stdio-common/bug7.c: Use tmpnam to generate names for test files. + * Makeconfig (sysdep-configures): Remove empty variable. - * stdio-common/tmpnam.c: Update copyright. - * stdio-common/tmpnam_r.c: Likewise. + * Makerules (distinfo-vars): Write defns for $(install-lib.so) and + $(versioned). - * sysdeps/unix/sysv/linux/alpha/sys/kernel_termios.h: Protect - against multiple inclusion. Include <termbits.h>. - * sysdeps/unix/sysv/linux/sys/kernel_termios.h: Likewise. + * manual/Makefile (subdir_%): Add new rule with no deps, secondary to + to rule w/dep on %, with no-op commands. - * sysdeps/unix/sysv/linux/net/if.h: Update according to recent - kernel headers. Patch by Philip Blundell <pjb27@cam.ac.uk>. + * Makerules (subdir_distinfo): New phony target; depend on distinfo. + * Makefile (rpm/%): New rule. + (+subdir_targets): Add subdir_distinfo. -Thu Jan 23 17:42:00 1997 Ulrich Drepper <drepper@cygnus.com> +Sun Jun 16 00:40:20 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * sysdeps/unix/sysv/linux/sparc/clone.S: Correct author attribution. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add + fpu_control.h here. - * sysdeps/unix/sysv/linux/net/if_arp (MAX_ADDR_LEN): Add definition. + * time/Makefile ($(installed-localtime-file)): If target exists, do + nothing but print a message; if not, make it an absolute symlink. -Thu Jan 23 14:20:34 1997 Ulrich Drepper <drepper@cygnus.com> + * time/tzset.c (__tzset): After stripping leading :, call + __tzfile_read on TZ even if it's empty or null. + * time/tzfile.c (__tzfile_read): Use "Universal" if passed "". - * time/tzfile.c (__tzfile_read): Don't allow arbitrary files to be - read when running a setuid program. +Sat Jun 15 18:13:43 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -Thu Jan 23 04:06:42 1997 Ulrich Drepper <drepper@cygnus.com> + * hurd/Makefile (routines): Add get-host, set-host. + (distribute): Add hurdhost.h. + * hurd/hurdhost.h: New file. + * sysdeps/mach/hurd/gethostname.c: Use _hurd_get_host_config. + * sysdeps/mach/hurd/gethostid.c: Likewise. + * sysdeps/mach/hurd/sethostname.c: Use _hurd_set_host_config. + * sysdeps/mach/hurd/sethostid.c: Likewise. + * hurd/get-host.c: New file. + * hurd/set-host.c: New file. - * Make-dist (.PHONY: dist): Remove duplicate declaration. - (README): Depend on version.h not version.c. - * Makefile (README): Depend on version.h not version.c. + * math/Makefile (headers): Add fpu_control.h. + (aux): New variable, list fpu_control and setfpucw. + * sysdeps/generic/fpu_control.c: New file. + * sysdeps/stub/fpu_control.h: New file. + * sysdeps/unix/sysv/linux/m68k/fpu_control.h: Moved to ... + * sysdeps/m68k/fpu_control.h: here. + * sysdeps/unix/sysv/linux/i386/fpu_control.h: Moved to ... + * sysdeps/i386/fpu_control.h: here. + * sysdeps/unix/sysv/linux/alpha/fpu_control.h: Moved to ... + * sysdeps/alpha/fpu/fpu_control.h: here. Fixed copyright. + * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Remove + setfpucw, fpu_control. + * sysdeps/unix/sysv/linux/alpha/fpu_control.c: File removed. + * sysdeps/unix/sysv/linux/setfpucw.c: Moved to ... + * sysdeps/generic/setfpucw.c: here. + (__fpu_control): Variable removed. + (__setfpucw): Use SET even if zero. - * 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. + * elf/dl-deps.c (_dl_map_object_deps): Set MAP's mark bit before loop. + Set mark bits of deps as opened, instead of as scanned. - * sysdeps/unix/sysv/linux/Dist: Don't distribute kernel_termios.h, - but sys/kernel_termios.h. - * sysdeps/unix/sysv/linux/alpha/Dist: Likewise. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)==termios] - (sysdep_headers): Add sys/kernel_termios.h. - * sysdeps/unix/sysv/linux/kernel_termios.h: Moved to... - * sysdeps/unix/sysv/linux/sys/kernel_termios.h: ...here. - * sysdeps/unix/sysv/linux/tcgetattr.c: Use __kernel_termios and - __KERNEL_NCCS instead of kernel_termios and KERNEL_NCCS resp. + * elf/rtld.c (dl_main): Remove _dl_rtld_map from chain unconditionally. + Then if it has a nonzero l_opencount, add it back in search order. - * sysdeps/unix/sysv/linux/alpha/ioctls.h: New file. + * elf/dl-load.c (_dl_map_object): Don't use _dl_loaded's DT_RPATH if + it ain't got one! - * sysdeps/unix/sysv/linux/getdents.c: Correct problems with alignment. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove getdents. - Reported by Eirik Fuller <eirik@netcom.com>. + * sysdeps/unix/sysv/linux/Dist: Add sys/klog.h. - * time/Banner: Removed. Wrong and unnecessary information. It's now - in... - * time/README: New file. - * time/Makefile (distribute): Remove Banner, add README. + * elf/dl-open.c (_dl_open): Remove PARENT argument, pass null. + * elf/link.h: Update prototype. + * elf/dl-load.c (_dl_map_object): If dependents' DT_RPATHs don't find + NAME, try the DT_RPATH of the executable itself if dynamic. + * elf/dlopen.c (dlopen): Don't pass first arg to _dl_open. -Wed Jan 22 13:19:56 1997 Richard Henderson <rth@tamu.edu> + * elf/dl-load.c (_dl_map_object): Exit DT_RPATH checking loop when an + open succeeds. - * 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. + * Makerules (build-shlib): Give -L opts for each elt of $(rpath-link). -1997-01-22 Paul Eggert <eggert@twinsun.com> + * sysdeps/mach/hurd/Makefile (sysdep-LDFLAGS): Variable removed. + (rpath-link): Append to this instead. - * strftime.c (_strftime_copytm): - New function, to work around Solaris 2.5 tzset bug. +Fri Jun 14 01:51:47 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -Wed Jan 22 23:05:14 1997 Ulrich Drepper <drepper@cygnus.com> + * version.c (banner): New static const variable, complete version + banner text. + (__libc_print_version): Use it, and use __write instead of printf. - * sysdeps/mach/hurd/vdprintf.c: Complete de-ANSI-declfication. - Reported by Marcus G. Daniels <marcus@shannon.sysc.pdx.edu>. + * configure.in (sysnames): Don't cache the value, because it + depends only on libc sources. Merge uniquifying third pass into + Implies/parent expansion second pass. Report each unique name as + it is added in partial report string, terminated when finished. -Wed Jan 22 13:58:56 1997 Andreas Jaeger <aj@arthur.pfalz.de> + * Makeconfig (sysdep_dir): Move defn before config.status rule that + expands it. + (sysdep-configures): Variable removed. + (config.status): Use its contents directly, tighten up a bit, and + include Implies files. - * elf/Makefile (CFLAGS-dl-load.c): New Variable to keep gcc silent - since name_copy is initialized. + * elf/dl-open.c (_dl_open) [PIC]: Set PARENT to _dl_loaded if null. -Wed Jan 22 16:58:12 1997 Ulrich Drepper <drepper@cygnus.com> + * elf/Makefile ($(objpfx)$(rtld-installed-name)): Make a symlink. - * 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. +Thu Jun 13 14:29:56 1996 Miles Bader <miles@gnu.ai.mit.edu> - * new-malloc/obstack.h: Don't define malloc using bcopy if malloc - is not available. This leads to problems since bcopy does not - return a value. Instead define _obstack_memcpy based on memcpy or - bcopy. This name isn't used outside obstack.h and so no problems - from using the memcpy function in a file including obstack.h can - result. - Reported by Martin Trapp <trapp@ipd.info.uni-karlsruhe.de>. + * hurd/hurdsig.c (_hurd_internal_post_signal): Rename `deliver:' + label to `deliver_pending:' to match goto. -Tue Jan 21 18:35:55 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Thu Jun 13 00:02:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * misc/regexp.h (compile): Fix typos. + * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): + Add comment. -Tue Jan 21 01:01:59 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * elf/rtld.c (dl_main): Close _dl_zerofd after mapping deps. - * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo): Fix - type of pr_{pid,ppid,pgrp,sid} fields. - * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct - elf_prpsinfo): Likewise. + * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Define mcount as + weak alias for _mcount. + * sysdeps/alpha/_mcount.S (mcount): Define as weak alias. -1997-01-21 Paul Eggert <eggert@twinsun.com> + * elf/dl-lookup.c (_dl_lookup_symbol): If no value and *REF is + null, consider it a strong reference and give the error. - * 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. +Wed Jun 12 15:52:46 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -Tue Jan 21 23:10:40 1997 Ulrich Drepper <drepper@cygnus.com> + * elf/dl-open.c (_dl_open): Correctly terminate relocating loop + after relocating NEW when it's the only new object. - * version.h (VERSION): Bump to 1.102. + * elf/dl-init.c (_dl_init_next): When out of initializers, set + _r_debug.r_state to RT_CONSISTENT and call _dl_debug_state just + before return. - * sysdeps/unix/sysv/linux/alpha/Dist: Add kernel_sigaction.h. + * elf/rtld.c (dl_main): Move _dl_debug_initialize call after + relocation. Call it unconditionally and only fill in DT_DEBUG + if it's present. Then call _dl_debug_state with r_state RT_ADD + before running initializers. - * 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. + * elf/dl-open.c (_dl_open): Call _dl_debug_initialize and then call + _dl_debug_state with r_state RT_ADD before running initializers + * elf/dl-close.c (_dl_close): Call _dl_debug_state with r_state + RT_DELETE before running finalizers and with RT_CONSISTENT just + before return. - * time/Banner: New file. - * time/Makefile (distribute): Add Banner. + * elf/Makefile (dl-routines): Add dl-debug. + * elf/dl-debug.c: New file. + * elf/rtld.c (_dl_r_debug): Rename to _r_debug and move to dl-debug.c. + (_dl_r_debug_state): Rename to _dl_debug_state and likewise move. + (dl_main): Use _dl_debug_initialize. + * elf/link.h: Fix name to _dl_debug_state in decl. + (_dl_debug_initialize): Declare new function from dl-debug.c. + (_r_debug): Declare it. - Update from ADO tzcode1997a and tzdata1997a. - * time/antarctica: Update. - * time/australia: Update. - * time/zdump.c: Update. - * time/zic.c: Update. - * time/zone.tab: Update. + * Makerules (distinfo-vars): Add install-{lib,data,bin,sbin,others}. + In distinfo set $(subdir)-VAR and then set VAR to $($(subdir)-VAR). -Mon Jan 20 08:38:32 1997 H.J. Lu <hjl@gnu.ai.mit.edu> + * Makeconfig (rpath-link): New variable; add $(elfobjdir). + (default-rpath): Use it. + (built-program-cmd): Use it in LD_LIBRARY_PATH. - * config.make.in (has-ldconfig): New variable. + * Makeconfig (sysdep-configures): Prepend $(sysdep_dir) to names tried. - * configure, configure.in (has_ldconfig): New substitute. + * sysdeps/unix/Dist: Add make-syscalls.sh. - * sysdeps/unix/sysv/linux/configure.in (has_ldconfig): New, - check if $srcdir/elf/ldconfig.c exists. + * misc/Makefile (headers): Add sys/swap.h. + * posix/unistd.h: Remove decls for swapon, swapoff. + * sysdeps/generic/sys/swap.h: New file. + * sysdeps/unix/sysv/linux/sys/swap.h: New file. - * Makeconfig (rootsbindir): New, default as - $(exec_prefix)/sbin. - (rtld-version-installed-name): New, default as - ld-$(version).so. + * sysdeps/unix/sysv/linux/gnu/types.h: Remove temporary hack #define + of __kernel_fsid_t. It is correctly defines in <linux/types.h> now. - * Makefile (install): Call `$(common-objpfx)elf/ldconfig -d' - only if $(cross-compiling) is no and $(build-shared) is yes. +Tue Jun 11 23:23:30 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * 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. + * Makerules (LDFLAGS-c.so): Use __libc_main instead of + __libc_print_version as entry point for shared object. + * version.c [HAVE_ELF] (__libc_main): New function. - * Rules (others): Add $(install-rootsbin). + * elf/dl-load.c (_dl_map_object_from_fd): Relocate l_entry with the + load address. - * config.make.in (rootsbindir): New. +Tue Jun 11 19:13:04 1996 Richard Henderson <rth@tamu.edu> - * configure, configure.in (libc_cv_rootsbindir): New - substitute. + * sysdeps/alpha/dl-machine.h: New file. - * 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. + * elf/dl-close.c: Include <string.h> for memcpy. + * elf/dl-lookup.c: Same. - * sysdeps/unix/sysv/linux/configure.in (libc_cv_rootsbindir): - New, set to "/sbin" if "$prefix" == "/usr". + * elf/elf.h: Add Elfxx_Symndx for symbol indices. + * elf/dl-lookup.c (_dl_lookup_symbol): Use it. + (_dl_setup_hash): Use it. + * elf/link.h (struct link_map): Use it. -Tue Jan 21 13:38:39 1997 Ulrich Drepper <drepper@cygnus.com> + * elf/rtld.c (_dl_start): Don't rely on pointer-to-first-arg hack + for getting the argc/argv/envp block. Instead, make it the argument. + sysdeps/i386/dl-machine.h (RTLD_START): Do that. + sysdeps/m68k/dl-machine.h (RTLD_START): Same. - * Makefile (distribute): Add glibcbug.in. - Reported by Philip Blundell <pjb27@cam.ac.uk>. + * shlib-versions: Add version numbers for alpha-linux. To avoid + user confusion, make them the same as i386-linux. - * elf/Makefile ($(objpfx)trusted-dirs.h): Create elf/ subdir in - build directory if necessary. - Reported by marcus@shannon.sysc.pdx.edu (Marcus G. Daniels). + * sysdeps/alpha/Makefile [subdir elf]: Add -mno-fp-regs to + sysdep-CFLAGS so that _dl_runtime_resolve doesn't have to save them. + Add -mbuild-constants to CFLAGS-rtld.c to that we can bootstrap + without using literal data. -Tue Jan 21 04:05:20 1997 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/generic/dl-sysdep.c: Include <string.h> for memcpy. + Finish Elf32 -> ElfW migration. - * version.h (VERSION): Bump to 1.101. +Tue Jun 11 15:09:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - 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. + * Makerules (elfobjdir): Use $(objdir) if set, even in elf subdir. - * 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 <linux/ppp_defs.h>. - * sysdeps/unix/sysv/linux/sys/msq_buf.h (struct msqid_ds): Don't - use __pid_t since the kernel might have a different size. - * sysdeps/unix/sysv/linux/sys/shm_buf.h (struct shmid_ds): Likewise. - Reported by Andreas Schwab. + * elf/Makefile (routines): Remove init-first. + * csu/Makefile (routines): New variable; put it here instead. - * time/asctime.c: Update copyright. - * time/dysize.c: Likewise. - * time/gmtime.c: Likewise. - * time/timegm.c: Likewise. - * time/offtime.c: Likewise. De-ANSI-declfy. + * config.make.in (CFLAGS): New variable. - * time/tzset.c (__tzset_internal): When TZ envvar does not name a - DST timezone don't default to offset -1. + * io/sys/stat.h (S_ISLNK, S_ISSOCK): Make conditional on __USE_BSD, + not __USE_GNU. + * string/string.h (strncasecmp): Likewise. - * sysdeps/unix/sysv/linux/net/route.h: Don't use kernel header. - Reported by a sun <asun@zoology.washington.edu>. + * elf/Makefile (lib-noranlib): Move rule adding deps for ld.so et al + to after `include ../Rules', so $(rtld-installed-name) is defined. - * resolv/Makefile: Correct spelling: subdirs-dirs -> subdir-dirs. + * string/basename.c (basename): Cast FILENAME to char * for return. - * sysdeps/stub/sysv_signal.c: New file. Stub implementation. + * Makerules ($(libdir)/libc.so): Put $(rtld-installed) name between + libc.so and libc.a in the deps. - * Makefile (distribute): Add mcheck.h. + * elf/Makefile ($(objpfx)$(rtld-installed-name)): New target to make + link to ld.so if that is not the installed name. + (lib-noranlib): Depend on the installed name in the build directory + instead of on ld.so. - * nis/Makefile (distribute): Add nss-nis.h. + * Makeconfig (link-libc): Include $(elfobjdir)/$(rtld-installed-name) + between libc.so and libc.a, because with libc.so's DT_NEEDED for ld.so + ld searches libc.a before ld.so (is that an ld bug?). + Add $(elfobjdir) to -rpath-link. - * libio/Makefile (routines): Change vdprintf to iovdprintf to prevent - dist problem. + * Makerules (elfobjdir): Define as . when $(subdir) is elf. - * nss/Makefile (distribute): Add digits_dots.c. + * sysdeps/i386/dl-machine.h (elf_machine_rel): In R_386_32 case when + relocating _dl_rtld_map, subtract SYM's value from final reloc value, + but don't change *RELOC_ADDR before calling *RESOLVE, because it might + call the function we are relocating! - * 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. + * string/basename.c: New file. + * string/Makefile (routines): Add basename. -Mon Jan 20 17:54:28 1997 Sven Verdoolaege <skimo@breughel.ufsia.ac.be> +Mon Jun 10 06:14:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * manual/filesys.texi: Fix little problem (reentrant->readdir). + * Makerules ($(common-objpfx)libc.so): Depend on $(elfobjdir)/ld.so. -Fri Jan 17 19:07:07 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * elf/dl-close.c: New file. + * elf/link.h: Declare _dl_close. + * elf/Makefile (routines): Add dl-close. + * elf/dlclose.c (dlclose): Use _dl_close. - * 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. + * elf/Makefile ($(objpfx)librtld.so): Remove libelf from deps. -Sat Jan 18 22:15:26 1997 Richard Henderson <rth@tamu.edu> + * elf/dl-runtime.c (_dl_global_scope): New variable. + (_dl_object_relocation_scope): New function. + (fixup): Use it. + * elf/rtld.c (dl_main): Use it. + * elf/dl-open.c (_dl_open): Use it. If (MODE & RTLD_GLOBAL), set the + l_global bit and append the new map to _dl_global_scope. + * elf/link.h: Declare _dl_global_scope, _dl_global_scope_alloc, + and _dl_object_relocation_scope. - * Makeconfig (CFLAGS-.so): Add -fno-common to prevent odd sorts of - errors that can occur when linking libc.so. + * elf/link.h (struct link_map): Add l_loader member. + Remove _dl_map_object_from_fd decl. + * elf/dl-load.c (_dl_map_object): Pass LOADER to ... + (_dl_map_object_from_fd): Take new arg LOADER and set l_loader member. + (_dl_map_object): Try DT_RPATH from all loaders up the chain. -Mon Jan 20 05:20:49 1997 Ulrich Drepper <drepper@cygnus.com> + * elf/dl-object.c (_dl_loaded): Variable removed. + (_dl_default_scope): New variable replaces it. + * elf/link.h (_dl_loaded): Remove variable decl; instead define as + macro for _dl_default_scope[2]. + (_dl_default_scope): Declare it. + * sysdeps/i386/dl-machine.h (RTLD_START): Use _dl_default_scope[2] + instead of _dl_loaded. + * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise. + * elf/rtld.c (dl_main): Use _dl_default_scope for symbol lookups. - * elf/dl-load.c (open_path): When running setuid don't try - a directory if it is not given with the full name. + * elf/dl-reloc.c (_dl_relocate_object): Remove check for _dl_rtld_map. + * elf/rtld.c (dl_main): Pass 0 for LAZY flag when re-relocating self. - * 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/link.h (struct link_map.l_type): Remove lt_interpreter. + (struct link_map): Add new flag member l_global. - * elf/rtld.c (dl_main): Don't reject whole LD_LIBRARY_PATH when - running setuid. Instead accept entries which do not contain a '/'. + * elf/dl-reloc.c (_dl_relocate_object): Check for _dl_rtld_map + directly instead of looking for lt_interpreter. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. + * elf/rtld.c (_dl_start): Don't bother setting BOOTSTRAP_MAP.l_type. + (dl_main): Set _dl_rtld_map.l_type to lt_library. + + * elf/dl-deps.c (_dl_map_object_deps): Propagate MAP->l_type to + dependencies loaded, downgrading lt_executable -> lt_library. + + * elf/dl-load.c (_dl_map_object_from_fd): Take new arg TYPE and set + l_type from that, translating lt_library->lt_executable based on the + file's ELF type. + (_dl_map_object): Likewise. + * elf/link.h: Update prototypes. + * elf/dl-open.c: Pass type lt_loaded. + * elf/rtld.c: Pass type lt_library. + + * elf/dl-load.c (_dl_map_object_from_fd): Handle null return from + _dl_new_object. + (_dl_map_object_from_fd: lose): Unchain and free L if it's not null. + Free REALNAME, and just use NAME in error message. + * elf/dl-object.c (_dl_new_object): If malloc fails, return null + instead of calling _dl_signal_error. + + * elf/dl-load.c (_dl_map_object_from_fd): Close FD before signalling + error for _dl_zerofd setup failure. + + * elf/dl-object.c (_dl_startup_loaded): Variable removed. + * elf/link.h: Remove its decl. + + * elf/dl-reloc.c (_dl_relocate_object): Take new SCOPE arg and pass it + through to _dl_lookup_symbol. + * elf/link.h (_dl_relocate_object): Update comment and prototype. + * elf/rtld.c (dl_main): Pass scope vector to _dl_relocate_object. + + * elf/dl-lookup.c (_dl_lookup_symbol): Arg SYMBOL_SCOPE is now a + null-terminated vector of pointers, no longer a vector of exactly two. + * elf/link.h (_dl_lookup_symbol): Update comment and prototype. + + * elf/dl-runtime.c (fixup): Set up scope for symbol lookup properly as + done in _dl_relocate_object. + + * elf/dlopen.c: Pass "" to _dl_open when FILE is null. + + * elf/link.h: Include elfclass.h to define __ELF_NATIVE_CLASS. + (ElfW, ELFW): Use it. + * elf/Makefile (headers): Add elfclass.h. + * sysdeps/wordsize-32/elfclass.h: New file. + * sysdeps/wordsize-64/elfclass.h: New file. + * sysdeps/alpha/Implies: Add wordsize-64. + * sysdeps/i386/Implies: Add wordsize-32. + * sysdeps/m68k/Implies: Add wordsize-32. + * sysdeps/mips/Implies: Add wordsize-32. + * sysdeps/sparc/Implies: Add wordsize-32. + + * sysdeps/mach/hurd/dl-sysdep.c (__open): Define this instead of open. + (__close, __mmap): Likewise define with __ names now. + +Mon Jun 10 05:13:18 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + + * elf/dl-support.c: New file. + * elf/Makefile (CFLAGS-dl-support.c): New variable. + (routines, elide-routines.so): Add dl-support. + + * elf/dl-minimal.c (_dl_pagesize): Remove common defn. + * elf/dl-load.c (_dl_pagesize): Define it here. + (_dl_map_object_from_fd): Initialize it if zero. + * elf/link.h (_dl_pagesize): Remove const. + +Sun Jun 9 04:04:26 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + + * elf/Makefile (routines): Add dl-symbol. + * elf/dl-lookup.c (_dl_symbol_value): Moved to ... + * elf/dl-symbol.c: New file. + + * elf/elf.h (Elf32_Xword, Elf32_Sxword): New types. + (Elf32_Section, Elf64_Section): New types, 16 bits. + (Elf32_Sym, Elf64_Sym): Use it. + + * elf/dl-deps.c (_dl_open): Moved to ... + * elf/dl-open.c: New file. + * Makefile (routines): Add dl-open. + + * elf/Makefile (dl-routines): New variable. + (routines): Add $(dl-routines). + (elide-routines.so): New variable, set to $(dl-routines). + (libdl-inhibit-o): Variable removed; build all flavors of -ldl. + (rtld-routines): All but rtld, dl-sysdep, and dl-minimal moved to + $(dl-routines). + + * elf/dl-lookup.c (_dl_lookup_symbol): Remove magic symbol grokage. + + * elf/dladdr.c: Use ELFW(ST_BIND) in place of ELF32_ST_BIND. + + * elf/dl-load.c (open_path): Use __ names for open and close. Avoid + using strdup. + (_dl_map_object): Likewise. + (_dl_map_object_from_fd): Use __ names for mmap, munmap, and mprotect. + * elf/dl-minimal.c (malloc): Likewise. + * elf/dl-reloc.c (_dl_relocate_object): Likewise. + + * elf/dl-minimal.c (_dl_pagesize): New variable. + (malloc): Use that instead of a static variable. + * elf/dl-reloc.c (_dl_relocate_object): Use _dl_pagesize instead of + calling getpagesize. + * elf/dl-load.c (_dl_map_object_from_fd): Likewise. + * elf/link.h: Declare _dl_pagesize. + + * elf/rtld.c (dl_r_debug): Renamed to _dl_r_debug. + + * elf/link.h (struct link_map): Use Half for l_phnum instead of Word. + * elf/rtld.c (dl_main): Use Half for phdr count arg. + (_dl_sysdep_start): Update prototype of DL_MAIN function ptr arg. + + * elf/dl-load.c (_dl_map_object_from_fd): Use explicit Elf32_Word to + extract 4-byte magic number, not ElfW(Word). Match EI_CLASS against + native wordsize, either 32 or 64. + + * elf/elf.h (Elf64_Byte, Elf64_Section): Typedefs removed. In C a + char is always a byte, no need for a typedef. Section indices are + 16-bit quantities in elf64, which already have a typedef Elf64_Half. - * Makeconfig: Correct comment about +(default_cflags). + Remove partial -lelf implementation. There is now a + separately-distributed `libelf' package that implements it. + * elf/dl-lookup.c: Don't #include <libelf.h> any more. + (_dl_elf_hash): New function, moved from + libelf.h:elf_hash. + (_dl_lookup_symbol): Use it instead of elf_hash. + * elf/libelf.h: File removed. + * elf/elf_hash.c: File removed. + * elf/Makefile (headers): Remove libelf.h. + (extra-libs): Remove libelf. + (libelf-routines): Variable removed. -Mon Jan 20 05:11:14 1997 Hrvoje Niksic <hniksic@srce.hr> + * elf/Makefile (libdl.so): Remove commands from this target. The + implicit rule commands are correct, this explicit rule just serves to + add some dependencies. - * time/strptime.c (recursive): Use && not || to test for valid - argument. + * elf/dl-lookup.c (_dl_lookup_symbol): Use ELFW(ST_TYPE) in place of + ELF32_ST_TYPE. Likewise ST_BIND. + * elf/do-rel.h (elf_dynamic_do_rel): Likewise R_SYM. -Mon Jan 20 05:06:50 1997 Ulrich Drepper <drepper@cygnus.com> + * elf/link.h (ElfW): New macro for wordsize-independent ElfXX_* type + naming. + (ELFW): New macro, likewise for ELFXX_* macro naming. + (_ElfW, _ElfW_1): New macros, subroutines of ElfW and ELF. - * elf/ldd.sh.in: Exit with value 1 if an error occured. - * elf/ldd.bash.in: Likewise. +Sat Jun 8 20:52:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * 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. + * elf/link.h, elf/do-rel.h, elf/dynamic-link.h, elf/dl-deps.c, + elf/dl-init.c, elf/dl-load.c, elf/dl-lookup.c, elf/dl-reloc.c, + elf/dl-runtime.c, elf/dladdr.c, elf/dlclose.c, elf/dlsym.c, + elf/linux-compat.c, elf/rtld.c: Change all uses of `Elf32_XXX' to + `ElfW(XXX)' for wordsize-independence. -Mon Jan 20 03:02:50 1997 Ulrich Drepper <drepper@cygnus.com> +Sat Jun 8 20:50:42 1996 Richard Henderson <rth@tamu.edu> - * 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. + * elf/elf.h: Move Elf64_* types in parity with Elf32 counterparts. + (Elf64_auxv_t): New type. + (EM_ALPHA, R_ALPHA_*): New macros for elf64-alpha format. -Sun Jan 19 19:43:31 1997 Andreas Jaeger <aj@arthur.pfalz.de> +Mon Jun 10 02:22:24 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * time/strptime.c: Provide prototype for strptime_internal. + * sysdeps/unix/sysv/linux/configure.in: New file, start with configure. + Add check for installed <linux/version.h> being v2.0 or later. -Sun Jan 19 23:46:27 1997 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill): Call __open + instead of open. + (_dl_sysdep_fatal): Call __write instead of write. + (_dl_sysdep_message): Likewise. - * glibcbug.in: We don't guarantee confidential handling. Set - field to always contain `no'. +Sun Jun 9 20:40:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -Sun Jan 19 21:28:01 1997 Philippe De Muyter <phdm@info.ucl.ac.be> + * sysdeps/m68k/fpu/e_acosl.c: New file. - * intl/explodename.c: Include sys/types.h. - * intl/l10nflist.c: Likewise. +Sun Jun 9 01:11:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -Sat Jan 18 22:15:26 1997 Richard Henderson <rth@tamu.edu> + * Makerules (o-objects): New variable. Use it in place of + $(objects:.o=$o); it filters out $(elide-routines$o). + Use o-iterator for ar and ranlib rules so they use the per-type object + list. - * config.make.in (install_root): New variable to make it easy to - install glibc somewhere other than /. + * elf/dl-load.c (_dl_map_object_from_fd): Close FD before return. - * shlib-versions: alpha-*-linux-* libc=6.1. + * sysdeps/mach/mprotect.c: Define with __ name and weak alias. + * sysdeps/stub/mprotect.c: Likewise. + * sysdeps/unix/mman/syscalls.list (mprotect): Likewise. + * sysdeps/generic/sys/mman.h: Declare __mprotect. + * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sys/mman.h: Likewise. + * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise. + * sysdeps/unix/bsd/osf/sys/mman.h: Likewise. + * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise. - 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. + * Make-dist ($(tardir).tar): Use sed to check for file names longer + than 14 chars, instead of doschk which checks for other things we + don't care about. + + * Version 1.90 test release. + + * Makerules (make-target-directory): Use ./mkinstalldirs so we do not + assume . is in PATH. + +Sat Jun 8 22:05:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + + * math/Makefile (distribute): Comment out addition of + $(long-m-routines) sources until they are all written. + + * math/Makefile (distribute): Append long double source names to this + instead of using elided-routines. - * 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. +Sat Jun 8 15:15:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + + * mach/mach_shortcuts.c: Obsolete file removed. + * mach/mach_syscalls.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/ioctl-types.h: Remove. - Default Linux version should be sufficient. + * hurd/Makefile (distribute): Consolidate defns into one. - * sysdeps/unix/sysv/linux/alpha/sigprocmask.c: The osf_sigprocmask - system call wants the sigset dereferenced. + * time/Makefile (tzfiles): Add solar87 solar88 solar89. - * 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. +Fri Jun 7 16:48:13 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * sysdeps/unix/sysv/linux/sigset.h: Use longs instead of ints. + * sysdeps/unix/sysv/linux/i386/Dist: New file, list sys/perm.h and + sys/vm86.h. - * sysdeps/unix/sysv/linux/tcsetattr.c: Fix pointer dereferences. + Removed old math code no longer used since the fdlibm integration. + * sysdeps/stub/acos.c: File removed. + * sysdeps/stub/asin.c: File removed. + * sysdeps/stub/atan2.c: File removed. + * sysdeps/stub/cosh.c: File removed. + * sysdeps/stub/exp.c: File removed. + * sysdeps/stub/fmod.c: File removed. + * sysdeps/stub/frexp.c: File removed. + * sysdeps/stub/log.c: File removed. + * sysdeps/stub/log10.c: File removed. + * sysdeps/stub/sinh.c: File removed. + * sysdeps/stub/tan.c: File removed. + * sysdeps/stub/tanh.c: File removed. + * sysdeps/generic/acos.c: File removed. + * sysdeps/generic/acosh.c: File removed. + * sysdeps/generic/asin.c: File removed. + * sysdeps/generic/asinh.c: File removed. + * sysdeps/generic/atan.c: File removed. + * sysdeps/generic/atan2.c: File removed. + * sysdeps/generic/atanh.c: File removed. + * sysdeps/generic/cabs.c: File removed. + * sysdeps/generic/ceil.c: File removed. + * sysdeps/generic/copysign.c: File removed. + * sysdeps/generic/cosh.c: File removed. + * sysdeps/generic/exp.c: File removed. + * sysdeps/generic/expm1.c: File removed. + * sysdeps/generic/fabs.c: File removed. + * sysdeps/generic/floor.c: File removed. + * sysdeps/generic/fmod.c: File removed. + * sysdeps/generic/frexp.c: File removed. + * sysdeps/generic/hypot.c: File removed. + * sysdeps/generic/infnan.c: File removed. + * sysdeps/generic/isnan.c: File removed. + * sysdeps/generic/ldexp.c: File removed. + * sysdeps/generic/log.c: File removed. + * sysdeps/generic/log10.c: File removed. + * sysdeps/generic/log1p.c: File removed. + * sysdeps/generic/modf.c: File removed. + * sysdeps/generic/pow.c: File removed. + * sysdeps/generic/rint.c: File removed. + * sysdeps/generic/sinh.c: File removed. + * sysdeps/generic/tan.c: File removed. + * sysdeps/generic/tanh.c: File removed. + * sysdeps/ieee754/cabs.c: File removed. + * sysdeps/ieee754/copysign.c: File removed. + * sysdeps/ieee754/frexp.c: File removed. + * sysdeps/ieee754/hypot.c: File removed. + * sysdeps/ieee754/infnan.c: File removed. + * sysdeps/ieee754/ldexp.c: File removed. + * sysdeps/ieee754/log10.c: File removed. - * sysdeps/unix/sysv/linux/alpha/sigsuspend.c: Add comment about - dependency to kernel type. + * posix/Makefile (headers): Add schedbits.h. - * sysdeps/unix/sysv/linux/alpha/termbits.h: Correct comment. + * math/Makefile (elided-routines): Add long double routines. -Sun Jan 19 04:38:20 1997 Ulrich Drepper <drepper@cygnus.com> +Fri Jun 7 11:02:22 1996 Miles Bader <miles@gnu.ai.mit.edu> - * 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. + * sysdeps/mach/hurd/getpriority.c (getpriority): Use new interface + to __proc_getprocinfo. - * time/mktime.c (mktime): Call __tzset_internal to use current - value of TZ. + * login/login.c (tty_name): New function. + (login): Use it. + (PATH_MAX): MACRO removed. + <stdlib.h>: New include. - * Makerules (common-clean): Remove $(generated-dirs) inclusing content. +Fri Jun 7 09:11:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * glibcbug.in: Fix several bugs. Reported by several people. + * sysdeps/unix/sysv/linux/Dist: Add sys/sysinfo.h, sys/mount.h, + sys/kdaemon.h, sys/io.h, sys/mount.h, sysctl.c. - * elf/Makefile: Correct dependecies for $(objpfx)ldd. + * gmon/Makefile (distribute): Add profil-counter.h. - * inet/netinet/ip.h: Define IPTOS_LOWCOST and IPTOS_MINCOST. + * sysdeps/unix/sysv/linux/alpha/Dist: New file. - * locale/C-time.c: Update copyright. - * locale/localeinfo.h: Likewise. - * sysdeps/unix/bsd/bsd4.4/direntry.h: Likewise. + * sysdeps/unix/Dist: Add s-proto.S. - * locale/programs/ld-time.c (time_finish): Correct message string. - * locale/programs/linereader.c (lr_token): Use correctly `number' - not `digit' in message string. + * sysdeps/unix/common/mk-local_lim.c: Obsolete file removed. - * 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. + * Make-dist (+sysdep-tsrcs): Get all syscalls.list files too. -Sun Jan 19 03:22:30 1997 Ulrich Drepper <drepper@cygnus.com> + * csu/Makefile (distribute): Add start.c. - * sysdeps/unix/sysv/linux/sys/mtio.h: Don't use <linux/mtio.h>. - We must not use <linux/posix_types.h>. + * elf/Makefile (distribute): Add dl-machine.h. - * sysdeps/unix/sysv/linux/sys/ipc_buf.h: Don't use __kernel_* types - since we must not use <linux/posix_types.h>. - * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/sys/ipc_buf.h: New file. Similar - to sysdeps/unix/sysv/linux/sys/ipc_buf.h, but use alpha relavent - types. - * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: New file. Similar - to sysdeps/unix/sysv/linux/sys/procfs.h, but use alpha relavent - types. + * sysdeps/alpha/Dist: Add _mcount.S. -Sun Jan 19 01:48:20 1997 H.J. Lu <hjl@gnu.ai.mit.edu> + * sysdeps/alpha/Makefile (sysdep_routines): Append instead of + resetting; don't add bb_init_func. - * 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. + * string/Makefile (routines): Add strerror_r. + * string/string.h (strerror_r): Use int for BUFLEN arg. -Fri Jan 17 17:45:32 1997 Ulrich Drepper <drepper@cygnus.com> + * Makefile (distribute): Add shlib-versions. - * posix/getopt.c: Change all direct usages of `gettext' to `_'. + * po/Makefile (distribute): Add SYS_libc.pot. - * sysdeps/generic/sysd-stdio.c (__stdio_reopen): Add missing - parameter. - Reported by Harmanjit Singh <harman@netearth.iitd.ernet.in>. + * misc/Makefile (routines): Add lsearch. + + * manual/lang.texi (Consistency Checking): Merge in assert_perror defn + and other changes inadvertently made to the obsolete assert.texi. + * manual/assert.texi: File removed. + + * mach/mach_syscalls.c: Obsolete file removed. + * mach/mach_syscalls.h: Likewise. + * mach/mach_traps.S: Likewise. + * mach/msg_destroy.c: Likewise. + * mach/vm_page_size.c: Likewise. -Thu Jan 16 23:39:25 1997 Ulrich Drepper <drepper@cygnus.com> + * locale/Makefile (distribute): Add weight.h, charset.h. - * 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. + * Makefile (distribute): Add version.h. - * 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. + * hurd/Makefile (headers): Add hurd/ioctl.h. + (distribute): Add intr-rpc.d, intr-rpc.h, faultexc.defs. -Sat Jan 11 18:53:47 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * csu/Makefile (distribute): Add gmon-start.c. - * 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 <schwab@issan.informatik.uni-dortmund.de> - - * 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. + * Makefile (distribute): Add config.h.in. -Sun Jan 12 15:22:33 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Wed Jun 5 22:06:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * libc-symbols.h (link_warning): Make sure that the .gnu.warning - section is not allocated. - Update and reformat copyright. + * sysdeps/m68k/dl-machine.h (elf_machine_rela): Fix type of reloc + argument. + [case R_68K_32]: Check for resolve being null. + (RTLD_START): Add missing label. -Sun Jan 12 12:19:28 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Fri Jun 7 1996 05:29:32 Ulrich Drepper <drepper@cygnus.com> - * elf/Makefile ($(objpfx)ldd): Fix depedency list. + * misc/lsearch.c: New file. Implementation of lfind and + lsearch functions. -Sat Jan 11 15:11:26 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * misc/search.h: Add prototype for functions from tsearch + family with __ prefix. + Correct prototype for lsearch: BASE parameter must not be + const. + + * misc/tsearch.c: prepend all global function names with __ + and make normal names weak aliases. + +Fri Jun 7 00:15:24 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + + * Make-dist (sysdep_dirs): Skip CVS dirs. + +Thu Jun 6 16:12:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + + * malloc/Makefile (distribute): Change malloc/gmalloc-head.c to + gmalloc-head.c. + (malloc/gmalloc.c): Depend on malloc/gmalloc-head.c. + (malloc/Makefile): Do $(make-target-directory) first. + * malloc/gmalloc-head.c: New file. + + * po/Makefile (linguas.mo): Don't commit .mo files to cvs. + + * hurd/hurdsig.c (_hurd_internal_post_signal): For SIGNO==0 pending + check, deliver a pending blocked signal if its action might be to + ignore. + * sysdeps/mach/hurd/sigaction.c: If new action is SIG_IGN or SIG_DFL + and SIG is pending, wake up signal thread to check us. + + * hurd/hurdsig.c (_hurd_internal_post_signal): Don't mark a signal + pending while blocked or stopped when the action is to ignore it. + +Thu Jun 6 12:56:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + + * hurd/hurdsig.c (_hurd_internal_post_signal: resume): Only set + SS_SUSPENDED when the thread is really suspended. + + * elf/rtld.c (dl_main): Don't dereference _dl_rtld_map.l_next if null. + + * Makerules (headers): Move append of $(sysdep_headers) after include + of sysdep makefiles. + + * sysdeps/mach/hurd/errlist.c: File removed. + +Thu Jun 6 07:32:14 1996 Miles Bader <miles@gnu.ai.mit.edu> + + * resolv/gethnamaddr.c (struct hstorage): Make NAME field a pointer. + (_gethtbyname2): Remove ALIAS variable. + Initialize NAME field of SELF and TARGET to 0. + Add SELF_NAME_SIZE static variable. + Add loop to call gethostname until the space we allocated is enough. + Use malloced strings instead of fixed size buffers. + <stdlib.h>, <unistd.h>: New includes. + * sysdeps/generic/sys/socket.h (PF_INET6, AF_INET6): New macros. + + * sysdeps/mach/hurd/errlist.c (_sys_errlist): Add EILSEQ. + (_sys_nerr): Initialize to 107. + Update _HURD_ERRNOS consistency check. + + * stdlib/canonicalize.c (canonicalize): Use pathconf for PATH_MAX, + not sysconf. + + * login/login.c [!PATH_MAX] (PATH_MAX): Define to be 1024 if not + already defined. + + * sysdeps/mach/hurd/setitimer.c (timer_thread): Supply SIGCODE + argument to __msg_sig_post_request. + + * hurd/hurdmalloc.c: Changes to bring in line with the hurd + libthreads/malloc.c: + (more_memory): Use assert_perror instead of MACH_CALL. + "cthread_internals.h": Include removed. + (realloc): Use LOG2_MIN_SIZE. + (LOG2_MIN_SIZE): New macro. + (realloc): Don't bother allocating a new block if the + new size request fits in the old one and doesn't waste any space. + Only free the old block if we successfully got a new one. + [MCHECK] (struct header): New type. + (union header): Only define if !MCHECK. + (HEADER_SIZE, HEADER_NEXT, HEADER_FREE, HEADER_CHECK): New macros. + [MCHECK] (MIN_SIZE): Add correct definition for this case. + (more_memory, malloc, free, realloc): Use above macros, and add + appropiate checks & frobs in MCHECK case. + +Thu Jun 6 02:00:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + + * Makerules (distinfo-vars): Don't write constant line to frob sources. + * Make-dist (sources): Append $(elided-routines) and $(extra-libs) + routines. + +Tue Jun 4 22:03:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/m68k/fpu/__math.h: Define long double versions of + the inline functions. + * sysdeps/m68k/fpu/e_asinl.c, sysdeps/m68k/fpu/e_atanl.c, + sysdeps/m68k/fpu/e_acosl.c, sysdeps/m68k/fpu/e_expl.c, + sysdeps/m68k/fpu/e_fmodl.c, sysdeps/m68k/fpu/e_log10l.c, + sysdeps/m68k/fpu/e_logl.c, sysdeps/m68k/fpu/e_powl.c, + sysdeps/m68k/fpu/e_remainderl.c, sysdeps/m68k/fpu/e_scalbl.c, + sysdeps/m68k/fpu/e_sinhl.c, sysdeps/m68k/fpu/e_sqrtl.c, + sysdeps/m68k/fpu/k_cosl.c, sysdeps/m68k/fpu/k_sinl.c, + sysdeps/m68k/fpu/k_tanl.c, sysdeps/m68k/fpu/s_atanl.c, + sysdeps/m68k/fpu/s_ceill.c, sysdeps/m68k/fpu/s_cosl.c, + sysdeps/m68k/fpu/s_expm1l.c, sysdeps/m68k/fpu/s_fabsl.c, + sysdeps/m68k/fpu/s_finitel.c, sysdeps/m68k/fpu/s_floorl.c, + sysdeps/m68k/fpu/s_frexpl.c, sysdeps/m68k/fpu/s_ilogbl.c, + sysdeps/m68k/fpu/s_isinfl.c, sysdeps/m68k/fpu/s_isnanl.c, + sysdeps/m68k/fpu/s_ldexpl.c, sysdeps/m68k/fpu/s_log1pl.c, + sysdeps/m68k/fpu/s_logbl.c, sysdeps/m68k/fpu/s_modfl.c, + sysdeps/m68k/fpu/s_rintl.c, sysdeps/m68k/fpu/s_scalbnl.c, + sysdeps/m68k/fpu/s_significandl.c, sysdeps/m68k/fpu/s_sinl.c, + sysdeps/m68k/fpu/e_atanhl.c, sysdeps/m68k/fpu/e_coshl.c: New files. + + * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_fmod.c, + sysdeps/m68k/fpu/k_cos.c, sysdeps/m68k/fpu/k_sin.c, + sysdeps/m68k/fpu/k_tan.c, sysdeps/m68k/fpu/s_atan.c, + sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_ilogb.c, + sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_ldexp.c, + sysdeps/m68k/fpu/s_modf.c: Define generic functions using FUNC and + float_type with appropriate defaults. + + * sysdeps/m68k/fpu/e_acosf.c, sysdeps/m68k/fpu/e_fmodf.c, + sysdeps/m68k/fpu/k_cosf.c, sysdeps/m68k/fpu/k_sinf.c, + sysdeps/m68k/fpu/k_tanf.c, sysdeps/m68k/fpu/s_atanf.c, + sysdeps/m68k/fpu/s_frexpf.c, sysdeps/m68k/fpu/s_ilogbf.c, + sysdeps/m68k/fpu/s_isinff.c, sysdeps/m68k/fpu/s_ldexpf.c, + sysdeps/m68k/fpu/s_modff.c: Include the corresponding double + versions with appropriate definitions to get float functions, + instead of defining them directly. + + * sysdeps/m68k/fpu/acos.c: File removed. + * sysdeps/m68k/fpu/asin.c: File removed. + * sysdeps/m68k/fpu/atan.c: File removed. + * sysdeps/m68k/fpu/atan2.c: File removed. + * sysdeps/m68k/fpu/atanh.c: File removed. + * sysdeps/m68k/fpu/ceil.c: File removed. + * sysdeps/m68k/fpu/cos.c: File removed. + * sysdeps/m68k/fpu/cosh.c: File removed. + * sysdeps/m68k/fpu/drem.c: File removed. + * sysdeps/m68k/fpu/exp.c: File removed. + * sysdeps/m68k/fpu/expm1.c: File removed. + * sysdeps/m68k/fpu/fabs.c: File removed. + * sysdeps/m68k/fpu/fl.h: File removed. + * sysdeps/m68k/fpu/floor.c: File removed. + * sysdeps/m68k/fpu/fmod.c: File removed. + * sysdeps/m68k/fpu/frexp.c: File removed. + * sysdeps/m68k/fpu/isinf.c: File removed. + * sysdeps/m68k/fpu/isinfl.c: File removed. + * sysdeps/m68k/fpu/isnan.c: File removed. + * sysdeps/m68k/fpu/isnanl.c: File removed. + * sysdeps/m68k/fpu/ldexp.c: File removed. + * sysdeps/m68k/fpu/log.c: File removed. + * sysdeps/m68k/fpu/log10.c: File removed. + * sysdeps/m68k/fpu/log1p.c: File removed. + * sysdeps/m68k/fpu/logb.c: File removed. + * sysdeps/m68k/fpu/pow.c: File removed. + * sysdeps/m68k/fpu/rint.c: File removed. + * sysdeps/m68k/fpu/sin.c: File removed. + * sysdeps/m68k/fpu/sinh.c: File removed. + * sysdeps/m68k/fpu/sqrt.c: File removed. + * sysdeps/m68k/fpu/tan.c: File removed. + * sysdeps/m68k/fpu/tanh.c: File removed. + +Thu Jun 6 00:02:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + + * sysdeps/unix/sysv/linux/syscalls.list: Add select (the syscall name + is _newselect). + * sysdeps/unix/sysv/linux/select.S: File removed. + + * sysdeps/unix/sysv/linux/m68k/select.S: File removed; obsolete with + current kernels, generic linux version is fine. + + * locale/Makefile: Add vpath for %.gperf to programs. + + * Make-dist (+tsrcs): Variable removed. + (dist): Process $^ here instead of using $(+tsrcs). + + * sysdeps/unix/sysv/linux/Makefile (install-others): Don't set. + ($(includedir)/sys/syscall.h): Target removed. + (sysdep_headers): Add syscall-list.h. + ($(objpfx)syscall-%.[dh]): New rule to build syscall-list.[dh]. + (generated): Add those. + * sysdeps/unix/sysv/linux/syscall.h: Include <syscall-list.h>. + +Wed Jun 5 15:57:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + + * misc/sys/syscall.h: New file. + * misc/Makefile (headers): Add sys/syscall.h. + + * time/tzfile.h, time/private.h, time/zdump.c, time/zic.c, + time/africa, time/asia, time/australasia, time/europe, + time/northamerica, time/southamerica: Updated from ADO 96h. + + * Make-dist (all-headers): Filter $(sysdep_headers) out of $(headers). + (try-sysdeps, +sysdep-names): Check sysdeps/libm-ieee754 too. + + * Makerules (distinfo-vars): Add sysdep_headers. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Append to + this instead of $(headers). + * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise. + * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. - * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Fix - command so that it works in subdirectories. + * Make-dist [subdirs-dirs]: Don't prefix $(subdir-dirs) with + $(subdir); we are already there. -Wed Jan 8 22:07:58 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: Removed. - * 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. + * mach/Machrules: Undo last change. + (mach-generated): List .uh and .__h files only for $(user-interfaces), + not for each .h in $(interface-headers); server-interfaces have no .uh + or .__h files. -Wed Jan 8 19:42:59 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Wed Jun 5 15:42:51 1996 Miles Bader <miles@gnu.ai.mit.edu> - * 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. + * mach/Machrules (%_server.uh, %_server.__h): New rules, so that the + corrsponding .defs file with without the `_server' will be used. -Thu Jan 9 08:47:54 1997 Andreas Jaeger <aj@arthur.pfalz.de> + * mach/Makefile (mach/mach_interface.defs): Renamed from + mach_interface.defs. + (mach/memory_object_user.defs): New variable. - * glibcbug.in (while): We test for four and not five conditions, - set MAIL_AGENT instead of RMAIL, filter spaces and tabs. +Wed Jun 5 15:10:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -Thu Jan 16 22:00:27 1997 Ulrich Drepper <drepper@cygnus.com> + * Make-dist [subdir-dirs]: Set vpath for %, not just %.c. - * misc/syslog.c: Don't define cancel_handler if _LIBC_REENTRANT - is not defined. Reported by Andreas Jaeger. + * locale/Makefile (subdir-dirs): New variable. -Thu Jan 9 08:47:54 1997 Andreas Jaeger <aj@arthur.pfalz.de> +Wed Jun 5 00:01:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * new-malloc/malloc.c (__MALLOC_P): define call to pthread - initializer only if NO_THREADS is not defined. + * Makerules (distinfo-vars): Add sysdep_routines. -Wed Jan 8 21:28:58 1997 Andreas Jaeger <aj@arthur.pfalz.de> + * mach/Machrules (include-%.defs): New canned sequence. + Change all uses of `#include <$*.defs>' in cmds to use it. + * mach/Makefile (mach_interface.defs): New variable, set to mach.defs. - * resolv/nss_dns/dns-host.c: Clean-up: delete unnecessary includes - and variables. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle RESOLVE being + null in all cases but R_386_COPY. + (elf_machine_rel): -Thu Jan 16 21:50:27 1997 Ulrich Drepper <drepper@cygnus.com> +Wed Jun 5 00:01:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * inet/arpa/inet.h: Include <netinet/in.h> to get struct in_addr - defined. + * sysdeps/unix/bsd/ultrix4/mips/Dist: Updated. + * sysdeps/unix/bsd/ultrix4/Dist: Removed. + * sysdeps/unix/sysv/sysv4/Dist: Updated. + * sysdeps/unix/sysv/sco3.2.4/Dist: Removed. + * sysdeps/unix/sysv/irix4/Dist: Updated. + * sysdeps/unix/sysv/linux/i386/Dist: Removed. + * sysdeps/unix/sysv/Dist: Updated. + * sysdeps/unix/bsd/sun/sunos4/Dist: Removed. + * sysdeps/unix/bsd/sony/newsos4/Dist: Removed. + * sysdeps/gnu/Dist: New file. + * sysdeps/alpha/Dist: Updated. + * sysdeps/mach/hurd/Dist: Updated. -Tue Jan 7 17:29:59 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * Make-dist [subdir-dirs]: Set a vpath for %.c. - * Makerules (LDLIBS-c.so): New variable. + * Make-dist (README): Fix typo in cvs cmd. -Tue Jan 7 19:22:00 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * elf/dl-lookup.c (_dl_lookup_symbol): Fix typos in last change. + Comment out ref to nonexistent _dl_close. - * Makefile ($(includedir)/gnu/lib-names.h): Define the library - names as strings, not as sequence of tokens that may fall apart. +Tue Jun 4 21:01:20 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -Fri Jan 10 14:08:41 1997 Roland McGrath <roland@fmh.frob.com> + * math/Makefile (libm-support, libm-calls): New variables. + (libm-routines): Construct this from those. + (calls): New variable. + (routines): Construct this from it. - * 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. + * resolv/res_debug.c: Add missing #include <ctype.h>. -Thu Jan 16 20:29:15 1997 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/getlogin.c: Must pass struct utmp ptr to getutline_r. + * sysdeps/unix/getlogin_r.c: Likewise. - * values.h [__USE_MISC]: Define BITSPERBYTE. + * sysdeps/libm-ieee754/w_hypotl.c: Fix typo. -Fri Jan 17 14:16:28 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + * sysdeps/libm-ieee754/w_cabsl.c: __cabsl_complex -> __cabs_complexl - * 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. + * math/Makefile (long-m-routines): Define recursive variable as + $(long-m-$(long-double-fcts)). + (long-m-yes): Put list of routines here. + (long-c-routines, long-c-yes): Likewise. -Thu Jan 9 15:59:35 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + * sysdeps/unix/sysv/linux/schedbits.h: File removed. - * sysdeps/mach/hurd/posix_opt.h: New file. + * sysdeps/i386/Makefile (long-double-fcts): New variable, set to yes. + * sysdeps/m68k/Makefile: Likewise. - * sysdeps/mach/hurd/sigwait.c (sigwait): Don't affect signal mask. + * math/Makefile [$(long-double-fcts)!=yes] (CPPFLAGS): Append + -DNO_LONG_DOUBLE. - * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Finish - deansideclification. + * sysdeps/mach/hurd/getlogin_r.c: New file. - * sysdeps/mach/libc-lock.h: Add kludges to pretend to implement - recursive locks. +Wed Jun 5 02:11:30 1996 Ulrich Drepper <drepper@cygnus.com> -Tue Jan 7 09:48:15 1997 Andreas Jaeger <aj@arthur.pfalz.de> + * io/Makefile (routines): Add ttyname_r. - * signal/sigempty.c (sigemptyset): Correct typo: Empty set should - have all bits zero. + * resolv/res_debug.c, resolv/resolv.h: Update from bind-4.3.4-T4A. -Tue Jan 7 23:44:39 1997 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/libm-i387/e_asinl.S, sysdeps/libm-i387/e_atan2l.S, + sysdeps/libm-i387/e_expl.S, sysdeps/libm-i387/e_fmodl.S, + sysdeps/libm-i387/e_log10l.S, sysdeps/libm-i387/e_logl.S, + sysdeps/libm-i387/e_remainderl.S, sysdeps/libm-i387/e_scalbl.S, + sysdeps/libm-i387/e_sqrtl.S, sysdeps/libm-i387/s_atanl.S, + sysdeps/libm-i387/s_cosl.S, sysdeps/libm-i387/s_ilogbl.S, + sysdeps/libm-i387/s_log1pl.S, sysdeps/libm-i387/s_logbl.S, + sysdeps/libm-i387/s_scalbnl.S, sysdeps/libm-i387/s_sinl.S, + sysdeps/libm-i387/s_tanl.S: New files. i387 assembler versions + of `long double' math functions. - * 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. + * sysdeps/libm-ieee754/k_standard.c: Add handling for errors + in long double functions. - * resolv/nss_dns/dns-host.c: Don't handle dotted pair notation. + * sysdeps/libm-ieee754/s_ilogbl.c, sysdeps/libm-ieee754/s_logbl.c, + sysdeps/libm-ieee754/s_modfl.c: New files. Generic versions + of `long double' math functions. - * io/getwd.c: Optimized a bit. + * sysdeps/libm-ieee754/s_isinf.c [NO_LONG_DOUBLE]: Add string + alias for __isinfl. - * signal/signal.h: Always declare __sysv_signal. + * sysdeps/libm-ieee754/w_acoshl.c, sysdeps/libm-ieee754/w_acosl.c, + sysdeps/libm-ieee754/w_asinl.c, sysdeps/libm-ieee754/w_atan2l.c, + sysdeps/libm-ieee754/w_atanhl.c, sysdeps/libm-ieee754/w_cabsl.c, + sysdeps/libm-ieee754/w_coshl.c, sysdeps/libm-ieee754/w_dreml.c, + sysdeps/libm-ieee754/w_expl.c, sysdeps/libm-ieee754/w_fmodl.c, + sysdeps/libm-ieee754/w_gammal.c, sysdeps/libm-ieee754/w_gammal_r.c, + sysdeps/libm-ieee754/w_hypotl.c, sysdeps/libm-ieee754/w_j0l.c, + sysdeps/libm-ieee754/w_j1l.c, sysdeps/libm-ieee754/w_jnl.c, + sysdeps/libm-ieee754/w_lgammal.c, sysdeps/libm-ieee754/w_lgammal_r.c, + sysdeps/libm-ieee754/w_log10l.c, sysdeps/libm-ieee754/w_logl.c, + sysdeps/libm-ieee754/w_powl.c, sysdeps/libm-ieee754/w_remainderl.c, + sysdeps/libm-ieee754/w_scalbl.c, sysdeps/libm-ieee754/w_sinhl.c, + sysdeps/libm-ieee754/w_sqrtl.c: New files. Wrapper functions + around long double function implementations. - * sysdeps/generic/setenv.c: Add some portability code. + * sysdeps/posix/ttyname_r.c (ttyname_r): Use _D_EXACT_NAMLEN + to determine length of directory entry name. - * sysdeps/unix/sysv/fcntlbits.h: Update copyright. + * posix/Makefile (routines): Add getlogin_r. + * posix/unistd.h: Add prototype for getlogin_r. + * sysdeps/stub/getlogin_r.c: New file. Reentrant version of + getlogin function, specified in P1003.1c/D6. Stub version. + * sysdeps/unix/getlogin.c (getlogin): Use ttyname_r instead of + ttyname. This avoids saving and restoring the old content. + Also use setutent_r, getutline_r and endutent_r instead of + accing UTMP file directly. + * sysdeps/unix/getlogin_r.c: New file. Reentrant version of + getlogin function, specified in P1003.1c/D6. - * 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. +Tue Jun 4 20:10:09 1996 J.T. Conklin <jtc@cygnus.com> - * sysdeps/unix/sysv/linux/syscalls.list: Add sys_mknod. Don't - mark sigreturn as EXTRA. + * sysdeps/libm-i387/s_finitef.S: Fix mask for exponent. - * sysdeps/unix/sysv/linux/ustat.c: Declare __syscall_ustat. - * sysdeps/unix/sysv/linux/alpha/ustat.c: New file. Alpha version. +Tue Jun 4 18:57:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -Tue Jan 7 09:48:15 1997 Andreas Jaeger <aj@arthur.pfalz.de> + * elf/dl-lookup.c (_dl_lookup_symbol): Grok magical undefined symbols + _GNU_libc_dl_{open,close,symbol} and resolve them to dl functions. - * io/fts.c (fts_alloc): Add const to second parameter of function. + * elf/rtld.c (rtld_map): Renamed to _dl_rtld_map, made global. + * elf/link.h: Declare _dl_rtld_map. - * io/Makefile: Change CFLAGS-fts.c and define CFLAGS-ftw.c to - prevent warnings. + * elf/dl-lookup.c (_dl_symbol_value): New function. + * elf/link.h: Declare it. - * signal/sigfillset.c: Include <string.h> for memset declaration. + * elf/dladdr.c: Remove #include <setjmp.h>, we don't use it. -Tue Jan 7 11:14:32 1997 Miles Bader <miles@gnu.ai.mit.edu> + * shlib-versions: Set libdl=2. - * sysdeps/generic/setenv.c: Fix portability problems. + * elf/dl-deps.c (_dl_map_object_deps): Use a linked list of alloca'd + elements and then scan it to fill the single malloc'd array, instead + of using realloc to grow the array in the first pass. _dl_map_object + may do some mallocs that break our stream of reallocs, and the minimal + realloc can't handle that. -Tue Jan 7 02:10:17 1997 Ulrich Drepper <drepper@cygnus.com> + * elf/dl-init.c (_dl_init_next): Take argument, link_map whose + searchlist describes the piece of the DT_NEEDED graph to be + initialized. + * elf/link.h: Update prototype. + * sysdeps/i386/dl-machine.h (RTLD_START): Pass _dl_loaded as argument + to _dl_init_next. + * sysdeps/m68k/dl-machine.h: Likewise. + * elf/dl-deps.c (_dl_open): Pass new object as arg to _dl_init_next. - * posix/getopt.c (_getopt_internal): Don't reset __getopt_initialized - after the last option was seen. + * elf/link.h (struct link_map): Add `l_reserved' member, soaking up + extra bits in last byte. + * elf/dl-deps.c (_dl_map_object_deps): Use that for mark bit to avoid + putting dup elts in search list. -Mon Jan 6 15:30:21 1997 Ulrich Drepper <drepper@cygnus.com> + * elf/dlclose.c: Use MAP->l_searchlist to find deps to close. - * elf/elf.h (DT_EXTRANUM): Set to 3 since 0x7ffffffd is used. + * elf/dlsym.c: Don't tweak linked list. Scope array given to + _dl_lookup_symbol does the right thing. -Mon Jan 6 13:57:05 1997 Ulrich Drepper <drepper@cygnus.com> + * elf/Makefile (subdir_lib): Change this target to lib-noranlib. + (lib-noranlib): Depend on on $(extra-objs). - * io/ftw.c: Add `const' to second parameter of function given as - second parameter to ftw. - * io/ftw.h: Likewise for prototype. - Reported by Ronald F. Guilmette <rfg@monkeys.com>. + * errno.h: Move __END_DECLS out of #ifdef's so it matches + __BEGIN_DECLS. -Thu Jan 2 23:44:39 1997 Philip Blundell <pjb27@cam.ac.uk> +Tue Jun 4 02:25:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * inet/Makefile (headers): Add netinet/ip.h. - * inet/netinet/ip.h: New file, contains BSD definitions for struct - ip and friends. + * stdio-common/vfprintf.c [USE_IN_LIBIO] (size_t): Don't define as + macro. _IO_size_t is just an alias for the real size_t anyway. -Fri Jan 3 23:17:11 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * elf/Makefile (libdl-routines): Add dladdr. + * elf/dladdr.c: New file. + * elf/dlfcn.h (Dl_info): New typedef. + (dladdr): Declare it. - * string/string.h (strnlen): Add cast for C++. + * sysdeps/libm-i387/s_finite.S: Use `setne' instead of `setnel'. -Mon Jan 6 03:31:46 1997 Ulrich Drepper <drepper@cygnus.com> + * intl/l10nflist.c: Fix conditional on #include <argz.h>. - * 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. + * libio/stdio.h (FOPEN_MAX, FILENAME_MAX, TMP_MAX, L_tmpnam): Macros + removed. Instead, include <stdio_lim.h>. - * mcheck.h: New file. Necessary since mcheck.h is used in time/ap.c. + * libio/_G_config.h: New file. + * libio/Makefile (headers): Add _G_config.h. - * 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. + * MakeTAGS (po/errlist.pot): Extract from sysdeps/gnu/errlist.c. - * version.h: Bump VERSION to 1.100. + * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Define + this macro too; current Linux kernels test that instead of + _LINUX_TYPES_DONT_EXPORT. - * intl/finddomain.c: Defining stpcpy function isn't necessary. + * elf/linux-compat.c (_init): Pass reloc_addr arg to _dl_lookup_symbol. - * 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. + * elf/dl-lookup.c (_dl_lookup_symbol): Use l_searchlist. - * locale/programs/charmap.c (obstack_chunk_alloc): Use malloc instead - of xmalloc. - * locale/programs/ld-collate.c: Likewise. - * locale/programs/simple-hash.c: Likewise. + * elf/dl-deps.c: New file. + * elf/Makefile (rtld-routines): Add dl-deps. + * elf/link.h: Declare _dl_map_object_deps, _dl_open. + * elf/rtld.c (dl_main): Use _dl_map_object_deps. + * elf/dlopen.c: Use _dl_open. - * misc/Makefile (headers): Add selectbits.h. - * misc/sys/select.h: Include <selectbits.h> to get necessary - definitions. - * sysdeps/generic/selectbits.h: New file. Generic macros for - handling file descriptor sets. - * sysdeps/i386/selectbits.h: New file. i386 specific macros for - handling file descriptor sets. - * sysdeps/generic/gnu/types.h: Remove _FD_* macros. + * elf/rtld.c (dl_main): Remove BEFORE_RTLD variable and list + frobnication based on its value. Detach RTLD_MAP from the chain if + its l_opencount is zero after loading deps. - * misc/mntent_r.c: Fix handling of multiple, comma-separated - options. Patch by Sai-Lai Lo <sll@orl.co.uk>. + * elf/dlfcn.h (RTLD_BINDING_MASK): New macro. - * po/de.po: Update. - * po/ko.po: Update. - * po/sv.po: Update. + * elf/link.h (struct link_map): Replace l_deps_loaded flag member with + `struct link_map **l_searchlist' and `unsigned int l_nsearchlist'. + * elf/dl-lookup.c (_dl_lookup_symbol): Make SYMBOL_SCOPE arg an array + of two link_map ptrs. Search the maps in the l_searchlist of each + elt that is not null. + * elf/dl-reloc.c (_dl_relocate_object): Pass proper SCOPE array. + * elf/dl-runtime.c: Likewise. + * elf/dlsym.c: Likewise. + * elf/rtld.c (dl_main): Likewise. - * 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. + * elf/dl-minimal.c (realloc): Support realloc of the block most + recently returned by the minimal malloc. - * posix/unistd.h [__USE_GNU]: Declare environ. +Tue Jun 4 00:16:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * posix/sys/types.h (key_t): Also define when __USE_XOPEN. + * sysdeps/gnu/errlist.awk: Produce N_("..."), not _N("..."). - * resolv/res_debug.c: Add casts to prevent warnings. - * resolv/res_query.c: Likewise. + * intl: Updated from gettext-0.10.13. + * intl/localealias.c, intl/dcgettext.c [_LIBC]: Define HAVE_ALLOCA. - * 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 - <linux/termios.h>. Define structure here. - * sysdeps/unix/sysv/linux/alpha/ioctl-types.h: Likewise. - * sysdeps/unix/sysv/linux/kernel_termios.h: New file. Define - architecture dependent struct termio type. - * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Likewise. - * sysdeps/unix/sysv/linux/sigset.h: Define extended sigset_t type. - * sysdeps/unix/sysv/linux/sigsuspend.c: Pass first word of array - to syscall. - - * sysdeps/unix/sysv/linux/socketbits.h: Don't use kernel header. - * sysdeps/unix/sysv/linux/statfsbuf.h: Likewise. - * sysdeps/unix/sysv/linux/termbits.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/termbits.h: Likewise. - * sysdeps/unix/sysv/linux/ustatbits.h: Likewise. - * sysdeps/unix/sysv/linux/net/if.h: Likewise. - * sysdeps/unix/sysv/linux/netinet/in.h: Likewise. - * sysdeps/unix/sysv/linux/sys/acct.h: Likewise. + * signal/siggetmask.c: New file. Wrapper around sigblock with + link_warning about obsolescence. + * signal/Makefile (routines): Add siggetmask. - * sysdeps/unix/sysv/linux/sys/sysmacros.h (minor, major, mkdev): - Change definitions to fit new dev_t definition. + * sysdeps/gnu/errlist.awk: New file, adapted from ... + * sysdeps/mach/hurd/errlist.awk: File removed, above file replaces it. + * sysdeps/mach/hurd/Makefile (errlist.c): Target removed. + * sysdeps/gnu/Makefile: New file. + (sysdeps/gnu/errlist.c): Make the errlist.c generation rule into this. - * sysdeps/unix/sysv/linux/syscalls.list: Add getdents and sigreturn. - Rename ustat to s_ustat since wrapper is needed. +Mon Jun 3 21:03:54 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * 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. + * manual/errno.texi (Error Codes): Add placeholder items for missing + Linux/i386 errno codes, with perror text but no documentation. + Some existing perror texts changed. - * sysdeps/unix/sysv/linux/alpha/sys/acct.h: New file. Alpha specific - definition of accounting structure. + * malloc/mcheck.c (freehook, reallochook): Handle null pointer args. - * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <asm/ptrace.h>. - Patch by Andreas Schwab. + * hurd/hurdsig.c (_hurd_internal_post_signal): When setting ACT to + `ignore, resume the thread if SS_SUSPENDED, regardless of old action. - * time/ap.c: Include <mcheck.h>. +Sun Jun 2 20:14:30 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * locale/programs/linereader.c (lr_open): Don't pass NULL to + xstrdup; fix memory leak. + (lr_close): Fix memory leak. - * time/sys/time.h: Include <sys/select.h> to get select related - declarations. +Mon Jun 3 15:58:22 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> -Mon Jan 6 01:58:21 1997 Richard Henderson <richard@atheist.tamu.edu> + * hurd/hurdsig.c (_hurd_internal_post_signal): When turning the action + for a HANDLE signal to IGNORE because the signal is blocked, clean + up any pending suspension left over from a call to resume. - * sysdeps/alpha/dl-machine.h (elf_machine_dynamic): Work around - bug in GNU ld. +Mon Jun 3 00:30:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -Mon Jan 6 01:35:29 1997 H.J. Lu <hjl@gnu.ai.mit.edu> + * elf/dl-lookup.c (_dl_lookup_symbol): Take new arg RELOC_ADDR and + don't allow a defn resolving to that address. - * misc/getpass.c: Make sure the content of the input buffer is not - printed if the getpass function is interrupted. + * elf/link.h: Update prototype and comment. + * elf/dl-runtime.c (fixup): Define local `resolve' function and pass + it to elf_machine_relplt. + * elf/dl-reloc.c (_dl_relocate_object: resolve): Take new arg + RELOC_ADDR and pass it through to _dl_lookup_symbol. + * elf/do-rel.h (elf_dynamic_do_rel): Pass RESOLVE to elf_machine_rel + instead of calling it ourselves and passing its results. + (elf_dynamic_do_rel): RESOLVE fn takes new arg RELOC_ADDR. + * elf/rtld.c (dl_main): Pass 0 for RELOC_ADDR to _dl_lookup_symbol. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove SYM_LOADADDR + arg. Add RESOLVE function ptr arg. Call *RESOLVE as necessary. + * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/stub/dl-machine.h: Likewise. -Sat Jan 4 17:07:08 1997 Roland McGrath <roland@fmh.frob.com> +Sun Jun 2 14:56:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * md5-crypt/Makefile (rpath-link): Add md5-crypt objdir, not crypt. + * csu/initfini.c (_fini): Add extern decl for i_am_not_a_leaf. -Thu Jan 2 17:58:23 1997 Roland McGrath <roland@fmh.frob.com> + * elf/dlfcn.h (dl_open_mode): Enumerated type removed. + (RTLD_LAZY, RTLD_NOW): Define these as macros instead. + (RTLD_GLOBAL): New macro. + (dlopen): Take arg of type int instead of dl_open_mode. + * elf/dlopen.c: Likewise. - * sysdeps/generic/abort.c: Include <string.h> for memset decl. + * math/math.h (_Mldbl): New macro, either produces L suffix or not. + (M_*): Use it for these constants. - * new-malloc/mcheck.c [_LIBC || STDC_HEADERS || USG]: Include - <string.h> so memset is declared. + * elf/dl-lookup.c (_dl_lookup_symbol): Arg NOSELF renamed to NOPLT. + Reject SHN_UNDEF defns iff NOPLT is nonzero. + * elf/link.h (_dl_lookup_symbol): Update prototype and comment. + * elf/dl-runtime.c (fixup): Pass 1 to _dl_lookup_symbol for NOPLT. + * elf/dlsym.c (dlsym): Pass 0. + * elf/rtld.c (dl_main): Likewise. + * elf/dl-reloc.c (_dl_relocate_object: resolve): Second arg R_OFFSET + replaced with NOPLT flag. Pass it through to _dl_lookup_symbol. + * elf/do-rel.h (elf_dynamic_do_rel): Update prototype of RESOLVE arg. + Pass `elf_machine_pltrel_p (R->r_type)' result as NOPLT flag value. + * sysdeps/i386/dl-machine.h (elf_machine_pltrel_p): New macro. + * sysdeps/m68k/dl-machine.h (elf_machine_pltrel_p): Likewise. + * sysdeps/stub/dl-machine.h (elf_machine_pltrel_p): Likewise. -Tue Dec 31 21:16:05 1996 Roland McGrath <roland@fmh.frob.com> + * login/pututline_r.c: Fix typo in sizeof for DATA_TMP alloca. - * elf/dl-deps.c (_dl_map_object_deps): Support DT_AUXILIARY. + * sysdeps/generic/gnu/types.h (__clock_t): New type. - * elf/dl-error.c (_dl_catch_error): Save and restore old catch site so - calls can be nested. +Wed May 29 00:57:37 1996 David Mosberger-Tang <davidm@azstarnet.com> - * 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. + * sysdeps/unix/sysv/linux/gnu/types.h (__clock_t, __fsid_t): Define + using kernel types. + * time/time.h (clock_t): Include <gnu/types.h> and define using + __clock_t. - * 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. + * time/Makefile (tests): Add test-tz. - * elf/dl-deps.c (_dl_map_object_deps): Check for malloc failure. + * time/test-tz.c: New test. -Sat Jan 4 22:25:01 1997 Andreas Jaeger <aj@arthur.pfalz.de> + * time/clocktest.c: Rewrite to test more meaningfully. - * libio/fcloseall.c: Include stdio.h for prototype declaration for - __fcloseall. + * sysdeps/unix/sysv/linux/syscalls.list: Add bdflush, + create_module, delete_module, get_kernel_syms, init_module, + klogctl. -Thu Jan 2 17:35:20 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Define as 5 + instead of SYMLOOP_MAX, which is nowhere to be found. - * sysdeps/posix/signal.c: Provide ignorable definitions of - SA_ONESHOT, SA_NOMASK, and SA_INTERRUPT for non-threads Posix - systems. + * sysdeps/unix/sysv/linux/sys/msq_buf.h, + sysdeps/unix/sysv/linux/sys/sem_buf.h, + sysdeps/unix/sysv/linux/sys/shm_buf.h [__USE_MISC]: Add more + control ops and datastructures. -Thu Jan 2 23:20:51 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/sys/io.h: New file declaring low-level + I/O related functions. - * 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. + * sysdeps/unix/sysv/linux/sys/kdaemon.h: New file declaring kernel + daemon related functions/operations. -Wed Jan 1 22:21:18 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/sys/klog.h: New file declaring kernel + logging related functions/operations. - * misc/syscall.h: New file. - * misc/sys/syscall.h: Removed. Forwarding to <syscall.h> might - find user header, so do it the other way round. - * sysdeps/mach/sys/syscall.h: Moved here from parent directory. - * sysdeps/stub/sys/syscall.h: Likewise. - * sysdeps/unix/sysv/linux/sys/syscall.h: Likewise. - * sysdeps/unix/sysv/sco3.2.4/sys/syscall.h: Likewise. - * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Update - dependency. - * sysdeps/unix/sysdep.h: Include <sys/syscall.h> instead of - <syscall.h>. + * sysdeps/unix/sysv/linux/sys/module.h: New file declaring kernel + module related functions/operations. -Tue Dec 31 00:03:18 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/speed.c: Only do "mention this twice" hack + for non-Alpha based Linux systems. - * features.h: Fix typo. + * sysdeps/unix/sysv/linux/alpha/speed.c: Remove. -Thu Jan 2 00:46:09 1997 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/module.h, + sys/io.h, sys/klog.h, and sys/kdaemon.h. - * libio/_G_config.h: Add _G_HAVE_LONG_DOUBLE_IO for libg++. + * sysdeps/unix/sysdep.h (END): Define empty END macro for + platforms that don't need some sort of end directive at the + end of functions. -Wed Jan 1 15:15:00 1997 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/make-syscalls.sh: Emit END($strong) at end of + syscall wrapper to allow correct generation of debugging + information. - * 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. + * sysdeps/unix/alpha/sysdep.h (END): Redefine to use .end + directive for both ELF and ECOFF. + (ret): Delete macro. It was a dangerous macro and unnecessary + since the Alpha assemblers recognizes "ret" as a macro themselves. - * 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. + * sysdeps/gnu/utmpbits.h (struct utmp): Move ut_tv behind + ut_session to guarantee long alignment. This is important for + Linux/Alpha since ut_tv.tv_sec is 32 bits and time_t is 64 bits. + This will all get cleaned up as programs start to use ut_tv + instead ut_time. - * manual/stdio.texi: Document fcloseall. + * sysdeps/alpha/divrem.h: Include <sysdep.h> instead of <*/regdef.h>. + + * sysdeps/alpha/bsd-_setjmp.S (setjmp): Renamed entry point to + _setjmp. + + * sysdeps/alpha/_mcount.S, sysdeps/alpha/bb_init_func.S, + sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S, + sysdeps/alpha/copysign.S, sysdeps/alpha/divrem.h, + sysdeps/alpha/fabs.S, sysdeps/alpha/ffs.S, sysdeps/alpha/htonl.S, + sysdeps/alpha/htons.S, sysdeps/alpha/memchr.S, + sysdeps/alpha/setjmp.S, sysdeps/alpha/strlen.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/pipe.S, + sysdeps/unix/sysv/linux/alpha/sigsuspend.S, + sysdeps/unix/sysv/linux/alpha/sysdep.S: Use END macro instead of + .end directive. - * sysdeps/generic/abort.c: Call __fcloseall instead of fclose with - NULL argument. + * csu/initfini.c (_fini): Tell gcc that _fini is not a leaf + function by having it contain a dummy function call. - * socket/sys/un.h (SUN_LEN): Add cast. + * configure.in (config_machine): Don't make ELF the default for + Linux/Alpha just yet (use --with-elf instead). + (.init/.fini check): Generate .text to ensure function start and + end are in same section. - * 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/unix/bsd/osf/alpha/brk.S, + sysdeps/unix/sysv/linux/alpha/brk.S (__curbrk): Store the entire + break value, not just the low 32 bits to accomodate large + memories. - * 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. +Tue May 28 10:46:04 1996 Richard Henderson <rth@tamu.edu> - * 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. + * sysdeps/unix/sysv/linux/alpha/brk.S: Rather than attempt to + dynamically resolve _end for initializing __curbrk, support the + brk(0) query idiom. -Wed Jan 1 12:34:54 1997 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/alpha/bb_init_func.S: Don't make `init' an external symbol. - * po/es.po: Update for glibc-1.98. - * po/fr.po: Likewise. - * po/sv.po: New file. Swedish translation. + * sysdeps/alpha/bsd-_setjmp.S: The function is _setjmp not setjmp. -Wed Jan 1 12:18:07 1997 MacGyver <macgyver@tos.net> +Sun May 26 22:17:38 1996 Richard Henderson <rth@tamu.edu> - * values.h: Fix typos: use SHRT_MAX but SHORT_MAX and SHRT_MIN but - SHORT_MIN. + * stdlib/lcong48_r.c, stdlib/seed48_r.c, stdlib/strtod.c, + stdlib/strtol.c: Include <string.h> for mem* and str* fns used. -Tue Dec 24 23:10:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Thu May 23 02:15:56 1996 David Mosberger-Tang <davidm@azstarnet.com> - * Makefile: Replace `stubs.h' by `gnu/stubs.h'. - * features.h: Include <gnu/stubs.h> instead of <stubs.h>. + * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/io.h, + sys/klog.h, and sys/kdaemon.h. -Tue Dec 24 22:16:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/sys/io.h: New file. + * sysdeps/unix/sysv/linux/sys/klog.h: Ditto. + * sysdeps/unix/sysv/linux/sys/kdaemon.h: Ditto. - * 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. + * sysdeps/unix/alpha/sysdep.h (ret): Remove macro. It is + dangerous and unnecessary since both OSF/1 as and gas define "ret" + as a pseudo-instruction. -Mon Dec 23 21:23:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Sat Jun 1 17:18:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * sysdeps/m68k/abort-instr.h: New File. + * time/tzset.c (__tzset): Clear tz_rules name pointers after freeing + them. Bug found by David Mosberger-Tang. -Mon Dec 23 21:16:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/posix/tempname.c (__stdio_gen_tempname): Use __ptr_t instead + of PTR. - * sysdeps/m68k/Makefile ($(subdir)=elf): Define CFLAGS-rtld.c - to prevent warning. + * extra-lib.mk (extra-objs): Use patsubst intead of $(A:=B) syntax + to work around Make bug when A contains var ref. -Mon Dec 23 21:14:22 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Fri May 31 18:27:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * resolv/Makefile (subdirs-dirs): Define. + * string/string.h [__USE_MISC]: Declare basename; OSF/1 puts it here. -Mon Dec 23 20:56:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/syscalls.list (getpgid, setpgid): Define __ + strong names and [gs]etpgid as weak aliases. - * sysdeps/gnu/utmpbits.h (struct utmp): Fix padding. +Thu May 30 11:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -Mon Dec 30 11:05:11 1996 Ulrich Drepper <drepper@cygnus.com> + * math/math_private.h (GET_LDOUBLE_EXP): Add missing backslash. - 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. + * po/header.pot: Replace with exact boilerplate pinard dictates. - Update from ADO tzdata1996n. - * time/asia: Updated. - * time/australasia: Likewise. - * time/europe: Likewise. - * time/northamerica: Likewise. - * time/southamerica: Likewise. + * sysdeps/i386/strtok.S (Lillegal_argument): Remove this code to set + errno and the check that jumped to it. -Mon Dec 30 01:32:59 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/mach/hurd/Makefile (errnos.d): Use $(sed-remove-objpfx). - * tme/localtime.c: Rewrite so that localtime_r does not call tzset, - but localtime does. +Thu May 30 03:21:57 1996 Ulrich Drepper <drepper@cygnus.com> - * features.h: Rename ANSI C to ISO C. - Mention __GLIBC__ and __GLIBC_MINOR__ macros. + * FAQ: Document need of gperf program for developers. - * 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/elf.h: Fix typos in comments. - * 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. + * libio/stdio.h [!__STRICT_ANSI__ || _POSIX_SOURCE]: Add + prototypes for `ctermid' and `cuserid'. - * 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 <schwab@issan.informatik.uni-dortmund.de> - - * inet/rcmd.c (rcmd): Set h_errno before calling herror. - * inet/rexec.c (rexec): Likewise. - -Sat Dec 21 21:47:08 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/m68k/setjmp.c (__setjmp): Make it really - compatible. - -Sun Dec 22 03:23:33 1996 Ulrich Drepper <drepper@cygnus.com> - - * 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 <drepper@cygnus.com> - - * 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 <kukuk@weber.uni-paderborn.de>. - - * nss/nss_files/files-netgrp.c: Fix typo. - * login/utmp_db.c: Comment out unused variables. - * misc/tst-dirname.c: Provide prototype for main (for now). - * new-malloc/mcheck-init.c: Include <mcheck.h>. - * new-malloc/obstack.c: Provide real prototypes. - - * 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 <sys/param.h> to get MIN and MAX. - * stdio-common/vfprintf.c: Likewise. - * stdlib/gmp-impl.h: Only define MIN and MAX if not already done. - * stdlib/tst-strtol.c: Don't use -2147483648 as unsigned long value. - - * sysdeps/generic/Makefile ($(subdir)=string): Define - CFLAGS-wordcopy.c to prevent warning. - * sysdeps/generic/mul_n.c (mpn_mul_n): Don't define as inline. - * sysdeps/generic/wordcopy.c: De-ANSI-declfy. - * sysdeps/i386/Makefile ($(subdir)=elf): Define CFLAGS-rtld.c - to prevent warning. - * sysdeps/i386/dl-machine.h: Correct copyright. - * sysdeps/unix/closedir.c: Likewise. - * sysdeps/unix/dirstream.h: Likewise. - * sysdeps/unix/opendir.c: Likewise. - * time/tzset.c: Add prototype for __tzset_internal. - - * 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 <drepper@cygnus.com> - - * 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 <drepper@cygnus.com> - - * sysdeps/unix/common/pause.c: Add missing second argument in - call to __sigpause. - Reported by a sun <asun@zoology.washington.edu>. - - * locale/weight.h: Correct handling of collation elements. - Reported by Keld Simonsen <keld@dkuug.dk>. - - * 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 <hankedr@mail.auburn.edu> - - * posix/getopt.c (in -W option handling): Return when optind == argc. - -Thu Dec 19 14:24:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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 <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/m68k/setjmp.c: New file. - -Thu Dec 19 23:28:33 1996 Ulrich Drepper <drepper@cygnus.com> - - * resolv/resolv.h: Update from BIND 4.9.5-P1. - * resolv/res_comp.c: Likewise. - * resolv/res_debug.c: Likewise. - * resolv/Banner: Update version number. - -Thu Dec 19 20:58:53 1996 Ulrich Drepper <drepper@cygnus.com> - - * elf/dlfcn.h: Add extern "C" wrapper. - - * io/utime.h: Don't define NULL since this isn't allowed in POSIX. - * io/sys/stat.h: Declare `lstat' only if __USE_BSD || - __USE_XOPEN_EXTENDED. - * locale/locale.h: Define NULL. - * math/math.c: Don't include <errno.h> to define math errors. - * stdlib/stdlib.h: Likewise. - * posix/unistd.h: Don't declare environ. - * posix/sys/utsname.h (struct utsname): Declare member domainname - as __domainname is !__USE_GNU. - * signal/signal.h: Declare size_t only if __USE_BSD || - __USE_XOPEN_EXTENDED. - * stdio/stdio.h: Don't declare cuserid when __USE_POSIX, but - instead when __USE_XOPEN. - * string/string.h: Define strndup only if __USE_GNU. - * sysdeps/unix/sysv/linux/clock.c: New file. - * sysdeps/unix/sysv/linux/timebits.h: Define CLOCKS_PER_SEC as - 1000000 per X/Open standard. - * features.h: Add code to recognize _POSIX_C_SOURCE value 199309. - Define __USE_POSIX199309. - * posix/unistd.h: Declare fdatasync only if __USE_POSIX199309. - * time/time.c: Declare nanosleep only if __USE_POSIX199309. - Patches by Rüdiger Helsch <rh@unifix.de>. - - * locale/locale.h: Add declaration of newlocale and freelocale. - - * new-malloc/Makefile (distibute): Add mtrace.awk. - (dist-routines): Add mcheck and mtrace. - (install-lib, non-lib.a): Define as libmcheck.a. - * new-malloc/malloc.h: Add declaration of __malloc_initialized. - * new-malloc/mcheck.c: New file. - * new-malloc/mcheck.h: New file. - * new-malloc/mtrace.c: New file. - * new-malloc/mtrace.awk: New file. - - * posix/unistd.h: Correct prototype for usleep. - * sysdeps/unix/bsd/usleep.c: De-ANSI-declfy. Correct return type. - * sysdeps/unix/sysv/linux/usleep.c: Real implementation based on - nanosleep. - - * signal/signal.h: Change protoype of __sigpause to take two - arguments. Remove prototype for sigpause. Add two different - macros named sigpause selected when __USE_BSD or __USE_XOPEN - are defined. This is necessary since the old BSD definition - of theis function collides with the X/Open definition. - * sysdeps/posix/sigpause.c: Change function definition to also - fit X/Open definition. - - * sysdeps/libm-i387/e_exp.S: Make sure stack is empty when the - function is left. - * sysdeps/libm-i387/e_expl.S: Likewise. - Patch by HJ Lu. - -1996-12-17 Paul Eggert <eggert@twinsun.com> - - * 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 <drepper@cygnus.com> - - * 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 <erik@naggum.no> - - * 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 <schwab@issan.informatik.uni-dortmund.de> - - * 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 <drepper@cygnus.com> - - * 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. + * locale/programs/locale.c: Switch to user selected locale + before printing variables. - * libio/iovsprintf.c: Add cast to prevent warning. - * libio/iovsscanf.c: Likewise. + * math/Makefile [$(long-double-fcts)==yes]: Define long-m-routines + and long-c-routines. Only if the `long double' data type is + available we need to compile the functions. + (libm-routines): Add $(long-m-routines). + (routines): Remove isinfl, isnanl. Use new file s_isinfl and + s_isnanl instead if `long double' is available. - * libio/libioP.h: Define mmap to __mmap and munmap to __munmap - to keep namespace clean. + * math/math.h: Include <mathcalls.h> again to define `long double' + functions. - * 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. + * math/math_private.h: Define data types, prototypes and access + macros for `long double'. - * nis/ypclnt.c: Remove prototype for xdr_free. - * sunrpc/rpc/xdr.h: Add prototype for xdr_free. + * stdlib/stdlib.h: Add prototypes for `strtoll' and `strtoull'. + [GCC2 && OPTIMIZE]: Define strto{,u}ll as inline function which + calls __strto{,u}q_internal. - * manual/nss.texi: Correct description of default values and don't - meantion NSS as an add-on. + * stdlib/strfmon.c: Replace PTR by `void *'. - * 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/strtoq.c: Define strtoll as weak alias. + * stdlib/strtouq.c: Define strtoull as weak alias. - * 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. + * string/tester.c: Correct `strsep' test. - * sysdeps/unix/sysv/linux/schedbits.h: Add prototype for __clone. + * sysdeps/generic/strsep.c: Make compatible with BSD version. + Trailing characters of skip set are not skipped. In this case + empty tokens are returned. - * time/Makefile: Undo change from Sun Dec 8 06:56:49 1996. - The new malloc now has mcheck. - * time/ap.c: Likewise. + * sysdeps/i386/isinfl.c, sysdeps/i386/isnanl.c, + sysdeps/ieee754/isinf.c, sysdeps/ieee754/isinfl.c, + sysdeps/ieee754/isnan.c, sysdeps/ieee754/isnanl.c: Removed. We + now use the versions part of libm. - * 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. + * sysdeps/i386/strsep.S: Removed. Generic C version is of + similar speed. + * sysdeps/i386/strtok.S: Remove support for `strsep'. - * wctype/iswctype.h (icwctype): Rename to __iswctype. Make iswctype - a weak alias of __iswctype. - * wctype/wctype.h: Add prototype for __iswctype. - (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, - iswprint, iswpunct, iswspace, iswupper, iswxdigit, iswblank): - Use __iswctype for the test, not iswctype. + * sysdeps/libm-i387/e_acosl.S, sysdeps/libm-i387/s_ceill.S, + sysdeps/libm-i387/s_copysignl.S, sysdeps/libm-i387/s_finitel.S, + sysdeps/libm-i387/s_floorl.S, sysdeps/libm-i387/s_isinfl.c, + sysdeps/libm-i387/s_isnanl.c, sysdeps/libm-i387/s_nextafterl.c, + sysdeps/libm-i387/s_rintl.S, sysdeps/libm-i387/s_significandl.S: + New i387 specific math functions implementing `long double' + versions. -1996-12-16 Paul Eggert <eggert@twinsun.com> + * sysdeps/libm-ieee754/s_ceill.c, + sysdeps/libm-ieee754/s_copysignl.c, + sysdeps/libm-ieee754/s_fabsl.c, sysdeps/libm-ieee754/s_finitel.c, + sysdeps/libm-ieee754/s_floorl.c, sysdeps/libm-ieee754/s_isinfl.c, + sysdeps/libm-ieee754/s_isnanl.c, + sysdeps/libm-ieee754/s_nextafterl.c, + sysdeps/libm-ieee754/s_rintl.c, sysdeps/libm-ieee754/s_scalbnl.c, + sysdeps/libm-ieee754/s_significandl.c: New generic `long double' + versions of libm functions. - * 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. + * sysdeps/libm-i387/e_exp.S: Add a few comments to explain the + Intel FPU nonsense. -1996-12-15 Paul Eggert <eggert@twinsun.com> + * sysdeps/libm-i387/s_ceil.S, sysdeps/libm-i387/s_ceilf.S, + sysdeps/libm-i387/s_floor.S, sysdeps/libm-i387/s_floorf.S: Correct + handling of local variables. The old version created a stack + frame but stored the values outside. - * ctime.c (ctime): Return asctime (localtime (t)), as the C - standard requires. + * sysdeps/libm-ieee754/s_isinf.c, sysdeps/libm-ieee754/s_isnan.c + [!NO_LONG_DOUBLE]: Define alias with `long double' versions name. -Tue Dec 17 02:05:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> +Wed May 29 12:53:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * sysdeps/mach/libc-lock.h (__libc_lock_trylock): Invert return - value because Mach/cthreads uses the opposite convention from - Posix/glibc. + * login/pututline_r.c: Include sys/stat.h. Fix typos. -Mon Dec 16 22:41:01 1996 Ulrich Drepper <drepper@cygnus.com> + * version.h (VERSION): Set to 1.90. - * stdio-common/fcloseall.c: Correct test of already_called. - Reported by Thomas Bushnell, n/BSG. + * Makerules (distinfo-vars): Write extra-libs and *-routines for each + of its elts. + * MakeTAGS (sources): Add those sources. -Mon Dec 16 14:52:07 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + * MakeTAGS (all-sources): Add $(others:=.c) and $(tests:=.c). - * mach/lock-intern.h (__mutex_try_lock): New function. +Wed May 29 08:53:08 1996 Miles Bader <miles@gnu.ai.mit.edu> -Sun Dec 15 16:33:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * hurd/report-wait.c (_S_msg_report_wait): Return `itimer' for the + itimer thread. - * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Only use OXTABS if - defined, else XTABS. - (CEOL, CSTATUS): Use _POSIX_VDISABLE if defined. + * hurd/hurdinit.c (_hurd_init): Set _HURDSIG_TRACED before calling + _hurd_proc_init. -Sun Dec 15 11:56:19 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Wed May 29 00:52:20 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * 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. + * string/tester.c (main): Fix strsep tests 6, 7, 20 to expect null + token instead of it being implicitly skipped. -Mon Dec 16 02:15:42 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/i386/fpu/__math.h (logb): Correct contraint from =u to =t. + Must operate on top of fp reg stack, not second from top. - 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. + * extra-lib.mk (alltypes-$(lib)): Don't append $(objpfx)$(lib).so. + (others): Instead, make this depend on it. -Sun Dec 15 16:52:34 1996 Ulrich Drepper <drepper@cygnus.com> +Tue May 28 04:38:10 1996 Ulrich Drepper <drepper@cygnus.com> - * login/utmp-file.c (pututline_file): Open file if closed. - Reported by Roma Ekzhanov <ekzhanov@paragraph.com>. - Use fcntl instead of flock. + * limits.h: Change MB_LEN_MAX to 6. A 31-bit ISO 10646 + character in UTF-8 encoding has that many bytes. -Sun Dec 15 14:20:51 1996 Ulrich Drepper <drepper@cygnus.com> + * locale/langinfo.h: New element _NL_CTYPE_MB_CUR_MAX. + * locale/categories.def: Add description of field _NL_CTYPE_MB_CUR_MAX. + * locale/Makefile (routines): Add mb_cur_max. + * locale/mb_cur_max.c: New file. This function gets called + when the macro MB_CUR_MAX is used. + * locale/C-ctype.c: Initialize new mb_cur_max field. + * locale/localeinfo.h: Change magic value because of incompatible + change. + * locale/programs/ld-ctype.c: Determine value of mb_cur_max + according to current character set and write it out with the rest. + * stdlib/stdlib.h (MB_CUR_MAX): Not constant anymore. Get value + according to currently used locale for category LC_CTYPE by + calling the function __ctype_get_mb_cur_max. - * manual/time.texi: Update documentation of strftime function. +Tue May 28 03:27:46 1996 Ulrich Drepper <drepper@cygnus.com> -Sun Dec 15 01:53:20 1996 Ulrich Drepper <drepper@cygnus.com> + * FAQ: Fix some typos. + Tell that for Linux the kernel header files are necessary. - * 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. + * PROJECTS: New file. List of open jobs for glibc. + * Makefile (distribute): Add PROJECTS. - * Makefile (subdirs): Add nss back. - * sysdeps/unix/inet/Subdirs: Move nis to end of file to fulfill - dependencies. + * crypt/GNUmakefile (headers): New variable. Mention crypt.h. + * crypt/crypt.h: Header for crypt functions. - * 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. + * elf/elf.h: Add some new constants from recent Cygnus ELF + header files. - * sysdeps/mach/libc-lock.h: Add definition of __libc_lock_trylock. - * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock to always - return 0. + * login/getutid_r.c: Test for correct type. + Don't depend on ut_type and ut_id unless _HAVE_UT_TYPE and + _HAVE_UT_ID resp. are defined. + Make really compliant with specification. - * stdio-common/printf.h: Define MIN and MAX only if not already + * login/getutline_r.c, login/pututline_r.c: Don't depend on + ut_type and ut_id unless _HAVE_UT_TYPE and _HAVE_UT_ID resp. are defined. + Make really compliant with specification. - * stdio-common/vfprintf.c: Set errno to EBADF if stream does not - allow writing. Required by POSIX.1. + * login/setutent_r.c: Don't depend on ut_type and ut_id unless + _HAVE_UT_TYPE and _HAVE_UT_ID resp. are defined. - * libio/libioP.h (CHECK_FILE): Use MAYBE_SET_EINVAL instead of - assignment. + * login/login.c, login/logout.c, login/logwtmp.c: Complete + rewrite. Now based on getut*/setut* functions. - * 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 <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/paths.h: Add _PATH_KLOG. - -Thu Dec 12 09:16:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * rellns-sh: Correctly handle a relative source file name. - -Wed Dec 11 19:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * login/utmp_file.c (setutent_file): Seek back to beginning of the - file if resetting. - -Thu Dec 12 16:39:12 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * hurd/hurdinit.c (map0): Delete function. Don't do this on - _hurd_preinit_hook. - * hurd/hurdstartup.c (_hurd_startup): Map page zero redzone here. - -Thu Dec 12 03:32:21 1996 Ulrich Drepper <drepper@cygnus.com> - - * libio/_G_config.h: Add definition of _G_int16_t, _G_int32_t, - _G_uint16_t, _G_uin32_t, _G_HAVE_BOOL, _G_HAVE_MMAP, and - _G_ARGS. - - Change libio buffer handling to allocate internal buffers using - mmap if possible. - * libio/filedoalloc.c (_IO_file_doallocate): Change call to - ALLOC_BUF. - * libio/genops.c (_IO_setb, _IO_default_finish): Change call - to FREE_BUF. - (_IO_default_doallocate): Change call to ALLOC_BUF. - * libio/libioP.h: Change definition of ALLOC_BUF and FREE_BUF - to use mmap/munmap when possible. - * libio/memstream.c: Don't use ALLOC_BUF, but directly malloc. - * libio/vasprintf.c: Likewise. - Patch by HJ Lu. - - * libio/libio.h: 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 + * stdlib/strtol.c: Undo changes of Wed May 22 01:48:54 1996. + This prevented using this file in other GNU packages. + + * sysdeps/gnu/utmpbits.h: Define _HAVE_UT_TYPE, _HAVE_UT_ID, + and _HAVE_UT_TV because struct utmp has these members. + + * sysdeps/libm-i387/e_exp.S: Correct exp(+-Inf) case. + + * utmp.h: New file. Wrapper around login/utmp.h. + +Tue May 28 13:11:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + + * elf/dl-error.c (struct catch): New type. + (catch): New static variable, struct catch *. + (catch_env, signalled_errstring, signalled_objname): Variables removed. + (_dl_signal_error): If CATCH is non-null, set its errstring and + objname members and jump to CATCH->env. If it is null, call + _dl_sysdep_fatal with a standard message. + * elf/rtld.c (dl_main): Explode `doit' function into dl_main's body. + No longer use _dl_catch_error. + + * Makerules (sed-remove-objpfx): Avoid extra space in regexp due to + continuation line. + + * sysdeps/unix/sysv/linux/i386/socket.S: Fix off-by-one error in + setting %ecx to 2nd syscall arg: we have pushed nothing, so function + args are found at 4(%esp), not 8(%esp). + +Mon May 27 10:10:00 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + + * Makefile ($(includedir)/stubs.h): Add missing backslash. + + * sysdeps/unix/sysv/linux/i386/brk.c (__curbrk): Initialize it so it + can be aliased. + + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=termios] (headers): + Append termio.h. + + * Makefile ($(includedir)/stubs.h): Print a msg if we do nothing. + + * misc/sgtty.h: Add forward decl of struct sgttyb in case it is never + defined. + + * sysdeps/unix/sysv/linux/termio.h: New file. + * sysdeps/unix/sysv/linux/Dist: Add it. + + * sysdeps/unix/sysv/linux/ioctl-types.h: New file, wrapper around + kernel header <asm/termios.h>. + + * misc/Makefile (headers): Add ioctl-types.h. + * sysdeps/generic/ioctl-types.h: New file. + * misc/sys/ioctl.h: Include <ioctl-types.h>. + (struct tchars, struct ltchars, struct sgttyb, struct winsize, + struct ttysize): Types moved there. + + * Makefile ($(includedir)/stubs.h): Don't touch target if new one is + identical. + + * time/Makefile (z.% rule): Generate generic zone%/ rule after + zone%/right/ and zone%/posix/ rules so they match first. + +Sun May 26 15:15:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + + * features.h [_GNU_SOURCE] (_BSD_SOURCE, _SVID_SOURCE, + _POSIX_SOURCE, _POSIX_C_SOURCE): Define these. + + * time/Makefile (tzcompile): Add missing backslash. + + * stdlib/ldiv.c: Deansideclized. + + * wctype/wctype.h (__need_wint_t): Define this and include stddef.h. + [! _WINT_T] (wint_t): Conditionalize typedef on this in case pre-2.7.3 + stddef.h doesn't define it. + * wcsmbs/wchar.h: Likewise. + * stdlib/strtod.c: Likewise. + + * wcsmbs/wcstok.c: Fix argument name typo. + +Sun May 26 19:39:53 1996 Ulrich Drepper <drepper@cygnus.com> + + * intl/loadmsgcat.c (_nl_load_domain): Test correct variable + after malloc. + + * string/Makefile (tester-ENV): New variable to suppress message + translation in test. + + * string/tester.c: Add tests for strtok_r and strsep. + + * sysdeps/i386/i486/strcat.S: Correct some more 8bit operation + <-> 32 bit operand conflicts. + + * sysdeps/i386/strsep.S: Wrapper around <sysdeps/i386/strtok.S> + to produce strsep function. + * sysdeps/i386/strtok.S: Optimized implementation of strtok 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/strtok_r.S: Wrapper around <sysdeps/i386/strtok.S> + to produce strtok_r function. + + * sysdeps/generic/strtok.c: Moved here from string/strtok.c. + Corrected example in comment. + + * string/Makefile (routines): Add strtok_r. + * sysdeps/generic/strtok_r.c: New file. Implement reentrant version + of strtok_r. + * string/string.h: Add prototype for strtok_r. + * wcsmbs/wcstok.c: Handle illegal SAVE_PTR argument the same + as in strtok_r. + +Sun May 26 13:28:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + + * time/tzset.c (__tzset): Ignore leading : in $TZ; always try tzfile + first and fall back to 1003.1 syntax only if it fails. + + * time/Makefile (install-others): Also install posix/ZONE and + right/ZONE for each ZONE in $(zonenames). + (z.% rule): Generate rules for right/ZONE and posix/ZONE targets too, + the difference begin leapseconds vs /dev/null as 3rd dep. For + original ZONE targets use $(leapseconds), to be set in Makeconfig. + (target-zone-flavor): New variable. + (tzcompile): Use it to get the right -d for posix/ and right/ flavors. + * Makeconfig (leapseconds): New variable. + + * mach/Machrules (%.udeps rule): Depend on Machrules. + Emit deps for .uh and .__h files. + (%.uh, %.__h rules): Don't depend on %.defs; use #include <$*.defs> + instead. - * sysdeps/i386/fpu/__math.h: Define __NO_MATH_INLINES if not using - gcc-2.8 or up. - Patch by HJ Lu. +Sun May 26 01:06:47 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/posix/tempname.c: Test for error but EEXIST after open - call. If EMFILE, ENFILE, or EINTR return with error. + * stdlib/Makefile (routines): Add llabs, lldiv. + * stdlib/llabs.c: New file. Implementation of return + absolute value of long long argument. + * stdlib/lldiv.c: New file. Implementation of division with remainder + of long long argument. + * stdlib/stdlib.h [__USE_GNU] (lldiv_t): New type for lldiv + function. + Define prototypes for lldiv and llabs functions. -Wed Dec 11 14:43:52 1996 Ulrich Drepper <drepper@cygnus.com> + * locale/C-collate.c: Initialize _NL_COLLATE_NRULES element. - * 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. + * stdlib/strtod.c: Replace wchar_t with wint_t. The later is + really the type for a single wide character. - * time/strftime.c: Extend for Emacs' needs. Recognize field width, - %P format and `0' modifier. + * string/strxfrm.c (print_val): Define separate version for + use as wcsxfrm. Here we don't need UTF8 encoding. -Tue Dec 10 21:20:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * wcsmbs/wchar.h: gcc-2.7.2-960517 finally introduces wint_t + in <stddef.h>. Use this value and only for older gcc version + define in place. + (uwchar_t): Remove definition. - * Makerules (make-link): Don't discard exit codes of intermediate - commands. Always use rellns-sh if symbolic links are available. + * wcsmbs/wcscmp.c, wcsmbs/wcscoll.c, wcsmbs/wcsncmp.c, + wcsmbs/wcsxfrm.c, wcsmbs/wmemcmp.c: : Don't use uwchar_t as unsigned + type. wint_t is intended for this. -Tue Dec 10 20:09:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Sat May 25 14:10:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * sysdeps/unix/sysv/linux/netinet/in.h: Enclose #include - <linux/in.h> in __BEGIN_DECLS/__END_DECLS to avoid linkage - conflict of ntohs etc. in <asm/byteorder.h>. + * sysdeps/unix/bsd/direntry.h: Use [1] instead of [0] for d_name to + quiet -ansi -pedantic. + * sysdeps/unix/common/direntry.h: Likewise. -Wed Dec 11 01:04:30 1996 Ulrich Drepper <drepper@cygnus.com> + * login/Makefile (headers): Add lastlog.h. + * login/lastlog.h: New file. - 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. + * login/Makefile (CFLAGS): Don't append -D_THREAD_SAFE. + * login/utmp.h [_REENTRANT || _THREAD_SAFE]: Replace this conditional + with #ifdef __USE_REENTRANT. - * libio/_G_config.h: Define _G_HAVE_SYS_WAIT and _G_HAVE_PRINTF_FP. + * features.h (__GNU_LIBRARY__): Set to 6. + [_GNU_SOURCE] (_POSIX_SOURCE, _POSIX_C_SOURCE, _BSD_SOURCE, + _SVID_SOURCE): Make sure they are all defined. - * locale/C-numeric.c: Update copyright. + * sysdeps/unix/sysv/linux/gnu/types.h: Instead of including + <linux/posix_types.h>, define _LINUX_TYPES_DONT_EXPORT and then + include <linux/types.h>. - * 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. + * resource/sys/resource.h: Remove trailing commas from enums. - * new-malloc/malloc.c: Correct copyright. - * new-malloc/thread-m.h: Correct key handling. +Fri May 24 17:30:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * shadow/lckpwdf.c: Update copyright. - (PWD_LOCKFILE): Change to /etc/.pwd.lock. + * sysdeps/generic/netinet/in.h: Remove trailing commas from enums. + * sysdeps/unix/sysv/linux/netinet/in.h: Likewise. - * stdlib/strtod.c: Add another assertion. - * stdlib/tst-strtod.c: Add another test case. + * login/getutline_r.c: Include string.h. - * sysdeps/generic/paths.h: Add _PATH_PRESERVE. Needed by nvi. - * sysdeps/unix/sysv/linux/paths.h: Likewise. + * Rules (static-only-routines): Restore the rule to make these .so's + empty objects. - * sysdeps/gnu/utmpbits.h: Rename ut_addr field to ut_addr_v6. - ut_addr names a single element in ut_addr_v6. + * login/pututline_r.c: Use struct assignment instead of memcpy. - * sysdeps/mach/hurd/xmknod.c: Remove alias from __mknod to mknod. - Patch by Thomas Bushnell, n/BSG. + * login/getutline_r.c: Use strncmp instead of comparing two pointers + that will only be equal if you are overwriting the data and screwing + yourself anyway. -Tue Dec 10 11:35:28 1996 Richard Henderson <rth@tamu.edu> +Fri May 24 02:31:36 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/alpha/strncmp.S: Fix aligned short truncated compare - corner condition. + * sysdeps/unix/sysv/linux/speed.c: Add new speed value 460800. - * 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 <thomas@gnu.ai.mit.edu> +Thu May 23 23:09:33 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Renamed from - `ttyname_r'. - (ttyname_r): New alias. + * FAQ: Add answer for 100% source code compatibility to Linux + libc by David Mosberger-Tang. -Tue Dec 10 02:17:31 1996 Ulrich Drepper <drepper@cygnus.com> - - * stdio-common/printf_fp.c (__guess_grouping): Fix off by one - error in computation of number of groups. - Patch sent by Harald Schreiber <Harald.Schreiber@post.rwth-aachen.de>. - -Tue Dec 10 01:50:07 1996 Ulrich Drepper <drepper@cygnus.com> - - * version.h: Set version to 1.99. - - * Make-dist (routines): Add malloc and new-malloc. + Update from bind-4.9.4-T3B. + * inet/arpa/inet.h: Add prototypes for inet_pton, inet_ntop, + inet_nsap_addr, and inet_nsap_ntoa. + * resolv/gethnamaddr.c: Correct compatibility problems (sprintf), + remove fourth argument to inet_pton and correct handling of + host_addr passing. + * resolv/inet_ntop.c: Correct compatibility problems (sprintf). + * resolv/inet_pton.c: Remove fourth argument. + * resolv/resolv.h: Remove prototypes for inet_nsap_addr and + inet_nsap_ntoa. Now in <arpa/inet.h>. - * Makeconfig: Allow Makefiles to set $(CPPFLAGS-$(<F)) and - $(CPPFLAGS-$(@F)) to be added to CPPFLAGS. - Same for $(CFLAGS-$(@F)) and CFLAGS. + * stdlib/gmp-impl.h: Add prototypes for internal functions. - * gmon/sys/gmon_out.h: Add __BEGIN_DECLS/__END_DECLS. Unify - layout. - * io/sys/poll.h: Likewise. - * sysdeps/stub/sys/ipb_buf.h: Likewise. - * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise. - * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise. - * sysdeps/unix/sysv/linux/sys/ipc_buf.h: Likewise. - * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise. - * sysdeps/unix/sysv/linux/sys/klog.h: Likewise. - * sysdeps/unix/sysv/linux/sys/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sys/module.h: Likewise. - * sysdeps/unix/sysv/linux/sys/mount.h: Likewise. - * sysdeps/unix/sysv/linux/sys/msq_buf.h: Likewise. - * sysdeps/unix/sysv/linux/sys/param.h: Likewise. - * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise. - * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise. - * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise. - * sysdeps/unix/sysv/linux/sys/sem_buf.h: Likewise. - * sysdeps/unix/sysv/linux/sys/shm_buf.h: Likewise. - * sysdeps/unix/sysv/linux/sys/socketcall.h: Likewise. - * sysdeps/unix/sysv/linux/sys/swap.h: Likewise. - * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise. - * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise. - * sysdeps/unix/sysv/linux/sys/sysmacros.h: Likewise. - * sysdeps/unix/sysv/linux/sys/timex.h: Likewise. - * sysvipc/sys/sem.h: Likewise. - * sysvipc/sys/shm.h: Likewise. - - * new-malloc/Makefile: Set CPPFLAGS-malloc.o. - * new-malloc/malloc.c: Remove problem with 64 bits pointers. - Add statistics for threads. - * new-malloc/malloc.h: Likewise. - * new-malloc/thread-m.h: Likewise. - - * time/strftime.c: Declare tzname if if HAVE_TZNAME is defined. - - * time/strptime.c: Update copyright. - -Mon Dec 9 14:51:10 1996 Ulrich Drepper <drepper@cygnus.com> - - * Make-dist: Make sure both malloc directories get distributed. - -Sun Dec 8 23:14:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * libio/iogets.c (_IO_gets): Fix early returns to not leave the - stream locked. - -Sat Dec 7 22:08:09 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/sys/module.h: Enclose declarations in - __BEGIN_DECLS/__END_DECLS. - -Sat Dec 7 14:23:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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 <drepper@cygnus.com> - - * config.make.in (defines): Add @USE_NEW_MALLOC@. - * Makefile.in: Define USE_NEW_MALLOC to -DUSE_NEW_MALLOC if - we use the new malloc. - - * malloc.h: Use either <malloc/malloc.h> or <new-malloc/malloc.h> - 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 <aj@arthur.pfalz.de> - - * time/Makefile: Compile ap.c with NO_MCHECK flag if new-malloc - used (not otherwise). - -Sun Dec 8 06:56:49 1996 Ulrich Drepper <drepper@cygnus.com> - - * 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. +Thu May 23 22:49:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * resolv/Makefile: Add rule to rebuiild libresolv.so when libc.so - changed. + * Rules (subdir_install): Remove dep on sor-$(subdir). + (static-only-routines): Removed variable and associated rules. - * stdio/feof.c: Update copyright. - * stdio/stdio.h: Add field for lock to FILE structure. - Add cast to *MAGIC constants to prevent warnings. +Wed May 22 00:40:50 1996 David Mosberger-Tang <davidm@azstarnet.com> - * stdio-common/bug7.c: Correct test. Stream must not be closed - twice. + * sysdeps/unix/sysv/linux/alpha/speed.c (speeds): Add entry for + 460800 baud. - * 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/unix/sysv/linux/alpha/statbuf.h: New file. - * sysdeps/mach/libc-lock.h: Define__libc_mutex_lock to __mutex_lock. + * sysdeps/unix/sysv/linux/alpha/Makefile (headers): Add + alpha/ptrace.h. + * sysdeps/unix/sysv/linux/alpha/alpha/ptrace.h: New file. - * 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 <drepper@cygnus.com> - - * sysdeps/mach/libc-lock.h [_LIBC]: Add definition of - __libc_mutex_lock. - Patch by Thomas Bushnell. - - * sysdeps/unix/sysv/linux/timebits.h: Load <asm/param.h> only - if __USE_MISC. - - * sysdeps/unix/sysv/linux/Dist: Add llseek.c. - -Sat Dec 7 12:18:56 1996 Ulrich Drepper <drepper@cygnus.com> - - * time/strftime (%c format): Remove %Z from default string. - Reported by Paul Eggert - -Sat Dec 7 03:24:36 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/libm-ieee754/s_scalbnf.c: Call __scalbnf instead of + scalbnf. - * configure.in: Discard error message from test in test for - bash-2.0. + * sysdeps/generic/sigset.h (__sigismember, __sigaddset, + __sigdelset): Add declaration to keep ANSI compilers quiet. - * 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. + * sysdeps/alpha/__math.h (cabs): Remove underscores from struct + __cabs_complex member names in call to __hypot(). - * 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. + * sysdeps/alpha/copysign.S, sysdeps/alpha/fabs.S: New files. - * manual/nss.texi: Correct prototypes. + * sysdeps/alpha/divrem.h: Renamed from sysdeps/alpha/divrem.S to avoid + name collision with math library. - * misc/syslog.c: Make reentrant. Catch SIGPIPE signal to prevent - crash if syslog daemon is restarted. + * sysdeps/alpha/divl.S, sysdeps/alpha/divlu.S, sysdeps/alpha/divq.S, + sysdeps/alpha/divqu.S, sysdeps/alpha/reml.S, sysdeps/alpha/remlu.S, + sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S: Include divrem.h instead + of divrem.S. - * stdlib/rand_r.c: New file. Implementation of POSIX.2 function - rand_r. - * stdlib/Makefile (routines): Add rand_r. + * sysdeps/unix/alpha/sysdep.h: Include regdef.h. Define LEAF macro + to simplify declaration of leaf functions. - * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock and - __libc_mutex_lock. + * sysdeps/alpha/_mcount.S, sysdeps/alpha/bb_init_func.S, + sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/ffs.S, + sysdeps/alpha/htonl.S, sysdeps/alpha/htons.S, sysdeps/alpha/memchr.S, + sysdeps/alpha/setjmp.S, sysdeps/alpha/strlen.S, + sysdeps/alpha/udiv_qrnnd.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/pipe.S, + sysdeps/unix/sysv/linux/alpha/sigsuspend.S, + sysdeps/unix/sysv/linux/alpha/syscall.S, + sysdeps/unix/sysv/linux/alpha/start.S, + sysdeps/unix/sysv/linux/alpha/sysdep.S: Remove include of regdef.h. + sysdep.h includes it now. Replace ENTRY by LEAF with appropriate + framesize declaration. Replace "lda pv,sym/jsr pv" by "jsr sym". - * 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. + * sysdeps/unix/sysv/linux/alpha/sysdep.h (NO_UNDERSCORES): Don't + define. -Thu Dec 5 19:19:53 1996 Richard Henderson <rth@tamu.edu> + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Added getsockopt, + ptrace, and sysctl. - * posix/glob.c: Tests against STDC_HEADERS should also test - __GNU_LIBRARY__. + * sysdeps/unix/sysv/linux/alpha/profil-counter.h: File removed. -Thu Dec 5 16:20:55 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/alpha/ioperm.c: Modify to support + dynamic recognition of platform type. + (_bus_base): New function. - * misc/err.c (vwarn): Set errno again before using %m format. + * sysdeps/unix/sysv/linux/alpha/llseek.S: New file. -Thu Dec 5 10:14:05 1996 Andreas Jaeger <aj@arthur.pfalz.de> + * sunrpc/rpc/rpc.h, sunrpc/rpc/svc.h: Avoid nested comments since + they produce ugly warnings by gcc. - * grp/grp.h: Add declaration of __getgrent_r. + * posix/sys/types.h [__USE_MISC]: Add typedef for ulong. - * io/fts.c (fts_build): Remove "register" from variables dirbuf - and dp since their address is needed. +Wed Mar 27 10:26:21 1996 David Mosberger-Tang <davidm@azstarnet.com> - * sysdeps/posix/getcwd.c (__getcwd): Remove "register" from - variable d since d's address is needed. + * sysdeps/alpha/setjmp.S: Must establish global pointer before + address of __sigsetjmp_aux can be loaded. - * misc/tst-dirname.c (main): Provide prototype. - * misc/ioctltst.c (main): Dito. +Wed May 22 22:10:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * Makefile: Add gnu/lib-names.h to install-others before including - Makerules. + * stdlib/canonicalize.c: New file. + * stdlib/stdlib.h: Declare canonicalize_file_name, realpath. + * stdlib/Makefile (routines): Add canonicalize. -Wed Dec 4 16:00:09 1996 Ulrich Drepper <drepper@cygnus.com> + * posix/unistd.h: Declare __canonicalize_directory_name_internal. - * sysdeps/unix/sysv/linux/sys/socketvar.h: New file. Simply use - <sys/socket.h>. - * sysdeps/unix/sysv/linux/Dist: Add sys/socketvar.h. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet)]: Add - sys/socketvar.h to sysdep_headers. +Thu May 23 00:01:10 1996 Ulrich Drepper <drepper@cygnus.com> -Tue Dec 3 08:38:15 1996 Richard Henderson <rth@tamu.edu> + * db/recno/rec_seq.c: Prevent `sccsid' definition by using the + same #if condition as in the other db files. - * sysdeps/unix/alpha/sysdep.S: Remove definition of __errno_location. - Reformat copyright. + * intl/Makefile: Add -Wno-unused CFLAGS for compilation of + bindtextdom.c, finddomain.c, and localealias.c. - * 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. + * intl/dcgettext.c: Don't define prototype for getcwd() when + compiling in glibc. -Tue Oct 15 23:46:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * libio/cleanup.c: Add prototype for _IO_register_cleanup. - * MakeTAGS (sysdep_dirs): Include add-on sysdep directories. + * libio/filedoalloc.c, libio/fileops.c, libio/iopopen.c: Don't + define _POSIX_SOURCE unconditionally. -Tue Dec 3 02:06:18 1996 Ulrich Drepper <drepper@cygnus.com> + * libio/filedoalloc.c, libio/iopopen.c: Include <unistd.h> if + compiling in glibc. - * 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. + * libio/fileops.c (_IO_file_close_it): Don't sync file, call + flush instead. This relaxes the rules from POSIX.1 about + changing the active handle a bit. - * stdlib/getsubopt.c: Update copyright. Correct typo in comment. + * libio/iofopncook.c (struct _IO_cookie_file): Move definition + into <libio.h>. + Add prototypes for local functions to prevent warnings. -Mon Dec 2 15:32:15 1996 Ulrich Drepper <drepper@cygnus.com> + * libio/iopopen.c: Change prototypes for _IO_fork, _IO_pipe, and + _IO_dup2 to contain complete parameter list. - * elf/dl-lookup.c (_dl_lookup_symbol_skip): Remove unused variable - `found_entry'. + * libio/libio.h: Add definition of struct _IO_cookie_file. - * misc/ttyslot.c: Use ttyname_r instead of ttyname. + * libio/libioP.h: Add prototypes for _IO_vasprintf, _IO_vdprintf, + and _IO_vsnprintf. - * 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. + * libio/memstream.c: Include <stdio.h>. - * 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. + * libio/stdio.h: Add prototypes for fopencookie, + __stdio_gen_tempname, __vfscanf, __vsscanf, and __vsnprintf. - * string/strfry.c: Update copyright. Use reentrant random functions. + * libio/strops.c: Avoid useless expression in `for' initializer. - * 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. + * locale/findlocale.c: Add some casts to prevent warnings. - * time/ctime.c: Use __localtime_r and __asctime_r instead of - non reentrant versions. - * time/ctime_r.c: Update copyright. + * locale/programs/locfile.c (write_locale_data): Don't use + double `/' in locale binary file. - * intl/l10nflist.c (_nl_make_l10nflist): Pretty print. + * posix/unistd.h: Remove prototype for `reboot'. - * locale/Makefile (localepath): Correct value. + Update from bind-4.9.4-T1A. + * resolv/Makefile (routines): Add inet_ntop and inet_pton. + * resolv/arpa/nameser.h: Add definition of IN6ADDRSZ. + * resolv/gethnamaddr.c, resolv/getnetnamadr.c, resolv/res_comp.c, + resolv/res_debug.c, resolv/res_init.c - * nss/nss_files/files-XXX.c: Include <netdb.h> to define - NETDB_INTERNAL. - Fix typo in using H_ERRNO_SET macro. + * resolv/inet_ntop.c, resolv/inet_pton.c: New files. -Fri Nov 29 23:22:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * resolv/resolv.h: Add RES_USE_INET6 flag. + (__dn_isvalid): Renamed to __res_dnok. + Add prototypes for __res_ownok and __res_mailok. - * Makerules (elfobjdir): Definition removed. - * Makeconfig (elfobjdir): Define it here instead, so that - expanding $(rpath-link) gets the right value. + * stdio-common/Makefile: Add -Wno-unused to CFLAGS for _itoa.c. - * 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. + * stdio-common/getline.c, stdio-common/vfscanf.c, + sysdeps/posix/tempname.c: Don't use <ansidecl.h> anymore. -Mon Dec 2 03:59:38 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/Makefile [$subdir == misc] + (sysdep_routines): Add s_reboot. + (install-others): Add $(includedir)/sys/syscall.h. + New rule for $(includedir)/sys/syscall.h to produce from + <asm/unistd.h>. - * grp/initgroups.c: Update and reformat copyright. - Use __getgrent_r instead of getgrent. + * sysdeps/unix/sysv/linux/reboot.c: New file. Make single + argument function call 3 argument system call. - * inet/rcmd.c: Update and reformat copyright. - Use __gethostbyname_r instead of gethostbyname. - * inet/rexec.c: Likewise. + * sysdeps/unix/sysv/linux/sys/reboot.h: New file. Linux specific + definition for reboot function. - * 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. + * sysdeps/unix/sysv/linux/syscall.h: Remove old and obsolete + comment. - * 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. + * sysdeps/unix/sysv/linux/syscalls.list: Rename function for + reboot syscall to __syscall_reboot. - * nss/nss_files/files-XXX.c: Set h_errno variable to NETDB_INTERNAL - before returning ERANGE error. + * wcsmbs/wchar.h: Protect prototypes for wcstof and wcstold by + __USE_GNU, not USE_GNU. - * posix/glob.c: Use getlogin_r and getpwnam_r function when available - or in GNU libc. +Tue May 21 21:55:49 1996 David Mosberger-Tang <davidm@AZStarNet.com> - * pwd/getpw.c: Use getpwuid_r instead of getpwuid. + * locale/programs/charset.c, locale/programs/ld-collate.c: + Add casts to prevent warnings on 64-bit machines. - * 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. + * locale/programs/ld-monetary.c: Don't do unnecessary tests for + int_frac_digits and frac_digits which only produce warnings. - * 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. +Mon May 13 23:45:29 1996 David Mosberger-Tang <davidm@AZStarNet.com> - * stdlib/l64a.c: Return correct pointer. - Patch by NIIBE Yutaka <gniibe@mri.co.jp>. + * inet/arpa/inet.h: Backup return type of inet_addr to u_long. + * resolv/inet_addr.c: Likewise. - * string/Makefile (routines): Add argz-addsep. - * string/argz-addsep.c: New file. - * string/argz.h: Add prototypes for argz_add_sep. + * resolv/Makefile (distribute): Add res_hconf.h + (routines): Add res_hconf. - * string/argz-ctsep.c: Prevent memory leak. + * resolv/gethnamaddr.c: Add support for /etc/host.conf. - * string/strcoll.c: Correct typo in comment. + * resolv/res_init.c: Initialize /etc/host.conf reader. -Sat Nov 30 02:53:59 1996 Ulrich Drepper <drepper@cygnus.com> + * resolv/res_hconf.c, resolv/res_hconf.h: New files. + Implementation of reading /etc/host.conf. - * 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. +Wed May 22 21:21:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -Thu Nov 28 20:04:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * Rules (%.out rules): Prepend $($*-ENV) to the command. - * login/Makefile: Fix typo. + * sysdeps/unix/sysv/linux/i386/brk.c (___brk_addr): Define as weak + alias for __curbrk. - * nss/Makefile (generated): Filter out db-alias.c. +Wed May 22 19:37:27 1996 Miles Bader <miles@gnu.ai.mit.edu> -Thu Nov 28 14:44:01 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * hurd/hurdexec.c (_hurd_exec): Pass INIT_TRACEMASK. + * hurd/hurdmsg.c (set_int): Support INIT_TRACEMASK. - * time/Makefile (echo-zonenames): Don't depend on non-existing - target `zonenames'. +Wed May 22 18:47:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -Thu Nov 28 12:34:05 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/mach/hurd/getcwd.c + (_hurd_canonicalize_directory_name_internal): New function, broken out + of __getcwd. + (__getcwd): Use it. + (__canonicalize_directory_name_internal): New function using it. - * link.h: New file. - * nss/nsswitch.c: Use it. + * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal): New + function, broken out of __getcwd. + (__getcwd): Use it. - * printf.h: Fix file name. - * stdlib/strfmon.c: Use it. +Wed May 22 18:14:05 1996 Miles Bader <miles@gnu.ai.mit.edu> -Thu Nov 28 23:03:32 1996 Ulrich Drepper <drepper@cygnus.com> + * string/argz-create.c (__argz_create): Correctly calculate length. - * sysdeps/unix/sysv/linux/netinet/in_systm.h: New file. - * sysdeps/unix/sysv/linux/Dist: Add netinet/in_systm.h. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers): - Add netinet/in_systm.h. - Reported by NIIBE Yutaka <gniibe@mri.co.jp>. + * string/argz-extract.c (__argz_extract): Add terminating 0 entry. + * hurd/hurdstartup.c (_hurd_startup): ... and don't so here. -Thu Nov 28 03:11:11 1996 Ulrich Drepper <drepper@cygnus.com> +Wed May 22 17:22:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * libio/fileops.c: Update from latest libg++. + * posix/glob.c [VMS]: Don't include <pwd.h>. + [HAVE_VMSDIR_H]: Include "vmsdir.h". + (glob) [VMS]: Don't grok ~. - * sysdeps/unix/sysv/linux/init-first.c: Reformat copyright. +Wed May 22 14:46:53 1996 Miles Bader <miles@gnu.ai.mit.edu> - * sysdeps/stub/libc-lock.h: Add __libc_lock_init_recursive. - * libio/genops.c (_IO_init): Use __libc_lock_init_recursive - instead of __libc_lock_init for streams. - Reported by a sun <asun@zoology.washington.edu>. + * hurd/hurdstartup.c (_hurd_startup): Terminate the vectors we get + back from argz_extract. - * sysdeps/unix/sysv/linux/i386/brk.c: Reformat copyright. +Wed May 22 13:56:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * 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. + * configure.in: Remove checks for objdump, objcopy, and awk. + * config.make.in (OBJDUMP, OBJCOPY, AWK): Variables removed. + * Makefile (distribute): Remove extract-dynsym. + * extract-dynsym: File removed. - * sysdeps/unix/sysv/linux/configure: Add test for linuxthreads - and crypt add-on and warn if not available. +Tue May 21 22:17:45 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -Wed Nov 27 23:09:37 1996 Ulrich Drepper <drepper@cygnus.com> + * termios/cfmakeraw.c: Set MIN to 1 and TIME to 0. - * po/ko.po: Update from Bang Jun-Young <bangjy@nownuri.nowcom.co.kr>. +Wed May 22 01:48:54 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/unix/sysv/linux/syscalls.list: Remove _llseek. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (routines): Add - llseek. - * sysdeps/unix/sysv/linux/llseek.c: New file. Uses syscall. - * sysdeps/unix/sysv/linux/i386/syscalls.list: Add __sys_llseek. - * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add __sys_llseek. - Reported by HJ Lu <hjl@gnu.ai.mit.edu>. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add llseek. - * sysdeps/unix/sysv/linux/alpha/llseek.S: Remove. Generic syscall - is enough. - Patch by Richard Henderson <rth@tamu.edu>. + * stdlib/strtol.c [!QUAD] (ULONG_MAX, LONG_MAX): Define these + macros if they are not available. + (WEAKNAME): New macro to declare argument as weak. + Define function with __ prefix and add normal name as weak alias. - * 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. + * sysdeps/posix/euidaccess.c (S_IROTH, S_IWOTH, S_IXOTH): Defines + these macros if not already available based on R_OK, W_OK, and + X_OK. - * login/getutent_r.c: Fix several bugs in last change. +Tue May 21 18:48:46 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -Wed Nov 27 06:10:10 1996 Ulrich Drepper <drepper@cygnus.com> + * misc/sys/syslog.h (__need___va_list): Define this instead of + __need_va_list before including <stdarg.h>. - * Makefile: Fix typo. + * Makerules (o-iterator): Use $(object-suffixes-left) instead + of $(object-suffixes) to produce repetitions; this is used for other + lists than just that one. + [versioned]: Use $(o-iterator) properly. - * configure: Require autoconf-2.11. + * sysdeps/unix/sysv/linux/Implies: Include `gnu'. + * sysdeps/mach/hurd/Implies: Likewise. - * elf/dl-deps.c: Terminate duplicate list. +Sat May 18 02:57:46 1996 Ulrich Drepper <drepper@cygnus.com> - * libio/libio.h: Add prototypes for _IO_seekoff and _IO_seekpos. - * libio/strfile.h: Update from current libg++. - * libio/strops.c: Likewise. + * login/Makefile: New file. This directory contains functions + for user administration. + * Makefile (subdirs): Add login. - * 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. + * misc/Makefile (headers): Remove utmp.h. Now in login/utmp.h. + (extra-libs, libutil-routines): Ditto. + * misc/login.c, misc/login_tty.c, misc/logout.c, misc/logwtmp.c, + misc/utmp.h: Moved to misc/. + * login/login.c, login/login_tty.c, login/logout.c, + login/logwtmp.c, login/utmp.h: Moved to here from misc/. - * sysdeps/generic/paths.h: Add _PATH_UTMP_DB. - * sysdeps/unix/sysv/linux/paths.h: Likewise. + * login/utmp.h: Split file. Definitions of data structures + and constants are now in the system dependent utmpbits.h file. - * sysdeps/generic/pty.c: Use getgrnam_r instead of getgrnam. + * login/setutent_r.c, login/setutent.c, login/endutent_r.c, + login/endutent.c, login/getutent_r.c, login/getutent.c, + login/getutid_r.c, login/getutid.c, login/getutline_r.c, + login/getutline.c, login/pututline_r.c, login/pututline.c: + New files. Routines to handle utmp-style files. - * sysdeps/stub/getlogin.c: Update copyright. - * sysdeps/stub/getlogin_r.c: Likewise. + * sysdeps/gnu/utmpbits.h: New file. Contains GNU/Linux + specific definitions of utmp data structures and constants. - * nss/getXXbyYY_r.c: Use -1l for error-pointer value instead of -1. - * nss/getXXent_r.c: Likewise. - * nss/nsswitch.c: Likewise. + * sysdeps/unix/sysv/utmpbits.h: Renamed from sysdeps/unix/sysv/utmp.h. - * posix/Makefile (headers): Add wait.h. - * posix/wait.h: New file. + * sysdeps/generic/utmpbits.h: New file. Generic (BSDish) version of + definitions of utmp data structures and constants. - * posix/sys/types.h: Always define intN_t types. +Fri May 17 00:01:31 1996 Ulrich Drepper <drepper@cygnus.com> - * stdio-common/Makefile: Update copyright. - Use -Wno-format flag for scanf4.c and scanf7.c. + * locale/C-monetary.c: Default value for mon_decimal_point should be + '.'. - * stdlib/stdlib.h: Reformat. + * stdio-common/printf.h: Remove Linux libc compatibility stuff. + Add `extra' flag. Currently used in __printf_fp. -Fri Nov 22 19:34:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * stdio-common/printf_fp.c (__guess_grouping): Renamed from + `guess_grouping' and extend visibility to extern. This function + is now used in `strfmon'. + (__printf_fp): Recognize new bit flag in info struct. This + triggers to use the grouping information and decimal point from + the LC_MONETARY category instead of the LC_NUMERIC category. - * 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. + * stdio-common/vfprintf.c (process_arg): Correct major bug. In + `complicated' loop we must not use the varargs because the args + are already available in the ARGS_VALUE array. -Sun Nov 24 04:56:19 1996 Ulrich Drepper <drepper@cygnus.com> + * stdlib/Makefile (headers): Add monetary.h. + (routines): Add strfmon. + * stdlib/monetary.h: New file. Header for strfmon function. + * stdlib/strfmon.c: New file. Implement strfmon function to print + monetary amounts according to current locale's rules. - * 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/i386/sys/vm86.h: The kernel header is + now (>= Linux-1.3.100) called <asm/vm86.h>. - * 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. +Thu May 16 00:31:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * posix/wait.h: New file. - * posix/Makefile (headers): Add wait.h. + * Makerules [versioned]: Make symlinks in the build directory, because + the versioned names might be referenced by a DT_NEEDED in another + library. -Sat Nov 23 17:27:52 1996 Roland McGrath <roland@gnu.ai.mit.edu> +Wed May 15 18:59:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * Makeconfig ($(common-objpfx)soversions.mk): Use regular - expression instead of shell pattern matching. - * shlib-versions: Change to regular expressions. + * manual/examples/longopt.c: Include stdlib.h and getopt.h. -Sat Nov 23 13:24:55 1996 Ulrich Drepper <drepper@cygnus.com> +Tue May 14 03:36:21 1996 Ulrich Drepper <drepper@cygnus.com> - * 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. + * sysdeps/unix/sysv/linux/Makefile [$subdir == misc] (headers): + Add sys/acct.h and sys/sysctl.h. -Fri Nov 22 15:14:23 1996 Ulrich Drepper <drepper@cygnus.com> +Tue May 14 19:42:04 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * csu/initfini.c: Add section from libgcc to copyright comment - to allow this file to be statically linked in applications. + * sysdeps/generic/strrchr.c: Deansideclized. - * malloc/obstack.h [!_LIBC && !HAVE_STRING_H]: Define memcpy if - not already defined. - (obstack_grow, obstack_grow0): Correct placement of braces. + * elf/Makefile (ldd): Depend on Makefile. + Find ld.so in $(slibdir) instead of $(libdir). - * gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Define to 2. - * malloc/obstack.c (OBSTACK_INTERFACE_VERSION): Define to 2. + * sysdeps/i386/strrchr.S: Use `testl $3, %esi' instead of `testb $3, + %esi'; gas misassembles the latter into `testb $3, %dh'. -Thu Nov 21 19:54:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * mach/Machrules (%.udeps rule): Do $(make-target-directory) first. - * Makerules (make-link): Simplify by changing directory only if - not using rellns-sh; check whether we really have symbolic links. +Tue May 14 16:38:44 1996 David Mosberger-Tang <davidm@AZStarNet.com> - * 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. + * sunrpc/getrpcent.c (interpret): Declare args. Rewrite parsing using + strpbrk. -Thu Nov 21 13:05:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> +Tue May 14 20:18:38 1996 Ulrich Drepper <drepper@cygnus.com> - * 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*. + * time/Makefile (routines): Add strptime. + * time/time.h: Add prototype for strptime. + * time/strptime.c: New file. Implementation according to XPG4. - * sysdeps/mach/hurd/Makefile ($(libdir)/libc.so): Depend on - $(rpcuserlibs). +Tue May 14 14:07:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * 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. + * libc-symbols.h (lint): Macro removed. The sunrpc code does some + really stupid things #ifdef lint. -Wed Nov 20 20:28:21 1996 Richard Henderson <rth@tamu.edu> + * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter): Fix + struct member name: sc_eip -> eip. - * Makerules (make-link): Use $(shell) to find rellns-sh before we cd. - * time/Makefile: Likewise. +Mon May 13 19:52:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * 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. + * Makerules (stub-$(subdir)): Put cmds including cd inside (...) with + output redirect outside it. -Wed Nov 20 00:42:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * elf/Makefile (subdir_lib): Depend on ld.so. - * stdlib/strtod.c: Fix previous change. +Sun May 12 22:52:22 1996 Bruce Elliott <belliott@accessone.com> -Wed Nov 20 22:07:58 1996 Andreas Jaeger <aj@arthur.pfalz.de> + * stdio-common/vfprintf.c: Correct handling of unsigned short + values. - * time/Makefile ($(installed-localtime-file)): Use $(..) to find - rellns-sh script. +Mon May 13 12:03:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -Wed Nov 20 12:50:54 1996 Ulrich Drepper <drepper@cygnus.com> + * extra-lib.mk (alltype-$(lib)): Put libs in $(objpfx) instead of + $(common-objpfx). + * Makerules [install-lib.a]: Find them there. - * stdio-common/Makefile: Add CFLAGS-scanf7.c to prevent warning. - Likewise for scanf4.c + * sysdeps/unix/sysv/linux/i386/profil-counter.h: New file. -Wed Nov 20 02:04:11 1996 Ulrich Drepper <drepper@cygnus.com> + * extra-lib.mk: Skip the hair if $(object-suffixes-$(lib)) is empty. - * sysdeps/unix/sysv/linux/sigsuspend.c: Make sigsuspend a weak - alias of __sigsuspend. + * posix/glob.h [_AMIGA]: Remove `struct stat;' forward decl. - * grp/grp.h: Correct comment about POSIX compliance. - * pwd/pwd.h: Likewise. + * configure.in (--with-fp): Note in help string that it's the default. - * 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. + * locale/programs/ld-ctype.c (struct locale_ctype_t): Use u_int32_t + instead of unsigned int for map_collection_max and map_collection_act. - * misc/sys/uio.h: Place __BEGIN_DECLS correctly. - Pretty-print prototypes. + * stdio-common/vfprintf.c [USE_IN_LIBIO] (flockfile, funlockfile): + Macros removed; they are in <stdio.h>. + * stdio-common/vfscanf.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/clone.S: New file. Taken from - LinuxThreads-0.5. + * posix/glob.c [_AMIGA]: Don't include <pwd.h>. + (glob): Remove bogus & in call to globfree. + [_AMIGA]: Use AmigaDOS file name conventions. -Tue Nov 19 13:43:07 1996 Richard Henderson <rth@tamu.edu> + * time/Makefile (zonenames): Target removed. + (extra-objs): Remove it from here. + Include the z.* files directly instead of including zonenames; use + `-include' to not complain before they exist. - * inet/ether_hton.c: Include <string.h>. - * inet/ether_ntoh.c: Likewise. - * inet/rexec.c: Get errno, index, getpass, getlogin from headers. - * misc/search.h: Fix hcreate_r argument type (unsigned -> size_t). + * sysdeps/unix/Makefile: Find sysd-syscalls and s-proto.d with + $(common-objpfx) instead of $(objpfx). - * misc/sys/cdefs.h: Change __long_double_t definition from typedef - to define. Jim Nance reports problems building XEmacs otherwise. + * sysdeps/unix/bsd/telldir.c (seekdir, telldir): Use new struct member + names without __. - * resolv/gethnamaddr.c: Protect h_errno redefinition. - * resolv/getnetnamadr.c: Likewise. - * resolv/herror.c: Likewise. + * Makerules [install-lib-non.a]: Find these things with $(objpfx) + instead of $(common-objpfx). - * 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 <errnos.h> 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 <alloca.h>. - - * 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 <thomas@gnu.ai.mit.edu> - - * 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 <drepper@cygnus.com> - - * 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 <schwab@issan.informatik.uni-dortmund.de> - - * 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 <schwab@issan.informatik.uni-dortmund.de> - - * manual/nss.texi (Name Service Switch): Fix reference to - `frobnicate'. - -Fri Nov 15 22:08:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add - sys/mtio.h. - -Mon Nov 18 05:51:13 1996 Ulrich Drepper <drepper@cygnus.com> - - * 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 <drepper@cygnus.com> - - * 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 <aj@arthur.pfalz.de> - - * stdlib/tst-strtod.c (main): Add arguments for main. - * stdlib/tst-strtol.c (main): Likewise. - -Sun Nov 17 21:15:05 1996 Ulrich Drepper <drepper@cygnus.com> - - * 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 <drepper@cygnus.com> + * Makeconfig (sysdep-configures): New variable. + (config.status): Depend on $(sysdep-configures). - * stdio-common/vfprintf.c [USE_IN_LIBIO] (buffered_vfprintf): Call - __libc_lock_init for local lock. - Reported by a sun <asun@zoology.washington.edu>. - [!USE_IN_LIBIO] (PAD): Optimize a bit. +Fri May 10 20:07:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -Sun Nov 17 03:13:57 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/profil.c: New file. - * 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. +Fri May 10 19:59:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * inet/Makefile (+gccwarn): Remove definition. - Instead set CFLAGS-rcmd.c, CFLAGS-rexec.c, and CFLAGS-ruserpass.c - to `-w'. - * inet/aliases.h: Add C++ protection. - * inet/ether_hton.c: Add prototype for __nss_ethers_lookup. - (ether_hostton): Remove unused variable result. - * inet/ether_ntoh.c: Likewise. - * inet/ether_line.c: Include <ctype.h> and <string.h>. - * inet/getnetgrent_r.c: Include <stdlib.h>. - Use casts to prevent warnings. - (innetgr): Initialize `known' and `needed'. - * inet/inet_net.c: Make local variable `i' of type u_int32_t. - * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)) [NEED__RES]: Don't - return NULL. Instead set *RESULT to NULL and return -1. - * nss/getXXent_r.c (INTERNAL (REENTRANT_GETNAME)): Likewise. - (SETFUNC_NAME, ENDFUNC_NAME) [NEED__RES]: Don't return anything. + * sysdeps/m68k/Makefile (CFLAGS-setjmp.c): New variable. - * nss/nss_files/files-alias.c: Debug function. I didn't worked at - all before. - -Sat Nov 16 15:25:34 1996 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/posix/readv.c: Don't use PTR anymore. - * sysdeps/posix/writev.c: Likewise. - - * 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 <aj@arthur.pfalz.de> - - * posix/unistd.h: Correct typo in documentation. - -Thu Nov 14 18:08:14 1996 a sun <asun@zoology.washington.edu> - - * 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 <drepper@cygnus.com> - - * 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 <gniibe@mri.co.jp> - - * 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 <drepper@cygnus.com> - - * stdlib/tst-strtod.c: Add test for error case below. - -Sat Nov 16 03:48:39 1996 Wolfram Gloger <Wolfram.Gloger@dent.med.uni-muenchen.de> - - * stdlib/strtod.c: Recognize numbers like 0e-19. - -Fri Nov 15 08:38:43 1996 Andreas Jaeger <aj@arthur.pfalz.de> - - * 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 <drepper@cygnus.com> - - * 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 <drepper@cygnus.com> - - * 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 <drepper@cygnus.com> - - * 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 <drepper@cygnus.com> - - * 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 <thomas@gnu.ai.mit.edu> - - * 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. +Fri May 10 19:55:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/mach/hurd/ioctl.c: Include <mach/mig-support.h>. + * shlib-versions: Use libm=6 and libc=6 for m68k-linux. - * 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. +Sun May 12 11:16:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * stdio-common/vfscanf.c (encode_error) [! USE_IN_LIBIO]: Call - funlockfile, not _IO_funlockfile. + * string/envz.c: Fix uses of unsigned to size_t. - * sysdeps/posix/readv.c (readv): Change return type to ssize_t. - Deansideclized. - * sysdeps/posix/writev.c (writev): Likewise. + * Makerules ($(libdir)/libc.so): Make the file an ld script. - * sysdeps/mach/hurd/lchown.c: Include <fcntl.h> and fix typo. + * sysdeps/mach/hurd/configure.in: Don't grok --with-hurd option. -Thu Nov 14 12:53:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + * sysdeps/mach/configure.in: File removed. + * sysdeps/mach/configure: File removed. - * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Make this a - prototyped definition. + * mach/Machrules (%.udeps rule): Write deps for %_server.[ch] too. + (%_server.[ch] rule): Don't depend on %.defs; use #include to get + installed .defs file. - * sysdeps/mach/hurd/select.c (__select): Deal properly when there - are no bits set in the masks. Reported by baldazzi@csr.unibo.it. + * stdio-common/vfprintf.c (flockfile, funlockfile): Define to + nothing for stdio. Fix fUNlockfile -> funlockfile for libio. + * stdio-common/vfscanf.c: Likewise. -Thu Nov 14 02:00:33 1996 Ulrich Drepper <drepper@cygnus.com> +Sat May 11 13:43:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * 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. + * hurd/hurdfault.c: Include faultexc_server.h instead of faultexc.h. - * 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. + * mach/Machrules (%.ir rule): Don't produce deps for imports. - * nss/getXXbyYY.c: Don't provide static buffer. Resize if call - failed because buffer was too small. - * nss/getXXent.c: Likewise. + * elf/dl-fini.c (_dl_fini): Clear L->l_init_called after calling fn. - * 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. + * Makerules (install): Depend on $(slibdir)/libc.so$(libc.so-version). + [!subdir] ($(libdir)/libc.so, $(common-objpfx)/libc-syms.so): Protect + these targets and install dep on $(libdir)/libc.so with this. - * nss/nss_files/files-parse.c: Indent lines for better readability. + * hurd/Makefile: Removed all rules and defns for using code from Hurd + sources and installing headers from there. - * 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. + * sysdeps/mach/hurd/errnos.awk: Set in_mach_errors to FILENAME when we + set it. In Mach error matching clause, only match if FILENAME is + still the same value. - * posix/unistd.h: Correct typo. + * sysdeps/mach/hurd/Makefile: Don't include sysdeps/mach/Makefile; + $(mach-srcdir) no longer exists. + (hurd-srcdir): Variable removed. + (includes): Don't append -I$(hurd-srcdir). + (last-includes): Variable removed. + Remove vpath specs using $(hurd-srcdir). + (mach-errno-h): New canned sequence. + ($(common-objpfx)errnos.d): New target, generated included makefile + to determine absolute file names of Mach headers to search for error + codes and set variable mach-errnos-deps. + ($(common-objpfx)stamp-errnos): Depend on $(mach-errnos-deps) instead + of prior explicit list. + (generated): Add errnos.d, stamp-errnos. -Wed Nov 13 03:09:16 1996 Ulrich Drepper <drepper@cygnus.com> + * mach/Machrules (some-if-rtn): New variable and target; compute deps + of some if routine and make all if routines depend on that .d file + instead of static list of .h files. - * configure.in: Require at least autoconf-2.10.2. + * mach/Makefile (mach/mach_interface.defs, + mach/memory_object_user.defs): Targets removed. + ($(objpfx)mach-syscalls.mk): Tweak this kludge so it doesn't depend + directly on Mach sources. -Tue Nov 12 16:58:41 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + * sysdeps/mach/Makefile (mach-srcdir): Variable removed. + (includes): Don't append -I$(mach-srcdir). + Remove vpath specs using $(mach-srcdir). - * mach/mach.h (__mach_msg_destroy, mach_msg_destroy, __mach_msg): - Provide prototypes. + * hurd/Makefile (server-interfaces): Add faultexc. + (sig): Remove it from here. + (fault%.[ch]): Rule removed. + (MIGFLAGS-faultexc): New variable. - * 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. + * hurd/faultexc.defs: New file. - * stdio/stdio.h: Repair broken cpp syntax. + * mach/Machrules (%.ustamp rule): Pass $(MIGFLAGS-$*) to mig. + (%_server.[ch] rule): Likewise. - * sysdeps/mach/hurd/lchown.c: New file. Guts from chown.c, except - we pass O_NOLINK on the open. + * mach/Makefile: Removed all rules and defns for using code from Mach + sources and installing headers from there. - * 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. + * Makeconfig [$(build-shared)=yes] (link-libc): Append + $(libc.so-version) to libc.so. -Tue Nov 12 03:35:01 1996 Christian von Roques <roques@pond.sub.org> +Fri May 10 18:36:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * malloc/obstack.h: Add new macro `obstack_make_room'. - * malloc/obstack.c: Add function implementation for - `obstack_make_room'. + * mach/Machrules (%.ustamp rule): Don't depend on %.defs. + (%.udeps): New rule parallel to that one, generating included + makefiles with -M output from `#include <%.defs>'. -Mon Nov 11 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com> + * Makerules (sed-remove-objpfx): Remove space before \ at eol. - 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) + * Makefile (distribute): Add FAQ. + * FAQ: New file contributed by drepper. - * config.make.in: Add definition for top_absdir. - * Makerules (make-link): Fix path to rellns-sh script. + * time/Makefile (headers): Add timebits.h. + * sysdeps/unix/sysv/linux/timebits.h: New file. + * sysdeps/stub/timebits.h: New file. + * time/time.h (CLK_TCK): Define to CLOCKS_PER_SEC. + (CLOCKS_PER_SEC): Remove this macro. Instead #include <timebits.h>. -Sat Nov 9 02:15:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Fri May 10 16:22:44 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - * posix/unistd.h: Fix comment. + * string/argz-create.c (__argz_create): Restore const keyword to + ARGV parm. + * string/argz.h (__argz_create, argz_create): Restore const + keyword. + * string/envz.c (envz_get): Don't declare ENTRY const. - * 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. +Fri May 10 11:48:03 1996 Miles Bader <miles@gnu.ai.mit.edu> -Sat Nov 9 19:25:11 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * string/argz.h (argz_create): Fix param type. + * string/argz-create.c (__argz_create): Remove const from param type. + * string/envz.c (envz_get): Remove const from return type. - * 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. +Fri May 10 09:41:54 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> -Sat Nov 9 02:08:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * string/argz.h (__argz_create, argz_create): Omit const keyword + from declaration of ARGV. + * string/envz.h (envz_get): Omit const from declaration of return + type. - * Makefile ($(includedir)/gnu/lib-names.h): Quote arguments of tr. +Thu May 9 09:17:46 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -Sat Nov 9 02:06:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * aclocal.m4 (AC_FD_MSG, AC_FD_CC): Fix these for autoconf weirdness. - * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Don't depend - on $(before-compile) which hasn't been properly setup yet at this - point. + Cleanups in sunrpc code from NIIBE Yutaka <gniibe@mri.co.jp>. + * sunrpc/clnt_tcp.c (clnttcp_create): Don't close *SOCKP if it's -1. + * sunrpc/clnt_simp.c (callrpc): Don't close CRP->socket if it's + RPC_ANYSOCK. + * sunrpc/pmap_clnt.c (pmap_set): Don't close SOCKET, since + CLNT_DESTROY already has. + (pmap_unset): Likewise. + * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise. + * sunrpc/pm_getport.c (pmap_getport): Likewise. + * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise. + * sunrpc/portmap.c (callit): Likewise. -Sat Nov 9 02:02:48 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * Makerules (versioned): Strip whitespace. - * 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. + * Rules (static-only-routines rule): Remove spurious space in dep. -Sat Nov 9 01:57:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * misc/getusershell.c: Undo changes of 7 May 96 (rev 1.6). + Cast string constants to char *. - * sysdeps/unix/sysv/linux/m68k/syscall.S: Correct last change. - * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. + * posix/glob/SMakefile, posix/glob/SCOPTIONS, posix/glob/Makefile.ami: + New files, AmigaDOS support from Aaron Digulla. + * posix/Makefile (glob.tar): Add AmigaDOS support files. -Mon Nov 11 02:53:14 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/net/if.h: New file. + * sysdeps/unix/sysv/linux/Dist: Add it. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (headers): Add + net/if.h. - * time/strftime.c: Update copyright. Small cosmetic changes. + * Makeconfig (link-libc): Add libc.a after libc.so in link. -Sun Nov 10 23:28:16 1996 Ulrich Drepper <drepper@cygnus.com> + * Rules (static-only-routines rule): Use empty.o instead of dummy.o. + (empty.o): New target. + (generated): Add empty.c, empty.o. - * inet/getprtname_r.c: Reformat copyright. + * resolv: Code updated from BIND-4.9.3P2C3. - * nss/Makefile (databases): Add key. - (libnss_files-routines): Exclude key database. - (libnss_db-routines): Likewise. - * nss/key-lookup.c: New file. + * Rules (static-only-routines rule): Use dummy.o, not dummy.so. - * 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. +Wed May 8 20:04:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't - make static. + * extract-dynsym: New file. + * Makefile (distribute): Add it. + * Rules (subdir_install): Depend on $(common-objpfx)sor-$(subdir). + [! libc.so-version]: Clear static-only-routines. + ($(common-objpfx)sor-$(subdir)): New target. + [static-only-routines]: New static pattern rule for these .so's. + * Makerules [libc.so-version] ($(slibdir)/libc.so): Target removed. + [libc.so-version] ($(libdir)/libc.so, $(common-objpfx)libc-syms.so): + New targets replace it. + (install) [libc.so-version]: Depend on $(libdir)/libc.so instead of + $(slibdir)/libc.so. + * io/Makefile (static-only-routines): New variable. + * configure.in: Check for tools objdump and objcopy, and for awk. + * config.make.in (OBJDUMP, OBJCOPY, AWK): New variables. - * rpc/auth_des.h: New file. - * sunrpc/Makefile (headers): Add auth_des.h. - (routines): Add publickey. - * sunrpc/publickey.c: New file. Interface to public key handling. - * sunrpc/rpc/auth_des.h: New file. - * sunrpc/rpc/netdb.h: Really include <rpc/auth_des.h>. +Thu May 9 01:24:00 1996 Ulrich Drepper <drepper@cygnus.com> -Sun Nov 10 02:37:15 1996 Ulrich Drepper <drepper@cygnus.com> + * locale/programs/config.h: Remove definition of wint_t. - * 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. + * locale/programs/ld-collate.c: Include <wchar.h> instead of + <wcstr.h>. - * 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. + * manual/time.texi: Add some more description for %U and %W + format of strftime. Describe new format %V of strftime. - * 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. + * resolv/gethnamaddr.c: Prevent warning by preventing variable + definition. + * stdio-common/_itoa.c: Ditto. - * stdlib/test-canon.c (cwd): Change size to PATH_MAX. +Tue May 7 23:43:07 1996 Ulrich Drepper <drepper@cygnus.com> -Sat Nov 9 15:34:48 1996 Ulrich Drepper <drepper@cygnus.com> + * libio/clearerr.c, libio/feof.c, libio/ferror.c, libio/fgetc.c, + libio/fileno.c, libio/fputc.c, libio/freopen.c, libio/fseek.c, + libio/genops.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/iovsprintf.c, + libio/libio.h, libio/putc.c, libio/putchar.c, libio/rewind.c, + libio/stdio.h, stdio-common/printf_fp.c, stdio-common/vfprintf.c, + stdio-common/vfscanf.c: Prepare for reentrant libio. - * sysdeps/unix/sysv/linux/Dist: Add sys/mtio.h. - * sysdeps/unix/sysv/linux/sys/mtio.h: New file. + * libio/clearerr_u.c, libio/feof_u.c, libio/ferror_u.c, + libio/fputc_u.c, libio/getc_u.c, libio/getchar_u.c, + libio/iofflush_u.c, libio/putc_u.c, libio/putchar_u.c: New files. + Used in reentrant libio. - * signal/signal.h [__USE_BSD]: Add prototype for siggetmask. + * misc/getusershell.c: Prevent warnings. -Fri Nov 8 13:29:30 1996 Ulrich Drepper <drepper@cygnus.com> +Wed May 8 12:08:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * ctype/ctype.h (__isascii): Don't test for seventh bit not to be - set. Instead for none beside the first seven bits to be set. - X/Open allows the argument to be an `int' value. - Reported by Alain Williams <addw@phcomp.co.uk>. - (toascii, isascii): Define macro also when __USE_XOPEN. + * Makerules (install-lib.so rules): Undouble $s in target and dep + parts of o-iterator-doit defns. + (unversioned libraries install rule): Fix pattern. - * sysdeps/posix/fpathconf.c: Use fstatfs to compute NAME_MAX, not - PATH_MAX. + * mach/Makefile (mach-src-headers): Use $(base-machine) instead of + $(config-machine). + ($(includedir)/machine): Likewise. -Thu Nov 7 03:04:29 1996 Ulrich Drepper <drepper@cygnus.com> + * config.make.in (base-machine): New variable. + * configure.in (machine): Move case stmt to set $machine out of sysdep + dirs AC_CACHE_CHECK. + (base_machine): New variable, set in that switch and AC_SUBST'd. - * nss/getXXXent_r.c (SETFUNC_NAME): Reset `nip' after loop to - NULL so that GETFUNC will see first entry. - (ENDFUNC_NAME): Likewise. + * Makerules (stub-$(subdir)): Use file name in directory as output, + since cmd is cd'd. - 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. + * configure.in (MSGFMT): Use : if none found. -Thu Nov 7 00:15:14 1996 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/stub/setenv.c: Correct typo: unseenv -> unsetenv. - Reported by Joshua Cowan <jcowan@jcowan.reslife.okstate.edu>. - -Wed Nov 6 13:13:37 1996 Ulrich Drepper <drepper@cygnus.com> - - * manual/creature.texi: Document that _GNU_SOURCE is no longer the - default when no *_SOURCE macro is given. - Reported by Karsten Weiss <karsten@addx.au.s.shuttle.de>. - * NOTES: remade from manual/creature.texi. - * manual/libc.texinfo: Add back line about GPL translation which - somehow got lost. - - * Make-dist (dist.tar): Depend on README being updated. - - * rellns-sh: Correct thinko in removing leading /. - Reported by Andreas Jaeger <aj@arthur.pfalz.de>. - - * 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 <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias llseek for - _llseek syscall. Reported by Andy Sewell <puck@pookhill.demon.co.uk>. + * po/Makefile: Include ../Rules instead of ../Makerules. - * string/argz.h: Don't protect by __USE_GNU. +Tue May 7 23:18:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -Tue Nov 5 23:38:28 1996 Ulrich Drepper <drepper@cygnus.com> + * po/Makefile: New file. + * Makefile (subdirs): Add po. - * Lots of files: Update and reformat copyright. - - * Makefile (headers): Add xopen_lim.h. + * configure.in: Check for msgfmt. + * config.make.in (MSGFMT): New variable. - * catgets/nl_types.h: Move __BEGIN_DECLS before definition of nl_catd. +Sun May 5 23:49:10 1996 Ulrich Drepper <drepper@cygnus.com> - * 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. + * misc/Makefile (routines): Add swapoff. - * io/Makefile (routines): Add lchown. - * sysdeps/stub/lchown.c: New file. + * sysdeps/unix/sysv/linux/Dist: Add sys/quota.h. - * io/sys/poll.h: Add definition of POLLWRNORM. + * sysdeps/unix/sysv/linux/sys/quota.h: New file. Wrapper around + kernel header file. - * 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. +Tue May 7 19:00:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * 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. + * string/argz-extract.c: Remove const from decl. + * string/argz.h: Here too. - * posix/sys/wait.h: Declare wait3 if __USE_XOPEN_EXTENDED is defined. + * Makeconfig (version.mk): Fix regexp in sed cmd. + Depend on $(..)Makeconfig. - * shadow/shadow.h: Define SHADOW using _PATH_SHADOW. - * sysdeps/generic/paths.h: Define _PATH_SHADOW. - * sysdeps/unix/sysv/linux/paths.h: Likewise. + * GMP code updated from gmp-2.0 release. + * stdlib/Makefile (mpn-routines): Removed add_1, added inlines. + * sysdeps/generic/add_1.c: File removed. + * stdlib/strtod.c: mp_limb is now mp_limb_t. + * stdlib/fpioconst.c, stdlib/fpioconst.h: Likewise. + * stdio-common/_itoa.c: Likewise. + * stdio-common/printf_fp.c: Likewise. + Don't include ansidecl.h. - * signal/signal.h: Declare killpg, sigstack and sigaltstack when - __USE_XOPEN_EXTENDED is defined. + * sysdeps/mach/hurd/getcwd.c: Use io_identity instead of io_stat. - * stdio/stdio.h: Declare tempnam when __USE_XOPEN is defined. + * shlib-versions: New file. + * Makerules (soversions.mk): New target, include file generated from + shlib-versions. Moved shared library rules before installation rules. + Rewrote shared library installation rules for versioned libraries. + * math/Makefile (libm.so-version): Variable removed. - * stdlib/stdlib.h: Make rand48 functions available when __USE_XOPEN - is defined. - Likewise for valloc, putenv, realpath, [efg]cvt*, and getsubopt - functions. + * sysdeps/mach/hurd/i386/exc2signal.c: Use struct hurd_signal_detail. - * 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 <rth@tamu.edu> - - * crypt/Makefile: Add crypt routines to libc as well iff - $(crypt-in-libc) is set. Do this for temporary binary compatibility - on existing Linux/Alpha installations. - - * stdlib/div.c, sysdeps/generic/div.c: Move file to .../generic/. - * stdlib/ldiv.c, sysdeps/generic/ldiv.c: Likewise. - * stdlib/lldiv.c, sysdeps/generic/lldiv.c: Likewise. - * sysdeps/alpha/Makefile (divrem): Add divlu, dviqu, remlu, and - remqu. - * sysdeps/alpha/div.S: New file. - * sysdeps/alpha/ldiv.S: New file. - * sysdeps/alpha/lldiv.S: New file. - * sysdeps/alpha/divrem.h: Merge signed and unsigned division. - Take pointers from Linus and tighten the inner loops a bit. - * sysdeps/alpha/divl.S: Change defines for merged routines. - * sysdeps/alpha/divq.S: Likewise. - * sysdeps/alpha/reml.S: Likewise. - * sysdeps/alpha/remq.S: Likewise. - * sysdeps/alpha/divlu.S: Remove file. - * sysdeps/alpha/divqu.S: Likewise. - * sysdeps/alpha/remlu.S: Likewise. - * sysdeps/alpha/remqu.S: Likewise. - - * sysdeps/alpha/bsd-_setjmp.S: If PROF, call _mcount. - * sysdeps/alpha/bsd-setjmp.S: Likewise. - * sysdeps/alpha/bzero.S: Likewise. - * sysdeps/alpha/ffs.S: Likewise. - * sysdeps/alpha/htonl.S: Likewise. - * sysdeps/alpha/htons.S: Likewise. - * sysdeps/alpha/memchr.S: Likewise. - * sysdeps/alpha/memset.S: Likewise. - * sysdeps/alpha/s_copysign.S: Likewise. - * sysdeps/alpha/s_fabs.S: Likewise. - * sysdeps/alpha/setjmp.S: Likewise. - * sysdeps/alpha/stpcpy.S: Likewise. - * sysdeps/alpha/stpncpy.S: Likewise. - * sysdeps/alpha/strcat.S: Likewise. - * sysdeps/alpha/strchr.S: Likewise. - * sysdeps/alpha/strcpy.S: Likewise. - * sysdeps/alpha/strlen.S: Likewise. - * sysdeps/alpha/strncat.S: Likewise. - * sysdeps/alpha/strncpy.S: Likewise. - * sysdeps/alpha/strrchr.S: Likewise. - * sysdeps/alpha/udiv_qrnnd.S: Likewise. Fix private labels. - Convert two small jumps to use conditional moves. - * sysdeps/unix/alpha/sysdep.h: Compress all __STDC__ nastiness. - (PSEUDO): If PROF, call _mcount. - * sysdeps/unix/sysv/linux/alpha/brk.S: If PROF, call _mcount. - * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. - - * 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 <drepper@cygnus.com> - - * sysdeps/mach/hurd/ttyname_r.c: Use `size_t' for len variable. - -Tue Nov 5 12:09:29 1996 Ulrich Drepper <drepper@cygnus.com> - - * 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 <drepper@cygnus.com> - - * manual/users.texi (Netgroup Data): Remove { } around @cindex. - -Mon Nov 4 19:07:05 1996 Ulrich Drepper <drepper@cygnus.com> - - * malloc/calloc.c: Check for overflow before trying to allocate - memory. Proposed by Neil Matthews <nm@adv.sbc.sony.co.jp>. - -Fri Nov 1 18:18:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * manual/llio.texi (Operating Modes): Add missing arguments to - @deftypevr in O_NONBLOCK description. - - * manual/time.texi (Time Zone Functions): Enclose type name in - braces in description of tzname. FIXME: this does not yet work - correctly in info. - -Sun Nov 3 17:29:06 1996 Ulrich Drepper <drepper@cygnus.com> - - * features.h: Add X/Open macros. - * posix/unistd.h: Define X/Open macros. - * sysdeps/generic/confname.h: Add _SC_XOPEN_XCU_VERSION, - _SC_XOPEN_UNIX, _SC_XOPEN_CRYPT, _SC_XOPEN_ENH_I18N, - _SC_XOPEN_SHM, _SC_2_CHAR_TERM, _SC_2_C_VERSION, and _SC_2_UPE. - * sysdeps/posix/sysconf.c: Handle new constants. - * sysdeps/stub/sysconf.c: Likewise. - * sysdeps/unix/sysv/linux/posix_opt.h: Add definition of _XOPEN_SHM. - - * catgets/catgets.c (catopen): Set errno to ENOMEM when - we run out of memory. - (catgets): Set errno to EBADF when catalog handle is invalid. - Set errno to ENOMSG when translation is not available. - (catclose): Set errno to EBADF when catalog handle is invalid. - - * ctype/ctype.h: Declare isascii and toascii when __USE_XOPEN. - Likewise for _toupper and _tolower. - - * manual/arith.texi: Document strtoq, strtoll, strtouq, strtoull, - strtof, and strtold. - * manual/math.texi: Document HUGE_VALf and HUGE_VALl. - * manual/stdio.h: Document ' flag for numeric formats of scanf. - * manual/users.texi: Document that cuserid shouldn't be used. - - * misc/Makefile (routines): Add dirname. - (headers): Add libgen.h. - (tests): Add tst-dirname. - * misc/dirname.c: New file. - * misc/libgen.h: New file. - * misc/tst-dirname.c: New file. - - * misc/search.h: Parameter of hcreate must be of type size_t. - * misc/hsearch.c: Likewise. - * misc/hsearch_r.c: Likewise for hcreate_r. - * misc/search.h: Parameters of insque and remque must be `void *'. - * misc/insremque.c: Likewise. - - * posix/unistd.h: Move declarations of mktemp and mkstemp to... - * stdlib/stdlib.h: ...here. - * posix/unistd.h [__USE_XOPEN]: Add prototypes for crypt, setkey, - encrypt, and swab. - - * stdio-common/printf-parse.h (struct printf_spec): Add pa_wchar - and pa_wstring. - (parse_one_spec): Remove Linux compatibility code. - Recognize %C and %S formats. - * stdio-common/printf.h: Add PA_WCHAR and PA_WSTRING. - * stdio-common/vfprintf.c: Add implementation of %C and %S format. - * stdio-common/vfscanf.c: Likewise for scanf. - - * stdlib/l64a.c: Return value for 0 must be the empty string. - * stdlib/stdlib.h: Declare reentrant function from rand48 family - only if __USE_REENTRANT. - Declare rand48 functions also if __USE_XOPEN. - - * stdlib/strtol.c: Return 0 and set errno to EINVAL when BASE is - not a legal value. - Return 0 and set errno to EINVAL when strou* sees negativ number. - * stdlib/tst-strtol.c: De-ANSI-fy. - Change expected results for test of unsigned function and negative - input. - - * string/stratcliff.c: Prevent warnings. - * string.h: Move declaration of swab to <unistd.h>. - * string/swab.c: De-ANSI-fy. - - * sysdeps/posix/cuserid.c: Implement using getpwuid_r. - * sysdeps/posix/mkstemp.c: Include <stdlib.h> for prototype. - * sysdeps/posix/mktemp.c: Likewise. - * sysdeps/stub/mkstemp.c: Likewise. - * sysdeps/stub/mktemp.c: Likewise. + * hurd/report-wait.c (_S_msg_describe_ports): New function. - * 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. + * configure.in: Add AC_PROG_LN_S check. + * config.make.in (LN_S): New variable. -Sun Nov 3 03:21:28 1996 Heiko Schroeder <Heiko.Schroeder@post.rwth-aachen.de> +Sun May 5 03:10:44 1996 Ulrich Drepper <drepper@cygnus.com> - * locale/programs/ld-numeric.c (numeric_output): Compute idx[0] - correctly. + * misc/efgcvt_r.c (ecvt_r): Work aroung gcc bug. gcc does + not know about weak aliases now and optimizes necessary `if' + statement away. -Sat Nov 2 17:44:32 1996 Ulrich Drepper <drepper@cygnus.com> + * posix/unistd.h: Add swapoff prototype. - * sysdeps/posix/cuserid.c: Use reentrant functions. - * manual/users.texi: Tell that cuserid is marked to be withdrawn in - XPG4.2. + * sysdeps/generic/confname.h: Add even more POSIX.4 symbols. -Sat Nov 2 14:26:37 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/posix/fpathconf.c (__fpathconf): Get information + for _PC_PATH_MAX from fstatfs function if available. - Linus said he will make sure no system call will return a value - in -1 ... -4095 as a valid result. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Correct test for error. - * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise. + * sysdeps/posix/sysconf.c: Add code to handle _SC_AIO_LISTIO_MAX, + _SC_AIO_MAX, _SC_AIO_PRIO_DELTA_MAX, _SC_DELAYTIMER_MAX, + _SC_MQ_OPEN_MAX, _SC_MQ_PRIO_MAX, _SC_RTSIG_MAX, + _SC_SEM_NSEMS_MAX, _SC_SEM_VALUE_MAX, _SC_SIGQUEUE_MAX, and + _SC_TIMER_MAX. + * sysdeps/unix/sysv/sysv4/sysconf.c: Ditto. -Sat Nov 2 16:54:49 1996 NIIBE Yutaka <gniibe@mri.co.jp> + * sysdeps/stub/swapoff.c: New file. Stub version for swapoff + function. + + * sysdeps/unix/syscalls.list: Add swapoff. + + * sysdeps/unix/sysv/linux/Dist: Add sys/acct.h. + + * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc] + (sysdep_routines): Add mount, umount, llseek, setfsgid, setfsuid, + sysinfo, and uselib. + (headers): Add sys/sysinfo.h. - * 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/gethostid.c: Prevent warning. - * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location): Make - it a weak symbol. - * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location): Likewise. + * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == misc] + (sysdep_routines): Add ioperm, iopl, and vm86. + (headers): Add sys/perm.h and sys/vm86.h. -Tue Nov 5 00:04:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + * sysdeps/unix/sysv/linux/i386/sys/perm.h: New file. Contains + prototypes for iopl and ioperm. - * stdio-common/vfprintf.c: Include <libc-lock.h>. + * sysdeps/unix/sysv/linux/i386/sys/vm86.h: New file. Contains + prototype for vm86. -Mon Nov 4 16:57:42 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + * sysdeps/unix/sysv/linux/i386/syscalls.list: New file. Add + vm86 system call. - * sysdeps/mach/hurd/ttyname_r.c (ttyname_r): Change prototype to - match POSIX.1c. + * sysdeps/unix/sysv/linux/sys/acct.h: New file. Contains + prototypes for acct function. - * sysdeps/stub/lockfile.c [! USE_IN_LIBIO]: Second definition of - __internal_funlockfile (in terms of itself) should actually be a - definition of __funlockfile. + * sysdeps/unix/sysv/linux/sys/socket.h: Provide real header + file with prototypes. + + * sysdeps/unix/sysv/linux/sys/sysinfo.h: New file. Contains + prototype for sysinfo function. + + * sysdeps/unix/sysv/linux/syscalls.list: Add flock, ioperm, iopl, + llseek, setfsgid, setfsuid, sysinfo, and uselib. + + * sysdeps/unix/sysv/linux/sysconf.c: Instead of duplicating + posix/sysconf.c now only handle cases different to that + implementation. - * pwd/pwd.h: Get `size_t' from <stddef.h>. - * grp/grp.h: Likewise. - * shadow/shadow.h: Likewise. +Tue May 7 15:08:19 1996 Miles Bader <miles@gnu.ai.mit.edu> + + * stdio/linewrap.c (__line_wrap_output): Renamed from lwoutput + (all references changed). Now exported. + + * stdio/linewrap.c (struct data): Type deleted (moved to linewrap.h). + (wrap_stream, unwrap_stream, lwclose, lwfileno, lwoutput, + line_wrap_stream, line_unwrap_stream): Use struct line_wrap_data + instead of struct data. + (lwoutput, line_wrap_stream, line_unwrap_stream): Rename various + occurences of `wrap' and `wrapmargin' to `wmargin'. + (line_wrapped, line_wrap_lmargin, line_wrap_set_lmargin, + line_wrap_rmargin, line_wrap_set_rmargin, line_wrap_wmargin, + line_wrap_set_wmargin, line_wrap_point): New functions. + * stdio/linewrap.h: New file. + * stdio/Makefile (headers): Add linewrap.h. + +Tue May 7 14:19:12 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + + * sysdeps/unix/sysv/linux/i386/Makefile: File removed. + + * stdio/stdio.h: Remove line_wrap_stream, line_unwap_stream decls. + + * sysdeps/unix/sysv/linux/schedbits.h: New file. - * 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): +Tue May 7 13:47:02 1996 Miles Bader <miles@gnu.ai.mit.edu> + + * stdio/linewrap.c (struct data): Make margin fields not-pointers. + (lwoutput): Adjust uses acordingly. + +Tue May 7 10:51:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + + * sysdeps/mach/hurd/fdatasync.c: New file. + * sysdeps/mach/hurd/fsync.c: Pass new flag to file_sync. + + * sysdeps/mach/hurd/xmknod.c: Pass new flag to dir_link. + * sysdeps/mach/hurd/symlink.c: Likewise. + * sysdeps/mach/hurd/link.c: Likewise. + * sysdeps/mach/hurd/bind.c: Likewise. + * hurd/hurdsig.c (write_corefile): Likewise. + + * hurd/hurdsig.c (write_corefile): Pass cttyid port to crash server. + + * sysdeps/mach/hurd/fpathconf.c: RPC takes int pointer, not long int. + + * sysdeps/mach/hurd/_exit.c (_hurd_exit): Pass sigcode arg to + proc_mark_exit. + * sysdeps/mach/hurd/dl-sysdep.c (_exit): Likewise. + + * sysdeps/mach/hurd/wait4.c: Pass sigcode arg to proc_wait. + + * sysdeps/mach/hurd/rename.c: Pass new flag to dir_rename. + + * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise): Use struct + hurd_signal_detail. + * hurd/catch-exc.c (_S_catch_exception_raise): Likewise. + * hurd/hurd-raise.c (_hurd_raise_signal): Likewise. + * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Likewise. + * sysdeps/mach/hurd/setitimer.c (restart_itimer): Likewise. - * hurd/hurdsig.c (write_corefile): Fix typo. + * hurd/hurd/signal.h: Fix _hurd_exception2signal prototype. - * sysdeps/mach/hurd/sigwait.c: New file. + * hurd/hurdsig.c (write_corefile): Take const struct + hurd_signal_detail * arg. Pass all details to crash_dump_task. + (_hurd_internal_post_signal): Pass DETAIL to write_corefile. + (_hurd_internal_post_signal: suspend): Pass code and error to + proc_mark_stop. -Sat Nov 2 01:48:47 1996 Ulrich Drepper <drepper@cygnus.com> + * hurd/hurdprio.c (_hurd_priority_which_map): Pass flags arg to + proc_getprocinfo by reference. - * sysdeps/unix/sysv/linux/errnos.h: Move declaration of errno - and __errno_location to correct position. + * wcsmbs/wcwidth.c, wcsmbs/wcswidth.c: Fixed typos. -Thu Oct 31 22:51:25 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/sys/mman.h: Fixed typo. - * Makefile (distribute): Add rellns-sh. - * rellns-sh: New file. - * Makerules (make-link): Use rellns-sh. - * time/Makefile ($(installed-localtime-file)): Likewise. + * sysdeps/stub/sched_getp.c: Add missing #include <sys/types.h>. + * sysdeps/stub/sched_sets.c: Likewise. + * sysdeps/stub/sched_setp.c: Likewise. + * sysdeps/stub/sched_rr_gi.c: Likewise. + * sysdeps/stub/sched_gets.c: Likewise. -Thu Oct 31 11:33:01 1996 Ulrich Drepper <drepper@cygnus.com> + * hurd/hurdsig.c: Use struct hurd_signal_detail. + * hurd/hurd/fd.h (_hurd_fd_error): Likewise. + * sysdeps/mach/hurd/sysd-stdio.c (fd_fail): Likewise. - * 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. +Mon May 6 09:51:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * 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. + * stdio/linewrap.c: New file. + * stdio/Makefile (routines): Add linewrap. + * stdio/stdio.h [__USE_GNU]: Declare line_wrap_stream, + line_unwrap_stream. - * sysdeps/generic/putenv.c: Correct layout to fit in libit. - * sysdeps/generic/setenv.c: Likewise. - * stdlib/strtol.h: Likewise. +Mon May 6 14:53:26 1996 Ulrich Drepper <drepper@cygnus.com> - * time/sys/time.h: Define __need_timeval and include <timebits.h>. - Remove definition of struct timeval. - * sysdeps/stub/timebits.h [__need_timeval]: Define struct timeval - using `time_t' for members. - * sysdeps/unix/sysv/linux/timebits.h [__need_timeval]: Likewise. - * sysdeps/unix/sysv/linux/alpha/timebits.h: New file. Same - as old Linux specific version. + * time/strftime.c (week): Add third parameter telling how + many days must be in new year so that it is called week 1. + (Following ISO 8601). + Correct computation for %U and %V formats when day was first + day of the week. + (strftime): Implement %V format according to Spec1170. -Thu Oct 31 00:01:39 1996 Ulrich Drepper <drepper@cygnus.com> +Mon May 6 17:01:09 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - * 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. + * hurd/hurd/signal.h (_hurd_intr_rpc_mach_msg): New declaration. -Wed Oct 30 02:01:17 1996 Richard Henderson <rth@tamu.edu> +Sat May 4 05:44:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * 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. + * hurd/hurd/sigpreempt.h (struct hurd_signal_preempter): Change + prototype of `preempter' elt to use struct hurd_signal_detail. -Thu Oct 29 16:09:42 1996 Craig Metz <cmetz@inner.net> + * hurd/hurd/signal.h (struct hurd_signal_detail): New type. + (struct hurd_sigstate): Make `pending_data' member an array of that. + Use the new type in several decls. - * sysdeps/posix/getaddrinfo.c: Use buffer limits for inet_ntop - function. + * locale/setlocale.c (_nl_C_name): Variable removed. + * locale/C_name.c: New file. + (_nl_C_name): Put it here instead. + * locale/Makefile (aux): Add C_name. -Tue Oct 29 12:37:22 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/mach/hurd/dl-sysdep.c (open): Don't pass io port in + auth_user_authenticate rpc. + (open): Avoid using strtol in digit conversion for "fd/N" magic. + (_dl_sysdep_start): Likewise for memobj name in magic switches. - * Makerules: Create symbolic links for linking in $(libdir). - (make-link): Use absolute path for destination if this is not in - the same directory. + * elf/Makefile (reloc-link): New variable. + (dl-allobjs.so): New target, link together $(rtld-routines). + (librtld.so): Depend on that instead of the rtld components. + (generated): Add dl-allobjs.so. - * elf/rtld.c (dl_main): When verifying don't check the name of - the dynamic linker. + * hurd/hurd-raise.c (_hurd_raise_signal): Pass sigcode in msg_sig_post + rpc. - * shlib-versions: Change entries for Hurd specific libs from - *-*-gnu* to *-*-gnu?* so that i586-pc-linux-gnu does not match - these entries. + * hurd/hurdmsg.c (_S_msg_set_environment): Use argz.h functions + instead of _hurd_split_args. + (_S_msg_*_exec_flags): Functions removed. + (_S_msg_startup_dosync): Stub removed. - * 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. +Sat May 4 02:11:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * 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. + * sysdeps/mach/hurd/ptrace.c: Set _hurdsig_traced instead of + EXEC_TRACED bit in _hurd_exec_flags. + Pass sigcode arg in msg_sig_post_untraced rpc. - * libio/libio.h: Don't declare _IO_flockfile and _IO_funlockfile - weak. + * sysdeps/mach/hurd/access.c: Don't pass io port in + auth_user_authenticate rpc. + + * posix/sched.h: Fix typos. + + * sysdeps/mach/hurd/fork.c: Use new critical section lock. + Clear _hurdsig_traced instead of EXEC_TRACED. + + * sysdeps/stub/nanosleep.c (nanosleep): Fix typo. + + * wcsmbs/wcstol.c: Find strtol.c in ../stdlib. + * wcsmbs/wcstof.c: Find strtod.c in ../stdlib. + * wcsmbs/wcstod.c: Likewise. + * wcsmbs/wcstold.c: Likewise. + + * wcsmbs/wcwidth.h: Find cname-lookup.h in ../wctype. + + * string/envz.c (envz_entry): Use const. + (envz_get, envz_remove): Likewise. + (envz_entry): Return char *, not const char *. + + * string/envz.h: Fix decl. + + * string/argz-create.c: Use const in prototype. + * string/argz-next.c: Likewise. + +Fri May 3 13:32:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + + * sysdeps/mach/hurd/sigprocmask.c: Pass sigcode arg to msg_sig_post. + * sysdeps/mach/hurd/i386/sigreturn.c: Likewise. + * sysdeps/mach/hurd/sigsuspend.c: Likewise. + * sysdeps/mach/hurd/kill.c: Likewise. + + * hurd/hurdexec.c (_hurd_exec): Use new critical section lock. + * hurd/catch-exc.c (_S_catch_exception_raise): Likewise. + * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Likewise. + * hurd/thread-cancel.c (hurd_thread_cancel, hurd_check_cancel): + Likewise. + * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise. + * sysdeps/mach/hurd/sigaction.c: Likewise. + + * sysdeps/mach/hurd/errnos.awk: Don't use ARGV in comment; it can + change meaninglessly. + + * hurd/hurd/signal.h (struct hurd_sigstate): Replace critical section + flag with a spin lock. + (_hurd_critical_section_lock): Use spin_try_lock on that to see if we + get it. No need to take SS->lock at all. + (_hurd_critical_section_unlock): Unlock SS->critical_section_lock + instead of clearing the old flag member. + * hurd/hurdsig.c (_hurd_internal_post_signal): Use spin_lock_locked to + test the critical section state. + + * hurd/hurdinit.c (_hurd_init): Set _hurdsig_traced from the intarray. + + * hurd/hurdkill.c (_hurd_sig_post): Pass 0 sigcode in msg_sig_post. + + * hurd/hurdsig.c (_hurd_internal_post_signal): Test _hurdsig_traced + instead of testing (_hurd_exec_flags & EXEC_TRACED). + (_S_msg_sig_post): Take sigcode arg and pass it through. + (_S_msg_sig_post_untraced): Likewise. + (reauth_proc): Don't pass proc port in auth_user_authenticate. + + * hurd/setauth.c (_hurd_setauth): Don't pass object ports in + auth_user_authenticate RPCs, just the one-off rendezvous port. + * hurd/dtable.c (reauth_dtable): Likewise. + * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Likewise. + + * hurd/hurdexec.c (_hurd_exec): Pass 0 flags to file_exec. + Pass sigcode arg to msg_sig_post. + + * string/argz.h (argz_create): Use const in prototype. + + * hurd/hurdinit.c (_hurd_proc_init): Test _hurdsig_traced instead of + testing (_hurd_exec_flags & EXEC_TRACED). + Pass sigcode arg to msg_sig_post. + + * hurd/hurd.h: Declare _hurdsig_traced. + + * string/argz.h (__argz_next): Cast ENTRY before returning it. + + * hurd/hurd/signal.h (_hurd_critical_section_unlock): Pass sigcode arg + to msg_sig_post. + + * hurd/path-lookup.c: New file. + * hurd/Makefile (routines): Add path-lookup. + * hurd/hurd/lookup.h: Declare file_name_path_scan, + hurd_file_name_path_lookup. + * hurd/hurd.h: Declare file_name_path_lookup. + + * sysdeps/mach/hurd/select.c: The io_select rpc no longer has a TAG_ID + argument. Instead, use a separate reply port for each RPC and put them + all in a port set to wait for slow replies. + + * intl/Makefile (CPPFLAGS): Change $(nlsdir) to $(i18ndir) in + LOCALE_ALIAS_PATH. + +Fri May 3 03:14:02 1996 Ulrich Drepper <drepper@cygnus.com> + + * intl/Makefile (routines): Add l10nflist and explodename. + (distribute): Add loadinfo.h and locale.alias. + (install-others): New variable to install locale.alias. + + * intl/dcgettext.c, intl/finddomain.c, intl/gettextP.h, + intl/loadmsgcat.c: Adapt for upcoming gettext-0.10.13. Some code + is now shared with the locale implementation. + + * intl/explodename.c, intl/l10nflist.c, intl/loadinfo.h: New file. + Extracted from finddomain.c. This is also used in the locale + implementation. + + * intl/locale.alias: New file. Locale alias database compatible + with X Window System's locale alias file. Can now be used in + locale and gettext code. + + * libio/stdio.h: Add prototypes for asprint and vasprintf. + + * locale/C-collate.c, locale/C-ctype.c, locale/C-messages.c, + locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c: Add new + field in structure with name of locale ("C" in this case). + + * locale/Makefile (routines): Add findlocale. + + * locale/findlocale.c: New file. Instead of trying to load the + directly described file we now try to be much smarter when this + fails. Use the same code as gettext does. + + * locale/loadlocale.c, locale/setlocale.c: Rewrite to know about + new loading scheme. + + * locale/localeinfo.h: Adapt prototypes and declarations for new + setlocale implementation. Remove definition of u32_t type. We + now use u_int32_t from <sys/types.h>. + + * locale/programs/charset.h (ILLEGAL_CHAR_VALUE): Provide type + with constant. + + * locale/programs/config.h, locale/lc-collate.c, + locale/localeinfo.h, locale/programs/ld-collate.c, + locale/programs/ld-ctype.c, locale/programs/ld-messages.c, + locale/programs/ld-monetary.c, locale/programs/ld-numeric.c, + locale/programs/ld-time.c, locale/weight.h, string/strcoll.c: + Change to use u_int32_t and u_int16_t. + + * locale/programs/localedef.c (construct_output_path): Change name + of output locale to contain normalized form of the character set + portion. + + * string/Makefile (routines): Add agrz-ctsep and argz-next. + (tests): Add tst-strlen. + + * string/argz-ctsep.c: New file. Implement reverse operation + from argz-stringify. + + * string/argz-next.c: Non-inline version of function from argz.h. + + * string/argz.h, string/envz.h: Make usable as global header file. + + * string/envz.c: Fix declarations to use size_t where prototypes + say so. + + * string/tst-strlen.c: New file. Another test for critical + situation in strlen implementations. + + * sysdeps/i386/i586/strlen.S: Fix bug with highest byte in word + being zero. + + * wctype/test_wctype.c: Fix controlling comparison after change to + 32 bit character class array. + +Fri May 3 12:53:12 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + + * sysdeps/unix/sysv/linux/sys/socket.h: Remove spurious doubled line. + +Thu May 2 22:50:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/unix/sysv/linux/getpriority.c: New file. + * sysdeps/unix/sysv/linux/syscalls.list: Add s_getpriority. + +Thu May 2 22:41:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/unix/sysv/linux/m68k/fpu_control.h (_FPU_DEFAULT): + Disable all exceptions. + +Thu May 2 22:33:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c, + sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c, + sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c, + sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c, + sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c, + sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c, + sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c, + sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c, + sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c: Don't + define __NO_MATH_INLINES, which is already defined on command + line. + +Thu May 2 22:18:28 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/libm-ieee754/e_j0f.c (__ieee754_j0f, __ieee754_y0f): + Replace 0x80000000 by 0x48000000. + * sysdeps/libm-ieee754/e_j1f.c (__ieee754_j1f): Likewise. + +Thu May 2 21:30:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sunrpc/svc_simple.c: Make global variable pl local to + registerrpc. + +Thu May 2 00:24:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * time/Makefile (tz-cflags): New variable. + (CFLAGS-tzfile.c): New variable. + (CFLAGS-zic.c): Add $(tz-cflags). + (tz-cc): Remove variable. + ($(objpfx)tzfile.o, $(objpfx)zic.o): Remove targets. + +Wed May 1 09:10:04 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + + * sysdeps/mach/hurd/getcwd.c: Jump out of both loops when we find a + name, instead of checking for reaching end of buffer, which happens + when the match is the last entry in the buffer. + + * time/strftime.c: Use canonical autoconf nugget for time.h+sys/time.h + include. + +Mon Apr 29 02:48:26 1996 Ulrich Drepper <drepper@cygnus.com> - * 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 + * ctype/ctype-info.c: (__ctype_width): New variable. + (__ctype_names): Initialize correctly without offset. + + * locale/C-collate.c, locale/C-ctype.c, + locale/C-messages.c, locale/C-monetary.c, + locale/C-numeric.c, locale/C-time.c: Change copyright. + + * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Correct + endianess for initialization value. + + * locale/lc-ctype.c (current): Add parameter for offset. + (__ctype32_b, __ctype_width): Add initialization for these variables. - * stdio-common/printf_fp.c: Initialize to_shift. - * stdio-common/test_rdwr.c: Add cast. - * stdio-common/vfprintf.c: Add casts and use correct types to - prevent warnings. - * stdio-common/vfscanf.c: Initialize str and strptr. - * sysdeps/libm-ieee754/e_jnf.c: Use correct types to prevent warnings. - * sysdeps/libm-ieee754/e_pow.c: Likewise. - * sysdeps/libm-ieee754/e_powf.c: Likewise. - * sysdeps/libm-ieee754/e_rem_pio2f.c: Likewise. - * time/test-tz.c: Likewise. - - * manual/creature.texi: Document _REENTRANT and _THREAD_SAFE. - * manual/libc.texinfo: Prevent makeinfo failure by avoiding - libc.cp index. This must be fixed. - * manual/nss.texi: Adapt for correct POSIX.1c interface of - reentrant functions. - * manual/users.texi: Document netgroup functions. - - * po/es.po: Updated. - * po/fr.po: Updated. - - * posix/fnmatch.c: Change to match libit version. - - * posix/unistd.h: Change prototype for ttyname_r to match POSIX.1c. - * sysdep/posix/ttyname_r.c: Likewise. - - * stdlib/atexit.h (__new_exitfn): Add internal locking. - * stdlib/exit.c: De-ANSI-fy. Handle new ef_us value for flavor. - * stdlib/exit.h: De-ANSI-fy. Define new ef_us value for flavor. - * stdlib/random.c (__srandom): Add internal locking. - (__initstate): Likewise. - (__setstate): Likewise. - (__random): Likewise. - -Mon Oct 28 22:28:37 1996 NIIBE Yutaka <gniibe@mri.co.jp> - - * sysdeps/generic/crypt-entry.c (crypt_r): Use __set_errno. - (crypt): Likewise. - * resolv/gethnamaddr.c (gethostbyname2): Likewise. - * sysdeps/generic/uname.c: Likewise. - * sysdeps/posix/rename.c: Likewise. - * sysdeps/stub/setrlimit.c: Likewise. - * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Fix typo. + * locale/programs/charmap.c: Finish support for WIDTH information. + (new_width): New function. + + * locale/programs/charset.h (width_rule): new data structure. + (charset_t): Add elements for width information. + + * locale/programs/ld-ctype.c (locale_ctype_t): Add element + for width information. + (allocate_arrays): Add new argument for charset. + (ctype_finish): Make sure all characters named in charset + width table are known to name table. + (ctype_output): Correct handling of class and map name + information and write out width information. + (find_idx): Prepare for being called with NULL pointer as + TABLE argument. This means only allocate name entry. + (allocate_arrays): Correct handling of array element -1. + Because EOF == -1 the value of element 127 must *not* be + mirrored here. + Fill width information from charset tables. + + * locale/programs/localedef.c (main): Correct loop over all + categories after change of order from Thu Mar 28 14:22:51 1996. + Add new charset argument to call of `write_all_categories'. + + * locale/programs/locales.h (ctype_finish, ctype_output): New + charset argument. -Sun Oct 27 11:12:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * locale/programs/locfile.c (write_all_categories): Call + `ctype_output' with additional argument charset. - * 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. + * posix/getconf.c (vars): Add _POSIX_SYNC_IO, _POSIX_ASYNC_IO, + and _POSIX_PRIO_IO definitions. - * locale/programs/ld-time.c (STRARR_ELEM): Fix format string. + * posix/posix2_lim.h: Add definition of _POSIX2_CHARCLASS_NAME_MAX + and CHARCLASS_NAME_MAX. - * locale/programs/ld-ctype.c (ctype_class_newP): Add missing - argument for format string. - (ctype_map_newP): Likewise. - (set_class_defaults): Fix format string. + * posix/unistd.h: Document _POSIX_SYNC_IO, _POSIX_ASYNC_IO, + and _POSIX_PRIO_IO. - * locale/programs/localedef.c (construct_output_path): Putting an - explicit \0 into the format string does not work, use %c. + * stdlib/grouping.h: Prepare for use in wide string functions. -Sat Oct 26 20:38:36 1996 Richard Henderson <rth@tamu.edu> + * stdlib/stdlib.h: Correct prototypes for __strto*_internal + functions. - * Makerules: Install all shared libraries in $(slibdir). + * stdlib/strtod.c: Extend for use as `wcsto{f,d,ld}'. - * login/Makefile: Build libutil.so in others pass after - libc.so is created. + * stdlib/strtol.c: Extend for use as `wcsto{l,ul,q,uq}'. - * misc/mntent.h: Include <paths.h> for _PATH_MNTTAB & _PATH_MOUNTED. + * string/strcoll.c: Extend for use as `wcscoll'. - * string/stratcliff.c: Allocate 3 pages instead of one, then use - mprotect so that we know that the adjacent pages are inaccessible. + * string/strxfrm.c: Extend for use as `wcsxfrm'. - * 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. + * sysdeps/generic/confname.h: Add definition of _PC_SYNC_IO, + _PC_ASYNC_IO, _PC_PRIO_IO and _SC_CHARCLASS_NAME_MAX. + * sysdeps/generic/stpncpy.c: Correct return value. -Thu Oct 24 17:43:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/posix/fpathconf.c: Add handling of _PC_SYNC_IO, + _PC_ASYNC_IO, and _PC_PRIO_IO. - * MakeTAGS (sysdep-dirs): Fix typo. + * sysdeps/posix/sysconf.c: Add handling of _SC_REALTIME_SIGNALS, + _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO, + _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC, + _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE, + _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_SEMAPHORES, + _SC_SHARED_MEMORY_OBJECTS, and _SC_CHARCLASS_NAME_MAX. + * sysdeps/stub/sysconf.c: Ditto. + * sysdeps/unix/sysv/sysv4/sysconf.c: Ditto. -Thu Oct 24 17:32:57 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + * sysdeps/unix/sysv/linux/Dist: Add sys/sysctl.h. - * 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. + * sysdeps/unix/sysv/linux/Makefile [subdir == misc] + (sysdep_routines): Add s_sysctl and sysctl. -Wed Oct 23 03:45:22 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/sys/mman.h: Add declaration of mremap. - * Makefile (headers): Don't mention libc-version.h. - (install-others): ...but here. + * sysdeps/unix/sysv/linux/sys/socket.h: New file. Wrapper + around kernel header. -Tue Oct 22 21:38:21 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/sys/sysctl.h: New file. Define + interface to `sysctl' function. - * version.h: Bump version number to 1.97. + * sysdeps/unix/sysv/linux/syscalls.list: Add mremap and _sysctl. - * 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. + * sysdeps/unix/sysv/linux/sysconf.c: Add handling of + _SC_CHARCLASS_NAME_MAX. - * malloc/free.c: Add cast to prevent warning. - * malloc/malloc-walk.c: Likewise. - * malloc/ralloc.c: Likewise. - * malloc/realloc.c: Likewise. + * sysdeps/unix/sysv/linux/sysctl.c: new file. Implement caller + of _sysctl system call. - * 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 <gniibe@mri.co.jp> - - * elf/dl-minimal.c: Don't define `dgettext' replacement but - `dcgettext'. When optimizing the macros in <libintl.h> define - `dgettext' as a macro and so this function will never be called. - -Mon Oct 21 15:41:59 1996 Ulrich Drepper <drepper@cygnus.com> - - * 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. + * sysvipc/Makefile (routines): Add ftok. - * sysdeps/unix/sysv/i386/time.S: Add PSEUDO_END to get - __syscall_error defined.. + * sysvipc/ftok.c: use variable `proj_id' not `id'. Patch by + David Mosberger-Tang. -Sat Oct 19 12:27:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * wcsmbs/Makefile (routines): Add wcpcpy, wcpncpy, wcstol, + wcstoul, wcstoq, wcstouq, wcstod, wcstold, wcstof, wcscoll, + wcsxfrm, wcwidth, and wcswidth. - * 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. + * wcsmbs/wchar.h: Add declarations for wcpcpy, wcpncpy, wcstol, + wcstoul, wcstoq, wcstouq, wcstod, wcstold, wcstof, wcscoll, + wcsxfrm, wcwidth, and wcswidth. + Declare internal interfaces for wcsto* functions. + [OPTIMIZE]: Define inline functions for wcsto* functions to + call internal interface functions. - * sysdeps/generic/sysdep.h (END): Provide default empty - definition. - * sysdeps/unix/sysv/linux/m68k/sysdep.h (END): Redefine to use - size directive. - (PSEUDO): Don't include SYSCALL_ERROR_HANDLER. - (PSEUDO_END): Include it here instead. - (SYSCALL_ERROR_HANDLER): Remove type directive. - * sysdeps/m68k/bsd-_setjmp.S: Use END, not PSEUDO_END. - * sysdeps/m68k/bsd-setjmp.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. - (__syscall_error): Can't use ENTRY macro. - -Sat Oct 19 12:13:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/unix/sysv/linux/syscalls.list (getresuid, setresuid): - Set caller to EXTRA. - -Mon Oct 21 01:32:36 1996 Ulrich Drepper <drepper@cygnus.com> - - * elf/rtld.c (dl_main): Move initialization of `_dl_starting_up' - to beginning of function. So libc functions can use this flag. - * sysdeps/generic/_strerror.c: Don't use dgettext for message - translation while `_dl_starting_up' is nonzero. - - * elf/dl-deps.c (_dl_map_object_deps): Add new parameter - TRACE_MODE. - Pass parameter value to _dl_map_object. - * elf/dl-load (_dl_map_object): Add new parameter TRACE_MODE. - If TRACE_MODE is nonzero don#t signal error when shared lib - is not found. Instead create fake entry for link map. - * dl-open.c (dl-open): Pass 0 for new argument to _dl_map_object. - * dl-runtime.c (_dl_object_relocation_scope): Pass 0 for new - argument to _dl_map_object_deps. - * elf/link.h: Add new parameter TRACE_MODE for prototypes of - _dl_map_object and _dl_map_object_deps. - * elf/rtld.c (dl_main): Pass 0 for new argument to _dl_map_object - and _dl_map_object_deps. - When mode == trace test for l_opencount == 0 before printing - link information since this means the lib is not found. - -Sun Oct 20 22:19:58 1996 Ulrich Drepper <drepper@cygnus.com> - - * rpm/template: Add INSTALL to %doc line to follow copyright - restrictions which demand the distribution of the copyright - messages in INSTALL even for binary distributions. - - * features.h: Rename to... - * features.h.in: ...this. Change value of __GNU_LIBRARY__ to 2 - (for major version numberof package) and add __GNU_LIBRARY_MINOR__ - and __GNU_LIBRARY_INTERFACE__. - * Makefile ($(objpfx)features.h): New rule to generate features.h - from template features.h.in. - - * sysdeps/unix/sysv/linux/getsysstats.c: Include <paths.h>. - -Sun Oct 20 00:00:13 1996 Richard Henderson <rth@tamu.edu> - - * locale/programs/linereader.c (lr_open): Cast away const before free. - (lr_close): Likewise. - - * misc/mntent.h: Move _PATH_MNTTAB & _PATH_MOUNTED to paths.h. - * misc/paths.h: Move to ... - * sysdeps/generic/paths.h: ... here. - * paths.h: Remove. - * sysdeps/unix/sysv/linux/paths.h: New file. Correct _PATH_STDPATH, - _PATH_MAILDIR, _PATH_MOUNTED, _PATH_UNIX to comply with the fsstd. - - * nss/nss_db/db-netgrp.h: Include <string.h>. - - * stdio-common/psignal.c: De-ansidecl-ify. Allow NULL entries in - _sys_siglist, which result in the "Unknown signal" message. - * string/strsignal.c: Likewise. - * sysdeps/generic/Makefile [stdio-common]: If $(inhibit-siglist), - don't auto-generate siglist.c. - * sysdeps/unix/sysv/linux/Makefile [stdio-common]: Set inhibit-siglist. - * sysdeps/unix/sysv/linux/siglist.c: New file. Not needing to - autogenerate makes bootstrapping and cross-compiling much easier. - * sysdeps/unix/sysv/linux/siglist.h: New file. + * wcsmbs/wcpcpy.c, wcsmbs/wcpncpy.c: New files. Implement non- + standard function equivalent to stpcpy/stpncpy. - * stdlib/longlong.h: Prototype __udiv_qrnnd. + * wcsmbs/wcscoll.c: Implement `wcscoll' function by using + `strcoll' implementation. - * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_headers): Remove - sys/io.h. It is already added in .../linux/Makefile. + * wcsmbs/wcscpy.c, wcsmbs/wcsncpy.c: Use wint_t instead of + wchar_t. - * 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. + * wcsmbs/wcstod.c: Implement `wcstod' function by using `strtod' + implementation. + * wcsmbs/wcstof.c: Same for `wcstof'. + * wcsmbs/wcstold.c: Same for `strtold'. -Sun Oct 20 17:17:12 1996 Ulrich Drepper <drepper@cygnus.com> + * wcsmbs/wcstol.c: Implement `wcstol' function by using `strtol' + implementation. + * wcsmbs/wcstoq.c: Same for `wcstoq'. + * wcsmbs/wcstoul.c: Same for `wcstoul'. + * wcsmbs/wcstouq.c: Same for `wcstouq'. - 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. + * wcsmbs/wcswidth.c: Implement `wcswidth' function from X/Open + CAE. + * wcsmbs/wcwidth.c: Ditto for `wcwidth'. + * wcsmbs/wcwidth.h: Common function for definitions of above two + functions. -Sun Oct 20 13:02:34 1996 Ulrich Drepper <drepper@cygnus.com> + * wcsmbs/wcsxfrm.c: Implement `wcsxfrm function by using + `strxfrm implementation. - * sysdeps/stub/lockfile.c: Rename functions to __internal_*. - Make all old names weak alises so that they can be replaced - by libpthread. + * wctype/wctype.c: Remove case for `wctype_t' being 16 bit type. - * 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. + * wctype/wctype.h (wint_t): Protect against multiple definition. + (wctype_t): Always define as `unsigned long int'. - * 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. + * wctype.h: New file. Wrapper around wctype/wctype.h. - * grp/testgrp.c: Don't use perror for error cases since getgr* and - getpw* functions do not return usable error codes. +Tue Apr 30 17:30:46 1996 Miles Bader <miles@gnu.ai.mit.edu> -Sun Oct 19 23:05:32 1996 Jim Meyering <meyering@asic.sc.ti.com> + * hurd/hurdsig.c (_hurdsig_abort_rpcs): Add timeout argument to + interrupt_operation call. + (_hurdsig_interrupt_timeout): New variable. - * crypt/md5.c (md5_process_bytes): Used casting for pointer - arithmetic. + * hurd/report-wait.c (describe_number): Correctly allocate space + in DESCRIPTION for the digits in I. -Sun Oct 20 03:53:23 1996 Ulrich Drepper <drepper@cygnus.com> +Mon Apr 29 00:11:59 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * sunrpc/Makefile (others): Remove portmap here, too. + * hurd/hurdstartup.c (_hurd_split_args): Function removed. + (_hurd_startup): Use argz functions. -Sat Oct 19 17:42:24 1996 Ulrich Drepper <drepper@cygnus.com> + * hurd/hurdexec.c: Use argz functions. - * intl/locale.alias: Language for entry `czech' is `cs'. + * errno.h [!__error_t_defined] (error_t): New type. + * sysdeps/mach/hurd/errnos.awk: #define __error_t_defined after the + typedef in errnos.h. -Fri Oct 17 13:20:35 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de> + * string/envz.c, string/envz.h: New files. + * string/argz.h, string/argz-append.c, string/argz-count.c, + string/argz-create.c, string/argz-delete.c, string/argz-extract.c, + string/argz-insert.c, string/argz-stringify.c: New files. + * string/Makefile (routines): Add envz, argz-*. + (headers): Add argz.h, envz.h. - * sunrpc/etc.rpc: Update from ti-rpcsvc 2.3. +Sun Apr 28 14:14:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -Fri Oct 18 22:56:45 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/i386/Makefile: New file. - * 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. +Wed Apr 24 17:35:30 Ulrich Drepper <drepper@cygnus.com> -Fri Oct 18 12:17:09 1996 Enrique Melero <justine@iprolink.ch> + * inet/netinet/in.h, socket/sys/socket.h: Move to + sysdeps/generic/netinet/in.h, sysdeps/generic/sys/socket.h. + * netinet/in.h, sys/socket.h: Remove file. - * sysdeps/libm-ieee754/s_finitel.c: Change function name to - `finitel'. + * misc/Makefile (routines): Add fdatasync. -Fri Oct 18 00:01:10 1996 Ulrich Drepper <drepper@cygnus.com> + * posix/Makefile (headers): Add sched.h. + (routines): Add nanosleep, sched_setp, sched_getp, sched_sets, + sched_gets, sched_yield, sched_primax, sched_primin, sched_rr_gi. - * string/Makefile (tests): Add stratcliff. - * string/stratcliff.c: New file. Test for string function at - the edge of the usable memory. + * posix/getconf.c (vars): Add entries for _POSIX_REALTIME_SIGNALS, + _POSIX_PRIORITY_SCHEDULING, _POSIX_TIMERS, _POSIX_ASYNCHRONOUS_IO, + _POSIX_PRIORITIZED_IO, _POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, + _POSIX_MAPPED_FILES, _POSIX_MEMLOCK, _POSIX_MEMLOCK_RANGE, + _POSIX_MEMORY_PROTECTION, _POSIX_MESSAGE_PASSING, + _POSIX_SEMAPHORES, _POSIX_SHARED_MEMORY_OBJECTS. -Thu Oct 17 22:10:19 1996 Ulrich Drepper <drepper@cygnus.com> + * posix/sched.h: New file. Header for POSIX scheduling interface. - * Makerules ($(libdir)/libc.so): Fix typo. + * posix/unistd.h: Describe options from POSIX.4. + Add declaration of fdatasync. - * elf/ldd.sh.in: Test whether given file really exist and give - better message if it is not available. + * sysdeps/generic/confname.h: Add definition for + _SC_REALTIME_SIGNALS, _SC_PRIORITY_SCHEDULING, _SC_TIMERS, + _SC_ASYNCHRONOUS_IO, _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, + _SC_FSYNC, _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE, + _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, + _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS. -Thu Oct 17 04:25:38 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/generic/fdatasync.c: New file. Default implementation + simply uses fsync. - * sysdeps/unix/sysv/linux/sys/shm_buf.h: Add definition for - SHM_R and SHM_W. + * sysdeps/generic/netinit/in.h: Moved to here from inet/netinet/in.h. -Thu Oct 17 01:55:34 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/generic/schedbits.h: New file. System dependent + defintion for POSIX.4 scheduling interface. - * 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. + * sysdeps/generic/sys/socket.h: Moved to here from socket/sys/socket.h. - * po/Makefile (libc.pot): Fix typo. + * sysdeps/stub/nanosleep.c, sysdeps/stub/sched_getp.c, + sysdeps/stub/sched_gets.c, sysdeps/stub/sched_primax.c, + sysdeps/stub/sched_primin.c, sysdeps/stub/sched_rr_gi.c, + sysdeps/stub/sched_setp.c, sysdeps/stub/sched_sets.c, + sysdeps/stub/sched_yield.c: New file: Stub implementation + for systems missing these POSIX.4 system calls. -Sun Oct 13 20:52:07 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de> + * sysdeps/unix/sysv/linux/gnu/types.h, + sysdeps/unix/sysv/linux/ioctls.h: Use kernel header for + data type definitions. - 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. + * sysdeps/unix/sysv/linux/netinet/in.h: New file. Linux + specific version. - * sunrpc/rpc_tblout.c: New file. - * sunrpc/rpc_sample.c: Likewise. + * sysdeps/unix/sysv/linux/posix_opt.h: New file. Define POSIX + options applicable for Linux. -Thu Oct 17 00:26:20 1996 NIIBE Yutaka <gniibe@mri.co.jp> + * sysdeps/unix/sysv/linux/syscalls.list: Add definitions for + fdatasync, nanosleep, sched_setparam, sched_getparam, + sched_setscheduler, sched_getscheduler, sched_yield, + sched_get_priority_max, sched_get_priority_min, and + sched_rr_get_interval. - * sysdeps/unix/opendir.c: Add semicolon for consistency. + * sysdeps/unix/sysv/linux/sysconf.c: Add handling of POSIX.4 + options. -Wed Oct 16 12:26:53 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be> + * sysdeps/unix/sysv/linux/termbits.h: Use kernel headers. - * locale/programs/localedef.c (main): Test with -1 to find out - whether read failed. + * time/sys/time.h: Remove definition of `struct timespec'. -Wed Oct 16 14:54:59 1996 Ulrich Drepper <drepper@cygnus.com> + * time/time.h (struct timespec): Move definition to here. - * sysdeps/unix/sysv/linux/i386/clone.S: Use JUMPTARGET and - PSEUDO_END macro. +Fri Apr 26 01:55:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -Tue Oct 15 21:27:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * malloc/mcheck.c (mabort): Use __libc_fatal only #ifdef _LIBC. - * sysdeps/unix/sysv/linux/m68k/sigcontext.h: Removed. +Thu Apr 25 15:49:57 1996 Miles Bader <miles@gnu.ai.mit.edu> -Tue Oct 15 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/mach/hurd/getcwd.c (__getcwd): When we find a match in + the scan for a name, avoid doing another readdir (which overwrites + NENTRIES, and was resulting in a bogus ENOENT). - * 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. + * sysdeps/mach/hurd/fcntl.c (__fcntl): Add missing break after F_SETFL. -Tue Oct 15 15:13:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Wed Apr 24 00:22:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * 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. + * stdio/internals.c (seek_to_target): Set errno if seek function + returns the wrong offset. -Tue Oct 15 23:39:48 1996 Ulrich Drepper <drepper@cygnus.com> + * wcsmbs/wcsrtombs.c [! EILSEQ] (EILSEQ): Define to EINVAL. + * wcsmbs/wcrtomb.c: Likewise. - * string/string.h [__USE_SVID]: Add prototype for swab. - * time/sys/time.h [__USE_BSD]: Add prototype for ualarm. - Reported by Andreas Jaeger. + * stdio-common/vfprintf.c: Include errno.h. - 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. +Tue Apr 23 21:09:14 1996 Miles Bader <miles@gnu.ai.mit.edu> - * Makefile ($(objpfx)version-info.h): Include information about - system the libc is built on in version-info.h file. + * hurd/hurdsig.c (signal_allowed): For SIGIO/SIGURG, add a new + variable, LUCKY, to use instead of setting D to -1 (which fouls + things up). - * po/Makefile (distribute): Add header.pot. +Tue Apr 23 15:56:56 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -Tue Oct 15 16:34:15 1996 Andreas Jaeger <aj@arthur.pfalz.de> - - * 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 <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/syscalls.list: Add {get,set}resuid. - -Tue Oct 15 08:06:02 1996 Andreas Jaeger <aj@arthur.pfalz.de> - - * crypt/Makefile (rpath-link): Extend search path to current directory. - -Fri Oct 11 09:18:06 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be> - - * sysdeps/i386/i586/strlen.S: Correct handling of prolog for - aligning pointer. - -Tue Oct 15 02:13:21 1996 Ulrich Drepper <drepper@cygnus.com> - - * 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 <thomas@gnu.ai.mit.edu> - - * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and - O_SHLOCK. - -Sun Oct 13 19:16:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * 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 <drepper@cygnus.com> - - * shlib-versions: Add version number/name for ld.so. - * Makeconfig: Move definition of rtld-installed-name after - inclusion of soversions.mk. - Don't add . before version number from shlib-versions file when - when name does not start with digit. This is needed for ld.so. - -Sat Oct 12 20:31:58 1996 Richard Henderson <rth@tamu.edu> - - * libio/iogets.c: Warn when gets is used. - * stdio/gets.c: Strengthen the warning. - -Sat Oct 12 23:10:43 1996 Ulrich Drepper <drepper@cygnus.com> - - * libio/Makefile [_LIBC_REENTRANT] (routines): Add peekc. - * libio/libio.h: Add prototypes for _IO_getc, _IO_putc, _IO_feof, - _IO_ferror, _IO_peekc_locked, and _IO_ftrylockfile. - Remove prototypes for _IO_getc_locked and _IO_putc_locked. - [_IO_MTSAFE_IO]: Add weak aliases for _IO_flockfile and - _IO_funlockfile. - [! _IO_MTSAFE_IO]: Define _IO_ftrylockfile as empty. - Define _IO_getc, _IO_peekc, _IO_putc, _IO_feof, _IO_ferror to - appropriate values according to __USE_REENTRANT. - * libio/stdio.h: Add prototype for ftrylockfile. - [!_LIBC]: Define getc_locked, getchar_locked, putchar_locked, - getc, getchar, putc, and putchar using _IO_* names. - * libio/feof.c: Rename to _IO_feof and make feof weak alias. - * libio/ferror.c: Rename to _IO_ferror and make ferror weak alias. - * libio/getc.c: Rename to _IO_getc and make getc weak alias. - * libio/putc.c: Rename to _IO_putc and make putc weak alias. - * libio/putc_u.c: Don't define alias _IO_putc_unlocked. - * libio/peekc.c: New file. - - * stdio-common/vfprintf.c (vfprintf): Unconditionally call - __flockfile. - - * sysdeps/stub/locfile.c [USE_IN_LIBIO]: Also define _IO_* names. - - * crypt/Makefile (tests): Add md5test and md5c-test. - * crypt/md5-crypt.c: Correct various error. Now md5_process_bytes - is called, the buffer limit is honoured and a loop in a inner - loop is corrected. - * crypt/md5.h (struct md5_ctx): Add new fields. - Add prototypes for new functions. - * crypt/md5.c (md5_init_ctx): Initialize new fields. - (md5_finish_ctx): New function. Like md5_read_ctx but before - perform correct finalization. - (md5_process_bytes): New function. Similar to md5_proces_block, - but does not require input size to be multiple of 64. - (md5_stream): Rewrite using md5_process_bytes and md5_finish_ctx. - (md5_buffer): Likewise. - (md5_process_block): Count number of bytes. - * crypt/md5test.c: New file. Test program for MD5 functions. - * crypt/md5c-test.c: New file: Test program for MD5 crypt - function. + * config.h.in (HAVE_REGEX): New macro. - * po/fr.po: Update. + * sysdeps/unix/syscalls.list: Add statfs, fstatfs. + * io/Makefile (headers): Add sys/statfs.h, statfsbuf.h. + (routines): Add statfs, fstatfs. + * sysdeps/mach/hurd/statfs.c: New file. + * sysdeps/mach/hurd/fstatfs.c: New file. + * sysdeps/stub/fstatfs.c: New file. + * sysdeps/stub/statfs.c: New file. + * io/sys/statfs.h: New file. + * sysdeps/generic/statfsbuf.h: New file. + * sysdeps/unix/sysv/linux/statfsbuf.h: New file. - * time/strptime.c: Recognize %s, %u, %g, and %G format. +Tue Apr 23 00:06:47 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * posix/getopt.c: Add some more casts and initializations to - prevent warnings. + * malloc/Makefile (gmalloc-routines): Add valloc back here. + (dist-routines): Remove it here. + * malloc/valloc.c [_MALLOC_INTERNAL && GMALLOC_INHIBIT_VALLOC] + (ELIDE_VALLOC): Define it. + [! ELIDE_VALLOC]: Make whole file conditional on this. + * malloc/malloc.h (valloc): Make decl conditional on + [!GMALLOC_INHIBIT_VALLOC] instead of [!emacs]. -Sat Oct 12 16:15:29 1996 Ulrich Drepper <drepper@cygnus.com> +Mon Apr 22 00:02:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * sysdeps/unix/sysv/linux/speed.c (speeds): Removed. We provide - an extra function to provide this functionality. - (cfgetospeed): Simply return masked value. - (cfsetospeed): Don't use speeds array and so we can simply test - the value of SPEED for illegal values. - * termios/cfsetspeed.c: Rewrite. We convert here between the - real values and the B* constants. - Changes suggested by Uwe Ohse <uwe@tirka.gun.de>. + * MakeTAGS: Include version.mk. + (po/SYS_libc.pot): Add missing / in sed s cmd. -Fri Oct 11 21:45:34 1996 Andreas Jaeger <aj@arthur.pfalz.de> +Sat Apr 20 18:13:00 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * locale/programs/xstrdup.c: Define prototypes. - * locale/programs/xmalloc.c: Likewise. + * Makerules (no-whole-archive): Test $(have-no-whole-archive), not + $(libc_cv_ld_no_whole_archive). - * stdio-common/xbug.c (main): Change definition to avoid warning. +Sat Apr 20 17:07:17 1996 Ulrich Drepper <drepper@cygnus.com> -Fri Oct 11 23:36:31 1996 Miles Bader <miles@gnu.ai.mit.edu> + * assert/assert.h, ctype/ctype.h, dirent/dirent.h, errno.h, + grp/grp.h, io/fcntl.h, io/sys/stat.h, io/utime.h, locale/locale.h, + math/math.h, misc/nlist.h, misc/sgtty.h, misc/sys/file.h, + misc/sys/ioctl.h, misc/sys/uio.h, posix/sys/times.h, + posix/sys/types.h, posix/sys/utsname.h, posix/sys/wait.h, + posix/tar.h, posix/wordexp.h, pwd/pwd.h, resource/sys/vlimit.h, + resource/sys/vtimes.h, setjmp/setjmp.h, signal/signal.h, + stdio-common/printf.h, stdlib/alloca.h, stdlib/stdlib.h, + string/string.h, sysdeps/generic/sigaction.h, + sysdeps/generic/sigset.h, sysdeps/generic/sys/ptrace.h, + sysdeps/generic/sys/ptrace.h, sysdeps/unix/bsd/osf/sigaction.h, + sysdeps/unix/sysv/linux/sys/ptrace.h, + sysdeps/unix/sysv/minix/sigaction.h, + sysdeps/unix/sysv/sco3.2.4/sigaction.h, + sysdeps/unix/sysv/sysv4/sigaction.h, + sysdeps/unix/sysv/sysv4/sigset.h, termios/termios.h, + time/sys/time.h, time/time.h: Fix copyright comment. - * db/hash/hash.c (__hash_open): Correctly test for a read-write db. +Fri Apr 19 00:49:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> -Fri Oct 11 19:13:34 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If uids and gids are + not given in stack aux vector, fetch them with syscalls. - * locale/Makefile (CPPFLAGS): Set CHARMAP_PATH to - "$(i18ndir)/charmaps". + * stdlib/rpmatch.c (rpmatch: try): Take new arg NOMATCH, return value + for nonmatching nonerror (instead of !MATCH). + (rpmatch): Use it, so we return -1 when NOEXPR doesn't match either. -Fri Oct 11 22:12:41 1996 NIIBE Yutaka <gniibe@mri.co.jp> + * resolv/getnetnamadr.c (getnetbyaddr): Use u_int32_t instead of + unsigned long for variable NET2. - * sysdeps/unix/sysv/linux/sys/procfs.h: Include <asm/user.h> - to get definition of FPU description struct. + * time/etcetera, time/europe, time/solar89: Updated from ADO's 96e. - * 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. +Tue Apr 9 14:37:31 1996 Ulrich Drepper <drepper@cygnus.com> -Fri Oct 11 14:49:13 1996 Ulrich Drepper <drepper@cygnus.com> + * catgets/Makefile, catgets/catgets.c, catgets/catgetsinfo.h, + catgets/config.h, catgets/gencat.c, catgets/nl_types.h, + catgets/open_catalog.c: New files. Implementation of XPG4 + compliant catgets() function and needed tools. + * Makefile (subdirs): Add catgets. - * 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. +Thu Apr 18 23:36:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * Makefile (distribute): Add nsswitch.h and netgroup.h. + * math/Makefile (CPPFLAGS): Append -D__NO_MATH_INLINES. - * nss/Makefile (generated): db-netgrp.c is not generated. +Wed Apr 10 20:48:43 1996 Ulrich Drepper <drepper@cygnus.com> - * sysdeps/alpha/Dist: Add stxcpy.S and stxncpy.S. + * stdio-common/vfprintf.c: Correct some typos. - * Make-dist (+out): Add $(dont_distribute). + * sysdeps/libm-ieee754/w_gammaf.c, sysdeps/libm-ieee754/w_lgamma.c, + sysdeps/libm-ieee754/w_lgammaf.c: Reference signgam instead of + __signgam. -Fri Oct 11 00:27:18 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Thu Apr 18 21:07:27 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * stdio-common/Makefile (routines): Add tmpnam_r. + * Makerules (no-whole-archive): New variable. + (build-shlib): Use it. + * elf/Makefile (libdl.so): Use it. + * configure.in (libc_cv_ld_no_whole_archive): New check for + --no-whole-archive. + * config.make.in (have-no-whole-archive): New variable. -Fri Oct 11 05:32:51 1996 Ulrich Drepper <drepper@cygnus.com> + * stdio-common/printf_fp.c: Increase fudge factor for BIGNUM_SIZE calc + from 3 to 4. - * version.h: Bump version to 1.96. + * Make-dist: Include version.mk. + (version, release): Variables removed. + * Makeconfig (version.mk): New target. -Fri Oct 11 18:13:47 1996 Andreas Jaeger <aj@arthur.pfalz.de> +Fri Apr 19 01:42:18 1996 Ulrich Drepper <drepper@cygnus.com> - * stdio-common/tst-printf.c: Some more cleanups. + * locale/Makefile (headers): Add langinfo.h. + (CPPFLAGS): Remove -Iliblib. -Fri Oct 11 02:48:02 1996 Ulrich Drepper <drepper@cygnus.com> +Mon Apr 15 16:49:04 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu> - * 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. + * malloc/memalign.c, malloc/malloc.h [__DJGPP__ == 1]: Elide memalign + function and its declaration. - * nss/nss_dns/dns-host.c: Update according to change in - resolv/gethnamaddr.c. +Wed Apr 10 14:13:45 1996 Miles Bader <miles@gnu.ai.mit.edu> -Fri Oct 10 20:52:28 1996 Ralph Loader <loader@maths.ox.ac.uk> + * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Store + MACH_PORT_DEAD in the thread reply-port variable before destroying + the signal handler's reply port, to avoid infinite recursion. - * crypt/md5.c (md5_stream): When reading the block in several - pieces append to instead of replace previously read data. +Mon Apr 8 18:27:17 1996 Miles Bader <miles@gnu.ai.mit.edu> -Thu Oct 10 15:53:17 1996 Richard Henderson <rth@tamu.edu> + * sysdeps/mach/gettimeofday.c (__gettimeofday): Don't fail if the + user passes in TZ, just zero it (emacs passes in a dummy variable, + and rms says the hurd should be the one to change). - * 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. +Sun Apr 7 10:37:30 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu> -Thu Oct 10 17:17:23 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/mach/hurd/fork.c: Don't leak send rights to the child's proc + port in the parent. - * sunrpc/Makefile (rpcsvc): Remove yp.x. The corrected version - comes with glibc-nis. - * sunrpc/rpcsvc/yp.x: Removed. +Fri Apr 5 17:43:41 1996 Miles Bader <miles@gnu.ai.mit.edu> - * nss/nss_files/files-netgr.c (_nss_netgroup_parseline): Test - for *CURSOR to be NULL and dump a core if yes. + * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Store + MACH_PORT_DEAD in the thread reply-port variable before destroying + the signal handler's reply port to avoid infinite recursion. + * sysdeps/mach/hurd/mig-reply.c (__mig_dealloc_reply_port): Only + attempt to destroy PORT if it's a valid port name. -Thu Oct 9 20:09:53 1996 Matthew Jacob <mjacob@feral.com> +Wed Apr 3 17:10:44 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu> - * sysdeps/unix/sysv/linux/alpha/brk.S: Define _ERRNO_H before - including <errnos.h> to get error numbers. + * extra-lib.mk: Put libs in $(common-objpfx) instead of $(objpfx). + * Makerules ($(install-lib) rules): Find libs with $(common-objpfx) + instead of $(objpfx). -Thu Oct 10 14:00:01 1996 Ulrich Drepper <drepper@cygnus.com> +Tue Apr 2 21:27:01 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * sysdeps/unix/sysv/linux/i386/sigcontext.h: Moved file... - * sysdeps/unix/sysv/linux/sigcontext.h: ...to here. So the - Alpha people find a correct file. - * sysdeps/libm-ieee754/w_cabs.c: We cannot make __cabsl simply - an alias of __cabs since the structures have different names. - * sysdeps/libm-ieee754/w_log10.c: Fix typo in weak_alias. - Reported by Matthew Jacob <mjacob@feral.com>. + * posix/glob.c (glob_pattern_p): Avoid scanning past eos if + the pattern ends with a backslash and quoting is enabled. + * posix/fnmatch.c (fnmatch): Likewise; return FNM_NOMATCH for such + patterns. -Wed Oct 9 00:24:52 1996 Jim Meyering <meyering@asic.sc.ti.com> +Mon Apr 1 13:34:55 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu> - * time/strftime.c: Allow old K&R compilers compile this file. + * stdio-common/tst-printf.c (main): Add new test case. -Wed Oct 9 12:03:56 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/generic/setenv.c (unsetenv): Use old-style definition. - * posix/execlp.c: Add first argument parameter to be compliant - with POSIX. Rearrange body to start vararg counter after - this new argument. +Mon Apr 1 11:39:10 Ulrich Drepper <drepper@gnu.ai.mit.edu> -Wed Oct 9 04:34:50 1996 Ulrich Drepper <drepper@cygnus.com> + * stdlib/strtod.c (STRTOD): Fix handling of American style FP + numbers. - * sysdeps/unix/sysv/linux/sys/procfs.h: Rewrite. We cannot use - simply a wrapper around the <linux/elfcore.h> file since the - kernel header is not clean enough. We provide the definitions - in this file instead. + * stdio-common/vfprintf.c (vfprintf): Don't increment format + string pointer twice after seeing `*'. -Wed Oct 9 01:43:18 1996 Ulrich Drepper <drepper@cygnus.com> +Sun Mar 31 17:31:54 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu> - * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Avoid - get?id calls by using __libc_enable_secure. + * MakeTAGS (po/SYS_libc.pot): Prepend header processed from + po/header.pot. -Wed Oct 9 00:30:33 1996 Ulrich Drepper <drepper@cygnus.com> +Sun Mar 31 18:07:32 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu> - * 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. + * locale/Makefile (others, install-bin): Compiling locale works + again. + (locale-modules): locale has no --dump option anymore. Remove + ctypedump. -Tue Oct 8 21:51:14 1996 Arnold D. Robbins <arnold@skeeve.atl.ga.us> + * locale/programs/config.h: Don't declare euidaccess. + Use #include_next to get libc's config.h. - * posix/getopt.c: Implement POSIX -W option handling. When the - option string contains "W;" -W foo is handled like --foo. + * locale/programs/ctypedump.c: Not needed anymore. Dump option + of locale is removed. -Tue Oct 8 12:27:26 1996 Ulrich Drepper <drepper@cygnus.com> + * locale/programs/locale.c: Adapt for new locale implementation. - * sysdeps/unix/sysv/linux/i386/clone.S: Define _ERRNO_H before - inclusing <errnos.h> so we really get error symbols defined. - * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. + * stdio-common/_itoa.h (_itoa_word): Define as inline function. + * stdio-common/_itoa.c (_itoa_lower_digits, _itoa_upper_digits): + Don't declare static because used in _itoa_word inline function. - * sunrpc/auth_unix.c (authunix_create_default): Don't use fixed - size array for getgroups call. Instead get maximal number via - sysconf. But discard list to NGRPS elements before calling XDR - function since Sun's code cannot handle longer lists. - Based on a patch by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>. + * stdio-common/printf-parse.h: Prepare for use in wide-char + stdio implementation. + (find_spec): Take additional argument to work with mbrlen instead + of mblen. + (parse_one_spec): Ditto. - * 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. + * stdio-common/printf-prs.c: Prepare for use in wide-char + stdio implementation. - * posix/unistd.h: Correct prototype for execlp. + * stdio-common/printf.h: Mark change for wide-char handling. + Changing it now would result in incompatibilities. - * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_NO_TRUNC. + * stdio-common/vfprintf.c: New and fast implementation. -Mon Oct 7 22:18:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * wcsmbs/Makefile (routines): Remove pre-ISO C multibyte functions + mbsadvance, mbscat, mbschr, mbscmp, mbscpy, mbsdup, mbslen, + mbsncat, mbsncmp, mbsncpy, mbsrchr, mbstomb. + Change wcswcs to wcsstr. + Add wmemchr, wmemcmp, wmemcpy, wmemmove, wmemset, btowc, wctob, + mbsinit, mbrlen, mbrtowc, wcrtomb, mbsrtowcs, wcsrtombs. - * Makeconfig (sysdep-library-path): New variable. - (built-program-cmd): Use it here to properly build a colon - separated library path. + * wcsmbs/btowc.c, wcsmbs/mbrlen.c, wcsmbs/mbrtowc.c, + wcsmbs/mbsinit.c, wcsmbs/mbsrtowcs.c, wcsmbs/wchar.h, + wcsmbs/wcrtomb.c, wcsmbs/wcsrtombs.c, wcsmbs/wcsstr.c, + wcsmbs/wctob.c, wcsmbs/wmemchr.c, wcsmbs/wmemcmp.c, + wcsmbs/wmemcpy.c, wcsmbs/wmemmove.c, wcsmbs/wmemset.c: New + function according to ISO C amendment 1. + * wchar.h: Wrapper around "wcsmbs/wchar.h". -Mon Oct 7 22:11:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * wcsmbs/wcscat.c, wcsmbs/wcschr.c, wcsmbs/wcscmp.c, + wcsmbs/wcscpy.c, wcsmbs/wcscspn.c, wcsmbs/wcsdup.c, + wcsmbs/wcslen.c, wcsmbs/wcsncat.c, wcsmbs/wcsncmp.c, + wcsmbs/wcsncpy.c, wcsmbs/wcspbrk.c, wcsmbs/wcsrchr.c, + wcsmbs/wcsspn.c, wcsmbs/wcstok.c: Changed to conform with ISO C + amendment 1. - * crypt/md5-crypt.c (md5_crypt_r): Add missing parens around & - within comparison. Fix comments. - (md5_crypt): Fix comment. + * wcsmbs/mbsadvance.c, wcsmbs/mbscat.c, wcsmbs/mbschr.c, + wcsmbs/mbscmp.c, wcsmbs/mbscpy.c, wcsmbs/mbsdup.c, + wcsmbs/mbslen.c, wcsmbs/mbsncat.c, wcsmbs/mbsncmp.c, + wcsmbs/mbsncpy.c, wcsmbs/mbsrchr.c, wcsmbs/mbstomb.c, + wcsmbs/mbstr.h, wcsmbs/wcstr.h, wcsmbs/wcswcs.c: Removed. + Implement functions from early drafts, not part of final standard. -Tue Oct 8 05:10:49 1996 Ulrich Drepper <drepper@cygnus.com> +Sun Mar 31 16:50:41 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu> - * sysdeps/unix/sysv/linux/errnos.h: Only include <linux/errnos.h> - when _ERRNO_H is defined. - [!_ERRNO_H && __need_Emath]: Define value for EDOM and ERANGE. - Should there ever be a Linux port where the numeric values are - not 33 and 34 this file must change. + * setjmp/setjmp.h (jmp_buf): Change gratuitous struct tag name to + __jmp_bug_tag so its C++ implicit typedef does not conflict with the + __jmp_buf typedef. -Mon Oct 7 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com> + * Makerules (BUILD_CFLAGS) [! objdir]: Use $(..)config.h when + compiling in the source directories. - * libio/iofgets.c (_IO_fgets): Use _IO_flockfile instead of - __flockfile. +Fri Mar 29 16:26:35 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu> -Mon Oct 7 11:01:45 1996 Andreas Jaeger <aj@arthur.pfalz.de> + * sysdeps/libm-ieee754/w_gamma.c: Use signgam instead of __signgam. + * sysdeps/libm-ieee754/s_signgam.c: Undo last change. - * string/tst-strlen.c (main): Provide prototype. - * malloc/mallocbug.c: Likewise. - * io/test-utime.c: Likewise. +Fri Mar 29 11:29:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> - * sysdeps/generic/crypt-entry.c: Correct typo. + * sysdeps/libm-ieee754/s_signgam.c (signgam): Renamed to __signgam, + with weak alias signgam. -Mon Oct 7 13:42:20 1996 Ulrich Drepper <drepper@cygnus.com> +Thu Mar 28 18:32:34 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu> - * elf/dl-open.c (_dl_open): Check against _dl_sysdep_start to - test for libc.a. Checking _DYNAMIC is of no worth here. - Suggested by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>. + * Makeconfig (+cflags, +gcc-nowarn): Use gcc flags unconditionally. - * nss/nss_files/files-parse.c: Define LOOKUP_NAME even if - EXTERN_PARSER is defined. +Thu Mar 28 14:22:51 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> -Sat Oct 5 17:05:36 1996 Andreas Jaeger <aj@arthur.pfalz.de> + * sunrpc/rpc_main.c (main): Call textdomain. - * Rules (dep-dummy-lib): Correct prototype for __dummy__. + * MakeTAGS (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): Add + --no-location. + (all-pot): Replace $(subdirs) files with $P/subdirs.pot. + ($P/subdirs.pot): New target. + ($P/SYS_libc.pot): Add -n switch. - * crypt/md5-crypt.c: Fix typos in comments. + * locale/locale.h (LC_*): Values reordered to match Linux libc. - * 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. + * sysdeps/mach/hurd/kill.c: If proc_pid2task gives us MACH_PORT_NULL + the process is a zombie; send no messages and return success. - * stdio-common/scanf4.c (main): Correct prototype, remove unused - variable n. +Thu Mar 28 11:53:26 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu> - * stdio-common/scanf3.c (main): Correct prototype, change - declaration of s to reduce warnings. - * stdio-common/bug10.c (main): Likewise. + * wctype/cname-lookup.h: Find localeinfo.h in ../locale. + * wctype/wctype.c: Likewise. + * wctype/wctrans.c: Likewise. - * stdio-common/tfformat.c: Provide prototype, remove unused - reference to dump_stats, add braces in sprint_doubles. - * stdio-common/tiformat.c: Likewise. +Thu Mar 28 03:00:43 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu> - * stdio-common/test_rdwr.c (main): Parameter `where' is long in - printf call. + * locale/nl_langinfo.c (nl_langinfo): Use DATA->values instead of + DATA->strings. -Mon Oct 7 14:04:26 1996 NIIBE Yutaka <gniibe@mri.co.jp> + * Makerules (BUILD_CFLAGS): Remove $(common-objpfx) from config.h. - * sysdeps/unix/sysv/linux/sys/soundcard.h: Fix typo. + * configure.in (.weakext check): Fix asm code to use .weakext instead + of .weak! Fix bogus test calls. + * configure: Regenerated. + +Thu Mar 28 03:25:10 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> - * shadow/putspent.c: Don't write colon after flag field. + * locale/programs/xmalloc.c: Test _LIBC as well as STDC_HEADERS. - * 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. + * locale/programs/ld-collate.c (collate_finish): Use error_at_line + instead of error_with_loc. -Mon Oct 7 00:58:19 1996 Ulrich Drepper <drepper@cygnus.com> + * locale/weight.h: Use u_int32_t instead of u32_t. + * string/strxfrm.c: Likewise. - * sysdeps/i386/i586/strchr.S: Correct handling of first bytes to - get pointer aligned. Reported by Matthias Urlichs <smurf@noris.de>. + * string/strxfrm.c: Find weight.h in ../locale; don't #include + "localeinfo.h". + * string/strcoll.c: Likewise. - * sysdeps/posix/euidaccess.c [_LIBC]: Avoid calling get?id functions - by using __libc_enable_secure variable. + * intl/Makefile (copysrc): Add missing > in sed cmd. -Tue Oct 8 13:58:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> +Sat Mar 23 17:52:49 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu> - * hurd/ports-get.c (_hurd_ports_get): If the requested port is - null, don't attempt mach_port_mod_refs. + * Makeconfig: Rename Makefile variable nlsdir to i18ndir and + change value to $(datadir)/i18n. `nls' is not an appropriate + name. -Mon Oct 7 14:51:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + * Makefile (subdirs): Add new subdir wctype. - * sysdeps/mach/hurd/pipestream.c: New file to avoid use of - sysdeps/unix/pipestream.c. + * ctype/ctype-info.c: Add new global variable __ctype_names + and initialize from _nl_C_LC_CTYPE. - * sysdeps/mach/hurd/readdir_r.c: New file, guts copied entirely - from sysdeps/mach/hurd/readdir.c. + * ctype/ctype.h: In P1003.3b/D11 `alnum' is a separate character + class. Use bit 11. + [_ISbit]: Protect definition of bitmasks because they are also + used in wctype.h. - * 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 <drepper@cygnus.com> - - * 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 - <sigcontext.h> 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 <schwab@issan.informatik.uni-dortmund.de> - - * 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 <thomas@gnu.ai.mit.edu> - - * 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 <bangjy@nownuri.nowcom.co.kr> - - * po/ko.po: Update. - -Fri Oct 4 02:07:46 1996 Michel Robitaille <robitail@IRO.UMontreal.CA> - - * po/fr.po: New file. - -Fri Oct 4 05:04:52 1996 Ulrich Drepper <drepper@cygnus.com> - - * 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 <aj@arthur.pfalz.de> - - * dirent/tst-seekdir.c: Provide correct prototypes. - * io/test-utime.c: Likewise. - * malloc/mallocbug.c: Likewise. - * posix/testfnm.c: Likewise. - * stdio-common/xbug.c: Likewise. - * sysdeps/posix/cuserid.c: Likewise. - -Wed Oct 2 13:33:48 1996 Richard Henderson <rth@tamu.edu> - - Provide optimized string functions for Alpha processors. - * sysdeps/alpha/bzero.S: New file. - * sysdeps/alpha/memset.S: New file. - * sysdeps/alpha/stpcpy.S: New file. - * sysdeps/alpha/stpncpy.S: New file. - * sysdeps/alpha/strcat.S: New file. - * sysdeps/alpha/strchr.S: New file. - * sysdeps/alpha/strcpy.S: New file. - * sysdeps/alpha/strncat.S: New file. - * sysdeps/alpha/strncpy.S: New file. - * sysdeps/alpha/strrchr.S: New file. - * sysdeps/alpha/stxcpy.S: New file. - * sysdeps/alpha/stxncpy.S: New file. - - * sysdeps/alpha/Makefile [$(sudir)==string]: Add stxcpy and - stxncpy to sysdep_routines. - Minor correction. + * libio/genops.c (_IO_sputbackc, _IO_sungetc): Clear EOF flag + after successfully pushing back a character. -Thu Oct 3 13:33:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + Fundamental changes in locale implementation. Almost nothing + from the old code is used anymore. + * locale/charmap.c, locale/collate.c, locale/config.h, + locale/ctypedump.c, locale/hash.h, locale/keyword.gperf, + locale/keyword.h, locale/loadlocale.c, locale/locale-ctype.c, + locale/locale.c locale/localeconv.c, locale/localedef.c, + locale/localedef.h, locale/locfile-hash.c, locale/locfile-lex.c, + locale/locfile-parse.c, locale/messages.c, locale/monetary.c, + locale/numeric.c, locale/setlocale.c, locale/token.h, + locale/xmalloc.c: Removed. - * sysdeps/generic/gnu/types.h: Added __loff_t. - Don't declare key_t here. + * locale/Makefile: Update for new locale implementation with + program source code distributed in subdir. - * hurd/alloc-fd.c (_hurd_alloc_fd): If realloc fails, bother to - set errno (to ENOMEM). + * locale/categories.def, locale/iso-4217.def: Updated file + for new locale implementation. -Wed Oct 2 13:41:48 1996 Ulrich Drepper <drepper@cygnus.com> + * locale/langinfo.h: Updated for new locale implementation. + (ERA_D_T_FMT, ERA_T_FMT): New official values according to + P1003.2b/D11. + (_NL_COLLATE_NRULES, _NL_COLLATE_RULES, _NL_COLLATE_HASH_SIZE, + _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_TABLE_EB, + _NL_COLLATE_TABLE_EL, _NL_COLLATE_UNDEFINED, _NL_COLLATE_EXTRA_EB, + _NL_COLLATE_EXTRA_EL, _NL_CTYPE_NAMES_EB, _NL_CTYPE_NAMES_EL, + _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS, _NL_CTYPE_CLASS_NAMES, + _NL_CTYPE_MAP_NAMES, _NL_CTYPE_WIDTH): New internal values for + extended LC_CTYPE and LC_COLLATE implementation. - * 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. + * locale/programs/simple-hash.c, locale/programs/simple-hash.h, + locale/programs/xmalloc.c, locale/programs/xstrdup.c: Helper functions + for locale related programs. -Mon Sep 30 22:27:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * locale/C-collate.c, locale/C-ctype.c, + locale/C-messages.c, locale/C-monetary.c, + locale/C-numeric.c, locale/C-time.c, + locale/lc-collate.c, locale/lc-ctype.c, + locale/lc-messages.c, locale/lc-monetary.c, + locale/lc-numeric.c, locale/lc-time.c: New implementation of locale + functions, and new generated "C" locale data. - * sysdeps/posix/tempname.c (__stdio_gen_tempname): Don't declare - `i' as const. + * locale/loadlocale.c: Now handles word fields in locale binary + automatically by changing the endianess if necessary. -Mon Sep 30 22:38:29 1996 Richard Henderson <rth@tamu.edu> + * locale/localeinfo.h (LIMAGIC): Changed magic number because + of incompatible changes. + (locale_data): Changed definition to allow word as a value type. + (coll_sort_rule): Values for collation sorting mode. + (_NL_CURRENT_WORD): New macro to access word value of locale entry. + (__collate_table, __collate_extra): Declare new global variables + for collation tables. - * 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. + * locale/programs/charmap-kw.gperf, locale/programs/charmap-kw.h, + locale/programs/charmap.c, locale/programs/charset.c, + locale/programs/charset.h, locale/programs/config.h, + locale/programs/ctypedump.c, locale/programs/ld-collate.c, + locale/programs/ld-ctype.c, locale/programs/ld-messages.c, + locale/programs/ld-monetary.c, locale/programs/ld-numeric.c, + locale/programs/ld-time.c, locale/programs/linereader.c, + locale/programs/linereader.h, locale/programs/locale.c, + locale/programs/localedef.c, locale/programs/locales.h, + locale/programs/locfile-kw.gperf, locale/programs/locfile-kw.h, + locale/programs/locfile-token.h, locale/programs/locfile.c, + locale/programs/locfile.h, locale/programs/stringtrans.c, + locale/programs/stringtrans.h: Implementation of locale related + programs. -Tue Oct 1 09:12:21 1996 Ulrich Drepper <drepper@cygnus.com> + * locale/weight.h: Functions to access collation tables. - * locale/programs/ld-time.c: Always write some bytes at the end of - the file even if no `era's are specified. + * posix/unistd.h: Define _POSIX2_LOCALEDEF. - * stdio-common/tmpname.c (tmpbuf): Don't define as array of - pointers. + * stdio-common/printf_fp.c: Fix bug with printing certain numbers + < 10^-1. Reported by Bill Metzenthen. -Tue Oct 1 01:43:11 1996 Ulrich Drepper <drepper@cygnus.com> + * stdio-common/tfformat.c: Add new test for above bug. - * libio/iofclose.c: Move unlocking to right position. + * string/strcoll.c, string/strxfrm.c: Real implementation of + string collation according to ISO C. -Mon Sep 30 03:08:34 1996 Richard Henderson <rth@tamu.edu> + * wctype/Makefile, wctype/cname-lookup.h, wctype/iswctype.c, + wctype/test_wctype.c, wctype/towctrans.c, wctype/wcfuncs.c, + wctype/wctrans.c, wctype/wctype.c, wctype/wctype.h: New files. + Implementation of wide character classes and mapping. - * misc/Makefile: Kill force-wrapper. - * misc/force-wrapper.c: Delete. +Wed Mar 27 14:52:11 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> - * elf/eval.c: Add <string.h>. + * elf/rtld.c (dl_main): Call _dl_sysdep_start_cleanup after + _dl_relocate_object loop. Avoid relocating RTLD_MAP in that loop, and + do it individually if necessary after _dl_sysdep_start_cleanup call. - * 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. + * stdlib/Makefile (mpn-routines): Add divrem. - * gmon/mcount.c: Assume _MCOUNT_DECL does the entire declaration. - * sysdeps/alpha/machine-gmon.h: Update _MCOUNT_DECL. - * sysdeps/generic/machine-gmon.h: Likewise. +Tue Mar 26 22:54:14 Ulrich Drepper <drepper@gnu.ai.mit.edu> - * 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. + * stdio-common/printf_fp.c (__printf_fp): Use mpn_divmod + instead of __mpn_divmod. - * 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. +Wed Mar 27 10:26:21 1996 David Mosberger-Tang <davidm@azstarnet.com> - * locale/programs/ld-ctype.c: Include <alloca.h>. + * sysdeps/alpha/setjmp.S: Must establish global pointer before + address of __sigsetjmp_aux can be loaded. - * login/login_tty.c: Get login_tty prototype from <utmp.h>. +Wed Mar 27 02:23:19 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu> - * posix/sys/types.h: Change #defines to typedefs. This is looking - forward to more comprehensive namespace cleanups for C++. - * posix/unistd.h: Likewise for ssize_t. + * sysdeps/i386/i586/memset.S: New file. Highly optimized + version for i586 contributed by Torbjorn Granlund. + Adapted for use as bzero. + * sysdeps/i386/i586/bzero.S: Use sysdeps/i386/i586/memset.S + code to implement bzero(). - * pwd/getpw.c: Prototype and rename getpw -> __getpw and add a - weak alias. +Tue Mar 26 20:01:17 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> - * resolv/base64.c: Don't do `for (NULL; ...)' as it causes - `statement with no effect' warnings. - * resolv/inet_neta.c: Include <string.h> for strlen. + * stdlib/Makefile (mpn-routines): Remove divmod. - * stdio-common/getline.c: Undef ssize_t before libio redefinition. - * stdio-common/tstgetln.c: Same. De-ansidecl-ify. - * stdio-common/vfprintf.c: Same for va_list. - * stdio-common/vfscanf.c: Same. - * stdio-common/reg-printf.c: Prototype the __ function. - * stdio-common/scanf.c [USE_IN_LIBIO]: Include <libioP.h> for - _IO_vscanf declaration. +Tue Mar 26 15:40:14 1996 Brendan Kehoe <brendan@zen.org> - * string/tester.c: Tsk, tsk. Don't cast pointers to int, - but to unsigned long for the health of 64-bit systems. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h (NO_UNDERSCORES): Use + wrapped with #ifndef, to avoid config.h defining it. - * sunrpc/svc_udp.c: Define MAX only if we don't have it yet. - Many system's <sys/param.h> pulls this in. +Mon Mar 25 13:10:04 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> - * sysdeps/generic/dl-cache.c: Kill the bottom half of the - patch doubled file. + * malloc/realloc.c (_realloc_internal): In case of growing large + block, leave _heaplimit zero across _malloc_internal call. - * sysdeps/generic/pty.c (forkpty): Get login_tty decl from <utmp.h> - instead of defining it locally. + * intl/Makefile [gettext-srcdir]: Use gpl2lgpl.sed on copied sources. - * 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. +Mon Mar 25 03:35:16 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> - * 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. + * malloc/malloc.c (morecore): Don't attempt recursive realloc of info + table when _heaplimit==0 during realloc growing large block. - * 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. + * MakeTAGS (extract): Remove /dev/null from xgettext command line. + (text-srcs): New variable: extract only C sources from $(tags_sources). + (po/$(domain).pot): Depend on that. + If it's empty, cp /dev/null $@ instead of $(extract). -Sun Sep 29 14:41:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * misc/Makefile (headers): Add iovec.h. + * sysdeps/unix/sysv/linux/iovec.h: New file. + * sysdeps/generic/iovec.h: New file. + * misc/sys/uio.h (struct iovec): Type replaced with #include <iovec.h>. - * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Make it a - pattern rule to get the right stem. + * configure.in (NO_UNDERSCORES check): Use AC_TRY_LINK instead of + AC_TRY_COMPILE. -Sat Sep 28 01:30:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * misc/sys/cdefs.h [__USE_BSD] (const, signed, volatile): Move these + macros inside [! __STDC__]. - * Makefile ($(objpfx)version-info.h): Fix typo in previous change. + * stdlib/rpmatch.c: New file. + * stdlib/Makefile (routines): Add rpmatch. + * stdlib/stdlib.h [__USE_SVID]: Declare rpmatch. -Sat Sep 28 00:44:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * MakeTAGS (MSGJOIN): Variable removed. + (po/SYS_libc.pot): Use $(XGETTEXT) instead of $(MSGJOIN). - * sysdeps/posix/euidaccess.c (__set_errno): Fix typo. +Wed Mar 20 20:08:46 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -Sat Sep 28 00:40:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysdep.h: Don't define C_SYMBOL_NAME. - * malloc/free.c (_free_internal): Don't call free recursively, use - the internal functions instead. + * sysdeps/unix/sysv/linux/m68k/sysdep.h: Don't define + NO_UNDERSCORES. -Sat Sep 28 00:23:20 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Thu Mar 21 11:19:15 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> - * sysdeps/posix/tempname.c (__stdio_gen_tempname) [USE_IN_LIBIO && - _IO_MTSAFE_IO]: Allocate and initialize the file lock. + * mach/devstream.c (input): Translate \r to \n on input. -Fri Sep 27 23:58:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Wed Mar 20 11:28:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * 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. + * stdio-common/printf.h, stdio-common/printf_fp.c, + stdio-common/vfprintf.c: Place const in parameter list at + correct place. -Mon Sep 30 00:14:26 1996 Ulrich Drepper <drepper@cygnus.com> +Wed Mar 20 23:58.12 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu> - 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. + * sysdeps/i386/ldbl2mpn.c: Copy of former version of + sysdeps/ieee754/ldbl2mpn.c. + * sysdeps/ieee754/ldbl2mpn.c: Remove i386 specific unification. + Reported by Andreas Schwab. - * nss/nss_db/db-XXX.c: Use `enum nss_status' type when status - value is used. +Wed Mar 20 19:58:43 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> -Sun Sep 29 12:55:58 1996 Ulrich Drepper <drepper@cygnus.com> + * version.c: Include version.h to define RELEASE and VERSION macros. + (__libc_release, __libc_version): Use them. + * locale/SYS_libc.c (_libc_intl_domainname): Include ../version.h and + use VERSION to define domainname as `SYS_GNU_libc-VERSION'. + * Make-dist (rel+vers): Snarf the macro values from version.h. - * sysdeps/unix/sysv/linux/syscalls.list: Change function name for - _llseek to _llseek (not llseek). - Reported by Matthias Urlichs <smurf@smurf.noris.de>. + * MakeTAGS (extract): Pass $(XGETTEXTFLAGS-$(@F)). + (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): New variables; + pass -a for these files. -Sun Sep 29 05:34:32 1996 Ulrich Drepper <drepper@cygnus.com> + * Makerules (po/%.pot): Depend on FORCE target so recursive make is + always run. - * inet/rcmd.c: Remove definition of MIN. +Mon Mar 18 22:54:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -Sat Sep 28 14:22:51 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/wait3.c: New file. + * sysdeps/unix/sysv/linux/wait.c: Use the bsd4.4 wait, not the + one from sysdeps/posix. - * 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. +Wed Mar 20 09:42:11 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> - * sysdeps/gnu/errlist.awk: Define _sys_errlist as `const char* const'. - Proposed by Per Abrahamsen <abraham@dina.kvl.dk>. + * sysdeps/unix/bsd/waitflags.h (WNOREAP): New macro. -Sat Sep 28 03:02:49 1996 Ulrich Drepper <drepper@cygnus.com> + * elf/dl-load.c (_dl_map_object_from_fd): Always set L->l_type; if not + lt_executable, then lt_library. + * elf/rtld.c (dl_main): Don't set NEW->l_type after _dl_map_object. - * dirent/Makefile (routines): Add readdir_r. - * dirent/readdir_r.c: New file. Wrapper around readdir.c. - * dirent/dirent.h: Add prototype for readdir_r. +Wed Mar 20 00:08:23 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * misc/hsearch_r.c (ENTRY): Make field `used' of type `unsigned int' - to prevent warnings. + * sysdeps/unix/sysv/linux/syscalls.list: Remove gtty and stty. - * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): - Initialize `result'. +Tue Mar 19 16:31:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> -Sat Sep 28 01:16:42 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/termbits.h (CRTSCTS, CBAUDEX, VEOL, + VEOL2, VMIN, VTIME): Corrected. + (PAGEOUT, WRAP, VDSUSP): Deleted. - * 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. +Tue Mar 19 14:18:42 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> - * 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/unix/readdir.c: Test [! _DIRENT_HAVE_D_RECLEN] instead of + (sizeof (DP->d_name) > 1) to detect fixed-size dir entries. - * 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/i386/fpu/__math.h (asinh): Call log1p instead of __log1p. - * sysdeps/unix/nlist.c: Use ISO C definition since we don't always - have prototype. + * math/math.h: Move M_* constants before __math.h include. + [__NO_MATH_INLINES || __OPTIMIZE__]: Include __math.h only #if this. - * login/Makefile (headers): Add pty.h. - * login/pty.h: New file. - * sysdeps/generic/pty.h: Include <pty.h>. - * login/pututline_r.c: Add cast to prevent warning. + * misc/efgcvt_r.c (ecvt_r): Declare floor, log10, fabs as weak extern. + If log10 is not defined (i.e. no -lm), use stupid loop instead. - * 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. + * features.h (__FAVOR_BSD): Define only if _BSD_SOURCE is defined + and no other _*_SOURCE macro is. + (_GNU_SOURCE): Don't define by default. + * libc-symbols.h (_GNU_SOURCE): Define it. - * locale/programs/ld-time.c (time_output): Write `era' information - in correct order. + * configure.in (alpha*-*-linux*): Unset $gnu_ld and $elf. -Sat Sep 28 00:11:08 1996 Ulrich Drepper <drepper@cygnus.com> + * config.make.in (weak-symbols): Variable removed. + * configure.in (--with-weak-symbols): Option removed. + (NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE): + New tests. - * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias - `adjtimex'. - Set caller for mlock, mlockall, mremap, munlock, and munlockall - to EXTRA. - Reported by Matthias Urlichs <smurf@smurf.noris.de>. + * config.h.in (HAVE_WEAK_SYMBOLS): #undef removed. + (NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE): + New #undefs. + * libc-symbols.h: Use them instead of HAVE_WEAK_SYMBOLS. -1996-09-27 Paul Eggert <eggert@twinsun.com> + * sysdeps/unix/bsd/pause.c: Moved to sysdeps/unix/common/pause.c. - * strftime.c (strftime): Output incomplete formats like %E - at end of string. +Mon Mar 4 20:17:28 1996 David Mosberger-Tang <davidm@azstarnet.com> -1996-09-27 Paul Eggert <eggert@twinsun.com> + * inet/inet_lnaof.c: Use u_int32_t instead of u_long. + * inet/inet_mkadr.c: Likewise. + * inet/inet_net.c: Likewise. + * inet/inet_netof.c: Likewise. + * inet/rcmd.c: Likewise. + * inet/arpa/inet.h: Likewise. + * inet/netinet/in.h: Likewise. + * inet/netinet/tcp.h: Likewise. + * inet/protocols/rwhod.h: Likewise. + * inet/protocols/talkd.h: Likewise. + * resolv/inet_addr.c: Likewise. - * strftime.c (strftime): Add support for %EC and %Ey. - Fix support for %EY. This uses the new _nl_get_era_entry function. + * sysdeps/unix/sysv/linux/adjtime.c: Use INT_MAX instead of LONG_MAX. -Fri Sep 27 14:12:27 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/Makefile (sysdep_routines): Don't add s_getdents. - Security related patch by Elliot Lee <sopwith@redhat.com> and - David Holland <dholland@eecs.harvard.edu>. + * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Don't add mount, + umount. - * 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/alpha/__math.h (atan, cabs): New functions. - * 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. + * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: new file (syscall + expects set-value, not pointer to it). - * 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. +Sun Feb 25 22:36:10 1996 David Mosberger-Tang <davidm@azstarnet.com> - * inet/rcmd.c: Fixed address length handling. + * sysdeps/unix/sysv/linux/alpha/profil-counter.h: New file. - * sysdeps/posix/mk-stdiolim.c: Count final \0 byte in L_tmpnam value. + * gmon/gmon.c (__bb_head): new variable. + (write_hist, write_call_graph, write_bb_counts): new functions. + (_mcleanup): modified to call above functions instead of directly + writing out gmon.out. + * gmon/sys/gmon.h (struct __bb): New type. + (struct gmonhdr): Type removed. + (struct gmonparam): New member `log_hashfraction'. + (GMONVERSION): Macro removed. - * time/strftime.c: Remove unused variables alt_digits and - end_alt_digits. + * gmon/sys/gmon_out.h, gmon/bb_exit_func.c, + sysdeps/generic/bb_init_func.c, sysdeps/alpha/bb_init_func.S: new + files. + * gmon/Makefile (headers): Add sys/gmon_out.h. + (routines): Add bb_init_func, bb_exit_func. - * sysdeps/unix/sysv/linux/sys/sysinfo.h: Correct prototype names - for get_nprocs and get_nprocs_conf. - * sysdeps/generic/sys/sysinfo.h: Likewise. + * gmon/mcount.c: Avoid integer division. - * stdlib/test-canon.c: Finally do the right fix. +Wed Feb 21 23:56:41 1996 David Mosberger-Tang <davidm@azstarnet.com> - * misc/Makefile: Only compile force-wrapper when compiling - reentrant libc. + * sysdeps/alpha/setjmp.S: switched order in which sp and fp are + passed to match what __sigsetjmp_aux() expects. -Fri Sep 27 03:49:56 1996 Ulrich Drepper <drepper@cygnus.com> +Tue Feb 20 11:33:46 1996 David Mosberger-Tang <davidm@azstarnet.com> - Add support for cancelable system calls. + * sysdeps/unix/sysv/linux/alpha/syscalls.list (select, bind, + connect, getpeername, getsockname, listen, recv, recvfrom, + recvmsg, send, sendmsg, sendto, setsockopt, shutdown, socketpair): + added to override same-name assembly file in the parent directory. - * 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. + * stdlib/stdlib.h: add include of sys/types.h in front of random + etc declarations to ensure int32_t is declared. - * 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 <drepper@cygnus.com> - - * misc/mntent.h: Add MNTTYPE_* and MNTOPT_* macros. - Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>. - -Thu Sep 26 14:40:10 1996 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/posix/pathconf.c: Pass descriptor for just opened file - to fpathconf. - Reported by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>. - -Thu Sep 26 04:02:43 1996 Ulrich Drepper <drepper@cygnus.com> - - * locale/programs/locfile.c (write_locale_data): Allocate room - even for file name for LC_MESSAGES locale. - (locafile_read): `tok_era' must be handled as a string list. - * locale/programs/ld-time.c: Finish correction of handling `era'. - * locale/C-time.c (_nl_C_LC_TIME): Add initializer for new fields. - * locale/categories.def: Add postload function for LC_TIME. - * locale/setlocale.c: Make lock global and rename to - __libc_setlocale_lock. - * locale/localeinfo.h (struct era_entry): New type. Used in strftime. - Add prototypes for _nl_get_era_entry and _nl_get_alt_digit. - * locale/lc-time.c (_nl_postload_time): New function. Initialize - lazy intialization. - (_nl_get_era_entry): New function. Return era entry which corresponds - to given year. - (_nl_get_alt_digit): New function. Return string with alternate - digit representation for given number. - - * time/strftime.c (strftime): Use _nl_get_alt_digit to get - string representing alternate digit notation. - -Wed Sep 25 17:31:55 1996 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/generic/waitstatus.h (union wait): Add w_status field. - Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>. - - * elf/rtld.c (dl_main): Process LD_PRELOAD before loading - ld.so.preload. Suggested by David Engel <david@elo.ods.com>. - -Wed Sep 25 13:10:57 1996 Ulrich Drepper <drepper@cygnus.com> - - * catgets/gencat.c (main): Change --version again because RMS wants - the package name in parentheses. - * db/makedb.c: Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/localedef.c: Likewise. - -Tue Sep 24 01:28:05 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Makefile ($(objpfx)sysd-dirs): Depend on Subdirs files, command - rewritten. - ($(objpfx)version-info.h): Depend on Banner files, command - rewritten. - -Wed Sep 25 02:44:41 1996 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/sleep.c: New file. Based on nanosleep. - -Tue Sep 24 21:46:02 1996 Ulrich Drepper <drepper@cygnus.com> - - * shadow/lckpwdf.c (PWD_LOCKFILE): Change to /etc/lock.pwd to be - on the same device as the password file. - * shadow/shadow.h (struct spwd): Change type of numeric fields - to `long int' since there value are days, not seconds. - * shadow/putspent.c: Change casts from time_t to `long int'. - * shadow/sgetspent_r.c (LINE_READER): Likewise. - -Mon Sep 23 23:05:24 1996 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/unix/sysv/linux/errnos.h: Define __set_errno to make - sure the thread specific variable is set as well as the global - variable. - * sysdeps/mach/hurd/errnos.awk: Define macro for source code - compatibility. - * sysdeps/stub/errnos.h: Likewise. - * sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise. - - * shadow/putspent.c: Don't include <errno.h>. - - * dirent/scandir.c (scandir): Use __set_errno to set errno - variable. - * elf/dl-load.c (open_path): Likewise. - * inet/rcmd.c (rcmd): Likewise. - (rresvport): Likewise. - * intl/dcgettext.c [!__set_errno]: Define __set_errno. - (DCGETTEXT): Use __set_errno to set errno variable. - * io/fts.c (fts_open): Likewise. - (fts_close): Likewise. - (fts_read): Likewise. - (fts_set): Likewise. - (fts_children): Likewise. - (fts_build): Likewise. - (fts_stat): Likewise. + * stdlib/random.c, stdlib/random_r.c: replaced "long int" by int32_t + where 32 bit integers are required. Also change LONG_MAX into + 0x7fffffff since the intent is to turn off the sign bit in a + 32 bit integer. + + * time/offtime.c (__offtime): Use Paul Eggert's code to deal + with very large values for "days" (e.g., 64 bit values). + +Mon Feb 19 22:22:12 1996 David Mosberger-Tang <davidm@azstarnet.com> + + * stdlib/stdlib.h (__random, __random_r, random_r, struct + random_data): use int32_t instead of `long int'. + +Sat Feb 17 11:29:29 1996 David Mosberger-Tang <davidm@azstarnet.com> + + * sysdeps/unix/sysv/linux/alpha/ioperm.c: new file. + + * sysdeps/alpha/ffs.S: new file. + + * sysdeps/alpha/fabs.c: File removed. + + * time/tzfile.c (__tzfile_read): counter variable is i, *not* + num_transitions! + + * time/offtime.c: make capable of dealing with very large (64 bit) + time_t values. Use old algorithm until a year is reached that + is an integer multiple of 400, then use DAYS_PER_400_YEARS to + do the remainder in a single division. + + * sysdeps/generic/ffs.c (ffs): fix variable declarations to + be unsigned int, not unsigned long. + + * string/test-ffs.c (main): add test case with all upper bits + set. + + * stdlib/tst-strtol.c: add tests cases for machines where + sizeof(long)==8. + + * stdlib/testrand.c (main): disallow rand() to return negative + integers. + + * stdlib/testmb.c (main): fix format to use %lx instead of %x. + + * stdlib/stdlib.h: on 64 bit machines, declare + struct random_data, __random(), __random_r, and random_r to + return "int" instead of "long int". + + * stdlib/random_r.c: 64 bit machines use "int" instead of "long + int". Similarly, use INT_MAX instead of LONG_MAX. + + * stdlib/random.c: on 64 bit machines, randtbl[] and __random[] + need to operate on "int" instead of "long int". + + * locale/locfile-hash.c (compute_hashval): make shifted constant + a long to avoid loosing bits on 64 bit machines. + + * dirent/tst-seekdir.c (main): fix confusing comment; print + a line to mark point where directory is rewound. + +Fri Feb 16 15:01:49 1996 David Mosberger-Tang <davidm@azstarnet.com> + + * time/strftime.c (strftime): any hour > 11 is PM (not > 12!). + +Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com> + + * sysdeps/unix/sysv/linux/alpha/Makefile, + sysdeps/unix/sysv/linux/alpha/brk.S, + sysdeps/unix/sysv/linux/alpha/fpu_control.c, + sysdeps/unix/sysv/linux/alpha/fpu_control.h, + 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/pipe.S, + sysdeps/unix/sysv/linux/alpha/setfpucw.c, + sysdeps/unix/sysv/linux/alpha/sigprocmask.c, + sysdeps/unix/sysv/linux/alpha/speed.c, + sysdeps/unix/sysv/linux/alpha/start.S, + sysdeps/unix/sysv/linux/alpha/syscall.S, + sysdeps/unix/sysv/linux/alpha/syscalls.list, + sysdeps/unix/sysv/linux/alpha/alpha/regdef.h, + sysdeps/unix/sysv/linux/alpha/sysdep.S, + sysdeps/unix/sysv/linux/alpha/sysdep.h: New files. + + * sysdeps/alpha/setjmp_aux.c (__sigsetjmp_aux): restore return + address register before returning (gcc 2.7.1 doesn't do it, + presumably because $26 is declared as a global variable). + + * sysdeps/unix/sysv/linux/sys/mman.h: msync was missing "flags" + argument. + + * sysdeps/unix/alarm.c (alarm): do roundup using test & increment + instead of multiplication. + + * sysdeps/posix/sleep.c (sleep): initialize sa_mask to mask of + currently blocked signals instead of the empty mask to ensure + that execution of alarm handler occurs with none of the currently + blocked signals enabled. + + * sysdeps/unix/alpha/sysdep.h: new file (adapted from OSF/1 version). + + * sysdeps/unix/bsd/osf/alpha/sysdep.h: include + sysdeps/unix/alpha/sysdep.h and removed definitions now in that file. + + * sysdeps/alpha/divrem.S, sysdeps/alpha/htonl.S, + sysdeps/alpha/htons.S, sysdeps/alpha/machine-gmon.h, + sysdeps/alpha/_mcount.S, sysdeps/alpha/ntohl.s, sysdeps/alpha/ntohs.s, + sysdeps/alpha/strlen.S: New files. + + * sysdeps/alpha/divl.S, sysdeps/alpha/divlu.S, sysdeps/alpha/divq.S, + sysdeps/alpha/divqu.S, sysdeps/alpha/divrem.m4, + sysdeps/alpha/macros.m4, sysdeps/alpha/reml.S, sysdeps/alpha/remlu.S, + sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S, sysdeps/alpha/strlen.c: + Removed. + + * sysdeps/generic/sbrk.c (__sbrk): argument is of type ptrdiff_t, not + int. + + * sysdeps/alpha/__longjmp.c (__longjmp): moved dummy while loop + to end of function to avoid a jump across NOPs. + + * sysdeps/alpha/Makefile (sysdep_routines): Removed all rules + pertaining to integer division/remainder routines since new code + doesn't require them. + + * sunrpc/xdr_mem.c, sunrpc/xdr_stdio.c: Use 4 instead of sizeof(long) + where 32 bit quantities are consumed/stored. Various other minor + 64-bit cleanups (casting). + + * sunrpc/xdr.c (xdr_int): test for sizeof(int)==4 to determine + whether xdr_long or xdr_short should be used to encode an int. + Notice that an xdr_long is 4 bytes independent of the architecture + (otherwise no Alpha could interoperate with existing NFS servers, + for example). Ditto for enums. + + * sunrpc/svc_udp.c (svcudp_recv): changed test from 4*sizeof(u_long) + to 16 since it really wants 16 bytes. + + * sunrpc/svc.c (maskp): changed from u_long* to u_int32*. + + * sunrpc/rpc/xdr.h (IXDR_GET_LONG, IXDR_PUT_LONG): change casts to + u_int32_t (instead of u_long). + + * sunrpc/rpc_cmsg.c (xdr_callmsg), sunrpc/svc_authux.c: increment + "buf" pointer by casting it to a char* first since a long* may be 8 + bytes or more and oa->oa_length may be any multiple of 4. + + * sunrpc/clnt_udp.c (clntudp_call): replaced sizeof(u_long) by 4 + since it really is testing for 32 bits. Fixed casts to use + u_int32 instead of u_long. + * sunrpc/xdr_rec.c: Likewise. + + * sunrpc/clnt_tcp.c (clnttcp_call): replaced u_long by u_int32. + * sunrpc/rpc/auth.h: Likewise. + + * limits.h (LONG_MAX, LONG_MIN, ULONG_MAX): use 64 bit values + for Alpha. + +Tue Mar 19 13:27:49 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> + + * sysdeps/i386/fpu/__math.h: New file. + Contributed by John C. Bowman <bowman@hagar.ph.utexas.edu>. + +Sun Mar 17 00:28:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/posix/clock.c: Don't multiply the return value by + CLOCKS_PER_SEC or CLK_TCK. + +Mon Mar 18 13:20:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> + + * sysdeps/mach/hurd/getcwd.c: Fail with ENOENT if a parent directory + scan finds no match. + + * posix/unistd.h (setpgrp): Declare no-arg version unless __FAVOR_BSD. + * misc/bsd-compat.c (setpgrp): New function, two arg version. + * sysdeps/stub/setpgid.c: Remove setpgrp alias. + * sysdeps/mach/hurd/setpgid.c: Likewise. + * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise. + * sysdeps/unix/common/syscalls.list (setpgid): Remove setpgrp alias. + * sysdeps/unix/sysv/irix4/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/setpgrp.c: Obsolete file removed. + * posix/setpgrp.c (setpgrp): New file. + * posix/Makefile (routines): Add setpgrp. + + * elf/Makefile (rtld-link): New canned sequence. + (ld.so, ld-linux.so.1): Use it. Pass -soname option. + + * sysdeps/i386/setjmp.S (__setjmp): Define compatibility entry point. + +Sun Mar 17 23:15:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/unix/sysv/linux/tcgetpgrp.c, + sysdeps/unix/sysv/linux/tcsetpgrp.c: New files. + +Sun Mar 17 07:19:33 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> + + * db/Makefile (CFLAGS-hash_func.c): New variable; pass -Wno-unused. + (CFLAGS): Append -Wno-unitialized. + +Sat Mar 16 20:58:43 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> + + * stdlib/erand48_r.c: Use FP division by powers of two to distribute + short bits into double. + +Sat Mar 16 20:08:22 1996 David Mosberger-Tang <davidm@azstarnet.com> + + * sysdeps/alpha/memchr.S: New file. + * sysdeps/alpha/memchr.c: Obsolete file removed. + * string/tester.c: Soup up memchr tests. + +Sat Mar 16 16:26:09 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> + + * misc/Makefile (headers): Add sysexits.h. + * misc/sysexits.h: New file. + +Thu Mar 14 15:20:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/libm-ieee754/e_atan2.c (__ieee754_atan2): Change atan + call to __atan. + * sysdeps/libm-ieee754/e_atan2f.c (__ieee754_atan2f): Change atanf + call to __atanf. + + * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c, + sysdeps/m68k/fpu/e_asin.c, sysdeps/m68k/fpu/e_asinf.c, + sysdeps/m68k/fpu/e_atanh.c, sysdeps/m68k/fpu/e_atanhf.c, + sysdeps/m68k/fpu/e_cosh.c, sysdeps/m68k/fpu/e_coshf.c, + sysdeps/m68k/fpu/e_exp.c, sysdeps/m68k/fpu/e_expf.c, + sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c, + sysdeps/m68k/fpu/e_log.c, sysdeps/m68k/fpu/e_log10.c, + sysdeps/m68k/fpu/e_log10f.c, sysdeps/m68k/fpu/e_logf.c, + sysdeps/m68k/fpu/e_pow.c, sysdeps/m68k/fpu/e_powf.c, + sysdeps/m68k/fpu/e_remainder.c, sysdeps/m68k/fpu/e_remainderf.c, + sysdeps/m68k/fpu/e_scalb.c, sysdeps/m68k/fpu/e_scalbf.c, + sysdeps/m68k/fpu/e_sinh.c, sysdeps/m68k/fpu/e_sinhf.c, + sysdeps/m68k/fpu/e_sqrt.c, sysdeps/m68k/fpu/e_sqrtf.c, + sysdeps/m68k/fpu/k_cos.c, sysdeps/m68k/fpu/k_cosf.c, + sysdeps/m68k/fpu/k_sin.c, sysdeps/m68k/fpu/k_sinf.c, + sysdeps/m68k/fpu/k_tan.c, sysdeps/m68k/fpu/k_tanf.c, + sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c, + sysdeps/m68k/fpu/s_ceil.c, sysdeps/m68k/fpu/s_ceilf.c, + sysdeps/m68k/fpu/s_cos.c, sysdeps/m68k/fpu/s_cosf.c, + sysdeps/m68k/fpu/s_expm1.c, sysdeps/m68k/fpu/s_expm1f.c, + sysdeps/m68k/fpu/s_fabs.c, sysdeps/m68k/fpu/s_fabsf.c, + sysdeps/m68k/fpu/s_finite.c, sysdeps/m68k/fpu/s_finitef.c, + sysdeps/m68k/fpu/s_floor.c, sysdeps/m68k/fpu/s_floorf.c, + sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c, + sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c, + sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c, + sysdeps/m68k/fpu/s_isnan.c, sysdeps/m68k/fpu/s_isnanf.c, + sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c, + sysdeps/m68k/fpu/s_log1p.c, sysdeps/m68k/fpu/s_log1pf.c, + sysdeps/m68k/fpu/s_logb.c, sysdeps/m68k/fpu/s_logbf.c, + sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c, + sysdeps/m68k/fpu/s_rint.c, sysdeps/m68k/fpu/s_rintf.c, + sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c, + sysdeps/m68k/fpu/s_significand.c, + sysdeps/m68k/fpu/s_significandf.c, sysdeps/m68k/fpu/s_sin.c, + sysdeps/m68k/fpu/s_sinf.c, sysdeps/m68k/fpu/s_tan.c, + sysdeps/m68k/fpu/s_tanf.c, sysdeps/m68k/fpu/s_tanh.c, + sysdeps/m68k/fpu/s_tanhf.c: New files, for m68881 port of fdlibm. + + * sysdeps/m68k/fpu/__math.h: Rewritten for fdlibm. + + * sysdeps/m68k/fpu/isinfl.c: Rewritten to get argument type right. + * sysdeps/m68k/fpu/isnanl.c: Likewise. + +Thu Mar 14 06:01:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> + + * posix/glob.c (glob): In GLOB_BRACE brace expansion, fix buffer size + calculation to include trailing invariant portion. Don't use alloca; + instead use a dynamic auto array for GCC, malloc for non-GCC. + Handle nested braces properly. + + * elf/elf.h (Elf32_auxv_t): Specify prototype (void) for `a_un.a_fcn'. + + * libc-symbols.h (lint): New macro. + +Fri Mar 15 01:18:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * libio/iosetvbuf.c: Add weak alias setvbuf. + +Thu Mar 14 06:01:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> + + * string/strnlen.c: New file. + * string/Makefile (routines): Add strnlen. + * string/string.h [__USE_GNU] (strnlen): Declare new function. + [__OPTIMIZE__]: Define extern inline implementation of it. + + * stdlib/erand48_r.c: Use __mpn_construct_double instead of ldexp and + addition, to avoid using anything from -lm. + +Mon Mar 4 21:57:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/unix/sysv/linux/m68k/Makefile: New file. + + * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYS_ify): Redefine. + (CALL_MCOUNT): New macro, empty unless [PROF]. + (ENTRY): Do CALL_MCOUNT just after the label. + (JUMPTARGET): New macro. + (SYSCALL_ERROR_HANDLER): Fix syntax. + +Thu Mar 14 04:20:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> + + * sysdeps/unix/sysv/linux/init-first.c (init): Call `__personality' + function instead of using inline asm i386 syscall. + * sysdeps/unix/sysv/linux/syscalls.list: Add personality syscall. + + * posix/unistd.h [__USE_BSD]: Declare usleep. + +Tue Mar 12 04:57:57 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> + + * misc/efgcvt.c (MAXDIG): New macro computed from <floats.h> constants. + (fcvt, ecvt): Use it for buffer size. + + * stdlib/drand48-iter.c (__drand48_iterate): Use u_int64_t instead of + conditionalizing long vs long long. + + * stdlib/drand48-iter.c (__drand48_iterate): Don't check for null + pointers; never return EFAULT. + * stdlib/drand48_r.c (drand48_r): Likewise. + * stdlib/erand48_r.c (erand48_r): Likewise. + + * setjmp/Makefile (tests): Add jmpbug. + * setjmp/jmpbug.c: New file. + +Tue Mar 12 04:42:01 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> + + * sysdeps/sparc/jmp_buf.h: Rewritten; use array of ints, not struct. + * sysdeps/sparc/setjmp.S: Rewritten; store %fp value as well. + * sysdeps/sparc/__longjmp.S: Rewritten; unwind frames one by one with + `restore' until the target frame is hit. + +Sun Mar 10 20:29:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/unix/sysv/linux/sigsuspend.c: New file. + * sysdeps/unix/sysv/linux/syscalls.list: Remove sigsuspend, add + s_sigsuspend. + +Thu Mar 7 21:30:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * Makerules (+make-deps, sed-remove-objpfx): Quote periods on the + left side of sed substitutions. + +Sun Mar 10 16:58:10 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu> + + * stdio-common/printf_fp.c (hack_digit): __mpn_normal_size + is not available anymore. Do it ourselves. + + * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_SETCW): + Correct GCC `asm' syntax. + +Tue Mar 12 03:15:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> + + * stdio-common/Makefile (tests): Add tst-ungetc. + * stdio-common/tst-ungetc.c: New test from drepper. + * stdio-common/tstscanf.c (main): New %[ test case from drepper. + + * sysdeps/libm-ieee754/s_scalbn.c (scalbn): Rename to __scalbn; + somehow this was missed, though the weak alias is already there. + + * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_DEFAULT): Change + default to double precision, all interrupts masked; fdlibm requires. + +Sat Mar 9 18:44:27 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> + + * sysdeps/unix/sysv/linux/i386/setfpucw.c: Obsolete file removed. + +Fri Mar 8 22:16:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> + + * stdio-common/printf_fp.c (HAVE_ALLOCA): New macro. + +Tue Mar 5 18:45:14 1996 Miles Bader <miles@gnu.ai.mit.edu> + + * sysdeps/mach/hurd/select.c (__select): Include LASTFD in the + final loop. + +Mon Mar 4 20:54:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * Makeconfig ($(common-objpfx)config.make): Depend on config.h.in. + +Tue Mar 5 12:14:57 1996 Miles Bader <miles@gnu.ai.mit.edu> + + * sysdeps/mach/hurd/select.c (__select): Also don't fault just + because some fdmask is 0. + +Mon Mar 4 17:35:35 1996 Miles Bader <miles@gnu.ai.mit.edu> + + * sysdeps/mach/hurd/select.c (__select): + Don't increment GOT only because READ/WRITE/EXCEPTFDS is 0! + Don't return without frobbing the bitmasks after a timeout. + When clearing the bitmasks, only loop from FIRSTFD to LASTFD. + +Mon Mar 4 17:35:09 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> + + * hurd/catch-signal.c (hurd_safe_memmove): New function. + (hurd_safe_copyin, hurd_safe_copyout): New functions. + * hurd/hurd/sigpreempt.h: Declare them. + +Sun Mar 3 08:43:44 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> + + Replace math code with fdlibm from Sun as modified for netbsd by + JT Conklin and Ian Taylor, including x86 FPU support. + * sysdeps/libm-ieee754, sysdeps/libm-i387: New directories. + * math/math_private.h: New file. + * sysdeps/i386/fpu/Implies: New file. + * sysdeps/ieee754/Implies: New file. + * math/machine/asm.h, math/machine/endian.h: New files. + * math/Makefile, math/math.h: Rewritten. + * mathcalls.h, math/mathcalls.h: New file, broken out of math.h. + * math/finite.c: File removed. + * sysdeps/generic/Makefile [$(subdir)=math]: Frobnication removed. + + * math/test-math.c: Include errno.h and string.h. + + * sysdeps/unix/bsd/dirstream.h: File removed. + * sysdeps/unix/bsd/readdir.c: File removed. + +Sat Mar 2 16:35:40 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> + + * sysdeps/unix/sysv/linux/m68k/profil-counter.h: File removed. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/profil-counter.h: File + removed. + * sysdeps/generic/profil-counter.h: New file. + +Fri Mar 1 17:11:59 1996 Brendan Kehoe <brendan@zen.org> + + * sysdeps/unix/sysv/sysv4/solaris2/sparc/sigcontext.h: New file, + including <sysdeps/unix/bsd/sun/sparc/sigcontext.h>. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/profil-counter.h: New file, + same as linux/m68k/profil-counter.h except the comment. + +Fri Mar 1 10:09:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> + + * stdlib/Makefile (mpn-stuff): New target. + (copy-mpn): Use it. + + * Code copied from GMP updated to 1.937 version. + * stdlib/strtod.c (HAVE_ALLOCA): Define this for gmp headers. + + * posix/glob.c: Use canonical code from autoconf manual for dirent + include. + [_D_NAMLEN]: Redefine NAMLEN using this. + (glob_in_dir): Use NAMLEN macro. + + * sysdeps/posix/profil.c: New file. + +Thu Feb 29 20:55:57 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/unix/sysv/linux/m68k/profil-counter.h: New file. + +Tue Feb 27 12:14:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> + + * libc-symbols.h [GCC >= 2.8] (strong_alias, weak_alias): Remove + `extern' keyword. + + * time/strftime.c: Support - and _ flags to affect number padding. + + * sysdeps/unix/common/tcsendbrk.c: New file. + +Mon Feb 26 10:22:30 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> + + * sysdeps/unix/dirstream.h: Rewritten. + * sysdeps/unix/readdir.c: Rewritten. + * sysdeps/unix/telldir.c: Rewritten. + * sysdeps/unix/closedir.c: Use <...> instead of "..." for dirstream.h. + Remove __ from DIR struct member names. + * sysdeps/unix/dirfd.c: Likewise. + * sysdeps/unix/seekdir.c: Likewise. + * sysdeps/unix/rewinddir.c: Likewise. + * sysdeps/unix/opendir.c: Likewise. Don't allocate extra space after + DIR structure. + * sysdeps/stub/direct.h: File removed. + * sysdeps/unix/bsd/bsd4.4/direct.h: File removed. + * sysdeps/unix/bsd/direct.h: File removed. + * sysdeps/unix/common/direct.h: File removed. + * sysdeps/unix/sysv/irix4/direct.h: File removed. + * sysdeps/unix/sysv/isc3/direct.h: File removed. + * sysdeps/unix/sysv/sco3.2.4/direct.h: File removed. + * sysdeps/unix/sysv/sysv4/solaris2/direct.h: File removed. + * sysdeps/unix/common/direntry.h: New file. + * sysdeps/unix/bsd/direntry.h: New file. + * sysdeps/unix/bsd/bsd4.4/direntry.h: New file. + * sysdeps/unix/sysv/direntry.h: New file. + * sysdeps/stub/direntry.h: New file. + * dirent/dirent.h (struct dirent): Type removed. Include <direntry.h> + to define it. + (_D_EXACT_NAMLEN, _D_ALLOC_NAMLEN): New macros. + * dirent/Makefile (headers): Add direntry.h. + (distribute): Remove direct.h. + * sysdeps/posix/getcwd.c: Use new macros instead of d_namlen. + * dirent/scandir.c: Likewise. + * io/fts.c (fts_build): 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/unix/sysv/sysv4/solaris2/syscalls.list: New file. - * 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. + * sysdeps/mach/hurd/profil.c (MAX_PC_SAMPLES): New macro. + (collector_timeout): New static variable. + (update_waiter): Actually call __task_enable_pc_sampling. + Set collector_timeout based on the `tick' count returned. + (profile_waiter): Use MAX_PC_SAMPLES. Set nsamples before RPC. + Use collector_timeout in __mach_msg call. -Mon Sep 23 17:54:57 1996 Ulrich Drepper <drepper@cygnus.com> + * gmon/Makefile (noprof): New variable containing mcount. + Append profil unless it is in $(unix-syscalls). + (mcount.po): Use $(noprof) for list of targets in this rule. - * 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. + * libc-symbols.h: Define _LIBC before #include <config.h>. - * sysdeps/i386/fpu/__math.h (tan): Make sure gcc knows we use - two registers. Patch by John Bowman. +Sun Feb 25 12:29:23 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> -Sat Sep 21 15:08:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * config.h.in [_LIBC] (HAVE_STRERROR): Define it. + Protect 2nd page of #undef's for generator programs with #ifndef _LIBC. - * sysdeps/mach/libc-lock.h: Fix comment. - * sysdeps/stubs/libc-lock.h: Likewise. + * time/zic.c, time/zdump.c, time/private.h: Updated from ADO 96e. -Sat Sep 21 13:50:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Fri Feb 9 12:40:19 1996 Brendan Kehoe <brendan@lisa.cygnus.com> - * 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. + * libio/cleanup.c (_IO_cleanup_registration_needed) + [!_G_HAVE_ATEXIT]: Init to NULL. + * libio/filedoalloc.c (_IO_cleanup_registration_needed): Remove decl. -Sat Sep 21 14:35:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Thu Feb 8 08:12:50 1996 Brendan Kehoe <brendan@cygnus.com> - * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER) - [_LIBC_REENTRANT]: Add missing semicolon. + * libio/filedoalloc.c (_IO_cleanup_registration_needed): Revert + previous change, since cleanup.c only defines it if _G_HAVE_ATEXIT. - * 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. +Wed Feb 7 15:10:17 1996 Brendan Kehoe <brendan@lisa.cygnus.com> -Sat Sep 21 14:33:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * libio/filedoalloc.c (_IO_cleanup_registration_needed): Declare as + extern. - * libio/Makefile: Make `all' the default target. - * po/Makefile: Likewise. +Sat Feb 24 11:34:13 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> -Mon Sep 23 15:49:47 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/i386/memcmp.S: Fix argument %esp offsets. - * 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. + * time/sys/time.h (timeradd, timersub): New macros; BSD has these. -Mon Sep 23 03:00:10 1996 Ulrich Drepper <drepper@cygnus.com> +Wed Feb 21 02:25:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> - * shadow/sgetspent_r.c (LINE_PARSER): Accept empty 9th field. - Patch by NIIBE Yutaka <gniibe@mri.co.jp>. + * Rules (others): Depend on $(extra-objs), $(install-lib), + $(install-bin), $(install-sbin), in object directory. - * shadow/sgetspent_r.c (LINE_PARSER): Don't accept any chars after - 9th field. + * Makeconfig (link-libc): Don't pass -rpath option with default + path, since ld.so should use the same default. + * Makerules (build-shlib): Likewise. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc] - (sysdep_headers): Add sys/debugreg.h, sys/kd.h, sys/soundcard.h, - and sys/vt.h. - * sysdeps/unix/sysv/linux/sys/debugreg.h: New file. - * sysdeps/unix/sysv/linux/sys/kd.h: New file. - * sysdeps/unix/sysv/linux/sys/soundcard.h: New file. - * sysdeps/unix/sysv/linux/sys/vt.h: New file. - Reported by NIIBE Yutaka <gniibe@mri.co.jp>. + * Makerules (make-target-directory): Use mkinstalldirs. -Thu Sep 26 13:44:29 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + * sysdeps/mach/i386/sysdep.h: Include unix/i386/sysdep.h to + redefine ENTRY et al. - * hurd/Makefile (installed-sunrpc-headers): New variable. - (sunrpc-headers): New variable. - (install-headers-nosubir): Depend on $(installed-sunrpc-headers), - not just <rpc/netdb.h>. - ($(installed-sunrpc-headers)): Provide rule for all of these. + * sysdeps/unix/sysv/linux/i386/sysdep.h (NO_UNDERSCORES, ENTRY): + Macros removed. The code in unix/i386/sysdep.h should now suffice. -Mon Sep 23 15:31:04 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + * sysdeps/unix/i386/sysdep.h (ALIGNARG): New macro, defns for + [HAVE_ELF] and not. + (ENTRY): Use it in .align directive. + (CALL_MCOUNT): New macro, empty unless [PROF]. + (ENTRY): Do CALL_MCOUNT just after the label. - * hurd/Makefile ($(includedir)/rpc/netdb.h): There is no make - variable `top_srcdir' in libc; use $(..) instead. + * Makeconfig (CPPFLAGS-.po): New variable, use -DPROF so assembly + code can call mcount. - * sysdeps/mach/hurd/Makefile (rtld-installed-name): Delete special - definition. It was a *Mistake*. (With a capital M.) +Tue Feb 20 23:05:16 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> - * sysdeps/mach/getsysstats.c (__get_nprocs): Renamed from - __get_nproc. - (__get_nprocs_conf): Renamed from __get_nproc_conf. + * time/private.h, time/zdump.c, time/zic.c: Updated verbatim from ADO; + translation markings are now integrated in his distribution. -Sun Sep 22 15:18:41 1996 Ulrich Drepper <drepper@cygnus.com> + * stdlib/strtod.c (round_and_return): Add missing (mp_limb) 1 cast. - * 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. +Mon Feb 19 18:31:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> - * 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. + * po: New directory where `LANG.po' files for message translations + will reside. + * po/SYS_libc.pot: New file, template of message strings as in source. + * MakeTAGS: New rules to build po/SYS_libc.pot automatically from + the source using xgettext. + * Makerules ($(..)po/%.pot): New rule. + * manual/Makefile (../po/manual.pot): New target, make it empty. -Sat Sep 21 23:42:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + * sysdeps/unix/bsd/alarm.c: Moved to sysdeps/unix/alarm.c. + * sysdeps/unix/bsd/nice.c: Moved to sysdeps/unix/nice.c. + * sysdeps/unix/bsd/stime.c: Moved to sysdeps/unix/stime.c. + * sysdeps/unix/bsd/time.c: Moved to sysdeps/unix/time.c. + * sysdeps/unix/bsd/utime.c: Moved to sysdeps/unix/utime.c. - * sysdeps/mach/getsysstats.c: Include <sys/sysinfo.h>. - (__get_nproc_conf): New function. + * time/zic.c, time/scheck.c, time/private.h, time/tzfile.h: + Updated from ADO 96d. -Sun Sep 22 03:40:52 1996 Ulrich Drepper <drepper@cygnus.com> +Sun Feb 18 14:08:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * resolv/resolv.h: Update to bind-4.9.5-T4B. - * resolv/base64.c: Likewise. - * resolv/res_debug.c: Likewise. - * resolv/res_query.c: Likewise. - * resolv/gethnamaddr.c: Likewise. - * nss/nss_dns/dns-host.c: Likewise. - * resolv/res_comp.c: Likewise. - * resolv/res_send.c: Likewise. - * resolv/arpa/nameser.h: Likewise. Attention: MAXDNAME is much - higher now. - - * resolv/Banner: New file. - * resolv/Makefile (distribute): Add Banner. - -Sat Sep 21 19:15:24 1996 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/stub/getsysstats.c: New file. - * sysdeps/unix/sysv/linux/getsysstats.c: New file. - - * misc/Makefile (headers): Add sys/sysinfo.h. - (routines): Add getsysstats. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc] - (sysdep_headers): Remove sys/sysinfo.h. - * sysdeps/generic/sys/sysinfo.h: New file. - * sysdeps/unix/sysv/linux/sys/sysinfo.h: Add prototype for get_nprocs, - get_phys_pages, and get_avphys_pages. - - * misc/Makefile (routines): Add mntent_r. - * misc/mntent_r.c: New file. - * misc/mntent.c: Remove all functions but getmntent and use - __getmntent_r. - * misc/mntent.h: Add prototype for __getmntent_r. - * misc/fstab.c: Use __getmntent_r function instead of getmntent. - This will not clobber the state in getmntent. - - * sysdeps/generic/confname.h: Add _SC_PROCESSORS_CONF, - _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES, _SC_AVPHYS_PAGES, - _SC_ATEXIT_MAX, and _SC_PASS_MAX. - * sysdeps/stub/sysconf.c: Add handling _SC_PROCESSORS_CONF and - _SC_NPROCESSORS_ONLN by calling __get_nprocs, _SC_PHYS_PAGES by - calling __get_phys_pages, _SY_AVPHYS_PAGES by calling - __get_avphys_pages, _SC_ATEXIT_MAX and _SC_PASS_MAX. - * sysdeps/posix/sysconf.c: Likewise. - * posix/getconf.c (vars): Add _NPROCESSORS_CONF, _NPROCESSORS_ONLN, - _PHYS_PAGES, _AVPHYS_PAGES, ATEXIT_MAX, and PASS_MAX entries. - -Sat Sep 21 05:20:36 1996 Ulrich Drepper <drepper@cygnus.com> - - * version.h (VERSION): Bump to 1.95. - - * Make-dist (+tsrcs): Don't filter out files in subdirs which - match files in the sysdeps hierachy (welcome back, - sys/syscall.h!). - - * resolv/Makefile (libresolv-routines): Remove getnetnamad. - -Sat Sep 21 03:00:19 1996 Ulrich Drepper <drepper@cygnus.com> - - * locale/loadlocale.c (_nl_free_locale): Remove function. - * locale/localeinfo.h: Remove prototype for _nl_free_locale. - * locale/setlocale.c (setlocale): Don't free locale data of - categories which succeeded to load after a wrong or missing data - file was observed. - - * locale/setlocale (setlocale): Initialize NEWNAME correctly so - that it works even when the locale data is not used. - - * stdlib/random_r.c: Fix typo in comment. - * stdlib/drand48-iter.c: Likewise. - * stdlib/drand48.c: Likewise. - * stdlib/erand48.c: Likewise. - * stdlib/jrand48.c: Likewise. - * stdlib/lcong48.c: Likewise. - * stdlib/lrand48.c: Likewise. - * stdlib/mrand48.c: Likewise. - * stdlib/nrand48.c: Likewise. - * stdlib/random.c: Likewise. - * stdlib/seed48.c: Likewise. - * stdlib/srand48.c: Likewise. - * misc/search.h: Likewise. - * misc/hsearch.c: Likewise. - * misc/hsearch_r.c: Likewise. - -Sat Sep 21 14:59:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * 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 <rpc/netdb.h>. - ($(includedir)/rpc/netdb.h): New rule. - [ This is XXX until sunrpc can be built; <rpc/netdb.h> is - essential. ] - -Fri Sep 20 16:06:06 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Add definition, - to guarantee link errors if this is included in ld.so. - -Thu Sep 19 21:50:55 1996 Ulrich Drepper <drepper@cygnus.com> - - * 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. + * csu/initfini.c (_init): Remove bogus volatile declarations and + extra variable, take the address of __gmon_start__ only implicitly + to avoid the test being optimized out. - * sysdeps/posix/cuserid.h: Remove prototype for geteuid(). - De-ANSI-fy. +Sun Feb 18 15:08:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * MakeTAGS ($P/libc.pot): Generate correctly formed header. - * po/header.pot: Correct title line. - * po/nl.po: Update. + * sysdeps/posix/utimes.c (__utimes): There are 1000000 usecs in a + sec. -Thu Sep 19 18:59:55 1996 Ulrich Drepper <drepper@cygnus.com> +Sun Feb 18 13:56:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * Makeconfig (soversions.mk): Prefer shared lib version numbers - is add ons over version in libc itself. + * elf/Makefile, time/Makefile: Make `all' the default target. - * sysdeps/unix/sysv/linux/i386/sysdep.S: Include <sysdep.h>. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Prevent multiple - inclusion. +Mon Feb 19 18:09:04 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> - * libio/iofgets.c: Use __flockfile and __funlockfile instead of - _IO_flockfile and _IO_funlockfile resp. + * misc/sys/ptrace.h: Moved to ... + * sysdeps/generic/sys/ptrace.h: ... here. + * sys/ptrace.h: File removed. - * 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. +Sun Feb 18 12:13:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * malloc/memalign.c: Don't use goto, not necessary anymore. + * sysdeps/unix/sysv/linux/Makefile (headers): Add fpu_control.h. -1996-09-18 Paul Eggert <eggert@twinsun.com> + * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Put it into .bss + so that the symbol alias works. - * 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. + * sysdeps/unix/sysv/linux/m68k/fpu_control.h (_FPU_SETCW): Corrected. -Tue Sep 17 16:14:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/resourcebits.h: New file. - * 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. + * sysdeps/unix/sysv/linux/sys/ptrace.h: New file. -Wed Sep 18 00:25:41 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/syscalls.list: Add getegid, geteuid, + getppid and reboot. - * time/strftime.c (strftime): The T_FMT_AMPM string may be empty. + * sysdeps/unix/sysv/linux/sysconf.c: Special version that does not + use getdtablesize. -Tue Sep 17 20:27:18 1996 Ulrich Drepper <drepper@cygnus.com> +Sat Feb 17 10:30:21 1996 David Mosberger-Tang <davidm@AZStarNet.com> - * math/Makefile (extra-libs-others): Use $(extra-libs) instead - of $(extra-libc). + * stdio-common/printf_fp.c, stdlib/strtod.c, sysdeps/ieee754/dbl2mpn.c, + sysdeps/ieee754/ldbl2mpn.c, sysdeps/ieee754/mpn2dbl.c, + sysdeps/ieee754/mpn2ldbl.c: Cast left operands of shift instructions + to `long' where necessary. -Tue Sep 17 17:09:44 1996 Ulrich Drepper <drepper@cygnus.com> +Thu Feb 15 20:04:50 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu> - * sysdeps/stub/fpu_control.h: Correct end of file comment. + * stdlib/fpioconst.h: Introduce new constant _FPIO_CONST_OFFSET. + * stdio-common/printf_fp.c, stdlib/strtod.c: Use _FPIO_CONST_OFFSET + to correctly access MPN array depending on architecture. -Tue Sep 17 05:39:18 1996 Ulrich Drepper <drepper@cygnus.com> +Mon Feb 19 15:30:26 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> - * 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/tstscanf.c (main): Add check for "0" as %d. - * stdio-common/bug5.c: Create string for `system' argument to - make sure the input and output file names are really correct. + * sysdeps/stub/msync.c: Undo change of Jan 29; just two args. + Only some systems have three args; let them define their own stub. -Sun Sep 15 12:46:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/generic/dl-sysdep.c: Declare _dl_secure. - * configure.in: If $os contains a hyphen add the part before the - hyphen to $ostry. + * sysdeps/generic/machine-gmon.h: New file. + * gmon/Makefile (distribute): Add machine-gmon.h. + * gmon/mcount.c: Undo changes of Feb 13. + Include "machine-gmon.h". -Sun Sep 15 18:14:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Sun Feb 18 13:24:06 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> - * sysdeps/m68k/fpu/__math.h (__ieee754_pow, __ieee754_powf, - __ieee754_powl): Rename local variable i to __i. - (__ieee754_atan2, __ieee754_atan2f, __ieee754_atan2l): New inline - functions. - * sysdeps/m68k/fpu/e_atan2.c, sysdeps/m68k/fpu/e_atan2f.c, - sysdeps/m68k/fpu/e_atan2l.c: New files. - -1996-09-15 Paul Eggert <eggert@twinsun.com> - - * manual/time.texi: Change `range X to Y' to `range X through - Y', to avoid ambiguity in English. - - (strftime): Numbers that do not have a range indicated are not padded. - Describe E and O modifiers. - %g, %G, %u: New formats. - %C, %y, %Y: Describe behavior on negative years. - %e: Fix typo (was labeled %d). - %l, %V: Fix typo in range. - %M, %S, %U, %w, %W: Give ranges. - %p: Clarify how noon and midnight are handled for AM and PM. - %s: Clarify leap second handling. - %r: Now locale-defined. - %C, %D, %e, %h, %n, %r, %t, %T: Say that they are POSIX.2 extensions. - %z: Say that it is a GNU extension. - %Z: Wording fix. - - * time/strftime.c: (strftime): - %V: Fix mishandling of week numbers near year boundaries. - %g, %G: New formats (suggested by Arthur David Olson). - %U, %W: Use inline expression instead of `week' function. - %C, %y: Handle negative years portably. - %C, %Y: Use width 1, since values can be arbitrarily wide. - %r: Use T_FMT_AMPM format if _NL_CURRENT is defined. - %u: New Posix.2 format. - %w: Width is 1, not 2. - (iso_week_days): New function, for %V, %G, %g. - (week): Remove; it didn't handle %V correctly. - (__isleap): New macro. - (mbsinit): Use arg, to pacify GCC -Wall. - -1996-09-13 Paul Eggert <eggert@twinsun.com> - - * time/strftime.c (strftime): - If using the GNU C library, do not bother to check for - multibyte encodings, since they're safe in formats. Otherwise: - - Check for multibyte encodings when encountering any character that - is not in the basic execution character set of the C Standard. - - Use mbrlen (if available) instead of mblen, to avoid modifying - mblen's internal state. - - Do not assume that '%' cannot appear as the first character of a - multibyte character sequence, since this is possible when not in the - initial shift state. - (HAVE_MBRLEN, MULTIBYTE_IS_FORMAT_SAFE): Define if _LIBC is defined. - (DO_MULTIBYTE): New macro. - (<ctype.h>): Do not include. - (<wchar.h>): Include if HAVE_MBRLEN. - (mbstate_t, mbrlen, mbsinit): Define if ! HAVE_MBRLEN. - (mbstate_zero): New constant. - -1996-09-12 Paul Eggert <eggert@twinsun.com> - - * time/strftime.c (strftime): - Use an empty zone if it can't be determined; POSIX.2 requires this. - Use plain `int' for pad and modifier (which now contain char value). - Use plain `int' for number_value, to print negative values correctly. - Use plain `int' for digits; there was no need to make it unsigned. - Initialize subfmt consistently. - Remove incorrect code for %EC and %Ey; they aren't implemented yet. - For %O, if there is no alternate digit, output Ascii instead of "". - Output the `%' of an unknown format; this is most likely the right - thing to do if a multibyte string has been misparsed. - -Thu Sep 12 23:23:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * stdio-common/scanf7.c (main): Remove extra conversion from - printf format string. - -Thu Sep 12 23:01:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * stdlib/test-canon.c (tests): Rename structure member from errno - to error, all uses changed. - -Thu Sep 12 20:08:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * sysdeps/m68k/fpu/__math.h (__ldexp, __ldexpf, __ldexpl): - Removed. - * sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c, - sysdeps/m68k/fpu/s_ldexpl.c: Removed, use generic implementation - instead. - * sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c, - sysdeps/m68k/fpu/s_scalbnl.c: Replaced with old contents of - s_ldexp.c, s_ldexpf.c and s_ldexpl.c, resp., suitably adpted. + * sysdeps/unix/sysv/linux/direct.h: File removed, since it is + identical to unix/common/direct.h. + + * sysdeps/unix/Makefile [no_deps]: Don't include s-proto.d. + + * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Don't add ipc. + + * stdio-common/Makefile (tests): Remove scanf6. + + * sysdeps/unix/sysv/linux/Makefile (non-lib.a): Append libieee.a. + + * time/mktime.c (mktime): Move static variable localtime_offset to + file scope. + + * stdio-common/vfscanf.c: Put '0' in buffer before scanning for %i + base indicator. + +Thu Feb 15 16:56:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Corrected. + (ELF_MACHINE_BEFORE_RTLD_RELOC): Define. + (_dl_runtime_resolve): Save %a1 as well. + (ELF_MACHINE_RUNTIME_FIXUP_ARGS): Add second dummy arg. + (elf_machine_relplt): Define. + + * elf/dl-runtime.c: Include possible extra args in declaration of + fixup. + +Fri Feb 16 11:01:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> + + * time/tzset.c: Limit hours to 23, not 12. From jaffer. + +Fri Feb 16 10:14:05 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> + + * Makeconfig (CFLAGS-.po): Use -pg instead of -p. + +Thu Feb 15 13:57:08 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> + + * mach/Machrules: Use -include for $(*.ir). + + * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS): Mask off type bits in + request values. + * sysdeps/mach/hurd/ioctls.h (_IOC_NOTYPE): New macro. + (_IOT_COUNT2): Field is 3 bits, not 2. + * sysdeps/mach/hurd/ioctl.c: Ignore handler if it fails with ENOTTY. + * hurd/hurdioctl.c (_hurd_lookup_ioctl_handler): Mask off type + bits before looking up handler. + (fioctl): Use __hurd_dfail. + (fioctl, fioclex): Use ENOTTY for bogus request instead of EGRATUITOUS. + +Thu Feb 15 11:49:45 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> + + * sysdeps/unix/sysv/sysv4/Makefile [$(subdir)-signal] + (sysdep_routines): Don't add sys-sig. + + * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: New file. + +Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com> + + * sysdeps/alpha/memchr.c (memchr): loop searching for matching + character bailed out one too early; changed constant 6 to + 7 to fix this. + +Wed Feb 14 01:08:58 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> + + * posix/execvp.c: When executing shell on script, first arg is + full file name, not argv[0]. + + * mach/Makefile [no_deps]: Inhibit inclusion of mach-syscalls.mk. + * mach/Machrules [no_deps]: Inhibit interface rules. + + * malloc/Makefile (distribute): Removed TODO. + +Tue Feb 13 05:12:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> + + * sysdeps/unix/sysv/linux/syscalls.list (ipc): Specify msgget in + caller column. + + * sysdeps/unix/common/syscalls.list: Add sigaction syscall. + + * sysdeps/unix/sysv/linux/gnu/types.h: Moved from linux/i386. + + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=math] + (sysdep_routines): Append setfpucw. + (extra-objs): Append ieee-fpucw.o. + (install-lib): Append libieee.a. + (libieee.a): New target. + * sysdeps/unix/sysv/linux/ieee-fpucw.c: New file. + * sysdeps/unix/sysv/linux/i386/fpu_control.h + (_FPU_GETCW, _FPU_SETCW): New macros. + (fpu_control_t): New typedef. + (__setfpucw): Use fpu_control_t for argument type. + * sysdeps/unix/sysv/linux/fpu_control.c: Moved from linux/i386. + + * sysdeps/unix/sysv/linux/init-first.c: Moved from linux/i386. + + * sysdeps/unix/sysv/linux/syscalls.list: Add ipc syscall. + * sysdeps/unix/sysv/linux/i386/syscalls.list: File removed. + +Sat Feb 10 13:09:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/unix/sysv/linux/m68k/brk.c, + sysdeps/unix/sysv/linux/m68k/mmap.S, + sysdeps/unix/sysv/linux/m68k/select.S, + sysdeps/unix/sysv/linux/m68k/sigcontext.h, + sysdeps/unix/sysv/linux/m68k/sigreturn.S, + sysdeps/unix/sysv/linux/m68k/socket.S, + sysdeps/unix/sysv/linux/m68k/syscall.S, + sysdeps/unix/sysv/linux/m68k/sysdep.S, + sysdeps/unix/sysv/linux/m68k/sysdep.h: New files. + + * sysdeps/unix/sysv/linux/m68k/fpu_control.h: New file. + + * sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c, + sysdeps/m68k/isinfl.c, sysdeps/m68k/isnanl.c: New files. + + * sysdeps/unix/sysv/linux/sys/mman.h: Define MAP_ANON and + MAP_FILE if not already defined. + + * elf/elf.h: Add m68k reloc definitions. + * sysdeps/m68k/dl-machine.h, sysdeps/m68k/elf/start.S: New files. + +Tue Feb 13 00:12:12 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> + + * elf/dl-runtime.c (fixup) [ELF_MACHINE_RUNTIME_FIXUP_ARGS]: Let + this macro declare extra leading args. + + * Makerules [$(elf)=yes] (ar-symtab-name): Define to empty. + + * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE, + elf_machine_relplt): New macros. + * elf/dl-runtime.c: New file. + * sysdeps/i386/dl-runtime.c, sysdeps/stub/dl-runtime.c: Files removed. + + * gmon/Makefile (headers): Remove machine-gmon.h. + * sysdeps/stub/machine-gmon.h, sysdeps/i386/machine-gmon.h: Removed. + * gmon/mcount.c [! NO_UNDERSCORES] (_mcount): Specify "mcount" as + the asm name. + (_mcount): Define normally, taking no args. + Use __builtin_return_address to fetch PC values of caller and caller's + caller. + + * Makerules: Rewrote rules to update libc archives of all flavors. + Define separate specific rules for each flavor using o-iterator. + + * sysdeps/unix/Makefile: Include s-proto.d only ifdef subdir. + +Sat Feb 10 11:35:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * Makerules (ar-symtab-name): New macro. Replace all occurences + of __.SYMDEF by $(ar-symtab-name). + * sysdeps/unix/sysv/Makefile (ar-symtab-name): Define as empty. + +Mon Feb 12 03:10:41 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> + + * Makefile (configure, %/configure): Depend on aclocal.m4. + * Make-dist (configure, %/configure): Likewise. - * sysdeps/m68k/fpu/__math.h (__frexp, __frexpf, __frexpl): - Return value must be in [0.5, 1), not [1, 2). Reported by Chris - Lawrence. - (__ilogb, __ilogbf, __ilogbl): Check for argument being zero. - (__scalbn, __scalbnf, __scalbnl): Use second argument directly. + * sysdeps/unix/Makefile: Include s-proto.d for its deps. -Thu Sep 12 19:59:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * gmon/sys/gmon.h: Don't include machine-gmon.h; those defns are + only needed in the implementation, not for any users. - * sysdeps/libm-ieee754/e_acoshl.c: Fix typos. - * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable. + * time/northamerica: Updated from ADO 96c, new rules for Mexico in + 1996. -Thu Sep 12 19:59:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sunrpc/pm_getport.c: #if 0 out gratuitous inclusion of <net/if.h>. + * sunrpc/pm_getmaps.c: Likewise. + + * sysdeps/unix/sysv/syscalls.list: Add setrlimit and settimeofday, + so real syscalls override unix/sysv/*.c on sysv-derived systems + that have them. + * sysdeps/unix/common/syscalls.list: Add settimeofday here, to + override unix/sysv/settimeofday.c since that overrides + unix/syscalls.list. + + * Makeconfig (+link): Put $(link-libc) after deps from $^, + regardless of where libc.a appears in the deps. + + * sysdeps/unix/sysv/sysv4/syscalls.list: Remove redundancies. + Add __waitid. + * sysdeps/unix/sysv/linux/syscalls.list: Remove redundancies. + Define __ name for sigprocmask. + * sysdeps/unix/bsd/ultrix4/syscalls.list: Remove redundancies. + Add getsysinfo. + * sysdeps/unix/bsd/sun/sunos4/syscalls.list: Remove redundancies. + * sysdeps/unix/bsd/sun/syscalls.list: Remove redundancies. + * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove redundancies. + * sysdeps/unix/bsd/syscalls.list: Remove settimeofday, utimes. + Add getdents, wait3, waitpid. + * sysdeps/unix/syscalls.list: Add seteuid, setegid, setsid, + settimeofday, sigsuspend, sstk, utimes. + * sysdeps/unix/bsd/ultrix4/mips/sigvec.S: File removed. + * sysdeps/unix/bsd/ultrix4/mips/syscalls.list: New file. + * sysdeps/unix/bsd/ultrix4/mips/Makefile (sysdep_routines): + Removed sigtramp. + * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Renamed from sigtramp.c. + * sysdeps/unix/bsd/bsd4.4/sstk.S: File removed. + * sysdeps/unix/bsd/hp/m68k/syscalls.list: File removed. + * sysdeps/unix/bsd/osf/alpha/getdents.S: File removed. + * sysdeps/unix/bsd/ultrix4/getsysinfo.S: File removed. + * sysdeps/unix/bsd/ultrix4/waitpid.S: File removed. + * sysdeps/unix/bsd/ultrix4/mips/sigtramp.c: File removed. + * sysdeps/unix/bsd/ultrix4/mips/sigvec.S: File removed. + * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: New file. + * sysdeps/unix/bsd/ultrix4/mips/syscalls.list: New file. + * sysdeps/unix/sysv/irix4/wait3.S: File removed. + * sysdeps/unix/sysv/sysv4/__waitid.S: File removed. + * sysdeps/unix/sysv/sysv4/fchdir.S: File removed. + * sysdeps/unix/sysv/sysv4/setegid.S: File removed. + * sysdeps/unix/sysv/sysv4/seteuid.S: File removed. + * sysdeps/unix/sysv/sysv4/sigaltstack.S: File removed. + * sysdeps/unix/sysv/sysv4/solaris2/utimes.S: File removed. + + * hurd/hurdfault.c (_hurdsig_fault_init): Set qlimit on + FORWARD_SIGEXC to one. Uncomment setting of thread exc port, and + move it to last thing. + +Sat Feb 10 05:57:08 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> + + * sysdeps/generic/make_siglist.c: #undef _SIGNAL_H before defining it. + + * sysdeps/unix/sysv/linux/syscalls.list: Add sigprocmask, sigsuspend. + +Sat Feb 10 04:18:48 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * sysdeps/libm-ieee754/e_acoshl.c: Fix typos. - * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable. + * posix/execvp.c: If execv fails with ENOEXEC, run the shell on + the file. -Thu Sep 12 19:56:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Fri Feb 9 11:46:45 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * inet/herrno.c (__h_errno_location): Fix return type. + * time/Makefile (CFLAGS-zdump.c, CFLAGS-zic.c, CFLAGS-ialloc.c, + CFLAGS-scheck.c): Use -DNOID instead of -Wno-unused. -Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + * hurd/Makefile (user-interfaces): Added hurd/tioctl. - * hurd/hurdinit.c (__libc_argv): Provide common decl. - (_hurd_setproc): Don't declare __libc_argv here. +Thu Feb 8 18:55:27 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Tue Sep 17 10:51:58 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + * hurd/hurdioctl.c (tiocsctty): Set the terminal's pgrp to our own. - * malloc/memalign.c (memalign): Only acquire __libc_malloc_lock - for actual modifications to global state. +Wed Feb 7 18:48:30 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Fri Sep 13 01:21:36 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + * Makefile (subdirs): Added wcsmbs. + * wcsmbs: New directory of wide char/multibyte char functions from + drepper. - * sysdeps/mach/Makefile (includes): Add -I$(common-objpfx)mach/. - * sysdeps/mach/hurd/Makefile (includes): Add - -I$(common-objpfx)hurd/. Reported by Marcus Daniels. + * hurd/hurdmsg.c (_S_msg_report_wait): Function removed. + * hurd/report-wait.c: New file. + * hurd/Makefile (routines): Added report-wait. - * 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. + * sysdeps/mach/hurd/Makefile (inhibit-unix-syscalls): New variable. -Thu Sep 12 23:58:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + * sysdeps/mach/hurd/i386/intr-msg.h (struct mach_msg_trap_args): + New type. + (SYSCALL_EXAMINE, MSG_EXAMINE): New inline functions. + * sysdeps/mach/hurd/i386/trampoline.c (struct mach_msg_trap_args): + Structure moved to intr-msg.h; include that. - * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): Fix - syntax error. + * time/Makefile (CFLAGS-ialloc.c): Add -Wno-unused. + (CFLAGS-scheck.c): New variable. - * stdio-common/Makefile: Put lockfile in routines - unconditionally. - Define _MT_SAFE_IO if using for libio and compiling reentrant - libc. + * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base, + __hurd_sigthread_stack_end, __hurd_sigthread_variables, + __hurd_threadvar_stack_mask): New variables. - * 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. + * sysdeps/mach/hurd/fork.c: Set the new task's exception port to + its new message port. -Fri Sep 13 04:33:08 1996 Ulrich Drepper <drepper@cygnus.com> + * misc/init-misc.c: Put __init_misc in the __libc_subinit set. - * sched.h: New file. Helper to access posix/sched.h. - * posix/sched.h: Change `sched_params' to `sched_param' to follow - POSIX.4. + * configure.in (uname): Add quoting. -Thu Sep 12 20:12:40 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/mach/hurd/fchdir.c: Don't consult errno unless lookup fails. + * hurd/fchroot.c: Likewise. - * 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. + * posix/sys/types.h [GCC >= 2.7]: Define intN_t/u_intN_t using + __attribute__ ((__mode__ (__XX__))). -1996-09-12 Paul Eggert <eggert@twinsun.com> +Wed Feb 7 03:24:05 1996 Torbjorn Granlund <tege@tmg.se> + + * sysdeps/i386/i586/memcopy.h (WORD_COPY_FWD): Manually allocate + destination cache lines. + (WORD_COPY_BWD): Likewise. + +Wed Feb 7 14:16:36 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * sysdeps/generic/Makefile (make_siglist): Get signum.h absolute + file name first thing, before $(native-compile) changes directories. + + From Gord Matzigkeit <gord@enci.ucalgary.ca>: + * sysdeps/unix/make_errlist.c: Use strerror if available. + * sysdeps/unix/configure.in: New file + + * sysdeps/unix/bsd/sun/syscalls.list: Added sigvec. + * sysdeps/unix/bsd/sun/sigvec.S: File removed. + + * sysdeps/stub/sendto.c: Make sockaddr arg pointer to const. + * sysdeps/stub/connect.c: Likewise. + * sysdeps/stub/bind.c: Likewise. - * 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. + * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): RETRYNAME of + "" is only special for FS_RETRY_NORMAL; for FS_RETRY_REAUTH, do + another dir_lookup of "". -Thu Sep 12 14:03:29 1996 Ulrich Drepper <drepper@cygnus.com> +Tue Feb 6 12:46:29 1996 David Mosberger-Tang <davidm@azstarnet.com> - * 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. + * libc-symbols.h (weak_alias, weak_symbol): added definitions + for ECOFF (HAVE_ECOFF). - * sysdeps/mach/hurd/Makefile (rpath-link): Don't use += because - old and new value must be glued using `:'. - Reported by Marcus Daniels. +Fri Feb 2 13:09:18 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Thu Sep 12 12:33:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + * sysdeps/mach/hurd/fork.c: Clear trace flag in child. - * sysdeps/mach/hurd/dl-cache.c: Delete second copy of file - accidentally added on. +Wed Jan 31 20:08:26 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * sysdeps/stub/intr-msg.h: New file. + * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Clear SS->intr_port + when cancelled before RPC. - * stdio-common/vfprintf.c: Include <libc-lock.h>. - * stdio-common/vfscanf.c: Include <libc-lock.h>. +Tue Jan 30 13:32:05 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New - macro. - (__libc_cleanup_region_end): New macro. + * dirent/scandir.c: Allocate dirents with correct size for name, and + copy with correct size. -Thu Sep 12 03:35:27 1996 Ulrich Drepper <drepper@cygnus.com> + * hurd/hurdinit.c [! PIC] (map0): New function, on _hurd_preinit_hook. - * 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. + * stdio-common/vfscanf.c (TYPEMOD): New macro of all type modifier + flag bits. + (__vfscanf): Fix checking of extra type modifiers. + + * time/asia, time/australasia, time/backward: Updated from ADO 96b. + +Tue Jan 30 12:17:26 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de> + + * stdlib/strtod.c: Only negate exponent when there really is one. + + * stdio-common/vfscanf.c: Accept type modifiers on %n. + Fix FP number parsing. + +Mon Jan 29 21:53:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * sysdeps/stub/msync.c (msync): Declare third arg FLAGS. + + * resolv/Makefile (+cflags): Append to this instead of CFLAGS. + +Mon Jan 29 16:29:16 1996 Miles Bader <miles@gnu.ai.mit.edu> + + * sysdeps/mach/hurd/select.c (__select): Recalculate GOT to + include an increment for each operation allowed on each fd. + +Mon Jan 29 11:44:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * sysdeps/unix/sysv/linux/configure: Set $inhibit_glue. + + * Makefile: Use -include for sysd-dirs. + + * configure.in (uname): Check for uname in syscalls.list files. + * sysdeps/unix/sysv/syscalls.list: Remove uname. + * sysdeps/unix/syscalls.list: Add uname. + + * stdlib/strtol.c (weak1): New macro, to get the right name declared + weak. -1996-09-11 Paul Eggert <eggert@twinsun.com> + * sysdeps/posix/getcwd.c (size_t): Don't define #ifdef __GNU_LIBRARY__. + + * db/hash/ndbm.c: Change all uses of `errno' struct member to `errnum'. + (dbm_open): Use dynamic allocation for file name buffer, instead of + limitting its size to MAXPATHLEN. + + * db/btree/bt_open.c (tmp): Use dynamic allocation for file name + buffer, instead of limitting its size to MAXPATHLEN. + + * db/hash/hash.h (HTAB): Rename member `errno' to `errnum'. + * db/hash/hash.c: Change all uses of `errno' struct member to `errnum'. + +Sun Jan 28 19:42:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * time/Makefile: Fix check for cross compiling. + +Thu Jan 25 21:10:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * db/Makefile (subdir-dirs): Renamed from dbdirs. + + * Makerules (distinfo-vars): Add subdir-dirs. + + * MakeTAGS: Remove vpath directives. + (all-dirs): Prepend $(subdir-dirs). + (all-sources, all-headers): Use wildcard to find sources. + +Mon Jan 29 10:44:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * malloc/Makefile (CFLAGS-vm-limit.c, CFLAGS-ralloc.c): New + variables. + + * mach/msgserver.c: Declare DEMUX arg with prototype. + +Sun Jan 28 17:25:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * setjmp/setjmp.h (jmp_buf): Give a tag in the struct defn, to + make C++ happy. + * alpha/jmp_buf.h: Likewise. + * m68k/jmp_buf.h: Likewise. + * mips/jmp_buf.h: Likewise. + * sparc/jmp_buf.h: Likewise. + * vax/jmp_buf.h: Likewise. + + * sysdeps/generic/memmem.c: Fix return value in case where + NEEDLE_LEN==0. + + * hurd/hurdlookup.c (__file_name_lookup_under, + __file_name_lookup): Restrict mode with umask. + * sysdeps/mach/hurd/xmknod.c: Restrict mode with umask. + * sysdeps/mach/hurd/mkdir.c: Restrict mode with umask. + +Fri Jan 26 12:20:45 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * stdlib/strtol.c: Undo last change. ANSI C changed since the + draft I checked yesterday. Sigh. + +Thu Jan 25 18:58:25 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * stdlib/strtol.c [UNSIGNED]: Don't recognize + or - as sign. + +Wed Jan 24 03:22:07 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * malloc/mcheck.c (mabort): Declare prototype. + + * sysdeps/unix/sysv/linux/fcntlbits.h: Moved from linux/i386. + + * Makerules: Use -include for generated makefiles. + + * errno.h: Don't declare errno if it's defined as a macro. + + * stdio-common/vfscanf.c: Disallow l flag after ll or L. + + * stdio-common/Makefile (tests): Add scanf[1-9]. + * stdio-common/scanf[1-9].c: New files. Bug tests from hjl. + +Wed Jan 24 04:18:36 1996 Paul Eggert <eggert@twinsun.com> * strftime.c (strftime): - Handle E and O modifiers, required for POSIX.2 and XPG4. - Don't use sprintf to format numbers; this way, we can handle time_t - correctly regardless of whether it's signed. - Don't dump core if format ends in %. - In default %c format, use %e instead of %d, for POSIX.2 compatibility. - For %z: - Use tm_gmtoff if available. - Output nothing if tm_isdst is negative. - Output correct value even if arg is 1969-12-31 23:59:59 UTC. - Don't assume that UTC offset is less than 24 hours; - Posix requires support for 24 hours, and there's no point - limiting it at all. - (HAVE_TM_GMTOFF, TYPE_SIGNED, INT_STRLEN_BOUND): New macros. - (CHAR_BIT): Define if <limits.h> doesn't. - (tm_diff): New function. - (fmt, <stdio.h>): Remove; no longer used. - -Thu Sep 12 02:21:44 1996 Ulrich Drepper <drepper@cygnus.com> - - * db/Makefile: Add extra-libs-others variable so that shared - library is built in `others' pass. - * elf/Makefile: Likewise. - * math/Makefile: Likewise. - * resolv/Makefile: Likewise. - - * 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 <eggert@twinsun.com> - - * 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 <schwab@issan.informatik.uni-dortmund.de> - - 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 + When invoking self, check whether the subsidiary invocation failed. + Use "???" (not "") to denote unknown time zone information. + + Make this source file portable to standalone contexts (e.g. GNU Emacs). + <config.h>: Include if HAVE_CONFIG_H is defined. + (HAVE_LIMITS_H, HAVE_MBLEN, HAVE_TM_ZONE, STDC_HEADERS): New symbols, + defined if _LIBC or if <config.h> defines them. + <ansidecl.h>, "../locale/localeinfo.h": Include only if _LIBC. + <sys/types.h>: New include; some hosts require it for `time_t'. + <ctype.h>: Include only if HAVE_MBLEN (since it's only needed then). + <limits.h>: Include only if HAVE_LIMITS_H. + <stddef.h, stdlib.h, string.h>: Include only if STDC_HEADERS. + (memcpy): Define in terms of bcopy if !STDC_HEADERS. + (__P, PTR): Define if not already defined. + (__tzname, __daylight, __timezone): Remove macros; no longer needed. + (add, strftime): Don't use NULL, for portability to some weird hosts. + (fmt): If !_LIBC, don't assume sprintf returns a count. + (week, strftime): Use old-style function declarations. + (weekday_name, month_name): New constants. + (strftime): Use traditional C values if locale support isn't available. + Use `const' instead of CONST. For time zones, use tm_zone if + possible, then fall back on tzname. Don't check for multibyte + characters unless mblen is supported. Use formats like %02d instead + of %.2d, for portability to older hosts. + +Wed Jan 24 00:07:52 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * stdio-common/vfscanf.c (GROUP, MALLOC): New flag macros. + (__vfscanf): Eliminate flag vars that were redundant with FLAGS bits. + Fix bug in recognition of %ll flag for long long. + Fix overeager checks for conflicting type modifiers. + With ' flag, match thousands separators for decimal numbers. + +Tue Jan 23 22:02:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * locale/Makefile (CFLAGS-locfile-lex.c): New variable. + + * resolv/Makefile (CFLAGS): Disable some warnings. + + * sysdeps/generic/Makefile (elided-routines): Removed hypot. + (+gccwarn): Set with override. + + * stdio-common/Makefile (CFLAGS-tst-printf.c): New variable. + + * posix/Makefile (CFLAGS-regex.c): New variable. + + * malloc/Makefile (CFLAGS-obstack.c): New variable. + + * io/Makefile (CFLAGS-fts.c): New variable. + * io/fts.c (fts_open): Use prototypes for COMPAR decl. + +Tue Jan 23 21:35:32 1996 Miles Bader <miles@gnu.ai.mit.edu> + + * sysdeps/mach/hurd/bind.c (bind): Ensure NAME for the AF_LOCAL + case is '\0'-terminated. + +Tue Jan 23 19:49:54 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * elf/rtld.c (dl_main): Support additional args in --list mode for + debugging: look them up as symbol names and print values. + + * misc/getttyent.c (skip, value): Declare with prototypes in file + scope. + + * csu/initfini.c (_init): Explicitly set a variable that is + pointer to volatile with the address of __gmon_start__, to avoid + the test being optimized out. + +Mon Jan 22 10:40:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * sysdeps/posix/getcwd.c [__GNU_LIBRARY__]: Include unistd.h. + + * io/fts.h (FTSENT): Define fts_compar member with prototype. + + * hurd/hurd.h: Use prototype in getcttyid decl. + + * stdlib/l64a.c: Fix typo in last change. + + * stdlib/drand48-iter.c: Test limits.h macros instead of sizeof + for determining size of types. + * stdlib/srand48_r.c: Likewise. + + * misc/utmp.h: Declare login, logout, logwtmp. + * misc/logout.c: Declare argument as pointer to const. + * misc/login.c: Likewise. + * misc/logwtmp.c: Likewise. + Include time.h, string.h. + + * misc/efgcvt_r.c: Include stdlib.h. + + * io/mknod.c: Include sys/types.h. + + * gmon/sys/gmon.h: Declare monstartup, _mcleanup. + + * csu/gmon-start.c (_start, etext): Declare with prototypes. + + * stdio-common/vfscanf.c (%[): Fix range handling. + +Sun Jan 21 00:55:25 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * misc/Makefile (headers): Rename queue.h to sys/queue.h. + * misc/queue.h: Moved to misc/sys/queue.h. + + * sysdeps/unix/sysv/linux/shmat.c: Include sys/shm.h instead of + sys/sem.h. + + * stdlib/stdlib.h [__USE_SVID]: Declare a64l, l64a. + + * stdlib/l64a.c: Use 6-bit numbers as indices in CONV_TABLE, not + literal byte values. + + * misc/bsd-compat.c (getpgrp): Define with prototype. + + * misc/init-misc.c (__progname_full): New variable. + (program_invocation_name, program_invocation_short_name): New aliases. + (__init_misc): Define with prototype. Set __progname_full. + * misc/progname.c: File removed. + * misc/Makefile (aux): Remove progname. + + * misc/hsearch_r.c (isprime): Define with prototype. + + * sysdeps/unix/sysv/linux/seteuid.c: Just include unix/bsd version. + * sysdeps/unix/bsd/seteuid.c: Disallow arg of -1. + * sysdeps/unix/bsd/setegid.c: Likewise. + +Fri Jan 19 13:28:59 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * sysdeps/unix/sysv/linux/tcdrain.c: Define tcdrain, not + __tcdrain. + + * posix/glob.c (glob): Use prototype in getlogin decl. + + * db/ndbm.h: Declare dbm_error, dbm_clearerr. + * db/db/db.c (__dberr): Define with prototype. + (__dbpanic): Use prototypes in casts. + * db/hash/hash_log2.c: Add prototype decl. + + * sysdeps/generic/_strerror.c (_strerror_internal): Define with + prototype. + + * sysdeps/unix/mkdir.c, syspdep/unix/rmdir.c: Moved from unix/sysv. + They will be overridden with syscalls if extant by unix/syscalls.list. + + * Makeconfig (+gccwarn): Add -Wstrict-prototypes. + + * stdio-common/printf_fp.c (__printf_fp): Define with prototype. + * stdio-common/vfprintf.c (_IO_helper_overflow): Likewise. + +Thu Jan 18 00:32:43 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * io/Makefile (routines): Add mknod, xstat fxstat lxstat xmknod. + + * sysdeps/unix/sysv/linux/ptrace.c: Use ... decl, and stdarg.h to + get args. + + * posix/glob.c (_GNU_SOURCE): Define if undefined, so glob.h + defines GNU extensions. + * posix/fnmatch.c: Likewise. + + Replaced all simple system call files *.S throughout sysdeps/unix + with syscalls.list files to be processed by make-syscalls.sh. + * sysdeps/unix/s-proto.S: New file. + * sysdeps/unix/syscalls.list: New file. + * sysdeps/unix/bsd/syscalls.list: New file. + * sysdeps/unix/bsd/bsd4.4/syscalls.list: New file. + * sysdeps/unix/bsd/hp/m68k/syscalls.list: New file. + * sysdeps/unix/bsd/osf/syscalls.list: New file. + * sysdeps/unix/bsd/osf/alpha/syscalls.list: New file. + * sysdeps/unix/bsd/sony/newsos4/syscalls.list: New file. + * sysdeps/unix/bsd/sun/syscalls.list: New file. + * sysdeps/unix/bsd/sun/sunos4/syscalls.list: New file. + * sysdeps/unix/bsd/ultrix4/syscalls.list: New file. + * sysdeps/unix/common/syscalls.list: New file. + * sysdeps/unix/inet/syscalls.list: New file. + * sysdeps/unix/mman/syscalls.list: New file. + * sysdeps/unix/sysv/syscalls.list: New file. + * sysdeps/unix/sysv/irix4/syscalls.list: New file. + * sysdeps/unix/sysv/isc2.2/syscalls.list: New file. + * sysdeps/unix/sysv/linux/syscalls.list: New file. + * sysdeps/unix/sysv/linux/i386/syscalls.list: New file. + * sysdeps/unix/sysv/sco3.2.4/syscalls.list: New file. + * sysdeps/unix/sysv/sysv4/syscalls.list: New file. + * sysdeps/unix/sysv/sysv4/i386/syscalls.list: New file. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/syscalls.list: New file. + * sysdeps/unix/acct.S: File removed. + * sysdeps/unix/chdir.S: File removed. + * sysdeps/unix/chmod.S: File removed. + * sysdeps/unix/chown.S: File removed. + * sysdeps/unix/chroot.S: File removed. + * sysdeps/unix/close.S: File removed. + * sysdeps/unix/configure: File removed. + * sysdeps/unix/configure.in: File removed. + * sysdeps/unix/dup.S: File removed. + * sysdeps/unix/fcntl.S: File removed. + * sysdeps/unix/fsync.S: File removed. + * sysdeps/unix/getgid.S: File removed. + * sysdeps/unix/getpid.S: File removed. + * sysdeps/unix/getuid.S: File removed. + * sysdeps/unix/ioctl.S: File removed. + * sysdeps/unix/kill.S: File removed. + * sysdeps/unix/link.S: File removed. + * sysdeps/unix/lseek.S: File removed. + * sysdeps/unix/open.S: File removed. + * sysdeps/unix/ptrace.S: File removed. + * sysdeps/unix/read.S: File removed. + * sysdeps/unix/reboot.S: File removed. + * sysdeps/unix/setgid.S: File removed. + * sysdeps/unix/setuid.S: File removed. + * sysdeps/unix/sync.S: File removed. + * sysdeps/unix/umask.S: File removed. + * sysdeps/unix/unlink.S: File removed. + * sysdeps/unix/write.S: File removed. + * sysdeps/unix/bsd/flock.S: File removed. + * sysdeps/unix/bsd/getdtsz.S: File removed. + * sysdeps/unix/bsd/getpagesize.S: File removed. + * sysdeps/unix/bsd/killpg.S: File removed. + * sysdeps/unix/bsd/profil.S: File removed. + * sysdeps/unix/bsd/readv.S: File removed. + * sysdeps/unix/bsd/settimeofday.S: File removed. + * sysdeps/unix/bsd/sigblock.S: File removed. + * sysdeps/unix/bsd/sigpause.S: File removed. + * sysdeps/unix/bsd/sigsetmask.S: File removed. + * sysdeps/unix/bsd/sigstack.S: File removed. + * sysdeps/unix/bsd/sigvec.S: File removed. + * sysdeps/unix/bsd/utimes.S: File removed. + * sysdeps/unix/bsd/writev.S: File removed. + * sysdeps/unix/bsd/bsd4.4/chflags.S: File removed. + * sysdeps/unix/bsd/bsd4.4/fchdir.S: File removed. + * sysdeps/unix/bsd/bsd4.4/fchflags.S: File removed. + * sysdeps/unix/bsd/bsd4.4/getdents.S: File removed. + * sysdeps/unix/bsd/bsd4.4/getdomain.S: File removed. + * sysdeps/unix/bsd/bsd4.4/revoke.S: File removed. + * sysdeps/unix/bsd/bsd4.4/setdomain.S: File removed. + * sysdeps/unix/bsd/bsd4.4/setegid.S: File removed. + * sysdeps/unix/bsd/bsd4.4/seteuid.S: File removed. + * sysdeps/unix/bsd/bsd4.4/setlogin.S: File removed. + * sysdeps/unix/bsd/bsd4.4/setsid.S: File removed. + * sysdeps/unix/bsd/bsd4.4/sigaltstack.S: File removed. + * sysdeps/unix/bsd/bsd4.4/wait4.S: File removed. + * sysdeps/unix/bsd/hp/m68k/getdents.S: File removed. + * sysdeps/unix/bsd/osf/msync.S: File removed. + * sysdeps/unix/bsd/osf/alpha/wait4.S: File removed. + * sysdeps/unix/bsd/sony/newsos4/fchdir.S: File removed. + * sysdeps/unix/bsd/sony/newsos4/sys_wait4.S: File removed. + * sysdeps/unix/bsd/sun/getdents.S: File removed. + * sysdeps/unix/bsd/sun/sunos3/m68k/wait.S: File removed. + * sysdeps/unix/bsd/sun/sunos4/msync.S: File removed. + * sysdeps/unix/bsd/sun/sunos4/poll.S: File removed. + * sysdeps/unix/bsd/sun/sunos4/setsid.S: File removed. + * sysdeps/unix/bsd/sun/sunos4/sys_mmap.S: File removed. + * sysdeps/unix/bsd/sun/sunos4/sys_wait4.S: File removed. + * sysdeps/unix/bsd/sun/sunos4/uname.S: File removed. + * sysdeps/unix/bsd/ultrix4/getdents.S: File removed. + * sysdeps/unix/bsd/ultrix4/setsid.S: File removed. + * sysdeps/unix/bsd/ultrix4/uname.S: File removed. + * sysdeps/unix/common/access.S: File removed. + * sysdeps/unix/common/adjtime.S: File removed. + * sysdeps/unix/common/dup2.S: File removed. + * sysdeps/unix/common/fchmod.S: File removed. + * sysdeps/unix/common/fchown.S: File removed. + * sysdeps/unix/common/ftruncate.S: File removed. + * sysdeps/unix/common/getgroups.S: File removed. + * sysdeps/unix/common/getitimer.S: File removed. + * sysdeps/unix/common/getpgid.S: File removed. + * sysdeps/unix/common/getpriority.S: File removed. + * sysdeps/unix/common/getrlimit.S: File removed. + * sysdeps/unix/common/getrusage.S: File removed. + * sysdeps/unix/common/gettimeofday.S: File removed. + * sysdeps/unix/common/mkdir.S: File removed. + * sysdeps/unix/common/readlink.S: File removed. + * sysdeps/unix/common/rename.S: File removed. + * sysdeps/unix/common/rmdir.S: File removed. + * sysdeps/unix/common/select.S: File removed. + * sysdeps/unix/common/setgroups.S: File removed. + * sysdeps/unix/common/setitimer.S: File removed. + * sysdeps/unix/common/setpgid.S: File removed. + * sysdeps/unix/common/setpriority.S: File removed. + * sysdeps/unix/common/setregid.S: File removed. + * sysdeps/unix/common/setreuid.S: File removed. + * sysdeps/unix/common/setrlimit.S: File removed. + * sysdeps/unix/common/swapon.S: File removed. + * sysdeps/unix/common/symlink.S: File removed. + * sysdeps/unix/common/truncate.S: File removed. + * sysdeps/unix/common/vhangup.S: File removed. + * sysdeps/unix/inet/accept.S: File removed. + * sysdeps/unix/inet/bind.S: File removed. + * sysdeps/unix/inet/connect.S: File removed. + * sysdeps/unix/inet/gethostid.S: File removed. + * sysdeps/unix/inet/gethostname.S: File removed. + * sysdeps/unix/inet/getpeername.S: File removed. + * sysdeps/unix/inet/getsockname.S: File removed. + * sysdeps/unix/inet/getsockopt.S: File removed. + * sysdeps/unix/inet/listen.S: File removed. + * sysdeps/unix/inet/recv.S: File removed. + * sysdeps/unix/inet/recvfrom.S: File removed. + * sysdeps/unix/inet/recvmsg.S: File removed. + * sysdeps/unix/inet/send.S: File removed. + * sysdeps/unix/inet/sendmsg.S: File removed. + * sysdeps/unix/inet/sendto.S: File removed. + * sysdeps/unix/inet/sethostid.S: File removed. + * sysdeps/unix/inet/sethostname.S: File removed. + * sysdeps/unix/inet/setsockopt.S: File removed. + * sysdeps/unix/inet/shutdown.S: File removed. + * sysdeps/unix/inet/socket.S: File removed. + * sysdeps/unix/inet/socketpair.S: File removed. + * sysdeps/unix/mman/madvise.S: File removed. + * sysdeps/unix/mman/mmap.S: File removed. + * sysdeps/unix/mman/mprotect.S: File removed. + * sysdeps/unix/mman/msync.S: File removed. + * sysdeps/unix/mman/munmap.S: File removed. + * sysdeps/unix/sysv/alarm.S: File removed. + * sysdeps/unix/sysv/ftime.S: File removed. + * sysdeps/unix/sysv/nice.S: File removed. + * sysdeps/unix/sysv/pause.S: File removed. + * sysdeps/unix/sysv/poll.S: File removed. + * sysdeps/unix/sysv/s_getdents.S: File removed. + * sysdeps/unix/sysv/signal.S: File removed. + * sysdeps/unix/sysv/stime.S: File removed. + * sysdeps/unix/sysv/time.S: File removed. + * sysdeps/unix/sysv/times.S: File removed. + * sysdeps/unix/sysv/ulimit.S: File removed. + * sysdeps/unix/sysv/uname.S: File removed. + * sysdeps/unix/sysv/utime.S: File removed. + * sysdeps/unix/sysv/irix4/getpgid.S: File removed. + * sysdeps/unix/sysv/irix4/msync.S: File removed. + * sysdeps/unix/sysv/irix4/setpgid.S: File removed. + * sysdeps/unix/sysv/irix4/signal.S: File removed. + * sysdeps/unix/sysv/irix4/sysmp.S: File removed. + * sysdeps/unix/sysv/irix4/syssgi.S: File removed. + * sysdeps/unix/sysv/isc2.2/rename.S: File removed. + * sysdeps/unix/sysv/linux/adjtimex.S: File removed. + * sysdeps/unix/sysv/linux/fork.S: File removed. + * sysdeps/unix/sysv/linux/getpgid.S: File removed. + * sysdeps/unix/sysv/linux/getpgrp.S: File removed. + * sysdeps/unix/sysv/linux/getsid.S: File removed. + * sysdeps/unix/sysv/linux/gtty.S: File removed. + * sysdeps/unix/sysv/linux/mlock.S: File removed. + * sysdeps/unix/sysv/linux/mlockall.S: File removed. + * sysdeps/unix/sysv/linux/mount.S: File removed. + * sysdeps/unix/sysv/linux/munlock.S: File removed. + * sysdeps/unix/sysv/linux/munlockall.S: File removed. + * sysdeps/unix/sysv/linux/pipe.S: File removed. + * sysdeps/unix/sysv/linux/s_ptrace.S: File removed. + * sysdeps/unix/sysv/linux/setpgid.S: File removed. + * sysdeps/unix/sysv/linux/setsid.S: File removed. + * sysdeps/unix/sysv/linux/settimeofday.S: File removed. + * sysdeps/unix/sysv/linux/sigpending.S: File removed. + * sysdeps/unix/sysv/linux/stty.S: File removed. + * sysdeps/unix/sysv/linux/umount.S: File removed. + * sysdeps/unix/sysv/linux/wait4.S: File removed. + * sysdeps/unix/sysv/linux/i386/ipc.S: File removed. + * sysdeps/unix/sysv/sco3.2.4/pathconf.S: File removed. + * sysdeps/unix/sysv/sco3.2.4/pgrpsys.S: File removed. + * sysdeps/unix/sysv/sco3.2.4/sco_getgrp.S: File removed. + * sysdeps/unix/sysv/sco3.2.4/sigpending.S: File removed. + * sysdeps/unix/sysv/sco3.2.4/sigprocmask.S: File removed. + * sysdeps/unix/sysv/sco3.2.4/sigsuspend.S: File removed. + * sysdeps/unix/sysv/sysv4/pgrpsys.S: File removed. + * sysdeps/unix/sysv/sysv4/sigprocmask.S: File removed. + * sysdeps/unix/sysv/sysv4/sigsuspend.S: File removed. + * sysdeps/unix/sysv/sysv4/sysconfig.S: File removed. + * sysdeps/unix/sysv/sysv4/sysinfo.S: File removed. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys-sig.S: File removed. + + * io/mknod.c: New file. + + * Makerules (COMPILE.s): New variable. + + * sysdeps/unix/Makefile (sysd-syscalls): New target; generate with + make-syscalls.sh and include it. + [$(subdir)=misc] (sysdep_routines): Append extra syscalls from + sysd-syscalls. + * sysdeps/unix/make-syscalls.sh: New file. + + * Makerules (COMPILE.S): New variable. + +Wed Jan 17 11:04:58 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * sysdeps/unix/sysv/linux/statbuf.h (_STAT_VER_LINUX, + _STAT_VER_SVR4, _STAT_VER): New macros. + (_MKNOD_VER_LINUX, _MKNOD_VER_SVR4, _MKNOD_VER): New macros. + + * sysdeps/unix/sysv/sysv4/i386/statbuf.h (_STAT_VER, _MKNOD_VER): + New macros. + + * io/sys/stat.h (_STAT_VER, _MKNOD_VER): New macros. + (__xstat, __fxstat, __lxstat, __xmknod): Declare new functions. + [__GNUC__] (stat, fstat, lstat, mknod): Define these (and __ names) + as `extern inline's calling the `x' functions. + * io/fstat.c: New file. + * io/lstat.c: New file. + * io/stat.c: New file. + * sysdeps/generic/lstat.c: File removed. + * sysdeps/generic/lxstat.c: New file. + * sysdeps/mach/hurd/fstat.c: File removed. + * sysdeps/mach/hurd/fxstat.c: New file. + * sysdeps/mach/hurd/lstat.c: File removed. + * sysdeps/mach/hurd/lxstat.c: New file. + * sysdeps/mach/hurd/mknod.c: File removed. + * sysdeps/mach/hurd/stat.c: File removed. + * sysdeps/mach/hurd/xmknod.c: New file. + * sysdeps/mach/hurd/xstat.c: New file. + * sysdeps/stub/fstat.c: File removed. + * sysdeps/stub/fxstat.c: New file. + * sysdeps/stub/lstat.c: File removed. + * sysdeps/stub/lxstat.c: New file. + * sysdeps/stub/mknod.c: File removed. + * sysdeps/stub/stat.c: File removed. + * sysdeps/stub/xmknod.c: New file. + * sysdeps/stub/xstat.c: New file. + * sysdeps/unix/common/lstat.S: File removed. + * sysdeps/unix/common/lxstat.c: New file. + * sysdeps/unix/fstat.S: File removed. + * sysdeps/unix/fxstat.c: New file. + * sysdeps/unix/mknod.S: File removed. + * sysdeps/unix/stat.S: File removed. + * sysdeps/unix/sysv/linux/fstat.c: File removed. + * sysdeps/unix/sysv/linux/i386/fxstat.S: File removed. + * sysdeps/unix/sysv/linux/i386/lxstat.S: File removed. + * sysdeps/unix/sysv/linux/i386/xmknod.S: File removed. + * sysdeps/unix/sysv/linux/i386/xstat.S: File removed. + * sysdeps/unix/sysv/linux/lstat.c: File removed. + * sysdeps/unix/sysv/linux/mknod.c: File removed. + * sysdeps/unix/sysv/linux/stat.c: File removed. + * sysdeps/unix/sysv/sysv4/i386/fstat.S: File removed. + * sysdeps/unix/sysv/sysv4/i386/lstat.S: File removed. + * sysdeps/unix/sysv/sysv4/i386/mknod.S: File removed. + * sysdeps/unix/sysv/sysv4/i386/stat.S: File removed. + * sysdeps/unix/xmknod.c: New file. + * sysdeps/unix/xstat.c: New file. + * sysdeps/unix/mkfifo.c: Use __xmknod instead of __mknod. + * misc/Makefile (routines): Remove mknod. + + * sysdeps/ieee754/ieee754.h (union ieee854_long_double.ieee_nan): + Add missing ; in little-endian case. + + * elf/dynamic-link.h [ELF_MACHINE_NO_REL] (ELF_DYNAMIC_DO_REL): + Define this instead of ELF_DYNAMIC_DO_RELA. + + * sysdeps/unix/sysv/time.S: Moved from sysv4. + * sysdeps/unix/sysv/irix4/time.S: File removed. + + * sysdeps/unix/sysv/linux/signum.h: Moved from + sysdeps/unix/sysv/linux/i386. + (_NSIG): Move inside #ifdef _SIGNAL_H. + +Tue Jan 16 17:37:39 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * sysdeps/unix/seekdir.c: Don't modify POS before seeking. + * sysdeps/unix/telldir.c: Fix position calculation to account for + buffered data properly. + + * sysdeps/m68k/Makefile (crypt): Don't define if building a shared library. - (common-generated): Add interp.so. - (CFLAGS-interp.c): Pass name of interpreter. -Tue Sep 10 21:09:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * csu/initfini.c (_init): Call __gmon_start__ if defined (weak ref). + * csu/gmon-start.c (__gmon_start__): Renamed from gmon_start, made + global. + [! HAVE_INITFINI]: Only make it a constructor in this case. - * db/Makefile: Fix typo. + * gmon/Makefile (CFLAGS-mcount.c): New variable. + (mcount.po): New target. -Tue Sep 10 19:29:53 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * Makeconfig (CFLAGS): Append $(CFLAGS-$(<F)). - * nss/db-Makefile ($(VAR_DB)/passwd.db): Look for multiple - occurences of the same uid, and only generate a mapping for the - first one. + * csu/Makefile [have-initfini=yes] (CPPFLAGS): Append -DHAVE_INITFINI. + (initfini): Compile initfini.c with -fPIC. -Tue Sep 10 03:14:59 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Sun Jan 14 01:01:10 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de> - * sysdeps/unix/sysv/linux/system.c: New file, to override - sysdeps/unix/system.c. + * sysdeps/mips/bytesex.h: Add default byte sex. By Ralf Baechle. -Tue Sep 10 15:05:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/adjtime.c [! MOD_OFFSET]: Use `mode' + member of `struct timex' instead of `modes'. From Andreas Schwab. - * Makefile (before-compile): Add version-info.h, needed to build - version.d. + * sysdeps/unix/sysv/linux/mknod.c: New file. Generic C version. + * sysdeps/unix/sysv/linux/i386/mknod.S: Remove assembler version. -Tue Sep 10 14:14:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/Makefile (inhibit-glue): New variable. + [$(subdir) = misc] (sysdep_routines): Add mount, umount, and s_ptrace. + [$(subdir) = misc] (headers): Append sys/mount.h. - * 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. + * sysdeps/unix/sysv/linux/mount.S, sysdeps/unix/sysv/linux/umount.S: + New files. Implement system calls. + * sysdeps/unix/sysv/linux/sys/mount.h: New header file. -Tue Sep 10 13:27:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/ptrace.c: New file. Wrapper around + ptrace system call. + * sysdeps/unix/sysv/linux/s_ptrace.S: New file: ptrace system call. - * elf/Makefile (extra-objs): Add eval.so to get dependencies. + * sysdeps/unix/sysv/linux/i386/gnu/types.h: New file with correct + types for i386/Linux. -Wed Sep 11 04:40:57 1996 Ulrich Drepper <drepper@cygnus.com> +Sun Jan 14 17:51:09 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * time/tzset.c (__tzname_cur_max): Use type `size_t' to avoid - warning. - * time/tzfile.c (compute_tzname_max): Likewise. + * MakeTAGS (all-sources, all-headers): Always search the + current directory first. -Wed Sep 11 02:57:31 1996 Ulrich Drepper <drepper@cygnus.com> + * db/btree/bt_seq.c (__bt_first): Return RET_SPECIAL when key not + found. - * configure.in: Quote $add_ons argument in loop to generated - prefices. + * stdio-common/vfscanf.c (inchar, conv_error, input_error, + memory_error): Add cast to void to avoid gcc warning. + (vfscanf): Rewrite character class parsing to make it more efficient. -Tue Sep 10 20:43:45 1996 Ulrich Drepper <drepper@cygnus.com> + * misc/efgcvt_r.c (ecvt_r): Handle negative values. - * db/makedb.c: Include <locale.h>. Reported by Fila Kolodny. + * stdlib/stdlib.h: Replace __CONSTVALUE by attribute. + * stdlib/abs.c, stdlib/div.c, stdlib/labs.c, stdlib/ldiv.c, + sysdeps/generic/hypot.c: Remove obsolete __CONSTVALUE. -Tue Sep 10 14:42:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + * stdio-common/printf_fp.c (__printf_fp): Fix parameter + declaration. - * elf/dl-cache.c: Rename to ... - * sysdeps/generic/dl-cache.c: ... here. - * sysdeps/mach/hurd/dl-cache.c: New file. + * sysdeps/generic/putenv.c (putenv): Fix second argument of + setenv. - * mach/Makefile (distribute): Add `errsystems.awk'. - * hurd/Makefile (distribute): Add `Notes' and `intr-msg.h'. - * hurd/hurdintr.awk: Delete file. (Not used in ages.) - * hurd/intr-rpc.awk: Likewise. - * hurd/invoke-trans.c: Likewise. - * sysdeps/mach/hurd/i386/longjmp-ctx.c: Likewise. - * sysdeps/mach/hurd/alpha/longjmp-ctx.c: Likewise. - * sysdeps/mach/hurd/mips/longjmp-ctx.c: Likewise. - * sysdeps/mach/hurd/i386/init-fault.c: Likewise. - * sysdeps/mach/hurd/mips/init-fault.c: Likewise. - * sysdeps/stub/init-fault.c: Likewise. - * sysdeps/stub/longjmp-ctx.c: Likewise. + * sysdeps/ieee754/hypot.c: New file, extracted out of cabs.c. + * sysdeps/ieee754/cabs.c: Don't define hypot here. -Tue Sep 10 13:49:08 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/ieee754/ieee754.h (union ieee854_long_double): Fix + definition of ieee_nan alternative. - * inet/herrno.c: Initialize `h_errno' so that we can provide - alias. + * sysdeps/m68k/__longjmp.c, sysdeps/m68k/setjmp.c: Add register + prefix spec. - * Makefile (version-info.h): Fix typo in shell script. + * sysdeps/m68k/ffs.c (ffs): Fix register constraint. - * sysdeps/i386/i586/strlen.S: Optimize startup code a bit. - * sysdeps/i386/i586/strchr.S: Likewise. + * sysdeps/m68k/fpu/__math.h: Include <errno.h>. Replace obsolete + __CONSTVALUE by attribute. + (floor): Round to negative infinity. + (rint, expm1) [__NO_MATH_INLINES]: Don't define, to avoid type + clash when compiling source. + (pow): Handle x == 0 and x < 0. + (ceil, __isinf, __isnan): Fix register constraints. + (__isinfl, __isnanl): Added. + * sysdeps/m68k/fpu/acos.c, sysdeps/m68k/fpu/atan2.c, + sysdeps/m68k/fpu/fmod.c, sysdeps/m68k/fpu/ldexp.c, + sysdeps/m68k/fpu/pow.c: Remove obsolete __CONSTVALUE. -Mon Sep 9 20:31:27 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/m68k/bsd-_setjmp.S, sysdeps/m68k/bsd-setjmp.S: Fix + assembler syntax. - * version.c (banner): Report to bug-glibc@prep not @gnu. - Reported by Andreas Jaeger. + * sysdeps/unix/bsd/bsd4.4/fchdir.S (fchdir): Take only one + argument. - * libio/stdio.h [!__USE_REENTRANT]: Don't define getc as - _IO_getc_unlocked. - [__USE_REENTRANT]: Don't define + * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Fix timeval to + clock_t conversion. + (clock): Don't multiply by CLOCKS_PER_SEC. -Mon Sep 9 15:59:32 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/bsd/poll.c (poll): Fix msec to timeval conversion. - * 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. + * sysdeps/unix/bsd/sun/m68k/brk.S (brk): Compare with address of + __end. -Fri Sep 6 21:23:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/bsd/sun/m68k/vfork.S: Fix assembler syntax. - * 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/unix/bsd/ualarm.c (ualarm): Fix timeval calculation. - * sysdeps/m68k/fpu/k_sin.c: Remove uneeded indirection of - __m81_u. - * sysdeps/m68k/fpu/k_tan.c: Likewise. + * sysdeps/unix/bsd/vax/vfork.S: Remove duplicate label. -Sun Sep 1 18:01:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Sun Jan 14 01:01:10 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de> - * 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. + * stdlib/strtol.c: Return correct pointer for strings + like "0xyz" and base 0 or 16. -Mon Sep 9 12:55:14 1996 Ulrich Drepper <drepper@cygnus.com> + * string/strxfrm.c: Handle case for LENGTH == 0 correct. - * 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. + * sunrpc/etc.rpc: Add some more known protocols. -Fri Sep 6 22:09:08 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Fri Jan 12 13:40:01 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * 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. + * posix/gnu/types.h: Moved to sysdeps/generic/gnu/types.h. -Fri Sep 6 22:05:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * posix/glob.c (glob): Add parens in glob call flags arg for + GLOB_BRACE case. - * configure.in: Remove unneeded sysnames frobbing. + * string/string.h (strdupa): New macro. -Mon Sep 9 05:29:09 1996 Ulrich Drepper <drepper@cygnus.com> + * stdio-common/vfscanf.c (%[): Grok ] as first char in set, not + terminator on empty set. From 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 <gniibe@mri.co.jp> - - * 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 <rth@tamu.edu> - - * libio/stdio.h (BUFSIZ): Define using _IO_BUFSIZ. - -Sun Sep 8 16:43:56 1996 Ulrich Drepper <drepper@cygnus.com> - - * 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. +Thu Jan 11 13:09:20 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * sysdeps/unix/sysv/linux/alpha/Dist: Add llseek.S. + * elf/do-rel.h (elf_dynamic_do_rel): Use referring symbol as + referent for STB_LOCAL. - * inet/rcmd.c (rcmd): Make messages more uniform. +Wed Jan 10 10:11:39 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Sun Sep 8 14:15:42 1996 Ulrich Drepper <drepper@cygnus.com> + * time/africa, time/antarctica, time/asia, time/australasia, + time/europe, time/northamerica, time/pacificnew, time/solar87, + time/solar88, time/solar89, time/southamerica: Updated from ADO 96a. - * 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 <rth@tamu.edu> - - * 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 <drepper@cygnus.com> - - * 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 <davidm@azstarnet.com> - - * 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 <drepper@cygnus.com> - - * 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 <drepper@cygnus.com> - - * 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 <drepper@cygnus.com> - - * Makeconfig (soversions.mk): Also use shlib-versions files - in add-on directories. - * config.make.in (config-defines): Remove. Not used anymore. - (defines): New variable. Initiliazed by @DEFINES@. - * configure.in: Add AC_SUBST(DEFINES). - - * libio/Makefile (routines): When compiling reentrant libc add - clearerr_u, feof_u, ferror_u, fputc_u, getc_u, getchar_u, - iofflush_u, putc_u, putchar_u, ioflockfile. - (CPPFLAGS): Add -D_IO_MTSAFE_IO for reentrant libc. +Tue Jan 9 16:10:26 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * sysdeps/stub/libc-lock.h: Add stubs for __libc_cleanup_region_start - and __libc_cleanup_region_end. - - * sysdeps/unix/i386/sysdep.S [_LIBC_REENTRANT]: Set errno - using __errno_location function. - * sysdeps/unix/sysv/linux/i386/sysdep.S [_LIBC_REENTRANT]: Set errno - using __errno_location function. - (__errno_location): New function. - * sysdeps/unix/sysv/linux/i386/sysdep.h [PIC]: Add second - syscall_error handler for reentrant libc. - - * sysdeps/unix/opendir.c: Remove unneeded `;'. - - * libio.h [_IO_MTSAFE_IO]: Include <pthread.h>. - [!_IO_MTSAFE_IO]: Define _IO_flockfile and _IO_funlockfile - as empty macros. - * libioP.h: Include <libc-lock.h>. - * libio/stdio.h: Add prototypes for *_locked and *_unlocked - functions. + * elf/dl-load.c (_dl_map_object_from_fd): After mapping first + segment to find location, mprotect excess region to no access, + don't munmap it. - * 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. + * sysdeps/mach/hurd/dl-sysdep.c (mmap): If vm_map returns + KERN_NO_SPACE for fixed location, deallocate it and try again. - * 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. +Mon Jan 8 17:43:23 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * libio/feof_u.c: Undefine macro with name of function before - definition of function itself. + * locale/Makefile (lib-modules): Renamed hash to locfile-hash. + * locale/hash.c: Renamed to locale/locfile-hash.c. - * libio/ioflockfile.c: New file. Implementation of flockfile and - funlockfile. +Sat Jan 6 16:39:14 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * libio/putchar_u.c: Fix typo. Use stdout instead of fp. + * Makefile (subdirs): Added db. - * malloc/malloc.h: Don't include <libc-lock.h> and don't declare - _malloc_loc. + * resolv/Makefile (routines): Add res_data. + * resolv/res_data.c, resolv/res_debug.c, resolv/resolv.h: + Updated from BIND 4.9.3 final release. - * malloc/free.c: Include <libc-lock.h>. - * malloc/realloc.c: Likewise. - * malloc/malloc-find.c: Likewise. - * malloc/malloc-size.c: Likewise. - * malloc/malloc-walk.c: Likewise. - * malloc/memalign.c: Likewise. - * malloc/malloc.c: Likewise. - - * sysdeps/i386/dl-machine.h: Correct clearing of _dl_starting_up. - -Fri Sep 6 19:38:49 1996 Ulrich Drepper <drepper@cygnus.com> - - * sysdeps/stub/libc-lock.h: Define __libc_lock_critical_start - and __libc_lock_critical_end as empty macros. - - * malloc/malloc.h: Don't include <libc-lock.h> and don't declare - __libc_malloc_lock. - * malloc/free.c: Include <libc-lock.h>. - * malloc/malloc-find.c: Likewise. - * malloc/malloc-size.c: Likewise. - * malloc/malloc-walk.c: Likewise. - * malloc/malloc.c: Likewise. - * malloc/memalign.c: Likewise. - * malloc/realloc.c: Likewise. + * elf/dynamic-link.h (elf_get_dynamic_info): Handle + processor-specific tags. + (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA): Handle absent DT_PLTREL tag. - * 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. + * elf/elf.h (DT_MIPS_NUM, DT_PROCNUM): New macros. + * elf/link.h (struct link_map): Extend `l_info' by DT_PROCNUM. - * db/Makefile (makedb): Choose dependecies based on build-shared. - Patch by Andres Schwab. + * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Take new + arg LAZY. Only do our work if LAZY and there is a DT_JMPREL record. + * elf/dl-reloc.c (_dl_relocate_object): Call + elf_machine_runtime_setup unconditionally, and pass it LAZY flag. - * sysdeps/posix/sysconf.c: Don't use PTHREAD_DESTRUCTOR_ITERATIONS - but _POSIX_THREAD_DESTRUCTOR_ITERATIONS. + * elf/dl-load.c: Fixed ELFMAG check to work for either byte order. + Align end of load segment only to page size, not to segment alignment. - * sysdeps/unix/sysv/linux/errnos.h: New file. - * sysdeps/unix/sysv/linux/schedbits.h: New file. - * sysdeps/unix/sysv/linux/waitflags.h: New file. +Thu Jan 4 11:35:18 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * sysdeps/unix/sysv/linux/gnu/types.h: Add definition of `key_t'. + * sysdeps/mach/hurd/setitimer.c: Code rearranged a bit to use new + preemption interface. -Fri Sep 6 08:26:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): + Use _hurdsig_catch_memory_fault. - * rpm/template: Fix typo in %build section. + * hurd/Makefile (headers): Add hurd/sigpreempt.h. + (sig): Add catch-signal. -Fri Sep 6 03:31:07 1996 Ulrich Drepper <drepper@cygnus.com> + * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise): + Rewritten using a preempter in new interface. + * hurd/hurdfault.h (_hurdsig_catch_fault): Likewise. + (_hurdsig_catch_memory_fault): New macro. - * 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. +Wed Jan 3 20:23:42 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Thu Sep 5 23:01:48 1996 Ulrich Drepper <drepper@cygnus.com> + * hurd/catch-signal.c: New file. - * libc-symbols.h: Add new macro weak_const_function. It's like - weak_function, but the function is additionally marked as const. - * features.h: Only include <sys/cdefs.h> if !__ASSEMBLER__. + * hurd/intr-msg.c: When restarting RPC, fetch a new reply port. -Thu Sep 5 22:55:49 1996 Richard Henderson <rth@tamu.edu> + * hurd/hurdsig.c: Use new hurdfault.h interface. + (abort_all_rpcs): Mutate return value to EINTR in threads whose + replies we will wait for. - * 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. + * hurd/hurdkill.c (_hurd_sig_post): When doing pgrp, make sure we + do ourselves last. -Thu Sep 5 21:08:44 1996 Ulrich Drepper <drepper@cygnus.com> +Wed Jan 3 19:17:10 1996 Miles Bader <miles@gnu.ai.mit.edu> - * 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/mach/hurd/access.c (__access): Put the uid/gid arguments + to auth_makeauth() in the right order. - * 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. +Wed Jan 3 17:19:04 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Thu Sep 5 08:58:47 1996 Richard Henderson <rth@tamu.edu> + * sysdeps/generic/strsep.c: Rewritten. - * sysdeps/alpha/elf/start.S: Make _start global again. + * sysdeps/mach/hurd/fork.c: Use a different workaround for the + suspended page fault deadlock kernel bug: thread_abort our signal + thread first thing after proc_dostop. -Thu Sep 5 13:18:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + * sysdeps/mach/hurd/setgid.c: Rewrote gid frobnication to + recognize rootness properly. - * 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. +Tue Jan 2 00:50:10 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * 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. + * hurd/hurd/signal.h (struct hurd_sigstate): New member `preempters'. + (hurd_preempt_signals, hurd_unpreempt_signals): Decls removed. + * hurd/hurd/sigpreempt.h: New file. + * hurd/preempt-sig.c: Rewritten with new interface. + * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Remove local signal + preempters being unwound past. + * hurd/hurdsig.c: Use new signal preemption interface. - * sysdeps/mach/hurd/sendto.c (sendto): Use prototype definition - syntax. + * db: New directory, 4.4 BSD db package incorporated from BSD db-1.85 + release. - * Rules (generated): Restore reference to $(generated). + * sysdeps/unix/sysv/linux/sys/param.h: Several new macros for BSD + compatibility. - * mach/Machrules (mig.uh, mig.__h): Don't include $(user-MIGFLAGS) - here. + * misc/queue.h: New file, incorporated from 4.4BSD. + * misc/Makefile (headers): Add queue.h. - * malloc/free.c (free): __lib_malloc_lock -> __libc_malloc_lock. + * posix/sys/types.h [__USE_BSD]: Include endian.h. - * 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 <drepper@cygnus.com> - - 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. + * io/sys/stat.h (DEFFILEMODE, ALLPERMS, ACCESSPERMS, S_BLKSIZE): + New macros. -Wed Sep 4 01:32:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Thu Dec 28 10:21:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * sysdeps/m68k/fpu/k_cos.c: Rewritten for better accuracy. - * sysdeps/m68k/fpu/k_sin.c: Likewise. - * sysdeps/m68k/fpu/k_tan.c: Likewise. + * sysdeps/generic/confname.h: Define all names as self-referential + macros so #ifdef works. -Thu Sep 5 01:06:09 1996 Richard Henderson <rth@tamu.edu> + * hurd/preempt-sig.c (hurd_unpreempt_signals): Remove bogus asgnmt + of _hurd_signal_preempters[SIGNO]. - * 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 Dec 25 20:56:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Mon Sep 2 22:42:59 1996 Richard Henderson <rth@tamu.edu> + * sysdeps/mach/hurd/bind.c: Translate EEXIST from dir_link into + EADDRINUSE. If translated node doesn't grok ifsock protocol, + return EADDRINUSE. - * sysdeps/alpha/elf/start.S: Use weak_alias for __start - instead of the hard definition. + * sysdeps/mach/hurd/connect.c: Make address arg + `const struct sockaddr_un *'. + The redecl is kosher and avoids another variable for AF_LOCAL case. + * sysdeps/mach/hurd/sendto.c: Likewise. + * sysdeps/mach/hurd/bind.c: Likewise. - * sysdeps/alpha/dl-machine.h (RTLD_START): Add type info for - _start and _dl_start_user. + * socket/sys/socket.h (__SOCKADDR_ARG): Enable transparent_union + code for GCC >= 2.7; use __transparent_union__ for name safety; + add several sockaddr flavors. + (__SOCKADDR_ALLTYPES, __SOCKADDR_ONETYPE): New macros used in + constructing the transparent union declarations. + (__CONST_SOCKADDR_ARG): New type (or macro if not GCC 2.7). + (bind, connect, sendto): Make the sockaddr argument use that. - * sysdeps/unix/sysv/linux/alpha/init-first.h (SYSDEP_CALL_INIT): - Make _dl_starting_up weak. Add type info for NAME. +Fri Dec 22 00:57:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Mon Sep 2 22:15:14 1996 Richard Henderson <rth@tamu.edu> + * sysdeps/mach/hurd/setgid.c: In root case, store into NEWAUX, not + old vector. + * sysdeps/mach/hurd/setuid.c: Likewise. - * 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. + * sysdeps/mach/hurd/setuid.c: Rewrote ID frobnication to do the + right thing. + * sysdeps/mach/hurd/setgid.c: Likewise. + * sysdeps/mach/hurd/setreuid.c: Likewise. + * sysdeps/mach/hurd/setregid.c: Likewise. + * sysdeps/mach/hurd/setegid.c: Likewise. + * sysdeps/mach/hurd/seteuid.c: Likewise. -Sun Sep 1 15:41:22 1996 Richard Henderson <rth@tamu.edu> + * sysdeps/mach/hurd/fork.c: Peek __mach_task_self_ value before + proc_dostop call to work around kernel paging bug. - * 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. +Fri Dec 22 00:38:00 1995 H.J. Lu <hjl@nynexst.com> - * sysdeps/unix/alpha/sysdep.S: Align errno. + * stdio-common/vfscanf.c: Correctly handle white space skipping. + * stdio-common/Makefile (tests): Add bug11. + * stdio-common/bug11.c: New file. - * 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. +Thu Dec 21 12:19:32 1995 Miles Bader <miles@gnu.ai.mit.edu> -Sat Aug 31 18:14:54 1996 Richard Henderson <rth@tamu.edu> + * sysdeps/mach/hurd/setuid.c (__setuid): Actually add the new uid + instead of putting it (and other uids) in the gids and leaving the + old uids as is. - * elf/dl-close.c (_dl_close): In static executables, map->l_prev - can be NULL when unloading a library. +Wed Dec 20 18:23:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * elf/dl-open.c (_dl_open): Pass __environ instead of __libc_envp - to the library .init function. + * stdio/internals.c (flushbuf): If the target is -1, always + discard the buffer of read data. + Only set TWIDDLED flag in !ALIGNED case. + Never increment target or offset when old value is -1. - * 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. +Tue Dec 19 17:00:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * sysdeps/unix/sysv/linux/init-first.c (init): Accept argc et al as - parameters. Move all argc and __libc_multiple_libcs calculation out - to init-first.h. Use __environ not __libc_envp. - * sysdeps/unix/sysv/linux/alpha/init-first.h: Rewrite. - * sysdeps/unix/sysv/linux/i386/init-first.h: Rewrite. + * hurd/hurdpid.c (_S_msg_proc_newids): Only run the hook when the + pgrp changes. -Thu Aug 29 20:26:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Mon Dec 18 13:40:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * sysdeps/posix/profil.c (profil): Don't clobber saved timer and - signal settings when profiling was already turned on. + * stdio/fread.c: Don't increment __offset when it's -1. - * csu/gmon-start.c (__gmon_start__) [HAVE_INITFINI]: Protect from - being called twice. + * elf/rtld.c (dl_main): Prepend tab to "statically linked". Exit + 0 in that case. -Wed Sep 4 01:31:50 1996 Ulrich Drepper <drepper@cygnus.com> + * misc/err.c (vwarnx, vwarn): Fix major brainos. - * sysdeps/unix/sysv/linux/i386/mmap.S: Test for - 0 < return value < -4096 and not < 0 to decide about failure. - Reported by Andreas Jaeger. + * sysdeps/mach/hurd/dl-sysdep.c (mmap): Fix setting of + inheritance. -Tue Sep 3 19:04:05 1996 Ulrich Drepper <drepper@cygnus.com> +Sun Dec 17 15:56:35 1995 Miles Bader <miles@gnu.ai.mit.edu> - * stdio-common/vfscanf.c (__vfscanf): Don't count EOF char - in %c format. + * misc/getpass.c (getpass): Don't barf if getline returns a null BUF. -Sat Aug 31 18:10:51 1996 Ulrich Drepper <drepper@cygnus.com> +Sat Dec 16 10:33:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * wcsmbs/wchar.h: Define prototypes for wcstoq and wcstouq only - #ifdef __USE_GNU. + * Makerules: Use $(do-install-so) for installing shared objects. + (do-install-so): New canned sequence. Make a symlink LIB.so after + installing LIB.so.VERSION. -Sat Aug 31 12:34:29 1996 Ulrich Drepper <drepper@cygnus.com> + * inet/netinet/in.h: Fixed typo in IPPORT_WHOIS. - * version.c: Add missing newline character in banner. +Fri Dec 15 04:41:22 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu> - * sysdeps/unix/sysv/linux/alpha/Dist: Correct typo. - * sysdeps/unix/sysv/linux/i386/Dist: Likewise. + * stdio-common/Makefile (tests): Add bug10. + * stdio-common/bug10.c: New file. From HJ Lu. -Sat Aug 31 03:07:39 1996 Ulrich Drepper <drepper@cygnus.com> + * stdio-common/tstdiomisc.c: Make more test-suite like: exit + status tells about successful run. - * intl/l10nflist.c (_nl_normalize_codeset): We convert to lower - case, so don't prepend uppercase `ISO' for only numeric arg. + * stdio-common/vfscanf.c [!USE_IN_LIBIO]: Use `flags' to check + format correctness. + Correct handling of trailing white spaces in format + EOF. -Wed Sep 4 16:16:13 1996 Ulrich Drepper <drepper@cygnus.com> +Fri Dec 15 01:31:56 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu> - * sysdeps/mach/hurd/send.c (__send): De-ANSI-fy. - * sysdeps/mach/hurd/sendto.c (sendto): Likewise. + * stdio-common/Makefile (tests): Add bug8 and bug9. + * stdio-common/bug8.c, stdio-common/bug9.c: New tests. -Tue Sep 3 11:16:07 1996 Thomas Bushnell/ n/BSG <thomas@gnu.ai.mit.edu> + * stdio-common/vfscanf.c: Fix bug in dynamic buffer handling. - * shadow/lckpwdf.c (__ulckpwdf): Don't take address of LOCK in - call to __libc_lock_lock. + * stdlib/strtod.c: Correct spelling: nominator -> numerator. + Thanks to Jim Meyering. - * sysdeps/mach/hurd/send.c (__send): Declare BUF const. - * sysdeps/mach/hurd/sendto.c (sendto): Likewise. +Sat Nov 25 06:05:12 1995 H.J. Lu <hjl@nynexst.com> - * sysdeps/stub/ustat.c: Include <sys/ustat.h>. + * stdio-common/vfscanf.c: Always check width !=0. + Correctly handle %%. - * misc/syslog.c (vsyslog): Fix typo (`mow_tm' -> `now_tm'). +Thu Dec 14 02:28:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Fri Aug 30 19:55:27 1996 Ulrich Drepper <drepper@cygnus.com> + * posix/glob.c (glob_in_dir): Cast result of opendir to __ptr_t, + and cast STREAM to DIR * before passing to readdir and closedir. - * libio/genops.c: Make _cleanup an alias of _IO_cleanup. - Reported by Erik Troan. +Wed Dec 13 22:06:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Fri Aug 30 15:40:04 1996 Ulrich Drepper <drepper@cygnus.com> + * hurd/hurdsig.c (_hurd_internal_post_signal: suspend): Reply + after aborting RPCs but before calling proc_mark_stop. - * sysdeps/unix/sysv/linux/Dist: Add sys/procfs.h and - sys/sysmacros.h. Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>. +Mon Dec 11 20:07:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Fri Aug 30 13:53:32 1996 Andreas Jaeger <aj@arthur.pfalz.de> + * posix/glob.c [! STDC_HEADERS]: Declare getenv. + (glob): Avoid using function as value. - * sysdeps/unix/mman/syscalls.list: `mmap' has 6 arguments, not 5. + * elf/rtld.c (dl_main): When mapping argument executable, set + l_name to "", not l_libname. + After loading DT_NEEDED library, set its l_type to lt_library. -Fri Aug 30 13:01:10 1996 NIIBE Yutaka <gniibe@mri.co.jp> + * sysdeps/mach/hurd/mmap.c: Don't interpret MAP_INHERIT to mean + VM_INHERIT. We can't handle MAP_INHERIT easily. + Handle non-page-aligned addresses if congruent to offset. - * sysdeps/i386/fpu/__math.h (tan): Pop 1.0 in ST to get - real result. + * elf/dl-init.c: Skip the initializer for l_type lt_executable + with l_name "". Start at _dl_loaded; don't skip the first element. -Fri Aug 30 03:33:33 1996 Ulrich Drepper <drepper@cygnus.com> + * elf/dl-load.c (MAP_FILE): Define to zero if undefined. + (MAP_COPY): Define to MAP_PRIVATE if undefined. + (_dl_map_object_from_fd): Don't use MAP_INHERIT in mmap calls. + If file it ET_EXEC, set its l_type to lt_executable. - * sysdeps/libm-ieee754/s_cbrtl.c: New file. `long double' - implementation. +Sun Dec 10 09:56:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Fri Aug 30 13:39:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * 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 <drepper@cygnus.com> - - * 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 <drepper@cygnus.com> - - * Makerules: Make sure directory exists before generating stamp file. - (BUILD_CFLAGS): Always refer to using $(..). - * manual/Makefile: Make sure directory exists before generating - stamp file. - (make-target-directory): Add macro definition. - * sysdeps/generic/Makefile: Make sure directory exists before - generating stamp file. - - * Makefile (distribute): Add autolock.sh. Reported by Fila Kolodny. - -Tue Aug 27 10:06:22 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - When compiling in separate directory put objects into - subdirectories matching the source layout. - * Makeconfig (objpfx) [ifdef objdir]: Append $(subdir). - When looking for configparms try in $(common-objpfx). - Use $(common-objpfx)SUBDIR to find objects from other subdirectory - builds. - * Makerules: Add $(objpfx) to vpath list. - (make-dummy-dep): Use $(common-objpfx) to avoid creating dummy.d - more than once. All uses in dependency lists changed. - (+make-deps): Make target directory. - (sed-remove-objpfx): Substitute $(common-objpfx). - (do-ar, build-extra-lib, $(common-objpfx)stub-$(subdir)): Use - $(objpfx) instead of $(objdir) for cd command. - (O%-lib): Always find libc relative to $(..). - (subdir-stamps): Collect stamp files from subdirs. - (common-mostlyclean): Remove stub file in $(common-objpfx). - * MakeTAGS ($P/siglist.pot): Find siglist.c in stdio-common. - * Rules (dep-dummy-lib): Use $(common-objpfx) to avoid creating to - more than once. - ($(objpfx)dummy.c, $(objpfx)empty.c): Change target name to use - $(common-objfpx). All uses in dependency lists changed. - (generated): Prepend $(..) to names. - * bare/Makefile ($(objpfx)lib$(config-vendor).a): Remove $(objpfx) - from $@. - * nss/Makefile ($(objpfx)libnss_dns.so, $(objpfx)libnss_db.so): - Use $(common-objpfx) instead of $(..) in dependencies. - * sysdeps/mach/Makefile (mach-objpfx): Unconditionally use - $(common-objpfx) instead of $(..) and (objpfx). - * sysdeps/mach/hurd/Makefile (hurd-objpfx): Likewise. - (rpath-link): Likewise. - (rpcuserlibs): Likewise. - * sysdeps/unix/Makefile [$(subdir) = stdio-common]: Check for - errlist.c in $(objpfx), not $(common-objpfx). - ($(common-objpfx)s-proto.d): Special rule not covered by pattern - rule. - * sysdeps/unix/make-syscalls.sh: Make syscall rules depending on - s-proto.d in $(common-objpfx), not $(objpfx). - -Thu Aug 29 17:45:49 1996 Ulrich Drepper <drepper@cygnus.com> - - * nss/nsswitch.c (nss_dlerror_run): Free returned error - string. - -Thu Aug 29 15:53:33 1996 Ulrich Drepper <drepper@cygnus.com> - - * 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. + * elf/dl-minimal.c (malloc): Use MAP_PRIVATE in mmap call. -Thu Aug 29 00:28:08 1996 Ulrich Drepper <drepper@cygnus.com> +Fri Dec 8 13:04:51 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * stdio-common/printf_fp.c (__printf_fp): Use default value '.' if - `decimal' char is 0. + * locale/error.c, locale/error.h: Files removed. + * locale/Makefile (distribute): Remove error.h. + (lib-modules): Remove error. - * C-numeric.c (not_available): New constant. - (_nl_C_LC_NUMERIC): Use `not_available' for grouping value. + * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): For "tty" + magic, return ENXIO if no ctty. - * 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. + * sysdeps/mach/hurd/mmap.c: For MAP_FIXED, deallocate a previous + mapping if vm_map fails for that reason. -1996-08-28 Paul Eggert <eggert@twinsun.com> + * posix/glob.c: Implement new options GLOB_ALTDIRFUNC, GLOB_BRACE, + GLOB_TILDE, GLOB_NOMAGIC. + (glob): Use stat instead of lstat to determine directoriness. + * posix/glob.h (GLOB_ALTDIRFUNC, GLOB_BRACE, GLOB_NOMAGIC, GLOB_TILDE): + New flag bits. + (__GLOB_FLAGS): Include them. + (glob_t): New members gl_closedir, gl_readdir, gl_opendir, gl_lstat, + gl_stat. - * C-messages.c (_nl_C_LC_MESSAGES): Set yesexpr to "^[yY]" and - noexpr to "^[nN]"; this conforms to POSIX.2. + * elf/elf.h (ET_NUM, SHT_NUM, STB_NUM, STT_NUM, PT_NUM): New macros. - * C-time.c (_nl_C_LC_TIME): Change %d to %e in d_t_format, to - conform to POSIX.2. + * sysdeps/unix/sysv/linux/sys/mman.h: Include <linux/mman.h> to + define all the bit values. + (MAP_*, MCL_*): Macros removed. -1996-08-28 Paul Eggert <eggert@twinsun.com> +Thu Dec 7 02:27:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * 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. + * resolv/res_comp.c, resolv/res_debug.c, resolv/res_send.c: + Updated from BIND 4.9.3-BETA27. -Wed Aug 28 23:12:28 1996 Ulrich Drepper <drepper@cygnus.com> +Wed Dec 6 18:44:01 1995 Miles Bader <miles@gnu.ai.mit.edu> - * 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. + * sysdeps/mach/hurd/select.c (__select): Swap size args to mach_msg. -Tue Aug 27 09:56:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/mach/hurd/select.c (__select): Frob TYPES correctly when + we get a delayed reply. + Only grab values out of entries in TYPES that have SELECT_RETURNED + turned on, and turn it on whenever an rpc returns. + Only clear bits in the user's fdsets -- those needing to be set + should be already. + Use SELECT_ALL in appropiate places. + (SELECT_RETURNED, SELECT_ALL): New macros. - * MakeTAGS ($P/subdirs.pot): Prefix all file names, not only the - first one. +Wed Dec 6 09:10:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Tue Aug 27 17:45:21 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/mach/hurd/sys/param.h (NBBY): New macro. - * Makerules: Add some test for correct version of GNU Make. + * gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): New macro. - * io/fcntl.h: Undo change from Mon Aug 26 22:22:17 1996. - * sysdeps/unix/sysv/linux/fcntlbits.h: Place macros here instead. +Tue Dec 5 14:00:17 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * sysdeps/generic/dl-sysdep.c: Initialize break address to - avoid overwriting last page (OK, Roland). + * misc/Makefile (headers): Add error.h, err.h. + (routines): Add error, err. + (gpl2lgpl): New variable. + * misc/err.c: New file. + * misc/err.h: New file. + * misc/error.c, misc/error.h: New files. -Tue Aug 27 16:20:37 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/mach/hurd/ioctl.c: Fix typo in last change. - * 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. + * Makeconfig (+link): Translate libc% from $^, not just libc.a. + (link-libc): Append $(libc.so-version) to libc.so. + (built-program-cmd): Fix comma usage. + * Makerules [libc.so-version] (libc.so$(libc.so-version)): Make a + symlink to libc.so in the build directory. + * Rules ($(others) $(tests)): Depend on the library that appears + in $(link-libc). + (%.out): Use $(built-program-cmd) in commands. -Tue Aug 27 15:47:04 1996 Ulrich Drepper <drepper@cygnus.com> + * posix/unistd.h [__USE_MISC]: Declare brk, sbrk. - * 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'. + * sysdeps/generic/setenv.c: Added canonical portability cruft. + (setenv): Use realloc on LAST_ENVIRON instead of always copying. + (unsetenv): New function. + * stdlib/stdlib.h [__USE_BSD]: Declare unsetenv. + * sysdeps/generic/putenv.c: Rewritten using setenv and unsetenv. - * elf/dl-load.c (_dl_map_object): Use separate variable for - copied NAME to avoid `const' warning. +Tue Dec 5 02:27:32 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu> - * elf/dlerror.c: Make `last_errstring' variable not const pointer. + * libio/Makefile (routines): Remove iofscanf, add iopopen, pclose. - * 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. + * libio/iofscanf.c: Remove file. -Tue Aug 27 15:40:28 1996 NIIBE Yutaka <gniibe@mri.co.jp> + * libio/iogetdelim.c (_IO_getdelim): Correct stupid bug at string + termination. - * posix/sys/types.h: Define loff_t. - * sysdeps/unix/sysv/linux/gnu/types.h: Define __loff_t. + * libio/iopopen.c: New file from GNU libio. -Mon Aug 26 22:22:17 1996 Ulrich Drepper <drepper@cygnus.com> + * libio/memstream.c: Fixed bug in fclose handling. Instead of + providing a close callback we need a finish callback. - * io/fcntl.h: Add definition for BSD F* macros. + * libio/pclose.c: New file. Derived from popen.c in GNU libio. - * misc/init-misc.c (__init_misc): Make static. - * misc/Makefile: Pass -fkeep-inline-functions flag for init-misc.c. + * posix/gnu/types.h: Fixed typo. - * 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. + * stdio-common/errnobug.c: fputs returns EOF in error case. Do + not test for != 0. -Mon Aug 26 17:16:48 1996 Richard Henderson <rth@tamu.edu> + * stdio-common/printf-parse.h (parse_one_spec): Do not force + padding with ' ' if precision is given. Fix by HJ Lu. - * sysdeps/alpha/dl-machine.h: Clear startup flag. + * stdio-common/printf_fp.c: Fix comment. -Fri Aug 16 21:17:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * stdio-common/tfformat.c, stdio-common/tiformat.c, + stdio-common/tstdiomisc.c: New files from GNU libio test suite. - * Makerules (o-iterator-doit): Simplify reference to autolock - script. + * stdio-common/tstgetln.c: Provide ssize_t type when testing + libio. -Sat Aug 24 15:27:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * stdio-common/vfprintf.c (outchar): Use PUTC instead of putc. + (vfprintf): Cleasr args_type array before using it. + When printing 0 as an integer with precision 0 nothing must be + written for the number. + Based on patch by HJ Lu. - * 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. + * stdio-common/vfscanf.c: Remove fixed input buffer. Now we + have a dynamically extended buffer. -Mon Aug 26 15:49:59 1996 Ulrich Drepper <drepper@cygnus.com> + * stdlib/strtod.c: Merge with version in Linux libc. This fixes + some bugs with handling of very small numbers and has different + solution for formaer patches. - * 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. + * sysdeps/i386/i586/add_n.S, sysdeps/i386/i586/sub_n.S: Rename + macros r1 and r2 to t1, and t2 resp. This is necessary because + glibc headers also define r1. -Sun Aug 25 18:25:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Mon Dec 4 12:10:28 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * gmon/gmon.c (ERR): Don't write the terminating NUL. + * stdlib/gen-mpn-copy (translations): Updated for new layout in + GMP 1.910. - * sysdeps/posix/profil.c (profil): Disable the profiling timer at - first. - (profil_count): Use 64 bit arithmethic to avoid overflow. + * malloc/malloc.c (__malloc_initialize): Renamed from initialize; + made global. + (malloc): Caller changed. + * malloc/realloc.c (realloc): Call __malloc_initialize if + necessary, before checking hook. + * malloc/malloc.h: Declare __malloc_initialize. - * sysdeps/generic/machine-gmon.h (MCOUNT): Fix argument order. + * sysdeps/mach/hurd/ioctl.c: For IOC_VOID request, send ARG itself + as integer_t arg in RPC. -Mon Aug 26 16:31:33 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> +Sat Dec 2 03:47:27 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Tolerate NEW - being null; in that case don't touch the timer at all (but do - return something in OLD if necessary). + * sysdeps/mach/hurd/brk.c (DATA_SIZE): Bump to 128MB. + (_hurd_set_brk): Try to allocate more space when we run out. -Mon Aug 26 13:35:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + * sysdeps/generic/sbrk.c: If __curbrk is zero, call __brk with + zero and examine it again. + * sysdeps/unix/sysv/linux/i386/brk.c: New file. + * sysdeps/unix/sysv/linux/i386/brk.S: File removed. + * sysdeps/unix/sysv/linux/i386/sbrk.S: File removed. + * sysdeps/unix/sysv/linux/dl-sysdep.c: New file. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [DL_SYSDEP_INIT]: + Invoke this macro before calling DL_MAIN. - * sysdeps/mach/hurd/i386/init-first.c (__libc_multiple_libcs): New - variable. - * sysdeps/i386/init-first.c: Likewise. - * sysdeps/stub/init-first.c: Likewise. + * malloc/malloc.c (malloc): Do initialization here, before + checking the hook. + (_malloc_internal): Don't do it here. -Mon Aug 26 02:01:37 1996 Ulrich Drepper <drepper@cygnus.com> +Wed Nov 29 12:30:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * 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. + * libio/vsnprintf.c (__vsnprintf): Define as alias. + * libio/iovsscanf.c (__vsscanf): Define as alias. + * asprintf.c: Remove libio adaptation code added by drepper. + * dprintf.c: Likewise. + * printf.c: Likewise. + * scanf.c: Likewise. + * snprintf.c: Likewise. + * sprintf.c: Likewise. + * sscanf.c: Likewise. + * vprintf.c: Likewise. + * stdio-common/vfscanf.c [USE_IN_LIBIO] (__vfscanf): New wrapper + function. + (vfscanf): Define unconditionally. -Sun Aug 25 19:15:46 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/i386/dl-machine.h (elf_machine_rel): If SYM is null, use + zero for value. - * shadow/Makefile (routines): Add lckpwdf. - * shadow/lckpwdf.c: New file. + * misc/getpass.c: Write a newline after reading the unechoed + password. - * sysdeps/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Force - argument `cw' to be placed in memory. Patch by Torbjorn Granlund. +Mon Nov 27 19:24:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Sun Aug 25 12:53:37 1996 Ulrich Drepper <drepper@cygnus.com> + * posix/Makefile (routines): Add getsid. + * sysdeps/unix/sysv/linux/getsid.S: New file. + * sysdeps/mach/hurd/getsid.c: New file. + * sysdeps/stub/getsid.c: New file. + * posix/unistd.h [__USE_GNU]: Declare getsid. - * 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 Nov 26 12:44:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Sun Aug 25 01:31:33 1996 Ulrich Drepper <drepper@cygnus.com> + * libc-symbols.h (N_): New macro. - * 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 Nov 25 02:48:47 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu> -Sat Aug 24 03:16:47 1996 Ulrich Drepper <drepper@cygnus.com> + * assert/assert-perr.c, assert/assert.c, inet/rcmd.c, + malloc/mcheck.c, malloc/vm-limit.c, posix/getconf.c, posix/id.c, + resolv/herror.c, sunrpc/auth_unix.c, sunrpc/clnt_perr.c, + sunrpc/clnt_raw.c, sunrpc/get_myaddr.c, sunrpc/pmap_clnt.c, + sunrpc/pmap_rmt.c, sunrpc/portmap.c, sunrpc/rpc_main.c, + sunrpc/rpc_parse.c, sunrpc/rpc_scan.c, sunrpc/rpc_util.c, + sunrpc/rpcinfo.c, sunrpc/svc_simple.c, sunrpc/svc_tcp.c, + sunrpc/svc_udp.c, time/zdump.c, time/zic.c: Mark translatable + strings. - * 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. +Sun Nov 26 02:00:02 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu> - * time/gmtime.c: De-ANSI-fy. - * time/strftime.c: Don't call non-reentrant functions which change - state. + * misc/syslog.c (vsyslog) [USE_IN_LIBIO]: Adapted for libio. -Wed Aug 21 10:14:59 1996 Richard Henderson <rth@tamu.edu> +Thu Nov 23 02:21:55 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu> - * elf/dl-lookup.c (_dl_lookup_symbol): Malloc the error string rather - than putting it on the stack. + * sysdeps/unix/sysv/linux/{mlock,munlock,mlockall,munlockall}.S: + New files. + * sysdeps/unix/sysv/linux/sys/mman.h: Add prototypes for new functions + mlock, munlock, mlockall, and munlockall. -Wed Aug 21 10:12:42 1996 Richard Henderson <rth@tamu.edu> +Thu Nov 23 18:26:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * elf/rtld.c (dl_main): When looking up symbols in response to --list, - don't find .plt entries. + * configure.in (--enable-libio): Set $stdio based on $enableval, + not always to libio. -Mon Aug 19 23:18:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Thu Nov 23 18:06:48 1995 Richard Stallman <rms@gnu.ai.mit.edu> - * sysdeps/m68k/dl-machine.h (RTLD_START): Optimize clearing - _dl_starting_up. + * malloc/malloc.c (_malloc_internal): Can't use + get_contiguous_space when the heap info table + will be growing. Account for new contiguous space in _heaplimit. -Tue Aug 20 17:42:10 1996 Miles Bader <miles@gnu.ai.mit.edu> +Wed Nov 22 12:37:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * stdio/linewrap.c (line_wrap_stream): Initialize D->seek. + * sysdeps/unix/sysv/linux/i386/sysdep.S (_errno): Define as alias + for errno. -Sat Aug 17 12:19:37 1996 David Mosberger-Tang <davidm@azstarnet.com> + * stdio-common/vfprintf.c [USE_IN_LIBIO] (vfprintf): Define as + alias for _IO_vfprintf. - * login/pututline_r.c (__pututline_r): Fix handling of case where - getutid_r() fails with ESRCH. Reported by Miquel van Smoorenburg. + * sysdeps/unix/sysv/linux/sockaddrcom.h: File removed. -Wed Aug 14 14:10:54 1996 David Mosberger-Tang <davidm@azstarnet.com> + * sysdeps/unix/sysv/linux/i386/init-first.c (init): Use + __fpu_control instead of ___fpu_control. + * sysdeps/unix/sysv/linux/i386/ieee_fpu.c + (___fpu_control): Renamed to __fpu_control. + * sysdeps/unix/sysv/linux/i386/fpu_control.h: Likewise. + * sysdeps/unix/sysv/linux/i386/fpu_control.c: Likewise. - * 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. + * elf/dl-minimal.c: New file. + * elf/Makefile (rtld-routines): Add dl-minimal. + * elf/rtld.c (__dgettext, __assert_fail, __assert_perror_fail): + Functions moved to dl-minimal.c. + * sysdeps/mach/hurd/dl-sysdep.c (malloc, free, realloc, + sigjmp_save, longjmp): Likewise. - * sysdeps/unix/sysv/linux/sys/io.h: Enclose #include <asm/io.h> - and declarations in __BEGIN_DECLS/__END_DECLS. + * sysdeps/unix/sysv/linux/i386/brk.S (__curbrk): Always initialize + to &_end, regardless of PIC. -Sun Aug 18 13:37:09 1996 Ulrich Drepper <drepper@cygnus.com> + * stdio-common/vfscanf.c (__vfscanf): Fix arg name in defn. - * err.h: New file. Wrapper around misc/err.h. +Tue Nov 21 14:12:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - 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. + * malloc/malloc.c (align): Don't check contiguity and call abort. -Fri Aug 16 04:59:01 1996 Ulrich Drepper <drepper@cygnus.com> + * hurd/hurdsig.c (post_reply): Function removed. + (abort_thread, abort_all_rpcs, _hurdsig_abort_rpcs): Don't call it. + Take single callback fn arg instead of reply port and type. + (_hurd_internal_post_signal): Callers changed. + Cache reply stub fn ptr in local var before UNTRACED might be changed. - * 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. + * sysdeps/mach/hurd/mmap.c: Cope with a null write memobj for + PROT_READ|PROT_WRITE copy mapping. Pass a proper vm_inherit_t to + vm_map. -Fri Aug 16 01:24:33 1996 Ulrich Drepper <drepper@cygnus.com> + * elf/rtld.c (_dl_start): For --list, do output and exit before + relocating. - * inet/ruserpass.c (userpass): Allocate buffer for .netrc file - name dynamically. Reported by Alan Cox. - Uncomment warnings and mark as translatable. +Mon Nov 20 16:19:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * 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. + * intl/Makefile [gettext-srcdir]: Rewrote copying rules to only + get .c and .h files. -Thu Aug 15 18:02:51 1996 Ulrich Drepper <drepper@cygnus.com> + * malloc/malloc.c (align): Use abort instead of assert. - * elf/rtld.c (dl_main): Loaded object has type lt_executable, - not lt_library. +Sun Nov 19 18:23:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * misc/sys/select.h: Define fd_set using typedef, not #define. - Proposed by David Mosberger-Tang. + * Makeconfig (+includes): Add $($(stdio)-include). + (libio-include): New variable. -Thu Aug 15 12:48:21 1996 Ulrich Drepper <drepper@cygnus.com> + * stdlib/strtod.c: Put weak_symbol after function defn. + * stdlib/strtol.c: Likewise. - * po/header.pot: Use real description line. + * configure.in (--enable-libio): If not present, set $stdio to + "default". Move stdio/libio check to end, so sysdeps fragments + can affect it. Reset $stdio to "stdio" if it's "default". + * sysdeps/unix/sysv/linux/configure: New file. + +Sat Nov 18 16:46:01 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu> + + * libio/Makefile, libio/cleanup.c, libio/clearerr.c, libio/feof.c, + libio/ferror.c, libio/fgetc.c, libio/filedoalloc.c, libio/fileno.c, + libio/fileops.c, libio/fputc.c, libio/freopen.c, libio/fseek.c, + libio/genops.c, libio/getc.c, libio/getchar.c, libio/iofclose.c, + libio/iofdopen.c, libio/iofflush.c, libio/iofgetpos.c, libio/iofgets.c, + libio/iofopen.c, libio/iofprintf.c, libio/iofputs.c, libio/iofread.c, + libio/iofscanf.c, libio/iofsetpos.c, libio/ioftell.c, libio/iofwrite.c, + libio/iogetdelim.c, libio/iogetline.c, libio/iogets.c, libio/iolibio.h, + libio/iopadn.c, libio/ioprims.c, libio/ioputs.c, libio/ioseekoff.c, + libio/ioseekpos.c, libio/iosetbuffer.c, libio/iosetvbuf.c, + libio/iosprintf.c, libio/ioungetc.c, libio/iovsprintf.c, + libio/iovsscanf.c, libio/libio.h, libio/libioP.h, libio/putc.c, + libio/putchar.c, libio/rewind.c, libio/setbuf.c, libio/setlinebuf.c, + libio/stdfiles.c, libio/stdio.c, libio/stdio.h, libio/strfile.h, + libio/strops.c, libio/vasprintf.c, libio/vscanf.c, libio/vsnprintf.c: + New files. Slightly modified version from Linux libc. + + * libio/memstream.c, libio/vdprintf.c: New files for functions not + (yet) part of GNU libio. + + * libio/iofopncook.c: Implementation of `fopencookie', mainly written + by Per Bothner. + + * stdio-common/getline.c: Adapted to libio. + * stdio-common/snprintf.c: Adapted to libio. + * stdio-common/vfprintf.c: Adapted to libio. + * stdio-common/vfscanf.c: Adapted to libio. + * sysdeps/posix/tempname.c: Adapted to libio. + +Fri Nov 17 17:57:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * sysdeps/generic/Makefile (make_siglist): Add missing backslash. + + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): New + function. -Thu Aug 15 04:42:44 1996 Ulrich Drepper <drepper@cygnus.com> + * hurd/hurdfault.c: Replace __libc_fatal calls with assert_perror. + (_hurdsig_fault_init): Remove #if 0 from setting exception port. + Insert send right for SIGEXC before thread_set_special_port. + * hurd/hurdsig.c: Replace __libc_fatal calls with assert_perror. + (_hurdsig_init): Remove #if 0 from setting exception port. - * elf/rtld.c (dl_main): When started with --verify prevent - any warning. Just exit with an error. - * elf/ldd.sh.in: Don't run given object directly. This fails for - libraries. Instead use $RTLD again. + * sysdeps/mach/hurd/ptrace.c (ptrace: PTRACE_CONT): Use + HURD_MSGPORT_RPC macro. -Thu Aug 15 02:08:59 1996 Ulrich Drepper <drepper@cygnus.com> +Thu Nov 16 06:07:49 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * manual/nss.texi: New file. Document NSS. - * manual/nsswitch.texi: New file. Example configuration. + * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): New + function. + (_dl_sysdep_start): Move cleanup code there. - * manual/string.texi: Document stpncpy, strdupa, and strndupa. - * manual/example/strdupa.c: New file. Example for strdupa. + * Makeconfig (default-rpath): New variable. + (link-libc): Use it. + * elf/Makefile (ld.so): Pass -rpath=$(default-rpath). + * elf/rtld.c (_dl_rpath): New variable. + (_dl_start): Set it from rtld_map's DT_RPATH. + Call _dl_setup_hash on rtld_map. + (dl_main): Cache address of _exit in variable before relocating, + and use that in later calls. Call _dl_sysdep_start_cleanup before + relocating. Keep track of dependency order while loading; remove + rtld_map from chain, and reinsert in proper order if there is a + dependency on it. -Wed Aug 14 21:36:16 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/generic/Makefile (make_siglist): Pass + -DSIGNUM_H=... with config's signum.h location. + * sysdeps/generic/make_siglist.c: Include SIGNUM_H to define + signal numbers. + (HAVE_STRSIGNAL, HAVE_PSIGNAL): Define these before including signame.c + (main): Deansideclize output. - * stdlib/strtod.c (STRTOD): Correct assertion about size of - wint_t and wchar_t. Reported by David Mosberger-Tang. + * elf/dl-load.c (_dl_map_object): Use _dl_rpath variable in place + of DEFAULT_RPATH macro. + * elf/Makefile: Undo last change. -Mon Aug 12 22:40:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/mach/hurd/dl-sysdep.c (free): Don't abort, just nop. - * 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 Nov 15 19:22:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Wed Aug 14 17:57:08 1996 Ulrich Drepper <drepper@cygnus.com> + * elf/dl-lookup.c (_dl_lookup_symbol): Undefined symbol is no + error if weak. - * MakeTAGS: Clean up use of --omit-header and -n for xgettext. - * po/header.pot: Add empty line at end. + * elf/Makefile (default-rpath): New variable. + (CPPFLAGS): Append -DDEFAULT_RPATH=.... + * elf/dl-load.c (_dl_map_object): Use DEFAULT_RPATH instead of + hard-coded "/lib:/usr/lib". -Sun Aug 11 13:45:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/mach/hurd/dl-sysdep.c: Include _itoa.h from stdio-common + instead of stdio. + (_dl_sysdep_start): If passed user entry is zero and + EXEC_STACK_ARGS flag set, reset user entry to &_start. - * MakeTAGS (all-pot): Remove $P/errlist.pot, all error messages - are now in $P/stdio-common.pot. - (XGETTEXTFLAGS-errlist.pot): Variable removed. + * elf/rtld.c (dl_main): Only call _dl_setup_hash if there is a + DT_HASH element. -Mon Aug 12 19:25:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * libc-symbols.h [HAVE_ELF] (symbol_set_declare): Gratuitously + repeat weak decl using weak_symbol macro, in case using broken GCC + (<2.8). - * 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 Nov 15 18:49:55 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de> -Wed Aug 14 13:20:02 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/i386/isnanl.c: New file. + * sysdeps/i386/isinfl.c: New file. - * sysdeps/unix/sysv/linux/i386/close.S: Push return value of thread - on stack as argument for `_exit'. Reported by Andreas Schwab. +Tue Nov 14 18:44:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Mon Aug 12 19:36:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * malloc/free.c (free): Moved null and aligned_blocks checks + inside _free_internal. - * sysdeps/unix/sysv/linux/m68k/clone.S: New file. +Mon Nov 13 15:23:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Wed Aug 14 04:22:35 1996 Richard Henderson <rth@tamu.edu> + * malloc/malloc.c (morecore): Fix inverted test in allocating new + info table. - * elf/dl-load.c (_dl_map_object): Save name in malloced memory. - (_dl_map_object_from_fd): Free name on error. + * malloc/malloc.c (align): Fix assertion. -Wed Aug 14 13:00:09 1996 Ulrich Drepper <drepper@cygnus.com> + * malloc/malloc.c: Include assert.h. - * string/strdup.c: Use result of memcpy to avoid reloading. + * libc-symbols.h: Use __attribute__ for GCC 2.8, not 2.7. -Tue Aug 13 00:55:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * malloc/malloc.h [emacs] (emacs_loser_valloc): Macro removed. + (valloc): Protect decl with [! (_MALLOC_INTERNAL && emacs)]. - * shadow/sgetspent_r.c (__sgetspent_r): Copy string to buffer, not - the other way round. +Fri Nov 10 14:15:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Tue Aug 13 20:51:21 1996 Ulrich Drepper <drepper@cygnus.com> + * malloc/malloc.c (align): Assert that space for alignment + adjustment is same original space. - * stdlib/canonicalize.c (canonicalize): Add cast to prevent - warning. + * hurd/hurdprio.c (_hurd_priority_which_map): Cast vm_deallocate + arg to vm_address_t. - * Makerules (o-iterator-doit): Use autolock.sh when running ranlib. + * hurd/hurdsig.c (_hurd_internal_post_signal): For SIGNO == 0, + skip straight to pending check. When UNTRACED, resume process + from suspension first. -Tue Aug 13 18:26:45 1996 Ulrich Drepper <drepper@cygnus.com> + * intl/Makefile (headers): New variable, libintl.h. + [gettext-srcdir]: New rules to copy source from $(gettext-srcdir)/intl. + * configure.in: Check for --with-gettext arg. - * nss/nsswitch.c (__nss_configure_lookup): Use fact that list is - sorted. +Fri Nov 10 13:51:30 1995 Richard Stallman <rms@gnu.ai.mit.edu> - Update from bind-4.9.5-T1A. - * resolv/Makefile (libresolv-routines): Add base64, inet_net_ntop, - inet_net_pton, inet_net. + * malloc/malloc.c (get_contiguous_space): New function. + (morecore): Rewrite allocating new malloc info table. + (_malloc_internal): Use get_contiguous_space. - * resolv/gethnamaddr.c: Include <sys/types.h>. - * resolv/getnetnamadr.c: Likewise. - * resolv/herror.c: Likewise. - * resolv/inet_addr.c: Likewise. - * resolv/nsap_addr.c: Likewise. - * resolv/res_comp.c: Likewise. - * resolv/res_data.c: Likewise. - * resolv/res_init.c: Likewise. - * resolv/res_mkquery.c: Likewise. - * resolv/res_query.c: Likewise. - * resolv/res_send.c: Likewise. +Fri Nov 10 13:03:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * resolv/gethnamaddr.c [! SPRINTF_CHAR] (SPRINTF): Cast return - value of sprintf. - * resolv/inet_ntop.c: Likewise. + * hurd/hurdexec.c (_hurd_exec): If exec'ing self, pass + _hurd_msgport to be destroyed. - * resolv/gethnamaddr.c [BSD]: Include <stdlib.h>. - Remove prototype of gethostbyname_ipv4. + * Makerules (installed-libcs): Filter out %_pic.a. - * resolv/inet_ntop.c, resolv/inet_pton.c: Use ISO C `mem*' - functions instead of BSD `b*' functions. + * hurd/hurdinit.c (_hurd_proc_init): When traced, use msg_sig_post + to our msgport to take SIGTRAP, instead of _hurd_raise_signal. - * resolv/nsap_addr.c: Add copyright message. + * hurd/Makefile (user-interfaces): Add hurd/process_request. - * resolv/res_comp.c: Remove comment explaining label format. - (res_mailok): Correct check. +Wed Nov 8 16:31:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * 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. + * termios/Makefile (headers): Add sys/ttychars.h. + * termios/sys/ttychars.h: New file, incorporated from 4.4BSD-Lite + for compatibility. - * 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. + * signal/signal.h [__USE_BSD] (sig_t): New typedef. - * resolv/arpa/nameser.h (__BIND): Update version number. - Add KEYFLAG_* and ALGORITHM_* symbols. - (HEADER): Add `ad' and `cd' flags. +Wed Nov 8 15:12:47 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - * inet/ient.h: Add prototypes for inet_neta, inet_net_ntop, - and inet_net_pton. + * sysdeps/mach/hurd/ptrace.c (ptrace) [PTRACE_TRACEME]: Notify the + proc server that we are now traced. - * manual/maint.texi: Document that we use bind-4.9.5. - * INSTALL: Ditto. +Tue Nov 7 12:29:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Mon Aug 12 19:03:22 1996 Thomas Bushnell n/BSG <thomas@psilocin.gnu.ai.mit.edu> + * elf/Makefile (ldd): Make it executable. - * sysdeps/generic/gnu/types.h: Declare __fd_mask as `unsigned long'. + * Makeconfig (config-LDFLAGS): Find dynamic linker in $(slibdir). - * mach/Makefile (mach/mach_host.uh): Depend on - $(objpfx)/mach-syscalls.mk. - ($(objpfx)mach-shortcuts.h): Depend on $(objpfx)mach/mach_host.h. - (This fixes a make loop; thanks to Marcus Daniels - <marcus@sysc.pdx.edu> for the patch.) + * Makeconfig (slibdir): New variable. + * Makerules (install): Install libc.so in $(slibdir). + * elf/Makefile (install-others): Install ld.so and ld-linux.so.1 + in $(slibdir). -Mon Aug 12 16:41:52 1996 Thomas Bushnell n/BSG <thomas@gnu.ai.mit.edu> + * elf/linux-compat.c: New file. + * elf/Makefile (distribute): Add linux-compat.c. + (generated): Add librtld.so. + [$(config-os)=linux*] (extra-objs): Add linux-compat.so. + [$(config-os)=linux*] (extra-objs): Add ld-linux.so.1. + (librtld.so): New target. + (ld.so, ld-linux.so.1): Make from librtld.so. - * 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. + * elf/rtld.c (dl_main): Instead of weak call to _dl_compat_init, + call our own DT_INIT if we have one (and then clear it). + (__dgettext): New weak function. -Mon Aug 12 04:33:09 1996 Ulrich Drepper <drepper@cygnus.com> + * intl/localealias.c (read_alias_file): Avoid sprintf; use memcpy + by hand instead. - * nss/nsswitch.c (__nss_database_lookup): Always release locks - before returning. Reported by Miles Bader. + * sysdeps/generic/_strerror.c (_strerror_internal): Use _itoa + instead of snprintf. -Mon Aug 12 03:31:58 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/mach/_strerror.c (_strerror_internal): Don't write + BUF[BUFLEN]. - * 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. + * elf/rtld.c (rtld_map): New static variable. + (_dl_start): Use a differently named local BOOTSTRAP_MAP for the + bootstrapping. Then copy data into `rtld_map'. + (dl_main): Finish filling in rtld_map and link it into the chain, + instead of allocating a new structure. + (dl_main): Call _dl_compat_init if it is defined (use weak ref). - * 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. + * elf/dlsym.c: Fix last change: move REF out of `doit'. - * nss/Makefile (headers): Add nss.h. - (distributes): Add databases.def. +Mon Nov 6 16:20:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Sun Aug 11 16:19:42 1996 Ulrich Drepper <drepper@cygnus.com> + * elf/dlsym.c: Return the proper value, not just the defining + object's loadbase. - 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. +Sun Nov 5 16:09:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * string/Makefile: Add -fno-builtin for tst-strlen.c, too. + * stdio-common/vfprintf.c (%c): Count the character itself towards + the field width in all cases. - * sysdeps/generic/sbrk.c (__sbrk): Get kernel brk address - always only if in static libc or if statically linked program - uses libc.so. + * sysdeps/mach/hurd/getpriority.c (getpriority): Cast + __vm_deallocate arg to vm_address_t. -Sun Aug 11 01:12:38 1996 Richard Henderson <rth@tamu.edu> +Fri Nov 3 17:27:49 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * 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/mach/hurd/sendto.c: Don't pass BINDING arg to + socket_create_address. + * sysdeps/mach/hurd/connect.c: Likewise. + * sysdeps/mach/hurd/bind.c: Likewise. - * sysdeps/alpha/divrem.h: Update comment to reflect the actual - calling conventions. The code is already correct. + * hurd/hurdprio.c (_hurd_priority_which_map): Pass threadwaits + args to proc_getprocinfo. + * sysdeps/mach/hurd/getpriority.c: Likewise. -Sun Aug 11 01:06:42 1996 Richard Henderson <rth@tamu.edu> + * hurd/hurdmsg.c (_S_msg_report_wait): New stub function. - * string/Makefile: Compile tester with -fno-builtin as we want to - test our implementations, not gcc's. +Thu Nov 2 19:24:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Sat Aug 10 13:17:27 1996 David Mosberger-Tang <davidm@azstarnet.com> + * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Define as common. - * shadow.h: New file. +Tue Oct 31 00:07:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * sysdeps/unix/sysv/linux/netinet/in.h: Move - __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as - well. + * sysdeps/mach/hurd/getpriority.c (getpriority): Pass + PI_FETCH_TASKINFO to proc_getprocinfo and through + _hurd_priority_which_map. - * socket/sys/socket.h [__cplusplus]: Use old-style __SOCKADDR_ARG. - g++ 2.7.2 (and earlier) has no transparent unions support. + * sysdeps/mach/hurd/setpriority.c (setpriority): Pass new arg to + _hurd_priority_which_map. + * hurd/hurdprio.c (_hurd_priority_which_map): New arg PI_FLAGS, + passed through to proc_getprocinfo RPC. + * hurd/hurd/resource.h: Add PI_FLAGS arg in decl. -Fri Aug 9 18:50:06 1996 David Mosberger-Tang <davidm@azstarnet.com> + * sysdeps/mach/hurd/group_member.c: New file. + * sysdeps/generic/group_member.c: New file. - * 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. + * Makerules (lib-noranlib): Don't depend on $(install-lib). + (others): Do. + * extra-lib.mk: Fix test of $(lib)-no-lib-dep. -Tue Aug 6 10:23:18 1996 David Mosberger-Tang <davidm@azstarnet.com> +Mon Oct 30 12:33:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * sysdeps/posix/ttyname_r.c (ttyname_r), - sysdeps/posix/ttyname.c (ttyname): Return -1/NULL if - !__isatty(fd) (POSIX.1 says so.) + * Rules (others): Depend on $(extra-objs). - * 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. + * posix/unistd.h [__USE_GNU]: Declare group_member, __group_member. + * posix/Makefile (routines): Add group_member. -Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com> + * sysdeps/posix/euidaccess.c: New file, adapted from fileutils. - * sysdeps/unix/getlogin.c (getlogin): Add static variable NAME, - change utmp_data from static to auto. + * sysdeps/unix/sysv/linux/i386/sigaction.c: Tighten constraint for + SIG operand in asm so it must be a register. + Add dead return to quiet gcc warning. -Sun Aug 11 02:56:08 1996 Ulrich Drepper <drepper@cygnus.com> + * Makerules (sysd-rules): Write a defn for sysd-rules-done. + [! sysd-rules-done]: Inhibit deps. - * posix/unistd.h [__USE_MISC]: Add prototype for `nice'. - Reported by David Mosberger-Tang. +Thu Oct 26 23:11:11 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de> -Sat Aug 10 02:05:28 1996 Richard Henderson <richard@twiddle.tamu.edu> + * sysdeps/unix/sysv/linux/poll.c: Don't define as stub. Use + simulation of system call using select. - * sysdeps/libm-ieee754/s_isnan.c [NO_LONG_DOUBLE]: Add strong - alias to `__isnanl'. + * sysdeps/unix/sysv/linux/signal.c: Use POSIX implementation. -Fri Aug 9 17:38:58 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/statbuf.h: Define _STAT_VER. - * sysdeps/unix/sysv/linux/sys/timex.h: Include <sys/time.h> to - get `struct timeval'. - * sysdeps/unix/sysv/linux/sys/acct.h: Get time_t from <time.h>. - * sysdeps/unix/sysv/linux/sys/module.h: Get size_t from <stddef.h>. - * sysdeps/unix/sysv/linux/sys/io.h: Get definition of __P. - * sysdeps/unix/sysv/linux/sys/klog.h: Likewise. - * gmon/sys/gmon.h: Include <sys/types.h> to get u_long. - * sysdeps/unix/sysv/linux/direntry.h: Complete types in - <linux/dirent.h>. - * io/fts.h: Include <sys/types.h> to get dev_t. - Reported by Matthias Urlichs. + * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct parameter + name usage (new->act, old->oact). + Correct asm statement because of gcc strangeness. - * sysdeps/posix/tempname.c [USE_IN_LIBIO]: Don't clear - _IO_file_flags. It's the same as _flags. - Reported by Miquel van Smoorenburg <miquels@Q.cistron.nl>. + * sysdeps/i386/i586/strchr.S: Correct typos: cmp -> cmpb. -Wed Aug 7 19:38:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sunrpc/clnt_perr.c: Remove declaration of sys_errlist. They + conflict with the ones in stdio.h. - * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Add RLIMIT_AS. + * string/tester.c: %Z is no complete format. Change to %Zd. -Thu Aug 8 16:17:38 1996 Ulrich Drepper <drepper@cygnus.com> +Thu Oct 26 18:13:33 1995 Miles Bader <miles@gnu.ai.mit.edu> - * 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. + * sysdeps/mach/hurd/bind.c (bind): Swap args to dir_link. + * sysdeps/mach/hurd/link.c (__link): Ditto. + * sysdeps/mach/hurd/symlink.c (__symlink): Ditto. + * sysdeps/mach/hurd/mknod.c (__mknod): Ditto. + Include "stdio-common/_itoa.h" instead of "stdio/_itoa.h". - * 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. +Thu Oct 26 00:11:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * pwd/fgetpwent_r.c: New file. Reentrant version of fgetpwent. - * pwd/fgetpwent.c: Rewrite to use fgetpwent_r. - * pwd/Makefile (routines): Add fgetpwent_r. - * pwd/pwd.h: Add prototypes for __fgetpwent_r and fgetpwent_r. + * sysdeps/unix/sysv/linux/i386/sigaction.c: New file. - * grp/fgetgrent_r.c: New file. Reentrant version of fgetgrent. - * grp/fgetgrent.c: Rewrite to use fgetgrent_r. - * grp/Makefile (routines): Add fgetgrent_r. - * grp/grp.h: Add prototypes for __fgetgrent_r and fgetgrent_r. + * sysdeps/unix/sysv/linux/i386/xstat.S: Don't use JUMPTARGET macro + on syscall_error. For PIC, it is a local label; + for non-PIC, JUMPTARGET expands to the unadorned name anyway. + * sysdeps/unix/sysv/linux/i386/xmknod.S: Likewise. + * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/i386/socket.S: Likewise. + * sysdeps/unix/sysv/linux/i386/sbrk.S: Likewise. + * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/i386/brk.S: Likewise. + +Thu Oct 26 03:01:22 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de> + + * sysdeps/unix/sysv/linux/syscall.h: Strip list of syscalls in + comment to the necessary ones. Add _readv and _writev. + + * sysdeps/unix/configure.in: Change syntax for system call test + candidates and adapt sed script for this. Now use : to separate + syscall name and file name. + + * sysdeps/unix/sysv/linux/i386/sysdep.h (ENTRY): System call + number is now set is DO_CALL. So call with additional argument. + (DO_CALL): Takes an additional argument. Load system call + number according to new argument. + (SYSCALL_ERROR_HANDLER): Add ; after last ret statement. + * sysdeps/unix/sysv/linux/i386/brk.S [PIC]: Define __syscall_error + locally using SYSCALL_ERROR_HANDLER macro. + * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/i386/sbrk.S: Likewise. + * sysdeps/unix/sysv/linux/i386/socket.S: Likewise. + * sysdeps/unix/sysv/linux/i386/xmknod.S: Likewise. + * sysdeps/unix/sysv/linux/i386/xstat.S: Likewise. + * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise. + Don't use DO_CALL macro; instead use lower level macros for better + control. - Implement shadow password lookup functions. This is no complete - shadow password suite. - * shadow/Makefile: New file. - * shadow/fgetspent.c: New file. - * shadow/fgetspent_r.c: New file. - * shadow/getspent.c: New file. - * shadow/getspent_r.c: New file. - * shadow/getspnam.c: New file. - * shadow/getspnam_r.c: New file. - * shadow/putspent.c: New file. - * shadow/sgetspent.c: New file. - * shadow/sgetspent_r.c: New file. - * shadow/shadow.h: New file. - * shadow/spwd-lookup.c: New file. - * shadow/nss_files/files-spwd.c: New file. + * sysdeps/unix/sysv/linux/sigaction.h: New file. + * sysdeps/unix/sysv/linux/sigaction.S: File removed. + * sysdeps/unix/sysv/linux/signal.S: File removed. -Thu Aug 8 13:33:45 1996 Ulrich Drepper <drepper@cygnus.com> +Wed Oct 25 14:23:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * sysdeps/unix/sysv/linux/ftime.c: New file. Available system - call is only a stub. - Reported by Matthias Urlichs. + * hurd/hurdstartup.c (_hurd_startup): Use new + exec_startup_get_info RPC from exec_startup.defs + in place of old exec_startup from exec.defs. Remove kludge to + guess user entry and phdr locations, since the new RPC gives us + that info. - * Makeconfig [!default_cflags]: Change default value from `-g' - to `-g -O'. + * stdio/stdio.h (sys_errlist, _sys_errlist): Declare const. + * sysdeps/generic/_strerror.c: Undo last change. - * configure.in: Recognize i686. - * sysdeps/i386/i686/Implies: Default on i586 optimized code. + * sysdeps/unix/sysv/linux/stat.c: New file. + * sysdeps/unix/sysv/linux/fstat.c: New file. + * sysdeps/unix/sysv/linux/lstat.c: New file. + * sysdeps/unix/sysv/linux/i386/stat.S: File removed. + * sysdeps/unix/sysv/linux/i386/fstat.S: File removed. + * sysdeps/unix/sysv/linux/i386/lstat.S: File removed. -Thu Aug 8 12:40:20 1996 Matthias Urlichs <smurf@smurf.noris.de> +Tue Oct 24 15:22:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * Makeconfig [$(build-omitfp) == yes]: Add to CFLAGS-.so - value of CFLAGS-.o, not CFLAGS-o. + * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER): + New macro. + (PSEUDO): Use it instead of SYSCALL_PIC_SETUP and jmp syscall_error. - * sysdeps/unix/sysv/linux/init-first.c (init): Add volatile - pointer to ourself. Otherwise `gcc -O3' optimized init away. + * sysdeps/unix/sysv/linux/i386/sysdep.S (__syscall_error): Define + only #ifndef PIC. -Thu Aug 8 01:41:43 1996 Ulrich Drepper <drepper@cygnus.com> + * Makeconfig (built-program-cmd): New variable. + * sunrpc/Makefile (rpcgen-cmd): Use $(built-program-cmd). + * time/Makefile (zic-cmd): Likewise. - * elf/Makefile: Undo change of Tue Aug 6 14:27:11 1996. - * elf/dl-support: Add definition of `_dl_sysdep_read_whole_file'. + * hurd/Makefile (user-interfaces): Add hurd/exec_startup. -Thu Aug 8 01:15:59 1996 Ulrich Drepper <drepper@cygnus.com> + * sunrpc/Makefile (librpcsvc-no-lib-dep): New variable. + * extra-lib.mk: If $(lib)-no-lib-dep is defined and MAKELEVEL>0, + make `others' rather than `lib-noranlib' depend on the libraries. - * sysdeps/i386/fpu_control.h (_FPU_DEFAULT, _FPU_IEEE): Set - to 0x137f to allow long double operations. + * sysdeps/unix/configure.in: Check for fchdir syscall. + Improve sed script to allow / on rhs without / on lhs. -Sun Aug 4 13:12:05 1996 Richard Henderson <rth@tamu.edu> +Thu Oct 19 03:47:32 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de> - Bug Fixes: + * sysdeps/unix/sysv/linux/termbits.h: Don't define speed constants. - * 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. + * elf/rtld.c: Include _itoa.h from stdio-common instead of stdio. - * sysdeps/unix/sysv/linux/alpha/brk.S: When PIC, define __curbrk as - a .bss object not a COMMON symbol. + * sysdeps/unix/sysv/linux/select.S: New file. - * sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S: Must load - $gp before referencing __sigsetjmp symbol. Retain LITUSE for same. +Wed Oct 18 03:33:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - Optimizations: + * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Use + SYSCALL_PIC_SETUP before jumping to syscall_error. + * sysdeps/unix/i386/sysdep.h (SYSCALL_PIC_SETUP): New macro. + (PSEUDO): Use it before jumping to syscall_error. + * sysdeps/unix/i386/sysdep.S [! PIC]: Don't find GOT address; + expect it in %ebx on entry. Pop old %ebx value off stack after + using it. - * 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. + * signal/signal.h [__USE_BSD] (_sys_siglist, sys_siglist): Declare + them. - Cosmetic Changes: + * sysdeps/generic/_strerror.c: Declare _sys_errlist and _sys_nerr. - * time/localtime.c (localtime_r): Move lock declaration back next to - the comment where it was before the 960724 change. + * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): For magic + `fd/', pass the right pointer to strtol to parse the number. - * INSTALL, manual/maint.texi: alpha-gnu-linux -> alpha-ANYTHING-linux. - The second word is supposed to be the hardware manufacturer. +Tue Oct 17 23:00:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * sysdeps/alpha/_mcount.S: Retain LITUSE for __mcount. - * sysdeps/alpha/setjmp.S: Retain LITUSE for __sigsetjmp_aux. + * sysdeps/mach/_strerror.c: Include stdio-common/_itoa.h instead + of stdio/_itoa.h. - * sysdeps/alpha/divrem.h: More local labels, retain LITUSE for _mcount. +Tue Oct 17 19:51:17 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de> - * 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. + * sysdeps/unix/sysv/linux/i386/stat.S [PIC] (__stat): Set GOT + register %ebx before calling __xstat through PLT. -Tue Jul 25 03:30:56 1996 Richard Henderson <rth@tamu.edu> + * sysdeps/unix/sysv/linux/i386/sysdep.S: Fix typo in comment. - * 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. + * sysdeps/unix/sysv/linux/sigset.h: Remove file. -Sun Aug 4 00:12:41 1996 David Mosberger-Tang <davidm@azstarnet.com> +Tue Oct 17 01:21:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * sysdeps/unix/sysv/linux/gnu/types.h: Declare __fd_mask as - `unsigned long'. + * hurd/hurdsock.c: Include stdio-common/_itoa.h instead of + stdio/_itoa.h. + * hurd/hurdlookup.c: Likewise. - * misc/sys/select.h: Declare fd_mask as alias of __fd_mask. + * hurd/hurd/signal.h: Declare hurd_preempt_signals and + hurd_unpreempt_signals. -Sat Aug 3 16:20:02 1996 David Mosberger-Tang <davidm@azstarnet.com> + * stdio/stdio.h: Declare __snprintf and __vsnprintf. - * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for - Mikasa. + * stdio-common/psignal.c: Translate signal description strings. + * string/strsignal.c: Likewise. + * sysdeps/generic/_strerror.c (_strerror_internal): Translate + error strings. + * sysdeps/mach/_strerror.c: Likewise. - * socket/sys/socket.h (send, __send, sendto): Declare buffer - pointer as __const. + * stdio-common/snprintf.c (__snprintf): Renamed from snprintf; + call __vsnprintf. + (snprintf): Define as weak alias. + * stdio/vsnprintf.c (__vsnprintf): Renamed from vsnprintf. + (vsnprintf): Define as weak alias. + +Mon Oct 16 03:22:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * Makerules (install-lib): Filter out %_pic.a; install only the + linked shared objects. + + * locale/Makefile (aux): Add SYS_libc. + * locale/SYS_libc.c: New file. + * libc-symbols.h [! ASSEMBLER] (_): New macro. + + * configure.in (libc_cv_asm_set_directive): Link program into + conftest instead of letting it default to a.out. + + * elf/Makefile (install-others): Add missing slash. + + * elf/ldd.sh.in: Prepend `./' to relative file names so ld.so + won't search LD_LIBRARY_PATH. + + * Makefile (subdirs): Replace stdio with stdio-common and $(stdio). + * configure.in: Grok arg --enable-libio. + ($stdio = libio): Define USE_IN_LIBIO. + * config.h.in (USE_IN_LIBIO): Add #undef. + * config.make.in (stdio): New variable, set by configure. + * Makeconfig (stdio): New variable. + * stdio.h [USE_IN_LIBIO]: Include libio/stdio.h instead of + stdio/stdio.h. + * stdio-common/Makefile: New file. + * stdio/Makefile: Half the contents moved to stdio-common/Makefile. + * stdio/_itoa.c: Moved to stdio-common. + * stdio/_itoa.h: Moved to stdio-common. + * stdio/asprintf.c: Moved to stdio-common. + * stdio/bug1.c: Moved to stdio-common. + * stdio/bug1.input: Moved to stdio-common. + * stdio/bug2.c: Moved to stdio-common. + * stdio/bug3.c: Moved to stdio-common. + * stdio/bug4.c: Moved to stdio-common. + * stdio/bug5.c: Moved to stdio-common. + * stdio/bug6.c: Moved to stdio-common. + * stdio/bug6.input: Moved to stdio-common. + * stdio/bug7.c: Moved to stdio-common. + * stdio/dprintf.c: Moved to stdio-common. + * stdio/errnobug.c: Moved to stdio-common. + * stdio/getline.c: Moved to stdio-common. + * stdio/getw.c: Moved to stdio-common. + * stdio/perror.c: Moved to stdio-common. + * stdio/printf-parse.h: Moved to stdio-common. + * stdio/printf-prs.c: Moved to stdio-common. + * stdio/printf.c: Moved to stdio-common. + * stdio/printf.h: Moved to stdio-common. + * stdio/printf_fp.c: Moved to stdio-common. + * stdio/psignal.c: Moved to stdio-common. + * stdio/putw.c: Moved to stdio-common. + * stdio/reg-printf.c: Moved to stdio-common. + * stdio/scanf.c: Moved to stdio-common. + * stdio/snprintf.c: Moved to stdio-common. + * stdio/sprintf.c: Moved to stdio-common. + * stdio/sscanf.c: Moved to stdio-common. + * stdio/tempnam.c: Moved to stdio-common. + * stdio/temptest.c: Moved to stdio-common. + * stdio/test-fseek.c: Moved to stdio-common. + * stdio/test-fwrite.c: Moved to stdio-common. + * stdio/test-popen.c: Moved to stdio-common. + * stdio/test_rdwr.c: Moved to stdio-common. + * stdio/tmpfile.c: Moved to stdio-common. + * stdio/tmpnam.c: Moved to stdio-common. + * stdio/tst-fileno.c: Moved to stdio-common. + * stdio/tst-printf.c: Moved to stdio-common. + * stdio/tstgetln.c: Moved to stdio-common. + * stdio/tstgetln.input: Moved to stdio-common. + * stdio/tstscanf.c: Moved to stdio-common. + * stdio/tstscanf.input: Moved to stdio-common. + * stdio/vfprintf.c: Moved to stdio-common. + * stdio/vfscanf.c: Moved to stdio-common. + * stdio/vprintf.c: Moved to stdio-common. + * stdio/xbug.c: Moved to stdio-common. + * sysdeps/generic/Makefile (siglist.c rules): Do this in subdir + stdio-common instead of stdio. + * sysdeps/unix/Makefile (errlist.c rules): Likewise. + * stdio-common/asprintf.c [USE_IN_LIBIO]: Call libio primitive + function. + * stdio-common/dprintf.c: Likewise. + * stdio-common/printf.c: Likewise. + * stdio-common/scanf.c: Likewise. + * stdio-common/snprintf.c: Likewise. + * stdio-common/sprintf.c: Likewise. + * stdio-common/sscanf.c: Likewise. + * stdio-common/vprintf.c: Likewise. + + * Makerules: Include $(+depfiles) directly instead of generating + depend-$(subdir). + (depend-$(subdir)): Target removed. + (common-clean): Don't remove depend-$(subdir). + + * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): New variable. + (config-LDFLAGS): Variable removed. + + * sysdeps/mach/hurd/getcwd.c: Use __file_name_lookup_under. + * sysdeps/mach/hurd/bind.c: Likewise. + * sysdeps/mach/hurd/access.c: Use new __hurd_file_name_lookup + calling convention. + + * hurd/hurdexec.c: Undo last change (10 Oct 95). + +Sun Oct 15 21:04:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * hurd/hurd/lookup.h: New file. + * hurd/hurdlookup.c (__file_name_lookup_under): New function. + (__hurd_file_name_lookup, __hurd_file_name_lookup_retry, + __hurd_file_name_split): Rewritten to take callback functions for + using any needed init or dtable port, instead of passing in crdir + and cwdir ports. + (__file_name_lookup, __file_name_split): Use new calling + convention; pass _hurd_ports_use and __getdport as the callback + functions. - * string/tester.c (main): Test stpncpy. + * sysdeps/mach/hurd/chroot.c: Use __file_name_lookup_under instead + of __hurd_file_name_lookup. + * sysdeps/mach/hurd/chdir.c: Likewise. + * sysdeps/mach/hurd/fchdir.c: Likewise. + * hurd/fchroot.c: Likewise. - * 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'. + * stdlib/Makefile (mpn-found): Don't omit %.s. + (mpn-copy-sysdep): Omit files in nonexistent directories. + (copy-mpn): Commit files to CVS. + * stdlib/gen-mpn-copy (translations): Update translations for GMP + 1.906.7. - * 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. + * configure.in (machine): Translate alpha* to alpha/&, hppa* to hppa/&. -Wed Aug 7 15:15:14 1996 Ulrich Drepper <drepper@cygnus.com> +Sat Oct 14 02:52:36 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de> - * elf/dl-open (_dl_open): Add cast to avoid warning. + * malloc/malloc.c (_malloc_internal): Performance fix. Move + if statement out of loop. - * 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'. + * stdio/_itoa.c, stdio/_itoa.h: Complete rewrite. Much faster + implementation using GMP functions. Contributed by + Torbjorn Granlund and Ulrich Drepper. - * 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. + * stdio/test_rdwr.c: Include <errno.h>. -Tue Aug 6 14:27:11 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/i386/i586/Implies: New file. - * elf/Makefile (routines): Move dl-sysdep to here... - (rtld-routines): ...from here. This should make static linking - work again. + New highly optimized string functions for i[345]86. + * sysdeps/i386/memchr.S, sysdeps/i386/memcmp.S: New files. + * sysdeps/i386/stpcpy.S, sysdeps/i386/stpncpy.S: New files. + * sysdeps/i386/strchr.S, sysdeps/i386/strcspn.S: New files. + * sysdeps/i386/strpbrk.S, sysdeps/i386/strrchr.S: New files. + * sysdeps/i386/strspn.S, sysdeps/i386/i486/strcat.S: New files. + * sysdeps/i386/i486/strlen.S, sysdeps/i386/i586/strchr.S: New files. + * sysdeps/i386/i586/strlen.S: New file. + * sysdeps/i386/memchr.c: Removed. There is now an assembler version. - * locale/setlocale.c: Add local variable `lock' and add code to - `setlocale' to avoid simultaneous changing of global data. + * sysdeps/i386/i586/memcopy.h (WORD_COPY_BWD): Parameters did + not correspond to used values. - * catgets/catgets.c (catopen): Use `__strdup' instead of `strdup'. - * catgets/open_catalog (__open_catalog): Use `__stpcpy', `__open', - `__fstat', `__read', `__mmap', `__munmap' and `__close' instead - of unprotected names. + * sysdeps/unix/sysv/linux/nfs/nfs.h: New file. Simply a wrapper + around a kernel header file. + * sysdeps/unix/sysv/linux/Dist: Add it. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=sunrpc] (headers): + Likewise. -Tue Aug 6 01:13:56 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/local_lim.h: Rewrite. Instead of + defining ourself we use a kernel header file. - 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/sysv/linux/i386/sysdep.h (DO_CALL): Optimize system + call handler for i586. - * 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/unix/sysv/linux/sys/param.h: Add copyright and clean up. - * sysdeps/posix/sigsetmask.c (__sigsetmask): Call `__sigprocmask' - instead of `sigprocmask'. +Thu Oct 12 15:45:32 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * hurd/hurd.h (file_name_lookup_under): Declare it. + * hurd/Makefile (headers): Add hurd/lookup.h. - * 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. + * hurd/hurdinit.c (_hurd_ports_use): New function. + * hurd/hurd.h (_hurd_ports_use): Declare it. + (hurd_invoke_translator, hurd_file_name_lookup, hurd_file_name_split, + hurd_file_name_lookup_retry): Remove these decls. + * hurd/Makefile (routines): Remove invoke-trans. +Wed Oct 11 00:00:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * misc/error.c (private_strerror): Translate messages from table, - too. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Use +=, not =, to + apply R_386_PC32 reloc. - * 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. + * Makeconfig (config-LDFLAGS): Add missing slash. - 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. + * sysdeps/mach/hurd/profil.c (fork_profil): Only call + update_waiter if profiling was enabled in the parent. - * sunrpc/rpc/xdr.h: Move definition of type `xdrproc_t' to - have real prototype. + * csu/initfini.c: Don't pass -f flag to cp. - * 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. +Tue Oct 10 23:08:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * 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. + * Makerules (build-shlib): Pass -rpath and -rpath-link options. + (LDFLAGS-c.so): Don't pass -dynamic-linker here. + * Makeconfig (+link): Pass $(sysdep-LDFLAGS). + (link-libc): Pass -rpath and -rpath-link options. - * 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'. + * MakeTAGS (all-dirs): Omit CVS directories. + Specify vpath directives to find source files in $(all-dirs). + (sources, headers): Append sources and headers from $(all-dist) to + these. + (all-dist): Filter them out of this. + (all-headers, all-sources): Use $(shell find ...) instead of + $(wildcard ...). -Sat Aug 3 18:41:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/mach/hurd/Makefile (sysdep-LDFLAGS): New variable; pass + -rpath-link. - * 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. + * hurd/hurdexec.c: Pass poly and dealloc args to __file_exec. -Sat Aug 3 12:31:06 1996 Richard Henderson <rth@tamu.edu> + * elf/Makefile (install-others): Add missing $. - * 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. +Mon Oct 9 02:54:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Fri Aug 2 03:12:40 1996 Ulrich Drepper <drepper@cygnus.com> + * mach/Makefile ($(objpfx)errsystems.c): Rule reenabled. - * 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. + * Makeconfig (config-LDFLAGS): Define to + -Wl-dynamic-linker=$(libdir)$(rtld-installed-name). + (rtld-installed-name): New variable. + * elf/Makefile (install-lib): Variable removed. + (install-others): Define this instead, to + $(libdir)(rtld-installed-name). + ($(libdir)(rtld-installed-name)): New target; install from ld.so. - * 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. + * elf/ldd.sh.in: New file. + * elf/Makefile (distribute): Add ldd.sh.in. + (install-bin): Add ldd. + ($(objpfx)ldd: ldd.sh.in): New rule. - * 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. + * sysdeps/mach/hurd/dl-sysdep.c: Use __hurd_fail throughout. + * hurd/hurd.h (__hurd_fail): Replace macro with inline function. + Translate some Mach errors to Hurd errors. -Fri Aug 2 14:40:22 1996 Roland McGrath <roland@fast.cs.utah.edu> + * elf/rtld.c (dl_main): Under --list, print msg if executable is + statically linked. - * Version 1.93 test release. + * elf/dl-load.c (_dl_map_object_from_fd): Rewrote program header + table processing. - * manual/Makefile: Use -include for chapters-incl too. +Sat Oct 7 01:25:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * Makeconfig (+link): Add back start.o, mistakenly removed in last - change. + * sysdeps/stub/machine-gmon.h: Add #error. -Fri Aug 2 01:04:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> +Fri Oct 6 01:49:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * nss/Makefile (generated): Add db-*.c. + * elf/dynamic-link.h (elf_get_dynamic_info): If DYN is null, don't + examine it. - * sysdeps/i386/sysdep.h: Get generic/sysdep.h explicitly instead of - using #include_next. +Fri Sep 29 03:43:51 1995 Paul Eggert <eggert@twinsun.com> - * configure.in (--enable-add-ons): Quote m4 macro args. + Rewrite mktime from scratch for performance, and for correctness + in the presence of leap seconds. - * elf/rtld.c (dl_main): For --verify, fail if no dynamic section. + * time/mktime.c (ydhms_tm_diff, not_equal_tm, print_tm, check_result): + New functions. + (LEAP_SECONDS_POSSIBLE, CHAR_BIT, INT_MIN, INT_MAX, + TIME_T_MIN, TIME_T_MAX, TM_YEAR_BASE, EPOCH_YEAR): New macros. + <limits.h>, <stdlib.h>: New #includes. + (main): Support tests with given broken-down value; support benchmarks. + (__mon_lengths, debugging_enabled, printtm, dist_tm, doit, + do_normalization, normalize, BAD_STRUCT_TM, SKIP_VALUE, + <ctype.h>): Remove. -Thu Aug 1 14:40:03 1996 Roland McGrath <roland@fast.cs.utah.edu> + * time/time.h, time/mktime.c (__mktime_internal): New offset arg. + * time/mktime.c (mktime), time/timegm.c (timegm): Use it. - * sunrpc/Makefile [$(cross-compile)=no]: Test before making librpcsvc. + * time/mktime.c (__mon_yday): New variable; replaces `__mon_lengths'. + time/offtime.c (__offtime), time/tzset.c (compute_change): Use it. - * Makerules (build-shlib): Add -B$(csu-objpfx) to find crt[in].o there. + * time/offtime.c (__offtime): Remove useless assignment + `tp->tm_isdst = -1'. - * Makeconfig (+preinit, +postinit): Prepend $(csu-objpfx) here. - (+link): Not here. + * manual/maint.texi: Update credits. - * 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. +Fri Oct 6 00:28:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * catgets/gencat.c: Include <locale.h>. + * sysdeps/unix/common/readv.S: Moved to sysdeps/unix/bsd. + * sysdeps/unix/common/writev.S: Moved to sysdeps/unix/bsd. + * sysdeps/unix/sysv/linux/readv.c: File removed. + * sysdeps/unix/sysv/linux/writev.c: File removed. + * sysdeps/unix/configure.in: Check for readv and writev syscalls. - * sysdeps/unix/mk-local_lim.c (param): Add SYMLOOP_MAX/MAXSYMLINKS. + * sysdeps/unix/configure.in: If eval doesn't set $unix_srcname, + set it to $unix_syscall instead of $unix_function. - * login/logwtmp.c (logwtmp): Call time, not __time. +Thu Oct 5 00:59:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * 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. + * elf/rtld.c (dl_main): Grok --list flag. + * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Ignore -- args. - * sysdeps/generic/ioctl-types.h (sizeof): Define to 0 around #if - comparing ioctl macro values. +Wed Oct 4 00:21:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * sysdeps/i386/sysdep.h: Do `#include_next <sysdep.h>'. + * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_message): New function. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_message): New function. + * elf/link.h (_dl_sysdep_message): Declare it. - * manual/Makefile: Use -include for chapters to suppress warning. + * sysdeps/unix/Makefile ($(common-objpfx)ioctls): Remove NULL from + the list. - * sysdeps/stub/socket.c: Fix type of TYPE arg. - * sysdeps/stub/socketpair.c: Likewise. + * time/northamerica: Corrections to Canada data from ADO 95i. - * sysdeps/stub/_exit.c (_exit): Remove obsolete __NORETURN keyword. + * sysdeps/unix/sysv/linux/Makefile (headers): Don't append to this + unconditionally. In socket subdir, append sys/socketcall.h; in + time subdir, append sys/timex.h. + (config-LDFLAGS): New variable. + * sysdeps/unix/sysv/linux/Dist: New file. + * Makeconfig (+link): Pass $(config-LDFLAGS) before $(LDFLAGS). - * sysdeps/generic/sysdep.h: New file, broken out of ... - * sysdeps/unix/sysdep.h: ... here. - (C_LABEL): Moved out. + * sysdeps/generic/stpncpy.c: Don't increment DEST when zero-filling. - * Makeconfig (soversions.mk): Don't use newfangled ${x%%y} syntax; - stick to sed. Do `exit 0' at end because while returns nonzero. + * elf/dlopen.c (dlopen): Don't pass USER_ENTRY arg to _dl_map_object. - * sysdeps/i386/sysdep.h: New file, broken out of ... - * sysdeps/unix/i386/sysdep.h: ... here. Generic asm macros moved out. +Sat Sep 30 11:47:05 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * sysdeps/stub/stdio_lim.h (L_ctermid, L_cuserid): Macros removed. - They are defined unconditionally in libio/stdio.h. + * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): If started by + kernel with args on stack, point _dl_hurd_data at zero data + instead of garbage. When ld.so run as program, grok args + -LIB=MEMOBJ and pre-load shared object files found in memory + objects loaded by the boot loader. - * elf/dl-runtime.c: Include <stddef.h> for `NULL' defn. - * elf/dl-cache.c: Likewise. + * elf/link.h (struct link_map): New member `l_entry'. + (_dl_map_object, _dl_map_object_from_fd): Remove last arg ENTRY_POINT. + * elf/dl-load.c (_dl_map_object, _dl_map_object_from_fd): Remove + last arg ENTRY_POINT. Store the entry point location in the + `l_entry' member of the new map. + * elf/rtld.c (dl_main): Don't pass USER_ENTRY arg to + _dl_map_object. When run as program, set *USER_ENTRY to L->l_entry. + * elf/dl-init.c (_dl_init_next): Don't pass ENTRY_POINT arg to + _dl_map_object. -Mon Jul 29 19:20:05 1996 Ulrich Drepper <drepper@cygnus.com> + * posix/tstgetopt.c, posix/tstgetopt.args: Test long options too. - * sysdeps/unix/sysv/linux/Makefile [$(subdir == misc] - (sysdep_headers): Add sys/sysmacros.h. - * sysdeps/unix/sysv/linux/sys/sysmacros.h: New file. + * sysdeps/unix/sysv/linux/i386/init-first.c (init): Save, set, and + restore %ebx by hand for personality syscall. + GCC cannot deal with spilling the dedicated GOT register. -Wed Jul 31 14:21:36 1996 Ulrich Drepper <drepper@cygnus.com> + * misc/Makefile (routines): Add mntent, which was somehow omitted. - * termios/termios.h [__OPTIMIZE__]: Remove "optimization" for - tcgetattr. We have weak aliases now. - * stdlib/stdlib.h [__OPTIMIZE__ && __GNUC__ >= 2]: Remove - "optimizations" for random functions. +Fri Sep 29 15:07:10 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de> -Mon Jul 29 20:33:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/unix/sysv/linux/adjtime.c (__adjtime): + Change name of field `mode' in `struct timex' to `modes'. + Linux-1.3.28 updates this name according to RFC 1589. - * sysdeps/unix/sysv/linux/netinet/in.h (ntohl, ntohs, htonl, - htons) [__BIG_ENDIAN]: #undef them before defining to avoid - redefinition warning. +Thu Sep 28 13:05:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Mon Jul 29 20:28:27 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + Merge new message handling code from GNU gettext, by Drepper. + * intl: New directory. + * Makefile (subdirs): Add intl. - * time/time.h: Don't optimize tzset() to __tzset() which bypasses - the __tzset_lock. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Return + USER_ENTRY instead of storing it on our stack. -Tue Jul 30 15:14:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * elf/rtld.c (rtld_command): Variable removed. + (_dl_skip_args): New variable. + (dl_main): Increment _dl_skip_args instead of setting rtld_command. + If the link_map for the executable itself is not first in the chain, + make it so. + * sysdeps/i386/dl-machine.h (RTLD_START): Use _dl_skip_args as + count of args to skip. - * sunrpc/rpc/pmap_clnt.h: Fix botched patch for multiple inclusion - protection. +Thu Sep 28 09:20:04 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu> -Tue Jul 30 02:48:28 1996 Ulrich Drepper <drepper@cygnus.com> + * stdlib/strtod.c (STRTOF): Fix handling of numbers with lots of + leading zeroes. - * locale/loadlocale.c (_nl_load_locale): Change cast to `size_t' - to be 64-bit clean. - Reported by Richard Henderson <rth@tamu.edu>. +Wed Sep 27 00:27:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Tue Jul 30 15:04:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * sysdeps/mach/hurd/getcwd.c (__getcwd): Renamed from getcwd. + (getcwd): Define as weak alias. + * sysdeps/posix/getcwd.c: Likewise. + * sysdeps/stub/getcwd.c: Likewise. + * posix/unistd.h: Declare __getcwd. - * locale/programs/ld-collate.c (collate_output): Fix typo reported by - David Miller. + * string/string.h: Declare __strcasecmp. + * sysdeps/generic/strcasecmp.c (__strcasecmp): Renamed from + strcasecmp. + (strcasecmp): Define as weak alias. -Tue Jul 30 13:23:13 1996 Ulrich Drepper <drepper@cygnus.com> + * string/string.h: Declare __stpcpy. + * sysdeps/generic/stpcpy.c (__stpcpy): Renamed from stpcpy. + (stpcpy): Define as weak alias. - * locale/setlocale.c (setlocale): Don't try to free C locale - data. - Reported by Matthias Urlichs. + * sysdeps/unix/sysv/linux/Implies: Add unix/common. -Tue Jul 30 14:35:17 1996 Miles Bader <miles@gnu.ai.mit.edu> + * sysdeps/unix/i386/sysdep.h [HAVE_ELF] (ASM_TYPE_DIRECTIVE): + Don't use `type' for arg name, since we are using it as a keyword + in the rhs. - * sysdeps/mach/hurd/dl-sysdep.c (__open): Use open_file. - (open_file): New function, contents mostly from __open. - (_dl_sysdep_read_whole_file): New function. + * sysdeps/unix/configure.in: Check for syscalls getpriority, + setpriority, getrlimit, setrlimit. -Sat Jul 27 11:23:59 1996 Miles Bader <miles@gnu.ai.mit.edu> + * sysdeps/posix/truncate.c: Include fcntl.h. - * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Quote - `..' dots in sed search string. + * sysdeps/generic/getdomain.c: Include string.h for strncpy decl. -Mon Jul 29 01:27:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * sysdeps/stub/getpriority.c: Don't include obsolete gnu-stabs.h; + use new stub_warning syntax. + * sysdeps/stub/setpriority.c: Likewise. + * sysdeps/stub/__longjmp.c: Likewise. + * sysdeps/stub/_exit.c: Likewise. + * sysdeps/stub/accept.c: Likewise. + * sysdeps/stub/acos.c: Likewise. + * sysdeps/stub/alarm.c: Likewise. + * sysdeps/stub/asin.c: Likewise. + * sysdeps/stub/atan2.c: Likewise. + * sysdeps/stub/bind.c: Likewise. + * sysdeps/stub/cbrt.c: Likewise. + * sysdeps/stub/chroot.c: Likewise. + * sysdeps/stub/closedir.c: Likewise. + * sysdeps/stub/connect.c: Likewise. + * sysdeps/stub/cos.c: Likewise. + * sysdeps/stub/cosh.c: Likewise. + * sysdeps/stub/ctermid.c: Likewise. + * sysdeps/stub/cuserid.c: Likewise. + * sysdeps/stub/defs.c: Likewise. + * sysdeps/stub/exp.c: Likewise. + * sysdeps/stub/fmod.c: Likewise. + * sysdeps/stub/frexp.c: Likewise. + * sysdeps/stub/fsync.c: Likewise. + * sysdeps/stub/getcwd.c: Likewise. + * sysdeps/stub/getenv.c: Likewise. + * sysdeps/stub/gethostid.c: Likewise. + * sysdeps/stub/getlogin.c: Likewise. + * sysdeps/stub/getpeername.c: Likewise. + * sysdeps/stub/getrlimit.c: Likewise. + * sysdeps/stub/getsockname.c: Likewise. + * sysdeps/stub/getsockopt.c: Likewise. + * sysdeps/stub/listen.c: Likewise. + * sysdeps/stub/log.c: Likewise. + * sysdeps/stub/log10.c: Likewise. + * sysdeps/stub/mkfifo.c: Likewise. + * sysdeps/stub/morecore.c: Likewise. + * sysdeps/stub/nice.c: Likewise. + * sysdeps/stub/nlist.c: Likewise. + * sysdeps/stub/opendir.c: Likewise. + * sysdeps/stub/pipestream.c: Likewise. + * sysdeps/stub/ptrace.c: Likewise. + * sysdeps/stub/putenv.c: Likewise. + * sysdeps/stub/readdir.c: Likewise. + * sysdeps/stub/reboot.c: Likewise. + * sysdeps/stub/recv.c: Likewise. + * sysdeps/stub/recvfrom.c: Likewise. + * sysdeps/stub/rename.c: Likewise. + * sysdeps/stub/rewinddir.c: Likewise. + * sysdeps/stub/seekdir.c: Likewise. + * sysdeps/stub/send.c: Likewise. + * sysdeps/stub/sendto.c: Likewise. + * sysdeps/stub/setegid.c: Likewise. + * sysdeps/stub/seteuid.c: Likewise. + * sysdeps/stub/setgroups.c: Likewise. + * sysdeps/stub/sethostid.c: Likewise. + * sysdeps/stub/sethostname.c: Likewise. + * sysdeps/stub/setjmp.c: Likewise. + * sysdeps/stub/setrlimit.c: Likewise. + * sysdeps/stub/setsockopt.c: Likewise. + * sysdeps/stub/shutdown.c: Likewise. + * sysdeps/stub/signal.c: Likewise. + * sysdeps/stub/sigsuspend.c: Likewise. + * sysdeps/stub/sin.c: Likewise. + * sysdeps/stub/sinh.c: Likewise. + * sysdeps/stub/socket.c: Likewise. + * sysdeps/stub/socketpair.c: Likewise. + * sysdeps/stub/sqrt.c: Likewise. + * sysdeps/stub/sync.c: Likewise. + * sysdeps/stub/system.c: Likewise. + * sysdeps/stub/tan.c: Likewise. + * sysdeps/stub/tanh.c: Likewise. + * sysdeps/stub/tcdrain.c: Likewise. + * sysdeps/stub/tcflow.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/ttyname.c: Likewise. + * sysdeps/stub/ttyname_r.c: Likewise. + * sysdeps/stub/utime.c: Likewise. - * sunrpc/rpc/rpc_msg.h: Fix botched patch for multiple inclusion - protection. + * gmon/gmon.c (moncontrol): Don't cast buffer arg to profil. -Sun Jul 28 23:46:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * time/mktime.c (localtime_r): Use 0 instead of NULL. - * 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. + * config.make.in (AS): New variable; set to `$(CC) -c'. - * time/strftime.c (strftime: do_number): Initialize PRINTED to - MAXDIGITS in case P is null and so sprintf is never actually called. + * posix/unistd.h [__USE_BSD]: Declare profil. -Mon Jul 29 02:46:23 1996 Ulrich Drepper <drepper@cygnus.com> + * elf/dl-load.c (_dl_map_object_from_fd): New function, broken out + of _dl_map_object. + (_dl_map_object): Call it. + * elf/link.h (_dl_map_object_from_fd): Declare it. - 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. +Tue Sep 26 16:50:17 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * locale/programs/ld-ctype.c (ctype_output): Add code to make - sure that all tables in binary file are word-aligned. + * locale/libintl.h: Rewritten by Ulrich Drepper for use with GNU + gettext code. - * locale/programs/locfile.c (write_locale_data): Correct handling - of LC_MESSAGES locale. Create directory if necessary. + * sysdeps/unix/sysv/linux/sys/param.h: New file. + * sysdeps/unix/sysv/linux/Subdirs: File removed. - * locale/setlocale.c (setlocale): Add cast to avoid warning. + * libc-symbols.h (_LIBC): Define to 1, not just empty. - * string/string.h: Add prototype for `__strndup'. + * gmon: New directory of profiling code, incorporated from + 4.4BSD-Lite and modified. + * sysdeps/i386/machine-gmon.h: New file. + * sysdeps/stub/machine-gmon.h: New file. + * sysdeps/mach/hurd/profil.c: New file. + * sysdeps/stub/profil.c: New file. + * sysdeps/unix/bsd/profil.S: New file. + * Makefile (subdirs): Add gmon. + * csu/gmon-start.c: New file. + * csu/Makefile (extra-objs): Add gmon-start.o, + g$(start-installed-name). + (install-lib, omit-deps): Add g$(start-installed-name). + ($(objpfx)g$(start-installed-name)): New target. -Wed Jul 24 19:10:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Fri Sep 22 14:24:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * wcsmbs/mbrtowc.c: Remove unused variable. + * sysdeps/mach/hurd/Makefile: Elide sunrpc from $(subdirs) for the + time being. -Sun Jul 28 22:40:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> +Thu Sep 21 00:03:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * 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/unix/configure.in: Check for `profil' syscall. - * sysdeps/generic/dl-sysdep.c (__libc_enable_secure): New variable. - * sysdeps/mach/hurd/dl-sysdep.c: Likewise. + * manual/Makefile (infodir, prefix, INSTALL, INSTALL_DATA): Variables + removed. -Sat Jul 27 13:02:09 1996 Ulrich Drepper <drepper@cygnus.com> + * time/africa, time/asia, time/europe, time/northamerica, + time/yearistype: New data from ADO 95h. - * elf/rtld.c (dl_main): Ignore arguments when environment variable - LD_TRACE_LOADED_OBJECTS is set. + * Makerules (build-shlib): Use $(@F:lib%.so=%) in place of + $(notdir $*), so it wins for the explicit libc.so rule as well as the + pattern rule. -Sun Jul 28 19:42:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * sysdeps/stub/sys/sem_buf.h (union semun): New type. - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Initialize - __libc_enable_secure instead of _dl_secure. - * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise. - * elf/dl-load.c (_dl_map_object): Check __libc_enable_secure instead - of _dl_secure. - * elf/Makefile (routines): Add enbl-secure. - (elide-routines.so): Here too. - * sysdeps/generic/enbl-secure.c: New file. - * posix/unistd.h [__USE_GNU]: Declare `__libc_enable_secure' flag. - * elf/dl-support.c (_dl_secure): Variable removed. - * elf/rtld.c: Likewise. Replace all uses with __libc_enable_secure. + * sysdeps/mach/hurd/i386/init-first.c (init1) [PIC]: Call + __libc_global_ctors. + * sysdeps/i386/init-first.c: Rewritten. + * sysdeps/unix/sysv/linux/i386/init-first.S: File removed. + * sysdeps/unix/sysv/linux/i386/init-first.c: New file. -Sun Jul 28 19:26:40 1996 David S. Miller <dm@neteng.engr.sgi.com> + * sysdeps/unix/sysv/linux/i386/fpu_control.h: Fix name in decl of + ___fpu_control. - * 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. + * Makerules (build-shlib): New canned sequence, broken out of + lib%.so rule. Link in $^ instead of just $<. + (lib%.so: lib%_pic.a): Use it. + (libc.so): New target; use $(build-shlib) for cmds, but also depend + on soinit.so first and sofini.so last. -Sat Jul 27 02:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * elf/soinit.c: New file. + * elf/sofini.c: New file. + * elf/Makefile (distribute): Add soinit.c and sofini.c. + (extra-objs): Add soinit.so and sofini.so. - * 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. + * sysvipc/sys/shm.h (shmat): Fix return type to char *. + * sysdeps/stub/sys/ipc_buf.h (key_t): Type removed. -Fri Jul 26 22:49:58 1996 Ulrich Drepper <drepper@cygnus.com> + * misc/syslog.c (vsyslog): Rewritten using open_memstream to + dynamically allocate buffers. - * elf/rtld.c (dl_main): Implement LD_TRACE_LOADED_OBJECTS - environment variable handling. This makes the dynamic linker - only print loaded libraries and quit. + * Makerules (install-lib-nosubdir): Make this, rather than + install-no-libc.a, depend on the installed shared libraries. - * elf/ldd.sh.in: Don't use `rtld --list' but instead - LD_TRACE_LOADED_OBJECTS environment variable to print needed - objects. +Wed Sep 20 18:02:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Sat Jul 27 02:03:26 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * locale/locale.c: Include errno.h. + * locale/localedef.c: Likewise. - * 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). +Tue Sep 19 00:02:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Sat Jul 27 04:32:31 1996 Ulrich Drepper <drepper@cygnus.com> + * Makefile (distclean-1): Remove config.cache, config.log, config.h. + (parent-mostlyclean): Remove all flavors of the parent library. - * db/makedb.c: New file. Implement program to create simple <db.h> - database from textual input. This will be used for nss_db. + * misc/mntent.c (getmntent): Skip multiple whitespace chars + between fields. -Sat Jul 27 01:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * hurd/hurdstartup.c (_hurd_startup): If RPC returns + EXEC_STACK_ARGS flag, get args from stack. + If args on stack but have info from RPC, relocate args on stack to make + space for struct hurd_startup_data. - * 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. +Mon Sep 18 15:06:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Sat Jul 27 04:37:34 1996 Ulrich Drepper <drepper@cygnus.com> + * elf/dl-object.c: Include errno.h. + * posix/execvp.c: Likewise. + * dirent/scandir.c: Likewise. + * sysdeps/posix/system.c: Likewise. + * sysdeps/generic/setenv.c: Likewise. + * stdlib/msort.c: Likewise. + * stdio/memstream.c: Likewise. + * stdio/fclose.c: Likewise. + * stdio/getdelim.c: Likewise. + * stdio/setvbuf.c: Likewise. + * sysdeps/ieee754/ldexp.c: Likewise. + * locale/locfile-parse.c: Likewise. - * string/string.h (strndupa): Change to use return value of - `memcpy' for more performance. - * string/strndup.c: Likewise. + * stdlib/lcong48_r.c: Don't check for null argument; let it fault. + * stdlib/seed48_r.c: Likewise. + * stdlib/srand48_r.c: Likewise. + * stdlib/jrand48_r.c: Likewise. + * stdlib/nrand48_r.c: Likewise. - * string/string.h (strdupa): Don't call __builtin_alloca in argument. - This might lead to problems. - (strndupa): Likewise. + * Makeconfig (+gccwarn): Remove -Wbad-function-cast, which seems + to be useless. -Fri Jul 26 15:24:25 1996 Ulrich Drepper <drepper@cygnus.com> +Mon Sep 18 12:39:22 1995 Paul Eggert <eggert@twinsun.com> - * 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. + * mktime.c (localtime_r): Add substitute if the system doesn't + provide one. -Fri Jul 26 20:39:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> +Mon Sep 18 14:39:20 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * ctype/test_ctype.c: Test EOF too. + * time/gmtime.c (gmtime_r): Define as weak alias. + * time/localtime.c (localtime_r): Define as weak alias. + * time/time.h [__USE_REENTRANT] (gmtime_r, localtime_r): Declare them. -Fri Jul 26 18:06:58 1996 Ulrich Drepper <drepper@cygnus.com> + * errno.h: Only define _ERRNO_H #ifndef __need_Emath. + #undef __need_Emath after including errnos.h. + [_ERRNO_H]: Protect decls with this. - * 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 <miles@gnu.ai.mit.edu> - - * 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 <roland@delasyd.gnu.ai.mit.edu> - - * sysdeps/mips/dl-machine.h: New file, contributed by Kazumoto Kojima - <kkojima@info.kanagawa-u.ac.jp>. - -Fri Jul 26 04:41:28 1996 Ulrich Drepper <drepper@cygnus.com> +Sun Sep 17 08:22:12 1995 Paul Eggert <eggert@twinsun.com> - * 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 <roland@delasyd.gnu.ai.mit.edu> + Fix mktime so that it does not write over localtime's returned value. + * localtime.c (__localtime_r): New function, with extra arg + specifying where to store result. + (localtime): Use it. + (_tmbuf): New var. + * gmtime.c (__gmtime_r, gmtime, _tmbuf): Likewise. + * mktime.c (__mktime_internal): Conversion function is now + __localtime_r style, not localtime style. + (mktime): Pass __localtime_r, not localtime. + * timegm.c (timegm): Pass __gmtime_r, not gmtime. + * offtime.c (__offtime): New arg specifying where to store result. + * time.h (__mktime_internal, __offtime): Adjust decls accordingly. + (__gmtime_r, __localtime_r): New decls. - * locale/programs/localedef.c (__progname): Remove decl. - (main): Use program_invocation_short_name instead of __progname. - (usage): Use program_invocation_name instead of __progname. + * time/localtime.c: <stddef.h>, <ctype.h>, <stdio.h>, + <stdlib.h>, <string.h>: Remove includes. + <errno.h>: Add include. -Fri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com> + * time/mktime.c, time/time.h, time/timegm.c (__mktime_internal): + Renamed from _mktime_internal to avoid namespace pollution. - * catgets/gencat.c: Use "libc" instead of PACKAGE. - * locale/localedef.c: Ditto. - * locale/locale.c: Ditto. + * time/gmtime.c: Clear tm_isdst. - * locale/findlocale.c (_nl_find_locale): Little optimization. - Use new function `strndup'. +Mon Sep 18 01:58:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * locale/loadlocale.c: Little optimization. Use constant value - from `_nl_category_num_items' instead of byte-order dependend - value from file. + * misc/efgcvt_r.c (ecvt_r, fcvt_r): Last arg is size_t, not int. + * stdlib/stdlib.h (ecvt_r, fcvt_r): Fix type of last arg: make it + size_t. - * locale/programs/ld-time.c (time_add): Correct string constant. + * sysdeps/mach/hurd/fpathconf.c: Call __io_pathconf instead of + __file_pathconf. + * sysdeps/mach/hurd/pathconf.c: Likewise. - * locale/programs/locale-spec.c: New file. - * locale/programs/locale.c: Call `locale_special' function if - no other field matches. + * Makefile (subdirs): Add sysvipc. - * locale/programs/localedef.c: No need to define `program_name'. - Use global variable `__progname'. + * stdlib/srand48_r.c (srand48_r): Use UL suffix for huge constant. + * stdlib/drand48-iter.c (__drand48_iterate): Likewise. - * 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. +Sun Sep 17 18:29:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * locale/programs/stringtrans.c (ADDC): Correctly use `encode_char' - function instead of writing single bytes. - (encode_char): Also handle little endian. + * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Call + __file_set_size instead of __file_truncate. - * locale/setlocale.c (new_composite_name): Little optimization. - Use return value of `memcpy'. + * features.h (__USE_REENTRANT): New macro. - * 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. + * sysdeps/mach/hurd/truncate.c: Call __file_set_size instead of + __file_truncate. + * sysdeps/mach/hurd/ftruncate.c: Likewise. - * 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. + * sysdeps/unix/sysv/linux/dl-machine.h: File removed. - * 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. +Sat Sep 16 17:47:19 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de> - * sysdeps/generic/confname.h: Add _SC_PAGE_SIZE as alias for - _SC_PAGESIZE for buggy systems (= HP UX) out there. + * elf/elf.h (AT_GID): Fix typo: Read -> Real. - * 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. + * misc/efgvt_r.c: New file. Reentrant version of [efg]cvt functions. + * misc/efgcvt.c: Rewrite to use reentrant functions. + * misc/search.h: Many decls for hsearch functions. + * misc/hsearch_r.c: New file. Reentrant version of functions from + hsearch family. + * misc/hsearch.c, misc/tsearch.c: New files. + * misc/Makefile (routines): Add efgcvt_r, hsearch_r, hsearch, tsearch. -Thu Jul 25 00:25:54 Richard Henderson <rth@tamu.edu> + * posix/unistd.h (ttyname_r): Add prototype for new function. - * 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. + * stdlib/drand48_r.c, stdlib/erand48_r.c, stdlib/jrand48_r.c, + stdlib/lrand48_r.c, stdlib/mrand48_r.c, stdlib/nrand48_r.c, + stdlib/seed48_r.c, stdlib/srand48_r.c, stdlib/lcong48_r.c, + stdlib/drand48-iter.c: New files implementing reentrant versions + of functions from drand48 family. + * stdlib/seed48.c, stdlib/drand48.c, stdlib/erand48.c, + stdlib/jrand48.c, stdlib/lrand48.c, stdlib/mrand48.c, + stdlib/nrand48.c, stdlib/srand48.c, stdlib/lcong48.c: + Rewrite to use reentrant versions. + * stdlib/a64l.c, stdlib/l64a.c: New files. Implement a64l() + and l64a() functions from SysV library. + * stdlib/Makefile (routines): Add drand48_r, erand48_r, lrand48_r, + nrand48_r, mrand48_r, jrand48_r, srand48_r, seed48_r, lcong48_r, + drand48-iter, a64l, l64a. + * stdlib/stdlib.h: Declare them. -Thu Jul 25 00:53:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * stdlib/random_r.c: New file. Reentrant version of functions + from random family. + * stdlib/stdlib.h: Declare them. + * stdlib/random.c: Rewrite to use reentrant functions. - * 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. + * string/strerror_r.c: New file. Reentrant version. + * string/strerror.c: Change for new _strerror_internal form. + * string/Makefile (routines): Add strerror_r. - * Makerules ($(libdir)/libc.so): Fix typos in generated comment. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Set default + value of user_entry to `_start'. + Close AT_ENTRY case with `break'. -Wed Jul 24 17:02:30 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/generic/strstr.c: New and much faster implementation + by Stephen R. van den Berg. - * 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. + * sysdeps/generic/_strerror.c: _strerror_internal now takes + three argument and has and explicit buffer length. + * sysdeps/mach/_strerror.c: Change for new interface with three + arguments. + * stdio/perror.c, stdio/vfprintf.c: Callers changed. + + * sysdeps/mach/hurd/ttyname_r.c: New file. Reentrant version. + * sysdeps/posix/ttyname_r.c: New file. Reentrant version. + * sysdeps/stub/ttyname_r: New file. Define as dummy function. + + * sysdeps/posix/utimes.c: Include <utime.h> for prototype. + (utimes): First parameter to utime must be file, not path. + + * sysdeps/posix/sysconf.c (__sysconf): Test for CLK_TCK in case + _SC_CLK_TCK and return it when available. + Test for STREAM_MAX in case _SC_STREAM_MAX and return it when + available. + Add case for _SC_2_LOCALEDEF which is now available. + + * posix/sys/types.h [__USE_SVID] (key_t): New type. + * sysvipc/Makefile, sysvipc/ftok.c, sysvipc/sys/ipc.h, + sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h, + sysdeps/stub/sys/msq_buf.h, sysdeps/stub/sys/sem_buf.h, + sysdeps/stub/sys/shm_buf.h, sysdeps/stub/sys/ipc_buf.h, + sysdeps/stub/semctl.c, sysdeps/stub/semget.c, sysdeps/stub/semop.c, + sysdeps/stub/shmat.c, sysdeps/stub/shmctl.c, sysdeps/stub/shmdt.c, + sysdeps/stub/shmget.c, sysdeps/stub/msgctl.c, sysdeps/stub/msgget.c, + sysdeps/stub/msgrcv.c, sysdeps/stub/msgsnd.c: New files. + Add implementation of System V IPC. + +Fri Sep 15 21:34:28 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * hurd/hurdsig.c: Include <hurd/crash.h> in place of <hurd/core.h>. + (write_corefile): Call __crash_dump_task instead of __core_dump_task. + Use envariable CRASHSERVER instead of CORESERVER. + * hurd/Makefile (user-interfaces): Replace hurd/core with hurd/crash. + +Tue Sep 12 14:30:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * misc/mntent.c: New file. + * misc/mntent.h: New file. + * misc/Makefile (headers): Added mntent.h. + (routines): Added mntent. + * misc/fstab.c: Rewritten using mntent functions. + +Mon Sep 11 14:00:14 1995 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu> + + * posix/glob.c (glob): Comment fix. + +Fri Sep 8 16:25:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * libc-symbols.h [HAVE_ELF] (symbol_set_declare): Declare the + symbols weak. + + * conf/portability.h (NEED_INETADDR, NEED_INETATON): Define to 1, + not empty. + +Fri Sep 8 16:32:12 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu> + + * sysdeps/unix/sysv/linux/Implies, + sysdeps/unix/sysv/linux/Makefile, sysdeps/unix/sysv/linux/Subdirs, + sysdeps/unix/sysv/linux/accept.S, sysdeps/unix/sysv/linux/adjtime.c, + sysdeps/unix/sysv/linux/adjtimex.S, sysdeps/unix/sysv/linux/bind.S, + sysdeps/unix/sysv/linux/connect.S, sysdeps/unix/sysv/linux/direct.h, + sysdeps/unix/sysv/linux/dl-machine.h, sysdeps/unix/sysv/linux/errnos.h, + sysdeps/unix/sysv/linux/fork.S, sysdeps/unix/sysv/linux/gethostid.c, + sysdeps/unix/sysv/linux/gethostname.C, + sysdeps/unix/sysv/linux/getpeername.S, + sysdeps/unix/sysv/linux/getpgid.S, sysdeps/unix/sysv/linux/getpgrp.S, + sysdeps/unix/sysv/linux/getsockname.S, + sysdeps/unix/sysv/linux/getsockopt.S, sysdeps/unix/sysv/linux/gtty.S, + sysdeps/unix/sysv/linux/listen.S, sysdeps/unix/sysv/linux/local_lim.h, + sysdeps/unix/sysv/linux/madvise.c, sysdeps/unix/sysv/linux/msgctl.c, + sysdeps/unix/sysv/linux/msgget.c, sysdeps/unix/sysv/linux/msgrcv.c, + sysdeps/unix/sysv/linux/msgsnd.c, sysdeps/unix/sysv/linux/pipe.S, + sysdeps/unix/sysv/linux/poll.c, sysdeps/unix/sysv/linux/readv.c, + sysdeps/unix/sysv/linux/recv.S, sysdeps/unix/sysv/linux/recvfrom.S, + sysdeps/unix/sysv/linux/recvmsg.S, sysdeps/unix/sysv/linux/semctl.c, + sysdeps/unix/sysv/linux/semget.c, sysdeps/unix/sysv/linux/semop.c, + sysdeps/unix/sysv/linux/send.S, sysdeps/unix/sysv/linux/sendmsg.S, + sysdeps/unix/sysv/linux/sendto.S, sysdeps/unix/sysv/linux/setegid.c, + sysdeps/unix/sysv/linux/seteuid.c, sysdeps/unix/sysv/linux/sethostid.c, + sysdeps/unix/sysv/linux/setpgid.c, sysdeps/unix/sysv/linux/setpgrp.c, + sysdeps/unix/sysv/linux/setsid.S, sysdeps/unix/sysv/linux/setsockopt.S, + sysdeps/unix/sysv/linux/settimeofday.S, + sysdeps/unix/sysv/linux/shmat.c, sysdeps/unix/sysv/linux/shmctl.c, + sysdeps/unix/sysv/linux/shmdt.c, sysdeps/unix/sysv/linux/shmget.c, + sysdeps/unix/sysv/linux/shutdown.S, + sysdeps/unix/sysv/linux/sigaction.S, sysdeps/unix/sysv/linux/signal.S, + sysdeps/unix/sysv/linux/sigpending.S, sysdeps/unix/sysv/linux/sigset.h, + sysdeps/unix/sysv/linux/sockaddrcom.h, + sysdeps/unix/sysv/linux/socketpair.S, sysdeps/unix/sysv/linux/speed.c, + sysdeps/unix/sysv/linux/statbuf.h, sysdeps/unix/sysv/linux/stty.S, + sysdeps/unix/sysv/linux/syscall.h, sysdeps/unix/sysv/linux/sysconf.c, + sysdeps/unix/sysv/linux/tcdrain.c, sysdeps/unix/sysv/linux/tcflow.c, + sysdeps/unix/sysv/linux/tcflush.c, sysdeps/unix/sysv/linux/tcgetattr.c, + sysdeps/unix/sysv/linux/tcsetattr.c, + sysdeps/unix/sysv/linux/termbits.h, sysdeps/unix/sysv/linux/ualarm.c, + sysdeps/unix/sysv/linux/ulimit.c, sysdeps/unix/sysv/linux/usleep.c, + sysdeps/unix/sysv/linux/utsnamelen.h, sysdeps/unix/sysv/linux/vfork.c, + sysdeps/unix/sysv/linux/wait.c, sysdeps/unix/sysv/linux/wait4.S, + sysdeps/unix/sysv/linux/waitpid.c, sysdeps/unix/sysv/linux/writev.c: + New Linux/ELF specific, architecture independent files. + * sysdeps/unix/sysv/linux/i386/Dist, + sysdeps/unix/sysv/linux/i386/Makefile, + sysdeps/unix/sysv/linux/i386/brk.S, + sysdeps/unix/sysv/linux/i386/fcntlbits.h, + sysdeps/unix/sysv/linux/i386/fpu_control.c, + sysdeps/unix/sysv/linux/i386/fpu_control.h, + sysdeps/unix/sysv/linux/i386/fstat.S, + sysdeps/unix/sysv/linux/i386/fxstat.S, + sysdeps/unix/sysv/linux/i386/ieee_fpu.c, + sysdeps/unix/sysv/linux/i386/init-first.S, + sysdeps/unix/sysv/linux/i386/ipc.S, + sysdeps/unix/sysv/linux/i386/lstat.S, + sysdeps/unix/sysv/linux/i386/lxstat.S, + sysdeps/unix/sysv/linux/i386/mknod.S, + sysdeps/unix/sysv/linux/i386/mmap.S, + sysdeps/unix/sysv/linux/i386/sbrk.S, + sysdeps/unix/sysv/linux/i386/setfpucw.c, + sysdeps/unix/sysv/linux/i386/signum.h, + sysdeps/unix/sysv/linux/i386/socket.S, + sysdeps/unix/sysv/linux/i386/stat.S, + sysdeps/unix/sysv/linux/i386/syscall.S, + sysdeps/unix/sysv/linux/i386/sysdep.S, + sysdeps/unix/sysv/linux/i386/sysdep.h, + sysdeps/unix/sysv/linux/i386/xmknod.S, + sysdeps/unix/sysv/linux/i386/xstat.S: + New Linux i386/ELF specific files. + * sysdeps/unix/sysv/linux/sys/ipc_buf.h, + sysdeps/unix/sysv/linux/sys/mman.h, + sysdeps/unix/sysv/linux/sys/msq_buf.h, + sysdeps/unix/sysv/linux/sys/sem_buf.h, + sysdeps/unix/sysv/linux/sys/shm_buf.h, + sysdeps/unix/sysv/linux/sys/socketcall.h, + sysdeps/unix/sysv/linux/sys/timex.h: + New Linux/ELF specific, architecture independent header files. + * sysdeps/unix/sysv/sysv4/linux: Tree removed. + +Thu Sep 7 17:05:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * stdlib/msort.c (msort_with_tmp): Fixed alignment test. B1 and + B2 are always congruent; just test that B1 is aligned. + +Wed Sep 6 19:41:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * elf/dl-lookup.c (_dl_lookup_symbol): Test WEAK_VALUE.s rather + than WEAK_VALUE.a to see if a weak value has been set. A valid + weak value may set WEAK_VALUE.a to 0. + +Fri Sep 1 16:16:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * sysdeps/mach/hurd/i386/longjmp-ts.c: Use new array format for + jmp_buf. + + * libc-symbols.h (link_warning): Take new first arg SYMBOL; ask + for a warning on references to that specific symbol, not the + entire containing object file. + (stub_warning): Pass symbol name to link_warning. + * stdio/gets.c: Pass function name in link_warning invocation. + + * hurd/intr-msg.c: Treat apparent EINTR return from msg trap like + MACH_SEND_INTERRUPTED. That indicates interrupt_operation was + sent, but failed. + + * stdlib/msort.c: Include memcopy.h. + (msort_with_tmp): If operating on aligned op_t words, use direct word + fetches and stores. + + * sysdeps/i386/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC): Add + missing backslash. + +Thu Aug 31 13:23:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * sysdeps/unix/i386/brk.S [PIC]: Set __curbrk through the GOT. + + Rewrote i386 setjmp code in assembly, so as to avoid fighting + with the compiler for the register values. + * sysdeps/i386/setjmp.S, sysdeps/i386/__longjmp.S: New files. + * sysdeps/i386/setjmp.c, sysdeps/i386/__longjmp.c: Files removed. + * sysdeps/i386/jmp_buf.h [! _ASM] (__jmp_buf): Define as array of ints. + [__USE_MISC || _ASM] (JB_*): New macros, for indices therein. + (_JMPBUF_UNWINDS): Use JB_SP. + +Wed Aug 30 16:44:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * sysdeps/mach/hurd/select.c: Deal with out of order replies + during io_select request loop. + Handle MACH_RCV_TIMED_OUT error from requests. + * hurd/intr-msg.c: If the user passed the MACH_RCV_TIMEOUT option, + distinguish MACH_RCV_TIMED_OUT from EINTR. + + * posix/glob.c (glob): Use realloc to extend strings for GLOB_MARK + slash. + (glob_in_dir): Don't allocate extra byte here. + + * sysdeps/i386/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC): + Decrement the DT_RELSZ value for the skipped reloc. + +Tue Aug 29 12:35:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * time/australasia: Updated data from ADO. + +Mon Aug 28 17:47:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * dirent/dirent.h: Don't include <dirstream.h>. + Instead, define DIR as typedef for (undefined) `struct __dirstream'. + +Fri Aug 25 12:12:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * sysdeps/mach/hurd/dirstream.h: Define `struct __dirstream' + instead of `DIR'. + * sysdeps/unix/bsd/dirstream.h: Likewise. + * sysdeps/stub/dirstream.h: Likewise. + * sysdeps/unix/dirstream.h: Likewise. + * sysdeps/mach/hurd/telldir.c: Include "dirstream.h". + * sysdeps/mach/hurd/seekdir.c: Likewise. + * sysdeps/mach/hurd/opendir.c: Likewise. + * sysdeps/mach/hurd/closedir.c: Likewise. + * sysdeps/mach/hurd/readdir.c: Likewise. + * sysdeps/unix/telldir.c: Likewise. + * sysdeps/unix/seekdir.c: Likewise. + * sysdeps/unix/rewinddir.c: Likewise. + * sysdeps/unix/readdir.c: Likewise. + * sysdeps/unix/opendir.c: Likewise. + * sysdeps/unix/closedir.c: Likewise. + * sysdeps/unix/bsd/telldir.c: Likewise. + * sysdeps/unix/bsd/readdir.c: Likewise. + * dirent/Makefile (headers): Remove dirstream.h. + (distribute): Put it here instead. - * time/tzset.c: Undefine `tzset' before function declaration. - Use `weak_function' macro instead of `weak_symbol'. + * sysdeps/mach/hurd/mmap.c: Fix inverted test of MAP_FIXED. -Wed Jul 24 18:57:33 1996 Ulrich Drepper <drepper@cygnus.com> + * stdio/vfscanf.c (number): Allow field width to inhibit first + digit after base detection. - * stdlib/strtouq.c: Additional weak alias is `strtoull', not - `strotull'. + * stdio/vfprintf.c (vfprintf: %s): Never search past the limit + specified by the precision. -Wed Jul 24 18:26:23 1996 Ulrich Drepper <drepper@cygnus.com> + * grp/grpread.c (__grpscan): New function. + * grp/grp.h (__grpscan): Declare it. + * grp/getgrgid.c: Use __grpscan. + * grp/getgrnam.c: Likewise. + * pwd/pwdread.c (__pwdscan): New function. + * pwd/pwd.h (__pwdscan): Declare it. + * pwd/getpwnam.c: Use __pwdscan. + * pwd/getpwuid.c: Likewise. - * locale/C-ctype.c: Increment number of fields after change - from Wed Jun 19 03:24:58 1996. +Thu Aug 24 16:29:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * sysdeps/mach/hurd/mmap.c: Treat (FLAGS & MAP_TYPE) == 0 like + MAP_FILE. + + * hurd/thread-cancel.c: Return EINTR when called on self. + * sysdeps/i386/elf/start.S (data_start): Define as weak alias for + __data_start. + +Tue Aug 22 16:49:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * inet/netdb.h: Moved to resolv. + * inet/Makefile (headers): Remove netdb.h. + * resolv/Makefile (headers): Add netdb.h. + * resolv/gethnamaddr.c, resolv/inet_addr.c, resolv/netdb.h, + resolv/res_send.c: Updated from BIND-4.9.3-BETA26. -Tue Jul 23 18:13:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * hurd/thread-cancel.c: If SS->cancel_hook is not null, call it before + resuming the thread. + * hurd/hurd/signal.h (struct hurd_sigstate): New member `cancel_hook'. - * 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). + * hurd/Makefile: Removed dep on hurd/signal.h for RPC stub objects. -Thu Jul 18 21:41:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Mon Aug 21 16:37:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * sysdeps/generic/stpncpy.c: Fix semantics to make `stpncpy (d, s, - n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Grok R_386_NONE + relocs, and do nothing. Why the linker generates them we may + never know. -Tue Jul 23 02:49:58 1996 Ulrich Drepper <drepper@cygnus.com> +Thu Aug 17 16:18:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * locale/iso-4217.def: Add India to comment for symbol "INR ". - Reported by Raja R Harinath <harinath@cs.umn.edu>. + * sysdeps/mach/hurd/Makefile: Don't elide sunrpc and manual from + `subdirs' variable. -Sat Jul 20 14:03:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * sysdeps/mach/hurd/i386/intr-msg.h: New file. + * hurd/intr-msg.c: Use INTR_MSG_TRAP macro from machine-dependent + "intr-msg.h" for special syscall code, instead of i386-specific asm. + * hurd/hurdsig.c: Use INTR_MSG_BACK_OUT macro from + machine-dependent "intr-msg.h" before mutating thread state to + skip RPC. - * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove bogus - #undef RESOLVE. + * sysdeps/mach/hurd/i386/trampoline.c: If PC is inside + _hurd_intr_rpc_mach_msg special syscall code, use real SP saved in + %ecx. -Sun Jul 21 06:48:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * Makeconfig (link-libc): New variable; use shared library if + available. + (+link): Use it. - * time/tzset.c: Include <libc-lock.h>. - (__tzset_lock): New lock variable. - (tzset): New function (weak defn), no longer weak alias for __tzset. - Call __tzset while holding __tzset_lock. - * time/localtime.c: Include <libc-lock.h>. - (__localtime_r): Hold __tzset_lock while doing the work. + * sysdeps/mach/hurd/fork.c (_hurd_fork_locks): Variable removed. + Instead, declare with `symbol_set_declare'. + (fork): Use symbol_set_* macros for _hurd_fork_locks. + Use SS->thread instead of __mach_thread_self (). Suspend all + other threads during task_create and port copying. - * sysdeps/generic/setenv.c (__environ): Change conditional for #define - from [!HAVE_GNU_LD] to [!_LIBC]. - [_LIBC]: Include <libc-lock.h> and define a lock. - (LOCK, UNLOCK): New macros, no-ops for [! _LIBC]. - (setenv, unsetenv): Use them. +Wed Aug 16 17:04:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Sun Jul 21 01:44:39 1996 Miles Bader <miles@gnu.ai.mit.edu> + * hurd/intr-msg.c: Fixed calculation of syscall %esp. - * locale/programs/locfile.c (write_locale_data): Deal with missing - UIO_MAXIOV. +Tue Aug 15 12:26:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * sysdeps/mach/hurd/socket.c (socket): Make TYPE an int. - * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise. + * hurd/hurdsig.c (_hurdsig_abort_rpcs): Remove `static'. -Sat Jul 20 21:55:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * hurd/Makefile (sig): Add intr-msg. - Win32 hacks from <Rob_Tulloh@tivoli.com>. - * posix/glob.c [WIN32]: Don't include <pwd.h>; don't use d_ino; - use void * for my_realloc; include <malloc.h> for alloca. - (glob) [WIN32]: Use "c:/users/default" for ~ if no HOME variable. - * posix/fnmatch.h [WIN32]: Use prototypes even if [!__STDC__]. - * posix/glob.h: Likewise. +Mon Aug 14 16:51:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Sat Jul 20 13:28:52 1996 Miles Bader <miles@gnu.ai.mit.edu> + * hurd/thread-cancel.c: New file. + * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): In + rpc_wait case, frob mach_msg args to set timeout on receive. + (_hurdsig_rcv_interrupted_p): Function removed. + * sysdeps/mach/hurd/alpha/trampoline.c: Likewise. + * sysdeps/mach/hurd/hppa/trampoline.c: Likewise. + * sysdeps/mach/hurd/mips/trampoline.c: Likewise. + * hurd/intr-msg.c: New file. + * hurd/hurd/signal.h (struct hurd_sigstate): New member `cancel'. + (_hurdsig_rcv_interrupted_p): Declaration removed. + (HURD_EINTR_RPC): Macro removed. + (_hurd_longjmp_thread_state, _hurd_interrupted_rpc_timeout): Declare + these. + * hurd/intr-rpc.h: New file. + * hurd/intr-rpc.defs: Just import intr-rpc.h. + * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): New variable. + (interrupted_reply_port_location): Take new flag arg; only catch + faults if it's set. + (abort_rpcs): Rename to _hurdsig_abort_rpcs; take same new flag arg. + No longer use _hurdsig_rcv_interrupted_p; instead compare PC to + &_hurd_intr_rpc_msg_in_trap. If before it, mutate state to simulate + MACH_SEND_INTERRUPTED return; on it, interrupt the operation. All + callers changed. + * hurd/hurd.h (hurd_thread_cancel, hurd_check_cancel): Declare these. + * hurd/Makefile (distribute): Remove intr-rpc.awk. + (sig): Add thread-cancel. + (transform-user-stub, transform-user-stub-output): Variables removed. + * sysdeps/mach/hurd/dl-sysdep.c: Change all RPCs from + `__hurd_intr_rpc_*' to `__*'. + (_hurd_intr_rpc_mach_msg): New function. + (_hurd_thread_sigstate): Function removed. + * sysdeps/mach/hurd/ioctl.c: Use _hurd_intr_rpc_mach_msg function, + instead of __mach_msg inside HURD_EINTR_RPC macro. - * 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/generic/morecore.c [__GNU_LIBRARY__]: Declare `__sbrk' + to take ptrdiff_t arg. - * sysdeps/mach/hurd/uname.c (uname): Deref UNAME to get nodename. - <unistd.h>: New include. + * sysdeps/mach/hurd/fork.c: Remove _hurd_longjmp_thread_state decl. - * sysdeps/mach/libc-lock.h (__libc_lock_define): Backslashify - continuation line. + * sysdeps/mach/hurd/kill.c (kill_pid): Don't make `inline'. -Sat Jul 20 07:15:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_symbol, + weak_alias): Use `extern' storage class. - * 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. +Wed Aug 9 14:25:35 1995 Miles Bader <miles@geech.gnu.ai.mit.edu> -Fri Jul 19 15:45:20 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/mach/hurd/setuid.c (__setuid): Switch the port-type and + port-count parameters to __auth_makeauth. + * sysdeps/mach/hurd/setgid.c (__setgid): Ditto. - * locale/C-messages.c (_nl_C_LC_MESSAGES): Add missing Kleene - operator to yesexpr and noexpr string. +Tue Aug 8 12:22:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Fri Jul 19 15:10:37 1996 David Mosberger-Tang <davidm@azstarnet.com> + * hurd/sigunwind.c: Remove _hurd_longjmp_thread_state decl. - * 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. + * inet/netinet/tcp.h: New file, incorporated from 4.4BSD-Lite. - * sunrpc/xdr.c (xdr_int): Handle XDR_FREE case. - (xdr_u_long): Use switch instead of chain of if-statements. - Remove gratitous parentheses around return expressions. - (xdr_enum): Open code case where INT_MAX<LONG_MAX. +Tue Aug 8 12:06:04 1995 Michael I. Bushnell, p/BSG <mib@duality.gnu.ai.mit.edu> - * sunrpc/svc.c (svc_getreqset): Increment SOCK by 32, not NFDBITS. + * inet/netinet/in.h (IP_MULTICAST_TTL, IP_MULTICAST_LOOP, + IP_MULTICAST_IP, IP_ADD_MEMBERSHIP, IP_DROP_MEMBERSHIP): New IP + layer socket options. + (IPPROTO_GGP): Delete obsolote protocol. + (IPPROTO_IGMP): Add new protocol (with same value [2] as old GGP). + (struct ip_mreq): New type. + +Mon Aug 7 14:04:36 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * stdlib/strtol.c: Use #ifdef, not #if, for HAVE_LIMITS_H. + + * posix/glob.c (glob_in_dir): Allocate GLOB_MARK byte in case when + (NFOUND == 0 && (FLAGS & GLOB_NOCHECK)). + + * sysdeps/generic/sysd-stdio.c (__stdio_reopen): Return failure + when __stdio_open fails with a code other than ENFILE or EMFILE. + +Fri Aug 4 16:01:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * Makefile (headers): Added gnu-versions.h. + +Thu Aug 3 14:41:11 1995 Michael I. Bushnell <mib@duality.gnu.ai.mit.edu> + + * inet/netinet/in.h (IN_CLASSD, IN_EXPERIMENTAL, IN_BADCLASS): Use + equality, not assignment, to test bitfields. + +Sat Jul 29 10:41:06 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - * sunrpc/portmap.c (reg_service): Declare ANS and PORT as long, - not int. + * sysdeps/mach/hurd/sendto.c (sendto): Use the ifsock protocol to + resolve AF_LOCAL addresses. + + * sysdeps/mach/hurd/accept.c (accept): If the protocol family + can't tell us what an address means, just return a zero-length + buffer instead. + * sysdeps/mach/hurd/recvfrom.c (recvfrom): Ditto. + +Fri Jul 28 15:29:11 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> + + * sysdeps/mach/hurd/bind.c (bind): Don't use + file_invoke_translator, as it doesn't work. Instead just lookup + the translated node again, and hope we're not hit by any race + conditions. + +Wed Jul 26 02:00:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * csu/Makefile [$(elf)=yes] (have-initfini): Set to yes. + [$(have-initfini)=yes]: Test this rather than $(elf) for crtstuff. + [start-installed-name-rule]: If this is defined, elide rule for + $(objpfx)$(start-installed-name). + * csu/initfini.c (SECTION): New macro, different definitions for + #ifdef HAVE_ELF and not. + (_init, _fini): Use that macro. + * sysdeps/unix/sysv/sco3.2.4/Makefile [$(subdir)=csu] + (start-installed-rule, start-installed-name-rule): New variables; + specify crt1.o, created by our own rule. + ($(objpfx)crt1.o): New rule. + * configure.in: Require autoconf 2.4.2 or later. Change all + AC_CACHE_VAL uses to use new AC_CACHE_CHECK macro instead; + prettify some messages. + [$elf!=yes] (libc_cv_have_initfini): New test for `.init' and `.fini' + sections. + * munch-tmpl.c [HAVE_INITFINI]: Call _init and atexit (_fini) in + this case rather than #ifdef HAVE_ELF. + * config.h.in (HAVE_INITFINI): New macro. + * config.make.in (have-initfini): New variable, set by configure. -Fri Jul 19 16:56:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * stdio/vfscanf.c (conv_error): Simplify expression to avoid + "value computed is not used" warning. - * dlfcn.h, db.h: New wrapper headers. + * Makeconfig (+gccwarn): Removed -Wconversion. - * posix/glob.h [!_AMIGA && !VMS]: Check this instead of just [!_AMIGA] - for `struct stat;' forward decl. + * csu/initfini.c (GLOBAL): Macro removed. + (_init, _fini): Always define globally. + * csu/Makefile (crtstuff, initfini): Don't make crt[in]_s.o. -Fri Jul 19 22:25:19 1996 Ulrich Drepper <drepper@cygnus.com> + * asia, backward, europe, leapseconds, southamerica: New data from + ADO's 95e. - * locale/iso-4217.def: Add some more standardized currency - symbols. + * inet/Makefile (routines): Removed inet_addr. + * inet/inet_addr.c: Moved to resolv/ subdirectory. + * resolv/Makefile (routines): Added inet_addr. + * resolv/inet_addr.c: Incorporated from BIND 4.9.3-BETA24 release. + * resolv/gethnamaddr.c: Likewise. + * resolv/getnetbyaddr.c: Likewise. + * resolv/getnetbyname.c: Likewise. + * resolv/getnetent.c: Likewise. + * resolv/getnetnamadr.c: Likewise. + * resolv/herror.c: Likewise. + * resolv/nsap_addr.c: Likewise. + * resolv/res_comp.c: Likewise. + * resolv/res_debug.c: Likewise. + * resolv/res_init.c: Likewise. + * resolv/res_mkquery.c: Likewise. + * resolv/res_query.c: Likewise. + * resolv/res_send.c: Likewise. + * resolv/resolv.h: Likewise. + * resolv/sethostent.c: Likewise. + * resolv/arpa/nameser.h: Likewise. + * inet/netdb.h: Incorporated from BIND 4.9.3-BETA24 release. + [__GNU_LIBRARY__]: Include <rpc/netdb.h> instead of repeating + its declarations (and doing so only #ifdef sun!). + * conf/portability.h (NEED_INETADDR, NEED_INETATON): New macros. -Fri Jul 19 13:18:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * posix/sys/types.h [__USE_BSD] (__BIT_TYPES_DEFINED__): New macro. + [__USE_BSD] [__GNUC__] (int64_t, u_int64_t, register_t): New typedefs. - * hurd/report-wait.c (describe_number): Use unsigned long int for J. + * malloc/memalign.c: Allocate (SIZE + ALIGNMENT - 1) and then trim + if possible. -Thu Jul 18 12:33:57 1996 Roland McGrath <roland@baalperazim.frob.com> + * mach/shortcut.awk: Emit decls for RPC. - * Rules (dummy.o, empty.o): Targets removed. - (dummy.c, empty.c): New targets replace them. + * libc-symbols.h [GCC >= 2.7 && !ASSEMBLER] (weak_symbol, + weak_alias, strong_alias): Define using GCC __attribute__ syntax. -Thu Jul 18 11:42:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * Makerules ($(installed-libcs)): Depend on `lib' (only). - * crypt/Makefile (lib-noranlib): Depend on - $(objpfx)libcrypt.so$(libcrypt.so-version). - (subdir): Fix name. +Tue Jul 25 09:14:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Thu Jul 18 04:33:21 1996 Roland McGrath <roland@baalperazim.frob.com> + * sysdeps/mach/hurd/pathconf.c: Declare VALUE as int, not long int. - * sysdeps/mach/hurd/errnos.awk: Move EWOULDBLOCK check before errno==0 - check. mib's clueless hacking broke it. + * stdlib/strtol.c [_LIBC]: Define STDC_HEADERS. -Thu Jul 18 04:27:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * sysdeps/unix/sysv/ftime.S: New file. - * Makerules ($(libdir)/libc.so): Add missing / after $(cryptobjdir). + * locale/locfile-parse.c (categories_write): Cast "" to char *. -Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com> + * io/fcntl.h [__OPTIMIZE__] (creat): Macro removed. - * 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. + * time/strftime.c: Use year modulo 100 for %y. - * sysdeps/unix/sysv/linux/alpha/start.S: Move to ... - * sysdeps/alpha/elf/start.S: here. + * time/sys/timeb.h: Add __BEGIN_DECLS and __END_DECLS. - * sysdeps/unix/sysv/linux/syscalls.list: Mention klogctl in - alphabetically correct place. Mention ustat. + * sysdeps/unix/snarf-ioctls (snarfexclude): Use two sed's instead + of one, to work around bug in sunos4.1.2 sed. - * sysdeps/unix/alpha/sysdep.S: Make errno a bss symbol, not a - common symbol (makes errno accessible from gdb). + * stdio/vfprintf.c (vfprintf): For %s with precision spec, use + memchr instead of strlen to limit search for NUL by precision. - * login/pututline_r.c (pututline_r): Test ut_id in repositioning - test, not ut_type. +Mon Jul 24 03:13:16 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * 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. + * sysdeps/posix/pathconf.c: New file. - * 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. +Sat Jul 22 20:53:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * login/getutline_r.c (getutline_r): Stop searching only if - ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS. + * sysdeps/unix/i386/sysdep.h (JUMPTARGET): Use ## to avoid space + before @PLT. + * sysdeps/mach/i386/sysdep.h (JUMPTARGET): New macro. + * sysdeps/i386/bsd-_setjmp.S: Use JUMPTARGET macro in jmp insn. + * sysdeps/i386/bsd-setjmp.S: Likewise. -Tue Jul 16 15:06:18 1996 David Mosberger-Tang <davidm@azstarnet.com> +Sat Jul 22 19:58:54 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - * sysdeps/unix/sysv/linux/netinet/in.h: Base on <linux/in.h> to - avoid duplicate declarations. + * inet/Makefile (routines): Added `ruserpass'. + * inet/ruserpass.c: New file, from BSD Net-2 sources for the FTP + client. Modified to remove the fourth arg AACCT. Do nothing for + the `account' and `macdef' keywords. Other incidental changes + because we are not in the FTP source tree. -Sun Jul 14 19:08:55 1996 David Mosberger-Tang <davidm@azstarnet.com> +Sat Jul 22 01:56:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * manual/maint.texi (Supported Configurations): Add alpha-gnu-linux - and alpha-gnu-linuxecoff targets. + * sysdeps/stub/init-posix.c: Removed stub warning. -Fri Jul 12 16:58:44 1996 David Mosberger-Tang <davidm@azstarnet.com> + * Makefile (autoconf-it): Make it executable and unwritable. - * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport(). + * configure.in (sysnames): Under --enable-debug-configure, spew + potential sysnames. -Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com> + * sysdeps/unix/i386/sysdep.h (JUMPTARGET): New macro; use name@PLT + #ifdef PIC. + (PSEUDO): Use JUMPTARGET(syscall_error) in jump insn. + * sysdeps/unix/i386/syscall.S: Use JUMPTARGET(syscall_error) in + jump insn. - * resolv/res_send.c (res_send): Declare FROMLEN as size_t instead - of int. + * sysdeps/unix/sysv/sysv4/linux/i386/sysdep.h: Rewritten. + * sysdeps/unix/sysv/sysv4/linux/i386/syscall.S: New file. + * sysdeps/unix/sysv/sysv4/linux/i386/socket.S: Include + <sys/socketcall.h>. Save %ebx in call-clobbered %edx instead of + stack. Use JUMPTARGET(syscall_error) in jump insn. - * resolv/res_comp.c (res_hnok): Use empty statement in place - of NULL (which generates a "useless expression" warning in - gcc). + * Makeconfig (+gccwarn): Add -Wbad-function-cast -Wconversion. -Wed Jul 17 23:56:35 1996 Roland McGrath <roland@baalperazim.frob.com> + * sysdeps/unix/i386/sysdep.h (ENTRY): Use ASM_GLOBAL_DIRECTIVE and + ASM_TYPE_DIRECTIVE. + (ASM_TYPE_DIRECTIVE): New macro; defined using `.type' #ifdef ELF. - * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Replace ../ - with $(..) in output. + * sysdeps/unix/sysv/sysv4/linux/i386/sysdep.S (__syscall_error): + Rewritten, #include'ing unix/i386/sysdep.S for most of the code. + * sysdeps/unix/i386/sysdep.S [PIC]: Store into `errno' through the GOT. -Wed Jul 17 21:53:45 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * configure.in (os=linux*): Use unix/sysv/sysv4 for $base_os, + instead of unix/sysv. + * sysdeps/unix/sysv/linux/{accept,connect,getsockname,rename, + socketpair,waitpid,bind,getpeername,listen,setsid,wait4}.S: Moved + to new directory sysdeps/unix/sysv/sysv4/linux. + * sysdeps/unix/sysv/linux: Directory removed. + * sysdeps/unix/sysv/i386/linux/{socket.S,sysdep.h,sysdep.S}: Moved + to new directory sysdeps/unix/sysv/sysv4/linux/i386. + * sysdeps/unix/sysv/linux/i386: Directory removed. - * 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. + Fixes to help Linux, inspired by drepper's work: + * sysdeps/posix/utimes.c: New file. + * sysdeps/generic/getdomain.c: New file. + * sysdeps/i386/init-first.c: Removed gratuitous #include <hurd.h>. + * sysdeps/generic/dl-sysdep.c: Include <unistd.h> and declare + externals _dl_argc, _dl_argc, and _environ. -Wed Jul 17 20:41:30 1996 Ulrich Drepper <drepper@cygnus.com> +Fri Jul 21 12:57:29 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - * stdio-common/vfscanf.c: Major change. Now read character - from stream only if needed. Before it was read after the - previous character was used. - Bug reported by Martin Goik <goma0002@FH-Karlsruhe.DE> + * sysdeps/mach/hurd/socket.c (socket): Consider MIG_BAD_ID and + EOPNOTSUPP as indications that the server has died. + * sysdeps/mach/hurd/pipe.c (__pipe): Likewise. + * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise. - * stdio-common/tstscanf.c: Change test program so that return - value is != 0 if one test failed. +Mon Jul 17 08:45:40 1995 Jim Meyering (meyering@comco.com) -Wed Jul 17 17:08:48 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * strtol.c: Portability changes from Uli Drepper. + [!STDC_HEADERS && !defined(NULL)]: Define NULL. - * sysdeps/m68k/Makefile (crypt): Variable removed. - * sysdeps/sparc/Makefile: Likewise. +Mon Jul 10 05:39:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * version.h (VERSION): Update to 1.93. + * sysdeps/mach/hurd/i386/init-first.c (init): Take just one arg, + DATA for the entry SP; DATA[-1] is always the return address + location. In both cthreads and non-cthreads cases, use asm to + force parameters into %eax and %ecx before return, and mutate + DATA[-1] to return to specific asm code to set up the user from + %eax and %ecx. + [PIC] (_init): Caller changed. + (__libc_init_first) [! PIC] (doinit): Use asm to effect call to init + with SP unwound to argument data ptr. - * Makerules ($(libdir)/libc.so): Depend on - $(common-objpfx)libcrypt.so$(libcrypt.so-version). +Thu Jul 6 14:28:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * crypt/nocrypt.c: New file. - * Makefile (subdirs): Add crypt. - * crypt/Makefile: New file. + * sysdeps/mach/hurd/dl-sysdep.c (fmh): Fixed this kludge to work + when 0x08000000 and up are not mapped. - * 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. + * Makerules (stamp$o-$(subdir) rule): Remove the timestamp file + before touching it. + (lib%.so): Use -Wl to get -soname to ld. - * shlib-versions (*-*-*): Set libcrypt=0. + * elf/dlsym.c: Pass final arg to _dl_lookup_symbol. -Wed Jul 17 11:29:26 1996 Miles Bader <miles@gnu.ai.mit.edu> + * elf/Makefile (libdl.so): Pass $(LDFLAGS.so). - * stdio/linewrap.c (lwupdate): Fix boundary condition where a - word extends right up to rmargin. +Tue Jun 20 02:18:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * 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. + * Makerules (lib%.so: lib%_pic.a): Pass -soname switch giving the + library's name including $(libprefix) and major version number. -Wed Jul 17 02:43:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * locale/locale-ctype.c (allocate_arrays): Use xmalloc and bzero + in place of xcalloc. - * shlib-versions (*-*-gnu*): Set libc=0.0 + * Makeconfig (prefix, exec_prefix, libprefix): Instead of + `ifndef', use the $(origin) function to only set these if they are + undefined, and not if they are defined to empty. -Tue Jul 16 01:52:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * gnu-versions.h: New file. + * features.h (__GNU_LIBRARY__): Increase value to 5. - * sysdeps/m68k/dl-machine.h: Follow Jul 14 change in - sysdeps/i386/dl-machine.h. +Wed Jun 14 03:45:24 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Tue Jul 16 00:18:19 1996 Miles Bader <miles@gnu.ai.mit.edu> + * stdio/stdio.h (__validfp): Use ({...}) rather than a comma + expression, to avoid gcc's "value computed is not used" warning. - * stdio/linewrap.c (__line_wrap_update): Add hackery from flshfp - to fiddle __put_limit in conjunction with __linebuf_active. + * libc-symbols.h (_elf_set_element): Give the set-element variable + an `unused' attribute. -Tue Jul 16 00:14:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * hurd/hurd/threadvar.h (__hurd_threadvar_location): Declare with + __attribute__ ((__const__)). + * hurd/hurd/signal.h (_hurd_self_sigstate): Likewise. - * sysdeps/unix/inet/syscalls.list (connect, send): Add underscores - to the strong name, not the file name. + * hurd/hurd/userlink.h (_hurd_userlink_link): Properly set + LINK->resource.next->resource.prevp when appropriate, not + LINK->resource.next->thread.prevp!!! -Tue Jul 16 16:43:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> +Tue Jun 13 15:45:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * csu/initfini.c: More magic. Detect if .end is produced and put it - in the output iff the compiler does. + * configure.in (libc_cv_asm_set_directive): Make sure that the + `.set' directive really worked by linking against a reference to + the alias. - * elf/dl-lookup.c (_dl_lookup_symbol): Avoid sizeof dynamic auto array - because that is broken on alpha. + * sysdeps/stub/init-first.c: Don't include <hurd.h>. + [PIC] (soinit): Renamed to (global) _init. - * sysdeps/mach/hurd/mmap.c: Use same inheritance arg in second vm_map - call as in first. +Mon Jun 12 13:15:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * Makerules (make-link): Install the new link with atomic mv -f in - case ln itself requires the library being installed. + * malloc/Makefile (gmalloc-routines): Remove valloc. + (dist-routines): Add it here. -Tue Jul 16 00:31:31 1996 Richard Henderson <rth@tamu.edu> + * malloc/malloc.h [_MALLOC_INTERNAL] [emacs] (valloc): #define to + emacs_loser_valloc to inhibit valloc declaration below. - * sysdeps/alpha/dl-machine.h: Mirror Roland's changes to - i386/dl-machine.h of 960713. + * Makerules (lib%.so: lib%_pic.a): Moved this rule to after + installation rules. - * sysdeps/generic/dl-sysdep.c: Include <sys/mman.h>. - (_dl_sysdep_read_whole_file): Fix result variable declaration. + * sysdeps/mach/sysdep.h [HAVE_ELF] (ENTRY): Redefine this macro so + it uses the `.type' directive, which is necessary for shared + libraries to work properly. -Tue Jul 16 00:53:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> +Thu Jun 8 02:50:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * sysdeps/mach/hurd/uname.c: Call __gethostname to fill in the - `nodename' member. + * elf/dl-load.c (_dl_map_object): Add MAP_INHERIT flag in mmap + from zero fill. -Mon Jul 15 17:23:53 1996 Ulrich Drepper <drepper@cygnus.com> + * elf/dl-lookup.c (_dl_lookup_symbol): Take new flag arg NOSELF; + if nonzero, don't let *REF satisfy the reference itself. + * elf/link.h (_dl_lookup_symbol): Add new arg NOSELF in decl. + * sysdeps/i386/dl-runtime.c (_dl_runtime_resolve): Pass new arg to + _dl_lookup_symbol. + * elf/do-rel.h (elf_dynamic_do_rel): Pass new second arg of + R->r_offset to RESOLVE callback. + * elf/dl-reloc.c (_dl_relocate_object: resolve): Don't let *REF + satisfy the reference itself if its value equals the reloc's + offset. - * stdio-common/vfprintf.c (vfprintf): Call parse_one_spec - with pointer to local variable instead of NULL. + * elf/rtld.c (dl_main): Write a newline in fatal msg. -1996-07-15 Paul Eggert <eggert@twinsun.com> + * Makerules (lib%.so: lib%_pic.a): Pass $(LDFLAGS.so). - * time/strftime.c (strftime): Don't pass empty macro argument to `add'. + * elf/rtld.c [! NDEBUG] (__assert_perror_fail): New function. -Sat Jul 13 09:53:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * hurd/hurdstartup.c (_hurd_startup): Fancier kludge to guess phdr + and user entry point addresses. - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove names - that are already added by other means. + * elf/dl-load.c (open_path): Don't do strlen on DIRPATH if it's null. + (_dl_map_object): DT_RPATH value is relative to DT_STRTAB value. - * sysdeps/unix/sysv/linux/syscalls.list: Add more EXTRA's in the - caller column to get those syscalls added automagically. + * Makerules (install-lib.so): Don't include libc.so. + [$(build-shared)=yes] (install): Depend on the installed libc.so file. + [$(build-shared)=yes] (install-no-libc.a): Make this, rather than + install, depend on the installed $(install-lib.so) files. + [$(build-shared)=yes] (install-lib.so): Append libc.so after that rule. -Mon Jul 15 12:24:54 1996 Miles Bader <miles@gnu.ai.mit.edu> + * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Add kludge to + allocate high addresses to avoid random mappings appearing there. + (mmap): Comment out mask; always pass zero. - * login/logout.c (logout): Initialize DATA to a state that will - make setutent_r happy. +Tue Jun 6 13:34:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * sysdeps/i386/dl-machine.h (ELF_MACHINE_USER_ADDRESS_MASK): New macro. + * sysdeps/mach/hurd/dl-sysdep.c (mmap): Use it as mask in vm_map call. - * elf/rtld.c (dl_main) [ELF_MACHINE_DEBUG_SETUP]: Use this macro - instead of setting the DT_DEBUG pointer. + * elf/dl-error.c (_dl_catch_error): Clear *ERRSTRING and *OBJNAME + when successful. - * csu/initfini.c (_init, _fini): Generate .end directives after - standalone prologues and filter them out from epilogues. + * sysdeps/mach/hurd/dl-sysdep.c (threadvars): New static variable. + (__hurd_threadvar_max, __hurd_threadvar_stack_offset): Define these + variables, using the `threadvars' buffer. - * Makeconfig (rtld-installed-name): Set to ld.so.1. - * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): Variable - removed. + * elf/dl-reloc.c: Don't dereference L->l_prev when it's null. + * sysdeps/i386/dl-runtime.c: Likewise. - * manual/Makefile (glibc-targets): Remove subdir_ from elts. + * elf/rtld.c (dl_main): Add missing NULL terminating argument in + _dl_sysdep_fatal call. + (__assert_fail): Likewise. - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): New fn. + * locale/Makefile (localedef-modules): Renamed ctype to + locale-ctype so as not to conflict with the object file for + ctype/ctype.c in the build directory. - * 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. +Mon Jun 5 04:02:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * 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/elf.h (ELFMAG): Use \177 instead of \x7f. It seems GCC + insists on seeing the following E as part of hex 7FE, and + complaining that is wider than a byte. - * elf/dl-reloc.c: Include "dynamic-link.h" at file scope. +Sun Jun 4 22:14:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * elf/rtld.c: Include <string.h>. + * hurd/Makefile (sig): Added thread-self. + * hurd/hurd.h: Declare hurd_thread_self. + * hurd/thread-self.c: New file. - * 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. +Thu Jun 1 12:17:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * elf/dl-deps.c (_dl_map_object_deps): Start TAILP at last preload. + * elf/rtld.c: Initialize RTLD_MAP.l_type. + * elf/dl-reloc.c (_dl_relocate_object): Clear LAZY if relocating + the dynamic linker itself. + * sysdeps/i386/dl-machine.h (elf_machine_rel): If MAP->l_type is + lt_interpreter, first undo relocation done during bootstrapping. - * 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. +Tue May 30 15:52:32 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * 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. + * mach/Makefile (server-interfaces): Removed notify and + device_reply. For shlibs with eager binding, libmachuser.so must + not refer to any functions not defined in libc. - * manual/Makefile ($(objpfx)stamp%-$(subdir)): Separate rule from - other targets. +Sat May 27 16:23:22 1995 Jim Meyering (meyering@comco.com) -Sat Jul 13 23:50:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * sysdeps/generic/memchr.c: Cast RHS to const unsigned char * + to avoid error from Irix-4.0.5's C compiler. From Kaveh Ghazi. - * manual/Makefile (lib): New phony target. Depend on stamp files. - ($(objpfx)stamp%-$(subdir)): New rule to create them when necessary. +Fri May 26 13:00:08 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -1996-07-13 Paul Eggert <eggert@twinsun.com> + * hurd/hurdsig.c (_hurd_internal_post_signal): Don't loop to check + pending signals if the thread is in a critical section. It will + send us a msg when it finishes. - * 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. + * sysdeps/mach/hurd/pathconf.c: New file. + * sysdeps/mach/hurd/fpathconf.c: New file. -Sat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * sysdeps/mach/hurd/sigaction.c: Only notify the proc server for + SIGCHLD when the SA_NOCLDSTOP bit actually changes. - * 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. +Sun May 21 05:05:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * 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/Makefile (ld.so): Use -nostartfiles in addition to + -nostdlib. - * elf/dl-fini.c (_dl_fini): Skip finalizer for executable itself. +Sun May 21 02:01:29 1995 Jim Meyering (meyering@comco.com) -Sat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com> + * sysdeps/generic/memchr.c: Don't include <string.h> at all. + HPUX-9.01 and IRIX-4.0.5 vendor C compilers get conflicting dcls for + memchr unless one manually arranges for them to define __STDC__. - * stdlib/random.c (__random): Declare as int32_t to be in sync - with declaration. +Fri May 19 17:16:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * socket/Makefile (headers): Add socketbits.h. + * sysdeps/mach/hurd/i386/init-first.c: In cthreads case, handle + args on stack from kernel. - * misc/mntent.c (endmntent): Allow for NULL stream. SunOS does - it that way. + * posix/Makefile, sysdeps/alpha/Makefile, + * sysdeps/mach/hurd/Makefile, sysdeps/sparc/Makefile, Makefile, + * Makerules, Make-dist: Fix "cvs commit" cmds in rules to not fail + in the absence of CVS dirs. - * grp/initgroups.c (initgroups): Add groups that user is a member - of, not the ones he is _not_ a member of. + * hurd/hurdstartup.c: Don't call __mach_init. Grok args from the + kernel on the stack properly. - * 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. + * set-init.c: Never call _init/_fini; just run __libc_subinit. - * 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. + * Makerules (LDFLAGS-c.so): Add -nostartfiles. + * mach/Machrules (LDFLAGS-$(interface.so)): Likewise. - * sysdeps/unix/getlogin.c (getlogin): Initialize ut_fd with -1. + * configure.in: Move defaulting of --with-elf and --with-gnu-* + based on host os outside the AC_CACHE_VAL for the sysdirs + calculation. -Thu Jul 11 16:59:10 1996 David Mosberger-Tang <davidm@azstarnet.com> + * Makeconfig (localedir, nlsdir): New variables. - * misc/mntent.c (addmntent): Seek to end of file before writing - entry. Return 1 on error, not -1. + * values.h: New file. + * Makefile (headers): Add values.h. -Tue Jul 9 19:08:05 1996 David Mosberger-Tang <davidm@azstarnet.com> + * locale/Makefile (distribute): Add error.h. + * locale/localedef.c: Include "error.h". + (main): Use error_message_count instead of warning_cntr. - * sysdeps/unix/sysv/linux/syscalls.list: Mark bdflush as EXTRA - syscall. +Wed May 17 16:50:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Fri Jul 5 18:44:55 1996 David Mosberger-Tang <davidm@azstarnet.com> + Merged 1003.2 locale and localedef programs by Ulrich Drepper. + * locale/charmap.c: New file. + * locale/collate.c: New file. + * locale/config.h: New file. + * locale/ctype.c: New file. + * locale/ctypedump.c: New file. + * locale/hash.c: New file. + * locale/hash.h: New file. + * locale/iso-4217.def: New file. + * locale/keyword.gperf: New file. + * locale/keyword.h: New file. + * locale/libintl.h: New file. + * locale/locale.c: New file. + * locale/localedef.c: New file. + * locale/localedef.h: New file. + * locale/locfile-lex.c: New file. + * locale/locfile-parse.c: New file. + * locale/messages.c: New file. + * locale/monetary.c: New file. + * locale/numeric.c: New file. + * locale/token.h: New file. - * sysdeps/unix/sysv/linux/alpha/ioperm.c (port_to_cpu_addr): Size - shift amount for Jensen must be 5 not 4. + * posix/regex.c, posix/regex.h: New files, incorporated from GNU regex. + * posix/Makefile (headers): Add regex.h. + (routines): Add regex. + (gpl2lgpl): Add regex.c and regex.h. -Sat Jul 13 20:04:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> +Tue May 16 17:35:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * socket/sys/socket.h (struct osockaddr): New type. + * locale/loadlocale.c: Expect macro LOCALE_PATH to be defined, + instead of hard-coding "/share/locale". -Sat Jul 13 03:50:53 1996 Ulrich Drepper <drepper@cygnus.com> +Sat May 13 02:16:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * 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. + * configure.in (os=gnu*): Always set elf=yes, not just for os=gnu*elf*. - * manual/startup.texi: Document new getsubopt function. - * manual/examples/subopt.c: New example program for documenting - getsubopt function. +Fri May 12 15:31:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Fri Jul 12 23:58:37 1996 Ulrich Drepper <drepper@cygnus.com> + * elf/elf.h (ELFMAG, SELFMAG): New macros. - * stdlib/Makefile (routines): Add getsubopt. - * stdlib/stdlib.h: Add prototype for getsubopt. - * stdlib/getsubopt.c: New file. Implement getsubopt function - to handle suboption parsing. +Fri May 12 11:24:53 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> -Thu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * hurd/alloc-fd.c (_hurd_alloc_fd): Don't reduce FIRST_FD in + the case where it starts out less than _hurd_dtablesize. - * 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. +Thu May 11 20:51:05 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * sysdeps/generic/pselect.c: Include <sys/time.h>. + * hurd/alloc-fd.c (_hurd_alloc_fd): When expanding the dtable, + make sure the new size exceeds FIRST_FD. - * misc/sys/select.h: Include <time.h> instead of <sys/time.h> for - `struct timespec'. +Wed May 10 21:00:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * math/Makefile (calls): Add s_frexp, s_ldexp. - (routines): Remove them and &f from here. + * sysdeps/mach/i386/sysdep.h (RETURN_TO): New macro. - * sys/socket.h: New file, wrapper for socket/sys/socket.h. +Tue May 9 01:26:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * nss/nss_files/files-service.c (getservbyname): Take second arg PROTO - and check it. + * Makerules (install-lib.so): Add %.so for each %_pic.a. - * nss/nss_files/files-XXX.c: Comment fix. + * sysdeps/i386/elf/start.S (__data_start): Define this symbol as + the first thing in .data. -Fri Jul 12 01:28:35 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/mach/_strerror.c (_strerror_internal): Eschew sprintf. - * 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. + * hurd/hurdstartup.h: New file. - * nss/getXXent.c (GETFUNC_NAME): RESULT must be static because - we return a pointer. + * sysdeps/i386/elf/start.S: Give two operands to `testl' when they + are the same. Use `jz' instead of `jeq'. -Thu Jul 11 18:20:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * Makeconfig (config.make): Depend on config.status, and run it to + update. + (config.status): New target; depend on configure. + If target (config.status) exists, run it with --recheck to update; + if not, give error msg saying to run confiugre by hand. + * Makerules [$(sysd-Makefile-sysdirs) != $(sysdirs)] + (sysd-Makefile-force): Set this variable to FORCE in this case, to + force a rebuild of sysd-Makefile. + (sysd-Makefile): Depend on $(sysd-Makefile-force). + Write into the file sysd-Makefile-sysdirs:=$(sysdirs). + [$(sysd-rules-sysdirs) != $(sysdirs)] (sysd-rules-force): Set this + variable to FORCE in this case, to force a rebuild of sysd-rules. + (sysd-rules): Depend on $(sysd-rules-force). + Write into the file sysd-rules-sysdirs:=$(sysdirs). - * nss/nss_files/files-parse.c: Add comment about things to #define. + * Makerules (LDFLAGS-c.so): Change ld option -interp to + -dynamic-linker. - * nss/nss_files/files-hosts.c (NEED_H_ERRNO): Define it. + * Makerules (do-install-program): New canned sequence. + (install-bin, install-sbin): Use it. + (install for lib*.so): Use it instead of $(do-install). + Fix .so installation rules to handle lib*.so and *.so, deal with + $(libprefix) right, and install *.so as *.so$($(*.so)-version); + i.e. "libc.so-version = .1". - * nss/nss_files/files-parse.c (STRING_FIELD): Don't flag NUL before - terminator char as an error. +Mon May 8 05:10:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * nss/getXXbyYY_r.c (REENTRANT_NAME): Set *H_ERRNOP, not h_errno. + * elf/do-rel.h: New file, split out of dynamic-link.h. + * elf/Makefile (distribute): Add do-rel.h. -Thu Jul 11 03:21:10 1996 Ulrich Drepper <drepper@cygnus.com> +Sat May 6 11:06:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * catgets/gencat.c (write_out): Move code to determine new - best size out of inner loop. + * Makeconfig (+gccwarn): Add -Winline. -Thu Jul 11 00:22:40 1996 Ulrich Drepper <drepper@cygnus.com> + * hurd/hurdsig.c (_hurd_internal_post_signal): If SS->context is + set, avoid abort_rpcs, and use reply and intr ports saved in + SS->context. + * sysdeps/mach/hurd/i386/trampoline.c: Don't set SS->intr_port + from SS->context. Don't clear SS->context. + * sysdeps/mach/hurd/i386/sigreturn.c: Don't set SS->intr_port when + setting SS->context. If msg_sig_post returns, re-lock and clear + SS->context. - * 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. +Fri May 5 10:37:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * sysdeps/libm-i387/s_isnanl.c (isnanl): Mask explicit one - out before or'ing. + * mach/Makefile (errsystems.c): Comment out generation rule. -Wed Jul 10 05:24:40 1996 David Mosberger-Tang <davidm@azstarnet.com> + * sysdeps/mach/_strerror.c: Consider a system unknown if its + bad_sub member is null. - * misc/mntent.c: Include <sys/types.h>. - (endmntent): Return 1 one success, 0 on failure. - (getmntent): Chop newline and ignore empty lines. + * mach/mig-alloc.c: Add weak alias to non-__ name. -Mon Jul 8 21:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Wed May 3 11:56:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * 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. + * sysdeps/mach/hurd/dup2.c: Fixed broken test in last change. -Tue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> +Tue May 2 01:52:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * posix/glob.h (__glob_opendir_hook, __glob_readdir_hook, - __glob_closedir_hook): Remove decls. + * elf/dl-error.c (_dl_catch_error): Actually call the OPERATE + function. Duh. - * sysdeps/generic/machine-gmon.h: Declare mcount_internal. + * hurd/Makefile (distribute): Added hurdstartup.h. + * hurd/hurd.h: Remove _hurd_startup decl. - * sysdeps/unix/inet/syscalls.list: Define __ names with weak aliases - for send and connect syscalls. + * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS): Use __attribute__ + ((__unused__)) instead of gratuitous self reference. - * 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/dup2.c: Call _hurd_alloc_fd to expand the + table if FD2 doesn't fit. - * sysdeps/mach/hurd/connect.c: Define __ name and weak alias. - * sysdeps/mach/hurd/send.c: Likewise. + * sysdeps/mach/hurd/getdtsz.c: Return the RLIM_NOFILE soft limit, + not the current table size. - * sysdeps/mach/libc-lock.h: New file. - * sysdeps/unix/readdir.c: Do locking. - * sysdeps/unix/seekdir.c: Likewise. - * sysdeps/unix/rewinddir.c: Likewise. - * sysdeps/unix/closedir.c: Likewise. - * sysdeps/unix/bsd/telldir.c: Likewise. - * sysdeps/mach/hurd/seekdir.c: Likewise. - * sysdeps/mach/hurd/readdir.c: Likewise. - * sysdeps/mach/hurd/closedir.c: Likewise. - * sysdeps/mach/hurd/opendir.c: Initialize the lock. - * sysdeps/unix/opendir.c: Likewise. - * sysdeps/mach/hurd/dirstream.h: Include <libc-lock.h>. - (struct __dirstream): Add lock member using __libc_lock_define. - * sysdeps/unix/dirstream.h: Likewise. + * sysdeps/mach/i386/sysdep.h (SNARF_ARGS, CALL_WITH_SP): Rewritten. - * sysdeps/stub/libc-lock.h (__libc_lock_fini): New macro. + Implemented runtime dynamic linker to support ELF shared libraries. + * elf/Makefile: Added rules to make ld.so and libdl. + * elf/dl-error.c: New file. + * elf/dl-fini.c: New file. + * elf/dl-init.c: New file. + * elf/dl-load.c: New file. + * elf/dl-lookup.c: New file. + * elf/dl-object.c: New file. + * elf/dl-reloc.c: New file. + * elf/dlclose.c: New file. + * elf/dlerror.c: New file. + * elf/dlopen.c: New file. + * elf/dlsym.c: New file. + * elf/dynamic-link.h: New file. + * elf/link.h: New file. + * elf/rtld.c: New file. + * sysdeps/i386/dl-machine.h: New file. + * sysdeps/stub/dl-machine.h: New file. + * sysdeps/i386/dl-runtime.c: New file. + * sysdeps/stub/dl-runtime.c: New file. + * sysdeps/i386/elf/start.S: New file. + * sysdeps/generic/dl-sysdep.c: New file. + * sysdeps/mach/hurd/dl-sysdep.c: New file. + * sysdeps/mach/hurd/i386/init-first.c: New file. + * sysdeps/i386/init-first.c: New file. + * sysdeps/stub/init-first.c: New file. + +Mon May 1 18:48:30 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * Makerules (LDFLAGS-c.so): Add -interp and -e switches to make + libc.so runnable. + * version.c (__libc_print_version): Add "et al" and missing NL to + author credit. - * stdlib/mbstowcs.c: Pass address of pointer to mbsrtowcs. +Sat Apr 29 15:46:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * stdlib/wcstombs.c: Use wcsrtombs instead of mbsrtowcs. + * posix/glob.c (S_ISDIR): Define if undefined. -Thu Jul 4 01:34:04 1996 Ulrich Drepper <drepper@cygnus.com> +Thu Apr 27 01:24:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * locale/programs/stringtrans.c: Fix typo in copyright. + * configure.in: Unless --without-fp, prepend */fpu before each + machine dir in $mach; don't prepend FPU dirs at end. If + --with-elf, prepend MACHINE/elf directories at end; don't insert + them into $mach. - * stdio-common/printf-prs.c: Add casts to prevent - signed<->unsigned warnings. + * Makerules (dist): Filter out *.[cSs] from $(distribute) in deps. - * 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/stub/clock.c: Added stub warning. + * sysdeps/stub/dirfd.c: Likewise. + * sysdeps/stub/exc2signal.c: Likewise. + * sysdeps/stub/fdopen.c: Likewise. + * sysdeps/stub/flock.c: Likewise. + * sysdeps/stub/fpathconf.c: Likewise. + * sysdeps/stub/ftruncate.c: Likewise. + * sysdeps/stub/gtty.c: Likewise. + * sysdeps/stub/isatty.c: Likewise. + * sysdeps/stub/killpg.c: Likewise. + * sysdeps/stub/madvise.c: Likewise. + * sysdeps/stub/mkstemp.c: Likewise. + * sysdeps/stub/mktemp.c: Likewise. + * sysdeps/stub/mprotect.c: Likewise. + * sysdeps/stub/msync.c: Likewise. + * sysdeps/stub/pathconf.c: Likewise. + * sysdeps/stub/poll.c: Likewise. + * sysdeps/stub/raise.c: Likewise. + * sysdeps/stub/readv.c: Likewise. + * sysdeps/stub/setenv.c: Likewise. + * sysdeps/stub/setlogin.c: Likewise. + * sysdeps/stub/sigaltstack.c: Likewise. + * sysdeps/stub/sigintr.c: Likewise. + * sysdeps/stub/sigstack.c: Likewise. + * sysdeps/stub/sleep.c: Likewise. + * sysdeps/stub/sstk.c: Likewise. + * sysdeps/stub/stime.c: Likewise. + * sysdeps/stub/stty.c: Likewise. + * sysdeps/stub/syscall.c: Likewise. + * sysdeps/stub/sysconf.c: Likewise. + * sysdeps/stub/truncate.c: Likewise. + * sysdeps/stub/ualarm.c: Likewise. + * sysdeps/stub/usleep.c: Likewise. + * sysdeps/stub/utimes.c: Likewise. + * sysdeps/stub/writev.c: Likewise. - 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. + * sysdeps/stub/libc_fatal.c: Remove __NORETURN keyword. -Tue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> +Wed Apr 26 16:06:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * 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. + * locale/loadlocale.c (_nl_free_locale): Do nothing if DATA is null. - * sysdeps/unix/sysv/linux/direntry.h: New file from David Mosberger. +Tue Apr 25 17:17:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * sysdeps/unix/sysv/linux/configure.in: Check for Linux 2.0.1 headers, - instead of 2.0 headers. + * posix/glob.c (glob): If GLOB_MARK set, stat names to find + directories and append slashes to them in final pass before + sorting. + (glob_in_dir): If GLOB_MARK set, just allocate the extra char for the + slash; never append it here. - * sysdeps/mach/hurd/Makefile (stamp-errnos): Uncomment CVS commit cmds. +Sat Apr 22 14:48:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * sysdeps/gnu/errlist.awk: Undo mib's bogus changes. The - sysdeps/mach/hurd/errnos.awk bug fix was the only correct change. + * mach/Machrules [interface-library] + (LDFLAGS-$(interface-library:lib%=%.so)): New variable, set to + -nostdlib. - * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Declare _mcount - before using it in lhs of weak_alias. + * sysdeps/mach/hurd/fork.c: Subfunction `unlockss' removed. Lock + _hurd_siglock only around initial task creation in parent. Use + _hurd_critical_section_unlock at end. Handle dead name rights + properly, and deal with a send right dying while we try to copy + it. For the time being, use assert_perror for kernel and proc RPC + failures. - * 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. +Fri Apr 21 01:10:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Tue Jul 9 00:14:52 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu> + * extra-lib.mk: Don't include $(o-iterator); construct it by hand + using $(object-suffixes-$(lib)) instead. - * 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. + * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): New variable. -Mon Jul 8 13:37:40 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * Makerules (lib%.so: lib%_pic.a): Pass $(LDFLAGS-$(notdir $*).so). + (LDFLAGS-c.so): New variable. - * 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. + * resolv/res_init.c (res_init): Don't clobber _res.options with + RES_DEFAULT. If RES_INIT is clear, OR in RES_DEFAULT. - 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. + * hurd/hurd.h: Declare _hurd_startup. + * hurd/hurdstartup.c: New file. + * hurd/Makefile (routines): Add hurdstartup. -Mon Jul 8 13:10:50 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu> +Thu Apr 20 22:23:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * 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. + * hurd/hurdsig.c: Use assert_perror for many calls which should + never fail and previously were not checked. - * sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm - __const to conform with unistd.h. + * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): + Point the return address for sigreturn's frame at a "hlt" insn so + it will definitely crash if sigreturn returns. - * stdlib/stdlib.h (random): Declare return type to be int32_t. +Wed Apr 19 18:40:11 1995 Brendan Kehoe (brendan@zen.org) - * string/argz-delete.c (argz_delete): Use memmove instead of - memcpy for possibly overlapping strings. - -Mon Jul 8 02:14:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_alias): Use extern - storage class. GCC gives an error for non-extern data defns with the - alias attribute. - -Mon Jul 8 01:37:34 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * string/argz-insert.c (__argz_insert): (__argz_insert): Use - memmove instead of memcpy for possible overlapping strings. - -Mon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * libc-symbols.h (weak_function): New macro. - For GCC 2.7+ define as __attribute__ ((weak)). - * elf/dl-minimal.c: Use weak_function as keyword in function defns - instead of weak_symbol (NAME) after the defn. - * stdlib/strtol.c: Likewise. - * stdlib/strtod.c: Likewise. - * sysdeps/mach/hurd/dl-sysdep.c: Likewise. - - * 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. + * time/tzset.c (__tzname, __daylight, __timezone): Don't check + HAVE_WEAK_SYMBOLS for doing weak_alias. - * 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]. +Wed Apr 19 18:12:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Sun Jul 7 18:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * configure.in: Move $os tests to set $elf et al earlier, before + construction of $sysnames. Instead of prepending MACHINE/elf to + $sysnames, append &/elf after each elt appended to $mach. - * 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. +Tue Apr 18 14:00:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * 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. + * configure.in (libc_cv_asm_global_directive): New check to define + ASM_GLOBAL_DIRECTIVE. + * config.h.in: Add #undef ASM_GLOBAL_DIRECTIVE. + * libc-symbols.h (strong_alias_asm, strong_alias): Use + ASM_GLOBAL_DIRECTIVE on the alias. - * io/Makefile (headers): Add sys/vfs.h. - * io/sys/vfs.h: New file. + * sysdeps/unix/make_errlist.c (main): Don't generate "#ifdef + HAVE_WEAK_SYMBOLS" #defns. - * 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). +Mon Apr 17 12:02:49 1995 Brendan Kehoe (brendan@zen.org) -Sun Jun 2 22:28:43 1996 Miles Bader <miles@gnu.ai.mit.edu> + * sysdeps/alpha/strlen.c (strlen): Fix cmpbge insn, and returning + of the byte that was zero, so we return a valid number. - * 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). +Sun Apr 16 03:23:09 1995 Brendan Kehoe (brendan@zen.org) -Fri May 31 11:48:46 1996 Miles Bader <miles@gnu.ai.mit.edu> + * sysdeps/unix/bsd/ultrix4/mips/sysdep.h: New file defining + NO_UNDERSCORES then using sysdeps/unix/mips/sysdep.h. - * 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. +Fri Apr 14 18:49:03 1995 Brendan Kehoe (brendan@zen.org) - * 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. + * sysdeps/ieee754/mpn2dbl.c (__mpn_construct_double) + [BITS_PER_MP_LIMB == 64]: Refer to `u', not to non-existent `i'. + * sysdeps/ieee754/mpn2ldbl.c (__mpn_construct_long_double) + [BITS_PER_MP_LIMB == 64]: Likewise. -Fri Jul 5 17:34:47 1996 Miles Bader <miles@gnu.ai.mit.edu> + * sysdeps/unix/bsd/osf/alpha/killpg.S (killpg): Add .end directive. + * sysdeps/unix/bsd/osf/alpha/sigblock.S (__sigblock): Likewise. + * sysdeps/unix/bsd/osf/alpha/sigsetmask.S (__sigsetmask): Likewise. + * sysdeps/unix/bsd/osf/alpha/sigpause.S (__sigpause): Likewise. + * sysdeps/unix/bsd/osf/alpha/sigvec.S (__sigvec): Likewise. + * sysdeps/unix/bsd/osf/alpha/getdents.S (__getdirentries): Likewise. + * sysdeps/unix/bsd/osf/alpha/fork.S (__fork): Likewise. + * sysdeps/unix/bsd/osf/alpha/pipe.S (__pipe): Likewise. + * sysdeps/unix/bsd/osf/alpha/recv.S (recv): Likewise. + * sysdeps/unix/bsd/osf/alpha/send.S (send): Likewise. + * sysdeps/unix/bsd/osf/alpha/vhangup.S (vhangup): Likewise. - * login/logout.c (logout): Do nothing if getutline_r returns ESRCH. + * sysdeps/unix/mips/brk.S (__brk, __curbrk): Add .end directive. + * sysdeps/unix/mips/fork.S (fork): Likewise. + * sysdeps/unix/mips/pipe.S (fork): Likewise. + * sysdeps/unix/mips/sigreturn.S (__sigreturn): Likewise. + * sysdeps/unix/mips/sysdep.S (sysdep_error): Likewise. + * sysdeps/unix/mips/wait.S (__handler): Likewise. + * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise. + * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise. + * sysdeps/unix/bsd/ultrix4/getsysinfo.S (getsysinfo): Likewise. + * sysdeps/unix/bsd/ultrix4/wait3.S (waitpid): Likewise. + * sysdeps/unix/bsd/ultrix4/waitpid.S (waitpid): Likewise. + * sysdeps/unix/bsd/ultrix4/mips/__handler.S (__handler): Likewise. + * sysdeps/unix/bsd/ultrix4/mips/sigvec.S (__raw_sigvec): Likewise. + * sysdeps/unix/bsd/ultrix4/mips/start.S (__start): Likewise. + * sysdeps/unix/bsd/ultrix4/mips/vfork.S (vfork): Likewise. + * sysdeps/mips/bsd-_setjmp.S (setjmp): Likewise. Use `$0' + instead of `zero' for the li instruction. - * login/pututline_r.c (pututline_r): Since we assign RESULT from - lseek now, check that it's >= 0, not == 0. + * sysdeps/unix/bsd/osf/alpha/start.S: Change comments to be + preprocessor comments, not assembler comments. + * sysdeps/unix/bsd/osf/alpha/brk.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/sysdep.h (NO_UNDERSCORES): Define. -Wed Jul 3 13:28:04 1996 Miles Bader <miles@gnu.ai.mit.edu> +Fri Apr 14 15:53:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * 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. + * malloc/malloc.c (register_heapinfo) [__GNUC__]: Use __inline__ + in place of inline. - * login/getutline_r.c (getutline_r): When we return ESRCH, mark - UTMP_DATA->ubuf invalid (by setting UTMP_DATA->loc_utmp to 0). +Thu Apr 13 09:45:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * Makefile (distribute): Add ChangeLog.[0-9]. - * 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. + * configure.in: Add check for .set directive. + * config.h.in: Add #undef HAVE_ASM_SET_DIRECTIVE. + * libc-symbols.h [! HAVE_ASM_SET_DIRECTIVE] (strong_alias, + strong_alias_asm): Use `foo = bar' syntax instead. - * extra-lib.mk: Fix typo in $(extra-libs-others) conditional. + * Makerules [! subdir] (O%-lib): Don't prepend ../. - * 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. + * sysdeps/generic/expm1.c: #undef expm1 before weak_alias. - * 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. + * configure.in: Fix AC_ARG_WITH uses; check for --with-fp. Move + $host_os checks to set gnu_ld/as and elf before sysdirs + generation. Fix $with_fp test. + [$elf=yes]: Prepend MACHINE/elf directory. - * 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. + * elf/libelf.h (elf_hash): Use XOR instead of ANDN when the bits + being cleared are already known to be set. Thanks Ulrich. - * misc/sys/select.h: #define __need_timespec before <sys/time.h> incl. - (struct timeval): Add bodiless decl for scope. +Wed Apr 12 23:27:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * 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. + * posix/environ.c: Add weak alias `_environ'. - * time/sys/time.h (TIMEVAL_TO_TIMESPEC): Use `tv_*' instead of `ts_*' - for `struct timespec' member names. - (TIMESPEC_TO_TIMEVAL): Likewise. +Tue Apr 11 20:38:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * nss/Makefile (extra-libs-others): New variable. + * sysdeps/i386/add_n.S [PIC]: Use self-call to avoid generating reloc. + * sysdeps/i386/sub_n.S [PIC]: Likewise. - * 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. +Mon Apr 10 14:53:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * elf/rtld.c: Define RTLD_BOOTSTRAP before #include "dynamic-link.h". - * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove weak decl for - _dl_rtld_map. - (RESOLVE): New macro, defined differently based on [RTLD_BOOTSTRAP]. - (elf_machine_rel): Use it instead of testing fn ptr arg at runtime. - (elf_machine_rel: case R_386_32) [! RTLD_BOOTSTRAP]: Declare - _dl_rtld_map weak only here. + * libc-symbols.h (_elf_set_element) [PIC]: Don't make the element + word `const'. - * posix/unistd.h [__USE_BSD]: Declare getdomainname, setdomainname. + * Makeconfig (CPPFLAGS, CFLAGS): Fix swapped references to + $(foo-$(suffix $@)). -Thu Jul 4 05:21:59 1996 David Mosberger-Tang <davidm@azstarnet.com> + * manual/Makefile (chapters-incl): Filter out summary.texi. - * login/utmp.h: Fix typos. + * stdlib/strtod.c (STRTOF): Use extra macro to make STRTOF's #defn + a weak symbol instead of literal "STRTOF". - * misc/syslog.c (vsyslog): Use __send instead of send and - __connect instead of connect to avoid name-space collisions (e.g., - with psgetty). + * locale/setlocale.c: Work around ld bug: don't weakify refs to + _nl_{current,C}_*. -Wed Jul 3 16:29:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> +Sun Apr 9 01:24:33 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * nss/getXXbyYY_r.c (REENTRANT_NAME): Cast FCT in __nss_next call. + * Makerules (+depfiles): Translate %.so to %.o in $(extra-objs). - * sysdeps/generic/sbrk.c: Always call __brk (0) to update __curbrk. + * malloc/free.c [emacs] (__malloc_safe_bcopy): Define to safe_bcopy. + * malloc/realloc.c (__malloc_safe_bcopy): Undefine before defining. - * malloc/malloc-size.c (malloc_usable_size): Renamed from - malloc_object_allocation_size. - * malloc/malloc.h: Fix decl. + * malloc/free.c (memmove, __malloc_safe_bcopy): Do include these + #ifdef emacs, but only #ifndef memmove. + * malloc/realloc.c [emacs] (__malloc_safe_bcopy): Just #define to + safe_bcopy. + (memmove): Define only if undefined. - * sys/select.h: New file, wrapper header. +Sat Apr 8 00:40:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * posix/sys/types.h [__USE_BSD]: Include <sys/select.h>; remove - fd_set, associated macros, and select decl. + * extra-lib.mk (install-lib, extra-objs, alltypes-$(lib)): Make + sure these are simply-expanded variables. - * sysdeps/posix/isfdtype.c: New file. + * locale/loadlocale.c (_nl_load_locale): Use MAP_INHERIT flag in + mmap call. -Tue Jul 2 23:45:14 1996 Ulrich Drepper <drepper@cygnus.com> + * configure.in (os=freebsd*|bsdi*): Set base_os=unix/bsd/bsd4.4 + for these too. - 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. + * sysdeps/unix/sysv/tcsetattr.c: Use |= instead of = to properly + set c_oflag value. - * locale/weight.h (get_weight): Cast constants to prevent - warnings. + * Makeconfig [! objpfx] (csu-objpfx): Add trailing slash. - * stdlib/strtod.c, stdlib/strtol.c, string/strcoll.c, - string/strxfrm.c: Add some more casts to prevent signed<->unsigned - warnings. + * locale/Makefile (categories): Uncomment collate. + * locale/lc-collate.c: New file. - 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(). + * malloc/free.c (__malloc_safe_bcopy, memmove): Don't define + #ifdef emacs. + * malloc/realloc.c: Likewise. - * 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. + * stdio/_itoa.h (_EXTERN_INLINE): Define if undefined. + (_itoa): Use it in defn. + * stdio/_itoa.c (_EXTERN_INLINE): Define to empty before #include + "_itoa.h". + (_itoa): Function removed. - * socket/Makefile (routines): Add isfdtype. - * sysdeps/generic/sys/socket.h: Add prototype for isfdtype. - * sysdeps/stub/isfdtype.c: New file. Stub implementation of - isfdtype. + * malloc/free.c: Remove use of `assert'. - * wcsmbs/wcrtomb.c (wcrtomb): Fix typo. + * malloc/realloc.c [! emacs] (safe_bcopy): Renamed to + __malloc_safe_bcopy; #define safe_bcopy. + * malloc/free.c: Cope with systems lacking `memmove'. + (_free_internal): Cast result of _malloc_internal. -Wed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> +Wed Apr 5 00:13:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * elf/Makefile (LDFLAGS-dl.so): New variable. - (libdl.so): Depend on eval.so. - (distribute): Add eval.c. - * elf/eval.c: New file. + * hurd/hurdinline.c: Include signal.h first, so we don't define + its inlines too. - * time/strftime.c (strftime: do_number): Adjust P and I after sprintf - in case it wrote fewer than MAXDIGITS chars. + * sysdeps/unix/sysv/sysv4/sigset.h (__sigfillset): Use ~0L instead + of -1 to avoid compiler warning. - * 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. + * configure.in (host_os=linux*): Set elf=yes for this, not just + linux*elf*. - * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Depend on libc.so. + * misc/login_tty.c [! TIOCSCTTY]: Try an emulation using ttyname + and open. - * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): Variable removed. - (libc.so): Instead, give this deps on lib{mach,hurd}user.so. + * sysdeps/i386/bsd-_setjmp.S: Fix typo in name: setjmp -> _setjmp. - * elf/dl-debug.c (_dl_debug_initialize): Use LDBASE arg instead of - extracting _dl_rtld_map.l_addr. +Tue Apr 4 00:48:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * 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 <roland@delasyd.gnu.ai.mit.edu> - - * 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. + * sysdeps/unix/start.c: Remove spurious decl and #endif. - * 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. + * misc/progname.c (program_invocation_name, + program_invocation_short_name): Make these initialized data + definitions. - * 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. + * sysdeps/mach/hurd/setitimer.c (fork_itimer): Add self reference + so gcc doesn't optimize out the function entirely. - * elf/linux-compat.c: File removed. - * elf/Makefile (distribute): Remove linux-compat.c. - (ld-linux.so.1): Remove target and associated variables. +Sun Apr 2 13:13:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * sunrpc/xdr.c: Remove malloc decl. - * sunrpc/portmap.c: Likewise. + * posix/execvp.c: Don't use stat to search path; just try execv + until it works. - * sunrpc/svc_tcp.c (abort): Don't declare. Instead define as macro - casting abort to fn returning bool_t. + * sysdeps/mach/hurd/i386/trampoline.c: Add a link to + SS->active_resources, so that _hurdsig_longjmp_from_handler will + be called when a longjmp unwinds the signal frame. + * sysdeps/mach/hurd/i386/sigreturn.c: Remove the link on the + SS->active_resources chain added by _hurd_setup_sighandler. + * hurd/sigunwind.c: New file. + * hurd/Makefile (sig): Add sigunwind. - * 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. + * Makerules (lib%.so: lib%_pic.a): Remove dir name from $*. - * Makeconfig (BUILD_CC): If undefined, define to $(CC). + * MakeTAGS (tags-sources): Include $(all-dist). + [subdir] (all-dist): Define to $(distribute). - * sunrpc/rpc/types.h: Include stdlib.h instead of declaring malloc. +Sat Apr 1 00:08:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * Makeconfig (built-program-cmd): Use $(rtld-installed-name) in place - of ld.so so lookups for that soname find it. + * Makerules (lib%.so: lib%_pic.a): Pass -L options for subdir and + parent objdirs. - * nss/Makefile (libnss_dns.so): Depend on libresolv.so. - (resobjdir, LDLIBS-nss_dns.so): Variables removed. + * extra-lib.mk (object-suffixes-$(lib)): New variable, produced by + filtering out $($(lib)-inhibit-o); use that instead of + $(object-suffixes) in all the other variables. - * 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. + * locale/loadlocale.c (_nl_load_locale) [MAP_FILE]: Define it zero + if undefined. - * nss/nss_files/files-XXX.c (internal_getent): Return - NSS_STATUS_TRYAGAIN for ERANGE error. + * string/strxfrm.c: Just copy the string (for now). + * string/strcoll.c: Just call strcmp (for now). - * sysdeps/i386/strtok.S (LreturnNULL): Save current state ptr instead - of null, so next round returns null again instead of bombing. Fix - from drepper. + * mach/Makefile (lock): Add mutex-init. + * mach/mutex-solid.c (_cthread_mutex_lock_routine, + _cthread_mutex_unlock_routine): Variables removed. + (__mutex_lock_solid, __mutex_unlock_solid): Don't use them; just stub. + (__mutex_init): Function moved to new file mutex-init.c. + * mach/mutex-init.c: New file, broken out of mutex-solid.c. - * 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. +Thu Mar 30 20:43:02 1995 Brendan Kehoe <brendan@zen.org> - * 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. + * sysdeps/mips/__longjmp.c (__longjmp): Take out CONST. + * sysdeps/alpha/__longjmp.c (__longjmp): Take out const. - * 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. +Thu Mar 30 01:38:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * time/europe, time/northamerica: Updated from ADO 96i. + * elf/elf.h (STN_UNDEF): New macro (distinct from SHN_UNDEF, though + both are zero). -Mon Jul 1 15:44:34 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> +Wed Mar 29 11:26:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * stdio-common/tst-ungetc.c: Include unistd.h. + * elf/dlfcn.h: New file. - * inet/Makefile (routines): Change getnetbypt to getnetbyad. + * Make-dist (README): Commit it to CVS if there is a CVS directory. -Mon Jul 1 13:32:42 1996 Miles Bader <miles@gnu.ai.mit.edu> + More changes from Germano Caronni <caronni@tik.ethz.ch>: + * malloc/free.c: Relocate _heapinfo when that allows us to return + core to the system. - * hurd/report-wait.c (describe_number): Make I unsigned long. + * malloc/malloc.c: Move #include <errno.h> outside #ifndef + _MALLOC_INTERNAL. - * login/login.c (login): Only Frob OLD->ut_type if getutline_r - actually found any entry. +Mon Mar 27 02:23:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * 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. + * mach/Makefile (headers): Add mach/mach_traps.h. -Mon Jul 1 12:29:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * Makerules ($(installed-libcs) rule): Fix typos. - * nss/Makefile (databases): Change host to hosts. - * nss/host-lookup.c: Renamed to nss/hosts-lookup.c. + * sysdeps/unix/bsd/bsd4.4/revoke.S: New file. + * sysdeps/stub/revoke.c: New file. + * misc/Makefile (routines): Add revoke. + * posix/unistd.h [__USE_BSD] (revoke): Declare it. + * sysdeps/generic/pty.c (openpty, forkpty): Declare return types. + (forkpty): Declare login_tty. + * misc/logwtmp.c (logwtmp): Declare to return void. + * misc/login_tty.c (login_tty): Include unistd.h. Declare return type. - * nss/nsswitch.c (nss_parse_service_list): Use const for NAME. + * posix/unistd.h [__USE_BSD] (ttyslot): Declare it. - * nss/nss_files/files-parse.c (parse_list): Correct alignment fixup. + * posix/unistd.h [__USE_BSD] (L_SET, L_INCR, L_XTND): Define + unless L_SET already defined. + * misc/sys/file.h (L_SET, L_INCR, L_XTND): Don't define if L_SET + already defined. - * string/string.h (strndupa): Pass missing arg to strnlen. + Incorporated -lutil library from 4.4-Lite. + * misc/Makefile (extra-libs, libutil-routines): New variables. + * misc/login.c, misc/login_tty.c, misc/logout.c, misc/logwtmp.c, + sysdeps/generic/pty.c: New files for -lutil incorporated from 4.4-Lite. - * 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. + Support simple, light-weight unwind-protect mechanism for longjmp. + * setjmp/longjmp.c: Call _longjmp_unwind first thing. + * sysdeps/mach/hurd/jmp-unwind.c: New file. + * sysdeps/stub/jmp-unwind.c: New file. + * sysdeps/i386/jmp_buf.h (_JMPBUF_UNWINDS): New macro. + * sysdeps/mips/jmp_buf.h (_JMPBUF_UNWINDS): New macro. + * setjmp/Makefile (routines): Add jmp-unwind. + * hurd/hurd/userlink.h (struct hurd_userlink): Move `next' and + `prevp' members into new substructure `resource'; add another such + substructure `thread' and members `cleanup' (function ptr) and + `cleanup_data' (generic ptr). + (_hurd_userlink_link, _hurd_userlink_unlink): Insert/remove LINK + into the `_hurd_self_sigstate ()->active_resources' list via the + `thread' substructure. + * hurd/hurd/port.h (_hurd_port_cleanup): Declare it. + (_hurd_port_locked_get): Set LINK->cleanup to _hurd_port_cleanup and + LINK->cleanup_data' to the port extracted. + * hurd/hurd/signal.h (struct hurd_sigstate): New member + `active_resources'. + * hurd/port-cleanup.c: New file. + * hurd/Makefile (routines): Add port-cleanup. -Sat Jun 29 01:08:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * malloc/malloc.c: Include errno.h. - * grp/getgrgid_r.c (LOOKUP_TYPE): Define to struct group, not - struct passwd. +Sat Mar 25 18:24:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Fri Jun 28 23:25:35 1996 Miles Bader <miles@gnu.ai.mit.edu> + * locale/loadlocale.c (_nl_load_locale): Avoid */ inside comment. - * login/login.c (login): Initialize DATA so that setutent_r will - actually do something. +Fri Mar 24 02:35:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Fri Jun 28 16:53:01 1996 David Mosberger-Tang <davidm@azstarnet.com> + * misc/Makefile (headers): Add utmp.h. + * misc/utmp.h: New file, incorporated from 4.4-Lite. - * resolv/res_hconf.c (strndup): Remove function. + * stdio/printf-parse.h: New file, mostly written by drepper. + * stdio/vfprintf.c: Rewritten, mostly by drepper. + * stdio/printf-prs.c: Rewritten. + * stdio/Makefile (distribute): Add printf-parse.h. - * nss/nsswitch.c (nss_lookup_function): Declare loadbase and ref - using ElfW() instead of Elf32_*. +Thu Mar 23 22:03:44 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * 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/start.c [! NO_UNDERSCORES]: Don't declare _start + with asm name. Just do a ".set start, __start". - * sysdeps/unix/alpha/sysdep.h: Undo PIC-optimization of syscall - error handling. It's safer that way. + * malloc/realloc.c: Call _free_internal instead of free. - * sysdeps/unix/alpha/sysdep.S: Make ldgp part of the prologue. - Fix by Richard Henderson. +Tue Mar 21 00:14:27 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix - typo/extraneous whitespace. + * locale/loadlocale.c (_nl_load_locale): If LOCALE/LC_* is a + directory, open LOCALE/LC_*/SYS_LC_* instead. - * sunrpc/xdr.c (xdr_int, xdr_u_int): Use <limits.h> to test - determine what integer sizes we're dealing with. +Mon Mar 20 03:19:23 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * stdio/fpioconst.c, stdio/fpioconst.h, stdio/gmp-impl.h, + stdio/gmp.h, stdio/longlong.h, stdio/mp_clz_tab.c, + stdio/gen-mpn-copy: Files moved to stdlib. + * stdio/Makefile: All mpn stuff moved to stdlib/Makefile. + * stdlib/Makefile: All the mpn stuff moved here from stdio/Makefile. + * stdio/printf_fp.c: Use ../stdlib to find fpioconst.h and gmp + headers. + * stdlib/strtod.c: Don't use ../stdio to find fpioconst.h and gmp + headers. + + * Makefile (parent-mostlyclean): Don't use $(libc.a). + (parent-clean): Use $(objpfx) to find sysd-*. + * Rules (generated): Append dummy.o dummy.c. + * Makerules (lib): Depend on lib-noranlib. + (lib-noranlib): Depend on $(install-lib) in objdir. + (common-mostlyclean): Remove $(install-lib) and stub-$(subdir) + from objdir. Don't remove TAGS; it comes in the distribution. + + * malloc/malloc.c (morecore): Save errno around call to + _realloc_internal. Don't account for the additional new blocks of + the info table itself when choosing the new table size for the + first crack; if it succeeds, the new blocks will have been found + in existing free space already described by the existing info + table. + + * stdio/vfscanf.c (%n): Use READ_IN - 1, so as not to count the + read-ahead character. + +Sat Mar 18 14:07:08 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * hurd/dtable.c, hurd/getdport.c, hurd/hurd.h, hurd/hurdexec.c, + hurd/hurdinit.c, hurd/hurdprio.c, hurd/hurdsock.c, + hurd/ports-get.c, hurd/ports-set.c, hurd/setauth.c, + hurd/setuids.c, sysdeps/mach/hurd/i386/trampoline.c: + Get anal with unsigned to pacify compiler. + + * stdio/vfscanf.c: Grok positional parameter specs (i.e. %3$d + means %d from 3rd arg). + + * sysdeps/mach/hurd/closedir.c: Include hurd/fd.h. + + * stdlib/strtol.c: If !GROUP, set END to null. In loop, test only + END, not GROUP. + +Fri Mar 17 12:58:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * Makefile (subdirs): Put elf last. + + * sunrpc/Makefile (install-lib): Variable removed. + (rpcsvc-objs): Variable removed. + (extra-objs): Don't include $(rpcsvc-objs). + (extra-libs): New variable, contains librpcsvc. + (librpcsvc-routines): New variable. + (librpcsvc-inhibit-o): New variable, contains .so. + (omit-deps): Set this to $(librpcsvc-routines). + ($(objpfx)rpcgen): Don't use $(libc.a). + (lib, $(objpfx)librpcsvc.a): Targets removed. + + * o-iterator.mk, extra-lib.mk: New files. + * Makerules (o-iterator): New variable. + [extra-libs]: Include extra-lib.mk to generate rules for each word + of $(extra-libs). + * Makefile (distribute): Add extra-lib.mk, o-iterator.mk. + +Fri Mar 17 13:28:04 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de> + + * sysdeps/ieee754/ldbl2mpn.c (__mpn_extract_long_double): + Handle 80-bit denormalized numbers correctly. -Fri Jun 28 15:46:02 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> + * stdlib/strtod.c, stdlib/strtof.c, stdlib/strtold.c: + (IMPLICIT_ONE, *_MAX_10_EXP_LOG): Macros removed; no longer needed. + * stdlib/strtod.c (RETURN): Add parentheses around return value. + (round_and_return): Correct handling of denormalized numbers. + + * stdio/fpioconst.c, stdio/fpioconst.h: Don't use + LDBL_MAX_10_EXP_LOG; LAST_POW10 defines the maximal available + exponent. + +Thu Mar 16 00:04:41 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * locale/C-ctype.c: New correct data generated by drepper. + + * Rules: Don't use $(libc.a). + + Parsing of grouped numbers contributed by Ulrich Drepper. + * stdlib/strtol.c (__strtol_internal): Renamed from strtol. Take + new flag arg; if nonzero, parse locale-dependent thousands + grouping and interpret only the prefix that is correctly grouped. + (strtol): Define this to call _strtol_internal with zero for the flag. + Use a weak symbol for the definition. + * stdlib/strtod.c (strtod, __strtod_internal): Likewise. + Check for the exponent of the number overflowing the float format. + * stdlib/stdlib.h (__strtof, __strtold): Declarations removed. + (__strto{f,d,ld,l,ul,q,uq}_internal): Declare these functions. + [__OPTIMIZE__]: Define inline functions calling those. + * stdlib/strtold.c (STRTOF): Set to strtold, not __strtold. + (strtold): Remove weak alias. + * stdlib/strtof.c (STRTOF): Set to strtof, not __strtof. + (strtof): Remove weak alias. + * stdlib/grouping.h: New file, written by drepper. + * stdlib/Makefile (distribute): Add grouping.h. + * stdio/vfscanf.c: Grok %' modifier to numeric conversions. Call + __strtoX_internal with the grouping flag set iff the modifier is + present. + +Wed Mar 15 00:40:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * sysdeps/generic/memchr.c: Fix typos: limit.h -> limits.h. + + * mach/Machrules: Produce static deps for all object flavors. + [interface-library]: Remove all these variables and rules. + ($(interface-library)-routines): Define this variable. + (extra-libs): Append $(interface-library) to this. + * mach/Makefile (interface-library): Omit .a suffix. + * hurd/Makefile: Likewise. - * hurd/hurdsig.c (_hurd_internal_post_signal): In pending signal - check for signal zero, repair logical sense of test by - parenthesizing correctly. +Tue Mar 14 23:40:31 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * stdio/internals.c (flushbuf): If !FLUSH_ONLY, don't skip out + early if no new data in buffer after priming. + +Mon Mar 13 01:48:16 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * Makerules (object-suffixes, libtypes): Move all these variables + to Makeconfig. + * Makeconfig (object-suffixes, libtypes): Moved here from Makerules. + + * Makerules (build-extra-lib): New canned sequence. + + * sysdeps/mach/hurd/euidaccess.c: Include fcntl.h. Declare ERR; + fix uses of FILE and PORT. Remove bogus weak alias for `access'. + + * sysdeps/mach/hurd/dirfd.c: Include hurd/fd.h and errno.h. + Add missing semicolon. + * sysdeps/mach/hurd/opendir.c: Include hurd/fd.h. Use a `struct + hurd_fd *' temp var, since DIRP->__fd is a `void *'. + * sysdeps/mach/hurd/readdir.c: Include hurd/fd.h. + + * stdlib/wcstombs.c: #if 0 out code for non-ASCII chars until the + locale data format is implemented. + + * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): + Pass &__sigreturn on the stack to the trampoline code, so it is + not position-dependent. + + * stdio/printf_fp.c (NDEBUG): Define this to disable assert. + Don't include <stdarg.h>. + (__printf_fp): Last arg ARGS is now `const void **const'; + dereference ARGS[0] instead of using va_arg. + + * locale/setlocale.c: In LC_ALL case, initialize CATEGORY before + loop to install data. + + * locale/loadlocale.c (_nl_category_num_items): Use _NL_ITEM_INDEX + to extract number from item code. + (_nl_load_locale): Close the descriptor when finished. + + * malloc/realloc.c (_realloc_internal): Call _malloc_internal in + place of malloc. + + * time/tzfile.c (__tzfile_default): Initialize RULE_STDOFF to zero. + + * stdio/printf_fp.c (group_number): Cast *GROUPING to unsigned int + to avoid warning. + * sysdeps/generic/sigset.h (__SIGSETFN): Cast result of sizeof to + int to avoid warning. + + Support building several flavors of objects and libraries. + * Makerules (libtypes, object-suffixes): New variables. + (libtype.*, CFLAGS-*, CPPFLAGS-*): New variables for each object + suffix. + (CFLAGS, CPPFLAGS): Append $(C{,CPP}FLAGS-$(suffix $@)). + (%.so, %.po, %.go): New compilation rules for %.S, %.s, %.c. + (close-check-inhibit-asm): Append a semicolon. + (sysd-rules): Generate rules for each object suffix. + (compile.S, compile.c): Always assume gcc. + (OUTPUT_OPTION): Define unconditionally. + (+make-deps): In generated rule, produce a dependent for each + object suffix. + (.SUFFIXES): Add $(object-suffixes) in place of .o. + (.PRECIOUS): Make all suffix flavors precious. + ($(libc.a)): Target removed. + (lib): Depend on each enabled libtype. + (libobjs, objects, objs): Depend on all the enabled object flavors. + (lib%.a): New pattern rule. + [$(build-shared)=yes] (lib%.so: lib%_pic.a): New pattern rule. + (stamp-$(subdir)): Rewritten to a pattern rule for stamp.%-$(subdir) + to make one for each flavor; library dep rule likewise rewritten. + ($(libc.a)(__.SYMDEF)): Target replaced with one target for each + flavor. + (symdef.%): New pattern rule; helper for __.SYMDEF targets. + (installed-libcs): New variable. + (install): Depend on that instead of + $(libdir)/lib$(libprefix)$(libc-name).a; + that file's rule rewritten to make each enabled libtype. + (install-lib.so): New variable, filters lib%.so from $(install-lib). + (install-lib): Filter out lib%.so after setting install-lib.so. + [$(build-shared)=yes] (install): Install $(install-lib.so). + (common-mostlyclean): Remove all flavors of objects. + * Makefile ($(libc.a)(__.SYMDEF)): Target removed. + [$(build-shared)=yes] (lib): Depend on $(common-objpfx)libc.so. + +Sun Mar 12 18:21:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * sysdeps/stub/ulimit.c: Don't include gnu-stabs.h. + * sysdeps/stub/pause.c: Likewise. + * sysdeps/stub/time.c: Likewise. - * hurd/hurdsig.c (_hurd_internal_post_signal): In - check-for-pending signals code, release _hurd_siglock before - jumping to deliver_pending. + * stdlib/mbtowc.c: #if 0 out code for non-ASCII chars until the + locale data format is implemented. + * stdlib/wctomb.c: Likewise. -Thu Jun 27 04:04:27 1996 David Mosberger-Tang <davidm@azstarnet.com> + * mach/Makefile ($(objpfx)errsystems.c): Reenable this rule; the + gcc bug is fixed. + * mach/errsystems.c: File removed. - * configure.in (config_machine): Make ELF the default even for - Linux/Alpha unless a configuration of the form *-*-linux*ecoff - is specified. + * Makeconfig (libc.a): Variable removed. + (+link): Don't use it. -Fri Jun 28 07:27:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * configure.in (AC_ARG_ENABLE calls): Use $enableval instead of + assuming `yes'. - * 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. + * malloc/malloc.h (_malloc_internal, _realloc_internal): Declare these. + * malloc/realloc.c (_realloc_internal): Renamed from realloc; + don't use __realloc_hook. + (realloc): New function; call __realloc_hook ?: _realloc_internal. + * malloc/malloc.c (_malloc_internal): Renamed from malloc; + don't use __malloc_hook. + (malloc): New function; call __malloc_hook ?: _malloc_internal. + Changes from Germano Caronni <caronni@tik.ethz.ch>: + (initialize): Set up _heaplimit to cover the _heapinfo table. + (morecore_recursing): New static variable. + (morecore): If that is set, return null immediately. + When growing the info table, before getting new core from the + system for it, set morecore_recursing and try moving _heapinfo + with _realloc_internal. When that fails and we get new core, set + _heaplimit to cover the core for the new _heapinfo table. + (register_heapinfo): New function. Record the _heapinfo table's + own blocks in that table and in the statistics variables. + (initialize, _malloc_internal): Use it after allocating new table. - * string/strndup.c: Add missing arg. +Fri Mar 10 22:26:28 1995 Jim Meyering (meyering@comco.com) - * string/string.h (strndupa): Likewise. - * string/strndup.c (strndup): Always terminate the string. + * sysdeps/generic/memchr.c: Remove ansidecl.h and clean up for use + by other packages. + [LONG_MAX <= LONG_MAX_32_BITS]: Don't compile 64-bit code. -Thu Jun 27 14:22:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Fri Mar 10 13:31:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * stdio/Makefile (routines): Add vscanf. - * stdio-common/Makefile (routines): Remove vscanf. - * stdio-common/vscanf.c: Move to ... - * stdio/vscanf.c: here. + * mach/errorlib.h (errors): Use const for decl. - * rpm/Makefile (headers, install-lib, install-lib.so, - versioned, install-bin, install-sbin, install-data, - install-others): Add $(-VARIABLE). + * time/tzfile.c (uc2ul, _uc2ul): Macros removed. + (decode): New inline function; decode signed 32-bit integers, and + sign-extend properly when long is longer than 32 bits. + (__tzfile_read): Changed all uses of uc2ul to decode. + Decode the transition times properly when sizeof (time_t) > 4. -Fri Jun 28 02:41:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * stdio/printf.h: Doc fixes. Don't #include <stddef.h>. + (printf_function): Make last arg ARGS a vector of pointers instead of a + pointer to va_list. - * nss/Makefile (databases): New variable. - (routines, libnss_files-routines): Use it. - (subdir-dirs): Compute from $(services). +Fri Mar 10 13:46:25 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de> - * sysdeps/unix/sysv/linux/syscalls.list (create_module, delete_module, - init_module, klogctl): Use EXTRA in the "caller" column so these get - added to unix-extra-syscalls and thus compiled in misc. + * stdio/vfprintf.c [USE_IN_LIBIO] (PAD): Use return value of _IO_padn. + (buffered_vfprintf): Remove line buffer when flush failed. - * string/Makefile (routines): Add strndup. - * string/strndup.c: New file. - * string/string.h: Declare strndup. - (strndupa): New macro. +Fri Mar 10 00:04:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * string/string.h: Declare __strdup. - * string/strdup.c: Deansideclized. Define __ name and weak alias. + * time/tzfile.c (struct ttinfo): New member `isgmt'. + (__tzfile_read): Read isgmt flags for each type. + (__tzfile_default): When using TZDEFRULES DST rules, adjust + transition times according to the isstd and isgmt flags for the + types of each transition, and adjust each transition to point to + type index either 0 or 1. Reset type indices 0 and 1 to describe + the user's settings. - * string/string.h: Don't define memccpy as macro for [__OPTIMIZE__]. +Thu Mar 9 22:29:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Thu Jun 27 02:49:28 1996 Ulrich Drepper <drepper@cygnus.com> + * locale/categories.def (LC_CTYPE): Merge CLASS_EB and CLASS_EL + into just CLASS. Add standard/optional flag to all items. - * catgets/gencat.c: Add casts to avoid signed<->unsigned warnings. + * locale/localeinfo.h (_NL_CURRENT_DEFINE): Fix typo. - * grp/initgroups.c (initgroups): De-ansi-fy. - Move declaration of NGROUPS and GROUPS outside #if so that - the code compiles for NGROUPS_MAX != 0. + * ctype/ctype.h [__BYTE_ORDER == __LITTLE_ENDIAN] (_ISbit): + Rearrange defn to satisfy compiler. - * inet/Makefile (headers): Add netinet/ether.h and netinet/if_ether.h. - (routines): Add ether_aton, ether_aton_r, ether_hton, ether_line, - ether_ntoa, ether_ntoa_r, and ether_ntoh. - * inet/ether_aton.c, inet/ether_aton_r.c, inet/ether_hton.c, - inet/ether_line.c, inet/ether_ntoa.c, inet/ether_ntoa_r.c, - inet/ether_ntoh.c: New files. Implementation of functions to - handle Ethernet address to host mapping. - * inet/netinet/ether.h: New file. Declare ether_* functions. - * netinet/ether.h: Wrapper around inet/netinet/ether.h for glibc - compilation. - * nss/ethers-lookup.c: New file. Lookup function for ethers database. - * nss/Makefile (routines): Add ethers-lookup. - (libnss_files-routines): Add files-ethers. + * locale/localeinfo.h: Declare _nl_current. - * nss/getXXent_r.c: Don't define set*ent and end*ent function - with _r suffix. + * configure.in: Use AC_CHECK_TOOL for CC, AR, RANLIB. Accept args + --enable-shared, --enable-profile, --enable-omitfp; pass settings + through to config.make. + * config.make.in (build-shared, build-profile, build-omitfp): New + config vars. - * 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. + * elf/elf.h (STN_UNDEF): Renamed to SHN_UNDEF (typo). + (DT_NUM): New macro. - * 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(). + * locale/nl_langinfo.c: Include errno.h and stddef.h. Fix typos. - * 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'. + * locale/lc-ctype.c (_nl_postload_ctype): Fix macro insanity. - * 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 <miles@gnu.ai.mit.edu> + * locale/loadlocale.c (_nl_load_locale) [! MAP_COPY]: Define + MAP_COPY to MAP_PRIVATE. - * hurd/get-host.c <fcntl.h>: New include. - * hurd/set-host.c <fcntl.h>: New include. - (_hurd_set_host_config): Include NEW in args to dir_link. - Return NWROTE, not NREAD. +Thu Mar 9 17:16:53 1995 Brendan Kehoe (brendan@zen.org) - * 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. + * sysdeps/alpha/divrem.m4: Undefine `ret' to avoid the definition + that's used inside the alpha sysdep.h. -Wed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * sysdeps/alpha/__longjmp.c (__longjmp): Remove obsolete __NORETURN + keyword. + * sysdeps/alpha/__math.h (__copysign): Remove obsolete __CONSTVALUE. - * nss/nss_files/files-parse.c (parse_list): Count null in EOL calc. + * configure.in: Match `osf*', not `osf1*'. + * configure: Likewise. + * sysdeps/unix/bsd/osf: Renamed from `sysdeps/unix/bsd/osf1'. - 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. +Wed Mar 8 13:38:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * nss/network-lookup.c (DEFAULT_CONFIG): New macro. - * nss/host-lookup.c (DEFAULT_CONFIG): New macro. + * posix/glob/configure.bat: Fixes from DJ. - * nss/nsswitch.c (nss_parse_service_list): Use __strncasecmp instead - of strncasecmp. Extend syntax to grok [!foo=bar]. + * time/backward, time/europe, time/northamerica, time/pacificnew, + time/zdump.c, time/zic.c, time/tzfile.h, time/private.h, + time/ialloc.c: Code and data updated from ADO's 95b. + * time/emkdir.c: File removed. + * time/Makefile (distribute, extra-objs, zic): Omit it. - * sysdeps/generic/strncase.c: Define __strncasecmp with strncasecmp as - weak alias. - * string/string.h: Declare __strncasecmp. + * time/localtime.c: Deansideclized. Never #define __tzname et al + to non-__ names. - * 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. + * locale/lc-ctype.c (__ctype_tolower, __ctype_toupper): Use int * + instead of short int *. + * ctype/ctype-info.c: Likewise. + * ctype/ctype.h: Likewise. - * grp/initgroups.c: Rewritten using getgrent. Handle unlimited group - list size. + * locale/langinfo.h (_NL_CTYPE_CLASS): Use this (just one) instead + of EB and EL versions. + +Mon Mar 6 12:34:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * ctype/ctype.h (_ISbit): New macro, defined dependent on byte order. + (_IS* enum): Use _ISbit to produce values. + +Sun Mar 5 19:40:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * locale/localeinfo.h: Rewritten for new locale system, using + locale data files and with <langinfo.h> interface. + * locale/setlocale.c: Rewritten to use locale data files. + * langinfo.h: New file. + * locale/langinfo.h: New file. + * locale/nl_langinfo.c: New file. + * locale/loadlocale.c: New file. + * locale/lc-ctype.c: New file. + * locale/lc-messages.c: New file. + * locale/lc-monetary.c: New file. + * locale/lc-numeric.c: New file. + * locale/lc-time.c: New file. + * locale/categories.def: New file. + * locale/Makefile (headers): Remove localeinfo.h. + (distribute): New variable; put localeinfo.h here, and categories.def. + (routines): Add loadlocale. + (categories): New variable. + (aux): Use that to get C-category and lc-category. + * ctype/ctype.h (_IS*): Use independent bits for all but _ISalnum. + * ctype/ctype-info.c: For initial tables, use + _nl_C_LC_CTYPE_{class,toupper,tolower} constant tables defined in + locale/C-ctype.c. + * locale/C-ctype.c, locale/C-messages.c: New files. + * locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c: + Default "C" locale data updated for new locale system. + * locale/C-collate.c: File removed. + * locale/C-ctype_ct.c: File removed. + * locale/C-ctype_mb.c: File removed. + * locale/C-response.c: File removed. + * locale/localeconv.c: Use _NL_CURRENT macro to access locale data. + * stdio/printf_fp.c, stdio/vfprintf.c, stdio/vfscanf.c, + stdlib/strtod.c, time/asctime.c, time/strftime.c: + Include ../locale/localeinfo.h and use _NL_CURRENT macro to access + locale data. + * time/localtime.c: Don't include <localeinfo.h>. + * time/tzset.c: Don't use locale items for default TZ value or + "GMT" string (use "UTC"). + + * stdio/vfprintf.c [USE_IN_LIBIO] (PAD): Only call the function if + WIDTH>0; update DONE. + + * malloc/malloc.c (morecore): Fix last change to calculate by + blocks instead of bytes. + +Fri Mar 3 12:24:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * sysdeps/generic/sys/mman.h (__mmap, __munmap): Declare these. + * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise. + * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise. + * sysdeps/unix/bsd/osf1/sys/mman.h: Likewise. + * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise. + * sysdeps/stub/munmap.c (munmap): Rename to __munmap, add weak + alias munmap. + * sysdeps/unix/mman/munmap.S: Likewise. + * sysdeps/mach/munmap.c: Likewise. + * sysdeps/mach/hurd/mmap.c (mmap): Rename to __mmap, add weak + alias mmap. + * sysdeps/unix/mman/mmap.S: Likewise. + * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise. + * sysdeps/stub/mmap.c: Likewise. - * sunrpc/xdr.c (xdr_int): #if 0 out unresolved references in dead code. + * sysdeps/unix/bsd/setsid.c: Use __getpgid instead of __getpgrp. -Wed Jun 26 01:56:50 1996 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/dirfd.c: #undef dirfd before function defn. - * 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'. +Thu Mar 2 12:15:24 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Tue Jun 25 17:22:55 1996 Miles Bader <miles@gnu.ai.mit.edu> + * misc/search.h: Add missing semicolon. - * sysdeps/mach/hurd/getcwd.c - (_hurd_canonicalize_directory_name_internal): Initialize PARENT to - THISDIR, and don't ever deallocate PARENT unless it's != THISDIR. + * sysdeps/unix/dirfd.c: Fix typo. -Tue Jun 25 10:58:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * sysdeps/generic/sys/mman.h (mmap): Use __off_t instead of off_t + in decl. - * inet/getrpcent.c: Fix macros. - * inet/getrpcent_r.c: Fix macros. + * stdio/vfscanf.c (%c): In no-assign case, fix loop to decrement + WIDTH before test. - * elf/dlsym.c (dlsym): Search the global scope if HANDLE is null. +Wed Mar 1 00:57:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * elf/dl-load.c (_dl_map_object_from_fd): Initialize L. + * stdlib/strtod.c: Fixes from drepper. + [IMPLICIT_ONE]: New macro, one for IEEE754 formats. + * stdlib/strtold.c [IMPLICIT_ONE]: New macro, 0. + * stdlib/strtof.c [IMPLICIT_ONE]: New macro, 1. -Tue Jun 25 09:55:47 1996 David Mosberger-Tang <davidm@AZStarNet.com> + * stdio/vfprintf.c: Correctly notice Z modifier. - * 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. + * misc/search.h: New file. + * misc/Makefile (headers): Add search.h. + * misc/insremque.c: Include search.h. + (struct qelem): Type removed. -Sat Jun 22 13:05:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> +Mon Feb 27 07:00:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * locale/Makefile (distribute): Add `programs/' prefix to all - files in that directory. + * elf/libelf.h: New file. + * elf/elf_hash.c: New file. - * Makerules (distinfo-vars): Assign subdir directly so that `ifdef - subdir' works. +Sun Feb 26 15:51:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * MakeTAGS (sources, headers): Make them simply expanded variables - so that all-dist is expanded before it is changed. + Changes from Germano Caronni <caronni@tik.ethz.ch>: + * malloc/malloc.c (morecore): Account in NEWSIZE for the + malloc_info structures for each new block. -Tue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> +Sat Feb 25 02:17:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * Make-dist (dist): Don't depend on crypt tar file. Remove that rule. - * Makefile (subdirs): Remove crypt. - * crypt: Directory removed. It will be made an independent library - distribution. + * sysdeps/mach/hurd/kill.c: When the process has no message port + registered and we have its task port, translate a few signals to + task_suspend/task_resume/task_terminate. - * Makefile (distribute): Add rpm/{Makefile,teplate,rpmrc}. +Fri Feb 24 14:40:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * inet/getrpcent_r.c (DATABASE_NAME): New macro. + * io/Makefile (routines): Add euidaccess. + * sysdeps/mach/hurd/euidaccess.c: New file. + * sysdeps/stub/euidaccess.c: New file. + * posix/unistd.h [__USE_GNU] (euidaccess): Declare it. - * inet/getrpcbynumber.c (BUFLEN): New macro. + * dirent/Makefile (routines): Add dirfd. + * sysdeps/stub/dirfd.c: New file. + * sysdeps/unix/dirfd.c: New file. + * sysdeps/unix/dirstream.h (_DIR_dirfd): New macro. + * dirent/dirent.h (dirfd): Declare new function. Define as macro + _DIR_dirfd if that is defined. + * sysdeps/mach/hurd/dirstream.h (DIR): Replace `__port' member + with `void *__fd'. + * sysdeps/mach/hurd/opendir.c: Use DIRP->__fd instead of DIRP->__port. + Open the file with `open'; set FD_CLOEXEC on the fd. + * sysdeps/mach/hurd/closedir.c: Likewise. + * sysdeps/mach/hurd/readdir.c: Likewise. + * sysdeps/mach/hurd/dirfd.c: New file. - * configure.in (--no-whole-archive check): Remove backslashes in cmd. + * posix/Makefile (glob/configure): Do cvs commit if there is a CVS + directory. + (glob/ChangeLog): Likewise. - * Makefile (headers): Add libc-lock.h. - * sysdeps/stub/libc-lock.h: New file. + * locale/locale.h (LC_*): Use small integers instead of bit masks. - * inet/getrpcbynumber.c: Remove _r typo. + * stdio/bug4.c: Put temporary files in /tmp. + * stdio/bug3.c: Likewise. + * stdio/bug5.c: Likewise. + * stdio/test-fseek.c: Likewise. + * stdio/test-popen.c: Likewise. - * elf/dl-load.c (_dl_map_object): Fix typo in last change. +Wed Feb 22 00:44:41 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * nss/nss_files/files-parse.c (parse_list): Reset ELT for elements - after the first! + * posix/glob/configure.in: Put AC_ISC_POSIX before AC_CONST. - * 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. + * libc-symbols.h (weak_symbol): New macro. - * grp/fgetgrent.c (LINE_PARSER): Pass zero SWALLOW arg for fields. - * pwd/fgetpwent.c: Likewise. + * hurd/hurdsig.c (_hurd_internal_post_signal): Ignore preempter + elts with null handlers. - * 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. + * sysdeps/mach/hurd/i386/sigreturn.c: Restore the FPU state. - * malloc/malloc-find.c (malloc_find_object_address): Return null if - PTR is outside the heap. +Tue Feb 21 21:53:30 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * elf/dl-load.c (_dl_map_object): If the requested name matches the - soname of a loaded object, use that object. + * stdlib/random.c (__srandom): Change algorithm used to populate + the state array. + (randtbl): Recomputed with new algorithm. -Mon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * sysdeps/sparc/Makefile [subdir=crypt] (crypt): Reset only if set + to original value of `crypt'. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile [subdir=crypt] + (crypt): New variable, set to crypt.solar. - * Makefile (subdirs): Add nss. +Tue Feb 21 11:50:37 1995 Brendan Kehoe (brendan@zen.org) - * 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. + * sysdeps/sparc/Makefile (routines): Reference `dotmul', not `mul'. - * nss/getXXent_r.c (REENTRANT_GETNAME): Clear NO_MORE when NIP is - non-null on entry. + * config.h.in: Put comment around ^L to pacify Solaris as here too. - * Makeconfig (rpath-link): Add $(nssobjdir). - (nssobjdir): New variable. +Tue Feb 21 00:10:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * 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. + * string/Makefile (distribute): Add pagecopy.h. + * sysdeps/mach/pagecopy.h: New file. + * sysdeps/generic/pagecopy.h: New file. + * sysdeps/generic/memcpy.c: Include pagecopy.h; call + PAGE_COPY_FWD_MAYBE first when word aligned. + * sysdeps/generic/memmove.c: Likewise. - * 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. + * misc/bsd-compat.c (longjmp, setjmp): Functions removed. + (getpgrp): Call __getpgid instead of __getpgrp. - * 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. + * Makefile (subdirs): Add elf first. + * elf/Makefile: New file. + * elf/elf.h: New file. - * nss/Makefile (subdir-dirs): New variable; use it in vpath. + * sysdeps/unix/start.c (errno): Only define if it's not #define'd + as a macro. + [! NO_UNDERSCORES]: Define `start' as a weak alias, not a symbol + indirection. - * 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. + * csu/Makefile (crtstuff): New variable consolidates crti, crtn; + add crti_s, crtn_s. + (install-lib, extra-objs, generated-, omit-deps): Use that. + (initfini): New canned sequence, broken out of crt[in].s rule. + (crt[in].s rule): Use it. + (crt[in]_s.s): New rule. + * csu/initfini.c (GLOBAL): New macro; define it to empty if undefined. + (_init, _fini): Use GLOBAL as storage class. + Add self reference to avoid GCC optimizing out the functions. - * nss/Makefile (libnss_files-routines): Remove files-host. - Add files-hosts, files-grp, files-pwd. + * Makefile (headers): Remove $(stddef.h). + * Makeconfig (stddef.h): Variable removed; now require gcc version + >= 2.2. + * stddef.h: File removed. - * nss/nss_dns/dns-network.c: Don't include <pthread.h>. +Mon Feb 20 19:42:31 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Mon Jun 24 22:39:12 1996 Richard Henderson <rth@tamu.edu> + * sysdeps/unix/bsd/ultrix4/mips/start.S: Remove `__environ' + definition. + * sysdeps/unix/bsd/osf1/alpha/start.S: Likewise. - * 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. + * stdlib/strtod.c: Allow the string to start with a decimal point + without a leading zero. -Sun Jun 23 15:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> +Mon Feb 20 04:04:57 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu> - * time/Makefile ($(installed-localtime-file) rule): Do - $(make-target-directory) first. + * Makefile (subdirs): Put csu first. - * resolv.h: Fix wrapper for resolv/resolv.h. + * sysdeps/mach/hurd/start.c: Include unistd.h for __environ decl. - * 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. + * Makeconfig [elf=yes] (+preinit, +postinit): New variables, set + to crt[in].o. + (csu-objpfx): New variable. + (+link): Use it to find start.o and $(+preinit), $(+postinit). - * shlib-versions (*-*-*): Set libresolv=2, libnss_files=1, - libnss_dns=1. + * Rules (subdir_lib, all): Depend on objs. -Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com> + * config.h.in [HAVE_ELF || HAVE_GNU_LD]: Define HAVE_WEAK_SYMBOLS. - * 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*. + * stdlib/strtod.c (PASTE, PASTE1): New helper macros; use these in + access to float.h macros. - * resolv/netdb.h (_PATH_NSSWITCH_CONF): New macro. + * misc/efgcvt.c: New file. + * misc/Makefile (routines): Add efgcvt. - * inet/herrno.c: New file. +Sun Feb 19 20:10:43 1995 Brendan Kehoe <brendan@zen.org> - * resolv/res_init.c: Remove res_hconf calls. + * sysdeps/sparc/mul.S: Renamed to `dotmul.S'. + * sysdeps/sparc/Makefile (routines): Reference `dotmul.S', not `mul.S', + to avoid a misreference that would override sysdeps/generic/mul.c. + * sysdeps/sparc/Dist: Likewise. - * nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c, - nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c, - nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c, - nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c, - nss/service-lookup.c: New files. Implementation of name - service switch, following the approach in Solaris. - Interface specification and general structure inspired by Peter - Eriksson <pen@lysator.liu.se>. - * nss/nss_files/files-host.c, nss/nss_files/files-network.c, - nss/nss_files/files-proto.c, nss/nss_files/files-service.c: - Implementation of libnss_files.so module for file based databases - in NSS service. - * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation - if libnss_dns.so module for DNS name lookup in NSS service. +Sun Feb 19 17:46:13 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu> - * inet/getproto.c, inet/getprtent.c, inet/getprtname.c, - inet/getservent.c, inet/getsrvbynm.c, inet/getsrvbypt.c: - Changed to serve as interface to NSS. - * inet/gethstbyad.c, inet/gethstbyad_r.c, inet/gethstbynm.c, - inet/gethstbynm2.c, inet/gethstbynm2_r.c, inet/gethstbynm_r.c, - inet/gethstent.c, inet/gethstent_r.c, inet/getnetbynm.c, - inet/getnetbynm_r.c, inet/getnetbypt.c, inet/getnetbypt_r.c, - inet/getnetent.c, inet/getnetent_r.c, inet/getproto_r.c, - inet/getprtent_r.c, inet/getprtname_r.c, inet/getservent_r.c, - inet/getsrvbynm_r.c, inet/getsrvbypt_r.c: New files. Implement - interfaces to NSS, including reentrant functions. + * posix/Makefile (aux): Add environ. + * posix/environ.c: New file. + * sysdeps/unix/sparc/start.c: Remove __environ definition. + * sysdeps/unix/start.c: Likewise. + * sysdeps/unix/sysv/irix4/start.c: Likewise. + * sysdeps/mach/hurd/start.c: Likewise. + * sysdeps/mach/start.c: Likewise. + * sysdeps/stub/start.c: Likewise. + + * sysdeps/unix/make_errlist.c: In produced program, test + HAVE_WEAK_SYMBOLS instead of HAVE_GNU_LD. + * sysdeps/unix/sysv/sysv4/dup2.c: Fix #include of renamed file. + Remove extra weak alias. + + * sysdeps/unix/sysv/sysv4/sigaltstack.S: Fix unsquashed file name + in #include. + + * libc-symbols.h: Put comment around ^L to pacify Solaris as. + + * sysdeps/posix/Makefile (cded-objdir-includes): New variable + replaced cded-objdir-CPPFLAGS; transform $(+includes) instead of + $(CPPFLAGS). + (mk-stdiolim): Use it instead. + +Fri Feb 17 12:16:27 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu> + + * mach/mach_init.c (__vm_page_size): Make it initialized. It does + not work to make a weak alias to a bss symbol. + + * stdio/Makefile (distribute): Remove mpn-copy.mk; add gen-mpn-copy. + (tests): Add test-fwrite. + * stdio/test-fwrite.c: New file. + + * stdlib/stdlib.h [__USE_GNU]: Declare strtof, strtold, __strtof, + __strtold. + + * Makefile (autoconf-it): New canned sequence. Do cvs commit if + there is a CVS directory. + (configure, %/configure): Use $(autoconf-it) for cmds. + * Make-dist: Likewise. + * sysdeps/mach/hurd/Makefile (errlist.c, errnos.h): Do cvs commit + if there is a CVS directory. + * sysdeps/sparc/Makefile (divrem output): Likewise. + * sysdeps/alpha/Makefile (divrem output): Likewise. + * Makerules ($(gpl2lgpl)): Likewise. + + * Makerules (rule to install lib%.a from $(install-lib)): Fix + patsubst to elide ranlib for $(non-lib.a). + + * stdio/tst-printf.c: Enable FP tests. Add some new tests from rfg. + +Thu Feb 16 04:06:06 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu> + + * sysdeps/mach/hurd/mig-reply.c: Add weak aliases to non-__ names. + * mach/mig-dealloc.c: Add weak alias mig_deallocate. + +Wed Feb 15 13:34:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Take new arg + DEALLOC_REFPORT; deallocate the refport after use only if it + evaluates to nonzero. + * sysdeps/mach/hurd/kill.c: Pass DEALLOC_REFPORT arg of one. + * hurd/hurdkill.c: Pass DEALLOC_REFPORT arg of zero. + + * hurd/hurdsig.c (abort_rpcs): Take new arg int *STATE_CHANGE; set + *STATE_CHANGE to indicate whether or not we changed *STATE and it + should be committed to the thread. + (abort_all_rpcs): Take new arg LIVE; if nonzero and abort_rpcs changes + state for a thread, do thread_set_state on that thread. Don't use + SS->intr_port for collecting reply ports, it is not safe to + clobber that when suspending; instead, alloca a temporary array. + (_hurd_internal_post_signal): Pass LIVE flag to abort_all_rpcs: + zero when dying, one when suspending. Pass new arg to abort_rpcs. + + * sysdeps/mach/hurd/stdio_init.c: Don't lock the file descriptor; + HURD_FD_PORT_USE will. Don't use critical sections around + HURD_FD_PORT_USE invocations. + + * sysdeps/mach/hurd/stdio_init.c: Don't make pipes/FIFOs unbuffered. + * sysdeps/posix/stdio_init.c: Likewise. + +Tue Feb 14 03:01:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * hurd/hurd/fd.h (_hurd_fd_get): Don't do critical section + locking; don't leave the descriptor locked on return. + (HURD_FD_PORT_USE): Don't expect _hurd_fd_get to return the fd locked. + Use a critical section around locking the descriptor. + Check for an empty descriptor and return EBADF. + * sysdeps/mach/hurd/dup2.c: Likewise. + * sysdeps/mach/hurd/fcntl.c: Likewise. + Use HURD_FD_PORT_USE macro for RPCs. + * sysdeps/mach/hurd/sysd-stdio.c: Don't lock the descriptor before + using HURD_FD_PORT_USE. + * sysdeps/mach/hurd/defs.c (init_stdio): Don't expect _hurd_fd_get + to lock the descriptor. + * sysdeps/mach/hurd/stdio_init.c: Use critical sections while + locking the descriptor. + * sysdeps/mach/hurd/fdopen.c: Likewise. + * hurd/fd-close.c: Likewise. + Don't expect the descriptor to be locked on entry. + Check for empty descriptor and return EBADF. + + Factor ctty RPC code for SIGTTIN/SIGTTOU generation out into + new functions _hurd_ctty_input and _hurd_ctty_output, each + called with (io_t port, io_t ctty, error_t (*rpc) (io_t)). + * hurd/ctty-input.c: New file. + * hurd/ctty-output.c: New file. + * hurd/Makefile (dtable): Add ctty-input and ctty-output. + * hurd/fd-read.c: Use _hurd_ctty_input. + * hurd/fd-write.c: Use _hurd_ctty_output. + * sysdeps/mach/hurd/ioctl.c: Likewise. + * hurd/hurd/fd.h (_hurd_ctty_input, _hurd_ctty_output): Declare them. + +Mon Feb 13 11:36:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * stdio/vfscanf.c (%e, %f, %g): Use strtod, __strtold, or __strtof + as appropriate to the type. + + * sysdeps/ieee754/huge_val.h (__huge_val_t): New macro to avoid + repeating the union. + (HUGE_VAL, __huge_val): Use it. + [__USE_GNU] (HUGE_VALf, HUGE_VALl): New macros, along with + analogous macros to HUGE_VAL's: __huge_val[fl]_t, __HUGE_VAL[fl]_bytes. + * stdlib/strtold.c (FLOAT_HUGE_VAL): Define this to HUGE_VALl. + (STRTOF): Set to __strtold; define strtold as weak alias. + * stdlib/strtof.c (FLOAT_HUGE_VAL): Define this to HUGE_VALf. + (STRTOF): Set to __strtof; define strtof as weak alias. + + * sysdeps/ieee754/ieee754.h (union ieee754_float): New type. + (IEEE754_FLOAT_BIAS): New macro. + + * sysdeps/ieee754/mpn2ldbl.c: Fix typos. + + * stdlib/testmb.c: Add tests from rfg for using normal chars as + multibyte chars. + + * hurd/hurdmalloc.c (malloc_init): Add self reference to avoid not + only the `defined but not used' warning, but also to avoid GCC + optimizing out the entire function (!). + + * stdlib/wctomb.c: Include ctype.h. + + * Makerules (install-lib-non.a): Don't include $(non-lib.a). + + * hurd/hurdmalloc.c: Include string.h; #define bcopy using memcpy. + +Sat Feb 11 04:05:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * stdio/printf_fp.c: Include "fpioconst.h". + (_tens_p): Table moved to fpioconst.c, renamed to _fpioconst_pow10. + (__printf_fp): All references changed. + Don't bother computing THOUSANDS_SEP if GROUPING is empty. + (group_number): Use memmove instead of memcpy, since operands overlap. + * stdio/fpioconst.c: New file, tables broken out of stdio/printf_fp.c. + * stdio/fpioconst.h: New file, header declaring the table data. + * stdio/Makefile (aux): Add fpioconst. + (distribute): Add fpioconst.h. + * stdlib/strtod.c: Complete rewrite from drepper. + * stdlib/strtof.c: New file. + * stdlib/strtold.c: New file. + * stdlib/Makefile (routines): Add strtof, strtold. + * stdio/Makefile (routines): Add mpn2flt, mpn2dbl, mpn2ldbl. + * sysdeps/stub/mpn2flt.c: New file. + * sysdeps/stub/mpn2dbl.c: New file. + * sysdeps/stub/mpn2ldbl.c: New file. + * sysdeps/ieee754/mpn2flt.c: New file. + * sysdeps/ieee754/mpn2dbl.c: New file. + * sysdeps/ieee754/mpn2ldbl.c: New file. + + * Makerules (install-lib.a): Don't filter out $(non-lib.a). + ($(install-lib.a) in $(libdir) rule): Elide ranlib command when $@ + appears in $(non-lib.a). + +Fri Feb 10 17:20:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * stdlib/wctomb.c: A normal ASCII character translates to itself. + * stdlib/mbtowc.c: Likewise. + +Thu Feb 9 03:55:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * setjmp/setjmp.h (longjmp, _longjmp, __longjmp, siglongjmp): + Remove `const' from prototypes. + * sysdeps/m68k/__longjmp.c: Likewise. + * setjmp/longjmp.c: Likewise. + * sysdeps/i386/__longjmp.c: Likewise. + + * sysdeps/posix/tempname.c: Increment *IDX at beginning of loop, + so when we return a name, it is incremented past the value that + produces that same name. + + * stdio/fgets.c (fgets): Change `size_t' to `int' in prototype. Sigh. + * stdio/stdio.h (fgets): Likewise. + + * stdio/vfprintf.c (printf_unknown): Print ' for INFO->group flag. + + * hurd/fd-write.c: Don't clobber ERR with the msg_sig_post call + when it's EBACKGROUND; we need to notice that it is EBACKGROUND + and retry the RPC. + * hurd/fd-read.c: Likewise. + +Wed Feb 8 05:01:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * sysdeps/mach/sysdep.h (FATAL_PREPARE_INCLUDE): New macro, set to + <mach/mig_support.h>. + * assert/assert-perr.c [FATAL_PREPARE_INCLUDE]: Include it. + * assert/assert.c: Likewise. + * sysdeps/posix/libc_fatal.c: Likewise. + +Tue Feb 7 12:17:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * resolv/getnetbyaddr.c, resolv/getnetbyname.c, resolv/getnetent.c, - resolv/sethostent.c: Removed: Obsoleted by NSS. + * stdio/stdio.h [__STRICT_ANSI__] (stdin, stdout, stderr): Define + as macros, to satisfy ANSI pedants. - * resolv/mapv4v6addr.h, resolv/mapv4v6hostent.h: Extracted from - gethnamaddr.c. These private functions are now used in more - than one file. + * stdio/internals.c (flushbuf): When there is no new data after + priming the stream, return without writing out the buffer. + * stdio/Makefile (tests): Add bug7. + * stdio/bug7.c: New file. - * resolv/inet_pton.c, resolv/gethnamaddr.c: Updated to bind-4.9.4-T5B. + * io/sys/stat.h (S_IFIFO, S_IFLNK, S_IFSOCK, S_ISFIFO, S_ISLNK, + S_ISSOCK): Define only if the corresponding underlying __S_IF* macro + is defined. -Sat Jun 22 16:49:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * stdio/getdelim.c: Decrement COPY after getting a char from __fillbf. - * rpm/Makefile ($(config)): Make sure the word list in the for - loop is syntactically non-empty. + * stdio/Makefile (tests): Add errnobug. + * stdio/errnobug.c: New file. -Sat Jun 22 21:29:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * mach/mig_strncpy.c: Include string.h. - * Version 1.92 test release. + * sysdeps/mach/sysdep.h: Don't #include <mach/mig_support.h>. Its + inlines cause trouble for files defining global register variables. -Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com> + * stdio/vfprintf.c: Use _strerror_internal for %m. - * sysdeps/unix/sysv/linux/syscalls.list (ksyslog_ctl): Rename - to klogctl to match prototype in sys/klog.h. + * sysdeps/ieee754/dbl2mpn.c: Fixes from drepper for 64-bit limbs. - * sysdeps/posix/libc_fatal.c: Add include of <string.h>. - * sysdeps/unix/sysv/linux/gethostid.c: Ditto. + * stdio/printf.h (struct printf_info): New member `group', for %' flag. + * stdio/printf-prs.c (parse_printf_format): Grok %' flag and set flag. + * stdio/vfprintf.c (group_number): New function. + (vfprintf): Support %' flag for integer formats, by calling + group_number after formatting the number in WORK. + * stdio/printf_fp.c (guess_grouping, group_number): New functions. + (__printf_fp): Implement `group' flag using them. - * 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==".". + * Makefile (include sysd-dirs): Protect with ifndef avoid-generated. + (parent-clean): Remove sysd-rules, not sysdirs. + (distclean): Pass avoid-generated=yes to submake. + (distclean-1): Remove $(sysdep-$(distclean-1)). - * sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants - only when building ELF version of library. + * Makerules (objects, objs): Depend on $(extra-objs) too. + (include sysd-Makefile): Protect with ifndef avoid-generated. - * libio/libioP.h (_IO_vscanf): Add prototype. + * Makeconfig (+defines, +gnu-stabs, gnu-as): Variables removed. + (CPPFLAGS): Use $(defines) in place of $(+defines). + Replace -D_LIBC with -include $(..)libc-symbols.h. - * posix/unistd.h (syscall): Change sysno arg and return value - to int long. + * stdio/freopen.c: Set seen bit before calling fclose. -Sat Jun 22 10:44:09 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> +Mon Feb 6 18:34:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * version.h (VERSION): Updated to 1.92. + * sysdeps/mach/hurd/setpriority.c: Keep track of numbers of + successes and each kind of failure. Return EPERM or EACCES only + if every task failed that way. - * misc/Makefile (headers): Add ar.h. - * misc/ar.h: New file. + * sysdeps/mach/hurd/getpriority.c: Handle out of band buffers + correctly. - * config.make.in (BUILD_CC): New variable. - * configure.in: Check for BUILD_CC if $host != $build. + * sysdeps/mach/hurd/ptrace.c (PTRACE_ATTACH, PTRACE_DETACH): Stop + or resume the process after frobbing. + + * hurd/hurdsig.c: Use spin lock operations on sigstate locks + throughout. + (_hurd_thread_sigstate): Don't lock the sigstate lock. + (_hurd_internal_post_signal): New subfunction `mark_pending'; replace + repeated sequences with calls to it. Don't expect the sigstate + lock to be held on entry; lock it just before examining sigaction. + In handler case, check SS->critical_section after calling + abort_rpcs; if set, mark the signal pending and resume the thread. + * hurd/hurd/signal.h (_hurd_self_sigstate_unlocked): Function removed. + (_hurd_self_sigstate): Don't lock the sigstate lock. + (HURD_EINTR_RPC): Call _hurd_self_sigstate instead of + _hurd_self_sigstate_unlocked. + * hurd/msgportdemux.c: Don't expect _hurd_self_sigstate to lock + the sigstate lock. + * hurd/hurdexec.c: Use spin lock operations on sigstate lock. + Don't expect _hurd_self_sigstate to lock it. Fix critical section + locking. + * hurd/hurd-raise.c: Likewise. + * sysdeps/mach/hurd/sigsuspend.c: Likewise. + * sysdeps/mach/hurd/sigpending.c: Likewise. + * sysdeps/mach/hurd/sigaltstack.c: Likewise. + * sysdeps/mach/hurd/sigaction.c: Likewise. + * sysdeps/mach/hurd/sigprocmask.c: Likewise. + * hurd/fd-write.c: Likewise. + * hurd/fd-read.c: Likewise. + * sysdeps/mach/hurd/ioctl.c: Likewise. + * sysdeps/mach/hurd/fork.c: Likewise. + * sysdeps/mach/hurd/i386/sigreturn.c: Likewise. + * sysdeps/mach/hurd/mips/sigreturn.c: Likewise. + * sysdeps/mach/hurd/alpha/sigreturn.c: Likewise. + * hurd/hurdmsg.c (get_int): Likewise. + + * stdio/vfprintf.c: Include stddef.h. Fix typos in libio code. + + * stdio/vfprintf.c (__pad): Function renamed to __printf_pad, made + global. + (PAD): Caller changed. + * stdio/printf_fp.c (__pad): Function removed. + (PAD): Use __printf_pad instead. + +Sun Feb 5 17:59:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + Merged new FP printer by Ulrich Drepper. + * stdio/printf_fp.c: Rewrite by drepper. + * stdio/Makefile (routines): Add ldbl2mpn. + * sysdeps/ieee754/ieee754.h (union ieee754_double): Add `ieee_nan' + member. + (union ieee854_long_double): New type, from drepper. + (IEEE754_DOUBLE_BIAS, IEEE854_LONG_DOUBLE_BIAS): New macros. + * sysdeps/ieee754/ldbl2mpn.c: New file, by drepper. + * sysdeps/stub/ldbl2mpn.c: New file. + * math/Makefile (routines): Add isinfl and isnanl. + * sysdeps/ieee754/isinfl.c: New file. + * sysdeps/stub/isinfl.c: New file. + * sysdeps/ieee754/isnanl.c: New file. + * sysdeps/stub/isnanl.c: New file. + + * malloc/malloc.c (__malloc_extra_blocks): New variable. + (malloc): When getting more core, get __malloc_extra_blocks extra; + put the new block at the end of the free list and let the next loop + iteration use the initial portion of it. + * malloc/free.c (_free_internal): Account for twice + __malloc_extra_blocks in deciding if we have so much extra memory + we should return it to the system. + * malloc/malloc.h (__malloc_extra_blocks): Declare it. + * posix/glob.c (prefix_array, glob_pattern_p): Remove gratuitous + const in parameter decl. + + * sysdeps/unix/mips/sysdep.h (ENTRY): Add `.ent' directive. + +Fri Feb 3 18:15:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * munch.awk (EXTERNS): Print decls using __P instead of EXFUN. + + * sysdeps/mips/setjmp_aux.c: Use ENV[0].__jmpbuf[0]. + * sysdeps/mips/bsd-_setjmp.S: Use `li' insn instead of `move'. + * sysdeps/mips/bsd-setjmp.S: Likewise. + * sysdeps/mips/__longjmp.c: Remove obsolete __NORETURN keyword. + * sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler): + Use `long int' for sigcode. Use explicit register numbers instead + of names. + (_hurdsig_rcv_interrupted_p): Use _hurdsig_catch_fault. + * sysdeps/mach/hurd/mips/exc2signal.c: Use `long int' for sigcode. + +Thu Feb 2 20:06:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * hurd/hurdmalloc.c: Remove bogus bcopy decl. + + * mach/mig_strncpy.c: Add missing `const' in prototype. Rewritten + using __stpncpy. + + * io/ftw.c (ftw, ftw_dir): Treat ENOENT from stat like EACCES. + + * stdio/vfprintf.c: Set PREC to zero for %. without following digit. + +Tue Jan 31 13:49:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * mach/mig_strncpy.c: Include mach.h instead of string.h. Use + vm_size_t instead of size_t for arg and return types. + + * mach/mach_init.c: Don't declare __mig_init; mach/mig_support.h + already does. + +Mon Jan 30 00:33:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * set-hooks.h (RUN_HOOK): Dereference PTR properly. + + * configure.in (friendly stddef.h check): Write override defn for + `stddef.h' Make variable. + (AC_LINK_FILES): Use `echo ...` to avoid " " appearing nonempty. + + * configure.in (host_os=sysv4*|solaris2*): Set elf=yes. + + * Rules ($(objpfx)dummy.o): Write an empty function, not just an + empty file. - * posix/glob.c: Include <alloca.h> only [HAVE_ALLOCA_H], not [sparc]. + * sysdeps/sparc/Makefile (sysdep-realclean): New variable. - * Makerules [! objects] (subdir_lib): Depend on the stamp$o files. - (stamp$o files): New targets, create them empty, no deps. +Sat Jan 28 03:38:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * rpm/template (Source): New field. - (%prep, %build, %install): New sections. - (%files): Add %doc FAQ NEWS NOTES README. - * rpm/rpmrc (builddir): Removed. + * Makefile (distribute): Remove gnu-stabs.h; add libc-symbols.h. -Fri Jun 21 00:27:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * sysdeps/mach/sysdep.h [ASSEMBLER]: Protect include of + mach/machine/syscall_sw.h with this. - * 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. +Fri Jan 27 18:33:20 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * sysdeps/sparc/elf/start.S: New file. - * sysdeps/sparc/dl-machine.h: New file. + * hurd/hurd/signal.h: Include <hurd/msg.h>, and <spin-lock.h> + instead of <lock-intern.h>. + (struct hurd_sigstate): Member `lock' changed to a `spin_lock_t'. + (_hurd_critical_section_lock): Use spin lock operators. + Don't hold the sigstate lock, unlock it after setting the flag. + (_hurd_critical_section_unlock): Take the sigstate lock + to clear the flag; while holding it, check pending signals. After + unlocking, sig_post ourselves if there were pending signals. - * posix/fnmatch.c (fnmatch): Fix \*[*?]+ case to increment name ptr - only for ?s, not for *s. Fix from Chet Ramey. + * hurd/catch-exc.c (_S_catch_exception_raise): Don't take the + sigstate lock. If it is locked, clear SS->critical_section and + SS->context, and unlock it. - Fixes thanks to Raja R Harinath <harinath@cs.umn.edu>: - * sysdeps/unix/sysv/utmpbits.h: Define _HAVE_UT_{TYPE,ID,TV,HOST}. - Use __{BEGIN,END}_DECLS. - (_PATH_WTMP, _PATH_UTMP, _PATH_LASTLOG): New macros. - * login/utmp.h (UTMP_FILE, UTMP_FILENAME, WTMP_FILE, WTMP_FILENAME): - New macros, moved here from sysdeps/gnu/utmpbits.h. - * sysdeps/generic/utmpbits.h (_HAVE_UT_HOST): Define it. - * sysdeps/gnu/utmpbits.h (_HAVE_UT_HOST): Likewise. - * login/logout.c: Use ut_host only #if _HAVE_UT_HOST. - Use sizeof instead of UT_*SIZE. - * login/logwtmp.c: Likewise. + * sysdeps/mach/sysdep.h (EXT, LEXT): New macros. - * misc/tsearch.c (tdelete): Define as weak alias to __tdelete. + * set-init.c (__libc_init) [HAVE_ELF]: Run _init and atexit (_fini). + * munch-tmpl.c: Likewise. - * version.c (banner): Add trailing newline. + * mach/Makefile (routines): Don't filter out syscall_% from + $(mach-syscalls). - * login/utmp.h: Declare login_tty. +Fri Jan 27 17:53:49 1995 Jim Meyering (meyering@comco.com) -Thu Jun 20 21:19:07 1996 Richard Henderson <rth@tamu.edu> + * posix/fnmatch.c: Declare errno if it's not defined. + That's simpler than testing #if !defined(__GNU_LIBRARY__) + && !defined(STDC_HEADERS). - * 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. +Fri Jan 27 15:40:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Thu Jun 20 12:18:21 1996 Miles Bader <miles@gnu.ai.mit.edu> + * csu/Makefile: New file. + * csu/initfini.c: New file. + * Makefile (+other_dirs): Add csu. + (+init): Variable renamed to libc-init. All references changed. + (aux): Remove start. + (install-lib): Variable removed. + (crt0.o, Mcrt1.o crt1.o): Targets removed. - * sysdeps/mach/hurd/brk.c (_hurd_brk): Initialize to 0. + * mach/Machrules (static deps of RPC_*.o): Add $(..)libc-symbols.h + and $(objpfx)config.h. + (static deps of RPC alias *.o): Removed. - * hurd/getuids.c (getuids): New weak link to __getuids. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h [ASSEMBLER]: + Protect macros with this. + * sysdeps/unix/bsd/osf1/alpha/sysdep.h: Likewise. + * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise. + * sysdeps/unix/bsd/vax/sysdep.h: Likewise. + * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise. + * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise. + * sysdeps/unix/mips/sysdep.h: Likewise. -Wed Jun 19 10:21:24 1996 Miles Bader <miles@gnu.ai.mit.edu> +Thu Jan 26 00:02:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * 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. + * Makerules (compile.[Sc]): Match gcc in $(CC) better. + (BUILD_CFLAGS): Instead of $(config-defines), use -include config.h. -Mon Jun 17 19:09:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + * hurd/intr-rpc.awk: Emit weak alias. - * Make-dist (+sysdeps): Move wildcard inside loop to avoid consing - up a huge list just to discard most of it. + * sysdeps/unix/bsd/sun/sunos4/wait4.c: Call getpgrp instead of + __getpgrp. - * configure.in (sysnames): Avoid fgrep by using the case shell - builtin. + * sysdeps/unix/bsd/hp/m68k/sysdep.h [ASSEMBLER]: Protect macros with + this. + * sysdeps/unix/i386/sysdep.h: Likewise. + * sysdeps/unix/sparc/sysdep.h: Likewise. - * Makeconfig (config.status): Fix dependency on Implies files. + * io/ftw.c: Avoid `ret' as variable name. + * posix/glob.c: Likewise. -Wed Jun 19 01:27:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * ctype/ctype.h (_ISalpha): Define as its own bit. + * locale/C-ctype_ct.c (__ctype_b_C): Set _ISalpha bit in all letters. + + * stdlib/exit.c [HAVE_GNU_LD]: Protect #include "set-hooks.h" and + DEFINE_HOOK with this. + +Wed Jan 25 00:45:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * hurd/hurdinit.c: Use DECLARE_HOOK instead of `extern DEFINE_HOOK'. + * mach/spin-solid.c (spin_lock_solid): Define as weak alias to __name. + * mach/shortcut.awk: Emit weak alias. + * mach/spin-lock.c: Add weak aliases for all spin-lock.h functions. + * mach/mach_init.c (mach_init, vm_page_size): Defin weak aliases for + __ names. + * mach/Makefile (lock): Remove spin-syms. + (routines): Remove __ names, vm_page_size, msgserver_t. + ($(mach-syscalls) rule): Generate files without __, add weak alias. + Remove symbol alias file rule. + ($(mach-shortcuts) rule): Likewise. + [!mach-shortcuts] (user-interfaces): Filter out mach/mach4 too. + * mach/Machrules (if-calls.c): Variable and rule removed. + (interface-headers): Don't add $($(if)-calls). + (transform-user-stub): Define to add weak alias. + * set-hooks.h: Use new libc-symbols.h set access macros. + * time/Makefile (routines): Remove __ names. + (aux): Variable removed. + * hurd/Makefile: Likewise. + * sysdeps/unix/start.c (environ): Define as weak alias for __environ. + (data_start): Define as weak alias for __data_start. + * sysdeps/mach/hurd/start.c: Likewise. + * sysdeps/unix/sparc/start.c: Likewise. + * sysdeps/unix/make_errlist.c: Emit weak aliases for sys_nerr and + sys_errlist. + * sysdeps/mach/hurd/errlist.awk: Likewise. + * sysdeps/unix/bsd/osf1/alpha/start.S (environ): Define as weak + alias for __environ. + * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise. + * sysdeps/stub/setdomain.c: Use new stub_warning macro. + * sysdeps/stub/getdomain.c: Likewise. + * sysdeps/stub/vhangup.c: Likewise. + * sysdeps/stub/swapon.c: Likewise. + * sysdeps/stub/sendmsg.c: Likewise. + * sysdeps/stub/recvmsg.c: Likewise. + * sysdeps/stub/acct.c: Likewise. + * sysdeps/stub/isinf.c: Likewise. Add weak alias isinf for __isinf. + * sysdeps/mach/hurd/_exit.c: Remove obsolete __NORETURN keyword. + * sysdeps/posix/libc_fatal.c: Likewise. + * sysdeps/i386/abort.c: Likewise. + * sysdeps/i386/__longjmp.c: Likewise. + * sysdeps/generic/make_siglist.c: Emit defn always for + _sys_siglist. Emit weak alias to sys_siglist. + * sysdeps/generic/atan.c: Remove obsolete __CONSTVALUE keyword. + * sysdeps/ieee754/log10.c: Likewise. + * time/difftime.c: Likewise. + * stdlib/random.c (srand): Define as weak alias for __srandom. + * stdlib/exit.c: Remove obsolete __NORETURN keyword. Use set-hooks + macros for __libc_atexit. + * stdlib/Makefile (routines): Remove __random, srand. + * stdio/gets.c: Use new link_warning macro instead of old + warn_references. + * stdio/Makefile (routines): Remove __ names. + (aux): Remove syms-stdio. + * socket/Makefile (routines): Added e on getpeernam and getsocknam. + * setjmp/longjmp.c: Remove obsolete __NORETURN keyword. + * setjmp/Makefile (routines): Remove _longjmp, siglongjmp. + * setjmp/setjmp.h: Replace __NORETURN keyword with __attribute__ uses. + * stdio/stdio.h: Likewise. + * misc/Makefile (routines): Remove __ names. + (aux): Remove data_start. + * sysdeps/mach/hurd/defs.c: Don't include gnu-stabs.h. + * sysdeps/mach/hurd/brk.c: Likewise. + * hurd/hurdid.c: Likewise. + * hurd/hurdpid.c: Likewise. + * hurd/openport.c: Likewise. + * hurd/hurdsock.c: Likewise. + * hurd/hurdsig.c: Likewise. + * hurd/hurdrlimit.c: Likewise. + * hurd/hurdmalloc.c: Likewise. + * hurd/dtable.c: Likewise. + * hurd/setauth.c: Likewise. + * misc/progname.c: Likewise. + * misc/init-misc.c: Likewise. + * sysdeps/generic/vfork.c: Likewise. + * sysdeps/unix/bsd/init-posix.c: Likewise. + * math/math.h: Replace __CONSTVALUE keyword with __attribute__ uses. + * time/time.h: Likewise. + * math/Makefile (routines): Remove __ names. + * io/Makefile: Likewise. + * termios/Makefile: Likewise. + * resource/Makefile: Likewise. + * signal/Makefile: Likewise. + * dirent/Makefile: Likewise. + * assert/assert.h: Replace __NORETURN keyword with __attribute__ + uses. Functions return void and macros deal with this. + * assert/assert-perr.c: Remove obsolete __NORETURN keyword. + Return void. Don't include gnu-stabs.h. + * assert/assert.c: Likewise. + * posix/Makefile (routines): Remove __ names, setpgrp. Add + getpgid. + (aux): Remove environ. + * stdlib/stdlib.h (abort, exit): Replace __NORETURN keyword with + __attribute__ use. + * posix/unistd.h (_exit): Likewise. + (__getpgrp, __setpgrp): Declarations removed. + (__getpgid, getpid): Declare these. + + * configure.in (host_os=gnuelf|linuxelf): Set elf=yes. Do AC_SUBST + for gnu_ld, gnu_as, elf, and weak. Call AC_LINK_FILEES on + $libc_link_{sources,dests}. + * sysdeps/unix/configure.in: Remove __ from file names. Don't + create files, just add to libc_link_{dests,sources}. + + * config.make.in (gnu-as, gnu-ld, elf, weak-symbols): New variables. + + * config.h.in: Add #undefs used by sysdeps configures. + + * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Removed + __setpgid, __getpgid. + * sysdeps/unix/sysv/sco3.2.4/setpgid.c: Included file was renamed + from setpgrp.c. + * sysdeps/unix/sysv/sco3.2.4/getpgid.c: Included file was renamed + from __getpgrp.c. + * sysdeps/unix/bsd/getpgrp.c: File removed. + * sysdeps/generic/getpgrp.c: Moved from sysdeps/stub/getpgrp.c. + Call __getpgid with zero. + * sysdeps/stub/setpgid.c: Renamed __setpgrp to __setpgid, added + weak aliases setpgid and setpgrp. + * sysdeps/unix/sysv/irix4/setpgid.S: Likewise. + * sysdeps/unix/common/setpgid.S: Likewise. + * sysdeps/mach/hurd/setpgid.c: Likewise. + * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise. + Use subcall 5 to __pgrpsys. + * sysdeps/stub/getpgid.c: Renamed __getpgrp to __getpgid, added + weak alias getpgid. + * sysdeps/mach/hurd/getpgid.c: Likewise. + * sysdeps/unix/sysv/irix4/getpgid.S: Likewise. + * sysdeps/unix/common/getpgid.S: Likewise. + * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise. + Use subcall 4 to __pgrpsys. + * sysdeps/stub/__getpgrp.c: Renamed to getpgid.c. + * sysdeps/unix/sysv/sysv4/__getpgrp.c: Renamed to getpgid.c. + * sysdeps/unix/sysv/sco3.2.4/__getpgrp.c: Renamed to getpgid.c. + * sysdeps/unix/sysv/irix4/__getpgrp.S: Renamed to getpgid.S. + * sysdeps/unix/common/__getpgrp.S: Renamed to getpgid.S. + * sysdeps/mach/hurd/__getpgrp.c: Renamed to getpgid.c. + * sysdeps/stub/setpgrp.c: Renamed to setpgid.c. + * sysdeps/unix/sysv/sysv4/setpgrp.c: Renamed to setpgid.c. + * sysdeps/unix/sysv/sco3.2.4/setpgrp.c: Renamed to setpgid.c. + * sysdeps/unix/sysv/irix4/setpgrp.S: Renamed to setpgid.S. + * sysdeps/unix/common/setpgrp.S: Renamed to setpgid.S. + * sysdeps/mach/hurd/setpgrp.c: Renamed to setpgid.c. + + * sysdeps/unix/bsd/hp/m68k/getdents.S: Included file was renamed + from __getdents.S. + + * sysdeps/posix/defs.c: Don't include gnu-stabs.h. + * sysdeps/stub/sigpending.c: Use new libc-symbols.h macro for stub + warning. + * sysdeps/stub/fexecve.c: Likewise. + * sysdeps/stub/fchdir.c: Likewise. + * sysdeps/stub/fchflags.c: Likewise. + * sysdeps/stub/chflags.c: Likewise. - * math/Makefile (distribute): Add ieee-math.c. + * sysdeps/m68k/__longjmp.c: Remove __NORETURN; it's obsolete. + * sysdeps/generic/abort.c: Likewise. + * sysdeps/ieee754/ldexp.c: Remove __CONSTVALUE; it's obsolete. + + * hurd/hurdioctl.c: Include hurd/ioctl.h. + (_hurd_ioctl_handler_lists): Define this set. + (_hurd_lookup_ioctl_handler): New function. + * hurd/hurd/fd.h: ioctl handler stuff moved to hurd/ioctl.h. + * hurd/hurd/ioctl.h: New file, broken out of hurd/fd.h. + (_hurd_lookup_ioctl_handler): Declare it. + (ioctl_handler_t): New typedef. Use it throughout. + * sysdeps/mach/hurd/ioctl.c: Include hurd/ioctl.h. + (_hurd_ioctl_handler_lists): Don't define. + (__ioctl): Call _hurd_lookup_ioctl_handler. + + * stdlib/strtol.c (maxquad): Make this const. + [__GNUC__ == 2 && __GNUC_MINOR__ < 7]: Only use maxquad in this case. + + * posix/glob/configure.in: Put AC_AIX and AC_MINIX early, before + any compile tests. + + * sysdeps/mach/hurd/setitimer.c (timer_thread): Call + __msg_sig_post_request, not __sig_post_request. + + * misc/getusersh.c: Renamed to getusershell.c. + * sysdeps/stub/sethostnam.c: Renamed to sethostname.c. + * sysdeps/unix/inet/sethostnam.S: Renamed to sethostname.S. + * sysdeps/unix/sysv/sysv4/sethostnam.c: Renamed to sethostname.c. + * sysdeps/mach/hurd/sethostnam.c: Renamed to sethostname.c. + +Tue Jan 24 00:14:30 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * sysdeps/stub/settod.c: Renamed to settimeofday.c. + * sysdeps/unix/bsd/settod.S: Renamed to settimeofday.c. + * sysdeps/unix/sysv/settod.c: Renamed to settimeofday.c. + * sysdeps/mach/hurd/settod.c: Renamed to settimeofday.c. + * sysdeps/stub/setitmr.c: Renamed to setitimer.c. + * sysdeps/unix/common/setitmr.S: Renamed to setitimer.S. + * sysdeps/mach/hurd/setitmr.c: Renamed to setitimer.c. + * sysdeps/posix/fpathcon.c: Renamed to fpathconf.c. + * sysdeps/stub/fpathcon.c: Renamed to fpathconf.c. + * sysdeps/unix/sysv/irix4/fpathcon.c: Renamed to fpathconf.c. + * sysdeps/stub/getprio.c: Renamed to getpriority.c. + * sysdeps/unix/sysv/irix4/getprio.c: Renamed to getpriority.c. + * sysdeps/unix/common/getprio.S: Renamed to getpriority.S. + * sysdeps/mach/hurd/getprio.c: Renamed to getpriority.c. + * sysdeps/stub/setprio.c: Renamed to setpriority.c. + * sysdeps/unix/sysv/irix4/setprio.c: Renamed to setpriority.c. + * sysdeps/unix/common/setprio.S: Renamed to setpriority.S. + * sysdeps/mach/hurd/setprio.c: Renamed to setpriority.c. + * sysdeps/stub/getpeernam.c: Renamed to getpeername.c. + * sysdeps/unix/inet/getpeernam.S: Renamed to getpeername.S. + * sysdeps/unix/sysv/linux/getpeernam.S: Renamed to getpeername.S. + * sysdeps/mach/hurd/getpeernam.c: Renamed to getpeername.c. + * sysdeps/stub/getsocknam.c: Renamed to getsockname.c. + * sysdeps/unix/inet/getsocknam.S: Renamed to getsockname.S. + * sysdeps/unix/sysv/linux/getsocknam.S: Renamed to getsockname.S. + * sysdeps/mach/hurd/getsocknam.c: Renamed to getsockname.c. + * sysdeps/stub/sigaltstk.c: Renamed to sigaltstack.c. + * sysdeps/unix/bsd/bsd4.4/sigaltstk.S: Renamed to sigaltstack.S. + * sysdeps/unix/sysv/sysv4/sigaltstk.S: Renamed to sigaltstack.S. + * sysdeps/mach/hurd/sigaltstk.c: Renamed to sigaltstack.c. + + * sysdeps/mach/hurd/i386/sigreturn.c: Call __msg_sig_post instead + of __sig_post. + * sysdeps/mach/hurd/sigsuspend.c: Likewise. + * sysdeps/mach/hurd/kill.c: Likewise. + * sysdeps/mach/hurd/sigprocmask.c: Likewise. + + * misc/sys/cdefs.h (__NORETURN, __CONSTVALUE): Macros removed. + [!__GNUC__ || __GNUC__<2] (__attribute__): Define to empty. + + * sysdeps/stub/remove.c: New file. + * sysdeps/posix/remove.c: New file. + +Mon Jan 23 03:26:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * time/mktime.c [weak_alias] (timelocal): Define as weak alias for + mktime. + * mach/mig_strncpy.c (mig_strncpy): Define as weak alias for + __mig_strncpy. + * mach/msg-destroy.c: Renamed from __msg_dest.c. + (mach_msg_destroy): Define as weak alias for __mach_msg_destroy. + * mach/setup-thread.c (mach_setup_thread): Define as weak alias. + * time/tzset.c (tzname, daylight, timezone): Define as weak + aliases for __ names. + * hurd/hurdkill.c (hurd_sig_post): Define as weak alias. + * hurd/hurdlookup.c: Add weak aliases for non-__ names. + * Makefile (+init): Test $(gnu-ld)=yes, not for $(+gnu-stabs) + being defined. + +Sun Jan 22 15:19:51 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * string/Makefile (routines): Remove __ names, index, rindex, and + bcmp. + * sysdeps/alpha/strchr.c [weak_alias] (index): Define as weak + alias for strchr. + * sysdeps/generic/strchr.c: Likewise. + * sysdeps/generic/strrchr.c [weak_alias] (rindex): Define as weak + alias for strrchr. + * sysdeps/generic/memcmp.c [weak_alias] (bcmp): Define as weak + alias for memcmp. + + * malloc/free.c (cfree): Define this function, with weak_alias if + available, otherwise a C function. + * malloc/Makefile (gmalloc-routines): Remove cfree. + +Sat Jan 21 08:08:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * stdio/fseek.c: Do move bufp by O when that puts it exactly at + get_limit. This has the effect of no-op'ing properly for zero. + + * configure.in: Add AC_CONFIG_HEADER(config.h). + (--with-elf, --with-weak-symbols): Grok these and define HAVE_*. + * config.h.in: New file. + + * setjmp/longjmp.c: Add weak aliases _longjmp, siglongjmp. + All code converted to use weak symbols, defined in the files which + define the real code (with the __ names, the non-__ names are weak). + All old symbol alias files removed. + Many files renamed to remove __ prefix since there is now just + the one file for both the __ and non-__ name for each function. + * libc-symbols.h: New file. + * set-hooks.h: Use libc-symbols.h macros for accessing symbol + sets. + * gnu-stabs.h: Prepend #error this file is obsolete. + * sysdeps/ieee754/ldexp.c: Add weak aliases scalb and __scalb. + * sysdeps/stub/__access.c: Renamed to access.c; added weak alias + access. + * sysdeps/unix/common/__access.S: Likewise. + * sysdeps/mach/hurd/__access.c: Likewise. + * sysdeps/stub/__adjtime.c: Renamed to adjtime.c; added weak alias + adjtime. + * sysdeps/unix/common/__adjtime.S: Likewise. + * sysdeps/mach/__adjtime.c: Likewise. + * sysdeps/mach/hurd/__adjtime.c: Likewise. + * sysdeps/stub/__brk.c: Renamed to brk.c; added weak alias brk. + * sysdeps/unix/bsd/sun/m68k/__brk.S: Likewise. + * sysdeps/unix/bsd/vax/__brk.S: Likewise. + * sysdeps/unix/bsd/hp/m68k/__brk.S: Likewise. + * sysdeps/unix/bsd/osf1/alpha/__brk.S: Likewise. + * sysdeps/unix/i386/__brk.S: Likewise. + * sysdeps/unix/sparc/__brk.S: Likewise. + * sysdeps/unix/mips/__brk.S: Likewise. + * sysdeps/mach/hurd/__brk.c: Likewise. + * sysdeps/standalone/__brk.c: Likewise. + * sysdeps/stub/__chdir.c: Renamed to chdir.c; added weak alias chdir. + * sysdeps/unix/__chdir.S: Likewise. + * sysdeps/mach/hurd/__chdir.c: Likewise. + * sysdeps/stub/__chmod.c: Renamed to chmod.c; added weak alias chmod. + * sysdeps/unix/__chmod.S: Likewise. + * sysdeps/mach/hurd/__chmod.c: Likewise. + * sysdeps/stub/__chown.c: Renamed to chown.c; added weak alias chown. + * sysdeps/unix/__chown.S: Likewise. + * sysdeps/mach/hurd/__chown.c: Likewise. + * sysdeps/stub/__close.c: Renamed to close.c; added weak alias close. + * sysdeps/unix/__close.S: Likewise. + * sysdeps/mach/hurd/__close.c: Likewise. + * sysdeps/standalone/__close.c: Likewise. + * sysdeps/generic/__copysign.c: Renamed to copysign.c; added weak + alias copysign. + * sysdeps/ieee754/__copysign.c: Likewise. + * sysdeps/alpha/__copysign.c: Likewise. + * sysdeps/ieee754/__drem.c: Renamed to drem.c; added weak alias drem. + * sysdeps/m68k/fpu/__drem.c: Likewise. + * sysdeps/stub/__drem.c: Likewise. + * sysdeps/posix/__dup.c: Renamed to dup.c; added weak alias dup. + * sysdeps/stub/__dup.c: Likewise. + * sysdeps/unix/__dup.S: Likewise. + * sysdeps/posix/__dup2.c: Renamed to dup2.c; added weak alias dup2. + * sysdeps/stub/__dup2.c: Likewise. + * sysdeps/unix/sysv/sysv4/__dup2.c: Likewise. + * sysdeps/unix/sysv/irix4/__dup2.c: Likewise. + * sysdeps/unix/common/__dup2.S: Likewise. + * sysdeps/mach/hurd/__dup2.c: Likewise. + * sysdeps/stub/__execve.c: Renamed to execve.c; added weak alias + execve. + * sysdeps/unix/__execve.S: Likewise. + * sysdeps/mach/hurd/__execve.c: Likewise. + * sysdeps/generic/__expm1.c: Renamed to expm1.c; added weak alias + expm1. + * sysdeps/m68k/fpu/__expm1.c: Likewise. + * sysdeps/stub/__fchmod.c: Renamed to fchmod.c; added weak alias + fchmod. + * sysdeps/unix/common/__fchmod.S: Likewise. + * sysdeps/mach/hurd/__fchmod.c: Likewise. + * sysdeps/stub/__fchown.c: Renamed to fchown.c; added weak alias + fchown. + * sysdeps/unix/common/__fchown.S: Likewise. + * sysdeps/mach/hurd/__fchown.c: Likewise. + * sysdeps/stub/__fcntl.c: Renamed to fcntl.c; added weak alias fcntl. + * sysdeps/unix/__fcntl.S: Likewise. + * sysdeps/mach/hurd/__fcntl.c: Likewise. + * math/__finite.c: Renamed to finite.c; added weak alias finite. + * sysdeps/posix/__flock.c: Renamed to flock.c; added weak alias flock. + * sysdeps/stub/__flock.c: Likewise. + * sysdeps/unix/bsd/__flock.S: Likewise. + * sysdeps/mach/hurd/__flock.c: Likewise. + * hurd/__fopenport.c: Renamed to fopenport.c; added weak alias + fopenport. + * sysdeps/stub/__fork.c: Renamed to fork.c; added weak alias fork. + * sysdeps/unix/__fork.S: Likewise. + * sysdeps/unix/bsd/osf1/alpha/__fork.S: Likewise. + * sysdeps/unix/i386/__fork.S: Likewise. + * sysdeps/unix/sparc/__fork.S: Likewise. + * sysdeps/unix/mips/__fork.S: Likewise. + * sysdeps/mach/hurd/__fork.c: Likewise. + * sysdeps/posix/__fpathcon.c: Renamed to fpathcon.c; added weak + alias fpathconf. + * sysdeps/stub/__fpathcon.c: Likewise. + * sysdeps/unix/sysv/irix4/__fpathcon.c: Likewise. + * sysdeps/stub/__fstat.c: Renamed to fstat.c; added weak alias fstat. + * sysdeps/unix/__fstat.S: Likewise. + * sysdeps/unix/sysv/sysv4/i386/__fstat.S: Likewise. + * sysdeps/mach/hurd/__fstat.c: Likewise. + * stdio/__getdelim.c: Renamed to getdelim.c; added weak alias + getdelim. + * sysdeps/stub/__getdents.c: Renamed to getdents.c; added weak + alias getdents. + * sysdeps/unix/__getdents.c: Likewise. + * sysdeps/unix/bsd/sun/__getdents.S: Likewise. + * sysdeps/unix/bsd/hp/m68k/__getdents.S: Likewise. + * sysdeps/unix/bsd/ultrix4/__getdents.S: Likewise. + * sysdeps/unix/bsd/bsd4.4/__getdents.S: Likewise. + * sysdeps/unix/bsd/osf1/alpha/__getdents.S: Likewise. + * sysdeps/unix/sysv/__getdents.c: Likewise. + * sysdeps/mach/hurd/__getdents.c: Likewise. + * hurd/__getdport.c: Renamed to getdport.c; added weak alias getdport. + * sysdeps/posix/__getdtsz.c: Renamed to getdtsz.c; added weak + alias getdtablesize. + * sysdeps/stub/__getdtsz.c: Likewise. + * sysdeps/unix/bsd/__getdtsz.S: Likewise. + * sysdeps/unix/sysv/sysv4/__getdtsz.c: Likewise. + * sysdeps/mach/hurd/__getdtsz.c: Likewise. + * sysdeps/stub/__getegid.c: Renamed to getegid.c; added weak alias + getegid. + * sysdeps/unix/__getegid.S: Likewise. + * sysdeps/mach/hurd/__getegid.c: Likewise. + * sysdeps/stub/__geteuid.c: Renamed to geteuid.c; added weak alias + geteuid. + * sysdeps/unix/__geteuid.S: Likewise. + * sysdeps/mach/hurd/__geteuid.c: Likewise. + * sysdeps/stub/__getgid.c: Renamed to getgid.c; added weak alias + getgid. + * sysdeps/unix/__getgid.S: Likewise. + * sysdeps/mach/hurd/__getgid.c: Likewise. + * sysdeps/stub/__getgrps.c: Renamed to getgroups.c; added weak + alias getgroups. + * sysdeps/unix/bsd/sequent/i386/__getgrps.S: Likewise. + * sysdeps/unix/sysv/sco3.2.4/__getgrps.c: Likewise. + * sysdeps/unix/sysv/irix4/__getgrps.c: Likewise. + * sysdeps/unix/common/__getgrps.S: Likewise. + * sysdeps/mach/hurd/__getgrps.c: Likewise. + * sysdeps/stub/__gethstnm.c: Renamed to gethostname.c; added weak + alias gethostname. + * sysdeps/unix/inet/__gethstnm.S: Likewise. + * sysdeps/unix/sysv/__gethstnm.c: Likewise. + * sysdeps/unix/sysv/sysv4/__gethstnm.c: Likewise. + * sysdeps/mach/hurd/__gethstnm.c: Likewise. + * sysdeps/stub/__getitmr.c: Renamed to getitimer.c; added weak + alias getitimer. + * sysdeps/unix/common/__getitmr.S: Likewise. + * sysdeps/mach/hurd/__getitmr.c: Likewise. + * stdio/__getline.c: Renamed to getline.c; added weak alias getline. + * sysdeps/posix/__getpgsz.c: Renamed to getpagesize.c; added weak + alias getpagesize. + * sysdeps/stub/__getpgsz.c: Likewise. + * sysdeps/unix/__getpgsz.c: Likewise. + * sysdeps/unix/bsd/__getpgsz.S: Likewise. + * sysdeps/unix/sysv/sysv4/__getpgsz.c: Likewise. + * sysdeps/mach/__getpgsz.c: Likewise. + * sysdeps/stub/__getpid.c: Renamed to getpid.c; added weak alias + getpid. + * sysdeps/unix/__getpid.S: Likewise. + * sysdeps/mach/hurd/__getpid.c: Likewise. + * sysdeps/stub/__getppid.c: Renamed to getppid.c; added weak alias + getppid. + * sysdeps/unix/__getppid.S: Likewise. + * sysdeps/mach/hurd/__getppid.c: Likewise. + * sysdeps/posix/__gettod.c: Renamed to gettimeofday.c; added weak + alias gettimeofday. + * sysdeps/stub/__gettod.c: Likewise. + * sysdeps/unix/sysv/irix4/__gettod.c: Likewise. + * sysdeps/unix/common/__gettod.S: Likewise. + * sysdeps/mach/__gettod.c: Likewise. + * sysdeps/stub/__getuid.c: Renamed to getuid.c; added weak alias + getuid. + * sysdeps/unix/__getuid.S: Likewise. + * sysdeps/mach/hurd/__getuid.c: Likewise. + * sysdeps/generic/__infnan.c: Renamed to infnan.c; added weak + alias infnan. + * sysdeps/ieee754/__infnan.c: Likewise. + * sysdeps/vax/__infnan.c: Likewise. + * sysdeps/stub/__ioctl.c: Renamed to ioctl.c; added weak alias ioctl. + * sysdeps/unix/__ioctl.S: Likewise. + * sysdeps/mach/hurd/__ioctl.c: Likewise. + * sysdeps/posix/__isatty.c: Renamed to isatty.c; added weak alias + isatty. + * sysdeps/stub/__isatty.c: Likewise. + * sysdeps/unix/bsd/__isatty.c: Likewise. + * sysdeps/mach/hurd/__isatty.c: Likewise. + * sysdeps/ieee754/__isinf.c: Renamed to isinf.c; added weak alias + isinf. + * sysdeps/m68k/fpu/__isinf.c: Likewise. + * sysdeps/stub/__isinf.c: Likewise. + * sysdeps/generic/__isnan.c: Renamed to isnan.c; added weak alias + isnan. + * sysdeps/ieee754/__isnan.c: Likewise. + * sysdeps/m68k/fpu/__isnan.c: Likewise. + * sysdeps/stub/__kill.c: Renamed to kill.c; added weak alias kill. + * sysdeps/unix/__kill.S: Likewise. + * sysdeps/mach/hurd/__kill.c: Likewise. + * sysdeps/stub/__link.c: Renamed to link.c; added weak alias link. + * sysdeps/unix/__link.S: Likewise. + * sysdeps/mach/hurd/__link.c: Likewise. + * sysdeps/ieee754/__logb.c: Renamed to logb.c; added weak alias logb. + * sysdeps/m68k/fpu/__logb.c: Likewise. + * sysdeps/stub/__logb.c: Likewise. + * sysdeps/stub/__lseek.c: Renamed to lseek.c; added weak alias lseek. + * sysdeps/unix/__lseek.S: Likewise. + * sysdeps/mach/hurd/__lseek.c: Likewise. + * sysdeps/generic/__lstat.c: Renamed to lstat.c; added weak alias + lstat. + * sysdeps/stub/__lstat.c: Likewise. + * sysdeps/unix/sysv/sysv4/i386/__lstat.S: Likewise. + * sysdeps/unix/common/__lstat.S: Likewise. + * sysdeps/mach/hurd/__lstat.c: Likewise. + * sysdeps/generic/__memccpy.c: Renamed to memccpy.c; added weak + alias memccpy. + * sysdeps/vax/__memccpy.c: Likewise. + * sysdeps/stub/__mkdir.c: Renamed to mkdir.c; added weak alias mkdir. + * sysdeps/unix/sysv/__mkdir.c: Likewise. + * sysdeps/unix/common/__mkdir.S: Likewise. + * sysdeps/mach/hurd/__mkdir.c: Likewise. + * sysdeps/stub/__mknod.c: Renamed to mknod.c; added weak alias mknod. + * sysdeps/unix/__mknod.S: Likewise. + * sysdeps/unix/sysv/sysv4/i386/__mknod.S: Likewise. + * sysdeps/mach/hurd/__mknod.c: Likewise. + * mach/__msg.c: Renamed to msg.c; added weak alias mach_msg. + * mach/__msgserver.c: Renamed to msgserver.c; added weak alias + mach_msg_server. + * sysdeps/stub/__open.c: Renamed to open.c; added weak alias open. + * sysdeps/unix/__open.S: Likewise. + * sysdeps/mach/hurd/__open.c: Likewise. + * sysdeps/standalone/__open.c: Likewise. + * sysdeps/stub/__pathconf.c: Renamed to pathconf.c; added weak + alias pathconf. + * sysdeps/unix/sysv/sco3.2.4/__pathconf.S: Likewise. + * sysdeps/unix/sysv/irix4/__pathconf.c: Likewise. + * hurd/__pid2task.c: Renamed to pid2task.c; added weak alias pid2task. + * sysdeps/stub/__pipe.c: Renamed to pipe.c; added weak alias pipe. + * sysdeps/unix/bsd/vax/__pipe.S: Likewise. + * sysdeps/unix/bsd/m68k/__pipe.S: Likewise. + * sysdeps/unix/bsd/osf1/alpha/__pipe.S: Likewise. + * sysdeps/unix/i386/__pipe.S: Likewise. + * sysdeps/unix/sparc/__pipe.S: Likewise. + * sysdeps/unix/mips/__pipe.S: Likewise. + * sysdeps/mach/hurd/__pipe.c: Likewise. + * stdlib/__random.c: Renamed to random.c; added weak alias random. + * sysdeps/stub/__read.c: Renamed to read.c; added weak alias read. + * sysdeps/unix/__read.S: Likewise. + * sysdeps/mach/hurd/__read.c: Likewise. + * sysdeps/standalone/__read.c: Likewise. + * sysdeps/stub/__readlink.c: Renamed to readlink.c; added weak + alias readlink. + * sysdeps/unix/common/__readlink.S: Likewise. + * sysdeps/mach/hurd/__readlink.c: Likewise. + * sysdeps/generic/__rint.c: Renamed to rint.c; added weak alias rint. + * sysdeps/m68k/fpu/__rint.c: Likewise. + * sysdeps/stub/__rmdir.c: Renamed to rmdir.c; added weak alias rmdir. + * sysdeps/unix/sysv/__rmdir.c: Likewise. + * sysdeps/unix/common/__rmdir.S: Likewise. + * sysdeps/mach/hurd/__rmdir.c: Likewise. + * sysdeps/generic/__sbrk.c: Renamed to sbrk.c; added weak alias sbrk. + * sysdeps/stub/__sbrk.c: Likewise. + * sysdeps/mach/hurd/__sbrk.c: Likewise. + * math/__scalb.c: Renamed to scalb.c; added weak alias scalb. + * sysdeps/stub/__select.c: Renamed to select.c; added weak alias + select. + * sysdeps/unix/common/__select.S: Likewise. + * sysdeps/mach/hurd/__select.c: Likewise. + * hurd/__setauth.c: Renamed to setauth.c; added weak alias setauth. + * sysdeps/stub/__setgid.c: Renamed to setgid.c; added weak alias + setgid. + * sysdeps/unix/__setgid.S: Likewise. + * sysdeps/unix/bsd/__setgid.c: Likewise. + * sysdeps/mach/hurd/__setgid.c: Likewise. + * sysdeps/stub/__setitmr.c: Renamed to setitmr.c; added weak alias + setitmr + * sysdeps/unix/common/__setitmr.S: Likewise. + * sysdeps/mach/hurd/__setitmr.c: Likewise. + * sysdeps/stub/__setpgrp.c: Renamed to setpgrp.c; added weak alias + setpgrp + * sysdeps/unix/sysv/sysv4/__setpgrp.c: Likewise. + * sysdeps/unix/sysv/sco3.2.4/__setpgrp.c: Likewise. + * sysdeps/unix/sysv/irix4/__setpgrp.S: Likewise. + * sysdeps/unix/common/__setpgrp.S: Likewise. + * sysdeps/mach/hurd/__setpgrp.c: Likewise. + * sysdeps/stub/__setregid.c: Renamed to setregid.c; added weak + alias setregid. + * sysdeps/unix/common/__setregid.S: Likewise. + * sysdeps/mach/hurd/__setregid.c: Likewise. + * sysdeps/stub/__setreuid.c: Renamed to setreuid.c; added weak + alias setreuid. + * sysdeps/unix/common/__setreuid.S: Likewise. + * sysdeps/mach/hurd/__setreuid.c: Likewise. + * sysdeps/stub/__setsid.c: Renamed to setsid.c; added weak alias + setsid. + * sysdeps/unix/bsd/__setsid.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/__setsid.S: Likewise. + * sysdeps/unix/bsd/ultrix4/__setsid.S: Likewise. + * sysdeps/unix/bsd/bsd4.4/__setsid.S: Likewise. + * sysdeps/unix/sysv/linux/__setsid.S: Likewise. + * sysdeps/unix/sysv/sysv4/__setsid.c: Likewise. + * sysdeps/unix/sysv/sco3.2.4/__setsid.c: Likewise. + * sysdeps/mach/hurd/__setsid.c: Likewise. + * sysdeps/stub/__settod.c: Renamed to settod.c; added weak alias + settimeofday. + * sysdeps/unix/bsd/__settod.S: Likewise. + * sysdeps/unix/sysv/__settod.c: Likewise. + * sysdeps/mach/hurd/__settod.c: Likewise. + * sysdeps/stub/__setuid.c: Renamed to setuid.c; added weak alias + setuid. + * sysdeps/unix/__setuid.S: Likewise. + * sysdeps/unix/bsd/__setuid.c: Likewise. + * sysdeps/mach/hurd/__setuid.c: Likewise. + * sysdeps/posix/__sigblock.c: Renamed to sigblock.c; added weak + alias sigblock. + * sysdeps/stub/__sigblock.c: Likewise. + * sysdeps/unix/bsd/__sigblock.S: Likewise. + * sysdeps/unix/bsd/bsd4.4/__sigblock.c: Likewise. + * sysdeps/unix/bsd/osf1/alpha/__sigblock.S: Likewise. + * sysdeps/posix/__sigpause.c: Renamed to sigpause.c; added weak + alias sigpause. + * sysdeps/stub/__sigpause.c: Likewise. + * sysdeps/unix/bsd/__sigpause.S: Likewise. + * sysdeps/unix/bsd/osf1/alpha/__sigpause.S: Likewise. + * sysdeps/stub/__sigproc.c: Renamed to sigprocmask.c; added weak + alias sigprocmask. + * sysdeps/unix/bsd/__sigproc.c: Likewise. + * sysdeps/unix/sysv/sysv4/__sigproc.S: Likewise. + * sysdeps/unix/sysv/sco3.2.4/__sigproc.S: Likewise. + * sysdeps/mach/hurd/__sigproc.c: Likewise. + * sysdeps/stub/__sigret.c: Renamed to sigreturn.c; added weak + alias sigreturn. + * sysdeps/unix/bsd/sun/__sigret.S: Likewise. + * sysdeps/unix/sysv/i386/__sigret.S: Likewise. + * sysdeps/unix/sysv/irix4/__sigret.S: Likewise. + * sysdeps/unix/i386/__sigret.S: Likewise. + * sysdeps/unix/mips/__sigret.S: Likewise. + * sysdeps/mach/hurd/i386/__sigret.c: Likewise. + * sysdeps/mach/hurd/alpha/__sigret.c: Likewise. + * sysdeps/mach/hurd/mips/__sigret.c: Likewise. + * sysdeps/posix/__sigvec.c: Renamed to sigvec.c; added weak alias + sigvec. + * sysdeps/stub/__sigvec.c: Likewise. + * sysdeps/unix/bsd/__sigvec.S: Likewise. + * sysdeps/unix/bsd/sun/__sigvec.S: Likewise. + * sysdeps/unix/bsd/sequent/i386/__sigvec.S: Likewise. + * sysdeps/unix/bsd/ultrix4/mips/__sigvec.S: Likewise. + * sysdeps/unix/bsd/bsd4.4/__sigvec.c: Likewise. + * sysdeps/unix/bsd/osf1/alpha/__sigvec.S: Likewise. + * sysdeps/stub/__stat.c: Renamed to stat.c; added weak alias stat. + * sysdeps/unix/__stat.S: Likewise. + * sysdeps/unix/sysv/sysv4/i386/__stat.S: Likewise. + * sysdeps/mach/hurd/__stat.c: Likewise. + * sysdeps/generic/__stpncpy.c: Renamed to stpncpy.c; added weak + alias stpncpy. + * sysdeps/stub/__symlink.c: Renamed to symlink.c; added weak alias + symlink. + * sysdeps/unix/common/__symlink.S: Likewise. + * sysdeps/mach/hurd/__symlink.c: Likewise. + * sysdeps/posix/__sysconf.c: Renamed to sysconf.c; added weak + alias sysconf. + * sysdeps/stub/__sysconf.c: Likewise. + * sysdeps/unix/bsd/ultrix4/__sysconf.c: Likewise. + * sysdeps/unix/sysv/sysv4/__sysconf.c: Likewise. + * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Likewise. + * sysdeps/unix/sysv/irix4/__sysconf.c: Likewise. + * hurd/__task2pid.c: Renamed to task2pid.c; added weak alias task2pid. + * sysdeps/stub/__times.c: Renamed to times.c; added weak alias times. + * sysdeps/unix/bsd/__times.c: Likewise. + * sysdeps/unix/sysv/__times.S: Likewise. + * time/__tzset.c: Renamed to tzset.c; added weak alias tzset. + * sysdeps/stub/__umask.c: Renamed to umask.c; added weak alias umask. + * sysdeps/unix/__umask.S: Likewise. + * sysdeps/mach/hurd/__umask.c: Likewise. + * sysdeps/stub/__unlink.c: Renamed to unlink.c; added weak alias + unlink. + * sysdeps/unix/__unlink.S: Likewise. + * sysdeps/mach/hurd/__unlink.c: Likewise. + * sysdeps/stub/__utimes.c: Renamed to utimes.c; added weak alias + utimes. + * sysdeps/unix/bsd/__utimes.S: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/__utimes.S: Likewise. + * sysdeps/mach/hurd/__utimes.c: Likewise. + * sysdeps/generic/__vfork.c: Renamed to vfork.c; added weak alias + vfork. + * sysdeps/unix/bsd/sun/m68k/__vfork.S: Likewise. + * sysdeps/unix/bsd/vax/__vfork.S: Likewise. + * sysdeps/unix/bsd/i386/__vfork.S: Likewise. + * sysdeps/unix/bsd/hp/m68k/__vfork.S: Likewise. + * sysdeps/unix/bsd/ultrix4/mips/__vfork.S: Likewise. + * sysdeps/unix/sysv/sysv4/i386/__vfork.S: Likewise. + * sysdeps/unix/sparc/__vfork.S: Likewise. + * stdio/__vfscanf.c: Renamed to vfscanf.c; added weak alias vfscanf. + * stdio/__vsscanf.c: Renamed to vsscanf.c; added weak alias vsscanf. + * sysdeps/posix/__wait.c: Renamed to wait.c; added weak alias wait. + * sysdeps/stub/__wait.c: Likewise. + * sysdeps/unix/bsd/sony/newsos4/__wait.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/__wait.c: Likewise. + * sysdeps/unix/bsd/sun/sunos3/m68k/__wait.S: Likewise. + * sysdeps/unix/bsd/vax/__wait.S: Likewise. + * sysdeps/unix/bsd/m68k/__wait.S: Likewise. + * sysdeps/unix/bsd/bsd4.4/__wait.c: Likewise. + * sysdeps/unix/sysv/i386/linux/__wait.S: Likewise. + * sysdeps/unix/sysv/irix4/__wait.S: Likewise. + * sysdeps/unix/i386/__wait.S: Likewise. + * sysdeps/unix/mips/__wait.S: Likewise. + * sysdeps/posix/__wait3.c: Renamed to wait3.c; added weak alias wait3. + * sysdeps/stub/__wait3.c: Likewise. + * sysdeps/unix/bsd/sony/newsos4/__wait3.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/__wait3.c: Likewise. + * sysdeps/unix/bsd/vax/__wait3.S: Likewise. + * sysdeps/unix/bsd/i386/__wait3.S: Likewise. + * sysdeps/unix/bsd/hp/m68k/__wait3.S: Likewise. + * sysdeps/unix/bsd/ultrix4/__wait3.S: Likewise. + * sysdeps/unix/bsd/bsd4.4/__wait3.c: Likewise. + * sysdeps/unix/sysv/irix4/__wait3.S: Likewise. + * sysdeps/stub/__wait4.c: Renamed to wait4.c; added weak alias wait4. + * sysdeps/unix/bsd/sony/newsos4/__wait4.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/__wait4.c: Likewise. + * sysdeps/unix/bsd/bsd4.4/__wait4.S: Likewise. + * sysdeps/unix/bsd/osf1/alpha/__wait4.S: Likewise. + * sysdeps/unix/sysv/linux/__wait4.S: Likewise. + * sysdeps/mach/hurd/__wait4.c: Likewise. + * sysdeps/stub/__waitpid.c: Renamed to waitpid.c; added weak alias + waitpid. + * sysdeps/unix/bsd/sun/sunos4/__waitpid.c: Likewise. + * sysdeps/unix/bsd/ultrix4/__waitpid.S: Likewise. + * sysdeps/unix/bsd/bsd4.4/__waitpid.c: Likewise. + * sysdeps/unix/bsd/osf1/alpha/__waitpid.c: Likewise. + * sysdeps/unix/sysv/linux/__waitpid.S: Likewise. + * sysdeps/unix/sysv/sysv4/__waitpid.c: Likewise. + * sysdeps/unix/sysv/sco3.2.4/__waitpid.S: Likewise. + * sysdeps/unix/sysv/irix4/__waitpid.c: Likewise. + * sysdeps/stub/__write.c: Renamed to write.c; added weak alias write. + * sysdeps/unix/__write.S: Likewise. + * sysdeps/mach/hurd/__write.c: Likewise. + * sysdeps/standalone/__write.c: Likewise. + * sysdeps/stub/__tcgetatr.c: Renamed to tcgetattr.c; added weak + alias tcgetattr. + * sysdeps/unix/bsd/__tcgetatr.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/__tcgetatr.c: Likewise. + * sysdeps/unix/bsd/bsd4.4/__tcgetatr.c: Likewise. + * sysdeps/unix/sysv/__tcgetatr.c: Likewise. + * sysdeps/stub/__sigact.c: Renamed to sigaction.c; added weak + alias sigaction. + * sysdeps/unix/bsd/__sigact.c: Likewise. + * sysdeps/unix/sysv/__sigact.c: Likewise. + * sysdeps/unix/sysv/sysv4/__sigact.c: Likewise. + * sysdeps/unix/sysv/sco3.2.4/__sigact.S: Likewise. + * sysdeps/mach/hurd/__sigact.c: Likewise. + * sysdeps/posix/__sigstmsk.c: Renamed to sigsetmask.c; added weak + alias sigsetmask. + * sysdeps/stub/__sigstmsk.c: Likewise. + * sysdeps/unix/bsd/__sigstmsk.S: Likewise. + * sysdeps/unix/bsd/bsd4.4/__sigstmsk.c: Likewise. + * sysdeps/unix/bsd/osf1/alpha/__sigstmsk.S: Likewise. + * sysdeps/stub/__getrusag.c: Renamed to getrusage.c; added weak + alias getrusage. + * sysdeps/unix/sysv/irix4/__getrusag.c: Likewise. + * sysdeps/unix/common/__getrusag.S: Likewise. + * hurd/task2pid.c: File removed. + * hurd/setauth.c: File removed. + * hurd/pid2task.c: File removed. + * hurd/hurdsyms.c: File removed. + * hurd/getdport.c: File removed. + * hurd/fopenport.c: File removed. + * mach/thread-sym.c: File removed. + * mach/spin-syms.c: File removed. + * mach/msgserver_t.c: File removed. + * mach/msgserver.c: File removed. + * mach/msg.c: File removed. + * mach/mig_syms.c: File removed. + * malloc/mcheck-init.c: File removed. + * malloc/cfree.c: File removed. + * io/flock.c: File removed. + * io/write.c: File removed. + * io/unlink.c: File removed. + * io/umask.c: File removed. + * io/symlink.c: File removed. + * io/rmdir.c: File removed. + * io/readlink.c: File removed. + * io/read.c: File removed. + * io/pipe.c: File removed. + * io/open.c: File removed. + * io/mkdir.c: File removed. + * io/lstat.c: File removed. + * io/lseek.c: File removed. + * io/link.c: File removed. + * io/isatty.c: File removed. + * io/stat.c: File removed. + * io/fstat.c: File removed. + * io/fchown.c: File removed. + * io/fchmod.c: File removed. + * io/dup2.c: File removed. + * io/dup.c: File removed. + * io/close.c: File removed. + * io/fcntl.c: File removed. + * io/chmod.c: File removed. + * io/chdir.c: File removed. + * io/access.c: File removed. + * io/chown.c: File removed. + * time/tzset.c: File removed. + * time/timelocal.c: File removed. + * time/syms-time.c: File removed. + * time/settod.c: File removed. + * time/setitmr.c: File removed. + * time/gettod.c: File removed. + * time/getitmr.c: File removed. + * time/adjtime.c: File removed. + * termios/tcgetattr.c: File removed. + * string/stpncpy.c: File removed. + * string/rindex.c: File removed. + * string/memccpy.c: File removed. + * string/index.c: File removed. + * string/bcmp.c: File removed. + * stdlib/srand.c: File removed. + * stdlib/random.c: File removed. + * stdio/vsscanf.c: File removed. + * stdio/vfscanf.c: File removed. + * stdio/syms-stdio.c: File removed. + * stdio/remove.c: File removed. + * stdio/getline.c: File removed. + * stdio/getdelim.c: File removed. + * signal/ssignal.c: File removed. + * signal/sigvec.c: File removed. + * signal/sigsetmask.c: File removed. + * signal/sigret.c: File removed. + * signal/sigproc.c: File removed. + * signal/sigpause.c: File removed. + * signal/sigblock.c: File removed. + * signal/sigaction.c: File removed. + * signal/kill.c: File removed. + * signal/gsignal.c: File removed. + * setjmp/siglongjmp.c: File removed. + * setjmp/_longjmp.c: File removed. + * resource/getrusage.c: File removed. + * posix/waitpid.c: File removed. + * posix/wait4.c: File removed. + * posix/wait3.c: File removed. + * posix/wait.c: File removed. + * posix/times.c: File removed. + * posix/sysconf.c: File removed. + * posix/setuid.c: File removed. + * posix/setsid.c: File removed. + * posix/setpgrp.c: File removed. + * posix/setpgid.c: File removed. + * posix/setgid.c: File removed. + * posix/pathconf.c: File removed. + * posix/getuid.c: File removed. + * posix/getppid.c: File removed. + * posix/getpid.c: File removed. + * posix/getgrps.c: File removed. + * posix/getgid.c: File removed. + * posix/geteuid.c: File removed. + * posix/getegid.c: File removed. + * posix/fpathcon.c: File removed. + * posix/fork.c: File removed. + * posix/execve.c: File removed. + * posix/environ.c: File removed. + * misc/utimes.c: File removed. + * misc/setreuid.c: File removed. + * misc/setregid.c: File removed. + * misc/select.c: File removed. + * misc/sbrk.c: File removed. + * misc/mknod.c: File removed. + * misc/ioctl.c: File removed. + * misc/getpgsz.c: File removed. + * misc/gethstnm.c: File removed. + * misc/getdtsz.c: File removed. + * misc/data_start.c: File removed. + * misc/brk.c: File removed. + * math/scalb.c: File removed. + * math/rint.c: File removed. + * math/logb.c: File removed. + * math/isnan.c: File removed. + * math/isinf.c: File removed. + * math/infnan.c: File removed. + * math/finite.c: File removed. + * math/expm1.c: File removed. + * math/drem.c: File removed. + * math/copysign.c: File removed. + * math/__scalb.c: File removed. + * dirent/getdents.c: File removed. + +Fri Jan 20 16:11:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * sysdeps/generic/morecore.c (__default_morecore): Use + __malloc_ptrdiff_t; don't cast arg to int. + + * resolv/getnetnamadr.c: Include "conf/portability.h". + +Thu Jan 19 02:20:04 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * stdlib/strtol.c: Include errno.h. + [QUAD] (ULONG_MAX): Define to a static variable initialized to + ULONG_LONG_MAX. This is to work around a GCC bug in using the + constant in arithmetic. + + * posix/unistd.h (daemon): Declare it. + + * malloc/mcheck-init.c: Remove GNU ld hacks. + (__malloc_initialize_hook): Initialize this hook to turn_on_mcheck. + * malloc/malloc.c (__malloc_initialize_hook): New hook variable. + (initialize): Call the hook if set. + * malloc/malloc.h: Use __malloc_{size,ptrdiff}_t in prototypes. + (__malloc_initialize_hook): Declare new hook variable. + +Wed Jan 18 01:43:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * hurd/hurdsig.c: Prepend `msg_' to server RPC names. + * hurd/hurdpid.c: Likewise. + * hurd/hurdauth.c: Likewise. + +Tue Jan 17 03:16:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * sysdeps/mach/hurd/__select.c: If some replies are EINTR, succeed + if any are successful. + + * hurd/hurdmsg.c: Prepend `msg_' to all RPC names. + (_S_msg_get_exec_flags, _S_msg_set_exec_flags, + _S_msg_set_some_exec_flags, _S_msg_clear_some_exec_flags): New + functions. + (_S_io_select_done, _S_dir_changed, _S_file_changed): Stubs removed. + + * hurd/hurdkill.c: __sig_post renamed to __msg_sig_post. + * hurd/hurd-raise.c: Likewise. + * hurd/hurdsig.c (post_reply): Prepend `msg_' to RPC names. + + * sysdeps/mach/hurd/ptrace.c: New file. + + * sysdeps/mach/hurd/__select.c: Revamped to use new io_select + interface, which has normal EINTR semantics. Instead of waiting + for io_select_done notification messages, send io_select messages + with short reply timeout and then wait for io_select_reply + messages. + + * hurd/hurdexec.c (_hurd_exec): Pass (_hurd_exec_flags & + EXEC_INHERITED) to file_exec. + + * hurd/hurdsig.c (post_reply): Take new arg UNTRACED; if nonzero, + use sig_post_untraced_reply. All callers changed. + (abort_thread, abort_rpcs): Take same new arg and pass it through. + All callers changed. + (_hurd_internal_post_signal): Take new arg UNTRACED. + If zero and process is traced, stop with SIGNO as stop signal. If + nonzero, resume process before delivering signal (unless + ACT==stop). Expand local fn sigwakeup into block at end taken iff + SIGNO!=0. + (signal_allowed): New function, broken out of _S_sig_post. + (_S_sig_post): Call it. Pass UNTRACED arg of false to + _hurd_internal_post_signal. + (_S_sig_post_untraced): New function. Just like _S_sig_post, but + pass true for UNTRACED. + * hurd/hurd/signal.h (_hurd_internal_post_signal): Take new arg + UNTRACED. + * hurd/catch-exc.c (_S_catch_exception_raise): Pass UNTRACED arg + to _hurd_internal_post_signal (value zero). + +Mon Jan 16 16:40:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * hurd/hurdinit.c (_hurd_exec_flags): New variable. + (_hurd_init): Initialize it from FLAGS arg. + (_hurd_proc_init): If EXEC_TRACED is set in _hurd_exec_flags, + raise a SIGTRAP signal (with a sigcode of zero). + * hurd/hurd.h (_hurd_exec_flags): Declare it. + + * Version 1.09.5. + +Mon Jan 16 16:16:55 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu> + + * malloc/malloc.c (malloc): Fix 1-off in previous change. -Wed Jun 19 03:24:58 1996 Ulrich Drepper <drepper@cygnus.com> +Mon Jan 16 15:49:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * 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'. + * posix/glob/Makefile.in: Remove config.h and config.log. - * locale/programs/locfile.c: Don't depend in pre-2.0 Linux specific - name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'. +Sun Jan 15 06:56:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * locale/setlocale.c (setlocale): Initialize local variables to - prevent warnings. + * posix/glob/configure.in: Add AC_CONST check. -Thu Jun 13 17:25:11 1996 David Mosberger-Tang <davidm@azstarnet.com> + * conf/portability.h: #undef sun. + * resolv/res_query.c: Updated from BIND-4.9.3-BETA17. + * resolv/getnetnamadr.c: Likewise. - * sysdeps/generic/memcmp.c: Add prototype decls for internal fns. + * socket/Makefile (headers): Add sockaddrcom.h. + * inet/netinet/in.h: Include <sockaddrcom.h>. + (struct sockaddr_in): Use the __SOCKADDR_COMMON macro. + * socket/sys/un.h (struct sockaddr_in): Likewise. + * socket/sys/socket.h (struct sockaddr): Likewise. + * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: New file. + * sysdeps/generic/sockaddrcom.h: New file. + + * sysdeps/unix/sysv/sysv4/ftruncate.c: New file. + * sysdeps/unix/common/fcntlbits.h [__USE_SVID] (F_ALLOCSP, + F_FREESP): New macros. + * sysdeps/posix/truncate.c: New file. + + * malloc/malloc.c (malloc): Fix typos in RMS's change. + + * malloc/Makefile (dist-routines): Add malloc-find. + * malloc/malloc.h (malloc_find_object_address): Declare it. + * malloc/malloc-find.c: New file. + + * malloc/malloc.h (__malloc_ptrdiff_t): New macro, defined a la + __malloc_size_t. + (malloc_info): Use that type for member `busy.info.size'. + + * stdlib/strtol.c: Change uses of `long' keyword throughout to use + `LONG' macro. + [! QUAD] (LONG): Define as long. + [QUAD] (LONG): Define as long long. + [QUAD] (LONG_MIN, LONG_MAX, ULONG_MAX): Redefine to long long + versions. + [QUAD] (strtoul, strtol): Define to strtouq, strtoq. + * stdlib/Makefile (routines): Add strtoq and strtouq. + * stdlib/strtoq.c, stdlib/strtouq.c: New files. + * stdlib/stdlib.h [__GNUC__ && __USE_BSD] (strtoq, strtouq): + Declare them. - * locale/programs/locale.c: Include string.h. + * stdio/vfprintf.c: If there was a precision specified, ignore the + 0 flag and always pad with spaces. - * 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. + * stdio/vfprintf.c: Don't use strchr to skip text until next %. + Use a loop and also stop on first !isascii char. - * sunrpc/xdr.c (xdr_int, xdr_u_int): If sizeof(long)==8 and - sizeof(int)<sizeof(long), we need to go through a temporary - variable. +Wed Jan 11 00:07:10 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu> - * locale/programs/ld-numeric.c: Include <alloca.h> + * malloc/malloc.h (malloc_info): Change usage of .busy.info.size. - * libio/stdio.h (__libc_fatal): Add prototype. + * malloc/malloc.c (malloc): For a multi-block object, store a + negative number into the busy.info.size of all but the first block. - * libio/cleanup.c: Use __P() to declare prototype when __STDC__ is - in efect. +Tue Jan 10 13:45:20 1995 Brendan Kehoe <brendan@zen.org> - * libio/iopopen.c (read_or_write, parent_end, child_end): Declare - volatile to avoid "might get clobbered by longjmp" warning. + * sysdeps/unix/bsd/ultrix4/mips/start.S: Use s0, s1, and s2 + instead of t0, t1, and t2. - * 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. +Tue Jan 10 05:53:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * sysdeps/unix/bsd/osf/alpha/start.S (errno): Removed. - * sysdeps/unix/sysv/linux/alpha/start.S: Ditto. + * malloc/memalign.c (__memalign_hook): New variable. + (memalign): Call it if set. + * malloc/malloc.h (__memalign_hook): Declare new variable. - * misc/paths.h (_PATH_MAN): Change from /usr/share/man to /usr/man - to be Linux FSSTND compliant. +Wed Dec 28 03:27:21 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Mon Jun 10 17:50:31 1996 David Mosberger-Tang <davidm@azstarnet.com> + * conf/portability.h: Include string.h and stdlib.h. + * inet/netdb.h (NETDB_INTERNAL, NETDB_SUCCESS): New macros. + * resolv/resolv.h, resolv/arpa/nameser.h, resolv/gethnamaddr.c, + resolv/getnetbyname.c, resolv/getnetent.c, resolv/herror.c, + resolv/res_mkquery.c, resolv/res_send.c, resolv/res_comp.c, + resolv/res_debug.c, resolv/res_init.c: Updated from BIND 4.9.3-BETA14. - * sysdeps/unix/sysv/linux/alpha/pipe.S: Use PSEUDO. + * sysdeps/m68k/fpu/__math.h (__m81_inline): New macro. Replace + all uses of `extern __inline' with `__m81_inline'. - * 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/bsd/hp/m68k/__vfork.S: Use subl, not decl. + * sysdeps/unix/__fork.S: Swap args in subl. - * 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/sys/types.h [__USE_MISC] (ushort, uint): New typedefs, for + compatibility. - * 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. +Tue Dec 20 13:33:20 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - * sysdeps/unix/make-syscalls.sh, sysdeps/unix/sysdep.h - (PSEUDO_END): Rename END() to PSEUDO_END(). + * sysdeps/mach/hurd/__setpgrp.c (__setpgrp): Use __swtch_pri instead + of swtch. + * sysdeps/mach/hurd/__setsid.c (__setsid): Likewise. + * mach/spin-solid.c (__spin_lock_solid): Likewise. - * 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. +Thu Dec 15 12:01:07 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * 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. + * inet/rcmd.c (iruserok): Use alloca instead of fixed-size buffer + for PBUF. + (__ivaliduser): Use getline instead of fgets with fixed-size buffer. - * 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/mach/hurd/Makefile (subdirs): Don't elide inet. - * sysdeps/alpha/divrem.h: Use retaddr instead of ra as the return - address register in the .frame directive. +Wed Dec 14 18:20:56 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - * sysdeps/alpha/copysign.c: Remove. + * sysdeps/alpha/bsd-setjmp.S: Reverse register and immediate args + in `bis' insn; immediate must be second. - * sunrpc/rpc/types.h: Include <sys/param.h> and <netinet/in.h> to - avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN. + * sysdeps/unix/__fork.S: Use subl instead of decl. + * sysdeps/unix/i386/__fork.S: New file. - * errno.h: Move __END_DECLS to correct place to make file - compilable under c++. + * sysdeps/mach/hurd/alpha/trampoline.c (_hurd_setup_sighandler): + Remove A macro; just use `asm volatile' with proper quotes in each + line. + * sysdeps/mach/alpha/sysdep.h (CALL_WITH_SP): Put parens around + jmp target register. - * dirent/dirent.h: Document _DIRENT_HAVE_D_OFF macro. Define - d_ino only if <direntry.h> hasn't defined d_fileno. + * time/africa, time/asia, time/australasia, time/emkdir.c, + time/europe, time/ialloc.c, time/northamerica, time/private.h, + time/scheck.c, time/yearistype, time/zdump.c, time/zic.c: New code + and data from ADO 94h distribution. - * configure.in (HAVE_ASM_WEAKEXT_DIRECTIVE): Reverse order of - arguments to weakext to make .weakext detection work on ECOFF systems. + * sysdeps/sparc/setjmp.S: Use sethi and or to put address of + __sigjmp_save in %g1 and jmp there. jmp cannot contain a complete + absolute pointer. Put second store in jmp delay slot. - * FAQ: Add Linux/Alpha to list of supported platforms. Mention - that _validuser() has been replaced by __ivaliduser(). +Tue Dec 13 15:47:52 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> -Thu Jun 6 21:39:38 1996 David Mosberger-Tang <davidm@azstarnet.com> + * sysdeps/sparc/bsd-_setjmp.S: Use sethi and or to put address of + __sigsetjmp in %g1 and jmp there. jmp cannot contain a complete + absolute pointer. + * sysdeps/sparc/bsd-setjmp.S: Likewise. - * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Declare cmd - as unsigned long, not as int (to avoid incorrect int->long - promotion). + * configure.in: Use ; before } in { ... } exprs. -See ChangeLog.5 for earlier changes. +See ChangeLog.4 for earlier changes. |