aboutsummaryrefslogtreecommitdiff
path: root/resolv/tst-resolv-basic.c
AgeCommit message (Collapse)Author
2018-01-01Update copyright dates with scripts/update-copyrights.Joseph Myers
* 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.
2017-09-01getaddrinfo: Fix error handling in gethosts [BZ #21915] [BZ #21922]Florian Weimer
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.
2017-07-06resolv: Deal with non-deterministic address order in tst-resolv-basicFlorian Weimer
2017-06-24resolv/tst-resolv-basic: Add test cases for bug 21295Florian Weimer
2017-05-11support_format_addrinfo: Fix flags and canonname formattingFlorian Weimer
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.
2017-04-13resolv: Support an exactly sized buffer in ns_name_pack [BZ #21359]Florian Weimer
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.
2017-01-01Update copyright dates with scripts/update-copyrights.Joseph Myers
2016-12-31resolv: Add beginnings of a libresolv test suiteFlorian Weimer