aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1999-05-16Use malloc instead of calloc, set ctime and mtime.Ulrich Drepper1-3/+8
1999-05-161999-05-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1-0/+12
* sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ... * sysdeps/generic/sys/socketvar.h: ... here. * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ... * sysdeps/generic/netinet/in_systm.h: ... here. * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h, sys/socketvar.h. * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise. * inet/Makefile (headers): Add netinet/in_systm.h here. * socket/Makefile (headers): Add sys/socketvar.h here.
1999-05-161999-05-16 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath7-10/+9
* sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ... * sysdeps/generic/sys/socketvar.h: ... here. * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ... * sysdeps/generic/netinet/in_systm.h: ... here. * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h, sys/socketvar.h. * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise. * inet/Makefile (headers): Add netinet/in_systm.h here. * socket/Makefile (headers): Add sys/socketvar.h here.
1999-05-15Update.Ulrich Drepper4-52/+90
* stdlib/strtol.c: Optimize inner loop of long long versions.
1999-05-15Update.Ulrich Drepper2-6/+25
1999-05-15 Ulrich Drepper <drepper@cygnus.com> * sysdeps/gnu/utmpx.h: Add needed type definitions according to Unix98. Add forward declaration of struct utmp.
1999-05-14Update.Ulrich Drepper4-7/+38
1999-05-14 Ulrich Drepper <drepper@cygnus.com> * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of calloc. * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks. * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test memory allocation results.
1999-05-14Update.Ulrich Drepper4-26/+41
1999-05-14 Mark Kettenis <kettenis@gnu.org> * sysdeps/generic/getutmp.c: Include <string.h> (getutmp): Rewrite to only copy those members that are really present in `struct utmp'. * sysdeps/generic/getutmpx.c: Likewise.
1999-05-14Update.Ulrich Drepper5-3/+98
1999-05-14 Ulrich Drepper <drepper@cygnus.com> * nss/getXXbyYY.c: Add free_mem function which disposes all statically allocated memory when debugging. * nss/getXXent.c: Likewise. * nss/nsswitch.c: Likewise.
1999-05-13UpdateUlrich Drepper3-0/+36
1999-05-13 Ulrich Drepper <drepper@cygnus.com> * sysdeps/gnu/getutmpx.c: New file. * sysdeps/gnu/getutmp.c: New file.
1999-05-13UpdateUlrich Drepper6-1/+108
1999-05-13 H.J. Lu <hjl@gnu.org> * login/Versions (getutmpx): Added to GLIBC_2.1.1. (getutmp): Likewise. * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and getutmpx for login. * sysdeps/gnu/utmpx.h (getutmp): Added. (getutmpx): Likewise. * sysdeps/generic/getutmp.c: New file. * sysdeps/generic/getutmpx.c: New file.
1999-05-13Update.Ulrich Drepper3-12/+19
1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> * glibcbug.in (BUGGLIBC): Change address to libc-alpha@sourceware.cygnus.com.
1999-05-12Update.Ulrich Drepper2-0/+8
1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de> * resolv/arpa/nameser.h: Add C++ protectors.
1999-05-11Update.Ulrich Drepper2-1/+6
1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de> * iconvdata/gconv-modules: Fix alias for CP1255. Reported by Elad Tsur <eladts@post.tau.ac.il>.
1999-05-11Update.Ulrich Drepper12-19/+140
1999-05-11 Ulrich Drepper <drepper@cygnus.com> * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy. * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects lazily if LD_BIND_NOW is not set. * elf/dl-support.c (_dl_lazy): New variable. (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar. * elf/rtld.c (_dl_lazy): new global variable. ( dl_main): Remove lazy, replace it by _dl_lazy. 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * locale/setlocale.c (new_composite_name): Check also whether the first category name differs. 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not the generic one. 1999-05-11 Philip Blundell <pb@nexus.co.uk> * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New structure; storage suitable for any socket address. * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage): Likewise. * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct sockaddr_storage): Likewise. * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit platform.
1999-05-10Add PR information.Ulrich Drepper1-1/+1
_nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
1999-05-10Update.Ulrich Drepper1-0/+6
1999-05-10 Ulrich Drepper <drepper@cygnus.com> * hesiod/Versions: Change _nss_hesiod_getpwuid and _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and _nss_hesiod_getgrgid_r respectively.
1999-05-10Change _nss_hesiod_getpwuid and _nss_hesiod_getgrgid to ↵Ulrich Drepper1-2/+2
_nss_hesiod_getpwuid_r and _nss_hesiod_getgrgid_r respectively.
1999-05-091999-05-09 Mark Kettenis <kettenis@gnu.org>Roland McGrath1-0/+5
* hurd/get-host.c (_hurd_get_host_config): Return an empty value if the file is empty.
1999-05-091999-05-09 Mark Kettenis <kettenis@gnu.org> Roland McGrath1-0/+8
* hurd/get-host.c (_hurd_get_host_config): Return an empty value if the file is empty.
1999-05-07Update.Ulrich Drepper2-1/+3
* elf/do-lookup.h: Fix typo in comment.
1999-05-07Update.Ulrich Drepper2-6/+7
* sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to f_bsize to help some broken programs.
1999-05-07Update.Ulrich Drepper3-6/+27
1999-05-07 Ulrich Drepper <drepper@cygnus.com> * stdio-common/tst-printf.c: Add test case for last _itoa problem. * stdio-common/vfprintf.c: Fix typo.
1999-05-07Update.Ulrich Drepper4-15/+31
* elf/link.h (struct link_map): New field l_phdr_allocated. * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having the program header being part of any loaded segment. If it is not allocate memory and set l_phdr_allocated flag. * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
1999-05-06Update.Ulrich Drepper5-9/+14
1999-05-06 Ulrich Drepper <drepper@cygnus.com> * nss/digits_dots.c: Correct return value interpretation of inet_ntoa. Fix PR libc/1109.
1999-05-06Update.Ulrich Drepper2-0/+10
1999-05-06 Zack Weinberg <zack@rabi.columbia.edu> * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
1999-05-06Update.Ulrich Drepper2-1/+2
* stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
1999-05-06Update.Ulrich Drepper2-1/+5
1999-05-06 Thorsten Kukuk <kukuk@suse.de> * stdlib/fpioconst.c: Move #endif before end of struct.
1999-05-05Update.Ulrich Drepper16-96/+377
* Versions.def (ld.so): Add GLIBC_2.1.1. * elf/Makefile (routines): Add dl-origin. (tests): Add origtest. Add dependencies for the program. * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path, _dl_platformlen, _dl_dst_count and _dl_dst_substitute. * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename. (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED, DT_AUXILIARY, and DT_FILTER filenames. * elf/dl-load.c (expand_dynamic_string_token): Explode into two functions and three macros. (_dl_dst_count, _dl_dst_substitute): New functions. * elf/dl-dst.h: New file. * elf/dl-open.c (_dl_open): Take extra parameter with address of caller. Pass address in args structure. (dl_open_worker): Recognize and expand DSTs in filename. * elf/ldsodefs.h (_dl_open): Adapt prototype. * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open. (__dlopen_check): Pass caller address to dlopen_doit in args. * elf/dlopendoit.c: Likewise. * iconv/gconv_dl.c: Adapt call of _dl_open. * nss/nsswitch.c: Likewise. * elf/origtest.c: New file. * sysdeps/generic/dl-origin.h: Moved to... * sysdeps/generic/dl-origin.c: ...here. * sysdeps/unix/sysv/linux/dl-origin.h: Moved to... * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
1999-05-05Update.Ulrich Drepper3-41/+47
* stdio-common/_itoa.c (_itoa): Fix special 32bit platform case with specific bases and only few bits set in second word.
1999-05-05Update.Ulrich Drepper3-0/+11
1999-05-05 Ulrich Drepper <drepper@cygnus.com> * timezone/Makefile (install-others): Create target directory before creating tzfiles.
1999-05-05Update.Ulrich Drepper4-22/+57
1999-05-05 Thorsten Kukuk <kukuk@suse.de> * nis/nis_file.c (readColdStartFile): Allocate memory only after the file is opened successfully. * nis/nis_table.c: Fix some memory leaks.
1999-05-04Update.Ulrich Drepper4-8/+53
* elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st variable.
1999-05-04Update.Ulrich Drepper2-11/+27
1999-05-04 Ulrich Drepper <drepper@cygnus.com> * elf/dl-load.c (expand_dynamic_string_token): Recognize { } around DST. Correctly ignore ORIGIN IN SUID binaries.
1999-05-03Update.Ulrich Drepper3-4/+7
* sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr. * sysdeps/generic/strtok.c: Likewise.
1999-05-03Update.Ulrich Drepper2-0/+32
* string/tester.c: Add test of rawmemchr.
1999-05-03Update.Ulrich Drepper2-4/+6
* sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output specification. It's not necessary.
1999-05-03Update.Ulrich Drepper4-35/+101
* elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk. * elf/gen-trusted-dirs.awk: New file. * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize from SYSTEM_DIRS macro. (system_dirs_len): New variable. Contains lengths of system_dirs strings. (fillin_rpath): Rewrite for systems_dirs being a simple string. Improve string comparisons. Change parameter trusted to be a flag. Change all callers. (_dt_init_paths): Improve using new format for system_dirs.
1999-05-03Update.Ulrich Drepper2-2/+8
* elf/dl-load.c (expand_dynamic_string_token): Don't expand $ORIGIN for SUID binaries.
1999-05-03Update.Ulrich Drepper4-1/+11
1999-05-03 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
1999-05-03Update.Ulrich Drepper5-17/+39
1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * sunrpc/Makefile: Generate dependencies for all flavors of librpcsvc objects. (rpcgen-cmd): Pass -Y flag here and remove it from the macro invocations. 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * elf/dlopenold.c: Move #if down after includes to get dependencies right. 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * sysdeps/generic/bzero.c: Undefine __bzero.
1999-05-02Update.Ulrich Drepper4-0/+54
* sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header. * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise. * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise. Patch by Craig Small <csmall@scooter.eye-net.com.au>.
1999-05-02Update.Ulrich Drepper2-12/+22
* sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth parameter to struct gaih_servtuple *. Adapt appropriately. (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls. This fixes a memory leak. Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
1999-05-02Update.Ulrich Drepper2-6/+6
1999-05-02 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t, and fpregset_t definition. They are defined in ucontext.h.
1999-05-02Update.Ulrich Drepper3-4/+16
1999-04-14 Scott Bambrough <scottb@netwinder.org> * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr and struct ether_header must be packed on the ARM. The default alignment constraints add padding to the end of the structures. 1999-04-14 Scott Bambrough <scottb@netwinder.org> * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The default alignment constraints add padding to the end of the structure and between members.
1999-05-02Update.Ulrich Drepper2-2/+9
* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use _dl_cache_libcmp instead of strcmp.
1999-05-02Update.Ulrich Drepper2-2/+9
1999-05-02 Ulrich Drepper <drepper@cygnus.com> * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir fails on a file. Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
1999-05-02Update.Ulrich Drepper2-0/+7
1998-03-30 Joel Klecker <espy@debian.org> * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (sysdep-others,install-bin): Add lddlibc4.
1999-05-02Update.Ulrich Drepper3-1/+21
1999-05-02 H.J. Lu <hjl@gnu.org> * timezone/zic.c (dolink): Remove the symlink destination first. * catgets/open_catalog.c (__open_catalog): Set catalog->status to "nonexisting" if failed to open the file.
1999-05-01Update.Ulrich Drepper3-3/+7
* string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and gcc3.
1999-05-01Update.Ulrich Drepper2-37/+24
1999-05-01 Ulrich Drepper <drepper@cygnus.com> * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg. Prevent warnings from multiplication with 0x01010101 by another cast.