]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog.2
Update nss tests to new skeleton
[thirdparty/glibc.git] / ChangeLog.2
CommitLineData
edf66db1 1Mon Jan 17 17:31:28 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2
edf66db1 3 * Version 1.07 released.
e215c478 4
edf66db1 5 * Makerules (install-lib rules): Fix typos: missing / after $(libdir).
e215c478 6
edf66db1
SP
7 * posix/Makefile (lib): Depend on $(objpfx)libposix.a
8 * malloc/Makefile (lib): Depend on $(objpfx)libmcheck.a.
9 * math/Makefile (lib): Depend on $(objpfx)libm.a.
10 * misc/Makefile (lib): Depend on $(objpfx)libbsd-compat.a.
e215c478 11
edf66db1 12 * sysdeps/unix/sysv/sco3.2.4/__setpgid.c: New file.
e215c478 13
edf66db1
SP
14 * stdio/internals.c (flushbuf): Don't try aligned-block writing
15 calculation when FP->__buffer is nil.
e215c478 16
edf66db1 17Mon Jan 17 17:27:56 1994 Jim Meyering (meyering@comco.com)
e215c478 18
edf66db1
SP
19 * sysdeps/generic/memcmp.c [!_LIBC]: Include <sys/types.h> for
20 definition of size_t.
e215c478 21
edf66db1 22Mon Jan 17 17:13:11 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 23
edf66db1
SP
24 * sysdeps/unix/sysv/sco3.2.4/syscall.h: Add SYS_[gs]etitimer and
25 SYS_pgrpsys (from scottb).
e215c478 26
edf66db1 27 * sysdeps/unix/configure: Check for getitimer and setitimer syscalls.
e215c478 28
edf66db1 29 * sysdeps/unix/bsd/sequent/i386/syscall.S: New file from jason.
e215c478 30
edf66db1 31Sun Jan 16 00:41:03 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 32
edf66db1 33 * string/strerror.c (strerror): Declare BUF to be array of char.
e215c478 34
edf66db1 35 * Version 1.06.13.
e215c478 36
edf66db1 37Sat Jan 15 17:27:26 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 38
edf66db1
SP
39 * stdlib/testsort.c (main): Rewrite not to read any input; instead
40 generate some random alphabetic strings.
e215c478 41
edf66db1 42 * stdlib/Makefile (testsort.input): Rules removed.
e215c478 43
edf66db1 44 * sysdeps/unix/sysv/i386/__sigret.S: New file.
e215c478 45
edf66db1
SP
46 * stdio/Makefile (distribute): Add mpn-copy.mk.
47 Remove 68k rules; include mpn-copy.mk for dir names needing
48 translation, and rewrite no-68k rules to be generic for the rest.
49 (mpn-copy-sysdep): New variable.
50 (mpn-stuff): Include $(mpn-copy-sysdep).
51 (clean-mpn): Use rm -f.
e215c478 52
edf66db1 53 * configure.in (machine): Match m68... and m88..., not mc[68]8....
e215c478 54
edf66db1
SP
55 * stdio/printf_fp.c: For length arg to __mpn_extract_double, pass
56 actual number of limbs allocated for F, not LDBL_MANT_DIG.
e215c478 57
edf66db1 58Fri Jan 14 19:09:29 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 59
edf66db1 60 * sysdeps/unix/i386/sysdep.S: Fixed typo: `movl', not `move'.
e215c478 61
edf66db1 62 * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Swap args in cmpl insn.
e215c478 63
edf66db1 64Thu Jan 13 17:09:19 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 65
edf66db1 66 * Version 1.06.12.
e215c478 67
edf66db1
SP
68 * sysdeps/mips/sqrt.c: File removed. Ian says only the r[46]00
69 have `sqrt.d' and GCC open codes it anyway. Perhaps someday
70 Brendan will be able to explain his rationale for writing this. :(
e215c478 71
edf66db1 72Tue Jan 11 18:10:17 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 73
edf66db1
SP
74 * posix/sys/wait.h (__WAIT_STATUS, __WAIT_STATUS_DEFN): Use snazzy
75 version only for GCC >= 2.6 (was 2.4); 2.5.7 produces bad code on
76 sparc when the union arg type is used.
e215c478 77
edf66db1
SP
78 * Makeconfig (libprefix): New variable.
79 * Makerules ($(libdir)/libc.a, install): Insert $(libprefix)
80 between `lib' and `c' in the file name.
81 [install-lib] (install-lib.a, install-lib-non.a): New variables
82 separate out $(install-lib) elts which do or don't match lib%.a.
83 ($(libdir)/...): Split into two rules for above two cases. Put
84 $(libprefix) on installed files; for lib%.a insert it before %
85 rather than at beginning of file name.
e215c478 86
edf66db1 87 * Version 1.06.11.
e215c478 88
edf66db1
SP
89 * Makerules (compilation rules): Move directoryless rules (for
90 finding sources in .) before include sysd-rules. Omit rules to
91 compile from sources in $(objpfx) if not using $(objdir).
e215c478 92
edf66db1
SP
93 * sysdeps/stub/errlist.c [! HAVE_GNU_LD]: #define _sys_errlist to
94 sys_errlist and _sys_nerr to sys_nerr.
e215c478 95
edf66db1 96Mon Jan 10 15:01:32 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 97
edf66db1
SP
98 * time/Makefile (z.%): In generated rules, depend on yearistype.
99 (tzcompile): Pass -y flag with file name of yearistype.
e215c478 100
edf66db1 101Sun Jan 9 17:51:43 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 102
edf66db1 103 * misc/bsd-compat.c (longjmp): Use __NORETURN in type.
e215c478 104
edf66db1
SP
105 * sysdeps/ieee754/dbl2mpn.c [N == 2]: For denormal, when
106 RES_PTR[1] is zero, return 1 instead of 2.
e215c478 107
edf66db1 108Sun Jan 9 13:10:25 1994 Torbjorn Granlund (tege@adder.cygnus.com)
e215c478 109
edf66db1
SP
110 * stdio/printf_fp.c: Solve 10+ problems.
111 * ieee754/dbl2mpn.c: Correctly detect denorms. Get the denom
112 exponent right.
e215c478 113
edf66db1 114Sun Jan 9 00:40:48 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 115
edf66db1
SP
116 * sysdeps/ieee754/dbl2mpn.c: Test BITS_PER_MP_LIMB and handle
117 either 32 or 64; #error if not one of those.
e215c478 118
edf66db1 119 * sysdeps/stub/udiv_qrnnd.c: Renamed from udiv_qrnnd.S.
e215c478 120
edf66db1 121Sat Jan 8 00:25:15 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 122
edf66db1 123 * Version 1.06.10.
e215c478 124
edf66db1 125 * Makerules ($(libdir)/libc.a): Depend on subdir_install.
e215c478 126
edf66db1 127Thu Jan 6 02:17:07 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 128
edf66db1
SP
129 * Makerules ($(bindir)/$(install)): Use $(INSTALL_PROGRAM), not
130 $(INSTALL).
131 ($(libdir)/libc.a): Don't depend on lib-noranlib; on libobjs and
132 ar-it instead. Run ranlib on target after installing.
133 (installdirs): Target removed; deps on it removed.
134 (install-{bin,lib,data,headers,others,no-libc.a}): Renamed to
135 `install-*-nosubdir'.
136 (install-%): New pattern rule.
137 (install): Depend only on install-no-libc.a-nosubdir.
138 * Rules (subdir_install): Depend on lib-noranlib and stubs.
139 * Makefile (headers): Remove stubs.h.
140 (install-others): Define to include $(includedir)/stubs.h.
141 ($(includedir)/stubs.h): New target for $(objpfx)stubs.h rule.
142 Depend only on subdir_install, and install directly.
e215c478 143
edf66db1 144 * Makerules (sed-remove-objpfx): Require SPC before $(objpfx) to match.
e215c478 145
edf66db1
SP
146 * time/zic.c (mkdirs): Duplicate passed string in allocated memory
147 and free it when done.
e215c478 148
edf66db1 149 * dirent/dirent.h [__USE_BSD || __USE_MISC]: Get size_t from stddef.h.
e215c478 150
edf66db1 151 * sysdeps/ieee754/dbl2mpn.c: For zero value, return 1 limb not 0.
e215c478 152
edf66db1
SP
153 * Makerules (make-dummy-dep): Use filter-out to invert sense of
154 wildcard match, so we produce a command if $@ does *not* exist.c
e215c478 155
edf66db1 156 * stdio/Makefile (routines): Add dbl2mpn.
e215c478 157
edf66db1 158Wed Jan 5 17:52:43 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 159
edf66db1
SP
160 * sysdeps/unix/i386/sysdep.S (syscall_error): Reverse args in
161 `cmpl' insn; non-GNU assembler is feeble-minded.
e215c478 162
edf66db1 163Mon Jan 3 18:53:45 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 164
edf66db1
SP
165 * configure.in (sysnames): Remove / before $mach; it is prepended
166 already by the loop constructing $mach from $machine.
e215c478 167
edf66db1 168Tue Dec 28 07:38:23 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 169
edf66db1 170 * stdio/Makefile [gmp-srcdir] (clean-mpn): New target.
e215c478 171
edf66db1
SP
172 * configure.in (machine): Turn i[34]86 into i386/&, sparc* into
173 sparc/&, m68k into m68k/mc68020, mc680?0 into m68k/&, mips or
174 r2000 into mips/r3000, r[34]000 into mips/&.
175 (mach): New variable; processed from $machine as $base from $base_os.
176 Use that in place of $machine in loop finding sysdep directories.
e215c478 177
edf66db1
SP
178 * stdio/Makefile (aux): Add mp_clz_tab.
179 (mpn-copy): Add mp_clz_tab.c.
180 (mpn-routines): Add udiv_qrnnd.
181 (mpn-sysdep): Look for .s files too.
182 * sysdeps/stub/udiv_qrnnd.S: New file.
e215c478 183
edf66db1 184Sat Dec 25 00:20:07 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 185
edf66db1 186 * Version 1.06.9.
e215c478 187
edf66db1
SP
188 * Makefile (distribute): Add install.sh.
189 * install.sh: New file.
e215c478 190
edf66db1
SP
191 * sysdeps/i386/Makefile: New file.
192 (asm-CPPFLAGS): Add -DGAS_SYNTAX.
193
194 * stdio/printf_fp.c: Major rewrite of sysdeps/generic/printf_fp.c,
195 working with the fractional parts as multiprecision integers
196 instead of doubles, using mpn functions from GNU MP. Done with
197 much help from tege@cygnus.com.
198 * sysdeps/generic/printf_fp.c, sysdeps/ieee754/printf_fp.c,
199 sysdeps/m68k/fpu/printf_fp.c: Files removed.
200
201Fri Dec 24 23:09:44 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
202
203 * sysdeps/stub/dbl2mpn.c, sysdeps/iee754/dbl2mpn.c: New files.
204 * sysdeps/stub/asm.h: New file.
205 * sysdeps/m68k/add_n.S, sysdeps/m68k/addmul_1.S,
206 sysdeps/m68k/mul_1.S, sysdeps/m68k/sub_n.S,
207 sysdeps/m68k/submul_1.S, sysdeps/m68k/asm.h,
208 sysdeps/generic/add_1.c, sysdeps/generic/add_n.c,
209 sysdeps/generic/addmul_1.c, sysdeps/generic/cmp.c,
210 sysdeps/generic/divmod.c, sysdeps/generic/divmod_1.c,
211 sysdeps/generic/lshift.c, sysdeps/generic/rshift.c,
212 sysdeps/generic/mod_1.c, sysdeps/generic/mul.c,
213 sysdeps/generic/mul_1.c, sysdeps/generic/mul_n.c,
214 sysdeps/generic/sub_n.c, sysdeps/generic/submul_1.c,
215 sysdeps/generic/get_str.c, sysdeps/i386/addmul_1.S,
216 sysdeps/i386/mul_1.S, sysdeps/i386/submul_1.S,
217 sysdeps/alpha/gmp-mparam.h, sysdeps/generic/gmp-mparam.h,
218 sysdeps/i386/asm.h, stdio/longlong.h, stdio/gmp.h,
219 stdio/gmp-impl.h: New files, taken from GNU MP.
220 * stdio/Makefile (mpn-headers, mpn-routines): New variables.
221 (routines): Include $(mpn-routines).
222 (distribute): Include $(mpn-headers).
223 [gmp-srcdir]: Much code to copy mpn source from $(gmp-srcdir).
224 * configure.in: Check for a --with-gmp argument and set gmp-srcdir
225 in config.make to its value (error if no arg given). Move
226 config_vars initialization before this (right after arg parsing).
227
228Thu Dec 23 01:44:12 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
229
230 * sysdeps/m68k/Makefile (m68k-syntax-flag): New variable.
231 (compile-command.S): Include $(m68k-syntax-flag) in cpp flags.
232
233 * manual/Makefile (install-data): New target.
234 (install-%): New pattern rule.
235
236 * Makerules ($(bindir)/...): Do $(make-target-directory) first.
237
238Thu Dec 23 01:03:19 1993 Brendan Kehoe (brendan@zen.org)
239
240 Port to the DEC Alpha running OSF/1. (75% done)
241 * sysdeps/unix/bsd/osf1/alpha/start.S: New file.
242 * sysdeps/unix/bsd/osf1/alpha/sysdep.h: New file.
243 * sysdeps/unix/bsd/osf1/alpha/sysdep.S: New file.
244 * sysdeps/unix/bsd/osf1/alpha/__brk.S: New file (incomplete).
245 * sysdeps/unix/bsd/osf1/alpha/__fork.S: New file.
246 * sysdeps/unix/bsd/osf1/alpha/__pipe.S: New file.
247 * sysdeps/unix/bsd/osf1/alpha/__getdents.S: New file.
248 * sysdeps/unix/bsd/osf1/alpha/__waitpid.c: New file.
249 * sysdeps/unix/bsd/osf1/alpha/__wait4.S: New file.
250 * sysdeps/unix/bsd/osf1/dirstream.h: New file.
251 * sysdeps/unix/bsd/osf1/alpha/statbuf.h: New file.
252 * sysdeps/unix/bsd/osf1/direct.h: New file.
253 * sysdeps/unix/bsd/osf1/dirstream.h: New file.
254 * sysdeps/unix/bsd/osf1/Makefile: New file, defining LDFLAGS.
255
256 * sysdeps/unix/ioctls-tmpl.c [__osf1__ && __alpha__]: Clean up the
257 ioctls that we get for an Alpha running OSF/1.
258
259 * sysdeps/unix/common/glue-ctype.c: Add code for HAVE__LOCP.
260 (main): If new macro TABLE_NAME is defined, use that for the name
261 of the array we're writing out, rather than what's defined in TABLE.
262 * sysdeps/unix/common/configure.in (AC_HAVE_FUNCS): Add `_locp'.
263
264 * sysdeps/unix/bsd/osf1/sigaction.h: Add SA_ONSTACK, SA_RESTART,
265 and SA_DISABLE.
266 * sysdeps/alpha/setjmp.S: Add .end directive.
267
268 * time/sys/time.h (struct timeval): Make members TV_SEC and
269 TV_USEC be `int', not `long', since it won't hurt other hosts, but
270 kills the Alpha.
271 * resource/sys/resource.h (struct rusage): Make all non-timeval
272 members be `long', not `int'.
273
274 * sysdeps/alpha/strlen.c (strlen): Go from 0 to 7, not 3, since
275 there are 8 bytes in a long on the Alpha. Check for '\0' after
276 checking for C in initial byte-by-byte loop.
277 * sysdeps/alpha/strchr.c (strchr): Likewise. Shift out to 64 when
278 setting CHARMASK.
279 * sysdeps/alpha/memchr.c (memchr): Likewise. Return NULL if we
280 didn't find it in N characters, or N == 0. Declare CP to be an
281 unsigned char*.
282
283 * sysdeps/alpha/Makefile: Add divrem stuff.
284 * sysdeps/alpha/DEFS.h: New file.
285 * sysdeps/alpha/divrem.m4: New file.
286 * sysdeps/alpha/macros.m4: New file.
287 * sysdeps/alpha/Dist: Add .S files, divrem.m4, macros.m4, and DEFS.h.
288
289 * sysdeps/unix/bsd/osf1/alpha/vhangup.S: New file. (Only a
290 temporary workaround, until we figure out how to deal with the
291 SYS_ult syscalls better.)
292 * sysdeps/unix/bsd/osf1/alpha/killpg.S: Likewise.
293 * sysdeps/unix/bsd/osf1/alpha/__sigvec.S: Likewise.
294 * sysdeps/unix/bsd/osf1/alpha/__sigpause.S: Likewise.
295 * sysdeps/unix/bsd/osf1/alpha/__sigstmsk.S: Likewise.
296 * sysdeps/unix/bsd/osf1/alpha/recv.S: Likewise.
297 * sysdeps/unix/bsd/osf1/alpha/send.S: Likewise.
298
299 * sysdeps/alpha/__math.h (__copysign): Add __CONSTVALUE.
300 * sysdeps/alpha/__copysign.c: Define __NO_MATH_INLINES.
301 * sysdeps/alpha/fabs.c: Likewise.
302
303Wed Dec 22 17:55:49 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
304
305 * crypt/*: New version from glad.
306
307 * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
308
309 * dirent/Makefile (headers): Define; include dirent.h & dirstream.h.
310
311Tue Dec 21 14:24:38 1993 Brendan Kehoe (brendan@zen.org)
312
313 * sysdeps/unix/sysv/sysv4/i386/statbuf.h (struct stat): Add
314 missing member ST_FSTYPE. Fixup types on various members to make
315 this properly reflect what the system has.
e215c478 316
edf66db1
SP
317 * misc/ioctl.c (ioctl): Declare 2nd arg to be unsigned long int to
318 match the change in ioctl.h.
e215c478 319
edf66db1 320Tue Dec 21 00:01:01 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 321
edf66db1 322 * Version 1.06.8.
e215c478 323
edf66db1
SP
324 * dirent/dirent.h (struct dirent): Add `d_reclen'; make `d_namlen'
325 an `unsigned short int' instead of `size_t'.
326 (DIR): Move typedef to sysdep file dirstream.h.
327 * sysdeps/unix/dirstream.h: New file, broken out of dirent.h.
328 * sysdeps/stub/dirstream.h: New file.
329 * sysdeps/unix/bsd/dirstream.h: New file.
330 * sysdeps/unix/bsd/readdir.c: New file.
e215c478 331
edf66db1 332Mon Dec 20 23:29:07 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 333
edf66db1
SP
334 * sysdeps/unix/start.c: Include <sysdep.h>.
335 * sysdeps/unix/sysv/sysv4/i386/start.c: File removed.
e215c478 336
edf66db1 337Sat Dec 18 01:37:25 1993 Brendan Kehoe (brendan@zen.org)
e215c478 338
edf66db1
SP
339 * sysdeps/unix/sysv/sysv4/i386/start.c: New file. Same as
340 sysdeps/unix/i386/start.c, but defines NO_UNDERSCORES.
e215c478 341
edf66db1
SP
342 * sysdeps/unix/sysv/sysv4/waitflags.h: New file, with non-standard
343 WEXITED and WTRAPPED macros defined.
344 * sysdeps/unix/sysv/sysv4/__waitpid.c: New file.
345 * sysdeps/unix/sysv/sysv4/siginfo.h: New file.
346 * sysdeps/unix/sysv/sysv4/__waitid.S: New file.
347 * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Mention __waitid.
348 * sysdeps/unix/sysv/sysv4/pipestream.c: New file, to avoid having
349 NO_WAITPID set.
350 * sysdeps/unix/sysv/sysv4/Dist: Added __waitid.S and siginfo.h.
e215c478 351
edf66db1
SP
352 * sysdeps/unix/sysv/sysv4/__getpgid.c: New file.
353 * sysdeps/unix/sysv/sysv4/__setpgid.c: New file.
354 * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Add them.
e215c478 355
edf66db1
SP
356 * sysdeps/unix/sysv/sysv4/__getpgrp.c (__getpgrp): It's the 0th
357 subcall for getpgrp, not 4th.
358 * sysdeps/unix/sysv/sysv4/__setpgrp.c (__setpgrp): Likewise, it's
359 the 1st, not the 5th.
e215c478 360
edf66db1 361Fri Dec 17 15:05:58 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 362
edf66db1
SP
363 * misc/sys/ioctl.h (__ioctl, ioctl): Make second arg `unsigned
364 long int' instead of `int' (4.4 uses unsigned long).
e215c478 365
edf66db1 366 * string/string.h (strcat): Parameters names were swapped.
e215c478 367
edf66db1 368Fri Dec 17 01:18:27 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
e215c478 369
edf66db1
SP
370 * Made the Hurd error system 0x10 again; this undid many
371 of the changes of Nov 23. Affected all the err_ files in
372 mach; recreated sysdeps/hurd/err_hurd.sub; changed back
373 err_kern.sub to have the Unix error codes.
e215c478 374
edf66db1 375Thu Dec 16 15:40:25 1993 Brendan Kehoe (brendan@zen.org)
e215c478 376
edf66db1
SP
377 * stdio/temptest.c (main): Remove the files we created once we're
378 done. Make return type int, and exit with 0 status.
e215c478 379
edf66db1
SP
380 * sysdeps/posix/tempname.c (__stdio_gen_tempname): Fix typo of
381 extra comma in sprintf call.
e215c478 382
edf66db1 383Tue Dec 14 13:08:35 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 384
edf66db1
SP
385 * sysdeps/posix/tempname.c (__stdio_gen_tempname): Rewrote main
386 logic. Removed INFOS structure array and replaced it with
387 INDICES, an array of size_t. Removed INFO ptr and replaced it
388 with IDX, which points to either elt of INDICES. Rewrite main
389 loop to increment *IDX until it hits 62*62*62. Construct file
390 name by dividing out two powers of 62 from *IDX and using the
391 modulus as an index into `letters'.
e215c478 392
edf66db1
SP
393 * sysdeps/unix/common/Makefile (sysdep_routines): Only add
394 bsd_getgrp here if the sysdep __getgrps.? chosen is unix/common's.
e215c478 395
edf66db1
SP
396 * posix/fnmatch.h: #undef FNM_PATHNAME, FNM_NOESCAPE, and
397 FNM_PERIOD before defining them.
e215c478 398
edf66db1
SP
399 * time/__tzset.c (compute_change): In M case when tallying time in
400 months before specified month, count to RULE->m - 1, not ...+1.
e215c478 401
edf66db1
SP
402 * manual/Makefile (realclean): Remove index, aux, and toc files
403 created by TeX.
e215c478 404
edf66db1 405Mon Dec 13 19:33:33 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 406
edf66db1
SP
407 * sysdeps/posix/__wait3.c: Use __WAIT_STATUS_DEFN in place of
408 __WAIT_STATUS in arg type.
e215c478 409
edf66db1 410Wed Dec 8 15:59:45 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 411
edf66db1
SP
412 * malloc/memalign.c: Set L->next and _aligned_blocks only when L
413 is newly allocated, not when we reuse an old one.
e215c478 414
edf66db1 415Tue Dec 7 16:04:22 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 416
edf66db1
SP
417 * io/fcntl.c: Replace function_alias use with:
418 [HAVE_GNU_LD]: Use symbol_alias.
419 [! HAVE_GNU_LD]: Define fcntl to use stdarg and call __fcntl.
e215c478 420
edf66db1 421Mon Dec 6 17:50:05 1993 Brendan Kehoe (brendan@zen.org)
e215c478 422
edf66db1
SP
423 * sysdeps/unix/i386/sysdep.S (syscall_error): Fix labels so
424 they'll compile.
e215c478 425
edf66db1
SP
426 Make the Solaris port work dammit.
427 * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h (struct stat): Make
428 ST_DEV member be unsigned long, not short.
e215c478 429
edf66db1
SP
430 * sysdeps/unix/sysv/sysv4/solaris2/direct.h: New file, same as
431 sysv4/direct.h but uses strlen instead of the offset-based
432 computation of the name length, since that doesn't reliably work
433 for Solaris.
e215c478 434
edf66db1
SP
435 * sysdeps/unix/sysv/sysv4/solaris2/sysdep.h (PSEUDO): Don't move
436 %g0 into %o0, since that will clobber the real return value. Take
437 out the retl at the end, why in the world did I put it in there?
e215c478 438
edf66db1 439Mon Dec 6 17:27:26 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 440
edf66db1
SP
441 * Makefile ($(objpfx)crt1.o): Add target to $(objpfx)Mcrt1.o
442 rule; generalize commands.
443 (install-lib): Add crt1.o.
e215c478 444
edf66db1
SP
445 * sysdeps/unix/Makefile ($(common-objpfx)ioctls): Use -x flag to
446 fgrep to match only entire lines.
e215c478 447
edf66db1 448Sun Dec 5 01:53:43 1993 Brendan Kehoe (brendan@zen.org)
e215c478 449
edf66db1
SP
450 * sysdeps/unix/bsd/ultrix4/mips/start.S: New file.
451 * sysdeps/unix/bsd/ultrix4/mips/start.c: Deleted.
e215c478 452
edf66db1 453Thu Dec 2 18:29:01 1993 Brendan Kehoe (brendan@zen.org)
e215c478 454
edf66db1
SP
455 * sysdeps/unix/bsd/ultrix4/mips/sysdep.S: Don't use dollar signs
456 with the errnos.
e215c478 457
edf66db1
SP
458 * sysdeps/stub/{__wait, __wait3, __wait4}.c,
459 sysdeps/unix/bsd/bsd4.4/{__wait, __wait3}.c,
460 sysdeps/unix/bsd/sun/sunos4/__wait4.c,
461 sysdeps/posix/{__wait, __wait3}.c, posix/{wait, wait3, wait4}.c: Use
462 __WAIT_STATUS_DEFN, not __WAIT_STATUS.
e215c478 463
edf66db1
SP
464 * sysdeps/posix/killpg.c (killpg): Make arg PGRP __pid_t, not pid_t.
465 * sysdeps/stub/killpg.c (killpg): Likewise.
e215c478 466
edf66db1
SP
467 * setjmp/longjmp.c (longjmp): Only use __NORETURN if !HAVE_GNU_LD.
468 * setjmp/_longjmp.c (_longjmp): Likewise.
e215c478 469
edf66db1 470Thu Dec 2 17:31:19 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 471
edf66db1 472 * posix/sys/wait.h (__WAIT_STATUS_DEFN): Define new macro.
e215c478 473
edf66db1
SP
474 * Makerules (+install): Variable removed.
475 (install-bin, install-lib, install-data, install-headers,
476 install-others): New targets.
477 (install-no-libc.a): Depend on them instead of $(+install).
e215c478 478
edf66db1
SP
479 * Makefile (+subdir_targets): Add
480 install-{no-libc.a,bin,lib,data,headers,others}.
481 (install-no-libc.a): Don't depend on subdir_install.
e215c478 482
edf66db1 483Thu Dec 2 17:14:39 1993 Brendan Kehoe (brendan@zen.org)
e215c478 484
edf66db1
SP
485 * sysdeps/ieee754/__isnan.c (__isnan): Return __CONSTVALUE, to
486 match declaration in math/math.h.
e215c478 487
edf66db1 488Thu Dec 2 15:48:19 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 489
edf66db1
SP
490 * time/africa, time/antarctica, time/asia, time/australasia,
491 time/emkdir.c, time/europe, time/ialloc.c, time/northamerica,
492 time/pacificnew, time/private.h, time/solar87, time/solar88,
493 time/southamerica time/systemv, time/tzfile.h, time/zdump.c,
494 time/zic.c: New data and code from ADO.
495 * time/Makefile (tzfiles): Added backward.
496 * time/backward: New file from ADO.
e215c478 497
edf66db1 498 * locale/C-ctype_ct.c: Remove _ISspace bit from BS (8).
e215c478 499
edf66db1 500Wed Dec 1 00:01:30 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
e215c478 501
edf66db1 502 * mach/err_kern.sub: Frob around lack of GNU ld.
e215c478 503
edf66db1
SP
504 * mach/errsystems.awk: The declaration of __mach_error_systems
505 should not be static, but it should be const.
e215c478 506
edf66db1
SP
507 * sysdeps/mach/hurd/errlist.awk (BEGIN): Deal with the case
508 where you don't have GNU ld.
e215c478 509
edf66db1 510 * sysdeps/mach/hurd/Makefile: Define mib_hacks to make.
e215c478 511
edf66db1 512Tue Nov 30 23:24:07 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
e215c478 513
edf66db1 514 * Makefile: install-no-libc.a needs to depend on subdir_install.
e215c478 515
edf66db1 516Mon Nov 29 16:21:38 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
e215c478 517
edf66db1 518 * sysdeps/mach/_strerror.c: Include <mach/errorlib.h>.
e215c478 519
edf66db1
SP
520 * hurd/setuids.c: Put entire file inside #ifndef MIB_HACKS;
521 it uses the old auth_makeauth call.
e215c478 522
edf66db1
SP
523 * hurd/__setauth.c: Put entire file inside #ifndef MIB_HACKS;
524 it depends on cthreads to compile, which is not yet integrated.
e215c478 525
edf66db1 526 * hurd/hurdpath.c (__hurd_path_lookup): cast to avoid GCC warning.
e215c478 527
edf66db1 528Wed Nov 24 00:59:15 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
e215c478 529
edf66db1
SP
530 * hurd/Makefile: Commented out hurdauth; recent changes to
531 auth.defs prevent it from working now.
e215c478 532
edf66db1
SP
533 * mach/mach_error_string.c (do_compat): Change name to
534 __mach_error_map_compat; make it no longer static.
535 (mach_error_type, mach_error_string_int): Use
536 __mach_error_map_compat instead of do_compat.
537 * sysdeps/mach/_strerror.c: Use __mach_error_map_compat.
e215c478 538
edf66db1
SP
539 * mach/devstream (output/write_some): Cast fourth argument to
540 device_write_inband to char * to avoid warning.
541 (output): Call to write_some mentioned variable `start' from
542 a previous version of the function; changed this to f->__buffer.
e215c478 543
edf66db1 544Tue Nov 23 23:16:13 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
e215c478 545
edf66db1
SP
546 [ The net effect of the following change is to eliminate error
547 systems which are specific to single-server Mach systems, and
548 to put the Hurd errors where the Unix errors were. ]
549 * mach/{err_bootstrap.sub,err_ipc.sub,err_server.sub,err_us.sub}:
550 None of these are used for the Hurd; we shouldn't pretend that
551 they are meaningful in our environment. The files have been
552 renamed to equivalent names with an equal sign prepended; this
553 will inhibit distribution and prevent the Makefile from looking at
554 them.
555 * mach/err_kern.sub: Deleted the definitios of err_codes_unix;
556 get the strings from _sys_errlist. Rename `unix' to `hurd'.
557 Rename err_os_sub to be err_kern_sub to match what errsystems.awk
558 expects.
559 * sysdeps/mach/hurd/err_hurd.sub: Deleted this file.
560 * sysdeps/mach/hurd/errnos.awk: Changed definition of _HURD_ERRNO
561 to be correct.
e215c478 562
edf66db1 563 * sysdeps/mach/hurd/Makefile: use gawk, not awk.
e215c478 564
edf66db1
SP
565 * mach/errsystems.awk: Generally rewrote the printf. It's now
566 closer to Roland's original, but without the $i mistake at all,
567 in any form.
e215c478 568
edf66db1 569Tue Nov 23 20:21:06 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 570
edf66db1
SP
571 * sysdeps/unix/{i386,sysv/sysv4/solaris2,sysv/i386/linux,bsd/m68k,
572 bsd/ultrix4/mips,bsd/vax}/sysdep.S: Define _ERRNO_H before
573 including <errnos.h>; otherwise <errnos.h> does not define most
574 macros (importantly, EAGAIN!).
e215c478 575
edf66db1 576Tue Nov 23 12:43:38 1993 Michael I. Bushnell (mib at ernst.gnu.ai.mit.edu)
e215c478 577
edf66db1
SP
578 * mach/errsystems.awk: $i is not an index; make i a variable and
579 increment it properly. Don't call `err_get_system'; use the
580 system number as the index in the array directly.
e215c478 581
edf66db1
SP
582 * mach/errorlib.h: Added `const' in all the right places.
583 * sysdeps/mach/hurd/err_hurd.sub: Cast _sys_errlist to
584 the right type. Better to declare it right in stdio/stdio.h, but
585 I don't dare change that file lest Roland call me a twit.
586 * mach/err_us.sub: Add more brackets to initializer to shut GCC up.
e215c478 587
edf66db1
SP
588 * sysdeps/mach/hurd/err_hurd.sub: Delete keyword `const'; this
589 is taken care of by the `#define static static const' found in
590 errsystems.c as created by mach/errsystems.awk.
591 * mach/errsystems.awk: Ditto for declaration of __mach_error_systems.
e215c478 592
edf66db1
SP
593 * sysdeps/mach/hurd/err_hurd.sub: Change <errnos.h> to <errno.h>;
594 errnos.h doesn't define most stuff unless it is included from errno.h.
e215c478 595
edf66db1
SP
596 * mach/mach_error_string.c (mach_error_string_int): Delete unused
597 variable `err_str'.
e215c478 598
edf66db1
SP
599 * mach/mach_error_string.c (do_compat): Declare to be void.
600 (mach_error_string,mach_error_type, mach_error_string_int):
601 Declare return type as const char *.
602 * mach/mach_error.h: Change declarations to match.
e215c478 603
edf66db1
SP
604 * mach/errsystems.awk: The array that split creates is origin 1,
605 not origin 0; fixed loop to match.
e215c478 606
edf66db1
SP
607 * sysdeps/mach/hurd/errnos.awk: Ernst's awk doesn't grok
608 backslash-newline inside strings.
e215c478 609
edf66db1 610Sat Nov 20 19:02:25 1993 Brendan Kehoe (brendan@zen.org)
e215c478 611
edf66db1
SP
612 * math/__finite.c (__finite): Return __CONSTVALUE, to match math.h.
613 * math/__scalb.c (__scalb): Likewise.
614 * math/copysign.c (copysign): Likewise.
615 * math/drem.c (drem): Likewise.
616 * math/expm1.c (expm1): Likewise.
617 * math/finite.c (finite): Likewise.
618 * math/infnan.c (infnan): Likewise.
619 * math/isinf.c (isinf): Likewise.
620 * math/isnan.c (isnan): Likewise.
621 * math/logb.c (logb): Likewise.
622 * math/rint.c (rint): Likewise.
623 * math/scalb.c (scalb): Likewise.
624 * sysdeps/generic/atan.c (atan): Likewise.
625 * sysdeps/ieee754/__copysign.c (__copysign): Likewise.
626 * sysdeps/ieee754/__drem.c (__drem): Likewise.
627 * sysdeps/ieee754/__isinf.c (__isinf): Likewise.
628 * sysdeps/ieee754/__logb.c (__logb): Likewise.
629 * sysdeps/ieee754/ldexp.c (ldexp): Likewise.
630 * sysdeps/ieee754/log10.c (log10): Likewise.
e215c478 631
edf66db1
SP
632 * setjmp/_longjmp (_longjmp): Add __NORETURN.
633 * setjmp/longjmp (longjmp): Likewise.
e215c478 634
edf66db1 635Thu Nov 18 04:16:34 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 636
edf66db1
SP
637 * string/strerror.c (strerror): Call _strerror_internal to do the
638 work, passing it a scratch buffer.
639 * stdio/perror.c: Likewise.
640 * string/Makefile (routines): Add _strerror.
641 * sysdeps/generic/_strerror.c (_strerror_internal): New file.
e215c478 642
edf66db1 643 * configure.in (config.status): Make it pass its args to configure.
e215c478 644
edf66db1 645Thu Nov 18 03:52:32 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
e215c478 646
edf66db1
SP
647 * stdio/__vfscanf.c (__vfscanf): Put the floating point cases
648 (e,E,f,g,G) inside #ifndef MIB_HACKS; roland thikgs strtod crashes
649 the compiler. Wheee.
650
651Thu Nov 18 03:21:51 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
652
653 * errno.h [__USE_GNU__]: Declare program_invocation_name and
654 program_invocation_short_name.
655
656Thu Nov 18 00:07:37 1993 Michael I. Bushnell (mib at ernst.gnu.ai.mit.edu)
657
658 * sysdeps/mach/hurd/start.c (start1): Don't add one to
659 the return value of split_args; it counts them just fine by
660 itself. Do add one when sizing the arrays.
661
662Mon Nov 15 00:19:48 1993 Noel Cragg (noel@geech.gnu.ai.mit.edu)
663
664 * time/mktime.c: add TIMES_THROUGH_SEARCH variable to make sure
665 that we don't get caught in an infinite loop (would be bad,
666 indeed, for a library routine).
667
668Sun Nov 14 18:48:28 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
669
670 * misc/sys/cdefs.h (__NORETURN, __CONSTVALUE): Use
671 `__attribute__', not `__attributes__'.
672 Test __GNUC_MINOR__ < 6, not < 5.
673
674Wed Nov 10 05:39:15 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
675
676 * sysdeps/unix/morecore.c: Only declare sbrk #ifdef __GNU_LIBRARY__.
677 Cast its return value.
678
679 * sysdeps/unix/bsd/m68k/syscall.S: Use movel in place of moveal.
680
681 * configure.in (signed size_t check): Don't use AC_DEFINE; do it
682 by hand and insert -U__SIZE_TYPE__ before -D.
683
684 * posix/unistd.h: Declare syscall.
685
686 * sysdeps/m68k/fpu/__math.h (__isnan, __isinf): Use __CONSTVALUE
687 in prototypes.
688
689 * configure.in (Makefile): Write ARCH=`pwd`, rather than
690 substituting in the directory name at configure time.
691
692 * sysdeps/mach/i386/syscall.S: New file.
693
694Tue Nov 9 06:29:15 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
695
696 * configure.in (os = netbsd* | 386bsd*): base_os=unix/bsd/bsd4.4.
697 Set --with-gnu-{ld,as} implicitly when base_os is bsd4.4.
698
699 * Version 1.06.7.
700
701 * misc/Makefile (routines): Add syscall.
702 * sysdeps/unix/syscall.S, sysdeps/stub/syscall.c,
703 sysdeps/unix/bsd/sun/m68k/syscall.S, sysdeps/unix/bsd/m68k/syscall.S,
704 sysdeps/unix/i386/syscall.S: New files.
705 * sysdeps/unix/bsd/hp/m68k/sysdep.h (DO_CALL): First arg
706 is syscall number, not name.
707 (PSEUDO): Pass POUND (SYS_ify (syscall_name)) to DO_CALL.
708 * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h (DO_CALL, PSEUDO):
709 Likewise. Also, do movel into d0 before linkw, so the argument
710 could conceivably pop the stack.
711 * sysdeps/unix/bsd/hp/m68k/__brk.S: Pass complete number to DO_CALL.
712
713 * sysdeps/unix/sysv/Dist: sys_getdents.S was renamed s_getdents.S.
714
715Thu Nov 4 01:23:59 1993 Michael I. Bushnell (mib at ernst.gnu.ai.mit.edu)
716
717 * string/stpncpy: Fix typo; according to gnu-stabs.h the name
718 inside the DEFUN should be the *non* __ version.
719 * sysdeps/generic/__stpncpy.c: Missing declaration of s.
720
721Wed Nov 3 09:35:30 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
722
723 * sysdeps/unix/Makefile ($(objpfx)errlist.c): Conditionalize these
724 rules to be used only when errlist.c is otherwise a stub.
725
726Fri Oct 29 17:29:20 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
727
728 * string/stpncpy.c: New file.
729 * sysdeps/generic/__stpncpy.c: New file.
730 * string/Makefile (routines): Add stpncpy and __stpncpy.
731 * string/string.h [__USE_GNU__]: Declare them.
732
733Thu Oct 28 17:13:58 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
734
735 * sysdeps/unix/errnos-tmpl.c (DO): If NAME is "EWOULDBLOCK",
736 write "#define EWOULDBLOCK EAGAIN" and change NAME to
737 "EWOULDBLOCK_sys".
738 * sysdeps/unix/{i386,sysv/sysv4/solaris2,sysv/i386/linux,bsd/m68k,
739 bsd/ultrix4/mips,bsd/vax}/sysdep.S [EWOULDBLOCK_sys]: Translate
740 EWOULDBLOCK_sys into EAGAIN.
741 * Makefile (distribute): Add move-if-change.
742 * move-if-change: New file.
743
744Tue Oct 26 18:19:34 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
745
746 * misc/sys/cdefs.h: Define __NORETURN and __CONSTVALUE.
747 For GCC 2.5 and later, use __attributes__ (({volatile,const})).
748 * stdlib/stdlib.h: Don't define either here.
749 * math/math.h: Likewise.
750 * posix/unistd.h: Likewise.
751 * time/time.h: Likewise.
752 * stdio/stdio.h: Likewise.
753 * setjmp/setjmp.h: Likewise.
754
755 * posix/sys/wait.h (__WAIT_STATUS): Use union hack defn for GCC
756 2.4 and up (testing __GNUC__ and __GNUC_MINOR__).
757
758 * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Don't include <limits.h>.
759
760 * Makerules [inhibit-sysdep-asm]
761 (open-check-inhibit-asm, close-check-inhibit-asm): New variables.
762 ($(+sysdir_pfx)sysd-rules): Use them around .s and .S rules.
763 Depend on existing sysdep makefiles.
764
765Mon Oct 25 15:56:41 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
766
767 * sysdeps/mach/hurd/killpg.c: Include <sys/types.h> for pid_t.
768
769 * sysdeps/posix/tempname.c (__stdio_gen_tempname): Take new arg
770 STREAMPTR. When non-nil, use __open with O_EXCL to test for
771 existence, and set *STREAMPTR to new stream on returned fd.
772 * stdio/stdio.h: Update prototype.
773 * sysdeps/stub/tempname.c: Here too.
774 * stdio/tmpfile.c: Pass &F to __stdio_gen_tempname instead of
775 using fopen.
776 * stdio/tmpnam.c: Pass extra NULL arg.
777 * stdio/tempnam.c: Likewise.
778
779 * configure.in (switches): Only put --os-{release,version} here.
780 (config.status): Write $configure_args in place of $config $switches.
781
782 * signal/Makefile (routines): Renamed sigaltstack to sigaltstk.
783 * sysdeps/stub/sigaltstack.c: Renamed to sigaltstk.c.
784 * sysdeps/unix/bsd/bsd4.4/sigaltstack.S: Renamed to sigaltstk.S.
785 * sysdeps/unix/sysv/sys_getdents.S: Renamed to s_getdents.S.
786 * sysdeps/unix/sysv/Makefile (sysdep_routines): Changed reference.
787
788Fri Oct 22 03:47:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
789
790 * malloc/realloc.c [MEMMOVE_MISSING]: Test this to use safe_bcopy.
791 [emacs]: Don't define safe_bcopy.
792
793 * time/zdump.c, time/europe: New versions from ADO.
794
795 * Rules (dont_distribute): Export this variable.
796 (subdir_echo-distinfo): Echo its value for +nodist+.
797
798Thu Oct 21 15:58:08 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
799
800 * sysdeps/posix/__dup2.c: Include <limits.h>.
801 [OPEN_MAX]: Fail with EBADF if FD2>=OPEN_MAX.
802
803 * sysdeps/unix/Makefile (sys/param.h): Conditionalize all this
804 code to happen only when there is no sysdep sys/param.h.
805
806Wed Oct 20 03:35:41 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
807
808 * Makerules (make-dummy-dep): Change to `ln $(objpfx)dummy.dep $@'.
809 ($(objpfx)dummy.dep): Create new file containing comment.
810 ($(objpfx)%.dep: $(objpfx)%.s): Depend on $(objpfx)dummy.dep.
811 ($(+sysdir_pfx)sysd-rules): Likewise in generated rule.
812
813Mon Oct 18 04:22:42 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
814
815 * signal/signal.h (killpg): Make PGRP arg pid_t.
816 * sysdeps/posix/killpg.c (killpg): Likewise.
817 * sysdeps/stub/killpg.c (killpg): Here too.
818
819 * posix/glob/configure.in: Use AC_HAVE_HEADERS instead of
820 AC_MEMORY_H and AC_UNISTD_H; omit AC_USG (not needed).
821
822 * Rules (generated): New target.
823
824 * Makefile (subdirs): Use filters to put mach and hurd first in
825 the list if they are in it at all.
826 * Makerules (before-compile): Reorder similarly, matching any
827 generated mach or hurd files.
828
829Fri Oct 15 17:57:58 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
830
831 * sysdeps/posix/mk-stdiolim.c [! OPEN_MAX]: Use _POSIX_OPEN_MAX
832 for FOPEN_MAX value.
833 [! PATH_MAX]: Use 1024 (twice _POSIX_PATH_MAX) for FILENAME_MAX value.
834
835 * Makerules (in-Makerules): Define this variable before including
836 sysd-Makefile.
837
838Sun Oct 10 14:31:35 1993 Jim Meyering (meyering@comco.com)
839
840 * posix/fnmatch.c [CONFIG_BROKETS]: Include <config.h> only under
841 this condition, else "config.h".
842
843Tue Oct 05 16:08:39 1993 Jim Meyering (meyering@comco.com)
844
845 * time/mktime.c [CONFIG_BROKETS]: Include <config.h> only under
846 this condition, else "config.h".
847
848Thu Sep 23 15:14:08 1993 Brendan Kehoe (brendan@zen.org)
849
850 * sysdeps/unix/sysv/sysv4/__dup2.c: New file.
851
852Wed Sep 22 16:58:29 1993 Brendan Kehoe (brendan@zen.org)
853
854 * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: New file.
855 * sysdeps/unix/sysv/sysv4/i386: New directory.
856 * sysdeps/unix/sysv/sysv4/i386/statbuf.h: New file.
857
858Fri Sep 17 04:03:26 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
859
860 * Makerules (+make-deps): Put output in temp file and use atomic mv.
861
862 * Makerules ($(+sysdir_pfx)sysd-rules): New target, the rule part
863 of what was in sysd-Makefile. Include it.
864 ($(+sysdir_pfx)sysd-Makefile): Do just includes here. Move the
865 generated implicit rules to sysd-rules. Put the output into a
866 temp file and use atomic mv to final target.
867 (before-compile): Filter out existing files from value, after
868 sysd-Makefile but before sysd-rules.
869
870Thu Sep 9 22:28:13 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
871
872 * Makefile (%/configure): Copy rule from Make-dist.
873
874Mon Sep 6 19:57:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
875
876 * Makerules (sources, objects): Move override definitions to
877 before +depfiles calculation.
878
879 * time/{asia,australasia,europe,zdump.c}: New versions from ADO (93e).
880
881Mon Aug 30 13:40:34 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
882
883 * string/string.h (memmem): Reverse argument order, to be like strstr.
884 * sysdeps/generic/memmem.c: Here too.
885
886 * dirent/scandir.c: For error return, save errno around closedir.
887 Call closedir (DP) before returning successfully.
888
889Thu Aug 26 19:26:06 1993 Brendan Kehoe (brendan@zen.org)
890
891 * sysdeps/unix/sysv/sysv4/solaris2/sysdep.h: Rewritten to not use
892 the generic sparc sysdep.h.
893 (PSEUDO): Use trap 8, not 0. Also just put %g0 in %o0, without
894 subtracting 1.
895 (ENTRY): Align on 4, and add a `.type' directive.
896 * sysdeps/unix/sysv/sysv4/solaris2/sysdep.S: New file.
897
898Fri Aug 20 19:37:55 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
899
900 * sysdeps/generic/abort.c: Remove unused variable ABORTING.
901
902Thu Aug 19 17:45:34 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
903
904 * Makeconfig [!objdir] [!..] (common-objdir): Set to `.'.
905
906Wed Aug 18 15:10:13 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
907
908 * stdio/__vfscanf.c (__vfscanf: number): Reverse sense of
909 NUMBER_SIGNED conditional in assignment code.
910
911Mon Aug 16 15:49:13 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
912
913 * sysdeps/unix/Makefile (syscall.h): Add sed
914 s/SYS_syscall_basenum/syscall_basenum/g. SYSCALL_BASENUM is a
915 macro both defined and used in <syscall.h>; we must undo our
916 prependation of `SYS_'.
917
918 * Version 1.06.6.
919
920Fri Aug 13 16:53:02 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
921
922 * stdio/__vfscanf.c: New local variable NUMBER_SIGNED.
923 (%x, %X, %o, %u): Set it to zero.
924 (%d, %i): Set it to one.
925 (number): If NUMBER_SIGNED is set, use strtol and store in ...int*.
926 If clear, use strtoul an store value in unsigned ...int*.
927
928 * malloc/malloc.h: Undo last change (_AIX32).
929 (memory_warnings): Use const instead of __const in prototype.
930
931Fri Aug 13 00:22:01 1993 John Grabowski (johng@whiskey.media.mit.edu)
932
933 * configure.in (os = osf1*): base_os=unix/bsd.
934
935Thu Aug 12 16:37:13 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
936
937 * malloc/valloc.c [__GNU_LIBRARY__ || _LIBC]: Include <stddef.h>
938 before trying to use size_t to declare __getpagesize.
939 Include <sys/cdefs.h> before trying to use __P.
940
941 * posix/{fnmatch,glob}.c, malloc/malloc.h [HAVE_CONFIG_H]: Include
942 <config.h> instead of "config.h". This is so that a compilation
943 using -I. -I$srcdir will use ./config.h rather than
944 $srcdir/config.h (which it would do when glob.c was found in $srcdir).
945
946 * malloc/malloc.h [_AIX32]: Use !__STDC__ defns of __P, const, __ptr_t.
947
948Mon Aug 9 16:56:31 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
949
950 * Makerules (-e check): Don't rely on $(findstring e,$(MAKEFLAGS))
951 since that also trips for --no-print-directory.
952 Instead actually see if -e's functionality is taking place.
953
954 * malloc/realloc.c: Call _free_internal instead of free in most places.
955
956 * configure.in (arg parsing): No spaces around = in eval.
957
958 * sysdeps/i386/abort.c: New file.
959 * stdlib/abort.c: Moved to sysdeps/generic/abort.c.
960 (abort): Don't try to do stdio cleanup, since we can't guarantee
961 it anyway.
962
963Fri Aug 6 17:59:56 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
964
965 * Makerules ($(+install)): Don't depend on installdirs.
966 (make-target-directory): New define.
967 (do-install): Do $(make-target-directory) beforehand.
968
969Tue Aug 3 02:22:41 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
970
971 * sysdeps/stub/sys/reboot.h: New file.
972 * sysdeps/unix/bsd/sys/reboot.h: New file, snarfed from 4.4.
973 * misc/Makefile (headers): Add sys/reboot.h.
974
975 * stdio/stdio.h (__io_{read,write,seek,close,fileno}): Renamed to
976 __io_*_fn, so as not to conflict with the Hurd mig stubs.
977 * internals.c: Changed uses.
978
979 * sysdeps/unix/bsd/signum.h (SIGINFO): Define as 29.
980
981 * Makerules (+includes): Don't set this here.
982 * Makeconfig (+includes): Put $(+sysdep-includes) in the value here.
983
984 * posix/unistd.h [__USE_MISC]: Declare mktemp and mkstemp.
985
986Mon Aug 2 16:59:12 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
987
988 * malloc/valloc.c: Move getpagesize goop to before malloc.h.
989 [_LIBC]: Test this as well as __GNU_LIBRARY__ (either one) to use
990 __getpagesize instead of "getpagesize.h".
e215c478 991
edf66db1 992Sun Aug 1 16:55:18 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 993
edf66db1
SP
994 * configure.in (arg parsing): For `--with-foo=bar', do
995 "with_foo='bar'". For `--with-fnord', do "with_fnord=yes".
996 * sysdeps/mach/configure: New file, groks `--with-mach=DIR'.
e215c478 997
edf66db1 998Fri Jul 30 00:01:00 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 999
edf66db1 1000 * configure.in (os = gnu*): Set $base_os, not $os, to mach/hurd.
e215c478 1001
edf66db1 1002Thu Jul 29 17:46:02 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1003
edf66db1
SP
1004 * ctype/ctype.h (__isctype): Don't test !=0, to avoid possible
1005 extra test insn.
e215c478 1006
edf66db1 1007Sun Jul 25 22:19:04 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1008
edf66db1 1009 * setjmp/setjmp.h [! __FAVOR_BSD] (_longjmp): Define as longjmp.
e215c478 1010
edf66db1 1011Thu Jul 22 14:57:15 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1012
edf66db1 1013 * sysdeps/unix/bsd/osf1/sigaction.h: New file.
e215c478 1014
edf66db1
SP
1015 * sysdeps/stub/signum.h: Deansideclized.
1016 * sysdeps/stub/pipestream.c (pclose): Test STREAM->__ispipe
1017 instead of __ispipe (STREAM).
1018 * sysdeps/stub/__wait3.c: Fix arg types.
1019 * sysdeps/stub/__ioctl.c: Add missing close paren.
1020 * sysdeps/stub/__getpgsz.c: Include <stddef.h> for size_t.
1021 * sysdeps/stub/__get[gu]id.c: Include <sys/types.h>; fix return type.
1022 * sysdeps/stub/__set[gu]id.c: Include <sys/types.h>; fix arg type.
1023 * sysdeps/stub/__mknod.c: Include <sys/types.h>; fix arg types.
e215c478 1024
edf66db1 1025 * sysdeps/generic/termbits.h (INLCR, ISTRIP): Fixed typo'd values.
e215c478 1026
edf66db1
SP
1027 * stdio/stdio.h (vprintf): Fix last arg type to __gnuc_va_list.
1028 * stdio/vprintf.c (vprintf): Here too.
e215c478 1029
edf66db1
SP
1030 * malloc/malloc.c (malloc) [SUNOS_LOCALTIME_BUG]: Put this crap
1031 after hook and initialization.
e215c478 1032
edf66db1
SP
1033 * stdio/stdio.h (__validfp): Use a little anonymous struct to find
1034 the real stream ptr from in glue stream. It used to rely on using
1035 `((int *) STREAM)[1]'; but that assumes no struct padding, and
1036 there will be some when int is 32 bits and pointers are 64.
e215c478 1037
edf66db1 1038 * malloc/mtrace.c: Use %lx instead of %x for `size_t' formats.
e215c478 1039
edf66db1 1040Wed Jul 21 18:20:41 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
e215c478 1041
edf66db1 1042 * malloc/malloc.c (malloc): Handle SUNOS_LOCALTIME_BUG.
e215c478 1043
edf66db1 1044Wed Jul 21 16:42:14 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1045
edf66db1 1046 * time/Makefile (extra-objs): Remove gratuitous - in `z.%'.
e215c478 1047
edf66db1
SP
1048 * Makefile [+gnu-stabs] (generated): Add $(objpfx)munch-init.c.
1049 (distclean): Also remove sysd-Makefile and sysd-dirs in $(objpfx).
1050 (distclean) [objdir]: Also remove $(objpfx)Makefile.
e215c478 1051
edf66db1
SP
1052 * sysdeps/posix/Makefile (generated): Add $(common-objpfx)mk-stdiolim.
1053 (generated, before-compile): Take defns out of ifeq ($(subdir),posix).
e215c478 1054
edf66db1
SP
1055 * sysdeps/unix/common/Makefile (generated): Include ctype-glue.c,
1056 not glue-ctype.c.
e215c478 1057
edf66db1
SP
1058 * sysdeps/unix/configure (unix_generated): New variable; collect
1059 names of created files in it.
1060 (config_vars): Write an assignment for `unix-generated' to that list.
1061 * sysdeps/unix/Makefile (generated): Append $(unix-generated)
1062 (with either $(objpfx) or $(sysdep_dir)/unix/ prepended to each file).
e215c478 1063
edf66db1 1064 * Makefile (clean): Pass no_deps=t to subdir_clean make.
e215c478 1065
edf66db1 1066Sun Jul 18 21:42:05 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1067
edf66db1
SP
1068 * malloc/malloc.c (malloc): After getting more core, recompute
1069 BLOCK before adding to _heapinfo[BLOCK].free.size.
e215c478 1070
edf66db1 1071Fri Jul 16 16:32:40 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1072
edf66db1
SP
1073 * stdlib/Makefile (generated): Prepend $(objpfx).
1074 * sysdeps/unix/sysv/Makefile (generated): Likewise.
e215c478 1075
edf66db1
SP
1076 * sysdeps/posix/mktemp.c: Return when stat fails with ENOENT, not
1077 when it succeeds.
e215c478 1078
edf66db1 1079Wed Jul 14 14:51:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1080
edf66db1 1081 * locale/localeconv.c: Fix copying notice to LGPL.
e215c478 1082
edf66db1 1083Mon Jul 12 21:58:27 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1084
edf66db1 1085 * malloc/mcheck.c (reallochook): Set HDR->magic to MAGICWORD.
e215c478 1086
edf66db1 1087Mon Jul 5 15:55:08 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
e215c478 1088
edf66db1 1089 * malloc/realloc.c (memmove): Swap the args when calling safe_bcopy.
e215c478 1090
edf66db1 1091Thu Jul 1 16:26:56 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1092
edf66db1
SP
1093 * malloc/malloc.c [_LIBC] (_malloc, _free, _realloc): Define these
1094 functions to just call malloc, free, and realloc, respectively.
e215c478 1095
edf66db1 1096Wed Jun 30 16:42:10 1993 Torbjorn Granlund (tege@gnu.ai.mit.edu)
e215c478 1097
edf66db1
SP
1098 * sysdeps/generic/memcmp.c (memcmp_bytes): New function for
1099 little endian machines.
1100 (memcmp_common_alignment, memcmp_not_common_alignment): Rework
1101 code computing return values.
e215c478 1102
edf66db1 1103Wed Jun 30 14:42:00 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1104
edf66db1
SP
1105 * sysdeps/unix/Makefile (local_lim.h): Only generate local_lim.h
1106 if the sysdep version would be stub.
e215c478 1107
edf66db1 1108 * sysdeps/unix/mk-local_lim.c: #include <stdio.h> before all else.
e215c478 1109
edf66db1
SP
1110 * configure.in (config_{machine,vendor,os}): Store config.sub's
1111 output in these new variables.
1112 (machine, vendor, os): Set these from those.
1113 (config-name.h, config.make): Write $config_* (the original values
1114 from config.sub).
e215c478 1115
edf66db1 1116 * sysdeps/unix/sysv/sysv4/pgrpsys.S: Add arg count (3).
e215c478 1117
edf66db1 1118Tue Jun 29 02:47:46 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1119
edf66db1 1120 * Version 1.06.4.
e215c478 1121
edf66db1 1122Mon Jun 28 00:37:12 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1123
edf66db1
SP
1124 * stdio/internals.c (__stdio_check_funcs): New function, broken out
1125 of init_stream.
1126 (init_stream): Call it.
1127 * sysdeps/posix/pipestream.c (popen): Call __stdio_check_funcs
1128 before frobnicating STREAM's functions.
e215c478 1129
edf66db1
SP
1130 * sysdeps/posix/pipestream.c (pclose): Free C, our data structure,
1131 not STREAM->__cookie after it's been restored.
e215c478 1132
edf66db1
SP
1133 * sysdeps/generic/strchr.c: Check for '\0' as well as C, in initial
1134 byte-by-byte loop.
e215c478 1135
edf66db1 1136 * conf/portability.h: #undef BSD.
e215c478 1137
edf66db1 1138Sun Jun 27 23:46:05 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1139
edf66db1
SP
1140 * sysdeps/unix/bsd/m68k/__wait.S [__motorola__]: Use Motorola syntax.
1141 * sysdeps/unix/bsd/m68k/sysdep.S: Likewise.
1142 * sysdeps/unix/bsd/m68k/__pipe.S: Likewise.
1143 * sysdeps/m68k/__longjmp.c (__longjmp) [__motorola__]: Use
1144 Motorola syntax in jmp insn.
e215c478 1145
edf66db1 1146Fri Jun 25 16:17:07 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1147
edf66db1
SP
1148 * sysdeps/{stub,posix,unix/sysv/sysv4}/__sysconf.c (__sysconf):
1149 For _SC_TZNAME_MAX, just return __tzname_max ().
1150 * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Define __sysconf, not
1151 sysconf. For _SC_TZNAME_MAX, just jump to __tzname_max.
e215c478 1152
edf66db1
SP
1153 Undo June 21 change that made __tzname_max a variable
1154 and expected TZNAME_MAX to sometimes be defined.
1155 POSIX.1 does not require that it be defined; sysconf is enough.
1156 * time/time.h (__tzname_max): Declare as a function.
1157 * posix/posix1_lim.h: Don't include <tzname_max.h>.
1158 * sysdeps/stub/tzname_max.h: File removed.
1159 * time/Makefile (headers): Remove tzname_max.h.
1160 (distribute): Remove make-tzlim.c.
1161 (extra-objs): Remove make-tzlim.o and make-tzlim.
1162 ($(common-objpfx)tzname_max.h): Target removed.
1163 * time/make-tzlim.c: File removed.
1164 * time/__tzset.c (__tzname_cur_max): Define this variable instead
1165 of __tzname_max.
1166 (__tz_compute): Set __tzname_cur_max, not __tzname_max.
1167 (__tzname_max): New function.
1168 * time/tzfile.c (compute_tzname_max): Set __tzname_cur_max, not
1169 __tzname_max.
e215c478 1170
edf66db1
SP
1171 * malloc/malloc.h [_MALLOC_INTERNAL] [! (_LIBC || STDC_HEADERS || USG)]
1172 (memmove): Don't define.
1173 * malloc/realloc.c [!_LIBC && !STDC_HEADERS && !USG] (safe_bcopy):
1174 New static function.
1175 (memmove): Define to safe_bcopy.
e215c478 1176
edf66db1 1177Wed Jun 23 15:10:51 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1178
edf66db1
SP
1179 * sysdeps/unix/sysv/sco3.2.4/pgrpsys.S: New file, #include sysv4 file.
1180 * sysdeps/unix/sysv/sco3.2.4/Dist: New file, list pgrpsys.S.
e215c478 1181
edf66db1 1182Tue Jun 22 02:44:16 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1183
edf66db1
SP
1184 * sysdeps/unix/sysv/sco3.2.4/Makefile (sysdep_routines): Use
1185 pgrpsys instead of sco_pgrp.
1186 * sysdeps/unix/sysv/sco3.2.4/{Dist,sco_pgrp.S}: Files removed.
1187 * sysdeps/unix/sysv/sco3.2.4/__{getpgrp,setpgrp,setsid}.c: Just
1188 include the respective unix/sysv/sysv4 files.
e215c478 1189
edf66db1
SP
1190 * sysdeps/unix/sysv/sysv4/pgrpsys.S: New file.
1191 * sysdeps/unix/sysv/sysv4/__getpgrp.c: New file.
1192 * sysdeps/unix/sysv/sysv4/__setpgrp.c: New file.
1193 * sysdeps/unix/sysv/sysv4/__setsid.c: New file.
1194 * sysdeps/unix/sysv/sysv4/Dist: Add pgrpsys.S.
1195 * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Add pgrpsys.
e215c478 1196
edf66db1
SP
1197 * sysdeps/unix/bsd/bsd4.4/__setsid.S: Moved from unix/sysv/sysv4.
1198 * sysdeps/unix/{bsd/sun/sunos4,bsd/ultrix4,sysv/linux}/__setsid.S:
1199 Include bsd4.4 instead of sysv4 file.
e215c478 1200
edf66db1 1201Mon Jun 21 19:08:04 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1202
edf66db1
SP
1203 * posix/posix1_lim.h: #include <tzname_max.h>.
1204 * sysdeps/stub/tzname_max.h: New file (no-op).
1205 * time/make-tzlim.c: New file.
1206 * time/Makefile (headers): Add tzname_max.h.
1207 (distribute): Add make-tzlim.c.
1208 (extra-objs): Add make-tzlim.o and make-tzlim.
1209 ($(common-objpfx)tzname_max.h): New target.
e215c478 1210
edf66db1
SP
1211 * sysdeps/unix/sysv/sco3.2.4/confname.h (_SC_TZNAME_MAX): Define.
1212 * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Detect arg being
1213 _SC_TZNAME_MAX, and return max of TZNAME_MAX and __tzname_max.
e215c478 1214
edf66db1
SP
1215 * sysdeps/stub/__sysconf.c: Include <time.h> and <limits.h>.
1216 Handle _SC_TZNAME_MAX and return max of TZNAME_MAX and __tzname_max.
1217 * sysdeps/posix/__sysconf.c: Change _SC_TZNAME_MAX code to that.
1218 * sysdeps/unix/sysv/sysv4/__sysconf.c: Likewise.
e215c478 1219
edf66db1
SP
1220 * time/time.h (__tzname_max): Declare as variable, not function.
1221 * time/__tzset.c (__tzname_max): Function removed.
1222 (__tz_compute): Set the __tzname_max variable.
1223 * time/tzfile.c (compute_tzname_max): New function.
1224 (__tzfile_{read,default}): Call it.
e215c478 1225
edf66db1 1226Sun Jun 20 18:32:49 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1227
edf66db1 1228 * time/zic.c, time/asia: New versions from ADO.
e215c478 1229
edf66db1 1230Wed Jun 16 17:24:28 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1231
edf66db1 1232 * Version 1.06.3.
e215c478 1233
edf66db1 1234Fri Jun 11 15:44:53 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1235
edf66db1
SP
1236 * sysdeps/unix/bsd/m68k/__pipe.S: Use `movel' instead of `moveal',
1237 which sun3 as does not appear to grok.
1238 * sysdeps/unix/bsd/sun/m68k/__vfork.S: Likewise.
e215c478 1239
edf66db1 1240Thu Jun 10 20:23:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1241
edf66db1
SP
1242 * sysdeps/m68k/Makefile (as-pipe-ok): Define if -pipe is used in
1243 compiler invocations, or if using GNU as.
1244 (compile-command.S): Define using a pipe if `as-pipe-ok' is defined,
1245 otherwise with a temporary file.
e215c478 1246
edf66db1 1247 * Makeconfig (gnu-as): Define if -DHAVE_GNU_AS appears in $(CPPFLAGS).
e215c478 1248
edf66db1 1249Wed Jun 9 15:14:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1250
edf66db1
SP
1251 * configure.in (os frobnication): Turn underscores as well as
1252 lowercase Vs into dots in os name.
e215c478 1253
edf66db1
SP
1254 * sysdeps/unix/start.c [__GNUC__] (_start): Use asm name "start"
1255 only if [! NO_UNDERSCORES].
e215c478 1256
edf66db1 1257Tue Jun 8 14:51:00 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
e215c478 1258
edf66db1
SP
1259 * sysdeps/unix/bsd/ultrix4/mips/__handler.S: Don't save the stack
1260 pointer.
e215c478 1261
edf66db1 1262Mon Jun 7 21:01:24 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1263
edf66db1 1264 * time/Makefile (tzcompile): Remove -d switch, since zic-cmd has one.
e215c478 1265
edf66db1 1266 * time/{private.h,zic.c}: New versions from ADO.
e215c478 1267
edf66db1
SP
1268 * sysdeps/unix/bsd/hp/m68k/__brk.S (error): Renamed label from `1',
1269 (__brk): Use DO_CALL instead of movel and trap.
e215c478 1270
edf66db1
SP
1271 * sysdeps/unix/bsd/sony/newsos4: Renamed sysdeps/unix/bsd/sony/newsos.
1272 * sysdeps/unix/bsd/sony/m68k/{Implies,sysdep.h}: Moved there.
e215c478 1273
edf66db1
SP
1274 * sysdeps/unix/bsd/hp/m68k/sysdep.h (DO_CALL): New macro, broken
1275 out of PSEUDO.
1276 (PSEUDO): Use it.
1277 * sysdeps/unix/bsd/sony/newsos4/m68k/sysdep.h
1278 (DO_CALL, PSEUDO): Likewise.
e215c478 1279
edf66db1 1280 * configure.in: Set --with-gnu-{ld,as} for os=bsd4.4.
e215c478 1281
edf66db1 1282Fri Jun 4 14:11:00 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1283
edf66db1 1284 * sysdeps/i386/{strlen,memchr}.c: Use `repnz' instead of `repne'.
e215c478 1285
edf66db1
SP
1286 * time/Makefile (zonenames): Rename zones-* to z.* so they all fit
1287 in 14 chars.
1288 (extra-objs): Here too.
e215c478 1289
edf66db1
SP
1290 * sysdeps/unix/sysv/direct.h (D_RECLEN): New macro.
1291 * sysdeps/unix/readdir.c (D_RECLEN): If not defined, define to use
1292 `d_reclen' member.
1293 (readdir): Use D_RECLEN (DP) in place of DP->d_reclen.
e215c478 1294
edf66db1 1295Thu Jun 3 16:54:29 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1296
edf66db1 1297 * sysdeps/m68k/bytesex.h: New file.
e215c478 1298
edf66db1
SP
1299 * sysdeps/unix/ioctls-tmpl.c [sony_news]: Define KANJI before
1300 including <sys/ioctl.h>.
e215c478 1301
edf66db1 1302Wed Jun 2 17:45:38 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1303
edf66db1
SP
1304 * malloc/Makefile (%.gz): Renamed target from %.z; use -v flag.
1305 (malloc/ChangeLog): Use mv -f.
e215c478 1306
edf66db1 1307Mon May 31 21:49:04 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1308
edf66db1 1309 * Version 1.06.2 released.
e215c478 1310
edf66db1
SP
1311 * manual/Makefile: Remove all uses of $(objpfx). Since the
1312 generated files are distributed, they reside in the source
1313 directory.
e215c478 1314
edf66db1 1315 * malloc/mtrace.c: #include <stdio.h>; malloc.h no longer does.
e215c478 1316
edf66db1
SP
1317 * sysdeps/posix/sleep.c: Restore signal mask to OSET before
1318 returning. Save errno on entry and restore it before returning.
e215c478 1319
edf66db1
SP
1320 * Makeconfig (zonedir): New variable.
1321 * time/Makefile (localtime-file, posixrules-file, install-others,
1322 $(localtime-file), $(posixrules-file), tz-cc): Use $(zonedir) in
1323 place of $(datadir)/zoneinfo.
1324 (tzcompile): Omit -d switch.
1325 (zic-cmd): Add `-d $(zonedir)'.
e215c478 1326
edf66db1 1327Sun May 30 20:04:50 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1328
edf66db1 1329 * sysdeps/posix/stdio_init.c: (int)cookie is FD, not *(int*)cookie.
e215c478 1330
edf66db1
SP
1331 * time/Makefile ($({localtime,posixrules}-file)): Don't pass -d
1332 switch (no need, since directory is compiled into zic). Don't use
1333 $(<F) to find arg for -{l,p}; just use $({localtime,posixrules}).
e215c478 1334
edf66db1 1335 * Makerules ($(libdir)/libc.a): Depend on installdirs.
e215c478 1336
edf66db1 1337 * malloc/malloc.c (malloc): #if 0 out ``if (SIZE == 0) return NULL''.
e215c478 1338
edf66db1
SP
1339 * malloc/malloc.h [_MALLOC_INTERNAL]: Don't include <stdio.h>.
1340 [_MALLOC_INTERNAL]: Move config.h, limits.h, and mem* to front of file.
1341 (NULL): Move after stddef.h.
e215c478 1342
edf66db1 1343 * malloc/valloc.c: Don't include config.h; malloc.h already did.
e215c478 1344
edf66db1 1345 * malloc/malloc.c: Undo rms's change.
e215c478 1346
edf66db1 1347 * malloc/mcheck.c, malloc/malloc.h: Undo rms's change.
e215c478 1348
edf66db1 1349Sat May 29 13:04:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
e215c478 1350
edf66db1 1351 * malloc/malloc.c (malloc) [emacs]: If size is 0, make it 1.
e215c478 1352
edf66db1
SP
1353 * malloc/malloc.h (CONST): Define this always,
1354 rather than `const' sometimes.
1355 (memory_warnings): Use CONST, not __const, in decl.
1356 * malloc/mcheck.c (checkhdr): Use CONST, not const.
e215c478 1357
edf66db1 1358Fri May 28 18:29:26 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1359
edf66db1
SP
1360 * sysdeps/unix/Makefile (ioctls): Use fgrep instead of egrep to
1361 omit unwanted symbols. Filter the list of them through sort|uniq
1362 to remove duplicates first.
e215c478 1363
edf66db1
SP
1364 * sysdeps/unix/Makefile (errlist.c): Use dir and notdir
1365 functions to guarantee qualified path name for make_errlist.
e215c478 1366
edf66db1 1367Thu May 27 17:05:04 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1368
edf66db1 1369 * Version 1.06.1.
e215c478 1370
edf66db1 1371 * sysdeps/sparc/Dist: Include sdiv.S, not div.S.
e215c478 1372
edf66db1 1373 * sysdeps/unix/common/Dist: Remove make_siglist.c.
e215c478 1374
edf66db1 1375 * stdio/internals.c: Declare __stdio_fileno before reference.
e215c478 1376
edf66db1
SP
1377 * sysdeps/generic/{memchr,strchr,strlen}.c: Abort if words are
1378 bigger than 64 bits.
e215c478 1379
edf66db1 1380Wed May 26 14:44:19 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1381
edf66db1
SP
1382 * Makerules [objects] (install-others): Don't add libc.a to this.
1383 (install): Depend on $(libdir)/libc.a.
1384 (intall-no-libc.a): New target, depends on $(+install).
1385 (install): Don't depend on $(+install), just on install-no-libc.a.
1386 * Rules (subdir_install): Depend on install-no-libc.a, not install.
e215c478 1387
edf66db1
SP
1388 * Makefile ($(libc.a)): Don't depend on subdir_lib.
1389 (lib-noranlib): Depend on subdir_lib.
e215c478 1390
edf66db1
SP
1391 Make `fileno' a per-FILE io operation.
1392 * stdio/stdio.h (__io_fileno): New typedef.
1393 (__io_functions): Add `__fileno' member.
1394 (struct __stdio_file): Remove `__fileno' member.
1395 [__USE_POSIX] [__OPTIMIZE__]: Remove fileno macro defn.
1396 [__USE_POSIX] (fileno): Remove `const' from arg in prototype.
1397 * stdio/fileno.c (fileno): Rewritten to call STREAM's __fileno fn.
1398 * sysdeps/stub/sysd-stdio.c (__stdio_fileno): New function.
1399 (__stdio_open): Return an int (zero for win, nonzero for lose),
1400 and make third arg PTR * (filled in with cookie).
1401 * stdio/stdio.h (__stdio_open): Changed prototype.
1402 * sysdeps/posix/sysd-stdio.c (__stdio_open): Likewise.
1403 (__stdio_{read,write,seek,close}): Use (int) COOKIE as the fd, rather
1404 than *(int *) COOKIE.
1405 (__stdio_fileno): New function; just returns (int) COOKIE.
1406 * sysdeps/posix/fdopen.c: Set cookie to (PTR) FD; don't set fileno.
1407 * stdio/vdprintf.c: Likewise.
1408 * stdio/fmemopen.c: Set STREAM->__io_funcs.__fileno to NULL.
1409 Set STREAM->__cookie to NULL and don't use STREAM->__fileno.
1410 * stdio/internals.c (__default_io_functions): Add __stdio_fileno.
1411 * sysdeps/posix/defs.c (stdstream): Initialize __cookie to (PTR) FD
1412 Remove __fileno initializer.
1413 Add NULL initializer for __io_funcs.__fileno.
1414 * sysdeps/posix/pipestream.c (struct child): Remove `fd' member.
1415 Add `cookie' and `funcs' members.
1416 (FUNC): Macro to define child io_funcs.
1417 (child_funcs): New variable, __io_functions struct of them.
1418 (popen): Store STREAM's original cookie and io_funcs in CHILD, and
1419 then set STREAM->__cookie to CHILD and stream->__io_funcs to
1420 child_funcs.
1421 (pclose): Restore STREAM's original cookie and io_funcs before
1422 calling fclose.
e215c478 1423
edf66db1
SP
1424 * configure.in (autoconf checks): Add new check for a
1425 libc-friendly stddef.h.
e215c478 1426
edf66db1 1427 * sysdeps/unix/configure: Remove __getpgrp from list of syscalls.
e215c478 1428
edf66db1
SP
1429 * sysdeps/generic/memchr.c: Handle 64-bit longwords.
1430 * sysdeps/generic/strlen.c: Likewise.
1431 * sysdeps/generic/strchr.c: Likewise.
e215c478 1432
edf66db1 1433 * sysdeps/unix/sysv/sco3.2.4/Makefile: Remove gratuitous `.c'.
e215c478 1434
edf66db1
SP
1435 * Makerules [objects] (install-others): Add $(libdir)/libc.a to
1436 this, instead of adding $(libc.a) to install-lib.
1437 ($(libdir)/libc.a): New target to install from $(libc.a).
e215c478 1438
edf66db1
SP
1439 * sysdeps/unix/sysv/sco3.2.4/__setsid.S: New file.
1440 * sysdeps/unix/bsd/bsd4.4/__setsid.S: New file.
e215c478 1441
edf66db1 1442Mon May 24 16:49:54 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1443
edf66db1
SP
1444 * sysdeps/unix/sysv/linux/__setsid.S: Moved to unix/sysv/sysv4,
1445 and replaced with #include of that.
1446 * sysdeps/unix/bsd/sun/sunos4/__setsid.S: New file.
1447 * sysdeps/unix/bsd/ultrix4/__setsid.S: New file.
e215c478 1448
edf66db1 1449 * posix/Makefile (install): Define to getconf.
e215c478 1450
edf66db1 1451 * crypt: New version from glad.
e215c478 1452
edf66db1
SP
1453 * sysdeps/unix/sysv/sysv4/__sysconfig.S: Renamed to sysconfig.S.
1454 * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Change reference.
1455 * sysdeps/unix/sysv/sysv4/Dist: Add sysconfig.S.
e215c478 1456
edf66db1
SP
1457 * sysdeps/generic/Makefile (siglist.c): Use dir and notdir
1458 functions to guarantee qualified path name for make_siglist.
e215c478 1459
edf66db1
SP
1460 * time/Makefile (tzcompile): Use $(@D) for target directory, not
1461 reference to nonexistent 4th dep.
1462 (localtime-file, posixrules-file): Turn these into absolute names.
1463 (install-others): Simply refer to them.
1464 ($(datadir)/zoneinfo/{localtime,posixrules}): Change targets of
1465 these rules to $(localtime-file) and $(posixrules-file), respectively.
1466 Use $(<D) for directory to pass zic.
e215c478 1467
edf66db1
SP
1468 * Makerules (installdirs): Use `sort' function to uniquize list of
1469 directories.
e215c478 1470
edf66db1
SP
1471 * time/Makefile (install-others): Use $(datadir)/zoneinfo, not
1472 $(datadir)zoneinfo (missing /).
e215c478 1473
edf66db1 1474 * Makerules (install-lib): Refer to `$(libc.a)' instead of `libc.a'.
e215c478 1475
edf66db1
SP
1476 * setjmp/sigjmp_save.c: Renamed to sigjmp.c.
1477 * setjmp/Makefile (routines): Change reference.
e215c478 1478
edf66db1
SP
1479 * sysdeps/unix/common/Makefile (siglist.c, make_siglist): Targets
1480 removed.
1481 * sysdeps/unix/common/make_siglist.c: File removed.
e215c478 1482
edf66db1 1483Sun May 23 01:00:00 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1484
edf66db1
SP
1485 * manual/Makefile (minimal-dist): Remove COPYING.LIB.
1486 (doc-only-dist): Put it here.
1487
1488Sun May 23 00:12:24 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
1489
1490 * Version 1.06 released.
1491
1492 * sysdeps/sparc/Dist: Add {u,}{div,rem}.S.
1493
1494Sat May 22 18:17:08 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
1495
1496 * sysdeps/generic/make_siglist.c (main): Call signame_init, not
1497 init_sigs.
1498
1499 * Makerules (native-compile): Compile $^, not just $<.
1500
1501 * sysdeps/unix/i386/sysdep.h (PSEUDO): Omit `.text'. Some
1502 assemblers don't like `.text; ...'.
1503
1504 * Rules (all): Mention as target first, so it is the default goal.
1505
1506 * sysdeps/unix/i386/sysdep.S: #undef syscall_error before using it
1507 as a label.
1508 [NO_UNDERSCORES]: Define __syscall_error instead of syscall_error.
1509
1510 * sysdeps/unix/readdir.c: Decrement d_namlen until it no longer
1511 includes any nulls.
1512
1513 * Makerules (+install-dirs): Variable removed.
1514 (install): Don't depend on $(+install-dirs).
1515 (installdirs): New target, to make $(dir $(+install)) using
1516 mkinstalldirs. Make $(+install) depend on it.
1517 * Makefile (distribute): Add mkinstalldirs.
1518 * mkinstalldirs: New file.
1519
1520 * manual/Makefile (installdirs):
1521 New target, using mkinstalldirs to create $(infodir).
1522 ($(infodir)/libc.info): Depend on installdirs.
1523 (minimal-dist): Remove Makefile.
1524 (doc-only-dist): New variable, containing Makefile and mkinstalldirs.
1525 (*.tar): Depend on $(doc-only-dist).
1526
1527Sat May 22 16:31:54 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
1528
1529 Compile zoneinfo files directly into $(datadir)/zoneinfo, rather
1530 than compiling them into the source directory and then copying.
1531 * time/Makefile (zones-%): Put targets of generated rule in
1532 $(datadir)/zoneinfo, not zoneinfo.
1533 Don't make generated rules depend on zoneinfo/.
1534 (zonenames, zones-%): Write into $@.new and then use atomic mv.
1535 (zones, zoneinfo): Targets removed.
1536 (zoneinfo/localtime, zoneinfo/posixrules): Change targets to be in
1537 $(datadir)/zoneinfo; find $(localtime) and $(posixrules) there as well.
1538 ($(localtime-file), $(posixrules-file)): Targets removed.
1539 (install-data): Definition removed.
1540 (install-others): Include $(zonenames) from $(datadir)/zoneinfo; and
1541 $(localtime-file) and $(posixrules-file), from $(datadir)/zoneinfo
1542 if they are not absolute file names.
1543
1544 * time/zic.c (dolink): If FROMFILE or TOFILE begins with a slash,
1545 just set {FROM,TO}NAME to it, instead of prepending DIRECTORY.
1546 Don't free {FROM,TO}NAME if it is {FROM,TO}FILE.
1547
1548Fri May 21 13:23:32 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
1549
1550 * sysdeps/unix/i386/sysdep.S: Paste : onto syscall_error.
1551
1552 * sysdeps/unix/configure: Use grep -i when looking for syscalls.
1553 (unix_syscall_h): Ignore syscall.h found in sysdeps/stub.
1554 Remove __setpgrp from list of syscalls.
1555
1556 * sysdeps/unix/Makefile ($(common-objpfx)sys/param.h): Write defn
1557 for MAXHOSTNAMELEN. The kludgemeister strikes again.
1558
1559 * posix/Makefile (glob/ChangeLog): Use mv -f.
1560
1561 * configure.in (os frobnication): Translate numbers separated by
1562 `v's into numbers separated by dots.
1563
1564 * sysdeps/unix/sysv/sco3.2.4/syscall.h: New file.
1565
1566 * sysdeps/unix/sysv/sco3.2.4/__waitpid.S: Rewritten to do the
1567 canonical wait3-style magic.
1568
1569 * sysdeps/unix/sysv/sco3.2.4/{Makefile,Dist,sco_pgrp.S,
1570 __getpgrp.c,__setpgrp.c,__setsid.c}: New files.
1571
1572 * Makerules ($(common-objpfx)stub-$(subdir)): Add /dev/null to
1573 inner sed command.
1574
1575 * manual/Makefile ($(objpfx)%.info, $(objpfx)%.dvi): New rules.
1576 ($(infodir)/libc.info): Take basename of each $<* before using it.
1577 (glibc-targets): Add stubs.
1578 (stubs, $(common-objpfx)stub-manual): New targets.
1579
1580 * time/Makefile (distribute): Add yearistype.
1581 * time/yearistype: New file.
1582
1583 * sysdeps/unix/bsd/sequent/i386/__sigvec.S: Don't use ARGS_4
1584 macro; just set %ecx to %esp instead. Pop the stack before doing
1585 the system call, so the add doesn't clear the condition codes.
1586
1587 * sysdeps/unix/start.c [HAVE_GNU_LD]: Put `start' symbol alias
1588 under [! NO_UNDERSCORES && ! __GNUC__].
1589
1590 * sysdeps/unix/sysdep.h (C_LABEL): Use ## to paste NAME and : together.
1591
1592 * sysdeps/unix/i386/sysdep.h (DO_CALL): Add missing backslash.
1593
1594Thu May 20 18:01:15 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
1595
1596 * Makefile ($(+subdir_targets)): Remove old rule. Replace with
1597 static pattern rule to depend on DIR/TARGET for each subdir and target.
1598 (all-subdirs-targets): Define variable to contain names of all
1599 those targets.
1600 ($(all-subdir-targets)): Define rule for these to do sub-make.
1601
1602 * sysdeps/unix/sysv/sysv4/direct.h (D_NAMLEN): Subtract one for
1603 the terminating null character.
1604 * sysdeps/unix/sysv/sco3.2.4/direct.h (D_NAMLEN): Copy defn from
1605 that file.
1606
1607Thu May 20 11:02:59 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
1608
1609 * sysdeps/posix/__getpgsz.c: New file.
1610 * sysdeps/unix/sysv/sysv4/__getpgsz.c: New file, include the posix one.
1611 * sysdeps/posix/__getdtsz.c: New file.
1612 * sysdeps/unix/sysv/sysv4/__getdtsz.c: New file, include the posix one.
1613
1614 * sysdeps/unix/sysv/sysv4/{__sysconf.c, __sysconfig.S,
1615 sysconfig.h, Makefile, Dist}: New files.
1616
1617 * sysdeps/generic/confname.h (enum for sysconf): Add _SC_PAGESIZE.
1618 * sysdeps/posix/__sysconf.c: Include stddef.h.
1619 (__getpagesize): Declare.
1620 (__sysconf, case _SC_PAGESIZE): Call __getpagesize.
1621
1622Wed May 19 14:03:07 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
1623
1624 * manual/Makefile (routines, aux, sources, objects, headers):
1625 Define empty.
1626
1627 * Makeconfig (infodir): Define.
1628 * Makefile (+other_dirs): Add manual.
1629 * manual/Makefile: Include ../Makeconfig if it exists.
e215c478 1630 (subdir): Export it.
edf66db1
SP
1631 (find-includes): Output variable name is $(@F), not $@.
1632 (distribute): Export it.
1633 (mostlyclean, distclean, realclean, clean, subdir_clean): New targets.
1634 (install, subdir_install): New targets.
1635 (infodir, prefix, INSTALL_DATA, INSTALL): Define vars if undefined.
1636 ($(infodir)/libc.info): New target.
1637 (dist): Use ../Make-dist if it exists.
1638 (glibc-targets): New variable.
1639 ($(glibc-targets)): Make no-op targets.
1640
1641 * config.guess: New file, maintained by Cygnus.
1642 * configure.in: Move AC_PREPARE before arg lossage check.
1643 If $target is unset, try setting it from config.guess.
1644 * Makefile (distribute): Add config.guess.
1645
1646 * inet/getnetbyad.c: Change first arg type to int32_t.
1647 * inet/inet_mkadr.c: Change arg types to u_int32_t.
1648 * inet/inet_lnaof.c: Change return type to u_int32_t.
1649 * inet/inet_net.c: Likewise.
1650 * inet/inet_netof.c: Likewise.
1651 * inet/res_send.c, inet/res_query.c, inet/res_mkqry.c,
1652 inet/res_init.c, inet/res_debug.c, inet/res_comp.c,
1653 inet/inet_addr.c, inet/herror.c, inet/gethstnmad.c, inet/resolv.h,
1654 inet/netdb.h, inet/arpa/nameser.h, inet/arpa/inet.h:
1655 Snarfed latest code from BIND 4.9.1.
1656 * inet/sys/bitypes.h: New file.
1657 * conf/portability.h: New file.
1658 * inet/Makefile (headers): Add sys/bitypes.h.
1659 (distribute): Define to ../conf/portability.h.
1660
1661 * mach/__msg_destroy.c: Renamed to __msg_dest.c.
1662 * mach/mig_syms.c: Renamed from mig_support_syms.c.
1663 Added symbol alias for mig_strncpy.
1664 * mach/__mig_strncpy.c: Renamed to mig_strncpy.c.
1665 * mach/mig_strncpy.c: File removed.
1666 * mach/Makefile (routines): Remove __mig_strncpy; change
1667 mig_support_syms to mig_syms; change __msg_destroy to __msg_dest.
1668
1669 * sysdeps/posix/Makefile: Replace instances of `objpfx' and
1670 `objdir' with `common-objpfx' and `common-objdir'.
1671
1672Mon May 17 16:29:29 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
1673
1674 * time/asctime.c: Replace ` %2d' with `%3d' in FORMAT.
1675 (asctime): Check return from sprintf being <0, not <25.
1676
1677 * sysdeps/unix/opendir.c: Include <stdio.h> for BUFSIZ.
1678
1679 * sysdeps/unix/i386/sysdep.h (PSEUDO): Put ; after DO_CALL use.
1680
1681 * sysdeps/i386/ffs.c: Use `nonzero' for asm label, instead of `1f'.
1682
1683Sun May 16 17:59:58 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
1684
1685 * sysdeps/unix/bsd/sequent/i386/__sigvec.S: Don't get fancy with
1686 xchg; just push $trampoline and then push our args again, pop them
1687 after the system call.
1688
1689 * time/tzfile.c (__tzfile_default): Don't assume TYPES[0] is
1690 standard and TYPES[1] is DST. Instead, loop through all types:
1691 if a type's isdst flag is set, set its idx to STDLEN and its
1692 offset to DSTOFF; if isdst is clear, set its idx to 0 and its
1693 offset to STDOFF.
1694
1695 * time/__tzset.c: When __tzfile_default returns having set
1696 __use_tzfile, set __tzset_run before returning.
1697
1698 * sysdeps/posix/sleep.c: Block SIGALRM with sigprocmask before
1699 changing its handler. Use sigaction instead of signal to set the
1700 handler. Use sigsuspend to restore the blocked signals and pause
1701 atomically, instead of using pause. Be sure to disable the alarm
1702 when a signal other than SIGALRM wakes sigsuspend.
1703
1704 * time/Makefile (zic-cmd): Put the directory before the nondirectory.
1705
1706 * Makerules (stubs): Remove surrounding `ifdef +depfiles'...`endif'.
1707
1708 * time/Makefile: Include ../Makeconfig before trying to use $(objpfx).
1709
1710 * time/tzfile.c (__tzfile_compute): When there are transitions and
1711 TIMER is not before the first one, find the first transition after
1712 TIMER, and then set I to the type of the transition before it.
1713 Set INFO from types[I], not types[type_idxs[I]].
1714
1715 * posix/Makefile (glob/configure): cd to glob before running autoconf.
1716
1717 * time/__tzset.c (compute_change): Don't add 1900 to YEAR.
1718 (__tz_compute): Add 1900 to the year we pass to compute_change.
1719
1720 * time/gmtime.c: After calling __offtime, zero tm_gmtoff and set
1721 tm_zone to "GMT".
1722
1723 * time/time.h [__OPTIMIZE__]: Remove gmtime macro version.
1724
1725 * time/tzfile.c (__tzfile_default): Fail if NUM_TYPES < 2, not if
1726 NUM_TYPES != 2.
1727
1728 * time/tzfile.c (__tzfile_compute): Don't take arg TM.
1729 Instead take new args long int *LEAP_CORRECT and int *LEAP_HIT.
1730 Don't apply leap second correction to __timezone; instead set
1731 *LEAP_CORRECT and *LEAP_HIT.
1732 * time/__tzset.c (tzset_run): Renamed to __tzset_run, made global.
1733 (__tzset): Change uses.
1734 (__tz_compute): Change use here as well.
1735 Make second arg be a `const struct tm *'. Don't call __tzfile_compute.
1736 * time/localtime.c: Call __tzset if __tzset_run is clear.
1737 New local vars LEAP_CORRECTION and LEAP_EXTRA_SECS.
1738 If __use_tzfile is set, call __tzfile_compute and pass it their
1739 addresses. Only need to call gmtime if __use_tzfile is clear. If
1740 it is clear, pass result of gmtime to __tz_compute, instead of
1741 dereferencing it first; and zero LEAP_CORRECTION and LEAP_EXTRA_SECS.
1742 Subtract LEAP_CORRECTION from __timezone in __offtime call.
1743 After __offtime, add LEAP_EXTRA_SECS to TP->tm_sec.
1744
1745 * sysdeps/generic/strsep.c: Increment END when writing a null to
1746 it, and set *STRINGP to END rather than END+1, so *STRINGP never
1747 points past the null.
1748
1749Sat May 15 17:10:02 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
1750
1751 * time/strftime.c: Alphabetize switch cases.
1752 Add GNU extensions %h, %C, %k, %l.
1753
1754 * time/asctime.c: Make RESULT big enough for each %d to be 2^64.
1755 Protect against tm_wday and tm_mon being out of bounds; use "???"
1756 if they are.
e215c478 1757
edf66db1 1758 * time/{emkdir,ialloc,scheck,zic,zdump}.c: New versions from ADO.
e215c478 1759
edf66db1
SP
1760 * time/africa, time/antarctica, time/asia, time/australasia,
1761 time/europe, time/northamerica, time/southamerica,
1762 time/pacificnew, time/etcetera, time/factory, time/systemv,
1763 time/solar87, time/solar88, time/solar89, time/leapseconds:
1764 Updated from Arthur David Olsen's latest.
e215c478 1765
edf66db1
SP
1766 * sysdeps/generic/__expm1.c, sysdeps/generic/asinh.c,
1767 sysdeps/generic/exp__E.c, sysdeps/generic/log.c,
1768 sysdeps/generic/log1p.c, sysdeps/generic/mathimpl.h,
1769 sysdeps/generic/pow.c, sysdeps/mach/hurd/__ioctl.c,
1770 sysdeps/mach/hurd/stdio_init.c, sysdeps/unix/bsd/clock.c: Put
1771 `const' qualifier always after storage classes.
e215c478 1772
edf66db1
SP
1773 * sysdeps/unix/bsd/sequent/i386/__sigvec.S (trampoline): Use
1774 `call', not `jsr'.
1775 (__sigvec): Exchange the scratch reg with 16(%esp) (fourth arg
1776 slot), not 0(%esp) (return PC slot). Use ARGS_4 to point the
1777 syscall at the args.
e215c478 1778
edf66db1
SP
1779 * sysdeps/unix/common/__getgrps.c: When gid_t==int, and SIZE!=0,
1780 return N from __bsd_getgroups.
e215c478 1781
edf66db1
SP
1782 * posix/unistd.h (__need_NULL): Define before including <stddef.h>.
1783 1003.1-1990 2.7.1 says it should be here.
e215c478 1784
edf66db1 1785Sat May 15 14:54:25 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
e215c478 1786
edf66db1 1787 * time/__tzset.c (compute_change): Add 1900 to YEAR, not 1970.
e215c478 1788
edf66db1 1789Fri May 14 21:24:19 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
e215c478 1790
edf66db1
SP
1791 * sysdeps/unix/sysv/sysv4/solaris2/start.c: Define NO_EXPLICIT_START.
1792 * sysdeps/unix/sparc/start.c [NO_EXPLICIT_START]: Don't asm
1793 `_start' into `start' (e.g., for Solaris).
e215c478 1794
edf66db1 1795 * sysdeps/unix/sysv/sysv4/solaris2/sysdep.h: New file.
e215c478 1796
edf66db1 1797Fri May 14 19:34:54 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1798
edf66db1 1799 * malloc/Makefile: Remove depend-malloc dependency on malloc/gmalloc.c.
e215c478 1800
edf66db1
SP
1801 * posix/Makefile (headers): Add sys/unistd.h.
1802 * posix/sys/unistd.h: New file, just includes <unistd.h>.
e215c478 1803
edf66db1
SP
1804 * sysdeps/unix/common/glue-ctype.c (main): Define generated array
1805 as `unsigned char' rather than `char'.
e215c478 1806
edf66db1
SP
1807 * sysdeps/unix/start.c [__GNUC__]: Use asm frob to make `start'
1808 asm name of _start.
e215c478 1809
edf66db1
SP
1810 * sysdeps/unix/opendir.c [! _STATBUF_ST_BLKSIZE]: Don't fstat and
1811 use st_blksize; try BUFSIZ instead.
e215c478 1812
edf66db1
SP
1813 * sysdeps/unix/Makefile (ioctls): Don't use sed to remove final |
1814 from snarf-ioctls output; just append a dummy alternative instead.
e215c478 1815
edf66db1 1816 * sysdeps/posix/__wait3.c: Fix arg types.
e215c478 1817
edf66db1
SP
1818 * Makerules ($(common-objpfx)stub-$(subdir)): Use @ for sed
1819 separator char. Pass extra file /dev/null in case `...` gets empty.
e215c478 1820
edf66db1
SP
1821 * sysdeps/unix/sysdep.h (C_LABEL): Define new macro.
1822 * sysdeps/unix/i386/sysdep.h (ENTRY): Use it.
1823 * sysdeps/unix/sparc/sysdep.h (ENTRY): Likewise.
1824 * sysdeps/unix/sparc/__brk.S: Use C_LABEL and ENTRY instead of
1825 C_SYMBOL_NAME.
1826 * sysdeps/unix/i386/__brk.S: Use C_LABEL instead of C_SYMBOL_NAME.
e215c478 1827
edf66db1 1828Fri May 14 17:41:42 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
e215c478 1829
edf66db1
SP
1830 * sysdeps/mips/sqrt.c [HAVE_GNU_AS]: Use the IEEE 754 version of
1831 sqrt since gas can't handle the `sqrt.d' synthetic instruction.
e215c478 1832
edf66db1 1833Fri May 14 16:33:47 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1834
edf66db1 1835 * stdio/Makefile (routines): Add tempname.
e215c478 1836
edf66db1
SP
1837 * sysdeps/unix/common/make_siglist.c: #define const to empty
1838 around #include of <signal.h>.
e215c478 1839
edf66db1
SP
1840 * sysdeps/unix/errnos.awk: Surround generated `DO' macro calls
1841 with #ifdef on the E* symbol.
e215c478 1842
edf66db1
SP
1843 * sysdeps/unix/common/make_siglist.c [! HAVE_SYS_SIGLIST &&
1844 HAVE__SYS_SIGLIST]: Define sys_siglist to _sys_siglist.
e215c478 1845
edf66db1 1846 * termios/Makefile (headers): Add termbits.h.
e215c478 1847
edf66db1 1848 * posix/Makefile (headers): Add waitflags.h and waitstatus.h.
e215c478 1849
edf66db1
SP
1850 * math/math.h (struct __complex): Rename to struct __cabs_complex.
1851 __complex is now a reserved word in GCC.
1852 * sysdeps/generic/cabs.c (cabs): Likewise.
1853 * sysdeps/ieee754/cabs.c (cabs, z_abs): Likewise.
e215c478 1854
edf66db1 1855 * sysdeps/unix/common/glue-ctype.c: Test for _ctype__ before _ctype_.
e215c478 1856
edf66db1 1857 * posix/Makefile (headers): Add confname.h.
e215c478 1858
edf66db1 1859Thu May 13 00:25:53 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 1860
edf66db1
SP
1861 * ctype/Makefile (tags_sources): Don't define.
1862 * MakeTAGS [subdir==ctype] (tags_sources): Put headers before sources.
e215c478 1863
edf66db1 1864 * time/__tzset.c (compute_change): Add 1970 to YEAR before using it.
e215c478 1865
edf66db1 1866 * sysdeps/unix/readdir.c: Pass a BASEP arg to __getdirentries.
e215c478 1867
edf66db1 1868Wed May 12 20:36:51 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 1869
edf66db1 1870 * Makefile (distribute): Add aclocal.m4.
e215c478 1871
edf66db1
SP
1872 * dirent/list.c (test): Clear errno before readdir loop. Complain
1873 if errno is set thereafter.
e215c478 1874
edf66db1
SP
1875 * sysdeps/unix/sysv/sysv4/solaris2/utsnamelen.h: New file.
1876 * sysdeps/unix/sysv/sysv4/solaris2/__utimes.S: New file.
1877 * sysdeps/unix/sysv/sysv4/solaris2/sigaltstack.S: New file.
1878 * sysdeps/unix/sysv/sysv4/solaris2/Makefile: New file.
e215c478 1879
edf66db1
SP
1880 * sysdeps/unix/bsd/sun/sparc/start.c: Moved to sysdeps/unix/sparc.
1881 * sysdeps/unix/sparc/start.c: Moved from sysdeps/unix/bsd/sun/sparc.
1882 Surround all shared library frobnication code with #ifndef NO_SHLIB.
1883 * sysdeps/unix/sysv/sysv4/solaris2/start.c: New file.
e215c478 1884
edf66db1
SP
1885 * configure.in (os = solaris[2-9]*): base_os=unix/sysv/sysv4.
1886
1887 * sysdeps/sparc/setjmp.S: Include <sysdep.h>, not "DEFS.h".
1888 Use ENTRY(__setjmp) instead of FUNC(___setjmp).
1889
1890 * sysdeps/sparc/divrem.m4: [__svr4__]: Include <sys/trap.h>
1891 instead of <machine/trap.h>.
1892
1893 * sysdeps/sparc/__longjmp.S: Include <sysdep.h>, not "DEFS.h".
1894 Use ENTRY(__longjmp) instead of FUNC(___longjmp).
1895 [__svr4__]: Use <sys/trap.h> instead of <machine/trap.h>.
1896
1897 * sysdeps/unix/i386/sysdep.h (C_SYMBOL_NAME, SYS_ify): Moved to
1898 sysdeps/unix/sysdep.h.
1899 * sysdeps/unix/sparc/sysdep.h: New file.
1900 * sysdeps/unix/bsd/sun/sparc/sysdep.h: File removed.
1901
1902 * sysdeps/unix/sparc/__brk.S: New file.
1903 * sysdeps/unix/sparc/__brk.c: File removed.
1904
1905Wed May 12 19:43:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1906
1907 * malloc/cfree.c: Put malloc.h include in _MALLOC_INTERNAL conditional.
1908
1909Wed May 12 16:24:23 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
1910
1911 * Makeconfig (+link): Put $(LDFLAGS) in the value.
1912 * sysdeps/unix/bsd/sun/sparc/Makefile (LDFLAGS): Set it.
1913
1914 * posix/glob.c: Move include <unistd.h> before dir includes.
1915 [HAVE_UNISTD_H] [! POSIX] [_POSIX_SOURCE]: Define POSIX.
1916
1917 * grp/initgroups.c [! NGROUPS_MAX || NGROUPS_MAX == 0]: Just
1918 return 0 and do nothing.
1919
1920 * sysdeps/unix/sysv/sco3.2.4/__{sys,path}conf.S: New files.
1921 * posix/unistd.h: Include <confname.h>; remove _{SC,CS,PC}_* defns.
1922 * sysdeps/generic/confname.h: New file.
1923 * sysdeps/unix/sysv/sco3.2.4/confname.h: New file.
1924
1925 * malloc/cfree.c: Include <malloc.h> instead of <stdlib.h>.
1926 [_LIBC]: Use function_alias only under this conditional.
1927 [! _LIBC] (cfree): Define a function that just calls free.
1928
1929 * posix/Makefile (glob.tar): Depend on glob/ChangeLog.
1930 (glob/configure): Just run autoconf, don't do a sub-make.
1931 (glob/ChangeLog): New target.
1932 (%.Z, %.z): New rules.
1933
1934Mon May 10 16:56:09 1993 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
1935
1936 * malloc/cfree.c: Put the meat of the file inside a "#if
1937 defined(__GNU_LIBRARY__)" clause, so that gmalloc.c, which
1938 incorporates this file, can be used outside of the C library.
1939
1940Sun May 9 16:57:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
1941
1942 * stdio/fseek.c: Don't call __flshfp unless STREAM is writable.
1943
1944 * string/tester.c (main): Remove unused variable.
1945
1946 * sysdeps/unix/bsd/set[er][gu]id.c: New files.
1947
1948 * sysdeps/unix/mk-local_lim.c (NAME_MAX): Define to 255 if undefined.
1949
1950 * malloc/Makefile (malloc-dist): Add ChangeLog and mem-limits.h.
1951 (malloc/ChangeLog): New rule using Noah's changelog-extract.
1952 (malloc.tar): Use o flag to tar to make compatible archives.
1953 (gmalloc-routines): Add calloc, valloc, and cfree.
1954 (dist-routines): Remove [cv]alloc from here.
1955 (routines): Remove cfree from here.
1956
1957Fri May 7 16:45:54 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
1958
1959 * sysdeps/posix/ttyname.c: Replace fixed-sized NAME array with
1960 static char *NAME and static size_t NAMELEN.
1961 Don't check S_ISCHR.
1962 Don't hack NAME before the loop.
1963 If need more than NAMELEN chars to hold the name, increase NAMELEN
1964 to more than big enough and malloc NAME.
1965 Save errno in local var SAVE before doing anything; restore it
1966 when returning non-error.
1967
1968 * Makefile (generated): Add $(objpfx)stubs.h.
1969 (README): New rule to call Make-dist to do the work.
1970
1971 * mach/Makefile: Don't include mach-syscalls.mk if no_deps=t.
1972
1973 * crypt/GNUmakefile (%.z): New rule for gzipping.
1974 (crypt.tar): Use o flag to tar to make compatible archives.
1975
1976 * Makeconfig: Find config.make in $(common-objpfx), not $(objpfx).
1977
1978 * io/Makefile (headers): Remove filebits.h.
1979
1980 * sysdeps/unix/sysv/sysv4/Dist: File removed.
1981
1982 * Makefile (README): Move from here.
1983 * Make-dist (README): To here.
1984
1985 * sysdeps/unix/Makefile (sys/param.h): Don't depend on sys/. It
1986 was causing sys/param.h to be remade all the time.
1987
1988 * aclocal.m4 (GLIBC_PROVIDES): Add shell comment about configure
1989 being generated and not to be editted.
1990
1991 * sysdeps/unix/swapon.S: Moved to sysdeps/unix/common.
1992 * sysdeps/unix/configure: Add swapon to list of syscalls to check for.
1993
1994 * sysdeps/unix/mk-local_lim.c: New file, modified from
1995 sysdeps/unix/common/mk-local_lim.c.
1996 * sysdeps/unix/common/Makefile: Move local_lim.h rules from here.
1997 * sysdeps/unix/Makefile: Put them there.
1998 (local_lim-CFLAGS): Define new variable.
1999 (mk-local_lim): Replace $(native-compile) with its value plus
2000 $(local_lim-CFLAGS).
2001 * sysdeps/unix/common/Dist: Remove mk-local_lim.c.
2002 * sysdeps/unix/Dist: Add it here.
2003
2004 * Makerules (make-dummy-dep): New variable; canned command.
2005 ($(objpfx)%.dep: {$(objpfx),}%.s): New rules using $(make-dummy-dep).
2006 (sysd-Makefile): Write a $(objpfx)%.dep: $dir/%.s rule using it.
2007
2008 * misc/ioctl.c: Replace function_alias with:
2009 [HAVE_GNU_LD]: Use symbol_alias.
2010 [! HAVE_GNU_LD]: Write out the function; it must fetch its third arg
2011 with va_arg and then call __ioctl.
2012
2013Thu May 6 14:56:16 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2014
2015 * misc/sys/ioctl.h (__ioctl, ioctl): Changed prototype to take 2
2016 args and ... rather than a 3rd __ptr_t arg.
2017 * sysdeps/stub/__ioctl.c: Changed defn.
2018
2019 * sysdeps/unix/bsd/sun/sunos4/tcflow.c: Include <sys/ioctl.h>.
2020
2021 * sysdeps/unix/Makefile (make-ioctls-CFLAGS): Define as
2022 -DHAVE_SYS_TERMIOS_H if $(sysincludedir)/sys/termios.h exists.
2023 (make-ioctls): Replace command `$(common-objdir-compile)' with
2024 that var's contents from Makerules, plus $(make-ioctls-CFLAGS).
2025 * sysdeps/unix/ioctls-tmpl.c [HAVE_SYS_TERMIOS_H]: Get <sys/termios.h>.
2026
2027 * misc/sys/ioctl.h: Include <sys/ttydefaults.h> after <ioctls.h>.
2028
2029 * sysdeps/unix/bsd/sun/sunos4/speed.c (cfget[io]speed): Return the
2030 raw speed, rather than using it as an index into `speeds'.
2031 (cfset[io]speed): Treat SPEED being an index into `speeds' just as
2032 if it were the value of that element.
2033
2034 * termios/termios.h: Remove definitions of B[0-9]+ and EXT[AB].
2035 * sysdeps/generic/termbits.h: Put them here instead.
2036 * sysdeps/unix/bsd/sun/sunos4/termbits.h: Add new defns for those.
2037
2038 * sysdeps/unix/Makefile (termbits-edit): If termbits.h is not the
2039 generic version, set this to an | egrep command which filters out
2040 symbols appearing in termbits.h.
2041 (ioctls): Depend on $(sysincludedir)sys/termios.h if it exists.
2042 Pass all deps after first to snarf-ioctls.
2043 Put $(termbits-edit) in cmd line; it may be empty or a pipe.
2044 Pipe through sort|uniq before tr (just to cut down on duplicates).
2045
2046 * sysdeps/generic/Makefile, sysdeps/unix/Makefile: When deciding
2047 whether to generate files whose stub versions are chosen, also
2048 include the generation rules when the chosen directory is
2049 $(common-objpfx), so they continue to be defined after running once.
2050
2051 * sysdeps/posix/Makefile: Use patsubst instead of substition
2052 references when the substitution or replacement contains a $.
2053 Make has a bug (which I just fixed) with such substitution references.
2054
2055 * posix/wait3.c: Fixed arg types in fn alias.
2056 * posix/wait4.c: Likewise.
2057
2058 * sysdeps/posix/Makefile: Remove vpath %.h line.
2059 * Makerules: Add vpath %.h directive.
2060
2061 * sysdeps/posix/Makefile (generated, before-compile): Add
2062 $(common-objpfx)stdio_lim.h, not just plain stdio_lim.h.
2063
2064 * Makerules (depend-$(subdir)): Put $(objpfx) in the output, not
2065 its expansion.
2066 (+make-deps): Add sed clause to translate the expansion of
2067 $(objpfx) back into the variable reference.
2068
2069Wed May 5 15:59:40 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2070
2071 * sysdeps/unix/sysv/sco3.2/local_lim.h: New file.
2072
2073 * sysdeps/unix/sysv/sco3.2/Makefile: New file
2074 * sysdeps/unix/sysv/sco3.2/Dist: New file.
2075 * sysdeps/unix/sysv/sco3.2/__fltused.c: New file.
2076
2077 * sysdeps/unix/configure: New file.
2078 * sysdeps/unix/inet/__select.S: Moved to sysdeps/unix/common.
2079 This is because select is a call sysdeps/unix/configure wants to
2080 check for, and it simplifies life for all those to be in unix/common.
2081
2082 * sysdeps/tahoe/Implies: Remove $(bsdmath)tahoe line.
2083
2084 * sysdeps/unix/sysv/sco3.2.4/{__sigact,__sigproc,
2085 sigpending,sigsuspend}.S: New files.
2086
2087 * Makefile (INSTALL): Depend on manual/maint.texi, not
2088 manual/maint.texinfo. Use -- instead of + for long options.
2089
2090 * configure.in: After setting $sysnames initially and adding the
2091 FPU directory, expand and uniquize the list with code that used to
2092 be in find-sysdirs. Make $sysnames blank-separated rather than
2093 newline-separated. Generalize loop iterating over $sysnames, so
2094 it sets $uname and sources sysdep configure scripts. Move
2095 sys_siglist and ctype checks to sysdeps/unix/common/configure.in.
2096 Set Make variable `config-sysdirs' to $sysnames in config.make,
2097 and don't frob Sysnames or sysdirs files at all.
2098 * find-sysdirs: File removed.
2099 * Makefile (distribute): Remove find-sysdirs.
2100 (sysd-dirs): Depend on config.make instead of config.make.
2101 Use $(sysdirs) in place of `cat $<`.
2102 * aclocal.m4: New file.
2103 * sysdeps/unix/common/configure.in: New file, contains checks for
2104 sys_siglist and ctype glue moved from top-level configure.in.
2105 * Makerules (sysdirs, Sysnames): Rules removed.
2106 Don't include sysdirs.
2107 (sysdirs): Define variable from $(config-sysdirs).
2108 (sysd-Makefile): Depend on config.make instead of sysdirs.
2109 Use $(sysdirs) instead of filtering the sysdirs file.
2110 * Make-dist (+sysdep-tsrcs): Include configure and configure.in
2111 from sysdep dirs.
2112 (dist.tar): Use o flag to tar for compatible archives.
2113 (dist): Depend on foo.z instead of foo.Z.
2114 ($(tardir){-crypt,}.tar.z): Renamed from .Z.
2115 (%.z: %): New rule.
2116 (%/configure: %/configure.in): New rule.
2117
2118Mon May 3 17:45:06 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2119
2120 * sysdeps/unix/sysv/sco3.2.4/__waitpid.S: New file.
2121
2122 * sysdeps/unix/sysv/sco3.2.4/direct.h: New file.
2123
2124 * sysdeps/unix/readdir.c: Moved from unix/bsd, rewritten to always
2125 use __getdirentries and D_NAMLEN macro, no #ifdefs.
2126 * sysdeps/unix/sysv/readdir.c, sysdeps/unix/bsd/bsd4.4/readdir.c,
2127 sysdeps/unix/bsd/ultrix4/readdir.c,
2128 sysdeps/unix/bsd/hp/m68k/readdir.c,
2129 sysdeps/unix/bsd/sun/readdir.c: Files removed.
2130 * sysdeps/unix/common/{close,open,rewind,seek,tell}dir.c: Moved to
e215c478 2131 sysdeps/unix.
edf66db1
SP
2132 * sysdeps/unix/sysv/direct.h: New file.
2133 * sysdeps/unix/bsd/direct.h (D_NAMLEN): Define to use d_namlen.
2134 * sysdeps/unix/sysv/sysv4/direct.h (D_NAMLEN): Define to calculate
2135 from d_reclen.
2136 * sysdeps/unix/__getdents.c: New file.
2137 * sysdeps/stub/direct.h: New file.
2138 * sysdeps/unix/bsd/Dist: Remove bsddir.h.
2139 * sysdeps/unix/sysv/sysv4/readdir.c: Moved to unix/sysv.
2140 * sysdeps/unix/sysv/sysv4/bsddir.h: Renamed to direct.h.
2141 * sysdeps/unix/bsd/bsddir.h: Likewise.
2142 * sysdeps/unix/common/opendir.c: Include "direct.h", not "bsddir.h".
2143 * sysdeps/unix/sysv/sysv4/readdir.c: Likewise.
2144 * dirent/Makefile (distribute): Define to include direct.h.
e215c478 2145
edf66db1 2146 * sysdeps/unix/common/opendir.c: Be sure to close FD if fcntl fails.
e215c478 2147
edf66db1
SP
2148 * sysdeps/generic/memcopy.h: #include <sys/cdefs.h> and use __P
2149 prototypes instead of EXFUN.
e215c478 2150
edf66db1
SP
2151 * sysdeps/generic/memcmp.c (__ptr_t, const): Define as appropriate
2152 conditional on [__cplusplus || __STDC__].
e215c478 2153
edf66db1 2154Thu Apr 29 21:48:37 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2155
edf66db1 2156 * Makefile ($(libc.a)): Make this, not lib, depend on subdir_lib.
e215c478 2157
edf66db1
SP
2158 * Makerules ($(objpfx)%.{o,dep} rules): Remove spurious / after
2159 $(objpfx) in dependency patterns.
e215c478 2160
edf66db1
SP
2161 * sysdeps/unix/bsd/sun/sparc/start.c (_start): Define with
2162 `asm ("start")', so its asm name is `start' rather than `__start'.
2163 Remove asm that did a `.set' pseudo-op, which Sun as seems not to grok.
e215c478 2164
edf66db1 2165Wed Apr 28 12:59:46 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2166
edf66db1 2167 * sysdeps/stub/system.c: Return 0 if LINE is nil.
e215c478 2168
edf66db1
SP
2169 * sysdeps/unix/__execve.S [!SYS_execve && SYS_exec]: Define
2170 SYS_execve to be SYS_exec.
e215c478 2171
edf66db1 2172 * time/mktime.c: Include <sys/types.h>.
e215c478 2173
edf66db1 2174Mon Apr 26 17:10:21 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 2175
edf66db1
SP
2176 * sysdeps/generic/memcmp.c: Deansideclized.
2177 [HAVE_CONFIG_H]: Include "config.h".
2178 [HAVE_STRING_H || _LIBC]: Put #include <string.h> under this.
2179 [_LIBC]: Put #include <memcopy.h> under this conditional.
2180 [! _LIBC]: Define op_t, OPSIZ, byte, and MERGE.
e215c478 2181
edf66db1 2182 * time/mktime.c: Define __isleap if not defined.
e215c478 2183
edf66db1 2184Fri Apr 23 18:08:33 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 2185
edf66db1
SP
2186 * sysdeps/unix/sysv/__getdents.c: New file.
2187 * sysdeps/unix/sysv/sysv4/sys_getdents.S: Moved to unix/sysv.
2188 * sysdeps/unix/sysv/Makefile [subdir==dirent]: Add sys_getdents to
2189 sysdep_routines.
2190 * sysdeps/unix/sysv/Dist: Add sys_getdents.S.
2191 * sysdeps/unix/sysv/sysv4/Dist: Remove it from here.
2192 * sysdeps/unix/sysv/sysv4/Makefile: File removed.
e215c478 2193
edf66db1 2194Thu Apr 22 17:40:28 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2195
edf66db1 2196 * sysdeps/unix/bsd/sony/newsos4/m68k/sysdep.h: New file.
e215c478 2197
edf66db1 2198 * sysdeps/generic/strsep.c: Set *STRINGP to END+1, not END.
e215c478 2199
edf66db1 2200 * configure.in (arg parsing): Grok --verbose and set verbose=yes.
e215c478 2201
edf66db1 2202 * sysdeps/sparc/{umul,mul}.S: Remove ' from ! comment.
e215c478 2203
edf66db1 2204 * sysdeps/sparc/Makefile (*.S): Find divrem.m4 in this sysdeps dir.
e215c478 2205
edf66db1 2206 * sysdeps/unix/bsd/sun/sunos4/speed.c (cfset[io]speed): Typo fix.
e215c478 2207
edf66db1
SP
2208 * sysdeps/unix/bsd/sun/sparc/vfork.S: Use a sethi insn and %g1 as
2209 a temporary, rather than expecting the address to fit into a short
2210 jump.
e215c478 2211
edf66db1
SP
2212 * sysdeps/unix/bsd/__fork.S: Moved to sysdeps/unix/__fork.S; we
2213 want unix/MACHINE/__fork.S to come first.
e215c478 2214
edf66db1
SP
2215 * sysdeps/unix/bsd/bsd4.4/__wait3.c: Make STAT_LOC type
2216 `__WAIT_STATUS' (defined in <sys/wait.h>).
2217 * sysdeps/unix/bsd/sun/sunos4/__wait4.c: Likewise.
e215c478 2218
edf66db1
SP
2219 * signal/sigvec.c: Change args from `struct __sigvec *' to
2220 `struct sigvec *' in function alias.
e215c478 2221
edf66db1 2222 * signal/sigproc.c: Make arg SET `const sigset_t *' in fn alias.
e215c478 2223
edf66db1
SP
2224 * signal/sigaction.c: Change args from `struct __sigaction *' to
2225 `struct sigaction *' in function alias.
e215c478 2226
edf66db1
SP
2227 * sysdeps/unix/common/glue-ctype.c (main) [! TABLE]: Write just a
2228 comment saying we don't know the table name, rather than barfing
2229 with `TABLE' an undefined variable.
e215c478 2230
edf66db1
SP
2231 * sysdeps/generic/printf_fp.c: Fixed test to chose %e format.
2232 Make loop condition --J > 0; break out of loop when FPNUM < F.
2233 After loop, use %e format iff J <= 0.
e215c478 2234
edf66db1
SP
2235 * posix/glob/Makefile.in (.c.o): Put $(CFLAGS) last.
2236 (glob.o): Depend on glob.c.
2237 (fnmatch.o): Depend on fnmatch.c.
e215c478 2238
edf66db1 2239Wed Apr 21 12:40:03 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2240
edf66db1 2241 * sysdeps/posix/Makefile (before-compile): Add stdio_lim.h.
e215c478 2242
edf66db1 2243 * configure.in (signed size_t test): Remove 's from rhs of AC_DEFINE.
e215c478 2244
edf66db1
SP
2245 * stdio/internals.c (seek_to_target): If __stdio_check_offset
2246 fails with ESPIPE, do nothing.
e215c478 2247
edf66db1
SP
2248 * sysdeps/generic/printf_fp.c: For %e type, add K-1 to CUTOFF,
2249 rather than K.
2250 When there are no post-decimal digits, never write a decimal point
2251 for a %g spec unless it had a # modifier.
2252 Move K==-1 test to write decimal point before K==CUTOFF test to
2253 round and write last digit.
2254 Merge code for first post-decimal digit with code for remaining digits.
2255 Move code to write leading fractional zeros inside K<0 test which
2256 determines if any will be needed.
2257 In decimal fraction notation code, use R10 temporary instead of
2258 repeating (R * 10) twice.
e215c478 2259
edf66db1
SP
2260 * stdio/fwrite.c: Only fail when __stdio_check_offset fails if it
2261 failed with ESPIPE. If offset==-1, don't change it or target.
e215c478 2262
edf66db1
SP
2263 * sysdeps/posix/defs.c (stdstream): Rearrange initializers, as
2264 FILE has been rearranged. Set offset and target to -1, not 0.
e215c478 2265
edf66db1
SP
2266 * sysdeps/posix/stdio_init.c: If STREAM isatty, set its seek
2267 function to NULL. Unix bites.
e215c478 2268
edf66db1 2269 * stdio/ungetc.c: Call __flshfp if linebuf_active or put_limit>buffer.
e215c478 2270
edf66db1 2271 * sysdeps/unix/bsd/sun/sparc/start.c [__GNUC__ < 2]: #error.
e215c478 2272
edf66db1
SP
2273 * time/mktime.c: Deansideclized.
2274 Don't include <errno.h> or <limits.h>; we don't need them.
2275 [DEBUG] (printtm): Made static.
2276 [HAVE_CONFIG_H]: Include "config.h".
2277 [__GNU_LIBRARY__ || HAVE_LIMITS_H]: Surround #include <limits.h>
2278 with these conditionals.
e215c478 2279
edf66db1
SP
2280 * time/offtime.c (__mon_lengths): Move defn to mktime.c; replace
2281 with extern decl.
2282 * time/mktime.c (__mon_lengths): Define here; remove extern decl.
e215c478 2283
edf66db1 2284Mon Apr 19 18:42:59 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2285
edf66db1
SP
2286 * sysdeps/stub/tempname.c: New file.
2287 * sysdeps/stub/sysd-stdio.c (__stdio_gen_tempname): Moved there.
2288 * sysdeps/posix/tempname.c: New file.
2289 * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Moved there.
e215c478 2290
edf66db1
SP
2291 * stdio/fopen.c: Don't set the offset to zero. That can falsely
2292 give the impression that an unseekable object is seekable.
e215c478 2293
edf66db1
SP
2294 * stdio/internals.c (__flshfp): Discard any pushed back character
2295 first thing after sanity checks.
2296 (__flshfp): Deconditionalize code to call the output-room
2297 function; we always want to give it a chance to prime the stream.
2298 Remove code that reset bufp if put_limit==buffer. We want to let
2299 the output-room function do that--that is priming the stream.
e215c478 2300
edf66db1 2301Fri Apr 16 12:24:21 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2302
edf66db1
SP
2303 * Makerules ($(libc.a)): Depend on lib-noranlib and have ranlib
2304 command line.
2305 (lib): Just depend on $(libc.a).
e215c478 2306
edf66db1
SP
2307 * sysdeps/unix/bsd/sun/sparc/start.c (init_shlib): Use __environ,
2308 not environ.
e215c478 2309
edf66db1
SP
2310 * stdio/internals.c (__flshfp): Don't check that the buffer
2311 actually contains anything when setting the put_limit to the end of
2312 the buffer if linebuf_active.
2313 (__flshfp): To write C into the buffer !FLUSH_ONLY, don't check
2314 that bufp > buffer and get_limit == buffer. Check against
2315 put_limit unless linebuf_active (in which case check against the
2316 real put_limit, fp->__buffer + fp->__bufsize).
2317 (__flshfp): Bother to call the output-room function if !FLUSH_ONLY
2318 or bufp > buffer and get_limit <= linebuf-corrected put_limit.
2319 (__flshfp): Check for a NULL output-room function before checking
2320 if C will fit in the buffer.
2321 (flushbuf): After putting C into the buffer,
2322 set BUFFER_WRITTEN to zero and goto end instead of returning.
e215c478 2323
edf66db1
SP
2324 * stdio/ungetc.c: Test STREAM->__pushed_back before flushing the
2325 STREAM if it's writable.
e215c478 2326
edf66db1
SP
2327 * posix/glob.c, posix/fnmatch.c: Surround code with
2328 #if defined (_LIBC) || !defined (__GNU_LIBRARY__)
e215c478 2329
edf66db1 2330Thu Apr 15 19:35:59 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2331
edf66db1 2332 * string/tester.c (main): Added tests for strsep.
e215c478 2333
edf66db1 2334 * sysdeps/ieee754/frexp.c: New file.
e215c478 2335
edf66db1 2336Wed Apr 14 12:49:10 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2337
edf66db1 2338 * Makerules (ar-it): Add c flag to ar commands.
e215c478 2339
edf66db1
SP
2340 * posix/glob.c [USG, NeXT]: Don't test these.
2341 [HAVE_STRING_H]: Test this to include string.h and define ANSI_STRING.
2342 [HAVE_MEMORY_H]: Test this instead of NEED_MEMORY_H.
2343 [! ANSI_STRING]: Put decls of bcopy and #define of memcpy et al here.
e215c478 2344
edf66db1 2345 * posix/fnmatch.c [HAVE_CONFIG_H]: #include "config.h".
e215c478 2346
edf66db1 2347Mon Apr 12 16:34:53 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2348
edf66db1 2349 * posix/glob.c: Rationalize directory header conditionals.
e215c478 2350
edf66db1 2351Sun Apr 11 18:53:50 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2352
edf66db1
SP
2353 * stdio/internals.c: Remove __libc_fatal.
2354 * sysdeps/stub/sysd-stdio.c: Remove __stdio_errmsg.
2355 * sysdeps/posix/sysd-stdio.c: Likewise.
2356 * sysdeps/stub/libc_fatal.c, sysdeps/posix/libc_fatal.c: New files.
2357 * stdio/Makefile (routines): Add libc_fatal.
e215c478 2358
edf66db1
SP
2359 * stdio/stdio.h (FILE): Add new member `__linebuf_active' (flag).
2360 Rearranged order of members slightly.
2361 * stdio/setvbuf.c: Clear the linebuf_active flag.
2362 * stdio/fseek.c: Likewise.
2363 * stdio/internals.c (__flshfp): Test linebuf_active, not linebuf,
2364 to decide to reset put_limit before calling the output-room function.
2365 After calling it, if line-buffered, set put_limit to the
2366 beginning of the buffer and set the linebuf_active flag.
2367 (__fillbf): If linebuf_active is set, reset put_limit to the end
2368 of the buffer, and clear the flag.
e215c478 2369
edf66db1
SP
2370 * stdio/ungetc.c: If STREAM is writable and has something in its
2371 buffer, flush it.
e215c478 2372
edf66db1
SP
2373 * stdio/internals.c (__fillbf): When flushing all line-buffered
2374 streams, don't test for their put_limits being > than their
2375 buffers. We should let __flshfp figure it out.
e215c478 2376
edf66db1
SP
2377 * stdio/setvbuf.c: Always set the put_limit to the beginning of
2378 the buffer.
e215c478 2379
edf66db1
SP
2380 * stdio/stdio.h (__putc): Rewritten to remove all knowledge of
2381 magic for line-buffered streams. It now always calls __flshfp when
2382 the bufp hits the put_limit.
e215c478 2383
edf66db1
SP
2384 * stdio/fwrite.c: When recalculating BUFFER_SPACE after calling
2385 __flshfp, ignore the put_limit for the sake of line-buffered streams.
e215c478 2386
edf66db1
SP
2387 * stdio/fseek.c (fseek): Call __flshfp on STREAM unconditionally.
2388 We don't want to try to put the conditions for when it is
2389 necessary here as well.
e215c478 2390
edf66db1
SP
2391 * sysdeps/generic/printf_fp.c: When deciding whether to use %e
2392 format for %g, break out of the loop on J as soon as F reaches
2393 FPNUM; after the loop, set TYPE to 'e' if J<0, meaning we went all
2394 the way through.
e215c478 2395
edf66db1
SP
2396 * misc/getpass.c (TCSASOFT): Define to 0 if undefined.
2397 (getpass): Use a variable OUT to store the stream where output goes.
2398 Use a variable NREAD to notice how much was read; if the last char
2399 in the buffer is a newline, clobber it to a null terminator.
e215c478 2400
edf66db1 2401 * posix/fnmatch.h [__cplusplus || __STDC__]: Don't #define const.
e215c478 2402
edf66db1 2403Thu Apr 8 19:29:37 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2404
edf66db1 2405 * stdio/tst-printf.c (main): Added some floating-point tests.
e215c478 2406
edf66db1 2407 * sysdeps/unix/bsd/sequent/i386/__sigvec.S: New file.
e215c478 2408
edf66db1
SP
2409 * sysdeps/unix/sysv/i386/__sigret.S: Moved to sysdeps/unix/i386.
2410 Use DO_CALL instead of magic.
e215c478 2411
edf66db1
SP
2412 * sysdeps/unix/bsd/i386/__wait3.S: Use DO_CALL instead of magic.
2413 Use scratch instead of %ecx and r1 instead of %edx.
e215c478 2414
edf66db1
SP
2415 * sysdeps/unix/bsd/i386/__vfork.S: Rewritten to not use SYSCALL__.
2416 Use DO_CALL instead, and save the return PC in a register around
2417 the trap.
e215c478 2418
edf66db1
SP
2419 * sysdeps/unix/i386/sysdep.h (DO_CALL): New macro to do syscall trap.
2420 (PSEUDO): Use it instead of putting the code here.
e215c478 2421
edf66db1 2422 * stdio/vfprintf.c (number): Write "0x" before padding, not after.
e215c478 2423
edf66db1 2424 * sysdeps/unix/bsd/sequent/i386/sysdep.h: New file.
e215c478 2425
edf66db1
SP
2426 * sysdeps/unix/bsd/__setuid.c: #include <sys/types.h>.
2427 Change argument type to uid_t.
2428 * sysdeps/unix/bsd/__setgid.c: #include <sys/types.h>.
2429 Change argument type to gid_t.
e215c478 2430
edf66db1
SP
2431 * sysdeps/unix/common/__getgrps.c: Restore errno after erroneous
2432 syscall failure.
e215c478 2433
edf66db1
SP
2434 * stdio/tst-printf.c (fp_test): New function, batch of tests from
2435 a bug report.
2436 (main): Call it.
e215c478 2437
edf66db1 2438Wed Apr 7 17:17:17 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2439
edf66db1 2440 * sysdeps/generic/pow.c (pow_p): Don't initialize K; was a dead store.
e215c478 2441
edf66db1 2442Mon Apr 5 21:17:58 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2443
edf66db1
SP
2444 * sysdeps/unix/common/__getgrps.c: If __bsd_getgroups returns an
2445 error and SIZE==0, alloc temp space for NGROUPS_MAX elts and call
2446 it again on that, so we can find the number of groups.
e215c478 2447
edf66db1
SP
2448 * stdio/__vfscanf.c (input_error): If DONE is nonzero, return it;
2449 else return EOF.
2450 (%c): Don't check for C==EOF at the end; let the following spec get it.
2451 (%[eEfgG]): EOF after sign is conv_error, not input error.
e215c478 2452
edf66db1
SP
2453 * sysdeps/unix/common/__getgrps.c: If gid_t==int, pass LIST to
2454 __bsd_getgroups, not NULL.
2455 No error for SIZE > NGROUPS_MAX.
e215c478 2456
edf66db1 2457Sun Apr 4 18:52:34 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2458
edf66db1
SP
2459 * sysdeps/unix/{bsd,sysv}/i386/Implies: Files removed.
2460 They should no longer be necessary, since configure now tries more
2461 sysdeps directory permutations.
e215c478 2462
edf66db1
SP
2463 * sysdeps/unix/bsd/{i386,sun/sparc,hp/m68k,ultrix4/mips}/__set[ug]id.S:
2464 Files removed. They should no longer be necessary, since the new
2465 sysdeps scheme should find unix/bsd/__set[gu]id.c before
2466 unix/__set[gu]id.S.
e215c478 2467
edf66db1
SP
2468 * sysdeps/unix/i386/__pipe.S: Use r1 in place of %edx and scratch
2469 in place of %ecx.
2470 * sysdeps/unix/i386/__wait.S: Likewise.
2471 * sysdeps/unix/i386/__fork.S: Use r1 in place of %edx and r0 in
2472 place of %eax.
2473 * sysdeps/unix/i386/__vfork.S: Likewise.
2474 * sysdeps/unix/i386/sysdep.h (scratch): #define as %ecx.
2475 * sysdeps/unix/sysv/i386/linux/sysdep.h: Likewise.
e215c478 2476
edf66db1
SP
2477 * configure.in ($uname = generic): Set kernel_{version,release} to
2478 empty before all else.
2479 If /vmunix doesn't exist, try grovelling over /dynix instead.
e215c478 2480
edf66db1 2481 * sysdeps/unix/Makefile (syscall.h): Double $ in sed cmd.
e215c478 2482
edf66db1 2483Fri Apr 2 15:15:44 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2484
edf66db1
SP
2485 * configure.in (config_vars): New variable; text to go in config.make.
2486 Use AC_HEADER_EGREP to grovel stdarg.h for __gnuc_va_list and set
2487 stdarg.h in config_vars if we find it.
e215c478 2488
edf66db1
SP
2489 * sysdeps/unix/bsd/sun/sunos4/tcsendbrk.c,
2490 sysdeps/unix/bsd/sun/sunos4/tcflow.c,
2491 sysdeps/unix/bsd/sun/sunos4/tcflush.c,
2492 sysdeps/unix/bsd/sun/sunos4/tcsetattr.c,
2493 sysdeps/unix/bsd/sun/sunos4/__tcgetatr.c: New files.
e215c478 2494
edf66db1
SP
2495 * sysdeps/unix/Makefile (syscall.h): Add sed cmd to terminate
2496 unterminated comments at the ends of lines.
e215c478 2497
edf66db1
SP
2498 * sysdeps/posix/getcwd.c: Deansideclized and added four tons of
2499 portability goop.
e215c478 2500
edf66db1 2501Mon Mar 29 13:18:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2502
edf66db1
SP
2503 * sysdeps/unix/bsd/sun/sunos4/speed.c: New file.
2504
2505 * sysdeps/generic/termbits.h: New file, contents taken from termios.h.
2506 * termios/termios.h: Remove type & macro defns; #include <termbits.h>.
2507 [__OPTIMIZE__] (cf[gs]et[io]speed): Remove macro versions. They
2508 just cause trouble because they want to be in termbits.h (since
2509 they are sysdep) and also to come after the prototypes (which must
2510 come after termbits.h to get speed_t and struct termios defined).
2511 The optimization was insignificant anyway.
2512 * termios/speed.c: Moved to sysdeps/generic.
2513
2514 * termios/cfsetspeed.c: Call cfset[io]speed, rather than doing it
2515 ourselves.
2516
2517 * time/__tzset.c (tz_rule): Make member `secs' not a bitfield.
2518 (compute_change): Complete rewrite; code basically stolen from
2519 localtime3/localtime.c:transtime.
2520 #include "tzfile.h" for SECSPERDAY; #define NOID first.
2521
2522 * sysdeps/unix/bsd/i386/__vfork.S: Don't try to #include __fork.S.
2523 Instead, copy that code here and change `fork' to `vfork'.
2524
2525 * Makeconfig (+default_cflags): Rename to default_cflags.
2526 (+cflags): Use that name.
e215c478 2527
edf66db1 2528 * Makefile (configure): New rule.
e215c478 2529
edf66db1 2530Sun Mar 28 16:12:33 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 2531
edf66db1
SP
2532 * posix/fnmatch.c (case '*'): Before final loop, fold C1, rather
2533 than foling *P before it goes into C1. C might need folding instead.
e215c478 2534
edf66db1
SP
2535 * posix/Makefile (tests): Add testfnm.
2536 * posix/testfnm.{c,args}: New files.
e215c478 2537
edf66db1 2538Fri Mar 26 15:04:27 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2539
edf66db1 2540 * time/mktime.c: Wholly new implementation from Noel Cragg.
e215c478 2541
edf66db1
SP
2542 * sysdeps/unix/bsd/sun/__sigret.S: New file.
2543 * sysdeps/unix/bsd/sun/m68k/{Makefile,Dist}: New files.
2544 * sysdeps/unix/bsd/sun/m68k/{sigcontext.h,sigtramp.c}: New files.
2545 * sysdeps/unix/bsd/sun/sparc/__sigvec.S: Moved to sysdeps/unix/bsd/sun.
e215c478 2546
edf66db1
SP
2547 * Makefile (clean): Remove sysd-Makefile, sysd-dirs, sysdirs
2548 (distclean): New target.
2549 * sysdeps/unix/common/Makefile (generated): Add local_lim.h,
2550 mk-local_lim, glue-ctype, glue-ctype.c, siglist.c, make_siglist.
2551 * sysdeps/generic/Makefile (generated): Add bytesex.h,
2552 det_endian, siglist.c, make_siglist.
2553 * sysdeps/unix/Makefile (generated): Add errnos.h, errnos,
2554 make-errnos, make-errnos.c, ioctls.h, ioctls, make-ioctls,
2555 make-ioctls.c, errlist.c, make_errlist, syscall.h, sys/param.h,
2556 param.h.c, param.h.dep, $(sys/param.h-includes).
e215c478 2557
edf66db1 2558 * misc/Makefile (extra-objs): Define new var to include bsd-compat.o.
e215c478 2559
edf66db1 2560Fri Mar 26 14:53:30 1993 Michael John Haertel (mike@skinner.cs.uoregon.edu)
e215c478 2561
edf66db1
SP
2562 * malloc/malloc.c (malloc): Start searching at _heapindex, not
2563 MALLOC_SEARCH_START.
2564 * malloc/malloc.h (MALLOC_SEARCH_START): Macro removed.
2565 * malloc/realloc.c (realloc): When malloc returns NULL, handle the
2566 case of the block we need to unfree (which was just freed) having
2567 been coalesced with its neighbors.
e215c478 2568
edf66db1 2569Thu Mar 25 13:40:17 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2570
edf66db1 2571 * Rules (all): Depend on others.
e215c478 2572
edf66db1
SP
2573 * time/Makefile (zonenames): Change target to $(objpfx)zonenames.
2574 Make the generated file prepend $(objpfx) to
2575 Include that instead of zonenames.
2576 (zones-%): Change target to $(objpfx)zones-%.
e215c478 2577
edf66db1
SP
2578 * Makefile ($(objpfx)Mcrt1.o): Put temporary Mcrt1.c file in
2579 $(objdir), rather than the current directory.
e215c478 2580
edf66db1
SP
2581 * configure.in (arg parsing): Recognize `--exec-prefix' rather
2582 than `--exec_prefix'.
e215c478 2583
edf66db1
SP
2584 * Rules (mostlyclean): Remove the .o files for $(tests) and $(others).
2585 Remove $(objpfx)depend-$(subdir).
2586 (clean): Remove $(extra-objs).
2587 * Makefile (clean): Remove $(install-lib) from $(objdir).
2588 Don't try to remove ansi/ and trad/ or dist.tar or lint.out.
2589 Remove $(objpfx)depend-.
2590 * time/Makefile (extra-objs): Define new var.
2591 * malloc/Makefile (extra-objs): Likewise.
e215c478 2592
edf66db1
SP
2593 * Rules (+objs): Variable removed.
2594 (clean): Use $(objects) in place of $(+objs).
e215c478 2595
edf66db1
SP
2596 * sysdeps/unix/Makefile (sys/param.h-includes): Move all this
2597 outside of ifeq ($(subdir),misc).
2598 Fixed sed command to filter out [hn]to[nh][sl].
2599 (sys/param.h-includes): New target; dep on $(sys/param.h-includes).
e215c478 2600
edf66db1
SP
2601 * posix/fnmatch.h [!_POSIX_C_SOURCE || ...]: Make this test
2602 _GNU_SOURCE, not _BSD_SOURCE; these are our extensions, not theirs.
2603 (FNM_CASEFOLD): New bit.
2604 (__FNM_FLAGS): Removed macro.
2605 * posix/fnmatch.c (fnmatch): Don't test for bogus flag bits; who cares?
2606 (FOLD): New macro to casefold a char if FNM_CASEFOLD.
2607 Use it to fold all chars before comparison.
e215c478 2608
edf66db1 2609Wed Mar 24 16:09:26 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2610
edf66db1 2611 * malloc/Makefile (malloc/%.c, malloc/%.h): Rules removed.
e215c478 2612
edf66db1
SP
2613 * stdio/stdio.h (fopencookie): Rename parameter IO_FUNCTIONS to
2614 IO_FUNCS. The former conflicted with a typedef name, which ist
2615 verboten.
e215c478 2616
edf66db1 2617 * time/sys/time.h (enum __itimer_which): Remove trailing comma.
e215c478 2618
edf66db1 2619Mon Mar 22 15:35:54 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2620
edf66db1
SP
2621 * malloc/malloc.h [_MALLOC_INTERNAL]
2622 [__GNU_LIBRARY__ || STDC_HEADERS || USG] (memmove): Define in
2623 terms of bcopy.
2624 * malloc/malloc/gmalloc-head.c: Redo previously undone change.
e215c478 2625
edf66db1 2626Thu Mar 18 04:59:21 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
e215c478 2627
edf66db1 2628 * malloc/malloc/gmalloc-head.c: Undo previous change.
e215c478 2629
edf66db1 2630Wed Mar 17 12:22:21 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2631
edf66db1 2632 * mach/mach.h: New file.
e215c478 2633
edf66db1
SP
2634 * Rules (clean): Remove $(generated), not $(clean-extras).
2635 (subdir_echo-distinfo): Use $(generated) instead of $(dont_distribute).
2636 (generated): Export this instead of dont_distribute.
2637 * stdlib/Makefile (generated): Set this, not dont_distribute.
2638 * sysdeps/posix/Makefile: Likewise.
2639 * sysdeps/unix/sysv/Makefile: Likewise.
2640 * sysdeps/unix/Makefile: Likewise.
2641 * Makefile (generated): Export this instead of dont_distribute.
2642 (parent_echo-distinfo): Use $(generated) instead of $(dont_distribute).
2643 * Make-dist (+tsrcs): Filter out $(generated), not $(dont_distribute).
e215c478 2644
edf66db1
SP
2645 * mach/mach_init.h (__mach_task_self): Define so as not an lvalue.
2646 (mach_task_self): Surround defn with parens.
e215c478 2647
edf66db1
SP
2648 * sysdeps/unix/Makefile (sys/param.h): Put "#include <endian.h>" in.
2649 ($(sys/param.h-includes)): Edit out #define's of *_ENDIAN and
2650 BYTE_ORDER.
e215c478 2651
edf66db1 2652 * stdlib/tst-strtol.c (tests): Fully bracket initializers.
e215c478 2653
edf66db1 2654 * stdio/bug4.c: Change #ifdef LIBC to #ifdef _LIBC.
e215c478 2655
edf66db1
SP
2656 * misc/progname.c (set_progname): Make a useless reference to
2657 set_progname to avoid a `defined but not used' warning.
e215c478 2658
edf66db1
SP
2659 * sysdeps/mach/i386/start.c (_cthread_{init,exit}_routine): Remove
2660 `extern'; these want to be uninitialized common defns.
e215c478 2661
edf66db1 2662Mon Mar 15 18:41:05 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 2663
edf66db1
SP
2664 * sysdeps/unix/bsd/__times.c (timeval_to_clock_t): Put __inline
2665 before storage class in defn.
e215c478 2666
edf66db1
SP
2667 * sysdeps/unix/sysv/signum.h (SIG_ERR, SIG_DFL, SIG_IGN): Cast
2668 values to __sighandler_t, rather than obsolete ansidecl magic.
e215c478 2669
edf66db1
SP
2670 * sysdeps/unix/__execve.S [!SYS_execve && SYS_exece]: Define
2671 SYS_execve to be SYS_exece.
e215c478 2672
edf66db1
SP
2673 * sysvipc: New directory.
2674 * sysvipc/Makefile: New file.
2675 * sysvipc/sys/ipc.h: New file.
e215c478 2676
edf66db1 2677Fri Mar 12 15:31:44 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 2678
edf66db1
SP
2679 * posix/execlp.c (execlp): Remove spurious second declared parameter.
2680 Don't fill ARGV[0] specially; just let the loop do it.
2681 * posix/unistd.h (execlp): Remove spurious second declared parameter.
e215c478 2682
edf66db1 2683Thu Mar 11 13:58:47 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 2684
edf66db1
SP
2685 * Makerules (sysd-Makefile): Write %.dep: %.S and %.dep: %.c rules.
2686 Depend on Makerules.
2687 ($(objpfx)%.{o,dep}: $(objpfx)/%.{S,c,s}): New rules to find
2688 sources in $(objpfx) before sysdep directories.
e215c478 2689
edf66db1
SP
2690 * configure.in (signed size_t check): Use eval on $CPP, since it
2691 contains unexpanded variable refs.
2692 Send grep output to /dev/null.
2693 Put quotes around 'unsigned long int'.
e215c478 2694
edf66db1 2695Wed Mar 10 18:32:11 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 2696
edf66db1
SP
2697 * features.h [! _LIBC]: #include <stubs.h>.
2698 * Makerules (stubs): New phony target.
2699 ($(common-objpfx)stub-$(subdir)): New target.
2700 * Makefile (headers): Add stubs.h.
2701 ($(objpfx)stubs.h): New target.
e215c478 2702
edf66db1 2703 * Makeconfig (CPPFLAGS): Define _LIBC, not LIBC.
e215c478 2704
edf66db1 2705 * Makerules (.SUFFIXES): Remove .m4; we no longer have any such files.
e215c478 2706
edf66db1
SP
2707 * inet/netinet/in.h: Don't #include <inet-cvt.h>.
2708 (ntohl, ntohs, htonl, htons): Declare.
2709 #include <endian.h>.
2710 [__BYTE_ORDER == __BIG_ENDIAN] (ntohl, ntohs, htonl, htons):
2711 Define no-op macros.
2712 * inet/Makefile (headers): Remove inet-cvt.h.
2713 * sysdeps/vax/inet-cvt.h, sysdeps/generic/inet-cvt.h: Files removed.
2714 * sysdeps/generic/{ntohl,ntohs,htonl,htons}.c
2715 [BYTE_ORDER == LITTLE_ENDIAN]: Byte-swap X before returning it.
e215c478 2716
edf66db1 2717Tue Mar 9 11:32:35 1993 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
e215c478 2718
edf66db1
SP
2719 * malloc/malloc/gmalloc-head.c: Remove #definitions of memset,
2720 memcpy, and memmove; this is taken care of by malloc.h anyway.
e215c478 2721
edf66db1 2722Mon Mar 8 15:12:32 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 2723
edf66db1 2724 * sysdeps/mips/jmp_buf.h (JB_PC): Protect with #ifdef __USE_MISC.
e215c478 2725
edf66db1
SP
2726 * sysdeps/unix/sysv/sysv4/sigaction.h: Put SA_* except for
2727 SA_NOCLDSTOP inside #ifdef __USE_MISC.
e215c478 2728
edf66db1 2729Mon Mar 8 15:05:13 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
e215c478 2730
edf66db1
SP
2731 * sysdeps/mips/jmp_buf.h (jmp_buf): Use `__ptr_t', not `PTR', for
2732 member types.
2733 (JB_PC): New define, for backwards compatability with Ultrix.
e215c478 2734
edf66db1 2735 * sysdeps/unix/sysv/sysv4/sigaction.h: New file.
e215c478 2736
edf66db1 2737Mon Mar 8 13:20:02 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 2738
edf66db1
SP
2739 * posix/glob/Makefile.in (VPATH): Set this to @srcdir@.
2740 (srcdir): Set this to $(VPATH).
e215c478 2741
edf66db1
SP
2742 * posix/glob.c (glob): In no matches with GLOB_NOCHECK set case,
2743 add NULL terminator to PGLOB->gl_pathv.
2744 (prefix_array): Renamed arg PREFIX to DIRNAME, local var PRELEN to
2745 DIRLEN. If DIRNAME is just "/", don't prepend it, so we get
2746 "/foo" instead of "//foo".
2747 (glob): Move qsort call outside of the else clause of the
2748 glob_pattern_p test; it should always be done.
e215c478 2749
edf66db1 2750Thu Feb 25 14:49:52 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2751
edf66db1
SP
2752 * malloc/malloc.h [_MALLOC_INTERNAL]: Move #include <stdio.h> to
2753 front of file; it needs to come before size_t/ptrdiff_t frobnication.
e215c478 2754
edf66db1 2755Wed Feb 24 16:34:58 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2756
edf66db1
SP
2757 * Makerules (compile-command.[Ssc]): New variables; define them if
2758 they are not already defined.
2759 (sysd-Makefile): For each directory, write three rules:
2760 %.o: $dir/%.[Ssc]; $(compile-command.[Ssc]).
2761 (sysdep_path): Remove definition and vpath directives.
2762 * sysdeps/m68k/Makefile (compile-command.S): Define our own version.
2763 ($(objpfx)%.o: %.S): Rule removed.
e215c478 2764
edf66db1
SP
2765 * sysdeps/unix/sysv/linux/{__dup2,__mkdir,__rmdir,__setpgrp}.S:
2766 Removed.
2767 * sysdeps/unix/sysv/linux/Implies: Created; implies unix/common.
e215c478 2768
edf66db1
SP
2769 * sysdeps/unix/sysv/sysv4/{sete[gu]id.S,fchdir.S,signum.h,__sigproc.S}:
2770 New files.
e215c478 2771
edf66db1 2772 * sysdeps/unix/sysv/sysv4/time.S: New file.
e215c478 2773
edf66db1
SP
2774 * sysdeps/unix/common/Dist: New file; everything from
2775 sysdeps/unix/bsd/Dist except for bsdtty.h and bsddir.h.
2776 * sysdeps/unix/bsd/Dist: Remove things now in sysdeps/unix/common/Dist.
e215c478 2777
edf66db1
SP
2778 * sysdeps/unix/bsd/sun/sparc/{__brk.c,__fork.S,__pipe.S,__vfork.S}:
2779 Moved to new directory sysdeps/unix/sparc.
e215c478 2780
edf66db1
SP
2781 * sysdeps/unix/common/Implies: New file, in new directory; implies
2782 unix/inet only.
2783 * sysdeps/unix/bsd/Implies, sysdeps/unix/sysv/sysv4/Implies: New
2784 files; both imply unix/common.
2785 * sysdeps/unix/common/Makefile: Moved from sysdeps/unix/bsd.
2786 Changed references to unix/bsd to unix/common.
2787 * unix/bsd/{__access.S,__adjtime.S,__fchmod.S,__fchown.S,__getgrps.c,
2788 __getitmr.S,__getpgrp.S,__getrusag.S,__gettod.S,__lstat.S,__mkdir.S,
2789 __readlink.S,__rmdir.S,__setitmr.S,__setpgrp.S,__symlink.S,
2790 bsd_getgrp.S,closedir.c,ftruncate.S,getrlimit.S,glue-ctype.c,
2791 make_siglist.c,mk-local_lim.c,opendir.c,readv.S,rename.S,rewinddir.c,
2792 seekdir.c,setgroups.S,setrlimit.S,telldir.c,truncate.S,vhangup.S,
2793 writev.S,__dup2.S}: Moved to sysdeps/unix/common.
2794 * sysdeps/unix/sysv/sysv4/{__access.S,closedir.c,opendir.c,
2795 rewinddir.c,seekdir.c,telldir.c}: Removed.
e215c478 2796
edf66db1 2797Mon Feb 22 12:19:19 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2798
edf66db1
SP
2799 * sysdeps/generic/pow.c (pow): Use __isnan to test for NaN rather
2800 than expecting "x!=x" to work.
2801 (pow_p): When testing if Y is an integer, use long int rather than
2802 int; they are different on some systems. Compare against
2803 LONG_MIN+1, not LONG_MIN; (long int) (double) LONG_MIN might overflow.
e215c478 2804
edf66db1 2805 * malloc/dist-Makefile (gmalloc.c): Depend on Makefile.
e215c478 2806
edf66db1
SP
2807 * malloc/Makefile (gmalloc-routines): New variable.
2808 (dist-routines): Use it.
2809 (malloc/Makefile): Also replace <GMALLOC-SOURCES> with
2810 $(gmalloc-routines).
2811 (malloc/Makefile): Make it unwritable to avoid accidental lossage.
2812 Depend on Makefile.
e215c478 2813
edf66db1
SP
2814 * malloc/dist-Makefile (gmalloc): New variable: <GMALLOC-SOURCES>.
2815 (gmalloc.c): Use $(gmalloc), not $(sources).
2816 Make the file unwritable to avoid accidental lossage.
e215c478 2817
edf66db1
SP
2818 * malloc/mtrace.c: Don't #include <stdio.h> because <malloc.h> did
2819 it for us.
e215c478 2820
edf66db1
SP
2821 * malloc/valloc.c [! __GNU_LIBRARY__]: Replace hairy conditionals
2822 with #include "getpagesize.h".
2823 * malloc/Makefile (distribute, malloc-dist): Add getpagesize.h.
e215c478 2824
edf66db1 2825Sun Feb 21 18:29:30 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2826
edf66db1
SP
2827 * sysdeps/sparc/Makefile (nodist-routines): Don't define.
2828 We want to distribute the generated divrem files; otherwise anyone
2829 building the library must have an m4 that works.
2830 ($(divrem).S): Put these in sysdeps/sparc, not in $(objdir).
2831 (routines): Only put this inside ifeq ($(subdir),gnulib).
e215c478 2832
edf66db1 2833 * sysdeps/unix/bsd/sun/m68k/Makefile: File removed.
e215c478 2834
edf66db1 2835Sat Feb 20 16:43:55 1993 Torbjorn Granlund (tege@sics.se)
e215c478 2836
edf66db1
SP
2837 * sysdeps/i386/memset.c: Move adjustment of LEN before first stosb.
2838 * sysdeps/i386/bzero.c: Likewise.
e215c478 2839
edf66db1 2840Thu Feb 18 14:34:00 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 2841
edf66db1 2842 * malloc/mcheck.c (checkhdr): Use `const', not `__const'.
e215c478 2843
edf66db1 2844Mon Feb 1 19:19:13 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 2845
edf66db1
SP
2846 * sysdeps/m68k/fpu/__logb.c: Use two-operand forms of 68881 insns
2847 rather than the one-operand source==dest form. Sun's sun3
2848 assembler apparently doesn't grok the one-operand form.
e215c478 2849
edf66db1
SP
2850 * sysdeps/posix/getcwd.c: Call __lstat instead of stat.
2851 We should not lose on nonexistent symlink targets.
e215c478 2852
edf66db1 2853Thu Jan 21 20:12:25 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 2854
edf66db1
SP
2855 * posix/glob.c: Put #includes of <glob.h> and <fnmatch.h> after
2856 all system includes, in case one of them has conflicting defns of
2857 FNM_* or GLOB_*, so we will redefine. #undef FNM_* and GLOB_*
2858 before including our headers.
e215c478 2859
edf66db1 2860Tue Jan 19 16:16:05 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 2861
edf66db1
SP
2862 * mach/Makefile (routines): Removed __bcopy.
2863 * mach/__bcopy.c: File removed.
e215c478 2864
edf66db1 2865 * posix/glob.c (my_realloc): Cast result of malloc/realloc to (char *).
e215c478 2866
edf66db1 2867Sat Jan 16 14:19:07 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
e215c478 2868
edf66db1 2869 * manual/summary.awk: Handle single word in braces.
e215c478 2870
edf66db1 2871Thu Jan 14 13:52:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2872
edf66db1 2873 * posix/glob/Makefile.in (realclean): Remove Makefile.
e215c478 2874
edf66db1 2875Mon Jan 11 18:32:56 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 2876
edf66db1
SP
2877 * sysdeps/unix/bsd/sony/m68k/Implies: Imply unix/bsd/hp/m68k, not
2878 unix/hp/m68k.
e215c478 2879
edf66db1
SP
2880 * sysdeps/unix/bsd/tcsetattr.c: Use cbreak mode if ISIG is set,
2881 not if OPOST is set.
2882 Fixed typo in TOSTOP frobbing.
e215c478 2883
edf66db1 2884Tue Jan 5 15:11:31 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2885
edf66db1 2886 * posix/Makefile (glob.tar): Include glob/configure.in.
e215c478 2887
edf66db1 2888Mon Jan 4 17:05:44 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 2889
edf66db1
SP
2890 * posix/glob/Makefile.in (RANLIB): Define to @RANLIB@.
2891 (RANLIB_TEST): Removed.
2892 (libglob.a): Don't use it.
e215c478 2893
edf66db1 2894Thu Dec 31 13:08:20 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 2895
edf66db1 2896 * sysdeps/unix/bsd/bsd4.4/{chflags,fchflags,setlogin}.S: Fix arg count.
e215c478 2897
edf66db1
SP
2898 * sysdeps/posix/Makefile (mk-stdiolim): Use $(cded-objdir-CPPFLAGS).
2899 (cded-objdir-CPPFLAGS): Define new var.
e215c478 2900
edf66db1
SP
2901 * sysdeps/unix/Makefile ($(sys/param.h-includes)): Strip trailing
2902 slash from directory name for mkdir.
e215c478 2903
edf66db1 2904Tue Dec 29 18:18:58 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 2905
edf66db1
SP
2906 * sysdeps/posix/sysd-stdio.c (exists): Return true if stat fails
2907 with other than ENOENT.
e215c478 2908
edf66db1 2909 * sysdeps/posix/__flock.c: New file.
e215c478 2910
edf66db1
SP
2911 * malloc/Makefile (dist-headers): Define to malloc.h.
2912 (headers): Replace malloc.h with $(dist-headers).
2913 (malloc/Makefile): Use $(dist-headers) in place of $(headers).
2914 (malloc-dist, distribute): Replace ChangeLog with OChangeLog.
e215c478 2915
edf66db1
SP
2916 * malloc/dist-Makefile (malloc.tar{,.Z}): Depend on FORCE.
2917 (FORCE): Define empty target.
e215c478 2918
edf66db1 2919Tue Dec 29 16:45:01 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 2920
edf66db1
SP
2921 * sysdeps/sparc/{umul,mul}.S: Use tege's shift+mask hack to avoid
2922 a test and branch for sign fixup.
e215c478 2923
edf66db1
SP
2924 * limits.h [__GNUC__ >= 2]: #ifndef _GCC_LIMITS_H_, not _LIMITS_H_,
2925 to #include_next <limits.h>.
e215c478 2926
edf66db1
SP
2927 * sysdeps/posix/getcwd.c: Call closedir after copying from the
2928 `struct dirent' buffer, not before. That buffer is freed by closedir.
e215c478 2929
edf66db1
SP
2930 * posix/gnu/types.h (__fd_set): Renamed member to `fds_bits' for
2931 compatibility with braindead extant code.
e215c478 2932
edf66db1
SP
2933 * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Check for BUF
2934 being too small before doing sprintf.
e215c478 2935
edf66db1
SP
2936 * malloc/malloc.h [_MALLOC_INTERNAL], malloc/valloc.c
2937 [HAVE_CONFIG_H]: #include "config.h".
e215c478 2938
edf66db1
SP
2939 * Makefile (doc): Removed rule.
2940 (dvi, info): New rule.
e215c478 2941
edf66db1 2942Mon Dec 28 15:50:31 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2943
edf66db1
SP
2944 * posix/glob.c [HAVE_CONFIG_H]: Test this, not SHELL, to decide
2945 whether or not we want to #include "config.h".
e215c478 2946
edf66db1 2947Wed Dec 16 12:01:09 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2948
edf66db1
SP
2949 * inet/Makefile (routines): Removed ruserpass. Why did it get
2950 included in the first place? That version does not match the one
2951 in the NET2 ftp source; whence came it?
e215c478 2952
edf66db1 2953Sat Dec 12 16:41:03 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2954
edf66db1
SP
2955 * sysdeps/unix/bsd/sun/sparc/start.c: Use .set, not GNU ld magic,
2956 to alias asm symbol `start' to `__start'.
e215c478 2957
edf66db1 2958Fri Nov 20 18:20:50 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 2959
edf66db1 2960 * stdio/vfprintf.c (%p): Tests of LEFT for "(nil)" were inverted.
e215c478 2961
edf66db1
SP
2962 * stdio/tst-printf.c (main): Add `printf ("%#03x\n", 1);'.
2963 Add a width to %p test.
e215c478 2964
edf66db1
SP
2965 * stdio/vfprintf.c (unsigned_integer): Clear SHOWSIGN and SPACE
2966 flags before falling into `number:'. The `+' and ` ' flags are
2967 only meaningful for signed numbers.
e215c478 2968
edf66db1
SP
2969 * string/tester.c (main): For strstr #11, correct return is first
2970 arg, not end of first arg.
e215c478 2971
edf66db1
SP
2972 * stdlib/mbtowc.c: If S is "", return 0. How was I convinced
2973 before that this is not what ANSI says?
e215c478 2974
edf66db1
SP
2975 * stdio/__vfscanf.c: Initialize MALLOC_STRING to zero on each
2976 iteration (when we zero is_short et al).
e215c478 2977
edf66db1
SP
2978 * sysdeps/posix/mkstemp.c (mkstemp): New file.
2979 * sysdeps/stub/mkstemp.c (mkstemp): New file.
2980 * misc/Makefile (routines): Add mkstemp.
e215c478 2981
edf66db1
SP
2982 * sysdeps/posix/mktemp.c: Use `getpid ()' in place of undefined
2983 variable PID.
2984 #include <sys/stat.h>.
e215c478 2985
edf66db1
SP
2986 * dirent/scandir.c: If SELECT is nil, don't try to call it.
2987 If CMP is nil, don't sort.
e215c478 2988
edf66db1 2989Wed Nov 18 13:42:09 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2990
edf66db1 2991 * sysdeps/stub/__wait4.c: Changed type of 2nd arg to __WAIT_STATUS.
e215c478 2992
edf66db1
SP
2993 * posix/sys/wait.h (__WAIT_STATUS): #if 0 out gcc2 magic defn.
2994 GCC is broken as of 2.3.1.
e215c478 2995
edf66db1
SP
2996 * signal/signal.h (__sigaction, sigaction): Fixed type in
2997 prototype from `struct __sigaction' to `struct sigaction'.
e215c478 2998
edf66db1
SP
2999 * sysdeps/m68k/fpu/atan2.c (PI, PIo4, PIo2): Removed static vars.
3000 (atan2): Declare PIo4 and PIo2 locally, and compute them from pi.
e215c478 3001
edf66db1 3002 * Makerules (native-CFLAGS): Define as $(config-defines).
e215c478 3003
edf66db1 3004 * sysdeps/unix/bsd/glue-ctype.c: Upcased all HAVE_* names in #ifdef's.
e215c478 3005
edf66db1
SP
3006 * posix/fnmatch.h (FNM_LEADING_DIR): New flag.
3007 * posix/fnmatch.c (fnmatch): Support it.
e215c478 3008
edf66db1
SP
3009 * sysdeps/i386/bytesex.h: New file.
3010 * sysdeps/i386/endian.h: Removed.
3011 * sysdeps/stub/bytesex.h: New file.
3012 * sysdeps/stub/endian.h: Removed.
3013 * sysdeps/generic/Makefile (bytesex.h): Create with det_endian.
3014 (endian.h): Removed old rule.
3015 (before-compile): Replace endian.h with bytesex.h.
3016 * string/Makefile (headers): Add bytesex.h.
3017 * string/endian.h: New file.
3018 * sysdeps/generic/det_endian.c: Rewritten to output just one line,
3019 a #define of __BYTE_ORDER to 1234, or 4321, etc.
3020 * inet/arpa/nameser.h: #include <endian.h>, rather than #ifdef'ing
3021 on misc. things to #define BYTE_ORDER.
3022 * sysdeps/generic/waitstatus.h: Test value of __BYTE_ORDER, not
3023 whether __LITTLE_ENDIAN is #define'd.
3024 * sysdeps/generic/mathimpl.h: Likewise.
3025 * sysdeps/generic/memcopy.h: Likewise.
3026 * sysdeps/ieee754/huge_val.h: Likewise.
3027 * sysdeps/ieee754/nan.h: Likewise.
3028 * sysdeps/ieee754/ieee754.h: Likewise.
e215c478 3029
edf66db1 3030Mon Nov 16 12:19:10 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 3031
edf66db1 3032 * Makeconfig (ARCH): Define to empty if $(..)config.make exists.
e215c478 3033
edf66db1
SP
3034 * misc/getusersh.c (initshells): malloc (STATB.st_size + 1), to
3035 contain the terminating NUL. Pass fgets the real amount of space
3036 left in the buffer, instead of the random number (MAXPATHLEN + 1).
e215c478 3037
edf66db1
SP
3038 * configure.in (minix*): base_os=unix/sysv.
3039 * sysdeps/unix/sysv/minix/sigaction.h: New file.
e215c478 3040
edf66db1
SP
3041 * sysdeps/generic/sigaction.h (__SA_*): Renamed to SA_*.
3042 [__USE_BSD]: Put all but SA_NOCLDSTOP under this #ifdef.
3043 * signal/signal.h (SA_*): Remove #define's.
3044 (SIG_*): Moved #define's to sigaction.h.
e215c478 3045
edf66db1
SP
3046 * sysdeps/generic/sigset.h (__sigmask): Shift ((sigset_t) 1), not
3047 just 1.
e215c478 3048
edf66db1 3049 * signal/signal.h (kill): Fix type of first arg to __pid_t, not int.
e215c478 3050
edf66db1
SP
3051 * sysdeps/unix/Makefile (errnos): Changed regexp to disallow
3052 E[^A-Z0-9], and not to require that the defn be numeric only.
e215c478 3053
edf66db1
SP
3054 * stdlib/stdlib.h: Don't #include <huge_val.h>; ANSI doesn't say
3055 <stdlib.h> defines HUGE_VAL.
e215c478 3056
edf66db1 3057 * stdlib/stdlib.h (__compar_fn_t): Use __P around prototype.
e215c478 3058
edf66db1
SP
3059 * posix/Makefile (headers): Add utsnamelen.h, so it gets installed.
3060 (distribute): Remove it from here.
e215c478 3061
edf66db1
SP
3062 * setjmp/setjmp.h (sigjmp_buf): Rename `__savemask' to
3063 `__mask_was_saved' and `__sigmask' to `__saved_mask'.
3064 * setjmp/sigjmp_save.c (__sigjmp_save): Change use.
3065 * setjmp/siglongjmp.c (siglongjmp): Likewise.
e215c478 3066
edf66db1 3067Fri Nov 13 17:34:00 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 3068
edf66db1
SP
3069 * configure.in (config.make): Write assignments for INSTALL,
3070 INSTALL_PROGRAM, INSTALL_DATA, and RANLIB.
e215c478 3071
edf66db1 3072Thu Nov 12 17:11:18 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 3073
edf66db1 3074 * sysdeps/stub/stime.c: #include <stddef.h> for NULL.
e215c478 3075
edf66db1 3076 * sysdeps/stub/morecore.c: Fixed arg type to ptrdiff_t.
e215c478 3077
edf66db1 3078 * sysdeps/stub/ptrace.c: Fixed `va_start' uses to pass 2nd arg.
e215c478 3079
edf66db1
SP
3080 * sysdeps/unix/sysv/sysv4/fcntlbits.h: New file, modified from
3081 unix/bsd/sun/sunos4 version.
e215c478 3082
edf66db1
SP
3083 * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: New file, modified from
3084 unix/bsd version.
e215c478 3085
edf66db1
SP
3086 * sysdeps/unix/bsd/ultrix4/fcntlbits.h: New file, modified from
3087 unix/bsd version.
e215c478 3088
edf66db1
SP
3089 * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: New file, modified from
3090 unix/bsd version.
e215c478 3091
edf66db1
SP
3092 * sysdeps/unix/sysv/fcntlbits.h: Rewritten from stub version.
3093 * sysdeps/unix/sysv/filebits.h: File removed.
e215c478 3094
edf66db1
SP
3095 * sysdeps/unix/bsd/fcntlbits.h: Rewritten from stub version.
3096 * sysdeps/unix/bsd/filebits.h: File removed.
e215c478 3097
edf66db1
SP
3098 * io/fcntl.h: Don't #include <filebits.h>.
3099 Removed all #define's of foo to __foo; <fcntlbits.h> now defines
3100 the unmarked cases.
e215c478 3101
edf66db1 3102 * sysdeps/stub/fcntlbits.h: Remove leading __ from all symbols.
e215c478 3103
edf66db1
SP
3104 * misc/sys/file.h (L_SET, L_INCR, L_XTND): Define to literal
3105 values, not to __ versions. These are not system-dependent.
3106 (LOCK_SH, LOCK_EX, LOCK_UN, LOCK_NB): Define to literal values,
3107 not to __ versions. These are not actually system-dependent,
3108 because no system has `flock' except for BSD compatibility, and
3109 then they use the same numbers.
3110 * sysdeps/stub/fcntlbits.h (__L_SET, __L_INCR, __L_XTND): Removed.
3111 (__LOCK_SH, __LOCK_EX, __LOCK_UN, __LOCK_NB): Removed.
3112
3113Tue Nov 10 17:01:11 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
3114
3115 * sysdeps/stub/fcntlbits.h: Merged in contents of filebits.h.
3116 (struct __flock): Renamed to `struct flock'.
3117 * sysdeps/stub/filebits.h: File removed.
e215c478 3118
edf66db1
SP
3119 * posix/unistd.h (access, lseek, close, read, write, pipe, chown,
3120 fchown, chdir, dup, dup2, execve, pathconf, fpathconf, sysconf,
3121 getpid, getppid, setpgrp, setpgid, setsid, getuid, getgid,
3122 geteuid, getegid, setuid, setreuid, setgid, setregid, fork, vfork,
3123 isatty, link, symlink, readlink, unlink, rmdir, gethostname,
3124 getpagesize, getdtablesize): Remove #define's to __ versions.
e215c478 3125
edf66db1
SP
3126 * posix/sys/types.h: Don't #include <gnu/time.h>.
3127 Instead, use forward decl `struct timeval;'.
3128 (__select): Use `struct timeval', not `struct __timeval', in prototype.
3129 Move into #ifdef __USE_BSD.
3130 (select): Removed #define to __select; added real prototype.
e215c478 3131
edf66db1
SP
3132 * sysdeps/generic/waitstatus.h: New file.
3133 * sysdeps/stub/waitflags.h: New file.
3134 * sysdeps/unix/bsd/waitflags.h: New file.
3135 * posix/sys/wait.h: Don't #include <gnu/wait.h>.
3136 Do #include <waitflags.h> and <waitstatus.h>.
3137 (WHOHANG, WUNTRACED): Don't #define to __ versions; <waitflags.h>
3138 will define the unmarked cases.
3139 (union __wait): Remove type decl and associated #define's for w_*;
3140 `union wait' (no __) is now defined in <waitstatus.h>.
3141 [__USE_BSD && __GNUC__ >= 2] (__WAIT_STATUS): Define as funky union.
3142 (waitpid, wait3, wait4, wait): Removed #define's to __ versions;
3143 added real prototypes.
3144 * posix/gnu/wait.h: File removed.
3145 * posix/Makefile (headers): Remove gnu/wait.h.
e215c478 3146
edf66db1 3147 * posix/sys/times.h [__OPTIMIZE__] (times): Removed #define to __times.
e215c478 3148
edf66db1 3149 * posix/sys/utsname.h: Removed decl of __uname_getnode.
e215c478 3150
edf66db1
SP
3151 * time/sys/time.h: Don't #include <gnu/time.h>.
3152 Don't support __need_timeval.
3153 (struct timeval, struct timezone, struct itimerval,
3154 enum __itimer_which): Declare these types here.
3155 (gettimeofday, settimeofday, adjtime, getitimer, setitimer,
3156 utimes): Removed #define's to __ versions. Added real prototypes.
3157 Use `struct timeval' instead of `struct __timeval', etc.
3158 * time/gnu/time.h: File removed.
3159 * time/Makefile (headers): Removed gnu/time.h.
e215c478 3160
edf66db1 3161 * resource/sys/resource.h: Don't #include <gnu/time.h>.
e215c478 3162
edf66db1 3163Mon Nov 9 18:41:03 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 3164
edf66db1
SP
3165 * socket/sys/socket.h (SO_STYLE): Define instead of SO_TYPE.
3166 (SO_TYPE): Define as SO_STYLE.
e215c478 3167
edf66db1
SP
3168 * inet/netinet/in.h (struct ip_opts): New type.
3169 (IP_*): New constants snarfed from 4.4's in.h.
e215c478 3170
edf66db1 3171Fri Nov 6 15:34:41 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 3172
edf66db1
SP
3173 * resource/sys/resource.h (struct rusage): #include <sys/time.h>
3174 before struct defn. Use `struct timeval', not `struct __timeval'
3175 for `ru_utime' and `ru_stime' members.
3176
3177 * resource/sys/resource.h [__OPTIMIZE__] (getrusage, ulimit),
3178 misc/sys/ioctl.h [__OPTIMIZE__] (ioctl): Remove #define's to __
3179 versions.
3180
3181 * string/strings.h: Protect against multiple inclusion.
3182 * termios/sys/termios.h: Ditto.
3183
3184 * string/string.h [__GNUC__ && __OPTIMIZE__] (ffs): Remove #define
3185 to __builtin_ffs.
e215c478 3186
edf66db1
SP
3187 * stdlib/stdlib.h (comparison_fn_t): Use a typedef, not a #define.
3188 Define this #ifdef __USE_GNU, not #ifdef __GNUC__.
3189 [__GNUC__ && __OPTIMIZE__] (abs, labs): Remove #define's to __builtin_.
e215c478 3190
edf66db1 3191Thu Nov 5 20:01:25 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 3192
edf66db1
SP
3193 * signal/Makefile (headers): Remove gnu/signal.h;
3194 add sigaction.h, sigset.h.
3195 * sysdeps/generic/sigaction.h: New file.
3196 * sysdeps/generic/sigset.h: New file.
3197 * signal/gnu/signal.h: Removed.
3198 * signal/signal.h: Move __{BEGIN,END}_DECLS outside all the #if's
3199 (except the outermost one that protects against multiple inclusion).
3200 Don't #include <gnu/signal.h>. Instead #include <sigset.h>
3201 outside of #if's, and #include <sigaction.h> inside #ifdef __USE_POSIX.
3202 (__sighandler_t): Define here; it is not system-specific.
3203 (kill, ssignal, gsignal, sigblock, sigsetmask, sigpause, sigvec,
3204 sigreturn): Remove #define's to __ versions.
3205 (sighandler_t, sigset_t): Use a typedef, not a #define.
3206 [__OPTIMIZE__] (sig{empty,fill,add,del}set, sigismember): Make
3207 these macros take args.
3208 (sigaction): Remove #define.
3209 (struct __sigvec): Renamed `struct sigvec'.
3210 (__sigvec): Use `struct sigvec', not `struct __sigvec', in prototype.
e215c478 3211
edf66db1 3212Fri Oct 30 19:45:26 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 3213
edf66db1 3214 * configure.in (sco*): base_os=unix/sysv.
e215c478 3215
edf66db1 3216Thu Oct 29 16:29:26 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 3217
edf66db1
SP
3218 * configure.in: New file; mostly contents of old file `configure'.
3219 (srcdir guessing): Removed this code.
3220 Instead, call AC_PREPARE.
3221 Call AC_PROG_INSTALL and AC_PROG_RANLIB to find those programs.
3222 Use AC_HAVE_FUNCS to find what sys_siglist and _ctype_ are called.
3223 (config.make): Write new var `config-defines' with what autoconf
3224 put in $DEFS.
3225 Append -DHAVE_GNU_LD and -DHAVE_GNU_AS to DEFS if appropriate;
3226 don't write gnu_ld and gnu_as variables.
3227 * configure: Removed.
3228 * Makefile (distribute): Add configure.in.
3229 * Makeconfig (+defines): Include $(config-defines) before $(defines);
3230 don't include $(gnu_as) and $(gnu_ld).
e215c478 3231
edf66db1
SP
3232 * sysdeps/unix/bsd/glue-ctype.c (TABLE): Test HAVE_* for several
3233 different names and #define this.
3234 (STRINGIFY): Define macro.
3235 (main): Use TABLE instead of hardcoded name.
e215c478 3236
edf66db1 3237 * configure (sysnames): Try successively less specific base os's.
e215c478 3238
edf66db1 3239 * Makerules (ar-it): Define commands only ifdef objects.
e215c478 3240
edf66db1
SP
3241 * sysdeps/mips/setjmp.S: Jump to __setjmp_aux, not ___setjmp_aux.
3242 We are NO_UNDERSCORES.
e215c478 3243
edf66db1 3244Tue Oct 27 18:11:19 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 3245
edf66db1
SP
3246 * sysdeps/posix/pipestream.c, sysdeps/posix/system.c: Always use
3247 __vfork instead of expecting FORK to be defined.
3248 * sysdeps/unix/bsd/system.c, sysdeps/unix/bsd/pipestream.c:
3249 Removed. sysdeps/unix versions are now what we want.
e215c478 3250
edf66db1
SP
3251 * sysdeps/unix/bsd/sun/sunos3/m68k/__wait.S: Removed.
3252 * sysdeps/unix/bsd/hp/m68k/__wait.S: Moved to unix/bsd/m68k.
e215c478 3253
edf66db1
SP
3254 * sysdeps/unix/bsd/hp/m68k/{__pipe,sysdep}.S: Moved to unix/bsd/m68k.
3255 * sysdeps/unix/bsd/sun/m68k/{__pipe,sysdep}.S: Removed.
e215c478 3256
edf66db1
SP
3257 * sysdeps/unix/bsd/sun/m68k/start.c: Moved to unix/bsd/m68k.
3258 * sysdeps/unix/bsd/sony/m68k/start.c: Removed.
e215c478 3259
edf66db1 3260 * sysdeps/unix/bsd/bsd4.4/__sigstmsk.c: Correct file name in #include.
e215c478 3261
edf66db1
SP
3262 * sysdeps/unix/bsd/sun/m68k/__fork.S: Removed.
3263 * sysdeps/unix/bsd/hp/m68k/__fork.S: Removed.
3264 * sysdeps/unix/bsd/vax/__fork.S: Moved to unix/bsd.
e215c478 3265
edf66db1
SP
3266 * sysdeps/generic/__vfork.c: New file; fn alias to __fork.
3267 * sysdeps/stub/__vfork.c: Removed.
e215c478 3268
edf66db1 3269 * limits.h: Only do #include_next #ifndef _LIMITS_H_.
e215c478 3270
edf66db1
SP
3271 * malloc/mcheck.c (mcheck): Set abortfunc to either FUNC or abort;
3272 never leave it unchanged.
3273 Return 0 if mcheck_used; -1 if not.
3274 * malloc/malloc.h (mcheck): Change return type in decl.
e215c478 3275
edf66db1 3276 * Makerules (+depfiles): Don't include them if there are none.
e215c478 3277
edf66db1 3278Mon Oct 26 16:30:52 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 3279
edf66db1
SP
3280 * sysdeps/posix/fdopen.c: Use fcntl to check that FD is valid and
3281 allows the access MODE specifies.
e215c478 3282
edf66db1 3283 * sysdeps/stub/getcwd.c: #include <stddef.h>.
e215c478 3284
edf66db1 3285 * sysdeps/stub/sleep.c: #include <errno.h>.
e215c478 3286
edf66db1 3287Sun Oct 25 02:24:47 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 3288
edf66db1
SP
3289 * Makerules (+includes): Add $(+sysdep-includes) to this, leaving
3290 CPPFLAGS alone.
e215c478 3291
edf66db1 3292 * sysdeps/stub/stime.c: #include <time.h>.
e215c478 3293
edf66db1 3294Thu Oct 22 13:36:48 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 3295
edf66db1 3296 * Rules (clean): Also remove $(clean-extras).
e215c478 3297
edf66db1 3298Tue Oct 20 18:36:40 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 3299
edf66db1 3300 * configure: Write error message and lose for option with missing arg.
e215c478 3301
edf66db1
SP
3302 * stdio/__vfscanf.c: Add `a' modifier, which makes %s and %[ fill
3303 in a char ** with a malloc'd string.
3304 (STRING_ADD_CHAR, STRING_ARG): New macros to deal with this hair.
3305 (%s, %[): Use them.
e215c478 3306
edf66db1 3307 * posix/gnu/types.h [__GNUC__] (__fsid_t): Define as long long.
e215c478 3308
edf66db1 3309 * stdio/vfprintf.c: Add %m, which is %s of strerror (errno).
e215c478 3310
edf66db1 3311Mon Oct 19 14:19:36 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 3312
edf66db1
SP
3313 * socket/sys/socket.h (PF_FILE, AF_FILE): Define new macros.
3314 (PF_UNIX, AF_UNIX): Make aliases for [PA]F_FILE.
e215c478 3315
edf66db1
SP
3316 * sysdeps/ieee754/huge_val.h: #include <sys/cdefs.h>.
3317 [!__GNUC__]: Use __const, not CONST.
e215c478 3318
edf66db1 3319 * posix/wordexp.h: Fix indentation and syntax errors.
e215c478 3320
edf66db1 3321 * stdio/vasprintf.c (vasprintf): Set seen bit.
e215c478 3322
edf66db1 3323Fri Oct 16 17:18:34 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 3324
edf66db1
SP
3325 * Makefile (Mcrt1.o): Create an empty .c file and compile it,
3326 rather than creating an empty .o file.
e215c478 3327
edf66db1 3328 * sysdeps/unix/Makefile (sys/param.h): Strip / from name for mkdir.
e215c478 3329
edf66db1 3330 * sysdeps/m68k/fpu/atan2.c [! __GNUC__]: Include generic, not iee754.
e215c478 3331
edf66db1
SP
3332 * sysdeps/sparc/Makefile ({divrem}.S): Use $(M4) for m4 in cmds.
3333 * Makeconfig (M4): Define it.
e215c478 3334
edf66db1
SP
3335 * stdio/newstream.c (__newstream): Link STREAM onto __stdio_head
3336 after malloc'ing it.
e215c478 3337
edf66db1 3338 * time/emkdir.c: #define unix if not already defined.
e215c478 3339
edf66db1 3340Thu Oct 15 19:55:45 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 3341
edf66db1
SP
3342 * stdlib/wctomb.c: When passed 0, store a '\0' and return 1.
3343 * stdlib/mbtowc.c: When passed "", store a 0 and return 1.
e215c478 3344
edf66db1 3345 * sysdeps/generic/strstr.c: When NEEDLE is "", return HAYSTACK.
e215c478 3346
edf66db1 3347Thu Oct 15 19:25:46 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 3348
edf66db1
SP
3349 * malloc/malloc.h (__after_morecore_hook): Declare new var.
3350 * malloc/malloc.c (__after_morecore_hook): Define it.
3351 (align): Call it.
e215c478 3352
edf66db1 3353Mon Oct 12 15:56:07 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 3354
edf66db1 3355 * malloc/malloc.h (r_alloc, r_alloc_free, r_re_alloc): Declare.
e215c478 3356
edf66db1
SP
3357 * Makerules (native-compile, common-objdir-compile): Pass
3358 $(native-CFLAGS) to the compiler.
e215c478 3359
edf66db1
SP
3360 * Makeconfig (+gccwarn): Removed -Wstrict-prototypes and
3361 -Wpointer-arith. They were not really helping, and caused extra
3362 warnings for harmless code.
e215c478 3363
edf66db1
SP
3364 * malloc/Makefile (dist-routines): Add ralloc.
3365 (gpl2lgpl): Add ralloc.c.
e215c478 3366
edf66db1 3367 * time/zic.c: #define unix if not already defined.
e215c478 3368
edf66db1 3369 * Makerules ($(gpl2lgpl)): Make output unwritable; use mv -f.
e215c478 3370
edf66db1 3371Mon Oct 12 15:27:40 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu)
e215c478 3372
edf66db1
SP
3373 * sysdeps/unix/bsd/ultrix4/mips/__set[gu]id.S: Handle returning to
3374 the proper caller ourselves, since setre[gu]id won't be doing it.
e215c478 3375
edf66db1 3376Mon Oct 12 13:37:16 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 3377
edf66db1
SP
3378 * malloc/malloc.h: Declare memory_warnings.
3379 * malloc/Makefile (dist-routines): Add vm-limit.
3380 (distribute): Add mem-limits.h.
3381 (gpl2lgpl): Add vm-limit.c, mem-limits.h.
e215c478 3382
edf66db1
SP
3383 * gpl2lgpl.sed: Remove "This file is part of ..." lines.
3384 Changed regexp to match "foo is free software", not just "This
3385 program ...".
e215c478 3386
edf66db1 3387 * Makerules (+make-deps): Put file name before options on command line.
e215c478 3388
edf66db1
SP
3389 * Makefile (install-lib): Remove libc.a from here.
3390 * Makerules [objects] (install-lib): Append it here instead.
e215c478 3391
edf66db1 3392 * io/sys/stat.h (S_IRWXO): Fixed typo.
e215c478 3393
edf66db1 3394Sun Oct 11 16:58:36 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 3395
edf66db1
SP
3396 * posix/glob.c (__glob_{open,read,close}dir_hook): New vars.
3397 (glob_in_dir): Use them.
3398 * posix/glob.h: Declare them.
e215c478 3399
edf66db1 3400Thu Oct 8 20:03:30 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
e215c478 3401
edf66db1 3402 * configure (config.make): Write comment to edit configparms instead.
e215c478 3403
edf66db1 3404Wed Oct 7 17:15:05 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 3405
edf66db1 3406 * sysdeps/stub/__chown.c: Fixed arg types (int -> [ug]id_t).
e215c478 3407
edf66db1 3408 * sysdeps/stub/__geteuid.c: Fixed return type (int -> __uid_t).
e215c478 3409
edf66db1 3410 * sysdeps/stub/__getegid.c: Fixed return type (int -> __gid_t).
e215c478 3411
edf66db1
SP
3412 * configure: Write defns in config.make for vars config-machine,
3413 config-vendor, and config-os.
e215c478 3414
edf66db1
SP
3415 * ctype/ctype.h (__isctype, __tolower, __toupper): Cast argument
3416 and return value to `int'.
e215c478 3417
edf66db1
SP
3418 * ctype/ctype.h (__ctype_tolower, __ctype_toupper): Changed type
3419 to `short int *'.
3420 (toupper, tolower): Removed inline functions; restored macros.
3421 * ctype/ctype.c (tolower, toupper): Just call the __ macros.
3422 * ctype/ctype-info.c: Change types here too.
3423 * locale/localeinfo.h: And here.
3424 * locale/C-ctype_ct.c: Ditto.
e215c478 3425
edf66db1 3426 * crypt: New code from Michael Glad.
e215c478 3427
edf66db1
SP
3428 * Makefile (munch-init.c), sysdeps/unix/Makefile
3429 ($(sys/param.h-includes), make-errnos.c, make-ioctls.c),
3430 sysdeps/unix/bsd/Makefile (local_lim.h, ctype-glue.c),
3431 sysdeps/posix/Makefile (stdio_lim.h): Changed rules to use a
3432 shorter suffix than `-tmp', to avoid exceeding 14 char limit.
e215c478 3433
edf66db1 3434Tue Oct 6 15:13:57 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 3435
edf66db1
SP
3436 * Makefile (README, INSTALL): Moved rules here.
3437 * Make-dist: From here.
e215c478 3438
edf66db1
SP
3439 * sysdeps/unix/bsd/sun/m68k/{__pipe,__fork,sysdep}.S: Change uses
3440 of sysdeps/unix/bsd/hp9k3bsd to sysdeps/unix/bsd/hp/m68k.
e215c478 3441
edf66db1
SP
3442 * sysdeps/m68k/Makefile: Put .S rule here.
3443 * sysdeps/unix/bsd/hp/m68k/Makefile: Removed file.
e215c478 3444
edf66db1 3445Mon Oct 5 19:40:22 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 3446
edf66db1 3447 * sysdeps/generic/pow.c (pow_p): Changed code to KY jelly.
e215c478 3448
edf66db1
SP
3449 * sysdeps/unix/bsd/ultrix4/utsnamelen.h: New file.
3450 * sysdeps/unix/bsd/ultrix4/uname.S: New file.
e215c478 3451
edf66db1 3452Fri Oct 2 17:43:32 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 3453
edf66db1
SP
3454 * sysdeps/posix/mktemp.c: Don't use a static index and increment
3455 it on each call. Instead, always start at the beginning and
3456 iterate until we find a file that does not exist.
e215c478 3457
edf66db1
SP
3458 * sysdeps/unix/sysv/i386/signal.S: Use C_SYMBOL_NAME for __sigreturn.
3459 Added comment about gas bug with `lcall' insn.
e215c478 3460
edf66db1 3461 * sysdeps/unix/i386/__brk.S: Use C_SYMBOL_NAME for __curbrk and _end.
e215c478 3462
edf66db1
SP
3463 * sysdeps/unix/i386/sysdep.S: #include <sysdep.h>.
3464 Use C_SYMBOL_NAME(errno) in place of _errno.
e215c478 3465
edf66db1
SP
3466 * sysdeps/unix/sysdep.h (___errno): Removed #define to _errno.
3467 `errno' is an ANSI name; it doesn't need to be aliased.
3468 * sysdeps/unix/bsd/sun/m68k/sethostid.S,
3469 sysdeps/unix/bsd/sun/m68k/__vfork.S,
3470 sysdeps/unix/bsd/sun/sparc/sysdep.h,
3471 sysdeps/unix/bsd/sun/sparc/sethostid.S,
3472 sysdeps/unix/bsd/vax/sysdep.S,
3473 sysdeps/unix/bsd/vax/__vfork.S: Use _errno, not ___errno.
e215c478 3474
edf66db1
SP
3475 * sysdeps/unix/sysv/sysdep.h: File removed.
3476 * sysdeps/unix/sysv/i386/sysdep.h: Don't #include it.
3477 #define NO_UNDERSCORES before #include <sysdeps/unix/i386/sysdep.h>.
e215c478 3478
edf66db1
SP
3479 * sysdeps/unix/i386/sysdep.h (C_SYMBOL_NAME): Define new macro.
3480 [NO_UNDERSCORES]: #define syscall_error to __syscall_error, so we
3481 stay name space tidy.
e215c478 3482
edf66db1 3483 * sysdeps/unix/sysv/sysv4/sys_getdents.S: Added missing arg count (3).
e215c478 3484
edf66db1
SP
3485 * sysdeps/unix/sysv/i386/time.S: Fixed to not use bogus addressing
3486 mode `4(%esp,1)'; use `4(%esp)' instead. Added comments.
e215c478 3487
edf66db1 3488 * sysdeps/stub/__fchmod.c (__fchmod): Fixed arg type to mode_t.
e215c478 3489
edf66db1 3490 * sysdeps/posix/__wait3.c: #include <stddef.h> for NULL.
e215c478 3491
edf66db1
SP
3492 * sysdeps/unix/i386/__wait.S: Use asm label `null' instead of
3493 `1f', and actually define the label! Added comments.
e215c478 3494
edf66db1
SP
3495 * sysdeps/i386/memchr.c: Renamed asm label to `done'; not all
3496 assemblers support numbered labels like `1f' or `1b'.
e215c478 3497
edf66db1
SP
3498 * stdio/fseek.c (fseek): Discard char pushed back by ungetc.
3499 * stdio/ftell.c (ftell): If we have a pushed-back char, decrement
3500 the file position we return.
e215c478 3501
edf66db1 3502 * sysdeps/unix/bsd/sun/sparc/vfork.S: New file.
e215c478 3503
edf66db1 3504Wed Sep 30 18:48:38 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 3505
edf66db1
SP
3506 * limits.h (_LIBC_LIMITS_H_): Define today's name for this.
3507 RMS said it was to be `_LIBC_LIMITS_H', but that is not what
3508 gcc actually uses.
e215c478 3509
edf66db1 3510Tue Sep 29 18:17:12 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 3511
edf66db1
SP
3512 * time/Makefile (zic-cmd): Define variable.
3513 (tzcompile, zoneinfo/localtime, zoneinfo/posixrules): Use it for
3514 name of `zic' command.
e215c478 3515
edf66db1
SP
3516 * sysdeps/unix/bsd/Makefile (ctype-glue.c): Make sure the command
3517 is not an unqualified name.
e215c478 3518
edf66db1
SP
3519 * sysdeps/stub/statbuf.h (struct stat): Contain only POSIX.1
3520 members, with the POSIX.1 types.
3521 (_STATBUF_ST_BLKSIZE): #undef and comment.
3522 * sysdeps/unix/bsd/statbuf.h (_STATBUF_ST_BLKSIZE): Define it.
3523 * sysdeps/posix/stdio_init.c (__stdio_init_stream): Only try to
3524 use st_blksize #ifdef _STATBUF_ST_BLKSIZE.
e215c478 3525
edf66db1 3526 * sysdeps/unix/__getpgsz.c: #include <stddef.h> for size_t.
e215c478 3527
edf66db1 3528 * sysdeps/stub/__fchown.c: Fixed arg types ([ug]id_t, not int).
e215c478 3529
edf66db1 3530 * io/sys/stat.h: #include <gnu/types.h> for __mode_t et al.
e215c478 3531
edf66db1
SP
3532 * sysdeps/unix/__gete[ug]id.S [SYS_gete[ug]id]: Add arg count of 0.
3533 [! SYS_gete[ug]id]: Fixed arg count to be 0.
e215c478 3534
edf66db1 3535 * sysdeps/unix/__get[ug]id.S: Fixed arg count to be 0.
e215c478 3536
edf66db1 3537 * sysdeps/unix/sysv/linux/syscall.h: #if 0'd out 2nd defn of SYS_brk.
e215c478 3538
edf66db1 3539Sun Sep 27 21:56:56 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 3540
edf66db1 3541 * sysdeps/unix/Makefile (sys/param.h): Depend on $(common-objpfx)sys/.
e215c478 3542
edf66db1 3543Fri Sep 25 12:47:01 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 3544
edf66db1 3545 * Makeconfig (INSTALL_DATA): Pass -m 644.
e215c478 3546
edf66db1 3547Thu Sep 24 16:13:47 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 3548
edf66db1
SP
3549 * sysdeps/unix/sysv/linux/getpeername.S: Renamed to getpeernam.S.
3550 * sysdeps/unix/sysv/linux/getsockname.S: Renamed to getsocknam.S.
3551 * sysdeps/unix/sysv/linux/setsid.S: Renamed to __setsid.S;
3552 function renamed to __setsid.
e215c478 3553
edf66db1 3554 * Version 1.05.
e215c478 3555
edf66db1 3556 * Makefile (dist): Depend on $(distribute).
e215c478 3557
edf66db1
SP
3558 * stdio/__vfscanf.c (%c): Fixed DO_ASSIGN case loop condition to
3559 not write one char too many.
e215c478 3560
edf66db1 3561Wed Sep 23 16:32:18 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 3562
edf66db1 3563 * stdlib/qsort.c (_quicksort): Return immediately if TOTAL_ELEMS==0.
e215c478 3564
edf66db1 3565Tue Sep 22 19:10:59 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 3566
edf66db1 3567 * Makerules [! OUTPUT_OPTION && objpfx]: Define OUTPUT_OPTION.
e215c478 3568
edf66db1 3569Mon Sep 21 22:40:55 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 3570
edf66db1
SP
3571 * sysdeps/unix/bsd/mk-local_lim.c: Use MAXNAMLEN for NAME_MAX,
3572 rather than hard-wiring 255.
3573 [! MAXNAMLEN]: Define it to 255.
3574 [LINK_MAX && ! MAXLINK]: #define MAXLINK LINK_MAX.
e215c478 3575
edf66db1 3576 * sysdeps/unix/bsd/glue-ctype.c [ultrix]: #define _ctype_ _ctype__.
e215c478 3577
edf66db1 3578 * configure: Rename var `gas' to `gnu_as' and use consistently.
e215c478 3579
edf66db1 3580Fri Sep 18 16:32:16 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 3581
edf66db1
SP
3582 * sys/errno.h: New file.
3583 * Makefile (headers): Add it.
e215c478 3584
edf66db1 3585 * Makeconfig (+make-deps): Use = not define.
e215c478 3586
edf66db1
SP
3587 * time/Makefile (zones-%): Don't clobber zonenames; append to it.
3588 Depend on Makefile so we rebuild when the rule changes.
3589 Changed implicit rule from zoneinfo/%/... to zone%/... so it will
3590 actually match.
e215c478 3591
edf66db1 3592 * sysdeps/unix/Makefile (syscall.h): Filter out "#ident" lines.
e215c478 3593
edf66db1
SP
3594 * Makeconfig (+link): Use $(gnulib) instead of -lgcc.
3595 (gnulib): Define to -lgcc.
e215c478 3596
edf66db1
SP
3597 * posix/glob/Makefile.in (AR, ARFLAGS): Define.
3598 (libglob.a): Use those vars instead of hardcoding.
e215c478 3599
edf66db1 3600 * Makeconfig (ARCH) [machine]: Don't define if $(..)config.make exists.
e215c478 3601
edf66db1
SP
3602 * Makerules (compile.S): Include $(asm-CPPFLAGS).
3603 (S-CPPFLAGS): Define = $(asm-CPPFLAGS).
3604 (+make-deps): Include $(sfx-CPPFLAGS), where `sfx' is S or c.
3605 * Makeconfig (asm-CPPFLAGS): Define (empty) and comment.
e215c478 3606
edf66db1
SP
3607 * sysdeps/unix/Makefile ($(sys/param.h-includes)): Filter out
3608 decls or macros for host<->net conversion (htonl et al).
e215c478 3609
edf66db1 3610Thu Sep 17 17:33:51 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 3611
edf66db1 3612 * sysdeps/unix/sysv/statbuf.h: Define __S_*.
e215c478 3613
edf66db1
SP
3614 * misc/Makefile (headers): syslog.h -> sys/syslog.h.
3615 * misc/syslog.h: Moved to misc/sys/syslog.h.
e215c478 3616
edf66db1
SP
3617 * limits.h [__GNUC__ >= 2]: #define _LIBC_LIMITS_H before
3618 #include_next <limits.h>.
3619 Define _LIMITS_H unconditionally.
e215c478 3620
edf66db1 3621Wed Sep 16 17:43:59 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 3622
edf66db1
SP
3623 * sysdeps/unix/Makefile (syscall.h): Don't use \< in sed commands.
3624 Some seds don't seem to grok it.
e215c478 3625
edf66db1 3626 * Makerules (+install-dirs): Sort them.
e215c478 3627
edf66db1
SP
3628 * Makeconfig (stdarg.h): Use $(wildcard va-*.h) instead of va-*.h,
3629 and := instead of =.
e215c478 3630
edf66db1 3631 * Makeconfig (prefix): Default to $(exec_prefix), not /usr/local.
e215c478 3632
edf66db1
SP
3633 * Makeconfig (+link): Use $(common-objpfx) rather than $(objpfx)
3634 to find start.o; use $(libc.a) instead of $(objpfx)libc.a.
e215c478 3635
edf66db1 3636 * sysdeps/sparc/Makefile: crypt subdir is not called uf-crypt.
e215c478 3637
edf66db1
SP
3638 * sysdeps/unix/Makefile (sys/param.h-includes): Fixed filtering
3639 out of existent glibc headers to remove $(..) pfx after wildcard.
e215c478 3640
edf66db1
SP
3641 * misc/paths.h: New file, snarfed from 4.4 BSD.
3642 * misc/Makefile (headers): Add paths.h.
e215c478 3643
edf66db1 3644Tue Sep 15 14:55:11 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 3645
edf66db1 3646 * Makerules (+sysdir_pfx): Define as $(common-objpfx).
e215c478 3647
edf66db1
SP
3648 * MakeTAGS (TAGS) [subdir && ! tags_sources]: Create an empty
3649 file, rather than no commands at all.
e215c478 3650
edf66db1 3651 * string/string.h [__GNUC__ && __OPTIMIZE__] (ffs): Take arg.
e215c478 3652
edf66db1 3653 * sysdeps/unix/sysv/linux/__wait4.S: New file.
e215c478 3654
edf66db1 3655 * sysdeps/unix/sysv/linux/syscall.h: New version from hlu.
e215c478 3656
edf66db1 3657 * sysdeps/unix/Makefile (syscall.h): Upcase `sys_' in input.
e215c478 3658
edf66db1
SP
3659 * sysdeps/unix/bsd/ultrix4/mips/sysdep.h (MOVE): Insn is `move',
3660 not `movl'.
e215c478 3661
edf66db1 3662 * sysdeps/unix/bsd/ultrix4/mips/sigcontext.h: Deansideclized.
e215c478 3663
edf66db1
SP
3664 * sysdeps/unix/ioctls-tmpl.c [DIOCGETPT, DEVGETGEOM]: Include
3665 headers for these.
3666 [ultrix]: Mondo cruft.
e215c478 3667
edf66db1 3668Sat Sep 12 12:08:29 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
e215c478 3669
edf66db1
SP
3670 * misc/Makefile (routines): Add ttyslot, syslog.
3671 * misc/ttyslot.c, misc/syslog.[ch]: New, snarfed from 4.4 BSD.
3672 (headers): Add syslog.h
e215c478 3673
edf66db1
SP
3674 * misc/getttyent.c (getttyent): Parse _TTYS_TRUSTED keyword and
3675 set TTY_TRUSTED bit.
3676 * misc/ttyent.h (TTY_TRUSTED): New bit in ty_status.
3677 (_TTYS_TRUSTED): New keyword.
3678 (_TTYS_CONSOLE): New keyword.
3679 (TTY_CONSOLE): New bit in ty_status.
e215c478 3680
edf66db1
SP
3681 * dirent/scandir.c (scandir): Don't keep using V after realloc'ing
3682 it. Use the returned new ptr instead.
e215c478 3683
edf66db1 3684Thu Sep 10 18:59:23 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 3685
edf66db1 3686 * stdlib/div.c, stdlib/ldiv.c: Rewritten from Berkeley code that works.
e215c478 3687
edf66db1 3688 * Makeconfig (stdarg.h): Add va-*.h.
e215c478 3689
edf66db1 3690 * stdlib/Makefile (dont_distribute): Define: testsort.input.
e215c478 3691
edf66db1
SP
3692 * sysdeps/mach/hurd/i386/_hurd_start_sigthread.c,
3693 sysdeps/stub/_hurd_start_sigthread.c: Renamed to .../startsig.c.
3694 * sysdeps/mach/hurd/sys_errlist.awk: Renamed to .../errlist.awk.
3695 * sysdeps/mach/hurd/Makefile (sys_errlist.c): Change dep.
3696 * sysdeps/unix/bsd/make-local_lim.c: Renamed to .../mk-local_lim.c.
3697 * sysdeps/unix/bsd/Makefile (local_lim.h): Change dep.
3698 (make-local_lim): Change target and dep.
3699 * hurd/_hurd_dead_recv.c: Renamed to hurd/dead_recv.c.
3700 * hurd/setdtablesize.c: Renamed to hurd/setdtsz.c.
3701 * hurd/Makefile (routines): Change references.
3702 * stdio/tstgetline.c: Renamed to stdio/tstgetln.c.
3703 * stdio/tstgetline.input: Renamed to stdio/tstgetln.input.
3704 * stdio/Makefile (tests): Change ref.
3705 * README.template: Remove note about long file names.
e215c478 3706
edf66db1
SP
3707 * sysdeps/unix/bsd/sun/sunos4/utsnamelen.h (_UTSNAME_LENGTH):
3708 Define here, rather than #include'ing sysv/utsnamelen.h.
3709 This file gets installed.
e215c478 3710
edf66db1 3711Wed Sep 9 17:06:14 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 3712
edf66db1 3713 * Makeconfig (localtime-file): Put in $(prefix)/etc, not /etc.
e215c478 3714
edf66db1 3715 * setjmp/Makefile (routines): Remove sigsetjmp.
e215c478 3716
edf66db1
SP
3717 * sysdeps/posix/Makefile (objdir-CPPFLAGS) [! subdir]: Rewrote
3718 totally broken defn.
e215c478 3719
edf66db1
SP
3720 * sysdeps/unix/Makefile (syscall.h): Keep lines starting
3721 with #, not only those starting with #define.
3722 We want to preserve any #ifdef in the original.
e215c478 3723
edf66db1
SP
3724 * Makerules (install): Dep $(+install-dirs), not $(dir $(+install)).
3725 (+install-dirs): Define to get two levels of dirs.
e215c478 3726
edf66db1
SP
3727 * time/Makefile (tz-cc): Use = instead of define directive.
3728
3729 * sysdeps/unix/bsd/sun/sparc/start.c (_start): Give ARGC, ARGV,
3730 and ENVP `register' storage class; can then clear the FP early.
3731
3732Sat Sep 5 13:14:09 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
3733
3734 * Makerules (sysdirs): Pass sysdep_dir in child's environment.
3735
3736Fri Sep 4 15:37:23 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
3737
3738 * Makeconfig (common-objpfx): Add trailing slash.
3739 Move comment to prev line to avoid extra whitespace.
e215c478 3740\f
edf66db1
SP
3741
3742See ChangeLog.1 for earlier changes.