Source-Changes archive

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

Re: CVS commit: basesrc



> Date: Tue, 4 Jul 2000 02:33:57 -0700 (PDT)
> From: Jun-ichiro itojun Hagino <itojun%netbsd.org@localhost>
> Message-Id: <200007040933.CAA14708%nb00.nas.nasa.gov@localhost>
> Subject: CVS commit: basesrc
> To: source-changes%netbsd.org@localhost
> 
> Module Name:  basesrc
> Committed By: itojun
> Date:         Tue Jul  4 09:33:56 UTC 2000
> 
> Modified Files:
>       basesrc/usr.sbin/inetd: inetd.c
> 
> Log Message:
> emit more friendly message on nonexistent service name.
> From: enami

Does this work as expected?

The hack for inetd was necessary because getaddrinfo doesn't return
EAI_ADDRFAMILY (or, an appropriate error code for the situation) when
``kernel doesn't support the address family'' was expected, wasn't it?

And that's why I asked why getaddrinfo doesn't return such error code.
IMHO, single printf with gai_strerror should be enough, shouldn't it?

enami.



Home | Main Index | Thread Index | Old Index