Subject: Re: a few minor cleanups to src/share/misc/style
To: Chris G. Demetriou <firstname.lastname@example.org>
From: Greywolf <email@example.com>
Date: 03/21/2001 19:09:42
On 21 Mar 2001, Chris G. Demetriou wrote:
# Date: 21 Mar 2001 17:53:29 -0800
# From: Chris G. Demetriou <firstname.lastname@example.org>
# To: email@example.com, firstname.lastname@example.org
# Subject: a few minor cleanups to src/share/misc/style
# Here are a few minor cleanups to src/share/misc/style:
# * Fix a malformed pair of block comments (lack of space between them),
# in the way that I think is appropriate: combining them into one.
# * convert exit codes to use EXIT_SUCCESS and EXIT_FAILURE rather than
# 0 and 1. (following c89.)
Can I ask what the point is of (strongly) suggesting such things as
EXIT_SUCCESS and EXIT_FAILURE as opposed to 0 and 1? That just
seems such a PITA.
The other thing is what if you need to denote different conditions
via different exit stats (as in success, failure-because-of-runtime-
i.e., what if it's possible for something to fail in several different
ways? I think it'd be the polite thing to do to provide (and document)
several different exit codes.
... or am I taking this up in entirely the wrong forum?
*BSD: better for your uptime than Viagra.