sperber(a)informatik.uni-tuebingen.de (Michael Sperber [Mr. Preprocessor]) writes:
Valdis> But if disabling getaddrinfo incurs no loss of
functionality, why are
Valdis> we checking for it in the first place?
Transition to the relevant POSIX / Unix98 API which is supposed to
supersede the old BSD interface.
How's `getaddrinfo' supposed to work? I've been having problems
with
this on my Redhat 6.1/glibc-2.1.2 system. It would appear that
`getaddrinfo' attempts to lookup the hostname as an IPv6 address
first, before then attempting to resolve it as a IPv4 address. This
has led to the ol' long pauses at xemacs startup whilst Diald brings
up my modem connection, presumably to attempt the IPv6 lookup.
I've been commenting out the line in `config.h' as suggested by
Martin. Is there a better way to handle this?
--
Mike <mike(a)lotusland.demon.co.uk>