diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2017-08-02 20:45:20 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2017-08-02 20:45:20 +0530 |
commit | 92c3af3c140f671ea49c751368d17df2e10d0eeb (patch) | |
tree | d9528c7f8aff5b568f696bbbaa000a8480950a9e /ChangeLog.4 | |
parent | 00cdcf5a4110f7ac68651f5662693c82f7bffaca (diff) | |
download | glibc-92c3af3c140f671ea49c751368d17df2e10d0eeb.zip glibc-92c3af3c140f671ea49c751368d17df2e10d0eeb.tar.gz glibc-92c3af3c140f671ea49c751368d17df2e10d0eeb.tar.bz2 |
Rotate ChangeLog
Diffstat (limited to 'ChangeLog.4')
-rw-r--r-- | ChangeLog.4 | 3020 |
1 files changed, 1170 insertions, 1850 deletions
diff --git a/ChangeLog.4 b/ChangeLog.4 index 9277187..806a31c 100644 --- a/ChangeLog.4 +++ b/ChangeLog.4 @@ -1,2324 +1,1644 @@ -Mon Dec 12 01:41:07 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> +Sun Jun 5 14:34:12 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * Version 1.09.3. + * Version 1.08.1. - * sysdeps/mach/hurd/alpha/trampoline.c: Use `long int' for sigcode - values. Use _hurdsig_catch_fault. Pass address of __sigreturn in - $27, SCP value in $25. In trampoline code, use those regs. + * sysdeps/mach/hurd/ioctls.h (_IOR, _IOW): Swap IOC_IN and IOC_OUT. - * sysdeps/mach/hurd/alpha/__sigret.c: Use asms instead of global - register vars to restore FP regs. Fix typo in REI invocation. + * 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. -Sun Dec 11 14:10:11 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> +Sat Jun 4 00:35:42 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * hurd/hurd/fd.h (hurd_register_ioctl_handler, - _HURD_HANDLE_IOCTLS): Third arg to handler is a void *, not a - __gnuc_va_list. + * 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. - * stdio/memstream.c (enlarge_buffer): Always add one char into - NEED for the char we are writing or the NUL terminator. + * 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. - * stdio/memstream.c (enlarge_buffer): If realloc fails, just set - error flag and preserve old buffer state. + * hurd/hurdpid.c (init_pids): Don't put this on _hurd_fork_child_hook. - * stdio/fwrite.c: In fill_buffer case, check for zero buffer space - after fflush and write one char normally. + * sysdeps/mach/hurd/__isatty.c: New file. -Sat Dec 10 00:02:21 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * hurd/hurdsock.c (_hurd_socket_server): Pass NP to __path_lookup, + not NAME (most of which is uninitialized). - * sysdeps/mach/hurd/__fork.c: Use natural_t in place of int. + * hurd/hurdsig.c (_hurdsig_init): Don't check for _hurd_msgport + being non-null; always initialize it. - * sysdeps/alpha/macros.m4: Use C comments instead of ! comments. +Fri Jun 3 21:57:14 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * sysdeps/mach/hurd/mmap.c: Cast -1 to long int before casting to - caddr_t. + * hurd/hurdrlimit.c (init_rlimit): Restore __mutex_init call. + (_hurd_rlimit_lock): Set initializer to random value; run-time + initialization is always required. - * sysdeps/mach/alpha/syscall.S: Include - <mach/machine/alpha_instruction.h> to define op_chmk. + * inet/rcmd.c (rcmd): Compute max fd + 1 for select instead of + hardcoding 32. - * sysdeps/mach/hurd/__mknod.c: Include <string.h>. - * sysdeps/mach/hurd/setegid.c: Likewise. - * sysdeps/mach/hurd/seteuid.c: Likewise. - * sysdeps/mach/hurd/__setregid.c: Likewise. - * sysdeps/mach/hurd/__setreuid.c: Likewise. - * sysdeps/mach/hurd/__ioctl.c: Likewise. +Wed Jun 1 10:52:41 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - * sysdeps/mach/hurd/recvfrom.c: Include <string.h>. Use - mach_msg_type_number_t in place of unsigned int. - * sysdeps/mach/hurd/recv.c: Likewise. - * sysdeps/mach/hurd/getsockopt.c: Likewise. - * sysdeps/mach/hurd/getsocknam.c: Likewise. - * sysdeps/mach/hurd/getpeernam.c: Likewise. - * sysdeps/mach/hurd/accept.c: Likewise. - * sysdeps/mach/hurd/__gethstnm.c: Likewise. + * 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. -Fri Dec 9 00:01:21 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> +Tue May 31 18:15:33 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * sysdeps/mach/hurd/__readlink.c: Use mach_msg_type_number_t in - place of unsigned int. - * sysdeps/mach/hurd/__fork.c: Likewise. + * 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/__setgid.c: Include <string.h>. - * sysdeps/mach/hurd/__setuid.c: Likewise. - * sysdeps/mach/hurd/__getgrps.c: Likewise. - * hurd/getuids.c: Likewise. - * sysdeps/mach/hurd/__getdents.c: Likewise. + * 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/dirstream.h (DIR): Use unsigned long int for - `__allocation' and `__size' members. + * 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. - * sysdeps/mach/hurd/alpha/exc2signal.c: Use `long int' for sigcode - values. - * sysdeps/mach/hurd/i386/exc2signal.c: Likewise. +Mon May 30 18:37:47 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * mach/devstream.c (input): Use mach_msg_type_number_t for NREAD. + * hurd/hurdrlimit.c (init_rlimit): Put this on _hurd_preinit_hook + instead of _hurd_subinit. - * sysdeps/mach/hurd/__setitmr.c (preempt_sigalrm): Use `long int' - for SIGCODE; take SIGERROR arg. + * sysdeps/mach/hurd/mig-reply.c (mig_fork_child): Function removed. + * hurd/dtable.c (fork_parent_dtable): Function removed. - * sysdeps/alpha/divrem.m4: Include <sysdep.h> instead of - <regdef.h>. Use C comments instead of ! comments. + * sysdeps/generic/resourcebits.h: Rename RLIM_NLIMITS to + RLIMIT_NLIMITS, add alias for old name. - * sysdeps/alpha/memchr.c: Remove extra shift and OR of CHARMASK. - * sysdeps/alpha/strchr.c: Likewise. + * sysdeps/mach/hurd/Makefile (hurd-objpfx): New variable. + (before-compile): Use that instead of $(common-objpfx). - * sysdeps/mach/hurd/sysd-stdio.c: Use mach_msg_type_number_t in - place of unsigned int. + * sysdeps/mach/Makefile [! objpfx] (mach-objpfx): Add trailing slash. - * sysdeps/posix/tempname.c (__stdio_gen_tempname): Cast FD to long - int before casting to pointer. +Fri May 27 01:34:56 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * stdio/printf_fp.c: Include <string.h>. + * hurd/hurdsig.c (_hurdsig_init): Always initialize _hurd_sigthread. - * sysdeps/alpha/setjmp_aux.c: Use ENV[0].__jmpbuf[0]. + * hurd/dtable.c: Use data_set_element instead of text_set_element + for _hurd_fork_locks. + * hurd/hurdsig.c: Likewise. - * sysdeps/mach/alpha/sysdep.h (ENTRY): New macro. + * hurd/hurd.h (_hurd_set_data_limit): Declaration removed. - * hurd/hurdioctl.c (fioctl): Pass a mach_msg_type_number_t* to - __io_readable. + * hurd/dtable.c (_hurd_dtable_rlimit): Variable removed. + (init_dtable): Don't set it. - * hurd/hurd-raise.c: Use `long int' for sigcode values. + * 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. - * hurd/hurdfault.c: Use `long int' for sigcode values. - * hurd/hurdfault.h: Likewise. + * sysdeps/generic/resourcebits.h: Add RLIMIT_NOFILE as an alias + for RLIMIT_OFILE. - * hurd/hurd/signal.h (struct hurd_signal_preempt): Handler takes - new SIGERROR arg. - * hurd/preempt-sig.c: Likewise. - * hurd/hurdsig.c (_hurd_internal_post_signal): Pass SIGERROR to - PREEMPT. + * sysdeps/mach/hurd/mig-reply.c (__mig_init): Argument is stack + on which to set the per-thread reply port variable. - * hurd/hurdlookup.c: Use mach_msg_type_number_t and natural_t in - place of unsigned int and int. + * 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. - * hurd/hurd/id.h: Use mach_msg_type_number_t in place of unsigned int. + * sysdeps/mach/hurd/start.c (_start): Run _hurd_preinit_hook right + after __mach_init. - * hurd/catch-exc.c: Use `long int' for sigcode values. - * sysdeps/mach/hurd/i386/trampoline.c: Likewise. - * hurd/preempt-sig.c: Likewise. + * 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. - * configure.in (machine): Don't recognize r[34]00. - Convert mips64* to mips/mips64/& and mips* to mips/&. - * sysdeps/mips/mipsel/bytesex.h: New file. - * sysdeps/mips/r4000: Directory renamed to sysdeps/mips/mips64. + * stdio/freopen.c (freopen): Close the stream if MODE is invalid. - * sysdeps/mach/alpha/sysdep.h (START_MACHDEP): Add missing - backslashes. - (CALL_WITH_SP): Cast FN to long int. + * hurd/hurdsig.c (_hurd_core_limit): Define variable. - * sysdeps/mach/alpha/thread_state.h (struct machine_thread_all_state): - New member `exc'. + * socket/sys/socket.h (PF_LOCAL): Define in preference to PF_FILE. - * hurd/fd-read.c: Include <string.h>. Use mach_msg_type_number_t - in place of mach_msg_type_size_t. +Thu May 26 12:09:51 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - * hurd/hurdfault.c: Use natural_t instead of int. + * 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/hurd/signal.h: Use `long int' for sigcode values. - * hurd/hurdsig.c: Use mach_msg_type_number_t and natural_t in - place of unsigned int and int. Use `long int' for sigcode values. + * 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. - * hurd/vpprintf.c (pwrite): Cast &N to mach_msg_type_number_t *. +Wed May 25 20:55:16 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * hurd/__fopenport.c: Include <string.h>. Use - mach_msg_type_number_t in place of unsigned int. + * sysdeps/mach/hurd/__brk.c: Include <cthreads.h> instead of + <mutex.h>. - * hurd/hurdauth.c: Include <string.h>. + * 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. - - * sysdeps/mach/alpha/machine-lock.h: Remove ".set noreorder" et - al; GCC already emits them. Fix register constraints in asms. - Set RTN in C, not asm. - - * hurd/hurdprio.c: Use mach_msg_type_number_t in place of unsigned - int. - -Thu Dec 8 04:00:11 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * sysdeps/mach/hurd/alpha/__sigret.c: Remove ".set noreorder" et - al; GCC already emits them. - * sysdeps/mach/hurd/alpha/trampoline.c: Likewise. - - * sysdeps/mach/thread_state.h: Use mach_msg_type_number_t and - natural_t in place of unsigned int and int. - - * sysdeps/mach/sysdep.h (ENTRY): Don't #error if undefined. - - * sysdeps/mach/syscall.h: New file. - - * sysdeps/mach/Makefile: Remove debugging printout. - - * sysdeps/mach/hurd/configure.in: Converted to an autoconf script - from sysdeps/mach/hurd/configure, to work better with autoconf - version 2. - * sysdeps/mach/configure.in: Likewise, from sysdeps/mach/configure. - - * hurd/hurdmsg.c: Use mach_msg_type_number_t in place of unsigned - int. - - * sysdeps/mach/alpha/sysdep.h: Rename variable `sp' to avoid - conflict with #define in <mach/alpha/asm.h>. - - * sysdeps/mach/hurd/alpha/__sigret.c: Remove unused variable. - - * sysdeps/mach/hurd/__ioctl.c: Pass arg to - __mig_dealloc_reply_port. - - * configure.in: Converted to Autoconf version 2. - * sysdeps/generic/configure.in: Likewise. - * sysdeps/unix/common/configure.in: Likewise. - * sysdeps/unix/configure.in: New file, converted to a - part-autoconf script from sysdeps/unix/configure, to work better - with autoconf version 2. - * aclocal.m4: Converted to Autoconf version 2. - (AC_CHECK_SYMBOL): New macro. - * config.make.in: New file. - * config-name.in: New file. - * Makefile (distribute): Rename install.sh to install-sh. - Add config.make.in, config-name.in, Makefile.in. - (distclean-1): Remove config-name.h and config.cache. - * Makefile.in: New file. - * Makeconfig (+gnu-stabs, gnu-as): Match -DHAVE_GNU_{AS,LD}=1 too. - -Wed Dec 7 14:05:12 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * sysdeps/mach/mips/cacheflush.c: New file. - * sysdeps/mach/mips/Makefile: New file. - * sysdeps/mach/mips/Dist: New file. - - * hurd/hurdmalloc.c (vm_allocate, vm_page_size): #define these to - __ names at top. - - * posix/glob/Makefile.in (realclean): Remove config.status. - - * posix/glob/Makefile.in (DEFS): New variable, set from @DEFS@. - (CPPFLAGS): Remove @DEFS@ from here. - (.c.o): Use $(DEFS). - - * setjmp/siglongjmp.c: First arg is const. - -Tue Dec 6 19:04:50 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * posix/glob/Makefile.in (CPPFLAGS): Include @DEFS@. - -Mon Dec 5 12:05:10 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * posix/glob/configure.in: Add AC_PROG_CC. - - * sysdeps/mach/hurd/alpha/longjmp-ts.c: Use ENV[0].__jmpbuf[0]. - * sysdeps/mach/hurd/mips/longjmp-ts.c: Likewise. - * sysdeps/mach/hurd/i386/longjmp-ts.c: Likewise. - - * Version 1.09.2. - - * sysdeps/mach/hurd/__select.c: Don't make TO const. - -Sun Dec 4 12:06:36 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * sysdeps/unix/configure (config_vars): Add missing backslash - before a $. - - Revamp the `setjmp' interface to be cleaner: only one type - `jmp_buf'/`sigjmp_buf', and only one `longjmp' function (with - aliases `_longjmp', `siglongjmp'). Internal setjmp interface is - now __sigsetjmp, which takes SAVEMASK flag and optionally saves - the signal mask. Add extern entry points `setjmp' and `_setjmp' - for BSD compatiblity; they tail-call __sigsetjmp. - * setjmp/setjmp.h: Include <sigset.h> for __sigset_t, not - <signal.h> - (jmp_buf): Define unconditionally with old `sigjmp_buf' defn. - (__sigjmp_save): Declare to return int. - (__setjmp): Remove declaration; this function no longer exists. - (__sigsetjmp): Declare it; this is the new internal function. - (setjmp): Define to call __sigsetjmp, second arg depending on - __FAVOR_BSD. - [__OPTIMIZE__] (longjmp): Remove #define. - [__USE_BSD] (_longjmp): Declare it, another name for `longjmp'. - [__USE_BSD] (_setjmp): Define macro to do __sigsetjmp (ENV, 0). - [__FAVOR_BSD]: Remove all these defns. - [__USE_POSIX] (sigjmp_buf): Define as another name for `jmp_buf'. - [__USE_POSIX] (sigsetjmp): Define to call __sigsetjmp. - * setjmp/sigjmp.c (__sigjmp_save): Return an int, always zero, not - void. - * setjmp/Makefile (routines): Remove _setjmp, add bsd-setjmp and - bsd-_setjmp. - * setjmp/longjmp.c: Define as a real funciton, which restores - signal mask and calls __longjmp. - * setjmp/siglongjmp.c: Make this an alias to longjmp. - * setjmp/_longjmp.c: Alias to longjmp, not siglongjmp. - * sysdeps/stub/setjmp.c: Implement __sigsetjmp instead of - __setjmp; call __sigjmp_save. - * sysdeps/sparc/setjmp.S: Likewise. - * sysdeps/m68k/setjmp.c: Likewise. - * sysdeps/i386/setjmp.c: Likewise. - * sysdeps/vax/setjmp.c: Likewise. - * sysdeps/mips/setjmp.S: Implement __sigsetjmp instead of - __setjmp; call __sigsetjmp_aux instead of __setjmp_aux. Pass SP - and FP as 3rd and 4th args, not 2nd and 3rd. - * sysdeps/alpha/setjmp.S: Likewise. - * sysdeps/mips/setjmp_aux.c: Implement __sigsetjmp_aux instead of - __setjmp_aux; call __sigjmp_save. - * sysdeps/alpha/setjmp_aux.c: Likewise. - * sysdeps/mips/bsd-setjmp.S, sysdeps/mips/bsd-_setjmp.S: New files. - * sysdeps/alpha/bsd-setjmp.S, sysdeps/alpha/bsd-_setjmp.S: New files. - * sysdeps/vax/bsd-setjmp.S, sysdeps/vax/bsd-_setjmp.S: New files. - * sysdeps/sparc/bsd-setjmp.S, sysdeps/sparc/bsd-_setjmp.S: New files. - * sysdeps/i386/bsd-setjmp.S, sysdeps/i386/bsd-_setjmp.S: New files. - * sysdeps/m68k/bsd-setjmp.S, sysdeps/m68k/bsd-_setjmp.S: New files. - * sysdeps/stub/bsd-setjmp.c, sysdeps/stub/bsd-_setjmp.c: New files. - * setjmp/_setjmp.c: File removed. - * sysdeps/alpha/__longjmp.c: Take arg of type __jmp_buf, not - jmp_buf. - * sysdeps/vax/__longjmp.c: Likewise. - * sysdeps/stub/__longjmp.c: Likewise. - * sysdeps/i386/__longjmp.c: Likewise. - * sysdeps/m68k/__longjmp.c: Likewise. - -Sat Dec 3 09:00:17 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * sysdeps/mach/hurd/alpha/__sigret.c: Set up frame for `rei' to - restore on user stack, aligned to an 8-word boundary and with a PS - value that restores user's stack alignment. - -Fri Dec 2 19:31:24 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * sysdeps/unix/readdir.c: Search one char more than D_NAMLEN(DP) - for the null terminator. Always set D->d_namlen, using - D_NAMLEN(DP) if no null is found. - - * sysdeps/unix/sysv/sco3.2.4/__sigact.S: Fix typo `.global' to - `.globl'. Silly me, I used a vowel in a Unix program. - -Mon Nov 28 16:11:39 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * io/fts.c (ALIGN, ALIGNBYTES): New macros, defined if not already - defined. - -Tue Nov 22 06:39:49 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * sysdeps/unix/bsd/osf1/dirstream.h: File removed. - - * sysdeps/stub/sigcontext.h (struct sigcontext): Use `__sigset_t' - instead of `sigset_t' for `sc_mask'. - * sysdeps/mach/hurd/i386/sigcontext.h: Likewise. - * sysdeps/mach/hurd/alpha/sigcontext.h: Likewise. - * sysdeps/mach/hurd/mips/sigcontext.h: Likewise. - * sysdeps/unix/bsd/ultrix4/mips/sigcontext.h: Likewise. - * sysdeps/unix/bsd/sun/m68k/sigcontext.h: Likewise. - * sysdeps/unix/bsd/sun/sparc/sigcontext.h: Likewise. - - * hurd/hurdsig.c (_hurd_internal_post_signal: case handle): Call - abort_thread always, first thing after thread_suspend. - -Mon Nov 21 13:18:07 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * sysdeps/mach/hurd/__fcntl.c: Don't make this whole function a - critical section. - - * sysdeps/generic/strpbrk.c: Don't call strchr; do it by hand for - efficiency. - -Wed Nov 16 12:47:22 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * sysdeps/unix/bsd/m68k/sysdep.S [__motorola__]: Swap operands in - cmp.l. - - * hurd/msgportdemux.c (_hurd_msgport_receive): Call - _hurd_self_sigstate to get sigstate cached before running any - signal thread code. - - * sysdeps/mach/hurd/__fork.c: Pass _hurd_msgport_thread to - __thread_get_state, not _hurd_sigthread. Don't do - __thread_get_state on THREAD_SELF--the kernel does not allow it. - - * hurd/hurdsig.c (_hurd_internal_post_signal): In stopping orphan - test, take sigmask of SIGNO, don't & its value with a mask. In - blocked signal test, be careful not to pass SIGNO=0 to __sigismember. - -Tue Nov 15 01:39:36 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makerules (stub-$(subdir)): Save absolute name of - $(..)sysdeps/stub before cd'ing, transform gleaned file names to - refer to saved name. - - * sysdeps/mach/hurd/socketpair.c: Include <fcntl.h>. - - * time/test_time.args: Add CST as a test case. - - * sysdeps/mach/hurd/socketpair.c: Rewritten (copying __pipe.c). - - * sysdeps/unix/bsd/dirstream.h [__USE_BSD] (dirfd): New macro. - - * posix/unistd.h: Declare fchdir. - - * io/fts.c (MAXPATHLEN): Define if not defined. - - * io/fts.c, io/fts.h: New files, from 4.4 BSD code by Keith Bostic. - * io/Makefile (routines): Add fts. - (headers): Add fts.h. - - Mostly ported the Hurd to the DEC Alpha. - * sysdeps/mach/alpha/machine-sp.h: New file. - * sysdeps/mach/alpha/thread_state.h: New file. - * sysdeps/mach/alpha/sysdep.h: New file. - * sysdeps/mach/alpha/machine-lock.h: New file. - * sysdeps/mach/hurd/alpha/sigcontext.h: New file. - * sysdeps/mach/hurd/alpha/longjmp-ts.c: New file. - * sysdeps/mach/hurd/alpha/trampoline.c: New file. - * sysdeps/mach/hurd/alpha/exc2signal.c: New file. - * sysdeps/mach/hurd/alpha/__sigret.c: New file. - - * sysdeps/mach/hurd/Makefile (errlist.c, errnos.h): Make the - output unwritable. - * sysdeps/alpha/Makefile (divrem rule): Make the output - unwritable, use mv -f. - * sysdeps/sparc/Makefile (divrem rule): Likewise. - - * configure.in (sysnames): Put another loop on $mach inside $base - loop but outside $vendor loop. This should catch .../cpu/vendor. - -Mon Nov 14 22:52:03 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * sysdeps/mach/hurd/start.c: Add missing #endif. - -Sun Nov 13 05:04:18 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * sysdeps/mach/hurd/__select.c: At end of receiving loop, clear TO - instead of TIMEOUT. - - * malloc/mcheck-init.c (turn_on_mcheck): Add gratuitous self - reference to silence compiler warning. - (_hurd_preinit_hook): Add the function to this set too. - - * time/__tzset.c (__tzset): Give tz_rules coherent default when TZ - value is short or malformed. - - * mach/devstream.c: Echo input after reading it. - - * Make-dist (generated): Mutate to add .S and .s variations for .c - files. - -Fri Nov 11 11:43:26 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * sysdeps/mach/hurd/i386/__sigret.c (__sigreturn): Don't actually - abort here; at least let the user continue with bogus FP; that's - better than a random crash until it's fixed. - -Thu Nov 10 04:56:28 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * sysdeps/unix/bsd/sun/sunos4/sys/mman.h (msync): Use __caddr_t - instead of caddr_t in decl. - - * sysdeps/mach/start.c (START_ARGS): Define to void if undefined. - [START_MACHDEP]: Reference this if defined. - [START_MACHDEP] (_start): #define to _start0. - (_start): Take args START_ARGS. + * hurd/new-fd.c: Likewise. * sysdeps/mach/hurd/start.c: Likewise. -Wed Nov 9 08:02:59 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * hurd/Makefile (sig): Remove longjmp-ctx (it is never called). - - * sysdeps/mach/hurd/__fork.c: Do thread_get_state on parent's - threads to modify and thread_set_state new child threads. + * 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. -Mon Nov 7 00:38:45 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * sysdeps/mach/hurd/__brk.c (init_brk): Reference self to avoid + compiler warning. Add init_brk to _hurd_preinit_hook instead of + __libc_subinit. - * posix/glob/configure.in: Converted to Autoconf v2. - * posix/glob.c: Test HAVE_DIRENT_H, HAVE_SYS_DIR_H, HAVE_NDIR_H - instead of DIRENT, SYSDIR, NDIR. - * posix/glob/Makefile.in (CC): New variable, set from @CC@. - (CPPFLAGS): Set from @CPPFLAGS@, not @DEFS@. + * sysdeps/mach/hurd/start.c (_hurd_preinit_hook): New variable. + (start1): Run _hurd_preinit_hook before threadvar setup. - * sysdeps/unix/__fork.S: Use decrement and AND instead of test and - branch. - * sysdeps/unix/sparc/__fork.S: Likewise. - * sysdeps/unix/sparc/__vfork.S: Likewise. - * sysdeps/unix/bsd/sun/m68k/__vfork.S: Likewise. - * sysdeps/unix/bsd/hp/m68k/__vfork.S: Likewise. - * sysdeps/unix/i386/__fork.S: File removed. +Tue May 24 17:42:34 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Sun Nov 6 19:26:28 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. - * Version 1.09. +Tue May 24 12:57:19 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) -Fri Nov 4 16:52:05 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * sysdeps/mach/sleep.c (sleep): Timeout arg to mach_msg is + in milliseconds, not microseconds; compute it accordingly. - * Version 1.08.14. + * 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. - * manual/Makefile (stamp-summary): Depend on $(chapters-incl) too. +Tue May 24 01:55:24 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Thu Nov 3 18:33:50 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * sysdeps/mach/hurd/__setitmr.c: Don't include mutex.h. - * sysdeps/generic/sigset.h (__sigemptyset): Cast to __sigset_t. - (__sigfillset): Likewise. Use ~(__sigset_t)0 in place of -1. - (__SIGSETFN): Don't try to be clever. Test bounds of SIG with < - and >. + * sysdeps/mach/hurd/defs.c (init_stdio): Reference self. - * sysdeps/mach/hurd/__fork.c: Unlock signal state earlier, just - after unlocking _hurd_ports locks. + * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Include + sysdeps/unix/sysv/i386/sysdep.h, not sysdeps/unix/i386/sysdep.h - * sysdeps/unix/bsd/osf1/direct.h: File removed. - * sysdeps/unix/bsd/direct.h (struct direct): Use `unsigned int' - instead of `unsigned long int' for `d_fileno' member. - - * Makerules (common-mostlyclean): Remove $(tests:=.out) too. - - * assert/assert-perr.c (__assert_perror_fail): Add missing comma. - - * sysdeps/unix/ioctls-tmpl.c [__osf__ && __alpha__] (FIOPIPESTAT, - SIOCSRREQR, SIOCSRREQW, SRVC_REQUEST): #undef these. - -Wed Nov 2 23:00:19 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * sysdeps/mach/hurd/setegid.c: Pass poly and count args for - other_handles in correct order in call to auth_makeauth. - * sysdeps/mach/hurd/__setregid.c: Likewise. - * sysdeps/mach/hurd/__setreuid.c: Likewise. +Mon May 23 19:05:44 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * Makerules (compile.S): Add -DASSEMBLER. - * sysdeps/mach/sysdep.h [ASSEMBLER]: Don't include - <mach/mig_support.h> if this is defined. + * sysdeps/mach/hurd/Makefile (mib_hacks, defines): Variables removed. -Wed Nov 2 22:39:55 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> + * mach/devstream.c (mach_open_devstream): Set STREAM's seek and + fileno io functions to null. - * sysdeps/mach/hurd/seteuid.c: Pass poly and count args for - other_handles in correct order in call to auth_makeauth. + * hurd/hurdexec.c (_hurd_exec): Fixed adding of dtable ports to + PLEASE_DEALLOC array. -Wed Nov 2 15:03:51 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * 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/internals.c (fillbuf): Make sure returned char doesn't get - sign extended. + * stdio/gets.c: Only return null on P==S if feof (STREAM). -Tue Nov 1 01:25:28 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * stdio/vfprintf.c: Make %Z a type modifier, not a format spec. - * sysdeps/unix/common/Implies: File removed. - * sysdeps/unix/bsd/Implies: Add unix/inet. + * sysdeps/mach/hurd/fdopen.c: Return NULL rather than -1 for error. - * assert/assert-perror.c: Renamed to assert-perr.c. - * assert/Makefile (routines): Rename assert-perror to assert-perr. +Mon May 23 14:24:50 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - * Version 1.08.13. + * 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. - * mach/Makefile (generated): Add __%.c for $(mach-shortcuts) too. + * 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. - * dirent/Makefile (tests): Add tst-seekdir. - * dirent/tst-seekdir.c (main): New file. - * sysdeps/unix/bsd/seekdir.c: New file. - * sysdeps/unix/bsd/telldir.c: New file. - * sysdeps/unix/bsd/dirstream.h (DIR): New member `__pos'. - * sysdeps/unix/bsd/readdir.c: Update DIRP->__pos in getdirentries - call. - * sysdeps/unix/opendir.c: Use calloc in place of malloc, to zero - fill new DIRs. + * 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/standalone/i386/force_cpu386/force_cpu386.ld: Renamed to - target.ld. - * sysdeps/standalone/i386/force_cpu386/Makefile: Install it from - that name (still into $(libdir)/force_cpu386.ld). + * sysdeps/mach/hurd/fdopen.c: Include <hurd/io.h> for + io_get_openmodes prototype. - * mach/Makefile (headers, user-interfaces, server-interfaces): - Don't add default_pager stuff. +Sat May 21 16:03:23 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Mon Oct 31 07:00:40 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * assert/assert.c (__assert_fail): Put program name first in msg. - * sysdeps/unix/bsd/sun/sunos4/termbits.h (TCSASOFT): Macro - removed. + * hurd/Makefile (dtable): Removed setdtsz. - * malloc/malloc.h: Change #ifdef __STDC__ to #if defined - (__STDC__) && __STDC__. + * 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. -Fri Oct 28 00:09:24 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * Version 1.08 released. - * sysdeps/mach/sysdep.h: Include <mach/mig_support.h> for decls. - (FATAL_PREPARE): Pass arg to __mig_dealloc_reply_port. + * 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. - * assert/Makefile (routines): Add assert-perror. + * 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. - * Makerules (stubs): cd into $(objdir) and use local file names, - making the cmd shorter. + * 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. - * sysdeps/mach/hurd/getprio.c (getonepriority): Call - proc_getprocinfo with proc port. + * 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. - * sysdeps/mach/hurd/errnos.awk: Grok "@comment errno %d" in - errno.texi, instead of assigning sequentially. - * sysdeps/mach/hurd/errlist.awk: Likewise. + * hurd/dtable.c (get_dtable_port): Return the ctty port if set. - * stdio/fwrite.c: Reset BUFFER_SPACE after fflush in fill_buffer - case. + * hurd/hurd/fd.h (_hurd_fd_error_signal): New function, broken out + of _hurd_fd_error. + (_hurd_fd_error): Call it. - * sysdeps/generic/sigset.h (__SIGSETFN): When losing, punt to - `raise (-1)'. Old method looped. + * hurd/Makefile (dtable): Add fd-close. + * hurd/fd-close.c: New file. + * hurd/hurd/fd.h: Declare _hurd_fd_close. - * hurd/hurd/resource.h: Include <hurd/process.h>. + * sysdeps/mach/hurd/__close.c: Call _hurd_fd_close. -Thu Oct 27 15:00:50 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * signal/Makefile (routines): Add sigsetops. + * signal/sigsetops.c: New file. - * sysdeps/standalone/standalone.h: Fixed typo. + * sysdeps/unix/sysv/sysv4/sigset.h (_EXTERN_INLINE): New macro. + Use it for all the inline functions. -Wed Oct 26 00:21:16 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * signal/signal.h: Move #include <signum.h> inside #ifdef _SIGNAL_H. - * sysdeps/unix/i386/vfork.S: New file. + * 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/generic/strchr.c: Increment CP properly in check for 5th - char of quadword hit. + * sysdeps/unix/ioctls-tmpl.c: Add missing #endif. + * sysdeps/unix/Makefile (make-ioctls-CFLAGS): Remember -D. - * sysdeps/mach/hurd/getprio.c (getonepriority): Always set ONERR. +Fri May 20 20:42:33 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Tue Oct 25 03:53:26 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). - * hurd/hurd/resource.h: Include <errno.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. - * stdio/ftell.c: If STREAM->__pushed_back, calculate from - pushback_bufp instead of bufp. + * sysdeps/generic/sigset.h (__sigismember, __sigaddset, __sigdelset): + Rewritten as extern inline functions; check for bogus signal number. - * Makefile (format-me): New canned sequence; runs makeinfo - --no-headers. - (INSTALL): Use it. - (NOTES): New file rule. + * configure.in (names): Put $implied before $* in new $sysnames + list remaining to be processed; this ensures unix/common precedes + unix/sysv4 for sysv4. - * manual/intro.texi (Feature Test Macros): Node moved off to - creature.texi. - * manual/creature.texi: New file, broken out of intro.texi. +Thu May 19 18:35:02 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - * manual/Makefile (indices): New variable; include ky. - (realclean): Use $(indices) to remove all index and sorted index - files. + * sysdeps/mach/hurd/defs.c (init_stdio): Make stdin and stdout + line buffered and stderr unbuffered. - * sysdeps/mach/hurd/fcntlbits.h (O_ASYNC, O_FSYNC, O_SYNC): - Protect with [__USE_BSD]. +Thu May 19 16:14:36 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Mon Oct 24 00:16:59 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * sysdeps/mach/hurd/getcwd.c: Remember to call io_stat on cwdir. - * sysdeps/unix/bsd/utime.c: Initialize tv_usec fields. - Use __gettimeofday instead of time. + * sysdeps/generic/configure.in: Use changequote around if expr + to avoid [] elision. - * sunrpc/pmap_rmt.c: Include <sys/param.h> before <net/if.h>. - Undef _POSIX_SOURCE before that. - * sunrpc/pm_getport.c: Likewise. - * sunrpc/pm_getmaps.c: Likewise. - * sunrpc/get_myaddr.c: Likewise. +Thu May 19 13:53:59 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - * misc/sys/cdefs.h: Undef __P first. + * 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. - * Version 1.08.12. + * 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. - * sysdeps/mach/hurd/getprio.c: Rewritten. - * sysdeps/mach/hurd/setprio.c: New file. - * hurd/hurdprio.c: New file. - * hurd/Makefile (routines): Add hurdprio. - * hurd/hurd/resource.h (_hurd_priority_which_map): Declare it. - (NICE_TO_MACH_PRIORITY, MACH_PRIORITY_TO_NICE): New macros. +Thu May 19 04:14:57 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Sun Oct 23 19:39:18 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * sysdeps/posix/libc_fatal.c: Include <errno.h>. - * Makerules (sources): Fix typo in last change. + * sysdeps/unix/sysv/sysv4/__sigact.c: Include <stddef.h> for NULL. -Fri Oct 21 13:15:39 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * sysdeps/mach/hurd/__access.c: Fix swapped poly and count args in + __auth_makeauth call. - * sysdeps/generic/termbits.h (ECHOKE): Remove gratuitous leading - space before #define. + * 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). - * Makerules (sources): Filter out $(elided-routines). + * hurd/hurdsock.c (_hurd_socket_server): If path_lookup returns + ENOENT, we return EPROTONOSUPPORT. - * sysdeps/sparc/divrem.m4 (entry point): For OP=rem, set SIGN from - dividend only, ignoring divisor. - (Lgot_result): Test SIGN here for OP=rem too (as originally). + * 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. -Wed Oct 19 02:40:02 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * sysdeps/mach/hurd/getcwd.c: Use MACH_PORT_RIGHT_SEND, not + MACH_PORT_TYPE_SEND, in mach_port_mod_refs call. - * hurd/hurdsig.c: Use assert_perror. + * sysdeps/mach/hurd/__getpgrp.c: Don't lock _hurd_pid_lock. - * assert/assert-perror.c (__assert_perror_fail): New file. - * assert/assert.h (assert_perror): New macro. - - * Version 1.08.11. + * sysdeps/unix/common/glue-ctype.c: Don't include <ctype.h>. + Instead, add explicit extern declaration of TABLE in main. - * hurd/hurdsig.c (abort_rpcs): Actually return a port instead of - boolean, as the type says. +Wed May 18 17:54:00 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * hurd/hurdsig.c (abort_all_rpcs): If waiting for reply from - interrupted RPC returns error, print debugging msg with error - test, don't assert. + * sysdeps/m68k/Makefile (asm-CPPFLAGS): Append $(m68k-syntax-flag). -Mon Oct 17 00:06:03 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * Version 1.07.6. - * stdlib/strtol.c: Deansideclized. - * sysdeps/generic/strcspn.c: Deansideclized. - * sysdeps/generic/putenv.c: Deansideclized, added portability - cruft. + * sunrpc/Makefile (+gccwarn): Set to -w. -Fri Oct 14 14:00:11 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * sysdeps/unix/Makefile (ifeq testing sys/param.h): Use patsubst + instead of dir to remove directory name from .../sys/param.h but + preserve "sys/". - * sysdeps/unix/sysv/sysv4/solaris2/utsnamelen.h: - Moved to sysdeps/unix/sysv/sysv4. + * inet/sys/bitypes.h: Replaced with just #include <sys/types.h>. -Thu Oct 13 22:06:50 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * 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. - * sysdeps/unix/common/glue-ctype.c [HAVE__LOCP]: Move this defn to - first. Include sys/types.h. + * resource/sys/resource.h (enum __rlimit_resource): Removed. + Just include <resourcebits.h> instead. + * resource/Makefile (headers): Add resourcebits.h. + * sysdeps/generic/resourcebits.h: New file. + * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: New file. - * sysdeps/unix/bsd/readdir.c: Include direct.h. + * stdio/test-popen.c (main): Use popen to read the file back, too. - * socket/sys/socket.h (__SOCKADDR_ARG): Always use non-GCC defn, - for now. - * posix/sys/wait.h (__WAIT_STATUS): Likewise. + * sysdeps/unix/sysv/sysv4/i386/sysdep.h: New file. -Tue Oct 11 00:42:50 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * sysdeps/unix/sysv/sysv4/i386/sys-sig.S: Fixed typo: movel->movl. - * Version 1.08.10. +Tue May 17 12:46:31 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) -Mon Oct 10 00:33:47 1994 Roland McGrath <roland@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. - * malloc/malloc.h [_MALLOC_INTERNAL] (CHAR_BIT): Don't define if - already defined. +Mon May 16 15:34:12 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * stdio/__vfscanf.c: Grok %q modifier like %ll. + * sysdeps/stub/sys/param.h: New file. - * mach/__msgserver.c: Increase default MAX_SIZE to two pages. + * 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 <cthreads.h> instead of <mutex.h>. + * 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. - * misc/init-misc.c: Cast string constant to non-const type. + * 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/i386/ffs.c: Use %1 again instead of listing TMP as an - input with constraint "1". This avoids a warning that TMP may be - used before set. + * sysdeps/posix/sigintr.c (siginterrupt) [! SA_RESTART]: Always + fail with ENOSYS. -Sun Oct 9 22:41:20 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * 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. - * hurd/hurdsig.c (abort_all_rpcs): Declare SS. + * sysdeps/mach/sysdep.h (FATAL_PREPARE): New macro. + * sysdeps/posix/libc_fatal.c: Include <sysdep.h>. + [FATAL_PREPARE]: Invoke the macro. + * assert/assert.c: Likewise. -Sun Oct 09 01:19:38 1994 Jim Meyering (meyering@comco.com) + * 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. - * posix/fnmatch.c: Remove CONFIG_BROKETS conditional. + * sysdeps/unix/sysv/sco3.2.4/__sigact.S: Fix typo. -Fri Oct 7 15:28:07 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * posix/sys/types.h [__USE_BSD] (int32_t, int16_t, int8_t, + u_int32_t, u_int16_t, u_int8_t): New typedefs. - * stdio/__vfscanf.c: Properly grok %a modifier. + * 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. - * hurd/hurdsig.c (abort_rpcs): Return the reply port or null, - instead of boolean. - (abort_all_rpcs): Record the returns from abort_rpcs and wait for - a message on each reply port. Don't bother locking _hurd_siglock. +Thu May 12 01:10:52 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Thu Oct 6 18:57:44 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. - * hurd/hurd.h (_hurd_socket_server): Take new arg DEAD; explain - its use in comment. - * hurd/hurdsock.c (_hurd_socket_server): Take new arg DEAD; if - nonzero, clear any old cached port and always do a fresh lookup. - * sysdeps/mach/hurd/socket.c: Pass new arg to _hurd_socket_server, - cope with dead server on socket_create. - * sysdeps/mach/hurd/__pipe.c: Likewise. + * sysdeps/mach/hurd/reboot.c (reboot): Use the host priv port to + prove authority. -Mon Oct 3 02:09:43 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * sysdeps/mach/hurd/__readlink.c: Don't request O_READ access. - * sysdeps/generic/utsnamelen.h (_UTSNAME_LENGTH): Increase to - 1024. + * sysdeps/mach/hurd/__ioctl.c: Don't expect result data unless + return code is zero. Translate MIG_BAD_ID or EOPNOTSUPP to ENOTTY. -Sun Oct 2 18:35:16 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * mach/devstream.c (output): Use device_write instead of + device_write_inband. - * posix/glob.h (__P): Change arg name to `protos', for congruence - with 4.4 BSD. - * posix/fnmatch.h (__P): Likewise. +Wed May 11 18:49:31 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Sat Oct 1 04:25:35 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. - * misc/Makefile (routines): Add daemon. + * 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. -Fri Sep 30 16:49:09 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * 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/daemon.c: New file, incorporated from BSD 4.4-Lite. + * misc/bsd-compat.c (setjmp): New function. - * sysdeps/mach/hurd/__setsid.c: Call _hurd_setcttyid with - MACH_PORT_NULL after proc_setsid. + * sysdeps/unix/Makefile (sysdep_headers): Remove sys/param.h. + * misc/Makefile (headers): Add it here instead. - * hurd/hurdioctl.c (_hurd_setcttyid): Don't do mod_refs if port is - null. + * io/test-utime.c (main): New file. + * io/Makefile (tests): New variable. - Always use fds' `port' cell for the generic port. - For ctty fds, use the `ctty' cell for the ctty-special port. - * hurd/dtable.c (get_dtable_port): Use port, never ctty. - (fork_child_dtable): Reset D->ctty instead of D->port. - (ctty_new_pgrp): Likewise. - * sysdeps/mach/hurd/__ioctl.c: Use ctty port for RPC if set and - !NOCTTY. - * hurd/port2fd.c (_hurd_port2fd): Install normal port in D->port - cell, and ctty-special port in the D->ctty cell, not the reverse. - * hurd/hurdioctl.c (tiocsctty): Don't assume MACH_PORT_NULL is - zero. - * hurd/hurdexec.c (_hurd_exec): Always pass fds' normal port, - never its ctty port. - * hurd/fd-write.c (_hurd_fd_write): Use ctty port for RPC if set - and !NOCTTY. - * hurd/fd-read.c (_hurd_fd_read): Use ctty port for RPC if set. +Wed May 11 13:44:33 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) -Thu Sep 29 18:28:01 1994 Roland McGrath <roland@churchy.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. - * mach/mig_syms.c (mig_put_reply_port): Add symbol alias to __ - name. +Tue May 10 17:21:41 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Thu Sep 29 12:23:07 1994 Brendan Kehoe (brendan@zen.org) + * time/zdump.c: New code from ADO. - * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h (ENTRY): Use - poundfnc instead of \#function, to satisfy gcc-2.6.0 and higher. - (cat, poundfnc): Define macros to pull it off. + * time/difftime.c (difftime): Use hairy rounding algorithm from + eggert@twinsun.com when sizeof (time_t) >= sizeof (double). - * sysdeps/unix/sysv/sysd-stdio.c: Include - sysdeps/generic/sysd-stdio.h, - not looking in sysdeps/posix. + * Makerules (native-CFLAGS): Remove -I$(sysincludedir). RMS says + people with bogons in /usr/local/include deserve to lose. -Thu Sep 29 05:38:14 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * stdio/printf_fp.c (__printf_fp): If IS_NEG gets set, negate + FPNUM before testing it for %g format choice. - * sysdeps/unix/common/configure.in (ctype check): In test prog, - just reference $ctype; we don't care what type it is. + * 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. - * sysdeps/unix/bsd/bsd4.4/direct.h: New file. - (HAVE_D_TYPE): Define this macro. - * dirent/dirent.h (struct dirent): New member `d_type'; shorten - `d_namlen' to a byte. - * sysdeps/unix/bsd/readdir.c [! HAVE_D_TYPE]: Shuffle d_namlen and - clear d_type. + * sunrpc/xdr_float.c (xdr_float): Change [mc68000 || sparc] to [! + vax]. -Wed Sep 28 17:23:26 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * sysdeps/mips/setjmp.S: Remove spurious $. - * posix/sys/utsname.h [__USE_SVID] (SYS_NMLN): New macro. + * sysdeps/generic/ftime.c: Include <errno.h>. - * dirent/scandir.c: Free storage on error from readdir. + * sysdeps/unix/mips/sysdep.S: Add .set noreorder. -Mon Sep 26 00:55:34 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> +Tue May 10 16:27:13 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - * Version 1.08.9. + * sysdeps/generic/termbits.h (NCCS): Doc fix. - * MakeTAGS (all-dist): Prepend the appropriate sysdep dir names. +Mon May 9 18:07:44 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - * hurd/hurdsig.c (_hurd_internal_post_signal: sigwakeup): Create a - send right. + * sysdeps/mach/hurd/uname.c (uname): System uname information + has moved from init to proc. -Sat Sep 24 13:44:51 1994 Jim Meyering (meyering@comco.com) + * sysdeps/mach/usleep.c (usleep): Return correct value. Destroy + RECV when we're done with it. - * sysdeps/generic/memcmp.c [CMP_LT_OR_GT]: New macro. - (memcmp): Use it in place of each of ten 5-line #ifdef blocks. +Thu May 5 17:03:56 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) -Fri Sep 23 16:55:54 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * sysdeps/mach/hurd/__lstat.c: Use O_NOLINK instead of O_NOTRANS. - * sysdeps/mach/hurd/sigsuspend.c: Include <hurd/msg.h>. +Thu May 5 04:20:54 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/mach/hurd/sigsuspend.c: Add missing & in __mach_msg - call. + * mach/spin-lock.h (spin_lock_init): Define. -Thu Sep 15 14:22:56 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * 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. - * sysdeps/standalone/i386/force_cpu386/Dist: New file. - * sysdeps/standalone/m68k/m68020/mvme136/Dist: New file. - * sysdeps/standalone/i960/Dist: New file. - * sysdeps/standalone/m68k/m68020/Dist: New file. - * sysdeps/standalone/i386/force_cpu386/force_cpu386.ld: New file. - * sysdeps/standalone/m68k/m68020/mvme136/mvme136.ld: New file. - * sysdeps/standalone/i960/i960ca.h: New file. - * sysdeps/standalone/m68k/m68020/m68020.h: New file. + * hurd/hurdsig.c (hurdsig_fork_child): Return zero. - * sysdeps/unix/common/configure.in: Use AC_COMPILE_CHECK instead - of AC_HAVE_FUNCS. + * 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/generic/make_siglist.c (sys_siglist): Define as macro to - my_siglist. + * 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. - * sysdeps/mach/i386/thread_state.h: Include from mach/machine, not - mach/i386. - * sysdeps/mach/hurd/i386/sigcontext.h: Likewise. + * mach/Makefile (headers): Added mach/default_pager_helper.defs. - * mach/mach/mig_support.h (__mig_put_reply_port): Declare. - (__mig_dealloc_reply_port): Take arg. - * sysdeps/mach/hurd/mig-reply.c (__mig_put_reply_port): New - function. - (__mig_dealloc_reply_port): Take arg, ignore it. + * sysdeps/sparc/Dist: Added alloca.S. -Wed Sep 14 18:16:07 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> +Wed May 4 14:02:29 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - * sysdeps/mach/hurd/Makefile (libc-name): Set to crt. - [!subdir]: Install libc-ldscript as libc.a. - * sysdeps/mach/hurd/Dist: Add libc-ldscript. + * hurd/hurdexec.c (_hurd_exec): Unlock _hurd_dtable_lock when + all through. -Tue Sep 13 19:57:09 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * 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/sync.c: Don't be synchronous: pass WAIT=0 to - file_syncfs. + * 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. - * Makerules (libc-name): New variable. - (install, libc installation rule): Use $(libc-name) in place of `c'. +Wed May 4 00:17:32 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Sun Sep 11 23:28:20 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * sysdeps/stub/__getitmr.c: Fix arg name __WHICH to WHICH. - * sysdeps/mach/hurd/__readlink.c: Only decrement LEN to remove the - null terminator when LEN is already large enough to include it. + * sysdeps/unix/bsd/alarm.c: Round tv_usec with arithmetic rather + than a test. - * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Add break - after FS_RETRY_MAGICAL case. + * hurd/Makefile (user-interfaces): Add hurd/msg_request. -Fri Sep 9 04:03:59 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * sysdeps/stub/__setitmr.c: Fix arg name __WHICH to WHICH. - * stdio/vfprintf.c: Grok q modifier like ll. + * Makeconfig (cross-compiling): Define if $(HOST_CC) and $(CC) differ. + * time/Makefile (install-others): Omit defn ifdef cross-compiling. - * Make-dist (sysdep-Subdir-files, subdirs): Set these early on, - before doing distinfo. - [parent] (+distinfo): Set inhibit_interface_rules=t in sub-make. +Tue May 3 23:12:48 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Thu Sep 8 17:18:14 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * mach/Makefile (lock-headers): Add spin-lock.h. - * sysdeps/generic/morecore.c (__default_morecore) [! __STDC__]: - Declare arg as `int' instead of `ptrdiff_t'. + * misc/Makefile (routines): Add madvise. -Tue Sep 6 19:06:00 1994 Roland McGrath <roland@geech.gnu.ai.mit.edu> + * 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). - * posix/glob.c (prefix_array, glob): Avoid const on initialized - variables. Some compiler generates bad code. + * mach/Makefile (mach-headers): Rename sys/version.h to + mach/version.h. -Mon Sep 5 13:24:26 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * hurd/Makefile (headers): Added hurd/threadvar.h. - * malloc/Makefile (malloc/%: ../sysdeps/generic/%): New rule, to get - morecore.c. + * Version 1.07.5. - * malloc/malloc.h (size_t, ptrdiff_t): Never define these as macros. - (__malloc_size_t): Define this instead. - Change all uses of size_t to __malloc_size_t. - * malloc/valloc.c: Replace all uses of size_t with __malloc_size_t. - * malloc/memalign.c: Likewise. - * malloc/mcheck.c: Likewise. - * malloc/mtrace.c: Likewise. - * malloc/malloc.c: Likewise. - * malloc/free.c: Likewise. - * malloc/realloc.c: Likewise. - * malloc/calloc.c: Likewise. + * hurd/port2fd.c (_hurd_port2fd): Use logic copied from + _hurd_port_locked_set to install PORT in D->port, but leave it locked. - * MakeTAGS (TAGS): Define first so as to be default goal. - (sysdep_dirs): Set this by running find, if it is not already set. - (all-dirs): Include that value. - (all-dist): Filter output of cat, not args to it. - * Makerules (TAGS): Depend on distinfo, not distfile. + * sunrpc/Makefile (generated): Don't add $(objpfx). - * resolv/getnetnamadr.c (getnetbyname): Arg is always const, - regardless of [sun]. + * sysdeps/stub/machine-lock.h: New file. + * sysdeps/stub/machine-sp.h: New file. -Sun Sep 4 00:04:55 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> +Tue May 3 22:31:15 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - * Version 1.08.8. + * sysdeps/mach/usleep.c (usleep): Specify MACH_RCV_MSG so that + mach_msg actually waits. - * Makerules (distinfo-vars): Double $s in final emitted sources defn. +Tue May 3 19:24:48 1994 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) - * inet/Makefile (headers): Add netdb.h. - * resolv/Makefile (headers): Remove netdb.h. - * resolv/netdb.h: Moved to inet. - * inet/netdb.h: Incorporated from BSD 4.4-Lite. - Add back h_errno declaration. + * malloc/malloc.h (enum mcheck_status): Delete trailing + comma in enum list; some compilers don't like it. - * hurd/Makefile (faultexc.c): Change this to a pattern rule to - build both faultexc.[ch]. - (hurdfault.o): Depend on faultexc.h and faultexc.c to get them built. +Tue May 3 15:18:15 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - * sysdeps/mach/hurd/i386/trampoline.c - (_hurdsig_rcv_interrupted_p): Make PC volatile. - (_hurd_setup_sighandler): Cast SS->context to int before comparing to - _hurdsig_fault_sigcode. + * sysdeps/mach/hurd/__symlink.c (__symlink): Pass port type arg to + __file_set_translator. - * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_SET_{SP,PC}): - Cast args to unsigned long int. +Mon May 2 17:56:47 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/mach/hurd/i386/trampoline.c: Use _hurdsig_catch_fault. + * hurd/Makefile (generated): Add $(inlines) .c files. - * Make-dist (subdirs): Use sed to remove comments from Subdirs files. - * MakeTAGS (subdirs): Likewise. + * sysdeps/mach/hurd/__mknod.c: Pass port type arg to + __file_set_translator. - * sysdeps/mach/i386/thread_state.h: Include - <mach/i386/thread_status.h> first thing. +Sun May 1 16:03:13 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * hurd/Makefile (sig): Add faultexc. - ($(objpfx)faultexc.c): New target. - (generated): Append faultexc.c. + * mach/mig_syms.c: Add de-__ing aliases for mig_init, + mig_get_reply_port, and mig_dealloc_reply_port. - * hurd/Makefile (sig): Add hurdfault; remove init-fault. - (distribute): Add hurdfault.h. - * hurd/hurdfault.h: New file. - * hurd/hurdfault.c: New file. - * hurd/hurdsig.c (interrupted_reply_port_location): Use - _hurdsig_catch_fault and _hurdsig_end_catch_fault. - (_hurdsig_getenv): Likewise. - * sysdeps/mach/hurd/i386/trampoline.c: Likewise. + * 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. - * hurd/catch-exc.c: Return EPERM if TASK is not right. + * 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 (_hurd_sigthread_fault_env): Variable moved to - hurdfault.c. - (_hurdsig_fault_init): Function moved to hurdfault.c. + * 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. -Sat Sep 3 12:22:53 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * 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. - * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_SET_PC, - MACHINE_THREAD_STATE_SET_SP): New macros. - * mach/setup-thread.c: Use MACHINE_THREAD_STATE_SET_PC. - * sysdeps/mach/hurd/__fork.c: Likewise. +Thu Apr 28 21:29:47 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * string/test-ffs.c (main: try): Actually call ffs in the test. + * 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. -Fri Sep 2 21:20:17 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * Makerules (+depfiles): Filter $(extra-objs) to get only .o files. - * sysdeps/mach/hurd/mips/__sigret.c: Restore FPU state. Code from - kkojima. +Wed Apr 27 00:20:41 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/mach/hurd/__mknod.c: Fixed copying of the translator - name into buffer with major and minor numbers, and setting of LEN. + * Makerules (depend-$(subdir)): Put output in tmp file and use mv -f. + Always use $(+depfiles), since sources is no longer exported. - * sysdeps/unix/configure (unix_syscall): In sed cmd, do = first to - avoid clobbering produced assignments. +Tue Apr 26 20:05:55 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Thu Sep 1 03:25:17 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Don't include <termios.h> to + avoid <sys/ioctl.h> conflicts. + * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Undefine ECHO, MDMBUF, + TOSTOP, FLUSHO, PENDIN, and NOFLSH after including <termios.h> and + before including <sys/ioctl.h>. + * sysdeps/unix/bsd/bsd4.4/__tcgetatr.c: Likewise. - * Version 1.08.7. +Tue Apr 26 14:42:43 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - * sysdeps/mach/hurd/connect.c (connect): Fix accidental renaming - of sun_path to sun_file_name. + * 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. - * bare/Makefile (routines, elided-routines): Set these both to - $(bare-routines). - (distribute): Don't set this. +Tue Apr 26 04:49:56 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * Makerules (distinfo-vars): Fix cmd to echo `sources' defn. + * sysdeps/i386/setjmp.c: Put global register decls first thing. + * sysdeps/i386/__longjmp.c: Likewise. - * sysdeps/unix/configure: Handle dirs other than common. Check - for [gs]etdomainname. - * misc/Makefile (routines): Add getdomain, setdomain. - * sysdeps/unix/bsd/bsd4.4/setdomain.S: New file. - * sysdeps/unix/bsd/bsd4.4/getdomain.S: New file. - * sysdeps/stub/setdomain.c: New file. - * sysdeps/stub/getdomain.c: New file. +Fri Apr 22 18:10:36 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) -Wed Aug 31 01:15:26 1994 Roland McGrath <roland@churchy.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. - * hurd/hurdsig.c (_hurd_internal_post_signal: sigwakeup): Take no - args; use parent SS variable. Changed all calls. +Thu Apr 21 16:54:11 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * hurd/hurd/signal.h (struct hurd_sigstate): Make `suspended' a - port; remove `arrived'. - * sysdeps/mach/hurd/sigsuspend.c (sigsuspend): Rewritten to set - SS->suspended port and wait for msg on it. Check for and deliver - pending signals properly. - * hurd/hurdsig.c (_hurd_internal_post_signal: sigwakeup): If - SS->suspended is set, send an empty message on it and clear it. + * malloc/malloc.c (initialize, morecore): When allocating the + _heapinfo block itself, account for it in the statistics. - * math/test-math.c (print_trig_stuff): New function, tests many - math functions. - (main): Call it at end. +Tue Apr 19 20:17:06 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * string/Makefile (tests): Added test-ffs. - * string/test-ffs.c: New file. + * sysdeps/unix/sysv/sco3.2.4/pipestream.c: New file. -Tue Aug 30 20:33:49 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * malloc/malloc.c (morecore): Only zero the new part of NEWINFO, + not the part we will copy _heapinfo into. - * misc/fstab.c (error): Return void. - (fstabscan): Return int. + * sysdeps/unix/bsd/signum.h (SIGLOST): Define. + (_NSIG): Increase to 33. - * sysdeps/i386/ffs.c: Use & modifier in constraint for CNT. +Mon Apr 18 16:56:11 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * misc/fstab.c (EFTYPE): If not defined by errno.h, define this to - EINVAL. - (fstabscan): Return void. + * configure.in (config.status): Use $configure_args instead of + $ac_configure_args. + (after AC_PREPARE): Call AC_LANG_C. -Tue Aug 30 11:00:01 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> + * 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/mach/hurd/__access.c (__access): Use a send right, - not a send-once right, in the new auth protocol. - * hurd/__setauth.c (_hurd_setauth): Likewise. - * hurd/hurdsig.c (reauth_proc): Likewise. - * hurd/dtable.c (reauth_dtable): Likewise. - * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Likewise. + * sysdeps/posix/getenv.c (getenv): Return NULL if __environ is null. -Tue Aug 30 03:59:38 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * malloc/malloc.h [_MALLOC_INTERNAL] [HAVE_UNISTD_H]: Include + unistd.h. - * socket/sys/socket.h (__SOCKADDR_ARG) [GCC>=2.6]: Use a typedef - with the transparent_union attribute. + * malloc/Makefile (gmalloc-routines): Put valloc first. - * sysdeps/mach/hurd/__access.c: Use new authentication protocol: - for each port, create a fresh receive right and pass send-once - rights in the auth calls, then destroy the port. +Wed Apr 13 14:03:02 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - * sysdeps/mach/mips/syscall.S: New file. + * sysdeps/mach/hurd/__symlink.c (__symlink): Set the target of the + link to FROM, not TO. - * stdio/Makefile (mpn-headers, mpn-sysdep): Change asm.h to - asm-syntax.h. + * sysdeps/mach/hurd/__readlink.c (__readlink): Copy just the + target into the user's buffer, not the entire translator spec. - * misc/Makefile (headers): Added fstab.h. - (routines): Added fstab. - * misc/fstab.c: New file. - * misc/fstab.h: New file. +Tue Apr 12 00:13:19 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - * hurd/Makefile (routines): Changed hurdpath to hurdlookup. - * hurd/hurdpath.c: Renamed to hurd/hurdlookup.c. - * hurd/hurdlookup.c: Globally replace `pathtrans' with `lookup' and - `path' with `file_name'. - (__hurd_file_name_split): Don't bother skipping leading slashes. - * hurd/hurd.h: Rename likewise in decls. - * hurd/fchroot.c: Globally replace `pathtrans' with `lookup' and - `path' with `file_name'. - * hurd/hurdsig.c: Likewise. - * hurd/hurdsock.c: Likewise. - * hurd/hurdsyms.c: Likewise. - * hurd/invoke-trans.c: Likewise. - * sysdeps/mach/hurd/__access.c: Likewise. - * sysdeps/mach/hurd/__chmod.c: Likewise. - * sysdeps/mach/hurd/__chown.c: Likewise. - * sysdeps/mach/hurd/__execve.c: Likewise. - * sysdeps/mach/hurd/__link.c: Likewise. - * sysdeps/mach/hurd/__lstat.c: Likewise. - * sysdeps/mach/hurd/__mkdir.c: Likewise. - * sysdeps/mach/hurd/__mknod.c: Likewise. - * sysdeps/mach/hurd/__open.c: Likewise. - * sysdeps/mach/hurd/__rmdir.c: Likewise. - * sysdeps/mach/hurd/__readlink.c: Likewise. - * sysdeps/mach/hurd/__stat.c: Likewise. - * sysdeps/mach/hurd/__symlink.c: Likewise. - * sysdeps/mach/hurd/__unlink.c: Likewise. - * sysdeps/mach/hurd/__utimes.c: Likewise. - * sysdeps/mach/hurd/bind.c: Likewise. - * sysdeps/mach/hurd/chflags.c: Likewise. - * sysdeps/mach/hurd/connect.c: Likewise. - * sysdeps/mach/hurd/fchdir.c: Likewise. - * sysdeps/mach/hurd/opendir.c: Likewise. - * sysdeps/mach/hurd/sysd-stdio.c: Likewise. - * sysdeps/mach/hurd/truncate.c: Likewise. - * sysdeps/mach/hurd/rename.c: Likewise. - * sysdeps/mach/hurd/getcwd.c: Likewise. - * sysdeps/mach/hurd/chroot.c: Likewise. - * sysdeps/mach/hurd/__chdir.c: Likewise. - - * hurd/__setauth.c (_hurd_setauth): Use new authentication - protocol: for each port, create a fresh receive right and pass - send-once rights in the auth calls, then destroy the port. - * hurd/hurdsig.c (reauth_proc): Likewise. - * hurd/dtable.c (reauth_dtable): Likewise. - - * hurd/hurdpath.c (__hurd_path_lookup_retry): Don't handle - FS_RETRY_NONE (it's gone). Use new authentication protocol: - create a fresh receive right and pass send-once rights in the auth - calls, then destroy the port. - -Mon Aug 29 13:17:39 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * sysdeps/mach/hurd/__symlink.c (__symlink): Use new - file_set_translator protocol. - * sysdeps/mach/hurd/bind.c (bind): Likewise. - * sysdeps/mach/hurd/__mknod.c (__mknod): Likewise. - - * sysdeps/mach/hurd/__pipe.c (__pipe): Use PF_LOCAL instead - of AF_FILE. - -Fri Aug 26 01:21:09 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile ($(objpfx)sysd-dirs): Use sed to remove # comments from - Subdirs files. - - Support for miscellaneous standalone boards (no OS), contributed - by Joel Sherrill (jsherril@redstone-emh2.army.mil), On-Line - Applications Research Corporation. - * sysdeps/standalone: New directory. - * sysdeps/standalone/standalone.h: New file. - * sysdeps/standalone/stdio_lim.h: New file. - * sysdeps/stub/strtsupp.c: New file. - * sysdeps/standalone/filedesc.h: New file. - * sysdeps/posix/{setenv,putenv}.c: Moved to sysdeps/generic. - * sysdeps/unix/getenv.c: Moved to sysdeps/generic. - * sysdeps/unix/morecore.c: Moved to sysdeps/generic. - * sysdeps/posix/sysd-stdio.c: Moved to sysdeps/generic. - * sysdeps/stub/errnos.h: Add ENFILE and EMFILE. - * sysdeps/stub/errlist.c (_sys_errlist): Likewise. - * sysdeps/stub/console.c: New file. - * sysdeps/standalone/__open.c: New file. - * sysdeps/standalone/__read.c: New file. - * sysdeps/standalone/__write.c: New file. - * sysdeps/standalone/__close.c: New file. - * sysdeps/stub/brdinit.c: New file. - * sysdeps/unix/__sbrk.c: Moved to sysdeps/generic. - * sysdeps/standalone/__brk.c: New file. - * sysdeps/standalone/Subdirs: New file - * bare/Makefile: New file (and new directory). - * sysdeps/i960/ffs.c: New file. - * sysdeps/i960/Implies: New file. - * configure.in (os=none): base_os=standalone - -Thu Aug 25 23:56:32 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * sysdeps/stub/__sigret.c: Arg is not const. - * signal/sigret.c: Likewise. - -Tue Aug 23 14:43:19 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * socket/sys/socket.h (PF_FILE, AF_FILE): Removed (use LOCAL instead). - (PF_XTP, PF_COIP, PF_CNT, PF_RTIP, PF_IPX, PF_SIP, PF_PIP): New - macros. - (PF_MAX): Increased to 26. - (pseudo_AF_XTP, AF_COIP, AF_CNT, pseudo_AF_RTIP, AF_IPX, AF_SIP, - pseudo_AF_PIP): New macros. - (MSG_EOR, MSG_TRUNC, MSG_CTRUNC, MSG_WAITALL, MSG_DONTWAIT, - SO_REUSEPORT): New enum constants. - - * hurd/hurdsig.c (_hurd_internal_post_signal): If not preempted, - set ACT before checking for SIGCONT. When continuing and - ACT==handle, don't resume SS->thread; record that it is suspended - and in handler-setup code, don't suspend it again. - - * sysdeps/mach/hurd/sys/param.h: Include <errno.h> (BSD does). - - * sysdeps/mach/hurd/__fork.c: When unchaining old sigstates, check - for SS being head of chain. - -Mon Aug 22 00:29:02 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * time/{asia,australasia,europe,northamerica}: New data from ADO. - - * hurd/hurdsig.c (abort_rpcs): After destroying MSGING_PORT, - change the return value register in STATE to EINTR. - * sysdeps/mach/mips/thread_state.h (SYSRETURN): New macro. - * sysdeps/mach/i386/thread_state.h (SYSRETURN): New macro. - - * hurd/hurdsig.c (default_sigaction): New function. - (_hurd_thread_sigstate): Use it to initialize SS->actions. - Initialize rest of new sigstate by hand, don't just bzero it. - - * hurd/hurdsig.c (_hurd_internal_post_signal): Initialize - THREAD_STATE.set to zero. - - * posix/execl.c: Use ARG instead of PATH in va_start. - - * sysdeps/mach/hurd/__fork.c: In child fork, unchain stale - structures from _hurd_sigstates first, and only free them after - other processing is complete. - - * hurd/hurdpath.c (__hurd_path_lookup_retry): For malformed number - in magic "fd/N", return ENOENT instead of treating it as bogus - magic. - - * sysdeps/mach/hurd/__chdir.c: After __path_lookup on arg, use - __hurd_path_lookup of empty file name on resultant port to check - that it's a directory. - * sysdeps/mach/hurd/chroot.c: Likewise. - * sysdeps/mach/hurd/fchdir.c: Use __hurd_path_lookup of empty file - name on FD port to check that it's a directory and acquire a - reference at the same time. - * hurd/fchroot.c: Likewise. - - * hurd/hurdpid.c (init_pids): Add gratuitous self reference to - silence compiler. - - * hurd/hurdpath.c: Include <hurd/term.h> for cttyid opening rpc. - (__hurd_path_lookup_retry): Fixed typo. - - * sysdeps/mach/hurd/i386/__sigret.c: Push state onto the user's - stack, switch to it, pop and return. - - Major rewrite of Hurd signal delivery. - * hurd/hurd/signal.h (struct hurd_sigstate): New member `context'. - * sysdeps/mach/hurd/i386/trampoline.c: Include "thread_state.h" - instead of <mach/thread_status.h>. - (struct mach_msg_trap_args): New type. - (trampoline): Function removed. - (_hurd_setup_sighandler): Take struct hurd_sigstate * arg instead - of FLAGS and SIGALTSTACK args; take new flag arg RPC_WAIT; use - struct machine_thread_all_state * for STATE arg. New declared - labels `trampoline', `rpc_wait_trampoline' mark asm code at end of - function (after return). Add another struct sigcontext * to - STACKFRAME after the first one, for the arg to __sigreturn. If - SS->context is set, fill registers in SCP from that instead of - STATE, and reset SS->INTR_PORT from it. Use memcpy to copy from - STATE into SCP; the structures are congruent. If RPC_WAIT is set, - set up to use rpc_wait_trampoline and frob args to mach_msg_trap - syscall in progress so that it will retry the receive operation - (but not resend!). - {rpc_wait_trampoline, trampoline}: New trampoline code. - (_hurd_rcv_interrupted_p): New function. - * sysdeps/mach/hurd/mips/trampoline.c: Likewise. - * hurd/hurdsig.c (write_corefile): Take new arg SIGERROR. Use - _hurdsig_getenv instead of getenv. Use dir_mkfile to create an - unlinked node for the core file; then use dir_link to name it, - only if core_dump_task succeeded. - (post_reply): New function. - (abort_thread): New function. - (interrupted_reply_port_location): New function. - (interrupted_reply_port): Function removed (replaced by above). - (abort_all_rpcs): Take struct machine_thread_all_state * for STATE. - (abort_rpcs): Likewise. - Return int, nonzero iff interrupt_operation RPC was done. Take - args for reply port and its port type; call abort_thread instead - of doing thread_abort and thread_get_state. Call - _hurdsig_rcv_interrupted_p instead of _hurd_thread_state_msging_p. - Use __interrupt_operation mig stub instead of manual packing. If - we destroy the msging port, and it is the thread's mig reply port, - clear its reply port slot. Fix inverted SA_RESTART test. - (_hurd_internal_post_signal): Take new arg SIGERROR. - Remove `cont' from ACT enum; SIGCONT processing is independent of - handling. Removed local function `check_pending'; add `reply'. - Use mask macro STOPSIGS instead of alternation to check for stop - signals. Process SIGCONT and do continuation before examining the - handler. Use SS->pending_data instead of SS->sigcodes. When - dying, don't lock _hurd_siglock around __proc_dostop call. When - dying, reply immediately after stopping user threads. When - handling, notice return from abort_rpcs and pass it to - _hurd_setup_sighandler; also pass SS instead of its components. - Set SCP->sc_error from SIGERROR; clear SS->intr_port after saving - it in SCP->sc_intr_port. For pending checks, use macro PENDING - and goto pending if returns true. - (_S_sig_post): Eliminate unnecessary variable WIN; pass SIGERROR - value of zero to _hurd_internal_post_signal. - (_hurdsig_getenv): New function. - * sysdeps/mach/hurd/i386/__sigret.c (sp): New global register - variable. - (__sigreturn): Arg is not const. - After restoring SCP->sc_mask, check for pending signals (newly - unblocked); if any, set SS->context to SCP, clear SS->intr_port, - and send sig_post to the signal thread to deliver the pending - signals. Point SP directly at &SCP->sc_gs and used popa;iret to - restore. (This does not actually work; iret is unhelpful.) - * sysdeps/mach/hurd/mips/__sigret.c (__sigreturn): Arg is not - const. After restoring SCP->sc_mask, check for pending signals - (newly unblocked); if any, set SS->context to SCP, clear - SS->intr_port, and send sig_post to the signal thread to deliver - the pending signals. Don't write $1 value into the user stack. - Instead, write it into the word just past SCP->sc_pc; then point - $1 at SCP->sc_pc and use `op_sigreturn' pseudo-instruction to - restore the PC and $1 from that. - -Fri Aug 19 15:39:54 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * configure.in (machine): Grok i586 -> i386/i586. - * sysdeps/i386/pentium: Directory renamed to sysdeps/i386/i586. - - * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync): - New variables. - * hurd/hurdpid.c (_S_proc_newids): Last thing, increment - _hurd_pids_changed_stamp and broadcast on _hurd_pids_changed_sync. - * sysdeps/mach/hurd/__setpgrp.c: After proc_setpgrp succeeds and - PID is ourself, wait on _hurd_pids_changed_sync until - _hurd_pids_changed_stamp increases from the value before the RPC. - * sysdeps/mach/hurd/__setsid.c: After proc_setsid succeeds, wait - on _hurd_pids_changed_sync until _hurd_pids_changed_stamp - increases from the value before the RPC. - - * posix/sys/wait.h [GCC>=2.6] (__WAIT_STATUS): Define this with - typedef as a union with the new (GCC 2.6.1) `transparent_union' - attribute. - - * stdio/printf_fp.c (MPNSIZE): New macro, computed from DBL_MAX_EXP. - (MPN_VAR): Use that for size of bignums. - - * sysdeps/mach/hurd/__kill.c: For pgrp, ignore ESRCH error from - kill_pid of individual pids, unless from all of them. - * hurd/hurdkill.c (_hurd_sig_post): Likewise. - -Fri Aug 19 00:54:50 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * configure.in (INSTALL): Quote this shell goop from m4. - - * sysdeps/stub/start.c (errno, __environ): Define these variables. - - * sysdeps/stub/errnos.h (ENOMEM, EACCES): New macros. - * sysdeps/stub/errlist.c (_sys_errlist): Add strings for all - macros defined in stub/errnos.h. - (_sys_nerr): Use value computed from sizeof (_sys_errlist). - -Wed Aug 17 15:32:39 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * hurd/hurdmsg.c (_S_io_select_done): Take poly arg for notify - port arg. - - * mach/mach_init.h (vm_page_size): Remove macro defn. - - * hurd/Makefile (distribute): Added STATUS. - - * sysdeps/mach/thread_state.h: Include <string.h> and - <mach/mach_interface.h>. - - * sysdeps/mach/hurd/__select.c: Pass port-type arg to io_select. - - * sysdeps/mach/hurd/__fork.c: Include "hurdmalloc.h", so we use - the right `free'. - - * sysdeps/mach/hurd/__select.c (SELECT_DONE_MSGID): Correct value - to 23020. - (__select): Don't set PORT until just before sending io_select calls. - Pass proper send-size for io_select_done reply message. Clear the - reply port slot in io_select_done reply message header. - - * sysdeps/mach/hurd/__kill.c: Rename parameter to ARG_SIG, make - SIG a local variable initialized to that (this to work around a - GCC bug). - Initialize PIDS and NPIDS properly for proc_getpgrppids call. - - * signal/signal.h (__sigreturn, sigreturn): Arg is not const. - - * hurd/hurdpath.c (__hurd_path_lookup_retry): For REAUTH or NORMAL - with empty retryname, treat like NONE (which is now obsolete) - after reauthentication. For magic "tty", use new - termctty_open_terminal RPC on cttyid port. - -Tue Aug 16 01:58:21 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * sysdeps/mach/hurd/__kill.c (kill_pid): Make non-inline. Treat - null msgport like EPERM return from sig_post. - * hurd/hurdkill.c (_hurd_sig_post): Treat null msgport like EPERM. + * hurd/fd-write.c (_hurd_fd_write): Set noctty for now rather + than depending on what happens to be on the stack. - * sysdeps/mach/thread_state.h (machine_get_state, - machine_get_basic_state): Initialize count arg before calling - thread_get_state. + * sysdeps/mach/hurd/readdir.c (readdir): Notice when hitting + end-of-file and return NULL. - * hurd/hurdpath.c (__hurd_path_lookup_retry): Initialize ERR to zero. +Mon Apr 11 17:36:59 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - * hurd/hurdpath.c (__hurd_path_lookup_retry): Grok magic "tty". + * sysdeps/mach/hurd/start.c (start1): Bother to set __environ. - * hurd/hurd/signal.h (struct hurd_sigstate): Replace `sigcodes' with - `pending_data'. - (_hurd_raise_signal, _hurd_setup_sighandler): Update prototypes. - (_hurd_thread_state_msging_p): Don't declare. - (_hurdsig_rcv_interrupted_p): Declare this instead. - (HURD_EINTR_RPC): Invert sense of restart test. + * sysdeps/mach/hurd/__ioctl.c (__ioctl): Comment out use of + HURD_EINTR_RPC until signals work. - * hurd/hurdrlimit.c (_hurd_rlimits): Add braces to initializer. +Mon Apr 11 14:16:40 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - * hurd/catch-exc.c: Unlock _hurd_siglock when done with it. Use - __spin_lock_locked on `held' member instead of __mutex_lock_locked. + * sysdeps/mach/hurd/__ioctl.c (__ioctl): Call __mig_get_reply_port + rather than __mig_reply_port (which doesn't exist). - * sysdeps/mach/thread_state.h: New file. - * sysdeps/mach/i386/thread_state.h: Don't #include - <mach/thread_status.h>. Add #include_next <thread_state.h> at end. - * sysdeps/mach/mips/thread_state.h: Likewise. + * sysdeps/mach/hurd/__mknod.c: Added temporary declarations + of major and minor. - * sysdeps/mach/hurd/i386/sigcontext.h (struct sigcontext): Lay out - corresponding to i386_thread_state and i386_float_state. - * sysdeps/mach/hurd/mips/sigcontext.h (sc_mips_thread_state, - sc_mips_exc_state, sc_mips_float_state): New macros, marking - members that correspond to thread_state.h structs. + * (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. -Mon Aug 15 17:21:20 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * (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. - * Rules [cross-compiling=yes] (tests): Depend on the binaries, not - the output files. + * (This change occurred on April 8, 1994) + sysdeps/mach/hurd/__wait.c (__wait4): Deal properly with a null + USAGE argument. - * Makerules: Replace uses of HOST_CC with BUILD_CC and - native-CFLAGS with BUILD_CFLAGS. + * (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. - * sysdeps/unix/Makefile (mk-local_lim, make-ioctls): Replace uses - of CC with BUILD_CC and native-CFLAGS with BUILD_CFLAGS. - * sysdeps/unix/sysv/sysv4/solaris2/Makefile: Replace uses of - HOST_CC with BUILD_CC and native-CFLAGS with BUILD_CFLAGS. - * sysdeps/posix/Makefile: Likewise. +Fri Apr 8 14:58:24 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - * Makeconfig (+cc_version): Variable and associated code removed. - (HOST_CC): Use BUILD_CC instead; all uses changed. - (cross-compiling): Set to no if not the case. + * string/strsignal.c (strsignal): Store of NUL into unknown_signal + was off by one. - * sysdeps/m68k/fpu/__math.h: Replace all uses of __const with - __CONSTVALUE. +Tue Apr 5 21:26:25 1994 Brendan Kehoe (brendan@zen.org) - * Makerules (distinfo-vars): Remove $@.new first thing. Write - elided-routines instead of sysdep_routines. After writing - variables, append to sources from $(elided-routines). - * sysdeps/vax/Makefile (elided-routines): New variable (append to - it). - (aux, routines): Don't set these. - (sysdep_routines): Append things here instead. - * sysdeps/generic/Makefile (elided-routines): New variable (append - to it). - (aux): Don't set this. - * sysdeps/generic/Makefile (routines): Don't set this. - (sysdep_routines): Append exp__E and log__L here instead. + * sysdeps/unix/sysv/sysv4/__sigact.c (__sigaction): Declare member + `oact' in lower case, to match its use in the rest of the function. - * time/test_time.c (main): Set TBUF.tm_isdst to -1 before calling - mktime. +Tue Apr 5 03:07:04 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * stdlib/stdlib.h (atof, atoi, atol, random, srandom, setstate, - initstate, mblen): Never define as macros. - [__OPTIMZE__ && __GNUC__ >= 2]: Define those functions as extern - inlines. + * Makerules (install-lib.a rule): Run ranlib on the target. - * hurd/hurdpath.c (__hurd_path_lookup_retry): For magic "fd/%u", - lose on random chars after number; for / after number, retry - remainder properly. + * Makerules (library member rule): Tighten up pattern rule to + match only libc.a, not other libraries. - * hurd/hurdpath.c (pathtrans_error): New function; filters errors - from dir_pathtrans: EOPNOTSUPP and MIG_BAD_ID become ENOTDIR. - (__hurd_path_lookup, __hurd_path_lookup_retry): Call it. +Mon Apr 4 21:49:57 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Thu Aug 11 11:59:33 1994 Noel Cragg (noel@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. - * time/mktime.c (_mktime_internal): Add code to normalize value of - TM_ISDST to -1, 0, or 1 so code doesn't loop forever. + * Makerules (sysd-Makefile): Put `sysd-Makefile-done=t' in output. + (sysd-rules): Don't include it unless sysd-Makefile-done is defined. -Thu Aug 11 02:26:37 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> +Mon Apr 4 18:33:54 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - * resolv/Makefile (subdir): Set to resolv, not res. + * 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. - * sysdeps/mach/hurd/sysd-stdio.c (fd_fail): Pass ERR to - _hurd_raise_signal. +Thu Mar 31 13:46:13 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - * sysdeps/mach/i386/thread_state.h (struct machine_thread_all_state): - Add new member `fpu'. + * 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. -Wed Aug 10 23:39:49 1994 Karl Heuer <kwzh@hal.gnu.ai.mit.edu> +Mon Mar 28 12:55:51 1994 Roland McGrath (roland@mole.gnu.ai.mit.edu) - * malloc/mcheck.c (mcheck): Remove obsolete extern declaration. + * Rules (make-dummy-lib): Use `$(AR)' instead of literal `ar'. - * malloc/mcheck.c (flood): Add an arg. - (freehook, mallochook, reallochook): Use different flood bytes to - distinguish freed space from uninitialized allocated space. + * 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. - * malloc/mtrace.c (mtrace): Guard against being called twice. - (muntrace): New function, to turn off tracing. - * malloc/malloc.h: Declare it. + * sysdeps/unix/common/configure.in: Use changequote around if expr + to avoid [] elision. -Wed Aug 10 02:47:24 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> +Sat Mar 26 18:36:27 1994 Roland McGrath (roland@mole.gnu.ai.mit.edu) - * sysdeps/mach/hurd/mips/sigcontext.h (struct sigcontext): Renamed - member `sc_err' to `sc_error'. + * malloc/mcheck.c [! _MALLOC_INTERNAL]: #include <stdio.h> - * hurd/hurd-raise.c: Take new arg SIGERROR. Set - SS->pending_data[SIGNO] from SIGCODE and SIGERROR instead of - setting SS->sigcodes[SIGNO]. +Fri Mar 25 02:17:55 1994 Roland McGrath (roland@mole.gnu.ai.mit.edu) - * Makeconfig (+includes): Use text manipulation to avoid - conditional for $(..). Append $(last-includes). - * sysdeps/mach/hurd/Makefile (last-includes): Append - -I.../libthreads to this. - (includes): Not to this. + * 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. - * hurd/hurd/fd.h (_hurd_fd_error): Pass ERR to _hurd_raise_signal. + * posix/unistd.h [__USE_GNU] (TEMP_FAILURE_RETRY): New macro. - * stdlib/stdlib.h [__OPTIMIZE__] (cfree, rand, srand, random, - srandom, initstate, setstate): Macros removed. + * 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. - * malloc/mcheck.c (reallochook): Fixed typo. - (mabort) [! __GNU_LIBRARY__]: Use fprintf and abort instead of - __libc_fatal. +Thu Mar 24 14:59:23 1994 Roland McGrath (roland@mole.gnu.ai.mit.edu) - * hurd/Makefile (sig): Remove msging-p; that function will go in - trampoline.c. - * sysdeps/stub/msging-p.c: File removed. - * sysdeps/mach/hurd/mips/msging-p.c: File removed. - * sysdeps/mach/hurd/i386/msging-p.c: File removed. + * sysdeps/unix/sysv/sco3.2.4/sigaction.h: New file. -Tue Aug 9 19:20:29 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * sysdeps/unix/sysv/sco3.2.4/__sigact.S: Put address of + __sigreturn in %ecx before doing syscall trap. - * hurd/catch-exc.c: Get error code from _hurd_exception2signal and - pass it to _hurd_internal_post_signal. Search for SS manually - rather than using _hurd_thread_sigstate, to avoid locks. + * sysdeps/stub/setegid.c: Fix arg type to __gid_t (was int). - * sysdeps/mach/hurd/mips/msging-p.c: Fetch port argument from - register $8 (t0) instead of stack. Change type of STATE arg to - `struct machine_thread_all_state *'. +Wed Mar 23 17:33:09 1994 Roland McGrath (roland@mole.gnu.ai.mit.edu) - * inet/inet_netof.c: Incorporated from BSD 4.4-Lite. - * inet/inet_net.c: Incorporated from BSD 4.4-Lite. + * 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 Aug 9 18:28:40 1994 Karl Heuer <kwzh@hal.gnu.ai.mit.edu> +Tue Mar 22 12:46:08 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * malloc/mtrace.c (tr_mallochook, tr_reallochook): Don't assume - %lx format matches size_t arg. - * malloc/mtrace.c: Enable file- and line-number tracing. - * malloc/mtrace.awk: Postprocess that trace information. + * Rules (dist): Rule removed. + * Makefile (dist): Likewise. + * Makerules (dist, distinfo): New rules. + (TAGS): Depend on distfile, pass -f distfile to submake. - * malloc/mcheck.c (flood): New function. - (freehook, mallochook, reallochook): Initialize new space and - freed space to non-zero garbage, to help find code that makes - unwarranted assumptions. + * math/Makefile: Remove if-ed out old bsdmath copying rules. -Mon Aug 8 01:20:56 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * Makerules (sources, headers, sysdep_routines): Don't export these. + * Rules (others, tests): Likewise. - * sysdeps/mach/hurd/mips/exc2signal.c (_hurd_exception2signal): Take - new arg `int *error'; set it. - * sysdeps/mach/hurd/i386/exc2signal.c: Likewise. - * sysdeps/stub/exc2signal.c: Likewise. - * hurd/hurd/signal.h (_hurd_exception2signal): Take new arg - `int *error'. - (_hurd_internal_post_signal): Take new arg `int error'. + * io/lockf.c: Include fcntl.h and errno.h. - * res: Directory renamed to resolv. - * sysdeps/unix/inet/Subdirs: Change res to resolv. +Mon Mar 21 20:27:32 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * Version 1.08.6. + * 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/sparc/divrem.m4 (DEVELOP_QUOTIENT_BITS): Use ** instead of - ^ for exponentiation. Pinard says it is more portable. + * sysdeps/unix/Makefile (syscall.h): De-SYS_ify `kerncall_basenum'. - * sysdeps/mach/hurd/mips/sigcontext.h (struct sigcontext): Added - member `sc_err'. - * sysdeps/mach/hurd/i386/sigcontext.h (struct sigcontext): Move - sc_err to front machine-independent section; change its comment. + * sysdeps/unix/bsd/m68k/sysdep.S [! __motorola__]: Rename label 0 + to `store'; a user reports gas 1.38 bombs on numbered labels. - * sysdeps/stub/thread_state.h (struct machine_thread_all_state): New - type. - * sysdeps/mach/i386/thread_state.h: Likewise. - * sysdeps/mach/mips/thread_state.h: Likewise. + * sysdeps/posix/Makefile (mk-stdiolim): Use $(HOST_CC). - * sysdeps/mach/i386/Implies: File removed; it was superfluous. + * 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. - * sysdeps/sparc/divrem.m4 (Lgot_result): Add more quotes in ifelse. - - * configure.in (fpu_dirs): Fixed typo. - -Sun Aug 7 01:13:04 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * inet/inet_lnaof.c: Incorporated from BSD 4.4-Lite. - * inet/inet_mkadr.c: Incorporated from BSD 4.4-Lite. - * inet/inet_addr.c: Incorporated from BSD 4.4-Lite. - * res/Makefile (headers): Use only arpa/nameser.h, not arpa/*.h. - * res/arpa/inet.h: Moved to inet/arpa/inet.h. - * inet/arpa/inet.h: Incorporated from BSD 4.4-Lite. - - * misc/init-misc.c: New file. - * misc/Makefile (aux): Added init-misc. - - * Makeconfig (localtime-file): Use $(sysconfdir) instead of - $(etcdir). - - * Makerules (install-bin-nosubdir): Use $(install-bin) instead of - $(install). - (install-sbin-nosubdir): New target. - (install-no-libc.a-nosubdir): Depend on that. - - * configure.in ($nfp check): Iterate through $mach and use all - fpu/ dirs that exist. - -Wed Aug 3 02:46:03 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * sysdeps/mach/hurd/mips/sigcontext.h: Rearranged structure so - machine-dependent portion is laid out like `struct mips_thread_state; - struct mips_exc_state; struct mips_float_state;'. - - * Version 1.08.5. - - * sysdeps/mach/hurd/mips/__sigret.c: Compare *reply_port to - MACH_PORT_NULL, not implicit zero. - (restore_gpr): Use N-1 as subscript into sc_gpr (sc_gpr[0] => $1). - Before general regs, restore from sc_mdlo and sc_mdhi. Don't - treat sp, fp specially; use restore_gpr for them too. For final - return, store user $1 value beyond top of user stack ahead of - time; then use $1 to hold the user PC, and restore it from the - stack in the delay slot. - -Tue Aug 2 21:03:51 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler): - Copy TS to SCP all at once. - * sysdeps/mach/hurd/mips/sigcontext.h (struct sigcontext): sc_gpr - has 31 elts; sc_gpr, sc_pc, sc_mdlo, sc_mdhi are arranged in that - order to mimic struct mips_thread_state. - - * Make-dist (all-headers): Instead of removing rpcsvc/%, use - $(wildcard) to remove all headers that don't exist at top level, - but preserve top-level $(headers). - - * Make-dist (sysdep_dirs): Avoid directories called RCS. - (%/configure): Pass -f to mv. - - * sysdeps/mips/setjmp.S [__sgi__]: Use `fp' instead of `$fp'. - -Mon Aug 1 20:12:23 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * sysdeps/mach/hurd/mips/sigcontext.h (struct sigcontext): Add - members sc_mdlo, sc_mdhi. - * sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler): - Save mdlo and mdhi. - -Sun Jul 31 14:21:16 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * time/mktime.c: Remove errant comment end sequence. - - * termios/sys/ttydefaults.h: Incorporated from BSD 4.4-Lite. - * sysdeps/vax/DEFS.h: Incorporated from BSD 4.4-Lite. - * sysdeps/unix/bsd/sys/reboot.h: Incorporated from BSD 4.4-Lite. - * sysdeps/unix/bsd/bsd4.4/errnos.h: Updated from 4.4-Lite sys/errno.h. - [__USE_BSD] (EAUTH, ENEEDAUTH, ELAST): New macros. - * sysdeps/ieee754/support.c: Incorporated from BSD 4.4-Lite. - * sysdeps/ieee754/cbrt.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/trig.h: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/tanh.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/tan.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/sinh.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/sincos.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/pow.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/mathimpl.h: Incorporated from BSD 4.4-Lite. - Add back __izing #define's, except for exp__E and log__L, which - have been renamed with __s in 4.4-Lite. - * sysdeps/generic/log__L.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/log1p.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/log.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/fmod.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/exp__E.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/exp.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/cosh.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/atanh.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/atan2.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/asinh.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/asincos.c: Incorporated from BSD 4.4-Lite. - * misc/getusersh.c: Incorporated from BSD 4.4-Lite. - (initshells): Reapply fix of 16 Nov 1992. - * sysdeps/generic/acosh.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/__expm1.c: Incorporated from BSD 4.4-Lite. - * misc/ttyslot.c: Incorporated from BSD 4.4-Lite. - * misc/ttyent.h: Incorporated from BSD 4.4-Lite. - * misc/syslog.c: Incorporated from BSD 4.4-Lite. - * misc/paths.h: Incorporated from BSD 4.4-Lite. - * misc/getttyent.c: Incorporated from BSD 4.4-Lite. - * misc/sys/syslog.h: Incorporated from BSD 4.4-Lite. - Don't include <machine/ansi>; define _BSD_VA_LIST_ to __gnuc_va_list. - * inet/rexec.c: Incorporated from BSD 4.4-Lite. - * inet/rcmd.c: Incorporated from BSD 4.4-Lite. - (rcmd): Reapply select max fd fix of 3 Jun 1994. - * inet/pathnames.h: File removed. - * inet/inet_ntoa.c: Incorporated from BSD 4.4-Lite. - * inet/getsrvbypt.c: Incorporated from BSD 4.4-Lite. - * inet/getsrvbynm.c: Incorporated from BSD 4.4-Lite. - * inet/getservent.c: Incorporated from BSD 4.4-Lite. - * inet/getprtname.c: Incorporated from BSD 4.4-Lite. - * inet/getprtent.c: Incorporated from BSD 4.4-Lite. - * inet/getproto.c: Incorporated from BSD 4.4-Lite. - * inet/protocols/timed.h: Incorporated from BSD 4.4-Lite. - * inet/protocols/talkd.h: Incorporated from BSD 4.4-Lite. - * inet/protocols/rwhod.h: Incorporated from BSD 4.4-Lite. - * inet/protocols/routed.h: Incorporated from BSD 4.4-Lite. - * inet/arpa/tftp.h: Incorporated from BSD 4.4-Lite. - * inet/arpa/telnet.h: Incorporated from BSD 4.4-Lite. - * inet/arpa/ftp.h: Incorporated from BSD 4.4-Lite. - -Fri Jul 29 01:50:37 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Version 1.08.4. - - * res/Makefile (routines): Add missing backslash. - - * sysdeps/mach/hurd/mips/__sigret.c: Rename variable AT (which is - the register's name) to SCPREG. Fix some SCP references in - register loads to use SCPREG instead. Load SCPREG->sc_pc into $24 - and jump to it, restoring $at in the delay slot. This still - leaves $24 clobbered. - - * sysdeps/mach/hurd/mips/sigcontext.h: Use `unsigned int' - consistently for port names. - - * sysdeps/mach/hurd/mips/trampoline.c: Don't set up args on the - stack; pass them in registers. - - * Makefile (%/configure, sysd-dirs, munch-init.c): Pass -f to mv. - - * misc/sys/cdefs.h (__NORETURN, __CONSTVALUE): Use the - __attribute__ defn for GCC>=2.7, not >=2.6. Use the keyword defn - only for GCC<2.5. Use __volatile__ and __const__ instead of - noreturn and const for namespace safety. - - * sysdeps/mach/hurd/__readlink.c: If BUF is null, return the size - of buffer required. - -Thu Jul 28 17:17:11 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * res/netdb.h: Declare h_errno. - - * res: New directory, for all code incoporated from BIND. - * inet/arpa/inet.h, inet/arpa/resolv.h: Moved to res/arpa. - * inet/sys/bitypes.h: Moved to res/sys. - * inet/gethstnamad.c: Renamed to res/gethnamaddr.c. - * inet/getnetbyad.c: Renamed to res/getnetbyaddr.c. - * inet/getnetbynm.c: Renamed to res/getnetbyname.c. - * inet/res_mkqry.c: Renamed to res/res_mkquery.c. - * inet/Makefile (headers): Removed netdb.h, resolv.h, and - sys/bitypes.h. - (routines): Removed res_comp res_debug res_init res_mkqry res_query - res_send gethstnmad sethostent. - (aux, distribute): Variables removed. - * res/getnetnamadr.c, res/nsap_addr.c: New files. - * All .c and .h in res/ updated from BIND-4.9.3-BETA9. - * res/Makefile: New file. - * sysdeps/unix/inet/Subdirs: Added res. - - * Makerules: Replace all uses of `.dep' suffix with `.d' suffix. - (+make-deps): Replace `.dtm' suffix with `.T' suffix. - -Wed Jul 27 06:13:30 1994 Noel Cragg (noel@churchy.gnu.ai.mit.edu) - - * time/mktime.c: Add code to support tm_isdst flag in struct tm. - Fixed bug with handling of DST sections. + * Makerules (install-lib-nosubdir): Insert $(libprefix) appropriately. -Mon Jul 25 17:17:28 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> +Fri Mar 18 01:02:52 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/sparc/divrem.m4 (Lgot_result) [S=true]: Only test SIGN - and negate for [OP=div]. + * 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. - * socket/sys/socket.h (__SOCKADDR_ARG): New macro; for GCC 2.6 and - later, a funky union similar to __WAIT_STATUS in <sys/wait.h>. - (bind, getsockname, connect, getpeername, sendto, recvfrom, - accept): Use __SOCKADDR_ARG in place of `struct sockaddr *' in - declarations. +Tue Mar 8 18:35:02 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * posix/glob/configure.bat: New file. - * posix/Makefile (glob.tar): Add glob/configure.bat. + * 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/unix/opendir.c: Fail with ENOENT when passed "". - Check STATBUF and fail with ENOTDIR if it's not a directory. + * sysdeps/generic/Makefile (common-generated): Set this instead of + generated for bytesex.h and det_endian. -Mon Jul 25 15:44:18 1994 Noel Cragg (noel@churchy.gnu.ai.mit.edu) + * sysdeps/stub/fexecve.c: New file. + * posix/Makefile (routines): Add fexecve. + * posix/unistd.h [__USE_GNU]: Declare fexecve. - * time/mktime.c: Fix range-checking bug in NORMALIZE macro. + * 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. -Fri Jul 22 02:42:44 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> +Mon Mar 7 17:46:46 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/unix/readdir.c: Search for NUL character to limit - d_namlen. Some systems return very bogus values. + * sysdeps/unix/bsd/osf1/alpha/__sigblock.S: New file from brendan. - * sysdeps/unix/sysv/sysv4/i386/sysdep.h (PSEUDO): Remove ret at end. +Fri Mar 4 01:56:26 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * mach/Makefile (mach-shortcuts): Filter out device_writev_request. + * Makerules (native-compile, common-objdir-compile): Use + $(HOST_CC) in place of $(CC). - * limits.h (_LIBC_LIMITS_H_): Don't define if already defined. - [__GNUC__ < 2]: Only protect this section from multiple inclusion. + * malloc/cfree.c: Move #undef cfree inside #ifdef _LIBC. - * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): - Declare SIGSP volatile. + * misc/sys/ioctl.h (struct ttysize): If TIOCGSIZE != TIOCGWINSZ, + use two int elts instead of four shorts. - * hurd/hurdinit.c (_hurd_setproc): Fixed arg in - _hurd_pgrp_changed_hook decl. +Thu Mar 3 17:35:54 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * hurd/hurd/signal.h (_hurd_self_sigstate_unlocked): New function. - (HURD_EINTR_RPC): Use it instead of _hurd_self_sigstate followed by - __mutex_unlock; this thread might already hold the lock. + * malloc/realloc.c (realloc): When shrinking a block by splitting + and then freeing one, bump the _chunks_used counter. -Wed Jul 20 18:53:54 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> + * sysdeps/unix/sysv/sysv4/i386/__mknod.S: New file. - * hurd/fd-read.c (_hurd_fd_read): Test for EBACKGROUND in - do loop was reversed. +Tue Mar 1 11:42:41 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * hurd/hurdpath.c (__hurd_path_lookup): Skip over initial slashes - before calling __dir_pathtrans. + * sysdeps/unix/sysv/sco3.2.4/__waitpid.S: Get first argument from + stack at 8(%esp), not 4(%esp). -Tue Jul 19 15:28:39 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/unix/sysv/isc2.2/rename.S: Get unix/common, not unix/bsd. - * mach/Makefile (user-interfaces): Add mach/mach4. - (mach-shortcuts): Match all syscall_% again; the missing ones are in - mach4.defs. +Thu Feb 24 14:40:43 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * mach/Machrules (%.ir): Match SimpleRoutine as well as Routine - comments. + * 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. - * sysdeps/mach/hurd/Makefile ($(hurd)/errlist.c): Use -f flag to mv. + * time/backward, time/etcetera, time/zic.c: New code and data from ADO. + * Makeconfig (posixrules): Default to America/New_York. -Sat Jul 16 00:42:30 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * 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!). - * Makerules [install]: Rewrite this rule to use install-bin. - [install-sbin]: New rule parallel to that one, installs in $(sbindir). + * sysdeps/unix/sysv/irix4: New directory; mips-sgi-irix4 port + courtesy Tom Quinn. - * time/Makefile (install-sbin): Set this instead of install. - * sunrpc/Makefile (install-others): Use $(sysconfdir)/rpc instead - of $(etcdir)/rpc. - (install-bin): Set this instead of install; set it to just rpocgen. - (install-sbin): Put rpcinfo and portmap here instead. - ($(sysconfdir)/rpc): Rule renamed from $(etcdir)/rpc. - (defines): Rename it in _PATH_RPC defn here too. + * 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. - * posix/Makefile (install-bin): Set this instead of install. + * 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. - * Makeconfig (datadir): Default to $(prefix)/share, not $(prefix)/lib. - (sbindir): New variable. - (sysconfdir): Variable renamed from etcdir. + * sysdeps/unix/sysv/sysv4/fcntlbits.h: Moved to sysdeps/unix/common. - * sysdeps/unix/bsd/sun/signum.h: New file; no SIGINFO, SIGLOST is 29. + * stdio/printf_fp.c: Add many assertions to make sure no mpn size + variable is ever zero. - * sysdeps/unix/sysv/sco3.2.4/uname.S: New file from Scott Bartram. + * Makerules (native-CFLAGS): Add -I$(sysincludedir). - * sysdeps/unix/sysv/sco3.2.4/__getgrps.c: Include alloca.h. + * Makerules (depend-$(subdir)) [omit-deps]: Use $(+depfiles) value + instead of shell hackery. - * configure.in (INSTALL): If it is $srcdir/install.sh after - AC_PROG_INSTALL, reset it to '$(..)./install.sh'. +Wed Feb 23 00:09:08 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/mach/hurd/__ioctl.c (io2mach_type): Move macro defn before - first use. - (__ioctl): Fix swapped args to __sigismember; remove unused variable. + * sysdeps/sparc/alloca.S [! NO_UNDERSCORES]: Call it ___builtin_alloca. - * sysdeps/mach/hurd/send.c: Fix portsPoly arg to __socket_send. - * sysdeps/mach/hurd/sendto.c: Likewise. +Tue Feb 22 18:47:10 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/mach/hurd/recv.c: Pass &BUFP, not BUFP. - * sysdeps/mach/hurd/recvfrom.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Use __off_t in mmap + prototype. - * sysdeps/mach/hurd/connect.c: Include <hurd/ifsock.h>. + * time/setitmr.c: Swap args OLD and NEW. + * time/sys/time.h (setitimer): Likewise. + * sysdeps/stub/__setitmr.c: Likewise. - * sysdeps/mips/dec/bytesex.h: New file. - * sysdeps/mips/p40/bytesex.h: New file. +Mon Feb 21 20:47:55 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Fri Jul 15 23:12:06 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). - * posix/sys/types.h (u_quad, quad): Renamed to &_t. - * posix/gnu/types.h [__GNUC__] (__u_quad_t, __quad_t, __qaddr_t): - New typedefs, using long long int and derivatives. - [! __GNUC__] (__u_quad, __quad): Renamed to &_t. - (__fsid_t): Make this always be __u_quad_t. + * sysdeps/unix/sysv/sysv4/__sigact.c (trampoline): Cast handler to + three-arg type. - * time/sys/time.h (struct timespec): New type. - (TIMEVAL_TO_TIMEPSEC, TIMESPEC_TO_TIMEVAL): New macros. +Sun Feb 20 00:46:15 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Thu Jul 14 15:43:39 1994 Brendan Kehoe (brendan@zen.org) + * sysdeps/unix/bsd/sun/sunos4/mmap.c: Add missing semicolon. - * sysdeps/unix/sysv/sysv4/sysinfo.S: New file. - * sysdeps/unix/sysv/sysv4/Dist: Add sysinfo.S. - * sysdeps/unix/sysv/sysv4/Makefile: Add sysinfo to sysdep_routines - if we're inside misc. - * sysdeps/unix/sysv/sysv4/sethostnam.c: New file. - * sysdeps/unix/sysv/sysv4/__gethstnm.c: New file. + * sysdeps/unix/sparc/start.c [! NO_SHLIB]: Include <sys/types.h> + before <sys/mman.h>. - * sysdeps/unix/sysv/sysv4/solaris2/fsync.S: New file. + * sysdeps/unix/bsd/ultrix4/mips/{sysdep.h,sysdep.S,__pipe.S, + __fork.S,__brk.S}: Moved to sysdeps/unix/mips (new directory). -Tue Jul 12 00:57:08 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/unix/bsd/ultrix4/mips/__sigret.S: Use SYS_sigreturn + instead of literal 103; #define to 103 if not already defined. - * mach/Makefile (mach-shortcuts): Only match known Mach - subsystems: vm, task, mach_port, and thread. +Sat Feb 19 17:39:13 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Mon Jul 11 20:18:29 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/unix/sysv/sysv4/i386/Dist: New file; list sys-sig.S. - * hurd/intr-rpc.defs, hurd/intr-rpc.awk: New files. - * hurd/Makefile (user-MIGFLAGS): Add -imacros intr-rpc.defs. - (transform-user-stub): New canned sequence. - (transform-user-stub-output): New variable. - Make the .ustamp files depend on intr-rpc.awk. +Fri Feb 18 18:07:34 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * mach/Machrules (%.ir): Cull the RPC names from the preceding - comment rather than the definition, so we don't see any userprefix. - (transform-user-stub-output): New variable. - (%.ustamp: %.defs): Invoke $(transform-user-stub) inside for loop. - Use $(transform-user-stub-output) in place of `tmp' in arg to - move-if-change. + * sysdeps/generic/configure.in: New file; check for psignal. - * mach/Makefile [! mach-shortcuts] (user-interfaces): Also filter - out device/device_request. + * sysdeps/unix/common/glue-ctype.c: Check for table named _ctype, + before checking for _ctype_. + * sysdeps/unix/common/configure.in: Check for _ctype. -Mon Jul 11 17:50:14 1994 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) + * sysdeps/unix/Makefile (syscall.h): Look for sys.s before syscall.h. + * sysdeps/unix/configure (unix_syscall_h): Likewise. - * sysdeps/unix/sysv/sysv4/Makefile: Put the sys-sig.S stuff in - here, rather than in .../sysv4/solaris2/sparc/Makefile. - * sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile: Removed the - sys-sig.S part. + * configure.in (os = irix4*): Set base_os=unix/sysv. -Sun Jul 10 19:04:24 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sunrpc/rpc/auth.h (u_int32): Always define, no #ifdefs. + * sunrpc/xdr_float.c: Change [mc68000 || sparc] to [! vax]. - * sysdeps/mach/hurd/bind.c: Call __hurd_invoke_translator. +Thu Feb 17 18:42:29 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * hurd/hurd.h (__hurd_invoke_translator, hurd_invoke_translator): - Declare them. - * hurd/Makefile (routines): Add invoke-trans. - * hurd/invoke-trans.c (__hurd_invoke_translator): New file. - * hurd/hurdsyms.c (hurd_invoke_translator): New alias. + * Version 1.07.4. - * hurd/hurdpath.c (__hurd_path_lookup_retry): New function. - * hurd/hurdsyms.c (hurd_path_lookup_retry: New alias. - * hurd/hurd.h (__hurd_path_lookup_retry, hurd_path_lookup_retry): - Declare them. + * sysdeps/unix/bsd/sun/sunos4/Dist: Add sys_mmap.S. - * hurd/hurd/fd.h (_hurd_fd_error_signal): Return SIGLOST for - MIG_SERVER_DIED. + * Makerules (sysdep_dir): Remove defn. + * Makeconfig (sysdep_dir): Define it here instead. - * time/strftime.c: Make %j value 1-origin instead of 0-origin. +Wed Feb 16 16:54:00 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Sat Jul 9 02:31:23 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. - * gnu-stabs.h (__SYMBOL_PREFIX): New macro, based on NO_UNDERSCORES. - Use it in all macros instead of explicit leading underscores. - Removed all [! __STDC__] definitions. + * time/sys/time.h (timerisset, timercmp, timerclear): New macros. - * sysdeps/mach/hurd/mips/trampoline.c: New file. - * sysdeps/mach/hurd/mips/sigcontext.h: New file. - * sysdeps/mach/hurd/mips/longjmp-ts.c: New file. - * sysdeps/mach/hurd/mips/msging-p.c: New file. - * sysdeps/mach/hurd/mips/longjmp-ctx.c: New file. - * sysdeps/mach/hurd/mips/init-fault.c: New file. - * hurd/mach/hurd/mips/__sigret.c: New file. - * sysdeps/mach/hurd/mips/exc2signal.c: New file. - * sysdeps/mach/mips/thread_state.h: New file. - * sysdeps/mach/mips/machine-sp.h: New file. - * sysdeps/mach/mips/machine-lock.h: New file. - * sysdeps/mach/mips/sysdep.h: New file. + * 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. - * mach/Makefile (mach-syscalls.mk): Snarf 3rd arg from kernel_trap. - ($(mach-syscalls:%=__%.S): Emit kernel_trap instead of SYSCALL_TRAP. - * mach/syscalls.awk: Print nargs-$1 = $3 for each line. - * sysdeps/mach/sysdep.h: Include <mach/machine/syscall_sw.h>. - * sysdeps/mach/i386/sysdep.h (ENTRY, SYSCALL_TRAP): Macros removed. +Tue Feb 15 16:47:45 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/mach/i386/machine-lock.h: Use __volatile in place of - volatile to work with -traditional. + * posix/unistd.h: Declare truncate, ftruncate. -Fri Jul 8 21:06:43 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * misc/Makefile (headers): Add syslog.h. + * misc/syslog.h: New file; just includes <sys/syslog.h>. - * hurd/hurdsig.c (_hurd_internal_post_signal): For stop signals, - clear pending SIGCONT no matter what action we choose. - Add new value `cont' to ACT enum; use it for default SIGCONT action. - (_hurd_internal_post_signal: sigwakeup): New local inline. + * posix/unistd.h: Change duplicate seteuid decl to setegid. -Fri Jul 8 20:26:49 1994 Brendan Kehoe (brendan@zen.org) + * io/Makefile (headers): Add sys/fcntl.h. + * io/sys/fcntl.h: New file; just includes <fcntl.h>. - * sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile (sysdep-CFLAGS): Set - this to include the -mhard-quad-float option. +Mon Feb 14 10:36:57 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys-sig.S: New file. - * sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile: New file. - * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file. + * 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). -Fri Jul 8 13:54:54 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * Makerules (+depfiles): Filter out deps for modules in $(omit-deps). - * hurd/hurdpath.c (__hurd_path_lookup): Don't treat leading / - specially for FS_RETRY_NORMAL. Handle FS_RETRY_MAGICAL; leading / - here means use crdir. In that case, deallocate *RESULT if nonnull. + * sunrpc/Makefile (omit-deps): Define new variable. - * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Don't define _ERRNO_H if - already defined. + * Makerules ($(libc.a)(__.SYMDEF)): Depend on $(+libobjs), not + lib-noranlib. + * Makefile ($(libc.a)(__.SYMDEF)): Depend on subdir_lib. - * posix/gnu/types.h (__ino_t): Make this unsigned int instead of - unsigned long int (matters for Alpha). + * Makerules (+depfiles): Include deps for $(extra-objs). - * Makeconfig (+gccopt): Variable removed. - (+cflags): Don't use it. - (CPPFLAGS): Append $(sysdep-CPPFLAGS). - (CFLAGS): Append $(sysdep-CFLAGS). + * sunrpc/rpcsvc/klm_prot.x: Move program definition to end. - * sysdeps/mach/hurd/__ioctl.c: In MSGID calculation, skip blocks - of 100 for request commands >= 100, to allow for the reply msgids. + * sunrpc/Makefile (lib): Depend on $(objpfx)librpcsvc.a. -Thu Jul 7 19:07:00 1994 Brendan Kehoe (brendan@zen.org) + * time/zic.c: Set CP to NAME before dereferencing. - * sysdeps/unix/bsd/osf1/dirstream.h (DIR): Make __allocation - member be int, not size_t (which is a long). + * 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. -Thu Jul 7 15:21:15 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * 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. - * hurd/__fopenport.c (readio, writeio, seekio, closeio): New - functions. - (funcsio): New const variable. - (__fopenport): Make the new stream use that for its io functions, and - the default room functions, and set its seen flag. + * sysdeps/unix/bsd/m68k/sysdep.S: Swap operands in cmpl. -Tue Jul 5 11:32:38 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +Sun Feb 13 19:49:24 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * hurd/hurd/signal.h (struct hurd_sigstate): Removed `intr_restart'. - (HURD_EINTR_RPC): Uncommented. Declare label - `__do_call' so it has block instead of function scope. Don't use - SS->intr_restart; instead SS->intr_port being reset to - MACH_PORT_NULL tells us to restart the call. + * 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). - * sysdeps/mach/hurd/__ioctl.c: Enable use of HURD_EINTR_RPC. - Do ctty magic and check for EBACKGROUND to generate SIGTTOU. +Fri Feb 11 00:29:45 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * mach/devstream.c (dealloc_ref): New function. - (mach_open_devstream): Add a user reference to DEV, and set - STREAM's close fn to dealloc_ref, which will release the reference. + * configure.in (Makefile): Set objdir instead of ARCH in submake cmd. - * hurd/fd-read.c (_hurd_fd_read): Enabled and rewrote SIGTTIN code. - * hurd/fd-write.c (_hurd_fd_write): Enabled and rewrote SIGTTOU code. + * time/mktime.c: Define __P if undefined. - * hurd/hurdsyms.c: Add an alias hurd_sig_post -> _hurd_sig_post. - * hurd/hurdkill.c (_hurd_sig_post): Renamed back from hurd_sig_post. - * hurd/hurd.h: Declare _hurd_sig_post. + * assert/assert.h (__ASSERT_FUNCTION): Check __GNUC_MINOR__<6 if + defined(__cplusplus). - * hurd/hurdsig.c (_S_sig_post): Add SIGTTIN and SIGTTOU cases, - handled like SIGINT et al. +Thu Feb 10 00:52:31 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * mach/devstream.c: Turn back on NL->CRNL translation. + * sysdeps/unix/sysv/__sigact.c: Use __sigismember and + __sigemptyset on sa_mask instead of assuming it's an int. - * stdio/xbug.c (main): Return instead of running off the end. + * sysdeps/unix/sysv/sysv4/sigset.h (__sigismember): Declare arg + SET to be a pointer to const. -Mon Jul 4 16:57:13 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/posix/__sigpause.c: Convert MASK to a sigset_t with a loop. - * Version 1.08.3. + * 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. -Sat Jul 2 00:15:37 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + 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. - * sysdeps/mach/hurd/__ioctl.c: Account for three type fields in - message buffer size. +Wed Feb 9 11:59:33 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): - Catch faults accessing user stack and return NULL. - * hurd/hurdsig.c (_hurd_internal_post_signal): When it does, die - with SIGILL and dump core. + * time/zic.c (mkdirs): Reapply fix to avoid writing into passed ptr. - * hurd/hurdsig.c (_hurd_internal_post_signal): Use - _hurd_msgport_thread instead of __mach_thread_self () to avoid the - system call. (Signals will now lose if _hurd_msgport_thread gets - clobbered.) - (abort_rpcs): Always do thread_abort and thread_get_state. + * 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. - * misc/getpass.c: Fix typo resulting in newline not being removed. + * sunrpc/rpc_util.h: Comment out bogus decl of sprintf. - * termios/sys/ttydefaults.h [TTYDEFCHARS] (ttydefchars): Cast - _POSIX_VDISABLE to cc_t to avoid gcc warning. + * Makerules ($(libc.a)(__.SYMDEF)): Depend on lib-noranlib instead + of $(+libobjs); this way makes the parent do subdir_lib. -Fri Jul 1 14:07:40 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/unix/sysv/sysv4/sigset.h: Protect types with #ifndef + _SIGSET_H_types. Protect rest with #if !defined (_SIGSET_H_fns) + && defined (_SIGNAL_H). - * hurd/Makefile (user-interfaces): Add hurd/ifsock. +Tue Feb 8 19:00:42 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * socket/sys/socket.h (AF_LOCAL): New macro. + * Version 1.07.3. - * sysdeps/mach/hurd/__kill.c: Fix SIGKILL loop condition. + * sysdeps/unix/sysv/sysv4/sigset.h: Fix typos (omitted __s). -Fri Jul 1 13:36:27 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) +Mon Feb 7 14:31:00 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * hurd/hurdkill.c (hurd_sig_post): New var PIDSBUF; initialize - PIDS and NPIDS correctly; only free PIDS if the MiG stub - changed it. + * Makerules ($(libc.a)): Depend on $(libc.a)(__.SYMDEF); no commands. + ($(+libobjs)): Remove static pattern rule. + (ar-it): Target removed. + Replace with pattern rule to catch %(*.o) for all $(objects). + ($(libc.a)(__.SYMDEF)): New target. + (lib-noranlib, $(libdir)/lib$(libprefix)c.a): Don't depend on ar-it. -Thu Jun 30 18:47:48 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) + * sysdeps/unix/sparc/sysdep.h (PSEUDO): Add nop after jmp; the + next insn is most likely a retl, which causes interesting behavior. - * hurd/hurdsock.c (_hurd_socket_server): Zero up to and *including* - new[DOMAIN]. + * stdio/vfprintf.c: Pass WORKEND+1 to _itoa, not WORKEND. + Subtract one from result of _itoa when setting W. -Thu Jun 30 08:12:28 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * time/{africa,asia,australasia,backward,europe,leapseconds, + northamerica,southamerica,zic.c}: New code and data from ADO. - * hurd/hurdsig.c (abort_all_rpcs): Just iterate over _hurd_sigstates. +Sun Feb 6 13:55:27 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * hurd/dtable.c (fork_child_dtable): Skip empty descriptor slots. + * sunrpc: New directory; code from Sun's RPCSRC-4.0. + * sysdeps/unix/inet/Subdirs: Add sunrpc. + * inet/netdb.h: #include <rpc/netdb.h> at end. - * sysdeps/mach/hurd/__ioctl.c: Fix MSG.data size calculation. + * Make-dist ($(tardir).tar): Use -v when extracting from dist.tar + and pipe output to doschk. -Wed Jun 29 19:06:54 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * Makeconfig (etcdir): New variable. + (localtime-file): Use that in default value. - * sysdeps/mach/hurd/bind.c: For AF_LOCAL, create a new node in the - filesystem, put the ifsock translator on it, and fetch the - address port. - * sysdeps/mach/hurd/connect.c: For AF_LOCAL, look up the socket - file and fetch the address port using the ifsock protocol. + * Makerules (depend-$(subdir)): Include dep files for all .o files + listed in $(extra-objs). -Tue Jun 28 16:03:15 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * posix/sys/types.h (NFDBITS): #define to __NFDBITS. - * hurd/Makefile (routines): Add ports-get, ports-set, and hurdmsg. - (aux): Remove msgstub. - * hurd/hurdports.c (get): Just call _hurd_ports_get. - (set): Just call _hurd_ports_set. - (getcttyid, setcttyid): New functions. - * hurd/ports-get.c (_hurd_ports_get): New file, new function. - * hurd/ports-set.c (_hurd_ports_set): New file, new function. - * hurd/hurd.h: Declare _hurd_ports_get and _hurd_ports_set. - Declare getcttyid and setcttyid. - * hurd/__setauth.c (__setauth): Just call _hurd_setauth. - (_hurd_setauth): New function, code moved from __setauth. - * hurd/hurdinit.c (_hurd_setproc): New function. - * hurd/hurdioctl.c (_hurd_setcttyid): New function. + * inet/netinet/in.h (INADDR_LOOPBACK): Don't define if already + defined; avoids changing source which defines it before including this. + (struct sockaddr_in): Rename `__pad' member to `sin_zero'; some + code wants to bzero the area just for paranoia. - * locale/C-ctype_ct.c (__ctype_tolower_C, __ctype_toupper_C): Use - integer constants instead of character constants for octal values - so they will not be sign extended. + Make cleaning targets only remove common (not specific to one + subdir) generated files if run from the parent directory. + * Makefile (parent-clean): Remove $(common-generated) also. + * sysdeps/unix/Makefile (local_lim.h, sys/param.h, errnos.h, + ioctls.h, syscall.h): Append to $(common-generated), not $(generated). + * sysdeps/posix/Makefile (stdio_lim.h): Likewise. - * sysdeps/mach/hurd/__setitmr.c (fork_itimer): New function, on - _hurd_fork_child_hook. + * signal/signal.h: Declare psignal here. + * stdio/stdio.h: Not here. - * sysdeps/stub/sysd-stdio.c (__stdio_reopen): Fix typo in arg type. - * sysdeps/stub/__ioctl.c: Fix type of REQUEST arg. - * sysdeps/stub/syscall.c: Include ansidecl.h. - * sysdeps/stub/_exit.c: Add __NORETURN to defn. + * stdio/stdio.h [__OPTIMIZE__] (vprintf, vfscanf, vscanf, + vsscanf): Define as extern inline functions instead of macros. - * sysdeps/unix/sysv/sysv4/sigset.h (_EXTERN_INLINE): Define to - `extern __inline', not empty. + * configure.in (names): Check existence of implied dirs and warn + for absentees. - * sysdeps/mach/hurd/ttyname.c: Don't bother searching /dev. +Sat Feb 5 13:38:26 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Sat Jun 25 15:41:29 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * Version 1.07.2. - * sysdeps/mach/hurd/__fork.c: Moved proc_task2pid call to just - before proc_child. It is a waste to do it earlier. + * resource/sys/resource.h (RUSAGE_SELF, RUSAGE_CHILDREN): #define + to self for things that test #ifdef. -Sat Jun 25 13:17:39 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) + * sysdeps/unix/common/Dist: Remove bsd_getgrp.S. - * sysdeps/mach/hurd/__fork.c: Move proc_task2pid call to after - _hurd_ports are unlocked. Call proc_child nearly last thing. - Ignore errors from thread_resume. + * sysdeps/unix/Makefile: Don't include param.h.dep ifdef no_deps. -Fri Jun 24 20:21:11 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * Makerules (vpath %.h): Use $(common-objpfx) in place of $(objpfx). - * sysdeps/posix/getcwd.c: Remove empty `#define'. + * sysdeps/unix/bsd/i386/__vfork.S: Decrement R1 and AND it with R0 + to avoid the test and branch. -Fri Jun 24 17:57:36 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) + * sysdeps/unix/bsd/getprio.S, sysdeps/unix/bsd/setprio.S, + sysdeps/unix/bsd/__setreuid.S, sysdeps/unix/bsd/__setregid.S: Moved to + sysdeps/unix/common. - * sysdeps/mach/hurd/__fork.c: Call proc_task2pid immediately after - task_create. Add comment explaining why thread_resume must be the - last thing we do to the child. + * sysdeps/unix/reboot.S: New file. -Fri Jun 24 01:41:41 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/unix/sysv/sysv4/solaris2/signum.h: New file. + * sysdeps/unix/sysv/sysv4/signum.h: New file. + * sysdeps/unix/sysv/sysv4/sigset.h: New file. + * sysdeps/unix/sysv/sysv4/sigaction.h (struct sigaction): Swap + positions of sa_flags and sa_mask members (sa_flags is first now). + (SA_NOCLDWAIT): Renamed from SA_NOSCLDWAIT. - * hurd/hurdinit.c (_hurd_proc_init): Call __proc_set_arg_locations - in place of __proc_setprocargs (it was renamed). + * sysdeps/unix/bsd/init-posix.c (_posix_start_time): Initialize it. - * hurd/hurd.h: Rename _hurd_sig_post to hurd_sig_post. - * hurd/hurdkill.c: Likewise. + * Makerules (open-check-inhibit-asm): Use : for empty commands in case. - * hurd/port2fd.c (_hurd_port2fd): Call __term_open_ctty instead of - __term_become_ctty, and don't pass the message port. - * hurd/hurdioctl.c (rectty_dtable): Likewise. - * hurd/dtable.c (fork_child_dtable, ctty_new_pgrp): Likewise. + * time/leapseconds: New version from ADO, adds 1994 leap second. - * sysdeps/mach/hurd/__fork.c: Use __proc_{get,set}_arg_locations - to propagate argv and envp locations to the child. +Thu Feb 3 02:15:30 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * stdio/freopen.c (freopen): If STREAM->__seen is clear, pass - __stdio_close to __stdio_reopen. + * sysdeps/unix/bsd/ulimit.c: Define ulimit instead of __ulimit. - * misc/Makefile (install-lib): Add libg.a. - ($(objpfx)libg.a): New rule; use make-dummy-lib. - (lib): Depend on $(objpfx)libg.a +Wed Feb 2 16:56:29 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Thu Jun 23 01:14:36 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/unix/sysv/sco3.2.4/sigsuspend.S: Moved to unix/sysv/sysv4. + Replaced with #include of that file. - * termios/termios.h (CCEQ): New macro. + * sysdeps/unix/sysv/sysv4/solaris2/sigaltstack.S: Moved to + sysdeps/unix/sysv/sysv4/sigaltstk.S. - * sysdeps/unix/sysv/irix4/__getgrps.c: Add missing __ to fn name. + * sysdeps/unix/sysv/sysv4/i386/__lstat.S: Syscall lxstat, not xlstat. + * sysdeps/unix/sysv/sysv4/i386/__fstat.S: Syscall fxstat, not xfstat. - Don't compile in absolute file names for localtime and posixrules - files if they were specified relative to $(zonedir). - * time/Makefile (installed-localtime-file, - installed-posixrules-file): Set these instead of - {localtime,posixrules}-file to the absolute file names. - ($(localtime-file), $(posixrules-file)): Change targets to - $(installed-localtime-file) and $(installed-posixrules-file). +Tue Feb 1 18:22:21 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Wed Jun 22 15:52:26 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * stdio/_itoa.c, stdio/_itoa.h: New files. + * stdio/Makefile (routines): Add _itoa. + (distribute): Add _itoa.h. + * stdio/vfprintf.c: Use _itoa instead of doing it by hand. - * hurd/Makefile (sig): Add hurdkill. + * sysdeps/unix/sparc/vfork.S: Add nop after jmp. Bad delay slot, + no pipeline. + * sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise. -Sat Jun 18 12:57:54 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) +Mon Jan 31 19:33:04 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * stdio/_itoa.h (_itoa): Change type of VALUE to unsigned long long. - * stdio/_itoa.c (_itoa): Likewise. + * assert/assert.c (__assert_fail): Take 4th arg FUNCTION; if it is + not null, print it in the message. Also declare __NORETURN. + * assert/assert.h (__assert_fail): Update decl; also add __NORETURN. + (__ASSERT_FUNCTION): #define to be __PRETTY_FUNCTION__ for GCC>=2.4. + (assert): Pass __ASSERT_FUNCTION to __assert_fail. -Thu Jun 16 01:10:41 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * sysdeps/unix/bsd/sun/sparc/vfork.S: Moved to sysdeps/unix/sparc. + Use C_SYMBOL_NAME on __vfork instead of prepending an underscore. - * sysdeps/mach/hurd/dirstream.h (DIR): Replace `__filepos' member - with `__entry_ptr' and `__entry_data'. Remove `__block_size' member. - Replace `__offset' member with `__ptr', a char *; no need to include - <gnu/types.h>. - * sysdeps/mach/hurd/readdir.c: Use those, new dir_readdir protocol. - * sysdeps/mach/hurd/opendir.c: Initialize new members. - Don't do io_stat to set __blocksize. - * sysdeps/mach/hurd/telldir.c: Rewritten; return DIRP->__entry_ptr. - * sysdeps/mach/hurd/seekdir.c: Rewritten; just set DIRP->__entry_ptr - from arg, and zero DIRP->__size so a new block will be read. + * sysdeps/unix/sysv/sysv4/solaris2/{start.c,sysdep.S,sysdep.h}: Moved + to sysdeps/unix/sysv/sysv4/solaris2/sparc. - * sysdeps/mach/hurd/getcwd.c: Use new dir_readdir protocol. + * sysdeps/unix/{i386,sysv/sysv4/solaris2,sysv/i386/linux,bsd/m68k, + bsd/ultrix4/mips,bsd/vax}/sysdep.S: Don't do EWOULDBLOCK_sys->EAGAIN + mapping #if EWOULDBLOCK_sys == EAGAIN. - * hurd/msgstub.c: Add stubs for dir_changed, file_changed. + * sysdeps/unix/sparc/sysdep.h [NO_UNDERSCORES]: #define syscall_error + to C_SYMBOL_NAME(__syscall_error). + (PSEUDO): On error, jump to syscall_error instead of setting errno. + * sysdeps/unix/sparc/sysdep.S: New file. - * hurd/hurdsock.c (_hurd_socket_server): Removed unused label. + * sysdeps/unix/sysv/sysv4/i386/__vfork.S: New file, just #include + unix/bsd/i386 version. - * sysdeps/mach/hurd/__getdents.c: Use new dir_readdir protocol. + * sysdeps/unix/bsd/i386/__vfork.S: Use `scratch' in place of %edx. - * sysdeps/mach/hurd/__access.c: Open the file with 0 flags and - then use file_check_access to discover what we are allowed. +Thu Jan 27 16:46:03 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Tue Jun 14 14:10:03 1994 Brendan Kehoe (brendan@zen.org) + * configure.in (asm-CPPFLAGS): Add new check to see if assembling + a .S file loses without -P. If so, set asm-CPPFLAGS=-P in config.make. - * sysdeps/mips/setjmp.S: Refer to `$fp', not `fp'. + * configure.in (stddef.h): Print msg under --verbose. -Tue Jun 14 00:50:54 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * manual/Makefile (subdir): Define outside of `export' directive, + for old make. - * sysdeps/mach/hurd/__pipe.c: Set FDS[1], not FDS[2]. + * time/mktime.c (search): Take new arg PRODUCER, fn to call + instead of `localtime'. + (_mktime_internal): New function; all code from old `mktime', but + take 2nd arg PRODUCER and pass along to `search'. + (mktime): Rewrite to call _mktime_internal with localtime. + * time/Makefile (routines): Add dysize, timegm, timelocal. + * time/time.h (_mktime_internal): Declare it. + [__USE_MISC]: Declare timegm, timelocal, dysize. + * time/dysize.c: New file. + * time/timegm.c: New file. + * time/timelocal.c: New file. -Mon Jun 13 06:48:48 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) +Wed Jan 26 20:06:23 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/unix/bsd/sun/sparc/sigtramp.c (trampoline): Use a - comment instead of a pointless insn to reference %0 in final asm. + Remove the hackery on getgroups for most systems. It is no longer + necessary because gid_t is now the same size as int. + * sysdeps/unix/common/Makefile (sysdep_routines): Don't add bsd_getgrp. + * sysdeps/unix/common/bsd_getgrp.S: File removed. + * sysdeps/unix/common/__getgrps.S: New file. + * sysdeps/unix/bsd/sequent/i386/__getgrps.S: New file. + + Clean up the rules for cleaning up. + * Makerules (common-mostlyclean): New target; remove object files. + (common-clean): New target; depend on common-mostlyclean, and + remove dep files and generated files. + (clean): Depend on common-clean. + (mostlyclean): Depend on common-mostlyclean. + * Rules (mostlyclean): Target removed. + (clean): Target removed. + (distclean): New target; depend on clean. + (realclean): New target; depend on distclean. + (subdir_distclean): New target; depend on distclean. + (subdir_realclean): New target; depend on realclean. + (subdir_mostlyclean): New target; depend on mostlyclean. + * Makefile (+subdir_targets): Add subdir_distclean, + subdir_realclean; change mostlyclean to subdir_mostlyclean. + (parent-mostlyclean): New target; depend on common-mostlyclean and + remove libc.a and $(install-lib). + (parent-clean): New target; depend on parent-mostlyclean and + common-clean, and remove sysdirs sysd-dirs sysd-Makefile. + (clean): Depend on parent-clean and just do submake for subdirs. + (mostlyclean): Depend on parent-clean and just do submake for subdirs. + (distclean, realclean): Depend on parent-clean and do submake + distclean-1 passing it variable assignment distclean-1=$@. + (distclean-1): Depend on subdir_$(distclean-1) and remove + $(config-generated), config.status, config.make, Makefile (if not + in srcdir). + * manual/Makefile (subdir_clean): Target removed. + (subdir_%): New rule to handle all such targets. + (distclean): Depend on clean, not mostlyclean. + (realclean): Depend on distclean, not clean. + + * sysdeps/unix/configure (unix_generated_dirpfx): New variable. + Use it to put created .S files in sysdeps/unix if configured in + srcdir, else in current directory. + (unix_generated): Prepend $unix_generated_dirpfx. + Have generated config.make fragment prepend $(objpfx). + * sysdeps/unix/Makefile (generated): Don't set it. + (config-generated): Set this instead; don't prepend any directory + prefix to $(unix-generated). - * hurd/hurdsock.c (_hurd_socket_server): If realloc fails, don't - fail; just don't cache the port. - Look up the server node only if it is not in the cache. - Translate errno only if path_lookup fails. - (init): New function, on _hurd_preinit_hook. + Fixes for SVR4 wait from jmc@ksu.ksu.edu (James Michael Chacon): + * sysdeps/unix/sysv/sysv4/siginfo.h (__siginfo_t): Add `__code' + and `__pid' fields. + (EXITED, KILLED, CORED, TRAPPED, STOPPED, CONTINUED): New macros. + * sysdeps/unix/sysv/sysv4/__waitpid.c: Switch on INFOP.__code and + construct *STAT_LOC from INFOP.__status accordingly. - * sysdeps/mach/hurd/__symlink.c: Complement _hurd_umask before ANDing. + * stdlib/testsort.c (main): Use puts to add newlines to printed lines. -Sat Jun 11 12:52:28 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +Tue Jan 25 14:32:01 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/mach/hurd/__fork.c: Can't insert dead name rights into - child. + * Version 1.07.1. -Sat Jun 11 05:19:47 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * manual/Makefile (%.z): Change target pattern to %.gz. + (dist): Comment out dep. Don't really need the separate doc dist. - * sysdeps/mach/hurd/i386/longjmp-ts.c: Set TS->uesp instead of - TS->esp. Set TS->eip. + * stdio/stdio.h [__OPTIMIZE__] (getchar, putchar, getdelim, + getline, __getline): Use extern inlines instead of macros. - * gnu-stabs.h (bss_set_element): New macro. - * hurd/dtable.c: Use bss_set_element instead of data_set_element - to put _hurd_dtable_lock in the _hurd_fork_locks set. + * sysdeps/unix/sysv/sco3.2.4/__waitpid.S: Fix typo ($eax for %eax). -Fri Jun 10 02:04:51 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/unix/siglist.c [! HAVE_GNU_LD] (_sys_siglist): #define + to sys_siglist. + * sysdeps/posix/__gettod.c [! HAVE_GNU_LD] (__daylight, + __timezone, __tzname): #define to non-__ names. - * sysdeps/mach/hurd/__fork.c: Don't apply MACH_PORT_TYPE to result - from __mach_port_names. Unlock SS->lock before return. - Check for KERN_NAME_EXISTS from mach_port_allocate_name when - creating a receive right and possibly ignore it. + * math/math.h [__USE_BSD] (M_E, M_LOG2E, M_LOG10E, M_LN2, M-LN10, + M_PI, M_PI_2, M_PI_4, M_1_PI, M_2_PI, M_2_SQRTPI, M_SQRT2, + M_SQRT1_2): New macros. + +Tue Jan 25 14:01:28 1994 Michael I. Bushnell (mib at ernst.gnu.ai.mit.edu) + + * sysdeps/mach/hurd/start.c (start1): Decide separately whether to + split argv and whether to split envp. + + * sysdeps/mach/hurd/i386/sysdep.h: File deleted. + sysdeps/mach/i386/sysdep.h: Delete SET_SP macro. + sysdeps/mach/hurd/start.c (_start): Don't call GET_SP; set globals + instead of locals from exec_startup message. + + * misc/progname.c: Don't try to set + program_invocation_name or program_invocation_short_name if argv + or argv[0] is invalid. + +Mon Jan 24 16:51:43 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/sysv/sysv4/__waitpid.c: Return INFOP.__pid instead of + the PID we were called with. - * sysdeps/unix/sysv/sco3.2.4/Dist: Add sco_getgrp.S. + * sysdeps/unix/sysv/__mkdir.c (__mkdir): Restore errno before + returning, not after (lot of good that did). - * crypt/speeds.c: Include signal.h and stdio.h first thing. - [! SIGVTALRM]: Define NO_ITIMER. + * sysdeps/unix/bsd/ultrix4/system.c, sysdeps/unix/bsd/bsd4.4/system.c, + sysdeps/unix/bsd/osf1/system.c, sysdeps/unix/sysv/sco3.2.4/system.c, + sysdeps/unix/bsd/sun/sunos4/system.c, sysdeps/unix/sysv/sysv4/system.c: + New files. Avoid sysdeps/unix/system.c, which defines NO_WAITPID. - * sysdeps/unix/sysv/isc3/direct.h: New file. + * set-init.c (__libc_init): Use `n' count field instead of + checking for null terminator. The latter loses when there are no + set elts at all, and only one word is allocated for __libc_subinit. - * hurd/hurdinline.c: Include lock-intern.h before #define - _EXTERN_INLINE. + * sysdeps/generic/waitstatus.h (__WCOREFLAG): New macro. + * posix/sys/wait.h [__USE_BSD] (WCOREFLAG): New; define to __WCOREFLAG. - * sysdeps/mach/hurd/__fork.c (_hurd_fork_locks): Don't be const. - (__fork): Set SS from _hurd_self_sigstate so it is never null. - New local flag PORTS_LOCKED records when we have spin_locked all - the _hurd_ports cells; unlock them if necessary on error. + * stdio/fileno.c (fileno): Call __stdio_check_funcs. - * hurd/hurdsig.c (_hurd_siglock): Don't initialize it. - (_hurdsig_init): Initialize _hurd_siglock at runtime. + * stdio/tst-fileno.c: New file. -Wed Jun 8 12:22:27 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) +Fri Jan 21 16:56:50 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * hurd/hurdid.c (_hurd_check_ids): Zero P->nuids and P->ngids after - deallocating P->uids and P->ngids. + * Rules (dep-dummy-lib, make-dummy-lib): New variables. + ($(objpfx)dummy.o): New file rule. + * posix/Makefile ($(objpfx)libposix.a): Depend on + $(dep-dummy-lib), and use $(make-dummy-lib) for commands. + * math/Makefile ($(objpfx)libm.a): Likewise. - * hurd/hurdioctl.c (_hurd_ioctl_handler_lists): Make defn initialized. + * sysdeps/unix/sysv/sysv4/i386/__stat.S: New file. + * sysdeps/unix/sysv/sysv4/i386/__lstat.S: Likewise. + * sysdeps/unix/sysv/sysv4/i386/__fstat.S: Likewise. - * sysdeps/mach/hurd/__ioctl.c: Only try to unpack if IOC_OUT is set. + * sysdeps/sparc/bytesex.h: New file. - * hurd/Makefile (routines): Replace $(inlines) with hurdinline. - (inlines): Variable and rule removed. - (generate-inlines): Variable removed. - * hurd/hurdinline.c: New file. +Thu Jan 20 12:45:35 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Tue Jun 7 01:58:20 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * sysdeps/stub/syscall.c (syscall): Declare arg type as int. - * Makerules: Add -f to all mv commands missing it. +Wed Jan 19 18:18:15 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * hurd/Makefile (generate-inline): New canned sequence. - (inline-%.c): Use it. + * Makerules ($(before-compile) rule): Protect w/`ifdef before-compile'. - * time/asia, time/europe, time/northamerica: New versions from ADO. + * manual/Makefile: Change all `mv' uses to `mv -f'. + (subdir_install): Depend on stubs. -Mon Jun 6 21:36:04 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * Makerules ($(objpfx)%.dep: %.s): Depend also on $(objpfx)dummy.dep. - * hurd/hurdid.c (init_id): New function. +Tue Jan 18 19:12:57 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * Makerules (+make-deps): Put first s cmd before $(sed-remove-objpfx). - (sed-remove-objpfx): Replace occurrences at beginning of line too. + * stdlib/testsort.c (main): Swap dimensions of BUFS array. -See ChangeLog.3 for earlier changes. +See ChangeLog.2 for earlier changes. |