This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug network/15218] getaddrinfo uses PTR records for canonname if address family specified


http://sourceware.org/bugzilla/show_bug.cgi?id=15218

--- Comment #4 from Greg Hudson <ghudson at mit dot edu> 2013-03-02 07:11:43 UTC ---
Another approach can be found at:

http://pkgs.fedoraproject.org/cgit/glibc.git/plain/glibc-fedora-gai-canonical.patch

which completely avoids the gethostbyname2_r path if AI_CANONNAME is requested,
and also rips out the code to use gethostbyaddr_r for canonname.  Although that
change is much more invasive than my candidate fix, it has received more
testing.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]