[PATCH] Test status before h_errno in gaih_inet
Florian Weimer
fweimer@redhat.com
Thu Aug 3 09:48:00 GMT 2017
On 08/19/2016 06:01 PM, Florian Weimer wrote:
> I need to dig further and write up what I find, but I suspect that we
> may have to set h_errno to 0 temporarily to obtain maximum compatibility
> with existing NSS modules, and base the error check on that.
_nss_files_gethostbyname3_r sets *herrnop on success to a non-zero
value, so that does not work.
Florian
More information about the Libc-alpha
mailing list