platform/upstream/glibc.git
28 years ago(msort_with_tmp): Fixed alignment test. B1 and B2 are always congruent; just test...
Roland McGrath [Thu, 7 Sep 1995 21:04:57 +0000 (21:04 +0000)]
(msort_with_tmp): Fixed alignment test.  B1 and B2 are always congruent; just test that B1 is aligned.

28 years agoWed Sep 6 19:41:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Thu, 7 Sep 1995 09:00:05 +0000 (09:00 +0000)]
Wed Sep  6 19:41:10 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* elf/dl-lookup.c (_dl_lookup_symbol): Test WEAK_VALUE.s rather
than WEAK_VALUE.a to see if a weak value has been set.  A valid
weak value may set WEAK_VALUE.a to 0.

28 years ago* sysdeps/mach/hurd/i386/longjmp-ts.c: Use new array format for
Roland McGrath [Fri, 1 Sep 1995 22:26:36 +0000 (22:26 +0000)]
* sysdeps/mach/hurd/i386/longjmp-ts.c: Use new array format for

jmp_buf.

28 years agoFri Sep 1 16:16:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Fri, 1 Sep 1995 22:25:08 +0000 (22:25 +0000)]
Fri Sep  1 16:16:12 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* libc-symbols.h (link_warning): Take new first arg SYMBOL; ask
for a warning on references to that specific symbol, not the
entire containing object file.
(stub_warning): Pass symbol name to link_warning.
* stdio/gets.c: Pass function name in link_warning invocation.

* hurd/intr-msg.c: Treat apparent EINTR return from msg trap like
MACH_SEND_INTERRUPTED.  That indicates interrupt_operation was
sent, but failed.

* stdlib/msort.c: Include memcopy.h.
(msort_with_tmp): If operating on aligned op_t words, use direct word
fetches and stores.

* sysdeps/i386/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC): Add
missing backslash.

28 years agoRewrote i386 setjmp in assembly.
Roland McGrath [Thu, 31 Aug 1995 17:33:01 +0000 (17:33 +0000)]
Rewrote i386 setjmp in assembly.

Thu Aug 31 13:23:35 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* sysdeps/unix/i386/brk.S [PIC]: Set __curbrk through the GOT.

Rewrote i386 setjmp code in assembly, so as to avoid fighting
with the compiler for the register values.
* sysdeps/i386/setjmp.S, sysdeps/i386/__longjmp.S: New files.
* sysdeps/i386/setjmp.c, sysdeps/i386/__longjmp.c: Files removed.
* sysdeps/i386/jmp_buf.h [! _ASM] (__jmp_buf): Define as array of ints.
[__USE_MISC || _ASM] (JB_*): New macros, for indices therein.
(_JMPBUF_UNWINDS): Use JB_SP.

28 years agoWed Aug 30 16:44:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Thu, 31 Aug 1995 00:02:32 +0000 (00:02 +0000)]
Wed Aug 30 16:44:55 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* sysdeps/mach/hurd/select.c: Deal with out of order replies
during io_select request loop.
Handle MACH_RCV_TIMED_OUT error from requests.
* hurd/intr-msg.c: If the user passed the MACH_RCV_TIMEOUT option,
distinguish MACH_RCV_TIMED_OUT from EINTR.

* posix/glob.c (glob): Use realloc to extend strings for GLOB_MARK
slash.
(glob_in_dir): Don't allocate extra byte here.

* sysdeps/i386/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
Decrement the DT_RELSZ value for the skipped reloc.

28 years agoTue Aug 29 12:35:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Tue, 29 Aug 1995 16:41:47 +0000 (16:41 +0000)]
Tue Aug 29 12:35:56 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* time/australasia: Updated data from ADO.

Mon Aug 28 17:47:11 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* dirent/dirent.h: Don't include <dirstream.h>.
Instead, define DIR as typedef for (undefined) `struct __dirstream'.

28 years ago* sysdeps/mach/hurd/dirstream.h: Define `struct __dirstream'
Roland McGrath [Mon, 28 Aug 1995 09:00:05 +0000 (09:00 +0000)]
* sysdeps/mach/hurd/dirstream.h: Define `struct __dirstream'

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.

28 years agoFri Aug 25 12:12:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Fri, 25 Aug 1995 19:23:32 +0000 (19:23 +0000)]
Fri Aug 25 12:12:42 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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.

28 years agoTue Aug 22 16:49:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Tue, 22 Aug 1995 22:47:57 +0000 (22:47 +0000)]
Tue Aug 22 16:49:12 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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.

28 years ago(struct hurd_sigstate): New member `cancel_hook'.
Roland McGrath [Tue, 22 Aug 1995 20:53:23 +0000 (20:53 +0000)]
(struct hurd_sigstate): New member `cancel_hook'.

28 years agoUpdated from ../gpl2lgpl.sed /home/gd/gnu/lib/regex.c
Miles Bader [Tue, 22 Aug 1995 20:52:58 +0000 (20:52 +0000)]
Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/regex.c

28 years agoRemoved dep on hurd/signal.h for RPC stub objects.
Roland McGrath [Tue, 22 Aug 1995 20:48:46 +0000 (20:48 +0000)]
Removed dep on hurd/signal.h for RPC stub objects.

28 years ago* sysdeps/mach/hurd/Makefile: Don't elide sunrpc and manual from
Roland McGrath [Mon, 21 Aug 1995 09:00:05 +0000 (09:00 +0000)]
* sysdeps/mach/hurd/Makefile: Don't elide sunrpc and manual from

  `subdirs' variable.

