about summary refs log tree commit diff
path: root/resolv/tst-resolv-basic.c
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright dates with scripts/update-copyrights.Joseph Myers2018-01-011-1/+1
| | | | | | | * All files with FSF copyright notices: Update copyright dates using scripts/update-copyrights. * locale/programs/charmap-kw.h: Regenerated. * locale/programs/locfile-kw.h: Likewise.
* getaddrinfo: Fix error handling in gethosts [BZ #21915] [BZ #21922]Florian Weimer2017-09-011-23/+55
| | | | | | 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.
* resolv: Deal with non-deterministic address order in tst-resolv-basicFlorian Weimer2017-07-061-15/+64
|
* resolv/tst-resolv-basic: Add test cases for bug 21295Florian Weimer2017-06-241-0/+16
|
* support_format_addrinfo: Fix flags and canonname formattingFlorian Weimer2017-05-111-4/+67
| | | | | | | | | | The address family splitting via format_ai_family made unpredictable the place where the canonname field was printed. This commit adjusts the implementation so that the ai_flags is checked for consistency across the list, and ai_canonname must only be present on the first list element. Tests for AI_CANONNAME are added to resolv/tst-resolv-basic.
* resolv: Support an exactly sized buffer in ns_name_pack [BZ #21359]Florian Weimer2017-04-131-1/+29
| | | | | | | This bug did not affect name resolution because those functions indirectly call ns_name_pack with a buffer which is always larger than the generated query packet, even in the case of the longest-possible domain name.
* Update copyright dates with scripts/update-copyrights.Joseph Myers2017-01-011-1/+1
|
* resolv: Add beginnings of a libresolv test suiteFlorian Weimer2016-12-311-0/+315