From nobody Wed Oct 09 13:48:45 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XNvPZ2rsmz5YYd6; Wed, 09 Oct 2024 13:49:06 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XNvPY6dnDz4fV4; Wed, 9 Oct 2024 13:49:05 +0000 (UTC) (envelope-from kostikbel@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: from tom.home (kib@localhost [127.0.0.1] (may be forged)) by kib.kiev.ua (8.18.1/8.18.1) with ESMTP id 499DmkWm008509; Wed, 9 Oct 2024 16:48:49 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 499DmkWm008509 Received: (from kostik@localhost) by tom.home (8.18.1/8.18.1/Submit) id 499DmjJP008508; Wed, 9 Oct 2024 16:48:45 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 9 Oct 2024 16:48:45 +0300 From: Konstantin Belousov To: Olivier Certner Cc: Dag-Erling =?utf-8?B?U23DuHJncmF2?= , 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: References: <202410081702.498H2KIP072012@gitrepo.freebsd.org> <86cyk9v499.fsf@ltc.des.dev> <2444785.THHZn3L5Ee@ravel> List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2444785.THHZn3L5Ee@ravel> X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on tom.home X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US] X-Rspamd-Queue-Id: 4XNvPY6dnDz4fV4 X-Spamd-Bar: ---- 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).