diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-09-12 19:24:42 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-09-12 19:24:42 +0000 |
commit | a0bf6ac732c7cbe42939782d38a9bb1d7403c86a (patch) | |
tree | b0b69c735cc22c5f3bc188c90c350bb760d5413e /resolv/gethnamaddr.c | |
parent | 9e5dcaa88cf86706b0cd17b49cfe299b198aaef0 (diff) | |
download | glibc-a0bf6ac732c7cbe42939782d38a9bb1d7403c86a.tar glibc-a0bf6ac732c7cbe42939782d38a9bb1d7403c86a.tar.gz glibc-a0bf6ac732c7cbe42939782d38a9bb1d7403c86a.tar.bz2 glibc-a0bf6ac732c7cbe42939782d38a9bb1d7403c86a.zip |
Update.
* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
fails don't rely on errno value.
(getanswer_r): Set *ERRNOP in error cases.
* sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
(gaih_inet_serv): Return EIA_NODATA if name is known but has no
associated data. Test for matching numeric address and family.
(getaddrinfo): Remember EAI_NODATA result and return this in case
everything fails.
Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
Diffstat (limited to 'resolv/gethnamaddr.c')
0 files changed, 0 insertions, 0 deletions