bug-gnulib
[Top][All Lists]
Advanced

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

Re: canon-host errors


From: Jim Meyering
Subject: Re: canon-host errors
Date: Sun, 04 Sep 2005 21:45:56 +0200

Derek Price <address@hidden> 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.




reply via email to

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