aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1995-08-07* stdlib/strtol.c: Use #ifdef, not #if, for HAVE_LIMITS_H.Roland McGrath4-8/+17
* posix/glob.c (glob_in_dir): Allocate GLOB_MARK byte in case when (NFOUND == 0 && (FLAGS & GLOB_NOCHECK)).
1995-08-07Mon Aug 7 14:04:36 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath5-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.
1995-08-07Fri Aug 4 16:01:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1-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.
1995-08-04(headers): Added gnu-versions.h.Roland McGrath1-1/+2
1995-08-03(IN_CLASSD, IN_EXPERIMENTAL, IN_BADCLASS): Use equality, not assignment, to ↵Thomas Bushnell, BSG1-4/+4
test bit fields.
1995-07-30[_LIBC]: Define HAVE_LIMITS_H. [HAVE_LIMITS_H]: Include it.Jim Meyering1-1/+8
1995-07-30Sun Jul 30 01:09:08 1995 Jim Meyering (meyering@comco.com)Jim Meyering1-0/+4
* strtol.c [!defined errno]: Declare it.
1995-07-30(accept): If the protocol family can't tell us what an address means, just ↵Miles Bader3-8/+50
return a zero-length buffer instead.
1995-07-28(bind): Don't use file_invoke_translator, as it doesn't work. Instead just ↵Miles Bader1-4/+30
lookup the translated node again, and hope we're not hit by any race conditions.
1995-07-27* csu/Makefile [$(elf)=yes] (have-initfini): Set to yes.Roland McGrath7-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.
1995-07-26* stdio/vfscanf.c (conv_error): Simplify expression to avoidRoland McGrath5-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.
1995-07-26* asia, backward, europe, leapseconds, southamerica: New data fromRoland McGrath25-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.
1995-07-26Wed Jul 26 02:00:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/bind-493b24Roland McGrath3-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).
1995-07-26($(installed-libcs)): Depend on `lib' (only).Roland McGrath1-7/+3
1995-07-26Remove weird unnecessary shell construction.David MacKenzie1-2/+2
1995-07-26New file, based on NET2 code but with DES code removed.Roland McGrath1-0/+287
1995-07-25* sysdeps/mach/hurd/pathconf.c: Declare VALUE as int, not long int.Roland McGrath3-4/+7
1995-07-25* stdlib/strtol.c [_LIBC]: Define STDC_HEADERS.Roland McGrath8-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.
1995-07-25Tue Jul 25 09:14:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath2-6/+22
* stdio/vfprintf.c (vfprintf): For %s with precision spec, use memchr instead of strlen to limit search for NUL by precision.
1995-07-24Mon Jul 24 03:13:16 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath2-0/+44
* sysdeps/posix/pathconf.c: New file.
1995-07-23Sat Jul 22 20:53:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-950723cvs/libc-950722Roland McGrath3-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.
1995-07-23Use JUMPTARGET macro in jmp insn.Roland McGrath2-3/+4
1995-07-23*** empty log message ***Thomas Bushnell, BSG1-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.
1995-07-23(routines): Added `ruserpass'.Thomas Bushnell, BSG1-2/+2
1995-07-22Removed stub warning.Roland McGrath1-13/+2
1995-07-22* Makefile (autoconf-it): Make it executable and unwritable.Roland McGrath4-39/+51
* configure.in (sysnames): Under --enable-debug-configure, spew potential sysnames.
1995-07-22Sat Jul 22 01:56:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath27-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.
1995-07-22Removed gratuitous #include <hurd.h>.Roland McGrath1-1/+0
1995-07-21*** empty log message ***Thomas Bushnell, BSG3-4/+13
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.
1995-07-21(__pipe): Consider MIG_BAD_ID and EOPNOTSUPP as indications that the server ↵Thomas Bushnell, BSG1-1/+2
port has died.
1995-07-17Mon Jul 17 08:45:40 1995 Jim Meyering (meyering@comco.com)Jim Meyering1-0/+5
* strtol.c: Portability changes from Uli Drepper. [!STDC_HEADERS && !defined(NULL)]: Define NULL.
1995-07-17Portability changes from Uli Drepper. [!STDC_HEADERS && !defined(NULL)] ↵Jim Meyering1-33/+60
Define NULL.
1995-07-17(categories_write): Fix two bugs with handling string arrays. If writing a ↵Ulrich Drepper2-6/+28
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.
1995-07-17The test for the .set directive needs the global directive. Change order of ↵Ulrich Drepper1-23/+24
tests and add global directive to .set test code.
1995-07-10Mon Jul 10 05:39:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath5-40/+83
* 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).
1995-07-06(libdl.so): Pass $(LDFLAGS.so).Roland McGrath1-1/+2
1995-06-28(AIX4): More robust release numbering discovery.Richard Kenner1-5/+18
1995-06-22(mips:*:4*:UMIPS): New case.Richard Kenner1-0/+3
1995-06-22Tue Jun 20 02:18:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath6-9/+85
* 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.
1995-06-20Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/regex.cRoland McGrath1-1/+1
1995-06-15Change FSF address.Richard Kenner1-1/+2
1995-06-14Wed Jun 14 03:45:24 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath5-6/+36
* 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!!!
1995-06-14(_hurd_userlink_link): Properly set LINK->resource.next->resource.prevp when ↵Roland McGrath1-1/+1
appropriate, not LINK->resource.next->thread.prevp!!!
1995-06-14undo previous change, not needed w/ configure fixBrendan Kehoe2-8/+0
1995-06-13* configure.in (libc_cv_asm_set_directive): Make sure that theRoland McGrath3-4/+22
`.set' directive really worked by linking against a reference to the alias.
1995-06-13Tue Jun 13 15:45:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1-0/+11
* 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.
1995-06-13Don't include <hurd.h>. [PIC] (soinit): Renamed to (global) _init.Roland McGrath1-5/+5
1995-06-13 * sysdeps/unix/bsd/osf/alpha/sysdep.h (HAVE_ASM_SET_DIRECTIVE): ↵Brendan Kehoe2-0/+8
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.
1995-06-12Mon Jun 12 13:15:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath3-18/+41
* 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.
1995-06-12* elf/dl-load.c (_dl_map_object): Add MAP_INHERIT flag in mmapRoland McGrath9-24/+44
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).