diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-09-15 10:10:05 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-09-15 10:10:05 +0000 |
commit | d1fe1f22192f27425accde26c562f456d835e74a (patch) | |
tree | 71f5e13d2d55c9d44a2dda0e73abfb4d2875fc70 /posix | |
parent | dc4f1624fce3d89df08923600837cace1329a88d (diff) | |
download | glibc-d1fe1f22192f27425accde26c562f456d835e74a.zip glibc-d1fe1f22192f27425accde26c562f456d835e74a.tar.gz glibc-d1fe1f22192f27425accde26c562f456d835e74a.tar.bz2 |
Update.
* nscd/aicache.c: Prefer using gethostbyname3_r NSS callback to also
get ttl and canonical name. Use these two values.
* resolv/Versions: Export _nss_dns_gethostbyname3_r from libnss_dns.
* resolv/nss_dns/dns-host.c (getanswer_r): Take two new parameters.
If nonnull fill with TTL and pointer to canonical name respectively.
(_nss_dns_gethostbyaddr_r): Pass NULL in new parameters of getanswer_r.
(_nss_dns_gethostbyname2_r): Just wrapper around
_nss_dns_gethostbyname3_r.
(_nss_dns_gethostbyname3_r): Renamed from _nss_dns_gethostbyname2_r.
Take two new parameters which as passed to getanswer_r.
Diffstat (limited to 'posix')
-rw-r--r-- | posix/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/Makefile b/posix/Makefile index d0ad95d..766c1dd 100644 --- a/posix/Makefile +++ b/posix/Makefile @@ -126,7 +126,7 @@ endif endif CFLAGS-regex.c = -Wno-strict-prototypes -CFLAGS-getaddrinfo.c = -DRESOLVER -fexceptions +CFLAGS-getaddrinfo.c = -DRESOLVER -fexceptions -DUSE_NSCD CFLAGS-pread.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-pread64.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-pwrite.c = -fexceptions -fasynchronous-unwind-tables |