[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: gai strerror?



At 03:32 AM 10/14/00 -0700, Howard Chu wrote:
>I just tried to build from the HEAD branch, got an undefined symbol in
>daemon.c
>that looks like it wants to be a "get addr info strerror". What is this?

Basically, yes.  getaddrinfo() returns EAI codes which need special
handling.  If gai_strerror() is not available everywhere getaddrinfo()
is, we need to add detection and appropriate conditional usage.

(I suggest we add replacement function when defined( HAVE_GETADDRINFO )
&& !defined( HAVE_GAI_STRERROR ).

Kurt