Larry Rosenman <ler(at)lerctr(dot)org> writes:
> Ok, with using OUR src/port/getaddrinfo.c (by #undef'ing HAVE_GETADDRINFO
> and adding getaddrinfo.o to Makefile.global's LIBOBJS, it works again.
> We need to devise a configure test for broken/old getaddrinfo()'s.
That seems Turing-complete in general :-(.
It may well be that the problem is not so much that your getaddrinfo
doesn't work, as that we're not interfacing to it correctly. Which of
the macros in src/include/getaddrinfo.h are actually being absorbed from
the system headers, and which are we using our own values for?
regards, tom lane