Subject: Re: CVS commit: src/sys/kern
To: None <wrstuden@netbsd.org>
From: None <cgd@broadcom.com>
List: source-changes
Date: 11/04/2004 16:40:32
At Fri, 5 Nov 2004 00:16:53 +0000 (UTC), "Bill Studenmund" wrote:
> What ever happened to the idea of making exec's have three error codes:  
> success, failed, and (the new one) forget it?

it looks like this already exists, sort-of.

if a check function sets EXEC_DESTR, and there's an error, the code
returns immediately.

EXEC_DESTR doesn't exactly have the name that one would like for this
purpose, but functionality-wise it should be OK.

that seems like a better solution than, say, teaching the script code
to avoid lots of random binary formats...


chris