Sun Jun 5 14:34:12 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) * Version 1.08.1. * sysdeps/mach/hurd/ioctls.h (_IOR, _IOW): Swap IOC_IN and IOC_OUT. * sysdeps/mach/hurd/__ioctl.c: Only pack input for ioctls that take input. Compute expected reply size for ioctls that take output and check it properly. Sat Jun 4 00:35:42 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) * sysdeps/mach/hurd/ioctls.h (union __ioctl): Type removed. (enum __ioctl_datum): Name this enum. (_IOC_INOUT, _IOC_GROUP, _IOC_COMMAND, _IOC_TYPE): New macros. (_IOT_TYPE[012], _IOT_COUNT[012]): New macros. * sysdeps/mach/hurd/__ioctl.c: Use those macros instead of the union. * sysdeps/mach/hurd/__fork.c: Major rewrite. Copy all ports present in the task, not just library-maintained ones. Handle sigstate and signal thread setup explicitly here. * hurd/hurdsig.c (hurdsig_fork, hurdsig_fork_child): Functions removed. * hurd/hurdpid.c (init_pids): Don't put this on _hurd_fork_child_hook. * sysdeps/mach/hurd/__isatty.c: New file. * hurd/hurdsock.c (_hurd_socket_server): Pass NP to __path_lookup, not NAME (most of which is uninitialized). * hurd/hurdsig.c (_hurdsig_init): Don't check for _hurd_msgport being non-null; always initialize it. Fri Jun 3 21:57:14 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) * hurd/hurdrlimit.c (init_rlimit): Restore __mutex_init call. (_hurd_rlimit_lock): Set initializer to random value; run-time initialization is always required. * inet/rcmd.c (rcmd): Compute max fd + 1 for select instead of hardcoding 32. Wed Jun 1 10:52:41 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) * hurd/hurdrlimit.c (_hurd_rlimits, _hurd_rlimit_lock): Provide initializers so that the file is included in the link properly. (init_rlimit): Omit call to __mutex_init. Tue May 31 18:15:33 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) * hurd/hurdmalloc.c (more_memory): Do spin_lock_init on H->lock. (malloc_init): New function; put it on _hurd_preinit_hook. * sysdeps/mach/hurd/defs.c (init_stdio): If stream already allocated, don't allocate a new one. Don't crash if _hurd_alloc_fd returns null if __newstream does. * sysdeps/mach/hurd/__brk.c (init_brk): If _hurd_brk is nonzero, leave it as it is. Set PAGEND from _hurd_brk instead of &_end. Mon May 30 18:37:47 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * hurd/hurdrlimit.c (init_rlimit): Put this on _hurd_preinit_hook instead of _hurd_subinit. * sysdeps/mach/hurd/mig-reply.c (mig_fork_child): Function removed. * hurd/dtable.c (fork_parent_dtable): Function removed. * sysdeps/generic/resourcebits.h: Rename RLIM_NLIMITS to RLIMIT_NLIMITS, add alias for old name. * sysdeps/mach/hurd/Makefile (hurd-objpfx): New variable. (before-compile): Use that instead of $(common-objpfx). * sysdeps/mach/Makefile [! objpfx] (mach-objpfx): Add trailing slash. Fri May 27 01:34:56 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * hurd/hurdsig.c (_hurdsig_init): Always initialize _hurd_sigthread. * hurd/dtable.c: Use data_set_element instead of text_set_element for _hurd_fork_locks. * hurd/hurdsig.c: Likewise. * hurd/hurd.h (_hurd_set_data_limit): Declaration removed. * hurd/dtable.c (_hurd_dtable_rlimit): Variable removed. (init_dtable): Don't set it. * hurd/Makefile (headers): Add hurd/resource.h. (routines): Add hurdrlimit. * hurd/hurd/resource.h: New file. * hurd/hurdrlimit.c: New file. * sysdeps/mach/hurd/getrlimit.c: Rewritten to just fetch _hurd_rlimits. * sysdeps/mach/hurd/setrlimit.c: Rewritten to just set _hurd_rlimits. * sysdeps/mach/hurd/__brk.c (_hurd_data_limit): Variable removed. (_hurd_set_brk): Use _hurd_rlimits[RLIMIT_DATA]. (_hurd_set_data_limit): Function removed. * hurd/alloc-fd.c (_hurd_dtable_rlimit): Variable removed. (_hurd_alloc_fd): Use _hurd_rlimits[RLIMIT_OFILE] instead. * sysdeps/generic/resourcebits.h: Add RLIMIT_NOFILE as an alias for RLIMIT_OFILE. * sysdeps/mach/hurd/mig-reply.c (__mig_init): Argument is stack on which to set the per-thread reply port variable. * sysdeps/mach/hurd/__brk.c (init_brk): Set _hurd_data_end to DATA_SIZE bytes past the beginning of data space, rather than to DATA_SIZE absolutely. If vm_map fails, set it to PAGEND. * sysdeps/mach/hurd/start.c (_start): Run _hurd_preinit_hook right after __mach_init. * stdio/freopen.c (freopen): Rewritten using __stdio_reopen to preserve the old cookie value when possible. * sysdeps/posix/sysd-stdio.c (__stdio_reopen): New function. * sysdeps/stub/sysd-stdio.c (__stdio_reopen): New function. * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): New function. * stdio/freopen.c (freopen): Close the stream if MODE is invalid. * hurd/hurdsig.c (_hurd_core_limit): Define variable. * socket/sys/socket.h (PF_LOCAL): Define in preference to PF_FILE. Thu May 26 12:09:51 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) * hurd/alloc-fd.c (_hurd_alloc_fd): Don't return EINVAL when FIRST_FD is greater than _hurd_dtablesize and less than _hurd_dtable_rlimit. If we want to grow _hurd_dtable, but _hurd_dtablesize is as big as _hurd_dtable_rlimit, then return EMFILE. When growing _hurd_dtable, actually do something if _hurd_dtablesize is zero. * hurd/hurdmalloc.c (malloc_fork_prepare, malloc_fork_parent, malloc_fork_child): Declare as static so they don't conflict with the user's version of this file. Wed May 25 20:55:16 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * sysdeps/mach/hurd/__brk.c: Include instead of . * hurd/hurdmalloc.c, hurd/hurdmalloc.h: New files (temporary hack). * hurd/Makefile (routines): Append hurdmalloc. (distribute): Append hurdmalloc.h. * hurd/alloc-fd.c: Include "hurdmalloc.h" (temporary hack). * hurd/dtable.c: Likewise. * hurd/hurdinit.c: Likewise. * hurd/hurdsig.c: Likewise. * hurd/hurdsock.c: Likewise. * hurd/new-fd.c: Likewise. * sysdeps/mach/hurd/start.c: Likewise. * sysdeps/mach/hurd/start.c (start1): Use malloc and a for loop instead of calloc. * hurd/hurdsig.c (_hurd_thread_sigstate): Use malloc and memset instead of calloc. * sysdeps/mach/hurd/__brk.c (init_brk): Reference self to avoid compiler warning. Add init_brk to _hurd_preinit_hook instead of __libc_subinit. * sysdeps/mach/hurd/start.c (_hurd_preinit_hook): New variable. (start1): Run _hurd_preinit_hook before threadvar setup. Tue May 24 17:42:34 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * hurd/dtable.c (init_dtable): Initialize _hurd_dtablesize to _hurd_init_dtablesize. Initialize _hurd_dtable_rlimit as _hurd_dtablesize used to be set, but don't let it be zero. (_hurd_dtable_rlimit): New variable. Tue May 24 12:57:19 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) * sysdeps/mach/sleep.c (sleep): Timeout arg to mach_msg is in milliseconds, not microseconds; compute it accordingly. * sysdeps/mach/hurd/__select.c (__select): Deleted variables DTABLE and DTABLE_ULINK. Use new vars _hurd_dtablesize and _hurd_dtable instead of old _hurd_dtable structure. Use new locking protocol on _hurd_dtable. Tue May 24 01:55:24 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * sysdeps/mach/hurd/__setitmr.c: Don't include mutex.h. * sysdeps/mach/hurd/defs.c (init_stdio): Reference self. * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Include sysdeps/unix/sysv/i386/sysdep.h, not sysdeps/unix/i386/sysdep.h Mon May 23 19:05:44 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * sysdeps/mach/hurd/Makefile (mib_hacks, defines): Variables removed. * mach/devstream.c (mach_open_devstream): Set STREAM's seek and fileno io functions to null. * hurd/hurdexec.c (_hurd_exec): Fixed adding of dtable ports to PLEASE_DEALLOC array. * sysdeps/mach/hurd/defs.c (init_stdio): Unlock the descriptors after fetching them. If a standard descriptor is not allocated, allocate the structure and store its pointer in the stream anyway. * stdio/gets.c: Only return null on P==S if feof (STREAM). * stdio/vfprintf.c: Make %Z a type modifier, not a format spec. * sysdeps/mach/hurd/fdopen.c: Return NULL rather than -1 for error. Mon May 23 14:24:50 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) * sysdeps/mach/hurd/__close.c (__close): Use new _hurd_fd_get protocol. * sysdeps/mach/hurd/__dup2.c (__dup2): Likewise. Use _hurd_dtablesize and _hurd_dtable instead of old _hurd_dtable structure. * sysdeps/mach/hurd/sysd-stdio.c (__stdio_seek): Use HURD_FD_PORT_USE, not HURD_FD_USE. * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Variable is D, not FD. * hurd/alloc-fd.c (_hurd_alloc_fd): Arg FIRST_FD is not actually const. * hurd/hurdsig.c (_hurd_internal_post_signal [case SIGINFO]): If we are not the process group leader, ignore the signal. (_S_sig_post [case SIGURG]): Declaration of D was out of place. * sysdeps/mach/hurd/fdopen.c: Include for io_get_openmodes prototype. Sat May 21 16:03:23 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * assert/assert.c (__assert_fail): Put program name first in msg. * hurd/Makefile (dtable): Removed setdtsz. * hurd/hurdexec.c: Use _hurd_dtable and _hurd_dtablesize instead of old _hurd_dtable structure. * hurd/hurdsig.c: Likewise. * hurd/alloc-fd.c: Likewise. * hurd/hurdioctl.c (rectty_dtable): Likewise. * Version 1.08 released. * mach/mach_error_string.c: Renamed to errstring.c. * mach/Makefile (routines): Renamed mach_error_string to errstring. * mach/err_mach_ipc.sub: Renamed to err_mach.sub. * mach/err_bootstrap.sub: Renamed to err_boot.sub. * sysdeps/generic/sigset.h (__SIGSETFN): Take new arg CONST; use it for CONST qualifier on SET arg to generated function. Changed uses to pass it; sigismember passes __const, others empty. * sysdeps/mach/hurd/sysd-stdio.c: Rewritten to use `struct hurd_fd *'s for cookies. * sysdeps/mach/hurd/fdopen.c: Rewritten accordinly. * sysdeps/mach/hurd/defs.c (init_stdio): Rewritten accordingly. Add it to the _hurd_fd_subinit hook instead of the __libc_subinit hook. * sysdeps/mach/hurd/stdio_init.c: New file. * hurd/dtable.c (_hurd_fd_subinit): New hook variable. (init_dtable): Run the _hurd_fd_subinit hook. * hurd/hurd/fd.h (struct hurd_dtable): Type removed. (_hurd_dtable_users, _hurd_dtable_rlimit): Variables removed. (_hurd_dtable): Make this a struct hurd_fd **. (_hurd_dtablesize): New variable. (struct hurd_fd_user): Type removed. (_hurd_dtable_get, _hurd_dtable_free, _hurd_dtable_fd): Functions removed. (_hurd_fd_get): Rewritten. Take just one arg, and look it up in _hurd_dtable; return a struct hurd_fd *. (HURD_FD_USE): Rewritten to use new _hurd_fd_get interface. * hurd/dtable.c (_hurd_dtable_users, _hurd_dtable_rlimit): Variables removed. (_hurd_dtable): Make this a struct hurd_fd **. (_hurd_dtablesize): New variable. (init_dtable, fork_parent_dtable, fork_child_dtable, ctty_new_pgrp, reauth_dtable): Use new simpler _hurd_dtable format. * sysdeps/mach/hurd/__getdtsz.c: Use _hurd_dtablesize. * sysdeps/mach/hurd/__fcntl.c: Use new _hurd_fd_get protocol. * hurd/dtable.c (get_dtable_port): Return the ctty port if set. * hurd/hurd/fd.h (_hurd_fd_error_signal): New function, broken out of _hurd_fd_error. (_hurd_fd_error): Call it. * hurd/Makefile (dtable): Add fd-close. * hurd/fd-close.c: New file. * hurd/hurd/fd.h: Declare _hurd_fd_close. * sysdeps/mach/hurd/__close.c: Call _hurd_fd_close. * signal/Makefile (routines): Add sigsetops. * signal/sigsetops.c: New file. * sysdeps/unix/sysv/sysv4/sigset.h (_EXTERN_INLINE): New macro. Use it for all the inline functions. * signal/signal.h: Move #include inside #ifdef _SIGNAL_H. * sysdeps/generic/sigset.h: Protect types with #ifndef _SIGSET_H_types. Protect rest with #if !defined (_SIGSET_H_fns) && defined (_SIGNAL_H). (__SIGSETFN): Add extern declaration of NAME inside function. * sysdeps/unix/ioctls-tmpl.c: Add missing #endif. * sysdeps/unix/Makefile (make-ioctls-CFLAGS): Remember -D. Fri May 20 20:42:33 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * sysdeps/unix/Makefile (sys/termios.h): Variable removed. (ioctl-includes): New variable. (make-ioctls-CFLAGS): Compute value generally from $(ioctl-includes). ($(common-objpfx)ioctls): Depend on $(ioctl-includes), instead of $(sys/termios.h). * sysdeps/unix/sysv/sco3.2.4/sco_getgrp.S: New file. * sysdeps/unix/sysv/sco3.2.4/Makefile (sysdep_routines): Add sco_getgrp. * sysdeps/unix/sysv/sco3.2.4/__getgrps.c: New file. * sysdeps/generic/sigset.h (__sigismember, __sigaddset, __sigdelset): Rewritten as extern inline functions; check for bogus signal number. * configure.in (names): Put $implied before $* in new $sysnames list remaining to be processed; this ensures unix/common precedes unix/sysv4 for sysv4. Thu May 19 18:35:02 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) * sysdeps/mach/hurd/defs.c (init_stdio): Make stdin and stdout line buffered and stderr unbuffered. Thu May 19 16:14:36 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * sysdeps/mach/hurd/getcwd.c: Remember to call io_stat on cwdir. * sysdeps/generic/configure.in: Use changequote around if expr to avoid [] elision. Thu May 19 13:53:59 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) * hurd/hurdsock.c (_hurd_socket_server): Return EPFNOSUPPORT rather than EPROTONOSUPPORT because it's the entire protocol family that isn't present, not just one protocol. * sysdeps/mach/hurd/__access.c (__access): Don't deallocate CRDIR or CWDIR; that's taken care of by the _hurd_port_get and _hurd_port_free system. Thu May 19 04:14:57 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * sysdeps/posix/libc_fatal.c: Include . * sysdeps/unix/sysv/sysv4/__sigact.c: Include for NULL. * sysdeps/mach/hurd/__access.c: Fix swapped poly and count args in __auth_makeauth call. * sysdeps/mach/hurd/ioctls.h (_IOC, _IOT): Rewritten using bitwise operations, so the result is always technically a constant (the old method of using a union constructor expression was not good enough for initializers). * hurd/hurdsock.c (_hurd_socket_server): If path_lookup returns ENOENT, we return EPROTONOSUPPORT. * hurd/Makefile (dtable): Add hurdioctl. * hurd/dtable.c (rectty_dtable, tiocsctty, tiocnotty): Functions moved: * hurd/hurdioctl.c: New file. (fioctl, fioclex): New functions. * sysdeps/mach/hurd/__ioctl.c (_hurd_ioctl_handler_lists): Don't define it, just declare it. * sysdeps/mach/hurd/getcwd.c: Use MACH_PORT_RIGHT_SEND, not MACH_PORT_TYPE_SEND, in mach_port_mod_refs call. * sysdeps/mach/hurd/__getpgrp.c: Don't lock _hurd_pid_lock. * sysdeps/unix/common/glue-ctype.c: Don't include . Instead, add explicit extern declaration of TABLE in main. Wed May 18 17:54:00 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * sysdeps/m68k/Makefile (asm-CPPFLAGS): Append $(m68k-syntax-flag). * Version 1.07.6. * sunrpc/Makefile (+gccwarn): Set to -w. * sysdeps/unix/Makefile (ifeq testing sys/param.h): Use patsubst instead of dir to remove directory name from .../sys/param.h but preserve "sys/". * inet/sys/bitypes.h: Replaced with just #include . * posix/sys/utsname.h (_UTSNAME_NODENAME_LENGTH): If undefined, define to _UTSNAME_LENGTH. (struct utsname): Use _UTSNAME_NODENAME_LENGTH for `nodename' member. * sysdeps/unix/bsd/sun/sunos4/utsnamelen.h (_UTSNAME_NODENAME_LENGTH): Define it. * resource/sys/resource.h (enum __rlimit_resource): Removed. Just include instead. * resource/Makefile (headers): Add resourcebits.h. * sysdeps/generic/resourcebits.h: New file. * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: New file. * stdio/test-popen.c (main): Use popen to read the file back, too. * sysdeps/unix/sysv/sysv4/i386/sysdep.h: New file. * sysdeps/unix/sysv/sysv4/i386/sys-sig.S: Fixed typo: movel->movl. Tue May 17 12:46:31 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self, __mach_task_self, __mach_host_self): New declarations of __ versions of syscall traps. (swtch, __swtch, swtch_pri, __swtch_pri, thread_switch, __thread_switch, evc_wait, __evc_wait): New prototypes. * mach/Makefile (headers): Added mach/mach_traps.h so that the GNU version is installed instead of the Mach version. Mon May 16 15:34:12 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * sysdeps/stub/sys/param.h: New file. * mach/lock-intern.h (__mutex_lock, __mutex_unlock): Real definitions. (__mutex_lock_solid, __mutex_unlock_solid, __mutex_init): Declare them. * mach/mutex-solid.c: New file. * mach/Makefile (lock): Add mutex-solid. (lock-headers): Remove mutex.h. * mach/mutex.h: File removed. * hurd/hurd/id.h: Include instead of . * hurd/hurd/signal.h: Likewise. * hurd/hurdsig.c: Likewise. * hurd/hurdsock.c: Likewise. * hurd/dtable.c: Likewise. * hurd/__setauth.c: Likewise. * sysdeps/mach/hurd/Makefile (includes): Also append -I$(hurd-srcdir)/libthreads. * sysdeps/posix/system.c [WAITPID_CANNOT_BLOCK_SIGCHLD]: Don't block SIGCHLD. * sysdeps/unix/sysv/sco3.2.4/system.c (WAITPID_CANNOT_BLOCK_SIGCHLD): Define this macro. * sysdeps/posix/sigintr.c (siginterrupt) [! SA_RESTART]: Always fail with ENOSYS. * sysdeps/posix/__sigvec.c [! SA_ONSTACK]: Fail with ENOSYS if SV_ONSTACK is set in VEC->sv_flags. [SA_RESTART]: Protect SV_INTERRUPT check with this. * sysdeps/mach/sysdep.h (FATAL_PREPARE): New macro. * sysdeps/posix/libc_fatal.c: Include . [FATAL_PREPARE]: Invoke the macro. * assert/assert.c: Likewise. * sysdeps/generic/memmem.c: Start BEGIN at HAYSTACK, not partway into it. Loop until BEGIN passes the location in HAYSTACK with NEEDLE_LEN bytes remaining to the end. Compare first byte manually before calling memcmp. * sysdeps/unix/sysv/sco3.2.4/__sigact.S: Fix typo. * posix/sys/types.h [__USE_BSD] (int32_t, int16_t, int8_t, u_int32_t, u_int16_t, u_int8_t): New typedefs. * assert/assert.c (__assert_program_name): New variable. (__assert_fail): Print that in the msg too. [HAVE_GNU_LD] (set_progname): New function to set it up at startup. Thu May 12 01:10:52 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * hurd/__setauth.c: Do critical section locking. * hurd/hurdexec.c: Likewise. * hurd/hurdauth.c (_S_del_auth): Likewise. * hurd/getuids.c: Likewise. * hurd/dtable.c: Likewise. * hurd/alloc-fd.c: Likewise. * hurd/hurd/port.h: Likewise. * hurd/hurd/fd.h: Likewise. * hurd/setuids.c: Likewise. * hurd/intern-fd.c: Likewise. * hurd/hurdsock.c (_hurd_socket_server): Likewise. * sysdeps/mach/hurd/setrlimit.c: Likewise. * sysdeps/mach/hurd/setgroups.c: Likewise. * sysdeps/mach/hurd/seteuid.c: Likewise. * sysdeps/mach/hurd/setegid.c: Likewise. * sysdeps/mach/hurd/getrlimit.c: Likewise. * sysdeps/mach/hurd/__setuid.c: Likewise. * sysdeps/mach/hurd/__setreuid.c: Likewise. * sysdeps/mach/hurd/__setregid.c: Likewise. * sysdeps/mach/hurd/__setitmr.c: Likewise. * sysdeps/mach/hurd/__setgid.c: Likewise. * sysdeps/mach/hurd/__select.c: Likewise. * sysdeps/mach/hurd/__sbrk.c: Likewise. * sysdeps/mach/hurd/__getuid.c: Likewise. * sysdeps/mach/hurd/__getpgrp.c: Likewise. * sysdeps/mach/hurd/__getitmr.c: Likewise. * sysdeps/mach/hurd/__getgrps.c: Likewise. * sysdeps/mach/hurd/__getgid.c: Likewise. * sysdeps/mach/hurd/__geteuid.c: Likewise. * sysdeps/mach/hurd/__getegid.c: Likewise. * sysdeps/mach/hurd/__getdtsz.c: Likewise. * sysdeps/mach/hurd/__fork.c: Likewise. * sysdeps/mach/hurd/__fcntl.c: Likewise. * sysdeps/mach/hurd/__dup2.c: Likewise. * sysdeps/mach/hurd/__close.c: Likewise. * sysdeps/mach/hurd/__brk.c: Likewise. * sysdeps/mach/hurd/__access.c: Likewise. * sysdeps/mach/hurd/reboot.c (reboot): Use the host priv port to prove authority. * sysdeps/mach/hurd/__readlink.c: Don't request O_READ access. * sysdeps/mach/hurd/__ioctl.c: Don't expect result data unless return code is zero. Translate MIG_BAD_ID or EOPNOTSUPP to ENOTTY. * mach/devstream.c (output): Use device_write instead of device_write_inband. Wed May 11 18:49:31 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * hurd/hurdinit.c (_hurd_init): Finsih loop of _hurd_port_init on _hurd_ports elts before doing _hurd_proc_init or __task_set_special_port. * hurd/hurd/signal.h (struct hurd_sigstate): Add new `critical_section' member. Remove #if 0'd out vfork crap. (_hurd_critical_section_lock, _hurd_critical_section_unlock): New functions. (HURD_CRITICAL_BEGIN, HURD_CRITICAL_END): New macros. * io/Makefile (headers): Add poll.h and sys/poll.h. (routines): Add poll. * sysdeps/unix/bsd/sun/sunos4/poll.S: New file. * sysdeps/unix/sysv/poll.S: New file. * sysdeps/unix/bsd/poll.c: New file. * sysdeps/stub/poll.c: New file. * io/poll.h, io/sys/poll.h: New files. * misc/bsd-compat.c (setjmp): New function. * sysdeps/unix/Makefile (sysdep_headers): Remove sys/param.h. * misc/Makefile (headers): Add it here instead. * io/test-utime.c (main): New file. * io/Makefile (tests): New variable. Wed May 11 13:44:33 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) * hurd/hurd/threadvar.h (__hurd_errno_location): Remove __volatile keyword. `volatile int errno' is not the same as `int errno'; user programs often mention the latter. * errno.h: Remove __volatile keyword; same reason. Tue May 10 17:21:41 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * time/zdump.c: New code from ADO. * time/difftime.c (difftime): Use hairy rounding algorithm from eggert@twinsun.com when sizeof (time_t) >= sizeof (double). * Makerules (native-CFLAGS): Remove -I$(sysincludedir). RMS says people with bogons in /usr/local/include deserve to lose. * stdio/printf_fp.c (__printf_fp): If IS_NEG gets set, negate FPNUM before testing it for %g format choice. * sysdeps/unix/sysv/irix4/fcntlbits.h: New file. * sysdeps/unix/sysv/irix4/Dist: New file. * sysdeps/unix/sysv/irix4/readv.c: New file. * sysdeps/unix/sysv/irix4/writev.c: New file. * sysdeps/unix/sysv/irix4/__dup2.c: New file. * sunrpc/xdr_float.c (xdr_float): Change [mc68000 || sparc] to [! vax]. * sysdeps/mips/setjmp.S: Remove spurious $. * sysdeps/generic/ftime.c: Include . * sysdeps/unix/mips/sysdep.S: Add .set noreorder. Tue May 10 16:27:13 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) * sysdeps/generic/termbits.h (NCCS): Doc fix. Mon May 9 18:07:44 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) * sysdeps/mach/hurd/uname.c (uname): System uname information has moved from init to proc. * sysdeps/mach/usleep.c (usleep): Return correct value. Destroy RECV when we're done with it. Thu May 5 17:03:56 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) * sysdeps/mach/hurd/__lstat.c: Use O_NOLINK instead of O_NOTRANS. Thu May 5 04:20:54 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * mach/spin-lock.h (spin_lock_init): Define. * sysdeps/mach/hurd/sigsuspend.c: New local variable NEWMASK, set it to *SET if SET is not null, before taking SS->lock; don't dereference SET while holding the lock. Restore SS->blocked to OLDMASK before unlocking and returning. * hurd/hurdsig.c (hurdsig_fork_child): Return zero. * sysdeps/mach/hurd/__fork.c (_hurd_fork_parent_hook, _hurd_fork_prepare_hook)): Define variables (symbol sets). (__fork): Run _hurd_fork_prepare_hook and _hurd_fork_parent_hook. * sysdeps/mach/hurd/sigsuspend.c: Don't test SS->pending; instead wait until SS->suspended is cleared. * hurd/hurdsig.c (_hurd_internal_post_signal): Clear SS->suspended before signalling on SS->arrived. * mach/Makefile (headers): Added mach/default_pager_helper.defs. * sysdeps/sparc/Dist: Added alloca.S. Wed May 4 14:02:29 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) * hurd/hurdexec.c (_hurd_exec): Unlock _hurd_dtable_lock when all through. * sysdeps/mach/hurd/__setitmr.c: Changed _hurd_itimer_lock to be a spin_lock; changed mutex_lock and mutex_unlock accordingly throughout. * sysdeps/mach/hurd/__getitmr.c: Corresponding changes from mutex calls to spin lock calls here too. * sysdeps/mach/hurd/__setitmr.c (setitimer_locked): Fixed syntax of declaration of PREEMPT. (setitimer_locked): Declare variables ERR and ELAPSED. (setitimer_locked): Fix some references to REMAINING that were using it as an itimerval instead of a timeval. (setitimer_locked): Deleted unused label STILLBORN. Wed May 4 00:17:32 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * sysdeps/stub/__getitmr.c: Fix arg name __WHICH to WHICH. * sysdeps/unix/bsd/alarm.c: Round tv_usec with arithmetic rather than a test. * hurd/Makefile (user-interfaces): Add hurd/msg_request. * sysdeps/stub/__setitmr.c: Fix arg name __WHICH to WHICH. * Makeconfig (cross-compiling): Define if $(HOST_CC) and $(CC) differ. * time/Makefile (install-others): Omit defn ifdef cross-compiling. Tue May 3 23:12:48 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * mach/Makefile (lock-headers): Add spin-lock.h. * misc/Makefile (routines): Add madvise. * malloc/Makefile (non-lib.a): Define. * misc/Makefile (non-lib.a): Define. * Makerules (install-lib.a): Filter out $(non-lib.a). (install-lib-non.a): Append $(non-lib.a). * mach/Makefile (mach-headers): Rename sys/version.h to mach/version.h. * hurd/Makefile (headers): Added hurd/threadvar.h. * Version 1.07.5. * hurd/port2fd.c (_hurd_port2fd): Use logic copied from _hurd_port_locked_set to install PORT in D->port, but leave it locked. * sunrpc/Makefile (generated): Don't add $(objpfx). * sysdeps/stub/machine-lock.h: New file. * sysdeps/stub/machine-sp.h: New file. Tue May 3 22:31:15 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) * sysdeps/mach/usleep.c (usleep): Specify MACH_RCV_MSG so that mach_msg actually waits. Tue May 3 19:24:48 1994 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) * malloc/malloc.h (enum mcheck_status): Delete trailing comma in enum list; some compilers don't like it. Tue May 3 15:18:15 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) * sysdeps/mach/hurd/__symlink.c (__symlink): Pass port type arg to __file_set_translator. Mon May 2 17:56:47 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * hurd/Makefile (generated): Add $(inlines) .c files. * sysdeps/mach/hurd/__mknod.c: Pass port type arg to __file_set_translator. Sun May 1 16:03:13 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * mach/mig_syms.c: Add de-__ing aliases for mig_init, mig_get_reply_port, and mig_dealloc_reply_port. * sysdeps/mach/hurd/errnos.awk: Handle copying errors from mach/mig_errors.h and device/device_types.h. Omit E*_SUCCESS. Omit MACH_MSG_MASK and other special bit macros. * sysdeps/mach/hurd/i386/sigcontext.h (struct sigcontext): Added sc_reply_port member. * hurd/hurdsig.c (fetch_reply_port): New function. (_hurd_internal_post_signal): When setting up to run handler, set SCP->sc_reply_port to the receiving thread's value for _HURD_THREADVAR_MIG_REPLY. * sysdeps/mach/hurd/i386/__sigret.c: Destroy the MiG reply port used by the signal handler, and restore from SCP->sc_reply_port. * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): New function; guts from __hurd_threadvar_location. (__hurd_threadvar_location): Call that. * hurd/hurdsig.c (check_pending): New function, broken out of: (_hurd_internal_post_signal): Call that for pending signal check. If SIGNO is zero, call check_pending on each thread's sigstate. * sysdeps/mach/hurd/start.c (start1): Use calloc to get zero-filled space for __hurd_threadvar_stack_offset when __hurd_threadvar_stack_mask is zero. Thu Apr 28 21:29:47 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * Merged gmp-1.99.3+ mpn code from tege for printf_fp. * stdio/printf_fp.c: Include "longlong.h"; gmp-impl.h no longer does. * Makerules (+depfiles): Filter $(extra-objs) to get only .o files. Wed Apr 27 00:20:41 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * Makerules (depend-$(subdir)): Put output in tmp file and use mv -f. Always use $(+depfiles), since sources is no longer exported. Tue Apr 26 20:05:55 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Don't include to avoid conflicts. * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Undefine ECHO, MDMBUF, TOSTOP, FLUSHO, PENDIN, and NOFLSH after including and before including . * sysdeps/unix/bsd/bsd4.4/__tcgetatr.c: Likewise. Tue Apr 26 14:42:43 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) * sysdeps/mach/sleep.c (sleep): Specify MACH_RCV_MSG or else mach_msg won't do anything but return immediately. (sleep): Compute return value correctly. Tue Apr 26 04:49:56 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * sysdeps/i386/setjmp.c: Put global register decls first thing. * sysdeps/i386/__longjmp.c: Likewise. Fri Apr 22 18:10:36 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) * sysdeps/unix/sysv/irix4/__wait3.S: New file. * sysdeps/unix/sysv/irix4/time.S: New file. * sysdeps/unix/sysv/irix4/__waitpid.c: New file. Thu Apr 21 16:54:11 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) * malloc/malloc.c (initialize, morecore): When allocating the _heapinfo block itself, account for it in the statistics. Tue Apr 19 20:17:06 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * sysdeps/unix/sysv/sco3.2.4/pipestream.c: New file. * malloc/malloc.c (morecore): Only zero the new part of NEWINFO, not the part we will copy _heapinfo into. * sysdeps/unix/bsd/signum.h (SIGLOST): Define. (_NSIG): Increase to 33. Mon Apr 18 16:56:11 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * configure.in (config.status): Use $configure_args instead of $ac_configure_args. (after AC_PREPARE): Call AC_LANG_C. * time/Makefile (routines): Add sys/timeb.h. (routines): Add ftime. * time/sys/timeb.h: New file. * sysdeps/unix/bsd/ftime.c: New file. * sysdeps/generic/ftime.c: New file. * sysdeps/posix/getenv.c (getenv): Return NULL if __environ is null. * malloc/malloc.h [_MALLOC_INTERNAL] [HAVE_UNISTD_H]: Include unistd.h. * malloc/Makefile (gmalloc-routines): Put valloc first. Wed Apr 13 14:03:02 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) * sysdeps/mach/hurd/__symlink.c (__symlink): Set the target of the link to FROM, not TO. * sysdeps/mach/hurd/__readlink.c (__readlink): Copy just the target into the user's buffer, not the entire translator spec. Tue Apr 12 00:13:19 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) * hurd/fd-write.c (_hurd_fd_write): Set noctty for now rather than depending on what happens to be on the stack. * sysdeps/mach/hurd/readdir.c (readdir): Notice when hitting end-of-file and return NULL. Mon Apr 11 17:36:59 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) * sysdeps/mach/hurd/start.c (start1): Bother to set __environ. * sysdeps/mach/hurd/__ioctl.c (__ioctl): Comment out use of HURD_EINTR_RPC until signals work. Mon Apr 11 14:16:40 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) * sysdeps/mach/hurd/__ioctl.c (__ioctl): Call __mig_get_reply_port rather than __mig_reply_port (which doesn't exist). * sysdeps/mach/hurd/__mknod.c: Added temporary declarations of major and minor. * (This change occurred on April 4, 1994) mach/setup-thread.c (__mach_setup_thread): The March 31 change had an error; the stack needs to be allocated with ANYWHERE cleared. * (This change occurred on April 8, 1994) hurd/hurdexec.c (_hurd_exec): The arguments to exec_exec had the length and type parameters transposed. In addition, fetch the correct procserver port for the new task. * (This change occurred on April 8, 1994) sysdeps/mach/hurd/__wait.c (__wait4): Deal properly with a null USAGE argument. * (This change occurred on April 8, 1994) sysdeps/mach/hurd/_exit.c (_exit): Changed commented-out call to __proc_exit into a correct call to __proc_mark_exit. Fri Apr 8 14:58:24 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) * string/strsignal.c (strsignal): Store of NUL into unknown_signal was off by one. Tue Apr 5 21:26:25 1994 Brendan Kehoe (brendan@zen.org) * sysdeps/unix/sysv/sysv4/__sigact.c (__sigaction): Declare member `oact' in lower case, to match its use in the rest of the function. Tue Apr 5 03:07:04 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * Makerules (install-lib.a rule): Run ranlib on the target. * Makerules (library member rule): Tighten up pattern rule to match only libc.a, not other libraries. Mon Apr 4 21:49:57 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * set-hooks.h: New file. * Makefile (distribute): Add it. * set-init.c: Include it and use its macro DEFINE_HOOK_RUNNER. * Makerules (sysd-Makefile): Put `sysd-Makefile-done=t' in output. (sysd-rules): Don't include it unless sysd-Makefile-done is defined. Mon Apr 4 18:33:54 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) * mach/setup-thread.c (__mach_setup_thread): Oops; the vm_allocate call should have ANYWHERE cleared so that the change of the 31st has any effect at all. Thu Mar 31 13:46:13 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) * mach/setup-thread.c (__mach_setup_thread): Create a red zone beneath the stack; also, work around a bug in cthreads by forcing the stack into high memory. FIXME--this routine depends on the direction of stack growth; that should be fixed. Mon Mar 28 12:55:51 1994 Roland McGrath (roland@mole.gnu.ai.mit.edu) * Rules (make-dummy-lib): Use `$(AR)' instead of literal `ar'. * configure.in (arg parsing): Don't take --os-release or --os-version. (switches): Variable removed; don't write it into config.status. (config.status): Write release and version values directly. * sysdeps/unix/common/configure.in: Use changequote around if expr to avoid [] elision. Sat Mar 26 18:36:27 1994 Roland McGrath (roland@mole.gnu.ai.mit.edu) * malloc/mcheck.c [! _MALLOC_INTERNAL]: #include Fri Mar 25 02:17:55 1994 Roland McGrath (roland@mole.gnu.ai.mit.edu) * malloc/mcheck.c (mprobe): New function. (abortfunc): Take enum mcheck_status arg. (checkhdr): Return an enum mcheck_status, and pass it to abortfunc. (mabort): New function. (mcheck): Use mabort as default abortfunc. * malloc/malloc.h (enum mcheck_status): New type. (mprobe): Declare new function. (mcheck): ABORTFUNC takes an `enum mcheck_status' arg. * posix/unistd.h [__USE_GNU] (TEMP_FAILURE_RETRY): New macro. * stdio/stdio.h [__USE_GNU && !_LIBC] (cookie_io_functions_t): Define instead of __io_functions (and make that a typedef for this); omit __ from member names. Thu Mar 24 14:59:23 1994 Roland McGrath (roland@mole.gnu.ai.mit.edu) * sysdeps/unix/sysv/sco3.2.4/sigaction.h: New file. * sysdeps/unix/sysv/sco3.2.4/__sigact.S: Put address of __sigreturn in %ecx before doing syscall trap. * sysdeps/stub/setegid.c: Fix arg type to __gid_t (was int). Wed Mar 23 17:33:09 1994 Roland McGrath (roland@mole.gnu.ai.mit.edu) * Makefile (headers): Remove $(stdarg.h). * Makeconfig (stdarg.h): Variable removed. * configure.in: Remove check for __gnuc_va_list in stdarg.h. It is not safe to replace the compiler's stdarg.h with our own. Tue Mar 22 12:46:08 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * Rules (dist): Rule removed. * Makefile (dist): Likewise. * Makerules (dist, distinfo): New rules. (TAGS): Depend on distfile, pass -f distfile to submake. * math/Makefile: Remove if-ed out old bsdmath copying rules. * Makerules (sources, headers, sysdep_routines): Don't export these. * Rules (others, tests): Likewise. * io/lockf.c: Include fcntl.h and errno.h. Mon Mar 21 20:27:32 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * sysdeps/unix/bsd/sony/newsos4/fchdir.S: New file. * sysdeps/unix/bsd/sony/newsos4/{__wait4.c,__wait3.c,__wait.c, sys_wait4.S,Makefile,Dist}: New files. * sysdeps/unix/Makefile (syscall.h): De-SYS_ify `kerncall_basenum'. * sysdeps/unix/bsd/m68k/sysdep.S [! __motorola__]: Rename label 0 to `store'; a user reports gas 1.38 bombs on numbered labels. * sysdeps/posix/Makefile (mk-stdiolim): Use $(HOST_CC). * Rules (distribute, dont_distribute, generated): Don't export them. (dist): Pass those vars down to sub-make on cmd line. * Makefile (distribute, generated): Don't export them. (dist): Pass distribute and generated values to sub-make on cmd line. * Makerules (install-lib-nosubdir): Insert $(libprefix) appropriately. Fri Mar 18 01:02:52 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h (DO_CALL): Use a6 in place of fp. A user reports gas 1.38 doesn't grok fp. Tue Mar 8 18:35:02 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * Makerules (common-clean): Prepend $(objpfx) to $(generated). * Makefile (parent-clean): Prepend $(common-objpfx) to $(common-generated). * Makefile (generated): Don't prepend $(objpfx). * Rules (generated): Likewise. * sysdeps/unix/common/Makefile (generated): Likewise. * sysdeps/unix/sysv/Makefile (generated): Likewise. * sysdeps/unix/Makefile (common-generated): Don't prepend $(common-objpfx). * sysdeps/posix/Makefile (common-generated): Likewise. * sysdeps/generic/Makefile (common-generated): Likewise. (generated): Don't prepend $(objpfx). * sysdeps/generic/Makefile (common-generated): Set this instead of generated for bytesex.h and det_endian. * sysdeps/stub/fexecve.c: New file. * posix/Makefile (routines): Add fexecve. * posix/unistd.h [__USE_GNU]: Declare fexecve. * sysdeps/unix/common/configure.in: Protect siglist and ctype checks with if [ ! "$inhibit_glue" ]. * sysdeps/generic/configure.in: Likewise for psignal check. * sysdeps/unix/common/Makefile: Protect body with ifndef inhibit-glue. Mon Mar 7 17:46:46 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * sysdeps/unix/bsd/osf1/alpha/__sigblock.S: New file from brendan. Fri Mar 4 01:56:26 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * Makerules (native-compile, common-objdir-compile): Use $(HOST_CC) in place of $(CC). * malloc/cfree.c: Move #undef cfree inside #ifdef _LIBC. * misc/sys/ioctl.h (struct ttysize): If TIOCGSIZE != TIOCGWINSZ, use two int elts instead of four shorts. Thu Mar 3 17:35:54 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * malloc/realloc.c (realloc): When shrinking a block by splitting and then freeing one, bump the _chunks_used counter. * sysdeps/unix/sysv/sysv4/i386/__mknod.S: New file. Tue Mar 1 11:42:41 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * sysdeps/unix/sysv/sco3.2.4/__waitpid.S: Get first argument from stack at 8(%esp), not 4(%esp). * sysdeps/unix/sysv/isc2.2/rename.S: Get unix/common, not unix/bsd. Thu Feb 24 14:40:43 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * io/lockf.c: New file. * io/Makefile (routines): Add lockf. * io/fcntl.h [__USE_MISC] (F_ULOCK, F_LOCK, F_TLOCK, F_TEST): New macros. [__USE_MISC] (lockf): Declare it. * posix/unistd.h: Copy those new macros and declaration. * time/backward, time/etcetera, time/zic.c: New code and data from ADO. * Makeconfig (posixrules): Default to America/New_York. * sysdeps/unix/mips/sysdep.S: Store -1 in v0 in the delay slot after the return, rather than before (leaving the delay slot unfilled and without a nop!). * sysdeps/unix/sysv/irix4: New directory; mips-sgi-irix4 port courtesy Tom Quinn. * sysdeps/unix/sysv/sysv4/direct.h: Moved to unix/common; it is right for irix4 as well as sysv4. * sysdeps/unix/bsd/ultrix4/__wait.S: Moved to unix/mips. (noerror): Store register v1 in location pointed to by first arg (if not NULL). * sysdeps/unix/bsd/ultrix4/__sigret.S: Moved to unix/mips. * sysdeps/unix/bsd/bsd4.4/{mmap,munmap,mprotect,msync,madvise}.S: Moved to sysdeps/unix/mman (new directory). * sysdeps/unix/bsd/bsd4.4/Implies: New file; imply unix/mman. * sysdeps/unix/bsd/sunos4/Implies: Likewise. * sysdeps/unix/bsd/ultrix4/Implies: Likewise. * sysdeps/unix/bsd/osf1/Implies: Likewise. * sysdeps/unix/bsd/sun/sunos4/munmap.S, sysdeps/unix/bsd/sun/sunos4/mprotect.S, sysdeps/unix/bsd/sun/sunos4/madvise.S, sysdeps/unix/bsd/ultrix4/mmap.S, sysdeps/unix/bsd/ultrix4/munmap.S, sysdeps/unix/bsd/ultrix4/mprotect.S, sysdeps/unix/bsd/osf1/mmap.S, sysdeps/unix/bsd/osf1/munmap.S, sysdeps/unix/bsd/osf1/mprotect.S: Files removed. * sysdeps/unix/sysv/sysv4/fcntlbits.h: Moved to sysdeps/unix/common. * stdio/printf_fp.c: Add many assertions to make sure no mpn size variable is ever zero. * Makerules (native-CFLAGS): Add -I$(sysincludedir). * Makerules (depend-$(subdir)) [omit-deps]: Use $(+depfiles) value instead of shell hackery. Wed Feb 23 00:09:08 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * sysdeps/sparc/alloca.S [! NO_UNDERSCORES]: Call it ___builtin_alloca. Tue Feb 22 18:47:10 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Use __off_t in mmap prototype. * time/setitmr.c: Swap args OLD and NEW. * time/sys/time.h (setitimer): Likewise. * sysdeps/stub/__setitmr.c: Likewise. Mon Feb 21 20:47:55 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * sysdeps/sparc/Makefile [gnulib] (routines): Add alloca. * sysdeps/sparc/alloca.S: New file; support for SunOS libc's `__builtin_alloca' function (never needed with GCC). * sysdeps/unix/sysv/sysv4/__sigact.c (trampoline): Cast handler to three-arg type. Sun Feb 20 00:46:15 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * sysdeps/unix/bsd/sun/sunos4/mmap.c: Add missing semicolon. * sysdeps/unix/sparc/start.c [! NO_SHLIB]: Include before . * sysdeps/unix/bsd/ultrix4/mips/{sysdep.h,sysdep.S,__pipe.S, __fork.S,__brk.S}: Moved to sysdeps/unix/mips (new directory). * sysdeps/unix/bsd/ultrix4/mips/__sigret.S: Use SYS_sigreturn instead of literal 103; #define to 103 if not already defined. Sat Feb 19 17:39:13 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * sysdeps/unix/sysv/sysv4/i386/Dist: New file; list sys-sig.S. Fri Feb 18 18:07:34 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * sysdeps/generic/configure.in: New file; check for psignal. * sysdeps/unix/common/glue-ctype.c: Check for table named _ctype, before checking for _ctype_. * sysdeps/unix/common/configure.in: Check for _ctype. * sysdeps/unix/Makefile (syscall.h): Look for sys.s before syscall.h. * sysdeps/unix/configure (unix_syscall_h): Likewise. * configure.in (os = irix4*): Set base_os=unix/sysv. * sunrpc/rpc/auth.h (u_int32): Always define, no #ifdefs. * sunrpc/xdr_float.c: Change [mc68000 || sparc] to [! vax]. Thu Feb 17 18:42:29 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * Version 1.07.4. * sysdeps/unix/bsd/sun/sunos4/Dist: Add sys_mmap.S. * Makerules (sysdep_dir): Remove defn. * Makeconfig (sysdep_dir): Define it here instead. Wed Feb 16 16:54:00 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * sysdeps/unix/sysv/sysv4/__sigact.c: New file. * sysdeps/unix/sysv/sysv4/i386/Makefile: New file. * sysdeps/unix/sysv/sysv4/i386/sys-sig.S: New file. * time/sys/time.h (timerisset, timercmp, timerclear): New macros. * misc/Makefile (headers): Add sys/mman.h. (routines): Add mmap, munmap, mprotect, msync. * sysdeps/unix/bsd/sun/sunos4/sys_mmap.S: New file. * sysdeps/unix/bsd/sun/sunos4/mmap.c: New file. * sysdeps/unix/bsd/sun/sunos4/Makefile [$(subdir) == misc] (sysdep_routines): Add sys_mmap. * sysdeps/unix/bsd/bsd4.4/mprotect.S: New file. * sysdeps/unix/bsd/bsd4.4/munmap.S: New file. * sysdeps/unix/bsd/bsd4.4/msync.S: New file. * sysdeps/unix/bsd/bsd4.4/mmap.S: New file. * sysdeps/unix/bsd/bsd4.4/madvise.S: New file. * sysdeps/unix/bsd/sun/sunos4/mprotect.S: New file. * sysdeps/unix/bsd/sun/sunos4/munmap.S: New file. * sysdeps/unix/bsd/sun/sunos4/msync.S: New file. * sysdeps/unix/bsd/sun/sunos4/madvise.S: New file. * sysdeps/unix/bsd/ultrix4/sys/mman.h: New file. * sysdeps/unix/bsd/ultrix4/mmap.S: New file. * sysdeps/unix/bsd/ultrix4/munmap.S: New file. * sysdeps/unix/bsd/ultrix4/mprotect.S: New file. * sysdeps/stub/mprotect.c: New file. * sysdeps/stub/munmap.c: New file. * sysdeps/stub/msync.c: New file. * sysdeps/stub/mmap.c: New file. * sysdeps/stub/madvise.c: New file. * sysdeps/generic/sys/mman.h: New file. * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: New file. * sysdeps/unix/bsd/osf1/msync.S: New file. * sysdeps/unix/bsd/osf1/mmap.S: New file. * sysdeps/unix/bsd/osf1/munmap.S: New file. * sysdeps/unix/bsd/osf1/mprotect.S: New file. * sysdeps/unix/bsd/osf1/sys/mman.h: New file. Tue Feb 15 16:47:45 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * posix/unistd.h: Declare truncate, ftruncate. * misc/Makefile (headers): Add syslog.h. * misc/syslog.h: New file; just includes . * posix/unistd.h: Change duplicate seteuid decl to setegid. * io/Makefile (headers): Add sys/fcntl.h. * io/sys/fcntl.h: New file; just includes . Mon Feb 14 10:36:57 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * Makerules (library pattern rule): Depend on $(objpfx)stamp-$(subdir) and have empty commands. ($(objpfx)stamp-$(subdir)): Move dep on $(objects) and ar cmds here. (common-mostlyclean): Remove $(objpfx)stamp-$(subdir). * Makerules (+depfiles): Filter out deps for modules in $(omit-deps). * sunrpc/Makefile (omit-deps): Define new variable. * Makerules ($(libc.a)(__.SYMDEF)): Depend on $(+libobjs), not lib-noranlib. * Makefile ($(libc.a)(__.SYMDEF)): Depend on subdir_lib. * Makerules (+depfiles): Include deps for $(extra-objs). * sunrpc/rpcsvc/klm_prot.x: Move program definition to end. * sunrpc/Makefile (lib): Depend on $(objpfx)librpcsvc.a. * time/zic.c: Set CP to NAME before dereferencing. * sunrpc/Makefile ($(objpfx)x%.c): Target fixed from $(objpfx)x%.c. ($(objpfx)rpcsvc/%.h): Target renamed from $(includedir)rpcsvc/%.h. Make each x%.o file depend on the corresponding rpcsvc/%.h file. (headers): Add rpcsvc/%.h. (install-others): Remove generated rpcsvc headers. (generated): Define to include generated rpcsvc headers and sources. * sysdeps/m68k/fpu/acos.c: Add __CONSTVALUE to defn. * sysdeps/m68k/fpu/ldexp.c: Likewise. * sysdeps/m68k/fpu/pow.c: Likewise. * sysdeps/m68k/fpu/fmod.c: Likewise. * sysdeps/m68k/fpu/atan2.c: Likewise. * sysdeps/m68k/fpu/__drem.c: Likewise. * sysdeps/m68k/fpu/__isinf.c: Likewise. * sysdeps/generic/hypot.c: Likewise. * sysdeps/m68k/fpu/__logb.c: Likewise. * sysdeps/unix/bsd/m68k/sysdep.S: Swap operands in cmpl. Sun Feb 13 19:49:24 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * sysdeps/m68k/Makefile (compile-command.S): Remove definition that did kludgey # hackery. * sysdeps/unix/bsd/hp/m68k/sysdep.h (PSEUDO): Add missing close paren. (POUND): Define (no arg) to just `#' (a single pound sign). (PSEUDO, DO_CALL): Use `POUND foo' in place of `POUND(foo)'. * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise. * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise. * sysdeps/unix/bsd/sun/m68k/__brk.S: Use #0, not POUND(0). * sysdeps/unix/bsd/hp/m68k/__brk.S: Use #__end instead of POUND(__end). Fri Feb 11 00:29:45 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * configure.in (Makefile): Set objdir instead of ARCH in submake cmd. * time/mktime.c: Define __P if undefined. * assert/assert.h (__ASSERT_FUNCTION): Check __GNUC_MINOR__<6 if defined(__cplusplus). Thu Feb 10 00:52:31 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * sysdeps/unix/sysv/__sigact.c: Use __sigismember and __sigemptyset on sa_mask instead of assuming it's an int. * sysdeps/unix/sysv/sysv4/sigset.h (__sigismember): Declare arg SET to be a pointer to const. * sysdeps/posix/__sigpause.c: Convert MASK to a sigset_t with a loop. * sysdeps/posix/__sigblock.c: When sigset_t==mask, take address of SET or OSET, cast to int *, and dereference. * sysdeps/posix/__sigstmsk.c: Likewise. * sysdeps/posix/__sigvec.c: Likewise. Add the -lrpcsvc library of XDR routines for standard SunRPC protocols. * sunrpc/Makefile (install-lib): Define to include librpcsvc.a. (rpcsvc-objs): New variable. (extra-objs): Add $(rpcsvc-objs). ($(objpfxlibrpcsvc.a): New target. ($(objpfx)x%.o): New rule to rpcgen XDR routines. Wed Feb 9 11:59:33 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * time/zic.c (mkdirs): Reapply fix to avoid writing into passed ptr. * sunrpc/Makefile (distribute): Add etc.rpc. ($(includedir)/bootparam_prot.h): Change target to $(includedir)/rpcsvc/bootparam_prot.h and dep to $(includedir)/rpcsvc/bootparam.h. (install-others): Change reference. * sunrpc/rpc_util.h: Comment out bogus decl of I"vdVGo'fnUmM\cM.('\]uv14 & GC?!5$j{ޝ% l %%񐫘:JmUsZXw~?R>壐^M3Vc`d終vוT*x{fjDA!`Spsby5ۄ:ObVhoV8ZMXVJt"9`!jh+ېdp; \BǕRiN,"7@`L=弶4*V 4ײojVP]T.-Lu?X_"X iLݭ'@ 򜸞T3A>,n˹ET6+:"tM~uE `I xcm,dA.V޿ Kd%=p/( g/A^jW۵&t;۫WR2ܹc-wq%FW>SWq"ಾԑbM3JciEUb3kױچZ/`0UT|P7B%߽: T7d^!APkޛYJCXC-FSjc\gzSePǀJ iϬN, g':R \f5}3inOTq\$uǁQfֿi̳7QgZ8e?:Wt#tpCfWeLmslSfԖΰ(t=9V-p_/Rwr*Ymz )VJ8N.~RnqH _S?lmфƭ\ߎE7(aփQ% g0a,ULWdm "&Vg{wގ4w<1}/ ʒ0Twq.X_'/ 퍚!g3?50OE᝔`5~@lXW~$p:/>ޛG&*8<>:!Ad.jl;\ǐs! ]oZ!0gg 9Ukr\yU9V]_5'ssˑY= 3̰u:1@wT3, bY0AP en_~as4\GLB^/n\wp@EWWS&murϣ%B{GOˮf],V5P k*UZ :֬l1u #R6ܸZSU)8!YGtdtv%Es<$xWEu]4? ;UxL˨iz Vp^3 (f?Y]j2[փOGD:Uu(چ/]6Bc:1\$bd$,D> "Cp_BlUӋ_E]s%[9/8~lnu@8Q|4P%GGE}ApA_,gh^{N.>]~ "=Vd&*K$=vnl@2<>H'*ߩuiGxL b`v,~~G`ǚ %?=hYBjf. }8hnu+r5nb^숉_pMnhhq8F ؇'νS2wDñu8~dLDXa_EHC/9{KO䵌 $Oj' tÁjwVsꙞ :®ʮfҒPUd3/a0^x'6NNRGљ<iqL4>I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