[ping2][PATCH][BZ #16077] Get canonical name in getaddrinfo from hosts file for AF_INET

Pavel Simerda psimerda@redhat.com
Mon Nov 25 19:55:00 GMT 2013



----- Original Message -----
> From: "Pavel Simerda" <psimerda@redhat.com>
> To: "Andreas Schwab" <schwab@suse.de>
> Cc: "Siddhesh Poyarekar" <siddhesh@redhat.com>, libc-alpha@sourceware.org, "Carlos O'Donell" <codonell@redhat.com>
> Sent: Monday, November 25, 2013 12:34:54 PM
> Subject: Re: [ping2][PATCH][BZ #16077] Get canonical name in getaddrinfo from hosts file for AF_INET
> 
> ----- Original Message -----
> > From: "Andreas Schwab" <schwab@suse.de>
> > To: "Pavel Simerda" <psimerda@redhat.com>
> > Cc: "Siddhesh Poyarekar" <siddhesh@redhat.com>, libc-alpha@sourceware.org,
> > "Carlos O'Donell" <codonell@redhat.com>
> > Sent: Monday, November 25, 2013 12:29:14 PM
> > Subject: Re: [ping2][PATCH][BZ #16077] Get canonical name in getaddrinfo
> > from hosts file for AF_INET
> > 
> > Pavel Simerda <psimerda@redhat.com> writes:
> > 
> > > Maybe it's time to merge all those into _nss_files_gethostbyname5_r()
> > > providing all the functionality of the previous functions and just
> > > provide
> > > a pack of backwards compatibility functions.
> > 
> > gethostbyname4_r already does that.
> 
> Where's the *address family* input parameter supported by gethostbyname2 and
> gethostbyname4, then?

I meant gethostbyname2 and gethostbyname3, of course.

Pavel



More information about the Libc-alpha mailing list