Work around old buggy program which cannot cope with memcpy semantics.
[glibc.git] / ChangeLog.1
blob1335a5f64af8b06c918a6199d9bf590c83844ed3
1 Thu Sep  3 17:31:13 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
3         * sysdeps/unix/bsd/setgroups.S: New file.  How did this manage not
4         to exist already??
6         * Version 1.04.
8         * sysdeps/generic/memmem.c (memmem): Fixed loop condition not to
9         use nonexistent variable.
11         * string/string.h (memmem): Put const qualifier on args.
13         * sysdeps/stub/sigaltstack.c (sigaltstack): Fix arg type.
15         * setjmp/sigsetjmp.c: #undef sigsetjmp before defining the function.
17 Wed Sep  2 16:43:58 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
19         * misc/Makefile (headers): Add syscall.h.
20         * sysdeps/unix/Makefile: Only generate syscall.h if it would
21         otherwise come from stub.
22         * sysdeps/stub/syscall.h: New file.
24         * time/Makefile (routines): Add stime.
26         * io/Makefile (routines): Add fchdir.
28         * signal/Makefile (routines): Add sigaltstack.
30         * string/Makefile (routines): Add memmem.
32         * setjmp/Makefile (routines): Add sigsetjmp, _setjmp.
34         * misc/Makefile (routines): Add getpass.
36         * Makefile (distribute): Add NEWS.
38         * Makerules (ar-it) [! objdir]: Pass `ru' instead of `u' to ar.
39         Use $(..)libc.a instead of $(libc.a).
41         * sysdeps/unix/sysv/i386/linux/sysdep.h (PSEUDO): Call numbers are
42         SYS_*, not __NR_*.
44         * sysdeps/unix/sysv/i386/linux/__wait.S: Prepend extra _ to
45         `__waitpid' for jmp.
47         * Makerules (check): New rule; alias for `tests'.
49         * sysdeps/stub/__setregid.c: Args are gid_t, not int.
51         * sysdeps/posix/readv.c: #include <string.h>.
53         * sysdeps/generic/printf_fp.c: If LDBL_DIG or LDBL_MAX_10_EXP is
54         defined by float.h, #define each to DBL_*.
56 Tue Sep  1 16:29:07 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
58         * sysdeps/unix/Makefile (syscall.h): Add missing backslashes.
60         * Makeconfig [!objdir && !..] (common-objpfx): Define as
61         `sysdeps/..'; The Almighty KludgeMeister 2000 wins again.
63         * Makerules (sysdep-Makefile): Rename to sysd-Makefile.
65         * Makeconfig (CC): Don't use -pipe by default.
67         * configure (switches): Put quotes around os-release and
68         os-version values.
70 Mon Aug 31 19:33:15 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
72         * sysdeps/stub/cbrt.c: New file.
74         * sysdeps/generic/cabs.c: New file.
76         * sysdeps/generic/ceil.c: New file, split from floor.c.
77         * sysdeps/generic/__rint.c: Replaced with code split from floor.c.
78         * sysdeps/generic/Makefile (routines): Don't remove ceil, __rint.
80 Thu Aug 27 15:58:13 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
82         * malloc/malloc.h [! __STDC__] (ptrdiff_t): #define.
84 Wed Aug 26 18:15:47 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
86         * malloc/free.c (__free): Rename to _free_internal.
87         (free), malloc/malloc.c (morecore): Change callers.
88         * malloc/malloc.h: Change decl.
90 Tue Aug 18 17:38:13 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
92         * sysdeps/generic/__copysign.c: New file.
94         * sysdeps/unix/sysv/sysdep.h: #include <syscall.h>, not
95         <sys/syscall.h>.  Don't #define _SYS_SYS_S; should no longer be
96         necessary.
98         * sysdeps/unix/Makefile (syscall.h): Replaced simple code to just
99         find the file in any of several places, with hairier code to find
100         it and massage it.
102         * malloc/Makefile (obstack.%): Remove rule.
103         (gpl2lgpl): Define this instead.
104         * posix/Makefile (gpl2lgpl): Define to include getopt source files.
105         * Makerules ($(gpl2lgpl)): New rule to snarf code and frob its
106         copying notices.
108 Fri Aug 14 13:28:39 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
110         * Makeconfig (common-objdir, common-objpfx): Define new vars.
111         (libc.a): Define in terms of $(common-objpfx).
112         Find config.make with $(common-objpfx), not $(objpfx).
113         * Makerules (common-objdir-compile): Define canned sequence.
114         (native-compile): Use $(@D)/$(@F) instead of stripping off $(objpfx).
115         * sysdeps/unix/Makefile, sysdeps/unix/bsd/Makefile,
116         sysdeps/generic/Makefile: Use it.
117         Use $(common-objpfx) for generated things not specific to one subdir.
119         * sysdeps/unix/Makefile (sysdep_headers): Add
120         $(sys/param.h-includes) to this instead of to headers.
122 Thu Aug 13 18:30:58 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
124         * posix/glob.c: Always #include <sys/types.h>.
125         [! USG]: Don't do it here.
126         [STDC_HEADERS]: Test this instead of __STDC__ for size_t.
127         [HAVE_STRCOLL]: Test this instead of ANSI_STRING for strcoll.
129         * posix/glob/Makefile.in (Makefile): Remove rule.
131 Wed Aug 12 16:12:52 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
133         * sysdeps/sparc/jmp_buf.h: Deansideclized.
135         * sysdeps/generic/make_siglist.c: #undef HAVE_SYS_SIGLIST, not
136         SYS_SIGLIST_MISSING.
137         * sysdeps/generic/signame.[ch]: Re-symlinked from /gd/gnu/lib.
138         Who's been removing random things from my source tree??
140 Tue Aug 11 15:01:50 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
142         * posix/getconf.c (main): Cast printf field with arg to int.
144         * Makefile (distribute): Remove ansidecl, ansidecl.m4.
146         * posix/glob.c [_AIX]: Don't declare alloca.
148 Mon Aug 10 17:09:40 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
150         * sysdeps/m68k/fpu/__math.h (__expm1): Define just like expm1.
152         * sysdeps/unix/ioctls-tmpl.c [SMIOSTATS, SMIOGETREBOOT0,
153         ZIOCBCMD]: Include headers for these.
155 Fri Aug  7 16:01:43 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
157         * string/tester.c (main): Use sys_nerr and sys_errlist, not _sys_*.
159         * stdio/stdio.h [__USE_GNU] (_sys_nerr, _sys_errlist): Declare.
161         * string/strerror.c, stdio/perror.c
162         [HAVE_GNU_LD] (_sys_errlist, _sys_nerr): Remove decls.
164         * stdio/memstream.c (enlarge_buffer): Notice when target is -1 and
165         don't treat it as a huge value.
167         * stdio/tst-printf.c: #if 0 code that tickles printf_fp bugs.
169         * grp/testgrp.c: Don't bomb if uid not in passwd file.
171         * stdlib/tst-strtol.c (tests): C-t on LONG_MIN and LONG_MIN-1 elts.
173         * stdlib/strtol.c: Use int flag NEGATIVE instead of char 1/-1 SIGN.
174         Fixed checking for overflow of long int that fits in unsigned long
175         int--must cast LONG_MIN before negating!
177 Thu Aug  6 18:46:24 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
179         * stdio/bug3.c (main): Define ansideclifily.
181         * sysdeps/unix/bsd/sun/sparc/__pipe.S: Define __pipe, not ___pipe.
183         * math/test-math.c (main): Remove unused vars.
185         * io/flock.c: #include <sys/file.h>, and not fcntl.h or sys/types.h.
187         * sysdeps/m68k/fpu/__math.h (__rint): Define just like rint.
189         * math/math.h (__rint): Declare.
191         * configure (esix*): base_os=unix/sysv.
193         * dirent/getdents.c: #include <dirent.h>.
195         * Rules (subdir): Avoid TAB before # at end of defn.
197         * sysdeps/unix/bsd/bsd4.4/__wait3.c: Last arg type is struct rusage *.
199 Tue Aug  4 18:19:43 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
201         * sysdeps/ieee754/Makefile: Removed.
203         * math/math.h: Declare __expm1.
205 Mon Aug  3 13:02:05 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
207         * sysdeps/ieee754/cabs.c (cabs, z_abs): Members of structure have __.
209         * sysdeps/unix/bsd/seq386: Remove directory.
211 Thu Jul 30 15:42:01 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
213         * sysdeps/unix/bsd/sun/sparc/sigcontext.h: Deansideclized.
215         * sysdeps/unix/bsd/sun/sunos4/__wait4.c: Make last arg struct rusage
216         instead of PTR.
218         * sysdeps/unix/morecore.c (__default_morecore): Make arg ptrdiff_t.
220         * sysdeps/ieee754/cabs.c (cabs, z_abs): Use `struct __complex' for arg.
222         * sysdeps/generic/pow.c: #include <limits.h>.
224         * sysdeps/generic/mathimpl.c: #include <math.h> before frobnication.
226         * misc/getusersh.c (okshells): Make const.
227         (initshells): Properly declare static.
229         * sysdeps/unix/bsd/__tcgetatr.c: Cast sg_[io]speed to (unsigned char) 
230         to avoid gcc warnings.
232         * math/bsd/common/atan2.c, math/bsd/common/tan.c,
233         math/bsd/common/sincos.c, math/bsd/common/trig.h,
234         math/bsd/common_source/__expm1.c, math/bsd/common_source/fmod.c,
235         math/bsd/common_source/acosh.c, math/bsd/common_source/log.c,
236         math/bsd/common_source/asincos.c, math/bsd/common_source/asinh.c,
237         math/bsd/common_source/log1p.c, math/bsd/common_source/atan.c,
238         math/bsd/common_source/log__L.c, math/bsd/common_source/atanh.c,
239         math/bsd/common_source/mathimpl.h, math/bsd/common_source/cosh.c,
240         math/bsd/common_source/exp.c, math/bsd/common_source/sinh.c,
241         math/bsd/common_source/exp__E.c, math/bsd/common_source/tanh.c,
242         math/bsd/common_source/floor.c: Moved to sysdeps/generic.
243         * math/bsd/ieee/{cabs,cbrt,support}.c: Moved to sysdeps/ieee754.
244         * All above + sysdeps/generic/mathimpl.h, sysdeps/generic/pow.c: New
245         code from 4.4/net2.
247         * sysdeps/generic/ffs.c: #include <string.h>, not <bstring.h>.
249         * posix/glob/Makefile.in (Makefile): Depend on config.status; invoke
250         it directly instead of using $(SHELL).
252         * posix/glob.c [! USG]: #include <sys/types.h> before <sys/dir.h>.
254 Tue Jul 28 17:54:23 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
256         * sysdeps/unix/bsd/ultrix42: Renamed to ultrix4.
258         * sysdeps/unix/sysv/isc2.2/__rename.S: New.
259         * configure (isc*): base_os=unix/sysv.
261         * Makefile, Makerules, Rules, math/Makefile, ctype/Makefile: Use
262         "export foo := $(foo)" instead of ifdef have_export_directive.
263         * Makeconfig (have_export_directive): Remove; move .NOEXPORT down.
265 Mon Jul 27 18:01:30 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
267         * configure: Remove redundant test to set os_used.
269 Sun Jul 26 17:03:31 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
271         * README.template: Don't mention Q+A.
272         * Makefile (distribute): Remove Q+A.
274         * Makefile, Makerules, Rules, math/Makefile, ctype/Makefile: Put
275         "ifdef have_export_directive" around uses of `export' directive.
276         They are only needed for dist and tags anyway.
277         * Makeconfig (have_export_directive): Add commented-out defn, and
278         comment to explain.
279         (.NOEXPORT): Add special target for old versions of GNU make.
281         * posix/glob.c [_AIX]: #pragma alloca first thing.
282         [ANSI_STRING]: Remove #define's for index et al.
284 Thu Jul 23 21:49:53 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
286         * misc/getpass.c: New.
287         * posix/unistd.h (getpass): Declare.
289         * posix/unistd.h (getusershell, setusershell, endusershell): Declare.
290         * misc/Makefile (routines): Add getusersh.
291         * misc/getusersh.c: New.
293 Tue Jul 14 20:03:57 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
295         * stdlib/Makefile (tests): Add testdiv.
296         * stdlib/testdiv.c: New.
298         * sysdeps/unix/sysv/i386/linux/{rename,__mkdir,__rmdir,__dup2,
299         getpgrp,__setpgrp,setsid}.S: New files.
301         * sysdeps/unix/__getppid.S: If SYS_getppid is defined, use it rather
302         than alternate value of getpid.
303         * __gete[ug]id.S: Similar.
305         * sysdeps/unix/sysv/i386/linux/__waitpid.S: New file.
306         * sysdeps/unix/sysv/i386/linux/__wait.S: New file.
307         * sysdeps/posix/__wait3.c: New file.
309         * sysdeps/unix/sysv/i386/linux/socket.S: New file.
310         * bind.S, connect.S, listen.S, accept.S, getsockname.S,
311         getpeername.S, socketpair.S: Also new (and trivial).
313 Mon Jul 13 17:41:46 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
315         * sysdeps/unix/sysv/i386/linux/sysdep.[hS]: New files.
317         * configure (linux*): base_os=unix/sysv
318         (gnu*, linux*): Always set --with-gnu-ld and --with-gnu-as.
320         * stdio/obstream.c: #include <string.h>
321         (obstack_vprintf): Use bzero rather than memset.
323         * stdio/glue.c (unix_FILE.glue): Add two members, which will overlap
324         get_limit and put_limit in GNU stdio.
325         (_iob): Initialize them to same as `streamp'.
327 Thu Jul  9 21:27:39 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
329         * stdio/stdio.h (open_obstack_stream, obstack_printf,
330         obstack_vprintf): Declare.
332         * posix/glob.c [STDC_STRINGS]: Don't test this.
333         [! ANSI_STRING]: Put memcpy, strrchr, memset defns here instead.
335         * posix/glob/Makefile.in (glob.o, fnmatch.o): / after $(srcdir).
337 Tue Jul  7 03:11:23 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
339         * stdio/Makefile (routines): Add obstream.
341         * Makerules (%.o: %.S, %.o: %.c): If using gcc, put the file name
342         before the options on the command line.
344         * malloc/Makefile (dist-routines): Define with routines for malloc.tar.
345         (routines): Define with that plus the rest.
346         (nodist): Remove.
347         (routines): Add obstack.
348         (headers): Add obstack.h.
349         (obstack.%): New rule.
351         * stdio/glue.c: Add comments.
353         * stdio/printf.h (struct printf_info.spec): Make unsigned char.
355         * stdio/stdio.h (__validfp): Fixed glued-stream snarfing.
357 Mon Jul  6 20:00:47 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
359         * sysdeps/i386/jmp_buf.h: Deansideclized.
361         * sysdeps/posix/Makefile (objdir-CPPFLAGS): Define; if in parent
362         dir, add ..s to -Is.
363         (mk-stdiolim): Use it in place of $(CPPFLAGS).
365 Sat Jul  4 20:44:42 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
367         * posix/glob/Makefile.in (glob.o, fnmatch.o): Put $(srcdir) on deps.
369 Wed Jul  1 00:13:40 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
371         * sysdeps/generic/strstr.c: If NEEDLE is "", return end of HAYSTACK.
373         * string/tester.c (main): Remove decls of sys_nerr and sys_errlist.
375         * configure: Accept --prefix=*, --exec_prefix=* options.
376         Set values in config.make and config.status.
378         * io/umask.c: Fixed return type in fn alias.
380         * posix/glob.c [! ANSI_STRING]: #define strcoll to strcmp.
381         Remove extra decls of free, qsort, malloc, and realloc.
383         * dirent/alphasort.c: #include <string.h>, and not <stdlib.h>.
385         * sysdeps/unix/bsd/i386/__wait3.S: Load SYS_wait into %eax before
386         trapping.  Use literal .byte instead of lcall to avoid gas bug.
387         Use 0(REG), not (REG), for register-indirect addressing.
389         * configure: Make config.status executable.
391 Tue Jun 30 21:14:53 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
393         * configure: Add --os-release=* and --os-version=* options.  Record
394         settings (which might be automagically guessed) in config.status.
396         * misc/mknod.c: Use __mode_t for arg in fn alias.
398         * posix/unistd.h (setregid): Declare to take __gid_t args.
400         * sysdeps/unix/bsd/i386/__wait3.S: Don't use lcall insn gas barfs on.
402         * posix/vfork.c: Move to sysdeps/generic/.
404         * Rules (others, tests): Export them.
406         * io/umask.c, io/mkdir.c, io/chmod.c: Use mode_t not int in arg decls.
408         * sysdeps/i386/ffs.c: #include <string.h>, not <bstring.h>.
410         * stdio/vfscanf.c: Use function_alias.
412         * stdio/vsscanf.c: Use va_list, not PTR, in arg decl in fn alias.
414         * sysdeps/unix/i386/sysdep.h (PSEUDO): Enough backslashes and
415         semicolons.
417         * stdio/stdio.h: For __gnuc_va_list, #test __GNUC_VA_LIST, not
418         __va_list_defined.
420         * stdio/fmemopen.c: Use memchr to find NUL for append mode.
422         * stdio/memstream.c (enlarge_buffer): Double the buffer size, rather
423         than adding 100.  Don't clobber *INFO->bufsize when called with the
424         put limit reset.  If the target has been set, extend and zero-fill
425         the buffer.
426         (seek): New function.
427         (open_memstream): Use it for seek io fn.  Call fmemopen with "w+" mode.
429 Sun Jun 28 19:01:01 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
431         * stdio/fseek.c: Fail with EINVAL for a negative file pos.
433 Fri Jun 26 00:07:53 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
435         * Makeconfig (stdarg.h): New variable.
436         * Makefile (headers): Add $(stdarg.h).
438         * stdio/stdio.h: Change __va_list to __gnuc_va_list in decls.
440         * sysdeps/unix/morecore.c: Include malloc.h #ifndef _MALLOC_INTERNAL.
441         Don't include <stdio.h>.
442         (NULL): Define to 0 if not defined.
444         * sysdeps/i386/bzero.c: Include string.h, not bstring.h.
446 Thu Jun 25 21:01:40 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
448         * stdio/perror.c, string/strerror.c (_sys_errlist, _sys_nerr): Don't
449         declare #ifndef HAVE_GNU_LD.
451         * stdio/fwrite.c: Cast arg to write io func to const char * (from uns).
453         * sysdeps/unix/Makefile: If syscall.h doesn't exist in
454         $(sysincludedir), look for sys/syscall.h and create $(objpfx)syscall.h
455         to #include it.
457         * sysdeps/unix/morecore.c (__default_morecore): Deansideclized.
458         * malloc/*.c: Only #include <malloc.h> #ifndef _MALLOC_INTERNAL.
460 Wed Jun 24 19:09:04 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
462         * sysdeps/unix/snarf-ioctls: Avoid looking at a few particular
463         headers which tend to mislead us.
465         * Makefile (distribute): Add COPYING.
467         * configure (Makefile): When invoking make in srcdir, set ARCH
468         rather than objdir on the cmd line.
470         * posix/glob.c [DIRENT] (direct): Don't define to dirent.
471         [! DIRENT] (direct): Define to dirent.
473         * Make-dist [!subdir] (+tsrcs): Don't include $(distribute).  It was
474         already included above.
476 Mon Jun 22 16:58:34 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
478         * Makerules (sysdep_routines): Export it.
480 Wed Jun 17 17:58:05 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
482         * posix/glob.c (my_realloc): Test only __GNU_LIBRARY__.  Can't trust
483         STDC_HEADERS.
485 Tue Jun 16 20:20:01 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
487         * resource/sys/resource.h (enum __rlimit_resource): Added MEMLOCK,
488         NPROC, OFILE.
490         * posix/Makefile (glob.tar): Include Makefile.in & configure, and not
491         Makefile.
492         (glob/configure): New rule.
494         * posix/glob/Makefile: Moved to posix/glob/Makefile.in.
495         (VPATH, srcdir, CPPFLAGS): Define to be replaced by autoconf.
497         * posix/glob.c: Rearranged conditionals for use with autoconf.
499 Thu Jun 11 15:47:43 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
501         * sysdeps/unix/bsd/sun/sparc/start.c: Added alias for start -> __start.
503 Tue Jun  9 20:15:12 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
505         * sysdeps/posix/rename.c: Return failure and don't remove the old
506         link if the link failed with other than EEXIST.
508         * posix/glob/Makefile: Fixed copyright notice.
509         (realclean): Don't remove ~ backup files.
511 Thu Jun  4 16:41:56 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
513         * time/Makefile (install-data): Don't include zoneinfo/.
514         Makerules already makes sure the necessary directories exist.
516         * setjmp/setjmp.h (sigsetjmp) [__GNUC__]: Use typeof hackery to
517         construct the type of the temporary var for the arg.
518         (_setjmp) [__FAVOR_BSD]: Make same as setjmp.
520         * malloc/malloc.h (mtrace): Declare.
522         * malloc/malloc.h, malloc/calloc.c, malloc/free.c, malloc/malloc.c,
523         malloc/mcheck.c, malloc/memalign.c, malloc/mstats.c,
524         malloc/mtrace.c, malloc/realloc.c, malloc/valloc.c: Deansideclized;
525         changed copyright notices to be independent of libc.
526         * malloc/Makefile (glob/%.c, glob/%.h): Don't need to ansideclificate.
528         * io/ftw.h, io/ftw.c: New.
529         * io/Makefile (headers): Added ftw.h.
530         (routines): Added ftw.
532 Tue Jun  2 21:49:22 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
534         * sysdeps/unix/bsd/signum.h (SIG_ERR, SIG_DFL, SIG_IGN): Use
535         __sighandler_t.
537         * posix/glob.c (__ptr_t): Define.
539 Thu May 28 06:57:14 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
541         * sysdeps/m68k/jmp_buf.h: Don't use PTR.
543 Wed May 27 18:09:40 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
545         * posix/{glob,fnmatch}.[ch]: Deansideclized; changed copyright
546         notice to be independent of libc.
547         * posix/Makefile (glob/%.c, glob/%.h): Don't need to ansideclificate.
549         * posix/unistd.h (_SC_2_FORT_RUN, _SC_2_LOCALDEF): Define.
551         * posix/unistd.h: Define _POSIX2_* without #ifdef __USE_POSIX2.
553         * posix/unistd.h (_POSIX2_FORT_DEV): Removed.
555         * posix/fnmatch.h (FNM_FILE_NAME): Alias for FNM_PATHNAME.
557 Tue May 26 00:39:39 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
559         * time/Makefile (install-data): Include zoneinfo/, so the directory
560         gets made.
562         * Makeconfig (+gcc-nowarn): Define to -w if using gcc.
563         * time/Makefile (tz-cc): Use it to suppress warnings for grody code.
565         * posix/Makefile (libposix.a), math/Makefile (libm.a): Make archive
566         containing /dev/null instead of nothing; ar won't create an empty
567         archive.
569         * Makerules (%/): Added generic mkdir rule.
571         * posix/Makefile (install-lib): Define to libposix.a.
572         (libposix.a): Create empty archive.
574         * posix/Makefile (distribute): Added utsnamelen.h.
576         * ctype/ctype.c (tolower, toupper): If the arg doesn't fit in a
577         char, return it unchanged.
578         * ctype/ctype.h (tolower, toupper): Don't define as macros.
579         [__GNUC__]: Define as extern inline functions.
581         * sysdeps/unix/bsd/sun/sunos4/utsnamelen.h,
582         sysdeps/unix/bsd/sun/sunos4/uname.S: New.
584         * configure: Only do hacking to snarf uname info if the config uses
585         the generic uname implementation.
587         * Makeconfig (+defines): Define to include $(gnu_ld), rather than
588         -DHAVE_GNU_LD.
589         * configure: Write config.make with gnu_ld/gnu_as defns.
591         * sysdeps/unix/bsd/sun/sunos411: Renamed back to .../sunos4.
592         * sysdeps/unix/bsd/bsd44: Renamed to .../bsd4.4.
594         * Makeconfig: include $(objpfx)configparms instead of
595         $(objdir)/Makeconfig.
596         Define objpfx as soon as objdir is defined, so we can use it.
598         * sysdeps/generic/uname.c: Use UNAME_* from config-name.h.
600 Mon May 25 19:33:07 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
602         * configure: Accept all standard GNU configure options.
603         Expect to be run in object directory, and find source directory
604         elsewhere.
605         Write config.status as a shell script that can be run to recreate
606         the configuration.
607         Grok os names containing dots by trying each successively
608         less-precise substring.
609         Write Sysnames and config-name.h in current directory.
610         Write #define's for uname sysname, release, version, and machine
611         elts in config-name.h.  Hackery to intuit release and version info.
613         * stdio/vsnprintf.c, stdio/vsprintf.c, stdio/vasprintf.c,
614         stdio/vdprintf.c, stdio/vfscanf.c, stdio/vscanf.c,
615         stdio/__vsscanf.c: Take arg list as va_list, not PTR.
617         * stdio/stdio.h: Replaced #include <stdarg.h> with magic.
618         Properly use __va_list in prototypes.
620         * Makeconfig (exec_prefix): Define.
621         (libdir, includedir, bindir): Use it.
623         * sysdeps/unix/sysv/Makefile [subdir==io] (sysdep-routines): Removed
624         __utssys.
625         * sysdeps/unix/sysv/Dist: Removed __utssys.S.
626         * sysdeps/unix/sysv/__utssys.S, sysdeps/unix/sysv/uname.c: Removed.
627         * sysdeps/unix/sysv/uname.S, sysdeps/unix/sysv/utsnamelen.h: New.
629         * posix/sys/utsname.h (_UTSNAME_LENGTH): Don't define; instead,
630         #include <utsnamelen.h> to define it.
631         * sysdeps/generic/utsnamelen.h: New.
633 Sun May 24 00:07:45 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
635         * sysdeps/generic/inet-cvt.h: Deansideclized.
637         * string/string.h (memfrob): First arg is __ptr_t, not char *.
639         * misc/sys/cdefs.h (__ptr_t): Made #define rather than a typedef.
641 Fri May 22 01:52:04 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
643         * Makefile, Rules, Makerules: Remove all rules for ansideclificating
644         headers.
646         * posix/glob.h, posix/fnmatch.h: Use explicit cruft for C++.
647         Define __P and const for C++/ANSI vs old C ourselves, to avoid
648         dependence on <sys/cdefs.h>.
650         * inet/Makefile: Remove cruft to snarf things from bsd/.
651         * inet/bsd/*.c: Moved to inet/.
653         * Makerules: Install headers from source directories into
654         $(includedir), rather than ansidecl madness.
655         * Makeconfig (ansi-incldir, trad-incldir): Removed.
656         (includedir): Define instead.
658         * assert/assert.h, ctype/ctype.h, dirent/dirent.h, grp/grp.h,
659           locale/locale.h, locale/localeinfo.h, math/math.h,
660           misc/sys/file.h, misc/sys/ioctl.h, misc/sys/ptrace.h,
661           misc/sys/uio.h, misc/sgtty.h, misc/nlist.h, posix/gnu/types.h,
662           posix/sys/wait.h, posix/sys/types.h, posix/sys/times.h,
663           posix/sys/utsname.h, posix/unistd.h, posix/tar.h, posix/utime.h,
664           posix/wordexp.h, posix/glob.h, posix/fnmatch.h, pwd/pwd.h,
665           resource/sys/resource.h, resource/sys/vlimit.h,
666           resource/sys/vtimes.h, setjmp/setjmp.h, signal/signal.h,
667           signal/gnu/signal.h, socket/sys/socket.h, stdio/stdio.h,
668           stdio/printf.h, stdlib/alloca.h, stdlib/stdlib.h, string/string.h,
669           termios/termios.h, time/sys/time.h, time/time.h, io/sys/stat.h,
670           io/fcntl.h, errno.h, stddef.h, malloc/malloc.h:
671         Deansideclized.  Use <sys/cdefs.h> macros instead of ansidecl and
672         C++ cruft.
673         * features.h: #include <sys/cdefs.h>.
675         * string/string.h (strfry, memfrob): Declare.
676         * string/Makefile (routines): Added strfry and memfrob.
677         * string/strfry.c, string/memfrob.c: New.
679         * locale/C-ctype_ct.c: Made BS be isspace.
681         * sysdeps/generic/strstr.c: Return HAYSTACK, not its end, if NEEDLE
682         is the empty string.
684         * sysdeps/generic/strncase.c: Fixed for case of empty string.
686 Wed May 20 02:36:09 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
688         * io/sys/stat.h (fchmod): Declare, rather than two __fchmod decls.
690         * configure (sysv, bsd): Don't make base_os=unix; unix/{sysv,bsd}
691         instead.
692         Set os_used if base_os is used.
694 Tue May 19 21:00:11 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
696         * crypt/*: New files from glad.
698         * stdio/stdio.h (sys_nerr, sys_errlist): Don't declare const.
700 Sun May 17 15:50:00 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
702         * io/Makefile (headers): Remove gnu/stat.h; add sys/stat.h.
704         * posix/glob.c (glob): Don't let us fall off the end without returning.
706         * sysdeps/stub/setenv.c, sysdeps/posix/setenv.c: New.
707         * stdlib/stdlib.h [__USE_BSD] (setenv): Declare.
708         * stdlib/Makefile (routines): Add setenv.
710         * malloc/mtrace.c (old_{free,malloc,realloc}_hook): Renamed to tr_&
711         to not conflict with mcheck.c when combined into gmalloc.c.
713 Fri May 15 19:07:54 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
715         * socket/sys/socket.h (PF_NBS, AF_NBS): Removed.
716         (PF_ISO, PF_OSI, PF_APPLETALK, PF_ROUTE, PF_LINK): Define.
717         (PF_MAX): Increase accordingly.
719         * inet/bsd/*.c: Snarfed latest code from 4.4.
721         * misc/sys/cdefs.h (__BEGIN_DECLS, __END_DECLS): Define cruft for C++.
723 Thu May 14 01:45:12 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
725         * posix/glob.h (GLOB_MAGCHAR): Check user feature-test macros,
726         rather than __USE_BSD, so we don't depend on features.h.
728         * sysdeps/stub/__wait4.c: Last arg is struct rusage *, not PTR.
730         * math/bsd/common_source/mathimpl.h: Don't #define const.
731         #include <sys/cdefs.h> instead.
733         * Makefile (+other_dirs): Add crypt, but only if it exists at run time.
734         * crypt/GNUmakefile: New file.
735         * sysdeps/sparc/Makefile, sysdeps/m68k/Makefile (crypt):
736         Define to use machine-dependent assembly code in crypt/crypt.*.S.
737         * crypt: New directory.
739         * find-sysdirs: Don't lose if there are no sysnames.
741         * termios/Makefile (headers): Added sys/termios.h.
742         * termios/sys/termios.h: New file; just #include <termios.h>.
744         * stdlib/qsort.c: Define _quicksort rather than qsort.
745         * stdlib/msort.c: New file; defines qsort function that does merge
746         sort.  Falls back to _quicksort if it fails to allocate a temp array.
747         * stdlib/Makefile (routines): Added msort.
749         * string/string.h (memccpy, strdup): Also declare #ifdef __USE_BSD.
750         [__USE_BSD] (index, rindex, bcmp, bzero, ffs): Declare.
751         * string/strings.h: Just #include <string.h>.
752         * string/Makefile (headers): Removed bstring.h.
754         * misc/Makefile (routines): Removed swab.
755         * string/Makefile (routines): Put it here instead.
756         * misc/swab.c: Moved to string/swab.c.
758         * stdio/stdio.h [__USE_BSD] (sys_nerr, sys_errlist): Declare.
760         * grp/grp.h (setgrent, endgrent, getgrent): Also do #ifdef __USE_BSD.
762         * posix/glob.h [__USE_BSD] (GLOB_MAGCHAR): Declare.
763         (glob_t): Added member `gl_flags'.
764         * posix/glob.c (glob, glob_in_dir): Set gl_flags member to FLAGS;
765         or in GLOB_MAGCHAR if any metachars are seen.
767         * sysdeps/unix/bsd/bsd44/readdir.c: New.
769         * sysdeps/unix/bsd/sun/readdir.c: Don't need to declare
770         __getdirentries here.  Use off_t and ssize_t.
772         * misc/Makefile (routines): Removed getdents and __getdents.
773         * dirent/Makefile (routines): Put them here instead.
774         * misc/getdents.c: Moved to dirent/getdents.c.
775         * dirent/dirent.h [__USE_BSD] (__getdirentries, getdirentries):
776         Declare.
778         * dirent/Makefile (routines): Added scandir and alphasort.
779         * dirent/scandir.c, dirent/alphasort.c: New.
780         * dirent/dirent.h [__USE_BSD] (scandir, alphasort): Declare.
782         * sysdeps/unix/bsd/nice.c, sysdeps/unix/sysv/nice.S,
783         sysdeps/stub/nice.c: New.
784         * resource/Makefile (routines): Added nice.
786         * misc/sys/cdefs.h [__USE_BSD] (const, signed, volatile): #define to
787         __ versions, for the sake of 4.4 header files.
789 Wed May 13 00:35:12 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
791         * stdlib/tst-strtol.c: Fixed typo in test table.
793         * stdlib/strtol.c: Fixed checking for overflow of long int that fits
794         in unsigned long int.
796         * misc/Makefile (headers): Added ttyent.h.
797         (routines): Added getttyent.
798         * misc/ttyent.h, misc/getttyent.h: New; snarfed from 4.4.
800         * posix/sys/wait.h [__USE_BSD]: Added forward decl for struct rusage.
801         (__wait4, __wait3): Declare arg as struct rusage, not PTR.
803         * inet/arpa/*.h, inet/protocols/*.h, inet/netdb.h, inet/resolv.h:
804         New files from 4.4.
805         * inet/Makefile (headers): Snarf *.h from arpa/ and protocols/.
807         * sysdeps/m68k/fpu/__math.h, assert/assert.h: #include <sys/cdefs.h>
808         and use its macros rather than rolling our own.
810         * misc/sys/cdefs.h: New file.
811         * misc/Makefile (headers): Add it.
813         * Makerules: Moved check for headers coming from env to Rules.
815 Tue May 12 01:04:10 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
817         * sysdeps/generic/strsep.c: New.
818         * string/string.h [__USE_BSD] (strsep): Declare.
819         * string/Makefile (routines): Added strsep.
821         * sysdeps/unix/sysv/__settod.c, sysdeps/unix/sysv/stime.S,
822         sysdeps/unix/bsd/stime.c, sysdeps/stub/stime.c: New.
823         * time/time.h [__USE_SVID] (stime): Declare it.
825         * sysdeps/unix/bsd/bsd44/__getdents.S: New.
827         * posix/wordexp.h, posix/utime.h, posix/unistd.h, time/time.h,
828         termios/termios.h, posix/tar.h, string/strings.h, string/string.h,
829         stdlib/stdlib.h, signal/signal.h, stdio/stdio.h, misc/sgtty.h,
830         setjmp/setjmp.h, inet/resolv.h, pwd/pwd.h, stdio/printf.h,
831         misc/nlist.h, inet/netdb.h, math/math.h, malloc/malloc.h,
832         locale/locale.h, grp/grp.h, posix/glob.h, posix/getopt.h,
833         posix/fnmatch.h, io/fcntl.h, errno.h, dirent/dirent.h,
834         ctype/ctype.h, string/bstring.h, assert/assert.h, stdlib/alloca.h,
835         misc/a.out.h [__cplusplus]: Added stupid cruft for losing C++.
837 Mon May 11 01:40:49 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
839         * math/Makefile (headers): Added huge_val.h and nan.h.
841         * io/Makefile (headers): Changed gnu/stat.h to statbuf.h.
843         * time/Makefile (install-data): Include $(localtime-file) and
844         $(posixrules-file) if they are relative.
845         (install-others): Include them if absolute.
846         ($(posixrules-file), $(localtime-file)): Define rules to install if
847         absolute file names.
848         * Makerules (+install): Include $(install-others) verbatim.
849         * Makeconfig (localtime-file): Made default /etc/localtime.
851         * sysdeps/generic/Makefile (endian.h): Only generate if would
852         otherwise use stub version.
853         * sysdeps/stub/endian.h, sysdeps/i386/endian.h: New.
855         * Rules, Makefile: Export distribute and dont_distribute.
856         * Make-dist: Export sysdep_dirs.  Unexport things rather than
857         clobbering their values.
859         * misc/sys/ptrace.h: Fixed typo.
861         * stdio/stdio.h (__io_read, __io_write, __io_seek, __io_close):
862         Added comments.
864         * stdio/internals.c (flushbuf): If in append mode, don't do aligned
865         writing, seek to the target, or update the offset.
867         * posix/unistd.h (lseek): Doc fix.
869         * misc/swab.c: New.
870         * misc/Makefile (routines): Added swab.
872 Wed May  6 12:32:18 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
874         * math/Makefile, inet/Makefile (source_dirs): Export it.
875         * MakeTAGS (all-dirs): Include $(source_dirs).
877         * Makefile (TAGS): Removed dep on subdir_TAGS.
878         (+subdir_targets): Removed subdir_TAGS.
879         * MakeTAGS [! subdir] (TAGS): Depend on subdir_TAGS.
880         [! subdir] (subdir_TAGS): Recurse on subdirectories.
882         * Makerules (headers): Don't take value from the environment.
884         * Makerules (sysdirs, sysdep_dir): Export them.
886         * MakeTAGS: New makefile.
887         * Makefile (distribute): Include it.
888         * Makefile (TAGS), Rules (TAGS): Removed rules.
889         * Makerules (TAGS): New rule that uses MakeTAGS.
890         * Makefile (TAGS): Depend on subdir_TAGS.
892         * Makerules (install, install-lib, install-data, routines, aux):
893         Don't bother removing these if they come from the environment, since
894         they won't with make >= 3.62.8.
895         * Rules (distribute, headers): Ditto.
896         (subdir): Export it.
897         * Makerules (sources, headers): Export these.
898         * Makefile (subdirs): Export it.
900         * Rules (+tags_sources): Removed.
901         * Makerules (tags-sources): Define here.
902         * ctype/Makefile (tags-sources): Redefine to give headers precedence
903         over sources.
904         * Rules (TAGS), Makefile (TAGS): Rewrote rules.
905         * Makeconfig (+ctags): Removed.
906         (ETAGS): Define.
908         * sysdeps/posix/getcwd.c: Don't closedir twice.
910         * sysdeps/unix/bsd/hp/m68k/__wait3.S: Define __wait3, not ___wait3.
912         * posix/sys/types.h [__USE_BSD] (fsid_t): Define.
913         * posix/gnu/types.h (__fsid_t): Define.
915         * io/fcntl.h (F_GETLK): Define.
917 Tue May  5 18:36:46 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
919         * misc/Makefile (routines): Added seteuid and setegid.
920         * sysdeps/stub/sete[ug]id.c, sysdeps/unix/bsd/bsd44/sete[ug]id.S: New.
921         * posix/unistd.h [__USE_BSD] (seteuid, setegid): Declare.
923         * sysdeps/unix/bsd/tcsendbrk.c: #include <sys/types.h>
925         * Makerules: Strip whitespace from $(headers) so ifdef wins.
927         * sysdeps/unix/bsd/bsdtty.h: #undef a bunch more things.
929         * sysdeps/unix/bsd/bsd44/errnos.h: New, hacked from 4.4 <sys/errno.h>.
931         * sysdeps/unix/Makefile (ioctls.h, errnos.h): Only generate if
932         the files that would be used otherwise are the stub versions.
934         * sysdeps/unix/bsd/tcflow.c: Don't write VSTOP or VSTART if it is
935         _POSIX_VDISABLE.
937         * sysdeps/unix/bsd/tcflush.c: Use FREAD|FWRITE for TCIOFLUSH.
939         * sysdeps/unix/bsd/usleep.c: Use select rather than itimers to wait.
941         * sysdeps/unix/bsd/tcsendbrk.c: Use select rather than itimers to wait.
943         * termios/cfmakeraw.c: New.
944         * termios/Makefile (routines): Added cfmakeraw.
946         * sysdeps/unix/bsd/bsd44/ioctls.h: New file, hacked from 4.4
947         <sys/ioctl.h>.
948         * sysdeps/unix/bsd/bsd44/__tcgetatr.c: New.
949         * sysdeps/unix/bsd/bsd44/tcsetattr.c: New.
950         * sysdeps/unix/bsd/bsd44/tcdrain.c: New.
952         * termios/sys/ttydefaults.h: New, snarfed from 4.4.
953         * termios/Makefile (headers): Define.
954         * termios/termios.h [__USE_BSD]: #include <sys/ttydefaults.h>
956         * sysdeps/posix/getcwd.c: Removed unused variable.
958         * time/__tzset.c: Cast string literal to (char *).
960         * setjmp/sigjmp_save.c: Declare properly to return void.
962         * sysdeps/ieee754/nan.h: Created; somehow it disappeared.
964 Mon May  4 18:30:52 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
966         * sysdeps/unix/bsd/bsd44/__wait4.S: New.
968         * sysdeps/unix/bsd/4.4: Renamed to sysdeps/unix/bsd/bsd44.
970         * signal/gnu/signal.h (__SA_DISABLE, __SA_NOCLDSTOP): Use same bits
971         4.4 uses.
973 Sun May  3 13:57:25 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
975         * stdio/fwrite.c: Use unsigned char to avoid sign extension.
977         * stdlib/__random.c (randtbl): Replaced default constants so they
978         match the state produced by "srandom (1)".
980         * stdlib/mbtowc.c: Test for S == "" before testing for no mbchars.
982         * stdlib/Makefile (tests): Added testrand.
983         * stdlib/testrand.c: New test for rand.
985         * stdlib/testmb.c: Added 2 mblen tests.
987         * stdlib/wcstombs.c: Don't do anything strange for EOF.
988         Copy non-MB characters as they are.
989         Properly increment S after writing.
991         * stdlib/testmb.c: Added test case for wcstombs.
993         * signal/signal.h (SA_DISABLE): Define.
994         * signal/gnu/signal.h (__SA_DISABLE): Define.
996         * signal/signal.h (struct sigaltstack): Define new type.
997         (sigaltstack): Declare new fn.
998         * sysdeps/stub/sigaltstack.c: New.
999         * sysdeps/unix/bsd/4.4/sigaltstack.S: New.
1001         * misc/Makefile (routines): Added reboot.
1002         * posix/unistd.h (reboot): Declare.
1003         * sysdeps/stub/reboot.c: New.
1005         * sysdeps/unix/bsd/ulimit.c [! HAVE_GNU_LD]: #define _etext -> etext.
1007         * sysdeps/unix/bsd/sun/sparc/sethostid.S: #define _ERRNO_H before
1008         #include <errnos.h>.
1010         * configure (newos*): base_os=unix/bsd.
1012 Fri May  1 12:21:47 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
1014         * io/gnu/stat.h: Moved to sysdeps/unix/bsd/statbuf.h.
1015         * sysdeps/unix/bsd/statbuf.h: Define struct stat, not struct __stat.
1016         * io/stat.c: Use struct stat, not struct __stat.
1017         * sysdeps/stub/statbuf.h: New.
1018         * io/sys/stat.h: #include <statbuf.h> instead of gnu/stat.h.
1019         (stat, fstat, lstat, chmod, fchmod, umask, mkdir, mknod): Don't
1020         #define; declare as fns instead.
1021         * sysdeps/unix/sysv/stat.h: New.
1022         * sysdeps/unix/sysv/sysv_stat.h, sysdeps/unix/sysv/sys_stat.S,
1023         sysdeps/unix/sysv/sys_fstat.S: Removed.
1024         * sysdeps/unix/sysv/Makefile (sysdep_routines): Removed sys_stat,
1025         sys_fstat.
1026         * sysdeps/unix/sysv/Dist: Removed sys_stat.S, sys_fstat.S.
1027         * sysdeps/unix/bsd/__stat.S, sysdeps/unix/bsd/__fstat.S: Moved to
1028         sysdeps/unix.
1030         * sysdeps/m68k/fpu/switch/Makefile: Refer to dirs fpu and
1031         fpu/switch, not 68881 and 68881-switch.
1033         * sysdeps/m68k/fpu/switch/switch.c: #include <68881-sw.h>, not
1034           68881-switch.h.
1036         * sysdeps/m68k/fpu/__expm1.c, sysdeps/m68k/fpu/__rint.c,
1037         sysdeps/m68k/fpu/asin.c, sysdeps/m68k/fpu/atan.c,
1038         sysdeps/m68k/fpu/atanh.c, sysdeps/m68k/fpu/ceil.c,
1039         sysdeps/m68k/fpu/cos.c, sysdeps/m68k/fpu/cosh.c,
1040         sysdeps/m68k/fpu/exp.c, sysdeps/m68k/fpu/fabs.c,
1041         sysdeps/m68k/fpu/floor.c, sysdeps/m68k/fpu/log.c,
1042         sysdeps/m68k/fpu/log10.c, sysdeps/m68k/fpu/log1p.c,
1043         sysdeps/m68k/fpu/sin.c, sysdeps/m68k/fpu/sinh.c,
1044         sysdeps/m68k/fpu/sqrt.c, sysdeps/m68k/fpu/tan.c,
1045         sysdeps/m68k/fpu/tanh.c: #include <acos.c> without explicit path
1046         (which has changed).
1048         * sysdeps/unix/bsd/sun/sparc/start.c: #include <syscall.h>.
1049         (syscall): Removed C function; define all inside asm instead.
1050         (init_shlib): Cast return value of syscall to right types.
1052 Thu Apr 30 01:15:33 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
1054         * sysdeps/unix/bsd/sun/sparc/start.c: Added code to use dynamic
1055         linker from trq@dionysos.thphys.ox.ac.uk.
1057         * sysdeps/unix/bsd/sun/sunos4: Renamed to sunos411.
1059         * setjmp/setjmp.h (sigsetjmp): Don't declare as a function.
1060         Define as a macro instead.
1061         (__sigjmp_save): Declare; internal fn used by sigsetjmp macro.
1062         (_setjmp), [__FAVOR_BSD] (setjmp): Always define as a macro.
1063         * setjmp/sigjmp_save.c: New file.
1064         * setjmp/_setjmp.c, setjmp/sigsetjmp.c: Removed.
1065         * Makefile (routines): Removed _setjmp, sigsetjmp; added sigjmp_save.
1066         * misc/bsd-compat.c (setjmp): Don't define.
1068         * configure (sysv, bsd): base_os=unix
1070         * configure: Fatal error if the machine or os did not generate any
1071         sysdep dirs.
1073         * configure: No error message after config.sub fails.
1075         * sysdeps/mips, sysdeps/unix/bsd/ultrix42: New port from
1076         brendan@cs.widener.edu.
1078         * Reorganized sysdeps:
1079           unix/bsd/
1080               hp9k3bsd -> hp/m68k
1081               news -> sony/m68k
1082               sun/
1083                   sun3/os3 -> sunos3/m68k
1084                   sun3 -> m68k
1085                   sun4 -> sparc
1086           unix/sysv/
1087               r4 -> sysv4
1088           m68k/
1089               68881 -> fpu
1090               68881/68881-switch -> fpu/switch
1091         * sysdeps/unix/bsd/sony/m68k/start.c: Changed #include.
1092         * configure: Use config.sub to canonicalize name.
1093         Then use combinations of machine, vendor, and os (with special
1094         hacks for os flavors) for sysdep dirs to try.
1095         * Makefile (distribute): Added config.sub.
1097 Wed Apr 29 23:06:06 1992  Brendan Kehoe  (brendan@churchy.gnu.ai.mit.edu)
1099         * sysdeps/unix/bsd/hp9k3bsd/sysdep.h,
1100         sysdeps/unix/bsd/sun/sun3/sysdep.h, sysdeps/unix/bsd/sun/sun4/sysdep.h,
1101         sysdeps/unix/bsd/vax/sysdep.h,sysdeps/unix/i386/sysdep.h,
1102         sysdeps/mach/i386/sysdep.h: Change all definitions of movl/mov to
1103         MOVE(s, d), for insn sets with d,s instead of s,d move insns.
1104         * sysdeps/unix/__getegid.S, sysdeps/unix/__geteuid.S,
1105         sysdeps/unix/__getppid.S: Use that in each of these.
1107 Wed Apr 29 17:58:21 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
1109         * io/getwd.c: Default PATH_MAX if not defined.
1111         * sysdeps/unix/getlogin.c, sysdeps/posix/ttyname.c: Make buffers
1112         only as big as needed, avoiding PATH_MAX.
1114         * sysdeps/posix/getcwd.c: Dynamically extend the buffer as we go,
1115         not afterwards; default PATH_MAX if not defined.
1117         * posix/execvp.c: Dynamically allocate an array on the stack for the
1118         path name, rather than using a fixed-size array.
1120         * pwd/putpwent.c: Print pw_dir field.
1122         * sysdeps/posix/mktemp.c: If the pid has changed, update OLDPID.
1124 Tue Apr 28 19:25:21 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
1126         * malloc/valloc.c [emacs]: #include "config.h"
1128 Thu Apr 23 13:55:34 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
1130         * sysdeps/m68k/68881/__drem.c: Define __drem, not drem.
1131         Call ____drem, not __drem.
1133         * malloc/realloc.c, malloc/malloc.c: Don't #define memcpy or memset
1134         if already #define'd.
1136 Tue Apr 21 04:16:56 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
1138         * malloc/Makefile: Moved include ../Rules after malloc.tar rules.
1139         They need $(routines), which Rules clears.
1141         * malloc/realloc.c (MIN): Renamed to min.  Conflicted with HPUX
1142         system header files.
1144         * Makefile (sysdep-subdirs): Is not called +sysdep-subdirs.
1146         * configure: Don't try to create config.status if . is not writable.
1148         * sysdeps/generic/printf_fp.c: Fixed padding loop condition for zero
1149         case.
1151         * math/math.h: Don't #include <float.h> for HUGE_VAL.
1152         Instead, #include <huge_val.h>.
1153         * stdlib/stdlib.h: Ditto.
1154         * math/math.h [__USE_GNU]: #include <nan.h> to get NAN value.
1155         * float.h: Removed.
1156         * Makefile (headers): Removed float.h and fl.h.
1157         * sysdeps/ieee754/huge_val.h, sysdeps/ieee754/nan.h,
1158         sysdeps/stub/huge_val.h, sysdeps/stub/nan.h, sysdeps/vax/huge_val.h:
1159         Created (from old fl.h files).
1161         * math/bsd/common_source/pow.c (pow_p): When checking if Y is an
1162         integer, don't let it overflow a `long int'.
1163         (pow): Check for NaN with __isnan, not (X != X).
1165 Tue Apr 21 02:26:19 1992  Brendan Kehoe  (brendan@cs.widener.edu)
1167         * sysdeps/unix/bsd/sun/sun4/__pipe.S,
1168         sysdeps/unix/bsd/vax/__wait3.S, sysdeps/unix/bsd/hp9k3bsd/__wait3.S:
1169         Use the ENTRY macro for each beginning
1171         * sysdeps/unix/sysdep.h, sysdeps/unix/bsd/hp9k3bsd/sysdep.h,
1172         sysdeps/unix/bsd/sun/sun3/sysdep.h,
1173         sysdeps/unix/bsd/sun/sun4/sysdep.h, sysdeps/unix/bsd/vax/sysdep.h,
1174         sysdeps/unix/i386/sysdep.h, sysdeps/unix/sysdep.h,
1175         sysdeps/unix/sysv/sysdep.h [SYSCALL, SYSCALL__, PSEUDO]: Modify to
1176         also receive the number of args the syscall takes; added for future
1177         ports that will require this information.
1179         * sysdeps/unix/i386/__pipe.S, sysdeps/unix/bsd/vax/__pipe.S,
1180         sysdeps/unix/bsd/sun/sun4/__pipe.S,
1181         sysdeps/unix/bsd/hp9k3bsd/__pipe.S, sysdeps/unix/i386/__brk.S,
1182         sysdeps/unix/bsd/sun/__getdents.S, sysdeps/unix/i386/__fork.S,
1183         sysdeps/unix/bsd/vax/__fork.S, sysdeps/unix/bsd/sun/sun4/__fork.S,
1184         sysdeps/unix/__setgid.S, sysdeps/unix/__setuid.S,
1185         sysdeps/unix/bsd/sun/sun3/__vfork.S,
1186         sysdeps/unix/bsd/sun/sun4/__vfork.S,
1187         sysdeps/unix/bsd/vax/__wait.S, sysdeps/unix/bsd/hp9k3bsd/__wait.S,
1188         sysdeps/unix/i386/__wait.S,
1189         sysdeps/unix/bsd/sun/sunos4/sys_wait4.S,
1190         sysdeps/unix/bsd/sun/sun3/sethostid.S,
1191         sysdeps/unix/bsd/sun/sun4/sethostid.S,
1192         sysdeps/unix/bsd/__sigvec.S, sysdeps/unix/bsd/sun/sun4/__sigvec.S,
1193         sysdeps/unix/sysv/i386/__sigret.S, sysdeps/unix/__getppid.S,
1194         sysdeps/unix/bsd/__access.S, sysdeps/unix/sysv/signal.S,
1195         sysdeps/unix/__getegid.S, sysdeps/unix/__geteuid.S,
1196         sysdeps/unix/bsd/bsd_getgrp.S, sysdeps/unix/bsd/__dup2.S,
1197         sysdeps/unix/bsd/__fchmod.S, sysdeps/unix/bsd/__fchown.S,
1198         sysdeps/unix/bsd/__flock.S, sysdeps/unix/bsd/__fstat.S,
1199         sysdeps/unix/bsd/__lstat.S, sysdeps/unix/bsd/__mkdir.S,
1200         sysdeps/unix/bsd/__readlink.S, sysdeps/unix/bsd/__rmdir.S,
1201         sysdeps/unix/bsd/__stat.S, sysdeps/unix/bsd/__symlink.S,
1202         sysdeps/unix/bsd/4.4/chflags.S, sysdeps/unix/bsd/4.4/fchflags.S,
1203         sysdeps/unix/bsd/4.4/sstk.S, sysdeps/unix/bsd/4.4/setlogin.S,
1204         sysdeps/unix/bsd/__getdtsz.S, sysdeps/unix/bsd/__getpgsz.S,
1205         sysdeps/unix/bsd/__setregid.S, sysdeps/unix/bsd/__setreuid.S,
1206         sysdeps/unix/bsd/__utimes.S, sysdeps/unix/bsd/ftruncate.S,
1207         sysdeps/unix/bsd/readv.S, sysdeps/unix/bsd/truncate.S,
1208         sysdeps/unix/bsd/vhangup.S, sysdeps/unix/bsd/writev.S,
1209         sysdeps/unix/bsd/__getpgrp.S, sysdeps/unix/bsd/__setpgrp.S,
1210         sysdeps/unix/bsd/__getrusag.S, sysdeps/unix/bsd/getprio.S,
1211         sysdeps/unix/bsd/getrlimit.S, sysdeps/unix/bsd/setprio.S,
1212         sysdeps/unix/bsd/__sigblock.S,
1213         sysdeps/unix/bsd/__sigpause.S, sysdeps/unix/bsd/__sigstmsk.S,
1214         sysdeps/unix/bsd/killpg.S, sysdeps/unix/bsd/sigstack.S,
1215         sysdeps/unix/bsd/rename.S, sysdeps/unix/bsd/__adjtime.S,
1216         sysdeps/unix/bsd/__setitmr.S, sysdeps/unix/bsd/__settod.S,
1217         sysdeps/unix/sysv/sys_stat.S, sysdeps/unix/sysv/sys_fstat.S,
1218         sysdeps/unix/sysv/__utssys.S, sysdeps/unix/sysv/utime.S,
1219         sysdeps/unix/sysv/__times.S, sysdeps/unix/sysv/i386/time.S,
1220         sysdeps/unix/sysv/alarm.S, sysdeps/unix/sysv/pause.S,
1221         sysdeps/unix/sysv/ulimit.S, sysdeps/unix/__chdir.S,
1222         sysdeps/unix/__chmod.S, sysdeps/unix/__chown.S,
1223         sysdeps/unix/__close.S, sysdeps/unix/__dup.S,
1224         sysdeps/unix/__fcntl.S, sysdeps/unix/__link.S,
1225         sysdeps/unix/__lseek.S, sysdeps/unix/__open.S,
1226         sysdeps/unix/__read.S, sysdeps/unix/__umask.S,
1227         sysdeps/unix/__unlink.S, sysdeps/unix/__write.S,
1228         sysdeps/unix/__ioctl.S, sysdeps/unix/__mknod.S,
1229         sysdeps/unix/acct.S, sysdeps/unix/chroot.S, sysdeps/unix/fsync.S,
1230         sysdeps/unix/ptrace.S, sysdeps/unix/swapon.S, sysdeps/unix/sync.S,
1231         sysdeps/unix/__execve.S, sysdeps/unix/__getgid.S,
1232         sysdeps/unix/__getpid.S, sysdeps/unix/__getuid.S,
1233         sysdeps/unix/_exit.S, sysdeps/unix/__kill.S,
1234         sysdeps/unix/inet/__gethstnm.S, sysdeps/unix/inet/__select.S,
1235         sysdeps/unix/inet/gethostid.S, sysdeps/unix/inet/sethostid.S,
1236         sysdeps/unix/inet/sethostnam.S, sysdeps/unix/inet/accept.S,
1237         sysdeps/unix/inet/bind.S, sysdeps/unix/inet/connect.S,
1238         sysdeps/unix/inet/getpeernam.S, sysdeps/unix/inet/getsocknam.S,
1239         sysdeps/unix/inet/getsockopt.S, sysdeps/unix/inet/listen.S,
1240         sysdeps/unix/inet/recv.S, sysdeps/unix/inet/recvfrom.S,
1241         sysdeps/unix/inet/recvmsg.S, sysdeps/unix/inet/send.S,
1242         sysdeps/unix/inet/sendmsg.S, sysdeps/unix/inet/sendto.S,
1243         sysdeps/unix/bsd/vax/__wait3.S, sysdeps/unix/bsd/hp9k3bsd/__wait3.S,
1244         sysdeps/unix/inet/setsockopt.S, sysdeps/unix/inet/shutdown.S,
1245         sysdeps/unix/inet/socket.S, sysdeps/unix/inet/socketpair.S: Added the
1246         argument count to every use of SYSCALL, SYSCALL__ or PSEUDO.
1248 Tue Apr 21 00:06:52 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
1250         * limits.h [__GNUC__ >= 2]: Use #include_next to get GCC's <limits.h>.
1252         * sysdeps/posix/sysd-stdio.c (__stdio_read, __stdio_write,
1253         __stdio_errmsg) [EINTR && EINTR_REPEAT]: Do EINTR looping.
1254         * sysdeps/unix/sysv/sysd-stdio.c: New.
1255         #define EINTR_REPEAT and #include posix/sysd-stdio.c.
1257         * stdlib/mbstowcs.c: Copy non-MB chars verbatim, instead of error.
1259         * sysdeps/generic/printf_fp.c: Note sign of exponent and take its
1260         absolute value for arithmetic.
1262         * stdlib/testmb.c: New.
1263         * stdlib/Makefile (tests): Added testmb.
1265         * sysdeps/generic/frexp.c [NAN]: If VALUE is infinite, return NAN.
1266         If VALUE is NAN, set errno to EDOM and return VALUE.
1267         If VALUE is zero, return it.  In all special cases, clear *EXP.
1269         * stdio/test-fseek.c: New.
1270         * stdio/Makefile (tests): Added test-fseek.
1272         * stdio/fseek.c: Position returned from io_funcs.seek is absolute,
1273         not EOF-relative when using SEEK_END.
1275         * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Set errno to
1276         EEXIST when we run out.
1278         * sysdeps/posix/sysd-stdio.c (exists): Use stat rather than open, so
1279         we don't need read access.
1281         * sysdeps/posix/mk-stdiolim.c (TMP_NAM): is 62 ** 3.
1283 Mon Apr 20 23:08:02 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
1285         * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Don't return
1286         the same name twice when the file doesn't exist.
1288         * stdio/vfprintf.c (%c format): Tests of LEFT for padding were
1289         reversed.
1291         * sysdeps/generic/printf_fp.c: If we have written some fractional
1292         digits, write zeros up to the precision.
1294         * sysdeps/unix/bsd/sun/sun4/start.c: Don't clear the FP until just
1295         before calling main.
1297 Wed Apr 15 01:43:38 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1299         * Makerules (libc.a): Don't depend on libc.a(...); only on lib.
1300         (lib-noranlib): Depend on libobjs.
1301         (+libobjs): New var.
1302         (libobjs): Depend on $(+libobjs).
1303         * Rules (others, tests): Don't depend on lib; on libc.a instead.
1305         * locale/C-numeric.c: grouping is "".
1307         * locale/localeconv.c: Set int_frac_digits.
1309         * locale/setlocale.c: Accept "" to mean "C".
1311         * sysdeps/unix/sysv/r4/bsddir.h: Protect against multiple inclusion.
1313         * sysdeps/unix/sysv/r4/Dist: Created; includes bsddir.h and
1314         sys_getdents.S.
1316         * sysdeps/unix/i386/sysdep.h [! HAVE_SYSCALLS]: Don't #inlcude
1317         unix/sysdep.h.
1318         * sysdeps/unix/sysv/sysdep.h, sysdeps/unix/sysdep.h
1319         (HAVE_SYSCALLS): #define.
1320         * sysdeps/unix/sysv/i386/sysdep.h: #include unix/sysv/sysdep.h, then
1321         unix/i386/sysdep.h.
1323         * sysdeps/unix/sysv/Makefile: Fixed typos.
1325         * sysdeps/unix/sysv/Dist: Add utmp.h.
1327         * sysdeps/posix/Makefile (mk-stdiolim): Explicit commands, to
1328         compile it without normal gcc flags.
1330         * configure (i386-sysv): unix/i386/sysv -> unix/sysv/i386.
1331         (i386-sysvr4): New configuration.
1333 Tue Apr 14 16:47:47 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1335         * setjmp/setjmp.h: Put sigjmp_buf before typedef for jmp_buf, which
1336         needs sigjmp_buf #ifdef __FAVOR_BSD.
1338         * posix/unistd.h (getgroups): Don't #define.
1340         * sysdeps/stub/ptrace.c: #include <stdarg.h>; declare AP in fn.
1341         Avoid "PTR a, b".
1343         * sysdeps/posix/sigintr.c: New; sets global sigset_t `_sigintr'.
1344         * sysdeps/posix/signal.c: Use SA_RESTART unless SIG is in _sigintr.
1345         * signal/sigintr.c: Removed.
1346         * sysdeps/stub/sigintr.c: New.
1348         * sysdeps/posix/sysd-stdio.c (__stdio_read, __stdio_write,
1349         __stdio_errmsg): Don't treat EINTR specially.
1351         * sysdeps/unix/Makefile (sys/param.h): Touch the target after mv'ing
1352         from the tmp file, so the file is newer than the directory.
1354         * sysdeps/generic/strcasecmp.c: Simplified loop; fixed returning
1355         wrong value on equal comparison.
1357         * stdlib/bsearch.c: Don't lose if NMEMB is zero.
1359         * sysdeps/unix/bsd/__times.c (timeval_to_clock_t): Microseconds are
1360         not milliseconds.
1362 Mon Apr 13 18:25:17 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1364         * sysdeps/generic/strncase.c: New.
1365         * string/Makefile (routines): Add strncase.
1366         * string/string.h [__USE_GNU]: Declare strncasecmp.
1368         * time/__tzset.c: Correctly default DST offset to one hour later
1369         than standard offset.
1371         * time/__tzset.c (tz_rule): Made `name' not be const.
1373         * string/tester.c [! HAVE_GNU_LD]: #define _sys_nerr and
1374         _sys_errlist to sys_nerr and sys_errlist.
1376         * stdio/test_rdwr.c: Fixed printf call missing arg.
1378         * posix/getgrps.c: #undef getgroups first.
1380         * misc/brk.c: Declare __brk.
1381         * misc/sbrk.c: Declare __sbrk.
1382         * misc/setreuid.c, misc/setregid.c: #include <unistd.h>.
1383         Fixed types in DEFUN in fn alias.
1384         * misc/getpgsz.c, misc/getdtsz.c, misc/gethstnm.c: #include <unistd.h>.
1385         * misc/getdents.c: Declare __getdirentries.
1386         * misc/mknod.c: #include <sys/stat.h>.
1387         * posix/unistd.h: Declare many __ versions of things.
1388         [__OPTIMIZE__]: Many #define foo(...) -> __foo(...).
1390         * io/fcntl.c: #include <sys/file.h>.
1392         * sysdeps/unix/Makefile: New hair to install other headers the
1393         system sys/param.h #includes.
1395         * time/__tzset.c (__tzfile_default): Declare.
1397         * time/sys/time.h (timezone): #define to __timezone.
1399         * sysdeps/ieee754/printf_fp.c: #undef outchar before #including
1400         generic/printf_fp.c.
1402         * stdio/__vfscanf.c: For %c, don't lose the first char.
1403         For %s, properly consume the last char when we hit max width.
1405         * posix/gnu/types.h (__dev_t, __mode_t): Made int rather than short.
1406         * io/gnu/stat.h (struct stat): Made st_dev, st_rdev, and st_mode use
1407         {,unsigned} short int instead of __dev_t/__mode_t.
1409 Fri Apr 10 13:55:07 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
1411         * setjmp/setjmp.h: Rearranged so that jmp_buf is defined before any
1412         prototypes are used.
1413         (longjmp): Declare with jmp_buf, not __jmp_buf, to win in BSD mode.
1414         (_longjmp): #define as __longjmp, not longjmp.
1415         (_longjmp, _setjmp): Take jmp_buf args, not __jmp_buf.
1416         Call sig{set,long}jmp with SAVEMASK==0, rather than __{set,long}jmp.
1417         * _longjmp.c, _setjmp.c: #define _BSD_SOURCE before all else.
1418         (_setjmp): Call sigsetjmp, not __setjmp.
1420         * io/sys/stat.h (__fchmod, __mknod): Fixed arg types.
1422         * io/fchmod.c: Fixed typo.
1424         * time/Makefile (\n): Renamed to nl.
1426         * Makerules (native-compile): New variable.
1427         * sysdeps/generic/Makefile, sysdeps/unix/Makefile,
1428         sysdeps/unix/bsd/Makefile: Use it in cmds for generator progs.
1430         * sysdeps/unix/sysv/sysv_termio.h (_SYSV_TAB3): New; same as XTABS.
1432         * sysdeps/unix/sysv/setrlimit.c: Removed extern decl of etext (unused).
1434         * sysdeps/unix/sysv/__tcgetatr.c, sysdeps/unix/sysv/tcdrain.c,
1435         sysdeps/unix/sysv/tcflow.c, sysdeps/unix/sysv/tcflush.c,
1436         sysdeps/unix/sysv/tcgetpgrp.c, sysdeps/unix/sysv/tcsendbrk.c,
1437         sysdeps/unix/sysv/tcsetattr.c, sysdeps/unix/sysv/tcsetpgrp.c:
1438         #include <sys/ioctl.h>
1440         * sysdeps/unix/sysv/__rmdir.c, sysdeps/unix/sysv/__mkdir.c,
1441         sysdeps/posix/writev.c: #include <string.h>.
1443         * sysdeps/posix/clock.c: Removed unused variable.
1445 Thu Apr  9 01:49:39 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
1447         * Version 1.03.
1449         * grp/testgrp.c: Print members correctly.
1451         * stdio/test-popen.c: Pipe to cat rather than more, and then check
1452         output file.  Better error checking.
1454         * setjmp/tst-setjmp.c: Notice if we didn't jump the right number of
1455         times.
1457         * signal/tst-signal.c, string/testcopy.c, stdio/bug[12345].c: Print
1458         msgs that more clearly say whether we won or lost.  Better error
1459         checking.
1461         * sysdeps/generic/printf_fp.c: Completely rewritten from scratch.
1462         Now uses Steele & White's "Dragon4" algorithm to do things right.
1464 Wed Apr  8 01:08:41 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
1466         * sysdeps/i386/__longjmp.c: Test for VAL==0 before clobbering regs.
1467         Wire V to AX, rather than DX.  Use "a" constraint on unused operand
1468         in jmp asm, rather than global reg var, to force value into AX.
1470 Tue Apr  7 17:51:25 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
1472         * posix/Makefile (headers): Added tar.h.
1473         * posix/tar.h: New file, from djm.
1475 Mon Apr  6 01:39:07 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
1477         * time/tzfile.c (struct ttinfo): Made `isstd' member be unsigned
1478         char instead of 1-bit bitfield.
1480         * time/tzfile.c (__tzfile_default): New function.
1481         * time/__tzset.c: Call it when no rule is given.
1482         * time/Makefile: Install posixrules just like localtime.
1483         * time/Makeconfig (posixrules, posixrules-file): New config vars.
1485         * time/time.h (struct tm): Add `tz_gmtoff', `tz_zone'.
1486         * time/localtime.c: Set those members.
1488         * sysdeps/ieee754/__drem.c: XOR the signs of X and the result,
1489         rather than setting the sign of the result to that of X.
1491         * sysdeps/unix/bsd/make-local_lim.c: Don't do MAXUPRC or MAXLINK if
1492         <sys/param.h> didn't define them.
1494         * sysdeps/posix/__sigvec.c: Fixed braino: SA_ONSTACK should be
1495         SA_RESTART.
1497         * pwd/getpw.c, pwd/putpwent.c: Use %u fmt for uid and gid (which are
1498         unsigned).
1500         * time/time.h (tzname, daylight, timezone): Don't #define to __.
1501         * time/tzfile.c, time/__tzset.c, time/localtime.c, time/strftime.c
1502         [! HAVE_GNU_LD]: #define __ to plain for above three vars.
1504 Thu Apr  2 03:39:04 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
1506         * locale/Makefile (routines): Add localeconv.
1508         * sysdeps/i386/jmp_buf.h: Removed `__dx' elt; replaced with `__pc'.
1509         __bp and __sp are PTRs.
1510         * sysdeps/i386/setjmp.c: Rewritten.  Use global reg vars to save regs.
1511         Use arithmetic on address of arg to get caller's PC, BP, and SP.
1512         * sysdeps/i386/__longjmp.c: Rewritten.  Use global reg vars to
1513         restore regs.
1515 Wed Apr  1 23:13:57 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
1517         * Moved sysdeps/unix/i386/{bsd,sysv} to
1518         sysdeps/unix/{bsd,sysv}/i386, and updated Implies files.
1519         Implied dirs come before parents, and we want unix/i386 before
1520         unix/{sysv,bsd}.
1522         * io/chown.c: Fixed types in fn alias.
1524 Wed Apr  1 14:18:58 1992  Torbjorn Granlund  (tege@mole.gnu.ai.mit.edu)
1526         * sysdeps/generic/memcmp.c
1527         (memcmp_common_alignment, memcmp_not_common_alignment):
1528         Move back do0 label to its original position, after the loop.
1529         Add comment before do0 labels.
1530         * sysdeps/generic/wordcopy.c (_wordcopy_fwd_aligned): Indentation.
1531         Add comment before do0 labels.
1533 Wed Apr  1 02:16:19 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1535         * sysdeps/unix/sysv/Makefile [subdir==misc]: Generate sysdep header
1536         termio.h from sysv_termio.h.
1538         * sysdeps/generic/make_siglist.c: New file.
1539         * sysdeps/generic/signame.[ch]: Symlink'd from /gd/gnu/lib.
1540         * sysdeps/generic/Makefile: Generate siglist.c with above.
1541         * sysdeps/generic/Dist: Add make_siglist.c, signame.[ch].
1543         * sysdeps/unix/bsd/Makefile (before-compile): Define properly as a
1544         variable.
1546         * sysdeps/unix/bsd/make_siglist.c: Generate #define _sys_siglist
1547         sys_siglist #ifndef HAVE_GNU_LD.
1548         * stdio/psignal.h, string/strsignal.h [! HAVE_GNU_LD]:
1549         #define _sys_siglist sys_siglist.
1551         * sysdeps/unix/sysv/signum.h (SIGCHLD): Changed #.
1552         (SIGUSR1, SIGUSR2, SIGPWR): Added.
1553         (_NSIG): Updated.
1555         * sysdeps/unix/sysv/utmp.h: New.
1557         * sysdeps/unix/bsd/getlogin.c: Moved to sysdeps/unix/getlogin.c.
1559         * sysdeps/unix/sysv/r4/bsddir.h, sysdeps/unix/sysv/r4/readdir.c,
1560         sysdeps/unix/sysv/r4/closedir.c, sysdeps/unix/sysv/r4/rewinddir.c,
1561         sysdeps/unix/sysv/r4/opendir.c, sysdeps/unix/sysv/r4/sys_getdents.S,
1562         sysdeps/unix/sysv/r4/Makefile: New.
1564         * sysdeps/unix/sysv/tcflow.c: New.
1566         * sysdeps/unix/sysv/sysv_termio.h: Add lots of bits; VMIN and VTIME
1567         elts of c_cc.
1568         * sysdeps/unix/sysv/__tcgetatr.c, sysdeps/unix/sysv/tcsetattr.c: Use
1569         VMIN and VTIME elts from sysv termio struct.
1571         * sysdeps/unix/sysv/__gethstnm.c: New.
1573         * sysdeps/unix/sysv/local_lim.h (NGROUPS_MAX): Define as 0.
1575         * sysdeps/unix/sysv/fcntlbits.h (struct __flock): Changed l_pid to
1576         short; added l_sysid.
1578         * sysdeps/unix/sysv/__sigact.c: New.
1580         * sysdeps/unix/sysv/r4/__access.S: New; just #include bsd/__access.S.
1582         * sysdeps/unix/sysv/Makefile: Fixed typo: sysdep-routines =>
1583         sysdep_routines.
1585         * sysdeps/unix/i386/sysv/__sigret.S,
1586         sysdeps/unix/i386/sysv/signal.S: New.
1588         * signal/Makefile (routines): Added sigret, __sigret.
1589         * signal/sigret.c: New; fn alias to __sigreturn.
1590         * sysdeps/stub/__sigret.c: New.
1592         * sysdeps/unix/i386/sysdep.h (PSEUDO): Use hard-coded numbers for
1593         lcalls insn--GAS bug.
1595         * sysdeps/unix/bsd/readdir.c (D_NAMLEN): New macro; define if not
1596         already defined, to return length of a direct elt.
1598         * sysdeps/stub/__getgrps.c: #include <limits.h>; if NGROUPS_MAX is
1599         defined as 0, always return 0, and no stub warning.
1601         * sysdeps/posix/system.c: Don't fail if sigprocmask fails with ENOSYS.
1603         * sysdeps/posix/sysd-stdio.c, sysdeps/stub/sysd-stdio.c: Doc fix.
1605         * sysdeps/posix/__gettod.c: Use CONST where appropriate and not
1606         where not.
1608         * sysdeps/i386/memchr.c, sysdeps/i386/strlen.c: Changed `repnz' to
1609         `repne'.
1611         * stdio/fgets.c: Notice returned char from __fillbf in length calc.
1613         * misc/sys/ioctl.h: Always define `struct sgttyb'.
1615         * stdlib/alloca.h: #undef __alloca, too.
1616         Always #define alloca == __alloca.
1618         * signal/signal.h (__kill): Fixed type in decl.
1619         * posix/unistd.h (setgid): Fixed type in decl.
1620         * posix/setpgid.c, posix/setgid.c, signal/kill.c, posix/fork.c,
1621           posix/vfork.c, posix/getpid.c, posix/getppid.c, posix/setsid.c:
1622         Fixed DEFUNs in fn aliases.
1623         * pwd/getpw.c: Fixed type in defn.
1625 Mon Mar 30 17:06:54 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
1627         * sysdeps/generic/printf_fp.c: In %f, decrement PREC for each
1628         leading zero in the fractional part.
1630         * sysdeps/ieee754/ieee754.h: Made all elts unsigned.
1631         * sysdeps/ieee754/__drem.c: Return NAN if Y is zero.
1632         * sysdeps/ieee754/ldexp.c: Rewritten.
1633         * sysdeps/ieee754/__logb.c: Handle denormalized numbers.
1635         * posix/sys/wait.h: #include <endian.h>
1637         * sysdeps/ieee754/fl.h: Fixed NAN and HUGE_VAL bit patterns; added
1638         code for little endian.
1640         * sysdeps/generic/frexp.c: Add one to exponent to give the result a
1641         digit before the point.  Use negative exponent rather than division.
1643         * math/__finite.c: Return zero for NaN.
1644         * math/math.h: Doc fix for same.
1646         * stdio/__getdelim.c: Correctly notice when the buffer is full.
1648         * sysdeps/unix/bsd/opendir.c: Pass arg to fcntl F_SETFD by value,
1649         not by reference.
1651         * time/__tzset.c: Correct default rule: M4.1.0,M10.5.0.
1653         * time/__tzset.c: Move ptr past Mfoobar syntax after parsing it.
1655         * time/__tzset.c: Properly parse the DST offset (or its absence).
1657         * sysdeps/unix/make_errlist.c: Write an #ifdef HAVE_GNU_LD, rather
1658         than testing it when compiling make_errlist.
1660         * time/tzfile.c (__tzfile_read): Convert transitions to host byte
1661         order.
1663         * Makeconfig (localtime-file): New config var.
1664         * time/Makefile (tzfile.o, zic.o): Use it for TZDEFAULT.
1666         * stdio/Makefile (tests): Added tstgetline.
1667         * stdio/tstgetline.c: New; test for getline.
1669         * Makeconfig (sysincludedir): Define and document.
1670         * sysdeps/unix/snarf-ioctls, sysdeps/unix/Makefile: Use
1671         ${sysincludedirs} in place of hard-coded /usr/include.
1673 Fri Mar 27 13:33:37 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
1675         * string/Makefile (headers): Added endian.h.
1677         * sysdeps/ieee754/__drem.c: Fixed typo which made X and Y be the
1678         same location.
1680         * sysdeps/generic/__lstat.c: #include <gnu-stabs.h>
1682         * stdio/internals.c (flushbuf): Increment target as well as offset
1683         when we write out the single char.
1685         * grp/Makefile (tests): Add testgrp (formerly bug1).
1687 Thu Mar 26 14:59:45 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
1689         * stdio/fread.c: Don't read directly when we need to seek first.
1691 Wed Mar 25 02:34:49 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
1693         * sysdeps/unix/bsd/alarm.c: There are 1000000 usecs in a sec.
1695         * sysdeps/unix/bsd/sun/ptrace.c: Removed.
1697         * stdio/fgets.c: For unbuffered stream, don't return EOF after
1698         reading some data.
1699         Added missing parens.
1701 Tue Mar 24 18:31:07 1992  Torbjorn Granlund  (tege@hal)
1703         * sysdeps/i386/memset.c: Move code that puts C in all four nibbles of
1704         X inside `if' statement.  Include sysdeps/i386/memset.c (not bzero).
1705         * sysdeps/i386/memchr.c: Rewrite to be faster.  Include
1706         sysdeps/generic/memchr.c (not bzero).
1708 Tue Mar 24 01:21:32 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1710         * io/Makefile (routines): Add getdirname.
1711         * posix/unistd.h [__USE_GNU]: Declare getdirname.
1712         * io/getdirname.c: New.
1714         * Makeconfig (stddef.h): Define and document.
1715         * Makefile (headers): Use $(stddef.h) for stddef.h.
1717 Mon Mar 23 18:04:56 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
1719         * sysdeps/posix/mktemp.c: Do PID % 100000 for 5 digits.
1721         * time/Makefile (tzfiles): Remove pacificnew; it won't compile.
1722         (distribute): Put it here instead.
1724         * stdio/printf-prs.c [HAVE_LONGLONG]: Fixed missed var name change
1725         from code snarf.
1727         * stdio/fgets.c: Return NULL when we get EOF.
1729         * posix/execvp.c, sysdeps/posix/putenv.c [! HAVE_GNU_LD]: Define
1730         __environ as environ.
1732         * sysdeps/unix/bsd/Makefile, sysdeps/unix/Makefile: In rules to
1733         compile generator programs, cd into $(objdir) first to avoid
1734         braindead cc clobbering foo.o in cwdir.
1736         * sysdeps/m68k/setjmp.c: Deref fpregs array in asm.
1738         * time/Makefile (zones-%): Fixed generated rules.
1740         * math/Makefile (libm.a): Use r cmd to ar.
1742         * time/Makefile (zones-%): In echo commands, put \\\\n outside of
1743         quotes instead of \\n inside single quotes.  SysV echo is braindead.
1745         * io/fchown.c, io/fchmod.c, misc/bsd-compat.c: Fixed DEFUNs in fn
1746         aliases.
1748         * time/Makefile (echo-zonenames): New target; tell user what all
1749         timezones defined in all zone files are.
1750         * Makeconfig (localtime): Comment about using above.
1752 Sun Mar 22 18:34:02 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
1754         * time/australasia (NZ): Updated rules.
1756 Sat Mar 21 01:00:49 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
1758         * stdio/printf-prs.c [__GNUC__]: Define HAVE_LONGLONG.
1760 Fri Mar 20 00:35:36 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
1762         * Version 1.02.
1764         * stdio/Makefile (routines): Add __getdelim, __getline.
1766         * sysdeps/unix/i386/start.c: No ../ in #include file name.
1768         * sysdeps/posix/sysd-stdio.c, sysdeps/stub/sysd-stdio.c
1769         (__stdio_seek): Doc fix.
1771         * sysdeps/posix/mk-stdiolim.c: Add one to L_tmpnam, for the null
1772         terminator.
1774         * sysdeps/posix/__dup2.c: Use an extra fcntl call to check that the
1775         first fd is valid.  Close the second fd before doing the dup.
1777         * pwd/pwdread.c, grp/grpread.c: Use __getline.  Ignore lines
1778         beginning with #.
1780         * Makeconfig (objdir): If $(ARCH) starts with a slash, don't prepend
1781         $(..).
1783 Thu Mar 19 21:36:57 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
1785         * Makefile (install-lib): Add Mcrt1.o.
1786         (Mcrt1.o): Create empty file.
1788 Wed Mar 18 16:00:18 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
1790         * Makeconfig (+link): Use $(libdir) for gnulib.
1792 Tue Mar 17 20:12:35 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1794         * math/bsd/common_source/mathimpl.h: Include <endian.h>.
1795         [__LITTLE_ENDIAN]: #define national.
1797         * stdio/__vfscanf.c: EOF at end of string is not
1798         an error.
1800         * stdio/tstscanf.c: Added new sscanf test.
1802         * stdio/vfprintf.c: For %#x, print 0x after padding 0s, not before.
1804         * stdio/fputs.c: Reverse size args to fwrite and test for returning
1805         LEN, rather than 1, so 0-length wins.
1807         * io/gnu/fcntl.h: Moved to sysdeps/unix/bsd/fcntlbits.h.
1808         * io/Makefile (headers), io/fcntl.h: gnu/fcntl.h -> fcntlbits.h.
1809         * sysdeps/stub/fcntlbits.h, sysdeps/unix/sysv/fcntlbits.h: New.
1811         * stdio/fopen.c (__getmode): Don't fall through in switch after 'a'
1812         case.
1814         * locale/C-ctype_ct.c (__ctype_b_C): Use symbolic constants.
1815         9..12 are not _NOgraph.
1817 Tue Mar 17 19:04:01 1992  Torbjorn Granlund  (tege@hal.gnu.ai.mit.edu)
1819         * string/testcopy.c: Fix typo in comment.
1821 Tue Mar 17 19:57:49 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1823         * sysdeps/generic/strstr.c, string/string.h, string/tester.c
1824         (strstr): Arguments were reversed.
1826 Tue Mar 17 18:52:39 1992  Torbjorn Granlund  (tege@hal.gnu.ai.mit.edu)
1828         * sysdeps/i386/memcopy.h (WORD_COPY_BWD): Divide nbytes by 4.
1829         * sysdeps/i386/memchr.c: Rewrite.  Handle zero length correctly.
1830         Don't ask gcc to allocate eax to two regs.
1832 Tue Mar 17 17:31:06 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1834         * posix/unistd.h (getpagesize): Declare as size_t.
1836         * Makeconfig (CC): Define unless origin is default.
1838         * stdio/__getdelim.c: Be sure to leave room for the terminating null.
1840         * string/testcopy.c: New version from tege.
1842         * malloc/dist-README: Changed mailing list addr to bug-glibc.
1844         * sysdeps/unix/bsd/__sigproc.c: Use right mask for SIG_UNBLOCK.
1846         * Makefile, Rules (clean, mostlyclean): Put - before rm commands.
1848 Tue Mar 17 11:14:40 1992  Torbjorn Granlund  (tege@hal.gnu.ai.mit.edu)
1850         * sysdeps/rs6000/memcopy.h (BYTE_COPY_BWD): Assign __nbytes.
1851         * sysdeps/m68k/memcopy.h (WORD_COPY_BWD): Copy memory, not just
1852         pointers.  Clean up switch expression.
1854 Mon Mar 16 05:09:23 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
1856         * posix/wordexp.c: New.
1858         * time/tzfile.c (__tzfile_read): Don't die if some of the sections
1859         of the datafile are empty.
1861         * stdio/getline.c, stdio/getdelim.c: Moved to
1862         __getline.c/__getdelim.c.
1863         New files with fn aliases.
1864         * stdio/stdio.h (__getline, __getdelim): Declare.
1866         * time/Makefile (zonenames): Hair to find the names of zones
1867         described by $(tzfiles).
1868         (install-data): Install zoneinfo/$(zonenames).
1869         Rules to make zones from tzfiles.
1870         [localtime] (zoneinfo/localtime): Make from zoneinfo/$(localtime).
1871         * Makeconfig (localtime): New user-frobbable variable.
1873 Sun Mar 15 00:01:05 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
1875         * Makerules (sysdep-Makefile): Do if ... else true to avoid bogus
1876         nonzero status.
1878         * Makefile: Denewlinify +sysdep-subdirs after including sysd-dirs.
1880         * sysdeps/vax/__infnan.c [!__GNUC__]: Error.
1882         * zic.c, scheck.c, emkdir.c, ialloc.c, private.h, tzfile.h: Snarfed
1883         from localtime3 dist.
1884         * time/Makefile (others): Added zic.
1885         (distribute): Added private.h, emkdir.c, ialloc.c, scheck.c.
1886         (install): Defined: zic, zdump.
1888         * Makeconfig (bindir): Define.
1889         * Makerules: Add rule to install $(install) in $(bindir).
1890         (+install): Include $(install) in $(bindir).
1892         * sysdeps/unix/Makefile: Moved siglist.c rules to unix/bsd/Makefile.
1893         * sysdeps/unix/make_siglist.c: Moved to bsd/.
1894         * sysdeps/unix/Dist: Remove it.
1895         * sysdeps/unix/bsd/Dist: Add it.
1897         * malloc/Makefile (malloc/gmalloc.c): Depend on headers and sources.
1899         * sysdeps/unix/bsd/sun/sun4/__sigvec.S: Doc fix.
1901         * sysdeps/stub/stty.c, sysdeps/stub/gtty.c: Include <stddef.h>.
1903         * sysdeps/unix/sysv/__fstat.c: Include sysv_stat.h.
1905         * misc/bsd-compat.c: Define _BSD_SOURCE rather than __FAVOR_BSD.
1906         (longjmp): Use function_alias_void.
1908         * time/Makefile (tzfile.o): Compile with
1909         -DTZDIR='"$(datadir)/zoneinfo"'.d
1911 Sat Mar 14 23:26:46 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
1913         * Makeconfig (INSTALL_DATA, INSTALL_PROGRAM, INSTALL): Don't define
1914         if already defined.
1916         * setjmp/longjmp.c: Use function_alias_void.
1918         * gnu-stabs.h (function_alias_void): New macro.
1920         * gnu-stabs.h [!HAVE_GNU_LD] (function_alias): Fixed not to loop.
1922 Fri Mar 13 17:20:19 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
1924         * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Include null
1925         terminator in length calculation.
1927         * stdio/fgets.c: Be sure to return NULL on error/eof for unbuffered
1928         stream.  If N==1, don't write the first char if !seen.
1929         When the buffer is empty, notice the effect of __fillbf after
1930         calling it, avoiding a (costly) no-op iteration.
1931         Don't return NULL for reading no chars; only for EOF or error.
1932         Don't write terminator at beginning of S if eof on first char.
1934         * malloc/Makefile (libmcheck.a), Makefile (crt0.o): Remove target
1935         first; don't use -f to ln.
1937         * posix/execl.c, posix/execv.c, sysdeps/posix/getenv.c,
1938         sysdeps/posix/system.c [HAVE_GNU_LD]: #define __environ environ
1940         * posix/unistd.h [__OPTIMIZE__] (execv): Removed defn.  Can't know
1941         whether to use __environ or environ.
1943         * io/fchown.c, io/chown.c, io/open.c, misc/select.c,
1944         signal/sigvec.c, time/adjtime.c: Fixed DEFUNs in fn aliases.
1946         * time/__tzset.c: Don't dereference NULL if getenv returns it.
1948 Thu Mar 12 16:01:33 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
1950         * sysdeps/ieee754/sqrt.c: Replaced undefined var ref `k' with constant.
1952         * sysdeps/i386/__longjmp.c: #include <stdlib.h>.
1954         * time/tzfile.c (__tzfile_compute): Use types[0] if TIMER falls
1955         between transitions[0] and transitions[1].
1956         Always set __tzname[INFO->isdst] to the name for INFO.
1958         * sysdeps/i386/__longjmp.c: Changed register names for gcc; eax/%eax
1959         -> ax.
1961         * sysdeps/unix/snarf-ioctls: Avoid infinite recursion.
1963 Wed Mar 11 00:16:18 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
1965         * Version 1.01.
1967         * Makefile (munch-init.c): Made $(objpfx)munch-init.c.
1969         * signal/sigvec.c, signal/sigaction.c, stdio/vsscanf.c: Fixed DEFUNs
1970         in fn aliases.
1972         * sysdeps/m68k/68881/68881-switch/switch.c: Merged vars have_fpu and
1973         test_fpu into one.
1975         * sysdeps/mach/i386/start.c, sysdeps/vax/setjmp.c,
1976         sysdeps/vax/__longjmp.c, sysdeps/vax/__infnan.c,
1977         sysdeps/unix/start.c, sysdeps/unix/bsd/sun/sun4/sigtramp.c,
1978         sysdeps/unix/bsd/sun/sun4/start.c,
1979         sysdeps/unix/bsd/hp9k3bsd/start.c, sysdeps/sparc/sqrt.c,
1980         sysdeps/rs6000/ffs.c, sysdeps/m88k/ffs.c, sysdeps/m68k/setjmp.c,
1981         sysdeps/m68k/__longjmp.c, sysdeps/m68k/68881/printf_fp.c,
1982         sysdeps/m68k/68881/atan2.c, sysdeps/m68k/68881/__logb.c,
1983         sysdeps/m68k/68881/68881-switch/switch.c, sysdeps/m68k/ffs.c,
1984         sysdeps/i386/memset.c, sysdeps/i386/memchr.c, sysdeps/i386/ffs.c,
1985         sysdeps/i386/bzero.c, sysdeps/i386/__longjmp.c, sysdeps/am29k/ffs.c
1986         [! __GNUC__]: Either include the generic (or in some cases, ieee754)
1987         version, or do a #error.
1989         * Rules: Null out `objects' at end to shrink environment some.
1990         (+objs): Define with := from $(objects).
1991         (clean): Use that instead of $(objects).
1993         * sysdeps/i386/setjmp.c: Doubled % where it wanted to be literal.
1995         * posix/getgrps.c, io/flock.c, io/mkdir.c, io/read.c, io/write.c,
1996         io/stat.c, misc/getdents.c, misc/mknod.c, misc/utimes.c: Fixed
1997         DEFUNs in fn aliases.
1999         * sysdeps/unix/bsd/hp9k3bsd/sysdep.S: Use # instead of kludge cookie.
2001         * posix/getegid.c: Fixed type in DEFUN.
2003         * time/tzfile.c (__tzfile_compute): If TIMER is before any
2004         transition in the file, use the first non-DST type, rather than the
2005         type of the first transition in the file.
2007 Tue Mar 10 20:01:55 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2009         * configure: Take optional -nfp arg.
2010         (news, sun3, hp300): Prepend m68k/68881 unless -nfp is given.
2011         * sysdeps/unix/bsd/hp9k3bsd/Implies: Don't specify 68881.
2013         * stdio/getdelim.c: When the buffer is empty, notice the effect of
2014         __fillbf after calling it, avoiding a (costly) no-op iteration.
2016         * sysdeps/vax/__memccpy.c: Fixed comments.
2018         * stdio/fmemopen.c: Set all fns and seen bit before we might call
2019         something that would care (fclose).
2021         * configure (sun3, sun-3): Mean sun3os4, not sun3os3.
2022         (sun3os3): Use just unix/bsd/sun/sun3/os3.
2023         * sysdeps/unix/bsd/sun/sun3/os3: New directory.
2024         (sysdeps/unix/bsd/sun/sunos3/__wait.S): Moved to there.
2025         * sysdeps/unix/bsd/sun/sun3/sysdep.h: Fixed; took hp9k3bsd/sysdep.h
2026         and changed movel foo, d0 to pea foo for syscall no.
2027         * sysdeps/unix/bsd/sun/sun3/__brk.S: Fixed pea addr mode.
2028         * sysdeps/unix/bsd/sun/sun3/sethostid.S: errnos.h, not gnu/errno.h.
2029         Use .stabs directly, not gnu-stabs.h (which uses `asm').
2030         * sysdeps/m68k/setjmp.c: Changed asm for first moveml, so it works
2031         on sun3.
2032         * sysdeps/unix/bsd/sun/sun3/start.c: Removed ../ from #include path.
2034 Sun Mar  8 16:33:33 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2036         * misc/makefile (headers): Added stab.h, stab.def.
2037         * Many files: Changed __GNU_STAB__ to HAVE_GNU_LD.
2039 Sat Mar  7 21:21:10 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2041         * time/mktime.c: Normalize the struct values before checking for out
2042         of range values.
2044 Fri Mar  6 11:43:35 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2046         * sysdeps/ieee754/ldexp.c: New.
2048         * stdio/internals.c (flushbuf): When priming the stream for writing,
2049         advance the target pos to account for chars gotten from the buffer.
2051         * sysdeps/generic/Makefile: For math routines, don't filter out
2052         __finite.
2054         * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Fixed bugs.
2056         * misc/Makefile (routines): Remove flock.
2058         * stdlib/strtod.c: Fixed typo in checking for exponent overflow.
2059         Do set *ENDPTR on overflow or underflow.
2061         * sysdeps/sparc/fl.h: Removed.  Should use ieee754 version.
2063         * sysdeps/generic/Makefile: For math routines, don't filter out
2064         __copysign, __scalb, __drem and __logb; and don't add support.
2066         * sysdeps/ieee754/__drem.c: New.
2067         * sysdeps/ieee754/sqrt.c: New.
2068         * sysdeps/stub/__drem.c: New.
2069         * sysdeps/stub/sqrt.c: New.
2070         * sysdeps/stub/__logb.c: New.
2071         * sysdeps/ieee754/__logb.c: New.
2073         * sysdeps/ieee754/__infnan.c: Include <float.h> and use NAN macro
2074         rather than cooking one up by hand.
2076         * sysdeps/unix/bsd/getlogin.c: Open /dev/tty, rather than using stdin.
2077         Make sure the name is always null-terminated.
2079 Thu Mar  5 17:11:46 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2081         * sysdeps/m68k/68881/__scalb.c: Removed.
2082         * sysdeps/m68k/68881/__math.h: Removed defn of __scalb.
2083         * math/math.h [__OPTIMIZE__]: Define __scalb to be ldexp.
2084         * math/__scalb.c: New; fn alias for ldexp.
2086         * stdio/Makefile (tests): Added bug4 and bug5.
2087         * stdio/bug4.c, stdio/bug5.c: Test cases from reported bugs just fixed.
2089         * stdio/internals.c (flushbuf): If nothing was written by the user,
2090         but there is previously gotten data, don't write anything out.
2092         * stdio/internals.c (seek_to_target): Call __stdio_check_offset first.
2094         * sysdeps/unix/sysv/sysv_termio.h: New file.
2095         * sysdeps/unix/sysv/Dist: Include it.
2096         * sysdeps/unix/sysv/tcsetattr.c, sysdeps/unix/sysv/tcsetpgrp.c,
2097         sysdeps/unix/sysv/tcsendbrk.c, sysdeps/unix/sysv/tcgetpgrp.c,
2098         sysdeps/unix/sysv/tcflush.c, sysdeps/unix/sysv/tcdrain.c,
2099         sysdeps/unix/sysv/__tcgetatr.c: New files.
2101         * stdio/internals.c (fillbuf): Don't set the put_limit on writable
2102         streams.  Wait for first write attempt to prime them, so we don't
2103         flush the unchanged data unnecessarily.
2105         * stdlib/exit.c: Look for NULL terminator on ld set, rather than
2106         using length word.
2108         * Makefile (headers): Remove stdarg.h and varargs.h.
2109         Users will get them from GCC.
2110         * stdio/printf.h: Include <stdarg.h> to use va_list.
2111         * stdio/stdio.h: Don't include <stdarg.h> with magic.
2112         Use PTR in place of __va_list in prototypes.
2113         * stdio/__vsscanf.c, stdio/vscanf.c, stdio/vfscanf.c,
2114         stdio/__vfscanf.c, stdio/vdprintf.c, stdio/vasprintf.c,
2115         stdio/vsprintf.c, stdio/vsnprintf.c, stdio/vprintf.c,
2116         stdio/vfprintf.c: Fixed DEFUNs.
2118         * sysdeps/ieee754/ieee754.h: New file; declares union ieee754_double.
2119         * sysdeps/ieee754/Dist: Add it.
2120         * sysdeps/ieee754/__copysign.c, sysdeps/ieee754/__infnan.c,
2121         sysdeps/ieee754/__isinf.c, sysdeps/ieee754/__isnan.c,
2122         sysdeps/ieee754/__printf_fp.c: Use it.
2124         * sysdeps/unix/sysv/uname.c: New.
2125         * sysdeps/unix/sysv/__utssys.S: New.
2126         * sysdeps/unix/sysv/Makefile (routines): Add __utssys.
2127         * sysdeps/unix/sysv/Dist: Add __utssys.S.
2129         * sysdeps/unix/sysv/__rmdir.c: New; runs `rmdir' shell command.
2131         * sysdeps/unix/sysv/__mkdir.c: New; runs `mkdir' shell command.
2133         * sysdeps/generic/__lstat.c: New; fn alias for __stat.
2135         * sysdeps/unix/sysv/__gethostname.c: New; uses uname.
2137         * sysdeps/unix/Makefile (sys/params.h): Protect with
2138         _GNU_SYS_PARAM_H, in case the system's file uses _SYS_PARAM_H itself.
2140         * stdio/internals.c (__stdio_check_offset): Call init_stream to make
2141         sure we have fns.
2143         * stdio/fread.c: Don't call __fillbf if the put_limit is past the
2144         beginning of the buffer; only if !seen, no buffer, or pushed back.
2146         * stdio/fopen.c (__getmode): Set create bit for "a" mode.
2148         * io/mkdir.c: #undef mkdir before fn alias.
2150         * time/tzfile.c (__tzfile_compute): Don't decrement I if it's zero.
2152         * Makefile (crt0.o): Use ln -f.
2154         * math/Makefile (install): Install libm.a.
2155         (libm.a): Make an empty archive.
2157 Wed Mar  4 19:54:50 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2159         * README.template: Added note about long filenames in dist.
2161         * io/Makefile (routines): flock -> __flock
2162         * flock.c: New file, fn alias.
2163         * sysdeps/unix/bsd/flock.S: Renamed to sysdeps/unix/bsd/__flock.S;
2164         made __flock.
2165         * sysdeps/mach/hurd/flock.c: Renamed to sysdeps/mach/hurd/__flock.c;
2166         made __flock.
2167         * sysdeps/stub/flock.c: Renamed to sysdeps/stub/__flock.c; made
2168         __flock.
2170         * time/time.h (__isleap): Fixed; every 400th year is not a leap
2171         year, not every 1000th.
2173         * stdio/internals.c (flushbuf): Increment the target position the
2174         amount the user wrote into the buffer, not the amount we wrote out
2175         to the file (which is greater if we read a block and modified it
2176         in the middle).
2178         * stdio/internals.c (flushbuf): Set get_limit to the beginning of
2179         the buffer for all streams, except when we have just read in a block.
2181 Sat Feb 29 15:56:22 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
2183         * posix/Makefile (others): Removed logname, id.
2184         * time/Makefile (others): Removed date.
2186         * sysdeps/unix/bsd/sun/sun4/start.c: Make an alias called `start'
2187         (no leading underscore, so it can't conflict with C symbols) for
2188         `_start'.
2190 Thu Feb 27 14:32:20 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
2192         * set-init.c: Look for NULL terminator on set.  ld is broken and
2193         doesn't set the length word correctly.
2195         * setjmp/_longjmp.c, signal/sigaction.c, signal/sigvec.c,
2196         signal/ssignal.c, string/bcmp.c, time/setitmr.c, posix/execve.c,
2197         posix/getegid.c, posix/geteuid.c, posix/getgid.c, posix/getuid.c,
2198         posix/getgrps.c, posix/setuid.c, posix/wait3.c, posix/wait4.c,
2199         posix/waitpid.c, io/lseek.c, io/open.c, io/read.c, io/write.c,
2200         resource/getrusage.c, misc/getpgsz.c, misc/gethstnm.c,
2201         misc/select.c: Fixed DEFUNs in fn aliases.
2203 Wed Feb 26 00:20:25 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
2205         * sysdeps/generic/Makefile (routines): Add asincos.
2207         * time/tzfile.c (__tzfile_compute): Set __tzname properly, so isdst
2208         is the right index into it.
2210 Tue Feb 25 01:42:16 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
2212         * sysdeps/unix/bsd/sun/sun4/sysdep.h (ENTRY): .align 2, not .align 4.
2213         This one is powers of two.
2215         * time/__tzset.c: If TZ is :FILE, try FILE and if __tzfile_read
2216         fails, then use defaults.
2218         * sysdeps/generic/Makefile (routines): Add sincos.
2220         * sysdeps/posix/cuserid.c: Set the result to the empty string on
2221         failure.
2223         * string/string.h, string/strings.h, sysdeps/i386/memchr.c: Fixed
2224         spelling in comment.
2226         * string/makefile (tests): Include (uncomment) testcopy.  We do have
2227         papers for it from tege.
2229         * malloc/dist-README: Fixed mailing list addr.
2231         * resource/sys/vtimes.h (struct vtimes): Renamed vm_outblk to
2232         vm_oublk; fixed comment.
2233         * sysdeps/generic/vtimes.c: Renamed here too.
2235         * Make-dist (README): Depend on version.c.
2237 Tue Feb 18 18:14:50 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
2239         * Version 1.00.
2241         * time/tzfile.c (__tzfile_compute): Fixed transition comparison.
2243         * sysdeps/unix/bsd/sun/sun3/Makefile: Fixed typo.
2245 Mon Feb 17 05:04:00 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
2247         * Version 0.6.
2249         * Makefile (distribute): Add Q+A.
2250         * Q+A: New doc file from rich@cygnus.com.
2252         * malloc/Makefile (distribute): Add mcheck-init.c.
2254 Mon Feb 17 00:39:38 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
2256         * sysdeps/unix/sysv/utime.c: Removed.
2257         * sysdeps/unix/sysv/utime.S: New file.
2259         * sysdeps/unix/sysv/signum.h: New file.
2261         * sysdeps/unix/sysv/local_lim.h: New file.
2263         * sysdeps/unix/sysv/sysv_stat.h: New file.
2264         * sysdeps/unix/sysv/__stat.c, sysdeps/unix/sysv/__fstat.c: New files.
2265         * sysdeps/unix/sysv/Makefile: New file.
2266         (+sysdep-routines): Define to sys_stat and sys_fstat.
2267         * sysdeps/unix/sysv/sys_stat.S, sysdeps/unix/sysv/sys_fstat.S: New
2268         files.
2269         * sysdeps/unix/sysv/Dist: Created to include sysv_stat.h,
2270         sys_stat.S, and sys_fstat.S.
2272         * sysdeps/stub/__setreuid.c: Include <sys/types.h>.
2274         * sysdeps/posix/__sigblock.c: Fixed typo.
2276         * stdio/internals.c (__flshfp): Don't return EOF if at EOF; only
2277         for errors.
2279         * signal/gnu/signal.h: Move #include <signum.h> outside repeat #ifdef.
2281         * sysdeps/unix/sysv/filebits.h: Created.
2283         * misc/Makefile (distribute): Define to bsd-compat.c.
2285         * misc/Makefile (headers): Remove filebits.h.
2286         * io/Makefile (headers): Put it here.
2288         * Makefile (+posix_dirs): Add io.
2289         * io/Makefile: New file for new subdir.
2290         Contains many headers and routines moved from posix.
2291         * posix/Makefile: Remove many headers and routines now in io.
2292         * Moved many files from posix to io.
2294         * stdlib/alloca.h: Get size_t from stddef.h.
2296         * misc/bsd-compat.c (getgroups): Removed.  Not needed, because gid_t
2297         is now the same size as int.
2299         * Makefile (distribute): Include NOTES.
2300         * NOTES: New file, infoized node from intro.texinfo about the
2301         feature-test macros.
2302         * README.template: Mention NOTES.
2304         * sysdeps/unix/bsd/sun/sun3/Makefile: include hp9k3bsd version.
2306         * Makeconfig: Use $(..) for config.status.
2308         * configure (i386-sysv): unix/i386/sysv, not unix/sysv/i386.
2309         * unix/i386/sysv/Implies: unix/sysv, not unix/i386.
2311 Sun Feb 16 00:42:53 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
2313         * Version 0.5.
2315         * posix/Makefile (headers): Remove confstr.h.
2316         (distribute): Define this instead to contain it.
2318         * ansidecl: Added copyright notice.
2320         * stdio/getdelim.c: New file.
2321         * stdio/getline.c (getsome): Renamed to getdelim and moved there.
2322         * stdio/Makefile (routines): Add getdelim.
2323         * stdio/stdio.h: Declare getdelim.
2325         * misc/gnu/file.h: Moved to sysdeps/unix/bsd/filebits.h.
2326         * sysdeps/stub/filebits.h: New file.
2327         * misc/Makefile: gnu/file.h is now filebits.h.
2328         * posix/fcntl.h: Changed #include.
2330         * stdio/getline.c (getsome): If MAX_CANON isn't defined, use a default.
2331         Don't leak old *LINEPTR storage if *N < 2.
2332         Don't bang *LINEPTR to NULL if realloc fails.
2334         * Makerules: Don't use override when nulling out sources, routines,
2335         and aux if they came from the environment.  Better not make with -e.
2337         * Makefile (sysdirs, Sysnames): Put outside of ifndef sysdirs.
2339         * string/Makefile (tests): No testcopy, pending papers.
2341         * Makefile (headers): No sysdep.h.
2342         (distribute): Here instead.
2343         (no-install): No longer needed.
2345 Sat Feb 15 17:10:38 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
2347         * Makefile (distribute): Add INSTALL.
2348         * Make-dist (INSTALL): Make from manual/maint.texinfo.
2349         (README): Make from README.template.
2351         * Makefile (+other-dirs): Removed inet.
2352         * sysdeps/unix/inet/Subdirs: Created, adding inet.
2354         * sysdeps/unix/sysv/setrlimit.c: Include stddef and errno.h.
2356         * math/drem.c, setjmp/longjmp.c, malloc/cfree.c, string/bcmp.c,
2357         time/getitmr.c, misc/ioctl.c: Fixed defuns in function_alias.
2359         * Makefile (headers): Put sysdep.h back.
2360         (no-install): And define this to it.
2361         * Makerules (+install): Filter out $(no-install) from the list.
2363         * string/testcopy.c: New test program for bcopy from tege.
2364         * string/Makefile (tests): Add it.
2366         * Makefile (sysdep-subdirs): Renamed to sysd-dirs.
2368         * Make-dist (tardir): Omit the release name; it made names too long.
2370 Sat Feb 15 12:53:02 1992  Torbjorn Granlund  (tege at mole.gnu.ai.mit.edu)
2372         * sysdeps/rs6000/memcopy.h (WORD_COPY_FWD, WORD_COPY_BWD):
2373         Use CTR register for looping (speed enhancement).  Don't emit
2374         labels, jump relative from `$' instead (makes multiple expansions
2375         possible).  Clean up indentation of asm code (were different in each
2376         macro).
2377         * sysdeps/rs6000/memcopy.h (WORD_COPY_BWD):
2378         Add asm output specs (were missing completely).
2380         * sysdeps/generic/{memcpy.c,memmove.c}: Make DSTP and SRCP unsigned
2381         (safer with non-ANSI compilers).
2383 Fri Feb 14 01:52:12 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
2385         * Version 0.4.1.
2387         * Makefile, Rules: Changed clean and clobber targets into
2388         mostlyclean, clean, and realclean.
2390         * Makeconfig: Added comments describing objdir/Makeconfig and
2391         editting Makeconfig.
2392         (prefix, libdir, INSTALL, INSTALL_DATA): New variables for installing.
2393         * Makerules (install): New target.
2394         * Makefile (+subdir_targets): Add subdir_install.
2395         (install): Depend on subdir_install.
2396         (install-lib): Define variable to install libc.a and crt0.o.
2397         * misc/Makefile (install-lib): Install bsd-compat.
2398         * malloc/Makefile (install-lib): Install mcheck-init.
2400         * Version 0.4.
2402 Thu Feb 13 21:39:31 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
2404         * sysdeps/unix/glue-ctype.c: Moved to unix/bsd.
2405         * sysdeps/unix/Makefile: Moved glue-ctype stuff to unix/bsd/Makefile.
2406         * sysdeps/unix/Dist: No glue-ctype.
2407         * sysdeps/unix/bsd/Dist: Here instead.
2409         * sysdeps/sparc/divrem.m4: Don't use insn aliases Sun as doesn't grok.
2411 Wed Feb 12 12:12:12 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
2413         * sysdeps/m68k/setjmp.c: Use m, rather than g, constraint when
2414         saving fp regs.
2416         * Renamed oodles of files, changed all the relevant Makefiles (I
2417         think).  File names now fit in 14 chars for losing System V.  Gag me
2418         with a death star.
2419         See =longnames for translations, and =shorten.el for method.
2421         * grp/initgroups.c: Removed redundant test.
2423         * malloc/mtrace.c: Use %p fmt for pointers.
2425 Tue Feb 11 02:04:39 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2427         * stdlib/alloca.h: New file.
2428         * stdlib/stdlib.h: Moved alloca decls there; #include <alloca.h>
2429         instead.
2430         * stdlib/Makefile (headers): Added alloca.h.
2432         * stdio/getline.c (getsome): Fixed bugs.
2434         * math/bsd/common_source/mathimpl.h: #define expm1 __expm1.
2435         * math/bsd/common_source/expm1.c: Renamed to __expm1.c
2436         * math/bsd/mc68881/expm1.s: Renamed to __expm1.s; renamed fn too.
2437         * math/expm1.c: New file, fn alias expm1 -> __expm1.
2439         * math/Makefile (routines): Add __rint.
2440         * math/rint.c: New file, fn alias rint -> __rint.
2441         * math/bsd/common_source/floor.c (rint): Renamed to __rint.
2442         * sysdeps/generic/Makefile: Remove __rint, not rint.
2444         * math/Makefile (BSDmath-files): Always include it, and don't depend
2445         on undependable things.
2447         * Makerules (sysdep-Makefile): Always include it, and make it
2448         without depending on make vars that might not be right yet.
2450 Mon Feb 10 00:55:58 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2452         * stdlib/stdlib.h: #undef alloca before declaring it.
2454         * sysdeps/sparc/__longjmp.S: Use be instead of bz.
2456         * sysdeps/unix/bsd/Dist: Add bsdtty.h.
2458         * tzfile.c (__tzfile_read): Don't allocate space for 0 leaps.
2459         Don't loop infinitely.
2461         * sysdeps/unix/Makefile (make-errnos.c): Use tr to eat newlines in
2462         errnos file.
2464         * sysdeps/unix/bsd/sun/sun4/__brk.S: Fix andn arg order.
2466         * posix/Makefile: Don't get getopt by vpath.  Turns out to be too
2467         much hassle for dist.  Just made symlinks in posix/ instead.
2469         * manual/Makefile: Renamed summary.out to summary.texinfo.
2471         * manual/summary.awk: New file, to make summary.out.
2472         Replaces `process-definitions.el'.
2473         * manual/Makefile (summary.out): Create using summary.awk.
2475         * manual/Makefile: Created.
2476         * Makefile, Make-dist: Use it to format and distribute the manual.
2478 Mon Feb 10 00:32:17 1992  Jim Meyering  (meyering@churchy.gnu.ai.mit.edu)
2480         * All Makefiles:
2481         Whenever using shell redirection to create a target,
2482         do not create the target directly like this
2484             foo: bar
2485                     process $< > $@
2487         That loses when `process' fails (interrupt, disk full, ...)
2488         and bar exists and looks up-to-date, but isn't.
2489         This sort of failure is particularly insidious when
2490         the initial error message is obscured by lots of subsequent
2491         output (echoed commands etc).
2493         Instead use rules like this
2495             foo: bar
2496                     process $< > $@-tmp
2497                     mv $@-tmp $@
2499         Using this paradigm, as long as process returns non-zero
2500         whenever it fails, the target won't be touched.
2502 Sun Feb  9 22:58:51 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2504         * posix/unistd.h (getopt): Fixed prototype.
2505         * sysdeps/generic/memset.c, stdio/vdprintf.c: Fixed DEFUNs.
2507         * Makerules (lib): Use $(RANLIB) for ranlib.
2508         * Makeconfig: Define it.
2510         * configure: Create config.status to set ARCH, if successful.
2511         * Makeconfig: include config.status ifndef ARCH.
2513 Thu Feb  6 20:57:10 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2515         * ansidecl.h (INCLUDE, STARTCOMMENT, ENDCOMMENT): New magic words.
2516         * sysdeps/m68k/68881/fl.h: Use new magic to snarf ieee754/fl.h during
2517         ansideclification.
2519         * sysdeps/ieee754/fl.h: New file, taken mostly from the old
2520         68881 file.  HUGE_VAL redone to be machine independent.
2521         (NAN): New macro for an IEEE NaN, done like HUGE_VAL.
2522         * sysdeps/m68k/68881/fl.h: Now #includes ieee754/fl.h, and overrides
2523         FLT_ROUNDS for 68881 magic.  NB: the #include is a prob. for install.
2525 Wed Jan 29 17:11:25 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
2527         * sysdeps/posix/getcwd.c: Don't use chdir; use a long ../../../...
2528         path name instead.
2530 Fri Jan 17 02:51:10 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
2532         * posix/Makefile (headers): Added getopt.h.
2533         (routines): Added getopt1.
2534         Get getopt* from /home/gd/gnu/lib by vpath.
2536         * Makerules (+ansideclificate): Don't assume . is in PATH.
2538 Thu Jan 16 18:43:05 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
2540         * posix/glob.c [sgi]: No alloca.h, after all.
2542 Wed Jan 15 14:17:37 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
2544         * termios/termios.h: Reworked to be compatible with 4.4BSD.
2545         * termios/speed.c, sysdeps/unix/bsd/{__tcgetattr,tcsetattr}.c: Store
2546         speeds as their own values (B9600==9600, etc.) and translate to BSD
2547         values only for ioctl.
2548         * termios/cfsetpseed.c: New fn to set both speeds at once (from 4.4).
2550 Tue Jan 14 21:18:10 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
2552         * sysdeps/unix/i386/__brk.S: __end, not ___end.
2553         Get the arg off the stack correctly.
2555         * sysdeps/unix/Makefile: Allow errnos like EL3HLT.
2557         * sysdeps/posix/{readv,writev}.c: Typos.
2559         * sysdeps/posix/__sigpause.c: Rewritten to know that sigset_t is a
2560         mask, and to pass a (sigset_t *) instead of sigset_t to sigsuspend.
2562         * sysdeps/i386/memset.c: Include <memcopy.h>.
2564         * sysdeps/generic/uname.c (uname): Save and restore errno if
2565         gethostname gets ENOSYS.
2567         * stdio/perror.c (perror): Check correctly for S == "".
2568         Check correctly for ERRNUM being in range.
2570         * find-sysdirs: Don't use fgrep -s, since USG apparently doesn't
2571         have that flag.  Just >/dev/null instead.
2573 Mon Jan 13 17:00:15 1992  Torbjorn Granlund  (tege at mole.gnu.ai.mit.edu)
2575         * sysdeps/generic/wordcopy.c (all four functions): Move do0 label to
2576         the ultimate store statement at the end of each function.  (Used to
2577         be in the loop.)
2579 Tue Jan  7 18:40:18 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
2581         * resource/sys/resource.h (struct rusage): Change `ru_outblock' to
2582         `ru_oublock'.
2584         * sysdeps/generic/stpcpy.c: Fixed off-by-one bug.
2586 Thu Jan  2 15:19:01 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
2588         * sysdeps/sparc/Dist: Add umul.S and mul.S.
2590 Tue Dec 31 15:33:39 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
2592         * signal/signal.h [__USE_GNU]: Add user-visible `sighandler_t' ==
2593         __sighandler_t.
2595         * termios/speed.c (speedtab): Made const.
2597         * posix/Makefile (routines): Add flock.
2599 Tue Dec 31 03:38:30 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
2601         * termios/speed.c: Accept and return speeds as actual baud rates.
2602         * termios/termios.h (B110, etc.): Define B110 as 110, etc.
2603         Likewise for _B110, etc.
2605 Thu Oct 24 16:19:49 1991  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
2607         * ansidecl: Put `M4OPTS=+quiet' in the environment make GNU m4 quiet.
2609 Sun Oct 20 19:31:28 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2611         * Make-dist (tardir): Define as `libc-RELEASE-VERSION', strings
2612         snarfed from version.c.
2613         ($(..)$(tardir)): Add rule to make as symlink to . (parent dir).
2614         [subdir] (dist), [parent] (dist.tar): Depend on that.
2615         [subdir] (tarsources), [parent] (+tsrcs): Add $(tardir)/ to files.
2617         * sysdeps/sparc/Makefile (distribute): Move data into Dist file.
2619 Fri Oct 18 15:27:58 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2621         * Makefile (subdirs): Add $(sysdep-subdirs), so sysdep makefiles can
2622         add subdirs.
2624         * posix/glob.c [sgi]: Use <sys/dir.h>.
2626         * stdio/fopen.c: If not appending, initialize the offset to 0.
2628         * sysdeps/generic/strcasecmp.c: Fixed losing braindead code.
2630 Tue Oct  8 15:27:54 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
2632         * Version 0.1.
2633         * This ChangeLog is lacking much information.
2634         * After this release, I hope to maintain the log well. 
2636 Fri Jul 26 18:02:57 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2638         * stdio/Makefile (routines): Remove _cleanup.
2640 Thu Jul 25 23:12:45 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2642         * stdio/memstream.c (close_memstream): Removed.
2643         (trim_buffer): New fn to be io_funcs->__close for memstreams.
2644         (open_memstream): Take arg char **BUFLOC.  Stuff it in
2645         stream->__fd, and store the location of the initial buffer in
2646         *BUFLOC.
2647         (enlarge_buffer): Keep *(char **) stream->__fd updated to be the
2648         location of the buffer.
2650 Tue Jul 23 14:11:29 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2652         * posix/glob.c: Don't #include <stddef.h> #ifdef sun.
2653         Is there anyone on the face of the planet other than me capable of
2654         implementing the ANSI C standard to spec????
2656         * posix/glob.c [DIRENT]: #include <sys/types.h> before <dirent.h>
2657         #ifdef USG.
2659 Mon Jul 22 17:06:24 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2661         * sysdeps/posix/make-stdio_limits.c: #include <posix1_limits.h>,
2662         not <posix_limits.h>.
2664         * README: Refer to COPYING.LIB, not COPYING.
2666         * config.libc: Renamed to `configure'.
2668 Local Variables:
2669 mode: change-log
2670 End: