]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog.4
libio: Disable vtable validation for pre-2.1 interposed handles [BZ #25203]
[thirdparty/glibc.git] / ChangeLog.4
1 Mon Dec 12 01:41:07 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2
3 * Version 1.09.3.
4
5 * sysdeps/mach/hurd/alpha/trampoline.c: Use `long int' for sigcode
6 values. Use _hurdsig_catch_fault. Pass address of __sigreturn in
7 $27, SCP value in $25. In trampoline code, use those regs.
8
9 * sysdeps/mach/hurd/alpha/__sigret.c: Use asms instead of global
10 register vars to restore FP regs. Fix typo in REI invocation.
11
12 Sun Dec 11 14:10:11 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
13
14 * hurd/hurd/fd.h (hurd_register_ioctl_handler,
15 _HURD_HANDLE_IOCTLS): Third arg to handler is a void *, not a
16 __gnuc_va_list.
17
18 * stdio/memstream.c (enlarge_buffer): Always add one char into
19 NEED for the char we are writing or the NUL terminator.
20
21 * stdio/memstream.c (enlarge_buffer): If realloc fails, just set
22 error flag and preserve old buffer state.
23
24 * stdio/fwrite.c: In fill_buffer case, check for zero buffer space
25 after fflush and write one char normally.
26
27 Sat Dec 10 00:02:21 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
28
29 * sysdeps/mach/hurd/__fork.c: Use natural_t in place of int.
30
31 * sysdeps/alpha/macros.m4: Use C comments instead of ! comments.
32
33 * sysdeps/mach/hurd/mmap.c: Cast -1 to long int before casting to
34 caddr_t.
35
36 * sysdeps/mach/alpha/syscall.S: Include
37 <mach/machine/alpha_instruction.h> to define op_chmk.
38
39 * sysdeps/mach/hurd/__mknod.c: Include <string.h>.
40 * sysdeps/mach/hurd/setegid.c: Likewise.
41 * sysdeps/mach/hurd/seteuid.c: Likewise.
42 * sysdeps/mach/hurd/__setregid.c: Likewise.
43 * sysdeps/mach/hurd/__setreuid.c: Likewise.
44 * sysdeps/mach/hurd/__ioctl.c: Likewise.
45
46 * sysdeps/mach/hurd/recvfrom.c: Include <string.h>. Use
47 mach_msg_type_number_t in place of unsigned int.
48 * sysdeps/mach/hurd/recv.c: Likewise.
49 * sysdeps/mach/hurd/getsockopt.c: Likewise.
50 * sysdeps/mach/hurd/getsocknam.c: Likewise.
51 * sysdeps/mach/hurd/getpeernam.c: Likewise.
52 * sysdeps/mach/hurd/accept.c: Likewise.
53 * sysdeps/mach/hurd/__gethstnm.c: Likewise.
54
55 Fri Dec 9 00:01:21 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
56
57 * sysdeps/mach/hurd/__readlink.c: Use mach_msg_type_number_t in
58 place of unsigned int.
59 * sysdeps/mach/hurd/__fork.c: Likewise.
60
61 * sysdeps/mach/hurd/__setgid.c: Include <string.h>.
62 * sysdeps/mach/hurd/__setuid.c: Likewise.
63 * sysdeps/mach/hurd/__getgrps.c: Likewise.
64 * hurd/getuids.c: Likewise.
65 * sysdeps/mach/hurd/__getdents.c: Likewise.
66
67 * sysdeps/mach/hurd/dirstream.h (DIR): Use unsigned long int for
68 `__allocation' and `__size' members.
69
70 * sysdeps/mach/hurd/alpha/exc2signal.c: Use `long int' for sigcode
71 values.
72 * sysdeps/mach/hurd/i386/exc2signal.c: Likewise.
73
74 * mach/devstream.c (input): Use mach_msg_type_number_t for NREAD.
75
76 * sysdeps/mach/hurd/__setitmr.c (preempt_sigalrm): Use `long int'
77 for SIGCODE; take SIGERROR arg.
78
79 * sysdeps/alpha/divrem.m4: Include <sysdep.h> instead of
80 <regdef.h>. Use C comments instead of ! comments.
81
82 * sysdeps/alpha/memchr.c: Remove extra shift and OR of CHARMASK.
83 * sysdeps/alpha/strchr.c: Likewise.
84
85 * sysdeps/mach/hurd/sysd-stdio.c: Use mach_msg_type_number_t in
86 place of unsigned int.
87
88 * sysdeps/posix/tempname.c (__stdio_gen_tempname): Cast FD to long
89 int before casting to pointer.
90
91 * stdio/printf_fp.c: Include <string.h>.
92
93 * sysdeps/alpha/setjmp_aux.c: Use ENV[0].__jmpbuf[0].
94
95 * sysdeps/mach/alpha/sysdep.h (ENTRY): New macro.
96
97 * hurd/hurdioctl.c (fioctl): Pass a mach_msg_type_number_t* to
98 __io_readable.
99
100 * hurd/hurd-raise.c: Use `long int' for sigcode values.
101
102 * hurd/hurdfault.c: Use `long int' for sigcode values.
103 * hurd/hurdfault.h: Likewise.
104
105 * hurd/hurd/signal.h (struct hurd_signal_preempt): Handler takes
106 new SIGERROR arg.
107 * hurd/preempt-sig.c: Likewise.
108 * hurd/hurdsig.c (_hurd_internal_post_signal): Pass SIGERROR to
109 PREEMPT.
110
111 * hurd/hurdlookup.c: Use mach_msg_type_number_t and natural_t in
112 place of unsigned int and int.
113
114 * hurd/hurd/id.h: Use mach_msg_type_number_t in place of unsigned int.
115
116 * hurd/catch-exc.c: Use `long int' for sigcode values.
117 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
118 * hurd/preempt-sig.c: Likewise.
119
120 * configure.in (machine): Don't recognize r[34]00.
121 Convert mips64* to mips/mips64/& and mips* to mips/&.
122 * sysdeps/mips/mipsel/bytesex.h: New file.
123 * sysdeps/mips/r4000: Directory renamed to sysdeps/mips/mips64.
124
125 * sysdeps/mach/alpha/sysdep.h (START_MACHDEP): Add missing
126 backslashes.
127 (CALL_WITH_SP): Cast FN to long int.
128
129 * sysdeps/mach/alpha/thread_state.h (struct machine_thread_all_state):
130 New member `exc'.
131
132 * hurd/fd-read.c: Include <string.h>. Use mach_msg_type_number_t
133 in place of mach_msg_type_size_t.
134
135 * hurd/hurdfault.c: Use natural_t instead of int.
136
137 * hurd/hurd/signal.h: Use `long int' for sigcode values.
138 * hurd/hurdsig.c: Use mach_msg_type_number_t and natural_t in
139 place of unsigned int and int. Use `long int' for sigcode values.
140
141 * hurd/vpprintf.c (pwrite): Cast &N to mach_msg_type_number_t *.
142
143 * hurd/__fopenport.c: Include <string.h>. Use
144 mach_msg_type_number_t in place of unsigned int.
145
146 * hurd/hurdauth.c: Include <string.h>.
147 * hurd/hurdsock.c: Likewise.
148
149 * sysdeps/mach/alpha/machine-lock.h: Remove ".set noreorder" et
150 al; GCC already emits them. Fix register constraints in asms.
151 Set RTN in C, not asm.
152
153 * hurd/hurdprio.c: Use mach_msg_type_number_t in place of unsigned
154 int.
155
156 Thu Dec 8 04:00:11 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
157
158 * sysdeps/mach/hurd/alpha/__sigret.c: Remove ".set noreorder" et
159 al; GCC already emits them.
160 * sysdeps/mach/hurd/alpha/trampoline.c: Likewise.
161
162 * sysdeps/mach/thread_state.h: Use mach_msg_type_number_t and
163 natural_t in place of unsigned int and int.
164
165 * sysdeps/mach/sysdep.h (ENTRY): Don't #error if undefined.
166
167 * sysdeps/mach/syscall.h: New file.
168
169 * sysdeps/mach/Makefile: Remove debugging printout.
170
171 * sysdeps/mach/hurd/configure.in: Converted to an autoconf script
172 from sysdeps/mach/hurd/configure, to work better with autoconf
173 version 2.
174 * sysdeps/mach/configure.in: Likewise, from sysdeps/mach/configure.
175
176 * hurd/hurdmsg.c: Use mach_msg_type_number_t in place of unsigned
177 int.
178
179 * sysdeps/mach/alpha/sysdep.h: Rename variable `sp' to avoid
180 conflict with #define in <mach/alpha/asm.h>.
181
182 * sysdeps/mach/hurd/alpha/__sigret.c: Remove unused variable.
183
184 * sysdeps/mach/hurd/__ioctl.c: Pass arg to
185 __mig_dealloc_reply_port.
186
187 * configure.in: Converted to Autoconf version 2.
188 * sysdeps/generic/configure.in: Likewise.
189 * sysdeps/unix/common/configure.in: Likewise.
190 * sysdeps/unix/configure.in: New file, converted to a
191 part-autoconf script from sysdeps/unix/configure, to work better
192 with autoconf version 2.
193 * aclocal.m4: Converted to Autoconf version 2.
194 (AC_CHECK_SYMBOL): New macro.
195 * config.make.in: New file.
196 * config-name.in: New file.
197 * Makefile (distribute): Rename install.sh to install-sh.
198 Add config.make.in, config-name.in, Makefile.in.
199 (distclean-1): Remove config-name.h and config.cache.
200 * Makefile.in: New file.
201 * Makeconfig (+gnu-stabs, gnu-as): Match -DHAVE_GNU_{AS,LD}=1 too.
202
203 Wed Dec 7 14:05:12 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
204
205 * sysdeps/mach/mips/cacheflush.c: New file.
206 * sysdeps/mach/mips/Makefile: New file.
207 * sysdeps/mach/mips/Dist: New file.
208
209 * hurd/hurdmalloc.c (vm_allocate, vm_page_size): #define these to
210 __ names at top.
211
212 * posix/glob/Makefile.in (realclean): Remove config.status.
213
214 * posix/glob/Makefile.in (DEFS): New variable, set from @DEFS@.
215 (CPPFLAGS): Remove @DEFS@ from here.
216 (.c.o): Use $(DEFS).
217
218 * setjmp/siglongjmp.c: First arg is const.
219
220 Tue Dec 6 19:04:50 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
221
222 * posix/glob/Makefile.in (CPPFLAGS): Include @DEFS@.
223
224 Mon Dec 5 12:05:10 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
225
226 * posix/glob/configure.in: Add AC_PROG_CC.
227
228 * sysdeps/mach/hurd/alpha/longjmp-ts.c: Use ENV[0].__jmpbuf[0].
229 * sysdeps/mach/hurd/mips/longjmp-ts.c: Likewise.
230 * sysdeps/mach/hurd/i386/longjmp-ts.c: Likewise.
231
232 * Version 1.09.2.
233
234 * sysdeps/mach/hurd/__select.c: Don't make TO const.
235
236 Sun Dec 4 12:06:36 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
237
238 * sysdeps/unix/configure (config_vars): Add missing backslash
239 before a $.
240
241 Revamp the `setjmp' interface to be cleaner: only one type
242 `jmp_buf'/`sigjmp_buf', and only one `longjmp' function (with
243 aliases `_longjmp', `siglongjmp'). Internal setjmp interface is
244 now __sigsetjmp, which takes SAVEMASK flag and optionally saves
245 the signal mask. Add extern entry points `setjmp' and `_setjmp'
246 for BSD compatiblity; they tail-call __sigsetjmp.
247 * setjmp/setjmp.h: Include <sigset.h> for __sigset_t, not
248 <signal.h>
249 (jmp_buf): Define unconditionally with old `sigjmp_buf' defn.
250 (__sigjmp_save): Declare to return int.
251 (__setjmp): Remove declaration; this function no longer exists.
252 (__sigsetjmp): Declare it; this is the new internal function.
253 (setjmp): Define to call __sigsetjmp, second arg depending on
254 __FAVOR_BSD.
255 [__OPTIMIZE__] (longjmp): Remove #define.
256 [__USE_BSD] (_longjmp): Declare it, another name for `longjmp'.
257 [__USE_BSD] (_setjmp): Define macro to do __sigsetjmp (ENV, 0).
258 [__FAVOR_BSD]: Remove all these defns.
259 [__USE_POSIX] (sigjmp_buf): Define as another name for `jmp_buf'.
260 [__USE_POSIX] (sigsetjmp): Define to call __sigsetjmp.
261 * setjmp/sigjmp.c (__sigjmp_save): Return an int, always zero, not
262 void.
263 * setjmp/Makefile (routines): Remove _setjmp, add bsd-setjmp and
264 bsd-_setjmp.
265 * setjmp/longjmp.c: Define as a real funciton, which restores
266 signal mask and calls __longjmp.
267 * setjmp/siglongjmp.c: Make this an alias to longjmp.
268 * setjmp/_longjmp.c: Alias to longjmp, not siglongjmp.
269 * sysdeps/stub/setjmp.c: Implement __sigsetjmp instead of
270 __setjmp; call __sigjmp_save.
271 * sysdeps/sparc/setjmp.S: Likewise.
272 * sysdeps/m68k/setjmp.c: Likewise.
273 * sysdeps/i386/setjmp.c: Likewise.
274 * sysdeps/vax/setjmp.c: Likewise.
275 * sysdeps/mips/setjmp.S: Implement __sigsetjmp instead of
276 __setjmp; call __sigsetjmp_aux instead of __setjmp_aux. Pass SP
277 and FP as 3rd and 4th args, not 2nd and 3rd.
278 * sysdeps/alpha/setjmp.S: Likewise.
279 * sysdeps/mips/setjmp_aux.c: Implement __sigsetjmp_aux instead of
280 __setjmp_aux; call __sigjmp_save.
281 * sysdeps/alpha/setjmp_aux.c: Likewise.
282 * sysdeps/mips/bsd-setjmp.S, sysdeps/mips/bsd-_setjmp.S: New files.
283 * sysdeps/alpha/bsd-setjmp.S, sysdeps/alpha/bsd-_setjmp.S: New files.
284 * sysdeps/vax/bsd-setjmp.S, sysdeps/vax/bsd-_setjmp.S: New files.
285 * sysdeps/sparc/bsd-setjmp.S, sysdeps/sparc/bsd-_setjmp.S: New files.
286 * sysdeps/i386/bsd-setjmp.S, sysdeps/i386/bsd-_setjmp.S: New files.
287 * sysdeps/m68k/bsd-setjmp.S, sysdeps/m68k/bsd-_setjmp.S: New files.
288 * sysdeps/stub/bsd-setjmp.c, sysdeps/stub/bsd-_setjmp.c: New files.
289 * setjmp/_setjmp.c: File removed.
290 * sysdeps/alpha/__longjmp.c: Take arg of type __jmp_buf, not
291 jmp_buf.
292 * sysdeps/vax/__longjmp.c: Likewise.
293 * sysdeps/stub/__longjmp.c: Likewise.
294 * sysdeps/i386/__longjmp.c: Likewise.
295 * sysdeps/m68k/__longjmp.c: Likewise.
296
297 Sat Dec 3 09:00:17 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
298
299 * sysdeps/mach/hurd/alpha/__sigret.c: Set up frame for `rei' to
300 restore on user stack, aligned to an 8-word boundary and with a PS
301 value that restores user's stack alignment.
302
303 Fri Dec 2 19:31:24 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
304
305 * sysdeps/unix/readdir.c: Search one char more than D_NAMLEN(DP)
306 for the null terminator. Always set D->d_namlen, using
307 D_NAMLEN(DP) if no null is found.
308
309 * sysdeps/unix/sysv/sco3.2.4/__sigact.S: Fix typo `.global' to
310 `.globl'. Silly me, I used a vowel in a Unix program.
311
312 Mon Nov 28 16:11:39 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
313
314 * io/fts.c (ALIGN, ALIGNBYTES): New macros, defined if not already
315 defined.
316
317 Tue Nov 22 06:39:49 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
318
319 * sysdeps/unix/bsd/osf1/dirstream.h: File removed.
320
321 * sysdeps/stub/sigcontext.h (struct sigcontext): Use `__sigset_t'
322 instead of `sigset_t' for `sc_mask'.
323 * sysdeps/mach/hurd/i386/sigcontext.h: Likewise.
324 * sysdeps/mach/hurd/alpha/sigcontext.h: Likewise.
325 * sysdeps/mach/hurd/mips/sigcontext.h: Likewise.
326 * sysdeps/unix/bsd/ultrix4/mips/sigcontext.h: Likewise.
327 * sysdeps/unix/bsd/sun/m68k/sigcontext.h: Likewise.
328 * sysdeps/unix/bsd/sun/sparc/sigcontext.h: Likewise.
329
330 * hurd/hurdsig.c (_hurd_internal_post_signal: case handle): Call
331 abort_thread always, first thing after thread_suspend.
332
333 Mon Nov 21 13:18:07 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
334
335 * sysdeps/mach/hurd/__fcntl.c: Don't make this whole function a
336 critical section.
337
338 * sysdeps/generic/strpbrk.c: Don't call strchr; do it by hand for
339 efficiency.
340
341 Wed Nov 16 12:47:22 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
342
343 * sysdeps/unix/bsd/m68k/sysdep.S [__motorola__]: Swap operands in
344 cmp.l.
345
346 * hurd/msgportdemux.c (_hurd_msgport_receive): Call
347 _hurd_self_sigstate to get sigstate cached before running any
348 signal thread code.
349
350 * sysdeps/mach/hurd/__fork.c: Pass _hurd_msgport_thread to
351 __thread_get_state, not _hurd_sigthread. Don't do
352 __thread_get_state on THREAD_SELF--the kernel does not allow it.
353
354 * hurd/hurdsig.c (_hurd_internal_post_signal): In stopping orphan
355 test, take sigmask of SIGNO, don't & its value with a mask. In
356 blocked signal test, be careful not to pass SIGNO=0 to __sigismember.
357
358 Tue Nov 15 01:39:36 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
359
360 * Makerules (stub-$(subdir)): Save absolute name of
361 $(..)sysdeps/stub before cd'ing, transform gleaned file names to
362 refer to saved name.
363
364 * sysdeps/mach/hurd/socketpair.c: Include <fcntl.h>.
365
366 * time/test_time.args: Add CST as a test case.
367
368 * sysdeps/mach/hurd/socketpair.c: Rewritten (copying __pipe.c).
369
370 * sysdeps/unix/bsd/dirstream.h [__USE_BSD] (dirfd): New macro.
371
372 * posix/unistd.h: Declare fchdir.
373
374 * io/fts.c (MAXPATHLEN): Define if not defined.
375
376 * io/fts.c, io/fts.h: New files, from 4.4 BSD code by Keith Bostic.
377 * io/Makefile (routines): Add fts.
378 (headers): Add fts.h.
379
380 Mostly ported the Hurd to the DEC Alpha.
381 * sysdeps/mach/alpha/machine-sp.h: New file.
382 * sysdeps/mach/alpha/thread_state.h: New file.
383 * sysdeps/mach/alpha/sysdep.h: New file.
384 * sysdeps/mach/alpha/machine-lock.h: New file.
385 * sysdeps/mach/hurd/alpha/sigcontext.h: New file.
386 * sysdeps/mach/hurd/alpha/longjmp-ts.c: New file.
387 * sysdeps/mach/hurd/alpha/trampoline.c: New file.
388 * sysdeps/mach/hurd/alpha/exc2signal.c: New file.
389 * sysdeps/mach/hurd/alpha/__sigret.c: New file.
390
391 * sysdeps/mach/hurd/Makefile (errlist.c, errnos.h): Make the
392 output unwritable.
393 * sysdeps/alpha/Makefile (divrem rule): Make the output
394 unwritable, use mv -f.
395 * sysdeps/sparc/Makefile (divrem rule): Likewise.
396
397 * configure.in (sysnames): Put another loop on $mach inside $base
398 loop but outside $vendor loop. This should catch .../cpu/vendor.
399
400 Mon Nov 14 22:52:03 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
401
402 * sysdeps/mach/hurd/start.c: Add missing #endif.
403
404 Sun Nov 13 05:04:18 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
405
406 * sysdeps/mach/hurd/__select.c: At end of receiving loop, clear TO
407 instead of TIMEOUT.
408
409 * malloc/mcheck-init.c (turn_on_mcheck): Add gratuitous self
410 reference to silence compiler warning.
411 (_hurd_preinit_hook): Add the function to this set too.
412
413 * time/__tzset.c (__tzset): Give tz_rules coherent default when TZ
414 value is short or malformed.
415
416 * mach/devstream.c: Echo input after reading it.
417
418 * Make-dist (generated): Mutate to add .S and .s variations for .c
419 files.
420
421 Fri Nov 11 11:43:26 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu>
422
423 * sysdeps/mach/hurd/i386/__sigret.c (__sigreturn): Don't actually
424 abort here; at least let the user continue with bogus FP; that's
425 better than a random crash until it's fixed.
426
427 Thu Nov 10 04:56:28 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
428
429 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h (msync): Use __caddr_t
430 instead of caddr_t in decl.
431
432 * sysdeps/mach/start.c (START_ARGS): Define to void if undefined.
433 [START_MACHDEP]: Reference this if defined.
434 [START_MACHDEP] (_start): #define to _start0.
435 (_start): Take args START_ARGS.
436 * sysdeps/mach/hurd/start.c: Likewise.
437
438 Wed Nov 9 08:02:59 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
439
440 * hurd/Makefile (sig): Remove longjmp-ctx (it is never called).
441
442 * sysdeps/mach/hurd/__fork.c: Do thread_get_state on parent's
443 threads to modify and thread_set_state new child threads.
444
445 Mon Nov 7 00:38:45 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
446
447 * posix/glob/configure.in: Converted to Autoconf v2.
448 * posix/glob.c: Test HAVE_DIRENT_H, HAVE_SYS_DIR_H, HAVE_NDIR_H
449 instead of DIRENT, SYSDIR, NDIR.
450 * posix/glob/Makefile.in (CC): New variable, set from @CC@.
451 (CPPFLAGS): Set from @CPPFLAGS@, not @DEFS@.
452
453 * sysdeps/unix/__fork.S: Use decrement and AND instead of test and
454 branch.
455 * sysdeps/unix/sparc/__fork.S: Likewise.
456 * sysdeps/unix/sparc/__vfork.S: Likewise.
457 * sysdeps/unix/bsd/sun/m68k/__vfork.S: Likewise.
458 * sysdeps/unix/bsd/hp/m68k/__vfork.S: Likewise.
459 * sysdeps/unix/i386/__fork.S: File removed.
460
461 Sun Nov 6 19:26:28 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
462
463 * Version 1.09.
464
465 Fri Nov 4 16:52:05 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
466
467 * Version 1.08.14.
468
469 * manual/Makefile (stamp-summary): Depend on $(chapters-incl) too.
470
471 Thu Nov 3 18:33:50 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
472
473 * sysdeps/generic/sigset.h (__sigemptyset): Cast to __sigset_t.
474 (__sigfillset): Likewise. Use ~(__sigset_t)0 in place of -1.
475 (__SIGSETFN): Don't try to be clever. Test bounds of SIG with <
476 and >.
477
478 * sysdeps/mach/hurd/__fork.c: Unlock signal state earlier, just
479 after unlocking _hurd_ports locks.
480
481 * sysdeps/unix/bsd/osf1/direct.h: File removed.
482 * sysdeps/unix/bsd/direct.h (struct direct): Use `unsigned int'
483 instead of `unsigned long int' for `d_fileno' member.
484
485 * Makerules (common-mostlyclean): Remove $(tests:=.out) too.
486
487 * assert/assert-perr.c (__assert_perror_fail): Add missing comma.
488
489 * sysdeps/unix/ioctls-tmpl.c [__osf__ && __alpha__] (FIOPIPESTAT,
490 SIOCSRREQR, SIOCSRREQW, SRVC_REQUEST): #undef these.
491
492 Wed Nov 2 23:00:19 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
493
494 * sysdeps/mach/hurd/setegid.c: Pass poly and count args for
495 other_handles in correct order in call to auth_makeauth.
496 * sysdeps/mach/hurd/__setregid.c: Likewise.
497 * sysdeps/mach/hurd/__setreuid.c: Likewise.
498
499 * Makerules (compile.S): Add -DASSEMBLER.
500 * sysdeps/mach/sysdep.h [ASSEMBLER]: Don't include
501 <mach/mig_support.h> if this is defined.
502
503 Wed Nov 2 22:39:55 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu>
504
505 * sysdeps/mach/hurd/seteuid.c: Pass poly and count args for
506 other_handles in correct order in call to auth_makeauth.
507
508 Wed Nov 2 15:03:51 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
509
510 * stdio/internals.c (fillbuf): Make sure returned char doesn't get
511 sign extended.
512
513 Tue Nov 1 01:25:28 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
514
515 * sysdeps/unix/common/Implies: File removed.
516 * sysdeps/unix/bsd/Implies: Add unix/inet.
517
518 * assert/assert-perror.c: Renamed to assert-perr.c.
519 * assert/Makefile (routines): Rename assert-perror to assert-perr.
520
521 * Version 1.08.13.
522
523 * mach/Makefile (generated): Add __%.c for $(mach-shortcuts) too.
524
525 * dirent/Makefile (tests): Add tst-seekdir.
526 * dirent/tst-seekdir.c (main): New file.
527 * sysdeps/unix/bsd/seekdir.c: New file.
528 * sysdeps/unix/bsd/telldir.c: New file.
529 * sysdeps/unix/bsd/dirstream.h (DIR): New member `__pos'.
530 * sysdeps/unix/bsd/readdir.c: Update DIRP->__pos in getdirentries
531 call.
532 * sysdeps/unix/opendir.c: Use calloc in place of malloc, to zero
533 fill new DIRs.
534
535 * sysdeps/standalone/i386/force_cpu386/force_cpu386.ld: Renamed to
536 target.ld.
537 * sysdeps/standalone/i386/force_cpu386/Makefile: Install it from
538 that name (still into $(libdir)/force_cpu386.ld).
539
540 * mach/Makefile (headers, user-interfaces, server-interfaces):
541 Don't add default_pager stuff.
542
543 Mon Oct 31 07:00:40 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
544
545 * sysdeps/unix/bsd/sun/sunos4/termbits.h (TCSASOFT): Macro
546 removed.
547
548 * malloc/malloc.h: Change #ifdef __STDC__ to #if defined
549 (__STDC__) && __STDC__.
550
551 Fri Oct 28 00:09:24 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
552
553 * sysdeps/mach/sysdep.h: Include <mach/mig_support.h> for decls.
554 (FATAL_PREPARE): Pass arg to __mig_dealloc_reply_port.
555
556 * assert/Makefile (routines): Add assert-perror.
557
558 * Makerules (stubs): cd into $(objdir) and use local file names,
559 making the cmd shorter.
560
561 * sysdeps/mach/hurd/getprio.c (getonepriority): Call
562 proc_getprocinfo with proc port.
563
564 * sysdeps/mach/hurd/errnos.awk: Grok "@comment errno %d" in
565 errno.texi, instead of assigning sequentially.
566 * sysdeps/mach/hurd/errlist.awk: Likewise.
567
568 * stdio/fwrite.c: Reset BUFFER_SPACE after fflush in fill_buffer
569 case.
570
571 * sysdeps/generic/sigset.h (__SIGSETFN): When losing, punt to
572 `raise (-1)'. Old method looped.
573
574 * hurd/hurd/resource.h: Include <hurd/process.h>.
575
576 Thu Oct 27 15:00:50 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
577
578 * sysdeps/standalone/standalone.h: Fixed typo.
579
580 Wed Oct 26 00:21:16 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
581
582 * sysdeps/unix/i386/vfork.S: New file.
583
584 * sysdeps/generic/strchr.c: Increment CP properly in check for 5th
585 char of quadword hit.
586
587 * sysdeps/mach/hurd/getprio.c (getonepriority): Always set ONERR.
588
589 Tue Oct 25 03:53:26 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
590
591 * hurd/hurd/resource.h: Include <errno.h>.
592
593 * stdio/ftell.c: If STREAM->__pushed_back, calculate from
594 pushback_bufp instead of bufp.
595
596 * Makefile (format-me): New canned sequence; runs makeinfo
597 --no-headers.
598 (INSTALL): Use it.
599 (NOTES): New file rule.
600
601 * manual/intro.texi (Feature Test Macros): Node moved off to
602 creature.texi.
603 * manual/creature.texi: New file, broken out of intro.texi.
604
605 * manual/Makefile (indices): New variable; include ky.
606 (realclean): Use $(indices) to remove all index and sorted index
607 files.
608
609 * sysdeps/mach/hurd/fcntlbits.h (O_ASYNC, O_FSYNC, O_SYNC):
610 Protect with [__USE_BSD].
611
612 Mon Oct 24 00:16:59 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
613
614 * sysdeps/unix/bsd/utime.c: Initialize tv_usec fields.
615 Use __gettimeofday instead of time.
616
617 * sunrpc/pmap_rmt.c: Include <sys/param.h> before <net/if.h>.
618 Undef _POSIX_SOURCE before that.
619 * sunrpc/pm_getport.c: Likewise.
620 * sunrpc/pm_getmaps.c: Likewise.
621 * sunrpc/get_myaddr.c: Likewise.
622
623 * misc/sys/cdefs.h: Undef __P first.
624
625 * Version 1.08.12.
626
627 * sysdeps/mach/hurd/getprio.c: Rewritten.
628 * sysdeps/mach/hurd/setprio.c: New file.
629 * hurd/hurdprio.c: New file.
630 * hurd/Makefile (routines): Add hurdprio.
631 * hurd/hurd/resource.h (_hurd_priority_which_map): Declare it.
632 (NICE_TO_MACH_PRIORITY, MACH_PRIORITY_TO_NICE): New macros.
633
634 Sun Oct 23 19:39:18 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
635
636 * Makerules (sources): Fix typo in last change.
637
638 Fri Oct 21 13:15:39 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
639
640 * sysdeps/generic/termbits.h (ECHOKE): Remove gratuitous leading
641 space before #define.
642
643 * Makerules (sources): Filter out $(elided-routines).
644
645 * sysdeps/sparc/divrem.m4 (entry point): For OP=rem, set SIGN from
646 dividend only, ignoring divisor.
647 (Lgot_result): Test SIGN here for OP=rem too (as originally).
648
649 Wed Oct 19 02:40:02 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
650
651 * hurd/hurdsig.c: Use assert_perror.
652
653 * assert/assert-perror.c (__assert_perror_fail): New file.
654 * assert/assert.h (assert_perror): New macro.
655
656 * Version 1.08.11.
657
658 * hurd/hurdsig.c (abort_rpcs): Actually return a port instead of
659 boolean, as the type says.
660
661 * hurd/hurdsig.c (abort_all_rpcs): If waiting for reply from
662 interrupted RPC returns error, print debugging msg with error
663 test, don't assert.
664
665 Mon Oct 17 00:06:03 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
666
667 * stdlib/strtol.c: Deansideclized.
668 * sysdeps/generic/strcspn.c: Deansideclized.
669 * sysdeps/generic/putenv.c: Deansideclized, added portability
670 cruft.
671
672 Fri Oct 14 14:00:11 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
673
674 * sysdeps/unix/sysv/sysv4/solaris2/utsnamelen.h:
675 Moved to sysdeps/unix/sysv/sysv4.
676
677 Thu Oct 13 22:06:50 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
678
679 * sysdeps/unix/common/glue-ctype.c [HAVE__LOCP]: Move this defn to
680 first. Include sys/types.h.
681
682 * sysdeps/unix/bsd/readdir.c: Include direct.h.
683
684 * socket/sys/socket.h (__SOCKADDR_ARG): Always use non-GCC defn,
685 for now.
686 * posix/sys/wait.h (__WAIT_STATUS): Likewise.
687
688 Tue Oct 11 00:42:50 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
689
690 * Version 1.08.10.
691
692 Mon Oct 10 00:33:47 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
693
694 * malloc/malloc.h [_MALLOC_INTERNAL] (CHAR_BIT): Don't define if
695 already defined.
696
697 * stdio/__vfscanf.c: Grok %q modifier like %ll.
698
699 * mach/__msgserver.c: Increase default MAX_SIZE to two pages.
700
701 * misc/init-misc.c: Cast string constant to non-const type.
702
703 * sysdeps/i386/ffs.c: Use %1 again instead of listing TMP as an
704 input with constraint "1". This avoids a warning that TMP may be
705 used before set.
706
707 Sun Oct 9 22:41:20 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
708
709 * hurd/hurdsig.c (abort_all_rpcs): Declare SS.
710
711 Sun Oct 09 01:19:38 1994 Jim Meyering (meyering@comco.com)
712
713 * posix/fnmatch.c: Remove CONFIG_BROKETS conditional.
714
715 Fri Oct 7 15:28:07 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
716
717 * stdio/__vfscanf.c: Properly grok %a modifier.
718
719 * hurd/hurdsig.c (abort_rpcs): Return the reply port or null,
720 instead of boolean.
721 (abort_all_rpcs): Record the returns from abort_rpcs and wait for
722 a message on each reply port. Don't bother locking _hurd_siglock.
723
724 Thu Oct 6 18:57:44 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
725
726 * hurd/hurd.h (_hurd_socket_server): Take new arg DEAD; explain
727 its use in comment.
728 * hurd/hurdsock.c (_hurd_socket_server): Take new arg DEAD; if
729 nonzero, clear any old cached port and always do a fresh lookup.
730 * sysdeps/mach/hurd/socket.c: Pass new arg to _hurd_socket_server,
731 cope with dead server on socket_create.
732 * sysdeps/mach/hurd/__pipe.c: Likewise.
733
734 Mon Oct 3 02:09:43 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
735
736 * sysdeps/generic/utsnamelen.h (_UTSNAME_LENGTH): Increase to
737 1024.
738
739 Sun Oct 2 18:35:16 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
740
741 * posix/glob.h (__P): Change arg name to `protos', for congruence
742 with 4.4 BSD.
743 * posix/fnmatch.h (__P): Likewise.
744
745 Sat Oct 1 04:25:35 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
746
747 * misc/Makefile (routines): Add daemon.
748
749 Fri Sep 30 16:49:09 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
750
751 * misc/daemon.c: New file, incorporated from BSD 4.4-Lite.
752
753 * sysdeps/mach/hurd/__setsid.c: Call _hurd_setcttyid with
754 MACH_PORT_NULL after proc_setsid.
755
756 * hurd/hurdioctl.c (_hurd_setcttyid): Don't do mod_refs if port is
757 null.
758
759 Always use fds' `port' cell for the generic port.
760 For ctty fds, use the `ctty' cell for the ctty-special port.
761 * hurd/dtable.c (get_dtable_port): Use port, never ctty.
762 (fork_child_dtable): Reset D->ctty instead of D->port.
763 (ctty_new_pgrp): Likewise.
764 * sysdeps/mach/hurd/__ioctl.c: Use ctty port for RPC if set and
765 !NOCTTY.
766 * hurd/port2fd.c (_hurd_port2fd): Install normal port in D->port
767 cell, and ctty-special port in the D->ctty cell, not the reverse.
768 * hurd/hurdioctl.c (tiocsctty): Don't assume MACH_PORT_NULL is
769 zero.
770 * hurd/hurdexec.c (_hurd_exec): Always pass fds' normal port,
771 never its ctty port.
772 * hurd/fd-write.c (_hurd_fd_write): Use ctty port for RPC if set
773 and !NOCTTY.
774 * hurd/fd-read.c (_hurd_fd_read): Use ctty port for RPC if set.
775
776 Thu Sep 29 18:28:01 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
777
778 * mach/mig_syms.c (mig_put_reply_port): Add symbol alias to __
779 name.
780
781 Thu Sep 29 12:23:07 1994 Brendan Kehoe (brendan@zen.org)
782
783 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h (ENTRY): Use
784 poundfnc instead of \#function, to satisfy gcc-2.6.0 and higher.
785 (cat, poundfnc): Define macros to pull it off.
786
787 * sysdeps/unix/sysv/sysd-stdio.c: Include
788 sysdeps/generic/sysd-stdio.h,
789 not looking in sysdeps/posix.
790
791 Thu Sep 29 05:38:14 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
792
793 * sysdeps/unix/common/configure.in (ctype check): In test prog,
794 just reference $ctype; we don't care what type it is.
795
796 * sysdeps/unix/bsd/bsd4.4/direct.h: New file.
797 (HAVE_D_TYPE): Define this macro.
798 * dirent/dirent.h (struct dirent): New member `d_type'; shorten
799 `d_namlen' to a byte.
800 * sysdeps/unix/bsd/readdir.c [! HAVE_D_TYPE]: Shuffle d_namlen and
801 clear d_type.
802
803 Wed Sep 28 17:23:26 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
804
805 * posix/sys/utsname.h [__USE_SVID] (SYS_NMLN): New macro.
806
807 * dirent/scandir.c: Free storage on error from readdir.
808
809 Mon Sep 26 00:55:34 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
810
811 * Version 1.08.9.
812
813 * MakeTAGS (all-dist): Prepend the appropriate sysdep dir names.
814
815 * hurd/hurdsig.c (_hurd_internal_post_signal: sigwakeup): Create a
816 send right.
817
818 Sat Sep 24 13:44:51 1994 Jim Meyering (meyering@comco.com)
819
820 * sysdeps/generic/memcmp.c [CMP_LT_OR_GT]: New macro.
821 (memcmp): Use it in place of each of ten 5-line #ifdef blocks.
822
823 Fri Sep 23 16:55:54 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
824
825 * sysdeps/mach/hurd/sigsuspend.c: Include <hurd/msg.h>.
826
827 * sysdeps/mach/hurd/sigsuspend.c: Add missing & in __mach_msg
828 call.
829
830 Thu Sep 15 14:22:56 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
831
832 * sysdeps/standalone/i386/force_cpu386/Dist: New file.
833 * sysdeps/standalone/m68k/m68020/mvme136/Dist: New file.
834 * sysdeps/standalone/i960/Dist: New file.
835 * sysdeps/standalone/m68k/m68020/Dist: New file.
836 * sysdeps/standalone/i386/force_cpu386/force_cpu386.ld: New file.
837 * sysdeps/standalone/m68k/m68020/mvme136/mvme136.ld: New file.
838 * sysdeps/standalone/i960/i960ca.h: New file.
839 * sysdeps/standalone/m68k/m68020/m68020.h: New file.
840
841 * sysdeps/unix/common/configure.in: Use AC_COMPILE_CHECK instead
842 of AC_HAVE_FUNCS.
843
844 * sysdeps/generic/make_siglist.c (sys_siglist): Define as macro to
845 my_siglist.
846
847 * sysdeps/mach/i386/thread_state.h: Include from mach/machine, not
848 mach/i386.
849 * sysdeps/mach/hurd/i386/sigcontext.h: Likewise.
850
851 * mach/mach/mig_support.h (__mig_put_reply_port): Declare.
852 (__mig_dealloc_reply_port): Take arg.
853 * sysdeps/mach/hurd/mig-reply.c (__mig_put_reply_port): New
854 function.
855 (__mig_dealloc_reply_port): Take arg, ignore it.
856
857 Wed Sep 14 18:16:07 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
858
859 * sysdeps/mach/hurd/Makefile (libc-name): Set to crt.
860 [!subdir]: Install libc-ldscript as libc.a.
861 * sysdeps/mach/hurd/Dist: Add libc-ldscript.
862
863 Tue Sep 13 19:57:09 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
864
865 * sysdeps/mach/hurd/sync.c: Don't be synchronous: pass WAIT=0 to
866 file_syncfs.
867
868 * Makerules (libc-name): New variable.
869 (install, libc installation rule): Use $(libc-name) in place of `c'.
870
871 Sun Sep 11 23:28:20 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
872
873 * sysdeps/mach/hurd/__readlink.c: Only decrement LEN to remove the
874 null terminator when LEN is already large enough to include it.
875
876 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Add break
877 after FS_RETRY_MAGICAL case.
878
879 Fri Sep 9 04:03:59 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
880
881 * stdio/vfprintf.c: Grok q modifier like ll.
882
883 * Make-dist (sysdep-Subdir-files, subdirs): Set these early on,
884 before doing distinfo.
885 [parent] (+distinfo): Set inhibit_interface_rules=t in sub-make.
886
887 Thu Sep 8 17:18:14 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
888
889 * sysdeps/generic/morecore.c (__default_morecore) [! __STDC__]:
890 Declare arg as `int' instead of `ptrdiff_t'.
891
892 Tue Sep 6 19:06:00 1994 Roland McGrath <roland@geech.gnu.ai.mit.edu>
893
894 * posix/glob.c (prefix_array, glob): Avoid const on initialized
895 variables. Some compiler generates bad code.
896
897 Mon Sep 5 13:24:26 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
898
899 * malloc/Makefile (malloc/%: ../sysdeps/generic/%): New rule, to get
900 morecore.c.
901
902 * malloc/malloc.h (size_t, ptrdiff_t): Never define these as macros.
903 (__malloc_size_t): Define this instead.
904 Change all uses of size_t to __malloc_size_t.
905 * malloc/valloc.c: Replace all uses of size_t with __malloc_size_t.
906 * malloc/memalign.c: Likewise.
907 * malloc/mcheck.c: Likewise.
908 * malloc/mtrace.c: Likewise.
909 * malloc/malloc.c: Likewise.
910 * malloc/free.c: Likewise.
911 * malloc/realloc.c: Likewise.
912 * malloc/calloc.c: Likewise.
913
914 * MakeTAGS (TAGS): Define first so as to be default goal.
915 (sysdep_dirs): Set this by running find, if it is not already set.
916 (all-dirs): Include that value.
917 (all-dist): Filter output of cat, not args to it.
918 * Makerules (TAGS): Depend on distinfo, not distfile.
919
920 * resolv/getnetnamadr.c (getnetbyname): Arg is always const,
921 regardless of [sun].
922
923 Sun Sep 4 00:04:55 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
924
925 * Version 1.08.8.
926
927 * Makerules (distinfo-vars): Double $s in final emitted sources defn.
928
929 * inet/Makefile (headers): Add netdb.h.
930 * resolv/Makefile (headers): Remove netdb.h.
931 * resolv/netdb.h: Moved to inet.
932 * inet/netdb.h: Incorporated from BSD 4.4-Lite.
933 Add back h_errno declaration.
934
935 * hurd/Makefile (faultexc.c): Change this to a pattern rule to
936 build both faultexc.[ch].
937 (hurdfault.o): Depend on faultexc.h and faultexc.c to get them built.
938
939 * sysdeps/mach/hurd/i386/trampoline.c
940 (_hurdsig_rcv_interrupted_p): Make PC volatile.
941 (_hurd_setup_sighandler): Cast SS->context to int before comparing to
942 _hurdsig_fault_sigcode.
943
944 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_SET_{SP,PC}):
945 Cast args to unsigned long int.
946
947 * sysdeps/mach/hurd/i386/trampoline.c: Use _hurdsig_catch_fault.
948
949 * Make-dist (subdirs): Use sed to remove comments from Subdirs files.
950 * MakeTAGS (subdirs): Likewise.
951
952 * sysdeps/mach/i386/thread_state.h: Include
953 <mach/i386/thread_status.h> first thing.
954
955 * hurd/Makefile (sig): Add faultexc.
956 ($(objpfx)faultexc.c): New target.
957 (generated): Append faultexc.c.
958
959 * hurd/Makefile (sig): Add hurdfault; remove init-fault.
960 (distribute): Add hurdfault.h.
961 * hurd/hurdfault.h: New file.
962 * hurd/hurdfault.c: New file.
963 * hurd/hurdsig.c (interrupted_reply_port_location): Use
964 _hurdsig_catch_fault and _hurdsig_end_catch_fault.
965 (_hurdsig_getenv): Likewise.
966 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
967
968 * hurd/catch-exc.c: Return EPERM if TASK is not right.
969
970 * hurd/hurdsig.c (_hurd_sigthread_fault_env): Variable moved to
971 hurdfault.c.
972 (_hurdsig_fault_init): Function moved to hurdfault.c.
973
974 Sat Sep 3 12:22:53 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
975
976 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_SET_PC,
977 MACHINE_THREAD_STATE_SET_SP): New macros.
978 * mach/setup-thread.c: Use MACHINE_THREAD_STATE_SET_PC.
979 * sysdeps/mach/hurd/__fork.c: Likewise.
980
981 * string/test-ffs.c (main: try): Actually call ffs in the test.
982
983 Fri Sep 2 21:20:17 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
984
985 * sysdeps/mach/hurd/mips/__sigret.c: Restore FPU state. Code from
986 kkojima.
987
988 * sysdeps/mach/hurd/__mknod.c: Fixed copying of the translator
989 name into buffer with major and minor numbers, and setting of LEN.
990
991 * sysdeps/unix/configure (unix_syscall): In sed cmd, do = first to
992 avoid clobbering produced assignments.
993
994 Thu Sep 1 03:25:17 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
995
996 * Version 1.08.7.
997
998 * sysdeps/mach/hurd/connect.c (connect): Fix accidental renaming
999 of sun_path to sun_file_name.
1000
1001 * bare/Makefile (routines, elided-routines): Set these both to
1002 $(bare-routines).
1003 (distribute): Don't set this.
1004
1005 * Makerules (distinfo-vars): Fix cmd to echo `sources' defn.
1006
1007 * sysdeps/unix/configure: Handle dirs other than common. Check
1008 for [gs]etdomainname.
1009 * misc/Makefile (routines): Add getdomain, setdomain.
1010 * sysdeps/unix/bsd/bsd4.4/setdomain.S: New file.
1011 * sysdeps/unix/bsd/bsd4.4/getdomain.S: New file.
1012 * sysdeps/stub/setdomain.c: New file.
1013 * sysdeps/stub/getdomain.c: New file.
1014
1015 Wed Aug 31 01:15:26 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1016
1017 * hurd/hurdsig.c (_hurd_internal_post_signal: sigwakeup): Take no
1018 args; use parent SS variable. Changed all calls.
1019
1020 * hurd/hurd/signal.h (struct hurd_sigstate): Make `suspended' a
1021 port; remove `arrived'.
1022 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend): Rewritten to set
1023 SS->suspended port and wait for msg on it. Check for and deliver
1024 pending signals properly.
1025 * hurd/hurdsig.c (_hurd_internal_post_signal: sigwakeup): If
1026 SS->suspended is set, send an empty message on it and clear it.
1027
1028 * math/test-math.c (print_trig_stuff): New function, tests many
1029 math functions.
1030 (main): Call it at end.
1031
1032 * string/Makefile (tests): Added test-ffs.
1033 * string/test-ffs.c: New file.
1034
1035 Tue Aug 30 20:33:49 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1036
1037 * misc/fstab.c (error): Return void.
1038 (fstabscan): Return int.
1039
1040 * sysdeps/i386/ffs.c: Use & modifier in constraint for CNT.
1041
1042 * misc/fstab.c (EFTYPE): If not defined by errno.h, define this to
1043 EINVAL.
1044 (fstabscan): Return void.
1045
1046 Tue Aug 30 11:00:01 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu>
1047
1048 * sysdeps/mach/hurd/__access.c (__access): Use a send right,
1049 not a send-once right, in the new auth protocol.
1050 * hurd/__setauth.c (_hurd_setauth): Likewise.
1051 * hurd/hurdsig.c (reauth_proc): Likewise.
1052 * hurd/dtable.c (reauth_dtable): Likewise.
1053 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Likewise.
1054
1055 Tue Aug 30 03:59:38 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1056
1057 * socket/sys/socket.h (__SOCKADDR_ARG) [GCC>=2.6]: Use a typedef
1058 with the transparent_union attribute.
1059
1060 * sysdeps/mach/hurd/__access.c: Use new authentication protocol:
1061 for each port, create a fresh receive right and pass send-once
1062 rights in the auth calls, then destroy the port.
1063
1064 * sysdeps/mach/mips/syscall.S: New file.
1065
1066 * stdio/Makefile (mpn-headers, mpn-sysdep): Change asm.h to
1067 asm-syntax.h.
1068
1069 * misc/Makefile (headers): Added fstab.h.
1070 (routines): Added fstab.
1071 * misc/fstab.c: New file.
1072 * misc/fstab.h: New file.
1073
1074 * hurd/Makefile (routines): Changed hurdpath to hurdlookup.
1075 * hurd/hurdpath.c: Renamed to hurd/hurdlookup.c.
1076 * hurd/hurdlookup.c: Globally replace `pathtrans' with `lookup' and
1077 `path' with `file_name'.
1078 (__hurd_file_name_split): Don't bother skipping leading slashes.
1079 * hurd/hurd.h: Rename likewise in decls.
1080 * hurd/fchroot.c: Globally replace `pathtrans' with `lookup' and
1081 `path' with `file_name'.
1082 * hurd/hurdsig.c: Likewise.
1083 * hurd/hurdsock.c: Likewise.
1084 * hurd/hurdsyms.c: Likewise.
1085 * hurd/invoke-trans.c: Likewise.
1086 * sysdeps/mach/hurd/__access.c: Likewise.
1087 * sysdeps/mach/hurd/__chmod.c: Likewise.
1088 * sysdeps/mach/hurd/__chown.c: Likewise.
1089 * sysdeps/mach/hurd/__execve.c: Likewise.
1090 * sysdeps/mach/hurd/__link.c: Likewise.
1091 * sysdeps/mach/hurd/__lstat.c: Likewise.
1092 * sysdeps/mach/hurd/__mkdir.c: Likewise.
1093 * sysdeps/mach/hurd/__mknod.c: Likewise.
1094 * sysdeps/mach/hurd/__open.c: Likewise.
1095 * sysdeps/mach/hurd/__rmdir.c: Likewise.
1096 * sysdeps/mach/hurd/__readlink.c: Likewise.
1097 * sysdeps/mach/hurd/__stat.c: Likewise.
1098 * sysdeps/mach/hurd/__symlink.c: Likewise.
1099 * sysdeps/mach/hurd/__unlink.c: Likewise.
1100 * sysdeps/mach/hurd/__utimes.c: Likewise.
1101 * sysdeps/mach/hurd/bind.c: Likewise.
1102 * sysdeps/mach/hurd/chflags.c: Likewise.
1103 * sysdeps/mach/hurd/connect.c: Likewise.
1104 * sysdeps/mach/hurd/fchdir.c: Likewise.
1105 * sysdeps/mach/hurd/opendir.c: Likewise.
1106 * sysdeps/mach/hurd/sysd-stdio.c: Likewise.
1107 * sysdeps/mach/hurd/truncate.c: Likewise.
1108 * sysdeps/mach/hurd/rename.c: Likewise.
1109 * sysdeps/mach/hurd/getcwd.c: Likewise.
1110 * sysdeps/mach/hurd/chroot.c: Likewise.
1111 * sysdeps/mach/hurd/__chdir.c: Likewise.
1112
1113 * hurd/__setauth.c (_hurd_setauth): Use new authentication
1114 protocol: for each port, create a fresh receive right and pass
1115 send-once rights in the auth calls, then destroy the port.
1116 * hurd/hurdsig.c (reauth_proc): Likewise.
1117 * hurd/dtable.c (reauth_dtable): Likewise.
1118
1119 * hurd/hurdpath.c (__hurd_path_lookup_retry): Don't handle
1120 FS_RETRY_NONE (it's gone). Use new authentication protocol:
1121 create a fresh receive right and pass send-once rights in the auth
1122 calls, then destroy the port.
1123
1124 Mon Aug 29 13:17:39 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu>
1125
1126 * sysdeps/mach/hurd/__symlink.c (__symlink): Use new
1127 file_set_translator protocol.
1128 * sysdeps/mach/hurd/bind.c (bind): Likewise.
1129 * sysdeps/mach/hurd/__mknod.c (__mknod): Likewise.
1130
1131 * sysdeps/mach/hurd/__pipe.c (__pipe): Use PF_LOCAL instead
1132 of AF_FILE.
1133
1134 Fri Aug 26 01:21:09 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1135
1136 * Makefile ($(objpfx)sysd-dirs): Use sed to remove # comments from
1137 Subdirs files.
1138
1139 Support for miscellaneous standalone boards (no OS), contributed
1140 by Joel Sherrill (jsherril@redstone-emh2.army.mil), On-Line
1141 Applications Research Corporation.
1142 * sysdeps/standalone: New directory.
1143 * sysdeps/standalone/standalone.h: New file.
1144 * sysdeps/standalone/stdio_lim.h: New file.
1145 * sysdeps/stub/strtsupp.c: New file.
1146 * sysdeps/standalone/filedesc.h: New file.
1147 * sysdeps/posix/{setenv,putenv}.c: Moved to sysdeps/generic.
1148 * sysdeps/unix/getenv.c: Moved to sysdeps/generic.
1149 * sysdeps/unix/morecore.c: Moved to sysdeps/generic.
1150 * sysdeps/posix/sysd-stdio.c: Moved to sysdeps/generic.
1151 * sysdeps/stub/errnos.h: Add ENFILE and EMFILE.
1152 * sysdeps/stub/errlist.c (_sys_errlist): Likewise.
1153 * sysdeps/stub/console.c: New file.
1154 * sysdeps/standalone/__open.c: New file.
1155 * sysdeps/standalone/__read.c: New file.
1156 * sysdeps/standalone/__write.c: New file.
1157 * sysdeps/standalone/__close.c: New file.
1158 * sysdeps/stub/brdinit.c: New file.
1159 * sysdeps/unix/__sbrk.c: Moved to sysdeps/generic.
1160 * sysdeps/standalone/__brk.c: New file.
1161 * sysdeps/standalone/Subdirs: New file
1162 * bare/Makefile: New file (and new directory).
1163 * sysdeps/i960/ffs.c: New file.
1164 * sysdeps/i960/Implies: New file.
1165 * configure.in (os=none): base_os=standalone
1166
1167 Thu Aug 25 23:56:32 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1168
1169 * sysdeps/stub/__sigret.c: Arg is not const.
1170 * signal/sigret.c: Likewise.
1171
1172 Tue Aug 23 14:43:19 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1173
1174 * socket/sys/socket.h (PF_FILE, AF_FILE): Removed (use LOCAL instead).
1175 (PF_XTP, PF_COIP, PF_CNT, PF_RTIP, PF_IPX, PF_SIP, PF_PIP): New
1176 macros.
1177 (PF_MAX): Increased to 26.
1178 (pseudo_AF_XTP, AF_COIP, AF_CNT, pseudo_AF_RTIP, AF_IPX, AF_SIP,
1179 pseudo_AF_PIP): New macros.
1180 (MSG_EOR, MSG_TRUNC, MSG_CTRUNC, MSG_WAITALL, MSG_DONTWAIT,
1181 SO_REUSEPORT): New enum constants.
1182
1183 * hurd/hurdsig.c (_hurd_internal_post_signal): If not preempted,
1184 set ACT before checking for SIGCONT. When continuing and
1185 ACT==handle, don't resume SS->thread; record that it is suspended
1186 and in handler-setup code, don't suspend it again.
1187
1188 * sysdeps/mach/hurd/sys/param.h: Include <errno.h> (BSD does).
1189
1190 * sysdeps/mach/hurd/__fork.c: When unchaining old sigstates, check
1191 for SS being head of chain.
1192
1193 Mon Aug 22 00:29:02 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1194
1195 * time/{asia,australasia,europe,northamerica}: New data from ADO.
1196
1197 * hurd/hurdsig.c (abort_rpcs): After destroying MSGING_PORT,
1198 change the return value register in STATE to EINTR.
1199 * sysdeps/mach/mips/thread_state.h (SYSRETURN): New macro.
1200 * sysdeps/mach/i386/thread_state.h (SYSRETURN): New macro.
1201
1202 * hurd/hurdsig.c (default_sigaction): New function.
1203 (_hurd_thread_sigstate): Use it to initialize SS->actions.
1204 Initialize rest of new sigstate by hand, don't just bzero it.
1205
1206 * hurd/hurdsig.c (_hurd_internal_post_signal): Initialize
1207 THREAD_STATE.set to zero.
1208
1209 * posix/execl.c: Use ARG instead of PATH in va_start.
1210
1211 * sysdeps/mach/hurd/__fork.c: In child fork, unchain stale
1212 structures from _hurd_sigstates first, and only free them after
1213 other processing is complete.
1214
1215 * hurd/hurdpath.c (__hurd_path_lookup_retry): For malformed number
1216 in magic "fd/N", return ENOENT instead of treating it as bogus
1217 magic.
1218
1219 * sysdeps/mach/hurd/__chdir.c: After __path_lookup on arg, use
1220 __hurd_path_lookup of empty file name on resultant port to check
1221 that it's a directory.
1222 * sysdeps/mach/hurd/chroot.c: Likewise.
1223 * sysdeps/mach/hurd/fchdir.c: Use __hurd_path_lookup of empty file
1224 name on FD port to check that it's a directory and acquire a
1225 reference at the same time.
1226 * hurd/fchroot.c: Likewise.
1227
1228 * hurd/hurdpid.c (init_pids): Add gratuitous self reference to
1229 silence compiler.
1230
1231 * hurd/hurdpath.c: Include <hurd/term.h> for cttyid opening rpc.
1232 (__hurd_path_lookup_retry): Fixed typo.
1233
1234 * sysdeps/mach/hurd/i386/__sigret.c: Push state onto the user's
1235 stack, switch to it, pop and return.
1236
1237 Major rewrite of Hurd signal delivery.
1238 * hurd/hurd/signal.h (struct hurd_sigstate): New member `context'.
1239 * sysdeps/mach/hurd/i386/trampoline.c: Include "thread_state.h"
1240 instead of <mach/thread_status.h>.
1241 (struct mach_msg_trap_args): New type.
1242 (trampoline): Function removed.
1243 (_hurd_setup_sighandler): Take struct hurd_sigstate * arg instead
1244 of FLAGS and SIGALTSTACK args; take new flag arg RPC_WAIT; use
1245 struct machine_thread_all_state * for STATE arg. New declared
1246 labels `trampoline', `rpc_wait_trampoline' mark asm code at end of
1247 function (after return). Add another struct sigcontext * to
1248 STACKFRAME after the first one, for the arg to __sigreturn. If
1249 SS->context is set, fill registers in SCP from that instead of
1250 STATE, and reset SS->INTR_PORT from it. Use memcpy to copy from
1251 STATE into SCP; the structures are congruent. If RPC_WAIT is set,
1252 set up to use rpc_wait_trampoline and frob args to mach_msg_trap
1253 syscall in progress so that it will retry the receive operation
1254 (but not resend!).
1255 {rpc_wait_trampoline, trampoline}: New trampoline code.
1256 (_hurd_rcv_interrupted_p): New function.
1257 * sysdeps/mach/hurd/mips/trampoline.c: Likewise.
1258 * hurd/hurdsig.c (write_corefile): Take new arg SIGERROR. Use
1259 _hurdsig_getenv instead of getenv. Use dir_mkfile to create an
1260 unlinked node for the core file; then use dir_link to name it,
1261 only if core_dump_task succeeded.
1262 (post_reply): New function.
1263 (abort_thread): New function.
1264 (interrupted_reply_port_location): New function.
1265 (interrupted_reply_port): Function removed (replaced by above).
1266 (abort_all_rpcs): Take struct machine_thread_all_state * for STATE.
1267 (abort_rpcs): Likewise.
1268 Return int, nonzero iff interrupt_operation RPC was done. Take
1269 args for reply port and its port type; call abort_thread instead
1270 of doing thread_abort and thread_get_state. Call
1271 _hurdsig_rcv_interrupted_p instead of _hurd_thread_state_msging_p.
1272 Use __interrupt_operation mig stub instead of manual packing. If
1273 we destroy the msging port, and it is the thread's mig reply port,
1274 clear its reply port slot. Fix inverted SA_RESTART test.
1275 (_hurd_internal_post_signal): Take new arg SIGERROR.
1276 Remove `cont' from ACT enum; SIGCONT processing is independent of
1277 handling. Removed local function `check_pending'; add `reply'.
1278 Use mask macro STOPSIGS instead of alternation to check for stop
1279 signals. Process SIGCONT and do continuation before examining the
1280 handler. Use SS->pending_data instead of SS->sigcodes. When
1281 dying, don't lock _hurd_siglock around __proc_dostop call. When
1282 dying, reply immediately after stopping user threads. When
1283 handling, notice return from abort_rpcs and pass it to
1284 _hurd_setup_sighandler; also pass SS instead of its components.
1285 Set SCP->sc_error from SIGERROR; clear SS->intr_port after saving
1286 it in SCP->sc_intr_port. For pending checks, use macro PENDING
1287 and goto pending if returns true.
1288 (_S_sig_post): Eliminate unnecessary variable WIN; pass SIGERROR
1289 value of zero to _hurd_internal_post_signal.
1290 (_hurdsig_getenv): New function.
1291 * sysdeps/mach/hurd/i386/__sigret.c (sp): New global register
1292 variable.
1293 (__sigreturn): Arg is not const.
1294 After restoring SCP->sc_mask, check for pending signals (newly
1295 unblocked); if any, set SS->context to SCP, clear SS->intr_port,
1296 and send sig_post to the signal thread to deliver the pending
1297 signals. Point SP directly at &SCP->sc_gs and used popa;iret to
1298 restore. (This does not actually work; iret is unhelpful.)
1299 * sysdeps/mach/hurd/mips/__sigret.c (__sigreturn): Arg is not
1300 const. After restoring SCP->sc_mask, check for pending signals
1301 (newly unblocked); if any, set SS->context to SCP, clear
1302 SS->intr_port, and send sig_post to the signal thread to deliver
1303 the pending signals. Don't write $1 value into the user stack.
1304 Instead, write it into the word just past SCP->sc_pc; then point
1305 $1 at SCP->sc_pc and use `op_sigreturn' pseudo-instruction to
1306 restore the PC and $1 from that.
1307
1308 Fri Aug 19 15:39:54 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1309
1310 * configure.in (machine): Grok i586 -> i386/i586.
1311 * sysdeps/i386/pentium: Directory renamed to sysdeps/i386/i586.
1312
1313 * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync):
1314 New variables.
1315 * hurd/hurdpid.c (_S_proc_newids): Last thing, increment
1316 _hurd_pids_changed_stamp and broadcast on _hurd_pids_changed_sync.
1317 * sysdeps/mach/hurd/__setpgrp.c: After proc_setpgrp succeeds and
1318 PID is ourself, wait on _hurd_pids_changed_sync until
1319 _hurd_pids_changed_stamp increases from the value before the RPC.
1320 * sysdeps/mach/hurd/__setsid.c: After proc_setsid succeeds, wait
1321 on _hurd_pids_changed_sync until _hurd_pids_changed_stamp
1322 increases from the value before the RPC.
1323
1324 * posix/sys/wait.h [GCC>=2.6] (__WAIT_STATUS): Define this with
1325 typedef as a union with the new (GCC 2.6.1) `transparent_union'
1326 attribute.
1327
1328 * stdio/printf_fp.c (MPNSIZE): New macro, computed from DBL_MAX_EXP.
1329 (MPN_VAR): Use that for size of bignums.
1330
1331 * sysdeps/mach/hurd/__kill.c: For pgrp, ignore ESRCH error from
1332 kill_pid of individual pids, unless from all of them.
1333 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
1334
1335 Fri Aug 19 00:54:50 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1336
1337 * configure.in (INSTALL): Quote this shell goop from m4.
1338
1339 * sysdeps/stub/start.c (errno, __environ): Define these variables.
1340
1341 * sysdeps/stub/errnos.h (ENOMEM, EACCES): New macros.
1342 * sysdeps/stub/errlist.c (_sys_errlist): Add strings for all
1343 macros defined in stub/errnos.h.
1344 (_sys_nerr): Use value computed from sizeof (_sys_errlist).
1345
1346 Wed Aug 17 15:32:39 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1347
1348 * hurd/hurdmsg.c (_S_io_select_done): Take poly arg for notify
1349 port arg.
1350
1351 * mach/mach_init.h (vm_page_size): Remove macro defn.
1352
1353 * hurd/Makefile (distribute): Added STATUS.
1354
1355 * sysdeps/mach/thread_state.h: Include <string.h> and
1356 <mach/mach_interface.h>.
1357
1358 * sysdeps/mach/hurd/__select.c: Pass port-type arg to io_select.
1359
1360 * sysdeps/mach/hurd/__fork.c: Include "hurdmalloc.h", so we use
1361 the right `free'.
1362
1363 * sysdeps/mach/hurd/__select.c (SELECT_DONE_MSGID): Correct value
1364 to 23020.
1365 (__select): Don't set PORT until just before sending io_select calls.
1366 Pass proper send-size for io_select_done reply message. Clear the
1367 reply port slot in io_select_done reply message header.
1368
1369 * sysdeps/mach/hurd/__kill.c: Rename parameter to ARG_SIG, make
1370 SIG a local variable initialized to that (this to work around a
1371 GCC bug).
1372 Initialize PIDS and NPIDS properly for proc_getpgrppids call.
1373
1374 * signal/signal.h (__sigreturn, sigreturn): Arg is not const.
1375
1376 * hurd/hurdpath.c (__hurd_path_lookup_retry): For REAUTH or NORMAL
1377 with empty retryname, treat like NONE (which is now obsolete)
1378 after reauthentication. For magic "tty", use new
1379 termctty_open_terminal RPC on cttyid port.
1380
1381 Tue Aug 16 01:58:21 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1382
1383 * sysdeps/mach/hurd/__kill.c (kill_pid): Make non-inline. Treat
1384 null msgport like EPERM return from sig_post.
1385 * hurd/hurdkill.c (_hurd_sig_post): Treat null msgport like EPERM.
1386
1387 * sysdeps/mach/thread_state.h (machine_get_state,
1388 machine_get_basic_state): Initialize count arg before calling
1389 thread_get_state.
1390
1391 * hurd/hurdpath.c (__hurd_path_lookup_retry): Initialize ERR to zero.
1392
1393 * hurd/hurdpath.c (__hurd_path_lookup_retry): Grok magic "tty".
1394
1395 * hurd/hurd/signal.h (struct hurd_sigstate): Replace `sigcodes' with
1396 `pending_data'.
1397 (_hurd_raise_signal, _hurd_setup_sighandler): Update prototypes.
1398 (_hurd_thread_state_msging_p): Don't declare.
1399 (_hurdsig_rcv_interrupted_p): Declare this instead.
1400 (HURD_EINTR_RPC): Invert sense of restart test.
1401
1402 * hurd/hurdrlimit.c (_hurd_rlimits): Add braces to initializer.
1403
1404 * hurd/catch-exc.c: Unlock _hurd_siglock when done with it. Use
1405 __spin_lock_locked on `held' member instead of __mutex_lock_locked.
1406
1407 * sysdeps/mach/thread_state.h: New file.
1408 * sysdeps/mach/i386/thread_state.h: Don't #include
1409 <mach/thread_status.h>. Add #include_next <thread_state.h> at end.
1410 * sysdeps/mach/mips/thread_state.h: Likewise.
1411
1412 * sysdeps/mach/hurd/i386/sigcontext.h (struct sigcontext): Lay out
1413 corresponding to i386_thread_state and i386_float_state.
1414 * sysdeps/mach/hurd/mips/sigcontext.h (sc_mips_thread_state,
1415 sc_mips_exc_state, sc_mips_float_state): New macros, marking
1416 members that correspond to thread_state.h structs.
1417
1418 Mon Aug 15 17:21:20 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1419
1420 * Rules [cross-compiling=yes] (tests): Depend on the binaries, not
1421 the output files.
1422
1423 * Makerules: Replace uses of HOST_CC with BUILD_CC and
1424 native-CFLAGS with BUILD_CFLAGS.
1425
1426 * sysdeps/unix/Makefile (mk-local_lim, make-ioctls): Replace uses
1427 of CC with BUILD_CC and native-CFLAGS with BUILD_CFLAGS.
1428 * sysdeps/unix/sysv/sysv4/solaris2/Makefile: Replace uses of
1429 HOST_CC with BUILD_CC and native-CFLAGS with BUILD_CFLAGS.
1430 * sysdeps/posix/Makefile: Likewise.
1431
1432 * Makeconfig (+cc_version): Variable and associated code removed.
1433 (HOST_CC): Use BUILD_CC instead; all uses changed.
1434 (cross-compiling): Set to no if not the case.
1435
1436 * sysdeps/m68k/fpu/__math.h: Replace all uses of __const with
1437 __CONSTVALUE.
1438
1439 * Makerules (distinfo-vars): Remove $@.new first thing. Write
1440 elided-routines instead of sysdep_routines. After writing
1441 variables, append to sources from $(elided-routines).
1442 * sysdeps/vax/Makefile (elided-routines): New variable (append to
1443 it).
1444 (aux, routines): Don't set these.
1445 (sysdep_routines): Append things here instead.
1446 * sysdeps/generic/Makefile (elided-routines): New variable (append
1447 to it).
1448 (aux): Don't set this.
1449 * sysdeps/generic/Makefile (routines): Don't set this.
1450 (sysdep_routines): Append exp__E and log__L here instead.
1451
1452 * time/test_time.c (main): Set TBUF.tm_isdst to -1 before calling
1453 mktime.
1454
1455 * stdlib/stdlib.h (atof, atoi, atol, random, srandom, setstate,
1456 initstate, mblen): Never define as macros.
1457 [__OPTIMZE__ && __GNUC__ >= 2]: Define those functions as extern
1458 inlines.
1459
1460 * hurd/hurdpath.c (__hurd_path_lookup_retry): For magic "fd/%u",
1461 lose on random chars after number; for / after number, retry
1462 remainder properly.
1463
1464 * hurd/hurdpath.c (pathtrans_error): New function; filters errors
1465 from dir_pathtrans: EOPNOTSUPP and MIG_BAD_ID become ENOTDIR.
1466 (__hurd_path_lookup, __hurd_path_lookup_retry): Call it.
1467
1468 Thu Aug 11 11:59:33 1994 Noel Cragg (noel@churchy.gnu.ai.mit.edu)
1469
1470 * time/mktime.c (_mktime_internal): Add code to normalize value of
1471 TM_ISDST to -1, 0, or 1 so code doesn't loop forever.
1472
1473 Thu Aug 11 02:26:37 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1474
1475 * resolv/Makefile (subdir): Set to resolv, not res.
1476
1477 * sysdeps/mach/hurd/sysd-stdio.c (fd_fail): Pass ERR to
1478 _hurd_raise_signal.
1479
1480 * sysdeps/mach/i386/thread_state.h (struct machine_thread_all_state):
1481 Add new member `fpu'.
1482
1483 Wed Aug 10 23:39:49 1994 Karl Heuer <kwzh@hal.gnu.ai.mit.edu>
1484
1485 * malloc/mcheck.c (mcheck): Remove obsolete extern declaration.
1486
1487 * malloc/mcheck.c (flood): Add an arg.
1488 (freehook, mallochook, reallochook): Use different flood bytes to
1489 distinguish freed space from uninitialized allocated space.
1490
1491 * malloc/mtrace.c (mtrace): Guard against being called twice.
1492 (muntrace): New function, to turn off tracing.
1493 * malloc/malloc.h: Declare it.
1494
1495 Wed Aug 10 02:47:24 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1496
1497 * sysdeps/mach/hurd/mips/sigcontext.h (struct sigcontext): Renamed
1498 member `sc_err' to `sc_error'.
1499
1500 * hurd/hurd-raise.c: Take new arg SIGERROR. Set
1501 SS->pending_data[SIGNO] from SIGCODE and SIGERROR instead of
1502 setting SS->sigcodes[SIGNO].
1503
1504 * Makeconfig (+includes): Use text manipulation to avoid
1505 conditional for $(..). Append $(last-includes).
1506 * sysdeps/mach/hurd/Makefile (last-includes): Append
1507 -I.../libthreads to this.
1508 (includes): Not to this.
1509
1510 * hurd/hurd/fd.h (_hurd_fd_error): Pass ERR to _hurd_raise_signal.
1511
1512 * stdlib/stdlib.h [__OPTIMIZE__] (cfree, rand, srand, random,
1513 srandom, initstate, setstate): Macros removed.
1514
1515 * malloc/mcheck.c (reallochook): Fixed typo.
1516 (mabort) [! __GNU_LIBRARY__]: Use fprintf and abort instead of
1517 __libc_fatal.
1518
1519 * hurd/Makefile (sig): Remove msging-p; that function will go in
1520 trampoline.c.
1521 * sysdeps/stub/msging-p.c: File removed.
1522 * sysdeps/mach/hurd/mips/msging-p.c: File removed.
1523 * sysdeps/mach/hurd/i386/msging-p.c: File removed.
1524
1525 Tue Aug 9 19:20:29 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1526
1527 * hurd/catch-exc.c: Get error code from _hurd_exception2signal and
1528 pass it to _hurd_internal_post_signal. Search for SS manually
1529 rather than using _hurd_thread_sigstate, to avoid locks.
1530
1531 * sysdeps/mach/hurd/mips/msging-p.c: Fetch port argument from
1532 register $8 (t0) instead of stack. Change type of STATE arg to
1533 `struct machine_thread_all_state *'.
1534
1535 * inet/inet_netof.c: Incorporated from BSD 4.4-Lite.
1536 * inet/inet_net.c: Incorporated from BSD 4.4-Lite.
1537
1538 Tue Aug 9 18:28:40 1994 Karl Heuer <kwzh@hal.gnu.ai.mit.edu>
1539
1540 * malloc/mtrace.c (tr_mallochook, tr_reallochook): Don't assume
1541 %lx format matches size_t arg.
1542 * malloc/mtrace.c: Enable file- and line-number tracing.
1543 * malloc/mtrace.awk: Postprocess that trace information.
1544
1545 * malloc/mcheck.c (flood): New function.
1546 (freehook, mallochook, reallochook): Initialize new space and
1547 freed space to non-zero garbage, to help find code that makes
1548 unwarranted assumptions.
1549
1550 Mon Aug 8 01:20:56 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1551
1552 * sysdeps/mach/hurd/mips/exc2signal.c (_hurd_exception2signal): Take
1553 new arg `int *error'; set it.
1554 * sysdeps/mach/hurd/i386/exc2signal.c: Likewise.
1555 * sysdeps/stub/exc2signal.c: Likewise.
1556 * hurd/hurd/signal.h (_hurd_exception2signal): Take new arg
1557 `int *error'.
1558 (_hurd_internal_post_signal): Take new arg `int error'.
1559
1560 * res: Directory renamed to resolv.
1561 * sysdeps/unix/inet/Subdirs: Change res to resolv.
1562
1563 * Version 1.08.6.
1564
1565 * sysdeps/sparc/divrem.m4 (DEVELOP_QUOTIENT_BITS): Use ** instead of
1566 ^ for exponentiation. Pinard says it is more portable.
1567
1568 * sysdeps/mach/hurd/mips/sigcontext.h (struct sigcontext): Added
1569 member `sc_err'.
1570 * sysdeps/mach/hurd/i386/sigcontext.h (struct sigcontext): Move
1571 sc_err to front machine-independent section; change its comment.
1572
1573 * sysdeps/stub/thread_state.h (struct machine_thread_all_state): New
1574 type.
1575 * sysdeps/mach/i386/thread_state.h: Likewise.
1576 * sysdeps/mach/mips/thread_state.h: Likewise.
1577
1578 * sysdeps/mach/i386/Implies: File removed; it was superfluous.
1579
1580 * sysdeps/sparc/divrem.m4 (Lgot_result): Add more quotes in ifelse.
1581
1582 * configure.in (fpu_dirs): Fixed typo.
1583
1584 Sun Aug 7 01:13:04 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1585
1586 * inet/inet_lnaof.c: Incorporated from BSD 4.4-Lite.
1587 * inet/inet_mkadr.c: Incorporated from BSD 4.4-Lite.
1588 * inet/inet_addr.c: Incorporated from BSD 4.4-Lite.
1589 * res/Makefile (headers): Use only arpa/nameser.h, not arpa/*.h.
1590 * res/arpa/inet.h: Moved to inet/arpa/inet.h.
1591 * inet/arpa/inet.h: Incorporated from BSD 4.4-Lite.
1592
1593 * misc/init-misc.c: New file.
1594 * misc/Makefile (aux): Added init-misc.
1595
1596 * Makeconfig (localtime-file): Use $(sysconfdir) instead of
1597 $(etcdir).
1598
1599 * Makerules (install-bin-nosubdir): Use $(install-bin) instead of
1600 $(install).
1601 (install-sbin-nosubdir): New target.
1602 (install-no-libc.a-nosubdir): Depend on that.
1603
1604 * configure.in ($nfp check): Iterate through $mach and use all
1605 fpu/ dirs that exist.
1606
1607 Wed Aug 3 02:46:03 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1608
1609 * sysdeps/mach/hurd/mips/sigcontext.h: Rearranged structure so
1610 machine-dependent portion is laid out like `struct mips_thread_state;
1611 struct mips_exc_state; struct mips_float_state;'.
1612
1613 * Version 1.08.5.
1614
1615 * sysdeps/mach/hurd/mips/__sigret.c: Compare *reply_port to
1616 MACH_PORT_NULL, not implicit zero.
1617 (restore_gpr): Use N-1 as subscript into sc_gpr (sc_gpr[0] => $1).
1618 Before general regs, restore from sc_mdlo and sc_mdhi. Don't
1619 treat sp, fp specially; use restore_gpr for them too. For final
1620 return, store user $1 value beyond top of user stack ahead of
1621 time; then use $1 to hold the user PC, and restore it from the
1622 stack in the delay slot.
1623
1624 Tue Aug 2 21:03:51 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1625
1626 * sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler):
1627 Copy TS to SCP all at once.
1628 * sysdeps/mach/hurd/mips/sigcontext.h (struct sigcontext): sc_gpr
1629 has 31 elts; sc_gpr, sc_pc, sc_mdlo, sc_mdhi are arranged in that
1630 order to mimic struct mips_thread_state.
1631
1632 * Make-dist (all-headers): Instead of removing rpcsvc/%, use
1633 $(wildcard) to remove all headers that don't exist at top level,
1634 but preserve top-level $(headers).
1635
1636 * Make-dist (sysdep_dirs): Avoid directories called RCS.
1637 (%/configure): Pass -f to mv.
1638
1639 * sysdeps/mips/setjmp.S [__sgi__]: Use `fp' instead of `$fp'.
1640
1641 Mon Aug 1 20:12:23 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1642
1643 * sysdeps/mach/hurd/mips/sigcontext.h (struct sigcontext): Add
1644 members sc_mdlo, sc_mdhi.
1645 * sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler):
1646 Save mdlo and mdhi.
1647
1648 Sun Jul 31 14:21:16 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1649
1650 * time/mktime.c: Remove errant comment end sequence.
1651
1652 * termios/sys/ttydefaults.h: Incorporated from BSD 4.4-Lite.
1653 * sysdeps/vax/DEFS.h: Incorporated from BSD 4.4-Lite.
1654 * sysdeps/unix/bsd/sys/reboot.h: Incorporated from BSD 4.4-Lite.
1655 * sysdeps/unix/bsd/bsd4.4/errnos.h: Updated from 4.4-Lite sys/errno.h.
1656 [__USE_BSD] (EAUTH, ENEEDAUTH, ELAST): New macros.
1657 * sysdeps/ieee754/support.c: Incorporated from BSD 4.4-Lite.
1658 * sysdeps/ieee754/cbrt.c: Incorporated from BSD 4.4-Lite.
1659 * sysdeps/generic/trig.h: Incorporated from BSD 4.4-Lite.
1660 * sysdeps/generic/tanh.c: Incorporated from BSD 4.4-Lite.
1661 * sysdeps/generic/tan.c: Incorporated from BSD 4.4-Lite.
1662 * sysdeps/generic/sinh.c: Incorporated from BSD 4.4-Lite.
1663 * sysdeps/generic/sincos.c: Incorporated from BSD 4.4-Lite.
1664 * sysdeps/generic/pow.c: Incorporated from BSD 4.4-Lite.
1665 * sysdeps/generic/mathimpl.h: Incorporated from BSD 4.4-Lite.
1666 Add back __izing #define's, except for exp__E and log__L, which
1667 have been renamed with __s in 4.4-Lite.
1668 * sysdeps/generic/log__L.c: Incorporated from BSD 4.4-Lite.
1669 * sysdeps/generic/log1p.c: Incorporated from BSD 4.4-Lite.
1670 * sysdeps/generic/log.c: Incorporated from BSD 4.4-Lite.
1671 * sysdeps/generic/fmod.c: Incorporated from BSD 4.4-Lite.
1672 * sysdeps/generic/exp__E.c: Incorporated from BSD 4.4-Lite.
1673 * sysdeps/generic/exp.c: Incorporated from BSD 4.4-Lite.
1674 * sysdeps/generic/cosh.c: Incorporated from BSD 4.4-Lite.
1675 * sysdeps/generic/atanh.c: Incorporated from BSD 4.4-Lite.
1676 * sysdeps/generic/atan2.c: Incorporated from BSD 4.4-Lite.
1677 * sysdeps/generic/asinh.c: Incorporated from BSD 4.4-Lite.
1678 * sysdeps/generic/asincos.c: Incorporated from BSD 4.4-Lite.
1679 * misc/getusersh.c: Incorporated from BSD 4.4-Lite.
1680 (initshells): Reapply fix of 16 Nov 1992.
1681 * sysdeps/generic/acosh.c: Incorporated from BSD 4.4-Lite.
1682 * sysdeps/generic/__expm1.c: Incorporated from BSD 4.4-Lite.
1683 * misc/ttyslot.c: Incorporated from BSD 4.4-Lite.
1684 * misc/ttyent.h: Incorporated from BSD 4.4-Lite.
1685 * misc/syslog.c: Incorporated from BSD 4.4-Lite.
1686 * misc/paths.h: Incorporated from BSD 4.4-Lite.
1687 * misc/getttyent.c: Incorporated from BSD 4.4-Lite.
1688 * misc/sys/syslog.h: Incorporated from BSD 4.4-Lite.
1689 Don't include <machine/ansi>; define _BSD_VA_LIST_ to __gnuc_va_list.
1690 * inet/rexec.c: Incorporated from BSD 4.4-Lite.
1691 * inet/rcmd.c: Incorporated from BSD 4.4-Lite.
1692 (rcmd): Reapply select max fd fix of 3 Jun 1994.
1693 * inet/pathnames.h: File removed.
1694 * inet/inet_ntoa.c: Incorporated from BSD 4.4-Lite.
1695 * inet/getsrvbypt.c: Incorporated from BSD 4.4-Lite.
1696 * inet/getsrvbynm.c: Incorporated from BSD 4.4-Lite.
1697 * inet/getservent.c: Incorporated from BSD 4.4-Lite.
1698 * inet/getprtname.c: Incorporated from BSD 4.4-Lite.
1699 * inet/getprtent.c: Incorporated from BSD 4.4-Lite.
1700 * inet/getproto.c: Incorporated from BSD 4.4-Lite.
1701 * inet/protocols/timed.h: Incorporated from BSD 4.4-Lite.
1702 * inet/protocols/talkd.h: Incorporated from BSD 4.4-Lite.
1703 * inet/protocols/rwhod.h: Incorporated from BSD 4.4-Lite.
1704 * inet/protocols/routed.h: Incorporated from BSD 4.4-Lite.
1705 * inet/arpa/tftp.h: Incorporated from BSD 4.4-Lite.
1706 * inet/arpa/telnet.h: Incorporated from BSD 4.4-Lite.
1707 * inet/arpa/ftp.h: Incorporated from BSD 4.4-Lite.
1708
1709 Fri Jul 29 01:50:37 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1710
1711 * Version 1.08.4.
1712
1713 * res/Makefile (routines): Add missing backslash.
1714
1715 * sysdeps/mach/hurd/mips/__sigret.c: Rename variable AT (which is
1716 the register's name) to SCPREG. Fix some SCP references in
1717 register loads to use SCPREG instead. Load SCPREG->sc_pc into $24
1718 and jump to it, restoring $at in the delay slot. This still
1719 leaves $24 clobbered.
1720
1721 * sysdeps/mach/hurd/mips/sigcontext.h: Use `unsigned int'
1722 consistently for port names.
1723
1724 * sysdeps/mach/hurd/mips/trampoline.c: Don't set up args on the
1725 stack; pass them in registers.
1726
1727 * Makefile (%/configure, sysd-dirs, munch-init.c): Pass -f to mv.
1728
1729 * misc/sys/cdefs.h (__NORETURN, __CONSTVALUE): Use the
1730 __attribute__ defn for GCC>=2.7, not >=2.6. Use the keyword defn
1731 only for GCC<2.5. Use __volatile__ and __const__ instead of
1732 noreturn and const for namespace safety.
1733
1734 * sysdeps/mach/hurd/__readlink.c: If BUF is null, return the size
1735 of buffer required.
1736
1737 Thu Jul 28 17:17:11 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1738
1739 * res/netdb.h: Declare h_errno.
1740
1741 * res: New directory, for all code incoporated from BIND.
1742 * inet/arpa/inet.h, inet/arpa/resolv.h: Moved to res/arpa.
1743 * inet/sys/bitypes.h: Moved to res/sys.
1744 * inet/gethstnamad.c: Renamed to res/gethnamaddr.c.
1745 * inet/getnetbyad.c: Renamed to res/getnetbyaddr.c.
1746 * inet/getnetbynm.c: Renamed to res/getnetbyname.c.
1747 * inet/res_mkqry.c: Renamed to res/res_mkquery.c.
1748 * inet/Makefile (headers): Removed netdb.h, resolv.h, and
1749 sys/bitypes.h.
1750 (routines): Removed res_comp res_debug res_init res_mkqry res_query
1751 res_send gethstnmad sethostent.
1752 (aux, distribute): Variables removed.
1753 * res/getnetnamadr.c, res/nsap_addr.c: New files.
1754 * All .c and .h in res/ updated from BIND-4.9.3-BETA9.
1755 * res/Makefile: New file.
1756 * sysdeps/unix/inet/Subdirs: Added res.
1757
1758 * Makerules: Replace all uses of `.dep' suffix with `.d' suffix.
1759 (+make-deps): Replace `.dtm' suffix with `.T' suffix.
1760
1761 Wed Jul 27 06:13:30 1994 Noel Cragg (noel@churchy.gnu.ai.mit.edu)
1762
1763 * time/mktime.c: Add code to support tm_isdst flag in struct tm.
1764 Fixed bug with handling of DST sections.
1765
1766 Mon Jul 25 17:17:28 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1767
1768 * sysdeps/sparc/divrem.m4 (Lgot_result) [S=true]: Only test SIGN
1769 and negate for [OP=div].
1770
1771 * socket/sys/socket.h (__SOCKADDR_ARG): New macro; for GCC 2.6 and
1772 later, a funky union similar to __WAIT_STATUS in <sys/wait.h>.
1773 (bind, getsockname, connect, getpeername, sendto, recvfrom,
1774 accept): Use __SOCKADDR_ARG in place of `struct sockaddr *' in
1775 declarations.
1776
1777 * posix/glob/configure.bat: New file.
1778 * posix/Makefile (glob.tar): Add glob/configure.bat.
1779
1780 * sysdeps/unix/opendir.c: Fail with ENOENT when passed "".
1781 Check STATBUF and fail with ENOTDIR if it's not a directory.
1782
1783 Mon Jul 25 15:44:18 1994 Noel Cragg (noel@churchy.gnu.ai.mit.edu)
1784
1785 * time/mktime.c: Fix range-checking bug in NORMALIZE macro.
1786
1787 Fri Jul 22 02:42:44 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1788
1789 * sysdeps/unix/readdir.c: Search for NUL character to limit
1790 d_namlen. Some systems return very bogus values.
1791
1792 * sysdeps/unix/sysv/sysv4/i386/sysdep.h (PSEUDO): Remove ret at end.
1793
1794 * mach/Makefile (mach-shortcuts): Filter out device_writev_request.
1795
1796 * limits.h (_LIBC_LIMITS_H_): Don't define if already defined.
1797 [__GNUC__ < 2]: Only protect this section from multiple inclusion.
1798
1799 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
1800 Declare SIGSP volatile.
1801
1802 * hurd/hurdinit.c (_hurd_setproc): Fixed arg in
1803 _hurd_pgrp_changed_hook decl.
1804
1805 * hurd/hurd/signal.h (_hurd_self_sigstate_unlocked): New function.
1806 (HURD_EINTR_RPC): Use it instead of _hurd_self_sigstate followed by
1807 __mutex_unlock; this thread might already hold the lock.
1808
1809 Wed Jul 20 18:53:54 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu>
1810
1811 * hurd/fd-read.c (_hurd_fd_read): Test for EBACKGROUND in
1812 do loop was reversed.
1813
1814 * hurd/hurdpath.c (__hurd_path_lookup): Skip over initial slashes
1815 before calling __dir_pathtrans.
1816
1817 Tue Jul 19 15:28:39 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
1818
1819 * mach/Makefile (user-interfaces): Add mach/mach4.
1820 (mach-shortcuts): Match all syscall_% again; the missing ones are in
1821 mach4.defs.
1822
1823 * mach/Machrules (%.ir): Match SimpleRoutine as well as Routine
1824 comments.
1825
1826 * sysdeps/mach/hurd/Makefile ($(hurd)/errlist.c): Use -f flag to mv.
1827
1828 Sat Jul 16 00:42:30 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
1829
1830 * Makerules [install]: Rewrite this rule to use install-bin.
1831 [install-sbin]: New rule parallel to that one, installs in $(sbindir).
1832
1833 * time/Makefile (install-sbin): Set this instead of install.
1834 * sunrpc/Makefile (install-others): Use $(sysconfdir)/rpc instead
1835 of $(etcdir)/rpc.
1836 (install-bin): Set this instead of install; set it to just rpocgen.
1837 (install-sbin): Put rpcinfo and portmap here instead.
1838 ($(sysconfdir)/rpc): Rule renamed from $(etcdir)/rpc.
1839 (defines): Rename it in _PATH_RPC defn here too.
1840
1841 * posix/Makefile (install-bin): Set this instead of install.
1842
1843 * Makeconfig (datadir): Default to $(prefix)/share, not $(prefix)/lib.
1844 (sbindir): New variable.
1845 (sysconfdir): Variable renamed from etcdir.
1846
1847 * sysdeps/unix/bsd/sun/signum.h: New file; no SIGINFO, SIGLOST is 29.
1848
1849 * sysdeps/unix/sysv/sco3.2.4/uname.S: New file from Scott Bartram.
1850
1851 * sysdeps/unix/sysv/sco3.2.4/__getgrps.c: Include alloca.h.
1852
1853 * configure.in (INSTALL): If it is $srcdir/install.sh after
1854 AC_PROG_INSTALL, reset it to '$(..)./install.sh'.
1855
1856 * sysdeps/mach/hurd/__ioctl.c (io2mach_type): Move macro defn before
1857 first use.
1858 (__ioctl): Fix swapped args to __sigismember; remove unused variable.
1859
1860 * sysdeps/mach/hurd/send.c: Fix portsPoly arg to __socket_send.
1861 * sysdeps/mach/hurd/sendto.c: Likewise.
1862
1863 * sysdeps/mach/hurd/recv.c: Pass &BUFP, not BUFP.
1864 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1865
1866 * sysdeps/mach/hurd/connect.c: Include <hurd/ifsock.h>.
1867
1868 * sysdeps/mips/dec/bytesex.h: New file.
1869 * sysdeps/mips/p40/bytesex.h: New file.
1870
1871 Fri Jul 15 23:12:06 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
1872
1873 * posix/sys/types.h (u_quad, quad): Renamed to &_t.
1874 * posix/gnu/types.h [__GNUC__] (__u_quad_t, __quad_t, __qaddr_t):
1875 New typedefs, using long long int and derivatives.
1876 [! __GNUC__] (__u_quad, __quad): Renamed to &_t.
1877 (__fsid_t): Make this always be __u_quad_t.
1878
1879 * time/sys/time.h (struct timespec): New type.
1880 (TIMEVAL_TO_TIMEPSEC, TIMESPEC_TO_TIMEVAL): New macros.
1881
1882 Thu Jul 14 15:43:39 1994 Brendan Kehoe (brendan@zen.org)
1883
1884 * sysdeps/unix/sysv/sysv4/sysinfo.S: New file.
1885 * sysdeps/unix/sysv/sysv4/Dist: Add sysinfo.S.
1886 * sysdeps/unix/sysv/sysv4/Makefile: Add sysinfo to sysdep_routines
1887 if we're inside misc.
1888 * sysdeps/unix/sysv/sysv4/sethostnam.c: New file.
1889 * sysdeps/unix/sysv/sysv4/__gethstnm.c: New file.
1890
1891 * sysdeps/unix/sysv/sysv4/solaris2/fsync.S: New file.
1892
1893 Tue Jul 12 00:57:08 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
1894
1895 * mach/Makefile (mach-shortcuts): Only match known Mach
1896 subsystems: vm, task, mach_port, and thread.
1897
1898 Mon Jul 11 20:18:29 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
1899
1900 * hurd/intr-rpc.defs, hurd/intr-rpc.awk: New files.
1901 * hurd/Makefile (user-MIGFLAGS): Add -imacros intr-rpc.defs.
1902 (transform-user-stub): New canned sequence.
1903 (transform-user-stub-output): New variable.
1904 Make the .ustamp files depend on intr-rpc.awk.
1905
1906 * mach/Machrules (%.ir): Cull the RPC names from the preceding
1907 comment rather than the definition, so we don't see any userprefix.
1908 (transform-user-stub-output): New variable.
1909 (%.ustamp: %.defs): Invoke $(transform-user-stub) inside for loop.
1910 Use $(transform-user-stub-output) in place of `tmp' in arg to
1911 move-if-change.
1912
1913 * mach/Makefile [! mach-shortcuts] (user-interfaces): Also filter
1914 out device/device_request.
1915
1916 Mon Jul 11 17:50:14 1994 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu)
1917
1918 * sysdeps/unix/sysv/sysv4/Makefile: Put the sys-sig.S stuff in
1919 here, rather than in .../sysv4/solaris2/sparc/Makefile.
1920 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile: Removed the
1921 sys-sig.S part.
1922
1923 Sun Jul 10 19:04:24 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
1924
1925 * sysdeps/mach/hurd/bind.c: Call __hurd_invoke_translator.
1926
1927 * hurd/hurd.h (__hurd_invoke_translator, hurd_invoke_translator):
1928 Declare them.
1929 * hurd/Makefile (routines): Add invoke-trans.
1930 * hurd/invoke-trans.c (__hurd_invoke_translator): New file.
1931 * hurd/hurdsyms.c (hurd_invoke_translator): New alias.
1932
1933 * hurd/hurdpath.c (__hurd_path_lookup_retry): New function.
1934 * hurd/hurdsyms.c (hurd_path_lookup_retry: New alias.
1935 * hurd/hurd.h (__hurd_path_lookup_retry, hurd_path_lookup_retry):
1936 Declare them.
1937
1938 * hurd/hurd/fd.h (_hurd_fd_error_signal): Return SIGLOST for
1939 MIG_SERVER_DIED.
1940
1941 * time/strftime.c: Make %j value 1-origin instead of 0-origin.
1942
1943 Sat Jul 9 02:31:23 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
1944
1945 * gnu-stabs.h (__SYMBOL_PREFIX): New macro, based on NO_UNDERSCORES.
1946 Use it in all macros instead of explicit leading underscores.
1947 Removed all [! __STDC__] definitions.
1948
1949 * sysdeps/mach/hurd/mips/trampoline.c: New file.
1950 * sysdeps/mach/hurd/mips/sigcontext.h: New file.
1951 * sysdeps/mach/hurd/mips/longjmp-ts.c: New file.
1952 * sysdeps/mach/hurd/mips/msging-p.c: New file.
1953 * sysdeps/mach/hurd/mips/longjmp-ctx.c: New file.
1954 * sysdeps/mach/hurd/mips/init-fault.c: New file.
1955 * hurd/mach/hurd/mips/__sigret.c: New file.
1956 * sysdeps/mach/hurd/mips/exc2signal.c: New file.
1957 * sysdeps/mach/mips/thread_state.h: New file.
1958 * sysdeps/mach/mips/machine-sp.h: New file.
1959 * sysdeps/mach/mips/machine-lock.h: New file.
1960 * sysdeps/mach/mips/sysdep.h: New file.
1961
1962 * mach/Makefile (mach-syscalls.mk): Snarf 3rd arg from kernel_trap.
1963 ($(mach-syscalls:%=__%.S): Emit kernel_trap instead of SYSCALL_TRAP.
1964 * mach/syscalls.awk: Print nargs-$1 = $3 for each line.
1965 * sysdeps/mach/sysdep.h: Include <mach/machine/syscall_sw.h>.
1966 * sysdeps/mach/i386/sysdep.h (ENTRY, SYSCALL_TRAP): Macros removed.
1967
1968 * sysdeps/mach/i386/machine-lock.h: Use __volatile in place of
1969 volatile to work with -traditional.
1970
1971 Fri Jul 8 21:06:43 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
1972
1973 * hurd/hurdsig.c (_hurd_internal_post_signal): For stop signals,
1974 clear pending SIGCONT no matter what action we choose.
1975 Add new value `cont' to ACT enum; use it for default SIGCONT action.
1976 (_hurd_internal_post_signal: sigwakeup): New local inline.
1977
1978 Fri Jul 8 20:26:49 1994 Brendan Kehoe (brendan@zen.org)
1979
1980 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile (sysdep-CFLAGS): Set
1981 this to include the -mhard-quad-float option.
1982
1983 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys-sig.S: New file.
1984 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile: New file.
1985 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
1986
1987 Fri Jul 8 13:54:54 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
1988
1989 * hurd/hurdpath.c (__hurd_path_lookup): Don't treat leading /
1990 specially for FS_RETRY_NORMAL. Handle FS_RETRY_MAGICAL; leading /
1991 here means use crdir. In that case, deallocate *RESULT if nonnull.
1992
1993 * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Don't define _ERRNO_H if
1994 already defined.
1995
1996 * posix/gnu/types.h (__ino_t): Make this unsigned int instead of
1997 unsigned long int (matters for Alpha).
1998
1999 * Makeconfig (+gccopt): Variable removed.
2000 (+cflags): Don't use it.
2001 (CPPFLAGS): Append $(sysdep-CPPFLAGS).
2002 (CFLAGS): Append $(sysdep-CFLAGS).
2003
2004 * sysdeps/mach/hurd/__ioctl.c: In MSGID calculation, skip blocks
2005 of 100 for request commands >= 100, to allow for the reply msgids.
2006
2007 Thu Jul 7 19:07:00 1994 Brendan Kehoe (brendan@zen.org)
2008
2009 * sysdeps/unix/bsd/osf1/dirstream.h (DIR): Make __allocation
2010 member be int, not size_t (which is a long).
2011
2012 Thu Jul 7 15:21:15 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2013
2014 * hurd/__fopenport.c (readio, writeio, seekio, closeio): New
2015 functions.
2016 (funcsio): New const variable.
2017 (__fopenport): Make the new stream use that for its io functions, and
2018 the default room functions, and set its seen flag.
2019
2020 Tue Jul 5 11:32:38 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2021
2022 * hurd/hurd/signal.h (struct hurd_sigstate): Removed `intr_restart'.
2023 (HURD_EINTR_RPC): Uncommented. Declare label
2024 `__do_call' so it has block instead of function scope. Don't use
2025 SS->intr_restart; instead SS->intr_port being reset to
2026 MACH_PORT_NULL tells us to restart the call.
2027
2028 * sysdeps/mach/hurd/__ioctl.c: Enable use of HURD_EINTR_RPC.
2029 Do ctty magic and check for EBACKGROUND to generate SIGTTOU.
2030
2031 * mach/devstream.c (dealloc_ref): New function.
2032 (mach_open_devstream): Add a user reference to DEV, and set
2033 STREAM's close fn to dealloc_ref, which will release the reference.
2034
2035 * hurd/fd-read.c (_hurd_fd_read): Enabled and rewrote SIGTTIN code.
2036 * hurd/fd-write.c (_hurd_fd_write): Enabled and rewrote SIGTTOU code.
2037
2038 * hurd/hurdsyms.c: Add an alias hurd_sig_post -> _hurd_sig_post.
2039 * hurd/hurdkill.c (_hurd_sig_post): Renamed back from hurd_sig_post.
2040 * hurd/hurd.h: Declare _hurd_sig_post.
2041
2042 * hurd/hurdsig.c (_S_sig_post): Add SIGTTIN and SIGTTOU cases,
2043 handled like SIGINT et al.
2044
2045 * mach/devstream.c: Turn back on NL->CRNL translation.
2046
2047 * stdio/xbug.c (main): Return instead of running off the end.
2048
2049 Mon Jul 4 16:57:13 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2050
2051 * Version 1.08.3.
2052
2053 Sat Jul 2 00:15:37 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2054
2055 * sysdeps/mach/hurd/__ioctl.c: Account for three type fields in
2056 message buffer size.
2057
2058 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2059 Catch faults accessing user stack and return NULL.
2060 * hurd/hurdsig.c (_hurd_internal_post_signal): When it does, die
2061 with SIGILL and dump core.
2062
2063 * hurd/hurdsig.c (_hurd_internal_post_signal): Use
2064 _hurd_msgport_thread instead of __mach_thread_self () to avoid the
2065 system call. (Signals will now lose if _hurd_msgport_thread gets
2066 clobbered.)
2067 (abort_rpcs): Always do thread_abort and thread_get_state.
2068
2069 * misc/getpass.c: Fix typo resulting in newline not being removed.
2070
2071 * termios/sys/ttydefaults.h [TTYDEFCHARS] (ttydefchars): Cast
2072 _POSIX_VDISABLE to cc_t to avoid gcc warning.
2073
2074 Fri Jul 1 14:07:40 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2075
2076 * hurd/Makefile (user-interfaces): Add hurd/ifsock.
2077
2078 * socket/sys/socket.h (AF_LOCAL): New macro.
2079
2080 * sysdeps/mach/hurd/__kill.c: Fix SIGKILL loop condition.
2081
2082 Fri Jul 1 13:36:27 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu)
2083
2084 * hurd/hurdkill.c (hurd_sig_post): New var PIDSBUF; initialize
2085 PIDS and NPIDS correctly; only free PIDS if the MiG stub
2086 changed it.
2087
2088 Thu Jun 30 18:47:48 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu)
2089
2090 * hurd/hurdsock.c (_hurd_socket_server): Zero up to and *including*
2091 new[DOMAIN].
2092
2093 Thu Jun 30 08:12:28 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2094
2095 * hurd/hurdsig.c (abort_all_rpcs): Just iterate over _hurd_sigstates.
2096
2097 * hurd/dtable.c (fork_child_dtable): Skip empty descriptor slots.
2098
2099 * sysdeps/mach/hurd/__ioctl.c: Fix MSG.data size calculation.
2100
2101 Wed Jun 29 19:06:54 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2102
2103 * sysdeps/mach/hurd/bind.c: For AF_LOCAL, create a new node in the
2104 filesystem, put the ifsock translator on it, and fetch the
2105 address port.
2106 * sysdeps/mach/hurd/connect.c: For AF_LOCAL, look up the socket
2107 file and fetch the address port using the ifsock protocol.
2108
2109 Tue Jun 28 16:03:15 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2110
2111 * hurd/Makefile (routines): Add ports-get, ports-set, and hurdmsg.
2112 (aux): Remove msgstub.
2113 * hurd/hurdports.c (get): Just call _hurd_ports_get.
2114 (set): Just call _hurd_ports_set.
2115 (getcttyid, setcttyid): New functions.
2116 * hurd/ports-get.c (_hurd_ports_get): New file, new function.
2117 * hurd/ports-set.c (_hurd_ports_set): New file, new function.
2118 * hurd/hurd.h: Declare _hurd_ports_get and _hurd_ports_set.
2119 Declare getcttyid and setcttyid.
2120 * hurd/__setauth.c (__setauth): Just call _hurd_setauth.
2121 (_hurd_setauth): New function, code moved from __setauth.
2122 * hurd/hurdinit.c (_hurd_setproc): New function.
2123 * hurd/hurdioctl.c (_hurd_setcttyid): New function.
2124
2125 * locale/C-ctype_ct.c (__ctype_tolower_C, __ctype_toupper_C): Use
2126 integer constants instead of character constants for octal values
2127 so they will not be sign extended.
2128
2129 * sysdeps/mach/hurd/__setitmr.c (fork_itimer): New function, on
2130 _hurd_fork_child_hook.
2131
2132 * sysdeps/stub/sysd-stdio.c (__stdio_reopen): Fix typo in arg type.
2133 * sysdeps/stub/__ioctl.c: Fix type of REQUEST arg.
2134 * sysdeps/stub/syscall.c: Include ansidecl.h.
2135 * sysdeps/stub/_exit.c: Add __NORETURN to defn.
2136
2137 * sysdeps/unix/sysv/sysv4/sigset.h (_EXTERN_INLINE): Define to
2138 `extern __inline', not empty.
2139
2140 * sysdeps/mach/hurd/ttyname.c: Don't bother searching /dev.
2141
2142 Sat Jun 25 15:41:29 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2143
2144 * sysdeps/mach/hurd/__fork.c: Moved proc_task2pid call to just
2145 before proc_child. It is a waste to do it earlier.
2146
2147 Sat Jun 25 13:17:39 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
2148
2149 * sysdeps/mach/hurd/__fork.c: Move proc_task2pid call to after
2150 _hurd_ports are unlocked. Call proc_child nearly last thing.
2151 Ignore errors from thread_resume.
2152
2153 Fri Jun 24 20:21:11 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2154
2155 * sysdeps/posix/getcwd.c: Remove empty `#define'.
2156
2157 Fri Jun 24 17:57:36 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu)
2158
2159 * sysdeps/mach/hurd/__fork.c: Call proc_task2pid immediately after
2160 task_create. Add comment explaining why thread_resume must be the
2161 last thing we do to the child.
2162
2163 Fri Jun 24 01:41:41 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2164
2165 * hurd/hurdinit.c (_hurd_proc_init): Call __proc_set_arg_locations
2166 in place of __proc_setprocargs (it was renamed).
2167
2168 * hurd/hurd.h: Rename _hurd_sig_post to hurd_sig_post.
2169 * hurd/hurdkill.c: Likewise.
2170
2171 * hurd/port2fd.c (_hurd_port2fd): Call __term_open_ctty instead of
2172 __term_become_ctty, and don't pass the message port.
2173 * hurd/hurdioctl.c (rectty_dtable): Likewise.
2174 * hurd/dtable.c (fork_child_dtable, ctty_new_pgrp): Likewise.
2175
2176 * sysdeps/mach/hurd/__fork.c: Use __proc_{get,set}_arg_locations
2177 to propagate argv and envp locations to the child.
2178
2179 * stdio/freopen.c (freopen): If STREAM->__seen is clear, pass
2180 __stdio_close to __stdio_reopen.
2181
2182 * misc/Makefile (install-lib): Add libg.a.
2183 ($(objpfx)libg.a): New rule; use make-dummy-lib.
2184 (lib): Depend on $(objpfx)libg.a
2185
2186 Thu Jun 23 01:14:36 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2187
2188 * termios/termios.h (CCEQ): New macro.
2189
2190 * sysdeps/unix/sysv/irix4/__getgrps.c: Add missing __ to fn name.
2191
2192 Don't compile in absolute file names for localtime and posixrules
2193 files if they were specified relative to $(zonedir).
2194 * time/Makefile (installed-localtime-file,
2195 installed-posixrules-file): Set these instead of
2196 {localtime,posixrules}-file to the absolute file names.
2197 ($(localtime-file), $(posixrules-file)): Change targets to
2198 $(installed-localtime-file) and $(installed-posixrules-file).
2199
2200 Wed Jun 22 15:52:26 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2201
2202 * hurd/Makefile (sig): Add hurdkill.
2203
2204 Sat Jun 18 12:57:54 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu)
2205
2206 * stdio/_itoa.h (_itoa): Change type of VALUE to unsigned long long.
2207 * stdio/_itoa.c (_itoa): Likewise.
2208
2209 Thu Jun 16 01:10:41 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu)
2210
2211 * sysdeps/mach/hurd/dirstream.h (DIR): Replace `__filepos' member
2212 with `__entry_ptr' and `__entry_data'. Remove `__block_size' member.
2213 Replace `__offset' member with `__ptr', a char *; no need to include
2214 <gnu/types.h>.
2215 * sysdeps/mach/hurd/readdir.c: Use those, new dir_readdir protocol.
2216 * sysdeps/mach/hurd/opendir.c: Initialize new members.
2217 Don't do io_stat to set __blocksize.
2218 * sysdeps/mach/hurd/telldir.c: Rewritten; return DIRP->__entry_ptr.
2219 * sysdeps/mach/hurd/seekdir.c: Rewritten; just set DIRP->__entry_ptr
2220 from arg, and zero DIRP->__size so a new block will be read.
2221
2222 * sysdeps/mach/hurd/getcwd.c: Use new dir_readdir protocol.
2223
2224 * hurd/msgstub.c: Add stubs for dir_changed, file_changed.
2225
2226 * hurd/hurdsock.c (_hurd_socket_server): Removed unused label.
2227
2228 * sysdeps/mach/hurd/__getdents.c: Use new dir_readdir protocol.
2229
2230 * sysdeps/mach/hurd/__access.c: Open the file with 0 flags and
2231 then use file_check_access to discover what we are allowed.
2232
2233 Tue Jun 14 14:10:03 1994 Brendan Kehoe (brendan@zen.org)
2234
2235 * sysdeps/mips/setjmp.S: Refer to `$fp', not `fp'.
2236
2237 Tue Jun 14 00:50:54 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu)
2238
2239 * sysdeps/mach/hurd/__pipe.c: Set FDS[1], not FDS[2].
2240
2241 Mon Jun 13 06:48:48 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu)
2242
2243 * sysdeps/unix/bsd/sun/sparc/sigtramp.c (trampoline): Use a
2244 comment instead of a pointless insn to reference %0 in final asm.
2245
2246 * hurd/hurdsock.c (_hurd_socket_server): If realloc fails, don't
2247 fail; just don't cache the port.
2248 Look up the server node only if it is not in the cache.
2249 Translate errno only if path_lookup fails.
2250 (init): New function, on _hurd_preinit_hook.
2251
2252 * sysdeps/mach/hurd/__symlink.c: Complement _hurd_umask before ANDing.
2253
2254 Sat Jun 11 12:52:28 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2255
2256 * sysdeps/mach/hurd/__fork.c: Can't insert dead name rights into
2257 child.
2258
2259 Sat Jun 11 05:19:47 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2260
2261 * sysdeps/mach/hurd/i386/longjmp-ts.c: Set TS->uesp instead of
2262 TS->esp. Set TS->eip.
2263
2264 * gnu-stabs.h (bss_set_element): New macro.
2265 * hurd/dtable.c: Use bss_set_element instead of data_set_element
2266 to put _hurd_dtable_lock in the _hurd_fork_locks set.
2267
2268 Fri Jun 10 02:04:51 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2269
2270 * sysdeps/mach/hurd/__fork.c: Don't apply MACH_PORT_TYPE to result
2271 from __mach_port_names. Unlock SS->lock before return.
2272 Check for KERN_NAME_EXISTS from mach_port_allocate_name when
2273 creating a receive right and possibly ignore it.
2274
2275 * sysdeps/unix/sysv/sco3.2.4/Dist: Add sco_getgrp.S.
2276
2277 * crypt/speeds.c: Include signal.h and stdio.h first thing.
2278 [! SIGVTALRM]: Define NO_ITIMER.
2279
2280 * sysdeps/unix/sysv/isc3/direct.h: New file.
2281
2282 * hurd/hurdinline.c: Include lock-intern.h before #define
2283 _EXTERN_INLINE.
2284
2285 * sysdeps/mach/hurd/__fork.c (_hurd_fork_locks): Don't be const.
2286 (__fork): Set SS from _hurd_self_sigstate so it is never null.
2287 New local flag PORTS_LOCKED records when we have spin_locked all
2288 the _hurd_ports cells; unlock them if necessary on error.
2289
2290 * hurd/hurdsig.c (_hurd_siglock): Don't initialize it.
2291 (_hurdsig_init): Initialize _hurd_siglock at runtime.
2292
2293 Wed Jun 8 12:22:27 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu)
2294
2295 * hurd/hurdid.c (_hurd_check_ids): Zero P->nuids and P->ngids after
2296 deallocating P->uids and P->ngids.
2297
2298 * hurd/hurdioctl.c (_hurd_ioctl_handler_lists): Make defn initialized.
2299
2300 * sysdeps/mach/hurd/__ioctl.c: Only try to unpack if IOC_OUT is set.
2301
2302 * hurd/Makefile (routines): Replace $(inlines) with hurdinline.
2303 (inlines): Variable and rule removed.
2304 (generate-inlines): Variable removed.
2305 * hurd/hurdinline.c: New file.
2306
2307 Tue Jun 7 01:58:20 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu)
2308
2309 * Makerules: Add -f to all mv commands missing it.
2310
2311 * hurd/Makefile (generate-inline): New canned sequence.
2312 (inline-%.c): Use it.
2313
2314 * time/asia, time/europe, time/northamerica: New versions from ADO.
2315
2316 Mon Jun 6 21:36:04 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu)
2317
2318 * hurd/hurdid.c (init_id): New function.
2319
2320 * Makerules (+make-deps): Put first s cmd before $(sed-remove-objpfx).
2321 (sed-remove-objpfx): Replace occurrences at beginning of line too.
2322 \f
2323
2324 See ChangeLog.3 for earlier changes.