28 years agoThu Aug 17 16:18:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Thu, 17 Aug 1995 22:55:22 +0000 (22:55 +0000)]
Thu Aug 17 16:18:38 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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.

28 years agoWed Aug 16 17:04:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Thu, 17 Aug 1995 09:00:05 +0000 (09:00 +0000)]
Wed Aug 16 17:04:26 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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.

28 years ago(sig): Add intr-msg.
Roland McGrath [Tue, 15 Aug 1995 16:25:22 +0000 (16:25 +0000)]
(sig): Add intr-msg.

28 years agoChanges for Linux and LynxOS.
Per Bothner [Tue, 15 Aug 1995 02:33:42 +0000 (02:33 +0000)]
Changes for Linux and LynxOS.

28 years ago(kill_pid): Don't make `inline'.
Roland McGrath [Mon, 14 Aug 1995 23:32:44 +0000 (23:32 +0000)]
(kill_pid): Don't make `inline'.

28 years agoMon Aug 14 16:51:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Mon, 14 Aug 1995 22:49:23 +0000 (22:49 +0000)]
Mon Aug 14 16:51:13 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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.

28 years agoRegenerated
Roland McGrath [Thu, 10 Aug 1995 23:29:25 +0000 (23:29 +0000)]
Regenerated

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)).

28 years agoWed Aug 9 14:25:35 1995 Miles Bader <miles@geech.gnu.ai.mit.edu>
Roland McGrath [Thu, 10 Aug 1995 09:00:07 +0000 (09:00 +0000)]
Wed Aug  9 14:25:35 1995  Miles Bader  <miles@geech.gnu.ai.mit.edu>

* 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.

28 years ago(__setuid): Switch the port-type and port-count parameters to __auth_makeauth.
Miles Bader [Wed, 9 Aug 1995 18:31:09 +0000 (18:31 +0000)]
(__setuid): Switch the port-type and port-count parameters to __auth_makeauth.

28 years ago(__setgid): Switch the port-type and port-count parameters to __auth_makeauth.
Miles Bader [Wed, 9 Aug 1995 18:28:56 +0000 (18:28 +0000)]
(__setgid): Switch the port-type and port-count parameters to __auth_makeauth.

28 years agoRemove _hurd_longjmp_thread_state decl.
Roland McGrath [Tue, 8 Aug 1995 22:18:35 +0000 (22:18 +0000)]
Remove _hurd_longjmp_thread_state decl.

28 years agoReorder new multicast options to conform to BSD. (struct ip_mreq): New type.
Thomas Bushnell, BSG [Tue, 8 Aug 1995 16:29:15 +0000 (16:29 +0000)]
Reorder new multicast options to conform to BSD. (struct ip_mreq): New type.

28 years agoNew file, incorporated from 4.4BSD-Lite.
Roland McGrath [Tue, 8 Aug 1995 16:22:38 +0000 (16:22 +0000)]
New file, incorporated from 4.4BSD-Lite.

