mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 03:10:05 +00:00
a0bf6ac732
* 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>. |
||
---|---|---|
.. | ||
dns-host.c | ||
dns-network.c |