]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog.1
Update nss tests to new skeleton
[thirdparty/glibc.git] / ChangeLog.1
CommitLineData
edf66db1 1Thu Sep 3 17:31:13 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 2
edf66db1
SP
3 * sysdeps/unix/bsd/setgroups.S: New file. How did this manage not
4 to exist already??
e215c478 5
edf66db1 6 * Version 1.04.
e215c478 7
edf66db1
SP
8 * sysdeps/generic/memmem.c (memmem): Fixed loop condition not to
9 use nonexistent variable.
e215c478 10
edf66db1 11 * string/string.h (memmem): Put const qualifier on args.
e215c478 12
edf66db1 13 * sysdeps/stub/sigaltstack.c (sigaltstack): Fix arg type.
e215c478 14
edf66db1 15 * setjmp/sigsetjmp.c: #undef sigsetjmp before defining the function.
e215c478 16
edf66db1 17Wed Sep 2 16:43:58 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 18
edf66db1
SP
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.
e215c478 23
edf66db1 24 * time/Makefile (routines): Add stime.
e215c478 25
edf66db1 26 * io/Makefile (routines): Add fchdir.
e215c478 27
edf66db1 28 * signal/Makefile (routines): Add sigaltstack.
e215c478 29
edf66db1 30 * string/Makefile (routines): Add memmem.
e215c478 31
edf66db1 32 * setjmp/Makefile (routines): Add sigsetjmp, _setjmp.
e215c478 33
edf66db1 34 * misc/Makefile (routines): Add getpass.
e215c478 35
edf66db1 36 * Makefile (distribute): Add NEWS.
e215c478 37
edf66db1
SP
38 * Makerules (ar-it) [! objdir]: Pass `ru' instead of `u' to ar.
39 Use $(..)libc.a instead of $(libc.a).
e215c478 40
edf66db1
SP
41 * sysdeps/unix/sysv/i386/linux/sysdep.h (PSEUDO): Call numbers are
42 SYS_*, not __NR_*.
e215c478 43
edf66db1
SP
44 * sysdeps/unix/sysv/i386/linux/__wait.S: Prepend extra _ to
45 `__waitpid' for jmp.
e215c478 46
edf66db1 47 * Makerules (check): New rule; alias for `tests'.
e215c478 48
edf66db1 49 * sysdeps/stub/__setregid.c: Args are gid_t, not int.
e215c478 50
edf66db1 51 * sysdeps/posix/readv.c: #include <string.h>.
e215c478 52
edf66db1
SP
53 * sysdeps/generic/printf_fp.c: If LDBL_DIG or LDBL_MAX_10_EXP is
54 defined by float.h, #define each to DBL_*.
e215c478 55
edf66db1 56Tue Sep 1 16:29:07 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 57
edf66db1 58 * sysdeps/unix/Makefile (syscall.h): Add missing backslashes.
e215c478 59
edf66db1
SP
60 * Makeconfig [!objdir && !..] (common-objpfx): Define as
61 `sysdeps/..'; The Almighty KludgeMeister 2000 wins again.
e215c478 62
edf66db1 63 * Makerules (sysdep-Makefile): Rename to sysd-Makefile.
e215c478 64
edf66db1 65 * Makeconfig (CC): Don't use -pipe by default.
e215c478 66
edf66db1
SP
67 * configure (switches): Put quotes around os-release and
68 os-version values.
e215c478 69
edf66db1 70Mon Aug 31 19:33:15 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 71
edf66db1 72 * sysdeps/stub/cbrt.c: New file.
e215c478 73
edf66db1 74 * sysdeps/generic/cabs.c: New file.
e215c478 75
edf66db1
SP
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.
e215c478 79
edf66db1 80Thu Aug 27 15:58:13 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
e215c478 81
edf66db1 82 * malloc/malloc.h [! __STDC__] (ptrdiff_t): #define.
e215c478 83
edf66db1 84Wed Aug 26 18:15:47 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 85
edf66db1
SP
86 * malloc/free.c (__free): Rename to _free_internal.
87 (free), malloc/malloc.c (morecore): Change callers.
88 * malloc/malloc.h: Change decl.
e215c478 89
edf66db1 90Tue Aug 18 17:38:13 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 91
edf66db1 92 * sysdeps/generic/__copysign.c: New file.
e215c478 93
edf66db1
SP
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.
e215c478 97
edf66db1
SP
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.
e215c478 101
edf66db1
SP
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.
e215c478 107
edf66db1 108Fri Aug 14 13:28:39 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 109
edf66db1
SP
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.
e215c478 118
edf66db1
SP
119 * sysdeps/unix/Makefile (sysdep_headers): Add
120 $(sys/param.h-includes) to this instead of to headers.
e215c478 121
edf66db1 122Thu Aug 13 18:30:58 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 123
edf66db1
SP
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.
e215c478 128
edf66db1 129 * posix/glob/Makefile.in (Makefile): Remove rule.
e215c478 130
edf66db1 131Wed Aug 12 16:12:52 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 132
edf66db1 133 * sysdeps/sparc/jmp_buf.h: Deansideclized.
e215c478 134
edf66db1
SP
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??
e215c478 139
edf66db1 140Tue Aug 11 15:01:50 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 141
edf66db1 142 * posix/getconf.c (main): Cast printf field with arg to int.
e215c478 143
edf66db1 144 * Makefile (distribute): Remove ansidecl, ansidecl.m4.
e215c478 145
edf66db1 146 * posix/glob.c [_AIX]: Don't declare alloca.
e215c478 147
edf66db1 148Mon Aug 10 17:09:40 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 149
edf66db1 150 * sysdeps/m68k/fpu/__math.h (__expm1): Define just like expm1.
e215c478 151
edf66db1
SP
152 * sysdeps/unix/ioctls-tmpl.c [SMIOSTATS, SMIOGETREBOOT0,
153 ZIOCBCMD]: Include headers for these.
e215c478 154
edf66db1 155Fri Aug 7 16:01:43 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 156
edf66db1 157 * string/tester.c (main): Use sys_nerr and sys_errlist, not _sys_*.
e215c478 158
edf66db1 159 * stdio/stdio.h [__USE_GNU] (_sys_nerr, _sys_errlist): Declare.
e215c478 160
edf66db1
SP
161 * string/strerror.c, stdio/perror.c
162 [HAVE_GNU_LD] (_sys_errlist, _sys_nerr): Remove decls.
e215c478 163
edf66db1
SP
164 * stdio/memstream.c (enlarge_buffer): Notice when target is -1 and
165 don't treat it as a huge value.
e215c478 166
edf66db1 167 * stdio/tst-printf.c: #if 0 code that tickles printf_fp bugs.
e215c478 168
edf66db1 169 * grp/testgrp.c: Don't bomb if uid not in passwd file.
e215c478 170
edf66db1 171 * stdlib/tst-strtol.c (tests): C-t on LONG_MIN and LONG_MIN-1 elts.
e215c478 172
edf66db1
SP
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!
e215c478 176
edf66db1 177Thu Aug 6 18:46:24 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 178
edf66db1 179 * stdio/bug3.c (main): Define ansideclifily.
e215c478 180
edf66db1 181 * sysdeps/unix/bsd/sun/sparc/__pipe.S: Define __pipe, not ___pipe.
e215c478 182
edf66db1 183 * math/test-math.c (main): Remove unused vars.
e215c478 184
edf66db1 185 * io/flock.c: #include <sys/file.h>, and not fcntl.h or sys/types.h.
e215c478 186
edf66db1 187 * sysdeps/m68k/fpu/__math.h (__rint): Define just like rint.
e215c478 188
edf66db1 189 * math/math.h (__rint): Declare.
e215c478 190
edf66db1 191 * configure (esix*): base_os=unix/sysv.
e215c478 192
edf66db1 193 * dirent/getdents.c: #include <dirent.h>.
e215c478 194
edf66db1 195 * Rules (subdir): Avoid TAB before # at end of defn.
e215c478 196
edf66db1 197 * sysdeps/unix/bsd/bsd4.4/__wait3.c: Last arg type is struct rusage *.
e215c478 198
edf66db1 199Tue Aug 4 18:19:43 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 200
edf66db1 201 * sysdeps/ieee754/Makefile: Removed.
e215c478 202
edf66db1 203 * math/math.h: Declare __expm1.
e215c478 204
edf66db1 205Mon Aug 3 13:02:05 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 206
edf66db1 207 * sysdeps/ieee754/cabs.c (cabs, z_abs): Members of structure have __.
e215c478 208
edf66db1 209 * sysdeps/unix/bsd/seq386: Remove directory.
e215c478 210
edf66db1 211Thu Jul 30 15:42:01 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 212
edf66db1 213 * sysdeps/unix/bsd/sun/sparc/sigcontext.h: Deansideclized.
e215c478 214
edf66db1
SP
215 * sysdeps/unix/bsd/sun/sunos4/__wait4.c: Make last arg struct rusage
216 instead of PTR.
e215c478 217
edf66db1 218 * sysdeps/unix/morecore.c (__default_morecore): Make arg ptrdiff_t.
e215c478 219
edf66db1 220 * sysdeps/ieee754/cabs.c (cabs, z_abs): Use `struct __complex' for arg.
e215c478 221
edf66db1 222 * sysdeps/generic/pow.c: #include <limits.h>.
e215c478 223
edf66db1 224 * sysdeps/generic/mathimpl.c: #include <math.h> before frobnication.
e215c478 225
edf66db1
SP
226 * misc/getusersh.c (okshells): Make const.
227 (initshells): Properly declare static.
e215c478 228
edf66db1
SP
229 * sysdeps/unix/bsd/__tcgetatr.c: Cast sg_[io]speed to (unsigned char)
230 to avoid gcc warnings.
e215c478 231
edf66db1
SP
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.
e215c478 246
edf66db1 247 * sysdeps/generic/ffs.c: #include <string.h>, not <bstring.h>.
e215c478 248
edf66db1
SP
249 * posix/glob/Makefile.in (Makefile): Depend on config.status; invoke
250 it directly instead of using $(SHELL).
e215c478 251
edf66db1 252 * posix/glob.c [! USG]: #include <sys/types.h> before <sys/dir.h>.
e215c478 253
edf66db1 254Tue Jul 28 17:54:23 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 255
edf66db1 256 * sysdeps/unix/bsd/ultrix42: Renamed to ultrix4.
e215c478 257
edf66db1
SP
258 * sysdeps/unix/sysv/isc2.2/__rename.S: New.
259 * configure (isc*): base_os=unix/sysv.
e215c478 260
edf66db1
SP
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.
e215c478 264
edf66db1 265Mon Jul 27 18:01:30 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 266
edf66db1 267 * configure: Remove redundant test to set os_used.
e215c478 268
edf66db1 269Sun Jul 26 17:03:31 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 270
edf66db1
SP
271 * README.template: Don't mention Q+A.
272 * Makefile (distribute): Remove Q+A.
e215c478 273
edf66db1
SP
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.
e215c478 280
edf66db1
SP
281 * posix/glob.c [_AIX]: #pragma alloca first thing.
282 [ANSI_STRING]: Remove #define's for index et al.
e215c478 283
edf66db1 284Thu Jul 23 21:49:53 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 285
edf66db1
SP
286 * misc/getpass.c: New.
287 * posix/unistd.h (getpass): Declare.
e215c478 288
edf66db1
SP
289 * posix/unistd.h (getusershell, setusershell, endusershell): Declare.
290 * misc/Makefile (routines): Add getusersh.
291 * misc/getusersh.c: New.
92c3af3c 292
edf66db1 293Tue Jul 14 20:03:57 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 294
edf66db1
SP
295 * stdlib/Makefile (tests): Add testdiv.
296 * stdlib/testdiv.c: New.
92c3af3c 297
edf66db1
SP
298 * sysdeps/unix/sysv/i386/linux/{rename,__mkdir,__rmdir,__dup2,
299 getpgrp,__setpgrp,setsid}.S: New files.
92c3af3c 300
edf66db1
SP
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.
92c3af3c 304
edf66db1
SP
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.
92c3af3c 308
edf66db1
SP
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).
e215c478 312
edf66db1 313Mon Jul 13 17:41:46 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 314
edf66db1 315 * sysdeps/unix/sysv/i386/linux/sysdep.[hS]: New files.
e215c478 316
edf66db1
SP
317 * configure (linux*): base_os=unix/sysv
318 (gnu*, linux*): Always set --with-gnu-ld and --with-gnu-as.
e215c478 319
edf66db1
SP
320 * stdio/obstream.c: #include <string.h>
321 (obstack_vprintf): Use bzero rather than memset.
e215c478 322
edf66db1
SP
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'.
e215c478 326
edf66db1 327Thu Jul 9 21:27:39 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 328
edf66db1
SP
329 * stdio/stdio.h (open_obstack_stream, obstack_printf,
330 obstack_vprintf): Declare.
e215c478 331
edf66db1
SP
332 * posix/glob.c [STDC_STRINGS]: Don't test this.
333 [! ANSI_STRING]: Put memcpy, strrchr, memset defns here instead.
e215c478 334
edf66db1 335 * posix/glob/Makefile.in (glob.o, fnmatch.o): / after $(srcdir).
e215c478 336
edf66db1 337Tue Jul 7 03:11:23 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 338
edf66db1 339 * stdio/Makefile (routines): Add obstream.
e215c478 340
edf66db1
SP
341 * Makerules (%.o: %.S, %.o: %.c): If using gcc, put the file name
342 before the options on the command line.
e215c478 343
edf66db1
SP
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.
e215c478 350
edf66db1 351 * stdio/glue.c: Add comments.
e215c478 352
edf66db1 353 * stdio/printf.h (struct printf_info.spec): Make unsigned char.
e215c478 354
edf66db1 355 * stdio/stdio.h (__validfp): Fixed glued-stream snarfing.
e215c478 356
edf66db1 357Mon Jul 6 20:00:47 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 358
edf66db1 359 * sysdeps/i386/jmp_buf.h: Deansideclized.
e215c478 360
edf66db1
SP
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).
e215c478 364
edf66db1 365Sat Jul 4 20:44:42 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 366
edf66db1 367 * posix/glob/Makefile.in (glob.o, fnmatch.o): Put $(srcdir) on deps.
e215c478 368
edf66db1 369Wed Jul 1 00:13:40 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 370
edf66db1 371 * sysdeps/generic/strstr.c: If NEEDLE is "", return end of HAYSTACK.
e215c478 372
edf66db1 373 * string/tester.c (main): Remove decls of sys_nerr and sys_errlist.
e215c478 374
edf66db1
SP
375 * configure: Accept --prefix=*, --exec_prefix=* options.
376 Set values in config.make and config.status.
e215c478 377
edf66db1 378 * io/umask.c: Fixed return type in fn alias.
e215c478 379
edf66db1
SP
380 * posix/glob.c [! ANSI_STRING]: #define strcoll to strcmp.
381 Remove extra decls of free, qsort, malloc, and realloc.
e215c478 382
edf66db1 383 * dirent/alphasort.c: #include <string.h>, and not <stdlib.h>.
e215c478 384
edf66db1
SP
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.
e215c478 388
edf66db1 389 * configure: Make config.status executable.
e215c478 390
edf66db1 391Tue Jun 30 21:14:53 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 392
edf66db1
SP
393 * configure: Add --os-release=* and --os-version=* options. Record
394 settings (which might be automagically guessed) in config.status.
e215c478 395
edf66db1 396 * misc/mknod.c: Use __mode_t for arg in fn alias.
e215c478 397
edf66db1 398 * posix/unistd.h (setregid): Declare to take __gid_t args.
e215c478 399
edf66db1 400 * sysdeps/unix/bsd/i386/__wait3.S: Don't use lcall insn gas barfs on.
e215c478 401
edf66db1 402 * posix/vfork.c: Move to sysdeps/generic/.
e215c478 403
edf66db1 404 * Rules (others, tests): Export them.
e215c478 405
edf66db1 406 * io/umask.c, io/mkdir.c, io/chmod.c: Use mode_t not int in arg decls.
e215c478 407
edf66db1 408 * sysdeps/i386/ffs.c: #include <string.h>, not <bstring.h>.
e215c478 409
edf66db1 410 * stdio/vfscanf.c: Use function_alias.
e215c478 411
edf66db1 412 * stdio/vsscanf.c: Use va_list, not PTR, in arg decl in fn alias.
e215c478 413
edf66db1
SP
414 * sysdeps/unix/i386/sysdep.h (PSEUDO): Enough backslashes and
415 semicolons.
e215c478 416
edf66db1
SP
417 * stdio/stdio.h: For __gnuc_va_list, #test __GNUC_VA_LIST, not
418 __va_list_defined.
e215c478 419
edf66db1 420 * stdio/fmemopen.c: Use memchr to find NUL for append mode.
e215c478 421
edf66db1
SP
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.
e215c478 428
edf66db1 429Sun Jun 28 19:01:01 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 430
edf66db1 431 * stdio/fseek.c: Fail with EINVAL for a negative file pos.
e215c478 432
edf66db1 433Fri Jun 26 00:07:53 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 434
edf66db1
SP
435 * Makeconfig (stdarg.h): New variable.
436 * Makefile (headers): Add $(stdarg.h).
e215c478 437
edf66db1 438 * stdio/stdio.h: Change __va_list to __gnuc_va_list in decls.
e215c478 439
edf66db1
SP
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.
e215c478 443
edf66db1 444 * sysdeps/i386/bzero.c: Include string.h, not bstring.h.
e215c478 445
edf66db1 446Thu Jun 25 21:01:40 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 447
edf66db1
SP
448 * stdio/perror.c, string/strerror.c (_sys_errlist, _sys_nerr): Don't
449 declare #ifndef HAVE_GNU_LD.
e215c478 450
edf66db1 451 * stdio/fwrite.c: Cast arg to write io func to const char * (from uns).
e215c478 452
edf66db1
SP
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.
e215c478 456
edf66db1
SP
457 * sysdeps/unix/morecore.c (__default_morecore): Deansideclized.
458 * malloc/*.c: Only #include <malloc.h> #ifndef _MALLOC_INTERNAL.
e215c478 459
edf66db1 460Wed Jun 24 19:09:04 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 461
edf66db1
SP
462 * sysdeps/unix/snarf-ioctls: Avoid looking at a few particular
463 headers which tend to mislead us.
e215c478 464
edf66db1 465 * Makefile (distribute): Add COPYING.
e215c478 466
edf66db1
SP
467 * configure (Makefile): When invoking make in srcdir, set ARCH
468 rather than objdir on the cmd line.
e215c478 469
edf66db1
SP
470 * posix/glob.c [DIRENT] (direct): Don't define to dirent.
471 [! DIRENT] (direct): Define to dirent.
e215c478 472
edf66db1
SP
473 * Make-dist [!subdir] (+tsrcs): Don't include $(distribute). It was
474 already included above.
e215c478 475
edf66db1 476Mon Jun 22 16:58:34 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 477
edf66db1 478 * Makerules (sysdep_routines): Export it.
e215c478 479
edf66db1 480Wed Jun 17 17:58:05 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 481
edf66db1
SP
482 * posix/glob.c (my_realloc): Test only __GNU_LIBRARY__. Can't trust
483 STDC_HEADERS.
e215c478 484
edf66db1 485Tue Jun 16 20:20:01 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 486
edf66db1
SP
487 * resource/sys/resource.h (enum __rlimit_resource): Added MEMLOCK,
488 NPROC, OFILE.
e215c478 489
edf66db1
SP
490 * posix/Makefile (glob.tar): Include Makefile.in & configure, and not
491 Makefile.
492 (glob/configure): New rule.
e215c478 493
edf66db1
SP
494 * posix/glob/Makefile: Moved to posix/glob/Makefile.in.
495 (VPATH, srcdir, CPPFLAGS): Define to be replaced by autoconf.
e215c478 496
edf66db1 497 * posix/glob.c: Rearranged conditionals for use with autoconf.
e215c478 498
edf66db1 499Thu Jun 11 15:47:43 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 500
edf66db1 501 * sysdeps/unix/bsd/sun/sparc/start.c: Added alias for start -> __start.
e215c478 502
edf66db1 503Tue Jun 9 20:15:12 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 504
edf66db1
SP
505 * sysdeps/posix/rename.c: Return failure and don't remove the old
506 link if the link failed with other than EEXIST.
e215c478 507
edf66db1
SP
508 * posix/glob/Makefile: Fixed copyright notice.
509 (realclean): Don't remove ~ backup files.
e215c478 510
edf66db1 511Thu Jun 4 16:41:56 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 512
edf66db1
SP
513 * time/Makefile (install-data): Don't include zoneinfo/.
514 Makerules already makes sure the necessary directories exist.
e215c478 515
edf66db1
SP
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.
e215c478 519
edf66db1 520 * malloc/malloc.h (mtrace): Declare.
e215c478 521
edf66db1
SP
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.
e215c478 527
edf66db1
SP
528 * io/ftw.h, io/ftw.c: New.
529 * io/Makefile (headers): Added ftw.h.
530 (routines): Added ftw.
e215c478 531
edf66db1 532Tue Jun 2 21:49:22 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 533
edf66db1
SP
534 * sysdeps/unix/bsd/signum.h (SIG_ERR, SIG_DFL, SIG_IGN): Use
535 __sighandler_t.
e215c478 536
edf66db1 537 * posix/glob.c (__ptr_t): Define.
e215c478 538
edf66db1 539Thu May 28 06:57:14 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 540
edf66db1 541 * sysdeps/m68k/jmp_buf.h: Don't use PTR.
e215c478 542
edf66db1 543Wed May 27 18:09:40 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 544
edf66db1
SP
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.
e215c478 548
edf66db1 549 * posix/unistd.h (_SC_2_FORT_RUN, _SC_2_LOCALDEF): Define.
e215c478 550
edf66db1 551 * posix/unistd.h: Define _POSIX2_* without #ifdef __USE_POSIX2.
e215c478 552
edf66db1 553 * posix/unistd.h (_POSIX2_FORT_DEV): Removed.
e215c478 554
edf66db1 555 * posix/fnmatch.h (FNM_FILE_NAME): Alias for FNM_PATHNAME.
e215c478 556
edf66db1 557Tue May 26 00:39:39 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 558
edf66db1
SP
559 * time/Makefile (install-data): Include zoneinfo/, so the directory
560 gets made.
e215c478 561
edf66db1
SP
562 * Makeconfig (+gcc-nowarn): Define to -w if using gcc.
563 * time/Makefile (tz-cc): Use it to suppress warnings for grody code.
e215c478 564
edf66db1
SP
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.
e215c478 568
edf66db1 569 * Makerules (%/): Added generic mkdir rule.
e215c478 570
edf66db1
SP
571 * posix/Makefile (install-lib): Define to libposix.a.
572 (libposix.a): Create empty archive.
e215c478 573
edf66db1 574 * posix/Makefile (distribute): Added utsnamelen.h.
e215c478 575
edf66db1
SP
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.
e215c478 580
edf66db1
SP
581 * sysdeps/unix/bsd/sun/sunos4/utsnamelen.h,
582 sysdeps/unix/bsd/sun/sunos4/uname.S: New.
e215c478 583
edf66db1
SP
584 * configure: Only do hacking to snarf uname info if the config uses
585 the generic uname implementation.
e215c478 586
edf66db1
SP
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.
e215c478 590
edf66db1
SP
591 * sysdeps/unix/bsd/sun/sunos411: Renamed back to .../sunos4.
592 * sysdeps/unix/bsd/bsd44: Renamed to .../bsd4.4.
e215c478 593
edf66db1
SP
594 * Makeconfig: include $(objpfx)configparms instead of
595 $(objdir)/Makeconfig.
596 Define objpfx as soon as objdir is defined, so we can use it.
e215c478 597
edf66db1 598 * sysdeps/generic/uname.c: Use UNAME_* from config-name.h.
e215c478 599
edf66db1 600Mon May 25 19:33:07 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 601
edf66db1
SP
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.
e215c478 612
edf66db1
SP
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.
e215c478 616
edf66db1
SP
617 * stdio/stdio.h: Replaced #include <stdarg.h> with magic.
618 Properly use __va_list in prototypes.
e215c478 619
edf66db1
SP
620 * Makeconfig (exec_prefix): Define.
621 (libdir, includedir, bindir): Use it.
e215c478 622
edf66db1
SP
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.
e215c478 628
edf66db1
SP
629 * posix/sys/utsname.h (_UTSNAME_LENGTH): Don't define; instead,
630 #include <utsnamelen.h> to define it.
631 * sysdeps/generic/utsnamelen.h: New.
e215c478 632
edf66db1 633Sun May 24 00:07:45 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 634
edf66db1 635 * sysdeps/generic/inet-cvt.h: Deansideclized.
e215c478 636
edf66db1 637 * string/string.h (memfrob): First arg is __ptr_t, not char *.
e215c478 638
edf66db1 639 * misc/sys/cdefs.h (__ptr_t): Made #define rather than a typedef.
e215c478 640
edf66db1 641Fri May 22 01:52:04 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 642
edf66db1 643 * Makefile, Rules, Makerules: Remove all rules for ansideclificating
92c3af3c 644 headers.
e215c478 645
edf66db1
SP
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>.
e215c478 649
edf66db1
SP
650 * inet/Makefile: Remove cruft to snarf things from bsd/.
651 * inet/bsd/*.c: Moved to inet/.
e215c478 652
edf66db1
SP
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.
e215c478 657
edf66db1
SP
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>.
e215c478 674
edf66db1
SP
675 * string/string.h (strfry, memfrob): Declare.
676 * string/Makefile (routines): Added strfry and memfrob.
677 * string/strfry.c, string/memfrob.c: New.
e215c478 678
edf66db1 679 * locale/C-ctype_ct.c: Made BS be isspace.
e215c478 680
edf66db1
SP
681 * sysdeps/generic/strstr.c: Return HAYSTACK, not its end, if NEEDLE
682 is the empty string.
e215c478 683
edf66db1 684 * sysdeps/generic/strncase.c: Fixed for case of empty string.
e215c478 685
edf66db1 686Wed May 20 02:36:09 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 687
edf66db1 688 * io/sys/stat.h (fchmod): Declare, rather than two __fchmod decls.
e215c478 689
edf66db1
SP
690 * configure (sysv, bsd): Don't make base_os=unix; unix/{sysv,bsd}
691 instead.
692 Set os_used if base_os is used.
e215c478 693
edf66db1 694Tue May 19 21:00:11 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 695
edf66db1 696 * crypt/*: New files from glad.
e215c478 697
edf66db1 698 * stdio/stdio.h (sys_nerr, sys_errlist): Don't declare const.
e215c478 699
edf66db1 700Sun May 17 15:50:00 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
e215c478 701
edf66db1 702 * io/Makefile (headers): Remove gnu/stat.h; add sys/stat.h.
e215c478 703
edf66db1 704 * posix/glob.c (glob): Don't let us fall off the end without returning.
e215c478 705
edf66db1
SP
706 * sysdeps/stub/setenv.c, sysdeps/posix/setenv.c: New.
707 * stdlib/stdlib.h [__USE_BSD] (setenv): Declare.
708 * stdlib/Makefile (routines): Add setenv.
e215c478 709
edf66db1
SP
710 * malloc/mtrace.c (old_{free,malloc,realloc}_hook): Renamed to tr_&
711 to not conflict with mcheck.c when combined into gmalloc.c.
e215c478 712
edf66db1 713Fri May 15 19:07:54 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 714
edf66db1
SP
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.
e215c478 718
edf66db1 719 * inet/bsd/*.c: Snarfed latest code from 4.4.
e215c478 720
edf66db1 721 * misc/sys/cdefs.h (__BEGIN_DECLS, __END_DECLS): Define cruft for C++.
e215c478 722
edf66db1 723Thu May 14 01:45:12 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 724
edf66db1
SP
725 * posix/glob.h (GLOB_MAGCHAR): Check user feature-test macros,
726 rather than __USE_BSD, so we don't depend on features.h.
e215c478 727
edf66db1 728 * sysdeps/stub/__wait4.c: Last arg is struct rusage *, not PTR.
e215c478 729
edf66db1
SP
730 * math/bsd/common_source/mathimpl.h: Don't #define const.
731 #include <sys/cdefs.h> instead.
e215c478 732
edf66db1
SP
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.
e215c478 738
edf66db1 739 * find-sysdirs: Don't lose if there are no sysnames.
e215c478 740
edf66db1
SP
741 * termios/Makefile (headers): Added sys/termios.h.
742 * termios/sys/termios.h: New file; just #include <termios.h>.
e215c478 743
edf66db1
SP
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.
e215c478 748
edf66db1
SP
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.
e215c478 753
edf66db1
SP
754 * misc/Makefile (routines): Removed swab.
755 * string/Makefile (routines): Put it here instead.
756 * misc/swab.c: Moved to string/swab.c.
e215c478 757
edf66db1 758 * stdio/stdio.h [__USE_BSD] (sys_nerr, sys_errlist): Declare.
e215c478 759
edf66db1 760 * grp/grp.h (setgrent, endgrent, getgrent): Also do #ifdef __USE_BSD.
e215c478 761
edf66db1
SP
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.
e215c478 766
edf66db1 767 * sysdeps/unix/bsd/bsd44/readdir.c: New.
e215c478 768
edf66db1
SP
769 * sysdeps/unix/bsd/sun/readdir.c: Don't need to declare
770 __getdirentries here. Use off_t and ssize_t.
e215c478 771
edf66db1
SP
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.
e215c478 777
edf66db1
SP
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.
e215c478 781
edf66db1
SP
782 * sysdeps/unix/bsd/nice.c, sysdeps/unix/sysv/nice.S,
783 sysdeps/stub/nice.c: New.
784 * resource/Makefile (routines): Added nice.
e215c478 785
edf66db1
SP
786 * misc/sys/cdefs.h [__USE_BSD] (const, signed, volatile): #define to
787 __ versions, for the sake of 4.4 header files.
e215c478 788
edf66db1 789Wed May 13 00:35:12 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
e215c478 790
edf66db1 791 * stdlib/tst-strtol.c: Fixed typo in test table.
e215c478 792
edf66db1
SP
793 * stdlib/strtol.c: Fixed checking for overflow of long int that fits
794 in unsigned long int.
e215c478 795
edf66db1
SP
796 * misc/Makefile (headers): Added ttyent.h.
797 (routines): Added getttyent.
798 * misc/ttyent.h, misc/getttyent.h: New; snarfed from 4.4.
e215c478 799
edf66db1
SP
800 * posix/sys/wait.h [__USE_BSD]: Added forward decl for struct rusage.
801 (__wait4, __wait3): Declare arg as struct rusage, not PTR.
e215c478 802
edf66db1
SP
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/.
e215c478 806
edf66db1
SP
807 * sysdeps/m68k/fpu/__math.h, assert/assert.h: #include <sys/cdefs.h>
808 and use its macros rather than rolling our own.
e215c478 809
edf66db1
SP
810 * misc/sys/cdefs.h: New file.
811 * misc/Makefile (headers): Add it.
e215c478 812
edf66db1 813 * Makerules: Moved check for headers coming from env to Rules.
e215c478 814
edf66db1 815Tue May 12 01:04:10 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
e215c478 816
edf66db1
SP
817 * sysdeps/generic/strsep.c: New.
818 * string/string.h [__USE_BSD] (strsep): Declare.
819 * string/Makefile (routines): Added strsep.
e215c478 820
edf66db1
SP
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.
e215c478 824
edf66db1 825 * sysdeps/unix/bsd/bsd44/__getdents.S: New.
e215c478 826
edf66db1
SP
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++.
e215c478 836
edf66db1 837Mon May 11 01:40:49 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
e215c478 838
edf66db1 839 * math/Makefile (headers): Added huge_val.h and nan.h.
e215c478 840
edf66db1 841 * io/Makefile (headers): Changed gnu/stat.h to statbuf.h.
e215c478 842
edf66db1
SP
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.
e215c478 850
edf66db1
SP
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.
e215c478 854
edf66db1
SP
855 * Rules, Makefile: Export distribute and dont_distribute.
856 * Make-dist: Export sysdep_dirs. Unexport things rather than
857 clobbering their values.
e215c478 858
edf66db1 859 * misc/sys/ptrace.h: Fixed typo.
e215c478 860
edf66db1
SP
861 * stdio/stdio.h (__io_read, __io_write, __io_seek, __io_close):
862 Added comments.
e215c478 863
edf66db1
SP
864 * stdio/internals.c (flushbuf): If in append mode, don't do aligned
865 writing, seek to the target, or update the offset.
e215c478 866
edf66db1 867 * posix/unistd.h (lseek): Doc fix.
e215c478 868
edf66db1
SP
869 * misc/swab.c: New.
870 * misc/Makefile (routines): Added swab.
e215c478 871
edf66db1 872Wed May 6 12:32:18 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
e215c478 873
edf66db1
SP
874 * math/Makefile, inet/Makefile (source_dirs): Export it.
875 * MakeTAGS (all-dirs): Include $(source_dirs).
e215c478 876
edf66db1
SP
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.
e215c478 881
edf66db1 882 * Makerules (headers): Don't take value from the environment.
e215c478 883
edf66db1 884 * Makerules (sysdirs, sysdep_dir): Export them.
e215c478 885
edf66db1
SP
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.
e215c478 891
edf66db1
SP
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.
e215c478 899
edf66db1
SP
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.
e215c478 907
edf66db1 908 * sysdeps/posix/getcwd.c: Don't closedir twice.
e215c478 909
edf66db1 910 * sysdeps/unix/bsd/hp/m68k/__wait3.S: Define __wait3, not ___wait3.
e215c478 911
edf66db1
SP
912 * posix/sys/types.h [__USE_BSD] (fsid_t): Define.
913 * posix/gnu/types.h (__fsid_t): Define.
e215c478 914
edf66db1 915 * io/fcntl.h (F_GETLK): Define.
e215c478 916
edf66db1 917Tue May 5 18:36:46 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
e215c478 918
edf66db1
SP
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.
e215c478 922
edf66db1 923 * sysdeps/unix/bsd/tcsendbrk.c: #include <sys/types.h>
e215c478 924
edf66db1 925 * Makerules: Strip whitespace from $(headers) so ifdef wins.
e215c478 926
edf66db1 927 * sysdeps/unix/bsd/bsdtty.h: #undef a bunch more things.
e215c478 928
edf66db1 929 * sysdeps/unix/bsd/bsd44/errnos.h: New, hacked from 4.4 <sys/errno.h>.
e215c478 930
edf66db1
SP
931 * sysdeps/unix/Makefile (ioctls.h, errnos.h): Only generate if
932 the files that would be used otherwise are the stub versions.
e215c478 933
edf66db1
SP
934 * sysdeps/unix/bsd/tcflow.c: Don't write VSTOP or VSTART if it is
935 _POSIX_VDISABLE.
e215c478 936
edf66db1 937 * sysdeps/unix/bsd/tcflush.c: Use FREAD|FWRITE for TCIOFLUSH.
e215c478 938
edf66db1 939 * sysdeps/unix/bsd/usleep.c: Use select rather than itimers to wait.
e215c478 940
edf66db1 941 * sysdeps/unix/bsd/tcsendbrk.c: Use select rather than itimers to wait.
e215c478 942
edf66db1
SP
943 * termios/cfmakeraw.c: New.
944 * termios/Makefile (routines): Added cfmakeraw.
e215c478 945
edf66db1
SP
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.
e215c478 951
edf66db1
SP
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>
e215c478 955
edf66db1 956 * sysdeps/posix/getcwd.c: Removed unused variable.
e215c478 957
edf66db1 958 * time/__tzset.c: Cast string literal to (char *).
e215c478 959
edf66db1 960 * setjmp/sigjmp_save.c: Declare properly to return void.
e215c478 961
edf66db1 962 * sysdeps/ieee754/nan.h: Created; somehow it disappeared.
e215c478 963
edf66db1 964Mon May 4 18:30:52 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 965
edf66db1 966 * sysdeps/unix/bsd/bsd44/__wait4.S: New.
e215c478 967
edf66db1 968 * sysdeps/unix/bsd/4.4: Renamed to sysdeps/unix/bsd/bsd44.
e215c478 969
edf66db1
SP
970 * signal/gnu/signal.h (__SA_DISABLE, __SA_NOCLDSTOP): Use same bits
971 4.4 uses.
e215c478 972
edf66db1 973Sun May 3 13:57:25 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 974
edf66db1 975 * stdio/fwrite.c: Use unsigned char to avoid sign extension.
e215c478 976
edf66db1
SP
977 * stdlib/__random.c (randtbl): Replaced default constants so they
978 match the state produced by "srandom (1)".
e215c478 979
edf66db1 980 * stdlib/mbtowc.c: Test for S == "" before testing for no mbchars.
e215c478 981
edf66db1
SP
982 * stdlib/Makefile (tests): Added testrand.
983 * stdlib/testrand.c: New test for rand.
e215c478 984
edf66db1 985 * stdlib/testmb.c: Added 2 mblen tests.
e215c478 986
edf66db1
SP
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.
e215c478 990
edf66db1 991 * stdlib/testmb.c: Added test case for wcstombs.
e215c478 992
edf66db1
SP
993 * signal/signal.h (SA_DISABLE): Define.
994 * signal/gnu/signal.h (__SA_DISABLE): Define.
e215c478 995
edf66db1
SP
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.
e215c478 1000
edf66db1
SP
1001 * misc/Makefile (routines): Added reboot.
1002 * posix/unistd.h (reboot): Declare.
1003 * sysdeps/stub/reboot.c: New.
e215c478 1004
edf66db1 1005 * sysdeps/unix/bsd/ulimit.c [! HAVE_GNU_LD]: #define _etext -> etext.
e215c478 1006
edf66db1
SP
1007 * sysdeps/unix/bsd/sun/sparc/sethostid.S: #define _ERRNO_H before
1008 #include <errnos.h>.
e215c478 1009
edf66db1 1010 * configure (newos*): base_os=unix/bsd.
e215c478 1011
edf66db1 1012Fri May 1 12:21:47 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
e215c478 1013
edf66db1
SP
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.
e215c478 1029
edf66db1
SP
1030 * sysdeps/m68k/fpu/switch/Makefile: Refer to dirs fpu and
1031 fpu/switch, not 68881 and 68881-switch.
e215c478 1032
edf66db1
SP
1033 * sysdeps/m68k/fpu/switch/switch.c: #include <68881-sw.h>, not
1034 68881-switch.h.
e215c478 1035
edf66db1
SP
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).
e215c478 1047
edf66db1
SP
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.
e215c478 1051
edf66db1 1052Thu Apr 30 01:15:33 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
e215c478 1053
edf66db1
SP
1054 * sysdeps/unix/bsd/sun/sparc/start.c: Added code to use dynamic
1055 linker from trq@dionysos.thphys.ox.ac.uk.
e215c478 1056
edf66db1 1057 * sysdeps/unix/bsd/sun/sunos4: Renamed to sunos411.
e215c478 1058
edf66db1
SP
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.
e215c478 1067
edf66db1 1068 * configure (sysv, bsd): base_os=unix
e215c478 1069
edf66db1
SP
1070 * configure: Fatal error if the machine or os did not generate any
1071 sysdep dirs.
e215c478 1072
edf66db1 1073 * configure: No error message after config.sub fails.
e215c478 1074
edf66db1
SP
1075 * sysdeps/mips, sysdeps/unix/bsd/ultrix42: New port from
1076 brendan@cs.widener.edu.
e215c478 1077
edf66db1
SP
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.
e215c478 1096
edf66db1 1097Wed Apr 29 23:06:06 1992 Brendan Kehoe (brendan@churchy.gnu.ai.mit.edu)
e215c478 1098
edf66db1
SP
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.
e215c478 1106
edf66db1 1107Wed Apr 29 17:58:21 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
e215c478 1108
edf66db1 1109 * io/getwd.c: Default PATH_MAX if not defined.
e215c478 1110
edf66db1
SP
1111 * sysdeps/unix/getlogin.c, sysdeps/posix/ttyname.c: Make buffers
1112 only as big as needed, avoiding PATH_MAX.
e215c478 1113
edf66db1
SP
1114 * sysdeps/posix/getcwd.c: Dynamically extend the buffer as we go,
1115 not afterwards; default PATH_MAX if not defined.
e215c478 1116
edf66db1
SP
1117 * posix/execvp.c: Dynamically allocate an array on the stack for the
1118 path name, rather than using a fixed-size array.
e215c478 1119
edf66db1 1120 * pwd/putpwent.c: Print pw_dir field.
e215c478 1121
edf66db1 1122 * sysdeps/posix/mktemp.c: If the pid has changed, update OLDPID.
e215c478 1123
edf66db1 1124Tue Apr 28 19:25:21 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
e215c478 1125
edf66db1 1126 * malloc/valloc.c [emacs]: #include "config.h"
e215c478 1127
edf66db1 1128Thu Apr 23 13:55:34 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
e215c478 1129
edf66db1
SP
1130 * sysdeps/m68k/68881/__drem.c: Define __drem, not drem.
1131 Call ____drem, not __drem.
e215c478 1132
edf66db1
SP
1133 * malloc/realloc.c, malloc/malloc.c: Don't #define memcpy or memset
1134 if already #define'd.
e215c478 1135
edf66db1 1136Tue Apr 21 04:16:56 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 1137
edf66db1
SP
1138 * malloc/Makefile: Moved include ../Rules after malloc.tar rules.
1139 They need $(routines), which Rules clears.
e215c478 1140
edf66db1
SP
1141 * malloc/realloc.c (MIN): Renamed to min. Conflicted with HPUX
1142 system header files.
e215c478 1143
edf66db1 1144 * Makefile (sysdep-subdirs): Is not called +sysdep-subdirs.
e215c478 1145
edf66db1 1146 * configure: Don't try to create config.status if . is not writable.
e215c478 1147
edf66db1
SP
1148 * sysdeps/generic/printf_fp.c: Fixed padding loop condition for zero
1149 case.
e215c478 1150
edf66db1
SP
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).
1160
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).
1164
1165Tue Apr 21 02:26:19 1992 Brendan Kehoe (brendan@cs.widener.edu)
1166
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
1170
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.
1178
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.
1247
1248Tue Apr 21 00:06:52 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
1249
1250 * limits.h [__GNUC__ >= 2]: Use #include_next to get GCC's <limits.h>.
1251
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.
1256
1257 * stdlib/mbstowcs.c: Copy non-MB chars verbatim, instead of error.
1258
1259 * sysdeps/generic/printf_fp.c: Note sign of exponent and take its
1260 absolute value for arithmetic.
1261
1262 * stdlib/testmb.c: New.
1263 * stdlib/Makefile (tests): Added testmb.
1264
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.
1268
1269 * stdio/test-fseek.c: New.
1270 * stdio/Makefile (tests): Added test-fseek.
1271
1272 * stdio/fseek.c: Position returned from io_funcs.seek is absolute,
1273 not EOF-relative when using SEEK_END.
1274
1275 * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Set errno to
1276 EEXIST when we run out.
1277
1278 * sysdeps/posix/sysd-stdio.c (exists): Use stat rather than open, so
1279 we don't need read access.
1280
1281 * sysdeps/posix/mk-stdiolim.c (TMP_NAM): is 62 ** 3.
1282
1283Mon Apr 20 23:08:02 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
1284
1285 * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Don't return
1286 the same name twice when the file doesn't exist.
1287
1288 * stdio/vfprintf.c (%c format): Tests of LEFT for padding were
1289 reversed.
1290
1291 * sysdeps/generic/printf_fp.c: If we have written some fractional
1292 digits, write zeros up to the precision.
1293
1294 * sysdeps/unix/bsd/sun/sun4/start.c: Don't clear the FP until just
1295 before calling main.
e215c478 1296
edf66db1 1297Wed Apr 15 01:43:38 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1298
edf66db1
SP
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.
e215c478 1304
edf66db1 1305 * locale/C-numeric.c: grouping is "".
e215c478 1306
edf66db1 1307 * locale/localeconv.c: Set int_frac_digits.
e215c478 1308
edf66db1 1309 * locale/setlocale.c: Accept "" to mean "C".
e215c478 1310
edf66db1 1311 * sysdeps/unix/sysv/r4/bsddir.h: Protect against multiple inclusion.
e215c478 1312
edf66db1
SP
1313 * sysdeps/unix/sysv/r4/Dist: Created; includes bsddir.h and
1314 sys_getdents.S.
e215c478 1315
edf66db1
SP
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.
e215c478 1322
edf66db1 1323 * sysdeps/unix/sysv/Makefile: Fixed typos.
e215c478 1324
edf66db1 1325 * sysdeps/unix/sysv/Dist: Add utmp.h.
e215c478 1326
edf66db1
SP
1327 * sysdeps/posix/Makefile (mk-stdiolim): Explicit commands, to
1328 compile it without normal gcc flags.
e215c478 1329
edf66db1
SP
1330 * configure (i386-sysv): unix/i386/sysv -> unix/sysv/i386.
1331 (i386-sysvr4): New configuration.
e215c478 1332
edf66db1 1333Tue Apr 14 16:47:47 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1334
edf66db1
SP
1335 * setjmp/setjmp.h: Put sigjmp_buf before typedef for jmp_buf, which
1336 needs sigjmp_buf #ifdef __FAVOR_BSD.
e215c478 1337
edf66db1 1338 * posix/unistd.h (getgroups): Don't #define.
e215c478 1339
edf66db1
SP
1340 * sysdeps/stub/ptrace.c: #include <stdarg.h>; declare AP in fn.
1341 Avoid "PTR a, b".
e215c478 1342
edf66db1
SP
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.
e215c478 1347
edf66db1
SP
1348 * sysdeps/posix/sysd-stdio.c (__stdio_read, __stdio_write,
1349 __stdio_errmsg): Don't treat EINTR specially.
e215c478 1350
edf66db1
SP
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.
e215c478 1353
edf66db1
SP
1354 * sysdeps/generic/strcasecmp.c: Simplified loop; fixed returning
1355 wrong value on equal comparison.
e215c478 1356
edf66db1 1357 * stdlib/bsearch.c: Don't lose if NMEMB is zero.
e215c478 1358
edf66db1
SP
1359 * sysdeps/unix/bsd/__times.c (timeval_to_clock_t): Microseconds are
1360 not milliseconds.
e215c478 1361
edf66db1 1362Mon Apr 13 18:25:17 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1363
edf66db1
SP
1364 * sysdeps/generic/strncase.c: New.
1365 * string/Makefile (routines): Add strncase.
1366 * string/string.h [__USE_GNU]: Declare strncasecmp.
e215c478 1367
edf66db1
SP
1368 * time/__tzset.c: Correctly default DST offset to one hour later
1369 than standard offset.
e215c478 1370
edf66db1 1371 * time/__tzset.c (tz_rule): Made `name' not be const.
e215c478 1372
edf66db1
SP
1373 * string/tester.c [! HAVE_GNU_LD]: #define _sys_nerr and
1374 _sys_errlist to sys_nerr and sys_errlist.
e215c478 1375
edf66db1 1376 * stdio/test_rdwr.c: Fixed printf call missing arg.
e215c478 1377
edf66db1 1378 * posix/getgrps.c: #undef getgroups first.
e215c478 1379
edf66db1
SP
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(...).
e215c478 1389
edf66db1 1390 * io/fcntl.c: #include <sys/file.h>.
e215c478 1391
edf66db1
SP
1392 * sysdeps/unix/Makefile: New hair to install other headers the
1393 system sys/param.h #includes.
e215c478 1394
edf66db1 1395 * time/__tzset.c (__tzfile_default): Declare.
e215c478 1396
edf66db1 1397 * time/sys/time.h (timezone): #define to __timezone.
e215c478 1398
edf66db1
SP
1399 * sysdeps/ieee754/printf_fp.c: #undef outchar before #including
1400 generic/printf_fp.c.
e215c478 1401
edf66db1
SP
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.
e215c478 1404
edf66db1
SP
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.
e215c478 1408
edf66db1 1409Fri Apr 10 13:55:07 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
e215c478 1410
edf66db1
SP
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.
e215c478 1419
edf66db1 1420 * io/sys/stat.h (__fchmod, __mknod): Fixed arg types.
e215c478 1421
edf66db1 1422 * io/fchmod.c: Fixed typo.
e215c478 1423
edf66db1 1424 * time/Makefile (\n): Renamed to nl.
e215c478 1425
edf66db1
SP
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.
e215c478 1429
edf66db1 1430 * sysdeps/unix/sysv/sysv_termio.h (_SYSV_TAB3): New; same as XTABS.
e215c478 1431
edf66db1 1432 * sysdeps/unix/sysv/setrlimit.c: Removed extern decl of etext (unused).
e215c478 1433
edf66db1
SP
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>
e215c478 1439
edf66db1
SP
1440 * sysdeps/unix/sysv/__rmdir.c, sysdeps/unix/sysv/__mkdir.c,
1441 sysdeps/posix/writev.c: #include <string.h>.
e215c478 1442
edf66db1 1443 * sysdeps/posix/clock.c: Removed unused variable.
e215c478 1444
edf66db1 1445Thu Apr 9 01:49:39 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 1446
edf66db1 1447 * Version 1.03.
e215c478 1448
edf66db1 1449 * grp/testgrp.c: Print members correctly.
e215c478 1450
edf66db1
SP
1451 * stdio/test-popen.c: Pipe to cat rather than more, and then check
1452 output file. Better error checking.
e215c478 1453
edf66db1
SP
1454 * setjmp/tst-setjmp.c: Notice if we didn't jump the right number of
1455 times.
e215c478 1456
edf66db1
SP
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.
e215c478 1460
edf66db1
SP
1461 * sysdeps/generic/printf_fp.c: Completely rewritten from scratch.
1462 Now uses Steele & White's "Dragon4" algorithm to do things right.
e215c478 1463
edf66db1 1464Wed Apr 8 01:08:41 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 1465
edf66db1
SP
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.
e215c478 1469
edf66db1 1470Tue Apr 7 17:51:25 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 1471
edf66db1
SP
1472 * posix/Makefile (headers): Added tar.h.
1473 * posix/tar.h: New file, from djm.
e215c478 1474
edf66db1 1475Mon Apr 6 01:39:07 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 1476
edf66db1
SP
1477 * time/tzfile.c (struct ttinfo): Made `isstd' member be unsigned
1478 char instead of 1-bit bitfield.
e215c478 1479
edf66db1
SP
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.
e215c478 1484
edf66db1
SP
1485 * time/time.h (struct tm): Add `tz_gmtoff', `tz_zone'.
1486 * time/localtime.c: Set those members.
e215c478 1487
edf66db1
SP
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.
e215c478 1490
edf66db1
SP
1491 * sysdeps/unix/bsd/make-local_lim.c: Don't do MAXUPRC or MAXLINK if
1492 <sys/param.h> didn't define them.
e215c478 1493
edf66db1
SP
1494 * sysdeps/posix/__sigvec.c: Fixed braino: SA_ONSTACK should be
1495 SA_RESTART.
e215c478 1496
edf66db1
SP
1497 * pwd/getpw.c, pwd/putpwent.c: Use %u fmt for uid and gid (which are
1498 unsigned).
e215c478 1499
edf66db1
SP
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.
e215c478 1503
edf66db1 1504Thu Apr 2 03:39:04 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 1505
edf66db1 1506 * locale/Makefile (routines): Add localeconv.
e215c478 1507
edf66db1
SP
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.
e215c478 1514
edf66db1 1515Wed Apr 1 23:13:57 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 1516
edf66db1
SP
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}.
e215c478 1521
edf66db1 1522 * io/chown.c: Fixed types in fn alias.
e215c478 1523
edf66db1 1524Wed Apr 1 14:18:58 1992 Torbjorn Granlund (tege@mole.gnu.ai.mit.edu)
e215c478 1525
edf66db1
SP
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.
e215c478 1532
edf66db1 1533Wed Apr 1 02:16:19 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1534
edf66db1
SP
1535 * sysdeps/unix/sysv/Makefile [subdir==misc]: Generate sysdep header
1536 termio.h from sysv_termio.h.
e215c478 1537
edf66db1
SP
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].
e215c478 1542
edf66db1
SP
1543 * sysdeps/unix/bsd/Makefile (before-compile): Define properly as a
1544 variable.
e215c478 1545
edf66db1
SP
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.
e215c478 1550
edf66db1
SP
1551 * sysdeps/unix/sysv/signum.h (SIGCHLD): Changed #.
1552 (SIGUSR1, SIGUSR2, SIGPWR): Added.
1553 (_NSIG): Updated.
e215c478 1554
edf66db1 1555 * sysdeps/unix/sysv/utmp.h: New.
e215c478 1556
edf66db1 1557 * sysdeps/unix/bsd/getlogin.c: Moved to sysdeps/unix/getlogin.c.
e215c478 1558
edf66db1
SP
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.
e215c478 1563
edf66db1 1564 * sysdeps/unix/sysv/tcflow.c: New.
e215c478 1565
edf66db1
SP
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.
e215c478 1570
edf66db1 1571 * sysdeps/unix/sysv/__gethstnm.c: New.
e215c478 1572
edf66db1 1573 * sysdeps/unix/sysv/local_lim.h (NGROUPS_MAX): Define as 0.
e215c478 1574
edf66db1
SP
1575 * sysdeps/unix/sysv/fcntlbits.h (struct __flock): Changed l_pid to
1576 short; added l_sysid.
e215c478 1577
edf66db1 1578 * sysdeps/unix/sysv/__sigact.c: New.
e215c478 1579
edf66db1 1580 * sysdeps/unix/sysv/r4/__access.S: New; just #include bsd/__access.S.
e215c478 1581
edf66db1
SP
1582 * sysdeps/unix/sysv/Makefile: Fixed typo: sysdep-routines =>
1583 sysdep_routines.
e215c478 1584
edf66db1
SP
1585 * sysdeps/unix/i386/sysv/__sigret.S,
1586 sysdeps/unix/i386/sysv/signal.S: New.
e215c478 1587
edf66db1
SP
1588 * signal/Makefile (routines): Added sigret, __sigret.
1589 * signal/sigret.c: New; fn alias to __sigreturn.
1590 * sysdeps/stub/__sigret.c: New.
e215c478 1591
edf66db1
SP
1592 * sysdeps/unix/i386/sysdep.h (PSEUDO): Use hard-coded numbers for
1593 lcalls insn--GAS bug.
e215c478 1594
edf66db1
SP
1595 * sysdeps/unix/bsd/readdir.c (D_NAMLEN): New macro; define if not
1596 already defined, to return length of a direct elt.
e215c478 1597
edf66db1
SP
1598 * sysdeps/stub/__getgrps.c: #include <limits.h>; if NGROUPS_MAX is
1599 defined as 0, always return 0, and no stub warning.
e215c478 1600
edf66db1 1601 * sysdeps/posix/system.c: Don't fail if sigprocmask fails with ENOSYS.
e215c478 1602
edf66db1 1603 * sysdeps/posix/sysd-stdio.c, sysdeps/stub/sysd-stdio.c: Doc fix.
e215c478 1604
edf66db1
SP
1605 * sysdeps/posix/__gettod.c: Use CONST where appropriate and not
1606 where not.
e215c478 1607
edf66db1
SP
1608 * sysdeps/i386/memchr.c, sysdeps/i386/strlen.c: Changed `repnz' to
1609 `repne'.
e215c478 1610
edf66db1 1611 * stdio/fgets.c: Notice returned char from __fillbf in length calc.
e215c478 1612
edf66db1 1613 * misc/sys/ioctl.h: Always define `struct sgttyb'.
e215c478 1614
edf66db1
SP
1615 * stdlib/alloca.h: #undef __alloca, too.
1616 Always #define alloca == __alloca.
e215c478 1617
edf66db1
SP
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.
e215c478 1624
edf66db1 1625Mon Mar 30 17:06:54 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 1626
edf66db1
SP
1627 * sysdeps/generic/printf_fp.c: In %f, decrement PREC for each
1628 leading zero in the fractional part.
e215c478 1629
edf66db1
SP
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.
e215c478 1634
edf66db1 1635 * posix/sys/wait.h: #include <endian.h>
e215c478 1636
edf66db1
SP
1637 * sysdeps/ieee754/fl.h: Fixed NAN and HUGE_VAL bit patterns; added
1638 code for little endian.
e215c478 1639
edf66db1
SP
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.
e215c478 1642
edf66db1
SP
1643 * math/__finite.c: Return zero for NaN.
1644 * math/math.h: Doc fix for same.
e215c478 1645
edf66db1 1646 * stdio/__getdelim.c: Correctly notice when the buffer is full.
e215c478 1647
edf66db1
SP
1648 * sysdeps/unix/bsd/opendir.c: Pass arg to fcntl F_SETFD by value,
1649 not by reference.
e215c478 1650
edf66db1 1651 * time/__tzset.c: Correct default rule: M4.1.0,M10.5.0.
e215c478 1652
edf66db1 1653 * time/__tzset.c: Move ptr past Mfoobar syntax after parsing it.
e215c478 1654
edf66db1 1655 * time/__tzset.c: Properly parse the DST offset (or its absence).
e215c478 1656
edf66db1
SP
1657 * sysdeps/unix/make_errlist.c: Write an #ifdef HAVE_GNU_LD, rather
1658 than testing it when compiling make_errlist.
e215c478 1659
edf66db1
SP
1660 * time/tzfile.c (__tzfile_read): Convert transitions to host byte
1661 order.
e215c478 1662
edf66db1
SP
1663 * Makeconfig (localtime-file): New config var.
1664 * time/Makefile (tzfile.o, zic.o): Use it for TZDEFAULT.
e215c478 1665
edf66db1
SP
1666 * stdio/Makefile (tests): Added tstgetline.
1667 * stdio/tstgetline.c: New; test for getline.
e215c478 1668
edf66db1
SP
1669 * Makeconfig (sysincludedir): Define and document.
1670 * sysdeps/unix/snarf-ioctls, sysdeps/unix/Makefile: Use
1671 ${sysincludedirs} in place of hard-coded /usr/include.
e215c478 1672
edf66db1 1673Fri Mar 27 13:33:37 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
e215c478 1674
edf66db1 1675 * string/Makefile (headers): Added endian.h.
e215c478 1676
edf66db1
SP
1677 * sysdeps/ieee754/__drem.c: Fixed typo which made X and Y be the
1678 same location.
e215c478 1679
edf66db1 1680 * sysdeps/generic/__lstat.c: #include <gnu-stabs.h>
e215c478 1681
edf66db1
SP
1682 * stdio/internals.c (flushbuf): Increment target as well as offset
1683 when we write out the single char.
e215c478 1684
edf66db1 1685 * grp/Makefile (tests): Add testgrp (formerly bug1).
e215c478 1686
edf66db1 1687Thu Mar 26 14:59:45 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
e215c478 1688
edf66db1 1689 * stdio/fread.c: Don't read directly when we need to seek first.
e215c478 1690
edf66db1 1691Wed Mar 25 02:34:49 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
e215c478 1692
edf66db1 1693 * sysdeps/unix/bsd/alarm.c: There are 1000000 usecs in a sec.
e215c478 1694
edf66db1 1695 * sysdeps/unix/bsd/sun/ptrace.c: Removed.
e215c478 1696
edf66db1
SP
1697 * stdio/fgets.c: For unbuffered stream, don't return EOF after
1698 reading some data.
1699 Added missing parens.
e215c478 1700
edf66db1 1701Tue Mar 24 18:31:07 1992 Torbjorn Granlund (tege@hal)
e215c478 1702
edf66db1
SP
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).
e215c478 1707
edf66db1 1708Tue Mar 24 01:21:32 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1709
edf66db1
SP
1710 * io/Makefile (routines): Add getdirname.
1711 * posix/unistd.h [__USE_GNU]: Declare getdirname.
1712 * io/getdirname.c: New.
e215c478 1713
edf66db1
SP
1714 * Makeconfig (stddef.h): Define and document.
1715 * Makefile (headers): Use $(stddef.h) for stddef.h.
e215c478 1716
edf66db1 1717Mon Mar 23 18:04:56 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
e215c478 1718
edf66db1 1719 * sysdeps/posix/mktemp.c: Do PID % 100000 for 5 digits.
e215c478 1720
edf66db1
SP
1721 * time/Makefile (tzfiles): Remove pacificnew; it won't compile.
1722 (distribute): Put it here instead.
e215c478 1723
edf66db1
SP
1724 * stdio/printf-prs.c [HAVE_LONGLONG]: Fixed missed var name change
1725 from code snarf.
e215c478 1726
edf66db1 1727 * stdio/fgets.c: Return NULL when we get EOF.
e215c478 1728
edf66db1
SP
1729 * posix/execvp.c, sysdeps/posix/putenv.c [! HAVE_GNU_LD]: Define
1730 __environ as environ.
e215c478 1731
edf66db1
SP
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.
e215c478 1735
edf66db1 1736 * sysdeps/m68k/setjmp.c: Deref fpregs array in asm.
e215c478 1737
edf66db1 1738 * time/Makefile (zones-%): Fixed generated rules.
e215c478 1739
edf66db1 1740 * math/Makefile (libm.a): Use r cmd to ar.
e215c478 1741
edf66db1
SP
1742 * time/Makefile (zones-%): In echo commands, put \\\\n outside of
1743 quotes instead of \\n inside single quotes. SysV echo is braindead.
e215c478 1744
edf66db1
SP
1745 * io/fchown.c, io/fchmod.c, misc/bsd-compat.c: Fixed DEFUNs in fn
1746 aliases.
92c3af3c 1747
edf66db1
SP
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.
92c3af3c 1751
edf66db1 1752Sun Mar 22 18:34:02 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
92c3af3c 1753
edf66db1 1754 * time/australasia (NZ): Updated rules.
92c3af3c 1755
edf66db1 1756Sat Mar 21 01:00:49 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
92c3af3c 1757
edf66db1 1758 * stdio/printf-prs.c [__GNUC__]: Define HAVE_LONGLONG.
92c3af3c 1759
edf66db1 1760Fri Mar 20 00:35:36 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
92c3af3c 1761
edf66db1 1762 * Version 1.02.
92c3af3c 1763
edf66db1 1764 * stdio/Makefile (routines): Add __getdelim, __getline.
92c3af3c 1765
edf66db1 1766 * sysdeps/unix/i386/start.c: No ../ in #include file name.
92c3af3c 1767
edf66db1
SP
1768 * sysdeps/posix/sysd-stdio.c, sysdeps/stub/sysd-stdio.c
1769 (__stdio_seek): Doc fix.
92c3af3c 1770
edf66db1
SP
1771 * sysdeps/posix/mk-stdiolim.c: Add one to L_tmpnam, for the null
1772 terminator.
92c3af3c 1773
edf66db1
SP
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.
92c3af3c 1776
edf66db1
SP
1777 * pwd/pwdread.c, grp/grpread.c: Use __getline. Ignore lines
1778 beginning with #.
92c3af3c 1779
edf66db1
SP
1780 * Makeconfig (objdir): If $(ARCH) starts with a slash, don't prepend
1781 $(..).
92c3af3c 1782
edf66db1 1783Thu Mar 19 21:36:57 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
92c3af3c 1784
edf66db1
SP
1785 * Makefile (install-lib): Add Mcrt1.o.
1786 (Mcrt1.o): Create empty file.
92c3af3c 1787
edf66db1 1788Wed Mar 18 16:00:18 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
92c3af3c 1789
edf66db1 1790 * Makeconfig (+link): Use $(libdir) for gnulib.
92c3af3c 1791
edf66db1 1792Tue Mar 17 20:12:35 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 1793
edf66db1
SP
1794 * math/bsd/common_source/mathimpl.h: Include <endian.h>.
1795 [__LITTLE_ENDIAN]: #define national.
92c3af3c 1796
edf66db1
SP
1797 * stdio/__vfscanf.c: EOF at end of string is not
1798 an error.
92c3af3c 1799
edf66db1 1800 * stdio/tstscanf.c: Added new sscanf test.
92c3af3c 1801
edf66db1 1802 * stdio/vfprintf.c: For %#x, print 0x after padding 0s, not before.
92c3af3c 1803
edf66db1
SP
1804 * stdio/fputs.c: Reverse size args to fwrite and test for returning
1805 LEN, rather than 1, so 0-length wins.
92c3af3c 1806
edf66db1
SP
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.
92c3af3c 1810
edf66db1
SP
1811 * stdio/fopen.c (__getmode): Don't fall through in switch after 'a'
1812 case.
92c3af3c 1813
edf66db1
SP
1814 * locale/C-ctype_ct.c (__ctype_b_C): Use symbolic constants.
1815 9..12 are not _NOgraph.
92c3af3c 1816
edf66db1 1817Tue Mar 17 19:04:01 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu)
92c3af3c 1818
edf66db1 1819 * string/testcopy.c: Fix typo in comment.
92c3af3c 1820
edf66db1 1821Tue Mar 17 19:57:49 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 1822
edf66db1
SP
1823 * sysdeps/generic/strstr.c, string/string.h, string/tester.c
1824 (strstr): Arguments were reversed.
92c3af3c 1825
edf66db1 1826Tue Mar 17 18:52:39 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu)
92c3af3c 1827
edf66db1
SP
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.
92c3af3c 1831
edf66db1 1832Tue Mar 17 17:31:06 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 1833
edf66db1 1834 * posix/unistd.h (getpagesize): Declare as size_t.
92c3af3c 1835
edf66db1 1836 * Makeconfig (CC): Define unless origin is default.
92c3af3c 1837
edf66db1 1838 * stdio/__getdelim.c: Be sure to leave room for the terminating null.
92c3af3c 1839
edf66db1 1840 * string/testcopy.c: New version from tege.
92c3af3c 1841
edf66db1 1842 * malloc/dist-README: Changed mailing list addr to bug-glibc.
92c3af3c 1843
edf66db1 1844 * sysdeps/unix/bsd/__sigproc.c: Use right mask for SIG_UNBLOCK.
92c3af3c 1845
edf66db1 1846 * Makefile, Rules (clean, mostlyclean): Put - before rm commands.
92c3af3c 1847
edf66db1 1848Tue Mar 17 11:14:40 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu)
92c3af3c 1849
edf66db1
SP
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.
92c3af3c 1853
edf66db1 1854Mon Mar 16 05:09:23 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
92c3af3c 1855
edf66db1 1856 * posix/wordexp.c: New.
92c3af3c 1857
edf66db1
SP
1858 * time/tzfile.c (__tzfile_read): Don't die if some of the sections
1859 of the datafile are empty.
92c3af3c 1860
edf66db1
SP
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.
92c3af3c 1865
edf66db1
SP
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.
92c3af3c 1872
edf66db1 1873Sun Mar 15 00:01:05 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
92c3af3c 1874
edf66db1
SP
1875 * Makerules (sysdep-Makefile): Do if ... else true to avoid bogus
1876 nonzero status.
92c3af3c 1877
edf66db1 1878 * Makefile: Denewlinify +sysdep-subdirs after including sysd-dirs.
92c3af3c 1879
edf66db1 1880 * sysdeps/vax/__infnan.c [!__GNUC__]: Error.
92c3af3c 1881
edf66db1
SP
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.
92c3af3c 1887
edf66db1
SP
1888 * Makeconfig (bindir): Define.
1889 * Makerules: Add rule to install $(install) in $(bindir).
1890 (+install): Include $(install) in $(bindir).
92c3af3c 1891
edf66db1
SP
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.
92c3af3c 1896
edf66db1 1897 * malloc/Makefile (malloc/gmalloc.c): Depend on headers and sources.
92c3af3c 1898
edf66db1 1899 * sysdeps/unix/bsd/sun/sun4/__sigvec.S: Doc fix.
92c3af3c 1900
edf66db1 1901 * sysdeps/stub/stty.c, sysdeps/stub/gtty.c: Include <stddef.h>.
92c3af3c 1902
edf66db1 1903 * sysdeps/unix/sysv/__fstat.c: Include sysv_stat.h.
92c3af3c 1904
edf66db1
SP
1905 * misc/bsd-compat.c: Define _BSD_SOURCE rather than __FAVOR_BSD.
1906 (longjmp): Use function_alias_void.
92c3af3c 1907
edf66db1
SP
1908 * time/Makefile (tzfile.o): Compile with
1909 -DTZDIR='"$(datadir)/zoneinfo"'.d
92c3af3c 1910
edf66db1 1911Sat Mar 14 23:26:46 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
92c3af3c 1912
edf66db1
SP
1913 * Makeconfig (INSTALL_DATA, INSTALL_PROGRAM, INSTALL): Don't define
1914 if already defined.
92c3af3c 1915
edf66db1 1916 * setjmp/longjmp.c: Use function_alias_void.
92c3af3c 1917
edf66db1 1918 * gnu-stabs.h (function_alias_void): New macro.
92c3af3c 1919
edf66db1 1920 * gnu-stabs.h [!HAVE_GNU_LD] (function_alias): Fixed not to loop.
92c3af3c 1921
edf66db1 1922Fri Mar 13 17:20:19 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
92c3af3c 1923
edf66db1
SP
1924 * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Include null
1925 terminator in length calculation.
92c3af3c 1926
edf66db1
SP
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.
92c3af3c 1933
edf66db1
SP
1934 * malloc/Makefile (libmcheck.a), Makefile (crt0.o): Remove target
1935 first; don't use -f to ln.
92c3af3c 1936
edf66db1
SP
1937 * posix/execl.c, posix/execv.c, sysdeps/posix/getenv.c,
1938 sysdeps/posix/system.c [HAVE_GNU_LD]: #define __environ environ
92c3af3c 1939
edf66db1
SP
1940 * posix/unistd.h [__OPTIMIZE__] (execv): Removed defn. Can't know
1941 whether to use __environ or environ.
92c3af3c 1942
edf66db1
SP
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.
92c3af3c 1945
edf66db1 1946 * time/__tzset.c: Don't dereference NULL if getenv returns it.
92c3af3c 1947
edf66db1 1948Thu Mar 12 16:01:33 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
92c3af3c 1949
edf66db1 1950 * sysdeps/ieee754/sqrt.c: Replaced undefined var ref `k' with constant.
92c3af3c 1951
edf66db1 1952 * sysdeps/i386/__longjmp.c: #include <stdlib.h>.
92c3af3c 1953
edf66db1
SP
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.
92c3af3c 1957
edf66db1
SP
1958 * sysdeps/i386/__longjmp.c: Changed register names for gcc; eax/%eax
1959 -> ax.
92c3af3c 1960
edf66db1 1961 * sysdeps/unix/snarf-ioctls: Avoid infinite recursion.
92c3af3c 1962
edf66db1 1963Wed Mar 11 00:16:18 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
92c3af3c 1964
edf66db1 1965 * Version 1.01.
92c3af3c 1966
edf66db1 1967 * Makefile (munch-init.c): Made $(objpfx)munch-init.c.
92c3af3c 1968
edf66db1
SP
1969 * signal/sigvec.c, signal/sigaction.c, stdio/vsscanf.c: Fixed DEFUNs
1970 in fn aliases.
92c3af3c 1971
edf66db1
SP
1972 * sysdeps/m68k/68881/68881-switch/switch.c: Merged vars have_fpu and
1973 test_fpu into one.
92c3af3c 1974
edf66db1
SP
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.
92c3af3c 1988
edf66db1
SP
1989 * Rules: Null out `objects' at end to shrink environment some.
1990 (+objs): Define with := from $(objects).
1991 (clean): Use that instead of $(objects).
92c3af3c 1992
edf66db1 1993 * sysdeps/i386/setjmp.c: Doubled % where it wanted to be literal.
92c3af3c 1994
edf66db1
SP
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.
92c3af3c 1998
edf66db1 1999 * sysdeps/unix/bsd/hp9k3bsd/sysdep.S: Use # instead of kludge cookie.
92c3af3c 2000
edf66db1 2001 * posix/getegid.c: Fixed type in DEFUN.
92c3af3c 2002
edf66db1
SP
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.
92c3af3c 2006
edf66db1 2007Tue Mar 10 20:01:55 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
92c3af3c 2008
edf66db1
SP
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.
92c3af3c 2012
edf66db1
SP
2013 * stdio/getdelim.c: When the buffer is empty, notice the effect of
2014 __fillbf after calling it, avoiding a (costly) no-op iteration.
92c3af3c 2015
edf66db1 2016 * sysdeps/vax/__memccpy.c: Fixed comments.
92c3af3c 2017
edf66db1
SP
2018 * stdio/fmemopen.c: Set all fns and seen bit before we might call
2019 something that would care (fclose).
92c3af3c 2020
edf66db1
SP
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.
92c3af3c 2033
edf66db1 2034Sun Mar 8 16:33:33 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 2035
edf66db1
SP
2036 * misc/makefile (headers): Added stab.h, stab.def.
2037 * Many files: Changed __GNU_STAB__ to HAVE_GNU_LD.
92c3af3c 2038
edf66db1 2039Sat Mar 7 21:21:10 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 2040
edf66db1
SP
2041 * time/mktime.c: Normalize the struct values before checking for out
2042 of range values.
92c3af3c 2043
edf66db1 2044Fri Mar 6 11:43:35 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
92c3af3c 2045
edf66db1 2046 * sysdeps/ieee754/ldexp.c: New.
92c3af3c 2047
edf66db1
SP
2048 * stdio/internals.c (flushbuf): When priming the stream for writing,
2049 advance the target pos to account for chars gotten from the buffer.
92c3af3c 2050
edf66db1
SP
2051 * sysdeps/generic/Makefile: For math routines, don't filter out
2052 __finite.
92c3af3c 2053
edf66db1 2054 * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Fixed bugs.
92c3af3c 2055
edf66db1 2056 * misc/Makefile (routines): Remove flock.
92c3af3c 2057
edf66db1
SP
2058 * stdlib/strtod.c: Fixed typo in checking for exponent overflow.
2059 Do set *ENDPTR on overflow or underflow.
92c3af3c 2060
edf66db1 2061 * sysdeps/sparc/fl.h: Removed. Should use ieee754 version.
92c3af3c 2062
edf66db1
SP
2063 * sysdeps/generic/Makefile: For math routines, don't filter out
2064 __copysign, __scalb, __drem and __logb; and don't add support.
92c3af3c 2065
edf66db1
SP
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.
92c3af3c 2072
edf66db1
SP
2073 * sysdeps/ieee754/__infnan.c: Include <float.h> and use NAN macro
2074 rather than cooking one up by hand.
92c3af3c 2075
edf66db1
SP
2076 * sysdeps/unix/bsd/getlogin.c: Open /dev/tty, rather than using stdin.
2077 Make sure the name is always null-terminated.
92c3af3c 2078
edf66db1 2079Thu Mar 5 17:11:46 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
92c3af3c 2080
edf66db1
SP
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.
92c3af3c 2085
edf66db1
SP
2086 * stdio/Makefile (tests): Added bug4 and bug5.
2087 * stdio/bug4.c, stdio/bug5.c: Test cases from reported bugs just fixed.
92c3af3c 2088
edf66db1
SP
2089 * stdio/internals.c (flushbuf): If nothing was written by the user,
2090 but there is previously gotten data, don't write anything out.
92c3af3c 2091
edf66db1 2092 * stdio/internals.c (seek_to_target): Call __stdio_check_offset first.
92c3af3c 2093
edf66db1
SP
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.
92c3af3c 2100
edf66db1
SP
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.
92c3af3c 2104
edf66db1
SP
2105 * stdlib/exit.c: Look for NULL terminator on ld set, rather than
2106 using length word.
92c3af3c 2107
edf66db1
SP
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.
92c3af3c 2117
edf66db1
SP
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.
92c3af3c 2123
edf66db1
SP
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.
92c3af3c 2128
edf66db1 2129 * sysdeps/unix/sysv/__rmdir.c: New; runs `rmdir' shell command.
92c3af3c 2130
edf66db1 2131 * sysdeps/unix/sysv/__mkdir.c: New; runs `mkdir' shell command.
92c3af3c 2132
edf66db1 2133 * sysdeps/generic/__lstat.c: New; fn alias for __stat.
92c3af3c 2134
edf66db1 2135 * sysdeps/unix/sysv/__gethostname.c: New; uses uname.
92c3af3c 2136
edf66db1
SP
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.
92c3af3c 2139
edf66db1
SP
2140 * stdio/internals.c (__stdio_check_offset): Call init_stream to make
2141 sure we have fns.
92c3af3c 2142
edf66db1
SP
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.
92c3af3c 2145
edf66db1 2146 * stdio/fopen.c (__getmode): Set create bit for "a" mode.
92c3af3c 2147
edf66db1 2148 * io/mkdir.c: #undef mkdir before fn alias.
92c3af3c 2149
edf66db1 2150 * time/tzfile.c (__tzfile_compute): Don't decrement I if it's zero.
92c3af3c 2151
edf66db1 2152 * Makefile (crt0.o): Use ln -f.
92c3af3c 2153
edf66db1
SP
2154 * math/Makefile (install): Install libm.a.
2155 (libm.a): Make an empty archive.
92c3af3c 2156
edf66db1 2157Wed Mar 4 19:54:50 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 2158
edf66db1 2159 * README.template: Added note about long filenames in dist.
92c3af3c 2160
edf66db1
SP
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.
92c3af3c 2169
edf66db1
SP
2170 * time/time.h (__isleap): Fixed; every 400th year is not a leap
2171 year, not every 1000th.
92c3af3c 2172
edf66db1
SP
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).
92c3af3c 2177
edf66db1
SP
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.
92c3af3c 2180
edf66db1 2181Sat Feb 29 15:56:22 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
92c3af3c 2182
edf66db1
SP
2183 * posix/Makefile (others): Removed logname, id.
2184 * time/Makefile (others): Removed date.
92c3af3c 2185
edf66db1
SP
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'.
92c3af3c 2189
edf66db1 2190Thu Feb 27 14:32:20 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
92c3af3c 2191
edf66db1
SP
2192 * set-init.c: Look for NULL terminator on set. ld is broken and
2193 doesn't set the length word correctly.
92c3af3c 2194
edf66db1
SP
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.
92c3af3c 2202
edf66db1 2203Wed Feb 26 00:20:25 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
92c3af3c 2204
edf66db1 2205 * sysdeps/generic/Makefile (routines): Add asincos.
92c3af3c 2206
edf66db1
SP
2207 * time/tzfile.c (__tzfile_compute): Set __tzname properly, so isdst
2208 is the right index into it.
92c3af3c 2209
edf66db1 2210Tue Feb 25 01:42:16 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
92c3af3c 2211
edf66db1
SP
2212 * sysdeps/unix/bsd/sun/sun4/sysdep.h (ENTRY): .align 2, not .align 4.
2213 This one is powers of two.
92c3af3c 2214
edf66db1
SP
2215 * time/__tzset.c: If TZ is :FILE, try FILE and if __tzfile_read
2216 fails, then use defaults.
92c3af3c 2217
edf66db1 2218 * sysdeps/generic/Makefile (routines): Add sincos.
92c3af3c 2219
edf66db1
SP
2220 * sysdeps/posix/cuserid.c: Set the result to the empty string on
2221 failure.
92c3af3c 2222
edf66db1
SP
2223 * string/string.h, string/strings.h, sysdeps/i386/memchr.c: Fixed
2224 spelling in comment.
92c3af3c 2225
edf66db1
SP
2226 * string/makefile (tests): Include (uncomment) testcopy. We do have
2227 papers for it from tege.
92c3af3c 2228
edf66db1 2229 * malloc/dist-README: Fixed mailing list addr.
92c3af3c 2230
edf66db1
SP
2231 * resource/sys/vtimes.h (struct vtimes): Renamed vm_outblk to
2232 vm_oublk; fixed comment.
2233 * sysdeps/generic/vtimes.c: Renamed here too.
92c3af3c 2234
edf66db1 2235 * Make-dist (README): Depend on version.c.
92c3af3c 2236
edf66db1 2237Tue Feb 18 18:14:50 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
92c3af3c 2238
edf66db1 2239 * Version 1.00.
92c3af3c 2240
edf66db1 2241 * time/tzfile.c (__tzfile_compute): Fixed transition comparison.
92c3af3c 2242
edf66db1 2243 * sysdeps/unix/bsd/sun/sun3/Makefile: Fixed typo.
92c3af3c 2244
edf66db1 2245Mon Feb 17 05:04:00 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
92c3af3c 2246
edf66db1 2247 * Version 0.6.
92c3af3c 2248
edf66db1
SP
2249 * Makefile (distribute): Add Q+A.
2250 * Q+A: New doc file from rich@cygnus.com.
92c3af3c 2251
edf66db1 2252 * malloc/Makefile (distribute): Add mcheck-init.c.
92c3af3c 2253
edf66db1 2254Mon Feb 17 00:39:38 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
92c3af3c 2255
edf66db1
SP
2256 * sysdeps/unix/sysv/utime.c: Removed.
2257 * sysdeps/unix/sysv/utime.S: New file.
92c3af3c 2258
edf66db1 2259 * sysdeps/unix/sysv/signum.h: New file.
92c3af3c 2260
edf66db1 2261 * sysdeps/unix/sysv/local_lim.h: New file.
92c3af3c 2262
edf66db1
SP
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.
92c3af3c 2271
edf66db1 2272 * sysdeps/stub/__setreuid.c: Include <sys/types.h>.
92c3af3c 2273
edf66db1 2274 * sysdeps/posix/__sigblock.c: Fixed typo.
92c3af3c 2275
edf66db1
SP
2276 * stdio/internals.c (__flshfp): Don't return EOF if at EOF; only
2277 for errors.
92c3af3c 2278
edf66db1 2279 * signal/gnu/signal.h: Move #include <signum.h> outside repeat #ifdef.
92c3af3c 2280
edf66db1 2281 * sysdeps/unix/sysv/filebits.h: Created.
92c3af3c 2282
edf66db1 2283 * misc/Makefile (distribute): Define to bsd-compat.c.
92c3af3c 2284
edf66db1
SP
2285 * misc/Makefile (headers): Remove filebits.h.
2286 * io/Makefile (headers): Put it here.
92c3af3c 2287
edf66db1
SP
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.
92c3af3c 2293
edf66db1 2294 * stdlib/alloca.h: Get size_t from stddef.h.
92c3af3c 2295
edf66db1
SP
2296 * misc/bsd-compat.c (getgroups): Removed. Not needed, because gid_t
2297 is now the same size as int.
92c3af3c 2298
edf66db1
SP
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.
92c3af3c 2303
edf66db1 2304 * sysdeps/unix/bsd/sun/sun3/Makefile: include hp9k3bsd version.
92c3af3c 2305
edf66db1 2306 * Makeconfig: Use $(..) for config.status.
92c3af3c 2307
edf66db1
SP
2308 * configure (i386-sysv): unix/i386/sysv, not unix/sysv/i386.
2309 * unix/i386/sysv/Implies: unix/sysv, not unix/i386.
92c3af3c 2310
edf66db1 2311Sun Feb 16 00:42:53 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
92c3af3c 2312
edf66db1 2313 * Version 0.5.
92c3af3c 2314
edf66db1
SP
2315 * posix/Makefile (headers): Remove confstr.h.
2316 (distribute): Define this instead to contain it.
92c3af3c 2317
edf66db1 2318 * ansidecl: Added copyright notice.
92c3af3c 2319
edf66db1
SP
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.
92c3af3c 2324
edf66db1
SP
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.
92c3af3c 2329
edf66db1
SP
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.
92c3af3c 2333
edf66db1
SP
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.
92c3af3c 2336
edf66db1 2337 * Makefile (sysdirs, Sysnames): Put outside of ifndef sysdirs.
92c3af3c 2338
edf66db1 2339 * string/Makefile (tests): No testcopy, pending papers.
92c3af3c 2340
edf66db1
SP
2341 * Makefile (headers): No sysdep.h.
2342 (distribute): Here instead.
2343 (no-install): No longer needed.
92c3af3c 2344
edf66db1 2345Sat Feb 15 17:10:38 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
92c3af3c 2346
edf66db1
SP
2347 * Makefile (distribute): Add INSTALL.
2348 * Make-dist (INSTALL): Make from manual/maint.texinfo.
2349 (README): Make from README.template.
92c3af3c 2350
edf66db1
SP
2351 * Makefile (+other-dirs): Removed inet.
2352 * sysdeps/unix/inet/Subdirs: Created, adding inet.
92c3af3c 2353
edf66db1 2354 * sysdeps/unix/sysv/setrlimit.c: Include stddef and errno.h.
92c3af3c 2355
edf66db1
SP
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.
92c3af3c 2358
edf66db1
SP
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.
92c3af3c 2362
edf66db1
SP
2363 * string/testcopy.c: New test program for bcopy from tege.
2364 * string/Makefile (tests): Add it.
92c3af3c 2365
edf66db1 2366 * Makefile (sysdep-subdirs): Renamed to sysd-dirs.
92c3af3c 2367
edf66db1 2368 * Make-dist (tardir): Omit the release name; it made names too long.
92c3af3c 2369
edf66db1 2370Sat Feb 15 12:53:02 1992 Torbjorn Granlund (tege at mole.gnu.ai.mit.edu)
92c3af3c 2371
edf66db1
SP
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).
92c3af3c 2379
edf66db1
SP
2380 * sysdeps/generic/{memcpy.c,memmove.c}: Make DSTP and SRCP unsigned
2381 (safer with non-ANSI compilers).
92c3af3c 2382
edf66db1 2383Fri Feb 14 01:52:12 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
92c3af3c 2384
edf66db1 2385 * Version 0.4.1.
92c3af3c 2386
edf66db1
SP
2387 * Makefile, Rules: Changed clean and clobber targets into
2388 mostlyclean, clean, and realclean.
92c3af3c 2389
edf66db1
SP
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.
92c3af3c 2399
edf66db1 2400 * Version 0.4.
92c3af3c 2401
edf66db1 2402Thu Feb 13 21:39:31 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
92c3af3c 2403
edf66db1
SP
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.
92c3af3c 2408
edf66db1 2409 * sysdeps/sparc/divrem.m4: Don't use insn aliases Sun as doesn't grok.
92c3af3c 2410
edf66db1 2411Wed Feb 12 12:12:12 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
92c3af3c 2412
edf66db1
SP
2413 * sysdeps/m68k/setjmp.c: Use m, rather than g, constraint when
2414 saving fp regs.
92c3af3c 2415
edf66db1
SP
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.
92c3af3c 2420
edf66db1 2421 * grp/initgroups.c: Removed redundant test.
92c3af3c 2422
edf66db1 2423 * malloc/mtrace.c: Use %p fmt for pointers.
92c3af3c 2424
edf66db1 2425Tue Feb 11 02:04:39 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 2426
edf66db1
SP
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.
e215c478 2431
edf66db1 2432 * stdio/getline.c (getsome): Fixed bugs.
e215c478 2433
edf66db1
SP
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.
e215c478 2438
edf66db1
SP
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.
e215c478 2443
edf66db1
SP
2444 * math/Makefile (BSDmath-files): Always include it, and don't depend
2445 on undependable things.
e215c478 2446
edf66db1
SP
2447 * Makerules (sysdep-Makefile): Always include it, and make it
2448 without depending on make vars that might not be right yet.
e215c478 2449
edf66db1 2450Mon Feb 10 00:55:58 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2451
edf66db1 2452 * stdlib/stdlib.h: #undef alloca before declaring it.
e215c478 2453
edf66db1 2454 * sysdeps/sparc/__longjmp.S: Use be instead of bz.
e215c478 2455
edf66db1 2456 * sysdeps/unix/bsd/Dist: Add bsdtty.h.
e215c478 2457
edf66db1
SP
2458 * tzfile.c (__tzfile_read): Don't allocate space for 0 leaps.
2459 Don't loop infinitely.
e215c478 2460
edf66db1
SP
2461 * sysdeps/unix/Makefile (make-errnos.c): Use tr to eat newlines in
2462 errnos file.
e215c478 2463
edf66db1 2464 * sysdeps/unix/bsd/sun/sun4/__brk.S: Fix andn arg order.
e215c478 2465
edf66db1
SP
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.
e215c478 2468
edf66db1 2469 * manual/Makefile: Renamed summary.out to summary.texinfo.
e215c478 2470
edf66db1
SP
2471 * manual/summary.awk: New file, to make summary.out.
2472 Replaces `process-definitions.el'.
2473 * manual/Makefile (summary.out): Create using summary.awk.
e215c478 2474
edf66db1
SP
2475 * manual/Makefile: Created.
2476 * Makefile, Make-dist: Use it to format and distribute the manual.
e215c478 2477
edf66db1 2478Mon Feb 10 00:32:17 1992 Jim Meyering (meyering@churchy.gnu.ai.mit.edu)
e215c478 2479
edf66db1
SP
2480 * All Makefiles:
2481 Whenever using shell redirection to create a target,
2482 do not create the target directly like this
e215c478 2483
edf66db1
SP
2484 foo: bar
2485 process $< > $@
e215c478 2486
edf66db1
SP
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).
e215c478 2492
edf66db1 2493 Instead use rules like this
e215c478 2494
edf66db1
SP
2495 foo: bar
2496 process $< > $@-tmp
2497 mv $@-tmp $@
e215c478 2498
edf66db1
SP
2499 Using this paradigm, as long as process returns non-zero
2500 whenever it fails, the target won't be touched.
e215c478 2501
edf66db1 2502Sun Feb 9 22:58:51 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2503
edf66db1
SP
2504 * posix/unistd.h (getopt): Fixed prototype.
2505 * sysdeps/generic/memset.c, stdio/vdprintf.c: Fixed DEFUNs.
e215c478 2506
edf66db1
SP
2507 * Makerules (lib): Use $(RANLIB) for ranlib.
2508 * Makeconfig: Define it.
e215c478 2509
edf66db1
SP
2510 * configure: Create config.status to set ARCH, if successful.
2511 * Makeconfig: include config.status ifndef ARCH.
e215c478 2512
edf66db1 2513Thu Feb 6 20:57:10 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2514
edf66db1
SP
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.
e215c478 2518
edf66db1
SP
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.
e215c478 2524
edf66db1 2525Wed Jan 29 17:11:25 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
e215c478 2526
edf66db1
SP
2527 * sysdeps/posix/getcwd.c: Don't use chdir; use a long ../../../...
2528 path name instead.
e215c478 2529
edf66db1 2530Fri Jan 17 02:51:10 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
e215c478 2531
edf66db1
SP
2532 * posix/Makefile (headers): Added getopt.h.
2533 (routines): Added getopt1.
2534 Get getopt* from /home/gd/gnu/lib by vpath.
e215c478 2535
edf66db1 2536 * Makerules (+ansideclificate): Don't assume . is in PATH.
e215c478 2537
edf66db1 2538Thu Jan 16 18:43:05 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
e215c478 2539
edf66db1 2540 * posix/glob.c [sgi]: No alloca.h, after all.
e215c478 2541
edf66db1 2542Wed Jan 15 14:17:37 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
e215c478 2543
edf66db1
SP
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).
e215c478 2549
edf66db1 2550Tue Jan 14 21:18:10 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
e215c478 2551
edf66db1
SP
2552 * sysdeps/unix/i386/__brk.S: __end, not ___end.
2553 Get the arg off the stack correctly.
e215c478 2554
edf66db1 2555 * sysdeps/unix/Makefile: Allow errnos like EL3HLT.
e215c478 2556
edf66db1 2557 * sysdeps/posix/{readv,writev}.c: Typos.
e215c478 2558
edf66db1
SP
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.
e215c478 2561
edf66db1 2562 * sysdeps/i386/memset.c: Include <memcopy.h>.
e215c478 2563
edf66db1
SP
2564 * sysdeps/generic/uname.c (uname): Save and restore errno if
2565 gethostname gets ENOSYS.
e215c478 2566
edf66db1
SP
2567 * stdio/perror.c (perror): Check correctly for S == "".
2568 Check correctly for ERRNUM being in range.
e215c478 2569
edf66db1
SP
2570 * find-sysdirs: Don't use fgrep -s, since USG apparently doesn't
2571 have that flag. Just >/dev/null instead.
e215c478 2572
edf66db1 2573Mon Jan 13 17:00:15 1992 Torbjorn Granlund (tege at mole.gnu.ai.mit.edu)
e215c478 2574
edf66db1
SP
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.)
e215c478 2578
edf66db1 2579Tue Jan 7 18:40:18 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
e215c478 2580
edf66db1
SP
2581 * resource/sys/resource.h (struct rusage): Change `ru_outblock' to
2582 `ru_oublock'.
e215c478 2583
edf66db1 2584 * sysdeps/generic/stpcpy.c: Fixed off-by-one bug.
e215c478 2585
edf66db1 2586Thu Jan 2 15:19:01 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
e215c478 2587
edf66db1 2588 * sysdeps/sparc/Dist: Add umul.S and mul.S.
e215c478 2589
edf66db1 2590Tue Dec 31 15:33:39 1991 Roland McGrath (roland@albert.gnu.ai.mit.edu)
e215c478 2591
edf66db1
SP
2592 * signal/signal.h [__USE_GNU]: Add user-visible `sighandler_t' ==
2593 __sighandler_t.
e215c478 2594
edf66db1 2595 * termios/speed.c (speedtab): Made const.
e215c478 2596
edf66db1 2597 * posix/Makefile (routines): Add flock.
e215c478 2598
edf66db1 2599Tue Dec 31 03:38:30 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
e215c478 2600
edf66db1
SP
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.
e215c478 2604
edf66db1 2605Thu Oct 24 16:19:49 1991 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
e215c478 2606
edf66db1 2607 * ansidecl: Put `M4OPTS=+quiet' in the environment make GNU m4 quiet.
e215c478 2608
edf66db1 2609Sun Oct 20 19:31:28 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2610
edf66db1
SP
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.
e215c478 2616
edf66db1 2617 * sysdeps/sparc/Makefile (distribute): Move data into Dist file.
e215c478 2618
edf66db1 2619Fri Oct 18 15:27:58 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2620
edf66db1
SP
2621 * Makefile (subdirs): Add $(sysdep-subdirs), so sysdep makefiles can
2622 add subdirs.
e215c478 2623
edf66db1 2624 * posix/glob.c [sgi]: Use <sys/dir.h>.
e215c478 2625
edf66db1 2626 * stdio/fopen.c: If not appending, initialize the offset to 0.
e215c478 2627
edf66db1 2628 * sysdeps/generic/strcasecmp.c: Fixed losing braindead code.
e215c478 2629
edf66db1 2630Tue Oct 8 15:27:54 1991 Roland McGrath (roland@albert.gnu.ai.mit.edu)
e215c478 2631
edf66db1
SP
2632 * Version 0.1.
2633 * This ChangeLog is lacking much information.
2634 * After this release, I hope to maintain the log well.
e215c478 2635
edf66db1 2636Fri Jul 26 18:02:57 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2637
edf66db1 2638 * stdio/Makefile (routines): Remove _cleanup.
e215c478 2639
edf66db1 2640Thu Jul 25 23:12:45 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2641
edf66db1
SP
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.
e215c478 2649
edf66db1 2650Tue Jul 23 14:11:29 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2651
edf66db1
SP
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????
e215c478 2655
edf66db1
SP
2656 * posix/glob.c [DIRENT]: #include <sys/types.h> before <dirent.h>
2657 #ifdef USG.
e215c478 2658
edf66db1 2659Mon Jul 22 17:06:24 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2660
edf66db1
SP
2661 * sysdeps/posix/make-stdio_limits.c: #include <posix1_limits.h>,
2662 not <posix_limits.h>.
e215c478 2663
edf66db1 2664 * README: Refer to COPYING.LIB, not COPYING.
e215c478 2665
edf66db1
SP
2666 * config.libc: Renamed to `configure'.
2667\f
2668Local Variables:
2669mode: change-log
2670End: