]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog.4
Update nss tests to new skeleton
[thirdparty/glibc.git] / ChangeLog.4
CommitLineData
edf66db1 1Mon Dec 12 01:41:07 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 2
edf66db1 3 * Version 1.09.3.
e215c478 4
edf66db1
SP
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.
e215c478 8
edf66db1
SP
9 * sysdeps/mach/hurd/alpha/__sigret.c: Use asms instead of global
10 register vars to restore FP regs. Fix typo in REI invocation.
e215c478 11
edf66db1 12Sun Dec 11 14:10:11 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 13
edf66db1
SP
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.
e215c478 17
edf66db1
SP
18 * stdio/memstream.c (enlarge_buffer): Always add one char into
19 NEED for the char we are writing or the NUL terminator.
e215c478 20
edf66db1
SP
21 * stdio/memstream.c (enlarge_buffer): If realloc fails, just set
22 error flag and preserve old buffer state.
e215c478 23
edf66db1
SP
24 * stdio/fwrite.c: In fill_buffer case, check for zero buffer space
25 after fflush and write one char normally.
e215c478 26
edf66db1 27Sat Dec 10 00:02:21 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 28
edf66db1 29 * sysdeps/mach/hurd/__fork.c: Use natural_t in place of int.
e215c478 30
edf66db1 31 * sysdeps/alpha/macros.m4: Use C comments instead of ! comments.
e215c478 32
edf66db1
SP
33 * sysdeps/mach/hurd/mmap.c: Cast -1 to long int before casting to
34 caddr_t.
e215c478 35
edf66db1
SP
36 * sysdeps/mach/alpha/syscall.S: Include
37 <mach/machine/alpha_instruction.h> to define op_chmk.
e215c478 38
edf66db1
SP
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.
e215c478 45
edf66db1
SP
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.
e215c478 54
edf66db1 55Fri Dec 9 00:01:21 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 56
edf66db1
SP
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.
e215c478 60
edf66db1
SP
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.
e215c478 66
edf66db1
SP
67 * sysdeps/mach/hurd/dirstream.h (DIR): Use unsigned long int for
68 `__allocation' and `__size' members.
e215c478 69
edf66db1
SP
70 * sysdeps/mach/hurd/alpha/exc2signal.c: Use `long int' for sigcode
71 values.
72 * sysdeps/mach/hurd/i386/exc2signal.c: Likewise.
e215c478 73
edf66db1 74 * mach/devstream.c (input): Use mach_msg_type_number_t for NREAD.
e215c478 75
edf66db1
SP
76 * sysdeps/mach/hurd/__setitmr.c (preempt_sigalrm): Use `long int'
77 for SIGCODE; take SIGERROR arg.
e215c478 78
edf66db1
SP
79 * sysdeps/alpha/divrem.m4: Include <sysdep.h> instead of
80 <regdef.h>. Use C comments instead of ! comments.
e215c478 81
edf66db1
SP
82 * sysdeps/alpha/memchr.c: Remove extra shift and OR of CHARMASK.
83 * sysdeps/alpha/strchr.c: Likewise.
e215c478 84
edf66db1
SP
85 * sysdeps/mach/hurd/sysd-stdio.c: Use mach_msg_type_number_t in
86 place of unsigned int.
e215c478 87
edf66db1
SP
88 * sysdeps/posix/tempname.c (__stdio_gen_tempname): Cast FD to long
89 int before casting to pointer.
e215c478 90
edf66db1 91 * stdio/printf_fp.c: Include <string.h>.
e215c478 92
edf66db1 93 * sysdeps/alpha/setjmp_aux.c: Use ENV[0].__jmpbuf[0].
e215c478 94
edf66db1 95 * sysdeps/mach/alpha/sysdep.h (ENTRY): New macro.
e215c478 96
edf66db1
SP
97 * hurd/hurdioctl.c (fioctl): Pass a mach_msg_type_number_t* to
98 __io_readable.
e215c478 99
edf66db1 100 * hurd/hurd-raise.c: Use `long int' for sigcode values.
e215c478 101
edf66db1
SP
102 * hurd/hurdfault.c: Use `long int' for sigcode values.
103 * hurd/hurdfault.h: Likewise.
e215c478 104
edf66db1
SP
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.
e215c478 110
edf66db1
SP
111 * hurd/hurdlookup.c: Use mach_msg_type_number_t and natural_t in
112 place of unsigned int and int.
e215c478 113
edf66db1 114 * hurd/hurd/id.h: Use mach_msg_type_number_t in place of unsigned int.
e215c478 115
edf66db1
SP
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.
e215c478 119
edf66db1
SP
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.
e215c478 124
edf66db1
SP
125 * sysdeps/mach/alpha/sysdep.h (START_MACHDEP): Add missing
126 backslashes.
127 (CALL_WITH_SP): Cast FN to long int.
e215c478 128
edf66db1
SP
129 * sysdeps/mach/alpha/thread_state.h (struct machine_thread_all_state):
130 New member `exc'.
e215c478 131
edf66db1
SP
132 * hurd/fd-read.c: Include <string.h>. Use mach_msg_type_number_t
133 in place of mach_msg_type_size_t.
e215c478 134
edf66db1 135 * hurd/hurdfault.c: Use natural_t instead of int.
e215c478 136
edf66db1
SP
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.
e215c478 140
edf66db1 141 * hurd/vpprintf.c (pwrite): Cast &N to mach_msg_type_number_t *.
e215c478 142
edf66db1
SP
143 * hurd/__fopenport.c: Include <string.h>. Use
144 mach_msg_type_number_t in place of unsigned int.
e215c478 145
edf66db1 146 * hurd/hurdauth.c: Include <string.h>.
e215c478 147 * hurd/hurdsock.c: Likewise.
edf66db1
SP
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
156Thu 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
203Wed 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
220Tue Dec 6 19:04:50 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
221
222 * posix/glob/Makefile.in (CPPFLAGS): Include @DEFS@.
223
224Mon 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
236Sun 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
297Sat 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
303Fri 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
312Mon 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
317Tue 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
333Mon 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
341Wed 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
358Tue 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
400Mon 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
404Sun 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
421Fri 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
427Thu 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.
e215c478
RM
436 * sysdeps/mach/hurd/start.c: Likewise.
437
edf66db1 438Wed Nov 9 08:02:59 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 439
edf66db1 440 * hurd/Makefile (sig): Remove longjmp-ctx (it is never called).
e215c478 441
edf66db1
SP
442 * sysdeps/mach/hurd/__fork.c: Do thread_get_state on parent's
443 threads to modify and thread_set_state new child threads.
e215c478 444
edf66db1 445Mon Nov 7 00:38:45 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 446
edf66db1
SP
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@.
e215c478 452
edf66db1
SP
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.
e215c478 460
edf66db1 461Sun Nov 6 19:26:28 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 462
edf66db1 463 * Version 1.09.
e215c478 464
edf66db1 465Fri Nov 4 16:52:05 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 466
edf66db1 467 * Version 1.08.14.
e215c478 468
edf66db1 469 * manual/Makefile (stamp-summary): Depend on $(chapters-incl) too.
e215c478 470
edf66db1 471Thu Nov 3 18:33:50 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 472
edf66db1
SP
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 >.
e215c478 477
edf66db1
SP
478 * sysdeps/mach/hurd/__fork.c: Unlock signal state earlier, just
479 after unlocking _hurd_ports locks.
e215c478 480
edf66db1
SP
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.
e215c478 484
edf66db1 485 * Makerules (common-mostlyclean): Remove $(tests:=.out) too.
e215c478 486
edf66db1 487 * assert/assert-perr.c (__assert_perror_fail): Add missing comma.
e215c478 488
edf66db1
SP
489 * sysdeps/unix/ioctls-tmpl.c [__osf__ && __alpha__] (FIOPIPESTAT,
490 SIOCSRREQR, SIOCSRREQW, SRVC_REQUEST): #undef these.
e215c478 491
edf66db1 492Wed Nov 2 23:00:19 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 493
edf66db1
SP
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.
e215c478 498
edf66db1
SP
499 * Makerules (compile.S): Add -DASSEMBLER.
500 * sysdeps/mach/sysdep.h [ASSEMBLER]: Don't include
501 <mach/mig_support.h> if this is defined.
e215c478 502
edf66db1 503Wed Nov 2 22:39:55 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu>
e215c478 504
edf66db1
SP
505 * sysdeps/mach/hurd/seteuid.c: Pass poly and count args for
506 other_handles in correct order in call to auth_makeauth.
e215c478 507
edf66db1 508Wed Nov 2 15:03:51 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 509
edf66db1
SP
510 * stdio/internals.c (fillbuf): Make sure returned char doesn't get
511 sign extended.
e215c478 512
edf66db1 513Tue Nov 1 01:25:28 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 514
edf66db1
SP
515 * sysdeps/unix/common/Implies: File removed.
516 * sysdeps/unix/bsd/Implies: Add unix/inet.
e215c478 517
edf66db1
SP
518 * assert/assert-perror.c: Renamed to assert-perr.c.
519 * assert/Makefile (routines): Rename assert-perror to assert-perr.
e215c478 520
edf66db1 521 * Version 1.08.13.
e215c478 522
edf66db1 523 * mach/Makefile (generated): Add __%.c for $(mach-shortcuts) too.
e215c478 524
edf66db1
SP
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.
e215c478 534
edf66db1
SP
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).
e215c478 539
edf66db1
SP
540 * mach/Makefile (headers, user-interfaces, server-interfaces):
541 Don't add default_pager stuff.
e215c478 542
edf66db1 543Mon Oct 31 07:00:40 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 544
edf66db1
SP
545 * sysdeps/unix/bsd/sun/sunos4/termbits.h (TCSASOFT): Macro
546 removed.
e215c478 547
edf66db1
SP
548 * malloc/malloc.h: Change #ifdef __STDC__ to #if defined
549 (__STDC__) && __STDC__.
e215c478 550
edf66db1 551Fri Oct 28 00:09:24 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 552
edf66db1
SP
553 * sysdeps/mach/sysdep.h: Include <mach/mig_support.h> for decls.
554 (FATAL_PREPARE): Pass arg to __mig_dealloc_reply_port.
e215c478 555
edf66db1 556 * assert/Makefile (routines): Add assert-perror.
e215c478 557
edf66db1
SP
558 * Makerules (stubs): cd into $(objdir) and use local file names,
559 making the cmd shorter.
e215c478 560
edf66db1
SP
561 * sysdeps/mach/hurd/getprio.c (getonepriority): Call
562 proc_getprocinfo with proc port.
e215c478 563
edf66db1
SP
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.
e215c478 567
edf66db1
SP
568 * stdio/fwrite.c: Reset BUFFER_SPACE after fflush in fill_buffer
569 case.
e215c478 570
edf66db1
SP
571 * sysdeps/generic/sigset.h (__SIGSETFN): When losing, punt to
572 `raise (-1)'. Old method looped.
e215c478 573
edf66db1 574 * hurd/hurd/resource.h: Include <hurd/process.h>.
e215c478 575
edf66db1 576Thu Oct 27 15:00:50 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 577
edf66db1 578 * sysdeps/standalone/standalone.h: Fixed typo.
e215c478 579
edf66db1 580Wed Oct 26 00:21:16 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 581
edf66db1 582 * sysdeps/unix/i386/vfork.S: New file.
e215c478 583
edf66db1
SP
584 * sysdeps/generic/strchr.c: Increment CP properly in check for 5th
585 char of quadword hit.
e215c478 586
edf66db1 587 * sysdeps/mach/hurd/getprio.c (getonepriority): Always set ONERR.
e215c478 588
edf66db1 589Tue Oct 25 03:53:26 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 590
edf66db1 591 * hurd/hurd/resource.h: Include <errno.h>.
e215c478 592
edf66db1
SP
593 * stdio/ftell.c: If STREAM->__pushed_back, calculate from
594 pushback_bufp instead of bufp.
e215c478 595
edf66db1
SP
596 * Makefile (format-me): New canned sequence; runs makeinfo
597 --no-headers.
598 (INSTALL): Use it.
599 (NOTES): New file rule.
e215c478 600
edf66db1
SP
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.
e215c478 604
edf66db1
SP
605 * manual/Makefile (indices): New variable; include ky.
606 (realclean): Use $(indices) to remove all index and sorted index
607 files.
e215c478 608
edf66db1
SP
609 * sysdeps/mach/hurd/fcntlbits.h (O_ASYNC, O_FSYNC, O_SYNC):
610 Protect with [__USE_BSD].
e215c478 611
edf66db1 612Mon Oct 24 00:16:59 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 613
edf66db1
SP
614 * sysdeps/unix/bsd/utime.c: Initialize tv_usec fields.
615 Use __gettimeofday instead of time.
e215c478 616
edf66db1
SP
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.
e215c478 622
edf66db1 623 * misc/sys/cdefs.h: Undef __P first.
e215c478 624
edf66db1 625 * Version 1.08.12.
e215c478 626
edf66db1
SP
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.
e215c478 633
edf66db1 634Sun Oct 23 19:39:18 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 635
edf66db1 636 * Makerules (sources): Fix typo in last change.
e215c478 637
edf66db1 638Fri Oct 21 13:15:39 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 639
edf66db1
SP
640 * sysdeps/generic/termbits.h (ECHOKE): Remove gratuitous leading
641 space before #define.
e215c478 642
edf66db1 643 * Makerules (sources): Filter out $(elided-routines).
e215c478 644
edf66db1
SP
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).
e215c478 648
edf66db1 649Wed Oct 19 02:40:02 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 650
edf66db1 651 * hurd/hurdsig.c: Use assert_perror.
e215c478 652
edf66db1
SP
653 * assert/assert-perror.c (__assert_perror_fail): New file.
654 * assert/assert.h (assert_perror): New macro.
e215c478 655
edf66db1 656 * Version 1.08.11.
e215c478 657
edf66db1
SP
658 * hurd/hurdsig.c (abort_rpcs): Actually return a port instead of
659 boolean, as the type says.
e215c478 660
edf66db1
SP
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.
e215c478 664
edf66db1 665Mon Oct 17 00:06:03 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 666
edf66db1
SP
667 * stdlib/strtol.c: Deansideclized.
668 * sysdeps/generic/strcspn.c: Deansideclized.
669 * sysdeps/generic/putenv.c: Deansideclized, added portability
670 cruft.
e215c478 671
edf66db1 672Fri Oct 14 14:00:11 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 673
edf66db1
SP
674 * sysdeps/unix/sysv/sysv4/solaris2/utsnamelen.h:
675 Moved to sysdeps/unix/sysv/sysv4.
e215c478 676
edf66db1 677Thu Oct 13 22:06:50 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 678
edf66db1
SP
679 * sysdeps/unix/common/glue-ctype.c [HAVE__LOCP]: Move this defn to
680 first. Include sys/types.h.
e215c478 681
edf66db1 682 * sysdeps/unix/bsd/readdir.c: Include direct.h.
e215c478 683
edf66db1
SP
684 * socket/sys/socket.h (__SOCKADDR_ARG): Always use non-GCC defn,
685 for now.
686 * posix/sys/wait.h (__WAIT_STATUS): Likewise.
e215c478 687
edf66db1 688Tue Oct 11 00:42:50 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 689
edf66db1 690 * Version 1.08.10.
e215c478 691
edf66db1 692Mon Oct 10 00:33:47 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 693
edf66db1
SP
694 * malloc/malloc.h [_MALLOC_INTERNAL] (CHAR_BIT): Don't define if
695 already defined.
e215c478 696
edf66db1 697 * stdio/__vfscanf.c: Grok %q modifier like %ll.
e215c478 698
edf66db1 699 * mach/__msgserver.c: Increase default MAX_SIZE to two pages.
e215c478 700
edf66db1 701 * misc/init-misc.c: Cast string constant to non-const type.
e215c478 702
edf66db1
SP
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.
e215c478 706
edf66db1 707Sun Oct 9 22:41:20 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 708
edf66db1 709 * hurd/hurdsig.c (abort_all_rpcs): Declare SS.
e215c478 710
edf66db1 711Sun Oct 09 01:19:38 1994 Jim Meyering (meyering@comco.com)
e215c478 712
edf66db1 713 * posix/fnmatch.c: Remove CONFIG_BROKETS conditional.
e215c478 714
edf66db1 715Fri Oct 7 15:28:07 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 716
edf66db1 717 * stdio/__vfscanf.c: Properly grok %a modifier.
e215c478 718
edf66db1
SP
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.
e215c478 723
edf66db1 724Thu Oct 6 18:57:44 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 725
edf66db1
SP
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.
e215c478 733
edf66db1 734Mon Oct 3 02:09:43 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 735
edf66db1
SP
736 * sysdeps/generic/utsnamelen.h (_UTSNAME_LENGTH): Increase to
737 1024.
e215c478 738
edf66db1 739Sun Oct 2 18:35:16 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 740
edf66db1
SP
741 * posix/glob.h (__P): Change arg name to `protos', for congruence
742 with 4.4 BSD.
743 * posix/fnmatch.h (__P): Likewise.
e215c478 744
edf66db1 745Sat Oct 1 04:25:35 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 746
edf66db1 747 * misc/Makefile (routines): Add daemon.
e215c478 748
edf66db1 749Fri Sep 30 16:49:09 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 750
edf66db1 751 * misc/daemon.c: New file, incorporated from BSD 4.4-Lite.
e215c478 752
edf66db1
SP
753 * sysdeps/mach/hurd/__setsid.c: Call _hurd_setcttyid with
754 MACH_PORT_NULL after proc_setsid.
e215c478 755
edf66db1
SP
756 * hurd/hurdioctl.c (_hurd_setcttyid): Don't do mod_refs if port is
757 null.
e215c478 758
edf66db1
SP
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.
e215c478 775
edf66db1 776Thu Sep 29 18:28:01 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 777
edf66db1
SP
778 * mach/mig_syms.c (mig_put_reply_port): Add symbol alias to __
779 name.
e215c478 780
edf66db1 781Thu Sep 29 12:23:07 1994 Brendan Kehoe (brendan@zen.org)
e215c478 782
edf66db1
SP
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.
e215c478 786
edf66db1
SP
787 * sysdeps/unix/sysv/sysd-stdio.c: Include
788 sysdeps/generic/sysd-stdio.h,
789 not looking in sysdeps/posix.
e215c478 790
edf66db1 791Thu Sep 29 05:38:14 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 792
edf66db1
SP
793 * sysdeps/unix/common/configure.in (ctype check): In test prog,
794 just reference $ctype; we don't care what type it is.
e215c478 795
edf66db1
SP
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.
e215c478 802
edf66db1 803Wed Sep 28 17:23:26 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 804
edf66db1 805 * posix/sys/utsname.h [__USE_SVID] (SYS_NMLN): New macro.
e215c478 806
edf66db1 807 * dirent/scandir.c: Free storage on error from readdir.
e215c478 808
edf66db1 809Mon Sep 26 00:55:34 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 810
edf66db1 811 * Version 1.08.9.
e215c478 812
edf66db1 813 * MakeTAGS (all-dist): Prepend the appropriate sysdep dir names.
e215c478 814
edf66db1
SP
815 * hurd/hurdsig.c (_hurd_internal_post_signal: sigwakeup): Create a
816 send right.
e215c478 817
edf66db1 818Sat Sep 24 13:44:51 1994 Jim Meyering (meyering@comco.com)
e215c478 819
edf66db1
SP
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.
e215c478 822
edf66db1 823Fri Sep 23 16:55:54 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 824
edf66db1 825 * sysdeps/mach/hurd/sigsuspend.c: Include <hurd/msg.h>.
e215c478 826
edf66db1
SP
827 * sysdeps/mach/hurd/sigsuspend.c: Add missing & in __mach_msg
828 call.
e215c478 829
edf66db1 830Thu Sep 15 14:22:56 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 831
edf66db1
SP
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.
e215c478 840
edf66db1
SP
841 * sysdeps/unix/common/configure.in: Use AC_COMPILE_CHECK instead
842 of AC_HAVE_FUNCS.
e215c478 843
edf66db1
SP
844 * sysdeps/generic/make_siglist.c (sys_siglist): Define as macro to
845 my_siglist.
e215c478 846
edf66db1
SP
847 * sysdeps/mach/i386/thread_state.h: Include from mach/machine, not
848 mach/i386.
849 * sysdeps/mach/hurd/i386/sigcontext.h: Likewise.
e215c478 850
edf66db1
SP
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.
e215c478 856
edf66db1 857Wed Sep 14 18:16:07 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 858
edf66db1
SP
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.
e215c478 862
edf66db1 863Tue Sep 13 19:57:09 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 864
edf66db1
SP
865 * sysdeps/mach/hurd/sync.c: Don't be synchronous: pass WAIT=0 to
866 file_syncfs.
e215c478 867
edf66db1
SP
868 * Makerules (libc-name): New variable.
869 (install, libc installation rule): Use $(libc-name) in place of `c'.
e215c478 870
edf66db1 871Sun Sep 11 23:28:20 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 872
edf66db1
SP
873 * sysdeps/mach/hurd/__readlink.c: Only decrement LEN to remove the
874 null terminator when LEN is already large enough to include it.
e215c478 875
edf66db1
SP
876 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Add break
877 after FS_RETRY_MAGICAL case.
e215c478 878
edf66db1 879Fri Sep 9 04:03:59 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 880
edf66db1 881 * stdio/vfprintf.c: Grok q modifier like ll.
e215c478 882
edf66db1
SP
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.
e215c478 886
edf66db1 887Thu Sep 8 17:18:14 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 888
edf66db1
SP
889 * sysdeps/generic/morecore.c (__default_morecore) [! __STDC__]:
890 Declare arg as `int' instead of `ptrdiff_t'.
e215c478 891
edf66db1 892Tue Sep 6 19:06:00 1994 Roland McGrath <roland@geech.gnu.ai.mit.edu>
e215c478 893
edf66db1
SP
894 * posix/glob.c (prefix_array, glob): Avoid const on initialized
895 variables. Some compiler generates bad code.
e215c478 896
edf66db1 897Mon Sep 5 13:24:26 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 898
edf66db1
SP
899 * malloc/Makefile (malloc/%: ../sysdeps/generic/%): New rule, to get
900 morecore.c.
e215c478 901
edf66db1
SP
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.
e215c478 913
edf66db1
SP
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.
e215c478 919
edf66db1
SP
920 * resolv/getnetnamadr.c (getnetbyname): Arg is always const,
921 regardless of [sun].
e215c478 922
edf66db1 923Sun Sep 4 00:04:55 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 924
edf66db1 925 * Version 1.08.8.
e215c478 926
edf66db1 927 * Makerules (distinfo-vars): Double $s in final emitted sources defn.
e215c478 928
edf66db1
SP
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.
e215c478 934
edf66db1
SP
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.
e215c478 938
edf66db1
SP
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.
e215c478 943
edf66db1
SP
944 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_SET_{SP,PC}):
945 Cast args to unsigned long int.
e215c478 946
edf66db1 947 * sysdeps/mach/hurd/i386/trampoline.c: Use _hurdsig_catch_fault.
e215c478 948
edf66db1
SP
949 * Make-dist (subdirs): Use sed to remove comments from Subdirs files.
950 * MakeTAGS (subdirs): Likewise.
e215c478 951
edf66db1
SP
952 * sysdeps/mach/i386/thread_state.h: Include
953 <mach/i386/thread_status.h> first thing.
e215c478 954
edf66db1
SP
955 * hurd/Makefile (sig): Add faultexc.
956 ($(objpfx)faultexc.c): New target.
957 (generated): Append faultexc.c.
e215c478 958
edf66db1
SP
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.
e215c478 967
edf66db1 968 * hurd/catch-exc.c: Return EPERM if TASK is not right.
e215c478 969
edf66db1
SP
970 * hurd/hurdsig.c (_hurd_sigthread_fault_env): Variable moved to
971 hurdfault.c.
972 (_hurdsig_fault_init): Function moved to hurdfault.c.
e215c478 973
edf66db1 974Sat Sep 3 12:22:53 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 975
edf66db1
SP
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.
e215c478 980
edf66db1 981 * string/test-ffs.c (main: try): Actually call ffs in the test.
e215c478 982
edf66db1
SP
983Fri 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.
e215c478 993
edf66db1 994Thu Sep 1 03:25:17 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 995
edf66db1 996 * Version 1.08.7.
e215c478 997
edf66db1
SP
998 * sysdeps/mach/hurd/connect.c (connect): Fix accidental renaming
999 of sun_path to sun_file_name.
e215c478 1000
edf66db1
SP
1001 * bare/Makefile (routines, elided-routines): Set these both to
1002 $(bare-routines).
1003 (distribute): Don't set this.
e215c478 1004
edf66db1 1005 * Makerules (distinfo-vars): Fix cmd to echo `sources' defn.
e215c478 1006
edf66db1
SP
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.
e215c478 1014
edf66db1 1015Wed Aug 31 01:15:26 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 1016
edf66db1
SP
1017 * hurd/hurdsig.c (_hurd_internal_post_signal: sigwakeup): Take no
1018 args; use parent SS variable. Changed all calls.
e215c478 1019
edf66db1
SP
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.
e215c478 1027
edf66db1
SP
1028 * math/test-math.c (print_trig_stuff): New function, tests many
1029 math functions.
1030 (main): Call it at end.
e215c478 1031
edf66db1
SP
1032 * string/Makefile (tests): Added test-ffs.
1033 * string/test-ffs.c: New file.
e215c478 1034
edf66db1 1035Tue Aug 30 20:33:49 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 1036
edf66db1
SP
1037 * misc/fstab.c (error): Return void.
1038 (fstabscan): Return int.
e215c478 1039
edf66db1 1040 * sysdeps/i386/ffs.c: Use & modifier in constraint for CNT.
e215c478 1041
edf66db1
SP
1042 * misc/fstab.c (EFTYPE): If not defined by errno.h, define this to
1043 EINVAL.
1044 (fstabscan): Return void.
e215c478 1045
edf66db1 1046Tue Aug 30 11:00:01 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu>
e215c478 1047
edf66db1
SP
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.
e215c478 1054
edf66db1 1055Tue Aug 30 03:59:38 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 1056
edf66db1
SP
1057 * socket/sys/socket.h (__SOCKADDR_ARG) [GCC>=2.6]: Use a typedef
1058 with the transparent_union attribute.
e215c478 1059
edf66db1
SP
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.
e215c478 1063
edf66db1 1064 * sysdeps/mach/mips/syscall.S: New file.
e215c478 1065
edf66db1
SP
1066 * stdio/Makefile (mpn-headers, mpn-sysdep): Change asm.h to
1067 asm-syntax.h.
e215c478 1068
edf66db1
SP
1069 * misc/Makefile (headers): Added fstab.h.
1070 (routines): Added fstab.
1071 * misc/fstab.c: New file.
1072 * misc/fstab.h: New file.
e215c478 1073
edf66db1
SP
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
1124Mon 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
1134Fri 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
1167Thu 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
1172Tue 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
1193Mon 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
1308Fri 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
1335Fri 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
1346Wed 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
1381Tue 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.
e215c478 1386
edf66db1
SP
1387 * sysdeps/mach/thread_state.h (machine_get_state,
1388 machine_get_basic_state): Initialize count arg before calling
1389 thread_get_state.
e215c478 1390
edf66db1 1391 * hurd/hurdpath.c (__hurd_path_lookup_retry): Initialize ERR to zero.
e215c478 1392
edf66db1 1393 * hurd/hurdpath.c (__hurd_path_lookup_retry): Grok magic "tty".
e215c478 1394
edf66db1
SP
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.
e215c478 1401
edf66db1 1402 * hurd/hurdrlimit.c (_hurd_rlimits): Add braces to initializer.
e215c478 1403
edf66db1
SP
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.
e215c478 1406
edf66db1
SP
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.
e215c478 1411
edf66db1
SP
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.
e215c478 1417
edf66db1 1418Mon Aug 15 17:21:20 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 1419
edf66db1
SP
1420 * Rules [cross-compiling=yes] (tests): Depend on the binaries, not
1421 the output files.
e215c478 1422
edf66db1
SP
1423 * Makerules: Replace uses of HOST_CC with BUILD_CC and
1424 native-CFLAGS with BUILD_CFLAGS.
e215c478 1425
edf66db1
SP
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.
e215c478 1431
edf66db1
SP
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.
e215c478 1435
edf66db1
SP
1436 * sysdeps/m68k/fpu/__math.h: Replace all uses of __const with
1437 __CONSTVALUE.
e215c478 1438
edf66db1
SP
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.
e215c478 1451
edf66db1
SP
1452 * time/test_time.c (main): Set TBUF.tm_isdst to -1 before calling
1453 mktime.
e215c478 1454
edf66db1
SP
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.
e215c478 1459
edf66db1
SP
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.
e215c478 1463
edf66db1
SP
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.
e215c478 1467
edf66db1 1468Thu Aug 11 11:59:33 1994 Noel Cragg (noel@churchy.gnu.ai.mit.edu)
e215c478 1469
edf66db1
SP
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.
e215c478 1472
edf66db1 1473Thu Aug 11 02:26:37 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 1474
edf66db1 1475 * resolv/Makefile (subdir): Set to resolv, not res.
e215c478 1476
edf66db1
SP
1477 * sysdeps/mach/hurd/sysd-stdio.c (fd_fail): Pass ERR to
1478 _hurd_raise_signal.
e215c478 1479
edf66db1
SP
1480 * sysdeps/mach/i386/thread_state.h (struct machine_thread_all_state):
1481 Add new member `fpu'.
e215c478 1482
edf66db1 1483Wed Aug 10 23:39:49 1994 Karl Heuer <kwzh@hal.gnu.ai.mit.edu>
e215c478 1484
edf66db1 1485 * malloc/mcheck.c (mcheck): Remove obsolete extern declaration.
e215c478 1486
edf66db1
SP
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.
e215c478 1490
edf66db1
SP
1491 * malloc/mtrace.c (mtrace): Guard against being called twice.
1492 (muntrace): New function, to turn off tracing.
1493 * malloc/malloc.h: Declare it.
e215c478 1494
edf66db1 1495Wed Aug 10 02:47:24 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 1496
edf66db1
SP
1497 * sysdeps/mach/hurd/mips/sigcontext.h (struct sigcontext): Renamed
1498 member `sc_err' to `sc_error'.
e215c478 1499
edf66db1
SP
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].
e215c478 1503
edf66db1
SP
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.
e215c478 1509
edf66db1 1510 * hurd/hurd/fd.h (_hurd_fd_error): Pass ERR to _hurd_raise_signal.
e215c478 1511
edf66db1
SP
1512 * stdlib/stdlib.h [__OPTIMIZE__] (cfree, rand, srand, random,
1513 srandom, initstate, setstate): Macros removed.
e215c478 1514
edf66db1
SP
1515 * malloc/mcheck.c (reallochook): Fixed typo.
1516 (mabort) [! __GNU_LIBRARY__]: Use fprintf and abort instead of
1517 __libc_fatal.
e215c478 1518
edf66db1
SP
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.
e215c478 1524
edf66db1 1525Tue Aug 9 19:20:29 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 1526
edf66db1
SP
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.
e215c478 1530
edf66db1
SP
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 *'.
e215c478 1534
edf66db1
SP
1535 * inet/inet_netof.c: Incorporated from BSD 4.4-Lite.
1536 * inet/inet_net.c: Incorporated from BSD 4.4-Lite.
e215c478 1537
edf66db1 1538Tue Aug 9 18:28:40 1994 Karl Heuer <kwzh@hal.gnu.ai.mit.edu>
e215c478 1539
edf66db1
SP
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.
e215c478 1544
edf66db1
SP
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.
e215c478 1549
edf66db1 1550Mon Aug 8 01:20:56 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 1551
edf66db1
SP
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'.
e215c478 1559
edf66db1
SP
1560 * res: Directory renamed to resolv.
1561 * sysdeps/unix/inet/Subdirs: Change res to resolv.
e215c478 1562
edf66db1 1563 * Version 1.08.6.
e215c478 1564
edf66db1
SP
1565 * sysdeps/sparc/divrem.m4 (DEVELOP_QUOTIENT_BITS): Use ** instead of
1566 ^ for exponentiation. Pinard says it is more portable.
e215c478 1567
edf66db1
SP
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.
e215c478 1572
edf66db1
SP
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.
e215c478 1577
edf66db1 1578 * sysdeps/mach/i386/Implies: File removed; it was superfluous.
e215c478 1579
edf66db1
SP
1580 * sysdeps/sparc/divrem.m4 (Lgot_result): Add more quotes in ifelse.
1581
1582 * configure.in (fpu_dirs): Fixed typo.
1583
1584Sun 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
1607Wed 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
1624Tue 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
1641Mon 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
1648Sun 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
1709Fri 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
1737Thu 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
1761Wed 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.
e215c478 1765
edf66db1 1766Mon Jul 25 17:17:28 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 1767
edf66db1
SP
1768 * sysdeps/sparc/divrem.m4 (Lgot_result) [S=true]: Only test SIGN
1769 and negate for [OP=div].
e215c478 1770
edf66db1
SP
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.
e215c478 1776
edf66db1
SP
1777 * posix/glob/configure.bat: New file.
1778 * posix/Makefile (glob.tar): Add glob/configure.bat.
e215c478 1779
edf66db1
SP
1780 * sysdeps/unix/opendir.c: Fail with ENOENT when passed "".
1781 Check STATBUF and fail with ENOTDIR if it's not a directory.
e215c478 1782
edf66db1 1783Mon Jul 25 15:44:18 1994 Noel Cragg (noel@churchy.gnu.ai.mit.edu)
e215c478 1784
edf66db1 1785 * time/mktime.c: Fix range-checking bug in NORMALIZE macro.
e215c478 1786
edf66db1 1787Fri Jul 22 02:42:44 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
e215c478 1788
edf66db1
SP
1789 * sysdeps/unix/readdir.c: Search for NUL character to limit
1790 d_namlen. Some systems return very bogus values.
e215c478 1791
edf66db1 1792 * sysdeps/unix/sysv/sysv4/i386/sysdep.h (PSEUDO): Remove ret at end.
e215c478 1793
edf66db1 1794 * mach/Makefile (mach-shortcuts): Filter out device_writev_request.
e215c478 1795
edf66db1
SP
1796 * limits.h (_LIBC_LIMITS_H_): Don't define if already defined.
1797 [__GNUC__ < 2]: Only protect this section from multiple inclusion.
e215c478 1798
edf66db1
SP
1799 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
1800 Declare SIGSP volatile.
e215c478 1801
edf66db1
SP
1802 * hurd/hurdinit.c (_hurd_setproc): Fixed arg in
1803 _hurd_pgrp_changed_hook decl.
e215c478 1804
edf66db1
SP
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.
e215c478 1808
edf66db1
SP
1809Wed 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.
e215c478 1813
edf66db1
SP
1814 * hurd/hurdpath.c (__hurd_path_lookup): Skip over initial slashes
1815 before calling __dir_pathtrans.
e215c478 1816
edf66db1 1817Tue Jul 19 15:28:39 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1818
edf66db1
SP
1819 * mach/Makefile (user-interfaces): Add mach/mach4.
1820 (mach-shortcuts): Match all syscall_% again; the missing ones are in
1821 mach4.defs.
e215c478 1822
edf66db1
SP
1823 * mach/Machrules (%.ir): Match SimpleRoutine as well as Routine
1824 comments.
e215c478 1825
edf66db1 1826 * sysdeps/mach/hurd/Makefile ($(hurd)/errlist.c): Use -f flag to mv.
e215c478 1827
edf66db1 1828Sat Jul 16 00:42:30 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1829
edf66db1
SP
1830 * Makerules [install]: Rewrite this rule to use install-bin.
1831 [install-sbin]: New rule parallel to that one, installs in $(sbindir).
e215c478 1832
edf66db1
SP
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.
e215c478 1840
edf66db1 1841 * posix/Makefile (install-bin): Set this instead of install.
e215c478 1842
edf66db1
SP
1843 * Makeconfig (datadir): Default to $(prefix)/share, not $(prefix)/lib.
1844 (sbindir): New variable.
1845 (sysconfdir): Variable renamed from etcdir.
e215c478 1846
edf66db1 1847 * sysdeps/unix/bsd/sun/signum.h: New file; no SIGINFO, SIGLOST is 29.
e215c478 1848
edf66db1 1849 * sysdeps/unix/sysv/sco3.2.4/uname.S: New file from Scott Bartram.
e215c478 1850
edf66db1 1851 * sysdeps/unix/sysv/sco3.2.4/__getgrps.c: Include alloca.h.
e215c478 1852
edf66db1
SP
1853 * configure.in (INSTALL): If it is $srcdir/install.sh after
1854 AC_PROG_INSTALL, reset it to '$(..)./install.sh'.
e215c478 1855
edf66db1
SP
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.
e215c478 1859
edf66db1
SP
1860 * sysdeps/mach/hurd/send.c: Fix portsPoly arg to __socket_send.
1861 * sysdeps/mach/hurd/sendto.c: Likewise.
e215c478 1862
edf66db1
SP
1863 * sysdeps/mach/hurd/recv.c: Pass &BUFP, not BUFP.
1864 * sysdeps/mach/hurd/recvfrom.c: Likewise.
e215c478 1865
edf66db1 1866 * sysdeps/mach/hurd/connect.c: Include <hurd/ifsock.h>.
e215c478 1867
edf66db1
SP
1868 * sysdeps/mips/dec/bytesex.h: New file.
1869 * sysdeps/mips/p40/bytesex.h: New file.
e215c478 1870
edf66db1 1871Fri Jul 15 23:12:06 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1872
edf66db1
SP
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.
e215c478 1878
edf66db1
SP
1879 * time/sys/time.h (struct timespec): New type.
1880 (TIMEVAL_TO_TIMEPSEC, TIMESPEC_TO_TIMEVAL): New macros.
e215c478 1881
edf66db1 1882Thu Jul 14 15:43:39 1994 Brendan Kehoe (brendan@zen.org)
e215c478 1883
edf66db1
SP
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.
e215c478 1890
edf66db1 1891 * sysdeps/unix/sysv/sysv4/solaris2/fsync.S: New file.
e215c478 1892
edf66db1 1893Tue Jul 12 00:57:08 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1894
edf66db1
SP
1895 * mach/Makefile (mach-shortcuts): Only match known Mach
1896 subsystems: vm, task, mach_port, and thread.
e215c478 1897
edf66db1 1898Mon Jul 11 20:18:29 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1899
edf66db1
SP
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.
e215c478 1905
edf66db1
SP
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.
e215c478 1912
edf66db1
SP
1913 * mach/Makefile [! mach-shortcuts] (user-interfaces): Also filter
1914 out device/device_request.
e215c478 1915
edf66db1 1916Mon Jul 11 17:50:14 1994 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu)
e215c478 1917
edf66db1
SP
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.
e215c478 1922
edf66db1 1923Sun Jul 10 19:04:24 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1924
edf66db1 1925 * sysdeps/mach/hurd/bind.c: Call __hurd_invoke_translator.
e215c478 1926
edf66db1
SP
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.
e215c478 1932
edf66db1
SP
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.
e215c478 1937
edf66db1
SP
1938 * hurd/hurd/fd.h (_hurd_fd_error_signal): Return SIGLOST for
1939 MIG_SERVER_DIED.
e215c478 1940
edf66db1 1941 * time/strftime.c: Make %j value 1-origin instead of 0-origin.
e215c478 1942
edf66db1 1943Sat Jul 9 02:31:23 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1944
edf66db1
SP
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.
e215c478 1948
edf66db1
SP
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.
e215c478 1961
edf66db1
SP
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.
e215c478 1967
edf66db1
SP
1968 * sysdeps/mach/i386/machine-lock.h: Use __volatile in place of
1969 volatile to work with -traditional.
e215c478 1970
edf66db1 1971Fri Jul 8 21:06:43 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1972
edf66db1
SP
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.
e215c478 1977
edf66db1 1978Fri Jul 8 20:26:49 1994 Brendan Kehoe (brendan@zen.org)
e215c478 1979
edf66db1
SP
1980 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile (sysdep-CFLAGS): Set
1981 this to include the -mhard-quad-float option.
e215c478 1982
edf66db1
SP
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.
e215c478 1986
edf66db1 1987Fri Jul 8 13:54:54 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1988
edf66db1
SP
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.
e215c478 1992
edf66db1
SP
1993 * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Don't define _ERRNO_H if
1994 already defined.
e215c478 1995
edf66db1
SP
1996 * posix/gnu/types.h (__ino_t): Make this unsigned int instead of
1997 unsigned long int (matters for Alpha).
e215c478 1998
edf66db1
SP
1999 * Makeconfig (+gccopt): Variable removed.
2000 (+cflags): Don't use it.
2001 (CPPFLAGS): Append $(sysdep-CPPFLAGS).
2002 (CFLAGS): Append $(sysdep-CFLAGS).
e215c478 2003
edf66db1
SP
2004 * sysdeps/mach/hurd/__ioctl.c: In MSGID calculation, skip blocks
2005 of 100 for request commands >= 100, to allow for the reply msgids.
e215c478 2006
edf66db1 2007Thu Jul 7 19:07:00 1994 Brendan Kehoe (brendan@zen.org)
e215c478 2008
edf66db1
SP
2009 * sysdeps/unix/bsd/osf1/dirstream.h (DIR): Make __allocation
2010 member be int, not size_t (which is a long).
e215c478 2011
edf66db1 2012Thu Jul 7 15:21:15 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2013
edf66db1
SP
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
2020Tue 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.
e215c478 2027
edf66db1
SP
2028 * sysdeps/mach/hurd/__ioctl.c: Enable use of HURD_EINTR_RPC.
2029 Do ctty magic and check for EBACKGROUND to generate SIGTTOU.
e215c478 2030
edf66db1
SP
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.
e215c478 2034
edf66db1
SP
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.
e215c478 2037
edf66db1
SP
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.
e215c478 2041
edf66db1
SP
2042 * hurd/hurdsig.c (_S_sig_post): Add SIGTTIN and SIGTTOU cases,
2043 handled like SIGINT et al.
e215c478 2044
edf66db1 2045 * mach/devstream.c: Turn back on NL->CRNL translation.
e215c478 2046
edf66db1 2047 * stdio/xbug.c (main): Return instead of running off the end.
e215c478 2048
edf66db1 2049Mon Jul 4 16:57:13 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2050
edf66db1 2051 * Version 1.08.3.
e215c478 2052
edf66db1 2053Sat Jul 2 00:15:37 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2054
edf66db1
SP
2055 * sysdeps/mach/hurd/__ioctl.c: Account for three type fields in
2056 message buffer size.
e215c478 2057
edf66db1
SP
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.
e215c478 2062
edf66db1
SP
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.
e215c478 2068
edf66db1 2069 * misc/getpass.c: Fix typo resulting in newline not being removed.
e215c478 2070
edf66db1
SP
2071 * termios/sys/ttydefaults.h [TTYDEFCHARS] (ttydefchars): Cast
2072 _POSIX_VDISABLE to cc_t to avoid gcc warning.
e215c478 2073
edf66db1 2074Fri Jul 1 14:07:40 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2075
edf66db1 2076 * hurd/Makefile (user-interfaces): Add hurd/ifsock.
e215c478 2077
edf66db1 2078 * socket/sys/socket.h (AF_LOCAL): New macro.
e215c478 2079
edf66db1 2080 * sysdeps/mach/hurd/__kill.c: Fix SIGKILL loop condition.
e215c478 2081
edf66db1 2082Fri Jul 1 13:36:27 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu)
e215c478 2083
edf66db1
SP
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.
e215c478 2087
edf66db1 2088Thu Jun 30 18:47:48 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu)
e215c478 2089
edf66db1
SP
2090 * hurd/hurdsock.c (_hurd_socket_server): Zero up to and *including*
2091 new[DOMAIN].
e215c478 2092
edf66db1 2093Thu Jun 30 08:12:28 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2094
edf66db1 2095 * hurd/hurdsig.c (abort_all_rpcs): Just iterate over _hurd_sigstates.
e215c478 2096
edf66db1 2097 * hurd/dtable.c (fork_child_dtable): Skip empty descriptor slots.
e215c478 2098
edf66db1 2099 * sysdeps/mach/hurd/__ioctl.c: Fix MSG.data size calculation.
e215c478 2100
edf66db1 2101Wed Jun 29 19:06:54 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2102
edf66db1
SP
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.
e215c478 2108
edf66db1 2109Tue Jun 28 16:03:15 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2110
edf66db1
SP
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.
e215c478 2124
edf66db1
SP
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.
e215c478 2128
edf66db1
SP
2129 * sysdeps/mach/hurd/__setitmr.c (fork_itimer): New function, on
2130 _hurd_fork_child_hook.
e215c478 2131
edf66db1
SP
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.
e215c478 2136
edf66db1
SP
2137 * sysdeps/unix/sysv/sysv4/sigset.h (_EXTERN_INLINE): Define to
2138 `extern __inline', not empty.
e215c478 2139
edf66db1 2140 * sysdeps/mach/hurd/ttyname.c: Don't bother searching /dev.
e215c478 2141
edf66db1 2142Sat Jun 25 15:41:29 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2143
edf66db1
SP
2144 * sysdeps/mach/hurd/__fork.c: Moved proc_task2pid call to just
2145 before proc_child. It is a waste to do it earlier.
e215c478 2146
edf66db1 2147Sat Jun 25 13:17:39 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
e215c478 2148
edf66db1
SP
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.
e215c478 2152
edf66db1 2153Fri Jun 24 20:21:11 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2154
edf66db1 2155 * sysdeps/posix/getcwd.c: Remove empty `#define'.
e215c478 2156
edf66db1 2157Fri Jun 24 17:57:36 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu)
e215c478 2158
edf66db1
SP
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.
e215c478 2162
edf66db1 2163Fri Jun 24 01:41:41 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2164
edf66db1
SP
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.
e215c478 2175
edf66db1
SP
2176 * sysdeps/mach/hurd/__fork.c: Use __proc_{get,set}_arg_locations
2177 to propagate argv and envp locations to the child.
e215c478 2178
edf66db1
SP
2179 * stdio/freopen.c (freopen): If STREAM->__seen is clear, pass
2180 __stdio_close to __stdio_reopen.
e215c478 2181
edf66db1
SP
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
e215c478 2185
edf66db1 2186Thu Jun 23 01:14:36 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2187
edf66db1 2188 * termios/termios.h (CCEQ): New macro.
e215c478 2189
edf66db1 2190 * sysdeps/unix/sysv/irix4/__getgrps.c: Add missing __ to fn name.
e215c478 2191
edf66db1
SP
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).
e215c478 2199
edf66db1 2200Wed Jun 22 15:52:26 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2201
edf66db1 2202 * hurd/Makefile (sig): Add hurdkill.
e215c478 2203
edf66db1 2204Sat Jun 18 12:57:54 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 2205
edf66db1
SP
2206 * stdio/_itoa.h (_itoa): Change type of VALUE to unsigned long long.
2207 * stdio/_itoa.c (_itoa): Likewise.
e215c478 2208
edf66db1 2209Thu Jun 16 01:10:41 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 2210
edf66db1
SP
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.
e215c478 2221
edf66db1 2222 * sysdeps/mach/hurd/getcwd.c: Use new dir_readdir protocol.
e215c478 2223
edf66db1 2224 * hurd/msgstub.c: Add stubs for dir_changed, file_changed.
e215c478 2225
edf66db1 2226 * hurd/hurdsock.c (_hurd_socket_server): Removed unused label.
e215c478 2227
edf66db1 2228 * sysdeps/mach/hurd/__getdents.c: Use new dir_readdir protocol.
e215c478 2229
edf66db1
SP
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.
e215c478 2232
edf66db1 2233Tue Jun 14 14:10:03 1994 Brendan Kehoe (brendan@zen.org)
e215c478 2234
edf66db1 2235 * sysdeps/mips/setjmp.S: Refer to `$fp', not `fp'.
e215c478 2236
edf66db1 2237Tue Jun 14 00:50:54 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 2238
edf66db1 2239 * sysdeps/mach/hurd/__pipe.c: Set FDS[1], not FDS[2].
e215c478 2240
edf66db1 2241Mon Jun 13 06:48:48 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 2242
edf66db1
SP
2243 * sysdeps/unix/bsd/sun/sparc/sigtramp.c (trampoline): Use a
2244 comment instead of a pointless insn to reference %0 in final asm.
e215c478 2245
edf66db1
SP
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.
e215c478 2251
edf66db1 2252 * sysdeps/mach/hurd/__symlink.c: Complement _hurd_umask before ANDing.
e215c478 2253
edf66db1 2254Sat Jun 11 12:52:28 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2255
edf66db1
SP
2256 * sysdeps/mach/hurd/__fork.c: Can't insert dead name rights into
2257 child.
e215c478 2258
edf66db1 2259Sat Jun 11 05:19:47 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2260
edf66db1
SP
2261 * sysdeps/mach/hurd/i386/longjmp-ts.c: Set TS->uesp instead of
2262 TS->esp. Set TS->eip.
e215c478 2263
edf66db1
SP
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.
e215c478 2267
edf66db1 2268Fri Jun 10 02:04:51 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 2269
edf66db1
SP
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.
e215c478 2274
edf66db1 2275 * sysdeps/unix/sysv/sco3.2.4/Dist: Add sco_getgrp.S.
e215c478 2276
edf66db1
SP
2277 * crypt/speeds.c: Include signal.h and stdio.h first thing.
2278 [! SIGVTALRM]: Define NO_ITIMER.
e215c478 2279
edf66db1 2280 * sysdeps/unix/sysv/isc3/direct.h: New file.
e215c478 2281
edf66db1
SP
2282 * hurd/hurdinline.c: Include lock-intern.h before #define
2283 _EXTERN_INLINE.
e215c478 2284
edf66db1
SP
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.
e215c478 2289
edf66db1
SP
2290 * hurd/hurdsig.c (_hurd_siglock): Don't initialize it.
2291 (_hurdsig_init): Initialize _hurd_siglock at runtime.
e215c478 2292
edf66db1 2293Wed Jun 8 12:22:27 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 2294
edf66db1
SP
2295 * hurd/hurdid.c (_hurd_check_ids): Zero P->nuids and P->ngids after
2296 deallocating P->uids and P->ngids.
e215c478 2297
edf66db1 2298 * hurd/hurdioctl.c (_hurd_ioctl_handler_lists): Make defn initialized.
e215c478 2299
edf66db1 2300 * sysdeps/mach/hurd/__ioctl.c: Only try to unpack if IOC_OUT is set.
e215c478 2301
edf66db1
SP
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.
e215c478 2306
edf66db1 2307Tue Jun 7 01:58:20 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 2308
edf66db1 2309 * Makerules: Add -f to all mv commands missing it.
e215c478 2310
edf66db1
SP
2311 * hurd/Makefile (generate-inline): New canned sequence.
2312 (inline-%.c): Use it.
e215c478 2313
edf66db1 2314 * time/asia, time/europe, time/northamerica: New versions from ADO.
e215c478 2315
edf66db1 2316Mon Jun 6 21:36:04 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 2317
edf66db1 2318 * hurd/hurdid.c (init_id): New function.
e215c478 2319
edf66db1
SP
2320 * Makerules (+make-deps): Put first s cmd before $(sed-remove-objpfx).
2321 (sed-remove-objpfx): Replace occurrences at beginning of line too.
e215c478
RM
2322\f
2323
edf66db1 2324See ChangeLog.3 for earlier changes.