Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Oct 2024 16:48:45 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Olivier Certner <olce@freebsd.org>
Cc:        Dag-Erling =?utf-8?B?U23DuHJncmF2?= <des@freebsd.org>, src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org
Subject:   Re: git: c2d93a803ace - main - env: Check the status of stdout.
Message-ID:  <ZwaJvVlX-dn9Ao4a@kib.kiev.ua>
In-Reply-To: <2444785.THHZn3L5Ee@ravel>
References:  <202410081702.498H2KIP072012@gitrepo.freebsd.org> <ZwZ0erARk2ZKAeBv@kib.kiev.ua> <86cyk9v499.fsf@ltc.des.dev> <2444785.THHZn3L5Ee@ravel>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 09, 2024 at 03:35:17PM +0200, Olivier Certner wrote:
> Hi,
> 
> > > Could you please point me to the requirement?
> > 
> > General Assertion 39 in the Unix Conformance test suite.  Not sure
> > exactly which part of the standard it maps to.
> 
> While this requirement seems to make sense, I do not remember having ever read something like that in POSIX/SuS.  Searching these documents quickly yesterday, I failed to find anything related to it.
> 
> So I'm interested if any of you has pointers to offer, besides the UNIX conformance test suite.
> 

The closest text I found so far is from

IEEE Std 1003.1™-2024
XCU
1.4 Utility Description Defaults
CONSEQUENCES OF ERRORS

79953  • When an unrecoverable error condition is encountered, the utility shall exit with
79954  an exit status that indicates an error occurred.

79955  • A diagnostic message shall be written to standard error whenever an error
79956  condition occurs.

(the numbers are the total line numbers from the pdf instance of the standard).



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