diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-05-11 11:32:16 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-05-11 11:51:34 +0200 |
commit | 8ec69bb7ecf3ca5edde5b7d9d7d5d3a5f8b6c405 (patch) | |
tree | 7c8875439ed455ff72491a5f73c4099afe83272c /elf/tst-nodelete2mod.c | |
parent | 46ce8881ade788db56079622f47f648d4aaa003b (diff) | |
download | glibc-8ec69bb7ecf3ca5edde5b7d9d7d5d3a5f8b6c405.tar.gz glibc-8ec69bb7ecf3ca5edde5b7d9d7d5d3a5f8b6c405.tar.xz glibc-8ec69bb7ecf3ca5edde5b7d9d7d5d3a5f8b6c405.zip |
support_format_addrinfo: Fix flags and canonname formatting
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.
Diffstat (limited to 'elf/tst-nodelete2mod.c')
0 files changed, 0 insertions, 0 deletions