diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-11-28 17:18:12 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-11-28 17:18:12 +0530 |
commit | 5a4c6d53f50b264d60cf6453576ca2810c7890b7 (patch) | |
tree | bdb73e524e4b77c297b766c5be1c6967fe332381 /rt/tst-mqueue6.c | |
parent | 897b98ba4dacb02edc3c8775f207a9c9a25fc1e4 (diff) | |
download | glibc-5a4c6d53f50b264d60cf6453576ca2810c7890b7.tar.gz glibc-5a4c6d53f50b264d60cf6453576ca2810c7890b7.tar.xz glibc-5a4c6d53f50b264d60cf6453576ca2810c7890b7.zip |
Get canonical name in getaddrinfo from hosts file for AF_INET (fixes 16077)
AF_INET lookup in hosts file uses _nss_files_gethostbyname2_r, which is not capable of returning a canonical name if it has found one. This change adds _nss_files_gethostbyname3_r, which wraps around _nss_files_gethostbyname2_r and then returns result.h_name as the canonical name.
Diffstat (limited to 'rt/tst-mqueue6.c')
0 files changed, 0 insertions, 0 deletions