aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-07-19Update.Ulrich Drepper31-1010/+1150
2000-07-18 Mark Kettenis <kettenis@gnu.org> Update resolver code to BIND 8.2.3-T5B. * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and __res_nclose. [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename, __res_mkquery, __res_nsend, __res_query, __res_querydomain and __res_search. * resolv/Banner: BIND-8.2.3-T5B. * resolv/base64.c: Update from BIND 8.2.3-T5B. * resolv/herror.c: Likewise. * resolv/inet_addr.c: Likewise. * resolv/inet_net_ntop.c: Likewise. * resolv/inet_net_pton.c: Likewise. * resolv/inet_neta.c: Likewise. * resolv/inet_ntop.c: Likewise. * resolv/nsap_addr.c: Likewise. * resolv/inet_pton.c: Likewise. Reject a few more more invalid IPv6 addresses (ISC bug #520). * resolv/ns_name.c: Avoid emitting RCS ID in object file. * resolv/ns_parse.c: Likewise. * resolv/ns_netint.c: Likewise. * resolv/ns_samedomain.c: Likewise. * resolv/ns_ttl.c: Likewise. * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting RCS ID in object file. * resolv/res_debug.c: Update from BIND 8.2.3-T5B. * resolv/res_mkquery.c: Likewise. * resolv/res_query.c: Likewise. * resolv/res_init.c: Likewise. (res_setoptions): Mark internal. * resolv/res_send.c: Likewise. [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit by using poll instead. * resolv/res_comp.c: Likewise. [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a weak alias for __dn_expand. * resolv/res_data.c: Likewise. (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set in _res.options. Avoids a potential security risk by avoiding a close (0). [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make res_mkquery, res_query, res_querydomain adn res_search weak aliases for __res_mkquery, __res_query, __res_querydomain and __res_search. * resolv/res_libc.c: (_res): Don't initialize. Fix res_close instead to avoid close(0). (res_init): Always use the static resolver context. [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak alias for __res_init. * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of RES_SET_H_ERRNO and accompanying comment to... * include/resolv.h: ... here. * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B. * resolv/arpa/nameser_compat.h: Likewise.
2000-07-19Update.Ulrich Drepper2-2/+17
2000-07-19 Kaz Kylheku <kaz@ashi.footprints.net> Bugfixes to the variant of the code for machines with no compare and swap. * spinlock.c (__pthread_alt_lock, __pthread_alt_timedlock): Wait node was not being properly enqueued, due to failing to update the lock->__status field. * spinlock.c (__pthread_alt_timedlock): The oldstatus variable was being set inappropriately, causing the suspend function to be called with a null self pointer and crash.
2000-07-19Update.Ulrich Drepper3-14/+32
2000-07-19 Ulrich Drepper <drepper@redhat.com> * locales/i18n: Fix typos. * locales/iso14651_t1: Correct syntax for HAN script.
2000-07-19Update.Ulrich Drepper2-1/+16
* spinlock.h (__pthread_alt_trylock): Fix code used if no compare&swap is available.
2000-07-19Update.Ulrich Drepper5-4/+46417
* spinlock.h (__pthread_trylock): Use __compare_and_swap, not compare_and_swap.
2000-07-18Update.Ulrich Drepper4-2/+43
* nss/makedb.c (main): Compare result of load_db with NSS_STATUS_SUCCESS and not 0. Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
2000-07-18Update.Ulrich Drepper2-0/+5
2000-07-18 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
2000-07-18Update.Ulrich Drepper1-0/+14
2000-07-18 Ulrich Drepper <drepper@redhat.com> * tst-ctype-de_DE.ISO-8859-1.in: Mark U0000 as cntrl and U00A0 not as space. * tst-ctype.c: Likewise. * tst-ctype.sh: Likewise. * locales/i18n: Likewise. * locales/ja_JP: Likewise. * tests-mbwc/dat_iswcntrl.c: Likewise. * tests-mbwc/dat_iswctype.c: Likewise. * tests-mbwc/dat_iswspace.c: Likewise. * tst-ctype.sh: Also test C locale.
2000-07-18Mark U0000 as cntrl and U00A0 not as space.Ulrich Drepper8-25/+16
2000-07-18* posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro. Greg McGary2-0/+19
(EXTEND_BUFFER): Use it. 2000-07-18 Greg McGary <greg@mcgary.org> * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro. (EXTEND_BUFFER): Use it.
2000-07-18Update.Ulrich Drepper2-1/+7
2000-07-18 Ulrich Drepper <drepper@redhat.com> * spinlock.c (__pthread_alt_timedlock): Add back one of the removed thread_self calls.
2000-07-18Update.Ulrich Drepper3-4/+21
2000-07-18 Ulrich Drepper <drepper@redhat.com> * include/libc-symbols.h: Define RETURN_ADDRESS macro. * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of __builtin_return_address. * dlfcn/dlopenold.c: Likewise. * dlfcn/dlsym.c: Likewise. * dlfcn/dlvsym.c: Likewise. * elf/dl-profstub.c: Likewise. * malloc/malloc.c: Likewise. * sysdeps/generic/machine-gmon.h: Likewise. Based on a patch by schwidefsky@de.ibm.com.
2000-07-18Update.Ulrich Drepper9-25/+29
2000-07-18 Kaz Kylheku <kaz@ashi.footprints.net> * spinlock.c (__pthread_alt_lock, __pthread_alt_timedlock): Fixed bug whereby thr field of waitnode structure would not be correctly set unless a null self pointer is passed to the functions. Eliminated redundant calls to thread_self().
2000-07-18Define RETURN_ADDRESS macro.Ulrich Drepper1-0/+4
2000-07-18Update.Andreas Jaeger2-1/+4
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of NULL to elf_machine_fixup_plt t argument to silence GCC.
2000-07-18Update.Andreas Jaeger2-0/+5
* include/string.h: Add prototype for __memchr.
2000-07-18Upate.Andreas Jaeger2-1/+8
2000-07-18 Andreas Jaeger <aj@suse.de> * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias. * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr instead of memrchr.
2000-07-18Fix copy & paste error: Use memchr instead of memrchr.Andreas Jaeger1-1/+1
2000-07-18Update.Ulrich Drepper6-3/+34
2000-07-18 Ulrich Drepper <drepper@redhat.com> * intl/Makefile: Make sure tst-translit is run after tst-gettext. * locale/C-ctype.c: Add initializers for gap elements. * locale/programs/ld-ctype.c (ctype_output): Write out index entries for gap elements.
2000-07-18Update.Ulrich Drepper1-0/+4
2000-07-16 Ulrich Drepper <drepper@redhat.com> * nscd/nscd.c (print_version): Update copyright year.
2000-07-18* elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer. Greg McGary4-5/+19
(profile_fixup): Don't define for __BOUNDED_POINTERS__. * sysdeps/i386/dl-machine.h: Don't use regparm attribute for __BOUNDED_POINTERS__. (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version for __BOUNDED_POINTERS__. * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl. * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer. (profile_fixup): Don't define for __BOUNDED_POINTERS__. * sysdeps/i386/dl-machine.h: Don't use regparm attribute for __BOUNDED_POINTERS__. (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version for __BOUNDED_POINTERS__.
2000-07-17* sysdeps/generic/bp-checks.h: Use unbounded __memchr Greg McGary10-77/+126
rather than non-existent __ubp_memchr. (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros. (_CHECK_STRING, _CHECK_N): New macros. (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*. (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'. * sysdeps/alpha/memchr.S: Change strong name to "__memchr". Add weak alias "memchr". * sysdeps/generic/memchr.c: Likewise. * sysdeps/i386/memchr.S: Likewise. * sysdeps/ia64/memchr.S: Likewise. * sysdeps/m68k/memchr.S: Likewise. * sysdeps/sparc/sparc32/memchr.S: Likewise. * sysdeps/sparc/sparc64/memchr.S: Likewise. * sysdeps/vax/memchr.s: Likewise. * sysdeps/generic/bp-checks.h: Use unbounded __memchr rather than non-existent __ubp_memchr. (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros. (_CHECK_STRING, _CHECK_N): New macros. (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*. (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'. * sysdeps/alpha/memchr.S: Change strong name to "__memchr". Add weak alias "memchr". * sysdeps/generic/memchr.c: Likewise. * sysdeps/i386/memchr.S: Likewise. * sysdeps/ia64/memchr.S: Likewise. * sysdeps/m68k/memchr.S: Likewise. * sysdeps/sparc/sparc32/memchr.S: Likewise. * sysdeps/sparc/sparc64/memchr.S: Likewise. * sysdeps/vax/memchr.s: Likewise.
2000-07-17* Makerules (o-objects): Supplement with $(o-objects$o). Greg McGary3-2/+12
* string/Makefile (o-objects.ob): Add variable to pull unbounded versions of memcpy, memset and memchr into libc_b. * Makerules (o-objects): Supplement with $(o-objects$o). * string/Makefile (o-objects.ob): Add variable to pull unbounded versions of memcpy, memset and memchr into libc_b.
2000-07-17* include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods. Greg McGary3-9/+13
* include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify ptr as __unbouned. * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods. * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify ptr as __unbouned.
2000-07-17* libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to Greg McGary7-8/+33
_IO_file_attach. * libio/iovdprintf.c (_IO_vdprintf): Likewise. * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings. * sysdeps/unix/sysv/linux/execve.c (__execve): Add const qualifiers. Don't check NULL-terminator of argv & envp. * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use unbounded pointer type in word-size assertion. * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing cases to stifle warnings. * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to _IO_file_attach. * libio/iovdprintf.c (_IO_vdprintf): Likewise.
2000-07-17* sysdeps/unix/make-syscalls.sh: Handle new arg signature Greg McGary11-86/+118
keyletters F, I, S, W. Remove unused keyletter V. Surround signature argnames with angle-brackets for use as word delimiters, and to induce syntax errors for any args not handled. Split multi-echo echoes and comment each stage. * sysdeps/unix/common/syscalls.list: Refine & correct signatures. * sysdeps/unix/inet/syscalls.list: Likewise. * sysdeps/unix/mman/syscalls.list: Likewise. * sysdeps/unix/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/syscalls.list: Likewise. * sysdeps/unix/sysv/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/powerpc/syscalls.list 2000-07-17 Greg McGary <greg@mcgary.org> * sysdeps/unix/make-syscalls.sh: Handle new arg signature keyletters F, I, S, W. Remove unused keyletter V. Surround signature argnames with angle-brackets for use as word delimiters, and to induce syntax errors for any args not handled. Split multi-echo echoes and comment each stage. * sysdeps/unix/common/syscalls.list: Refine & correct signatures. * sysdeps/unix/inet/syscalls.list: Likewise. * sysdeps/unix/mman/syscalls.list: Likewise. * sysdeps/unix/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/syscalls.list: Likewise. * sysdeps/unix/sysv/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/powerpc/syscalls.list
2000-07-17Update.Ulrich Drepper10-52/+100
2000-07-17 Bruno Haible <haible@clisp.cons.org> * iconv/gconv_open.c (__gconv_open): Initialize the __data field of struct __gconv_trans_data differently. Don't pass NULL to trans_init_fct. Simplify list append operation. 2000-07-14 Bruno Haible <haible@clisp.cons.org> * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms, not only those having tsearch. 2000-07-17 Ulrich Drepper <drepper@redhat.com> * locale/langinfo.h: Add placeholder values in enum for removed LC_CTYPE entries. 2000-07-17 Jakub Jelinek <jakub@redhat.com> * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded chain if the PHDR check fails. 2000-07-17 Mark Kettenis <kettenis@gnu.org> * nss/getent.c (print_hosts): Make sure we always print a space between numeric addresses and hostnames. 2000-07-17 Wolfram Gloger <wg@malloc.de> * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed, i.e. if n_mmaps_max>0. 2000-07-16 Mark Kettenis <kettenis@gnu.org> * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust values to remove possible clash with other AI_* constants. (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as hexadecimal constants to stress the fact they're in fact bit flags. 2000-07-15 Mark Kettenis <kettenis@gnu.org> * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>. (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit instead of res_init.
2000-07-16Update.Ulrich Drepper2-3/+11
2000-07-16 Ulrich Drepper <drepper@redhat.com> * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first parameters of memset calls to avoid warnings. * stdlib/Makefile: Rewrite rules to avoid running isomac unless necessary. * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
2000-07-16Update.Ulrich Drepper7-48/+61
2000-07-16 Ulrich Drepper <drepper@redhat.com> * Makefile: Rewrite rules for tests to run them only when necessary. * sort-test.sh: Produce output for failed tests. * tst-fmon.sh: Likewise. * tst-rpmatch.sh: Likewise.
2000-07-16Update.Ulrich Drepper2-2/+6
* io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
2000-07-16Update.Ulrich Drepper4-15/+181
2000-07-15 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch. Patch by Greg McGary <greg@mcgary.org>. * io/Makefile (tests): Add tst-getcwd. * io/tst-getcwd.c: New file.
2000-07-15Update.Ulrich Drepper4-1/+16
2000-07-15 Jakub Jelinek <jakub@redhat.com> * gconv_open (__gconv_open): Initialize whole __gconv_trans_data structure. 2000-07-13 Jakub Jelinek <jakub@redhat.com> * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias. * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
2000-07-15Update.Ulrich Drepper5-23/+352
2000-05-05 H.J. Lu <hjl@gnu.org> * sysdeps/ia64/pt-machine.h (__compare_and_swap): Change it to have acquire semantics. (__compare_and_swap_with_release_semantics): New inline function. (HAS_COMPARE_AND_SWAP_WITH_RELEASE_SEMANTICS): New macro. 2000-01-28 Hans Boehm <hboehm@exch.hpl.hp.com> * manager.c: Fix the problem with signals at startup. Change the way that thread stacks are allocated on IA64. Clean up some of the guard page allocation stuff. 1999-12-19 H.J. Lu <hjl@gnu.org> * internals.h (page_roundup): New. * attr.c (__pthread_attr_setguardsize); Use page_roundup instead of roundup. * manager.c (pthread_allocate_stack): Make sure guardaddr is page aligned with page_roundup if NEED_SEPARATE_REGISTER_STACK is define. 1999-12-17 Hans Boehm <hboehm@exch.hpl.hp.com> * manager.c (pthread_allocate_stack): Unmap the stack top if failed to map the stack bottom. Fix the guard page. (pthread_free): Fix the guard page. * pthread.c (pthread_initialize): Set rlimit correctly for NEED_SEPARATE_REGISTER_STACK. 1999-12-16 H.J. Lu <hjl@gnu.org> * pthread.c (__pthread_initialize_manager): Pass __pthread_manager_thread_bos instead of __pthread_manager_thread_tos to __clone2. 1999-12-16 H.J. Lu <hjl@gnu.org> * manager.c (pthread_allocate_stack): Correct the calculation of "new_thread_bottom". Remove MAP_GROWSDOWN from mmap for stack bottom. 1999-12-13 H.J. Lu <hjl@gnu.org> * sysdeps/ia64/pt-machine.h (__compare_and_swap): Added a stop bit after setting ar.ccv. 1999-12-12 H.J. Lu <hjl@gnu.org> * manager.c (pthread_allocate_stack): Make the starting address of the stack bottom page aligned. FIXME: it may need changes in other places. (pthread_handle_create): Likewise. 1999-12-11 Hans Boehm <hboehm@exch.hpl.hp.com> * manager.c (pthread_allocate_stack): Handle NEED_SEPARATE_REGISTER_STACK. (pthread_handle_create): Likewise. * pthread.c (__pthread_initialize_manager): Likewise. * sysdeps/ia64/pt-machine.h: Use r13 for thread pointer. 1999-12-02 H.J. Lu <hjl@gnu.org> * sysdeps/ia64/pt-machine.h: New.
2000-07-15Update.Ulrich Drepper5-1/+106
2000-07-12 H.J. Lu <hjl@gnu.org> * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to GLIBC_2.2. * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S. * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc] (sysdep-routines): Add clone2. * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
2000-07-15Update.Ulrich Drepper10-10/+756
2000-07-13 Jes Sorensen <jes@linuxcare.com> * sysdeps/unix/sysv/linux/ia64/clone.S: New file. * sysdeps/unix/sysv/linux/ia64/fork.c: New file. 2000-06-05 David Mosberger <davidm@hpl.hp.com> * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file based on sysdeps/unix/sysv/linux/bits/siginfo.h. Change type of si_band from "int" to "long". (si_imm) [USE_GNU]: Define (si_isr) [USE_GNU]: Ditto. (ILL_BREAK) [USE_GNU]: Ditto. (FPE_DECOVF) [USE_GNU]: Ditto. (FPE_DECDIV) [USE_GNU]: Ditto. (FPE_DECERR) [USE_GNU]: Ditto. (FPE_INVASC) [USE_GNU]: Ditto. (FPE_INVDEC) [USE_GNU]: Ditto. (TRAP_BRANCH) [USE_GNU]: Ditto. (TRAP_HWBKPT) [USE_GNU]: Ditto. 2000-07-06 Jes Sorensen <jes@linuxcare.com> * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include bits/sigcontext as struct mcontext does not depend on it. * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file. 2000-07-04 Jes Sorensen <jes@linuxcare.com> * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed. 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com> * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file. 2000-06-22 Jes Sorensen <jes@linuxcare.com> * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file. * intl/translit.po: New file.
2000-07-15Update.Ulrich Drepper4-4/+102
2000-07-15 Ulrich Drepper <drepper@redhat.com> * intl/Makefile (test-srcs): Add tst-translit. (tests): Likewise. Add rules to build and run tst-translit. * intl/tst-translit.c: New file. * intl/tst-translit.sh: New file.
2000-07-15Update.Ulrich Drepper3-5/+13
2000-07-14 Ulrich Drepper <drepper@redhat.com> * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the transliteration function did its job, continue, don't stop. * iconvdata/iso646.c: Little optimizations in body for conversion from UCS4.
2000-07-14Update.Ulrich Drepper2-1/+5
* dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning. 2000-07-14 Mark Kettenis <kettenis@gnu.org>
2000-07-14Update.Ulrich Drepper4-99/+152
2000-07-14 Mark Kettenis <kettenis@gnu.org> * configure.in: Check for pwd binary. * config.make.in: Add PWD_P to be subsituted. * Makerules: Use $(PWD_P) instead of /bin/pwd.
2000-07-14Check for pwd binary.Ulrich Drepper1-0/+10
2000-07-14Add PR numbers.Andreas Jaeger1-2/+2
2000-07-14Update.Ulrich Drepper6-2/+26
2000-07-14 Ulrich Drepper <drepper@redhat.com> * iconvdata/Makefile (modules): Add GB18030. (distribute): Add gb18030.c. * iconvdata/gconv-modules: Add entries for GB18030 module. * iconvdata/gb18030.c: New file. Contributed by Wang ShouHua <shouhuawang@redflag-linux.com> and Wu Jian.
2000-07-14GB18030 iconv module for glibc.Ulrich Drepper1-0/+50271
2000-07-14Update.Andreas Jaeger1-0/+13
2000-07-13 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last patch. * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid. * inet/getnetgrent.c (free_mem): Likewise. * misc/mntent.c (free_mem): Likewise. * nss/getXXbyYY.c (free_mem): Likewise. * nss/getXXent.c (free_mem): Likewise. * pwd/fgetpwent.c (free_mem): Likewise. * shadow/fgetspent.c (free_mem): Likewise.
2000-07-14* sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last Andreas Jaeger8-37/+29
patch. * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid. * inet/getnetgrent.c (free_mem): Likewise. * misc/mntent.c (free_mem): Likewise. * nss/getXXbyYY.c (free_mem): Likewise. * nss/getXXent.c (free_mem): Likewise. * pwd/fgetpwent.c (free_mem): Likewise. * shadow/fgetspent.c (free_mem): Likewise.
2000-07-14Update.Ulrich Drepper1-1/+2
(_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate [PR libc/1813].
2000-07-14Update.Ulrich Drepper4-2/+22
2000-07-14 Ulrich Drepper <drepper@redhat.com> * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on 64-bit architecture correctly [PR libc/1794].
2000-07-13Update.Ulrich Drepper10-9/+50
* elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2. * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the report that we are out of memory. * elf/dl-deps.c (_dl_map_object_deps): Likewise. * elf/dl-libc.c (dlerror_run): Likewise. * elf/dl-open.c (_dl_open): Likewise. * elf/rtld.c (dl_main): Likewise. * elf/dl-error.c: Define _dl_out_of_memory. (_dl_signal_error): Return _dl_signal_error if we cannot duplicate the error string. * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory. * dlfcn/dlerror.c (free_key_mem): Also free error string. * iconv/loop.c: Fix comment.
2000-07-13Update.Ulrich Drepper1-4/+6
2000-07-13 Ulrich Drepper <drepper@redhat.com> * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL. Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>. * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
2000-07-13(tr_freehook): Return immediately if ptr is NULL.Ulrich Drepper1-1/+3