Subject: Re: CVS commit: basesrc
To: None <firstname.lastname@example.org>
From: enami tsugutomo <email@example.com>
Date: 07/05/2000 00:01:52
> Date: Tue, 4 Jul 2000 02:33:57 -0700 (PDT)
> From: Jun-ichiro itojun Hagino <firstname.lastname@example.org>
> Message-Id: <200007040933.CAA14708@nb00.nas.nasa.gov>
> Subject: CVS commit: basesrc
> To: email@example.com
> 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?