[DGD] Driver error message patch

Greg Lewis glewis at eyesbeyond.com
Tue Oct 15 05:38:15 CEST 2002


On Mon, Oct 14, 2002 at 10:42:36AM -0700, Keith Dunwoody wrote:
> May I suggest the following patch for the driver?  On
> linux systems, it will return more accurate
> information if this call fails.  Originally, this call
> would print "gethostbyname: No such file or
> directory", which I found misleading.  After the
> patch, it will print the hostname, followed by ": Host
> not found" (or something like that).
> 
> -- Keith
> 
> P.S.  According to the man page herror() is obselete,
> but I couln't find any equivilent.

FYI, herror() appeared in 4.3BSD, its hardly specific to Linux :).

Which isn't a comment on the patch itself other than it should
be implemented for a wider range of define's than LINUX if it
is indeed to be implemented.

-- 
Greg Lewis                          Email   : glewis at eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis at FreeBSD.org

_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list