about summary refs log tree commit diff
path: root/nss/tst-nss-files-hosts-erange.c
Commit message (Collapse)AuthorAgeFilesLines
* getaddrinfo: Fix error handling in gethosts [BZ #21915] [BZ #21922]Florian Weimer2017-09-011-0/+109
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.