diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-07-28 00:07:37 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-07-28 00:07:37 -0400 |
commit | bf9d9ceaa3295847d901821c62f5f6f23db7aefd (patch) | |
tree | 5684588ed9a59ffbc48d018aa2f849e7132ee3f5 /src/exit | |
parent | 30bd499ae1f62e9d2fad4282d42057083709e0eb (diff) | |
download | musl-bf9d9ceaa3295847d901821c62f5f6f23db7aefd.tar.gz musl-bf9d9ceaa3295847d901821c62f5f6f23db7aefd.tar.bz2 musl-bf9d9ceaa3295847d901821c62f5f6f23db7aefd.tar.xz musl-bf9d9ceaa3295847d901821c62f5f6f23db7aefd.zip |
fix gethostby*_r result pointer value on error
according to the documentation in the man pages, the GNU extension
functions gethostbyaddr_r, gethostbyname_r and gethostbyname2_r are
guaranteed to set the result pointer to NULL in case of error or no
result.
corresponds to commit fe82bb9b921be34370e6b71a1c6f062c20999ae0 in
master branch.
Diffstat (limited to 'src/exit')
0 files changed, 0 insertions, 0 deletions