NetBSD/lib/libc/net
itojun 2842a2f6bb fix name resolution problem when you have "hosts: files dns" on
/etc/nsswitch.conf.

This was because of two reasons:
- /etc/hosts lookup code damaged some of internal
  state used by gethostbyname2().
- getaddrinfo() was not persistent enough against errors.

Sorry for the delay, and hope this fix all the following PRs
(I checked in my environment immitating those PRs and it worked for me)
PR: 7901, 7912, 7921
1999-07-06 02:00:41 +00:00
..
__dn_comp.c
__res_close.c
__res_send.c
base64.c
byteorder.3
ethers.3
ethers.c
getaddrinfo.3
getaddrinfo.c fix name resolution problem when you have "hosts: files dns" on 1999-07-06 02:00:41 +00:00
gethnamaddr.c fix name resolution problem when you have "hosts: files dns" on 1999-07-06 02:00:41 +00:00
gethostbyname.3
getnameinfo.3
getnameinfo.c
getnetent.3
getnetent.c
getnetnamadr.c
getproto.c
getprotoent.3
getprotoent.c
getprotoname.c
getservbyname.c
getservbyport.c
getservent.3
getservent.c
herror.c
hesiod.3
hesiod.c
htonl.c
htons.c
if_indextoname.3
ifname.c
inet_lnaof.c
inet_makeaddr.c
inet_net_ntop.c
inet_net_pton.c
inet_net.3
inet_neta.c
inet_netof.c
inet_network.c
inet_ntoa.c
inet_ntop.c
inet_pton.c
inet.3
ip6opt.c
iso_addr.3
iso_addr.c
linkaddr.3
linkaddr.c
Lint_htonl.c
Lint_htons.c
Lint_ntohl.c
Lint_ntohs.c
Makefile.inc
ns_addr.c
ns_ntoa.c
ns.3
nsap_addr.c
nsdispatch.3
nsdispatch.c
nslexer.l
nsparser.y
ntohl.c
ntohs.c
rcmd.3
rcmd.c
recv.c
res_comp.c
res_data.c
res_debug.c
res_init.c
res_mkquery.c
res_query.c
res_send.c
resolver.3
rthdr.c
send.c
sethostent.c
vars6.c