commit | dc9285ad1dc19349c407072cc48ba70dab86de45 | [log] [tgz] |
---|---|---|
author | Rich Felker <[email protected]> | Mon Sep 19 19:12:09 2022 -0400 |
committer | Rich Felker <[email protected]> | Mon Sep 19 19:12:09 2022 -0400 |
tree | b527e634346032ed1f709b6428e1634f8c58ad26 | |
parent | f9827fc7da55c7b03ea5f36598ce8782c03e9d6e [diff] |
fix error cases in gethostbyaddr_r EAI_MEMORY is not possible (but would not provide errno if it were) and EAI_FAIL does not provide errno. treat the latter as EBADMSG to match how it's handled in gethostbyname2_r (it indicates erroneous or failure response from the nameserver).