28 years ago(IP_MULTICAST_TTL, IP_MULTICAST_LOOP, IP_MULTICAST_IP, IP_ADD_MEMBERSHIP, IP_DROP_MEM...
Thomas Bushnell, BSG [Tue, 8 Aug 1995 16:14:02 +0000 (16:14 +0000)]
(IP_MULTICAST_TTL, IP_MULTICAST_LOOP, IP_MULTICAST_IP, IP_ADD_MEMBERSHIP, IP_DROP_MEMBERSHIP): New IP layer socket options.

28 years ago(IPPROTO_GGP): Drop obsolete protocol. (IPPROTO_IGMP): Add new protocol (with same...
Thomas Bushnell, BSG [Tue, 8 Aug 1995 16:05:07 +0000 (16:05 +0000)]
(IPPROTO_GGP): Drop obsolete protocol. (IPPROTO_IGMP): Add new protocol (with same value [2] as old GGP).

28 years ago* stdlib/strtol.c: Use #ifdef, not #if, for HAVE_LIMITS_H.
Roland McGrath [Mon, 7 Aug 1995 21:45:04 +0000 (21:45 +0000)]
* stdlib/strtol.c: Use #ifdef, not #if, for HAVE_LIMITS_H.

* posix/glob.c (glob_in_dir): Allocate GLOB_MARK byte in case when
  (NFOUND == 0 && (FLAGS & GLOB_NOCHECK)).

28 years agoMon Aug 7 14:04:36 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Mon, 7 Aug 1995 18:24:47 +0000 (18:24 +0000)]
Mon Aug  7 14:04:36 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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.

28 years agoFri Aug 4 16:01:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Mon, 7 Aug 1995 09:00:07 +0000 (09:00 +0000)]
Fri Aug  4 16:01:59 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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.

28 years ago(headers): Added gnu-versions.h.
Roland McGrath [Fri, 4 Aug 1995 20:01:33 +0000 (20:01 +0000)]
(headers): Added gnu-versions.h.

28 years ago(IN_CLASSD, IN_EXPERIMENTAL, IN_BADCLASS): Use equality, not assignment, to test...
Thomas Bushnell, BSG [Thu, 3 Aug 1995 18:40:32 +0000 (18:40 +0000)]
(IN_CLASSD, IN_EXPERIMENTAL, IN_BADCLASS): Use equality, not assignment, to test bit fields.

28 years ago[_LIBC]: Define HAVE_LIMITS_H. [HAVE_LIMITS_H]: Include it.
Jim Meyering [Sun, 30 Jul 1995 18:48:43 +0000 (18:48 +0000)]
[_LIBC]: Define HAVE_LIMITS_H. [HAVE_LIMITS_H]: Include it.

28 years agoSun Jul 30 01:09:08 1995 Jim Meyering (meyering@comco.com)
Jim Meyering [Sun, 30 Jul 1995 06:09:50 +0000 (06:09 +0000)]
Sun Jul 30 01:09:08 1995  Jim Meyering  (meyering@comco.com)

* strtol.c [!defined errno]: Declare it.

28 years ago(accept): If the protocol family can't tell us what an address means, just return...
Miles Bader [Sun, 30 Jul 1995 00:37:36 +0000 (00:37 +0000)]
(accept): If the protocol family can't tell us what an address means, just   return a zero-length buffer instead.

28 years ago(bind): Don't use file_invoke_translator, as it doesn't work. Instead just lookup...
Miles Bader [Fri, 28 Jul 1995 22:25:57 +0000 (22:25 +0000)]
(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.

28 years ago* csu/Makefile [$(elf)=yes] (have-initfini): Set to yes.
Roland McGrath [Thu, 27 Jul 1995 09:00:07 +0000 (09:00 +0000)]
* csu/Makefile [$(elf)=yes] (have-initfini): Set to yes.

[$(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.

28 years ago* stdio/vfscanf.c (conv_error): Simplify expression to avoid
Roland McGrath [Wed, 26 Jul 1995 14:04:19 +0000 (14:04 +0000)]
* stdio/vfscanf.c (conv_error): Simplify expression to avoid

  "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.

28 years ago* asia, backward, europe, leapseconds, southamerica: New data from
Roland McGrath [Wed, 26 Jul 1995 10:14:02 +0000 (10:14 +0000)]
* asia, backward, europe, leapseconds, southamerica: New data from

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.

28 years agoWed Jul 26 02:00:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> cvs/bind-493b24
Roland McGrath [Wed, 26 Jul 1995 07:10:58 +0000 (07:10 +0000)]
Wed Jul 26 02:00:29 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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).

28 years ago($(installed-libcs)): Depend on `lib' (only).
Roland McGrath [Wed, 26 Jul 1995 06:00:04 +0000 (06:00 +0000)]
($(installed-libcs)): Depend on `lib' (only).

28 years agoRemove weird unnecessary shell construction.
David MacKenzie [Wed, 26 Jul 1995 04:26:23 +0000 (04:26 +0000)]
Remove weird unnecessary shell construction.

28 years agoNew file, based on NET2 code but with DES code removed.
Roland McGrath [Wed, 26 Jul 1995 00:13:55 +0000 (00:13 +0000)]
New file, based on NET2 code but with DES code removed.

28 years ago* sysdeps/mach/hurd/pathconf.c: Declare VALUE as int, not long int.
Roland McGrath [Tue, 25 Jul 1995 20:44:48 +0000 (20:44 +0000)]
* sysdeps/mach/hurd/pathconf.c: Declare VALUE as int, not long int.

28 years ago* stdlib/strtol.c [_LIBC]: Define STDC_HEADERS.
Roland McGrath [Tue, 25 Jul 1995 18:36:31 +0000 (18:36 +0000)]
* stdlib/strtol.c [_LIBC]: Define STDC_HEADERS.

* 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.

28 years agoTue Jul 25 09:14:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Tue, 25 Jul 1995 14:47:53 +0000 (14:47 +0000)]
Tue Jul 25 09:14:53 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* stdio/vfprintf.c (vfprintf): For %s with precision spec, use
  memchr instead of strlen to limit search for NUL by precision.

28 years agoMon Jul 24 03:13:16 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Mon, 24 Jul 1995 07:14:51 +0000 (07:14 +0000)]
Mon Jul 24 03:13:16 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* sysdeps/posix/pathconf.c: New file.

