From owner-freebsd-stable Wed Oct 24 5:24:56 2001 Delivered-To: freebsd-stable@freebsd.org Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130]) by hub.freebsd.org (Postfix) with ESMTP id 99C9637B401 for ; Wed, 24 Oct 2001 05:24:51 -0700 (PDT) Received: (from olli@localhost) by lurza.secnetix.de (8.11.6/8.11.6) id f9OCOob36868; Wed, 24 Oct 2001 14:24:50 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Date: Wed, 24 Oct 2001 14:24:50 +0200 (CEST) Message-Id: <200110241224.f9OCOob36868@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG Reply-To: freebsd-stable@FreeBSD.ORG Subject: Re: pathname length over NFS In-Reply-To: <20011024005022.A21779@freeway.dcfinc.com> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.4-RELEASE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Chad R. Larson 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