This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [bug] nss resolver code doesn't stop at files lookup
>But if hint is NULL, or hint.af_family == PF_UNSPEC, should getaddrinfo()
>fail because it had trouble finding an ipv6 addr? That makes it mandatory
>to have ipv6 support, just to use that function.
No. It should go looking for IPv6 addresses, but it isn't entitled to fail
if they are unavailable.
Do you have a test case that shows the bad behaviour?
p.