28 years agoSat Jul 22 20:53:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> cvs/libc-950722 cvs/libc-950723
Roland McGrath [Sun, 23 Jul 1995 00:58:43 +0000 (00:58 +0000)]
Sat Jul 22 20:53:18 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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.

28 years agoUse JUMPTARGET macro in jmp insn.
Roland McGrath [Sun, 23 Jul 1995 00:53:42 +0000 (00:53 +0000)]
Use JUMPTARGET macro in jmp insn.

28 years ago*** empty log message ***
Thomas Bushnell, BSG [Sun, 23 Jul 1995 00:41:45 +0000 (00:41 +0000)]
*** empty log message ***

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.

28 years ago(routines): Added `ruserpass'.
Thomas Bushnell, BSG [Sun, 23 Jul 1995 00:17:54 +0000 (00:17 +0000)]
(routines): Added `ruserpass'.

28 years agoRemoved stub warning.
Roland McGrath [Sat, 22 Jul 1995 11:17:58 +0000 (11:17 +0000)]
Removed stub warning.

28 years ago* Makefile (autoconf-it): Make it executable and unwritable.
Roland McGrath [Sat, 22 Jul 1995 10:55:44 +0000 (10:55 +0000)]
* Makefile (autoconf-it): Make it executable and unwritable.

* configure.in (sysnames): Under --enable-debug-configure, spew
  potential sysnames.

28 years agoSat Jul 22 01:56:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Sat, 22 Jul 1995 10:48:43 +0000 (10:48 +0000)]
Sat Jul 22 01:56:03 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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.

28 years agoRemoved gratuitous #include <hurd.h>.
Roland McGrath [Sat, 22 Jul 1995 05:16:58 +0000 (05:16 +0000)]
Removed gratuitous #include <hurd.h>.

28 years ago*** empty log message ***
Thomas Bushnell, BSG [Fri, 21 Jul 1995 17:03:01 +0000 (17:03 +0000)]
*** empty log message ***

Fri Jul 21 12:57:29 1995  Michael I Bushnell  <mib@geech.gnu.ai.mit.edu>

* sysdeps/mach/hurd/socket.c (socket): Consider MIG_BAD_ID and
  EOPNOTSUPP as indications that the server has died.
* sysdeps/mach/hurd/pipe.c (__pipe): Likewise.
* sysdeps/mach/hurd/socketpair.c (socketpair): Likewise.

28 years ago(__pipe): Consider MIG_BAD_ID and EOPNOTSUPP as indications that the server port...
Thomas Bushnell, BSG [Fri, 21 Jul 1995 16:54:30 +0000 (16:54 +0000)]
(__pipe): Consider MIG_BAD_ID and EOPNOTSUPP as indications that the server port has died.

29 years agoMon Jul 17 08:45:40 1995 Jim Meyering (meyering@comco.com)
Jim Meyering [Mon, 17 Jul 1995 13:46:42 +0000 (13:46 +0000)]
Mon Jul 17 08:45:40 1995  Jim Meyering  (meyering@comco.com)

* strtol.c: Portability changes from Uli Drepper.
[!STDC_HEADERS && !defined(NULL)]: Define NULL.

29 years agoPortability changes from Uli Drepper. [!STDC_HEADERS && !defined(NULL)] Define NULL.
Jim Meyering [Mon, 17 Jul 1995 13:34:12 +0000 (13:34 +0000)]
Portability changes from Uli Drepper. [!STDC_HEADERS && !defined(NULL)] Define NULL.

29 years ago(categories_write): Fix two bugs with handling string arrays. If writing a locale...
Ulrich Drepper [Mon, 17 Jul 1995 13:16:15 +0000 (13:16 +0000)]
(categories_write): Fix two bugs with handling string arrays. If writing a locale file fails, test whether it is an directory. In this case create LC_xxx/SYS_LC_xxx instead of LC_xxx.  This is what the C Library functions to while loading.

