diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-09-01 09:34:29 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-09-01 09:34:29 +0200 |
commit | f4a6be2582b8dfe8adfa68da3dd8decf566b3983 (patch) | |
tree | 76ea7e82a506bf4aed59e1492eaa1970b575bf99 /stdio-common | |
parent | 5f8340f583fe3d4f5734bd2371c5a45ecff2db0d (diff) | |
download | glibc-f4a6be2582b8dfe8adfa68da3dd8decf566b3983.tar.gz glibc-f4a6be2582b8dfe8adfa68da3dd8decf566b3983.tar.xz glibc-f4a6be2582b8dfe8adfa68da3dd8decf566b3983.zip |
getaddrinfo: Fix error handling in gethosts [BZ #21915] [BZ #21922]
The old code uses errno as the primary indicator for success or failure. This is wrong because errno is only set for specific combinations of the status return value and the h_errno variable.
Diffstat (limited to 'stdio-common')
0 files changed, 0 insertions, 0 deletions