bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: provide inet_?to? declarations in arpa_inet.h


From: Simon Josefsson
Subject: Re: provide inet_?to? declarations in arpa_inet.h
Date: Wed, 23 Apr 2008 08:02:00 +0200
User-agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux)

Yoann Vandoorselaere <address@hidden> writes:

> Hi Simon,
>
> Le mardi 22 avril 2008 à 10:54 +0200, Simon Josefsson a écrit :
>> Gnulib's current (minimal) arpa/inet.h for MinGW doesn't declare
>> inet_ntop and inet_pton, which doesn't exist on MinGW.  However, gnulib
>> has inet_ntop and inet_pton modules with their own header files.  This
>> patch makes sure that arpa/inet.h provides the expected declarations.
>> Comments?
>> 
>> Yoann, ok to commit?  It has minimal consequences for your module
>> inet_ntop, it only adds a gl_ARPA_INET_MODULE_INDICATOR([inet_ntop] to
>> the modules/inet_ntop file.
>> 
>> We could consider dropping the inet_ntop.h and inet_pton.h files
>> instead, and just require that you include arpa/inet.h.  This would be
>> slightly cleaner.  Yoann, what do you think about that?
>
> Look good to me, please commit.

Hi Yoann.  Done, thanks for feedback.

> I would also favor removing both inet_ntop.h and inet_pton.h, and use
> arpa/inet.h for the declarations, as you suggested.

Yes, I'll work on that next.

/Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]