[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hstrerror for MinGW
From: |
Eli Zaretskii |
Subject: |
Re: hstrerror for MinGW |
Date: |
Thu, 27 Feb 2014 05:45:45 +0200 |
> From: address@hidden (Ludovic Courtès)
> Cc: Eli Zaretskii <address@hidden>, address@hidden
> Date: Wed, 26 Feb 2014 22:52:38 +0100
>
> Simon Josefsson <address@hidden> skribis:
>
> > You wrote:
> >
> >> >> This came up on guile-users while discussing the MinGW build of
> >> >> Guile, see
> >> >>
> >> >> http://lists.gnu.org/archive/html/guile-user/2013-06/msg00028.html
> >> >> http://lists.gnu.org/archive/html/guile-user/2013-06/msg00039.html
> >> >>
> >> >> Will gnulib maintainers consider this for inclusion, please?
> >>
> >> So this is about adding a workaround for hstrerror on MinGW, which
> >> lacks it.
> >>
> >> Gnulib already has a ‘netdb’ module (maintained by Simon, Cc’d), so
> >> perhaps that would be the right place to add the replacement
> >> hstrerror. Simon, WDYT?
> >
> > It seems like a good idea to add a workaround module for hstrerror, but
> > I think it should be a separate module, although the prototype for the
> > function may probably be in the netdb module? Compare how other
> > replacement functions typically have their own module (I think).
>
> Yes, makes sense to me.
>
> Eli: would you be willing to do that? I guess a possible template would
> be the ‘getaddrinfo’ module, which has a conditional function
> declaration in netdb.in.h and code in a separate C file.
Where can I find instructions for creating a gnulib module?