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] |
Other format: | [Raw text] |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Pekka Savola wrote:
1) with PF_INET, this does not happen (CNAME entry is returned, notI don't really know what you mean. For PF_INET no IPv6 addresses are returned so you cannot mean this. The code used is the same if PF_INET or PF_UNSPEC is used and so numeric addresses would also be returned if the internal gethstbyaddr calll fails.
addresses -- at least as far as I could see): thus the current behaviour
does not seem the same between address families.
That's indeed no motivation. But you could do one thing: look at the entire list of records returned on a BSD system. Is the one you expect really the only one? Or is it just a matter of ordering.2) (not really motivation, but still..) e.g. BSD libc does not return addresses (the test works as "expected"); I haven't checked other implementations.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |