Simon Josefsson <si...@josefsson.org> 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. Thanks, Ludo’.