This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: one more bug in getaddrinfo()
On Sun, 12 Sep 1999, Ulrich Drepper wrote:
> I think I fixed all the bugs. Please give
> the appended patch a try.
rather not all (yet)
Testing: EAI_ADDRFAMILY
EAI_ADDRFAMILY test passed !
Testing: EAI_NODATA
It should return: No address associated with hostname (-5)
while returned: Name or service not known (-2)
here I'm not sure about getaddrinfo("domain.com", ...)
(and domain.com doesn't have A or AAAA record but has other records).
Testing: EAI_FAMILY
EAI_FAMILY test passed !
Testing: EAI_SOCKTYPE
EAI_SOCKTYPE test passed !
Testing: EAI_SERVICE
EAI_SERVICE test failed !
rpm:> grep testudp getaddrinfo-errors.c
if ((err = getaddrinfo(NULL, "testudp", &hints, &res0)) != 0) {
rpm:> grep testudp /etc/services
testudp 9009/udp
> --
> ---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
> Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
> Cygnus Solutions `--' drepper at cygnus.com `------------------------
--
Arkadiusz Mi¶kiewicz http://www.misiek.eu.org/
PLD/Linux [IPv6 enabled] http://www.pld.org.pl/