Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jan 2013 15:47:48 -0500
From:      Eitan Adler <eadler@freebsd.org>
To:        John Baldwin <jhb@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Xin LI <delphij@freebsd.org>, Bruce Evans <brde@optusnet.com.au>
Subject:   Re: svn commit: r245506 - head/bin/pwait
Message-ID:  <CAF6rxgmn6LLtwOF7Oh8d5CrfB9prknus6LwjJH4ruKJaZ8=uAA@mail.gmail.com>
In-Reply-To: <201301171050.07596.jhb@freebsd.org>
References:  <201301161815.r0GIFQPk007553@svn.freebsd.org> <20130117130740.I1066@besplex.bde.org> <CAF6rxg=RBJ280qe=ZAbPYBV-uXcjBYFTqCXP%2Bi_LzpMSi2aHkg@mail.gmail.com> <201301171050.07596.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 17 January 2013 10:50, John Baldwin <jhb@freebsd.org> wrote:
> Eh, I think bde@ has quite a bit more experience with this than you.

No doubt.

> <sysexits.h> is not part of POSIX or any other standard.  It's comments
> reference delivermail (the predecessor to sendmail).  Looking at its history,
...

Understood.  I have found value in programs which output specific
error returns instead of "1" or "0".  The specific use of sysexits
instead of each application choose their own is a nicety.

> In practice it's list of error value is limited and has not grown to handle
> new errors in over two decades (as opposed to, say, the list of errnos).

Perhaps it is best to extend it instead of deprecating it?

-- 
Eitan Adler
Source, Ports, Doc committer
Bugmeister, Ports Security teams



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxgmn6LLtwOF7Oh8d5CrfB9prknus6LwjJH4ruKJaZ8=uAA>