NetBSD/lib/libc
itojun f958dccbd1 - do not make query for AFs that are not supported by kernel.
i.e. do not make query for IPv6 addresses, when running on non-IPv6 kernel,
  or, do not query for IPv4 address on IPv6-only kernel :-)

  This kind of behavior is not very well documented in RFC2553.  This
  may violate the spec.

- on EAI_AGAIN, only retry 3 times (3 is a magic number).  Previous code
  made retries forever.  This solves situation where name server is wrongly
  configured and nameserver:53 returns icmp port unreach.

The only proper fix for all getaddrinfo() related twists would be to
implement getipnodebyname() and get rid of wacky get_addr().
We need to contribute bind8 development for this.
1999-07-14 22:10:03 +00:00
..
arch add the ieeefp functions 1999-07-07 01:55:07 +00:00
compat-43 Last of the .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 19:44:33 +00:00
db don't compare non-pointer values against NULL. 1999-07-10 17:48:54 +00:00
gen Avoid infinite loop if pathname is longer than the maximum the kernel 1999-07-11 18:01:46 +00:00
gmon Last of the .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 19:44:33 +00:00
hash Avoid non portable shifts. 1999-05-03 15:00:40 +00:00
include move __getcwd prototypes to libc-private header file. 1999-03-26 22:23:57 +00:00
locale Last of the .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 19:44:33 +00:00
md Mark const castaways for lint. 1999-05-03 15:01:50 +00:00
net - do not make query for AFs that are not supported by kernel. 1999-07-14 22:10:03 +00:00
nls Introduce EOVERFLOW. 1999-03-22 19:03:38 +00:00
quad change an #if __GNUC >= 2 to #if (__GNUC__ >= 2) || defined(lint) 1999-05-03 15:39:47 +00:00
regex
rpc Fix bug I introduced on 19990503 by renaming a variable. 1999-05-09 20:11:23 +00:00
stdio Last of the .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 19:44:33 +00:00
stdlib Make sure errno is set to ENOMEM if we return NULL. 1999-07-08 22:18:06 +00:00
string Correct omission made during last fix of HISTORY section. 1999-04-18 22:36:46 +00:00
sys Restore some information about the page rounding behavior of these 1999-07-14 16:24:48 +00:00
termios <sys/fcntl.h> -> <fcntl.h> 1999-02-12 15:04:00 +00:00
time Add documentation for asctime_r(), ctime_r(), gmtime_r() and localtime_r(). 1999-05-04 15:34:50 +00:00
yp use ${ARCHDIR} instead of ${.CURDIR}/arch/${MACHINE_ARCH} where appropriate 1999-02-24 15:05:20 +00:00
Makefile Revert part of previous and use C/// instead of S/// for mipse[bl]->mips. 1999-02-27 21:21:26 +00:00
shlib_version add IPv6 support functions. 1999-07-01 18:23:53 +00:00