about summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper1999-07-292-73/+83
| | | | | | | | | | | | * sysdeps/generic/setenv.c: Move setenv code in new function __add_to_environ. Add new parameter specifying already constructed string for the environment. (setenv): Call __add_to_environ with new parameter set to NULL. (unsetenv): Really test all elements for duplicated name. Missed those cases where the two are following each other. * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv. * include/stdlib.h: Add prototype of __add_to_environ. * stdlib/tst-environ.c: New file.
* Update.Ulrich Drepper1999-07-291-1/+1
| | | | * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
* 1999-07-27 Mark Kettenis <kettenis@gnu.org>Roland McGrath1999-07-282-42/+49
| | | | | | | | | * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline assembler code to switch stacks and call init1 outside this function. Inside `init' the code was optimized away by gcc 2.95 since it was "clearly" unreachable. * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Do something similar for the trampoline code.
* Update.Ulrich Drepper1999-07-281-25/+30
| | | | | | | | | 1999-07-27 Ulrich Drepper <drepper@cygnus.com> * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information for the hinted protocol. * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
* Update.Ulrich Drepper1999-07-272-0/+17
| | | | | | | | | | | | | 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz> * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx. * elf/dl-lookup.c (_dl_setup_hash): Likewise. * elf/dl-load.c (_dl_map_object): Likewise. * elf/do-lookup.h (do_lookup*): Likewise. * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t. * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_symndx as uint64_t. * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
* Update.Ulrich Drepper1999-07-274-12/+11
| | | | | | | | * sysdeps/unix/sysv/sysv4/setsid.c: Correct types. * sysdeps/generic/getpgrp.c: Likewise. * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise. * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise. Patch by John Tobey <jtobey@banta-im.com>.
* Update.Ulrich Drepper1999-07-271-5/+2
| | | | | | | 1999-07-26 Ulrich Drepper <drepper@cygnus.com> * sysdeps/posix/wait3.c: Help compiling in presence of __transparent_union__. Reported by John Tobey <jtobey@banta-im.com>.
* Update.Ulrich Drepper1999-07-2722-222/+284
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers as much as possible. Declare them using .register pseudo-op if they are still used. * sysdeps/sparc/sparc64/lshift.S: Likewise. * sysdeps/sparc/sparc64/memchr.S: Likewise. * sysdeps/sparc/sparc64/memcmp.S: Likewise. * sysdeps/sparc/sparc64/memcpy.S: Likewise. * sysdeps/sparc/sparc64/memset.S: Likewise. * sysdeps/sparc/sparc64/rawmemchr.S: Likewise. * sysdeps/sparc/sparc64/rshift.S: Likewise. * sysdeps/sparc/sparc64/stpcpy.S: Likewise. * sysdeps/sparc/sparc64/stpncpy.S: Likewise. * sysdeps/sparc/sparc64/strcat.S: Likewise. * sysdeps/sparc/sparc64/strchr.S: Likewise. * sysdeps/sparc/sparc64/strcmp.S: Likewise. * sysdeps/sparc/sparc64/strcpy.S: Likewise. * sysdeps/sparc/sparc64/strcspn.S: Likewise. * sysdeps/sparc/sparc64/strlen.S: Likewise. * sysdeps/sparc/sparc64/strncmp.S: Likewise. * sysdeps/sparc/sparc64/strncpy.S: Likewise. * sysdeps/sparc/sparc64/strpbrk.S: Likewise. * sysdeps/sparc/sparc64/strspn.S: Likewise. * sysdeps/sparc/sparc64/sub_n.S: Likewise. * sysdeps/sparc/sparc64/dl-machine.h: Likewise. Optimize trampoline code for .plt4-.plt32767. Fix trampolines for .plt32768+. 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
* Update.Ulrich Drepper1999-07-273-2/+3
| | | | | | | | | | | | | | | | 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz> * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use -mcpu=v8. * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise. * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for libc's private use (as assembly routine clobber it anyway). 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de> * README.template (configurations): The crypt add-on has a new ftp site. * manual/install.texi (Installation): Likewise.
* Update.Ulrich Drepper1999-07-2715-1/+975
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-07-26 Ulrich Drepper <drepper@cygnus.com> * sysdeps/generic/clock_getres.c: New file. * sysdeps/generic/clock_gettime.c: New file. * sysdeps/generic/clock_settime.c: New file. * sysdeps/generic/timer_create.c: New file. * sysdeps/generic/timer_delete.c: New file. * sysdeps/generic/timer_getoverr.c: New file. * sysdeps/generic/timer_gettime.c: New file. * sysdeps/generic/timer_settime.c: New file. * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t, CLOCK_REALTIME, and TIMER_ABSTIME. * sysdeps/mach/hurd/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS. * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and si_timer2. * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls. * time/Makefile (routines): Add clock_getres, clock_gettime, clock_setres, timer_create, timer_delete, timer_getoverr, timer_gettime, and timer_settime. * time/time.h: Define clockid_t, timer_t, and struct itimerspec for POSIX.1b. Add prototypes for clock and timer functions.
* Stub implementation of clock_getres.Ulrich Drepper1999-07-271-0/+30
|
* Always define __qaddr_t. __ino64_t should be 32bit unsigned type on sparc32. ↵Ulrich Drepper1999-07-261-5/+5
| | | | Define __off64_t to __quad_t instead of __int64_t. Make __pic_pid_t unsigned on sparc32.
* * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.Andreas Schwab1999-07-261-0/+14
|
* Update.Ulrich Drepper1999-07-254-122/+159
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * string/bits/string2.h: Fix aliasing problems. * sysdeps/i386/i486/bits/string.h: Likewise. * sysdeps/i386/bits/string.h: Likewise. 1998-12-28 Geoff Keating <geoffk@ozemail.com.au> * sysdeps/powerpc/dl-machine.c: Handle shared library profiling. * elf/rtld.c (dl_main): Don't call malloc() between re-relocating the dynamic linker and running the application's crt0. 1999-07-21 Paul D. Smith <psmith@gnu.org> * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below glob.h to get __P() macro. * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax, not ANSI. (__strchrnul): This won't exist outside GLIBC, so create one. 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz> * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t. __ino64_t should be 32bit unsigned type on sparc32. Define __off64_t to __quad_t instead of __int64_t. Make __pic_pid_t unsigned on sparc32. 1999-07-25 Andreas Jaeger <aj@arthur.rhein-neckar.de> * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug in bash 2.03. 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
* Update.Ulrich Drepper1999-07-241-0/+12
| | | | | | | | | * elf/Makefile (dl-routines): Add preinit. * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next. * elf/link.h (struct link_map): Add new field l_preinitcount. * elf/dl-preinit.c: New file. * elf/dynamic-link.h: Initialize l_preinitcount. * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
* (OLCUC): use 1<<9, since that's what hurd is already usingRoland McGrath1999-07-241-1/+1
|
* 1999-07-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-241-3/+9
| | | | | | | * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to match BSD value; previous value of 1<<8 was a typo. I bet nothing ever used this, so I'm not going to worry about compatibility. [__USE_GNU] (IUCLC, OLCUC): New macros.
* 1999-07-21 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-2111-43/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | * elf/dl-reloc.c (_dl_reloc_bad_type): New function. * elf/ldsodefs.h: Declare it. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it instead of assert. (elf_machine_lazy_rel): Likewise. Take new arg MAP. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise. * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise. * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use _dl_reloc_bad_type instead of _dl_signal_error. * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
* 1999-07-20 Mark Kettenis <kettenis@gnu.org>Roland McGrath1999-07-211-0/+1
| | | | * sysdeps/mach/_strerror.c: Include <libintl.h>.
* 1999-07-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-202-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * elf/dl-reloc.c (_dl_reloc_bad_type): New function. * elf/ldsodefs.h: Declare it. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it instead of assert. (elf_machine_lazy_rel): Likewise. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise. * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise. * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise. * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. (elf_machine_lazy_rel): Likewise. 1999-07-21 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and <hurd/fd.h>. * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and <hurd/fd.h>. (__libc_write): Call __pwrite instead of __pread.
* * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>. Fix typo.Roland McGrath1999-07-202-1/+3
| | | | * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
* 1999-07-20 Mark Kettenis <kettenis@gnu.org>Roland McGrath1999-07-202-4/+5
| | | | | | | | | | | | | | | | | * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in __vm_allocate calls. 1999-07-20 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call _hurd_fd_read with new OFFSET argument set to -1. (__stdio_write): Call _hurd_fd_write with new OFFSET argument set to -1. 1999-07-17 Roland McGrath <roland@baalperazim.frob.com> * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the descriptor table sent in the RPC.
* 1999-07-19 Andreas Schwab <schwab@suse.de>Andreas Schwab1999-07-208-2/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libio/Makefile (routines): Add fwprintf. PowerPC has own version of w_sqrt.c and w_sqrtf.c. * math/w_sqrt.c: Moved to ... * sysdeps/generic/w_sqrt.c: ... here. * math/w_sqrtf.c: Moved to ... * sysdeps/generic/w_sqrtf.c: ... here. * Make-dist (generic-dirs): New variable. (try-sysdeps, +sysdep-names): Use it. * extra-lib.mk (all-$(lib)-routines): New variable. Use it instead of $(lib)-routines. * elf/Makefile (distribute): Add dl-cache.h. * db2/Makefile (distribute): Add all new files. * iconvdata/Makefile (distribute): Don't distribute CVS directory. * math/Makefile (distribute): Remove machine/endian.h, add math_ldbl.h. * stdio-common/Makefile (distribute): Add _itowa.h. * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h. * sysdeps/gnu/Dist: Add eval.c * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) = dlfcn]: Add to this instead of libdl-routines. * sysdeps/ieee754/ldbl-128/Dist: New file. * sysdeps/mach/hurd/Dist: Add siglist.h * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
* Update.Ulrich Drepper1999-07-191-0/+1
| | | | | | * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed. >>>>>>> 1.2438
* Update.Ulrich Drepper1999-07-181-4/+0
| | | | | | 1999-07-17 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
* Update.Ulrich Drepper1999-07-1710-12/+18
| | | | | | | | | * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise * sysdeps/generic/bits/time.h: Likewise. * sysdeps/mach/hurd/bits/time.h: Likewise. * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise. * sysdeps/generic/bits/types.h: Likewise. * posix/sys/types.h: Define suseconds_t for X/Open.
* Update.Ulrich Drepper1999-07-153-8/+6
| | | | | | | | | 1999-07-15 Ulrich Drepper <drepper@cygnus.com> * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep program deterministic. * sysdeps/i386/fpu/e_powf.S: Likewise. * sysdeps/i386/fpu/e_powl.S: Likewise.
* Update.Ulrich Drepper1999-07-158-15/+716
| | | | | | | | | | | | | | | | | | 1999-07-15 Jakub Jelinek <jj@ultra.linux.cz> * math/Makefile: Add t_sincosl and k_sincosl support routines. * math/math_private.h (__kernel_sincosl): New declaration. * sysdeps/generic/t_sincosl.c: New file. * sysdeps/generic/k_sincosl.c: New file. * sysdeps/ieee754/ldbl-128/k_cosl.c: New file. * sysdeps/ieee754/ldbl-128/k_sinl.c: New file. * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file. * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file. * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file. * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use __kernel_sincosl. * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New definition.
* Update.Ulrich Drepper1999-07-151-0/+4
| | | | | | | 1999-07-15 Philip Blundell <pb@nexus.co.uk> * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb, _outw, _outl): Added to GLIBC_2.1.2.
* Update.Ulrich Drepper1999-07-144-6/+7
| | | | | | | | | | | | | | | 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz> * elf/ldd.bash.in: Add support for multiple dynamic linkers. * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*, try both 32bit and 64bit dynamic linker. * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite script on all sparc targets. 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz> * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer to int.
* More corrections.Ulrich Drepper1999-07-141-54/+74
| | | | | | | * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64 instead of ieee754. * sysdeps/generic/s_nextafter.c: ...here. * sysdeps/generic/s_nexttowardl.c: ...here.
* Update.Ulrich Drepper1999-07-14579-3938/+4018
|
* Update.Ulrich Drepper1999-07-121-0/+4
| | | | | | | 1999-07-12 Ulrich Drepper <drepper@cygnus.com> * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive connections without a hostname set address to localhost address.
* * sysdeps/mach/hurd/brk.c (static_data_start): New variable.Roland McGrath1999-07-111-3/+7
| | | | | | | (_hurd_set_brk, init_brk): Use that instead of &__data_start. Initialize it from &__data_start if defined, or else &_end. 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
* 1999-07-11 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-07-111-2/+21
| | | | | * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate for MAP_ANON, prot==PROT_READ|PROT_WRITE.
* Update.Ulrich Drepper1999-07-091-9/+11
| | | | | | | | | | | 1999-07-09 Cristian Gafton <gafton@redhat.com> * nscd/nscd_gethst_r.c (nscd_gethst_r): Make sure resultbuf->h_addr_list addresses are correctly aligned. * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old compilers. (__memset_cc): Likewise.
* Update.Ulrich Drepper1999-07-091-1/+42
| | | | | | * sysdeps/generic/libc-start.c: For SUID binaries check whether the standard file descriptors are open. Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
* Update.Ulrich Drepper1999-07-092-4/+47
| | | | | | | * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap. * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in range of mmap. If not fail. Patches by Daniel Jacobowitz <dan@debian.org>.
* Update.Ulrich Drepper1999-07-091-1/+1
| | | | | | | | 1999-07-09 Ulrich Drepper <drepper@cygnus.com> * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups. * hesiod/hesiod-grp.c: Add initgroups support. Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
* Update.Ulrich Drepper1999-07-072-0/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/gnu/Makefile (libdl-routines): Add eval. 1999-07-06 Zack Weinberg <zack@rabi.columbia.edu> * dlfcn: New directory. Move the following files from elf: dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c, dlopenold.c, dlsym.c, dlvsym.c. * dlfcn/Makefile: New file. * dlfcn/Versions: New file. * dlfcn/dlsym.c: All ELF-specific code split out to new function _dl_sym. * dlfcn/dlvsym.c: All ELF-specific code split out to new function _dl_vsym. * elf/dl-sym.c: New file. _dl_sym and _dl_vsym are implemented here. * dlfcn/dladdr.c: Remove all references to ELF data structures or headers. * dlfcn/dlclose.c: Likewise. * dlfcn/dlerror.c: Likewise. * dlfcn/dlopen.c: Likewise. * dlfcn/dlopenold.c: Likewise. * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is yes, empty otherwise. (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes, depending on build-shared. (subdirs): Add $(dlfcn). (rpath-dirs): Add dlfcn. * elf/Makefile: Remove all references to libdl or its components, except the ones relating to the test cases. (routines): Add dl-sym. * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2. (libdl): Delete. * elf/dl-close.c (_dl_close): Change argument to void *. * elf/dl-open.c (_dl_open): Change return type to void *. * elf/eval.c: Removed. * elf/ldsodefs.h: Move prototypes of _dl_catch_error, _dlerror_run, _dl_open, _dl_close, _dl_addr, and _dl_mcount_wrapper_check to include/dlfcn.h. Delete _CALL_DL_FCT macro. * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here. Include real header from dlfcn directory. * include/ldsodefs.h: Removed. * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT. * nss/getXXbyYY_r.c: Likewise. * nss/getXXent_r.c: Likewise. * iconv/gconv.c: Likewise. Don't include ldsodefs.h. * iconv/gconv_db.c: Likewise. Don't include ldsodefs.h. * iconv/skeleton.c: Don't include ldsodefs.h. * nss/nsswitch.h: Don't include ldsodefs.h. Include dlfcn.h. 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
* Update.Ulrich Drepper1999-07-071-1/+18
| | | | | | * sysdeps/generic/setenv.c: Describe problem. * malloc/malloc.c (request2size): Also set errno if failing.
* Update.Ulrich Drepper1999-07-071-11/+15
| | | | | * sysdeps/posix/getcwd.c: Correct last patch. Handle getcwd (NULL, != 0) correctly.
* Update.Ulrich Drepper1999-07-071-1/+5
| | | | | | | 1999-07-07 Ulrich Drepper <drepper@cygnus.com> * sysdeps/posix/getcwd.c: When resizing buffer make sure new size is large enough.
* UpdateUlrich Drepper1999-07-071-2/+28
| | | | | | | | | | | | | | | 1999-07-07 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted. (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions. (_PATH_DEVPTMX): Use _PATH_DEV. 1999-07-07 Andreas Jaeger <aj@arthur.rhein-neckar.de> * malloc/tst-malloc.c: New file. Tests some basic functionality. * malloc/Makefile (tests): Add tst-malloc. * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
* Update.Ulrich Drepper1999-07-061-2/+5
| | | | | * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new convention.
* Update.Ulrich Drepper1999-07-0612-343/+444
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-07-06 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more motherboards. Patch by Jay Estabrook. * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in ldd for SPARC. * /sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file. Patch by Cristian Gafton. 1999-07-02 Cristian Gafton <gafton@redhat.com> * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0" instead of "return NULL" to make C++ happy. 1999-07-04 Mark Kettenis <kettenis@gnu.org> * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not allowed by the file access mode of the open file. 1999-07-06 Ulrich Drepper <drepper@cygnus.com> * sysdeps/generic/setfpucw.c: Include math.h to get all needed macros defined. 1999-07-03 Jakub Jelinek <jj@ultra.linux.cz> * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize. * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize. * sysdeps/sparc/sparc64/rshift.S: Likewise. * sysdeps/sparc/sparc64/mul_1.S: Optimize. 1999-07-04 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> * malloc/malloc.c (request2size): Check for overflow and return NULL whenever it is encountered. 1999-07-04 Zack Weinberg <zack@rabi.columbia.edu> * sysdeps/posix/tempname.c (__gen_tempname): Add ability to create directories. Replace OPENIT and LARGEFILE args with a single flags parameter. * sysdeps/generic/tempname.c: Likewise. * include/stdio.h: Adjust prototype of __gen_tempname to match. Define symbolic constants for second argument. * misc/mkdtemp.c: New file, provides new function mkdtemp(). * stdlib/stdlib.h: Prototype it. * misc/Versions: Export it. * misc/Makefile (routines): Add mktemp. * manual/filesys.texi: Document it. * misc/mktemp.c: Adjust call of __gen_tempname to match new convention. * misc/mkstemp.c: Likewise. * stdio-common/tempnam.c: Likewise. * stdio-common/tmpfile.c: Likewise. * stdio-common/tmpfile64.c: Likewise. * stdio-common/tmpnam.c: Likewise. * stdio-common/tmpnam_r.c: Likewise. 1999-07-05 Jakub Jelinek <jj@ultra.linux.cz> * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support R_SPARC_OLO10 relocations. * elf/elf.h (R_SPARC_OLO10): Fix comment.
* Update.Ulrich Drepper1999-07-012-3/+4
| | | | | | | | | | | | | | | | | | 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de> * inet/rcmd.c (__icheckhost): Fix typo in last patch. 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de> * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon. * wcsmbs/wcsrchr.c (wcsrchr): Likewise. 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de> * posix/wordexp.c (parse_tilde): Handle failing call to get.*_r functions correctly for non-existing entry. * sysdeps/posix/cuserid.c (cuserid): Likewise. * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
* Update.Ulrich Drepper1999-06-302-5/+4
| | | | | | | | | | | | | 1999-06-30 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to getxxbyYY_r functions correctly for non-existing entry. * sunrpc/getrpcport.c: Likewise. * sunrpc/clnt_simp.c: Likewise. * inet/rexec.c: Likewise. * sunrpc/clnt_gen.c: Likewise. * inet/rcmd.c: Likewise. * sysdeps/generic/glob.c: Likewise.
* Update.Ulrich Drepper1999-06-283-9/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN returns. * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise. * sysdeps/libm-ieee754/e_gammal_r.c: Likewise. Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185]. * elf/dl-dst.h: Fix typo. * elf/dl-open.c: Likewise. 1999-06-26 Zack Weinberg <zack@rabi.columbia.edu> * elf/dl-libc.c: New file, provides three functions: __libc_dlopen, __libc_dlclose, __libc_dlsym. * include/dlfcn.h: Prototype them. Prototype _dl_addr. * elf/Makefile (routines): Add dl-libc.c. * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of argument to void *. * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match. * iconv/gconv.c: Include dlfcn.h. * iconv/gconv_db.c: Likewise. * malloc/mtrace.c: Likewise. Don't include ldsodefs.h. * iconv/gconv_int.h (struct __gconv_loaded_object): Change `handle' to a void *. (__gconv_find_func): Delete prototype. * iconv/gconv_dl.c: Don't include ldsodefs.h. Remove dlerror_run and related functions and structs. Use __libc_dlopen, __libc_dlsym, __libc_dlclose. * nss/nsswitch.c: Likewise. 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
* Update.Ulrich Drepper1999-06-282-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-06-28 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r function correctly. * sunrpc/getrpcport.c: Test for gethostbyname_r function correctly. * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly. * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r functions correctly. * inet/rexec.c (rexec): Test for gethostbyname_r result correctly. * inet/rcmd.c: Test for gethostbyname_r result correctly. Optimize file reading a bit. * sysdeps/generic/glob.c: Test for getpwnam_r result correctly. 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de> * manual/string.texi (Copying and Concatenation): Mention that strndup is a GNU extension. 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de> * pwd/getpw.c (__getpw): Fix check for error return.