This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [ping2][PATCH][BZ #16077] Get canonical name in getaddrinfo from hosts file for AF_INET
- From: Pavel Simerda <psimerda at redhat dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: Siddhesh Poyarekar <siddhesh at redhat dot com>, libc-alpha at sourceware dot org, "Carlos O'Donell" <codonell at redhat dot com>
- Date: Mon, 25 Nov 2013 06:34:54 -0500 (EST)
- Subject: Re: [ping2][PATCH][BZ #16077] Get canonical name in getaddrinfo from hosts file for AF_INET
- Authentication-results: sourceware.org; auth=none
- References: <20131023100431 dot GG7401 at spoyarek dot pnq dot redhat dot com> <20131119133257 dot GF24544 at spoyarek dot pnq dot redhat dot com> <20131125095544 dot GO19834 at spoyarek dot pnq dot redhat dot com> <405943830 dot 18655132 dot 1385376936837 dot JavaMail dot root at redhat dot com> <mvmy54cen3p dot fsf at hawking dot suse dot de>
----- 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