about summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper1999-05-251-10/+10
| | | | | | 1999-05-25 Ulrich Drepper <drepper@cygnus.com> * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
* Update.Ulrich Drepper1999-05-251-1/+1
| | | | | | | | | | | 1999-05-26 Jakub Jelinek <jj@ultra.linux.cz> * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm): Optimized sparc64 routines. * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if they are the same as ints. * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
* Update.Ulrich Drepper1999-05-2516-0/+261
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * wcsmbs/wcstol.c: Moved to ... * sysdeps/generic/wcstol.c: ...here. * wcsmbs/wcstoul.c: Moved to ... * sysdeps/generic/wcstoul.c: ...here. * wcsmbs/wcstoll.c: Moved to ... * sysdeps/generic/wcstoll.c: ...here. * wcsmbs/wcstoull.c: Moved to ... * sysdeps/generic/wcstoull.c: ...here. * wcsmbs/wcstol_l.c: Moved to ... * sysdeps/generic/wcstol_l.c: ...here. * wcsmbs/wcstoul_l.c: Moved to ... * sysdeps/generic/wcstoul_l.c: ...here. * wcsmbs/wcstoll_l.c: Moved to ... * sysdeps/generic/wcstoll_l.c: ...here. * wcsmbs/wcstoull_l.c: Moved to ... * sysdeps/generic/wcstoull_l.c: ...here. * sysdeps/wordexp-64/wcstol.c: New file. * sysdeps/wordexp-64/wcstoul.c: New file. * sysdeps/wordexp-64/wcstoll.c: New file. * sysdeps/wordexp-64/wcstoull.c: New file. * sysdeps/wordexp-64/wcstol_l.c: New file. * sysdeps/wordexp-64/wcstoul_l.c: New file. * sysdeps/wordexp-64/wcstoll_l.c: New file. * sysdeps/wordexp-64/wcstoull_l.c: New file.
* Update.Ulrich Drepper1999-05-2516-0/+710
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-05-25 Ulrich Drepper <drepper@cygnus.com> * stdlib/strtol.c: Moved to ... * sysdeps/generic/strtol.c: ...here. * stdlib/strtoul.c: Moved to ... * sysdeps/generic/strtoul.c: ...here. * stdlib/strtoll.c: Moved to ... * sysdeps/generic/strtoll.c: ...here. * stdlib/strtoull.c: Moved to ... * sysdeps/generic/strtoull.c: ...here. * stdlib/strtol_l.c: Moved to ... * sysdeps/generic/strtol_l.c: ...here. * stdlib/strtoul_l.c: Moved to ... * sysdeps/generic/strtoul_l.c: ...here. * stdlib/strtoll_l.c: Moved to ... * sysdeps/generic/strtoll_l.c: ...here. * stdlib/strtoull_l.c: Moved to ... * sysdeps/generic/strtoull_l.c: ...here. * sysdeps/wordexp-64/strtol.c: New file. * sysdeps/wordexp-64/strtoul.c: New file. * sysdeps/wordexp-64/strtoll.c: New file. * sysdeps/wordexp-64/strtoull.c: New file. * sysdeps/wordexp-64/strtol_l.c: New file. * sysdeps/wordexp-64/strtoul_l.c: New file. * sysdeps/wordexp-64/strtoll_l.c: New file. * sysdeps/wordexp-64/strtoull_l.c: New file.
* Update.Ulrich Drepper1999-05-2513-412/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz> * sysdeps/sparc/bits/wordsize.h: New file. * sysdeps/sparc/bits/fenv.h: New file. * sysdeps/sparc/fpu_control.h: New file. * sysdeps/sparc/gmp-mparam.h: New file. * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove. * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove. * sysdeps/sparc/sparc64/bits/wordsize.h: Remove. * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove. * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove. * sysdeps/sparc/sparc64/gmp-mparam.h: Remove. * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file. * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file. * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file. * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove. * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove. * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove. * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove. * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove. 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz> 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz> 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
* Update.Ulrich Drepper1999-05-241-8/+0
|
* (gaih_inet): Set socket address to loopback if no name is given and ↵Ulrich Drepper1999-05-241-0/+8
| | | | AI_PASSIVE is not set.
* Update.Ulrich Drepper1999-05-2315-80/+74
| | | | | | | | | | | | | | | | | | | | | | | | | 1999-05-23 Ulrich Drepper <drepper@cygnus.com> * sysdeps/alpha/fpu/bits/fenv.h: Pretty print. * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if. 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member names to protect from user's macro namespace. * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise. * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise. * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise. * sysdeps/mips/bits/fenv.h (fenv_t): Likewise. * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c: Adapted. * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c, sysdeps/arm/fpu/fesetenv.c: Likewise. * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c, sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c, sysdeps/i386/fpu/fsetexcptflg.c: Likewise. * sysdeps/mips/fesetenv.c: Likewise.
* 1999-05-22 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-05-231-3/+3
| | | | * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
* * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member Andreas Schwab1999-05-223-14/+14
| | | | | | names to protect from user's macro namespace. * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c: Adapted.
* Update.Ulrich Drepper1999-05-1925-1295/+1288
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz> * sysdeps/generic/bits/elfclass.h: Version common to wordsize-32 and wordsize-64. * sysdeps/generic/bits/environments.h: Ditto. * sysdeps/generic/stdint.h: Ditto. * sysdeps/generic/inttypes.h: Ditto. * sysdeps/generic/bits/wordsize.h: New file. * stdlib/Makefile: Add bits/wordsize.h to headers. * sysdeps/sparc/sparc64/bits/wordsize.h: New file. * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported headers to be used for 32bit and 64bit ABI compilations. * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto. * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto. * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto. * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto. * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto. * sysdeps/wordsize-64/bits/elfclass.h: Remove. * sysdeps/wordsize-64/bits/environments.h: Remove. * sysdeps/wordsize-64/stdint.h: Remove. * sysdeps/wordsize-64/inttypes.h: Remove. * sysdeps/wordsize-64/bits/wordsize.h: New file. * sysdeps/wordsize-32/bits/elfclass.h: Remove. * sysdeps/wordsize-32/bits/environments.h: Remove. * sysdeps/wordsize-32/stdint.h: Remove. * sysdeps/wordsize-32/inttypes.h: Remove. * sysdeps/wordsize-32/bits/wordsize.h: New file. 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz> * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8, __align_cpy_16): New functions. (__align_cpy_2, __align_cpy_1): New aliases to memcpy. * sysdeps/sparc/sparc32/Versions: New file. * sysdeps/sparc/sparc64/Versions: New file. * sysdeps/sparc/Versions: Remove. 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz> * sysdeps/unix/sysv/linux/configure.in: On sparc64-*-linux*, set slibdir to /lib64 if prefix is /usr, plus set libdir to ${exec_prefix}/lib64. * sysdeps/unix/sysv/linux/configure: Regenerated. * config.make.in: Propagate libdir settings from configure to the Makefiles. * shlib-versions: sparc64-*-linux* dynamic linker is /lib64/ld-linux.so.2.
* Update.Ulrich Drepper1999-05-185-74/+254
| | | | | | | | | | | | 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz> * sysdeps/sparc/sparc64/rawmemchr.S: New file. * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file. * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument contains garbage in bits 8-63. * sysdeps/sparc/sparc64/memset.S: Ditto. * sysdeps/sparc/sparc64/strchr.S: Ditto.
* Update.Ulrich Drepper1999-05-185-2/+264
| | | | | | | | | | | | | | 1999-05-18 Ulrich Drepper <drepper@cygnus.com> * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ). 1999-05-17 David S. Miller <davem@redhat.com> * sysdeps/sparc/sparc32/atomicity.h: New file. * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file. * sysdeps/sparc/sparc64/atomicity.h: New file. * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to sysdep-CFLAGS.
* Update.Ulrich Drepper1999-05-181-87/+91
| | | | | | 1999-05-18 Richard Henderson <rth@twiddle.net> * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
* Update.Ulrich Drepper1999-05-181-4/+4
| | | | | | | 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary if _FORCE_INLINES.
* Update.Ulrich Drepper1999-05-174-35/+84
| | | | | | | | | | | | | | | | | | | | | | | | | 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/i386/i486/Versions: New file with inline functions from sysdeps/i386/i486/bits/string.h for now. * sysdeps/i386/Versions: Add inline functions from sysdeps/i386/bits/string.h. * string/Versions: Add inline functions from <bits/string2.h>. * string/Makefile (routines): Add string-inlines. * string/string-inlines.c: New file, used for implementation of extern inline functions. * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate non inlined versions of functions. * string/bits/string2.h: Likewise. * sysdeps/i386/bits/string.h: Likewise. 1999-05-17 Ulrich Drepper <drepper@cygnus.com> * inet/arpa/tftp.h: Add second packed attribute.
* 1999-05-16 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-05-161-1/+2
| | | | * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
* 1999-05-16 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-05-165-7/+4
| | | | | | | | | | | | * 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.
* Update.Ulrich Drepper1999-05-151-6/+20
| | | | | | | 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.
* Update.Ulrich Drepper1999-05-142-19/+33
| | | | | | | | | 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.
* Update.Ulrich Drepper1999-05-141-0/+3
| | | | | | | | | 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.
* UpdateUlrich Drepper1999-05-132-0/+31
| | | | | | | 1999-05-13 Ulrich Drepper <drepper@cygnus.com> * sysdeps/gnu/getutmpx.c: New file. * sysdeps/gnu/getutmp.c: New file.
* UpdateUlrich Drepper1999-05-134-1/+89
| | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper1999-05-114-4/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper1999-05-071-6/+4
| | | | | * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to f_bsize to help some broken programs.
* Update.Ulrich Drepper1999-05-063-5/+5
| | | | | | | 1999-05-06 Ulrich Drepper <drepper@cygnus.com> * nss/digits_dots.c: Correct return value interpretation of inet_ntoa. Fix PR libc/1109.
* Update.Ulrich Drepper1999-05-061-0/+6
| | | | | | 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu> * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
* Update.Ulrich Drepper1999-05-052-6/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Update.Ulrich Drepper1999-05-032-4/+4
| | | | | * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr. * sysdeps/generic/strtok.c: Likewise.
* Update.Ulrich Drepper1999-05-031-4/+3
| | | | | * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output specification. It's not necessary.
* Update.Ulrich Drepper1999-05-031-0/+1
| | | | | | 1999-05-03 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
* Update.Ulrich Drepper1999-05-032-4/+8
| | | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper1999-05-023-0/+49
| | | | | | | * 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>.
* Update.Ulrich Drepper1999-05-021-12/+16
| | | | | | | | * 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>.
* Update.Ulrich Drepper1999-05-021-6/+1
| | | | | | | 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.
* Update.Ulrich Drepper1999-05-021-3/+3
| | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper1999-05-021-2/+6
| | | | | * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use _dl_cache_libcmp instead of strcmp.
* Update.Ulrich Drepper1999-05-021-2/+3
| | | | | | | | 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].
* Update.Ulrich Drepper1999-05-021-0/+2
| | | | | | | 1998-03-30 Joel Klecker <espy@debian.org> * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (sysdep-others,install-bin): Add lddlibc4.
* Update.Ulrich Drepper1999-05-011-1/+1
| | | | | * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and gcc3.
* Update.Ulrich Drepper1999-05-011-37/+19
| | | | | | | 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.
* (__memset_gc): Help generating better code in presence of the asm.Ulrich Drepper1999-04-301-19/+19
|
* New file.Andreas Schwab1999-04-301-0/+28
|
* Update.Ulrich Drepper1999-04-301-2/+2
| | | | | * sysdeps/i386/strchrnul.S: Fix bugs which let to wrong results in 25% of all cases.
* Update.Ulrich Drepper1999-04-301-29/+30
| | | | | * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with base types.
* Update.Ulrich Drepper1999-04-301-28/+161
| | | | | | | | | | | 1999-04-30 Ulrich Drepper <drepper@cygnus.com> * string/bits/string2.h: Fix bugs I introduced in last change. * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial register stall. Extend memset optimization. Correct i686 version of memchr.
* 1999-04-30 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-04-301-1/+2
| | | | * sysdeps/i386/bzero.c: Add #undef __bzero.
* Update.Ulrich Drepper1999-04-2813-29/+640
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-04-28 Ulrich Drepper <drepper@cygnus.com> * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0. * argp/argp-parse.c (_argp_hang): Likewise. * argp/argp-pv.c (argp_program_version): Likewise. * argp/argp-pvh.c (argp_program_version_hook): Likewise. * inet/ether_hton.c (ether_hton, startp): Likewise. * inet/ether_ntoh.c (ether_ntoh, startp): Likewise. * inet/getnetgrent_r.c (setup, startp): Likewise. * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise. * intl/localealias.c (string_space, string_space_act, string_space_max, nmap, maxmap): Likewise. * libio/iopopen.c (proc_file_chain): Likewise. * libio/oldiopopen.c (old_proc_file_chain): Likewise. * locale/lc-collate.c (__collate_table, __collate_extra, __collate_element_hash, __collate_element_strings, __collate_element_values): Likewise. * malloc/mcheck.c (mcheck_used): Likewise. * malloc/mtrace.c (added_atexit_handler): Likewise. * malloc/set-freeres.c (already_called): Likewise. * misc/getpass.c (getpass) [buf, bufsize]: Likewise. * misc/syslog.c (LogStat, LogTag): Likewise. * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise. * nss/getXXbyYY_r.c (startp): Likewise. * posix/getopt.c (optarg, __getopt_initialized): Likewise. * posix/regex.c (init_syntax_once) [done]: Likewise. (debug): Likewise. * string/strfry.c (init): Likewise. * sunrpc/svc_run.c (svc_top): Likewise. * posix/euidaccess.c (have_ids): Likewise. * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise. * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise. * time/getdate.c (getdate_err): Likewise. * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps): Likewise. * time/tzset.c (old_tz, is_initialized): Likewise. * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization of static data with zero. * signal/allocrtsig.c (init): Likewise. * string/Makefile (routines): Add strchrnul. * string/Versions [GLIBC_2.1.1]: Add strchrnul. * string/string.c: Add strchrnul prototype. * include/string.h: Add __strchrnul prototype. * sysdeps/generic/strchrnul.c: New file. * sysdeps/i386/strchrnul.S: New file. * sysdeps/i386/bits/string.c: Add strchrnul optimization. * sysdeps/i386/i486/bits/string.c: Likewise. * argp/argp-help.c (argp_args_usage): Use __strchrnul. * inet/ether_line.c (ether_line): Likewise. * nscd/nscd_conf.c (nscd_parse_file): Likewise. * nss/nsswitch.c (nss_parse_file): Likewise. * posix/execvp.c (execvp): Likewise. * posix/fnmatch.c (internal_fnmatch): Likewise. * resolv/res_hconf.c (_res_hconv_init): Likewise. * resolv/res_init.c (res_init): Likewise. * stdlib/fmtmsg.c (init): Likewise. * stdlib/getsubopt.c (getsubopt): Likewise. * catgets/catgets.c (catopen): Only allocate one memory block. (catclose): Only one free call necessary. * catgets/open_catalog.c (__open_catalog): Simplify handling of file descriptor. * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead of real functions. Simplify _tolower and _toupper. * grp/initgroups.c (compat_call): Remove unnecessary use of pointer variable. * iconv/gconv.h (struct gconv_info): Change data element from pointer to array of size 0. * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly. * iconv/gconv_close.c (__gconv_close): Don't free data. * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to insert new alias. * iconv/gconv_db.c (add_derivation): More efficient copying. Check for error while inserting in tree. * include/time.h: Pretty print. * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers in table and lots of relocations. * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid string pointers in table and lots of relocations. * intl/finddomain.c: Remove definition of strchr macro. * io/ftw.c (nftw_arr, ftw_arr): Make const. * locale/loadlocale.c (_nl_load_locale): Optimize string copying. * locale/localeinfo.h (_nl_category_names): Change into an array with fixed width char string elements. * locale/setlocale.c (_nl_category_names): Likewise. (_nl_current): Make global. * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now. * malloc/Makefile (distribute): Add stackinfo.h. * sysdeps/generic/stackinfo.h: New file. * sysdeps/i386/stackinfo.h: New file. * posix/execl.c: Use stackinfo.h in optimizing alloca use. * posix/execle.c: Likewise. * posix/execlp.c: Likewise. * nis/nis_table.c (__create_ib_request): Always use realloc. * posix/execvp.c (execute): Rename to script_execute and keep only code to execute using shell. (execvp): Call execv directly and only fall back on script_execute. * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define and always use xdigits instead. * resolv/res_init.c (res_init): Use rawmemchr instead of strchr where appropriate. * stdlib/fpioconst.h (__tens): New declaration. (struct mp_power): Remove array, add arrayoff element. * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one __tens array and add in _fpioconst_pow10 offsets into __tens. * stdio-common/printf_fp.c: Rewrite to use new __tens array. * stdlib/strtod.c: Likewise. * stdlib/a64l.c (a64l_table): Avoid unnecessary elements. * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end of the list. * stdlib/atexit.c (__exit_funcs): Don't initialize. * stdlib/fmtmsg.c (keywords): Make name element fixed width array. * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use a single and an array with offsets. * sunrpc/des_soft.c (partab): Make it const. * sunrpc/key_call.c (trytimeout, tottimeout): Make const. (__key_encryptsession_pk_LOCAL): Don't initialize with 0. (__key_decryptsession_pk_LOCAL): Likewise. (__key_gendes_LOCAL): Likewise. (MESSENGER): Mark const. (key_call_private_main): Don't initialize with 0. (use_keyenvoy): Don't initialize with 0. (key_call): Rewrite to reverse logic of use_doors variable. * sunrpc/netname.c (OPSYS): Define as array, not pointer. (startp): Don't initialize with zero. * sunrpc/openchild.c (_openchild): Make first argument const. * sunrpc/pmap_rmt.c (timeout): Mark const. * sunrpc/xcrypt.c (hex): Likewise. * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting initialization of global variables. * sysdeps/unix/sysv/linux/getpt.c: Likewise. * sysdeps/unix/sysv/linux/if_index.c: Likewise. * termios/tcgetsid.c: Likewise. * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change fxsr to osfxsr. * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory block. Add function to free memory if wanted. * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read. * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers. * wcsmbs/wmemset.c: Little code optimization.
* 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-04-281-28/+7
| | | | | | * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove implementation and just always fail with ENOSYS. This entry point is obsolete. Add link warning to that effect.
* Update.Ulrich Drepper1999-04-279-42/+70
| | | | | | | | | | | | | | | | * include/dirent.h: Remove __getdirentries declaration, add __getdents and __getdents64. * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries. * sysdeps/unix/readdir_r.c: Likewise. * sysdeps/unix/sysv/linux/readdir64.c: Likewise. * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise. * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not __getdirentries. Remove fourth argument. * sysdeps/unix/sysv/linux/getdirentries.c: New file. * sysdeps/unix/sysv/linux/getdirentries64.c: New file. * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines): Add getdirentries and getdirentries64. * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.