diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2017-08-02 20:57:34 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2017-08-02 20:57:34 +0530 |
commit | edf66db113cdaded68871e13ccaae158eef2a321 (patch) | |
tree | 98ceb2df248d99dabeee311dacf6c487df4d81fc /ChangeLog.2 | |
parent | 92c3af3c140f671ea49c751368d17df2e10d0eeb (diff) | |
download | glibc-edf66db113cdaded68871e13ccaae158eef2a321.tar.gz glibc-edf66db113cdaded68871e13ccaae158eef2a321.tar.xz glibc-edf66db113cdaded68871e13ccaae158eef2a321.zip |
Rotate ChangeLog correctly
I incorrectly assumed that the ChangeLog numbers (.1, .2, etc.) are in order. They're not and the latest non-current ChangeLog is the one with the highest number. Fixed.
Diffstat (limited to 'ChangeLog.2')
-rw-r--r-- | ChangeLog.2 | 4748 |
1 files changed, 2910 insertions, 1838 deletions
diff --git a/ChangeLog.2 b/ChangeLog.2 index 1c88068c60..4d134006ba 100644 --- a/ChangeLog.2 +++ b/ChangeLog.2 @@ -1,2670 +1,3742 @@ -Thu Sep 3 17:31:13 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) +Mon Jan 17 17:31:28 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/unix/bsd/setgroups.S: New file. How did this manage not - to exist already?? + * Version 1.07 released. - * Version 1.04. + * Makerules (install-lib rules): Fix typos: missing / after $(libdir). - * sysdeps/generic/memmem.c (memmem): Fixed loop condition not to - use nonexistent variable. + * posix/Makefile (lib): Depend on $(objpfx)libposix.a + * malloc/Makefile (lib): Depend on $(objpfx)libmcheck.a. + * math/Makefile (lib): Depend on $(objpfx)libm.a. + * misc/Makefile (lib): Depend on $(objpfx)libbsd-compat.a. - * string/string.h (memmem): Put const qualifier on args. + * sysdeps/unix/sysv/sco3.2.4/__setpgid.c: New file. - * sysdeps/stub/sigaltstack.c (sigaltstack): Fix arg type. + * stdio/internals.c (flushbuf): Don't try aligned-block writing + calculation when FP->__buffer is nil. - * setjmp/sigsetjmp.c: #undef sigsetjmp before defining the function. +Mon Jan 17 17:27:56 1994 Jim Meyering (meyering@comco.com) -Wed Sep 2 16:43:58 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * sysdeps/generic/memcmp.c [!_LIBC]: Include <sys/types.h> for + definition of size_t. - * misc/Makefile (headers): Add syscall.h. - * sysdeps/unix/Makefile: Only generate syscall.h if it would - otherwise come from stub. - * sysdeps/stub/syscall.h: New file. +Mon Jan 17 17:13:11 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * time/Makefile (routines): Add stime. + * sysdeps/unix/sysv/sco3.2.4/syscall.h: Add SYS_[gs]etitimer and + SYS_pgrpsys (from scottb). - * io/Makefile (routines): Add fchdir. + * sysdeps/unix/configure: Check for getitimer and setitimer syscalls. - * signal/Makefile (routines): Add sigaltstack. + * sysdeps/unix/bsd/sequent/i386/syscall.S: New file from jason. - * string/Makefile (routines): Add memmem. +Sun Jan 16 00:41:03 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * setjmp/Makefile (routines): Add sigsetjmp, _setjmp. + * string/strerror.c (strerror): Declare BUF to be array of char. - * misc/Makefile (routines): Add getpass. + * Version 1.06.13. - * Makefile (distribute): Add NEWS. +Sat Jan 15 17:27:26 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * Makerules (ar-it) [! objdir]: Pass `ru' instead of `u' to ar. - Use $(..)libc.a instead of $(libc.a). + * stdlib/testsort.c (main): Rewrite not to read any input; instead + generate some random alphabetic strings. - * sysdeps/unix/sysv/i386/linux/sysdep.h (PSEUDO): Call numbers are - SYS_*, not __NR_*. + * stdlib/Makefile (testsort.input): Rules removed. - * sysdeps/unix/sysv/i386/linux/__wait.S: Prepend extra _ to - `__waitpid' for jmp. + * sysdeps/unix/sysv/i386/__sigret.S: New file. - * Makerules (check): New rule; alias for `tests'. + * stdio/Makefile (distribute): Add mpn-copy.mk. + Remove 68k rules; include mpn-copy.mk for dir names needing + translation, and rewrite no-68k rules to be generic for the rest. + (mpn-copy-sysdep): New variable. + (mpn-stuff): Include $(mpn-copy-sysdep). + (clean-mpn): Use rm -f. - * sysdeps/stub/__setregid.c: Args are gid_t, not int. + * configure.in (machine): Match m68... and m88..., not mc[68]8.... - * sysdeps/posix/readv.c: #include <string.h>. + * stdio/printf_fp.c: For length arg to __mpn_extract_double, pass + actual number of limbs allocated for F, not LDBL_MANT_DIG. - * sysdeps/generic/printf_fp.c: If LDBL_DIG or LDBL_MAX_10_EXP is - defined by float.h, #define each to DBL_*. +Fri Jan 14 19:09:29 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Tue Sep 1 16:29:07 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * sysdeps/unix/i386/sysdep.S: Fixed typo: `movl', not `move'. - * sysdeps/unix/Makefile (syscall.h): Add missing backslashes. + * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Swap args in cmpl insn. - * Makeconfig [!objdir && !..] (common-objpfx): Define as - `sysdeps/..'; The Almighty KludgeMeister 2000 wins again. +Thu Jan 13 17:09:19 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * Makerules (sysdep-Makefile): Rename to sysd-Makefile. + * Version 1.06.12. - * Makeconfig (CC): Don't use -pipe by default. + * sysdeps/mips/sqrt.c: File removed. Ian says only the r[46]00 + have `sqrt.d' and GCC open codes it anyway. Perhaps someday + Brendan will be able to explain his rationale for writing this. :( - * configure (switches): Put quotes around os-release and - os-version values. +Tue Jan 11 18:10:17 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Mon Aug 31 19:33:15 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * posix/sys/wait.h (__WAIT_STATUS, __WAIT_STATUS_DEFN): Use snazzy + version only for GCC >= 2.6 (was 2.4); 2.5.7 produces bad code on + sparc when the union arg type is used. - * sysdeps/stub/cbrt.c: New file. + * Makeconfig (libprefix): New variable. + * Makerules ($(libdir)/libc.a, install): Insert $(libprefix) + between `lib' and `c' in the file name. + [install-lib] (install-lib.a, install-lib-non.a): New variables + separate out $(install-lib) elts which do or don't match lib%.a. + ($(libdir)/...): Split into two rules for above two cases. Put + $(libprefix) on installed files; for lib%.a insert it before % + rather than at beginning of file name. - * sysdeps/generic/cabs.c: New file. + * Version 1.06.11. - * sysdeps/generic/ceil.c: New file, split from floor.c. - * sysdeps/generic/__rint.c: Replaced with code split from floor.c. - * sysdeps/generic/Makefile (routines): Don't remove ceil, __rint. + * Makerules (compilation rules): Move directoryless rules (for + finding sources in .) before include sysd-rules. Omit rules to + compile from sources in $(objpfx) if not using $(objdir). -Thu Aug 27 15:58:13 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + * sysdeps/stub/errlist.c [! HAVE_GNU_LD]: #define _sys_errlist to + sys_errlist and _sys_nerr to sys_nerr. - * malloc/malloc.h [! __STDC__] (ptrdiff_t): #define. +Mon Jan 10 15:01:32 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Wed Aug 26 18:15:47 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * time/Makefile (z.%): In generated rules, depend on yearistype. + (tzcompile): Pass -y flag with file name of yearistype. - * malloc/free.c (__free): Rename to _free_internal. - (free), malloc/malloc.c (morecore): Change callers. - * malloc/malloc.h: Change decl. +Sun Jan 9 17:51:43 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Tue Aug 18 17:38:13 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * misc/bsd-compat.c (longjmp): Use __NORETURN in type. - * sysdeps/generic/__copysign.c: New file. + * sysdeps/ieee754/dbl2mpn.c [N == 2]: For denormal, when + RES_PTR[1] is zero, return 1 instead of 2. - * sysdeps/unix/sysv/sysdep.h: #include <syscall.h>, not - <sys/syscall.h>. Don't #define _SYS_SYS_S; should no longer be - necessary. +Sun Jan 9 13:10:25 1994 Torbjorn Granlund (tege@adder.cygnus.com) - * sysdeps/unix/Makefile (syscall.h): Replaced simple code to just - find the file in any of several places, with hairier code to find - it and massage it. + * stdio/printf_fp.c: Solve 10+ problems. + * ieee754/dbl2mpn.c: Correctly detect denorms. Get the denom + exponent right. - * malloc/Makefile (obstack.%): Remove rule. - (gpl2lgpl): Define this instead. - * posix/Makefile (gpl2lgpl): Define to include getopt source files. - * Makerules ($(gpl2lgpl)): New rule to snarf code and frob its - copying notices. +Sun Jan 9 00:40:48 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Fri Aug 14 13:28:39 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/ieee754/dbl2mpn.c: Test BITS_PER_MP_LIMB and handle + either 32 or 64; #error if not one of those. - * Makeconfig (common-objdir, common-objpfx): Define new vars. - (libc.a): Define in terms of $(common-objpfx). - Find config.make with $(common-objpfx), not $(objpfx). - * Makerules (common-objdir-compile): Define canned sequence. - (native-compile): Use $(@D)/$(@F) instead of stripping off $(objpfx). - * sysdeps/unix/Makefile, sysdeps/unix/bsd/Makefile, - sysdeps/generic/Makefile: Use it. - Use $(common-objpfx) for generated things not specific to one subdir. + * sysdeps/stub/udiv_qrnnd.c: Renamed from udiv_qrnnd.S. - * sysdeps/unix/Makefile (sysdep_headers): Add - $(sys/param.h-includes) to this instead of to headers. +Sat Jan 8 00:25:15 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Thu Aug 13 18:30:58 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * Version 1.06.10. - * posix/glob.c: Always #include <sys/types.h>. - [! USG]: Don't do it here. - [STDC_HEADERS]: Test this instead of __STDC__ for size_t. - [HAVE_STRCOLL]: Test this instead of ANSI_STRING for strcoll. + * Makerules ($(libdir)/libc.a): Depend on subdir_install. - * posix/glob/Makefile.in (Makefile): Remove rule. +Thu Jan 6 02:17:07 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Wed Aug 12 16:12:52 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * Makerules ($(bindir)/$(install)): Use $(INSTALL_PROGRAM), not + $(INSTALL). + ($(libdir)/libc.a): Don't depend on lib-noranlib; on libobjs and + ar-it instead. Run ranlib on target after installing. + (installdirs): Target removed; deps on it removed. + (install-{bin,lib,data,headers,others,no-libc.a}): Renamed to + `install-*-nosubdir'. + (install-%): New pattern rule. + (install): Depend only on install-no-libc.a-nosubdir. + * Rules (subdir_install): Depend on lib-noranlib and stubs. + * Makefile (headers): Remove stubs.h. + (install-others): Define to include $(includedir)/stubs.h. + ($(includedir)/stubs.h): New target for $(objpfx)stubs.h rule. + Depend only on subdir_install, and install directly. - * sysdeps/sparc/jmp_buf.h: Deansideclized. + * Makerules (sed-remove-objpfx): Require SPC before $(objpfx) to match. - * sysdeps/generic/make_siglist.c: #undef HAVE_SYS_SIGLIST, not - SYS_SIGLIST_MISSING. - * sysdeps/generic/signame.[ch]: Re-symlinked from /gd/gnu/lib. - Who's been removing random things from my source tree?? + * time/zic.c (mkdirs): Duplicate passed string in allocated memory + and free it when done. -Tue Aug 11 15:01:50 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * dirent/dirent.h [__USE_BSD || __USE_MISC]: Get size_t from stddef.h. - * posix/getconf.c (main): Cast printf field with arg to int. + * sysdeps/ieee754/dbl2mpn.c: For zero value, return 1 limb not 0. - * Makefile (distribute): Remove ansidecl, ansidecl.m4. + * Makerules (make-dummy-dep): Use filter-out to invert sense of + wildcard match, so we produce a command if $@ does *not* exist.c - * posix/glob.c [_AIX]: Don't declare alloca. + * stdio/Makefile (routines): Add dbl2mpn. -Mon Aug 10 17:09:40 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +Wed Jan 5 17:52:43 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/m68k/fpu/__math.h (__expm1): Define just like expm1. + * sysdeps/unix/i386/sysdep.S (syscall_error): Reverse args in + `cmpl' insn; non-GNU assembler is feeble-minded. - * sysdeps/unix/ioctls-tmpl.c [SMIOSTATS, SMIOGETREBOOT0, - ZIOCBCMD]: Include headers for these. +Mon Jan 3 18:53:45 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Fri Aug 7 16:01:43 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * configure.in (sysnames): Remove / before $mach; it is prepended + already by the loop constructing $mach from $machine. - * string/tester.c (main): Use sys_nerr and sys_errlist, not _sys_*. +Tue Dec 28 07:38:23 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * stdio/stdio.h [__USE_GNU] (_sys_nerr, _sys_errlist): Declare. + * stdio/Makefile [gmp-srcdir] (clean-mpn): New target. - * string/strerror.c, stdio/perror.c - [HAVE_GNU_LD] (_sys_errlist, _sys_nerr): Remove decls. + * configure.in (machine): Turn i[34]86 into i386/&, sparc* into + sparc/&, m68k into m68k/mc68020, mc680?0 into m68k/&, mips or + r2000 into mips/r3000, r[34]000 into mips/&. + (mach): New variable; processed from $machine as $base from $base_os. + Use that in place of $machine in loop finding sysdep directories. - * stdio/memstream.c (enlarge_buffer): Notice when target is -1 and - don't treat it as a huge value. + * stdio/Makefile (aux): Add mp_clz_tab. + (mpn-copy): Add mp_clz_tab.c. + (mpn-routines): Add udiv_qrnnd. + (mpn-sysdep): Look for .s files too. + * sysdeps/stub/udiv_qrnnd.S: New file. - * stdio/tst-printf.c: #if 0 code that tickles printf_fp bugs. +Sat Dec 25 00:20:07 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * grp/testgrp.c: Don't bomb if uid not in passwd file. + * Version 1.06.9. - * stdlib/tst-strtol.c (tests): C-t on LONG_MIN and LONG_MIN-1 elts. + * Makefile (distribute): Add install.sh. + * install.sh: New file. - * stdlib/strtol.c: Use int flag NEGATIVE instead of char 1/-1 SIGN. - Fixed checking for overflow of long int that fits in unsigned long - int--must cast LONG_MIN before negating! + * sysdeps/i386/Makefile: New file. + (asm-CPPFLAGS): Add -DGAS_SYNTAX. + + * stdio/printf_fp.c: Major rewrite of sysdeps/generic/printf_fp.c, + working with the fractional parts as multiprecision integers + instead of doubles, using mpn functions from GNU MP. Done with + much help from tege@cygnus.com. + * sysdeps/generic/printf_fp.c, sysdeps/ieee754/printf_fp.c, + sysdeps/m68k/fpu/printf_fp.c: Files removed. + +Fri Dec 24 23:09:44 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/stub/dbl2mpn.c, sysdeps/iee754/dbl2mpn.c: New files. + * sysdeps/stub/asm.h: New file. + * sysdeps/m68k/add_n.S, sysdeps/m68k/addmul_1.S, + sysdeps/m68k/mul_1.S, sysdeps/m68k/sub_n.S, + sysdeps/m68k/submul_1.S, sysdeps/m68k/asm.h, + sysdeps/generic/add_1.c, sysdeps/generic/add_n.c, + sysdeps/generic/addmul_1.c, sysdeps/generic/cmp.c, + sysdeps/generic/divmod.c, sysdeps/generic/divmod_1.c, + sysdeps/generic/lshift.c, sysdeps/generic/rshift.c, + sysdeps/generic/mod_1.c, sysdeps/generic/mul.c, + sysdeps/generic/mul_1.c, sysdeps/generic/mul_n.c, + sysdeps/generic/sub_n.c, sysdeps/generic/submul_1.c, + sysdeps/generic/get_str.c, sysdeps/i386/addmul_1.S, + sysdeps/i386/mul_1.S, sysdeps/i386/submul_1.S, + sysdeps/alpha/gmp-mparam.h, sysdeps/generic/gmp-mparam.h, + sysdeps/i386/asm.h, stdio/longlong.h, stdio/gmp.h, + stdio/gmp-impl.h: New files, taken from GNU MP. + * stdio/Makefile (mpn-headers, mpn-routines): New variables. + (routines): Include $(mpn-routines). + (distribute): Include $(mpn-headers). + [gmp-srcdir]: Much code to copy mpn source from $(gmp-srcdir). + * configure.in: Check for a --with-gmp argument and set gmp-srcdir + in config.make to its value (error if no arg given). Move + config_vars initialization before this (right after arg parsing). + +Thu Dec 23 01:44:12 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/m68k/Makefile (m68k-syntax-flag): New variable. + (compile-command.S): Include $(m68k-syntax-flag) in cpp flags. + + * manual/Makefile (install-data): New target. + (install-%): New pattern rule. + + * Makerules ($(bindir)/...): Do $(make-target-directory) first. + +Thu Dec 23 01:03:19 1993 Brendan Kehoe (brendan@zen.org) + + Port to the DEC Alpha running OSF/1. (75% done) + * sysdeps/unix/bsd/osf1/alpha/start.S: New file. + * sysdeps/unix/bsd/osf1/alpha/sysdep.h: New file. + * sysdeps/unix/bsd/osf1/alpha/sysdep.S: New file. + * sysdeps/unix/bsd/osf1/alpha/__brk.S: New file (incomplete). + * sysdeps/unix/bsd/osf1/alpha/__fork.S: New file. + * sysdeps/unix/bsd/osf1/alpha/__pipe.S: New file. + * sysdeps/unix/bsd/osf1/alpha/__getdents.S: New file. + * sysdeps/unix/bsd/osf1/alpha/__waitpid.c: New file. + * sysdeps/unix/bsd/osf1/alpha/__wait4.S: New file. + * sysdeps/unix/bsd/osf1/dirstream.h: New file. + * sysdeps/unix/bsd/osf1/alpha/statbuf.h: New file. + * sysdeps/unix/bsd/osf1/direct.h: New file. + * sysdeps/unix/bsd/osf1/dirstream.h: New file. + * sysdeps/unix/bsd/osf1/Makefile: New file, defining LDFLAGS. + + * sysdeps/unix/ioctls-tmpl.c [__osf1__ && __alpha__]: Clean up the + ioctls that we get for an Alpha running OSF/1. + + * sysdeps/unix/common/glue-ctype.c: Add code for HAVE__LOCP. + (main): If new macro TABLE_NAME is defined, use that for the name + of the array we're writing out, rather than what's defined in TABLE. + * sysdeps/unix/common/configure.in (AC_HAVE_FUNCS): Add `_locp'. + + * sysdeps/unix/bsd/osf1/sigaction.h: Add SA_ONSTACK, SA_RESTART, + and SA_DISABLE. + * sysdeps/alpha/setjmp.S: Add .end directive. + + * time/sys/time.h (struct timeval): Make members TV_SEC and + TV_USEC be `int', not `long', since it won't hurt other hosts, but + kills the Alpha. + * resource/sys/resource.h (struct rusage): Make all non-timeval + members be `long', not `int'. + + * sysdeps/alpha/strlen.c (strlen): Go from 0 to 7, not 3, since + there are 8 bytes in a long on the Alpha. Check for '\0' after + checking for C in initial byte-by-byte loop. + * sysdeps/alpha/strchr.c (strchr): Likewise. Shift out to 64 when + setting CHARMASK. + * sysdeps/alpha/memchr.c (memchr): Likewise. Return NULL if we + didn't find it in N characters, or N == 0. Declare CP to be an + unsigned char*. + + * sysdeps/alpha/Makefile: Add divrem stuff. + * sysdeps/alpha/DEFS.h: New file. + * sysdeps/alpha/divrem.m4: New file. + * sysdeps/alpha/macros.m4: New file. + * sysdeps/alpha/Dist: Add .S files, divrem.m4, macros.m4, and DEFS.h. + + * sysdeps/unix/bsd/osf1/alpha/vhangup.S: New file. (Only a + temporary workaround, until we figure out how to deal with the + SYS_ult syscalls better.) + * sysdeps/unix/bsd/osf1/alpha/killpg.S: Likewise. + * sysdeps/unix/bsd/osf1/alpha/__sigvec.S: Likewise. + * sysdeps/unix/bsd/osf1/alpha/__sigpause.S: Likewise. + * sysdeps/unix/bsd/osf1/alpha/__sigstmsk.S: Likewise. + * sysdeps/unix/bsd/osf1/alpha/recv.S: Likewise. + * sysdeps/unix/bsd/osf1/alpha/send.S: Likewise. + + * sysdeps/alpha/__math.h (__copysign): Add __CONSTVALUE. + * sysdeps/alpha/__copysign.c: Define __NO_MATH_INLINES. + * sysdeps/alpha/fabs.c: Likewise. + +Wed Dec 22 17:55:49 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * crypt/*: New version from glad. + + * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c. + + * dirent/Makefile (headers): Define; include dirent.h & dirstream.h. + +Tue Dec 21 14:24:38 1993 Brendan Kehoe (brendan@zen.org) + + * sysdeps/unix/sysv/sysv4/i386/statbuf.h (struct stat): Add + missing member ST_FSTYPE. Fixup types on various members to make + this properly reflect what the system has. -Thu Aug 6 18:46:24 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * misc/ioctl.c (ioctl): Declare 2nd arg to be unsigned long int to + match the change in ioctl.h. - * stdio/bug3.c (main): Define ansideclifily. +Tue Dec 21 00:01:01 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/unix/bsd/sun/sparc/__pipe.S: Define __pipe, not ___pipe. + * Version 1.06.8. - * math/test-math.c (main): Remove unused vars. + * dirent/dirent.h (struct dirent): Add `d_reclen'; make `d_namlen' + an `unsigned short int' instead of `size_t'. + (DIR): Move typedef to sysdep file dirstream.h. + * sysdeps/unix/dirstream.h: New file, broken out of dirent.h. + * sysdeps/stub/dirstream.h: New file. + * sysdeps/unix/bsd/dirstream.h: New file. + * sysdeps/unix/bsd/readdir.c: New file. - * io/flock.c: #include <sys/file.h>, and not fcntl.h or sys/types.h. +Mon Dec 20 23:29:07 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/m68k/fpu/__math.h (__rint): Define just like rint. + * sysdeps/unix/start.c: Include <sysdep.h>. + * sysdeps/unix/sysv/sysv4/i386/start.c: File removed. - * math/math.h (__rint): Declare. +Sat Dec 18 01:37:25 1993 Brendan Kehoe (brendan@zen.org) - * configure (esix*): base_os=unix/sysv. + * sysdeps/unix/sysv/sysv4/i386/start.c: New file. Same as + sysdeps/unix/i386/start.c, but defines NO_UNDERSCORES. - * dirent/getdents.c: #include <dirent.h>. + * sysdeps/unix/sysv/sysv4/waitflags.h: New file, with non-standard + WEXITED and WTRAPPED macros defined. + * sysdeps/unix/sysv/sysv4/__waitpid.c: New file. + * sysdeps/unix/sysv/sysv4/siginfo.h: New file. + * sysdeps/unix/sysv/sysv4/__waitid.S: New file. + * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Mention __waitid. + * sysdeps/unix/sysv/sysv4/pipestream.c: New file, to avoid having + NO_WAITPID set. + * sysdeps/unix/sysv/sysv4/Dist: Added __waitid.S and siginfo.h. - * Rules (subdir): Avoid TAB before # at end of defn. + * sysdeps/unix/sysv/sysv4/__getpgid.c: New file. + * sysdeps/unix/sysv/sysv4/__setpgid.c: New file. + * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Add them. - * sysdeps/unix/bsd/bsd4.4/__wait3.c: Last arg type is struct rusage *. + * sysdeps/unix/sysv/sysv4/__getpgrp.c (__getpgrp): It's the 0th + subcall for getpgrp, not 4th. + * sysdeps/unix/sysv/sysv4/__setpgrp.c (__setpgrp): Likewise, it's + the 1st, not the 5th. -Tue Aug 4 18:19:43 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +Fri Dec 17 15:05:58 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/ieee754/Makefile: Removed. + * misc/sys/ioctl.h (__ioctl, ioctl): Make second arg `unsigned + long int' instead of `int' (4.4 uses unsigned long). - * math/math.h: Declare __expm1. + * string/string.h (strcat): Parameters names were swapped. -Mon Aug 3 13:02:05 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +Fri Dec 17 01:18:27 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - * sysdeps/ieee754/cabs.c (cabs, z_abs): Members of structure have __. + * Made the Hurd error system 0x10 again; this undid many + of the changes of Nov 23. Affected all the err_ files in + mach; recreated sysdeps/hurd/err_hurd.sub; changed back + err_kern.sub to have the Unix error codes. - * sysdeps/unix/bsd/seq386: Remove directory. +Thu Dec 16 15:40:25 1993 Brendan Kehoe (brendan@zen.org) -Thu Jul 30 15:42:01 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * stdio/temptest.c (main): Remove the files we created once we're + done. Make return type int, and exit with 0 status. - * sysdeps/unix/bsd/sun/sparc/sigcontext.h: Deansideclized. + * sysdeps/posix/tempname.c (__stdio_gen_tempname): Fix typo of + extra comma in sprintf call. - * sysdeps/unix/bsd/sun/sunos4/__wait4.c: Make last arg struct rusage - instead of PTR. +Tue Dec 14 13:08:35 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/unix/morecore.c (__default_morecore): Make arg ptrdiff_t. + * sysdeps/posix/tempname.c (__stdio_gen_tempname): Rewrote main + logic. Removed INFOS structure array and replaced it with + INDICES, an array of size_t. Removed INFO ptr and replaced it + with IDX, which points to either elt of INDICES. Rewrite main + loop to increment *IDX until it hits 62*62*62. Construct file + name by dividing out two powers of 62 from *IDX and using the + modulus as an index into `letters'. - * sysdeps/ieee754/cabs.c (cabs, z_abs): Use `struct __complex' for arg. + * sysdeps/unix/common/Makefile (sysdep_routines): Only add + bsd_getgrp here if the sysdep __getgrps.? chosen is unix/common's. - * sysdeps/generic/pow.c: #include <limits.h>. + * posix/fnmatch.h: #undef FNM_PATHNAME, FNM_NOESCAPE, and + FNM_PERIOD before defining them. - * sysdeps/generic/mathimpl.c: #include <math.h> before frobnication. + * time/__tzset.c (compute_change): In M case when tallying time in + months before specified month, count to RULE->m - 1, not ...+1. - * misc/getusersh.c (okshells): Make const. - (initshells): Properly declare static. + * manual/Makefile (realclean): Remove index, aux, and toc files + created by TeX. - * sysdeps/unix/bsd/__tcgetatr.c: Cast sg_[io]speed to (unsigned char) - to avoid gcc warnings. +Mon Dec 13 19:33:33 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * math/bsd/common/atan2.c, math/bsd/common/tan.c, - math/bsd/common/sincos.c, math/bsd/common/trig.h, - math/bsd/common_source/__expm1.c, math/bsd/common_source/fmod.c, - math/bsd/common_source/acosh.c, math/bsd/common_source/log.c, - math/bsd/common_source/asincos.c, math/bsd/common_source/asinh.c, - math/bsd/common_source/log1p.c, math/bsd/common_source/atan.c, - math/bsd/common_source/log__L.c, math/bsd/common_source/atanh.c, - math/bsd/common_source/mathimpl.h, math/bsd/common_source/cosh.c, - math/bsd/common_source/exp.c, math/bsd/common_source/sinh.c, - math/bsd/common_source/exp__E.c, math/bsd/common_source/tanh.c, - math/bsd/common_source/floor.c: Moved to sysdeps/generic. - * math/bsd/ieee/{cabs,cbrt,support}.c: Moved to sysdeps/ieee754. - * All above + sysdeps/generic/mathimpl.h, sysdeps/generic/pow.c: New - code from 4.4/net2. + * sysdeps/posix/__wait3.c: Use __WAIT_STATUS_DEFN in place of + __WAIT_STATUS in arg type. - * sysdeps/generic/ffs.c: #include <string.h>, not <bstring.h>. +Wed Dec 8 15:59:45 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * posix/glob/Makefile.in (Makefile): Depend on config.status; invoke - it directly instead of using $(SHELL). + * malloc/memalign.c: Set L->next and _aligned_blocks only when L + is newly allocated, not when we reuse an old one. - * posix/glob.c [! USG]: #include <sys/types.h> before <sys/dir.h>. +Tue Dec 7 16:04:22 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Tue Jul 28 17:54:23 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * io/fcntl.c: Replace function_alias use with: + [HAVE_GNU_LD]: Use symbol_alias. + [! HAVE_GNU_LD]: Define fcntl to use stdarg and call __fcntl. - * sysdeps/unix/bsd/ultrix42: Renamed to ultrix4. +Mon Dec 6 17:50:05 1993 Brendan Kehoe (brendan@zen.org) - * sysdeps/unix/sysv/isc2.2/__rename.S: New. - * configure (isc*): base_os=unix/sysv. + * sysdeps/unix/i386/sysdep.S (syscall_error): Fix labels so + they'll compile. - * Makefile, Makerules, Rules, math/Makefile, ctype/Makefile: Use - "export foo := $(foo)" instead of ifdef have_export_directive. - * Makeconfig (have_export_directive): Remove; move .NOEXPORT down. + Make the Solaris port work dammit. + * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h (struct stat): Make + ST_DEV member be unsigned long, not short. -Mon Jul 27 18:01:30 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/unix/sysv/sysv4/solaris2/direct.h: New file, same as + sysv4/direct.h but uses strlen instead of the offset-based + computation of the name length, since that doesn't reliably work + for Solaris. - * configure: Remove redundant test to set os_used. + * sysdeps/unix/sysv/sysv4/solaris2/sysdep.h (PSEUDO): Don't move + %g0 into %o0, since that will clobber the real return value. Take + out the retl at the end, why in the world did I put it in there? -Sun Jul 26 17:03:31 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +Mon Dec 6 17:27:26 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * README.template: Don't mention Q+A. - * Makefile (distribute): Remove Q+A. + * Makefile ($(objpfx)crt1.o): Add target to $(objpfx)Mcrt1.o + rule; generalize commands. + (install-lib): Add crt1.o. - * Makefile, Makerules, Rules, math/Makefile, ctype/Makefile: Put - "ifdef have_export_directive" around uses of `export' directive. - They are only needed for dist and tags anyway. - * Makeconfig (have_export_directive): Add commented-out defn, and - comment to explain. - (.NOEXPORT): Add special target for old versions of GNU make. + * sysdeps/unix/Makefile ($(common-objpfx)ioctls): Use -x flag to + fgrep to match only entire lines. - * posix/glob.c [_AIX]: #pragma alloca first thing. - [ANSI_STRING]: Remove #define's for index et al. +Sun Dec 5 01:53:43 1993 Brendan Kehoe (brendan@zen.org) -Thu Jul 23 21:49:53 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/unix/bsd/ultrix4/mips/start.S: New file. + * sysdeps/unix/bsd/ultrix4/mips/start.c: Deleted. - * misc/getpass.c: New. - * posix/unistd.h (getpass): Declare. +Thu Dec 2 18:29:01 1993 Brendan Kehoe (brendan@zen.org) - * posix/unistd.h (getusershell, setusershell, endusershell): Declare. - * misc/Makefile (routines): Add getusersh. - * misc/getusersh.c: New. + * sysdeps/unix/bsd/ultrix4/mips/sysdep.S: Don't use dollar signs + with the errnos. -Tue Jul 14 20:03:57 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/stub/{__wait, __wait3, __wait4}.c, + sysdeps/unix/bsd/bsd4.4/{__wait, __wait3}.c, + sysdeps/unix/bsd/sun/sunos4/__wait4.c, + sysdeps/posix/{__wait, __wait3}.c, posix/{wait, wait3, wait4}.c: Use + __WAIT_STATUS_DEFN, not __WAIT_STATUS. - * stdlib/Makefile (tests): Add testdiv. - * stdlib/testdiv.c: New. + * sysdeps/posix/killpg.c (killpg): Make arg PGRP __pid_t, not pid_t. + * sysdeps/stub/killpg.c (killpg): Likewise. - * sysdeps/unix/sysv/i386/linux/{rename,__mkdir,__rmdir,__dup2, - getpgrp,__setpgrp,setsid}.S: New files. + * setjmp/longjmp.c (longjmp): Only use __NORETURN if !HAVE_GNU_LD. + * setjmp/_longjmp.c (_longjmp): Likewise. - * sysdeps/unix/__getppid.S: If SYS_getppid is defined, use it rather - than alternate value of getpid. - * __gete[ug]id.S: Similar. +Thu Dec 2 17:31:19 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/unix/sysv/i386/linux/__waitpid.S: New file. - * sysdeps/unix/sysv/i386/linux/__wait.S: New file. - * sysdeps/posix/__wait3.c: New file. + * posix/sys/wait.h (__WAIT_STATUS_DEFN): Define new macro. - * sysdeps/unix/sysv/i386/linux/socket.S: New file. - * bind.S, connect.S, listen.S, accept.S, getsockname.S, - getpeername.S, socketpair.S: Also new (and trivial). + * Makerules (+install): Variable removed. + (install-bin, install-lib, install-data, install-headers, + install-others): New targets. + (install-no-libc.a): Depend on them instead of $(+install). -Mon Jul 13 17:41:46 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * Makefile (+subdir_targets): Add + install-{no-libc.a,bin,lib,data,headers,others}. + (install-no-libc.a): Don't depend on subdir_install. - * sysdeps/unix/sysv/i386/linux/sysdep.[hS]: New files. +Thu Dec 2 17:14:39 1993 Brendan Kehoe (brendan@zen.org) - * configure (linux*): base_os=unix/sysv - (gnu*, linux*): Always set --with-gnu-ld and --with-gnu-as. + * sysdeps/ieee754/__isnan.c (__isnan): Return __CONSTVALUE, to + match declaration in math/math.h. - * stdio/obstream.c: #include <string.h> - (obstack_vprintf): Use bzero rather than memset. +Thu Dec 2 15:48:19 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * stdio/glue.c (unix_FILE.glue): Add two members, which will overlap - get_limit and put_limit in GNU stdio. - (_iob): Initialize them to same as `streamp'. + * time/africa, time/antarctica, time/asia, time/australasia, + time/emkdir.c, time/europe, time/ialloc.c, time/northamerica, + time/pacificnew, time/private.h, time/solar87, time/solar88, + time/southamerica time/systemv, time/tzfile.h, time/zdump.c, + time/zic.c: New data and code from ADO. + * time/Makefile (tzfiles): Added backward. + * time/backward: New file from ADO. -Thu Jul 9 21:27:39 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * locale/C-ctype_ct.c: Remove _ISspace bit from BS (8). - * stdio/stdio.h (open_obstack_stream, obstack_printf, - obstack_vprintf): Declare. +Wed Dec 1 00:01:30 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - * posix/glob.c [STDC_STRINGS]: Don't test this. - [! ANSI_STRING]: Put memcpy, strrchr, memset defns here instead. + * mach/err_kern.sub: Frob around lack of GNU ld. - * posix/glob/Makefile.in (glob.o, fnmatch.o): / after $(srcdir). + * mach/errsystems.awk: The declaration of __mach_error_systems + should not be static, but it should be const. -Tue Jul 7 03:11:23 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/mach/hurd/errlist.awk (BEGIN): Deal with the case + where you don't have GNU ld. - * stdio/Makefile (routines): Add obstream. + * sysdeps/mach/hurd/Makefile: Define mib_hacks to make. - * Makerules (%.o: %.S, %.o: %.c): If using gcc, put the file name - before the options on the command line. +Tue Nov 30 23:24:07 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - * malloc/Makefile (dist-routines): Define with routines for malloc.tar. - (routines): Define with that plus the rest. - (nodist): Remove. - (routines): Add obstack. - (headers): Add obstack.h. - (obstack.%): New rule. + * Makefile: install-no-libc.a needs to depend on subdir_install. - * stdio/glue.c: Add comments. +Mon Nov 29 16:21:38 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - * stdio/printf.h (struct printf_info.spec): Make unsigned char. + * sysdeps/mach/_strerror.c: Include <mach/errorlib.h>. - * stdio/stdio.h (__validfp): Fixed glued-stream snarfing. + * hurd/setuids.c: Put entire file inside #ifndef MIB_HACKS; + it uses the old auth_makeauth call. -Mon Jul 6 20:00:47 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * hurd/__setauth.c: Put entire file inside #ifndef MIB_HACKS; + it depends on cthreads to compile, which is not yet integrated. - * sysdeps/i386/jmp_buf.h: Deansideclized. + * hurd/hurdpath.c (__hurd_path_lookup): cast to avoid GCC warning. - * sysdeps/posix/Makefile (objdir-CPPFLAGS): Define; if in parent - dir, add ..s to -Is. - (mk-stdiolim): Use it in place of $(CPPFLAGS). +Wed Nov 24 00:59:15 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) -Sat Jul 4 20:44:42 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * hurd/Makefile: Commented out hurdauth; recent changes to + auth.defs prevent it from working now. - * posix/glob/Makefile.in (glob.o, fnmatch.o): Put $(srcdir) on deps. + * mach/mach_error_string.c (do_compat): Change name to + __mach_error_map_compat; make it no longer static. + (mach_error_type, mach_error_string_int): Use + __mach_error_map_compat instead of do_compat. + * sysdeps/mach/_strerror.c: Use __mach_error_map_compat. -Wed Jul 1 00:13:40 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * mach/devstream (output/write_some): Cast fourth argument to + device_write_inband to char * to avoid warning. + (output): Call to write_some mentioned variable `start' from + a previous version of the function; changed this to f->__buffer. - * sysdeps/generic/strstr.c: If NEEDLE is "", return end of HAYSTACK. +Tue Nov 23 23:16:13 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - * string/tester.c (main): Remove decls of sys_nerr and sys_errlist. + [ The net effect of the following change is to eliminate error + systems which are specific to single-server Mach systems, and + to put the Hurd errors where the Unix errors were. ] + * mach/{err_bootstrap.sub,err_ipc.sub,err_server.sub,err_us.sub}: + None of these are used for the Hurd; we shouldn't pretend that + they are meaningful in our environment. The files have been + renamed to equivalent names with an equal sign prepended; this + will inhibit distribution and prevent the Makefile from looking at + them. + * mach/err_kern.sub: Deleted the definitios of err_codes_unix; + get the strings from _sys_errlist. Rename `unix' to `hurd'. + Rename err_os_sub to be err_kern_sub to match what errsystems.awk + expects. + * sysdeps/mach/hurd/err_hurd.sub: Deleted this file. + * sysdeps/mach/hurd/errnos.awk: Changed definition of _HURD_ERRNO + to be correct. - * configure: Accept --prefix=*, --exec_prefix=* options. - Set values in config.make and config.status. + * sysdeps/mach/hurd/Makefile: use gawk, not awk. - * io/umask.c: Fixed return type in fn alias. + * mach/errsystems.awk: Generally rewrote the printf. It's now + closer to Roland's original, but without the $i mistake at all, + in any form. - * posix/glob.c [! ANSI_STRING]: #define strcoll to strcmp. - Remove extra decls of free, qsort, malloc, and realloc. +Tue Nov 23 20:21:06 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * dirent/alphasort.c: #include <string.h>, and not <stdlib.h>. + * sysdeps/unix/{i386,sysv/sysv4/solaris2,sysv/i386/linux,bsd/m68k, + bsd/ultrix4/mips,bsd/vax}/sysdep.S: Define _ERRNO_H before + including <errnos.h>; otherwise <errnos.h> does not define most + macros (importantly, EAGAIN!). - * sysdeps/unix/bsd/i386/__wait3.S: Load SYS_wait into %eax before - trapping. Use literal .byte instead of lcall to avoid gas bug. - Use 0(REG), not (REG), for register-indirect addressing. +Tue Nov 23 12:43:38 1993 Michael I. Bushnell (mib at ernst.gnu.ai.mit.edu) - * configure: Make config.status executable. + * mach/errsystems.awk: $i is not an index; make i a variable and + increment it properly. Don't call `err_get_system'; use the + system number as the index in the array directly. -Tue Jun 30 21:14:53 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * mach/errorlib.h: Added `const' in all the right places. + * sysdeps/mach/hurd/err_hurd.sub: Cast _sys_errlist to + the right type. Better to declare it right in stdio/stdio.h, but + I don't dare change that file lest Roland call me a twit. + * mach/err_us.sub: Add more brackets to initializer to shut GCC up. - * configure: Add --os-release=* and --os-version=* options. Record - settings (which might be automagically guessed) in config.status. + * sysdeps/mach/hurd/err_hurd.sub: Delete keyword `const'; this + is taken care of by the `#define static static const' found in + errsystems.c as created by mach/errsystems.awk. + * mach/errsystems.awk: Ditto for declaration of __mach_error_systems. - * misc/mknod.c: Use __mode_t for arg in fn alias. + * sysdeps/mach/hurd/err_hurd.sub: Change <errnos.h> to <errno.h>; + errnos.h doesn't define most stuff unless it is included from errno.h. - * posix/unistd.h (setregid): Declare to take __gid_t args. + * mach/mach_error_string.c (mach_error_string_int): Delete unused + variable `err_str'. - * sysdeps/unix/bsd/i386/__wait3.S: Don't use lcall insn gas barfs on. + * mach/mach_error_string.c (do_compat): Declare to be void. + (mach_error_string,mach_error_type, mach_error_string_int): + Declare return type as const char *. + * mach/mach_error.h: Change declarations to match. - * posix/vfork.c: Move to sysdeps/generic/. + * mach/errsystems.awk: The array that split creates is origin 1, + not origin 0; fixed loop to match. - * Rules (others, tests): Export them. + * sysdeps/mach/hurd/errnos.awk: Ernst's awk doesn't grok + backslash-newline inside strings. - * io/umask.c, io/mkdir.c, io/chmod.c: Use mode_t not int in arg decls. +Sat Nov 20 19:02:25 1993 Brendan Kehoe (brendan@zen.org) - * sysdeps/i386/ffs.c: #include <string.h>, not <bstring.h>. + * math/__finite.c (__finite): Return __CONSTVALUE, to match math.h. + * math/__scalb.c (__scalb): Likewise. + * math/copysign.c (copysign): Likewise. + * math/drem.c (drem): Likewise. + * math/expm1.c (expm1): Likewise. + * math/finite.c (finite): Likewise. + * math/infnan.c (infnan): Likewise. + * math/isinf.c (isinf): Likewise. + * math/isnan.c (isnan): Likewise. + * math/logb.c (logb): Likewise. + * math/rint.c (rint): Likewise. + * math/scalb.c (scalb): Likewise. + * sysdeps/generic/atan.c (atan): Likewise. + * sysdeps/ieee754/__copysign.c (__copysign): Likewise. + * sysdeps/ieee754/__drem.c (__drem): Likewise. + * sysdeps/ieee754/__isinf.c (__isinf): Likewise. + * sysdeps/ieee754/__logb.c (__logb): Likewise. + * sysdeps/ieee754/ldexp.c (ldexp): Likewise. + * sysdeps/ieee754/log10.c (log10): Likewise. - * stdio/vfscanf.c: Use function_alias. + * setjmp/_longjmp (_longjmp): Add __NORETURN. + * setjmp/longjmp (longjmp): Likewise. - * stdio/vsscanf.c: Use va_list, not PTR, in arg decl in fn alias. +Thu Nov 18 04:16:34 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/unix/i386/sysdep.h (PSEUDO): Enough backslashes and - semicolons. + * string/strerror.c (strerror): Call _strerror_internal to do the + work, passing it a scratch buffer. + * stdio/perror.c: Likewise. + * string/Makefile (routines): Add _strerror. + * sysdeps/generic/_strerror.c (_strerror_internal): New file. - * stdio/stdio.h: For __gnuc_va_list, #test __GNUC_VA_LIST, not - __va_list_defined. + * configure.in (config.status): Make it pass its args to configure. - * stdio/fmemopen.c: Use memchr to find NUL for append mode. +Thu Nov 18 03:52:32 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - * stdio/memstream.c (enlarge_buffer): Double the buffer size, rather - than adding 100. Don't clobber *INFO->bufsize when called with the - put limit reset. If the target has been set, extend and zero-fill - the buffer. - (seek): New function. - (open_memstream): Use it for seek io fn. Call fmemopen with "w+" mode. + * stdio/__vfscanf.c (__vfscanf): Put the floating point cases + (e,E,f,g,G) inside #ifndef MIB_HACKS; roland thikgs strtod crashes + the compiler. Wheee. + +Thu Nov 18 03:21:51 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * errno.h [__USE_GNU__]: Declare program_invocation_name and + program_invocation_short_name. + +Thu Nov 18 00:07:37 1993 Michael I. Bushnell (mib at ernst.gnu.ai.mit.edu) + + * sysdeps/mach/hurd/start.c (start1): Don't add one to + the return value of split_args; it counts them just fine by + itself. Do add one when sizing the arrays. + +Mon Nov 15 00:19:48 1993 Noel Cragg (noel@geech.gnu.ai.mit.edu) + + * time/mktime.c: add TIMES_THROUGH_SEARCH variable to make sure + that we don't get caught in an infinite loop (would be bad, + indeed, for a library routine). + +Sun Nov 14 18:48:28 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * misc/sys/cdefs.h (__NORETURN, __CONSTVALUE): Use + `__attribute__', not `__attributes__'. + Test __GNUC_MINOR__ < 6, not < 5. + +Wed Nov 10 05:39:15 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/morecore.c: Only declare sbrk #ifdef __GNU_LIBRARY__. + Cast its return value. + + * sysdeps/unix/bsd/m68k/syscall.S: Use movel in place of moveal. + + * configure.in (signed size_t check): Don't use AC_DEFINE; do it + by hand and insert -U__SIZE_TYPE__ before -D. + + * posix/unistd.h: Declare syscall. + + * sysdeps/m68k/fpu/__math.h (__isnan, __isinf): Use __CONSTVALUE + in prototypes. + + * configure.in (Makefile): Write ARCH=`pwd`, rather than + substituting in the directory name at configure time. + + * sysdeps/mach/i386/syscall.S: New file. + +Tue Nov 9 06:29:15 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * configure.in (os = netbsd* | 386bsd*): base_os=unix/bsd/bsd4.4. + Set --with-gnu-{ld,as} implicitly when base_os is bsd4.4. + + * Version 1.06.7. + + * misc/Makefile (routines): Add syscall. + * sysdeps/unix/syscall.S, sysdeps/stub/syscall.c, + sysdeps/unix/bsd/sun/m68k/syscall.S, sysdeps/unix/bsd/m68k/syscall.S, + sysdeps/unix/i386/syscall.S: New files. + * sysdeps/unix/bsd/hp/m68k/sysdep.h (DO_CALL): First arg + is syscall number, not name. + (PSEUDO): Pass POUND (SYS_ify (syscall_name)) to DO_CALL. + * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h (DO_CALL, PSEUDO): + Likewise. Also, do movel into d0 before linkw, so the argument + could conceivably pop the stack. + * sysdeps/unix/bsd/hp/m68k/__brk.S: Pass complete number to DO_CALL. + + * sysdeps/unix/sysv/Dist: sys_getdents.S was renamed s_getdents.S. + +Thu Nov 4 01:23:59 1993 Michael I. Bushnell (mib at ernst.gnu.ai.mit.edu) + + * string/stpncpy: Fix typo; according to gnu-stabs.h the name + inside the DEFUN should be the *non* __ version. + * sysdeps/generic/__stpncpy.c: Missing declaration of s. + +Wed Nov 3 09:35:30 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/Makefile ($(objpfx)errlist.c): Conditionalize these + rules to be used only when errlist.c is otherwise a stub. + +Fri Oct 29 17:29:20 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * string/stpncpy.c: New file. + * sysdeps/generic/__stpncpy.c: New file. + * string/Makefile (routines): Add stpncpy and __stpncpy. + * string/string.h [__USE_GNU__]: Declare them. + +Thu Oct 28 17:13:58 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/errnos-tmpl.c (DO): If NAME is "EWOULDBLOCK", + write "#define EWOULDBLOCK EAGAIN" and change NAME to + "EWOULDBLOCK_sys". + * sysdeps/unix/{i386,sysv/sysv4/solaris2,sysv/i386/linux,bsd/m68k, + bsd/ultrix4/mips,bsd/vax}/sysdep.S [EWOULDBLOCK_sys]: Translate + EWOULDBLOCK_sys into EAGAIN. + * Makefile (distribute): Add move-if-change. + * move-if-change: New file. + +Tue Oct 26 18:19:34 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * misc/sys/cdefs.h: Define __NORETURN and __CONSTVALUE. + For GCC 2.5 and later, use __attributes__ (({volatile,const})). + * stdlib/stdlib.h: Don't define either here. + * math/math.h: Likewise. + * posix/unistd.h: Likewise. + * time/time.h: Likewise. + * stdio/stdio.h: Likewise. + * setjmp/setjmp.h: Likewise. + + * posix/sys/wait.h (__WAIT_STATUS): Use union hack defn for GCC + 2.4 and up (testing __GNUC__ and __GNUC_MINOR__). + + * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Don't include <limits.h>. + + * Makerules [inhibit-sysdep-asm] + (open-check-inhibit-asm, close-check-inhibit-asm): New variables. + ($(+sysdir_pfx)sysd-rules): Use them around .s and .S rules. + Depend on existing sysdep makefiles. + +Mon Oct 25 15:56:41 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/mach/hurd/killpg.c: Include <sys/types.h> for pid_t. + + * sysdeps/posix/tempname.c (__stdio_gen_tempname): Take new arg + STREAMPTR. When non-nil, use __open with O_EXCL to test for + existence, and set *STREAMPTR to new stream on returned fd. + * stdio/stdio.h: Update prototype. + * sysdeps/stub/tempname.c: Here too. + * stdio/tmpfile.c: Pass &F to __stdio_gen_tempname instead of + using fopen. + * stdio/tmpnam.c: Pass extra NULL arg. + * stdio/tempnam.c: Likewise. + + * configure.in (switches): Only put --os-{release,version} here. + (config.status): Write $configure_args in place of $config $switches. + + * signal/Makefile (routines): Renamed sigaltstack to sigaltstk. + * sysdeps/stub/sigaltstack.c: Renamed to sigaltstk.c. + * sysdeps/unix/bsd/bsd4.4/sigaltstack.S: Renamed to sigaltstk.S. + * sysdeps/unix/sysv/sys_getdents.S: Renamed to s_getdents.S. + * sysdeps/unix/sysv/Makefile (sysdep_routines): Changed reference. + +Fri Oct 22 03:47:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * malloc/realloc.c [MEMMOVE_MISSING]: Test this to use safe_bcopy. + [emacs]: Don't define safe_bcopy. + + * time/zdump.c, time/europe: New versions from ADO. + + * Rules (dont_distribute): Export this variable. + (subdir_echo-distinfo): Echo its value for +nodist+. + +Thu Oct 21 15:58:08 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/posix/__dup2.c: Include <limits.h>. + [OPEN_MAX]: Fail with EBADF if FD2>=OPEN_MAX. + + * sysdeps/unix/Makefile (sys/param.h): Conditionalize all this + code to happen only when there is no sysdep sys/param.h. + +Wed Oct 20 03:35:41 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makerules (make-dummy-dep): Change to `ln $(objpfx)dummy.dep $@'. + ($(objpfx)dummy.dep): Create new file containing comment. + ($(objpfx)%.dep: $(objpfx)%.s): Depend on $(objpfx)dummy.dep. + ($(+sysdir_pfx)sysd-rules): Likewise in generated rule. + +Mon Oct 18 04:22:42 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * signal/signal.h (killpg): Make PGRP arg pid_t. + * sysdeps/posix/killpg.c (killpg): Likewise. + * sysdeps/stub/killpg.c (killpg): Here too. + + * posix/glob/configure.in: Use AC_HAVE_HEADERS instead of + AC_MEMORY_H and AC_UNISTD_H; omit AC_USG (not needed). + + * Rules (generated): New target. + + * Makefile (subdirs): Use filters to put mach and hurd first in + the list if they are in it at all. + * Makerules (before-compile): Reorder similarly, matching any + generated mach or hurd files. + +Fri Oct 15 17:57:58 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/posix/mk-stdiolim.c [! OPEN_MAX]: Use _POSIX_OPEN_MAX + for FOPEN_MAX value. + [! PATH_MAX]: Use 1024 (twice _POSIX_PATH_MAX) for FILENAME_MAX value. + + * Makerules (in-Makerules): Define this variable before including + sysd-Makefile. + +Sun Oct 10 14:31:35 1993 Jim Meyering (meyering@comco.com) + + * posix/fnmatch.c [CONFIG_BROKETS]: Include <config.h> only under + this condition, else "config.h". + +Tue Oct 05 16:08:39 1993 Jim Meyering (meyering@comco.com) + + * time/mktime.c [CONFIG_BROKETS]: Include <config.h> only under + this condition, else "config.h". + +Thu Sep 23 15:14:08 1993 Brendan Kehoe (brendan@zen.org) + + * sysdeps/unix/sysv/sysv4/__dup2.c: New file. + +Wed Sep 22 16:58:29 1993 Brendan Kehoe (brendan@zen.org) + + * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: New file. + * sysdeps/unix/sysv/sysv4/i386: New directory. + * sysdeps/unix/sysv/sysv4/i386/statbuf.h: New file. + +Fri Sep 17 04:03:26 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makerules (+make-deps): Put output in temp file and use atomic mv. + + * Makerules ($(+sysdir_pfx)sysd-rules): New target, the rule part + of what was in sysd-Makefile. Include it. + ($(+sysdir_pfx)sysd-Makefile): Do just includes here. Move the + generated implicit rules to sysd-rules. Put the output into a + temp file and use atomic mv to final target. + (before-compile): Filter out existing files from value, after + sysd-Makefile but before sysd-rules. + +Thu Sep 9 22:28:13 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makefile (%/configure): Copy rule from Make-dist. + +Mon Sep 6 19:57:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makerules (sources, objects): Move override definitions to + before +depfiles calculation. + + * time/{asia,australasia,europe,zdump.c}: New versions from ADO (93e). + +Mon Aug 30 13:40:34 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * string/string.h (memmem): Reverse argument order, to be like strstr. + * sysdeps/generic/memmem.c: Here too. + + * dirent/scandir.c: For error return, save errno around closedir. + Call closedir (DP) before returning successfully. + +Thu Aug 26 19:26:06 1993 Brendan Kehoe (brendan@zen.org) + + * sysdeps/unix/sysv/sysv4/solaris2/sysdep.h: Rewritten to not use + the generic sparc sysdep.h. + (PSEUDO): Use trap 8, not 0. Also just put %g0 in %o0, without + subtracting 1. + (ENTRY): Align on 4, and add a `.type' directive. + * sysdeps/unix/sysv/sysv4/solaris2/sysdep.S: New file. + +Fri Aug 20 19:37:55 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/generic/abort.c: Remove unused variable ABORTING. + +Thu Aug 19 17:45:34 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makeconfig [!objdir] [!..] (common-objdir): Set to `.'. + +Wed Aug 18 15:10:13 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * stdio/__vfscanf.c (__vfscanf: number): Reverse sense of + NUMBER_SIGNED conditional in assignment code. + +Mon Aug 16 15:49:13 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/Makefile (syscall.h): Add sed + s/SYS_syscall_basenum/syscall_basenum/g. SYSCALL_BASENUM is a + macro both defined and used in <syscall.h>; we must undo our + prependation of `SYS_'. + + * Version 1.06.6. + +Fri Aug 13 16:53:02 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * stdio/__vfscanf.c: New local variable NUMBER_SIGNED. + (%x, %X, %o, %u): Set it to zero. + (%d, %i): Set it to one. + (number): If NUMBER_SIGNED is set, use strtol and store in ...int*. + If clear, use strtoul an store value in unsigned ...int*. + + * malloc/malloc.h: Undo last change (_AIX32). + (memory_warnings): Use const instead of __const in prototype. + +Fri Aug 13 00:22:01 1993 John Grabowski (johng@whiskey.media.mit.edu) + + * configure.in (os = osf1*): base_os=unix/bsd. + +Thu Aug 12 16:37:13 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * malloc/valloc.c [__GNU_LIBRARY__ || _LIBC]: Include <stddef.h> + before trying to use size_t to declare __getpagesize. + Include <sys/cdefs.h> before trying to use __P. + + * posix/{fnmatch,glob}.c, malloc/malloc.h [HAVE_CONFIG_H]: Include + <config.h> instead of "config.h". This is so that a compilation + using -I. -I$srcdir will use ./config.h rather than + $srcdir/config.h (which it would do when glob.c was found in $srcdir). + + * malloc/malloc.h [_AIX32]: Use !__STDC__ defns of __P, const, __ptr_t. + +Mon Aug 9 16:56:31 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makerules (-e check): Don't rely on $(findstring e,$(MAKEFLAGS)) + since that also trips for --no-print-directory. + Instead actually see if -e's functionality is taking place. + + * malloc/realloc.c: Call _free_internal instead of free in most places. + + * configure.in (arg parsing): No spaces around = in eval. + + * sysdeps/i386/abort.c: New file. + * stdlib/abort.c: Moved to sysdeps/generic/abort.c. + (abort): Don't try to do stdio cleanup, since we can't guarantee + it anyway. + +Fri Aug 6 17:59:56 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makerules ($(+install)): Don't depend on installdirs. + (make-target-directory): New define. + (do-install): Do $(make-target-directory) beforehand. + +Tue Aug 3 02:22:41 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/stub/sys/reboot.h: New file. + * sysdeps/unix/bsd/sys/reboot.h: New file, snarfed from 4.4. + * misc/Makefile (headers): Add sys/reboot.h. + + * stdio/stdio.h (__io_{read,write,seek,close,fileno}): Renamed to + __io_*_fn, so as not to conflict with the Hurd mig stubs. + * internals.c: Changed uses. + + * sysdeps/unix/bsd/signum.h (SIGINFO): Define as 29. + + * Makerules (+includes): Don't set this here. + * Makeconfig (+includes): Put $(+sysdep-includes) in the value here. + + * posix/unistd.h [__USE_MISC]: Declare mktemp and mkstemp. + +Mon Aug 2 16:59:12 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * malloc/valloc.c: Move getpagesize goop to before malloc.h. + [_LIBC]: Test this as well as __GNU_LIBRARY__ (either one) to use + __getpagesize instead of "getpagesize.h". -Sun Jun 28 19:01:01 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) +Sun Aug 1 16:55:18 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * stdio/fseek.c: Fail with EINVAL for a negative file pos. + * configure.in (arg parsing): For `--with-foo=bar', do + "with_foo='bar'". For `--with-fnord', do "with_fnord=yes". + * sysdeps/mach/configure: New file, groks `--with-mach=DIR'. -Fri Jun 26 00:07:53 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) +Fri Jul 30 00:01:00 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * Makeconfig (stdarg.h): New variable. - * Makefile (headers): Add $(stdarg.h). + * configure.in (os = gnu*): Set $base_os, not $os, to mach/hurd. - * stdio/stdio.h: Change __va_list to __gnuc_va_list in decls. +Thu Jul 29 17:46:02 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/unix/morecore.c: Include malloc.h #ifndef _MALLOC_INTERNAL. - Don't include <stdio.h>. - (NULL): Define to 0 if not defined. + * ctype/ctype.h (__isctype): Don't test !=0, to avoid possible + extra test insn. - * sysdeps/i386/bzero.c: Include string.h, not bstring.h. +Sun Jul 25 22:19:04 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Thu Jun 25 21:01:40 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * setjmp/setjmp.h [! __FAVOR_BSD] (_longjmp): Define as longjmp. - * stdio/perror.c, string/strerror.c (_sys_errlist, _sys_nerr): Don't - declare #ifndef HAVE_GNU_LD. +Thu Jul 22 14:57:15 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * stdio/fwrite.c: Cast arg to write io func to const char * (from uns). + * sysdeps/unix/bsd/osf1/sigaction.h: New file. - * sysdeps/unix/Makefile: If syscall.h doesn't exist in - $(sysincludedir), look for sys/syscall.h and create $(objpfx)syscall.h - to #include it. + * sysdeps/stub/signum.h: Deansideclized. + * sysdeps/stub/pipestream.c (pclose): Test STREAM->__ispipe + instead of __ispipe (STREAM). + * sysdeps/stub/__wait3.c: Fix arg types. + * sysdeps/stub/__ioctl.c: Add missing close paren. + * sysdeps/stub/__getpgsz.c: Include <stddef.h> for size_t. + * sysdeps/stub/__get[gu]id.c: Include <sys/types.h>; fix return type. + * sysdeps/stub/__set[gu]id.c: Include <sys/types.h>; fix arg type. + * sysdeps/stub/__mknod.c: Include <sys/types.h>; fix arg types. - * sysdeps/unix/morecore.c (__default_morecore): Deansideclized. - * malloc/*.c: Only #include <malloc.h> #ifndef _MALLOC_INTERNAL. + * sysdeps/generic/termbits.h (INLCR, ISTRIP): Fixed typo'd values. -Wed Jun 24 19:09:04 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * stdio/stdio.h (vprintf): Fix last arg type to __gnuc_va_list. + * stdio/vprintf.c (vprintf): Here too. - * sysdeps/unix/snarf-ioctls: Avoid looking at a few particular - headers which tend to mislead us. + * malloc/malloc.c (malloc) [SUNOS_LOCALTIME_BUG]: Put this crap + after hook and initialization. - * Makefile (distribute): Add COPYING. + * stdio/stdio.h (__validfp): Use a little anonymous struct to find + the real stream ptr from in glue stream. It used to rely on using + `((int *) STREAM)[1]'; but that assumes no struct padding, and + there will be some when int is 32 bits and pointers are 64. - * configure (Makefile): When invoking make in srcdir, set ARCH - rather than objdir on the cmd line. + * malloc/mtrace.c: Use %lx instead of %x for `size_t' formats. - * posix/glob.c [DIRENT] (direct): Don't define to dirent. - [! DIRENT] (direct): Define to dirent. +Wed Jul 21 18:20:41 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Make-dist [!subdir] (+tsrcs): Don't include $(distribute). It was - already included above. + * malloc/malloc.c (malloc): Handle SUNOS_LOCALTIME_BUG. -Mon Jun 22 16:58:34 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) +Wed Jul 21 16:42:14 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * Makerules (sysdep_routines): Export it. + * time/Makefile (extra-objs): Remove gratuitous - in `z.%'. -Wed Jun 17 17:58:05 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * Makefile [+gnu-stabs] (generated): Add $(objpfx)munch-init.c. + (distclean): Also remove sysd-Makefile and sysd-dirs in $(objpfx). + (distclean) [objdir]: Also remove $(objpfx)Makefile. - * posix/glob.c (my_realloc): Test only __GNU_LIBRARY__. Can't trust - STDC_HEADERS. + * sysdeps/posix/Makefile (generated): Add $(common-objpfx)mk-stdiolim. + (generated, before-compile): Take defns out of ifeq ($(subdir),posix). -Tue Jun 16 20:20:01 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/unix/common/Makefile (generated): Include ctype-glue.c, + not glue-ctype.c. - * resource/sys/resource.h (enum __rlimit_resource): Added MEMLOCK, - NPROC, OFILE. + * sysdeps/unix/configure (unix_generated): New variable; collect + names of created files in it. + (config_vars): Write an assignment for `unix-generated' to that list. + * sysdeps/unix/Makefile (generated): Append $(unix-generated) + (with either $(objpfx) or $(sysdep_dir)/unix/ prepended to each file). - * posix/Makefile (glob.tar): Include Makefile.in & configure, and not - Makefile. - (glob/configure): New rule. + * Makefile (clean): Pass no_deps=t to subdir_clean make. - * posix/glob/Makefile: Moved to posix/glob/Makefile.in. - (VPATH, srcdir, CPPFLAGS): Define to be replaced by autoconf. +Sun Jul 18 21:42:05 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * posix/glob.c: Rearranged conditionals for use with autoconf. + * malloc/malloc.c (malloc): After getting more core, recompute + BLOCK before adding to _heapinfo[BLOCK].free.size. -Thu Jun 11 15:47:43 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) +Fri Jul 16 16:32:40 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/unix/bsd/sun/sparc/start.c: Added alias for start -> __start. + * stdlib/Makefile (generated): Prepend $(objpfx). + * sysdeps/unix/sysv/Makefile (generated): Likewise. -Tue Jun 9 20:15:12 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * sysdeps/posix/mktemp.c: Return when stat fails with ENOENT, not + when it succeeds. - * sysdeps/posix/rename.c: Return failure and don't remove the old - link if the link failed with other than EEXIST. +Wed Jul 14 14:51:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * posix/glob/Makefile: Fixed copyright notice. - (realclean): Don't remove ~ backup files. + * locale/localeconv.c: Fix copying notice to LGPL. -Thu Jun 4 16:41:56 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) +Mon Jul 12 21:58:27 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * time/Makefile (install-data): Don't include zoneinfo/. - Makerules already makes sure the necessary directories exist. + * malloc/mcheck.c (reallochook): Set HDR->magic to MAGICWORD. - * setjmp/setjmp.h (sigsetjmp) [__GNUC__]: Use typeof hackery to - construct the type of the temporary var for the arg. - (_setjmp) [__FAVOR_BSD]: Make same as setjmp. +Mon Jul 5 15:55:08 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * malloc/malloc.h (mtrace): Declare. + * malloc/realloc.c (memmove): Swap the args when calling safe_bcopy. - * malloc/malloc.h, malloc/calloc.c, malloc/free.c, malloc/malloc.c, - malloc/mcheck.c, malloc/memalign.c, malloc/mstats.c, - malloc/mtrace.c, malloc/realloc.c, malloc/valloc.c: Deansideclized; - changed copyright notices to be independent of libc. - * malloc/Makefile (glob/%.c, glob/%.h): Don't need to ansideclificate. +Thu Jul 1 16:26:56 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * io/ftw.h, io/ftw.c: New. - * io/Makefile (headers): Added ftw.h. - (routines): Added ftw. + * malloc/malloc.c [_LIBC] (_malloc, _free, _realloc): Define these + functions to just call malloc, free, and realloc, respectively. -Tue Jun 2 21:49:22 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) +Wed Jun 30 16:42:10 1993 Torbjorn Granlund (tege@gnu.ai.mit.edu) - * sysdeps/unix/bsd/signum.h (SIG_ERR, SIG_DFL, SIG_IGN): Use - __sighandler_t. + * sysdeps/generic/memcmp.c (memcmp_bytes): New function for + little endian machines. + (memcmp_common_alignment, memcmp_not_common_alignment): Rework + code computing return values. - * posix/glob.c (__ptr_t): Define. +Wed Jun 30 14:42:00 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Thu May 28 06:57:14 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * sysdeps/unix/Makefile (local_lim.h): Only generate local_lim.h + if the sysdep version would be stub. - * sysdeps/m68k/jmp_buf.h: Don't use PTR. + * sysdeps/unix/mk-local_lim.c: #include <stdio.h> before all else. -Wed May 27 18:09:40 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * configure.in (config_{machine,vendor,os}): Store config.sub's + output in these new variables. + (machine, vendor, os): Set these from those. + (config-name.h, config.make): Write $config_* (the original values + from config.sub). - * posix/{glob,fnmatch}.[ch]: Deansideclized; changed copyright - notice to be independent of libc. - * posix/Makefile (glob/%.c, glob/%.h): Don't need to ansideclificate. + * sysdeps/unix/sysv/sysv4/pgrpsys.S: Add arg count (3). - * posix/unistd.h (_SC_2_FORT_RUN, _SC_2_LOCALDEF): Define. +Tue Jun 29 02:47:46 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * posix/unistd.h: Define _POSIX2_* without #ifdef __USE_POSIX2. + * Version 1.06.4. - * posix/unistd.h (_POSIX2_FORT_DEV): Removed. +Mon Jun 28 00:37:12 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * posix/fnmatch.h (FNM_FILE_NAME): Alias for FNM_PATHNAME. + * stdio/internals.c (__stdio_check_funcs): New function, broken out + of init_stream. + (init_stream): Call it. + * sysdeps/posix/pipestream.c (popen): Call __stdio_check_funcs + before frobnicating STREAM's functions. -Tue May 26 00:39:39 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * sysdeps/posix/pipestream.c (pclose): Free C, our data structure, + not STREAM->__cookie after it's been restored. - * time/Makefile (install-data): Include zoneinfo/, so the directory - gets made. + * sysdeps/generic/strchr.c: Check for '\0' as well as C, in initial + byte-by-byte loop. - * Makeconfig (+gcc-nowarn): Define to -w if using gcc. - * time/Makefile (tz-cc): Use it to suppress warnings for grody code. + * conf/portability.h: #undef BSD. - * posix/Makefile (libposix.a), math/Makefile (libm.a): Make archive - containing /dev/null instead of nothing; ar won't create an empty - archive. +Sun Jun 27 23:46:05 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * Makerules (%/): Added generic mkdir rule. + * sysdeps/unix/bsd/m68k/__wait.S [__motorola__]: Use Motorola syntax. + * sysdeps/unix/bsd/m68k/sysdep.S: Likewise. + * sysdeps/unix/bsd/m68k/__pipe.S: Likewise. + * sysdeps/m68k/__longjmp.c (__longjmp) [__motorola__]: Use + Motorola syntax in jmp insn. - * posix/Makefile (install-lib): Define to libposix.a. - (libposix.a): Create empty archive. +Fri Jun 25 16:17:07 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * posix/Makefile (distribute): Added utsnamelen.h. + * sysdeps/{stub,posix,unix/sysv/sysv4}/__sysconf.c (__sysconf): + For _SC_TZNAME_MAX, just return __tzname_max (). + * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Define __sysconf, not + sysconf. For _SC_TZNAME_MAX, just jump to __tzname_max. - * ctype/ctype.c (tolower, toupper): If the arg doesn't fit in a - char, return it unchanged. - * ctype/ctype.h (tolower, toupper): Don't define as macros. - [__GNUC__]: Define as extern inline functions. + Undo June 21 change that made __tzname_max a variable + and expected TZNAME_MAX to sometimes be defined. + POSIX.1 does not require that it be defined; sysconf is enough. + * time/time.h (__tzname_max): Declare as a function. + * posix/posix1_lim.h: Don't include <tzname_max.h>. + * sysdeps/stub/tzname_max.h: File removed. + * time/Makefile (headers): Remove tzname_max.h. + (distribute): Remove make-tzlim.c. + (extra-objs): Remove make-tzlim.o and make-tzlim. + ($(common-objpfx)tzname_max.h): Target removed. + * time/make-tzlim.c: File removed. + * time/__tzset.c (__tzname_cur_max): Define this variable instead + of __tzname_max. + (__tz_compute): Set __tzname_cur_max, not __tzname_max. + (__tzname_max): New function. + * time/tzfile.c (compute_tzname_max): Set __tzname_cur_max, not + __tzname_max. - * sysdeps/unix/bsd/sun/sunos4/utsnamelen.h, - sysdeps/unix/bsd/sun/sunos4/uname.S: New. + * malloc/malloc.h [_MALLOC_INTERNAL] [! (_LIBC || STDC_HEADERS || USG)] + (memmove): Don't define. + * malloc/realloc.c [!_LIBC && !STDC_HEADERS && !USG] (safe_bcopy): + New static function. + (memmove): Define to safe_bcopy. - * configure: Only do hacking to snarf uname info if the config uses - the generic uname implementation. +Wed Jun 23 15:10:51 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * Makeconfig (+defines): Define to include $(gnu_ld), rather than - -DHAVE_GNU_LD. - * configure: Write config.make with gnu_ld/gnu_as defns. + * sysdeps/unix/sysv/sco3.2.4/pgrpsys.S: New file, #include sysv4 file. + * sysdeps/unix/sysv/sco3.2.4/Dist: New file, list pgrpsys.S. - * sysdeps/unix/bsd/sun/sunos411: Renamed back to .../sunos4. - * sysdeps/unix/bsd/bsd44: Renamed to .../bsd4.4. +Tue Jun 22 02:44:16 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * Makeconfig: include $(objpfx)configparms instead of - $(objdir)/Makeconfig. - Define objpfx as soon as objdir is defined, so we can use it. + * sysdeps/unix/sysv/sco3.2.4/Makefile (sysdep_routines): Use + pgrpsys instead of sco_pgrp. + * sysdeps/unix/sysv/sco3.2.4/{Dist,sco_pgrp.S}: Files removed. + * sysdeps/unix/sysv/sco3.2.4/__{getpgrp,setpgrp,setsid}.c: Just + include the respective unix/sysv/sysv4 files. - * sysdeps/generic/uname.c: Use UNAME_* from config-name.h. + * sysdeps/unix/sysv/sysv4/pgrpsys.S: New file. + * sysdeps/unix/sysv/sysv4/__getpgrp.c: New file. + * sysdeps/unix/sysv/sysv4/__setpgrp.c: New file. + * sysdeps/unix/sysv/sysv4/__setsid.c: New file. + * sysdeps/unix/sysv/sysv4/Dist: Add pgrpsys.S. + * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Add pgrpsys. -Mon May 25 19:33:07 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * sysdeps/unix/bsd/bsd4.4/__setsid.S: Moved from unix/sysv/sysv4. + * sysdeps/unix/{bsd/sun/sunos4,bsd/ultrix4,sysv/linux}/__setsid.S: + Include bsd4.4 instead of sysv4 file. - * configure: Accept all standard GNU configure options. - Expect to be run in object directory, and find source directory - elsewhere. - Write config.status as a shell script that can be run to recreate - the configuration. - Grok os names containing dots by trying each successively - less-precise substring. - Write Sysnames and config-name.h in current directory. - Write #define's for uname sysname, release, version, and machine - elts in config-name.h. Hackery to intuit release and version info. +Mon Jun 21 19:08:04 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * stdio/vsnprintf.c, stdio/vsprintf.c, stdio/vasprintf.c, - stdio/vdprintf.c, stdio/vfscanf.c, stdio/vscanf.c, - stdio/__vsscanf.c: Take arg list as va_list, not PTR. + * posix/posix1_lim.h: #include <tzname_max.h>. + * sysdeps/stub/tzname_max.h: New file (no-op). + * time/make-tzlim.c: New file. + * time/Makefile (headers): Add tzname_max.h. + (distribute): Add make-tzlim.c. + (extra-objs): Add make-tzlim.o and make-tzlim. + ($(common-objpfx)tzname_max.h): New target. - * stdio/stdio.h: Replaced #include <stdarg.h> with magic. - Properly use __va_list in prototypes. + * sysdeps/unix/sysv/sco3.2.4/confname.h (_SC_TZNAME_MAX): Define. + * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Detect arg being + _SC_TZNAME_MAX, and return max of TZNAME_MAX and __tzname_max. - * Makeconfig (exec_prefix): Define. - (libdir, includedir, bindir): Use it. + * sysdeps/stub/__sysconf.c: Include <time.h> and <limits.h>. + Handle _SC_TZNAME_MAX and return max of TZNAME_MAX and __tzname_max. + * sysdeps/posix/__sysconf.c: Change _SC_TZNAME_MAX code to that. + * sysdeps/unix/sysv/sysv4/__sysconf.c: Likewise. - * sysdeps/unix/sysv/Makefile [subdir==io] (sysdep-routines): Removed - __utssys. - * sysdeps/unix/sysv/Dist: Removed __utssys.S. - * sysdeps/unix/sysv/__utssys.S, sysdeps/unix/sysv/uname.c: Removed. - * sysdeps/unix/sysv/uname.S, sysdeps/unix/sysv/utsnamelen.h: New. + * time/time.h (__tzname_max): Declare as variable, not function. + * time/__tzset.c (__tzname_max): Function removed. + (__tz_compute): Set the __tzname_max variable. + * time/tzfile.c (compute_tzname_max): New function. + (__tzfile_{read,default}): Call it. - * posix/sys/utsname.h (_UTSNAME_LENGTH): Don't define; instead, - #include <utsnamelen.h> to define it. - * sysdeps/generic/utsnamelen.h: New. +Sun Jun 20 18:32:49 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Sun May 24 00:07:45 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * time/zic.c, time/asia: New versions from ADO. - * sysdeps/generic/inet-cvt.h: Deansideclized. +Wed Jun 16 17:24:28 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * string/string.h (memfrob): First arg is __ptr_t, not char *. + * Version 1.06.3. - * misc/sys/cdefs.h (__ptr_t): Made #define rather than a typedef. +Fri Jun 11 15:44:53 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Fri May 22 01:52:04 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * sysdeps/unix/bsd/m68k/__pipe.S: Use `movel' instead of `moveal', + which sun3 as does not appear to grok. + * sysdeps/unix/bsd/sun/m68k/__vfork.S: Likewise. - * Makefile, Rules, Makerules: Remove all rules for ansideclificating - headers. +Thu Jun 10 20:23:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * posix/glob.h, posix/fnmatch.h: Use explicit cruft for C++. - Define __P and const for C++/ANSI vs old C ourselves, to avoid - dependence on <sys/cdefs.h>. + * sysdeps/m68k/Makefile (as-pipe-ok): Define if -pipe is used in + compiler invocations, or if using GNU as. + (compile-command.S): Define using a pipe if `as-pipe-ok' is defined, + otherwise with a temporary file. - * inet/Makefile: Remove cruft to snarf things from bsd/. - * inet/bsd/*.c: Moved to inet/. + * Makeconfig (gnu-as): Define if -DHAVE_GNU_AS appears in $(CPPFLAGS). - * Makerules: Install headers from source directories into - $(includedir), rather than ansidecl madness. - * Makeconfig (ansi-incldir, trad-incldir): Removed. - (includedir): Define instead. +Wed Jun 9 15:14:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * assert/assert.h, ctype/ctype.h, dirent/dirent.h, grp/grp.h, - locale/locale.h, locale/localeinfo.h, math/math.h, - misc/sys/file.h, misc/sys/ioctl.h, misc/sys/ptrace.h, - misc/sys/uio.h, misc/sgtty.h, misc/nlist.h, posix/gnu/types.h, - posix/sys/wait.h, posix/sys/types.h, posix/sys/times.h, - posix/sys/utsname.h, posix/unistd.h, posix/tar.h, posix/utime.h, - posix/wordexp.h, posix/glob.h, posix/fnmatch.h, pwd/pwd.h, - resource/sys/resource.h, resource/sys/vlimit.h, - resource/sys/vtimes.h, setjmp/setjmp.h, signal/signal.h, - signal/gnu/signal.h, socket/sys/socket.h, stdio/stdio.h, - stdio/printf.h, stdlib/alloca.h, stdlib/stdlib.h, string/string.h, - termios/termios.h, time/sys/time.h, time/time.h, io/sys/stat.h, - io/fcntl.h, errno.h, stddef.h, malloc/malloc.h: - Deansideclized. Use <sys/cdefs.h> macros instead of ansidecl and - C++ cruft. - * features.h: #include <sys/cdefs.h>. + * configure.in (os frobnication): Turn underscores as well as + lowercase Vs into dots in os name. - * string/string.h (strfry, memfrob): Declare. - * string/Makefile (routines): Added strfry and memfrob. - * string/strfry.c, string/memfrob.c: New. + * sysdeps/unix/start.c [__GNUC__] (_start): Use asm name "start" + only if [! NO_UNDERSCORES]. - * locale/C-ctype_ct.c: Made BS be isspace. +Tue Jun 8 14:51:00 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * sysdeps/generic/strstr.c: Return HAYSTACK, not its end, if NEEDLE - is the empty string. + * sysdeps/unix/bsd/ultrix4/mips/__handler.S: Don't save the stack + pointer. - * sysdeps/generic/strncase.c: Fixed for case of empty string. +Mon Jun 7 21:01:24 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Wed May 20 02:36:09 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * time/Makefile (tzcompile): Remove -d switch, since zic-cmd has one. - * io/sys/stat.h (fchmod): Declare, rather than two __fchmod decls. + * time/{private.h,zic.c}: New versions from ADO. - * configure (sysv, bsd): Don't make base_os=unix; unix/{sysv,bsd} - instead. - Set os_used if base_os is used. + * sysdeps/unix/bsd/hp/m68k/__brk.S (error): Renamed label from `1', + (__brk): Use DO_CALL instead of movel and trap. -Tue May 19 21:00:11 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * sysdeps/unix/bsd/sony/newsos4: Renamed sysdeps/unix/bsd/sony/newsos. + * sysdeps/unix/bsd/sony/m68k/{Implies,sysdep.h}: Moved there. - * crypt/*: New files from glad. + * sysdeps/unix/bsd/hp/m68k/sysdep.h (DO_CALL): New macro, broken + out of PSEUDO. + (PSEUDO): Use it. + * sysdeps/unix/bsd/sony/newsos4/m68k/sysdep.h + (DO_CALL, PSEUDO): Likewise. - * stdio/stdio.h (sys_nerr, sys_errlist): Don't declare const. + * configure.in: Set --with-gnu-{ld,as} for os=bsd4.4. -Sun May 17 15:50:00 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) +Fri Jun 4 14:11:00 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * io/Makefile (headers): Remove gnu/stat.h; add sys/stat.h. + * sysdeps/i386/{strlen,memchr}.c: Use `repnz' instead of `repne'. - * posix/glob.c (glob): Don't let us fall off the end without returning. + * time/Makefile (zonenames): Rename zones-* to z.* so they all fit + in 14 chars. + (extra-objs): Here too. - * sysdeps/stub/setenv.c, sysdeps/posix/setenv.c: New. - * stdlib/stdlib.h [__USE_BSD] (setenv): Declare. - * stdlib/Makefile (routines): Add setenv. + * sysdeps/unix/sysv/direct.h (D_RECLEN): New macro. + * sysdeps/unix/readdir.c (D_RECLEN): If not defined, define to use + `d_reclen' member. + (readdir): Use D_RECLEN (DP) in place of DP->d_reclen. - * malloc/mtrace.c (old_{free,malloc,realloc}_hook): Renamed to tr_& - to not conflict with mcheck.c when combined into gmalloc.c. +Thu Jun 3 16:54:29 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Fri May 15 19:07:54 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * sysdeps/m68k/bytesex.h: New file. - * socket/sys/socket.h (PF_NBS, AF_NBS): Removed. - (PF_ISO, PF_OSI, PF_APPLETALK, PF_ROUTE, PF_LINK): Define. - (PF_MAX): Increase accordingly. + * sysdeps/unix/ioctls-tmpl.c [sony_news]: Define KANJI before + including <sys/ioctl.h>. - * inet/bsd/*.c: Snarfed latest code from 4.4. +Wed Jun 2 17:45:38 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * misc/sys/cdefs.h (__BEGIN_DECLS, __END_DECLS): Define cruft for C++. + * malloc/Makefile (%.gz): Renamed target from %.z; use -v flag. + (malloc/ChangeLog): Use mv -f. -Thu May 14 01:45:12 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) +Mon May 31 21:49:04 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * posix/glob.h (GLOB_MAGCHAR): Check user feature-test macros, - rather than __USE_BSD, so we don't depend on features.h. + * Version 1.06.2 released. - * sysdeps/stub/__wait4.c: Last arg is struct rusage *, not PTR. + * manual/Makefile: Remove all uses of $(objpfx). Since the + generated files are distributed, they reside in the source + directory. - * math/bsd/common_source/mathimpl.h: Don't #define const. - #include <sys/cdefs.h> instead. + * malloc/mtrace.c: #include <stdio.h>; malloc.h no longer does. - * Makefile (+other_dirs): Add crypt, but only if it exists at run time. - * crypt/GNUmakefile: New file. - * sysdeps/sparc/Makefile, sysdeps/m68k/Makefile (crypt): - Define to use machine-dependent assembly code in crypt/crypt.*.S. - * crypt: New directory. + * sysdeps/posix/sleep.c: Restore signal mask to OSET before + returning. Save errno on entry and restore it before returning. - * find-sysdirs: Don't lose if there are no sysnames. + * Makeconfig (zonedir): New variable. + * time/Makefile (localtime-file, posixrules-file, install-others, + $(localtime-file), $(posixrules-file), tz-cc): Use $(zonedir) in + place of $(datadir)/zoneinfo. + (tzcompile): Omit -d switch. + (zic-cmd): Add `-d $(zonedir)'. - * termios/Makefile (headers): Added sys/termios.h. - * termios/sys/termios.h: New file; just #include <termios.h>. +Sun May 30 20:04:50 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * stdlib/qsort.c: Define _quicksort rather than qsort. - * stdlib/msort.c: New file; defines qsort function that does merge - sort. Falls back to _quicksort if it fails to allocate a temp array. - * stdlib/Makefile (routines): Added msort. + * sysdeps/posix/stdio_init.c: (int)cookie is FD, not *(int*)cookie. - * string/string.h (memccpy, strdup): Also declare #ifdef __USE_BSD. - [__USE_BSD] (index, rindex, bcmp, bzero, ffs): Declare. - * string/strings.h: Just #include <string.h>. - * string/Makefile (headers): Removed bstring.h. + * time/Makefile ($({localtime,posixrules}-file)): Don't pass -d + switch (no need, since directory is compiled into zic). Don't use + $(<F) to find arg for -{l,p}; just use $({localtime,posixrules}). - * misc/Makefile (routines): Removed swab. - * string/Makefile (routines): Put it here instead. - * misc/swab.c: Moved to string/swab.c. + * Makerules ($(libdir)/libc.a): Depend on installdirs. - * stdio/stdio.h [__USE_BSD] (sys_nerr, sys_errlist): Declare. + * malloc/malloc.c (malloc): #if 0 out ``if (SIZE == 0) return NULL''. - * grp/grp.h (setgrent, endgrent, getgrent): Also do #ifdef __USE_BSD. + * malloc/malloc.h [_MALLOC_INTERNAL]: Don't include <stdio.h>. + [_MALLOC_INTERNAL]: Move config.h, limits.h, and mem* to front of file. + (NULL): Move after stddef.h. - * posix/glob.h [__USE_BSD] (GLOB_MAGCHAR): Declare. - (glob_t): Added member `gl_flags'. - * posix/glob.c (glob, glob_in_dir): Set gl_flags member to FLAGS; - or in GLOB_MAGCHAR if any metachars are seen. + * malloc/valloc.c: Don't include config.h; malloc.h already did. - * sysdeps/unix/bsd/bsd44/readdir.c: New. + * malloc/malloc.c: Undo rms's change. - * sysdeps/unix/bsd/sun/readdir.c: Don't need to declare - __getdirentries here. Use off_t and ssize_t. + * malloc/mcheck.c, malloc/malloc.h: Undo rms's change. - * misc/Makefile (routines): Removed getdents and __getdents. - * dirent/Makefile (routines): Put them here instead. - * misc/getdents.c: Moved to dirent/getdents.c. - * dirent/dirent.h [__USE_BSD] (__getdirentries, getdirentries): - Declare. +Sat May 29 13:04:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * dirent/Makefile (routines): Added scandir and alphasort. - * dirent/scandir.c, dirent/alphasort.c: New. - * dirent/dirent.h [__USE_BSD] (scandir, alphasort): Declare. + * malloc/malloc.c (malloc) [emacs]: If size is 0, make it 1. - * sysdeps/unix/bsd/nice.c, sysdeps/unix/sysv/nice.S, - sysdeps/stub/nice.c: New. - * resource/Makefile (routines): Added nice. + * malloc/malloc.h (CONST): Define this always, + rather than `const' sometimes. + (memory_warnings): Use CONST, not __const, in decl. + * malloc/mcheck.c (checkhdr): Use CONST, not const. - * misc/sys/cdefs.h [__USE_BSD] (const, signed, volatile): #define to - __ versions, for the sake of 4.4 header files. +Fri May 28 18:29:26 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Wed May 13 00:35:12 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + * sysdeps/unix/Makefile (ioctls): Use fgrep instead of egrep to + omit unwanted symbols. Filter the list of them through sort|uniq + to remove duplicates first. - * stdlib/tst-strtol.c: Fixed typo in test table. + * sysdeps/unix/Makefile (errlist.c): Use dir and notdir + functions to guarantee qualified path name for make_errlist. - * stdlib/strtol.c: Fixed checking for overflow of long int that fits - in unsigned long int. +Thu May 27 17:05:04 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * misc/Makefile (headers): Added ttyent.h. - (routines): Added getttyent. - * misc/ttyent.h, misc/getttyent.h: New; snarfed from 4.4. + * Version 1.06.1. - * posix/sys/wait.h [__USE_BSD]: Added forward decl for struct rusage. - (__wait4, __wait3): Declare arg as struct rusage, not PTR. + * sysdeps/sparc/Dist: Include sdiv.S, not div.S. - * inet/arpa/*.h, inet/protocols/*.h, inet/netdb.h, inet/resolv.h: - New files from 4.4. - * inet/Makefile (headers): Snarf *.h from arpa/ and protocols/. + * sysdeps/unix/common/Dist: Remove make_siglist.c. - * sysdeps/m68k/fpu/__math.h, assert/assert.h: #include <sys/cdefs.h> - and use its macros rather than rolling our own. + * stdio/internals.c: Declare __stdio_fileno before reference. - * misc/sys/cdefs.h: New file. - * misc/Makefile (headers): Add it. + * sysdeps/generic/{memchr,strchr,strlen}.c: Abort if words are + bigger than 64 bits. - * Makerules: Moved check for headers coming from env to Rules. +Wed May 26 14:44:19 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Tue May 12 01:04:10 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + * Makerules [objects] (install-others): Don't add libc.a to this. + (install): Depend on $(libdir)/libc.a. + (intall-no-libc.a): New target, depends on $(+install). + (install): Don't depend on $(+install), just on install-no-libc.a. + * Rules (subdir_install): Depend on install-no-libc.a, not install. - * sysdeps/generic/strsep.c: New. - * string/string.h [__USE_BSD] (strsep): Declare. - * string/Makefile (routines): Added strsep. + * Makefile ($(libc.a)): Don't depend on subdir_lib. + (lib-noranlib): Depend on subdir_lib. - * sysdeps/unix/sysv/__settod.c, sysdeps/unix/sysv/stime.S, - sysdeps/unix/bsd/stime.c, sysdeps/stub/stime.c: New. - * time/time.h [__USE_SVID] (stime): Declare it. + Make `fileno' a per-FILE io operation. + * stdio/stdio.h (__io_fileno): New typedef. + (__io_functions): Add `__fileno' member. + (struct __stdio_file): Remove `__fileno' member. + [__USE_POSIX] [__OPTIMIZE__]: Remove fileno macro defn. + [__USE_POSIX] (fileno): Remove `const' from arg in prototype. + * stdio/fileno.c (fileno): Rewritten to call STREAM's __fileno fn. + * sysdeps/stub/sysd-stdio.c (__stdio_fileno): New function. + (__stdio_open): Return an int (zero for win, nonzero for lose), + and make third arg PTR * (filled in with cookie). + * stdio/stdio.h (__stdio_open): Changed prototype. + * sysdeps/posix/sysd-stdio.c (__stdio_open): Likewise. + (__stdio_{read,write,seek,close}): Use (int) COOKIE as the fd, rather + than *(int *) COOKIE. + (__stdio_fileno): New function; just returns (int) COOKIE. + * sysdeps/posix/fdopen.c: Set cookie to (PTR) FD; don't set fileno. + * stdio/vdprintf.c: Likewise. + * stdio/fmemopen.c: Set STREAM->__io_funcs.__fileno to NULL. + Set STREAM->__cookie to NULL and don't use STREAM->__fileno. + * stdio/internals.c (__default_io_functions): Add __stdio_fileno. + * sysdeps/posix/defs.c (stdstream): Initialize __cookie to (PTR) FD + Remove __fileno initializer. + Add NULL initializer for __io_funcs.__fileno. + * sysdeps/posix/pipestream.c (struct child): Remove `fd' member. + Add `cookie' and `funcs' members. + (FUNC): Macro to define child io_funcs. + (child_funcs): New variable, __io_functions struct of them. + (popen): Store STREAM's original cookie and io_funcs in CHILD, and + then set STREAM->__cookie to CHILD and stream->__io_funcs to + child_funcs. + (pclose): Restore STREAM's original cookie and io_funcs before + calling fclose. - * sysdeps/unix/bsd/bsd44/__getdents.S: New. + * configure.in (autoconf checks): Add new check for a + libc-friendly stddef.h. - * posix/wordexp.h, posix/utime.h, posix/unistd.h, time/time.h, - termios/termios.h, posix/tar.h, string/strings.h, string/string.h, - stdlib/stdlib.h, signal/signal.h, stdio/stdio.h, misc/sgtty.h, - setjmp/setjmp.h, inet/resolv.h, pwd/pwd.h, stdio/printf.h, - misc/nlist.h, inet/netdb.h, math/math.h, malloc/malloc.h, - locale/locale.h, grp/grp.h, posix/glob.h, posix/getopt.h, - posix/fnmatch.h, io/fcntl.h, errno.h, dirent/dirent.h, - ctype/ctype.h, string/bstring.h, assert/assert.h, stdlib/alloca.h, - misc/a.out.h [__cplusplus]: Added stupid cruft for losing C++. + * sysdeps/unix/configure: Remove __getpgrp from list of syscalls. -Mon May 11 01:40:49 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + * sysdeps/generic/memchr.c: Handle 64-bit longwords. + * sysdeps/generic/strlen.c: Likewise. + * sysdeps/generic/strchr.c: Likewise. - * math/Makefile (headers): Added huge_val.h and nan.h. + * sysdeps/unix/sysv/sco3.2.4/Makefile: Remove gratuitous `.c'. - * io/Makefile (headers): Changed gnu/stat.h to statbuf.h. + * Makerules [objects] (install-others): Add $(libdir)/libc.a to + this, instead of adding $(libc.a) to install-lib. + ($(libdir)/libc.a): New target to install from $(libc.a). - * time/Makefile (install-data): Include $(localtime-file) and - $(posixrules-file) if they are relative. - (install-others): Include them if absolute. - ($(posixrules-file), $(localtime-file)): Define rules to install if - absolute file names. - * Makerules (+install): Include $(install-others) verbatim. - * Makeconfig (localtime-file): Made default /etc/localtime. + * sysdeps/unix/sysv/sco3.2.4/__setsid.S: New file. + * sysdeps/unix/bsd/bsd4.4/__setsid.S: New file. - * sysdeps/generic/Makefile (endian.h): Only generate if would - otherwise use stub version. - * sysdeps/stub/endian.h, sysdeps/i386/endian.h: New. +Mon May 24 16:49:54 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * Rules, Makefile: Export distribute and dont_distribute. - * Make-dist: Export sysdep_dirs. Unexport things rather than - clobbering their values. + * sysdeps/unix/sysv/linux/__setsid.S: Moved to unix/sysv/sysv4, + and replaced with #include of that. + * sysdeps/unix/bsd/sun/sunos4/__setsid.S: New file. + * sysdeps/unix/bsd/ultrix4/__setsid.S: New file. - * misc/sys/ptrace.h: Fixed typo. + * posix/Makefile (install): Define to getconf. - * stdio/stdio.h (__io_read, __io_write, __io_seek, __io_close): - Added comments. + * crypt: New version from glad. - * stdio/internals.c (flushbuf): If in append mode, don't do aligned - writing, seek to the target, or update the offset. + * sysdeps/unix/sysv/sysv4/__sysconfig.S: Renamed to sysconfig.S. + * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Change reference. + * sysdeps/unix/sysv/sysv4/Dist: Add sysconfig.S. - * posix/unistd.h (lseek): Doc fix. + * sysdeps/generic/Makefile (siglist.c): Use dir and notdir + functions to guarantee qualified path name for make_siglist. - * misc/swab.c: New. - * misc/Makefile (routines): Added swab. + * time/Makefile (tzcompile): Use $(@D) for target directory, not + reference to nonexistent 4th dep. + (localtime-file, posixrules-file): Turn these into absolute names. + (install-others): Simply refer to them. + ($(datadir)/zoneinfo/{localtime,posixrules}): Change targets of + these rules to $(localtime-file) and $(posixrules-file), respectively. + Use $(<D) for directory to pass zic. -Wed May 6 12:32:18 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + * Makerules (installdirs): Use `sort' function to uniquize list of + directories. - * math/Makefile, inet/Makefile (source_dirs): Export it. - * MakeTAGS (all-dirs): Include $(source_dirs). + * time/Makefile (install-others): Use $(datadir)/zoneinfo, not + $(datadir)zoneinfo (missing /). - * Makefile (TAGS): Removed dep on subdir_TAGS. - (+subdir_targets): Removed subdir_TAGS. - * MakeTAGS [! subdir] (TAGS): Depend on subdir_TAGS. - [! subdir] (subdir_TAGS): Recurse on subdirectories. + * Makerules (install-lib): Refer to `$(libc.a)' instead of `libc.a'. - * Makerules (headers): Don't take value from the environment. + * setjmp/sigjmp_save.c: Renamed to sigjmp.c. + * setjmp/Makefile (routines): Change reference. - * Makerules (sysdirs, sysdep_dir): Export them. + * sysdeps/unix/common/Makefile (siglist.c, make_siglist): Targets + removed. + * sysdeps/unix/common/make_siglist.c: File removed. - * MakeTAGS: New makefile. - * Makefile (distribute): Include it. - * Makefile (TAGS), Rules (TAGS): Removed rules. - * Makerules (TAGS): New rule that uses MakeTAGS. - * Makefile (TAGS): Depend on subdir_TAGS. +Sun May 23 01:00:00 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * Makerules (install, install-lib, install-data, routines, aux): - Don't bother removing these if they come from the environment, since - they won't with make >= 3.62.8. - * Rules (distribute, headers): Ditto. + * manual/Makefile (minimal-dist): Remove COPYING.LIB. + (doc-only-dist): Put it here. + +Sun May 23 00:12:24 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Version 1.06 released. + + * sysdeps/sparc/Dist: Add {u,}{div,rem}.S. + +Sat May 22 18:17:08 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/generic/make_siglist.c (main): Call signame_init, not + init_sigs. + + * Makerules (native-compile): Compile $^, not just $<. + + * sysdeps/unix/i386/sysdep.h (PSEUDO): Omit `.text'. Some + assemblers don't like `.text; ...'. + + * Rules (all): Mention as target first, so it is the default goal. + + * sysdeps/unix/i386/sysdep.S: #undef syscall_error before using it + as a label. + [NO_UNDERSCORES]: Define __syscall_error instead of syscall_error. + + * sysdeps/unix/readdir.c: Decrement d_namlen until it no longer + includes any nulls. + + * Makerules (+install-dirs): Variable removed. + (install): Don't depend on $(+install-dirs). + (installdirs): New target, to make $(dir $(+install)) using + mkinstalldirs. Make $(+install) depend on it. + * Makefile (distribute): Add mkinstalldirs. + * mkinstalldirs: New file. + + * manual/Makefile (installdirs): + New target, using mkinstalldirs to create $(infodir). + ($(infodir)/libc.info): Depend on installdirs. + (minimal-dist): Remove Makefile. + (doc-only-dist): New variable, containing Makefile and mkinstalldirs. + (*.tar): Depend on $(doc-only-dist). + +Sat May 22 16:31:54 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + Compile zoneinfo files directly into $(datadir)/zoneinfo, rather + than compiling them into the source directory and then copying. + * time/Makefile (zones-%): Put targets of generated rule in + $(datadir)/zoneinfo, not zoneinfo. + Don't make generated rules depend on zoneinfo/. + (zonenames, zones-%): Write into $@.new and then use atomic mv. + (zones, zoneinfo): Targets removed. + (zoneinfo/localtime, zoneinfo/posixrules): Change targets to be in + $(datadir)/zoneinfo; find $(localtime) and $(posixrules) there as well. + ($(localtime-file), $(posixrules-file)): Targets removed. + (install-data): Definition removed. + (install-others): Include $(zonenames) from $(datadir)/zoneinfo; and + $(localtime-file) and $(posixrules-file), from $(datadir)/zoneinfo + if they are not absolute file names. + + * time/zic.c (dolink): If FROMFILE or TOFILE begins with a slash, + just set {FROM,TO}NAME to it, instead of prepending DIRECTORY. + Don't free {FROM,TO}NAME if it is {FROM,TO}FILE. + +Fri May 21 13:23:32 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/i386/sysdep.S: Paste : onto syscall_error. + + * sysdeps/unix/configure: Use grep -i when looking for syscalls. + (unix_syscall_h): Ignore syscall.h found in sysdeps/stub. + Remove __setpgrp from list of syscalls. + + * sysdeps/unix/Makefile ($(common-objpfx)sys/param.h): Write defn + for MAXHOSTNAMELEN. The kludgemeister strikes again. + + * posix/Makefile (glob/ChangeLog): Use mv -f. + + * configure.in (os frobnication): Translate numbers separated by + `v's into numbers separated by dots. + + * sysdeps/unix/sysv/sco3.2.4/syscall.h: New file. + + * sysdeps/unix/sysv/sco3.2.4/__waitpid.S: Rewritten to do the + canonical wait3-style magic. + + * sysdeps/unix/sysv/sco3.2.4/{Makefile,Dist,sco_pgrp.S, + __getpgrp.c,__setpgrp.c,__setsid.c}: New files. + + * Makerules ($(common-objpfx)stub-$(subdir)): Add /dev/null to + inner sed command. + + * manual/Makefile ($(objpfx)%.info, $(objpfx)%.dvi): New rules. + ($(infodir)/libc.info): Take basename of each $<* before using it. + (glibc-targets): Add stubs. + (stubs, $(common-objpfx)stub-manual): New targets. + + * time/Makefile (distribute): Add yearistype. + * time/yearistype: New file. + + * sysdeps/unix/bsd/sequent/i386/__sigvec.S: Don't use ARGS_4 + macro; just set %ecx to %esp instead. Pop the stack before doing + the system call, so the add doesn't clear the condition codes. + + * sysdeps/unix/start.c [HAVE_GNU_LD]: Put `start' symbol alias + under [! NO_UNDERSCORES && ! __GNUC__]. + + * sysdeps/unix/sysdep.h (C_LABEL): Use ## to paste NAME and : together. + + * sysdeps/unix/i386/sysdep.h (DO_CALL): Add missing backslash. + +Thu May 20 18:01:15 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makefile ($(+subdir_targets)): Remove old rule. Replace with + static pattern rule to depend on DIR/TARGET for each subdir and target. + (all-subdirs-targets): Define variable to contain names of all + those targets. + ($(all-subdir-targets)): Define rule for these to do sub-make. + + * sysdeps/unix/sysv/sysv4/direct.h (D_NAMLEN): Subtract one for + the terminating null character. + * sysdeps/unix/sysv/sco3.2.4/direct.h (D_NAMLEN): Copy defn from + that file. + +Thu May 20 11:02:59 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * sysdeps/posix/__getpgsz.c: New file. + * sysdeps/unix/sysv/sysv4/__getpgsz.c: New file, include the posix one. + * sysdeps/posix/__getdtsz.c: New file. + * sysdeps/unix/sysv/sysv4/__getdtsz.c: New file, include the posix one. + + * sysdeps/unix/sysv/sysv4/{__sysconf.c, __sysconfig.S, + sysconfig.h, Makefile, Dist}: New files. + + * sysdeps/generic/confname.h (enum for sysconf): Add _SC_PAGESIZE. + * sysdeps/posix/__sysconf.c: Include stddef.h. + (__getpagesize): Declare. + (__sysconf, case _SC_PAGESIZE): Call __getpagesize. + +Wed May 19 14:03:07 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * manual/Makefile (routines, aux, sources, objects, headers): + Define empty. + + * Makeconfig (infodir): Define. + * Makefile (+other_dirs): Add manual. + * manual/Makefile: Include ../Makeconfig if it exists. (subdir): Export it. - * Makerules (sources, headers): Export these. - * Makefile (subdirs): Export it. + (find-includes): Output variable name is $(@F), not $@. + (distribute): Export it. + (mostlyclean, distclean, realclean, clean, subdir_clean): New targets. + (install, subdir_install): New targets. + (infodir, prefix, INSTALL_DATA, INSTALL): Define vars if undefined. + ($(infodir)/libc.info): New target. + (dist): Use ../Make-dist if it exists. + (glibc-targets): New variable. + ($(glibc-targets)): Make no-op targets. + + * config.guess: New file, maintained by Cygnus. + * configure.in: Move AC_PREPARE before arg lossage check. + If $target is unset, try setting it from config.guess. + * Makefile (distribute): Add config.guess. + + * inet/getnetbyad.c: Change first arg type to int32_t. + * inet/inet_mkadr.c: Change arg types to u_int32_t. + * inet/inet_lnaof.c: Change return type to u_int32_t. + * inet/inet_net.c: Likewise. + * inet/inet_netof.c: Likewise. + * inet/res_send.c, inet/res_query.c, inet/res_mkqry.c, + inet/res_init.c, inet/res_debug.c, inet/res_comp.c, + inet/inet_addr.c, inet/herror.c, inet/gethstnmad.c, inet/resolv.h, + inet/netdb.h, inet/arpa/nameser.h, inet/arpa/inet.h: + Snarfed latest code from BIND 4.9.1. + * inet/sys/bitypes.h: New file. + * conf/portability.h: New file. + * inet/Makefile (headers): Add sys/bitypes.h. + (distribute): Define to ../conf/portability.h. + + * mach/__msg_destroy.c: Renamed to __msg_dest.c. + * mach/mig_syms.c: Renamed from mig_support_syms.c. + Added symbol alias for mig_strncpy. + * mach/__mig_strncpy.c: Renamed to mig_strncpy.c. + * mach/mig_strncpy.c: File removed. + * mach/Makefile (routines): Remove __mig_strncpy; change + mig_support_syms to mig_syms; change __msg_destroy to __msg_dest. + + * sysdeps/posix/Makefile: Replace instances of `objpfx' and + `objdir' with `common-objpfx' and `common-objdir'. + +Mon May 17 16:29:29 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * time/asctime.c: Replace ` %2d' with `%3d' in FORMAT. + (asctime): Check return from sprintf being <0, not <25. + + * sysdeps/unix/opendir.c: Include <stdio.h> for BUFSIZ. + + * sysdeps/unix/i386/sysdep.h (PSEUDO): Put ; after DO_CALL use. + + * sysdeps/i386/ffs.c: Use `nonzero' for asm label, instead of `1f'. + +Sun May 16 17:59:58 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/bsd/sequent/i386/__sigvec.S: Don't get fancy with + xchg; just push $trampoline and then push our args again, pop them + after the system call. + + * time/tzfile.c (__tzfile_default): Don't assume TYPES[0] is + standard and TYPES[1] is DST. Instead, loop through all types: + if a type's isdst flag is set, set its idx to STDLEN and its + offset to DSTOFF; if isdst is clear, set its idx to 0 and its + offset to STDOFF. + + * time/__tzset.c: When __tzfile_default returns having set + __use_tzfile, set __tzset_run before returning. + + * sysdeps/posix/sleep.c: Block SIGALRM with sigprocmask before + changing its handler. Use sigaction instead of signal to set the + handler. Use sigsuspend to restore the blocked signals and pause + atomically, instead of using pause. Be sure to disable the alarm + when a signal other than SIGALRM wakes sigsuspend. + + * time/Makefile (zic-cmd): Put the directory before the nondirectory. + + * Makerules (stubs): Remove surrounding `ifdef +depfiles'...`endif'. + + * time/Makefile: Include ../Makeconfig before trying to use $(objpfx). + + * time/tzfile.c (__tzfile_compute): When there are transitions and + TIMER is not before the first one, find the first transition after + TIMER, and then set I to the type of the transition before it. + Set INFO from types[I], not types[type_idxs[I]]. + + * posix/Makefile (glob/configure): cd to glob before running autoconf. + + * time/__tzset.c (compute_change): Don't add 1900 to YEAR. + (__tz_compute): Add 1900 to the year we pass to compute_change. + + * time/gmtime.c: After calling __offtime, zero tm_gmtoff and set + tm_zone to "GMT". + + * time/time.h [__OPTIMIZE__]: Remove gmtime macro version. + + * time/tzfile.c (__tzfile_default): Fail if NUM_TYPES < 2, not if + NUM_TYPES != 2. + + * time/tzfile.c (__tzfile_compute): Don't take arg TM. + Instead take new args long int *LEAP_CORRECT and int *LEAP_HIT. + Don't apply leap second correction to __timezone; instead set + *LEAP_CORRECT and *LEAP_HIT. + * time/__tzset.c (tzset_run): Renamed to __tzset_run, made global. + (__tzset): Change uses. + (__tz_compute): Change use here as well. + Make second arg be a `const struct tm *'. Don't call __tzfile_compute. + * time/localtime.c: Call __tzset if __tzset_run is clear. + New local vars LEAP_CORRECTION and LEAP_EXTRA_SECS. + If __use_tzfile is set, call __tzfile_compute and pass it their + addresses. Only need to call gmtime if __use_tzfile is clear. If + it is clear, pass result of gmtime to __tz_compute, instead of + dereferencing it first; and zero LEAP_CORRECTION and LEAP_EXTRA_SECS. + Subtract LEAP_CORRECTION from __timezone in __offtime call. + After __offtime, add LEAP_EXTRA_SECS to TP->tm_sec. + + * sysdeps/generic/strsep.c: Increment END when writing a null to + it, and set *STRINGP to END rather than END+1, so *STRINGP never + points past the null. + +Sat May 15 17:10:02 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * time/strftime.c: Alphabetize switch cases. + Add GNU extensions %h, %C, %k, %l. + + * time/asctime.c: Make RESULT big enough for each %d to be 2^64. + Protect against tm_wday and tm_mon being out of bounds; use "???" + if they are. - * Rules (+tags_sources): Removed. - * Makerules (tags-sources): Define here. - * ctype/Makefile (tags-sources): Redefine to give headers precedence - over sources. - * Rules (TAGS), Makefile (TAGS): Rewrote rules. - * Makeconfig (+ctags): Removed. - (ETAGS): Define. + * time/{emkdir,ialloc,scheck,zic,zdump}.c: New versions from ADO. - * sysdeps/posix/getcwd.c: Don't closedir twice. + * time/africa, time/antarctica, time/asia, time/australasia, + time/europe, time/northamerica, time/southamerica, + time/pacificnew, time/etcetera, time/factory, time/systemv, + time/solar87, time/solar88, time/solar89, time/leapseconds: + Updated from Arthur David Olsen's latest. - * sysdeps/unix/bsd/hp/m68k/__wait3.S: Define __wait3, not ___wait3. + * sysdeps/generic/__expm1.c, sysdeps/generic/asinh.c, + sysdeps/generic/exp__E.c, sysdeps/generic/log.c, + sysdeps/generic/log1p.c, sysdeps/generic/mathimpl.h, + sysdeps/generic/pow.c, sysdeps/mach/hurd/__ioctl.c, + sysdeps/mach/hurd/stdio_init.c, sysdeps/unix/bsd/clock.c: Put + `const' qualifier always after storage classes. - * posix/sys/types.h [__USE_BSD] (fsid_t): Define. - * posix/gnu/types.h (__fsid_t): Define. + * sysdeps/unix/bsd/sequent/i386/__sigvec.S (trampoline): Use + `call', not `jsr'. + (__sigvec): Exchange the scratch reg with 16(%esp) (fourth arg + slot), not 0(%esp) (return PC slot). Use ARGS_4 to point the + syscall at the args. - * io/fcntl.h (F_GETLK): Define. + * sysdeps/unix/common/__getgrps.c: When gid_t==int, and SIZE!=0, + return N from __bsd_getgroups. -Tue May 5 18:36:46 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + * posix/unistd.h (__need_NULL): Define before including <stddef.h>. + 1003.1-1990 2.7.1 says it should be here. - * misc/Makefile (routines): Added seteuid and setegid. - * sysdeps/stub/sete[ug]id.c, sysdeps/unix/bsd/bsd44/sete[ug]id.S: New. - * posix/unistd.h [__USE_BSD] (seteuid, setegid): Declare. +Sat May 15 14:54:25 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) - * sysdeps/unix/bsd/tcsendbrk.c: #include <sys/types.h> + * time/__tzset.c (compute_change): Add 1900 to YEAR, not 1970. - * Makerules: Strip whitespace from $(headers) so ifdef wins. +Fri May 14 21:24:19 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * sysdeps/unix/bsd/bsdtty.h: #undef a bunch more things. + * sysdeps/unix/sysv/sysv4/solaris2/start.c: Define NO_EXPLICIT_START. + * sysdeps/unix/sparc/start.c [NO_EXPLICIT_START]: Don't asm + `_start' into `start' (e.g., for Solaris). - * sysdeps/unix/bsd/bsd44/errnos.h: New, hacked from 4.4 <sys/errno.h>. + * sysdeps/unix/sysv/sysv4/solaris2/sysdep.h: New file. - * sysdeps/unix/Makefile (ioctls.h, errnos.h): Only generate if - the files that would be used otherwise are the stub versions. +Fri May 14 19:34:54 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/unix/bsd/tcflow.c: Don't write VSTOP or VSTART if it is - _POSIX_VDISABLE. + * malloc/Makefile: Remove depend-malloc dependency on malloc/gmalloc.c. - * sysdeps/unix/bsd/tcflush.c: Use FREAD|FWRITE for TCIOFLUSH. + * posix/Makefile (headers): Add sys/unistd.h. + * posix/sys/unistd.h: New file, just includes <unistd.h>. - * sysdeps/unix/bsd/usleep.c: Use select rather than itimers to wait. + * sysdeps/unix/common/glue-ctype.c (main): Define generated array + as `unsigned char' rather than `char'. - * sysdeps/unix/bsd/tcsendbrk.c: Use select rather than itimers to wait. + * sysdeps/unix/start.c [__GNUC__]: Use asm frob to make `start' + asm name of _start. - * termios/cfmakeraw.c: New. - * termios/Makefile (routines): Added cfmakeraw. + * sysdeps/unix/opendir.c [! _STATBUF_ST_BLKSIZE]: Don't fstat and + use st_blksize; try BUFSIZ instead. - * sysdeps/unix/bsd/bsd44/ioctls.h: New file, hacked from 4.4 - <sys/ioctl.h>. - * sysdeps/unix/bsd/bsd44/__tcgetatr.c: New. - * sysdeps/unix/bsd/bsd44/tcsetattr.c: New. - * sysdeps/unix/bsd/bsd44/tcdrain.c: New. + * sysdeps/unix/Makefile (ioctls): Don't use sed to remove final | + from snarf-ioctls output; just append a dummy alternative instead. - * termios/sys/ttydefaults.h: New, snarfed from 4.4. - * termios/Makefile (headers): Define. - * termios/termios.h [__USE_BSD]: #include <sys/ttydefaults.h> + * sysdeps/posix/__wait3.c: Fix arg types. - * sysdeps/posix/getcwd.c: Removed unused variable. + * Makerules ($(common-objpfx)stub-$(subdir)): Use @ for sed + separator char. Pass extra file /dev/null in case `...` gets empty. - * time/__tzset.c: Cast string literal to (char *). + * sysdeps/unix/sysdep.h (C_LABEL): Define new macro. + * sysdeps/unix/i386/sysdep.h (ENTRY): Use it. + * sysdeps/unix/sparc/sysdep.h (ENTRY): Likewise. + * sysdeps/unix/sparc/__brk.S: Use C_LABEL and ENTRY instead of + C_SYMBOL_NAME. + * sysdeps/unix/i386/__brk.S: Use C_LABEL instead of C_SYMBOL_NAME. - * setjmp/sigjmp_save.c: Declare properly to return void. +Fri May 14 17:41:42 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * sysdeps/ieee754/nan.h: Created; somehow it disappeared. + * sysdeps/mips/sqrt.c [HAVE_GNU_AS]: Use the IEEE 754 version of + sqrt since gas can't handle the `sqrt.d' synthetic instruction. -Mon May 4 18:30:52 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +Fri May 14 16:33:47 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/unix/bsd/bsd44/__wait4.S: New. + * stdio/Makefile (routines): Add tempname. - * sysdeps/unix/bsd/4.4: Renamed to sysdeps/unix/bsd/bsd44. + * sysdeps/unix/common/make_siglist.c: #define const to empty + around #include of <signal.h>. - * signal/gnu/signal.h (__SA_DISABLE, __SA_NOCLDSTOP): Use same bits - 4.4 uses. + * sysdeps/unix/errnos.awk: Surround generated `DO' macro calls + with #ifdef on the E* symbol. -Sun May 3 13:57:25 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * sysdeps/unix/common/make_siglist.c [! HAVE_SYS_SIGLIST && + HAVE__SYS_SIGLIST]: Define sys_siglist to _sys_siglist. - * stdio/fwrite.c: Use unsigned char to avoid sign extension. + * termios/Makefile (headers): Add termbits.h. - * stdlib/__random.c (randtbl): Replaced default constants so they - match the state produced by "srandom (1)". + * posix/Makefile (headers): Add waitflags.h and waitstatus.h. - * stdlib/mbtowc.c: Test for S == "" before testing for no mbchars. + * math/math.h (struct __complex): Rename to struct __cabs_complex. + __complex is now a reserved word in GCC. + * sysdeps/generic/cabs.c (cabs): Likewise. + * sysdeps/ieee754/cabs.c (cabs, z_abs): Likewise. - * stdlib/Makefile (tests): Added testrand. - * stdlib/testrand.c: New test for rand. + * sysdeps/unix/common/glue-ctype.c: Test for _ctype__ before _ctype_. - * stdlib/testmb.c: Added 2 mblen tests. + * posix/Makefile (headers): Add confname.h. - * stdlib/wcstombs.c: Don't do anything strange for EOF. - Copy non-MB characters as they are. - Properly increment S after writing. +Thu May 13 00:25:53 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * stdlib/testmb.c: Added test case for wcstombs. + * ctype/Makefile (tags_sources): Don't define. + * MakeTAGS [subdir==ctype] (tags_sources): Put headers before sources. - * signal/signal.h (SA_DISABLE): Define. - * signal/gnu/signal.h (__SA_DISABLE): Define. + * time/__tzset.c (compute_change): Add 1970 to YEAR before using it. - * signal/signal.h (struct sigaltstack): Define new type. - (sigaltstack): Declare new fn. - * sysdeps/stub/sigaltstack.c: New. - * sysdeps/unix/bsd/4.4/sigaltstack.S: New. + * sysdeps/unix/readdir.c: Pass a BASEP arg to __getdirentries. - * misc/Makefile (routines): Added reboot. - * posix/unistd.h (reboot): Declare. - * sysdeps/stub/reboot.c: New. +Wed May 12 20:36:51 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * sysdeps/unix/bsd/ulimit.c [! HAVE_GNU_LD]: #define _etext -> etext. + * Makefile (distribute): Add aclocal.m4. - * sysdeps/unix/bsd/sun/sparc/sethostid.S: #define _ERRNO_H before - #include <errnos.h>. + * dirent/list.c (test): Clear errno before readdir loop. Complain + if errno is set thereafter. - * configure (newos*): base_os=unix/bsd. + * sysdeps/unix/sysv/sysv4/solaris2/utsnamelen.h: New file. + * sysdeps/unix/sysv/sysv4/solaris2/__utimes.S: New file. + * sysdeps/unix/sysv/sysv4/solaris2/sigaltstack.S: New file. + * sysdeps/unix/sysv/sysv4/solaris2/Makefile: New file. -Fri May 1 12:21:47 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + * sysdeps/unix/bsd/sun/sparc/start.c: Moved to sysdeps/unix/sparc. + * sysdeps/unix/sparc/start.c: Moved from sysdeps/unix/bsd/sun/sparc. + Surround all shared library frobnication code with #ifndef NO_SHLIB. + * sysdeps/unix/sysv/sysv4/solaris2/start.c: New file. - * io/gnu/stat.h: Moved to sysdeps/unix/bsd/statbuf.h. - * sysdeps/unix/bsd/statbuf.h: Define struct stat, not struct __stat. - * io/stat.c: Use struct stat, not struct __stat. - * sysdeps/stub/statbuf.h: New. - * io/sys/stat.h: #include <statbuf.h> instead of gnu/stat.h. - (stat, fstat, lstat, chmod, fchmod, umask, mkdir, mknod): Don't - #define; declare as fns instead. - * sysdeps/unix/sysv/stat.h: New. - * sysdeps/unix/sysv/sysv_stat.h, sysdeps/unix/sysv/sys_stat.S, - sysdeps/unix/sysv/sys_fstat.S: Removed. - * sysdeps/unix/sysv/Makefile (sysdep_routines): Removed sys_stat, - sys_fstat. - * sysdeps/unix/sysv/Dist: Removed sys_stat.S, sys_fstat.S. - * sysdeps/unix/bsd/__stat.S, sysdeps/unix/bsd/__fstat.S: Moved to + * configure.in (os = solaris[2-9]*): base_os=unix/sysv/sysv4. + + * sysdeps/sparc/setjmp.S: Include <sysdep.h>, not "DEFS.h". + Use ENTRY(__setjmp) instead of FUNC(___setjmp). + + * sysdeps/sparc/divrem.m4: [__svr4__]: Include <sys/trap.h> + instead of <machine/trap.h>. + + * sysdeps/sparc/__longjmp.S: Include <sysdep.h>, not "DEFS.h". + Use ENTRY(__longjmp) instead of FUNC(___longjmp). + [__svr4__]: Use <sys/trap.h> instead of <machine/trap.h>. + + * sysdeps/unix/i386/sysdep.h (C_SYMBOL_NAME, SYS_ify): Moved to + sysdeps/unix/sysdep.h. + * sysdeps/unix/sparc/sysdep.h: New file. + * sysdeps/unix/bsd/sun/sparc/sysdep.h: File removed. + + * sysdeps/unix/sparc/__brk.S: New file. + * sysdeps/unix/sparc/__brk.c: File removed. + +Wed May 12 19:43:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * malloc/cfree.c: Put malloc.h include in _MALLOC_INTERNAL conditional. + +Wed May 12 16:24:23 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * Makeconfig (+link): Put $(LDFLAGS) in the value. + * sysdeps/unix/bsd/sun/sparc/Makefile (LDFLAGS): Set it. + + * posix/glob.c: Move include <unistd.h> before dir includes. + [HAVE_UNISTD_H] [! POSIX] [_POSIX_SOURCE]: Define POSIX. + + * grp/initgroups.c [! NGROUPS_MAX || NGROUPS_MAX == 0]: Just + return 0 and do nothing. + + * sysdeps/unix/sysv/sco3.2.4/__{sys,path}conf.S: New files. + * posix/unistd.h: Include <confname.h>; remove _{SC,CS,PC}_* defns. + * sysdeps/generic/confname.h: New file. + * sysdeps/unix/sysv/sco3.2.4/confname.h: New file. + + * malloc/cfree.c: Include <malloc.h> instead of <stdlib.h>. + [_LIBC]: Use function_alias only under this conditional. + [! _LIBC] (cfree): Define a function that just calls free. + + * posix/Makefile (glob.tar): Depend on glob/ChangeLog. + (glob/configure): Just run autoconf, don't do a sub-make. + (glob/ChangeLog): New target. + (%.Z, %.z): New rules. + +Mon May 10 16:56:09 1993 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * malloc/cfree.c: Put the meat of the file inside a "#if + defined(__GNU_LIBRARY__)" clause, so that gmalloc.c, which + incorporates this file, can be used outside of the C library. + +Sun May 9 16:57:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * stdio/fseek.c: Don't call __flshfp unless STREAM is writable. + + * string/tester.c (main): Remove unused variable. + + * sysdeps/unix/bsd/set[er][gu]id.c: New files. + + * sysdeps/unix/mk-local_lim.c (NAME_MAX): Define to 255 if undefined. + + * malloc/Makefile (malloc-dist): Add ChangeLog and mem-limits.h. + (malloc/ChangeLog): New rule using Noah's changelog-extract. + (malloc.tar): Use o flag to tar to make compatible archives. + (gmalloc-routines): Add calloc, valloc, and cfree. + (dist-routines): Remove [cv]alloc from here. + (routines): Remove cfree from here. + +Fri May 7 16:45:54 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/posix/ttyname.c: Replace fixed-sized NAME array with + static char *NAME and static size_t NAMELEN. + Don't check S_ISCHR. + Don't hack NAME before the loop. + If need more than NAMELEN chars to hold the name, increase NAMELEN + to more than big enough and malloc NAME. + Save errno in local var SAVE before doing anything; restore it + when returning non-error. + + * Makefile (generated): Add $(objpfx)stubs.h. + (README): New rule to call Make-dist to do the work. + + * mach/Makefile: Don't include mach-syscalls.mk if no_deps=t. + + * crypt/GNUmakefile (%.z): New rule for gzipping. + (crypt.tar): Use o flag to tar to make compatible archives. + + * Makeconfig: Find config.make in $(common-objpfx), not $(objpfx). + + * io/Makefile (headers): Remove filebits.h. + + * sysdeps/unix/sysv/sysv4/Dist: File removed. + + * Makefile (README): Move from here. + * Make-dist (README): To here. + + * sysdeps/unix/Makefile (sys/param.h): Don't depend on sys/. It + was causing sys/param.h to be remade all the time. + + * aclocal.m4 (GLIBC_PROVIDES): Add shell comment about configure + being generated and not to be editted. + + * sysdeps/unix/swapon.S: Moved to sysdeps/unix/common. + * sysdeps/unix/configure: Add swapon to list of syscalls to check for. + + * sysdeps/unix/mk-local_lim.c: New file, modified from + sysdeps/unix/common/mk-local_lim.c. + * sysdeps/unix/common/Makefile: Move local_lim.h rules from here. + * sysdeps/unix/Makefile: Put them there. + (local_lim-CFLAGS): Define new variable. + (mk-local_lim): Replace $(native-compile) with its value plus + $(local_lim-CFLAGS). + * sysdeps/unix/common/Dist: Remove mk-local_lim.c. + * sysdeps/unix/Dist: Add it here. + + * Makerules (make-dummy-dep): New variable; canned command. + ($(objpfx)%.dep: {$(objpfx),}%.s): New rules using $(make-dummy-dep). + (sysd-Makefile): Write a $(objpfx)%.dep: $dir/%.s rule using it. + + * misc/ioctl.c: Replace function_alias with: + [HAVE_GNU_LD]: Use symbol_alias. + [! HAVE_GNU_LD]: Write out the function; it must fetch its third arg + with va_arg and then call __ioctl. + +Thu May 6 14:56:16 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * misc/sys/ioctl.h (__ioctl, ioctl): Changed prototype to take 2 + args and ... rather than a 3rd __ptr_t arg. + * sysdeps/stub/__ioctl.c: Changed defn. + + * sysdeps/unix/bsd/sun/sunos4/tcflow.c: Include <sys/ioctl.h>. + + * sysdeps/unix/Makefile (make-ioctls-CFLAGS): Define as + -DHAVE_SYS_TERMIOS_H if $(sysincludedir)/sys/termios.h exists. + (make-ioctls): Replace command `$(common-objdir-compile)' with + that var's contents from Makerules, plus $(make-ioctls-CFLAGS). + * sysdeps/unix/ioctls-tmpl.c [HAVE_SYS_TERMIOS_H]: Get <sys/termios.h>. + + * misc/sys/ioctl.h: Include <sys/ttydefaults.h> after <ioctls.h>. + + * sysdeps/unix/bsd/sun/sunos4/speed.c (cfget[io]speed): Return the + raw speed, rather than using it as an index into `speeds'. + (cfset[io]speed): Treat SPEED being an index into `speeds' just as + if it were the value of that element. + + * termios/termios.h: Remove definitions of B[0-9]+ and EXT[AB]. + * sysdeps/generic/termbits.h: Put them here instead. + * sysdeps/unix/bsd/sun/sunos4/termbits.h: Add new defns for those. + + * sysdeps/unix/Makefile (termbits-edit): If termbits.h is not the + generic version, set this to an | egrep command which filters out + symbols appearing in termbits.h. + (ioctls): Depend on $(sysincludedir)sys/termios.h if it exists. + Pass all deps after first to snarf-ioctls. + Put $(termbits-edit) in cmd line; it may be empty or a pipe. + Pipe through sort|uniq before tr (just to cut down on duplicates). + + * sysdeps/generic/Makefile, sysdeps/unix/Makefile: When deciding + whether to generate files whose stub versions are chosen, also + include the generation rules when the chosen directory is + $(common-objpfx), so they continue to be defined after running once. + + * sysdeps/posix/Makefile: Use patsubst instead of substition + references when the substitution or replacement contains a $. + Make has a bug (which I just fixed) with such substitution references. + + * posix/wait3.c: Fixed arg types in fn alias. + * posix/wait4.c: Likewise. + + * sysdeps/posix/Makefile: Remove vpath %.h line. + * Makerules: Add vpath %.h directive. + + * sysdeps/posix/Makefile (generated, before-compile): Add + $(common-objpfx)stdio_lim.h, not just plain stdio_lim.h. + + * Makerules (depend-$(subdir)): Put $(objpfx) in the output, not + its expansion. + (+make-deps): Add sed clause to translate the expansion of + $(objpfx) back into the variable reference. + +Wed May 5 15:59:40 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/sysv/sco3.2/local_lim.h: New file. + + * sysdeps/unix/sysv/sco3.2/Makefile: New file + * sysdeps/unix/sysv/sco3.2/Dist: New file. + * sysdeps/unix/sysv/sco3.2/__fltused.c: New file. + + * sysdeps/unix/configure: New file. + * sysdeps/unix/inet/__select.S: Moved to sysdeps/unix/common. + This is because select is a call sysdeps/unix/configure wants to + check for, and it simplifies life for all those to be in unix/common. + + * sysdeps/tahoe/Implies: Remove $(bsdmath)tahoe line. + + * sysdeps/unix/sysv/sco3.2.4/{__sigact,__sigproc, + sigpending,sigsuspend}.S: New files. + + * Makefile (INSTALL): Depend on manual/maint.texi, not + manual/maint.texinfo. Use -- instead of + for long options. + + * configure.in: After setting $sysnames initially and adding the + FPU directory, expand and uniquize the list with code that used to + be in find-sysdirs. Make $sysnames blank-separated rather than + newline-separated. Generalize loop iterating over $sysnames, so + it sets $uname and sources sysdep configure scripts. Move + sys_siglist and ctype checks to sysdeps/unix/common/configure.in. + Set Make variable `config-sysdirs' to $sysnames in config.make, + and don't frob Sysnames or sysdirs files at all. + * find-sysdirs: File removed. + * Makefile (distribute): Remove find-sysdirs. + (sysd-dirs): Depend on config.make instead of config.make. + Use $(sysdirs) in place of `cat $<`. + * aclocal.m4: New file. + * sysdeps/unix/common/configure.in: New file, contains checks for + sys_siglist and ctype glue moved from top-level configure.in. + * Makerules (sysdirs, Sysnames): Rules removed. + Don't include sysdirs. + (sysdirs): Define variable from $(config-sysdirs). + (sysd-Makefile): Depend on config.make instead of sysdirs. + Use $(sysdirs) instead of filtering the sysdirs file. + * Make-dist (+sysdep-tsrcs): Include configure and configure.in + from sysdep dirs. + (dist.tar): Use o flag to tar for compatible archives. + (dist): Depend on foo.z instead of foo.Z. + ($(tardir){-crypt,}.tar.z): Renamed from .Z. + (%.z: %): New rule. + (%/configure: %/configure.in): New rule. + +Mon May 3 17:45:06 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/sysv/sco3.2.4/__waitpid.S: New file. + + * sysdeps/unix/sysv/sco3.2.4/direct.h: New file. + + * sysdeps/unix/readdir.c: Moved from unix/bsd, rewritten to always + use __getdirentries and D_NAMLEN macro, no #ifdefs. + * sysdeps/unix/sysv/readdir.c, sysdeps/unix/bsd/bsd4.4/readdir.c, + sysdeps/unix/bsd/ultrix4/readdir.c, + sysdeps/unix/bsd/hp/m68k/readdir.c, + sysdeps/unix/bsd/sun/readdir.c: Files removed. + * sysdeps/unix/common/{close,open,rewind,seek,tell}dir.c: Moved to sysdeps/unix. + * sysdeps/unix/sysv/direct.h: New file. + * sysdeps/unix/bsd/direct.h (D_NAMLEN): Define to use d_namlen. + * sysdeps/unix/sysv/sysv4/direct.h (D_NAMLEN): Define to calculate + from d_reclen. + * sysdeps/unix/__getdents.c: New file. + * sysdeps/stub/direct.h: New file. + * sysdeps/unix/bsd/Dist: Remove bsddir.h. + * sysdeps/unix/sysv/sysv4/readdir.c: Moved to unix/sysv. + * sysdeps/unix/sysv/sysv4/bsddir.h: Renamed to direct.h. + * sysdeps/unix/bsd/bsddir.h: Likewise. + * sysdeps/unix/common/opendir.c: Include "direct.h", not "bsddir.h". + * sysdeps/unix/sysv/sysv4/readdir.c: Likewise. + * dirent/Makefile (distribute): Define to include direct.h. - * sysdeps/m68k/fpu/switch/Makefile: Refer to dirs fpu and - fpu/switch, not 68881 and 68881-switch. + * sysdeps/unix/common/opendir.c: Be sure to close FD if fcntl fails. - * sysdeps/m68k/fpu/switch/switch.c: #include <68881-sw.h>, not - 68881-switch.h. + * sysdeps/generic/memcopy.h: #include <sys/cdefs.h> and use __P + prototypes instead of EXFUN. - * sysdeps/m68k/fpu/__expm1.c, sysdeps/m68k/fpu/__rint.c, - sysdeps/m68k/fpu/asin.c, sysdeps/m68k/fpu/atan.c, - sysdeps/m68k/fpu/atanh.c, sysdeps/m68k/fpu/ceil.c, - sysdeps/m68k/fpu/cos.c, sysdeps/m68k/fpu/cosh.c, - sysdeps/m68k/fpu/exp.c, sysdeps/m68k/fpu/fabs.c, - sysdeps/m68k/fpu/floor.c, sysdeps/m68k/fpu/log.c, - sysdeps/m68k/fpu/log10.c, sysdeps/m68k/fpu/log1p.c, - sysdeps/m68k/fpu/sin.c, sysdeps/m68k/fpu/sinh.c, - sysdeps/m68k/fpu/sqrt.c, sysdeps/m68k/fpu/tan.c, - sysdeps/m68k/fpu/tanh.c: #include <acos.c> without explicit path - (which has changed). + * sysdeps/generic/memcmp.c (__ptr_t, const): Define as appropriate + conditional on [__cplusplus || __STDC__]. - * sysdeps/unix/bsd/sun/sparc/start.c: #include <syscall.h>. - (syscall): Removed C function; define all inside asm instead. - (init_shlib): Cast return value of syscall to right types. +Thu Apr 29 21:48:37 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Thu Apr 30 01:15:33 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + * Makefile ($(libc.a)): Make this, not lib, depend on subdir_lib. - * sysdeps/unix/bsd/sun/sparc/start.c: Added code to use dynamic - linker from trq@dionysos.thphys.ox.ac.uk. + * Makerules ($(objpfx)%.{o,dep} rules): Remove spurious / after + $(objpfx) in dependency patterns. - * sysdeps/unix/bsd/sun/sunos4: Renamed to sunos411. + * sysdeps/unix/bsd/sun/sparc/start.c (_start): Define with + `asm ("start")', so its asm name is `start' rather than `__start'. + Remove asm that did a `.set' pseudo-op, which Sun as seems not to grok. - * setjmp/setjmp.h (sigsetjmp): Don't declare as a function. - Define as a macro instead. - (__sigjmp_save): Declare; internal fn used by sigsetjmp macro. - (_setjmp), [__FAVOR_BSD] (setjmp): Always define as a macro. - * setjmp/sigjmp_save.c: New file. - * setjmp/_setjmp.c, setjmp/sigsetjmp.c: Removed. - * Makefile (routines): Removed _setjmp, sigsetjmp; added sigjmp_save. - * misc/bsd-compat.c (setjmp): Don't define. +Wed Apr 28 12:59:46 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * configure (sysv, bsd): base_os=unix + * sysdeps/stub/system.c: Return 0 if LINE is nil. - * configure: Fatal error if the machine or os did not generate any - sysdep dirs. + * sysdeps/unix/__execve.S [!SYS_execve && SYS_exec]: Define + SYS_execve to be SYS_exec. - * configure: No error message after config.sub fails. + * time/mktime.c: Include <sys/types.h>. - * sysdeps/mips, sysdeps/unix/bsd/ultrix42: New port from - brendan@cs.widener.edu. +Mon Apr 26 17:10:21 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * Reorganized sysdeps: - unix/bsd/ - hp9k3bsd -> hp/m68k - news -> sony/m68k - sun/ - sun3/os3 -> sunos3/m68k - sun3 -> m68k - sun4 -> sparc - unix/sysv/ - r4 -> sysv4 - m68k/ - 68881 -> fpu - 68881/68881-switch -> fpu/switch - * sysdeps/unix/bsd/sony/m68k/start.c: Changed #include. - * configure: Use config.sub to canonicalize name. - Then use combinations of machine, vendor, and os (with special - hacks for os flavors) for sysdep dirs to try. - * Makefile (distribute): Added config.sub. - -Wed Apr 29 23:06:06 1992 Brendan Kehoe (brendan@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/bsd/hp9k3bsd/sysdep.h, - sysdeps/unix/bsd/sun/sun3/sysdep.h, sysdeps/unix/bsd/sun/sun4/sysdep.h, - sysdeps/unix/bsd/vax/sysdep.h,sysdeps/unix/i386/sysdep.h, - sysdeps/mach/i386/sysdep.h: Change all definitions of movl/mov to - MOVE(s, d), for insn sets with d,s instead of s,d move insns. - * sysdeps/unix/__getegid.S, sysdeps/unix/__geteuid.S, - sysdeps/unix/__getppid.S: Use that in each of these. - -Wed Apr 29 17:58:21 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) - - * io/getwd.c: Default PATH_MAX if not defined. - - * sysdeps/unix/getlogin.c, sysdeps/posix/ttyname.c: Make buffers - only as big as needed, avoiding PATH_MAX. - - * sysdeps/posix/getcwd.c: Dynamically extend the buffer as we go, - not afterwards; default PATH_MAX if not defined. - - * posix/execvp.c: Dynamically allocate an array on the stack for the - path name, rather than using a fixed-size array. - - * pwd/putpwent.c: Print pw_dir field. - - * sysdeps/posix/mktemp.c: If the pid has changed, update OLDPID. - -Tue Apr 28 19:25:21 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) - - * malloc/valloc.c [emacs]: #include "config.h" - -Thu Apr 23 13:55:34 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) - - * sysdeps/m68k/68881/__drem.c: Define __drem, not drem. - Call ____drem, not __drem. - - * malloc/realloc.c, malloc/malloc.c: Don't #define memcpy or memset - if already #define'd. - -Tue Apr 21 04:16:56 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * malloc/Makefile: Moved include ../Rules after malloc.tar rules. - They need $(routines), which Rules clears. - - * malloc/realloc.c (MIN): Renamed to min. Conflicted with HPUX - system header files. - - * Makefile (sysdep-subdirs): Is not called +sysdep-subdirs. - - * configure: Don't try to create config.status if . is not writable. - - * sysdeps/generic/printf_fp.c: Fixed padding loop condition for zero - case. - - * math/math.h: Don't #include <float.h> for HUGE_VAL. - Instead, #include <huge_val.h>. - * stdlib/stdlib.h: Ditto. - * math/math.h [__USE_GNU]: #include <nan.h> to get NAN value. - * float.h: Removed. - * Makefile (headers): Removed float.h and fl.h. - * sysdeps/ieee754/huge_val.h, sysdeps/ieee754/nan.h, - sysdeps/stub/huge_val.h, sysdeps/stub/nan.h, sysdeps/vax/huge_val.h: - Created (from old fl.h files). - - * math/bsd/common_source/pow.c (pow_p): When checking if Y is an - integer, don't let it overflow a `long int'. - (pow): Check for NaN with __isnan, not (X != X). - -Tue Apr 21 02:26:19 1992 Brendan Kehoe (brendan@cs.widener.edu) - - * sysdeps/unix/bsd/sun/sun4/__pipe.S, - sysdeps/unix/bsd/vax/__wait3.S, sysdeps/unix/bsd/hp9k3bsd/__wait3.S: - Use the ENTRY macro for each beginning - - * sysdeps/unix/sysdep.h, sysdeps/unix/bsd/hp9k3bsd/sysdep.h, - sysdeps/unix/bsd/sun/sun3/sysdep.h, - sysdeps/unix/bsd/sun/sun4/sysdep.h, sysdeps/unix/bsd/vax/sysdep.h, - sysdeps/unix/i386/sysdep.h, sysdeps/unix/sysdep.h, - sysdeps/unix/sysv/sysdep.h [SYSCALL, SYSCALL__, PSEUDO]: Modify to - also receive the number of args the syscall takes; added for future - ports that will require this information. - - * sysdeps/unix/i386/__pipe.S, sysdeps/unix/bsd/vax/__pipe.S, - sysdeps/unix/bsd/sun/sun4/__pipe.S, - sysdeps/unix/bsd/hp9k3bsd/__pipe.S, sysdeps/unix/i386/__brk.S, - sysdeps/unix/bsd/sun/__getdents.S, sysdeps/unix/i386/__fork.S, - sysdeps/unix/bsd/vax/__fork.S, sysdeps/unix/bsd/sun/sun4/__fork.S, - sysdeps/unix/__setgid.S, sysdeps/unix/__setuid.S, - sysdeps/unix/bsd/sun/sun3/__vfork.S, - sysdeps/unix/bsd/sun/sun4/__vfork.S, - sysdeps/unix/bsd/vax/__wait.S, sysdeps/unix/bsd/hp9k3bsd/__wait.S, - sysdeps/unix/i386/__wait.S, - sysdeps/unix/bsd/sun/sunos4/sys_wait4.S, - sysdeps/unix/bsd/sun/sun3/sethostid.S, - sysdeps/unix/bsd/sun/sun4/sethostid.S, - sysdeps/unix/bsd/__sigvec.S, sysdeps/unix/bsd/sun/sun4/__sigvec.S, - sysdeps/unix/sysv/i386/__sigret.S, sysdeps/unix/__getppid.S, - sysdeps/unix/bsd/__access.S, sysdeps/unix/sysv/signal.S, - sysdeps/unix/__getegid.S, sysdeps/unix/__geteuid.S, - sysdeps/unix/bsd/bsd_getgrp.S, sysdeps/unix/bsd/__dup2.S, - sysdeps/unix/bsd/__fchmod.S, sysdeps/unix/bsd/__fchown.S, - sysdeps/unix/bsd/__flock.S, sysdeps/unix/bsd/__fstat.S, - sysdeps/unix/bsd/__lstat.S, sysdeps/unix/bsd/__mkdir.S, - sysdeps/unix/bsd/__readlink.S, sysdeps/unix/bsd/__rmdir.S, - sysdeps/unix/bsd/__stat.S, sysdeps/unix/bsd/__symlink.S, - sysdeps/unix/bsd/4.4/chflags.S, sysdeps/unix/bsd/4.4/fchflags.S, - sysdeps/unix/bsd/4.4/sstk.S, sysdeps/unix/bsd/4.4/setlogin.S, - sysdeps/unix/bsd/__getdtsz.S, sysdeps/unix/bsd/__getpgsz.S, - sysdeps/unix/bsd/__setregid.S, sysdeps/unix/bsd/__setreuid.S, - sysdeps/unix/bsd/__utimes.S, sysdeps/unix/bsd/ftruncate.S, - sysdeps/unix/bsd/readv.S, sysdeps/unix/bsd/truncate.S, - sysdeps/unix/bsd/vhangup.S, sysdeps/unix/bsd/writev.S, - sysdeps/unix/bsd/__getpgrp.S, sysdeps/unix/bsd/__setpgrp.S, - sysdeps/unix/bsd/__getrusag.S, sysdeps/unix/bsd/getprio.S, - sysdeps/unix/bsd/getrlimit.S, sysdeps/unix/bsd/setprio.S, - sysdeps/unix/bsd/__sigblock.S, - sysdeps/unix/bsd/__sigpause.S, sysdeps/unix/bsd/__sigstmsk.S, - sysdeps/unix/bsd/killpg.S, sysdeps/unix/bsd/sigstack.S, - sysdeps/unix/bsd/rename.S, sysdeps/unix/bsd/__adjtime.S, - sysdeps/unix/bsd/__setitmr.S, sysdeps/unix/bsd/__settod.S, - sysdeps/unix/sysv/sys_stat.S, sysdeps/unix/sysv/sys_fstat.S, - sysdeps/unix/sysv/__utssys.S, sysdeps/unix/sysv/utime.S, - sysdeps/unix/sysv/__times.S, sysdeps/unix/sysv/i386/time.S, - sysdeps/unix/sysv/alarm.S, sysdeps/unix/sysv/pause.S, - sysdeps/unix/sysv/ulimit.S, sysdeps/unix/__chdir.S, - sysdeps/unix/__chmod.S, sysdeps/unix/__chown.S, - sysdeps/unix/__close.S, sysdeps/unix/__dup.S, - sysdeps/unix/__fcntl.S, sysdeps/unix/__link.S, - sysdeps/unix/__lseek.S, sysdeps/unix/__open.S, - sysdeps/unix/__read.S, sysdeps/unix/__umask.S, - sysdeps/unix/__unlink.S, sysdeps/unix/__write.S, - sysdeps/unix/__ioctl.S, sysdeps/unix/__mknod.S, - sysdeps/unix/acct.S, sysdeps/unix/chroot.S, sysdeps/unix/fsync.S, - sysdeps/unix/ptrace.S, sysdeps/unix/swapon.S, sysdeps/unix/sync.S, - sysdeps/unix/__execve.S, sysdeps/unix/__getgid.S, - sysdeps/unix/__getpid.S, sysdeps/unix/__getuid.S, - sysdeps/unix/_exit.S, sysdeps/unix/__kill.S, - sysdeps/unix/inet/__gethstnm.S, sysdeps/unix/inet/__select.S, - sysdeps/unix/inet/gethostid.S, sysdeps/unix/inet/sethostid.S, - sysdeps/unix/inet/sethostnam.S, sysdeps/unix/inet/accept.S, - sysdeps/unix/inet/bind.S, sysdeps/unix/inet/connect.S, - sysdeps/unix/inet/getpeernam.S, sysdeps/unix/inet/getsocknam.S, - sysdeps/unix/inet/getsockopt.S, sysdeps/unix/inet/listen.S, - sysdeps/unix/inet/recv.S, sysdeps/unix/inet/recvfrom.S, - sysdeps/unix/inet/recvmsg.S, sysdeps/unix/inet/send.S, - sysdeps/unix/inet/sendmsg.S, sysdeps/unix/inet/sendto.S, - sysdeps/unix/bsd/vax/__wait3.S, sysdeps/unix/bsd/hp9k3bsd/__wait3.S, - sysdeps/unix/inet/setsockopt.S, sysdeps/unix/inet/shutdown.S, - sysdeps/unix/inet/socket.S, sysdeps/unix/inet/socketpair.S: Added the - argument count to every use of SYSCALL, SYSCALL__ or PSEUDO. - -Tue Apr 21 00:06:52 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * limits.h [__GNUC__ >= 2]: Use #include_next to get GCC's <limits.h>. - - * sysdeps/posix/sysd-stdio.c (__stdio_read, __stdio_write, - __stdio_errmsg) [EINTR && EINTR_REPEAT]: Do EINTR looping. - * sysdeps/unix/sysv/sysd-stdio.c: New. - #define EINTR_REPEAT and #include posix/sysd-stdio.c. - - * stdlib/mbstowcs.c: Copy non-MB chars verbatim, instead of error. - - * sysdeps/generic/printf_fp.c: Note sign of exponent and take its - absolute value for arithmetic. - - * stdlib/testmb.c: New. - * stdlib/Makefile (tests): Added testmb. - - * sysdeps/generic/frexp.c [NAN]: If VALUE is infinite, return NAN. - If VALUE is NAN, set errno to EDOM and return VALUE. - If VALUE is zero, return it. In all special cases, clear *EXP. - - * stdio/test-fseek.c: New. - * stdio/Makefile (tests): Added test-fseek. - - * stdio/fseek.c: Position returned from io_funcs.seek is absolute, - not EOF-relative when using SEEK_END. - - * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Set errno to - EEXIST when we run out. - - * sysdeps/posix/sysd-stdio.c (exists): Use stat rather than open, so - we don't need read access. - - * sysdeps/posix/mk-stdiolim.c (TMP_NAM): is 62 ** 3. - -Mon Apr 20 23:08:02 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Don't return - the same name twice when the file doesn't exist. - - * stdio/vfprintf.c (%c format): Tests of LEFT for padding were - reversed. - - * sysdeps/generic/printf_fp.c: If we have written some fractional - digits, write zeros up to the precision. - - * sysdeps/unix/bsd/sun/sun4/start.c: Don't clear the FP until just - before calling main. + * sysdeps/generic/memcmp.c: Deansideclized. + [HAVE_CONFIG_H]: Include "config.h". + [HAVE_STRING_H || _LIBC]: Put #include <string.h> under this. + [_LIBC]: Put #include <memcopy.h> under this conditional. + [! _LIBC]: Define op_t, OPSIZ, byte, and MERGE. -Wed Apr 15 01:43:38 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * time/mktime.c: Define __isleap if not defined. - * Makerules (libc.a): Don't depend on libc.a(...); only on lib. - (lib-noranlib): Depend on libobjs. - (+libobjs): New var. - (libobjs): Depend on $(+libobjs). - * Rules (others, tests): Don't depend on lib; on libc.a instead. +Fri Apr 23 18:08:33 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * locale/C-numeric.c: grouping is "". + * sysdeps/unix/sysv/__getdents.c: New file. + * sysdeps/unix/sysv/sysv4/sys_getdents.S: Moved to unix/sysv. + * sysdeps/unix/sysv/Makefile [subdir==dirent]: Add sys_getdents to + sysdep_routines. + * sysdeps/unix/sysv/Dist: Add sys_getdents.S. + * sysdeps/unix/sysv/sysv4/Dist: Remove it from here. + * sysdeps/unix/sysv/sysv4/Makefile: File removed. - * locale/localeconv.c: Set int_frac_digits. +Thu Apr 22 17:40:28 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * locale/setlocale.c: Accept "" to mean "C". + * sysdeps/unix/bsd/sony/newsos4/m68k/sysdep.h: New file. - * sysdeps/unix/sysv/r4/bsddir.h: Protect against multiple inclusion. + * sysdeps/generic/strsep.c: Set *STRINGP to END+1, not END. - * sysdeps/unix/sysv/r4/Dist: Created; includes bsddir.h and - sys_getdents.S. + * configure.in (arg parsing): Grok --verbose and set verbose=yes. - * sysdeps/unix/i386/sysdep.h [! HAVE_SYSCALLS]: Don't #inlcude - unix/sysdep.h. - * sysdeps/unix/sysv/sysdep.h, sysdeps/unix/sysdep.h - (HAVE_SYSCALLS): #define. - * sysdeps/unix/sysv/i386/sysdep.h: #include unix/sysv/sysdep.h, then - unix/i386/sysdep.h. + * sysdeps/sparc/{umul,mul}.S: Remove ' from ! comment. - * sysdeps/unix/sysv/Makefile: Fixed typos. + * sysdeps/sparc/Makefile (*.S): Find divrem.m4 in this sysdeps dir. - * sysdeps/unix/sysv/Dist: Add utmp.h. + * sysdeps/unix/bsd/sun/sunos4/speed.c (cfset[io]speed): Typo fix. - * sysdeps/posix/Makefile (mk-stdiolim): Explicit commands, to - compile it without normal gcc flags. + * sysdeps/unix/bsd/sun/sparc/vfork.S: Use a sethi insn and %g1 as + a temporary, rather than expecting the address to fit into a short + jump. - * configure (i386-sysv): unix/i386/sysv -> unix/sysv/i386. - (i386-sysvr4): New configuration. + * sysdeps/unix/bsd/__fork.S: Moved to sysdeps/unix/__fork.S; we + want unix/MACHINE/__fork.S to come first. -Tue Apr 14 16:47:47 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/unix/bsd/bsd4.4/__wait3.c: Make STAT_LOC type + `__WAIT_STATUS' (defined in <sys/wait.h>). + * sysdeps/unix/bsd/sun/sunos4/__wait4.c: Likewise. - * setjmp/setjmp.h: Put sigjmp_buf before typedef for jmp_buf, which - needs sigjmp_buf #ifdef __FAVOR_BSD. + * signal/sigvec.c: Change args from `struct __sigvec *' to + `struct sigvec *' in function alias. - * posix/unistd.h (getgroups): Don't #define. + * signal/sigproc.c: Make arg SET `const sigset_t *' in fn alias. - * sysdeps/stub/ptrace.c: #include <stdarg.h>; declare AP in fn. - Avoid "PTR a, b". + * signal/sigaction.c: Change args from `struct __sigaction *' to + `struct sigaction *' in function alias. - * sysdeps/posix/sigintr.c: New; sets global sigset_t `_sigintr'. - * sysdeps/posix/signal.c: Use SA_RESTART unless SIG is in _sigintr. - * signal/sigintr.c: Removed. - * sysdeps/stub/sigintr.c: New. + * sysdeps/unix/common/glue-ctype.c (main) [! TABLE]: Write just a + comment saying we don't know the table name, rather than barfing + with `TABLE' an undefined variable. - * sysdeps/posix/sysd-stdio.c (__stdio_read, __stdio_write, - __stdio_errmsg): Don't treat EINTR specially. + * sysdeps/generic/printf_fp.c: Fixed test to chose %e format. + Make loop condition --J > 0; break out of loop when FPNUM < F. + After loop, use %e format iff J <= 0. - * sysdeps/unix/Makefile (sys/param.h): Touch the target after mv'ing - from the tmp file, so the file is newer than the directory. + * posix/glob/Makefile.in (.c.o): Put $(CFLAGS) last. + (glob.o): Depend on glob.c. + (fnmatch.o): Depend on fnmatch.c. - * sysdeps/generic/strcasecmp.c: Simplified loop; fixed returning - wrong value on equal comparison. +Wed Apr 21 12:40:03 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * stdlib/bsearch.c: Don't lose if NMEMB is zero. + * sysdeps/posix/Makefile (before-compile): Add stdio_lim.h. - * sysdeps/unix/bsd/__times.c (timeval_to_clock_t): Microseconds are - not milliseconds. + * configure.in (signed size_t test): Remove 's from rhs of AC_DEFINE. -Mon Apr 13 18:25:17 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * stdio/internals.c (seek_to_target): If __stdio_check_offset + fails with ESPIPE, do nothing. - * sysdeps/generic/strncase.c: New. - * string/Makefile (routines): Add strncase. - * string/string.h [__USE_GNU]: Declare strncasecmp. + * sysdeps/generic/printf_fp.c: For %e type, add K-1 to CUTOFF, + rather than K. + When there are no post-decimal digits, never write a decimal point + for a %g spec unless it had a # modifier. + Move K==-1 test to write decimal point before K==CUTOFF test to + round and write last digit. + Merge code for first post-decimal digit with code for remaining digits. + Move code to write leading fractional zeros inside K<0 test which + determines if any will be needed. + In decimal fraction notation code, use R10 temporary instead of + repeating (R * 10) twice. - * time/__tzset.c: Correctly default DST offset to one hour later - than standard offset. + * stdio/fwrite.c: Only fail when __stdio_check_offset fails if it + failed with ESPIPE. If offset==-1, don't change it or target. - * time/__tzset.c (tz_rule): Made `name' not be const. + * sysdeps/posix/defs.c (stdstream): Rearrange initializers, as + FILE has been rearranged. Set offset and target to -1, not 0. - * string/tester.c [! HAVE_GNU_LD]: #define _sys_nerr and - _sys_errlist to sys_nerr and sys_errlist. + * sysdeps/posix/stdio_init.c: If STREAM isatty, set its seek + function to NULL. Unix bites. - * stdio/test_rdwr.c: Fixed printf call missing arg. + * stdio/ungetc.c: Call __flshfp if linebuf_active or put_limit>buffer. - * posix/getgrps.c: #undef getgroups first. + * sysdeps/unix/bsd/sun/sparc/start.c [__GNUC__ < 2]: #error. - * misc/brk.c: Declare __brk. - * misc/sbrk.c: Declare __sbrk. - * misc/setreuid.c, misc/setregid.c: #include <unistd.h>. - Fixed types in DEFUN in fn alias. - * misc/getpgsz.c, misc/getdtsz.c, misc/gethstnm.c: #include <unistd.h>. - * misc/getdents.c: Declare __getdirentries. - * misc/mknod.c: #include <sys/stat.h>. - * posix/unistd.h: Declare many __ versions of things. - [__OPTIMIZE__]: Many #define foo(...) -> __foo(...). + * time/mktime.c: Deansideclized. + Don't include <errno.h> or <limits.h>; we don't need them. + [DEBUG] (printtm): Made static. + [HAVE_CONFIG_H]: Include "config.h". + [__GNU_LIBRARY__ || HAVE_LIMITS_H]: Surround #include <limits.h> + with these conditionals. - * io/fcntl.c: #include <sys/file.h>. + * time/offtime.c (__mon_lengths): Move defn to mktime.c; replace + with extern decl. + * time/mktime.c (__mon_lengths): Define here; remove extern decl. - * sysdeps/unix/Makefile: New hair to install other headers the - system sys/param.h #includes. +Mon Apr 19 18:42:59 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * time/__tzset.c (__tzfile_default): Declare. + * sysdeps/stub/tempname.c: New file. + * sysdeps/stub/sysd-stdio.c (__stdio_gen_tempname): Moved there. + * sysdeps/posix/tempname.c: New file. + * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Moved there. - * time/sys/time.h (timezone): #define to __timezone. + * stdio/fopen.c: Don't set the offset to zero. That can falsely + give the impression that an unseekable object is seekable. - * sysdeps/ieee754/printf_fp.c: #undef outchar before #including - generic/printf_fp.c. + * stdio/internals.c (__flshfp): Discard any pushed back character + first thing after sanity checks. + (__flshfp): Deconditionalize code to call the output-room + function; we always want to give it a chance to prime the stream. + Remove code that reset bufp if put_limit==buffer. We want to let + the output-room function do that--that is priming the stream. - * stdio/__vfscanf.c: For %c, don't lose the first char. - For %s, properly consume the last char when we hit max width. +Fri Apr 16 12:24:21 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * posix/gnu/types.h (__dev_t, __mode_t): Made int rather than short. - * io/gnu/stat.h (struct stat): Made st_dev, st_rdev, and st_mode use - {,unsigned} short int instead of __dev_t/__mode_t. + * Makerules ($(libc.a)): Depend on lib-noranlib and have ranlib + command line. + (lib): Just depend on $(libc.a). -Fri Apr 10 13:55:07 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + * sysdeps/unix/bsd/sun/sparc/start.c (init_shlib): Use __environ, + not environ. - * setjmp/setjmp.h: Rearranged so that jmp_buf is defined before any - prototypes are used. - (longjmp): Declare with jmp_buf, not __jmp_buf, to win in BSD mode. - (_longjmp): #define as __longjmp, not longjmp. - (_longjmp, _setjmp): Take jmp_buf args, not __jmp_buf. - Call sig{set,long}jmp with SAVEMASK==0, rather than __{set,long}jmp. - * _longjmp.c, _setjmp.c: #define _BSD_SOURCE before all else. - (_setjmp): Call sigsetjmp, not __setjmp. + * stdio/internals.c (__flshfp): Don't check that the buffer + actually contains anything when setting the put_limit to the end of + the buffer if linebuf_active. + (__flshfp): To write C into the buffer !FLUSH_ONLY, don't check + that bufp > buffer and get_limit == buffer. Check against + put_limit unless linebuf_active (in which case check against the + real put_limit, fp->__buffer + fp->__bufsize). + (__flshfp): Bother to call the output-room function if !FLUSH_ONLY + or bufp > buffer and get_limit <= linebuf-corrected put_limit. + (__flshfp): Check for a NULL output-room function before checking + if C will fit in the buffer. + (flushbuf): After putting C into the buffer, + set BUFFER_WRITTEN to zero and goto end instead of returning. - * io/sys/stat.h (__fchmod, __mknod): Fixed arg types. + * stdio/ungetc.c: Test STREAM->__pushed_back before flushing the + STREAM if it's writable. - * io/fchmod.c: Fixed typo. + * posix/glob.c, posix/fnmatch.c: Surround code with + #if defined (_LIBC) || !defined (__GNU_LIBRARY__) - * time/Makefile (\n): Renamed to nl. +Thu Apr 15 19:35:59 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * Makerules (native-compile): New variable. - * sysdeps/generic/Makefile, sysdeps/unix/Makefile, - sysdeps/unix/bsd/Makefile: Use it in cmds for generator progs. + * string/tester.c (main): Added tests for strsep. - * sysdeps/unix/sysv/sysv_termio.h (_SYSV_TAB3): New; same as XTABS. + * sysdeps/ieee754/frexp.c: New file. - * sysdeps/unix/sysv/setrlimit.c: Removed extern decl of etext (unused). +Wed Apr 14 12:49:10 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/unix/sysv/__tcgetatr.c, sysdeps/unix/sysv/tcdrain.c, - sysdeps/unix/sysv/tcflow.c, sysdeps/unix/sysv/tcflush.c, - sysdeps/unix/sysv/tcgetpgrp.c, sysdeps/unix/sysv/tcsendbrk.c, - sysdeps/unix/sysv/tcsetattr.c, sysdeps/unix/sysv/tcsetpgrp.c: - #include <sys/ioctl.h> + * Makerules (ar-it): Add c flag to ar commands. - * sysdeps/unix/sysv/__rmdir.c, sysdeps/unix/sysv/__mkdir.c, - sysdeps/posix/writev.c: #include <string.h>. + * posix/glob.c [USG, NeXT]: Don't test these. + [HAVE_STRING_H]: Test this to include string.h and define ANSI_STRING. + [HAVE_MEMORY_H]: Test this instead of NEED_MEMORY_H. + [! ANSI_STRING]: Put decls of bcopy and #define of memcpy et al here. - * sysdeps/posix/clock.c: Removed unused variable. + * posix/fnmatch.c [HAVE_CONFIG_H]: #include "config.h". -Thu Apr 9 01:49:39 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) +Mon Apr 12 16:34:53 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * Version 1.03. + * posix/glob.c: Rationalize directory header conditionals. - * grp/testgrp.c: Print members correctly. +Sun Apr 11 18:53:50 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * stdio/test-popen.c: Pipe to cat rather than more, and then check - output file. Better error checking. + * stdio/internals.c: Remove __libc_fatal. + * sysdeps/stub/sysd-stdio.c: Remove __stdio_errmsg. + * sysdeps/posix/sysd-stdio.c: Likewise. + * sysdeps/stub/libc_fatal.c, sysdeps/posix/libc_fatal.c: New files. + * stdio/Makefile (routines): Add libc_fatal. - * setjmp/tst-setjmp.c: Notice if we didn't jump the right number of - times. + * stdio/stdio.h (FILE): Add new member `__linebuf_active' (flag). + Rearranged order of members slightly. + * stdio/setvbuf.c: Clear the linebuf_active flag. + * stdio/fseek.c: Likewise. + * stdio/internals.c (__flshfp): Test linebuf_active, not linebuf, + to decide to reset put_limit before calling the output-room function. + After calling it, if line-buffered, set put_limit to the + beginning of the buffer and set the linebuf_active flag. + (__fillbf): If linebuf_active is set, reset put_limit to the end + of the buffer, and clear the flag. - * signal/tst-signal.c, string/testcopy.c, stdio/bug[12345].c: Print - msgs that more clearly say whether we won or lost. Better error - checking. + * stdio/ungetc.c: If STREAM is writable and has something in its + buffer, flush it. - * sysdeps/generic/printf_fp.c: Completely rewritten from scratch. - Now uses Steele & White's "Dragon4" algorithm to do things right. + * stdio/internals.c (__fillbf): When flushing all line-buffered + streams, don't test for their put_limits being > than their + buffers. We should let __flshfp figure it out. -Wed Apr 8 01:08:41 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * stdio/setvbuf.c: Always set the put_limit to the beginning of + the buffer. - * sysdeps/i386/__longjmp.c: Test for VAL==0 before clobbering regs. - Wire V to AX, rather than DX. Use "a" constraint on unused operand - in jmp asm, rather than global reg var, to force value into AX. + * stdio/stdio.h (__putc): Rewritten to remove all knowledge of + magic for line-buffered streams. It now always calls __flshfp when + the bufp hits the put_limit. -Tue Apr 7 17:51:25 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * stdio/fwrite.c: When recalculating BUFFER_SPACE after calling + __flshfp, ignore the put_limit for the sake of line-buffered streams. - * posix/Makefile (headers): Added tar.h. - * posix/tar.h: New file, from djm. + * stdio/fseek.c (fseek): Call __flshfp on STREAM unconditionally. + We don't want to try to put the conditions for when it is + necessary here as well. -Mon Apr 6 01:39:07 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * sysdeps/generic/printf_fp.c: When deciding whether to use %e + format for %g, break out of the loop on J as soon as F reaches + FPNUM; after the loop, set TYPE to 'e' if J<0, meaning we went all + the way through. - * time/tzfile.c (struct ttinfo): Made `isstd' member be unsigned - char instead of 1-bit bitfield. + * misc/getpass.c (TCSASOFT): Define to 0 if undefined. + (getpass): Use a variable OUT to store the stream where output goes. + Use a variable NREAD to notice how much was read; if the last char + in the buffer is a newline, clobber it to a null terminator. - * time/tzfile.c (__tzfile_default): New function. - * time/__tzset.c: Call it when no rule is given. - * time/Makefile: Install posixrules just like localtime. - * time/Makeconfig (posixrules, posixrules-file): New config vars. + * posix/fnmatch.h [__cplusplus || __STDC__]: Don't #define const. - * time/time.h (struct tm): Add `tz_gmtoff', `tz_zone'. - * time/localtime.c: Set those members. +Thu Apr 8 19:29:37 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/ieee754/__drem.c: XOR the signs of X and the result, - rather than setting the sign of the result to that of X. + * stdio/tst-printf.c (main): Added some floating-point tests. - * sysdeps/unix/bsd/make-local_lim.c: Don't do MAXUPRC or MAXLINK if - <sys/param.h> didn't define them. + * sysdeps/unix/bsd/sequent/i386/__sigvec.S: New file. - * sysdeps/posix/__sigvec.c: Fixed braino: SA_ONSTACK should be - SA_RESTART. + * sysdeps/unix/sysv/i386/__sigret.S: Moved to sysdeps/unix/i386. + Use DO_CALL instead of magic. - * pwd/getpw.c, pwd/putpwent.c: Use %u fmt for uid and gid (which are - unsigned). + * sysdeps/unix/bsd/i386/__wait3.S: Use DO_CALL instead of magic. + Use scratch instead of %ecx and r1 instead of %edx. - * time/time.h (tzname, daylight, timezone): Don't #define to __. - * time/tzfile.c, time/__tzset.c, time/localtime.c, time/strftime.c - [! HAVE_GNU_LD]: #define __ to plain for above three vars. + * sysdeps/unix/bsd/i386/__vfork.S: Rewritten to not use SYSCALL__. + Use DO_CALL instead, and save the return PC in a register around + the trap. -Thu Apr 2 03:39:04 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * sysdeps/unix/i386/sysdep.h (DO_CALL): New macro to do syscall trap. + (PSEUDO): Use it instead of putting the code here. - * locale/Makefile (routines): Add localeconv. + * stdio/vfprintf.c (number): Write "0x" before padding, not after. - * sysdeps/i386/jmp_buf.h: Removed `__dx' elt; replaced with `__pc'. - __bp and __sp are PTRs. - * sysdeps/i386/setjmp.c: Rewritten. Use global reg vars to save regs. - Use arithmetic on address of arg to get caller's PC, BP, and SP. - * sysdeps/i386/__longjmp.c: Rewritten. Use global reg vars to - restore regs. + * sysdeps/unix/bsd/sequent/i386/sysdep.h: New file. -Wed Apr 1 23:13:57 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * sysdeps/unix/bsd/__setuid.c: #include <sys/types.h>. + Change argument type to uid_t. + * sysdeps/unix/bsd/__setgid.c: #include <sys/types.h>. + Change argument type to gid_t. - * Moved sysdeps/unix/i386/{bsd,sysv} to - sysdeps/unix/{bsd,sysv}/i386, and updated Implies files. - Implied dirs come before parents, and we want unix/i386 before - unix/{sysv,bsd}. + * sysdeps/unix/common/__getgrps.c: Restore errno after erroneous + syscall failure. - * io/chown.c: Fixed types in fn alias. + * stdio/tst-printf.c (fp_test): New function, batch of tests from + a bug report. + (main): Call it. -Wed Apr 1 14:18:58 1992 Torbjorn Granlund (tege@mole.gnu.ai.mit.edu) +Wed Apr 7 17:17:17 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/generic/memcmp.c - (memcmp_common_alignment, memcmp_not_common_alignment): - Move back do0 label to its original position, after the loop. - Add comment before do0 labels. - * sysdeps/generic/wordcopy.c (_wordcopy_fwd_aligned): Indentation. - Add comment before do0 labels. + * sysdeps/generic/pow.c (pow_p): Don't initialize K; was a dead store. -Wed Apr 1 02:16:19 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +Mon Apr 5 21:17:58 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/unix/sysv/Makefile [subdir==misc]: Generate sysdep header - termio.h from sysv_termio.h. + * sysdeps/unix/common/__getgrps.c: If __bsd_getgroups returns an + error and SIZE==0, alloc temp space for NGROUPS_MAX elts and call + it again on that, so we can find the number of groups. - * sysdeps/generic/make_siglist.c: New file. - * sysdeps/generic/signame.[ch]: Symlink'd from /gd/gnu/lib. - * sysdeps/generic/Makefile: Generate siglist.c with above. - * sysdeps/generic/Dist: Add make_siglist.c, signame.[ch]. + * stdio/__vfscanf.c (input_error): If DONE is nonzero, return it; + else return EOF. + (%c): Don't check for C==EOF at the end; let the following spec get it. + (%[eEfgG]): EOF after sign is conv_error, not input error. - * sysdeps/unix/bsd/Makefile (before-compile): Define properly as a - variable. + * sysdeps/unix/common/__getgrps.c: If gid_t==int, pass LIST to + __bsd_getgroups, not NULL. + No error for SIZE > NGROUPS_MAX. - * sysdeps/unix/bsd/make_siglist.c: Generate #define _sys_siglist - sys_siglist #ifndef HAVE_GNU_LD. - * stdio/psignal.h, string/strsignal.h [! HAVE_GNU_LD]: - #define _sys_siglist sys_siglist. +Sun Apr 4 18:52:34 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/unix/sysv/signum.h (SIGCHLD): Changed #. - (SIGUSR1, SIGUSR2, SIGPWR): Added. - (_NSIG): Updated. + * sysdeps/unix/{bsd,sysv}/i386/Implies: Files removed. + They should no longer be necessary, since configure now tries more + sysdeps directory permutations. - * sysdeps/unix/sysv/utmp.h: New. + * sysdeps/unix/bsd/{i386,sun/sparc,hp/m68k,ultrix4/mips}/__set[ug]id.S: + Files removed. They should no longer be necessary, since the new + sysdeps scheme should find unix/bsd/__set[gu]id.c before + unix/__set[gu]id.S. - * sysdeps/unix/bsd/getlogin.c: Moved to sysdeps/unix/getlogin.c. + * sysdeps/unix/i386/__pipe.S: Use r1 in place of %edx and scratch + in place of %ecx. + * sysdeps/unix/i386/__wait.S: Likewise. + * sysdeps/unix/i386/__fork.S: Use r1 in place of %edx and r0 in + place of %eax. + * sysdeps/unix/i386/__vfork.S: Likewise. + * sysdeps/unix/i386/sysdep.h (scratch): #define as %ecx. + * sysdeps/unix/sysv/i386/linux/sysdep.h: Likewise. - * sysdeps/unix/sysv/r4/bsddir.h, sysdeps/unix/sysv/r4/readdir.c, - sysdeps/unix/sysv/r4/closedir.c, sysdeps/unix/sysv/r4/rewinddir.c, - sysdeps/unix/sysv/r4/opendir.c, sysdeps/unix/sysv/r4/sys_getdents.S, - sysdeps/unix/sysv/r4/Makefile: New. + * configure.in ($uname = generic): Set kernel_{version,release} to + empty before all else. + If /vmunix doesn't exist, try grovelling over /dynix instead. - * sysdeps/unix/sysv/tcflow.c: New. + * sysdeps/unix/Makefile (syscall.h): Double $ in sed cmd. - * sysdeps/unix/sysv/sysv_termio.h: Add lots of bits; VMIN and VTIME - elts of c_cc. - * sysdeps/unix/sysv/__tcgetatr.c, sysdeps/unix/sysv/tcsetattr.c: Use - VMIN and VTIME elts from sysv termio struct. +Fri Apr 2 15:15:44 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/unix/sysv/__gethstnm.c: New. + * configure.in (config_vars): New variable; text to go in config.make. + Use AC_HEADER_EGREP to grovel stdarg.h for __gnuc_va_list and set + stdarg.h in config_vars if we find it. - * sysdeps/unix/sysv/local_lim.h (NGROUPS_MAX): Define as 0. + * sysdeps/unix/bsd/sun/sunos4/tcsendbrk.c, + sysdeps/unix/bsd/sun/sunos4/tcflow.c, + sysdeps/unix/bsd/sun/sunos4/tcflush.c, + sysdeps/unix/bsd/sun/sunos4/tcsetattr.c, + sysdeps/unix/bsd/sun/sunos4/__tcgetatr.c: New files. - * sysdeps/unix/sysv/fcntlbits.h (struct __flock): Changed l_pid to - short; added l_sysid. + * sysdeps/unix/Makefile (syscall.h): Add sed cmd to terminate + unterminated comments at the ends of lines. - * sysdeps/unix/sysv/__sigact.c: New. + * sysdeps/posix/getcwd.c: Deansideclized and added four tons of + portability goop. - * sysdeps/unix/sysv/r4/__access.S: New; just #include bsd/__access.S. +Mon Mar 29 13:18:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/unix/sysv/Makefile: Fixed typo: sysdep-routines => - sysdep_routines. + * sysdeps/unix/bsd/sun/sunos4/speed.c: New file. + + * sysdeps/generic/termbits.h: New file, contents taken from termios.h. + * termios/termios.h: Remove type & macro defns; #include <termbits.h>. + [__OPTIMIZE__] (cf[gs]et[io]speed): Remove macro versions. They + just cause trouble because they want to be in termbits.h (since + they are sysdep) and also to come after the prototypes (which must + come after termbits.h to get speed_t and struct termios defined). + The optimization was insignificant anyway. + * termios/speed.c: Moved to sysdeps/generic. + + * termios/cfsetspeed.c: Call cfset[io]speed, rather than doing it + ourselves. + + * time/__tzset.c (tz_rule): Make member `secs' not a bitfield. + (compute_change): Complete rewrite; code basically stolen from + localtime3/localtime.c:transtime. + #include "tzfile.h" for SECSPERDAY; #define NOID first. + + * sysdeps/unix/bsd/i386/__vfork.S: Don't try to #include __fork.S. + Instead, copy that code here and change `fork' to `vfork'. + + * Makeconfig (+default_cflags): Rename to default_cflags. + (+cflags): Use that name. - * sysdeps/unix/i386/sysv/__sigret.S, - sysdeps/unix/i386/sysv/signal.S: New. + * Makefile (configure): New rule. - * signal/Makefile (routines): Added sigret, __sigret. - * signal/sigret.c: New; fn alias to __sigreturn. - * sysdeps/stub/__sigret.c: New. +Sun Mar 28 16:12:33 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * sysdeps/unix/i386/sysdep.h (PSEUDO): Use hard-coded numbers for - lcalls insn--GAS bug. + * posix/fnmatch.c (case '*'): Before final loop, fold C1, rather + than foling *P before it goes into C1. C might need folding instead. - * sysdeps/unix/bsd/readdir.c (D_NAMLEN): New macro; define if not - already defined, to return length of a direct elt. + * posix/Makefile (tests): Add testfnm. + * posix/testfnm.{c,args}: New files. - * sysdeps/stub/__getgrps.c: #include <limits.h>; if NGROUPS_MAX is - defined as 0, always return 0, and no stub warning. +Fri Mar 26 15:04:27 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/posix/system.c: Don't fail if sigprocmask fails with ENOSYS. + * time/mktime.c: Wholly new implementation from Noel Cragg. - * sysdeps/posix/sysd-stdio.c, sysdeps/stub/sysd-stdio.c: Doc fix. + * sysdeps/unix/bsd/sun/__sigret.S: New file. + * sysdeps/unix/bsd/sun/m68k/{Makefile,Dist}: New files. + * sysdeps/unix/bsd/sun/m68k/{sigcontext.h,sigtramp.c}: New files. + * sysdeps/unix/bsd/sun/sparc/__sigvec.S: Moved to sysdeps/unix/bsd/sun. - * sysdeps/posix/__gettod.c: Use CONST where appropriate and not - where not. + * Makefile (clean): Remove sysd-Makefile, sysd-dirs, sysdirs + (distclean): New target. + * sysdeps/unix/common/Makefile (generated): Add local_lim.h, + mk-local_lim, glue-ctype, glue-ctype.c, siglist.c, make_siglist. + * sysdeps/generic/Makefile (generated): Add bytesex.h, + det_endian, siglist.c, make_siglist. + * sysdeps/unix/Makefile (generated): Add errnos.h, errnos, + make-errnos, make-errnos.c, ioctls.h, ioctls, make-ioctls, + make-ioctls.c, errlist.c, make_errlist, syscall.h, sys/param.h, + param.h.c, param.h.dep, $(sys/param.h-includes). - * sysdeps/i386/memchr.c, sysdeps/i386/strlen.c: Changed `repnz' to - `repne'. + * misc/Makefile (extra-objs): Define new var to include bsd-compat.o. - * stdio/fgets.c: Notice returned char from __fillbf in length calc. +Fri Mar 26 14:53:30 1993 Michael John Haertel (mike@skinner.cs.uoregon.edu) - * misc/sys/ioctl.h: Always define `struct sgttyb'. + * malloc/malloc.c (malloc): Start searching at _heapindex, not + MALLOC_SEARCH_START. + * malloc/malloc.h (MALLOC_SEARCH_START): Macro removed. + * malloc/realloc.c (realloc): When malloc returns NULL, handle the + case of the block we need to unfree (which was just freed) having + been coalesced with its neighbors. - * stdlib/alloca.h: #undef __alloca, too. - Always #define alloca == __alloca. +Thu Mar 25 13:40:17 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * signal/signal.h (__kill): Fixed type in decl. - * posix/unistd.h (setgid): Fixed type in decl. - * posix/setpgid.c, posix/setgid.c, signal/kill.c, posix/fork.c, - posix/vfork.c, posix/getpid.c, posix/getppid.c, posix/setsid.c: - Fixed DEFUNs in fn aliases. - * pwd/getpw.c: Fixed type in defn. + * Rules (all): Depend on others. -Mon Mar 30 17:06:54 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * time/Makefile (zonenames): Change target to $(objpfx)zonenames. + Make the generated file prepend $(objpfx) to + Include that instead of zonenames. + (zones-%): Change target to $(objpfx)zones-%. - * sysdeps/generic/printf_fp.c: In %f, decrement PREC for each - leading zero in the fractional part. + * Makefile ($(objpfx)Mcrt1.o): Put temporary Mcrt1.c file in + $(objdir), rather than the current directory. - * sysdeps/ieee754/ieee754.h: Made all elts unsigned. - * sysdeps/ieee754/__drem.c: Return NAN if Y is zero. - * sysdeps/ieee754/ldexp.c: Rewritten. - * sysdeps/ieee754/__logb.c: Handle denormalized numbers. + * configure.in (arg parsing): Recognize `--exec-prefix' rather + than `--exec_prefix'. - * posix/sys/wait.h: #include <endian.h> + * Rules (mostlyclean): Remove the .o files for $(tests) and $(others). + Remove $(objpfx)depend-$(subdir). + (clean): Remove $(extra-objs). + * Makefile (clean): Remove $(install-lib) from $(objdir). + Don't try to remove ansi/ and trad/ or dist.tar or lint.out. + Remove $(objpfx)depend-. + * time/Makefile (extra-objs): Define new var. + * malloc/Makefile (extra-objs): Likewise. - * sysdeps/ieee754/fl.h: Fixed NAN and HUGE_VAL bit patterns; added - code for little endian. + * Rules (+objs): Variable removed. + (clean): Use $(objects) in place of $(+objs). - * sysdeps/generic/frexp.c: Add one to exponent to give the result a - digit before the point. Use negative exponent rather than division. + * sysdeps/unix/Makefile (sys/param.h-includes): Move all this + outside of ifeq ($(subdir),misc). + Fixed sed command to filter out [hn]to[nh][sl]. + (sys/param.h-includes): New target; dep on $(sys/param.h-includes). - * math/__finite.c: Return zero for NaN. - * math/math.h: Doc fix for same. + * posix/fnmatch.h [!_POSIX_C_SOURCE || ...]: Make this test + _GNU_SOURCE, not _BSD_SOURCE; these are our extensions, not theirs. + (FNM_CASEFOLD): New bit. + (__FNM_FLAGS): Removed macro. + * posix/fnmatch.c (fnmatch): Don't test for bogus flag bits; who cares? + (FOLD): New macro to casefold a char if FNM_CASEFOLD. + Use it to fold all chars before comparison. - * stdio/__getdelim.c: Correctly notice when the buffer is full. +Wed Mar 24 16:09:26 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/unix/bsd/opendir.c: Pass arg to fcntl F_SETFD by value, - not by reference. + * malloc/Makefile (malloc/%.c, malloc/%.h): Rules removed. - * time/__tzset.c: Correct default rule: M4.1.0,M10.5.0. + * stdio/stdio.h (fopencookie): Rename parameter IO_FUNCTIONS to + IO_FUNCS. The former conflicted with a typedef name, which ist + verboten. - * time/__tzset.c: Move ptr past Mfoobar syntax after parsing it. + * time/sys/time.h (enum __itimer_which): Remove trailing comma. - * time/__tzset.c: Properly parse the DST offset (or its absence). +Mon Mar 22 15:35:54 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/unix/make_errlist.c: Write an #ifdef HAVE_GNU_LD, rather - than testing it when compiling make_errlist. + * malloc/malloc.h [_MALLOC_INTERNAL] + [__GNU_LIBRARY__ || STDC_HEADERS || USG] (memmove): Define in + terms of bcopy. + * malloc/malloc/gmalloc-head.c: Redo previously undone change. - * time/tzfile.c (__tzfile_read): Convert transitions to host byte - order. +Thu Mar 18 04:59:21 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makeconfig (localtime-file): New config var. - * time/Makefile (tzfile.o, zic.o): Use it for TZDEFAULT. + * malloc/malloc/gmalloc-head.c: Undo previous change. - * stdio/Makefile (tests): Added tstgetline. - * stdio/tstgetline.c: New; test for getline. +Wed Mar 17 12:22:21 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * Makeconfig (sysincludedir): Define and document. - * sysdeps/unix/snarf-ioctls, sysdeps/unix/Makefile: Use - ${sysincludedirs} in place of hard-coded /usr/include. + * mach/mach.h: New file. -Fri Mar 27 13:33:37 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + * Rules (clean): Remove $(generated), not $(clean-extras). + (subdir_echo-distinfo): Use $(generated) instead of $(dont_distribute). + (generated): Export this instead of dont_distribute. + * stdlib/Makefile (generated): Set this, not dont_distribute. + * sysdeps/posix/Makefile: Likewise. + * sysdeps/unix/sysv/Makefile: Likewise. + * sysdeps/unix/Makefile: Likewise. + * Makefile (generated): Export this instead of dont_distribute. + (parent_echo-distinfo): Use $(generated) instead of $(dont_distribute). + * Make-dist (+tsrcs): Filter out $(generated), not $(dont_distribute). - * string/Makefile (headers): Added endian.h. + * mach/mach_init.h (__mach_task_self): Define so as not an lvalue. + (mach_task_self): Surround defn with parens. - * sysdeps/ieee754/__drem.c: Fixed typo which made X and Y be the - same location. + * sysdeps/unix/Makefile (sys/param.h): Put "#include <endian.h>" in. + ($(sys/param.h-includes)): Edit out #define's of *_ENDIAN and + BYTE_ORDER. - * sysdeps/generic/__lstat.c: #include <gnu-stabs.h> + * stdlib/tst-strtol.c (tests): Fully bracket initializers. - * stdio/internals.c (flushbuf): Increment target as well as offset - when we write out the single char. + * stdio/bug4.c: Change #ifdef LIBC to #ifdef _LIBC. - * grp/Makefile (tests): Add testgrp (formerly bug1). + * misc/progname.c (set_progname): Make a useless reference to + set_progname to avoid a `defined but not used' warning. -Thu Mar 26 14:59:45 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + * sysdeps/mach/i386/start.c (_cthread_{init,exit}_routine): Remove + `extern'; these want to be uninitialized common defns. - * stdio/fread.c: Don't read directly when we need to seek first. +Mon Mar 15 18:41:05 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) -Wed Mar 25 02:34:49 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + * sysdeps/unix/bsd/__times.c (timeval_to_clock_t): Put __inline + before storage class in defn. - * sysdeps/unix/bsd/alarm.c: There are 1000000 usecs in a sec. + * sysdeps/unix/sysv/signum.h (SIG_ERR, SIG_DFL, SIG_IGN): Cast + values to __sighandler_t, rather than obsolete ansidecl magic. - * sysdeps/unix/bsd/sun/ptrace.c: Removed. + * sysdeps/unix/__execve.S [!SYS_execve && SYS_exece]: Define + SYS_execve to be SYS_exece. - * stdio/fgets.c: For unbuffered stream, don't return EOF after - reading some data. - Added missing parens. + * sysvipc: New directory. + * sysvipc/Makefile: New file. + * sysvipc/sys/ipc.h: New file. -Tue Mar 24 18:31:07 1992 Torbjorn Granlund (tege@hal) +Fri Mar 12 15:31:44 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * sysdeps/i386/memset.c: Move code that puts C in all four nibbles of - X inside `if' statement. Include sysdeps/i386/memset.c (not bzero). - * sysdeps/i386/memchr.c: Rewrite to be faster. Include - sysdeps/generic/memchr.c (not bzero). + * posix/execlp.c (execlp): Remove spurious second declared parameter. + Don't fill ARGV[0] specially; just let the loop do it. + * posix/unistd.h (execlp): Remove spurious second declared parameter. -Tue Mar 24 01:21:32 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +Thu Mar 11 13:58:47 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * io/Makefile (routines): Add getdirname. - * posix/unistd.h [__USE_GNU]: Declare getdirname. - * io/getdirname.c: New. + * Makerules (sysd-Makefile): Write %.dep: %.S and %.dep: %.c rules. + Depend on Makerules. + ($(objpfx)%.{o,dep}: $(objpfx)/%.{S,c,s}): New rules to find + sources in $(objpfx) before sysdep directories. - * Makeconfig (stddef.h): Define and document. - * Makefile (headers): Use $(stddef.h) for stddef.h. + * configure.in (signed size_t check): Use eval on $CPP, since it + contains unexpanded variable refs. + Send grep output to /dev/null. + Put quotes around 'unsigned long int'. -Mon Mar 23 18:04:56 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) +Wed Mar 10 18:32:11 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * sysdeps/posix/mktemp.c: Do PID % 100000 for 5 digits. + * features.h [! _LIBC]: #include <stubs.h>. + * Makerules (stubs): New phony target. + ($(common-objpfx)stub-$(subdir)): New target. + * Makefile (headers): Add stubs.h. + ($(objpfx)stubs.h): New target. - * time/Makefile (tzfiles): Remove pacificnew; it won't compile. - (distribute): Put it here instead. + * Makeconfig (CPPFLAGS): Define _LIBC, not LIBC. - * stdio/printf-prs.c [HAVE_LONGLONG]: Fixed missed var name change - from code snarf. + * Makerules (.SUFFIXES): Remove .m4; we no longer have any such files. - * stdio/fgets.c: Return NULL when we get EOF. + * inet/netinet/in.h: Don't #include <inet-cvt.h>. + (ntohl, ntohs, htonl, htons): Declare. + #include <endian.h>. + [__BYTE_ORDER == __BIG_ENDIAN] (ntohl, ntohs, htonl, htons): + Define no-op macros. + * inet/Makefile (headers): Remove inet-cvt.h. + * sysdeps/vax/inet-cvt.h, sysdeps/generic/inet-cvt.h: Files removed. + * sysdeps/generic/{ntohl,ntohs,htonl,htons}.c + [BYTE_ORDER == LITTLE_ENDIAN]: Byte-swap X before returning it. - * posix/execvp.c, sysdeps/posix/putenv.c [! HAVE_GNU_LD]: Define - __environ as environ. +Tue Mar 9 11:32:35 1993 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) - * sysdeps/unix/bsd/Makefile, sysdeps/unix/Makefile: In rules to - compile generator programs, cd into $(objdir) first to avoid - braindead cc clobbering foo.o in cwdir. + * malloc/malloc/gmalloc-head.c: Remove #definitions of memset, + memcpy, and memmove; this is taken care of by malloc.h anyway. - * sysdeps/m68k/setjmp.c: Deref fpregs array in asm. +Mon Mar 8 15:12:32 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * time/Makefile (zones-%): Fixed generated rules. + * sysdeps/mips/jmp_buf.h (JB_PC): Protect with #ifdef __USE_MISC. - * math/Makefile (libm.a): Use r cmd to ar. + * sysdeps/unix/sysv/sysv4/sigaction.h: Put SA_* except for + SA_NOCLDSTOP inside #ifdef __USE_MISC. - * time/Makefile (zones-%): In echo commands, put \\\\n outside of - quotes instead of \\n inside single quotes. SysV echo is braindead. +Mon Mar 8 15:05:13 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * io/fchown.c, io/fchmod.c, misc/bsd-compat.c: Fixed DEFUNs in fn - aliases. + * sysdeps/mips/jmp_buf.h (jmp_buf): Use `__ptr_t', not `PTR', for + member types. + (JB_PC): New define, for backwards compatability with Ultrix. - * time/Makefile (echo-zonenames): New target; tell user what all - timezones defined in all zone files are. - * Makeconfig (localtime): Comment about using above. + * sysdeps/unix/sysv/sysv4/sigaction.h: New file. -Sun Mar 22 18:34:02 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) +Mon Mar 8 13:20:02 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * time/australasia (NZ): Updated rules. + * posix/glob/Makefile.in (VPATH): Set this to @srcdir@. + (srcdir): Set this to $(VPATH). -Sat Mar 21 01:00:49 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * posix/glob.c (glob): In no matches with GLOB_NOCHECK set case, + add NULL terminator to PGLOB->gl_pathv. + (prefix_array): Renamed arg PREFIX to DIRNAME, local var PRELEN to + DIRLEN. If DIRNAME is just "/", don't prepend it, so we get + "/foo" instead of "//foo". + (glob): Move qsort call outside of the else clause of the + glob_pattern_p test; it should always be done. - * stdio/printf-prs.c [__GNUC__]: Define HAVE_LONGLONG. +Thu Feb 25 14:49:52 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Fri Mar 20 00:35:36 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * malloc/malloc.h [_MALLOC_INTERNAL]: Move #include <stdio.h> to + front of file; it needs to come before size_t/ptrdiff_t frobnication. - * Version 1.02. +Wed Feb 24 16:34:58 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * stdio/Makefile (routines): Add __getdelim, __getline. + * Makerules (compile-command.[Ssc]): New variables; define them if + they are not already defined. + (sysd-Makefile): For each directory, write three rules: + %.o: $dir/%.[Ssc]; $(compile-command.[Ssc]). + (sysdep_path): Remove definition and vpath directives. + * sysdeps/m68k/Makefile (compile-command.S): Define our own version. + ($(objpfx)%.o: %.S): Rule removed. - * sysdeps/unix/i386/start.c: No ../ in #include file name. + * sysdeps/unix/sysv/linux/{__dup2,__mkdir,__rmdir,__setpgrp}.S: + Removed. + * sysdeps/unix/sysv/linux/Implies: Created; implies unix/common. - * sysdeps/posix/sysd-stdio.c, sysdeps/stub/sysd-stdio.c - (__stdio_seek): Doc fix. + * sysdeps/unix/sysv/sysv4/{sete[gu]id.S,fchdir.S,signum.h,__sigproc.S}: + New files. - * sysdeps/posix/mk-stdiolim.c: Add one to L_tmpnam, for the null - terminator. + * sysdeps/unix/sysv/sysv4/time.S: New file. - * sysdeps/posix/__dup2.c: Use an extra fcntl call to check that the - first fd is valid. Close the second fd before doing the dup. + * sysdeps/unix/common/Dist: New file; everything from + sysdeps/unix/bsd/Dist except for bsdtty.h and bsddir.h. + * sysdeps/unix/bsd/Dist: Remove things now in sysdeps/unix/common/Dist. - * pwd/pwdread.c, grp/grpread.c: Use __getline. Ignore lines - beginning with #. + * sysdeps/unix/bsd/sun/sparc/{__brk.c,__fork.S,__pipe.S,__vfork.S}: + Moved to new directory sysdeps/unix/sparc. - * Makeconfig (objdir): If $(ARCH) starts with a slash, don't prepend - $(..). + * sysdeps/unix/common/Implies: New file, in new directory; implies + unix/inet only. + * sysdeps/unix/bsd/Implies, sysdeps/unix/sysv/sysv4/Implies: New + files; both imply unix/common. + * sysdeps/unix/common/Makefile: Moved from sysdeps/unix/bsd. + Changed references to unix/bsd to unix/common. + * unix/bsd/{__access.S,__adjtime.S,__fchmod.S,__fchown.S,__getgrps.c, + __getitmr.S,__getpgrp.S,__getrusag.S,__gettod.S,__lstat.S,__mkdir.S, + __readlink.S,__rmdir.S,__setitmr.S,__setpgrp.S,__symlink.S, + bsd_getgrp.S,closedir.c,ftruncate.S,getrlimit.S,glue-ctype.c, + make_siglist.c,mk-local_lim.c,opendir.c,readv.S,rename.S,rewinddir.c, + seekdir.c,setgroups.S,setrlimit.S,telldir.c,truncate.S,vhangup.S, + writev.S,__dup2.S}: Moved to sysdeps/unix/common. + * sysdeps/unix/sysv/sysv4/{__access.S,closedir.c,opendir.c, + rewinddir.c,seekdir.c,telldir.c}: Removed. -Thu Mar 19 21:36:57 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) +Mon Feb 22 12:19:19 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * Makefile (install-lib): Add Mcrt1.o. - (Mcrt1.o): Create empty file. + * sysdeps/generic/pow.c (pow): Use __isnan to test for NaN rather + than expecting "x!=x" to work. + (pow_p): When testing if Y is an integer, use long int rather than + int; they are different on some systems. Compare against + LONG_MIN+1, not LONG_MIN; (long int) (double) LONG_MIN might overflow. -Wed Mar 18 16:00:18 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * malloc/dist-Makefile (gmalloc.c): Depend on Makefile. - * Makeconfig (+link): Use $(libdir) for gnulib. + * malloc/Makefile (gmalloc-routines): New variable. + (dist-routines): Use it. + (malloc/Makefile): Also replace <GMALLOC-SOURCES> with + $(gmalloc-routines). + (malloc/Makefile): Make it unwritable to avoid accidental lossage. + Depend on Makefile. -Tue Mar 17 20:12:35 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * malloc/dist-Makefile (gmalloc): New variable: <GMALLOC-SOURCES>. + (gmalloc.c): Use $(gmalloc), not $(sources). + Make the file unwritable to avoid accidental lossage. - * math/bsd/common_source/mathimpl.h: Include <endian.h>. - [__LITTLE_ENDIAN]: #define national. + * malloc/mtrace.c: Don't #include <stdio.h> because <malloc.h> did + it for us. - * stdio/__vfscanf.c: EOF at end of string is not - an error. + * malloc/valloc.c [! __GNU_LIBRARY__]: Replace hairy conditionals + with #include "getpagesize.h". + * malloc/Makefile (distribute, malloc-dist): Add getpagesize.h. - * stdio/tstscanf.c: Added new sscanf test. +Sun Feb 21 18:29:30 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * stdio/vfprintf.c: For %#x, print 0x after padding 0s, not before. + * sysdeps/sparc/Makefile (nodist-routines): Don't define. + We want to distribute the generated divrem files; otherwise anyone + building the library must have an m4 that works. + ($(divrem).S): Put these in sysdeps/sparc, not in $(objdir). + (routines): Only put this inside ifeq ($(subdir),gnulib). - * stdio/fputs.c: Reverse size args to fwrite and test for returning - LEN, rather than 1, so 0-length wins. + * sysdeps/unix/bsd/sun/m68k/Makefile: File removed. - * io/gnu/fcntl.h: Moved to sysdeps/unix/bsd/fcntlbits.h. - * io/Makefile (headers), io/fcntl.h: gnu/fcntl.h -> fcntlbits.h. - * sysdeps/stub/fcntlbits.h, sysdeps/unix/sysv/fcntlbits.h: New. +Sat Feb 20 16:43:55 1993 Torbjorn Granlund (tege@sics.se) - * stdio/fopen.c (__getmode): Don't fall through in switch after 'a' - case. + * sysdeps/i386/memset.c: Move adjustment of LEN before first stosb. + * sysdeps/i386/bzero.c: Likewise. - * locale/C-ctype_ct.c (__ctype_b_C): Use symbolic constants. - 9..12 are not _NOgraph. +Thu Feb 18 14:34:00 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) -Tue Mar 17 19:04:01 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * malloc/mcheck.c (checkhdr): Use `const', not `__const'. - * string/testcopy.c: Fix typo in comment. +Mon Feb 1 19:19:13 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) -Tue Mar 17 19:57:49 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/m68k/fpu/__logb.c: Use two-operand forms of 68881 insns + rather than the one-operand source==dest form. Sun's sun3 + assembler apparently doesn't grok the one-operand form. - * sysdeps/generic/strstr.c, string/string.h, string/tester.c - (strstr): Arguments were reversed. + * sysdeps/posix/getcwd.c: Call __lstat instead of stat. + We should not lose on nonexistent symlink targets. -Tue Mar 17 18:52:39 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) +Thu Jan 21 20:12:25 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * sysdeps/i386/memcopy.h (WORD_COPY_BWD): Divide nbytes by 4. - * sysdeps/i386/memchr.c: Rewrite. Handle zero length correctly. - Don't ask gcc to allocate eax to two regs. + * posix/glob.c: Put #includes of <glob.h> and <fnmatch.h> after + all system includes, in case one of them has conflicting defns of + FNM_* or GLOB_*, so we will redefine. #undef FNM_* and GLOB_* + before including our headers. -Tue Mar 17 17:31:06 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +Tue Jan 19 16:16:05 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * posix/unistd.h (getpagesize): Declare as size_t. + * mach/Makefile (routines): Removed __bcopy. + * mach/__bcopy.c: File removed. - * Makeconfig (CC): Define unless origin is default. + * posix/glob.c (my_realloc): Cast result of malloc/realloc to (char *). - * stdio/__getdelim.c: Be sure to leave room for the terminating null. +Sat Jan 16 14:19:07 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * string/testcopy.c: New version from tege. + * manual/summary.awk: Handle single word in braces. - * malloc/dist-README: Changed mailing list addr to bug-glibc. +Thu Jan 14 13:52:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/unix/bsd/__sigproc.c: Use right mask for SIG_UNBLOCK. + * posix/glob/Makefile.in (realclean): Remove Makefile. - * Makefile, Rules (clean, mostlyclean): Put - before rm commands. +Mon Jan 11 18:32:56 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) -Tue Mar 17 11:14:40 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * sysdeps/unix/bsd/sony/m68k/Implies: Imply unix/bsd/hp/m68k, not + unix/hp/m68k. - * sysdeps/rs6000/memcopy.h (BYTE_COPY_BWD): Assign __nbytes. - * sysdeps/m68k/memcopy.h (WORD_COPY_BWD): Copy memory, not just - pointers. Clean up switch expression. + * sysdeps/unix/bsd/tcsetattr.c: Use cbreak mode if ISIG is set, + not if OPOST is set. + Fixed typo in TOSTOP frobbing. -Mon Mar 16 05:09:23 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) +Tue Jan 5 15:11:31 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * posix/wordexp.c: New. + * posix/Makefile (glob.tar): Include glob/configure.in. - * time/tzfile.c (__tzfile_read): Don't die if some of the sections - of the datafile are empty. +Mon Jan 4 17:05:44 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * stdio/getline.c, stdio/getdelim.c: Moved to - __getline.c/__getdelim.c. - New files with fn aliases. - * stdio/stdio.h (__getline, __getdelim): Declare. + * posix/glob/Makefile.in (RANLIB): Define to @RANLIB@. + (RANLIB_TEST): Removed. + (libglob.a): Don't use it. - * time/Makefile (zonenames): Hair to find the names of zones - described by $(tzfiles). - (install-data): Install zoneinfo/$(zonenames). - Rules to make zones from tzfiles. - [localtime] (zoneinfo/localtime): Make from zoneinfo/$(localtime). - * Makeconfig (localtime): New user-frobbable variable. +Thu Dec 31 13:08:20 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) -Sun Mar 15 00:01:05 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + * sysdeps/unix/bsd/bsd4.4/{chflags,fchflags,setlogin}.S: Fix arg count. - * Makerules (sysdep-Makefile): Do if ... else true to avoid bogus - nonzero status. + * sysdeps/posix/Makefile (mk-stdiolim): Use $(cded-objdir-CPPFLAGS). + (cded-objdir-CPPFLAGS): Define new var. - * Makefile: Denewlinify +sysdep-subdirs after including sysd-dirs. + * sysdeps/unix/Makefile ($(sys/param.h-includes)): Strip trailing + slash from directory name for mkdir. - * sysdeps/vax/__infnan.c [!__GNUC__]: Error. +Tue Dec 29 18:18:58 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * zic.c, scheck.c, emkdir.c, ialloc.c, private.h, tzfile.h: Snarfed - from localtime3 dist. - * time/Makefile (others): Added zic. - (distribute): Added private.h, emkdir.c, ialloc.c, scheck.c. - (install): Defined: zic, zdump. + * sysdeps/posix/sysd-stdio.c (exists): Return true if stat fails + with other than ENOENT. - * Makeconfig (bindir): Define. - * Makerules: Add rule to install $(install) in $(bindir). - (+install): Include $(install) in $(bindir). + * sysdeps/posix/__flock.c: New file. - * sysdeps/unix/Makefile: Moved siglist.c rules to unix/bsd/Makefile. - * sysdeps/unix/make_siglist.c: Moved to bsd/. - * sysdeps/unix/Dist: Remove it. - * sysdeps/unix/bsd/Dist: Add it. + * malloc/Makefile (dist-headers): Define to malloc.h. + (headers): Replace malloc.h with $(dist-headers). + (malloc/Makefile): Use $(dist-headers) in place of $(headers). + (malloc-dist, distribute): Replace ChangeLog with OChangeLog. - * malloc/Makefile (malloc/gmalloc.c): Depend on headers and sources. + * malloc/dist-Makefile (malloc.tar{,.Z}): Depend on FORCE. + (FORCE): Define empty target. - * sysdeps/unix/bsd/sun/sun4/__sigvec.S: Doc fix. +Tue Dec 29 16:45:01 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * sysdeps/stub/stty.c, sysdeps/stub/gtty.c: Include <stddef.h>. + * sysdeps/sparc/{umul,mul}.S: Use tege's shift+mask hack to avoid + a test and branch for sign fixup. - * sysdeps/unix/sysv/__fstat.c: Include sysv_stat.h. + * limits.h [__GNUC__ >= 2]: #ifndef _GCC_LIMITS_H_, not _LIMITS_H_, + to #include_next <limits.h>. - * misc/bsd-compat.c: Define _BSD_SOURCE rather than __FAVOR_BSD. - (longjmp): Use function_alias_void. + * sysdeps/posix/getcwd.c: Call closedir after copying from the + `struct dirent' buffer, not before. That buffer is freed by closedir. - * time/Makefile (tzfile.o): Compile with - -DTZDIR='"$(datadir)/zoneinfo"'.d + * posix/gnu/types.h (__fd_set): Renamed member to `fds_bits' for + compatibility with braindead extant code. -Sat Mar 14 23:26:46 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Check for BUF + being too small before doing sprintf. - * Makeconfig (INSTALL_DATA, INSTALL_PROGRAM, INSTALL): Don't define - if already defined. + * malloc/malloc.h [_MALLOC_INTERNAL], malloc/valloc.c + [HAVE_CONFIG_H]: #include "config.h". - * setjmp/longjmp.c: Use function_alias_void. + * Makefile (doc): Removed rule. + (dvi, info): New rule. - * gnu-stabs.h (function_alias_void): New macro. +Mon Dec 28 15:50:31 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * gnu-stabs.h [!HAVE_GNU_LD] (function_alias): Fixed not to loop. + * posix/glob.c [HAVE_CONFIG_H]: Test this, not SHELL, to decide + whether or not we want to #include "config.h". -Fri Mar 13 17:20:19 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) +Wed Dec 16 12:01:09 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Include null - terminator in length calculation. + * inet/Makefile (routines): Removed ruserpass. Why did it get + included in the first place? That version does not match the one + in the NET2 ftp source; whence came it? - * stdio/fgets.c: Be sure to return NULL on error/eof for unbuffered - stream. If N==1, don't write the first char if !seen. - When the buffer is empty, notice the effect of __fillbf after - calling it, avoiding a (costly) no-op iteration. - Don't return NULL for reading no chars; only for EOF or error. - Don't write terminator at beginning of S if eof on first char. +Sat Dec 12 16:41:03 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * malloc/Makefile (libmcheck.a), Makefile (crt0.o): Remove target - first; don't use -f to ln. + * sysdeps/unix/bsd/sun/sparc/start.c: Use .set, not GNU ld magic, + to alias asm symbol `start' to `__start'. - * posix/execl.c, posix/execv.c, sysdeps/posix/getenv.c, - sysdeps/posix/system.c [HAVE_GNU_LD]: #define __environ environ +Fri Nov 20 18:20:50 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * posix/unistd.h [__OPTIMIZE__] (execv): Removed defn. Can't know - whether to use __environ or environ. + * stdio/vfprintf.c (%p): Tests of LEFT for "(nil)" were inverted. - * io/fchown.c, io/chown.c, io/open.c, misc/select.c, - signal/sigvec.c, time/adjtime.c: Fixed DEFUNs in fn aliases. + * stdio/tst-printf.c (main): Add `printf ("%#03x\n", 1);'. + Add a width to %p test. - * time/__tzset.c: Don't dereference NULL if getenv returns it. + * stdio/vfprintf.c (unsigned_integer): Clear SHOWSIGN and SPACE + flags before falling into `number:'. The `+' and ` ' flags are + only meaningful for signed numbers. -Thu Mar 12 16:01:33 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * string/tester.c (main): For strstr #11, correct return is first + arg, not end of first arg. - * sysdeps/ieee754/sqrt.c: Replaced undefined var ref `k' with constant. + * stdlib/mbtowc.c: If S is "", return 0. How was I convinced + before that this is not what ANSI says? - * sysdeps/i386/__longjmp.c: #include <stdlib.h>. + * stdio/__vfscanf.c: Initialize MALLOC_STRING to zero on each + iteration (when we zero is_short et al). - * time/tzfile.c (__tzfile_compute): Use types[0] if TIMER falls - between transitions[0] and transitions[1]. - Always set __tzname[INFO->isdst] to the name for INFO. + * sysdeps/posix/mkstemp.c (mkstemp): New file. + * sysdeps/stub/mkstemp.c (mkstemp): New file. + * misc/Makefile (routines): Add mkstemp. - * sysdeps/i386/__longjmp.c: Changed register names for gcc; eax/%eax - -> ax. + * sysdeps/posix/mktemp.c: Use `getpid ()' in place of undefined + variable PID. + #include <sys/stat.h>. - * sysdeps/unix/snarf-ioctls: Avoid infinite recursion. + * dirent/scandir.c: If SELECT is nil, don't try to call it. + If CMP is nil, don't sort. -Wed Mar 11 00:16:18 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) +Wed Nov 18 13:42:09 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * Version 1.01. + * sysdeps/stub/__wait4.c: Changed type of 2nd arg to __WAIT_STATUS. - * Makefile (munch-init.c): Made $(objpfx)munch-init.c. + * posix/sys/wait.h (__WAIT_STATUS): #if 0 out gcc2 magic defn. + GCC is broken as of 2.3.1. - * signal/sigvec.c, signal/sigaction.c, stdio/vsscanf.c: Fixed DEFUNs - in fn aliases. + * signal/signal.h (__sigaction, sigaction): Fixed type in + prototype from `struct __sigaction' to `struct sigaction'. - * sysdeps/m68k/68881/68881-switch/switch.c: Merged vars have_fpu and - test_fpu into one. + * sysdeps/m68k/fpu/atan2.c (PI, PIo4, PIo2): Removed static vars. + (atan2): Declare PIo4 and PIo2 locally, and compute them from pi. - * sysdeps/mach/i386/start.c, sysdeps/vax/setjmp.c, - sysdeps/vax/__longjmp.c, sysdeps/vax/__infnan.c, - sysdeps/unix/start.c, sysdeps/unix/bsd/sun/sun4/sigtramp.c, - sysdeps/unix/bsd/sun/sun4/start.c, - sysdeps/unix/bsd/hp9k3bsd/start.c, sysdeps/sparc/sqrt.c, - sysdeps/rs6000/ffs.c, sysdeps/m88k/ffs.c, sysdeps/m68k/setjmp.c, - sysdeps/m68k/__longjmp.c, sysdeps/m68k/68881/printf_fp.c, - sysdeps/m68k/68881/atan2.c, sysdeps/m68k/68881/__logb.c, - sysdeps/m68k/68881/68881-switch/switch.c, sysdeps/m68k/ffs.c, - sysdeps/i386/memset.c, sysdeps/i386/memchr.c, sysdeps/i386/ffs.c, - sysdeps/i386/bzero.c, sysdeps/i386/__longjmp.c, sysdeps/am29k/ffs.c - [! __GNUC__]: Either include the generic (or in some cases, ieee754) - version, or do a #error. + * Makerules (native-CFLAGS): Define as $(config-defines). - * Rules: Null out `objects' at end to shrink environment some. - (+objs): Define with := from $(objects). - (clean): Use that instead of $(objects). + * sysdeps/unix/bsd/glue-ctype.c: Upcased all HAVE_* names in #ifdef's. - * sysdeps/i386/setjmp.c: Doubled % where it wanted to be literal. + * posix/fnmatch.h (FNM_LEADING_DIR): New flag. + * posix/fnmatch.c (fnmatch): Support it. - * posix/getgrps.c, io/flock.c, io/mkdir.c, io/read.c, io/write.c, - io/stat.c, misc/getdents.c, misc/mknod.c, misc/utimes.c: Fixed - DEFUNs in fn aliases. + * sysdeps/i386/bytesex.h: New file. + * sysdeps/i386/endian.h: Removed. + * sysdeps/stub/bytesex.h: New file. + * sysdeps/stub/endian.h: Removed. + * sysdeps/generic/Makefile (bytesex.h): Create with det_endian. + (endian.h): Removed old rule. + (before-compile): Replace endian.h with bytesex.h. + * string/Makefile (headers): Add bytesex.h. + * string/endian.h: New file. + * sysdeps/generic/det_endian.c: Rewritten to output just one line, + a #define of __BYTE_ORDER to 1234, or 4321, etc. + * inet/arpa/nameser.h: #include <endian.h>, rather than #ifdef'ing + on misc. things to #define BYTE_ORDER. + * sysdeps/generic/waitstatus.h: Test value of __BYTE_ORDER, not + whether __LITTLE_ENDIAN is #define'd. + * sysdeps/generic/mathimpl.h: Likewise. + * sysdeps/generic/memcopy.h: Likewise. + * sysdeps/ieee754/huge_val.h: Likewise. + * sysdeps/ieee754/nan.h: Likewise. + * sysdeps/ieee754/ieee754.h: Likewise. - * sysdeps/unix/bsd/hp9k3bsd/sysdep.S: Use # instead of kludge cookie. +Mon Nov 16 12:19:10 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * posix/getegid.c: Fixed type in DEFUN. + * Makeconfig (ARCH): Define to empty if $(..)config.make exists. - * time/tzfile.c (__tzfile_compute): If TIMER is before any - transition in the file, use the first non-DST type, rather than the - type of the first transition in the file. + * misc/getusersh.c (initshells): malloc (STATB.st_size + 1), to + contain the terminating NUL. Pass fgets the real amount of space + left in the buffer, instead of the random number (MAXPATHLEN + 1). -Tue Mar 10 20:01:55 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * configure.in (minix*): base_os=unix/sysv. + * sysdeps/unix/sysv/minix/sigaction.h: New file. - * configure: Take optional -nfp arg. - (news, sun3, hp300): Prepend m68k/68881 unless -nfp is given. - * sysdeps/unix/bsd/hp9k3bsd/Implies: Don't specify 68881. + * sysdeps/generic/sigaction.h (__SA_*): Renamed to SA_*. + [__USE_BSD]: Put all but SA_NOCLDSTOP under this #ifdef. + * signal/signal.h (SA_*): Remove #define's. + (SIG_*): Moved #define's to sigaction.h. - * stdio/getdelim.c: When the buffer is empty, notice the effect of - __fillbf after calling it, avoiding a (costly) no-op iteration. + * sysdeps/generic/sigset.h (__sigmask): Shift ((sigset_t) 1), not + just 1. - * sysdeps/vax/__memccpy.c: Fixed comments. + * signal/signal.h (kill): Fix type of first arg to __pid_t, not int. - * stdio/fmemopen.c: Set all fns and seen bit before we might call - something that would care (fclose). + * sysdeps/unix/Makefile (errnos): Changed regexp to disallow + E[^A-Z0-9], and not to require that the defn be numeric only. - * configure (sun3, sun-3): Mean sun3os4, not sun3os3. - (sun3os3): Use just unix/bsd/sun/sun3/os3. - * sysdeps/unix/bsd/sun/sun3/os3: New directory. - (sysdeps/unix/bsd/sun/sunos3/__wait.S): Moved to there. - * sysdeps/unix/bsd/sun/sun3/sysdep.h: Fixed; took hp9k3bsd/sysdep.h - and changed movel foo, d0 to pea foo for syscall no. - * sysdeps/unix/bsd/sun/sun3/__brk.S: Fixed pea addr mode. - * sysdeps/unix/bsd/sun/sun3/sethostid.S: errnos.h, not gnu/errno.h. - Use .stabs directly, not gnu-stabs.h (which uses `asm'). - * sysdeps/m68k/setjmp.c: Changed asm for first moveml, so it works - on sun3. - * sysdeps/unix/bsd/sun/sun3/start.c: Removed ../ from #include path. + * stdlib/stdlib.h: Don't #include <huge_val.h>; ANSI doesn't say + <stdlib.h> defines HUGE_VAL. -Sun Mar 8 16:33:33 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * stdlib/stdlib.h (__compar_fn_t): Use __P around prototype. - * misc/makefile (headers): Added stab.h, stab.def. - * Many files: Changed __GNU_STAB__ to HAVE_GNU_LD. + * posix/Makefile (headers): Add utsnamelen.h, so it gets installed. + (distribute): Remove it from here. -Sat Mar 7 21:21:10 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * setjmp/setjmp.h (sigjmp_buf): Rename `__savemask' to + `__mask_was_saved' and `__sigmask' to `__saved_mask'. + * setjmp/sigjmp_save.c (__sigjmp_save): Change use. + * setjmp/siglongjmp.c (siglongjmp): Likewise. - * time/mktime.c: Normalize the struct values before checking for out - of range values. +Fri Nov 13 17:34:00 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Fri Mar 6 11:43:35 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * configure.in (config.make): Write assignments for INSTALL, + INSTALL_PROGRAM, INSTALL_DATA, and RANLIB. - * sysdeps/ieee754/ldexp.c: New. +Thu Nov 12 17:11:18 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * stdio/internals.c (flushbuf): When priming the stream for writing, - advance the target pos to account for chars gotten from the buffer. + * sysdeps/stub/stime.c: #include <stddef.h> for NULL. - * sysdeps/generic/Makefile: For math routines, don't filter out - __finite. + * sysdeps/stub/morecore.c: Fixed arg type to ptrdiff_t. - * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Fixed bugs. + * sysdeps/stub/ptrace.c: Fixed `va_start' uses to pass 2nd arg. - * misc/Makefile (routines): Remove flock. + * sysdeps/unix/sysv/sysv4/fcntlbits.h: New file, modified from + unix/bsd/sun/sunos4 version. - * stdlib/strtod.c: Fixed typo in checking for exponent overflow. - Do set *ENDPTR on overflow or underflow. + * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: New file, modified from + unix/bsd version. - * sysdeps/sparc/fl.h: Removed. Should use ieee754 version. + * sysdeps/unix/bsd/ultrix4/fcntlbits.h: New file, modified from + unix/bsd version. - * sysdeps/generic/Makefile: For math routines, don't filter out - __copysign, __scalb, __drem and __logb; and don't add support. + * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: New file, modified from + unix/bsd version. - * sysdeps/ieee754/__drem.c: New. - * sysdeps/ieee754/sqrt.c: New. - * sysdeps/stub/__drem.c: New. - * sysdeps/stub/sqrt.c: New. - * sysdeps/stub/__logb.c: New. - * sysdeps/ieee754/__logb.c: New. + * sysdeps/unix/sysv/fcntlbits.h: Rewritten from stub version. + * sysdeps/unix/sysv/filebits.h: File removed. - * sysdeps/ieee754/__infnan.c: Include <float.h> and use NAN macro - rather than cooking one up by hand. + * sysdeps/unix/bsd/fcntlbits.h: Rewritten from stub version. + * sysdeps/unix/bsd/filebits.h: File removed. - * sysdeps/unix/bsd/getlogin.c: Open /dev/tty, rather than using stdin. - Make sure the name is always null-terminated. + * io/fcntl.h: Don't #include <filebits.h>. + Removed all #define's of foo to __foo; <fcntlbits.h> now defines + the unmarked cases. -Thu Mar 5 17:11:46 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * sysdeps/stub/fcntlbits.h: Remove leading __ from all symbols. - * sysdeps/m68k/68881/__scalb.c: Removed. - * sysdeps/m68k/68881/__math.h: Removed defn of __scalb. - * math/math.h [__OPTIMIZE__]: Define __scalb to be ldexp. - * math/__scalb.c: New; fn alias for ldexp. + * misc/sys/file.h (L_SET, L_INCR, L_XTND): Define to literal + values, not to __ versions. These are not system-dependent. + (LOCK_SH, LOCK_EX, LOCK_UN, LOCK_NB): Define to literal values, + not to __ versions. These are not actually system-dependent, + because no system has `flock' except for BSD compatibility, and + then they use the same numbers. + * sysdeps/stub/fcntlbits.h (__L_SET, __L_INCR, __L_XTND): Removed. + (__LOCK_SH, __LOCK_EX, __LOCK_UN, __LOCK_NB): Removed. + +Tue Nov 10 17:01:11 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * sysdeps/stub/fcntlbits.h: Merged in contents of filebits.h. + (struct __flock): Renamed to `struct flock'. + * sysdeps/stub/filebits.h: File removed. - * stdio/Makefile (tests): Added bug4 and bug5. - * stdio/bug4.c, stdio/bug5.c: Test cases from reported bugs just fixed. + * posix/unistd.h (access, lseek, close, read, write, pipe, chown, + fchown, chdir, dup, dup2, execve, pathconf, fpathconf, sysconf, + getpid, getppid, setpgrp, setpgid, setsid, getuid, getgid, + geteuid, getegid, setuid, setreuid, setgid, setregid, fork, vfork, + isatty, link, symlink, readlink, unlink, rmdir, gethostname, + getpagesize, getdtablesize): Remove #define's to __ versions. - * stdio/internals.c (flushbuf): If nothing was written by the user, - but there is previously gotten data, don't write anything out. + * posix/sys/types.h: Don't #include <gnu/time.h>. + Instead, use forward decl `struct timeval;'. + (__select): Use `struct timeval', not `struct __timeval', in prototype. + Move into #ifdef __USE_BSD. + (select): Removed #define to __select; added real prototype. - * stdio/internals.c (seek_to_target): Call __stdio_check_offset first. + * sysdeps/generic/waitstatus.h: New file. + * sysdeps/stub/waitflags.h: New file. + * sysdeps/unix/bsd/waitflags.h: New file. + * posix/sys/wait.h: Don't #include <gnu/wait.h>. + Do #include <waitflags.h> and <waitstatus.h>. + (WHOHANG, WUNTRACED): Don't #define to __ versions; <waitflags.h> + will define the unmarked cases. + (union __wait): Remove type decl and associated #define's for w_*; + `union wait' (no __) is now defined in <waitstatus.h>. + [__USE_BSD && __GNUC__ >= 2] (__WAIT_STATUS): Define as funky union. + (waitpid, wait3, wait4, wait): Removed #define's to __ versions; + added real prototypes. + * posix/gnu/wait.h: File removed. + * posix/Makefile (headers): Remove gnu/wait.h. - * sysdeps/unix/sysv/sysv_termio.h: New file. - * sysdeps/unix/sysv/Dist: Include it. - * sysdeps/unix/sysv/tcsetattr.c, sysdeps/unix/sysv/tcsetpgrp.c, - sysdeps/unix/sysv/tcsendbrk.c, sysdeps/unix/sysv/tcgetpgrp.c, - sysdeps/unix/sysv/tcflush.c, sysdeps/unix/sysv/tcdrain.c, - sysdeps/unix/sysv/__tcgetatr.c: New files. + * posix/sys/times.h [__OPTIMIZE__] (times): Removed #define to __times. - * stdio/internals.c (fillbuf): Don't set the put_limit on writable - streams. Wait for first write attempt to prime them, so we don't - flush the unchanged data unnecessarily. + * posix/sys/utsname.h: Removed decl of __uname_getnode. - * stdlib/exit.c: Look for NULL terminator on ld set, rather than - using length word. + * time/sys/time.h: Don't #include <gnu/time.h>. + Don't support __need_timeval. + (struct timeval, struct timezone, struct itimerval, + enum __itimer_which): Declare these types here. + (gettimeofday, settimeofday, adjtime, getitimer, setitimer, + utimes): Removed #define's to __ versions. Added real prototypes. + Use `struct timeval' instead of `struct __timeval', etc. + * time/gnu/time.h: File removed. + * time/Makefile (headers): Removed gnu/time.h. - * Makefile (headers): Remove stdarg.h and varargs.h. - Users will get them from GCC. - * stdio/printf.h: Include <stdarg.h> to use va_list. - * stdio/stdio.h: Don't include <stdarg.h> with magic. - Use PTR in place of __va_list in prototypes. - * stdio/__vsscanf.c, stdio/vscanf.c, stdio/vfscanf.c, - stdio/__vfscanf.c, stdio/vdprintf.c, stdio/vasprintf.c, - stdio/vsprintf.c, stdio/vsnprintf.c, stdio/vprintf.c, - stdio/vfprintf.c: Fixed DEFUNs. + * resource/sys/resource.h: Don't #include <gnu/time.h>. - * sysdeps/ieee754/ieee754.h: New file; declares union ieee754_double. - * sysdeps/ieee754/Dist: Add it. - * sysdeps/ieee754/__copysign.c, sysdeps/ieee754/__infnan.c, - sysdeps/ieee754/__isinf.c, sysdeps/ieee754/__isnan.c, - sysdeps/ieee754/__printf_fp.c: Use it. +Mon Nov 9 18:41:03 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/unix/sysv/uname.c: New. - * sysdeps/unix/sysv/__utssys.S: New. - * sysdeps/unix/sysv/Makefile (routines): Add __utssys. - * sysdeps/unix/sysv/Dist: Add __utssys.S. + * socket/sys/socket.h (SO_STYLE): Define instead of SO_TYPE. + (SO_TYPE): Define as SO_STYLE. - * sysdeps/unix/sysv/__rmdir.c: New; runs `rmdir' shell command. + * inet/netinet/in.h (struct ip_opts): New type. + (IP_*): New constants snarfed from 4.4's in.h. - * sysdeps/unix/sysv/__mkdir.c: New; runs `mkdir' shell command. +Fri Nov 6 15:34:41 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * sysdeps/generic/__lstat.c: New; fn alias for __stat. + * resource/sys/resource.h (struct rusage): #include <sys/time.h> + before struct defn. Use `struct timeval', not `struct __timeval' + for `ru_utime' and `ru_stime' members. + + * resource/sys/resource.h [__OPTIMIZE__] (getrusage, ulimit), + misc/sys/ioctl.h [__OPTIMIZE__] (ioctl): Remove #define's to __ + versions. + + * string/strings.h: Protect against multiple inclusion. + * termios/sys/termios.h: Ditto. + + * string/string.h [__GNUC__ && __OPTIMIZE__] (ffs): Remove #define + to __builtin_ffs. - * sysdeps/unix/sysv/__gethostname.c: New; uses uname. + * stdlib/stdlib.h (comparison_fn_t): Use a typedef, not a #define. + Define this #ifdef __USE_GNU, not #ifdef __GNUC__. + [__GNUC__ && __OPTIMIZE__] (abs, labs): Remove #define's to __builtin_. - * sysdeps/unix/Makefile (sys/params.h): Protect with - _GNU_SYS_PARAM_H, in case the system's file uses _SYS_PARAM_H itself. +Thu Nov 5 20:01:25 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * stdio/internals.c (__stdio_check_offset): Call init_stream to make - sure we have fns. + * signal/Makefile (headers): Remove gnu/signal.h; + add sigaction.h, sigset.h. + * sysdeps/generic/sigaction.h: New file. + * sysdeps/generic/sigset.h: New file. + * signal/gnu/signal.h: Removed. + * signal/signal.h: Move __{BEGIN,END}_DECLS outside all the #if's + (except the outermost one that protects against multiple inclusion). + Don't #include <gnu/signal.h>. Instead #include <sigset.h> + outside of #if's, and #include <sigaction.h> inside #ifdef __USE_POSIX. + (__sighandler_t): Define here; it is not system-specific. + (kill, ssignal, gsignal, sigblock, sigsetmask, sigpause, sigvec, + sigreturn): Remove #define's to __ versions. + (sighandler_t, sigset_t): Use a typedef, not a #define. + [__OPTIMIZE__] (sig{empty,fill,add,del}set, sigismember): Make + these macros take args. + (sigaction): Remove #define. + (struct __sigvec): Renamed `struct sigvec'. + (__sigvec): Use `struct sigvec', not `struct __sigvec', in prototype. - * stdio/fread.c: Don't call __fillbf if the put_limit is past the - beginning of the buffer; only if !seen, no buffer, or pushed back. +Fri Oct 30 19:45:26 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * stdio/fopen.c (__getmode): Set create bit for "a" mode. + * configure.in (sco*): base_os=unix/sysv. - * io/mkdir.c: #undef mkdir before fn alias. +Thu Oct 29 16:29:26 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * time/tzfile.c (__tzfile_compute): Don't decrement I if it's zero. + * configure.in: New file; mostly contents of old file `configure'. + (srcdir guessing): Removed this code. + Instead, call AC_PREPARE. + Call AC_PROG_INSTALL and AC_PROG_RANLIB to find those programs. + Use AC_HAVE_FUNCS to find what sys_siglist and _ctype_ are called. + (config.make): Write new var `config-defines' with what autoconf + put in $DEFS. + Append -DHAVE_GNU_LD and -DHAVE_GNU_AS to DEFS if appropriate; + don't write gnu_ld and gnu_as variables. + * configure: Removed. + * Makefile (distribute): Add configure.in. + * Makeconfig (+defines): Include $(config-defines) before $(defines); + don't include $(gnu_as) and $(gnu_ld). - * Makefile (crt0.o): Use ln -f. + * sysdeps/unix/bsd/glue-ctype.c (TABLE): Test HAVE_* for several + different names and #define this. + (STRINGIFY): Define macro. + (main): Use TABLE instead of hardcoded name. - * math/Makefile (install): Install libm.a. - (libm.a): Make an empty archive. + * configure (sysnames): Try successively less specific base os's. -Wed Mar 4 19:54:50 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * Makerules (ar-it): Define commands only ifdef objects. - * README.template: Added note about long filenames in dist. + * sysdeps/mips/setjmp.S: Jump to __setjmp_aux, not ___setjmp_aux. + We are NO_UNDERSCORES. - * io/Makefile (routines): flock -> __flock - * flock.c: New file, fn alias. - * sysdeps/unix/bsd/flock.S: Renamed to sysdeps/unix/bsd/__flock.S; - made __flock. - * sysdeps/mach/hurd/flock.c: Renamed to sysdeps/mach/hurd/__flock.c; - made __flock. - * sysdeps/stub/flock.c: Renamed to sysdeps/stub/__flock.c; made - __flock. +Tue Oct 27 18:11:19 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * time/time.h (__isleap): Fixed; every 400th year is not a leap - year, not every 1000th. + * sysdeps/posix/pipestream.c, sysdeps/posix/system.c: Always use + __vfork instead of expecting FORK to be defined. + * sysdeps/unix/bsd/system.c, sysdeps/unix/bsd/pipestream.c: + Removed. sysdeps/unix versions are now what we want. - * stdio/internals.c (flushbuf): Increment the target position the - amount the user wrote into the buffer, not the amount we wrote out - to the file (which is greater if we read a block and modified it - in the middle). + * sysdeps/unix/bsd/sun/sunos3/m68k/__wait.S: Removed. + * sysdeps/unix/bsd/hp/m68k/__wait.S: Moved to unix/bsd/m68k. - * stdio/internals.c (flushbuf): Set get_limit to the beginning of - the buffer for all streams, except when we have just read in a block. + * sysdeps/unix/bsd/hp/m68k/{__pipe,sysdep}.S: Moved to unix/bsd/m68k. + * sysdeps/unix/bsd/sun/m68k/{__pipe,sysdep}.S: Removed. -Sat Feb 29 15:56:22 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + * sysdeps/unix/bsd/sun/m68k/start.c: Moved to unix/bsd/m68k. + * sysdeps/unix/bsd/sony/m68k/start.c: Removed. - * posix/Makefile (others): Removed logname, id. - * time/Makefile (others): Removed date. + * sysdeps/unix/bsd/bsd4.4/__sigstmsk.c: Correct file name in #include. - * sysdeps/unix/bsd/sun/sun4/start.c: Make an alias called `start' - (no leading underscore, so it can't conflict with C symbols) for - `_start'. + * sysdeps/unix/bsd/sun/m68k/__fork.S: Removed. + * sysdeps/unix/bsd/hp/m68k/__fork.S: Removed. + * sysdeps/unix/bsd/vax/__fork.S: Moved to unix/bsd. -Thu Feb 27 14:32:20 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + * sysdeps/generic/__vfork.c: New file; fn alias to __fork. + * sysdeps/stub/__vfork.c: Removed. - * set-init.c: Look for NULL terminator on set. ld is broken and - doesn't set the length word correctly. + * limits.h: Only do #include_next #ifndef _LIMITS_H_. - * setjmp/_longjmp.c, signal/sigaction.c, signal/sigvec.c, - signal/ssignal.c, string/bcmp.c, time/setitmr.c, posix/execve.c, - posix/getegid.c, posix/geteuid.c, posix/getgid.c, posix/getuid.c, - posix/getgrps.c, posix/setuid.c, posix/wait3.c, posix/wait4.c, - posix/waitpid.c, io/lseek.c, io/open.c, io/read.c, io/write.c, - resource/getrusage.c, misc/getpgsz.c, misc/gethstnm.c, - misc/select.c: Fixed DEFUNs in fn aliases. + * malloc/mcheck.c (mcheck): Set abortfunc to either FUNC or abort; + never leave it unchanged. + Return 0 if mcheck_used; -1 if not. + * malloc/malloc.h (mcheck): Change return type in decl. -Wed Feb 26 00:20:25 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + * Makerules (+depfiles): Don't include them if there are none. - * sysdeps/generic/Makefile (routines): Add asincos. +Mon Oct 26 16:30:52 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * time/tzfile.c (__tzfile_compute): Set __tzname properly, so isdst - is the right index into it. + * sysdeps/posix/fdopen.c: Use fcntl to check that FD is valid and + allows the access MODE specifies. -Tue Feb 25 01:42:16 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + * sysdeps/stub/getcwd.c: #include <stddef.h>. - * sysdeps/unix/bsd/sun/sun4/sysdep.h (ENTRY): .align 2, not .align 4. - This one is powers of two. + * sysdeps/stub/sleep.c: #include <errno.h>. - * time/__tzset.c: If TZ is :FILE, try FILE and if __tzfile_read - fails, then use defaults. +Sun Oct 25 02:24:47 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/generic/Makefile (routines): Add sincos. + * Makerules (+includes): Add $(+sysdep-includes) to this, leaving + CPPFLAGS alone. - * sysdeps/posix/cuserid.c: Set the result to the empty string on - failure. + * sysdeps/stub/stime.c: #include <time.h>. - * string/string.h, string/strings.h, sysdeps/i386/memchr.c: Fixed - spelling in comment. +Thu Oct 22 13:36:48 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * string/makefile (tests): Include (uncomment) testcopy. We do have - papers for it from tege. + * Rules (clean): Also remove $(clean-extras). - * malloc/dist-README: Fixed mailing list addr. +Tue Oct 20 18:36:40 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * resource/sys/vtimes.h (struct vtimes): Renamed vm_outblk to - vm_oublk; fixed comment. - * sysdeps/generic/vtimes.c: Renamed here too. + * configure: Write error message and lose for option with missing arg. - * Make-dist (README): Depend on version.c. + * stdio/__vfscanf.c: Add `a' modifier, which makes %s and %[ fill + in a char ** with a malloc'd string. + (STRING_ADD_CHAR, STRING_ARG): New macros to deal with this hair. + (%s, %[): Use them. -Tue Feb 18 18:14:50 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + * posix/gnu/types.h [__GNUC__] (__fsid_t): Define as long long. - * Version 1.00. + * stdio/vfprintf.c: Add %m, which is %s of strerror (errno). - * time/tzfile.c (__tzfile_compute): Fixed transition comparison. +Mon Oct 19 14:19:36 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * sysdeps/unix/bsd/sun/sun3/Makefile: Fixed typo. + * socket/sys/socket.h (PF_FILE, AF_FILE): Define new macros. + (PF_UNIX, AF_UNIX): Make aliases for [PA]F_FILE. -Mon Feb 17 05:04:00 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + * sysdeps/ieee754/huge_val.h: #include <sys/cdefs.h>. + [!__GNUC__]: Use __const, not CONST. - * Version 0.6. + * posix/wordexp.h: Fix indentation and syntax errors. - * Makefile (distribute): Add Q+A. - * Q+A: New doc file from rich@cygnus.com. + * stdio/vasprintf.c (vasprintf): Set seen bit. - * malloc/Makefile (distribute): Add mcheck-init.c. +Fri Oct 16 17:18:34 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) -Mon Feb 17 00:39:38 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + * Makefile (Mcrt1.o): Create an empty .c file and compile it, + rather than creating an empty .o file. - * sysdeps/unix/sysv/utime.c: Removed. - * sysdeps/unix/sysv/utime.S: New file. + * sysdeps/unix/Makefile (sys/param.h): Strip / from name for mkdir. - * sysdeps/unix/sysv/signum.h: New file. + * sysdeps/m68k/fpu/atan2.c [! __GNUC__]: Include generic, not iee754. - * sysdeps/unix/sysv/local_lim.h: New file. + * sysdeps/sparc/Makefile ({divrem}.S): Use $(M4) for m4 in cmds. + * Makeconfig (M4): Define it. - * sysdeps/unix/sysv/sysv_stat.h: New file. - * sysdeps/unix/sysv/__stat.c, sysdeps/unix/sysv/__fstat.c: New files. - * sysdeps/unix/sysv/Makefile: New file. - (+sysdep-routines): Define to sys_stat and sys_fstat. - * sysdeps/unix/sysv/sys_stat.S, sysdeps/unix/sysv/sys_fstat.S: New - files. - * sysdeps/unix/sysv/Dist: Created to include sysv_stat.h, - sys_stat.S, and sys_fstat.S. + * stdio/newstream.c (__newstream): Link STREAM onto __stdio_head + after malloc'ing it. - * sysdeps/stub/__setreuid.c: Include <sys/types.h>. + * time/emkdir.c: #define unix if not already defined. - * sysdeps/posix/__sigblock.c: Fixed typo. +Thu Oct 15 19:55:45 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * stdio/internals.c (__flshfp): Don't return EOF if at EOF; only - for errors. + * stdlib/wctomb.c: When passed 0, store a '\0' and return 1. + * stdlib/mbtowc.c: When passed "", store a 0 and return 1. - * signal/gnu/signal.h: Move #include <signum.h> outside repeat #ifdef. + * sysdeps/generic/strstr.c: When NEEDLE is "", return HAYSTACK. - * sysdeps/unix/sysv/filebits.h: Created. +Thu Oct 15 19:25:46 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * misc/Makefile (distribute): Define to bsd-compat.c. + * malloc/malloc.h (__after_morecore_hook): Declare new var. + * malloc/malloc.c (__after_morecore_hook): Define it. + (align): Call it. - * misc/Makefile (headers): Remove filebits.h. - * io/Makefile (headers): Put it here. +Mon Oct 12 15:56:07 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * Makefile (+posix_dirs): Add io. - * io/Makefile: New file for new subdir. - Contains many headers and routines moved from posix. - * posix/Makefile: Remove many headers and routines now in io. - * Moved many files from posix to io. + * malloc/malloc.h (r_alloc, r_alloc_free, r_re_alloc): Declare. - * stdlib/alloca.h: Get size_t from stddef.h. + * Makerules (native-compile, common-objdir-compile): Pass + $(native-CFLAGS) to the compiler. - * misc/bsd-compat.c (getgroups): Removed. Not needed, because gid_t - is now the same size as int. + * Makeconfig (+gccwarn): Removed -Wstrict-prototypes and + -Wpointer-arith. They were not really helping, and caused extra + warnings for harmless code. - * Makefile (distribute): Include NOTES. - * NOTES: New file, infoized node from intro.texinfo about the - feature-test macros. - * README.template: Mention NOTES. + * malloc/Makefile (dist-routines): Add ralloc. + (gpl2lgpl): Add ralloc.c. - * sysdeps/unix/bsd/sun/sun3/Makefile: include hp9k3bsd version. + * time/zic.c: #define unix if not already defined. - * Makeconfig: Use $(..) for config.status. + * Makerules ($(gpl2lgpl)): Make output unwritable; use mv -f. - * configure (i386-sysv): unix/i386/sysv, not unix/sysv/i386. - * unix/i386/sysv/Implies: unix/sysv, not unix/i386. +Mon Oct 12 15:27:40 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) -Sun Feb 16 00:42:53 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + * sysdeps/unix/bsd/ultrix4/mips/__set[gu]id.S: Handle returning to + the proper caller ourselves, since setre[gu]id won't be doing it. - * Version 0.5. +Mon Oct 12 13:37:16 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * posix/Makefile (headers): Remove confstr.h. - (distribute): Define this instead to contain it. + * malloc/malloc.h: Declare memory_warnings. + * malloc/Makefile (dist-routines): Add vm-limit. + (distribute): Add mem-limits.h. + (gpl2lgpl): Add vm-limit.c, mem-limits.h. - * ansidecl: Added copyright notice. + * gpl2lgpl.sed: Remove "This file is part of ..." lines. + Changed regexp to match "foo is free software", not just "This + program ...". - * stdio/getdelim.c: New file. - * stdio/getline.c (getsome): Renamed to getdelim and moved there. - * stdio/Makefile (routines): Add getdelim. - * stdio/stdio.h: Declare getdelim. + * Makerules (+make-deps): Put file name before options on command line. - * misc/gnu/file.h: Moved to sysdeps/unix/bsd/filebits.h. - * sysdeps/stub/filebits.h: New file. - * misc/Makefile: gnu/file.h is now filebits.h. - * posix/fcntl.h: Changed #include. + * Makefile (install-lib): Remove libc.a from here. + * Makerules [objects] (install-lib): Append it here instead. - * stdio/getline.c (getsome): If MAX_CANON isn't defined, use a default. - Don't leak old *LINEPTR storage if *N < 2. - Don't bang *LINEPTR to NULL if realloc fails. + * io/sys/stat.h (S_IRWXO): Fixed typo. - * Makerules: Don't use override when nulling out sources, routines, - and aux if they came from the environment. Better not make with -e. +Sun Oct 11 16:58:36 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * Makefile (sysdirs, Sysnames): Put outside of ifndef sysdirs. + * posix/glob.c (__glob_{open,read,close}dir_hook): New vars. + (glob_in_dir): Use them. + * posix/glob.h: Declare them. - * string/Makefile (tests): No testcopy, pending papers. +Thu Oct 8 20:03:30 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) - * Makefile (headers): No sysdep.h. - (distribute): Here instead. - (no-install): No longer needed. + * configure (config.make): Write comment to edit configparms instead. -Sat Feb 15 17:10:38 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) +Wed Oct 7 17:15:05 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * Makefile (distribute): Add INSTALL. - * Make-dist (INSTALL): Make from manual/maint.texinfo. - (README): Make from README.template. + * sysdeps/stub/__chown.c: Fixed arg types (int -> [ug]id_t). - * Makefile (+other-dirs): Removed inet. - * sysdeps/unix/inet/Subdirs: Created, adding inet. + * sysdeps/stub/__geteuid.c: Fixed return type (int -> __uid_t). - * sysdeps/unix/sysv/setrlimit.c: Include stddef and errno.h. + * sysdeps/stub/__getegid.c: Fixed return type (int -> __gid_t). - * math/drem.c, setjmp/longjmp.c, malloc/cfree.c, string/bcmp.c, - time/getitmr.c, misc/ioctl.c: Fixed defuns in function_alias. + * configure: Write defns in config.make for vars config-machine, + config-vendor, and config-os. - * Makefile (headers): Put sysdep.h back. - (no-install): And define this to it. - * Makerules (+install): Filter out $(no-install) from the list. + * ctype/ctype.h (__isctype, __tolower, __toupper): Cast argument + and return value to `int'. - * string/testcopy.c: New test program for bcopy from tege. - * string/Makefile (tests): Add it. + * ctype/ctype.h (__ctype_tolower, __ctype_toupper): Changed type + to `short int *'. + (toupper, tolower): Removed inline functions; restored macros. + * ctype/ctype.c (tolower, toupper): Just call the __ macros. + * ctype/ctype-info.c: Change types here too. + * locale/localeinfo.h: And here. + * locale/C-ctype_ct.c: Ditto. - * Makefile (sysdep-subdirs): Renamed to sysd-dirs. + * crypt: New code from Michael Glad. - * Make-dist (tardir): Omit the release name; it made names too long. + * Makefile (munch-init.c), sysdeps/unix/Makefile + ($(sys/param.h-includes), make-errnos.c, make-ioctls.c), + sysdeps/unix/bsd/Makefile (local_lim.h, ctype-glue.c), + sysdeps/posix/Makefile (stdio_lim.h): Changed rules to use a + shorter suffix than `-tmp', to avoid exceeding 14 char limit. -Sat Feb 15 12:53:02 1992 Torbjorn Granlund (tege at mole.gnu.ai.mit.edu) +Tue Oct 6 15:13:57 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/rs6000/memcopy.h (WORD_COPY_FWD, WORD_COPY_BWD): - Use CTR register for looping (speed enhancement). Don't emit - labels, jump relative from `$' instead (makes multiple expansions - possible). Clean up indentation of asm code (were different in each - macro). - * sysdeps/rs6000/memcopy.h (WORD_COPY_BWD): - Add asm output specs (were missing completely). + * Makefile (README, INSTALL): Moved rules here. + * Make-dist: From here. - * sysdeps/generic/{memcpy.c,memmove.c}: Make DSTP and SRCP unsigned - (safer with non-ANSI compilers). + * sysdeps/unix/bsd/sun/m68k/{__pipe,__fork,sysdep}.S: Change uses + of sysdeps/unix/bsd/hp9k3bsd to sysdeps/unix/bsd/hp/m68k. -Fri Feb 14 01:52:12 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + * sysdeps/m68k/Makefile: Put .S rule here. + * sysdeps/unix/bsd/hp/m68k/Makefile: Removed file. - * Version 0.4.1. +Mon Oct 5 19:40:22 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * Makefile, Rules: Changed clean and clobber targets into - mostlyclean, clean, and realclean. + * sysdeps/generic/pow.c (pow_p): Changed code to KY jelly. - * Makeconfig: Added comments describing objdir/Makeconfig and - editting Makeconfig. - (prefix, libdir, INSTALL, INSTALL_DATA): New variables for installing. - * Makerules (install): New target. - * Makefile (+subdir_targets): Add subdir_install. - (install): Depend on subdir_install. - (install-lib): Define variable to install libc.a and crt0.o. - * misc/Makefile (install-lib): Install bsd-compat. - * malloc/Makefile (install-lib): Install mcheck-init. + * sysdeps/unix/bsd/ultrix4/utsnamelen.h: New file. + * sysdeps/unix/bsd/ultrix4/uname.S: New file. - * Version 0.4. +Fri Oct 2 17:43:32 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) -Thu Feb 13 21:39:31 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + * sysdeps/posix/mktemp.c: Don't use a static index and increment + it on each call. Instead, always start at the beginning and + iterate until we find a file that does not exist. - * sysdeps/unix/glue-ctype.c: Moved to unix/bsd. - * sysdeps/unix/Makefile: Moved glue-ctype stuff to unix/bsd/Makefile. - * sysdeps/unix/Dist: No glue-ctype. - * sysdeps/unix/bsd/Dist: Here instead. + * sysdeps/unix/sysv/i386/signal.S: Use C_SYMBOL_NAME for __sigreturn. + Added comment about gas bug with `lcall' insn. - * sysdeps/sparc/divrem.m4: Don't use insn aliases Sun as doesn't grok. + * sysdeps/unix/i386/__brk.S: Use C_SYMBOL_NAME for __curbrk and _end. -Wed Feb 12 12:12:12 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + * sysdeps/unix/i386/sysdep.S: #include <sysdep.h>. + Use C_SYMBOL_NAME(errno) in place of _errno. - * sysdeps/m68k/setjmp.c: Use m, rather than g, constraint when - saving fp regs. + * sysdeps/unix/sysdep.h (___errno): Removed #define to _errno. + `errno' is an ANSI name; it doesn't need to be aliased. + * sysdeps/unix/bsd/sun/m68k/sethostid.S, + sysdeps/unix/bsd/sun/m68k/__vfork.S, + sysdeps/unix/bsd/sun/sparc/sysdep.h, + sysdeps/unix/bsd/sun/sparc/sethostid.S, + sysdeps/unix/bsd/vax/sysdep.S, + sysdeps/unix/bsd/vax/__vfork.S: Use _errno, not ___errno. - * Renamed oodles of files, changed all the relevant Makefiles (I - think). File names now fit in 14 chars for losing System V. Gag me - with a death star. - See =longnames for translations, and =shorten.el for method. + * sysdeps/unix/sysv/sysdep.h: File removed. + * sysdeps/unix/sysv/i386/sysdep.h: Don't #include it. + #define NO_UNDERSCORES before #include <sysdeps/unix/i386/sysdep.h>. - * grp/initgroups.c: Removed redundant test. + * sysdeps/unix/i386/sysdep.h (C_SYMBOL_NAME): Define new macro. + [NO_UNDERSCORES]: #define syscall_error to __syscall_error, so we + stay name space tidy. - * malloc/mtrace.c: Use %p fmt for pointers. + * sysdeps/unix/sysv/sysv4/sys_getdents.S: Added missing arg count (3). -Tue Feb 11 02:04:39 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/unix/sysv/i386/time.S: Fixed to not use bogus addressing + mode `4(%esp,1)'; use `4(%esp)' instead. Added comments. - * stdlib/alloca.h: New file. - * stdlib/stdlib.h: Moved alloca decls there; #include <alloca.h> - instead. - * stdlib/Makefile (headers): Added alloca.h. + * sysdeps/stub/__fchmod.c (__fchmod): Fixed arg type to mode_t. - * stdio/getline.c (getsome): Fixed bugs. + * sysdeps/posix/__wait3.c: #include <stddef.h> for NULL. - * math/bsd/common_source/mathimpl.h: #define expm1 __expm1. - * math/bsd/common_source/expm1.c: Renamed to __expm1.c - * math/bsd/mc68881/expm1.s: Renamed to __expm1.s; renamed fn too. - * math/expm1.c: New file, fn alias expm1 -> __expm1. + * sysdeps/unix/i386/__wait.S: Use asm label `null' instead of + `1f', and actually define the label! Added comments. - * math/Makefile (routines): Add __rint. - * math/rint.c: New file, fn alias rint -> __rint. - * math/bsd/common_source/floor.c (rint): Renamed to __rint. - * sysdeps/generic/Makefile: Remove __rint, not rint. + * sysdeps/i386/memchr.c: Renamed asm label to `done'; not all + assemblers support numbered labels like `1f' or `1b'. - * math/Makefile (BSDmath-files): Always include it, and don't depend - on undependable things. + * stdio/fseek.c (fseek): Discard char pushed back by ungetc. + * stdio/ftell.c (ftell): If we have a pushed-back char, decrement + the file position we return. - * Makerules (sysdep-Makefile): Always include it, and make it - without depending on make vars that might not be right yet. + * sysdeps/unix/bsd/sun/sparc/vfork.S: New file. -Mon Feb 10 00:55:58 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +Wed Sep 30 18:48:38 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * stdlib/stdlib.h: #undef alloca before declaring it. + * limits.h (_LIBC_LIMITS_H_): Define today's name for this. + RMS said it was to be `_LIBC_LIMITS_H', but that is not what + gcc actually uses. - * sysdeps/sparc/__longjmp.S: Use be instead of bz. +Tue Sep 29 18:17:12 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * sysdeps/unix/bsd/Dist: Add bsdtty.h. + * time/Makefile (zic-cmd): Define variable. + (tzcompile, zoneinfo/localtime, zoneinfo/posixrules): Use it for + name of `zic' command. - * tzfile.c (__tzfile_read): Don't allocate space for 0 leaps. - Don't loop infinitely. + * sysdeps/unix/bsd/Makefile (ctype-glue.c): Make sure the command + is not an unqualified name. - * sysdeps/unix/Makefile (make-errnos.c): Use tr to eat newlines in - errnos file. + * sysdeps/stub/statbuf.h (struct stat): Contain only POSIX.1 + members, with the POSIX.1 types. + (_STATBUF_ST_BLKSIZE): #undef and comment. + * sysdeps/unix/bsd/statbuf.h (_STATBUF_ST_BLKSIZE): Define it. + * sysdeps/posix/stdio_init.c (__stdio_init_stream): Only try to + use st_blksize #ifdef _STATBUF_ST_BLKSIZE. - * sysdeps/unix/bsd/sun/sun4/__brk.S: Fix andn arg order. + * sysdeps/unix/__getpgsz.c: #include <stddef.h> for size_t. - * posix/Makefile: Don't get getopt by vpath. Turns out to be too - much hassle for dist. Just made symlinks in posix/ instead. + * sysdeps/stub/__fchown.c: Fixed arg types ([ug]id_t, not int). - * manual/Makefile: Renamed summary.out to summary.texinfo. + * io/sys/stat.h: #include <gnu/types.h> for __mode_t et al. - * manual/summary.awk: New file, to make summary.out. - Replaces `process-definitions.el'. - * manual/Makefile (summary.out): Create using summary.awk. + * sysdeps/unix/__gete[ug]id.S [SYS_gete[ug]id]: Add arg count of 0. + [! SYS_gete[ug]id]: Fixed arg count to be 0. - * manual/Makefile: Created. - * Makefile, Make-dist: Use it to format and distribute the manual. + * sysdeps/unix/__get[ug]id.S: Fixed arg count to be 0. -Mon Feb 10 00:32:17 1992 Jim Meyering (meyering@churchy.gnu.ai.mit.edu) + * sysdeps/unix/sysv/linux/syscall.h: #if 0'd out 2nd defn of SYS_brk. - * All Makefiles: - Whenever using shell redirection to create a target, - do not create the target directly like this +Sun Sep 27 21:56:56 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - foo: bar - process $< > $@ + * sysdeps/unix/Makefile (sys/param.h): Depend on $(common-objpfx)sys/. - That loses when `process' fails (interrupt, disk full, ...) - and bar exists and looks up-to-date, but isn't. - This sort of failure is particularly insidious when - the initial error message is obscured by lots of subsequent - output (echoed commands etc). +Fri Sep 25 12:47:01 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - Instead use rules like this + * Makeconfig (INSTALL_DATA): Pass -m 644. - foo: bar - process $< > $@-tmp - mv $@-tmp $@ +Thu Sep 24 16:13:47 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - Using this paradigm, as long as process returns non-zero - whenever it fails, the target won't be touched. + * sysdeps/unix/sysv/linux/getpeername.S: Renamed to getpeernam.S. + * sysdeps/unix/sysv/linux/getsockname.S: Renamed to getsocknam.S. + * sysdeps/unix/sysv/linux/setsid.S: Renamed to __setsid.S; + function renamed to __setsid. -Sun Feb 9 22:58:51 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * Version 1.05. - * posix/unistd.h (getopt): Fixed prototype. - * sysdeps/generic/memset.c, stdio/vdprintf.c: Fixed DEFUNs. + * Makefile (dist): Depend on $(distribute). - * Makerules (lib): Use $(RANLIB) for ranlib. - * Makeconfig: Define it. + * stdio/__vfscanf.c (%c): Fixed DO_ASSIGN case loop condition to + not write one char too many. - * configure: Create config.status to set ARCH, if successful. - * Makeconfig: include config.status ifndef ARCH. +Wed Sep 23 16:32:18 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Thu Feb 6 20:57:10 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * stdlib/qsort.c (_quicksort): Return immediately if TOTAL_ELEMS==0. - * ansidecl.h (INCLUDE, STARTCOMMENT, ENDCOMMENT): New magic words. - * sysdeps/m68k/68881/fl.h: Use new magic to snarf ieee754/fl.h during - ansideclification. +Tue Sep 22 19:10:59 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * sysdeps/ieee754/fl.h: New file, taken mostly from the old - 68881 file. HUGE_VAL redone to be machine independent. - (NAN): New macro for an IEEE NaN, done like HUGE_VAL. - * sysdeps/m68k/68881/fl.h: Now #includes ieee754/fl.h, and overrides - FLT_ROUNDS for 68881 magic. NB: the #include is a prob. for install. + * Makerules [! OUTPUT_OPTION && objpfx]: Define OUTPUT_OPTION. -Wed Jan 29 17:11:25 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) +Mon Sep 21 22:40:55 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/posix/getcwd.c: Don't use chdir; use a long ../../../... - path name instead. + * sysdeps/unix/bsd/mk-local_lim.c: Use MAXNAMLEN for NAME_MAX, + rather than hard-wiring 255. + [! MAXNAMLEN]: Define it to 255. + [LINK_MAX && ! MAXLINK]: #define MAXLINK LINK_MAX. -Fri Jan 17 02:51:10 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + * sysdeps/unix/bsd/glue-ctype.c [ultrix]: #define _ctype_ _ctype__. - * posix/Makefile (headers): Added getopt.h. - (routines): Added getopt1. - Get getopt* from /home/gd/gnu/lib by vpath. + * configure: Rename var `gas' to `gnu_as' and use consistently. - * Makerules (+ansideclificate): Don't assume . is in PATH. +Fri Sep 18 16:32:16 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) -Thu Jan 16 18:43:05 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + * sys/errno.h: New file. + * Makefile (headers): Add it. - * posix/glob.c [sgi]: No alloca.h, after all. + * Makeconfig (+make-deps): Use = not define. -Wed Jan 15 14:17:37 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + * time/Makefile (zones-%): Don't clobber zonenames; append to it. + Depend on Makefile so we rebuild when the rule changes. + Changed implicit rule from zoneinfo/%/... to zone%/... so it will + actually match. - * termios/termios.h: Reworked to be compatible with 4.4BSD. - * termios/speed.c, sysdeps/unix/bsd/{__tcgetattr,tcsetattr}.c: Store - speeds as their own values (B9600==9600, etc.) and translate to BSD - values only for ioctl. - * termios/cfsetpseed.c: New fn to set both speeds at once (from 4.4). + * sysdeps/unix/Makefile (syscall.h): Filter out "#ident" lines. -Tue Jan 14 21:18:10 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + * Makeconfig (+link): Use $(gnulib) instead of -lgcc. + (gnulib): Define to -lgcc. - * sysdeps/unix/i386/__brk.S: __end, not ___end. - Get the arg off the stack correctly. + * posix/glob/Makefile.in (AR, ARFLAGS): Define. + (libglob.a): Use those vars instead of hardcoding. - * sysdeps/unix/Makefile: Allow errnos like EL3HLT. + * Makeconfig (ARCH) [machine]: Don't define if $(..)config.make exists. - * sysdeps/posix/{readv,writev}.c: Typos. + * Makerules (compile.S): Include $(asm-CPPFLAGS). + (S-CPPFLAGS): Define = $(asm-CPPFLAGS). + (+make-deps): Include $(sfx-CPPFLAGS), where `sfx' is S or c. + * Makeconfig (asm-CPPFLAGS): Define (empty) and comment. - * sysdeps/posix/__sigpause.c: Rewritten to know that sigset_t is a - mask, and to pass a (sigset_t *) instead of sigset_t to sigsuspend. + * sysdeps/unix/Makefile ($(sys/param.h-includes)): Filter out + decls or macros for host<->net conversion (htonl et al). - * sysdeps/i386/memset.c: Include <memcopy.h>. +Thu Sep 17 17:33:51 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/generic/uname.c (uname): Save and restore errno if - gethostname gets ENOSYS. + * sysdeps/unix/sysv/statbuf.h: Define __S_*. - * stdio/perror.c (perror): Check correctly for S == "". - Check correctly for ERRNUM being in range. + * misc/Makefile (headers): syslog.h -> sys/syslog.h. + * misc/syslog.h: Moved to misc/sys/syslog.h. - * find-sysdirs: Don't use fgrep -s, since USG apparently doesn't - have that flag. Just >/dev/null instead. + * limits.h [__GNUC__ >= 2]: #define _LIBC_LIMITS_H before + #include_next <limits.h>. + Define _LIMITS_H unconditionally. -Mon Jan 13 17:00:15 1992 Torbjorn Granlund (tege at mole.gnu.ai.mit.edu) +Wed Sep 16 17:43:59 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * sysdeps/generic/wordcopy.c (all four functions): Move do0 label to - the ultimate store statement at the end of each function. (Used to - be in the loop.) + * sysdeps/unix/Makefile (syscall.h): Don't use \< in sed commands. + Some seds don't seem to grok it. -Tue Jan 7 18:40:18 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + * Makerules (+install-dirs): Sort them. - * resource/sys/resource.h (struct rusage): Change `ru_outblock' to - `ru_oublock'. + * Makeconfig (stdarg.h): Use $(wildcard va-*.h) instead of va-*.h, + and := instead of =. - * sysdeps/generic/stpcpy.c: Fixed off-by-one bug. + * Makeconfig (prefix): Default to $(exec_prefix), not /usr/local. -Thu Jan 2 15:19:01 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + * Makeconfig (+link): Use $(common-objpfx) rather than $(objpfx) + to find start.o; use $(libc.a) instead of $(objpfx)libc.a. - * sysdeps/sparc/Dist: Add umul.S and mul.S. + * sysdeps/sparc/Makefile: crypt subdir is not called uf-crypt. -Tue Dec 31 15:33:39 1991 Roland McGrath (roland@albert.gnu.ai.mit.edu) + * sysdeps/unix/Makefile (sys/param.h-includes): Fixed filtering + out of existent glibc headers to remove $(..) pfx after wildcard. - * signal/signal.h [__USE_GNU]: Add user-visible `sighandler_t' == - __sighandler_t. + * misc/paths.h: New file, snarfed from 4.4 BSD. + * misc/Makefile (headers): Add paths.h. - * termios/speed.c (speedtab): Made const. +Tue Sep 15 14:55:11 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * posix/Makefile (routines): Add flock. + * Makerules (+sysdir_pfx): Define as $(common-objpfx). -Tue Dec 31 03:38:30 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * MakeTAGS (TAGS) [subdir && ! tags_sources]: Create an empty + file, rather than no commands at all. - * termios/speed.c: Accept and return speeds as actual baud rates. - * termios/termios.h (B110, etc.): Define B110 as 110, etc. - Likewise for _B110, etc. + * string/string.h [__GNUC__ && __OPTIMIZE__] (ffs): Take arg. -Thu Oct 24 16:19:49 1991 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + * sysdeps/unix/sysv/linux/__wait4.S: New file. - * ansidecl: Put `M4OPTS=+quiet' in the environment make GNU m4 quiet. + * sysdeps/unix/sysv/linux/syscall.h: New version from hlu. -Sun Oct 20 19:31:28 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/unix/Makefile (syscall.h): Upcase `sys_' in input. - * Make-dist (tardir): Define as `libc-RELEASE-VERSION', strings - snarfed from version.c. - ($(..)$(tardir)): Add rule to make as symlink to . (parent dir). - [subdir] (dist), [parent] (dist.tar): Depend on that. - [subdir] (tarsources), [parent] (+tsrcs): Add $(tardir)/ to files. + * sysdeps/unix/bsd/ultrix4/mips/sysdep.h (MOVE): Insn is `move', + not `movl'. - * sysdeps/sparc/Makefile (distribute): Move data into Dist file. + * sysdeps/unix/bsd/ultrix4/mips/sigcontext.h: Deansideclized. -Fri Oct 18 15:27:58 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/unix/ioctls-tmpl.c [DIOCGETPT, DEVGETGEOM]: Include + headers for these. + [ultrix]: Mondo cruft. - * Makefile (subdirs): Add $(sysdep-subdirs), so sysdep makefiles can - add subdirs. +Sat Sep 12 12:08:29 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) - * posix/glob.c [sgi]: Use <sys/dir.h>. + * misc/Makefile (routines): Add ttyslot, syslog. + * misc/ttyslot.c, misc/syslog.[ch]: New, snarfed from 4.4 BSD. + (headers): Add syslog.h - * stdio/fopen.c: If not appending, initialize the offset to 0. + * misc/getttyent.c (getttyent): Parse _TTYS_TRUSTED keyword and + set TTY_TRUSTED bit. + * misc/ttyent.h (TTY_TRUSTED): New bit in ty_status. + (_TTYS_TRUSTED): New keyword. + (_TTYS_CONSOLE): New keyword. + (TTY_CONSOLE): New bit in ty_status. - * sysdeps/generic/strcasecmp.c: Fixed losing braindead code. + * dirent/scandir.c (scandir): Don't keep using V after realloc'ing + it. Use the returned new ptr instead. -Tue Oct 8 15:27:54 1991 Roland McGrath (roland@albert.gnu.ai.mit.edu) +Thu Sep 10 18:59:23 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * Version 0.1. - * This ChangeLog is lacking much information. - * After this release, I hope to maintain the log well. + * stdlib/div.c, stdlib/ldiv.c: Rewritten from Berkeley code that works. -Fri Jul 26 18:02:57 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * Makeconfig (stdarg.h): Add va-*.h. - * stdio/Makefile (routines): Remove _cleanup. + * stdlib/Makefile (dont_distribute): Define: testsort.input. -Thu Jul 25 23:12:45 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/mach/hurd/i386/_hurd_start_sigthread.c, + sysdeps/stub/_hurd_start_sigthread.c: Renamed to .../startsig.c. + * sysdeps/mach/hurd/sys_errlist.awk: Renamed to .../errlist.awk. + * sysdeps/mach/hurd/Makefile (sys_errlist.c): Change dep. + * sysdeps/unix/bsd/make-local_lim.c: Renamed to .../mk-local_lim.c. + * sysdeps/unix/bsd/Makefile (local_lim.h): Change dep. + (make-local_lim): Change target and dep. + * hurd/_hurd_dead_recv.c: Renamed to hurd/dead_recv.c. + * hurd/setdtablesize.c: Renamed to hurd/setdtsz.c. + * hurd/Makefile (routines): Change references. + * stdio/tstgetline.c: Renamed to stdio/tstgetln.c. + * stdio/tstgetline.input: Renamed to stdio/tstgetln.input. + * stdio/Makefile (tests): Change ref. + * README.template: Remove note about long file names. - * stdio/memstream.c (close_memstream): Removed. - (trim_buffer): New fn to be io_funcs->__close for memstreams. - (open_memstream): Take arg char **BUFLOC. Stuff it in - stream->__fd, and store the location of the initial buffer in - *BUFLOC. - (enlarge_buffer): Keep *(char **) stream->__fd updated to be the - location of the buffer. + * sysdeps/unix/bsd/sun/sunos4/utsnamelen.h (_UTSNAME_LENGTH): + Define here, rather than #include'ing sysv/utsnamelen.h. + This file gets installed. -Tue Jul 23 14:11:29 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +Wed Sep 9 17:06:14 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * posix/glob.c: Don't #include <stddef.h> #ifdef sun. - Is there anyone on the face of the planet other than me capable of - implementing the ANSI C standard to spec???? + * Makeconfig (localtime-file): Put in $(prefix)/etc, not /etc. - * posix/glob.c [DIRENT]: #include <sys/types.h> before <dirent.h> - #ifdef USG. + * setjmp/Makefile (routines): Remove sigsetjmp. -Mon Jul 22 17:06:24 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/posix/Makefile (objdir-CPPFLAGS) [! subdir]: Rewrote + totally broken defn. - * sysdeps/posix/make-stdio_limits.c: #include <posix1_limits.h>, - not <posix_limits.h>. + * sysdeps/unix/Makefile (syscall.h): Keep lines starting + with #, not only those starting with #define. + We want to preserve any #ifdef in the original. - * README: Refer to COPYING.LIB, not COPYING. + * Makerules (install): Dep $(+install-dirs), not $(dir $(+install)). + (+install-dirs): Define to get two levels of dirs. - * config.libc: Renamed to `configure'. + * time/Makefile (tz-cc): Use = instead of define directive. + + * sysdeps/unix/bsd/sun/sparc/start.c (_start): Give ARGC, ARGV, + and ENVP `register' storage class; can then clear the FP early. + +Sat Sep 5 13:14:09 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * Makerules (sysdirs): Pass sysdep_dir in child's environment. + +Fri Sep 4 15:37:23 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * Makeconfig (common-objpfx): Add trailing slash. + Move comment to prev line to avoid extra whitespace. -Local Variables: -mode: change-log -End: + +See ChangeLog.1 for earlier changes. |