In case of MIPS, on failure gethostbyname_r sets the errno, but doesn't return it.
Tested this with x86, and should not affect any other arch too.
Differential D17135
[Compiler-rt][MSan][MIPS] Resolve gethostbyname_r_erange for MIPS mohit.bhakkad on Feb 11 2016, 3:14 AM. Authored by
Details
In case of MIPS, on failure gethostbyname_r sets the errno, but doesn't return it. Tested this with x86, and should not affect any other arch too.
Diff Detail
|