Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Oct 2001 14:24:50 +0200 (CEST)
From:      Oliver Fromme <olli@secnetix.de>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: pathname length over NFS
Message-ID:  <200110241224.f9OCOob36868@lurza.secnetix.de>
In-Reply-To: <20011024005022.A21779@freeway.dcfinc.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Chad R. Larson <chad@dcfinc.com> wrote:
 > > My only defense is the sysexit values overloading the errno values
 > > sending me down the wrong diagnostic path.

Which is now documented in intro(1), thanks to your
initial mail in this thread.  :-)

I'm not aware of a bin tool that uses errno values for
exit codes.

 > I have a simple-minded program (attached) that displays the text
 > strings for errno.h values.  Perhaps I need to enhance it to be
 > sysexits.h aware.

I've done something similar (as a shell script).  It can
also translate signal numbers.
http://www.secnetix.de/~olli/scripts/errno

 > But =really=, shouldn't we adjust the sysexits values so they don't
 > overload those in errno.h?

That would probably break too many things, for example
sendmail and associate programs and scripts, such as
procmail etc.

I'm not aware of a bin tool that uses errno values for
exit codes, so there should be no danger of confusing
them with sysexits values.

Regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"All that we see or seem is just a dream within a dream" (E. A. Poe)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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