aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-08-202004-08-20 Roland McGrath <roland@frob.com>Roland McGrath
* csu/Makefile ($(objpfx)version-info.h): Use printf in place of echo -e for POSIX.2 portability. Reported by Paul Jarc <prj@po.cwru.edu>.
2004-08-19Update.Ulrich Drepper
* sysdeps/posix/getaddrinfo.c (gaih_inet): Minor optimizations in list generation.
2004-08-19Update.Ulrich Drepper
* sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use getcanonname_r function if AI_CANONNAME flag is not set in request.
2004-08-19Update.Ulrich Drepper
2004-08-19 Ulrich Drepper <drepper@redhat.com> * nis/nss_compat/compat-initgroups.c (getgrent_next_nss): Initialize mysize with limits only if latter is >= 0. Use mysize in malloc call.
2004-08-19Update.Ulrich Drepper
2004-08-19 Jakub Jelinek <jakub@redhat.com> * sysdeps/posix/getaddrinfo.c (gaih_inet): Cast canon to (char *) to avoid warning. * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Initialize status to NSS_STATUS_UNAVAIL. 2004-08-19 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/getaddrinfo.c (gaih_inet): Use h->h_name in the cannoname lookup since it has the FQDN even if the original NAME value has not.
2004-08-18Update.Ulrich Drepper
2004-08-18 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/getaddrinfo.c (gaih_inet): Store NAME parameter pointer in new variable ORIG_NAME and se this pointer when determination of canonical name failed, not the possibly IDN translated value of NAME.
2004-08-18Update.Ulrich Drepper
* resolv/resolv.h (RES_DEFAULT): Add RES_NOIP6DOTINT. * resolv/res_init.c (res_setoptions): Recognize ip6-dotint option. Reset RES_NOIP6DOTINT flag in this case..
2004-08-18UpdateUlrich Drepper
2004-08-17 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/getaddrinfo.c: Fix memory handling of ai_canonname.
2004-08-16Update.Ulrich Drepper
2004-08-16 Ulrich Drepper <drepper@redhat.com> * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Don't use CNAME records, we better follow the chain of CNAME records which can be accomplished with A/AAAA lookups.
2004-08-16(_nss_dns_getcanonname_r): Don't use CNAME records, we better follow the ↵Ulrich Drepper
chain of CNAME records which can be accomplished with A/AAAA lookups.
2004-08-16* sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who):Roland McGrath
Remove __RUSAGE_BOTH constant and RUSAGE_BOTH macro. * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
2004-08-16* sysdeps/i386/i686/Makefile (elide-routines.os): Append hp-timing toRoland McGrath
this, not ... (static-only-routines): ... this. * sysdeps/ia64/Makefile: Likewise. * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise. * sysdeps/sparc/sparc64/Makefile: Likewise. * sysdeps/x86_64/Makefile: Likewise. * sysdeps/i386/i686/hp-timing.c: Revert copyright terms change. * sysdeps/ia64/hp-timing.c: Likewise. * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Likewise. * sysdeps/sparc/sparc64/hp-timing.c: Likewise.
2004-08-16* csu/elf-init.c: Update copyright terms including special exceptionRoland McGrath
for these trivial files, which are statically linked into executables that use dynamic linking for the significant library code. * io/fstat.c: Likewise. * io/fstat64.c: Likewise. * io/lstat.c: Likewise. * io/lstat64.c: Likewise. * io/stat.c: Likewise. * io/stat64.c: Likewise. * stdlib/atexit.c: Likewise. * sysdeps/alpha/elf/initfini.c: Likewise. * sysdeps/alpha/elf/start.S: Likewise. * sysdeps/arm/elf/start.S: Likewise. * sysdeps/cris/elf/start.S: Likewise. * sysdeps/generic/initfini.c: Likewise. * sysdeps/generic/mknod.c: Likewise. * sysdeps/hppa/elf/initfini.c: Likewise. * sysdeps/hppa/elf/start.S: Likewise. * sysdeps/i386/elf/start.S: Likewise. * sysdeps/i386/i686/hp-timing.c: Likewise. * sysdeps/ia64/elf/initfini.c: Likewise. * sysdeps/ia64/elf/start.S: Likewise. * sysdeps/ia64/hp-timing.c: Likewise. * sysdeps/m68k/elf/start.S: Likewise. * sysdeps/mach/start.c: Likewise. * sysdeps/mips/elf/start.S: Likewise. * sysdeps/powerpc/powerpc32/elf/start.S: Likewise. * sysdeps/powerpc/powerpc64/elf/start.S: Likewise. * sysdeps/s390/s390-32/elf/start.S: Likewise. * sysdeps/s390/s390-32/initfini.c: Likewise. * sysdeps/s390/s390-64/elf/start.S: Likewise. * sysdeps/s390/s390-64/initfini.c: Likewise. * sysdeps/sh/elf/initfini.c: Likewise. * sysdeps/sh/elf/start.S: Likewise. * sysdeps/sparc/sparc32/elf/start.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Likewise. * sysdeps/sparc/sparc64/elf/start.S: Likewise. * sysdeps/sparc/sparc64/hp-timing.c: Likewise. * sysdeps/standalone/i386/start.S: Likewise. * sysdeps/standalone/i960/start.S: Likewise. * sysdeps/standalone/m68k/m68020/start.S: Likewise. * sysdeps/unix/arm/start.c: Likewise. * sysdeps/unix/bsd/osf/alpha/start.S: Likewise. * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise. * sysdeps/unix/sparc/start.c: Likewise. * sysdeps/unix/start.c: Likewise. * sysdeps/unix/sysv/aix/start.s: Likewise. * sysdeps/unix/sysv/irix4/start.c: Likewise. * sysdeps/x86_64/elf/initfini.c: Likewise. * sysdeps/x86_64/elf/start.S: Likewise.
2004-08-15[BZ #227]Roland McGrath
2004-08-15 Roland McGrath <roland@redhat.com> [BZ #227] * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_BRK_PAGE_ROUNDED): New macro. * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk) [! __ASSUME_BRK_PAGE_ROUNDED]: Adjust the break up if it falls within the partial page after the dynamic linker's own data segment.
2004-08-15[BZ #227]Roland McGrath
2004-08-15 Roland McGrath <roland@redhat.com> [BZ #227] * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_BRK_PAGE_ROUNDED): New macro. * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk) [! __ASSUME_BRK_PAGE_ROUNDED]: Adjust the break up if it falls within the partial page after the dynamic linker's own data segment.
2004-08-15Update.Ulrich Drepper
* sysdeps/posix/getaddrinfo.c (gaih_inet): Optimize generation of v4-mapped addresses a bit. (gethosts): Move alloca out of macro, so that it is done only once.
2004-08-15Update.Ulrich Drepper
* sysdeps/posix/getaddrinfo.c (gaih_addrtuple): Change type of addr to avoid casts. (gethosts): Removed. (gethosts2): Renamed to gethosts. Make it usable for family != AF_UNSPEC. Fix AI_V4MAPPED. (gaih_inet): Remove use of old gethosts. Always use what used to be gethosts2. If entry is found, try to use the same NSS module's getcanonname_r function. Use gethostbyaddr for AI_CANONNAME only if getcanonname_r was not available. Fix filtering of AI_V4MAPPED addresses. Numerous cleanups. * resolv/nss_dns/dns-canon.c: New file. * resolv/Makefile (libnss_dns-routines): Add dns-canon. * resolv/Versions (libnss_dns): Add _nss_dns_getcanonname_r. * elf/Makefile: Add rules to build and run tst-dlopenrpath. * elf/tst-dlopenrpath.c: New file. * elf/tst-dlopenrpathmod.c: New file. * intl/tst-gettext.sh: Adjust for change of de.po file to UTF-8.
2004-08-15Update.Ulrich Drepper
* intl/tst-gettext.sh: Adjust for change for de.po file to UTF-8. * intl/tst-gettext.c: Likewise.
2004-08-15Update.Ulrich Drepper
* nss/getent.c (ahosts_keys_int): Correctly print IPv6 addresses.
2004-08-15Update.Ulrich Drepper
2004-08-15 Ulrich Drepper <drepper@redhat.com> * nss/getent.c: Allow queries for getaddrinfo with AF_INET and AF_INET6.
2004-08-15Update.Ulrich Drepper
2004-08-14 Ulrich Drepper <drepper@redhat.com> * po/de.po: Update from translation team.
2004-08-15Update from translation team.Ulrich Drepper
2004-08-14* sysdeps/mach/configure: Regenerated.Roland McGrath
* sysdeps/mach/hurd/configure: Regenerated. * sysdeps/posix/getaddrinfo.c (getaddrinfo): If RFC3484 sorting is performed, make sure it is still the first entry after sorting that has the ai_canonname information.
2004-08-142004-08-14 Roland McGrath <roland@frob.com>Roland McGrath
* sysdeps/mach/configure: Regenerated. * sysdeps/mach/hurd/configure: Regenerated.
2004-08-14Update.Ulrich Drepper
* sysdeps/posix/getaddrinfo.c (getaddrinfo): I rfc3484 sorting is performed, make sure it is still the first entry after sotring which has the ai_canonname information.
2004-08-14Update.Ulrich Drepper
2004-08-14 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/getaddrinfo.c (gaih_inet): Really set ai_canonname only in one entry.
2004-08-14(gaih_inet): Really set ai_canonname only in one entry.Ulrich Drepper
2004-08-14* scripts/output-format.sed: Handle default case of three-argumentRoland McGrath
OUTPUT_FORMAT. * sysdeps/arm/machine-gmon.h (mcount_internal): Mark as __attribute_used__.
2004-08-142004-08-13 Daniel Jacobowitz <dan@debian.org>Roland McGrath
* scripts/output-format.sed: Handle default case of three-argument OUTPUT_FORMAT.
2004-08-14Update.Ulrich Drepper
* nss/getent.c (ahosts_keys): ai_canonname is NULL for all but the first returned entry. Print name only if not NULL.
2004-08-14Update.Ulrich Drepper
* nis/nss_nis/nis-netgrp.c: Remove locking by using data in struct __netgrent object passed in instead of global variables. Optimize. * nis/nss_nisplus/nisplus-netgrp.c: Remove locking by using data in struct __netgrent object passed in instead of global variables. * inet/netgroup.h (struct __netgrent): Add service_user field. Move cursor in anonymous union, add new field location to that union. * inet/getnetgrent_r.c: Extensive rewrite to really enable concurrent uset of set/get/endnetgrent and innetgr.
2004-08-13Update.Ulrich Drepper
* inet/getnetgrent_r.c (innetgr): We must get the lock used for the set/get/end interfaces since we call all these functions in succession and must not be interrupted doing this. Reported by Chuck Simmons.
2004-08-13Update.Ulrich Drepper
* inet/netgroup.h (struct name_list): Replace name pointer with zero-sized array. * inet/getnetgrent_r.c: Adjust code for change in name_list layout. Numerous strdup and free calls removed.
2004-08-13Update.Ulrich Drepper
non-hidden over hidden symbols and strong over weak symbols if both don't start with '_'.
2004-08-13Update.Ulrich Drepper
2004-08-13 Ulrich Drepper <drepper@redhat.com> * elf/sprof.c (read_symbols): When comparing aliases, prefer strong over weak symbols if both don't start with '_'. * malloc/malloc.c: Use strong_alias instead of weak_alias wherever possible.
2004-08-13Update.Ulrich Drepper
2004-08-09 Jakub Jelinek <jakub@redhat.com> * libc-tsd.c: Move resolv.h include before the #if. (__res_maybe_init): New function. Add libc_hidden_def.
2004-08-13Update.Ulrich Drepper
2004-08-12 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/bits/resource.h: Define non-standard RUSAGE_ enums as __RUSAGE_ and adjust macros accordingly. * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise. Define non-standard RLIMIT_ enums as __RLIMIT_ and adjust macros accordingly.
2004-08-13Update.Ulrich Drepper
2004-08-11 Andreas Schwab <schwab@suse.de> * resolv/res_libc.c: Move definition of __res_initstamp ... * resolv/res_init.c: ... here.
2004-08-13Update.Ulrich Drepper
2004-08-10 GOTO Masanori <gotom@debian.or.jp> * locale/C-time.c: Change default ERA value from NULL to "". * locale/tst-C-locale.c: Add test case for ERA keywords.
2004-08-12Update.Ulrich Drepper
2004-08-12 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/bits/resource.h: Define non-standard RLIMIT__ enums as __RLIMIT_ and adjust macros accordingly. * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise. 2004-08-12 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_SIGPENDING, RLIMIT_MSGQUEUE): Add. (RLIMIT_NLIMITS, RLIM_NLIMITS): Adjust. * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIMIT_SIGPENDING, RLIMIT_MSGQUEUE, RLIMIT_NLIMITS): Add. (RLIM_NLIMITS): Adjust. * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIMIT_SIGPENDING, RLIMIT_MSGQUEUE, RLIMIT_NLIMITS): Add. (RLIM_NLIMITS): Adjust. * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_SIGPENDING, RLIMIT_MSGQUEUE, RLIMIT_NLIMITS): Add. (RLIM_NLIMITS): Adjust.
2004-08-12Update.Ulrich Drepper
2004-08-12 Jakub Jelinek <jakub@redhat.com> * resolv/res_query.c (__libc_res_nsearch): Protect the debugging printf with #ifdef DEBUG and RES_DEBUG check. * sysdeps/unix/sysv/linux/bits/shm.h: Move __END_DECLS after __USE_MISC #endif. * sysdeps/generic/bits/shm.h: Add __BEGIN_DECLS for __getpagesize declaration. * sysdeps/gnu/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise.
2004-08-12Update.Ulrich Drepper
2004-08-12 Ulrich Drepper <drepper@redhat.com> * po/ca.po: Update from translation team.
2004-08-12Update from translation team.Ulrich Drepper
2004-08-12* configure.in (libc_cv_cpp_asm_debuginfo): Add missing braces aroundRoland McGrath
commands inside &&. Reported by Andreas Schwab <schwab@suse.de>. * configure: Regenerated.
2004-08-122004-08-11 Roland McGrath <roland@redhat.com>Roland McGrath
* configure.in (libc_cv_cpp_asm_debuginfo): Add missing braces around commands inside &&. Reported by Andreas Schwab <schwab@suse.de>. * configure: Regenerated.
2004-08-12Update.Ulrich Drepper
2004-08-11 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/bits/shm.h: Add __BEGIN_DECLS for __getpagesize declaration.
2004-08-12Add __BEGIN_DECLS for __getpagesize declaration.Ulrich Drepper
2004-08-11* rt/tst-timer2.c (do_test): If timer_create fails, just continue.Roland McGrath
* rt/tst-timer4.c (do_test): If one of the timer_create calls fails, return 1 immediately.
2004-08-11* posix/tst-waitid.c (do_test): Ignore SIGCHLD before cleanup SIGKILL.Roland McGrath
2004-08-112004-08-11 Roland McGrath <roland@redhat.com>Roland McGrath
* posix/tst-waitid.c (do_test): Ignore SIGCHLD before cleanup SIGKILL.