29 years agoThe test for the .set directive needs the global directive. Change order of tests...
Ulrich Drepper [Mon, 17 Jul 1995 12:43:55 +0000 (12:43 +0000)]
The test for the .set directive needs the global directive.  Change order of tests and add global directive to .set test code.

29 years agoMon Jul 10 05:39:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Mon, 10 Jul 1995 09:40:15 +0000 (09:40 +0000)]
Mon Jul 10 05:39:21 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* sysdeps/mach/hurd/i386/init-first.c (init): Take just one arg,
  DATA for the entry SP; DATA[-1] is always the return address
  location.  In both cthreads and non-cthreads cases, use asm to
  force parameters into %eax and %ecx before return, and mutate
  DATA[-1] to return to specific asm code to set up the user from
  %eax and %ecx.
[PIC] (_init): Caller changed.
(__libc_init_first) [! PIC] (doinit): Use asm to effect call to init
with SP unwound to argument data ptr.

Thu Jul  6 14:28:56 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* sysdeps/mach/hurd/dl-sysdep.c (fmh): Fixed this kludge to work
  when 0x08000000 and up are not mapped.

* Makerules (stamp$o-$(subdir) rule): Remove the timestamp file
  before touching it.
(lib%.so): Use -Wl to get -soname to ld.

* elf/dlsym.c: Pass final arg to _dl_lookup_symbol.

* elf/Makefile (libdl.so): Pass $(LDFLAGS.so).

29 years ago(libdl.so): Pass $(LDFLAGS.so).
Roland McGrath [Thu, 6 Jul 1995 18:28:32 +0000 (18:28 +0000)]
(libdl.so): Pass $(LDFLAGS.so).

29 years ago(AIX4): More robust release numbering discovery.
Richard Kenner [Wed, 28 Jun 1995 21:57:23 +0000 (21:57 +0000)]
(AIX4): More robust release numbering discovery.

29 years ago(mips:*:4*:UMIPS): New case.
Richard Kenner [Thu, 22 Jun 1995 22:36:39 +0000 (22:36 +0000)]
(mips:*:4*:UMIPS): New case.

29 years agoTue Jun 20 02:18:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Thu, 22 Jun 1995 09:00:11 +0000 (09:00 +0000)]
Tue Jun 20 02:18:19 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* Makerules (lib%.so: lib%_pic.a): Pass -soname switch giving the
  library's name including $(libprefix) and major version number.

* locale/locale-ctype.c (allocate_arrays): Use xmalloc and bzero
  in place of xcalloc.

* Makeconfig (prefix, exec_prefix, libprefix): Instead of
  `ifndef', use the $(origin) function to only set these if they are
  undefined, and not if they are defined to empty.

* gnu-versions.h: New file.
* features.h (__GNU_LIBRARY__): Increase value to 5.

29 years agoUpdated from ../gpl2lgpl.sed /home/gd/gnu/lib/regex.c
Roland McGrath [Tue, 20 Jun 1995 05:29:05 +0000 (05:29 +0000)]
Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/regex.c

29 years agoChange FSF address.
Richard Kenner [Thu, 15 Jun 1995 21:01:51 +0000 (21:01 +0000)]
Change FSF address.

29 years agoWed Jun 14 03:45:24 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Wed, 14 Jun 1995 17:15:57 +0000 (17:15 +0000)]
Wed Jun 14 03:45:24 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* stdio/stdio.h (__validfp): Use ({...}) rather than a comma
  expression, to avoid gcc's "value computed is not used" warning.

* libc-symbols.h (_elf_set_element): Give the set-element variable
  an `unused' attribute.

* hurd/hurd/threadvar.h (__hurd_threadvar_location): Declare with
  __attribute__ ((__const__)).
* hurd/hurd/signal.h (_hurd_self_sigstate): Likewise.

* hurd/hurd/userlink.h (_hurd_userlink_link): Properly set
  LINK->resource.next->resource.prevp when appropriate, not
  LINK->resource.next->thread.prevp!!!

29 years ago(_hurd_userlink_link): Properly set LINK->resource.next->resource.prevp when appropri...
Roland McGrath [Wed, 14 Jun 1995 07:44:21 +0000 (07:44 +0000)]
(_hurd_userlink_link): Properly set LINK->resource.next->resource.prevp when appropriate, not LINK->resource.next->thread.prevp!!!

29 years agoundo previous change, not needed w/ configure fix
Brendan Kehoe [Wed, 14 Jun 1995 00:15:10 +0000 (00:15 +0000)]
undo previous change, not needed w/ configure fix

