about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* * sysdeps/mach/hurd/dirstream.h: Define `struct __dirstream'Roland McGrath1995-08-2819-30/+57
| | | | | | | | | | | | | | | | | | | | | | instead of `DIR'. * sysdeps/unix/bsd/dirstream.h: Likewise. * sysdeps/stub/dirstream.h: Likewise. * sysdeps/unix/dirstream.h: Likewise. * sysdeps/mach/hurd/telldir.c: Include "dirstream.h". * sysdeps/mach/hurd/seekdir.c: Likewise. * sysdeps/mach/hurd/opendir.c: Likewise. * sysdeps/mach/hurd/closedir.c: Likewise. * sysdeps/mach/hurd/readdir.c: Likewise. * sysdeps/unix/telldir.c: Likewise. * sysdeps/unix/seekdir.c: Likewise. * sysdeps/unix/rewinddir.c: Likewise. * sysdeps/unix/readdir.c: Likewise. * sysdeps/unix/opendir.c: Likewise. * sysdeps/unix/closedir.c: Likewise. * sysdeps/unix/bsd/telldir.c: Likewise. * sysdeps/unix/bsd/readdir.c: Likewise. * dirent/Makefile (headers): Remove dirstream.h. (distribute): Put it here instead.
* Fri Aug 25 12:12:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-08-2515-98/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/mach/hurd/mmap.c: Fix inverted test of MAP_FIXED. * stdio/vfscanf.c (number): Allow field width to inhibit first digit after base detection. * stdio/vfprintf.c (vfprintf: %s): Never search past the limit specified by the precision. * grp/grpread.c (__grpscan): New function. * grp/grp.h (__grpscan): Declare it. * grp/getgrgid.c: Use __grpscan. * grp/getgrnam.c: Likewise. * pwd/pwdread.c (__pwdscan): New function. * pwd/pwd.h (__pwdscan): Declare it. * pwd/getpwnam.c: Use __pwdscan. * pwd/getpwuid.c: Likewise. Thu Aug 24 16:29:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * sysdeps/mach/hurd/mmap.c: Treat (FLAGS & MAP_TYPE) == 0 like MAP_FILE. * hurd/thread-cancel.c: Return EINTR when called on self. * sysdeps/i386/elf/start.S (data_start): Define as weak alias for __data_start.
* Tue Aug 22 16:49:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-08-2211-46/+150
| | | | | | | | | | | | | | | | | | | | | | * inet/netdb.h: Moved to resolv. * inet/Makefile (headers): Remove netdb.h. * resolv/Makefile (headers): Add netdb.h. * resolv/gethnamaddr.c, resolv/inet_addr.c, resolv/netdb.h, resolv/res_send.c: Updated from BIND-4.9.3-BETA26. * hurd/thread-cancel.c: If SS->cancel_hook is not null, call it before resuming the thread. * hurd/hurd/signal.h (struct hurd_sigstate): New member `cancel_hook'. * hurd/Makefile: Removed dep on hurd/signal.h for RPC stub objects. Mon Aug 21 16:37:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * sysdeps/i386/dl-machine.h (elf_machine_rel): Grok R_386_NONE relocs, and do nothing. Why the linker generates them we may never know. * sysdeps/mach/hurd/i386/intr-msg.h: New file.
* (struct hurd_sigstate): New member `cancel_hook'.Roland McGrath1995-08-221-1/+3
|
* Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/regex.cMiles Bader1995-08-221-34/+38
|
* Removed dep on hurd/signal.h for RPC stub objects.Roland McGrath1995-08-222-3/+2
|
* * sysdeps/mach/hurd/Makefile: Don't elide sunrpc and manual fromRoland McGrath1995-08-212-3/+3
| | | | `subdirs' variable.
* Thu Aug 17 16:18:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-08-176-37/+119
| | | | | | | | | | | | | | | | | | | | | | * hurd/intr-msg.c: Use INTR_MSG_TRAP macro from machine-dependent "intr-msg.h" for special syscall code, instead of i386-specific asm. * hurd/hurdsig.c: Use INTR_MSG_BACK_OUT macro from machine-dependent "intr-msg.h" before mutating thread state to skip RPC. * sysdeps/mach/hurd/i386/trampoline.c: If PC is inside _hurd_intr_rpc_mach_msg special syscall code, use real SP saved in %ecx. * Makeconfig (link-libc): New variable; use shared library if available. (+link): Use it. * sysdeps/mach/hurd/fork.c (_hurd_fork_locks): Variable removed. Instead, declare with `symbol_set_declare'. (fork): Use symbol_set_* macros for _hurd_fork_locks. Use SS->thread instead of __mach_thread_self (). Suspend all other threads during task_create and port copying.
* Wed Aug 16 17:04:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-08-173-2/+12
| | | | | | | | | | * hurd/intr-msg.c: Fixed calculation of syscall %esp. Tue Aug 15 12:26:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * hurd/hurdsig.c (_hurdsig_abort_rpcs): Remove `static'. * hurd/Makefile (sig): Add intr-msg.
* (sig): Add intr-msg.Roland McGrath1995-08-151-1/+1
|
* Changes for Linux and LynxOS.Per Bothner1995-08-151-15/+25
|
* (kill_pid): Don't make `inline'.Roland McGrath1995-08-141-1/+1
|
* Mon Aug 14 16:51:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-08-1419-339/+493
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * hurd/thread-cancel.c: New file. * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): In rpc_wait case, frob mach_msg args to set timeout on receive. (_hurdsig_rcv_interrupted_p): Function removed. * sysdeps/mach/hurd/alpha/trampoline.c: Likewise. * sysdeps/mach/hurd/hppa/trampoline.c: Likewise. * sysdeps/mach/hurd/mips/trampoline.c: Likewise. * hurd/intr-msg.c: New file. * hurd/hurd/signal.h (struct hurd_sigstate): New member `cancel'. (_hurdsig_rcv_interrupted_p): Declaration removed. (HURD_EINTR_RPC): Macro removed. (_hurd_longjmp_thread_state, _hurd_interrupted_rpc_timeout): Declare these. * hurd/intr-rpc.h: New file. * hurd/intr-rpc.defs: Just import intr-rpc.h. * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): New variable. (interrupted_reply_port_location): Take new flag arg; only catch faults if it's set. (abort_rpcs): Rename to _hurdsig_abort_rpcs; take same new flag arg. No longer use _hurdsig_rcv_interrupted_p; instead compare PC to &_hurd_intr_rpc_msg_in_trap. If before it, mutate state to simulate MACH_SEND_INTERRUPTED return; on it, interrupt the operation. All callers changed. * hurd/hurd.h (hurd_thread_cancel, hurd_check_cancel): Declare these. * hurd/Makefile (distribute): Remove intr-rpc.awk. (sig): Add thread-cancel. (transform-user-stub, transform-user-stub-output): Variables removed. * sysdeps/mach/hurd/dl-sysdep.c: Change all RPCs from `__hurd_intr_rpc_*' to `__*'. (_hurd_intr_rpc_mach_msg): New function. (_hurd_thread_sigstate): Function removed. * sysdeps/mach/hurd/ioctl.c: Use _hurd_intr_rpc_mach_msg function, instead of __mach_msg inside HURD_EINTR_RPC macro. * sysdeps/generic/morecore.c [__GNU_LIBRARY__]: Declare `__sbrk' to take ptrdiff_t arg. * sysdeps/mach/hurd/fork.c: Remove _hurd_longjmp_thread_state decl. * sysdeps/mach/hurd/kill.c (kill_pid): Don't make `inline'. * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_symbol, weak_alias): Use `extern' storage class.
* RegeneratedRoland McGrath1995-08-101-0/+5
| | | | | | | Mon Aug 7 14:04:36 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * posix/glob.c (glob_in_dir): Allocate GLOB_MARK byte in case when (NFOUND == 0 && (FLAGS & GLOB_NOCHECK)).
* Wed Aug 9 14:25:35 1995 Miles Bader <miles@geech.gnu.ai.mit.edu>Roland McGrath1995-08-101-0/+21
| | | | | | | | | | | | | | | | | | | | | * sysdeps/mach/hurd/setuid.c (__setuid): Switch the port-type and port-count parameters to __auth_makeauth. * sysdeps/mach/hurd/setgid.c (__setgid): Ditto. Tue Aug 8 12:22:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * hurd/sigunwind.c: Remove _hurd_longjmp_thread_state decl. * inet/netinet/tcp.h: New file, incorporated from 4.4BSD-Lite. Tue Aug 8 12:06:04 1995 Michael I. Bushnell, p/BSG <mib@duality.gnu.ai.mit.edu> * inet/netinet/in.h (IP_MULTICAST_TTL, IP_MULTICAST_LOOP, IP_MULTICAST_IP, IP_ADD_MEMBERSHIP, IP_DROP_MEMBERSHIP): New IP layer socket options. (IPPROTO_GGP): Delete obsolote protocol. (IPPROTO_IGMP): Add new protocol (with same value [2] as old GGP). (struct ip_mreq): New type.
* (__setuid): Switch the port-type and port-count parameters to __auth_makeauth.Miles Bader1995-08-091-1/+1
|
* (__setgid): Switch the port-type and port-count parameters to __auth_makeauth.Miles Bader1995-08-091-1/+1
|
* Remove _hurd_longjmp_thread_state decl.Roland McGrath1995-08-081-3/+0
|
* Reorder new multicast options to conform to BSD. (struct ip_mreq): New type.Thomas Bushnell, BSG1995-08-081-5/+11
|
* New file, incorporated from 4.4BSD-Lite.Roland McGrath1995-08-081-0/+98
|
* (IP_MULTICAST_TTL, IP_MULTICAST_LOOP, IP_MULTICAST_IP, IP_ADD_MEMBERSHIP, ↵Thomas Bushnell, BSG1995-08-081-0/+5
| | | | IP_DROP_MEMBERSHIP): New IP layer socket options.
* (IPPROTO_GGP): Drop obsolete protocol. (IPPROTO_IGMP): Add new protocol ↵Thomas Bushnell, BSG1995-08-081-1/+1
| | | | (with same value [2] as old GGP).
* * stdlib/strtol.c: Use #ifdef, not #if, for HAVE_LIMITS_H.Roland McGrath1995-08-074-8/+17
| | | | | * posix/glob.c (glob_in_dir): Allocate GLOB_MARK byte in case when (NFOUND == 0 && (FLAGS & GLOB_NOCHECK)).
* Mon Aug 7 14:04:36 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-08-075-5/+35
| | | | | | | | | | | * sysdeps/generic/sysd-stdio.c (__stdio_reopen): Return failure when __stdio_open fails with a code other than ENFILE or EMFILE. * csu/initfini.c (SECTION): New macro, different definitions for #ifdef HAVE_ELF and not. (_init, _fini): Use that macro. * config.make.in (have-initfini): New variable, set by configure. * conf/portability.h (NEED_INETADDR, NEED_INETATON): New macros.
* Fri Aug 4 16:01:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-08-071-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile (headers): Added gnu-versions.h. Thu Aug 3 14:41:11 1995 Michael I. Bushnell <mib@duality.gnu.ai.mit.edu> * inet/netinet/in.h (IN_CLASSD, IN_EXPERIMENTAL, IN_BADCLASS): Use equality, not assignment, to test bitfields. Sat Jul 29 10:41:06 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> * sysdeps/mach/hurd/sendto.c (sendto): Use the ifsock protocol to resolve AF_LOCAL addresses. * sysdeps/mach/hurd/accept.c (accept): If the protocol family can't tell us what an address means, just return a zero-length buffer instead. * sysdeps/mach/hurd/recvfrom.c (recvfrom): Ditto. Fri Jul 28 15:29:11 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> * sysdeps/mach/hurd/bind.c (bind): Don't use file_invoke_translator, as it doesn't work. Instead just lookup the translated node again, and hope we're not hit by any race conditions.
* (headers): Added gnu-versions.h.Roland McGrath1995-08-041-1/+2
|
* (IN_CLASSD, IN_EXPERIMENTAL, IN_BADCLASS): Use equality, not assignment, to ↵Thomas Bushnell, BSG1995-08-031-4/+4
| | | | test bit fields.
* [_LIBC]: Define HAVE_LIMITS_H. [HAVE_LIMITS_H]: Include it.Jim Meyering1995-07-301-1/+8
|
* Sun Jul 30 01:09:08 1995 Jim Meyering (meyering@comco.com)Jim Meyering1995-07-301-0/+4
| | | | * strtol.c [!defined errno]: Declare it.
* (accept): If the protocol family can't tell us what an address means, just ↵Miles Bader1995-07-303-8/+50
| | | | return a zero-length buffer instead.
* (bind): Don't use file_invoke_translator, as it doesn't work. Instead just ↵Miles Bader1995-07-281-4/+30
| | | | lookup the translated node again, and hope we're not hit by any race conditions.
* * csu/Makefile [$(elf)=yes] (have-initfini): Set to yes.Roland McGrath1995-07-277-73/+276
| | | | | | | | | | | | | | | | | | [$(have-initfini)=yes]: Test this rather than $(elf) for crtstuff. [start-installed-name-rule]: If this is defined, elide rule for $(objpfx)$(start-installed-name). * sysdeps/unix/sysv/sco3.2.4/Makefile [$(subdir)=csu] (start-installed-rule, start-installed-name-rule): New variables; specify crt1.o, created by our own rule. ($(objpfx)crt1.o): New rule. * configure.in: Require autoconf 2.4.2 or later. Change all AC_CACHE_VAL uses to use new AC_CACHE_CHECK macro instead; prettify some messages. [$elf!=yes] (libc_cv_have_initfini): New test for `.init' and `.fini' sections. * munch-tmpl.c [HAVE_INITFINI]: Call _init and atexit (_fini) in this case rather than #ifdef HAVE_ELF. * config.h.in (HAVE_INITFINI): New macro.
* * stdio/vfscanf.c (conv_error): Simplify expression to avoidRoland McGrath1995-07-265-22/+18
| | | | | | | | | | "value computed is not used" warning. * Makeconfig (+gccwarn): Removed -Wconversion. * csu/initfini.c (GLOBAL): Macro removed. (_init, _fini): Always define globally. * csu/Makefile (crtstuff, initfini): Don't make crt[in]_s.o.
* * asia, backward, europe, leapseconds, southamerica: New data fromRoland McGrath1995-07-2625-205/+405
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ADO's 95e. * inet/Makefile (routines): Removed inet_addr. * inet/inet_addr.c: Moved to resolv/ subdirectory. * resolv/Makefile (routines): Added inet_addr. * resolv/inet_addr.c: Incorporated from BIND 4.9.3-BETA24 release. * resolv/gethnamaddr.c: Likewise. * resolv/getnetbyaddr.c: Likewise. * resolv/getnetbyname.c: Likewise. * resolv/getnetent.c: Likewise. * resolv/getnetnamadr.c: Likewise. * resolv/herror.c: Likewise. * resolv/nsap_addr.c: Likewise. * resolv/res_comp.c: Likewise. * resolv/res_debug.c: Likewise. * resolv/res_init.c: Likewise. * resolv/res_mkquery.c: Likewise. * resolv/res_query.c: Likewise. * resolv/res_send.c: Likewise. * resolv/resolv.h: Likewise. * resolv/sethostent.c: Likewise. * resolv/arpa/nameser.h: Likewise. * inet/netdb.h: Incorporated from BIND 4.9.3-BETA24 release. [__GNU_LIBRARY__]: Include <rpc/netdb.h> instead of repeating its declarations (and doing so only #ifdef sun!). * posix/sys/types.h [__USE_BSD] (__BIT_TYPES_DEFINED__): New macro. [__USE_BSD] [__GNUC__] (int64_t, u_int64_t, register_t): New typedefs.
* Wed Jul 26 02:00:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> cvs/bind-493b24Roland McGrath1995-07-263-1/+36
| | | | | | | | | | | | * malloc/memalign.c: Allocate (SIZE + ALIGNMENT - 1) and then trim if possible. * mach/shortcut.awk: Emit decls for RPC. * libc-symbols.h [GCC >= 2.7 && !ASSEMBLER] (weak_symbol, weak_alias, strong_alias): Define using GCC __attribute__ syntax. * Makerules ($(installed-libcs)): Depend on `lib' (only).
* ($(installed-libcs)): Depend on `lib' (only).Roland McGrath1995-07-261-7/+3
|
* Remove weird unnecessary shell construction.David MacKenzie1995-07-261-2/+2
|
* New file, based on NET2 code but with DES code removed.Roland McGrath1995-07-261-0/+287
|
* * sysdeps/mach/hurd/pathconf.c: Declare VALUE as int, not long int.Roland McGrath1995-07-253-4/+7
|
* * stdlib/strtol.c [_LIBC]: Define STDC_HEADERS.Roland McGrath1995-07-258-16/+55
| | | | | | | | | | | | | | | * sysdeps/unix/sysv/ftime.S: New file. * locale/locfile-parse.c (categories_write): Cast "" to char *. * io/fcntl.h [__OPTIMIZE__] (creat): Macro removed. * time/strftime.c: Use year modulo 100 for %y. * time/sys/timeb.h: Add __BEGIN_DECLS and __END_DECLS. * sysdeps/unix/snarf-ioctls (snarfexclude): Use two sed's instead of one, to work around bug in sunos4.1.2 sed.
* Tue Jul 25 09:14:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-07-252-6/+22
| | | | | * stdio/vfprintf.c (vfprintf): For %s with precision spec, use memchr instead of strlen to limit search for NUL by precision.
* Mon Jul 24 03:13:16 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-07-242-0/+44
| | | | * sysdeps/posix/pathconf.c: New file.
* Sat Jul 22 20:53:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> cvs/libc-950723 cvs/libc-950722Roland McGrath1995-07-233-1/+17
| | | | | | | | * sysdeps/unix/i386/sysdep.h (JUMPTARGET): Use ## to avoid space before @PLT. * sysdeps/mach/i386/sysdep.h (JUMPTARGET): New macro. * sysdeps/i386/bsd-_setjmp.S: Use JUMPTARGET macro in jmp insn. * sysdeps/i386/bsd-setjmp.S: Likewise.
* Use JUMPTARGET macro in jmp insn.Roland McGrath1995-07-232-3/+4
|
* *** empty log message ***Thomas Bushnell, BSG1995-07-231-7/+18
| | | | | | | | | | | | | | | | | | | | Sat Jul 22 19:58:54 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> * inet/Makefile (routines): Added `ruserpass'. * inet/ruserpass.c: New file, from BSD Net-2 sources for the FTP client. Modified to remove the fourth arg AACCT. Do nothing for the `account' and `macdef' keywords. Other incidental changes because we are not in the FTP source tree. * sysdeps/stub/init-posix.c: Removed stub warning. instead of unix/sysv. Fixes to help Linux, inspired by drepper's work: * sysdeps/posix/utimes.c: New file. * sysdeps/generic/getdomain.c: New file. * sysdeps/i386/init-first.c: Removed gratuitous #include <hurd.h>. * sysdeps/generic/dl-sysdep.c: Include <unistd.h> and declare externals _dl_argc, _dl_argc, and _environ.
* (routines): Added `ruserpass'.Thomas Bushnell, BSG1995-07-231-2/+2
|
* Removed stub warning.Roland McGrath1995-07-221-13/+2
|
* * Makefile (autoconf-it): Make it executable and unwritable.Roland McGrath1995-07-224-39/+51
| | | | | * configure.in (sysnames): Under --enable-debug-configure, spew potential sysnames.
* Sat Jul 22 01:56:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-07-2227-237/+260
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/unix/i386/sysdep.h (JUMPTARGET): New macro; use name@PLT #ifdef PIC. (PSEUDO): Use JUMPTARGET(syscall_error) in jump insn. * sysdeps/unix/i386/syscall.S: Use JUMPTARGET(syscall_error) in jump insn. * sysdeps/unix/sysv/sysv4/linux/i386/sysdep.h: Rewritten. * sysdeps/unix/sysv/sysv4/linux/i386/syscall.S: New file. * sysdeps/unix/sysv/sysv4/linux/i386/socket.S: Include <sys/socketcall.h>. Save %ebx in call-clobbered %edx instead of stack. Use JUMPTARGET(syscall_error) in jump insn. * Makeconfig (+gccwarn): Add -Wbad-function-cast -Wconversion. * sysdeps/unix/i386/sysdep.h (ENTRY): Use ASM_GLOBAL_DIRECTIVE and ASM_TYPE_DIRECTIVE. (ASM_TYPE_DIRECTIVE): New macro; defined using `.type' #ifdef ELF. * sysdeps/unix/sysv/sysv4/linux/i386/sysdep.S (__syscall_error): Rewritten, #include'ing unix/i386/sysdep.S for most of the code. * sysdeps/unix/i386/sysdep.S [PIC]: Store into `errno' through the GOT. Fixes to help Linux, inspired by drepper's work: * configure.in (os=linux*): Use unix/sysv/sysv4 for $base_os, instead of unix/sysv. * sysdeps/posix/utimes.c: New file. * sysdeps/generic/getdomain.c: New file. * sysdeps/i386/init-first.c: Removed gratuitous #include <hurd.h>. * sysdeps/generic/dl-sysdep.c: Include <unistd.h> and declare externals _dl_argc, _dl_argc, and _environ. * sysdeps/unix/sysv/linux/{accept,connect,getsockname,rename, socketpair,waitpid,bind,getpeername,listen,setsid,wait4}.S: Moved to new directory sysdeps/unix/sysv/sysv4/linux. * sysdeps/unix/sysv/linux: Directory removed. * sysdeps/unix/sysv/i386/linux/{socket.S,sysdep.h,sysdep.S}: Moved to new directory sysdeps/unix/sysv/sysv4/linux/i386. * sysdeps/unix/sysv/linux/i386: Directory removed.
* Removed gratuitous #include <hurd.h>.Roland McGrath1995-07-221-1/+0
|