Source-Changes archive

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

Re: CVS commit: src/sys/kern



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




Home | Main Index | Thread Index | Old Index