29 years ago* configure.in (libc_cv_asm_set_directive): Make sure that the
Roland McGrath [Tue, 13 Jun 1995 22:16:50 +0000 (22:16 +0000)]
* configure.in (libc_cv_asm_set_directive): Make sure that the

  `.set' directive really worked by linking against a reference to
  the alias.

29 years agoTue Jun 13 15:45:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Tue, 13 Jun 1995 19:57:34 +0000 (19:57 +0000)]
Tue Jun 13 15:45:10 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* sysdeps/stub/init-first.c: Don't include <hurd.h>.
[PIC] (soinit): Renamed to (global) _init.

* malloc/Makefile (gmalloc-routines): Remove valloc.
(dist-routines): Add it here.

* malloc/malloc.h [_MALLOC_INTERNAL] [emacs] (valloc): #define to
  emacs_loser_valloc to inhibit valloc declaration below.

29 years agoDon't include <hurd.h>. [PIC] (soinit): Renamed to (global) _init.
Roland McGrath [Tue, 13 Jun 1995 19:43:57 +0000 (19:43 +0000)]
Don't include <hurd.h>. [PIC] (soinit): Renamed to (global) _init.

29 years ago * sysdeps/unix/bsd/osf/alpha/sysdep.h (HAVE_ASM_SET_DIRECTIVE): Put...
Brendan Kehoe [Tue, 13 Jun 1995 19:35:18 +0000 (19:35 +0000)]
    * sysdeps/unix/bsd/osf/alpha/sysdep.h (HAVE_ASM_SET_DIRECTIVE):         Put in #undef.

Tue Jun 13 12:13:18 1995  Brendan Kehoe  (brendan@zen.org)

* sysdeps/unix/bsd/osf/alpha/sysdep.h (HAVE_ASM_SET_DIRECTIVE):
Put in #undef.

29 years agoMon Jun 12 13:15:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Mon, 12 Jun 1995 18:26:02 +0000 (18:26 +0000)]
Mon Jun 12 13:15:45 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* Makerules (lib%.so: lib%_pic.a): Moved this rule to after
  installation rules.

* sysdeps/mach/sysdep.h [HAVE_ELF] (ENTRY): Redefine this macro so
  it uses the `.type' directive, which is necessary for shared
  libraries to work properly.

29 years ago* elf/dl-load.c (_dl_map_object): Add MAP_INHERIT flag in mmap
Roland McGrath [Mon, 12 Jun 1995 09:00:13 +0000 (09:00 +0000)]
* elf/dl-load.c (_dl_map_object): Add MAP_INHERIT flag in mmap

  from zero fill.

* elf/dl-lookup.c (_dl_lookup_symbol): Take new flag arg NOSELF;
  if nonzero, don't let *REF satisfy the reference itself.
* elf/link.h (_dl_lookup_symbol): Add new arg NOSELF in decl.
* sysdeps/i386/dl-runtime.c (_dl_runtime_resolve): Pass new arg to
  _dl_lookup_symbol.
* elf/do-rel.h (elf_dynamic_do_rel): Pass new second arg of
  R->r_offset to RESOLVE callback.
* elf/dl-reloc.c (_dl_relocate_object: resolve): Don't let *REF
  satisfy the reference itself if its value equals the reloc's
  offset.

* elf/rtld.c (dl_main): Write a newline in fatal msg.

* Makerules (lib%.so: lib%_pic.a): Pass $(LDFLAGS.so).

29 years agoThu Jun 8 02:50:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Thu, 8 Jun 1995 09:00:23 +0000 (09:00 +0000)]
Thu Jun  8 02:50:26 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* elf/rtld.c [! NDEBUG] (__assert_perror_fail): New function.

* hurd/hurdstartup.c (_hurd_startup): Fancier kludge to guess phdr
  and user entry point addresses.

* elf/dl-load.c (open_path): Don't do strlen on DIRPATH if it's null.
(_dl_map_object): DT_RPATH value is relative to DT_STRTAB value.

* Makerules (install-lib.so): Don't include libc.so.
[$(build-shared)=yes] (install): Depend on the installed libc.so file.
[$(build-shared)=yes] (install-no-libc.a): Make this, rather than
install, depend on the installed $(install-lib.so) files.
[$(build-shared)=yes] (install-lib.so): Append libc.so after that rule.

* sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Add kludge to
  allocate high addresses to avoid random mappings appearing there.
(mmap): Comment out mask; always pass zero.

Tue Jun  6 13:34:53 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* sysdeps/i386/dl-machine.h (ELF_MACHINE_USER_ADDRESS_MASK): New macro.
* sysdeps/mach/hurd/dl-sysdep.c (mmap): Use it as mask in vm_map call.

* elf/dl-error.c (_dl_catch_error): Clear *ERRSTRING and *OBJNAME
  when successful.

