On 08/02/2010 11:47 AM, Adam Stokes wrote:
----- "Laine Stump"<laine(a)laine.org> wrote:
> On 08/02/2010 10:12 AM, ajs(a)redhat.com wrote:
>> inet_pton is provided within gnulib which gives us another
> portability option, however, src/xslt_ext.c uses inet_aton when
> processing a netmask (roughly line 113). Is it acceptable to possibly
> replace inet_aton? I think inet_pton(3) would be a good replacement
> though there are some caveats in the notes section of its man page.
>
> What about getaddrinfo? That is also in gnulib, and seems a bit more
> complete in what it accepts (although I don't think we really need to
>
that would also work -- any objections for this routine being used?
None from me, as long as the hints are sufficiently restrictive.