In eglibc SVN repository revision 20392, Tue Aug 28 14:14:43 2012 UTC, the getaddrinfo() code was changed to call _nss_gethostbyname4_r only for family AF_UNSPEC. The commit comment just says "Merge changes between r20213 and r20391 from /fsf/trunk."
Looking at /fsf/trunk/libc/sysdeps/posix/getaddrinfo.c, I trace it to revision 20296. The commit comment just says "Import glibc-mainline for 2012-08-23".
I think this commit is ultimately problematic because it breaks IPv6 scope ID retrieval. I think it should be reverted, so that _nss_gethostbyname4_r is always called for IPv6. Whatever problem it was aiming to solve, it should probably be solved a different way.
In eglibc SVN repository revision 20392, Tue Aug 28 14:14:43 2012 UTC, the getaddrinfo() code was changed to call _nss_gethostbyn ame4_r only for family AF_UNSPEC. The commit comment just says "Merge changes between r20213 and r20391 from /fsf/trunk."
Looking at /fsf/trunk/ libc/sysdeps/ posix/getaddrin fo.c, I trace it to revision 20296. The commit comment just says "Import glibc-mainline for 2012-08-23".
This I trace to glibc commit 8479f23aa1: repo.or. cz/w/glibc. git/commit/ 8479f23aa1d5e54 77a37f46823856b dafaedfa46
http://
I think this commit is ultimately problematic because it breaks IPv6 scope ID retrieval. I think it should be reverted, so that _nss_gethostbyn ame4_r is always called for IPv6. Whatever problem it was aiming to solve, it should probably be solved a different way.