* sysdeps/mach/hurd/dl-sysdep.c (threadvars): New static variable.
(__hurd_threadvar_max, __hurd_threadvar_stack_offset): Define these
variables, using the `threadvars' buffer.

* elf/dl-reloc.c: Don't dereference L->l_prev when it's null.
* sysdeps/i386/dl-runtime.c: Likewise.

* elf/rtld.c (dl_main): Add missing NULL terminating argument in
  _dl_sysdep_fatal call.
(__assert_fail): Likewise.

* locale/Makefile (localedef-modules): Renamed ctype to
  locale-ctype so as not to conflict with the object file for
  ctype/ctype.c in the build directory.

* sysdeps/i386/dl-machine.h (elf_machine_rel): If MAP->l_type is
  lt_interpreter, first undo relocation done during bootstrapping.

29 years agoMon Jun 5 04:02:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Mon, 5 Jun 1995 09:00:14 +0000 (09:00 +0000)]
Mon Jun  5 04:02:26 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* elf/elf.h (ELFMAG): Use \177 instead of \x7f.  It seems GCC
  insists on seeing the following E as part of hex 7FE, and
  complaining that is wider than a byte.

29 years agoSun Jun 4 22:14:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Mon, 5 Jun 1995 03:04:45 +0000 (03:04 +0000)]
Sun Jun  4 22:14:11 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* hurd/Makefile (sig): Added thread-self.
* hurd/hurd.h: Declare hurd_thread_self.
* hurd/thread-self.c: New file.

Thu Jun  1 12:17:52 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* elf/rtld.c: Initialize RTLD_MAP.l_type.
* elf/dl-reloc.c (_dl_relocate_object): Clear LAZY if relocating
  the dynamic linker itself.

29 years agoTue May 30 15:52:32 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Wed, 31 May 1995 13:23:14 +0000 (13:23 +0000)]
Tue May 30 15:52:32 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* mach/Makefile (server-interfaces): Removed notify and
  device_reply.  For shlibs with eager binding, libmachuser.so must
  not refer to any functions not defined in libc.

29 years ago(server-interfaces): Removed notify and device_reply. For shlibs with eager binding...
Roland McGrath [Tue, 30 May 1995 19:52:01 +0000 (19:52 +0000)]
(server-interfaces): Removed notify and device_reply.  For shlibs with eager binding, libmachuser.so must not refer to any functions not defined in libc.

29 years ago(21064:Windows_NT:50:3): New case.
Richard Kenner [Sun, 28 May 1995 22:53:22 +0000 (22:53 +0000)]
(21064:Windows_NT:50:3): New case.

29 years agoSat May 27 16:23:22 1995 Jim Meyering (meyering@comco.com)
Jim Meyering [Sat, 27 May 1995 20:25:22 +0000 (20:25 +0000)]
Sat May 27 16:23:22 1995  Jim Meyering  (meyering@comco.com)

* sysdeps/generic/memchr.c: Cast RHS to const unsigned char *
to avoid error from Irix-4.0.5's C compiler.  From Kaveh Ghazi.

29 years agoCast RHS to const unsigned char * to avoid error from Irix-4.0.5's C compiler.
Jim Meyering [Sat, 27 May 1995 20:22:12 +0000 (20:22 +0000)]
Cast RHS to const unsigned char * to avoid error from Irix-4.0.5's C compiler.

29 years agoFri May 26 13:00:08 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Sat, 27 May 1995 07:18:52 +0000 (07:18 +0000)]
Fri May 26 13:00:08 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* hurd/hurdsig.c (_hurd_internal_post_signal): Don't loop to check
  pending signals if the thread is in a critical section.  It will
  send us a msg when it finishes.

* sysdeps/mach/hurd/pathconf.c: New file.
* sysdeps/mach/hurd/fpathconf.c: New file.

* sysdeps/mach/hurd/sigaction.c: Only notify the proc server for
  SIGCHLD when the SA_NOCLDSTOP bit actually changes.

29 years agoOnly notify the proc server for SIGCHLD when the SA_NOCLDSTOP bit actually changes.
Roland McGrath [Fri, 26 May 1995 16:59:33 +0000 (16:59 +0000)]
Only notify the proc server for SIGCHLD when the SA_NOCLDSTOP bit actually changes.

29 years agoRemove trailing white space.
Jim Meyering [Fri, 26 May 1995 15:06:26 +0000 (15:06 +0000)]
Remove trailing white space.

29 years agoSun May 21 05:05:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Thu, 25 May 1995 09:00:08 +0000 (09:00 +0000)]
Sun May 21 05:05:37 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* elf/Makefile (ld.so): Use -nostartfiles in addition to
  -nostdlib.

29 years agoUpdated from ../gpl2lgpl.sed /home/gd/gnu/lib/regex.c
Roland McGrath [Mon, 22 May 1995 17:32:12 +0000 (17:32 +0000)]
Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/regex.c

29 years ago[LIBC_]: Do include string.h.
Jim Meyering [Sun, 21 May 1995 13:16:49 +0000 (13:16 +0000)]
[LIBC_]: Do include string.h.

29 years ago(ld.so): Use -nostartfiles in addition to -nostdlib.
Roland McGrath [Sun, 21 May 1995 09:04:55 +0000 (09:04 +0000)]
(ld.so): Use -nostartfiles in addition to -nostdlib.

29 years agoSun May 21 02:01:29 1995 Jim Meyering (meyering@comco.com)
Jim Meyering [Sun, 21 May 1995 06:08:30 +0000 (06:08 +0000)]
Sun May 21 02:01:29 1995  Jim Meyering  (meyering@comco.com)

* sysdeps/generic/memchr.c: Don't include <string.h> at all.
HPUX-9.01 and IRIX-4.0.5 vendor C compilers get conflicting dcls for
memchr unless one manually arranges for them to define __STDC__.

29 years agoDon't include <string.h> at all. HPUX-9.01 and IRIX-4.0.5 vendor C compilers get...
Jim Meyering [Sun, 21 May 1995 06:03:25 +0000 (06:03 +0000)]
Don't include <string.h> at all. HPUX-9.01 and IRIX-4.0.5 vendor C compilers get conflicting dcls for memchr unless one manually arranges for them to define __STDC__.

29 years agoFri May 19 17:16:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Sat, 20 May 1995 00:13:43 +0000 (00:13 +0000)]
Fri May 19 17:16:46 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* sysdeps/mach/hurd/i386/init-first.c: In cthreads case, handle
  args on stack from kernel.

* posix/Makefile, sysdeps/alpha/Makefile,
* sysdeps/mach/hurd/Makefile, sysdeps/sparc/Makefile, Makefile,
* Makerules, Make-dist: Fix "cvs commit" cmds in rules to not fail
in the absence of CVS dirs.

* hurd/hurdstartup.c: Don't call __mach_init.  Grok args from the
  kernel on the stack properly.

* set-init.c: Never call _init/_fini; just run __libc_subinit.

* Makerules (LDFLAGS-c.so): Add -nostartfiles.
* mach/Machrules (LDFLAGS-$(interface.so)): Likewise.

* configure.in: Move defaulting of --with-elf and --with-gnu-*
  based on host os outside the AC_CACHE_VAL for the sysdirs
  calculation.

* Makeconfig (localedir, nlsdir): New variables.

* values.h: New file.
* Makefile (headers): Add values.h.

* locale/Makefile (distribute): Add error.h.
* locale/localedef.c: Include "error.h".
(main): Use error_message_count instead of warning_cntr.

29 years agoWed May 17 16:50:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Thu, 18 May 1995 09:00:09 +0000 (09:00 +0000)]
Wed May 17 16:50:21 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

Merged 1003.2 locale and localedef programs by Ulrich Drepper.
* locale/charmap.c: New file.
* locale/collate.c: New file.
* locale/config.h: New file.
* locale/ctype.c: New file.
* locale/ctypedump.c: New file.
* locale/hash.c: New file.
* locale/hash.h: New file.
* locale/iso-4217.def: New file.
* locale/keyword.gperf: New file.
* locale/keyword.h: New file.
* locale/libintl.h: New file.
* locale/locale.c: New file.
* locale/localedef.c: New file.
* locale/localedef.h: New file.
* locale/locfile-lex.c: New file.
* locale/locfile-parse.c: New file.
* locale/messages.c: New file.
* locale/monetary.c: New file.
* locale/numeric.c: New file.
* locale/token.h: New file.

* posix/regex.c, posix/regex.h: New files, incorporated from GNU regex.
* posix/Makefile (headers): Add regex.h.
(routines): Add regex.
(gpl2lgpl): Add regex.c and regex.h.

Tue May 16 17:35:07 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* locale/loadlocale.c: Expect macro LOCALE_PATH to be defined,
  instead of hard-coding "/share/locale".

29 years agoRegenerated: autoconf configure.in
Roland McGrath [Tue, 16 May 1995 07:11:17 +0000 (07:11 +0000)]
Regenerated: autoconf  configure.in

29 years ago* config.guess: Recognize Cray90 (from Pete TerMaat).
Per Bothner [Mon, 15 May 1995 21:49:34 +0000 (21:49 +0000)]
* config.guess:  Recognize Cray90 (from Pete TerMaat).