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


On Mon, Nov 25, 2013 at 05:55:36AM -0500, Pavel Simerda wrote:
> Looks good. But I think it would to get a little bit nearer to what I wrote above and...
> 
>  * Rename gethostbyname2 to gethostbyname3 and accept a NULL canonp.
>  * Create a gethostbyname2 that would just call gethostbyname3(..., NULL)
> 
> Does that sound reasonable?
> 

I agree with your idea, but that is a separate cleanup IMO.  Right now
it would be better to have a uniform mess so that someone doing the
mechanical work of cleaning things up does not have to deal with
different implementations in different modules.

Thanks for the review though.  I believe I need at least one more
review from a maintainer before I can commit this.

Siddhesh


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