Re: getaddrinfo() return value chaos
Thomas Hood <email@example.com> writes:
> Executive summary: The getaddrinfo() returns different values depending
> on the OS and on nsswitch.conf settings, making it very difficult to use
> getaddrinfo() return values to deciding how to handle an error.
As you note, I believe glibc upstream is actively working on fixing this.
I've seen quite a few patches flow by around fixing the return status in
various system error conditions, and it struck me as more comprehensive
and better thought-out and not as ad hoc.
Russ Allbery (firstname.lastname@example.org) <http://www.eyrie.org/~eagle/>