This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]