Subject: Re: CVS commit: basesrc
To: Christos Zoulas <christos@zoulas.com>
From: Allen Briggs <briggs@ninthwonder.com>
List: source-changes
Date: 10/20/2000 23:11:10
On Sat, Oct 21, 2000 at 02:16:34AM +0000, Christos Zoulas wrote:
> Very cool. Two questions:
> 1. why there is a /*NOTREACHED*/ at the end of the static functions?
To keep lint quiet about reaching the end of a non-void routine (since
I'm using a do { stuff } while(0) macro for the return statements).
I thought about just expanding the macro at the end of the functions,
but decided to opt for consistent use of the macro instead.
> 2. It might be nice if there was code in it to log an error, and mention
> in the man page that it sets errno to EFTYPE if there are no matches?
Sounds good to me. Bill?
-allen