Derek Price <[EMAIL PROTECTED]> wrote:
> Hrm.  Why isn't canon-host dependant on getaddrinfo?  It would simplify
> the canon-host code so much that it would probably be all right to LGPL
> it.  It would also mean that canon-host could just return error codes
> suitable for gai_strerror.  I'll have to extend lib/getaddrinfo.c a
> little to fill in ai_canonhost and add the gai_strerror function.  Would
> that be acceptable?

Good idea.  More than `acceptable' :-)

> Come to think of it, after that, canon-host would be a pretty thin
> wrapper around getaddrinfo.  Perhaps it would be best to tweak
> getaddrinfo and drop the canon-host module entirely?

I'd like to keep canon-host.
Otherwise, callers would have to deal with all of the
header requirements that are currently nicely encapsulated.


_______________________________________________
bug-gnulib mailing list
bug-gnulib@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnulib

Reply via email to