This is the mail archive of the libc-alpha@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]

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?

Cheers,

Pavel


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