]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog.3
Update nss tests to new skeleton
[thirdparty/glibc.git] / ChangeLog.3
CommitLineData
edf66db1 1Sun Jun 5 14:34:12 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 2
edf66db1 3 * Version 1.08.1.
e215c478 4
edf66db1 5 * sysdeps/mach/hurd/ioctls.h (_IOR, _IOW): Swap IOC_IN and IOC_OUT.
e215c478 6
edf66db1
SP
7 * sysdeps/mach/hurd/__ioctl.c: Only pack input for ioctls that
8 take input. Compute expected reply size for ioctls that take
9 output and check it properly.
e215c478 10
edf66db1 11Sat Jun 4 00:35:42 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 12
edf66db1
SP
13 * sysdeps/mach/hurd/ioctls.h (union __ioctl): Type removed.
14 (enum __ioctl_datum): Name this enum.
15 (_IOC_INOUT, _IOC_GROUP, _IOC_COMMAND, _IOC_TYPE): New macros.
16 (_IOT_TYPE[012], _IOT_COUNT[012]): New macros.
17 * sysdeps/mach/hurd/__ioctl.c: Use those macros instead of the union.
e215c478 18
edf66db1
SP
19 * sysdeps/mach/hurd/__fork.c: Major rewrite. Copy all ports
20 present in the task, not just library-maintained ones. Handle
21 sigstate and signal thread setup explicitly here.
22 * hurd/hurdsig.c (hurdsig_fork, hurdsig_fork_child): Functions
23 removed.
e215c478 24
edf66db1 25 * hurd/hurdpid.c (init_pids): Don't put this on _hurd_fork_child_hook.
e215c478 26
edf66db1 27 * sysdeps/mach/hurd/__isatty.c: New file.
e215c478 28
edf66db1
SP
29 * hurd/hurdsock.c (_hurd_socket_server): Pass NP to __path_lookup,
30 not NAME (most of which is uninitialized).
e215c478 31
edf66db1
SP
32 * hurd/hurdsig.c (_hurdsig_init): Don't check for _hurd_msgport
33 being non-null; always initialize it.
e215c478 34
edf66db1 35Fri Jun 3 21:57:14 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 36
edf66db1
SP
37 * hurd/hurdrlimit.c (init_rlimit): Restore __mutex_init call.
38 (_hurd_rlimit_lock): Set initializer to random value; run-time
39 initialization is always required.
e215c478 40
edf66db1
SP
41 * inet/rcmd.c (rcmd): Compute max fd + 1 for select instead of
42 hardcoding 32.
e215c478 43
edf66db1 44Wed Jun 1 10:52:41 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu)
e215c478 45
edf66db1
SP
46 * hurd/hurdrlimit.c (_hurd_rlimits, _hurd_rlimit_lock): Provide
47 initializers so that the file is included in the link properly.
48 (init_rlimit): Omit call to __mutex_init.
e215c478 49
edf66db1 50Tue May 31 18:15:33 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 51
edf66db1
SP
52 * hurd/hurdmalloc.c (more_memory): Do spin_lock_init on H->lock.
53 (malloc_init): New function; put it on _hurd_preinit_hook.
e215c478 54
edf66db1
SP
55 * sysdeps/mach/hurd/defs.c (init_stdio): If stream already
56 allocated, don't allocate a new one. Don't crash if _hurd_alloc_fd
57 returns null if __newstream does.
e215c478 58
edf66db1
SP
59 * sysdeps/mach/hurd/__brk.c (init_brk): If _hurd_brk is nonzero,
60 leave it as it is. Set PAGEND from _hurd_brk instead of &_end.
e215c478 61
edf66db1 62Mon May 30 18:37:47 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 63
edf66db1
SP
64 * hurd/hurdrlimit.c (init_rlimit): Put this on _hurd_preinit_hook
65 instead of _hurd_subinit.
e215c478 66
edf66db1
SP
67 * sysdeps/mach/hurd/mig-reply.c (mig_fork_child): Function removed.
68 * hurd/dtable.c (fork_parent_dtable): Function removed.
e215c478 69
edf66db1
SP
70 * sysdeps/generic/resourcebits.h: Rename RLIM_NLIMITS to
71 RLIMIT_NLIMITS, add alias for old name.
e215c478 72
edf66db1
SP
73 * sysdeps/mach/hurd/Makefile (hurd-objpfx): New variable.
74 (before-compile): Use that instead of $(common-objpfx).
e215c478 75
edf66db1 76 * sysdeps/mach/Makefile [! objpfx] (mach-objpfx): Add trailing slash.
e215c478 77
edf66db1 78Fri May 27 01:34:56 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 79
edf66db1 80 * hurd/hurdsig.c (_hurdsig_init): Always initialize _hurd_sigthread.
e215c478 81
edf66db1
SP
82 * hurd/dtable.c: Use data_set_element instead of text_set_element
83 for _hurd_fork_locks.
84 * hurd/hurdsig.c: Likewise.
e215c478 85
edf66db1 86 * hurd/hurd.h (_hurd_set_data_limit): Declaration removed.
e215c478 87
edf66db1
SP
88 * hurd/dtable.c (_hurd_dtable_rlimit): Variable removed.
89 (init_dtable): Don't set it.
e215c478 90
edf66db1
SP
91 * hurd/Makefile (headers): Add hurd/resource.h.
92 (routines): Add hurdrlimit.
93 * hurd/hurd/resource.h: New file.
94 * hurd/hurdrlimit.c: New file.
95 * sysdeps/mach/hurd/getrlimit.c: Rewritten to just fetch
96 _hurd_rlimits.
97 * sysdeps/mach/hurd/setrlimit.c: Rewritten to just set _hurd_rlimits.
98 * sysdeps/mach/hurd/__brk.c (_hurd_data_limit): Variable removed.
99 (_hurd_set_brk): Use _hurd_rlimits[RLIMIT_DATA].
100 (_hurd_set_data_limit): Function removed.
101 * hurd/alloc-fd.c (_hurd_dtable_rlimit): Variable removed.
102 (_hurd_alloc_fd): Use _hurd_rlimits[RLIMIT_OFILE] instead.
e215c478 103
edf66db1
SP
104 * sysdeps/generic/resourcebits.h: Add RLIMIT_NOFILE as an alias
105 for RLIMIT_OFILE.
e215c478 106
edf66db1
SP
107 * sysdeps/mach/hurd/mig-reply.c (__mig_init): Argument is stack
108 on which to set the per-thread reply port variable.
e215c478 109
edf66db1
SP
110 * sysdeps/mach/hurd/__brk.c (init_brk): Set _hurd_data_end to
111 DATA_SIZE bytes past the beginning of data space, rather than to
112 DATA_SIZE absolutely. If vm_map fails, set it to PAGEND.
e215c478 113
edf66db1
SP
114 * sysdeps/mach/hurd/start.c (_start): Run _hurd_preinit_hook right
115 after __mach_init.
e215c478 116
edf66db1
SP
117 * stdio/freopen.c (freopen): Rewritten using __stdio_reopen to
118 preserve the old cookie value when possible.
119 * sysdeps/posix/sysd-stdio.c (__stdio_reopen): New function.
120 * sysdeps/stub/sysd-stdio.c (__stdio_reopen): New function.
121 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): New function.
e215c478 122
edf66db1 123 * stdio/freopen.c (freopen): Close the stream if MODE is invalid.
e215c478 124
edf66db1 125 * hurd/hurdsig.c (_hurd_core_limit): Define variable.
e215c478 126
edf66db1 127 * socket/sys/socket.h (PF_LOCAL): Define in preference to PF_FILE.
e215c478 128
edf66db1 129Thu May 26 12:09:51 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu)
e215c478 130
edf66db1
SP
131 * hurd/alloc-fd.c (_hurd_alloc_fd): Don't return EINVAL when
132 FIRST_FD is greater than _hurd_dtablesize and less than
133 _hurd_dtable_rlimit. If we want to grow _hurd_dtable, but
134 _hurd_dtablesize is as big as _hurd_dtable_rlimit, then return
135 EMFILE. When growing _hurd_dtable, actually do something if
136 _hurd_dtablesize is zero.
e215c478 137
edf66db1
SP
138 * hurd/hurdmalloc.c (malloc_fork_prepare, malloc_fork_parent,
139 malloc_fork_child): Declare as static so they don't conflict with
140 the user's version of this file.
e215c478 141
edf66db1 142Wed May 25 20:55:16 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 143
edf66db1
SP
144 * sysdeps/mach/hurd/__brk.c: Include <cthreads.h> instead of
145 <mutex.h>.
e215c478 146
edf66db1
SP
147 * hurd/hurdmalloc.c, hurd/hurdmalloc.h: New files (temporary hack).
148 * hurd/Makefile (routines): Append hurdmalloc.
149 (distribute): Append hurdmalloc.h.
150 * hurd/alloc-fd.c: Include "hurdmalloc.h" (temporary hack).
151 * hurd/dtable.c: Likewise.
152 * hurd/hurdinit.c: Likewise.
153 * hurd/hurdsig.c: Likewise.
154 * hurd/hurdsock.c: Likewise.
155 * hurd/new-fd.c: Likewise.
156 * sysdeps/mach/hurd/start.c: Likewise.
e215c478 157
edf66db1
SP
158 * sysdeps/mach/hurd/start.c (start1): Use malloc and a for loop
159 instead of calloc.
160 * hurd/hurdsig.c (_hurd_thread_sigstate): Use malloc and memset
161 instead of calloc.
e215c478 162
edf66db1
SP
163 * sysdeps/mach/hurd/__brk.c (init_brk): Reference self to avoid
164 compiler warning. Add init_brk to _hurd_preinit_hook instead of
165 __libc_subinit.
e215c478 166
edf66db1
SP
167 * sysdeps/mach/hurd/start.c (_hurd_preinit_hook): New variable.
168 (start1): Run _hurd_preinit_hook before threadvar setup.
e215c478 169
edf66db1 170Tue May 24 17:42:34 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 171
edf66db1
SP
172 * hurd/dtable.c (init_dtable): Initialize _hurd_dtablesize to
173 _hurd_init_dtablesize. Initialize _hurd_dtable_rlimit as
174 _hurd_dtablesize used to be set, but don't let it be zero.
175 (_hurd_dtable_rlimit): New variable.
e215c478 176
edf66db1 177Tue May 24 12:57:19 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu)
e215c478 178
edf66db1
SP
179 * sysdeps/mach/sleep.c (sleep): Timeout arg to mach_msg is
180 in milliseconds, not microseconds; compute it accordingly.
e215c478 181
edf66db1
SP
182 * sysdeps/mach/hurd/__select.c (__select): Deleted variables
183 DTABLE and DTABLE_ULINK. Use new vars _hurd_dtablesize and
184 _hurd_dtable instead of old _hurd_dtable structure. Use new
185 locking protocol on _hurd_dtable.
e215c478 186
edf66db1 187Tue May 24 01:55:24 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 188
edf66db1 189 * sysdeps/mach/hurd/__setitmr.c: Don't include mutex.h.
e215c478 190
edf66db1 191 * sysdeps/mach/hurd/defs.c (init_stdio): Reference self.
e215c478 192
edf66db1
SP
193 * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Include
194 sysdeps/unix/sysv/i386/sysdep.h, not sysdeps/unix/i386/sysdep.h
e215c478 195
edf66db1 196Mon May 23 19:05:44 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 197
edf66db1 198 * sysdeps/mach/hurd/Makefile (mib_hacks, defines): Variables removed.
e215c478 199
edf66db1
SP
200 * mach/devstream.c (mach_open_devstream): Set STREAM's seek and
201 fileno io functions to null.
e215c478 202
edf66db1
SP
203 * hurd/hurdexec.c (_hurd_exec): Fixed adding of dtable ports to
204 PLEASE_DEALLOC array.
e215c478 205
edf66db1
SP
206 * sysdeps/mach/hurd/defs.c (init_stdio): Unlock the descriptors
207 after fetching them. If a standard descriptor is not allocated,
208 allocate the structure and store its pointer in the stream anyway.
e215c478 209
edf66db1 210 * stdio/gets.c: Only return null on P==S if feof (STREAM).
e215c478 211
edf66db1 212 * stdio/vfprintf.c: Make %Z a type modifier, not a format spec.
e215c478 213
edf66db1 214 * sysdeps/mach/hurd/fdopen.c: Return NULL rather than -1 for error.
e215c478 215
edf66db1 216Mon May 23 14:24:50 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu)
92c3af3c 217
edf66db1
SP
218 * sysdeps/mach/hurd/__close.c (__close): Use new _hurd_fd_get
219 protocol.
220 * sysdeps/mach/hurd/__dup2.c (__dup2): Likewise. Use
221 _hurd_dtablesize and _hurd_dtable instead of old _hurd_dtable
222 structure.
92c3af3c 223
edf66db1
SP
224 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_seek): Use
225 HURD_FD_PORT_USE, not HURD_FD_USE.
226 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Variable
227 is D, not FD.
92c3af3c 228
edf66db1
SP
229 * hurd/alloc-fd.c (_hurd_alloc_fd): Arg FIRST_FD is not actually
230 const.
231 * hurd/hurdsig.c (_hurd_internal_post_signal [case SIGINFO]): If
232 we are not the process group leader, ignore the signal.
233 (_S_sig_post [case SIGURG]): Declaration of D was out of place.
92c3af3c 234
edf66db1
SP
235 * sysdeps/mach/hurd/fdopen.c: Include <hurd/io.h> for
236 io_get_openmodes prototype.
92c3af3c 237
edf66db1 238Sat May 21 16:03:23 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 239
edf66db1 240 * assert/assert.c (__assert_fail): Put program name first in msg.
92c3af3c 241
edf66db1 242 * hurd/Makefile (dtable): Removed setdtsz.
92c3af3c 243
edf66db1
SP
244 * hurd/hurdexec.c: Use _hurd_dtable and _hurd_dtablesize instead of
245 old _hurd_dtable structure.
246 * hurd/hurdsig.c: Likewise.
247 * hurd/alloc-fd.c: Likewise.
248 * hurd/hurdioctl.c (rectty_dtable): Likewise.
92c3af3c 249
edf66db1 250 * Version 1.08 released.
92c3af3c 251
edf66db1
SP
252 * mach/mach_error_string.c: Renamed to errstring.c.
253 * mach/Makefile (routines): Renamed mach_error_string to errstring.
254 * mach/err_mach_ipc.sub: Renamed to err_mach.sub.
255 * mach/err_bootstrap.sub: Renamed to err_boot.sub.
92c3af3c 256
edf66db1
SP
257 * sysdeps/generic/sigset.h (__SIGSETFN): Take new arg CONST; use it
258 for CONST qualifier on SET arg to generated function.
259 Changed uses to pass it; sigismember passes __const, others empty.
92c3af3c 260
edf66db1
SP
261 * sysdeps/mach/hurd/sysd-stdio.c: Rewritten to use `struct hurd_fd *'s
262 for cookies.
263 * sysdeps/mach/hurd/fdopen.c: Rewritten accordinly.
264 * sysdeps/mach/hurd/defs.c (init_stdio): Rewritten accordingly.
265 Add it to the _hurd_fd_subinit hook instead of the __libc_subinit
266 hook.
267 * sysdeps/mach/hurd/stdio_init.c: New file.
268 * hurd/dtable.c (_hurd_fd_subinit): New hook variable.
269 (init_dtable): Run the _hurd_fd_subinit hook.
92c3af3c 270
edf66db1
SP
271 * hurd/hurd/fd.h (struct hurd_dtable): Type removed.
272 (_hurd_dtable_users, _hurd_dtable_rlimit): Variables removed.
273 (_hurd_dtable): Make this a struct hurd_fd **.
274 (_hurd_dtablesize): New variable.
275 (struct hurd_fd_user): Type removed.
276 (_hurd_dtable_get, _hurd_dtable_free, _hurd_dtable_fd): Functions
277 removed.
278 (_hurd_fd_get): Rewritten. Take just one arg, and look it up in
279 _hurd_dtable; return a struct hurd_fd *.
280 (HURD_FD_USE): Rewritten to use new _hurd_fd_get interface.
281 * hurd/dtable.c (_hurd_dtable_users, _hurd_dtable_rlimit):
282 Variables removed.
283 (_hurd_dtable): Make this a struct hurd_fd **.
284 (_hurd_dtablesize): New variable.
285 (init_dtable, fork_parent_dtable, fork_child_dtable,
286 ctty_new_pgrp, reauth_dtable): Use new simpler _hurd_dtable format.
287 * sysdeps/mach/hurd/__getdtsz.c: Use _hurd_dtablesize.
288 * sysdeps/mach/hurd/__fcntl.c: Use new _hurd_fd_get protocol.
92c3af3c 289
edf66db1 290 * hurd/dtable.c (get_dtable_port): Return the ctty port if set.
e215c478 291
edf66db1
SP
292 * hurd/hurd/fd.h (_hurd_fd_error_signal): New function, broken out
293 of _hurd_fd_error.
294 (_hurd_fd_error): Call it.
e215c478 295
edf66db1
SP
296 * hurd/Makefile (dtable): Add fd-close.
297 * hurd/fd-close.c: New file.
298 * hurd/hurd/fd.h: Declare _hurd_fd_close.
e215c478 299
edf66db1 300 * sysdeps/mach/hurd/__close.c: Call _hurd_fd_close.
e215c478 301
edf66db1
SP
302 * signal/Makefile (routines): Add sigsetops.
303 * signal/sigsetops.c: New file.
e215c478 304
edf66db1
SP
305 * sysdeps/unix/sysv/sysv4/sigset.h (_EXTERN_INLINE): New macro.
306 Use it for all the inline functions.
e215c478 307
edf66db1 308 * signal/signal.h: Move #include <signum.h> inside #ifdef _SIGNAL_H.
e215c478 309
edf66db1
SP
310 * sysdeps/generic/sigset.h: Protect types with #ifndef
311 _SIGSET_H_types. Protect rest with #if !defined (_SIGSET_H_fns)
312 && defined (_SIGNAL_H).
313 (__SIGSETFN): Add extern declaration of NAME inside function.
e215c478 314
edf66db1
SP
315 * sysdeps/unix/ioctls-tmpl.c: Add missing #endif.
316 * sysdeps/unix/Makefile (make-ioctls-CFLAGS): Remember -D.
e215c478 317
edf66db1 318Fri May 20 20:42:33 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 319
edf66db1
SP
320 * sysdeps/unix/Makefile (sys/termios.h): Variable removed.
321 (ioctl-includes): New variable.
322 (make-ioctls-CFLAGS): Compute value generally from $(ioctl-includes).
323 ($(common-objpfx)ioctls): Depend on $(ioctl-includes), instead of
324 $(sys/termios.h).
e215c478 325
edf66db1
SP
326 * sysdeps/unix/sysv/sco3.2.4/sco_getgrp.S: New file.
327 * sysdeps/unix/sysv/sco3.2.4/Makefile (sysdep_routines): Add
328 sco_getgrp.
329 * sysdeps/unix/sysv/sco3.2.4/__getgrps.c: New file.
e215c478 330
edf66db1
SP
331 * sysdeps/generic/sigset.h (__sigismember, __sigaddset, __sigdelset):
332 Rewritten as extern inline functions; check for bogus signal number.
e215c478 333
edf66db1
SP
334 * configure.in (names): Put $implied before $* in new $sysnames
335 list remaining to be processed; this ensures unix/common precedes
336 unix/sysv4 for sysv4.
e215c478 337
edf66db1 338Thu May 19 18:35:02 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
e215c478 339
edf66db1
SP
340 * sysdeps/mach/hurd/defs.c (init_stdio): Make stdin and stdout
341 line buffered and stderr unbuffered.
e215c478 342
edf66db1 343Thu May 19 16:14:36 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 344
edf66db1 345 * sysdeps/mach/hurd/getcwd.c: Remember to call io_stat on cwdir.
e215c478 346
edf66db1
SP
347 * sysdeps/generic/configure.in: Use changequote around if expr
348 to avoid [] elision.
e215c478 349
edf66db1 350Thu May 19 13:53:59 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
e215c478 351
edf66db1
SP
352 * hurd/hurdsock.c (_hurd_socket_server): Return EPFNOSUPPORT
353 rather than EPROTONOSUPPORT because it's the entire protocol
354 family that isn't present, not just one protocol.
e215c478 355
edf66db1
SP
356 * sysdeps/mach/hurd/__access.c (__access): Don't deallocate
357 CRDIR or CWDIR; that's taken care of by the _hurd_port_get
358 and _hurd_port_free system.
e215c478 359
edf66db1 360Thu May 19 04:14:57 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 361
edf66db1 362 * sysdeps/posix/libc_fatal.c: Include <errno.h>.
e215c478 363
edf66db1 364 * sysdeps/unix/sysv/sysv4/__sigact.c: Include <stddef.h> for NULL.
e215c478 365
edf66db1
SP
366 * sysdeps/mach/hurd/__access.c: Fix swapped poly and count args in
367 __auth_makeauth call.
e215c478 368
edf66db1
SP
369 * sysdeps/mach/hurd/ioctls.h (_IOC, _IOT): Rewritten using bitwise
370 operations, so the result is always technically a constant (the
371 old method of using a union constructor expression was not good
372 enough for initializers).
e215c478 373
edf66db1
SP
374 * hurd/hurdsock.c (_hurd_socket_server): If path_lookup returns
375 ENOENT, we return EPROTONOSUPPORT.
e215c478 376
edf66db1
SP
377 * hurd/Makefile (dtable): Add hurdioctl.
378 * hurd/dtable.c (rectty_dtable, tiocsctty, tiocnotty): Functions
379 moved:
380 * hurd/hurdioctl.c: New file.
381 (fioctl, fioclex): New functions.
382 * sysdeps/mach/hurd/__ioctl.c (_hurd_ioctl_handler_lists): Don't
383 define it, just declare it.
e215c478 384
edf66db1
SP
385 * sysdeps/mach/hurd/getcwd.c: Use MACH_PORT_RIGHT_SEND, not
386 MACH_PORT_TYPE_SEND, in mach_port_mod_refs call.
e215c478 387
edf66db1 388 * sysdeps/mach/hurd/__getpgrp.c: Don't lock _hurd_pid_lock.
e215c478 389
edf66db1
SP
390 * sysdeps/unix/common/glue-ctype.c: Don't include <ctype.h>.
391 Instead, add explicit extern declaration of TABLE in main.
e215c478 392
edf66db1 393Wed May 18 17:54:00 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 394
edf66db1 395 * sysdeps/m68k/Makefile (asm-CPPFLAGS): Append $(m68k-syntax-flag).
e215c478 396
edf66db1 397 * Version 1.07.6.
e215c478 398
edf66db1 399 * sunrpc/Makefile (+gccwarn): Set to -w.
e215c478 400
edf66db1
SP
401 * sysdeps/unix/Makefile (ifeq testing sys/param.h): Use patsubst
402 instead of dir to remove directory name from .../sys/param.h but
403 preserve "sys/".
e215c478 404
edf66db1 405 * inet/sys/bitypes.h: Replaced with just #include <sys/types.h>.
e215c478 406
edf66db1
SP
407 * posix/sys/utsname.h (_UTSNAME_NODENAME_LENGTH): If undefined,
408 define to _UTSNAME_LENGTH.
409 (struct utsname): Use _UTSNAME_NODENAME_LENGTH for `nodename' member.
410 * sysdeps/unix/bsd/sun/sunos4/utsnamelen.h (_UTSNAME_NODENAME_LENGTH):
411 Define it.
e215c478 412
edf66db1
SP
413 * resource/sys/resource.h (enum __rlimit_resource): Removed.
414 Just include <resourcebits.h> instead.
415 * resource/Makefile (headers): Add resourcebits.h.
416 * sysdeps/generic/resourcebits.h: New file.
417 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: New file.
e215c478 418
edf66db1 419 * stdio/test-popen.c (main): Use popen to read the file back, too.
e215c478 420
edf66db1 421 * sysdeps/unix/sysv/sysv4/i386/sysdep.h: New file.
e215c478 422
edf66db1 423 * sysdeps/unix/sysv/sysv4/i386/sys-sig.S: Fixed typo: movel->movl.
e215c478 424
edf66db1 425Tue May 17 12:46:31 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu)
e215c478 426
edf66db1
SP
427 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
428 __mach_task_self, __mach_host_self): New declarations of __
429 versions of syscall traps.
430 (swtch, __swtch, swtch_pri, __swtch_pri, thread_switch,
431 __thread_switch, evc_wait, __evc_wait): New prototypes.
432 * mach/Makefile (headers): Added mach/mach_traps.h so that the
433 GNU version is installed instead of the Mach version.
e215c478 434
edf66db1 435Mon May 16 15:34:12 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 436
edf66db1 437 * sysdeps/stub/sys/param.h: New file.
e215c478 438
edf66db1
SP
439 * mach/lock-intern.h (__mutex_lock, __mutex_unlock): Real definitions.
440 (__mutex_lock_solid, __mutex_unlock_solid, __mutex_init): Declare
e215c478 441 them.
edf66db1
SP
442 * mach/mutex-solid.c: New file.
443 * mach/Makefile (lock): Add mutex-solid.
444 (lock-headers): Remove mutex.h.
445 * mach/mutex.h: File removed.
446 * hurd/hurd/id.h: Include <cthreads.h> instead of <mutex.h>.
447 * hurd/hurd/signal.h: Likewise.
448 * hurd/hurdsig.c: Likewise.
449 * hurd/hurdsock.c: Likewise.
450 * hurd/dtable.c: Likewise.
451 * hurd/__setauth.c: Likewise.
452 * sysdeps/mach/hurd/Makefile (includes): Also append
453 -I$(hurd-srcdir)/libthreads.
454
455 * sysdeps/posix/system.c [WAITPID_CANNOT_BLOCK_SIGCHLD]: Don't
456 block SIGCHLD.
457 * sysdeps/unix/sysv/sco3.2.4/system.c
458 (WAITPID_CANNOT_BLOCK_SIGCHLD): Define this macro.
459
460 * sysdeps/posix/sigintr.c (siginterrupt) [! SA_RESTART]: Always
461 fail with ENOSYS.
462
463 * sysdeps/posix/__sigvec.c [! SA_ONSTACK]: Fail with ENOSYS if
464 SV_ONSTACK is set in VEC->sv_flags.
465 [SA_RESTART]: Protect SV_INTERRUPT check with this.
466
467 * sysdeps/mach/sysdep.h (FATAL_PREPARE): New macro.
468 * sysdeps/posix/libc_fatal.c: Include <sysdep.h>.
469 [FATAL_PREPARE]: Invoke the macro.
470 * assert/assert.c: Likewise.
471
472 * sysdeps/generic/memmem.c: Start BEGIN at HAYSTACK, not partway
473 into it. Loop until BEGIN passes the location in HAYSTACK with
474 NEEDLE_LEN bytes remaining to the end.
475 Compare first byte manually before calling memcmp.
476
477 * sysdeps/unix/sysv/sco3.2.4/__sigact.S: Fix typo.
478
479 * posix/sys/types.h [__USE_BSD] (int32_t, int16_t, int8_t,
480 u_int32_t, u_int16_t, u_int8_t): New typedefs.
481
482 * assert/assert.c (__assert_program_name): New variable.
483 (__assert_fail): Print that in the msg too.
484 [HAVE_GNU_LD] (set_progname): New function to set it up at startup.
485
486Thu May 12 01:10:52 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
487
488 * hurd/__setauth.c: Do critical section locking.
489 * hurd/hurdexec.c: Likewise.
490 * hurd/hurdauth.c (_S_del_auth): Likewise.
491 * hurd/getuids.c: Likewise.
492 * hurd/dtable.c: Likewise.
493 * hurd/alloc-fd.c: Likewise.
494 * hurd/hurd/port.h: Likewise.
495 * hurd/hurd/fd.h: Likewise.
496 * hurd/setuids.c: Likewise.
497 * hurd/intern-fd.c: Likewise.
498 * hurd/hurdsock.c (_hurd_socket_server): Likewise.
499 * sysdeps/mach/hurd/setrlimit.c: Likewise.
500 * sysdeps/mach/hurd/setgroups.c: Likewise.
501 * sysdeps/mach/hurd/seteuid.c: Likewise.
502 * sysdeps/mach/hurd/setegid.c: Likewise.
503 * sysdeps/mach/hurd/getrlimit.c: Likewise.
504 * sysdeps/mach/hurd/__setuid.c: Likewise.
505 * sysdeps/mach/hurd/__setreuid.c: Likewise.
506 * sysdeps/mach/hurd/__setregid.c: Likewise.
507 * sysdeps/mach/hurd/__setitmr.c: Likewise.
508 * sysdeps/mach/hurd/__setgid.c: Likewise.
509 * sysdeps/mach/hurd/__select.c: Likewise.
510 * sysdeps/mach/hurd/__sbrk.c: Likewise.
511 * sysdeps/mach/hurd/__getuid.c: Likewise.
512 * sysdeps/mach/hurd/__getpgrp.c: Likewise.
513 * sysdeps/mach/hurd/__getitmr.c: Likewise.
514 * sysdeps/mach/hurd/__getgrps.c: Likewise.
515 * sysdeps/mach/hurd/__getgid.c: Likewise.
516 * sysdeps/mach/hurd/__geteuid.c: Likewise.
517 * sysdeps/mach/hurd/__getegid.c: Likewise.
518 * sysdeps/mach/hurd/__getdtsz.c: Likewise.
519 * sysdeps/mach/hurd/__fork.c: Likewise.
520 * sysdeps/mach/hurd/__fcntl.c: Likewise.
521 * sysdeps/mach/hurd/__dup2.c: Likewise.
522 * sysdeps/mach/hurd/__close.c: Likewise.
523 * sysdeps/mach/hurd/__brk.c: Likewise.
524 * sysdeps/mach/hurd/__access.c: Likewise.
525
526 * sysdeps/mach/hurd/reboot.c (reboot): Use the host priv port to
527 prove authority.
528
529 * sysdeps/mach/hurd/__readlink.c: Don't request O_READ access.
530
531 * sysdeps/mach/hurd/__ioctl.c: Don't expect result data unless
532 return code is zero. Translate MIG_BAD_ID or EOPNOTSUPP to ENOTTY.
533
534 * mach/devstream.c (output): Use device_write instead of
535 device_write_inband.
536
537Wed May 11 18:49:31 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
538
539 * hurd/hurdinit.c (_hurd_init): Finsih loop of _hurd_port_init on
540 _hurd_ports elts before doing _hurd_proc_init or
541 __task_set_special_port.
e215c478 542
edf66db1
SP
543 * hurd/hurd/signal.h (struct hurd_sigstate): Add new
544 `critical_section' member. Remove #if 0'd out vfork crap.
545 (_hurd_critical_section_lock, _hurd_critical_section_unlock): New
546 functions.
547 (HURD_CRITICAL_BEGIN, HURD_CRITICAL_END): New macros.
e215c478 548
edf66db1
SP
549 * io/Makefile (headers): Add poll.h and sys/poll.h.
550 (routines): Add poll.
551 * sysdeps/unix/bsd/sun/sunos4/poll.S: New file.
552 * sysdeps/unix/sysv/poll.S: New file.
553 * sysdeps/unix/bsd/poll.c: New file.
554 * sysdeps/stub/poll.c: New file.
555 * io/poll.h, io/sys/poll.h: New files.
92c3af3c 556
edf66db1 557 * misc/bsd-compat.c (setjmp): New function.
92c3af3c 558
edf66db1
SP
559 * sysdeps/unix/Makefile (sysdep_headers): Remove sys/param.h.
560 * misc/Makefile (headers): Add it here instead.
92c3af3c 561
edf66db1
SP
562 * io/test-utime.c (main): New file.
563 * io/Makefile (tests): New variable.
92c3af3c 564
edf66db1 565Wed May 11 13:44:33 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
e215c478 566
edf66db1
SP
567 * hurd/hurd/threadvar.h (__hurd_errno_location): Remove
568 __volatile keyword. `volatile int errno' is not the same
569 as `int errno'; user programs often mention the latter.
570 * errno.h: Remove __volatile keyword; same reason.
e215c478 571
edf66db1 572Tue May 10 17:21:41 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 573
edf66db1 574 * time/zdump.c: New code from ADO.
e215c478 575
edf66db1
SP
576 * time/difftime.c (difftime): Use hairy rounding algorithm from
577 eggert@twinsun.com when sizeof (time_t) >= sizeof (double).
e215c478 578
edf66db1
SP
579 * Makerules (native-CFLAGS): Remove -I$(sysincludedir). RMS says
580 people with bogons in /usr/local/include deserve to lose.
e215c478 581
edf66db1
SP
582 * stdio/printf_fp.c (__printf_fp): If IS_NEG gets set, negate
583 FPNUM before testing it for %g format choice.
e215c478 584
edf66db1
SP
585 * sysdeps/unix/sysv/irix4/fcntlbits.h: New file.
586 * sysdeps/unix/sysv/irix4/Dist: New file.
587 * sysdeps/unix/sysv/irix4/readv.c: New file.
588 * sysdeps/unix/sysv/irix4/writev.c: New file.
589 * sysdeps/unix/sysv/irix4/__dup2.c: New file.
e215c478 590
edf66db1
SP
591 * sunrpc/xdr_float.c (xdr_float): Change [mc68000 || sparc] to [!
592 vax].
e215c478 593
edf66db1 594 * sysdeps/mips/setjmp.S: Remove spurious $.
e215c478 595
edf66db1 596 * sysdeps/generic/ftime.c: Include <errno.h>.
e215c478 597
edf66db1 598 * sysdeps/unix/mips/sysdep.S: Add .set noreorder.
e215c478 599
edf66db1 600Tue May 10 16:27:13 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
e215c478 601
edf66db1 602 * sysdeps/generic/termbits.h (NCCS): Doc fix.
e215c478 603
edf66db1 604Mon May 9 18:07:44 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
e215c478 605
edf66db1
SP
606 * sysdeps/mach/hurd/uname.c (uname): System uname information
607 has moved from init to proc.
e215c478 608
edf66db1
SP
609 * sysdeps/mach/usleep.c (usleep): Return correct value. Destroy
610 RECV when we're done with it.
e215c478 611
edf66db1 612Thu May 5 17:03:56 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
e215c478 613
edf66db1 614 * sysdeps/mach/hurd/__lstat.c: Use O_NOLINK instead of O_NOTRANS.
e215c478 615
edf66db1 616Thu May 5 04:20:54 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 617
edf66db1 618 * mach/spin-lock.h (spin_lock_init): Define.
e215c478 619
edf66db1
SP
620 * sysdeps/mach/hurd/sigsuspend.c: New local variable NEWMASK, set
621 it to *SET if SET is not null, before taking SS->lock; don't
622 dereference SET while holding the lock. Restore SS->blocked to
623 OLDMASK before unlocking and returning.
e215c478 624
edf66db1 625 * hurd/hurdsig.c (hurdsig_fork_child): Return zero.
e215c478 626
edf66db1
SP
627 * sysdeps/mach/hurd/__fork.c (_hurd_fork_parent_hook,
628 _hurd_fork_prepare_hook)): Define variables (symbol sets).
629 (__fork): Run _hurd_fork_prepare_hook and _hurd_fork_parent_hook.
e215c478 630
edf66db1
SP
631 * sysdeps/mach/hurd/sigsuspend.c: Don't test SS->pending; instead
632 wait until SS->suspended is cleared.
633 * hurd/hurdsig.c (_hurd_internal_post_signal): Clear SS->suspended
634 before signalling on SS->arrived.
e215c478 635
edf66db1 636 * mach/Makefile (headers): Added mach/default_pager_helper.defs.
e215c478 637
edf66db1 638 * sysdeps/sparc/Dist: Added alloca.S.
e215c478 639
edf66db1 640Wed May 4 14:02:29 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu)
e215c478 641
edf66db1
SP
642 * hurd/hurdexec.c (_hurd_exec): Unlock _hurd_dtable_lock when
643 all through.
e215c478 644
edf66db1
SP
645 * sysdeps/mach/hurd/__setitmr.c: Changed _hurd_itimer_lock
646 to be a spin_lock; changed mutex_lock and mutex_unlock
647 accordingly throughout.
648 * sysdeps/mach/hurd/__getitmr.c: Corresponding changes from
649 mutex calls to spin lock calls here too.
e215c478 650
edf66db1
SP
651 * sysdeps/mach/hurd/__setitmr.c (setitimer_locked): Fixed syntax
652 of declaration of PREEMPT.
653 (setitimer_locked): Declare variables ERR and ELAPSED.
654 (setitimer_locked): Fix some references to REMAINING that
655 were using it as an itimerval instead of a timeval.
656 (setitimer_locked): Deleted unused label STILLBORN.
e215c478 657
edf66db1 658Wed May 4 00:17:32 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 659
edf66db1 660 * sysdeps/stub/__getitmr.c: Fix arg name __WHICH to WHICH.
e215c478 661
edf66db1
SP
662 * sysdeps/unix/bsd/alarm.c: Round tv_usec with arithmetic rather
663 than a test.
e215c478 664
edf66db1 665 * hurd/Makefile (user-interfaces): Add hurd/msg_request.
e215c478 666
edf66db1 667 * sysdeps/stub/__setitmr.c: Fix arg name __WHICH to WHICH.
e215c478 668
edf66db1
SP
669 * Makeconfig (cross-compiling): Define if $(HOST_CC) and $(CC) differ.
670 * time/Makefile (install-others): Omit defn ifdef cross-compiling.
e215c478 671
edf66db1 672Tue May 3 23:12:48 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 673
edf66db1 674 * mach/Makefile (lock-headers): Add spin-lock.h.
e215c478 675
edf66db1 676 * misc/Makefile (routines): Add madvise.
e215c478 677
edf66db1
SP
678 * malloc/Makefile (non-lib.a): Define.
679 * misc/Makefile (non-lib.a): Define.
680 * Makerules (install-lib.a): Filter out $(non-lib.a).
681 (install-lib-non.a): Append $(non-lib.a).
e215c478 682
edf66db1
SP
683 * mach/Makefile (mach-headers): Rename sys/version.h to
684 mach/version.h.
e215c478 685
edf66db1 686 * hurd/Makefile (headers): Added hurd/threadvar.h.
e215c478 687
edf66db1 688 * Version 1.07.5.
e215c478 689
edf66db1
SP
690 * hurd/port2fd.c (_hurd_port2fd): Use logic copied from
691 _hurd_port_locked_set to install PORT in D->port, but leave it locked.
e215c478 692
edf66db1 693 * sunrpc/Makefile (generated): Don't add $(objpfx).
e215c478 694
edf66db1
SP
695 * sysdeps/stub/machine-lock.h: New file.
696 * sysdeps/stub/machine-sp.h: New file.
e215c478 697
edf66db1 698Tue May 3 22:31:15 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu)
e215c478 699
edf66db1
SP
700 * sysdeps/mach/usleep.c (usleep): Specify MACH_RCV_MSG so that
701 mach_msg actually waits.
e215c478 702
edf66db1 703Tue May 3 19:24:48 1994 Karl Heuer (kwzh@hal.gnu.ai.mit.edu)
e215c478 704
edf66db1
SP
705 * malloc/malloc.h (enum mcheck_status): Delete trailing
706 comma in enum list; some compilers don't like it.
e215c478 707
edf66db1 708Tue May 3 15:18:15 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu)
e215c478 709
edf66db1
SP
710 * sysdeps/mach/hurd/__symlink.c (__symlink): Pass port type arg to
711 __file_set_translator.
e215c478 712
edf66db1 713Mon May 2 17:56:47 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 714
edf66db1 715 * hurd/Makefile (generated): Add $(inlines) .c files.
e215c478 716
edf66db1
SP
717 * sysdeps/mach/hurd/__mknod.c: Pass port type arg to
718 __file_set_translator.
e215c478 719
edf66db1 720Sun May 1 16:03:13 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 721
edf66db1
SP
722 * mach/mig_syms.c: Add de-__ing aliases for mig_init,
723 mig_get_reply_port, and mig_dealloc_reply_port.
e215c478 724
edf66db1
SP
725 * sysdeps/mach/hurd/errnos.awk: Handle copying errors from
726 mach/mig_errors.h and device/device_types.h. Omit E*_SUCCESS.
727 Omit MACH_MSG_MASK and other special bit macros.
e215c478 728
edf66db1
SP
729 * sysdeps/mach/hurd/i386/sigcontext.h (struct sigcontext): Added
730 sc_reply_port member.
731 * hurd/hurdsig.c (fetch_reply_port): New function.
732 (_hurd_internal_post_signal): When setting up to run handler, set
733 SCP->sc_reply_port to the receiving thread's value for
734 _HURD_THREADVAR_MIG_REPLY.
735 * sysdeps/mach/hurd/i386/__sigret.c: Destroy the MiG reply port
736 used by the signal handler, and restore from SCP->sc_reply_port.
737 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): New
738 function; guts from __hurd_threadvar_location.
739 (__hurd_threadvar_location): Call that.
e215c478 740
edf66db1
SP
741 * hurd/hurdsig.c (check_pending): New function, broken out of:
742 (_hurd_internal_post_signal): Call that for pending signal check.
743 If SIGNO is zero, call check_pending on each thread's sigstate.
e215c478 744
edf66db1
SP
745 * sysdeps/mach/hurd/start.c (start1): Use calloc to get
746 zero-filled space for __hurd_threadvar_stack_offset when
747 __hurd_threadvar_stack_mask is zero.
e215c478 748
edf66db1 749Thu Apr 28 21:29:47 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 750
edf66db1
SP
751 * Merged gmp-1.99.3+ mpn code from tege for printf_fp.
752 * stdio/printf_fp.c: Include "longlong.h"; gmp-impl.h no longer does.
e215c478 753
edf66db1 754 * Makerules (+depfiles): Filter $(extra-objs) to get only .o files.
e215c478 755
edf66db1 756Wed Apr 27 00:20:41 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 757
edf66db1
SP
758 * Makerules (depend-$(subdir)): Put output in tmp file and use mv -f.
759 Always use $(+depfiles), since sources is no longer exported.
e215c478 760
edf66db1 761Tue Apr 26 20:05:55 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 762
edf66db1
SP
763 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Don't include <termios.h> to
764 avoid <sys/ioctl.h> conflicts.
765 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Undefine ECHO, MDMBUF,
766 TOSTOP, FLUSHO, PENDIN, and NOFLSH after including <termios.h> and
767 before including <sys/ioctl.h>.
768 * sysdeps/unix/bsd/bsd4.4/__tcgetatr.c: Likewise.
e215c478 769
edf66db1 770Tue Apr 26 14:42:43 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
e215c478 771
edf66db1
SP
772 * sysdeps/mach/sleep.c (sleep): Specify MACH_RCV_MSG or else
773 mach_msg won't do anything but return immediately.
774 (sleep): Compute return value correctly.
e215c478 775
edf66db1 776Tue Apr 26 04:49:56 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 777
edf66db1
SP
778 * sysdeps/i386/setjmp.c: Put global register decls first thing.
779 * sysdeps/i386/__longjmp.c: Likewise.
e215c478 780
edf66db1 781Fri Apr 22 18:10:36 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 782
edf66db1
SP
783 * sysdeps/unix/sysv/irix4/__wait3.S: New file.
784 * sysdeps/unix/sysv/irix4/time.S: New file.
785 * sysdeps/unix/sysv/irix4/__waitpid.c: New file.
e215c478 786
edf66db1 787Thu Apr 21 16:54:11 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu)
e215c478 788
edf66db1
SP
789 * malloc/malloc.c (initialize, morecore): When allocating the
790 _heapinfo block itself, account for it in the statistics.
e215c478 791
edf66db1 792Tue Apr 19 20:17:06 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 793
edf66db1 794 * sysdeps/unix/sysv/sco3.2.4/pipestream.c: New file.
e215c478 795
edf66db1
SP
796 * malloc/malloc.c (morecore): Only zero the new part of NEWINFO,
797 not the part we will copy _heapinfo into.
e215c478 798
edf66db1
SP
799 * sysdeps/unix/bsd/signum.h (SIGLOST): Define.
800 (_NSIG): Increase to 33.
e215c478 801
edf66db1 802Mon Apr 18 16:56:11 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 803
edf66db1
SP
804 * configure.in (config.status): Use $configure_args instead of
805 $ac_configure_args.
806 (after AC_PREPARE): Call AC_LANG_C.
e215c478 807
edf66db1
SP
808 * time/Makefile (routines): Add sys/timeb.h.
809 (routines): Add ftime.
810 * time/sys/timeb.h: New file.
811 * sysdeps/unix/bsd/ftime.c: New file.
812 * sysdeps/generic/ftime.c: New file.
e215c478 813
edf66db1 814 * sysdeps/posix/getenv.c (getenv): Return NULL if __environ is null.
e215c478 815
edf66db1
SP
816 * malloc/malloc.h [_MALLOC_INTERNAL] [HAVE_UNISTD_H]: Include
817 unistd.h.
e215c478 818
edf66db1 819 * malloc/Makefile (gmalloc-routines): Put valloc first.
e215c478 820
edf66db1 821Wed Apr 13 14:03:02 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
e215c478 822
edf66db1
SP
823 * sysdeps/mach/hurd/__symlink.c (__symlink): Set the target of the
824 link to FROM, not TO.
e215c478 825
edf66db1
SP
826 * sysdeps/mach/hurd/__readlink.c (__readlink): Copy just the
827 target into the user's buffer, not the entire translator spec.
e215c478 828
edf66db1 829Tue Apr 12 00:13:19 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu)
e215c478 830
edf66db1
SP
831 * hurd/fd-write.c (_hurd_fd_write): Set noctty for now rather
832 than depending on what happens to be on the stack.
e215c478 833
edf66db1
SP
834 * sysdeps/mach/hurd/readdir.c (readdir): Notice when hitting
835 end-of-file and return NULL.
e215c478 836
edf66db1 837Mon Apr 11 17:36:59 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu)
e215c478 838
edf66db1 839 * sysdeps/mach/hurd/start.c (start1): Bother to set __environ.
e215c478 840
edf66db1
SP
841 * sysdeps/mach/hurd/__ioctl.c (__ioctl): Comment out use of
842 HURD_EINTR_RPC until signals work.
e215c478 843
edf66db1 844Mon Apr 11 14:16:40 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
e215c478 845
edf66db1
SP
846 * sysdeps/mach/hurd/__ioctl.c (__ioctl): Call __mig_get_reply_port
847 rather than __mig_reply_port (which doesn't exist).
e215c478 848
edf66db1
SP
849 * sysdeps/mach/hurd/__mknod.c: Added temporary declarations
850 of major and minor.
e215c478 851
edf66db1
SP
852 * (This change occurred on April 4, 1994) mach/setup-thread.c
853 (__mach_setup_thread): The March 31 change had an error; the stack
854 needs to be allocated with ANYWHERE cleared.
e215c478 855
edf66db1
SP
856 * (This change occurred on April 8, 1994) hurd/hurdexec.c
857 (_hurd_exec): The arguments to exec_exec had the length and
858 type parameters transposed. In addition, fetch the correct
859 procserver port for the new task.
e215c478 860
edf66db1
SP
861 * (This change occurred on April 8, 1994)
862 sysdeps/mach/hurd/__wait.c (__wait4): Deal properly with a null
863 USAGE argument.
e215c478 864
edf66db1
SP
865 * (This change occurred on April 8, 1994)
866 sysdeps/mach/hurd/_exit.c (_exit): Changed commented-out call to
867 __proc_exit into a correct call to __proc_mark_exit.
e215c478 868
edf66db1 869Fri Apr 8 14:58:24 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu)
e215c478 870
edf66db1
SP
871 * string/strsignal.c (strsignal): Store of NUL into unknown_signal
872 was off by one.
e215c478 873
edf66db1 874Tue Apr 5 21:26:25 1994 Brendan Kehoe (brendan@zen.org)
e215c478 875
edf66db1
SP
876 * sysdeps/unix/sysv/sysv4/__sigact.c (__sigaction): Declare member
877 `oact' in lower case, to match its use in the rest of the function.
e215c478 878
edf66db1 879Tue Apr 5 03:07:04 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 880
edf66db1 881 * Makerules (install-lib.a rule): Run ranlib on the target.
e215c478 882
edf66db1
SP
883 * Makerules (library member rule): Tighten up pattern rule to
884 match only libc.a, not other libraries.
e215c478 885
edf66db1 886Mon Apr 4 21:49:57 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 887
edf66db1
SP
888 * set-hooks.h: New file.
889 * Makefile (distribute): Add it.
890 * set-init.c: Include it and use its macro DEFINE_HOOK_RUNNER.
e215c478 891
edf66db1
SP
892 * Makerules (sysd-Makefile): Put `sysd-Makefile-done=t' in output.
893 (sysd-rules): Don't include it unless sysd-Makefile-done is defined.
e215c478 894
edf66db1 895Mon Apr 4 18:33:54 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
e215c478 896
edf66db1
SP
897 * mach/setup-thread.c (__mach_setup_thread): Oops; the vm_allocate
898 call should have ANYWHERE cleared so that the change of the 31st
899 has any effect at all.
e215c478 900
edf66db1 901Thu Mar 31 13:46:13 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu)
e215c478 902
edf66db1
SP
903 * mach/setup-thread.c (__mach_setup_thread): Create a red zone
904 beneath the stack; also, work around a bug in cthreads by
905 forcing the stack into high memory. FIXME--this routine
906 depends on the direction of stack growth; that should be fixed.
e215c478 907
edf66db1 908Mon Mar 28 12:55:51 1994 Roland McGrath (roland@mole.gnu.ai.mit.edu)
e215c478 909
edf66db1 910 * Rules (make-dummy-lib): Use `$(AR)' instead of literal `ar'.
e215c478 911
edf66db1
SP
912 * configure.in (arg parsing): Don't take --os-release or --os-version.
913 (switches): Variable removed; don't write it into config.status.
914 (config.status): Write release and version values directly.
e215c478 915
edf66db1
SP
916 * sysdeps/unix/common/configure.in: Use changequote around if expr
917 to avoid [] elision.
e215c478 918
edf66db1 919Sat Mar 26 18:36:27 1994 Roland McGrath (roland@mole.gnu.ai.mit.edu)
e215c478 920
edf66db1 921 * malloc/mcheck.c [! _MALLOC_INTERNAL]: #include <stdio.h>
e215c478 922
edf66db1 923Fri Mar 25 02:17:55 1994 Roland McGrath (roland@mole.gnu.ai.mit.edu)
e215c478 924
edf66db1
SP
925 * malloc/mcheck.c (mprobe): New function.
926 (abortfunc): Take enum mcheck_status arg.
927 (checkhdr): Return an enum mcheck_status, and pass it to abortfunc.
928 (mabort): New function.
929 (mcheck): Use mabort as default abortfunc.
930 * malloc/malloc.h (enum mcheck_status): New type.
931 (mprobe): Declare new function.
932 (mcheck): ABORTFUNC takes an `enum mcheck_status' arg.
e215c478 933
edf66db1 934 * posix/unistd.h [__USE_GNU] (TEMP_FAILURE_RETRY): New macro.
e215c478 935
edf66db1
SP
936 * stdio/stdio.h [__USE_GNU && !_LIBC] (cookie_io_functions_t):
937 Define instead of __io_functions (and make that a typedef for
938 this); omit __ from member names.
e215c478 939
edf66db1 940Thu Mar 24 14:59:23 1994 Roland McGrath (roland@mole.gnu.ai.mit.edu)
e215c478 941
edf66db1 942 * sysdeps/unix/sysv/sco3.2.4/sigaction.h: New file.
e215c478 943
edf66db1
SP
944 * sysdeps/unix/sysv/sco3.2.4/__sigact.S: Put address of
945 __sigreturn in %ecx before doing syscall trap.
e215c478 946
edf66db1 947 * sysdeps/stub/setegid.c: Fix arg type to __gid_t (was int).
e215c478 948
edf66db1 949Wed Mar 23 17:33:09 1994 Roland McGrath (roland@mole.gnu.ai.mit.edu)
e215c478 950
edf66db1
SP
951 * Makefile (headers): Remove $(stdarg.h).
952 * Makeconfig (stdarg.h): Variable removed.
953 * configure.in: Remove check for __gnuc_va_list in stdarg.h.
954 It is not safe to replace the compiler's stdarg.h with our own.
e215c478 955
edf66db1 956Tue Mar 22 12:46:08 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 957
edf66db1
SP
958 * Rules (dist): Rule removed.
959 * Makefile (dist): Likewise.
960 * Makerules (dist, distinfo): New rules.
961 (TAGS): Depend on distfile, pass -f distfile to submake.
e215c478 962
edf66db1 963 * math/Makefile: Remove if-ed out old bsdmath copying rules.
e215c478 964
edf66db1
SP
965 * Makerules (sources, headers, sysdep_routines): Don't export these.
966 * Rules (others, tests): Likewise.
e215c478 967
edf66db1 968 * io/lockf.c: Include fcntl.h and errno.h.
e215c478 969
edf66db1 970Mon Mar 21 20:27:32 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 971
edf66db1
SP
972 * sysdeps/unix/bsd/sony/newsos4/fchdir.S: New file.
973 * sysdeps/unix/bsd/sony/newsos4/{__wait4.c,__wait3.c,__wait.c,
974 sys_wait4.S,Makefile,Dist}: New files.
e215c478 975
edf66db1 976 * sysdeps/unix/Makefile (syscall.h): De-SYS_ify `kerncall_basenum'.
e215c478 977
edf66db1
SP
978 * sysdeps/unix/bsd/m68k/sysdep.S [! __motorola__]: Rename label 0
979 to `store'; a user reports gas 1.38 bombs on numbered labels.
e215c478 980
edf66db1 981 * sysdeps/posix/Makefile (mk-stdiolim): Use $(HOST_CC).
e215c478 982
edf66db1
SP
983 * Rules (distribute, dont_distribute, generated): Don't export them.
984 (dist): Pass those vars down to sub-make on cmd line.
985 * Makefile (distribute, generated): Don't export them.
986 (dist): Pass distribute and generated values to sub-make on cmd line.
e215c478 987
edf66db1 988 * Makerules (install-lib-nosubdir): Insert $(libprefix) appropriately.
e215c478 989
edf66db1 990Fri Mar 18 01:02:52 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 991
edf66db1
SP
992 * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h (DO_CALL): Use a6 in
993 place of fp. A user reports gas 1.38 doesn't grok fp.
e215c478 994
edf66db1 995Tue Mar 8 18:35:02 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 996
edf66db1
SP
997 * Makerules (common-clean): Prepend $(objpfx) to $(generated).
998 * Makefile (parent-clean): Prepend $(common-objpfx) to
999 $(common-generated).
1000 * Makefile (generated): Don't prepend $(objpfx).
1001 * Rules (generated): Likewise.
1002 * sysdeps/unix/common/Makefile (generated): Likewise.
e215c478 1003 * sysdeps/unix/sysv/Makefile (generated): Likewise.
edf66db1
SP
1004 * sysdeps/unix/Makefile (common-generated): Don't prepend
1005 $(common-objpfx).
1006 * sysdeps/posix/Makefile (common-generated): Likewise.
1007 * sysdeps/generic/Makefile (common-generated): Likewise.
1008 (generated): Don't prepend $(objpfx).
e215c478 1009
edf66db1
SP
1010 * sysdeps/generic/Makefile (common-generated): Set this instead of
1011 generated for bytesex.h and det_endian.
92c3af3c 1012
edf66db1
SP
1013 * sysdeps/stub/fexecve.c: New file.
1014 * posix/Makefile (routines): Add fexecve.
1015 * posix/unistd.h [__USE_GNU]: Declare fexecve.
92c3af3c 1016
edf66db1
SP
1017 * sysdeps/unix/common/configure.in: Protect siglist and ctype
1018 checks with if [ ! "$inhibit_glue" ].
1019 * sysdeps/generic/configure.in: Likewise for psignal check.
1020 * sysdeps/unix/common/Makefile: Protect body with ifndef inhibit-glue.
92c3af3c 1021
edf66db1 1022Mon Mar 7 17:46:46 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 1023
edf66db1 1024 * sysdeps/unix/bsd/osf1/alpha/__sigblock.S: New file from brendan.
92c3af3c 1025
edf66db1 1026Fri Mar 4 01:56:26 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 1027
edf66db1
SP
1028 * Makerules (native-compile, common-objdir-compile): Use
1029 $(HOST_CC) in place of $(CC).
92c3af3c 1030
edf66db1 1031 * malloc/cfree.c: Move #undef cfree inside #ifdef _LIBC.
92c3af3c 1032
edf66db1
SP
1033 * misc/sys/ioctl.h (struct ttysize): If TIOCGSIZE != TIOCGWINSZ,
1034 use two int elts instead of four shorts.
92c3af3c 1035
edf66db1 1036Thu Mar 3 17:35:54 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 1037
edf66db1
SP
1038 * malloc/realloc.c (realloc): When shrinking a block by splitting
1039 and then freeing one, bump the _chunks_used counter.
92c3af3c 1040
edf66db1 1041 * sysdeps/unix/sysv/sysv4/i386/__mknod.S: New file.
92c3af3c 1042
edf66db1 1043Tue Mar 1 11:42:41 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 1044
edf66db1
SP
1045 * sysdeps/unix/sysv/sco3.2.4/__waitpid.S: Get first argument from
1046 stack at 8(%esp), not 4(%esp).
92c3af3c 1047
edf66db1 1048 * sysdeps/unix/sysv/isc2.2/rename.S: Get unix/common, not unix/bsd.
92c3af3c 1049
edf66db1 1050Thu Feb 24 14:40:43 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 1051
edf66db1
SP
1052 * io/lockf.c: New file.
1053 * io/Makefile (routines): Add lockf.
1054 * io/fcntl.h [__USE_MISC] (F_ULOCK, F_LOCK, F_TLOCK, F_TEST): New
1055 macros.
1056 [__USE_MISC] (lockf): Declare it.
1057 * posix/unistd.h: Copy those new macros and declaration.
92c3af3c 1058
edf66db1
SP
1059 * time/backward, time/etcetera, time/zic.c: New code and data from ADO.
1060 * Makeconfig (posixrules): Default to America/New_York.
92c3af3c 1061
edf66db1
SP
1062 * sysdeps/unix/mips/sysdep.S: Store -1 in v0 in the delay slot after
1063 the return, rather than before (leaving the delay slot unfilled and
1064 without a nop!).
92c3af3c 1065
edf66db1
SP
1066 * sysdeps/unix/sysv/irix4: New directory; mips-sgi-irix4 port
1067 courtesy Tom Quinn.
92c3af3c 1068
edf66db1
SP
1069 * sysdeps/unix/sysv/sysv4/direct.h: Moved to unix/common; it is right
1070 for irix4 as well as sysv4.
1071 * sysdeps/unix/bsd/ultrix4/__wait.S: Moved to unix/mips.
1072 (noerror): Store register v1 in location pointed to by first arg (if
1073 not NULL).
1074 * sysdeps/unix/bsd/ultrix4/__sigret.S: Moved to unix/mips.
92c3af3c 1075
edf66db1
SP
1076 * sysdeps/unix/bsd/bsd4.4/{mmap,munmap,mprotect,msync,madvise}.S:
1077 Moved to sysdeps/unix/mman (new directory).
1078 * sysdeps/unix/bsd/bsd4.4/Implies: New file; imply unix/mman.
1079 * sysdeps/unix/bsd/sunos4/Implies: Likewise.
1080 * sysdeps/unix/bsd/ultrix4/Implies: Likewise.
1081 * sysdeps/unix/bsd/osf1/Implies: Likewise.
1082 * sysdeps/unix/bsd/sun/sunos4/munmap.S,
1083 sysdeps/unix/bsd/sun/sunos4/mprotect.S,
1084 sysdeps/unix/bsd/sun/sunos4/madvise.S,
1085 sysdeps/unix/bsd/ultrix4/mmap.S,
1086 sysdeps/unix/bsd/ultrix4/munmap.S,
1087 sysdeps/unix/bsd/ultrix4/mprotect.S,
1088 sysdeps/unix/bsd/osf1/mmap.S,
1089 sysdeps/unix/bsd/osf1/munmap.S,
1090 sysdeps/unix/bsd/osf1/mprotect.S: Files removed.
92c3af3c 1091
edf66db1 1092 * sysdeps/unix/sysv/sysv4/fcntlbits.h: Moved to sysdeps/unix/common.
92c3af3c 1093
edf66db1
SP
1094 * stdio/printf_fp.c: Add many assertions to make sure no mpn size
1095 variable is ever zero.
92c3af3c 1096
edf66db1 1097 * Makerules (native-CFLAGS): Add -I$(sysincludedir).
92c3af3c 1098
edf66db1
SP
1099 * Makerules (depend-$(subdir)) [omit-deps]: Use $(+depfiles) value
1100 instead of shell hackery.
92c3af3c 1101
edf66db1 1102Wed Feb 23 00:09:08 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 1103
edf66db1 1104 * sysdeps/sparc/alloca.S [! NO_UNDERSCORES]: Call it ___builtin_alloca.
92c3af3c 1105
edf66db1 1106Tue Feb 22 18:47:10 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 1107
edf66db1
SP
1108 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Use __off_t in mmap
1109 prototype.
92c3af3c 1110
edf66db1
SP
1111 * time/setitmr.c: Swap args OLD and NEW.
1112 * time/sys/time.h (setitimer): Likewise.
1113 * sysdeps/stub/__setitmr.c: Likewise.
92c3af3c 1114
edf66db1 1115Mon Feb 21 20:47:55 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 1116
edf66db1
SP
1117 * sysdeps/sparc/Makefile [gnulib] (routines): Add alloca.
1118 * sysdeps/sparc/alloca.S: New file; support for SunOS libc's
1119 `__builtin_alloca' function (never needed with GCC).
92c3af3c 1120
edf66db1
SP
1121 * sysdeps/unix/sysv/sysv4/__sigact.c (trampoline): Cast handler to
1122 three-arg type.
92c3af3c 1123
edf66db1 1124Sun Feb 20 00:46:15 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 1125
edf66db1 1126 * sysdeps/unix/bsd/sun/sunos4/mmap.c: Add missing semicolon.
92c3af3c 1127
edf66db1
SP
1128 * sysdeps/unix/sparc/start.c [! NO_SHLIB]: Include <sys/types.h>
1129 before <sys/mman.h>.
92c3af3c 1130
edf66db1
SP
1131 * sysdeps/unix/bsd/ultrix4/mips/{sysdep.h,sysdep.S,__pipe.S,
1132 __fork.S,__brk.S}: Moved to sysdeps/unix/mips (new directory).
92c3af3c 1133
edf66db1
SP
1134 * sysdeps/unix/bsd/ultrix4/mips/__sigret.S: Use SYS_sigreturn
1135 instead of literal 103; #define to 103 if not already defined.
92c3af3c 1136
edf66db1 1137Sat Feb 19 17:39:13 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 1138
edf66db1 1139 * sysdeps/unix/sysv/sysv4/i386/Dist: New file; list sys-sig.S.
92c3af3c 1140
edf66db1 1141Fri Feb 18 18:07:34 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 1142
edf66db1 1143 * sysdeps/generic/configure.in: New file; check for psignal.
92c3af3c 1144
edf66db1
SP
1145 * sysdeps/unix/common/glue-ctype.c: Check for table named _ctype,
1146 before checking for _ctype_.
1147 * sysdeps/unix/common/configure.in: Check for _ctype.
92c3af3c 1148
edf66db1
SP
1149 * sysdeps/unix/Makefile (syscall.h): Look for sys.s before syscall.h.
1150 * sysdeps/unix/configure (unix_syscall_h): Likewise.
92c3af3c 1151
edf66db1 1152 * configure.in (os = irix4*): Set base_os=unix/sysv.
92c3af3c 1153
edf66db1
SP
1154 * sunrpc/rpc/auth.h (u_int32): Always define, no #ifdefs.
1155 * sunrpc/xdr_float.c: Change [mc68000 || sparc] to [! vax].
92c3af3c 1156
edf66db1 1157Thu Feb 17 18:42:29 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 1158
edf66db1 1159 * Version 1.07.4.
92c3af3c 1160
edf66db1 1161 * sysdeps/unix/bsd/sun/sunos4/Dist: Add sys_mmap.S.
92c3af3c 1162
edf66db1
SP
1163 * Makerules (sysdep_dir): Remove defn.
1164 * Makeconfig (sysdep_dir): Define it here instead.
92c3af3c 1165
edf66db1 1166Wed Feb 16 16:54:00 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 1167
edf66db1
SP
1168 * sysdeps/unix/sysv/sysv4/__sigact.c: New file.
1169 * sysdeps/unix/sysv/sysv4/i386/Makefile: New file.
1170 * sysdeps/unix/sysv/sysv4/i386/sys-sig.S: New file.
92c3af3c 1171
edf66db1 1172 * time/sys/time.h (timerisset, timercmp, timerclear): New macros.
92c3af3c 1173
edf66db1
SP
1174 * misc/Makefile (headers): Add sys/mman.h.
1175 (routines): Add mmap, munmap, mprotect, msync.
1176 * sysdeps/unix/bsd/sun/sunos4/sys_mmap.S: New file.
1177 * sysdeps/unix/bsd/sun/sunos4/mmap.c: New file.
1178 * sysdeps/unix/bsd/sun/sunos4/Makefile [$(subdir) == misc]
1179 (sysdep_routines): Add sys_mmap.
1180 * sysdeps/unix/bsd/bsd4.4/mprotect.S: New file.
1181 * sysdeps/unix/bsd/bsd4.4/munmap.S: New file.
1182 * sysdeps/unix/bsd/bsd4.4/msync.S: New file.
1183 * sysdeps/unix/bsd/bsd4.4/mmap.S: New file.
1184 * sysdeps/unix/bsd/bsd4.4/madvise.S: New file.
1185 * sysdeps/unix/bsd/sun/sunos4/mprotect.S: New file.
1186 * sysdeps/unix/bsd/sun/sunos4/munmap.S: New file.
1187 * sysdeps/unix/bsd/sun/sunos4/msync.S: New file.
1188 * sysdeps/unix/bsd/sun/sunos4/madvise.S: New file.
1189 * sysdeps/unix/bsd/ultrix4/sys/mman.h: New file.
1190 * sysdeps/unix/bsd/ultrix4/mmap.S: New file.
1191 * sysdeps/unix/bsd/ultrix4/munmap.S: New file.
1192 * sysdeps/unix/bsd/ultrix4/mprotect.S: New file.
1193 * sysdeps/stub/mprotect.c: New file.
1194 * sysdeps/stub/munmap.c: New file.
1195 * sysdeps/stub/msync.c: New file.
1196 * sysdeps/stub/mmap.c: New file.
1197 * sysdeps/stub/madvise.c: New file.
1198 * sysdeps/generic/sys/mman.h: New file.
1199 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: New file.
1200 * sysdeps/unix/bsd/osf1/msync.S: New file.
1201 * sysdeps/unix/bsd/osf1/mmap.S: New file.
1202 * sysdeps/unix/bsd/osf1/munmap.S: New file.
1203 * sysdeps/unix/bsd/osf1/mprotect.S: New file.
1204 * sysdeps/unix/bsd/osf1/sys/mman.h: New file.
92c3af3c 1205
edf66db1 1206Tue Feb 15 16:47:45 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 1207
edf66db1 1208 * posix/unistd.h: Declare truncate, ftruncate.
92c3af3c 1209
edf66db1
SP
1210 * misc/Makefile (headers): Add syslog.h.
1211 * misc/syslog.h: New file; just includes <sys/syslog.h>.
92c3af3c 1212
edf66db1 1213 * posix/unistd.h: Change duplicate seteuid decl to setegid.
92c3af3c 1214
edf66db1
SP
1215 * io/Makefile (headers): Add sys/fcntl.h.
1216 * io/sys/fcntl.h: New file; just includes <fcntl.h>.
92c3af3c 1217
edf66db1 1218Mon Feb 14 10:36:57 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 1219
edf66db1
SP
1220 * Makerules (library pattern rule): Depend on
1221 $(objpfx)stamp-$(subdir) and have empty commands.
1222 ($(objpfx)stamp-$(subdir)): Move dep on $(objects) and ar cmds here.
1223 (common-mostlyclean): Remove $(objpfx)stamp-$(subdir).
92c3af3c 1224
edf66db1 1225 * Makerules (+depfiles): Filter out deps for modules in $(omit-deps).
92c3af3c 1226
edf66db1 1227 * sunrpc/Makefile (omit-deps): Define new variable.
92c3af3c 1228
edf66db1
SP
1229 * Makerules ($(libc.a)(__.SYMDEF)): Depend on $(+libobjs), not
1230 lib-noranlib.
1231 * Makefile ($(libc.a)(__.SYMDEF)): Depend on subdir_lib.
92c3af3c 1232
edf66db1 1233 * Makerules (+depfiles): Include deps for $(extra-objs).
92c3af3c 1234
edf66db1 1235 * sunrpc/rpcsvc/klm_prot.x: Move program definition to end.
92c3af3c 1236
edf66db1 1237 * sunrpc/Makefile (lib): Depend on $(objpfx)librpcsvc.a.
92c3af3c 1238
edf66db1 1239 * time/zic.c: Set CP to NAME before dereferencing.
92c3af3c 1240
edf66db1
SP
1241 * sunrpc/Makefile ($(objpfx)x%.c): Target fixed from $(objpfx)x%.c.
1242 ($(objpfx)rpcsvc/%.h): Target renamed from $(includedir)rpcsvc/%.h.
1243 Make each x%.o file depend on the corresponding rpcsvc/%.h file.
1244 (headers): Add rpcsvc/%.h.
1245 (install-others): Remove generated rpcsvc headers.
1246 (generated): Define to include generated rpcsvc headers and sources.
92c3af3c 1247
edf66db1
SP
1248 * sysdeps/m68k/fpu/acos.c: Add __CONSTVALUE to defn.
1249 * sysdeps/m68k/fpu/ldexp.c: Likewise.
1250 * sysdeps/m68k/fpu/pow.c: Likewise.
1251 * sysdeps/m68k/fpu/fmod.c: Likewise.
1252 * sysdeps/m68k/fpu/atan2.c: Likewise.
1253 * sysdeps/m68k/fpu/__drem.c: Likewise.
1254 * sysdeps/m68k/fpu/__isinf.c: Likewise.
1255 * sysdeps/generic/hypot.c: Likewise.
1256 * sysdeps/m68k/fpu/__logb.c: Likewise.
92c3af3c 1257
edf66db1 1258 * sysdeps/unix/bsd/m68k/sysdep.S: Swap operands in cmpl.
92c3af3c 1259
edf66db1 1260Sun Feb 13 19:49:24 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 1261
edf66db1
SP
1262 * sysdeps/m68k/Makefile (compile-command.S): Remove definition
1263 that did kludgey # hackery.
1264 * sysdeps/unix/bsd/hp/m68k/sysdep.h (PSEUDO): Add missing close paren.
1265 (POUND): Define (no arg) to just `#' (a single pound sign).
1266 (PSEUDO, DO_CALL): Use `POUND foo' in place of `POUND(foo)'.
1267 * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
1268 * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
1269 * sysdeps/unix/bsd/sun/m68k/__brk.S: Use #0, not POUND(0).
1270 * sysdeps/unix/bsd/hp/m68k/__brk.S: Use #__end instead of POUND(__end).
92c3af3c 1271
edf66db1 1272Fri Feb 11 00:29:45 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 1273
edf66db1 1274 * configure.in (Makefile): Set objdir instead of ARCH in submake cmd.
92c3af3c 1275
edf66db1 1276 * time/mktime.c: Define __P if undefined.
92c3af3c 1277
edf66db1
SP
1278 * assert/assert.h (__ASSERT_FUNCTION): Check __GNUC_MINOR__<6 if
1279 defined(__cplusplus).
92c3af3c 1280
edf66db1 1281Thu Feb 10 00:52:31 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 1282
edf66db1
SP
1283 * sysdeps/unix/sysv/__sigact.c: Use __sigismember and
1284 __sigemptyset on sa_mask instead of assuming it's an int.
92c3af3c 1285
edf66db1
SP
1286 * sysdeps/unix/sysv/sysv4/sigset.h (__sigismember): Declare arg
1287 SET to be a pointer to const.
92c3af3c 1288
edf66db1 1289 * sysdeps/posix/__sigpause.c: Convert MASK to a sigset_t with a loop.
92c3af3c 1290
edf66db1
SP
1291 * sysdeps/posix/__sigblock.c: When sigset_t==mask, take address of
1292 SET or OSET, cast to int *, and dereference.
1293 * sysdeps/posix/__sigstmsk.c: Likewise.
1294 * sysdeps/posix/__sigvec.c: Likewise.
92c3af3c 1295
edf66db1
SP
1296 Add the -lrpcsvc library of XDR routines for standard SunRPC protocols.
1297 * sunrpc/Makefile (install-lib): Define to include librpcsvc.a.
1298 (rpcsvc-objs): New variable.
1299 (extra-objs): Add $(rpcsvc-objs).
1300 ($(objpfxlibrpcsvc.a): New target.
1301 ($(objpfx)x%.o): New rule to rpcgen XDR routines.
92c3af3c 1302
edf66db1 1303Wed Feb 9 11:59:33 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 1304
edf66db1 1305 * time/zic.c (mkdirs): Reapply fix to avoid writing into passed ptr.
92c3af3c 1306
edf66db1
SP
1307 * sunrpc/Makefile (distribute): Add etc.rpc.
1308 ($(includedir)/bootparam_prot.h): Change target to
1309 $(includedir)/rpcsvc/bootparam_prot.h and dep to
1310 $(includedir)/rpcsvc/bootparam.h.
1311 (install-others): Change reference.
92c3af3c 1312
edf66db1 1313 * sunrpc/rpc_util.h: Comment out bogus decl of sprintf.
92c3af3c 1314
edf66db1
SP
1315 * Makerules ($(libc.a)(__.SYMDEF)): Depend on lib-noranlib instead
1316 of $(+libobjs); this way makes the parent do subdir_lib.
92c3af3c 1317
edf66db1
SP
1318 * sysdeps/unix/sysv/sysv4/sigset.h: Protect types with #ifndef
1319 _SIGSET_H_types. Protect rest with #if !defined (_SIGSET_H_fns)
1320 && defined (_SIGNAL_H).
92c3af3c 1321
edf66db1 1322Tue Feb 8 19:00:42 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 1323
edf66db1 1324 * Version 1.07.3.
92c3af3c 1325
edf66db1 1326 * sysdeps/unix/sysv/sysv4/sigset.h: Fix typos (omitted __s).
92c3af3c 1327
edf66db1 1328Mon Feb 7 14:31:00 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 1329
edf66db1
SP
1330 * Makerules ($(libc.a)): Depend on $(libc.a)(__.SYMDEF); no commands.
1331 ($(+libobjs)): Remove static pattern rule.
1332 (ar-it): Target removed.
1333 Replace with pattern rule to catch %(*.o) for all $(objects).
1334 ($(libc.a)(__.SYMDEF)): New target.
1335 (lib-noranlib, $(libdir)/lib$(libprefix)c.a): Don't depend on ar-it.
92c3af3c 1336
edf66db1
SP
1337 * sysdeps/unix/sparc/sysdep.h (PSEUDO): Add nop after jmp; the
1338 next insn is most likely a retl, which causes interesting behavior.
92c3af3c 1339
edf66db1
SP
1340 * stdio/vfprintf.c: Pass WORKEND+1 to _itoa, not WORKEND.
1341 Subtract one from result of _itoa when setting W.
92c3af3c 1342
edf66db1
SP
1343 * time/{africa,asia,australasia,backward,europe,leapseconds,
1344 northamerica,southamerica,zic.c}: New code and data from ADO.
92c3af3c 1345
edf66db1 1346Sun Feb 6 13:55:27 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 1347
edf66db1
SP
1348 * sunrpc: New directory; code from Sun's RPCSRC-4.0.
1349 * sysdeps/unix/inet/Subdirs: Add sunrpc.
1350 * inet/netdb.h: #include <rpc/netdb.h> at end.
92c3af3c 1351
edf66db1
SP
1352 * Make-dist ($(tardir).tar): Use -v when extracting from dist.tar
1353 and pipe output to doschk.
92c3af3c 1354
edf66db1
SP
1355 * Makeconfig (etcdir): New variable.
1356 (localtime-file): Use that in default value.
92c3af3c 1357
edf66db1
SP
1358 * Makerules (depend-$(subdir)): Include dep files for all .o files
1359 listed in $(extra-objs).
92c3af3c 1360
edf66db1 1361 * posix/sys/types.h (NFDBITS): #define to __NFDBITS.
92c3af3c 1362
edf66db1
SP
1363 * inet/netinet/in.h (INADDR_LOOPBACK): Don't define if already
1364 defined; avoids changing source which defines it before including this.
1365 (struct sockaddr_in): Rename `__pad' member to `sin_zero'; some
1366 code wants to bzero the area just for paranoia.
92c3af3c 1367
edf66db1
SP
1368 Make cleaning targets only remove common (not specific to one
1369 subdir) generated files if run from the parent directory.
1370 * Makefile (parent-clean): Remove $(common-generated) also.
1371 * sysdeps/unix/Makefile (local_lim.h, sys/param.h, errnos.h,
1372 ioctls.h, syscall.h): Append to $(common-generated), not $(generated).
1373 * sysdeps/posix/Makefile (stdio_lim.h): Likewise.
92c3af3c 1374
edf66db1
SP
1375 * signal/signal.h: Declare psignal here.
1376 * stdio/stdio.h: Not here.
92c3af3c 1377
edf66db1
SP
1378 * stdio/stdio.h [__OPTIMIZE__] (vprintf, vfscanf, vscanf,
1379 vsscanf): Define as extern inline functions instead of macros.
92c3af3c 1380
edf66db1
SP
1381 * configure.in (names): Check existence of implied dirs and warn
1382 for absentees.
92c3af3c 1383
edf66db1 1384Sat Feb 5 13:38:26 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 1385
edf66db1 1386 * Version 1.07.2.
92c3af3c 1387
edf66db1
SP
1388 * resource/sys/resource.h (RUSAGE_SELF, RUSAGE_CHILDREN): #define
1389 to self for things that test #ifdef.
92c3af3c 1390
edf66db1 1391 * sysdeps/unix/common/Dist: Remove bsd_getgrp.S.
92c3af3c 1392
edf66db1 1393 * sysdeps/unix/Makefile: Don't include param.h.dep ifdef no_deps.
92c3af3c 1394
edf66db1 1395 * Makerules (vpath %.h): Use $(common-objpfx) in place of $(objpfx).
92c3af3c 1396
edf66db1
SP
1397 * sysdeps/unix/bsd/i386/__vfork.S: Decrement R1 and AND it with R0
1398 to avoid the test and branch.
92c3af3c 1399
edf66db1
SP
1400 * sysdeps/unix/bsd/getprio.S, sysdeps/unix/bsd/setprio.S,
1401 sysdeps/unix/bsd/__setreuid.S, sysdeps/unix/bsd/__setregid.S: Moved to
1402 sysdeps/unix/common.
92c3af3c 1403
edf66db1 1404 * sysdeps/unix/reboot.S: New file.
92c3af3c 1405
edf66db1
SP
1406 * sysdeps/unix/sysv/sysv4/solaris2/signum.h: New file.
1407 * sysdeps/unix/sysv/sysv4/signum.h: New file.
1408 * sysdeps/unix/sysv/sysv4/sigset.h: New file.
1409 * sysdeps/unix/sysv/sysv4/sigaction.h (struct sigaction): Swap
1410 positions of sa_flags and sa_mask members (sa_flags is first now).
1411 (SA_NOCLDWAIT): Renamed from SA_NOSCLDWAIT.
92c3af3c 1412
edf66db1 1413 * sysdeps/unix/bsd/init-posix.c (_posix_start_time): Initialize it.
92c3af3c 1414
edf66db1 1415 * Makerules (open-check-inhibit-asm): Use : for empty commands in case.
92c3af3c 1416
edf66db1 1417 * time/leapseconds: New version from ADO, adds 1994 leap second.
92c3af3c 1418
edf66db1 1419Thu Feb 3 02:15:30 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 1420
edf66db1 1421 * sysdeps/unix/bsd/ulimit.c: Define ulimit instead of __ulimit.
92c3af3c 1422
edf66db1 1423Wed Feb 2 16:56:29 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 1424
edf66db1
SP
1425 * sysdeps/unix/sysv/sco3.2.4/sigsuspend.S: Moved to unix/sysv/sysv4.
1426 Replaced with #include of that file.
92c3af3c 1427
edf66db1
SP
1428 * sysdeps/unix/sysv/sysv4/solaris2/sigaltstack.S: Moved to
1429 sysdeps/unix/sysv/sysv4/sigaltstk.S.
92c3af3c 1430
edf66db1
SP
1431 * sysdeps/unix/sysv/sysv4/i386/__lstat.S: Syscall lxstat, not xlstat.
1432 * sysdeps/unix/sysv/sysv4/i386/__fstat.S: Syscall fxstat, not xfstat.
92c3af3c 1433
edf66db1 1434Tue Feb 1 18:22:21 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 1435
edf66db1
SP
1436 * stdio/_itoa.c, stdio/_itoa.h: New files.
1437 * stdio/Makefile (routines): Add _itoa.
1438 (distribute): Add _itoa.h.
1439 * stdio/vfprintf.c: Use _itoa instead of doing it by hand.
92c3af3c 1440
edf66db1
SP
1441 * sysdeps/unix/sparc/vfork.S: Add nop after jmp. Bad delay slot,
1442 no pipeline.
1443 * sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise.
92c3af3c 1444
edf66db1 1445Mon Jan 31 19:33:04 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
92c3af3c 1446
edf66db1
SP
1447 * assert/assert.c (__assert_fail): Take 4th arg FUNCTION; if it is
1448 not null, print it in the message. Also declare __NORETURN.
1449 * assert/assert.h (__assert_fail): Update decl; also add __NORETURN.
1450 (__ASSERT_FUNCTION): #define to be __PRETTY_FUNCTION__ for GCC>=2.4.
1451 (assert): Pass __ASSERT_FUNCTION to __assert_fail.
92c3af3c 1452
edf66db1
SP
1453 * sysdeps/unix/bsd/sun/sparc/vfork.S: Moved to sysdeps/unix/sparc.
1454 Use C_SYMBOL_NAME on __vfork instead of prepending an underscore.
92c3af3c 1455
edf66db1
SP
1456 * sysdeps/unix/sysv/sysv4/solaris2/{start.c,sysdep.S,sysdep.h}: Moved
1457 to sysdeps/unix/sysv/sysv4/solaris2/sparc.
92c3af3c 1458
edf66db1
SP
1459 * sysdeps/unix/{i386,sysv/sysv4/solaris2,sysv/i386/linux,bsd/m68k,
1460 bsd/ultrix4/mips,bsd/vax}/sysdep.S: Don't do EWOULDBLOCK_sys->EAGAIN
1461 mapping #if EWOULDBLOCK_sys == EAGAIN.
1462
1463 * sysdeps/unix/sparc/sysdep.h [NO_UNDERSCORES]: #define syscall_error
1464 to C_SYMBOL_NAME(__syscall_error).
1465 (PSEUDO): On error, jump to syscall_error instead of setting errno.
1466 * sysdeps/unix/sparc/sysdep.S: New file.
1467
1468 * sysdeps/unix/sysv/sysv4/i386/__vfork.S: New file, just #include
1469 unix/bsd/i386 version.
1470
1471 * sysdeps/unix/bsd/i386/__vfork.S: Use `scratch' in place of %edx.
1472
1473Thu Jan 27 16:46:03 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
1474
1475 * configure.in (asm-CPPFLAGS): Add new check to see if assembling
1476 a .S file loses without -P. If so, set asm-CPPFLAGS=-P in config.make.
1477
1478 * configure.in (stddef.h): Print msg under --verbose.
1479
1480 * manual/Makefile (subdir): Define outside of `export' directive,
1481 for old make.
1482
1483 * time/mktime.c (search): Take new arg PRODUCER, fn to call
1484 instead of `localtime'.
1485 (_mktime_internal): New function; all code from old `mktime', but
1486 take 2nd arg PRODUCER and pass along to `search'.
1487 (mktime): Rewrite to call _mktime_internal with localtime.
1488 * time/Makefile (routines): Add dysize, timegm, timelocal.
1489 * time/time.h (_mktime_internal): Declare it.
1490 [__USE_MISC]: Declare timegm, timelocal, dysize.
1491 * time/dysize.c: New file.
1492 * time/timegm.c: New file.
1493 * time/timelocal.c: New file.
1494
1495Wed Jan 26 20:06:23 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
1496
1497 Remove the hackery on getgroups for most systems. It is no longer
1498 necessary because gid_t is now the same size as int.
1499 * sysdeps/unix/common/Makefile (sysdep_routines): Don't add bsd_getgrp.
1500 * sysdeps/unix/common/bsd_getgrp.S: File removed.
1501 * sysdeps/unix/common/__getgrps.S: New file.
1502 * sysdeps/unix/bsd/sequent/i386/__getgrps.S: New file.
1503
1504 Clean up the rules for cleaning up.
1505 * Makerules (common-mostlyclean): New target; remove object files.
1506 (common-clean): New target; depend on common-mostlyclean, and
1507 remove dep files and generated files.
1508 (clean): Depend on common-clean.
1509 (mostlyclean): Depend on common-mostlyclean.
1510 * Rules (mostlyclean): Target removed.
1511 (clean): Target removed.
1512 (distclean): New target; depend on clean.
1513 (realclean): New target; depend on distclean.
1514 (subdir_distclean): New target; depend on distclean.
1515 (subdir_realclean): New target; depend on realclean.
1516 (subdir_mostlyclean): New target; depend on mostlyclean.
1517 * Makefile (+subdir_targets): Add subdir_distclean,
1518 subdir_realclean; change mostlyclean to subdir_mostlyclean.
1519 (parent-mostlyclean): New target; depend on common-mostlyclean and
1520 remove libc.a and $(install-lib).
1521 (parent-clean): New target; depend on parent-mostlyclean and
1522 common-clean, and remove sysdirs sysd-dirs sysd-Makefile.
1523 (clean): Depend on parent-clean and just do submake for subdirs.
1524 (mostlyclean): Depend on parent-clean and just do submake for subdirs.
1525 (distclean, realclean): Depend on parent-clean and do submake
1526 distclean-1 passing it variable assignment distclean-1=$@.
1527 (distclean-1): Depend on subdir_$(distclean-1) and remove
1528 $(config-generated), config.status, config.make, Makefile (if not
1529 in srcdir).
1530 * manual/Makefile (subdir_clean): Target removed.
1531 (subdir_%): New rule to handle all such targets.
1532 (distclean): Depend on clean, not mostlyclean.
1533 (realclean): Depend on distclean, not clean.
1534
1535 * sysdeps/unix/configure (unix_generated_dirpfx): New variable.
1536 Use it to put created .S files in sysdeps/unix if configured in
1537 srcdir, else in current directory.
1538 (unix_generated): Prepend $unix_generated_dirpfx.
1539 Have generated config.make fragment prepend $(objpfx).
1540 * sysdeps/unix/Makefile (generated): Don't set it.
1541 (config-generated): Set this instead; don't prepend any directory
1542 prefix to $(unix-generated).
e215c478 1543
edf66db1
SP
1544 Fixes for SVR4 wait from jmc@ksu.ksu.edu (James Michael Chacon):
1545 * sysdeps/unix/sysv/sysv4/siginfo.h (__siginfo_t): Add `__code'
1546 and `__pid' fields.
1547 (EXITED, KILLED, CORED, TRAPPED, STOPPED, CONTINUED): New macros.
1548 * sysdeps/unix/sysv/sysv4/__waitpid.c: Switch on INFOP.__code and
1549 construct *STAT_LOC from INFOP.__status accordingly.
e215c478 1550
edf66db1 1551 * stdlib/testsort.c (main): Use puts to add newlines to printed lines.
e215c478 1552
edf66db1 1553Tue Jan 25 14:32:01 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1554
edf66db1 1555 * Version 1.07.1.
e215c478 1556
edf66db1
SP
1557 * manual/Makefile (%.z): Change target pattern to %.gz.
1558 (dist): Comment out dep. Don't really need the separate doc dist.
e215c478 1559
edf66db1
SP
1560 * stdio/stdio.h [__OPTIMIZE__] (getchar, putchar, getdelim,
1561 getline, __getline): Use extern inlines instead of macros.
e215c478 1562
edf66db1 1563 * sysdeps/unix/sysv/sco3.2.4/__waitpid.S: Fix typo ($eax for %eax).
e215c478 1564
edf66db1
SP
1565 * sysdeps/unix/siglist.c [! HAVE_GNU_LD] (_sys_siglist): #define
1566 to sys_siglist.
1567 * sysdeps/posix/__gettod.c [! HAVE_GNU_LD] (__daylight,
1568 __timezone, __tzname): #define to non-__ names.
e215c478 1569
edf66db1
SP
1570 * math/math.h [__USE_BSD] (M_E, M_LOG2E, M_LOG10E, M_LN2, M-LN10,
1571 M_PI, M_PI_2, M_PI_4, M_1_PI, M_2_PI, M_2_SQRTPI, M_SQRT2,
1572 M_SQRT1_2): New macros.
1573
1574Tue Jan 25 14:01:28 1994 Michael I. Bushnell (mib at ernst.gnu.ai.mit.edu)
1575
1576 * sysdeps/mach/hurd/start.c (start1): Decide separately whether to
1577 split argv and whether to split envp.
1578
1579 * sysdeps/mach/hurd/i386/sysdep.h: File deleted.
1580 sysdeps/mach/i386/sysdep.h: Delete SET_SP macro.
1581 sysdeps/mach/hurd/start.c (_start): Don't call GET_SP; set globals
1582 instead of locals from exec_startup message.
1583
1584 * misc/progname.c: Don't try to set
1585 program_invocation_name or program_invocation_short_name if argv
1586 or argv[0] is invalid.
1587
1588Mon Jan 24 16:51:43 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
1589
1590 * sysdeps/unix/sysv/sysv4/__waitpid.c: Return INFOP.__pid instead of
1591 the PID we were called with.
e215c478 1592
edf66db1
SP
1593 * sysdeps/unix/sysv/__mkdir.c (__mkdir): Restore errno before
1594 returning, not after (lot of good that did).
e215c478 1595
edf66db1
SP
1596 * sysdeps/unix/bsd/ultrix4/system.c, sysdeps/unix/bsd/bsd4.4/system.c,
1597 sysdeps/unix/bsd/osf1/system.c, sysdeps/unix/sysv/sco3.2.4/system.c,
1598 sysdeps/unix/bsd/sun/sunos4/system.c, sysdeps/unix/sysv/sysv4/system.c:
1599 New files. Avoid sysdeps/unix/system.c, which defines NO_WAITPID.
e215c478 1600
edf66db1
SP
1601 * set-init.c (__libc_init): Use `n' count field instead of
1602 checking for null terminator. The latter loses when there are no
1603 set elts at all, and only one word is allocated for __libc_subinit.
e215c478 1604
edf66db1
SP
1605 * sysdeps/generic/waitstatus.h (__WCOREFLAG): New macro.
1606 * posix/sys/wait.h [__USE_BSD] (WCOREFLAG): New; define to __WCOREFLAG.
e215c478 1607
edf66db1 1608 * stdio/fileno.c (fileno): Call __stdio_check_funcs.
e215c478 1609
edf66db1 1610 * stdio/tst-fileno.c: New file.
e215c478 1611
edf66db1 1612Fri Jan 21 16:56:50 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1613
edf66db1
SP
1614 * Rules (dep-dummy-lib, make-dummy-lib): New variables.
1615 ($(objpfx)dummy.o): New file rule.
1616 * posix/Makefile ($(objpfx)libposix.a): Depend on
1617 $(dep-dummy-lib), and use $(make-dummy-lib) for commands.
1618 * math/Makefile ($(objpfx)libm.a): Likewise.
e215c478 1619
edf66db1
SP
1620 * sysdeps/unix/sysv/sysv4/i386/__stat.S: New file.
1621 * sysdeps/unix/sysv/sysv4/i386/__lstat.S: Likewise.
1622 * sysdeps/unix/sysv/sysv4/i386/__fstat.S: Likewise.
e215c478 1623
edf66db1 1624 * sysdeps/sparc/bytesex.h: New file.
e215c478 1625
edf66db1 1626Thu Jan 20 12:45:35 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1627
edf66db1 1628 * sysdeps/stub/syscall.c (syscall): Declare arg type as int.
e215c478 1629
edf66db1 1630Wed Jan 19 18:18:15 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1631
edf66db1 1632 * Makerules ($(before-compile) rule): Protect w/`ifdef before-compile'.
e215c478 1633
edf66db1
SP
1634 * manual/Makefile: Change all `mv' uses to `mv -f'.
1635 (subdir_install): Depend on stubs.
e215c478 1636
edf66db1 1637 * Makerules ($(objpfx)%.dep: %.s): Depend also on $(objpfx)dummy.dep.
e215c478 1638
edf66db1 1639Tue Jan 18 19:12:57 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
e215c478 1640
edf66db1 1641 * stdlib/testsort.c (main): Swap dimensions of BUFS array.
e215c478
RM
1642\f
1643
edf66db1 1644See ChangeLog.2 for earlier changes.