mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
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.
3.6 KiB
3.6 KiB