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 delint 1998-11-13 15:46:52 +00:00
byteorder.3 Last of the .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 19:44:33 +00:00
ethers.3 Last of the .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 19:44:33 +00:00
ethers.c delint 1998-11-13 15:46:52 +00:00
getaddrinfo.3 Add missing LIBRARY sections. 1999-07-03 13:58:31 +00:00
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 document gethostbyname2(). 1999-07-01 18:18:27 +00:00
getnameinfo.3 Add missing LIBRARY sections. 1999-07-03 13:58:31 +00:00
getnameinfo.c add NetBSD RCSID on top. 1999-07-04 00:43:43 +00:00
getnetent.3 Last of the .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 19:44:33 +00:00
getnetent.c
getnetnamadr.c Use a _files prefix for local backend routines; would clash with namespace.h 1999-05-04 15:11:42 +00:00
getproto.c
getprotoent.3 Last of the .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 19:44:33 +00:00
getprotoent.c
getprotoname.c
getservbyname.c
getservbyport.c
getservent.3 Remove spurious .ne's. 1999-03-24 06:27:49 +00:00
getservent.c
herror.c h_errlist[] is not exported in any header file. We should consider making 1998-11-30 20:15:41 +00:00
hesiod.3 add hesiod(3) et al 1999-01-25 03:43:04 +00:00
hesiod.c In hesiod_to_bind(), don't append lhs and an extra dot if lhs is empty. 1999-02-11 06:16:38 +00:00
htonl.c
htons.c
if_indextoname.3 Add missing LIBRARY sections. 1999-07-03 13:58:31 +00:00
ifname.c add NetBSD RCSID on top. 1999-07-04 00:43:43 +00:00
inet_lnaof.c
inet_makeaddr.c delint 1998-11-13 15:46:52 +00:00
inet_net_ntop.c
inet_net_pton.c delint 1998-11-13 15:46:52 +00:00
inet_net.3 Last of the .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 19:44:33 +00:00
inet_neta.c delint 1998-11-13 15:46:52 +00:00
inet_netof.c
inet_network.c
inet_ntoa.c delint 1998-11-13 15:46:52 +00:00
inet_ntop.c
inet_pton.c delint 1998-11-13 15:46:52 +00:00
inet.3 Add a reference to XNS5.2 D2.0 for inet_{ntop,pton}(). 1999-07-03 14:16:12 +00:00
ip6opt.c add NetBSD RCSID on top. 1999-07-04 00:43:43 +00:00
iso_addr.3
iso_addr.c delint 1998-11-13 15:46:52 +00:00
linkaddr.3 Clarify that sdl->sdl_len must be initialized before call to link_addr() 1999-06-25 16:13:21 +00:00
linkaddr.c delint 1998-11-13 15:46:52 +00:00
Lint_htonl.c Make these work again, by undef'ing the macro that could cause syntax errors. 1999-05-03 13:12:34 +00:00
Lint_htons.c Make these work again, by undef'ing the macro that could cause syntax errors. 1999-05-03 13:12:34 +00:00
Lint_ntohl.c Make these work again, by undef'ing the macro that could cause syntax errors. 1999-05-03 13:12:34 +00:00
Lint_ntohs.c Make these work again, by undef'ing the macro that could cause syntax errors. 1999-05-03 13:12:34 +00:00
Makefile.inc add IPv6 support functions. 1999-07-01 18:23:53 +00:00
ns_addr.c delint 1998-11-13 15:46:52 +00:00
ns_ntoa.c delint 1998-11-13 15:46:52 +00:00
ns.3 Last of the .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 19:44:33 +00:00
nsap_addr.c delint 1998-11-13 15:46:52 +00:00
nsdispatch.3 Last of the .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 19:44:33 +00:00
nsdispatch.c sprinkle argsused till lint smiles at you. 1999-05-03 15:17:13 +00:00
nslexer.l Need "namespace.h". 1999-07-02 15:27:08 +00:00
nsparser.y Need "namespace.h". 1999-07-02 15:27:08 +00:00
ntohl.c
ntohs.c
rcmd.3 add NetBSD RCSID on top. 1999-07-04 00:43:43 +00:00
rcmd.c add NetBSD RCSID on top. 1999-07-04 00:43:43 +00:00
recv.c
res_comp.c delint 1998-11-13 15:46:52 +00:00
res_data.c constify some tables. 1998-07-26 11:24:14 +00:00
res_debug.c delint 1998-11-15 17:39:20 +00:00
res_init.c if the list of name server on /etc/resolv.conf is in a 1999-07-04 03:52:55 +00:00
res_mkquery.c delint 1998-11-13 15:46:52 +00:00
res_query.c - (void) casts. 1998-11-24 22:19:01 +00:00
res_send.c if the list of name server on /etc/resolv.conf is in a 1999-07-04 03:52:55 +00:00
resolver.3 Last of the .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 19:44:33 +00:00
rthdr.c add NetBSD RCSID on top. 1999-07-04 00:43:43 +00:00
send.c
sethostent.c Need internal names for {end,set}hostent(). 1998-10-14 19:41:03 +00:00
vars6.c add NetBSD RCSID on top. 1999-07-04 00:43:43 +00:00