NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/60432: sh(1) read return code documentation error



The following reply was made to PR toolchain/60432; it has been noted by GNATS.

From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: toolchain/60432: sh(1) read return code documentation error
Date: Sat, 18 Jul 2026 15:45:11 +0700

 I failed to mention the PR number in the commit message that
 fixed this, so here it is a copy of that message for the PR.
 
 
 Date: Mon, 13 Jul 2026 10:46:21 +0000
 From: "Robert Elz" <kre%netbsd.org@localhost>
 Subject: CVS commit: src/bin/sh
 To: source-changes%NetBSD.org@localhost
 Message-Id: <20260713104622.01811FA2B%cvs.NetBSD.org@localhost>
 
 Module Name:	src
 Committed By:	kre
 Date:		Mon Jul 13 10:46:21 UTC 2026
 
 Modified Files:
 	src/bin/sh: miscbltin.c sh.1
 
 Log Message:
 sh - read - handle read errors in read builtin
 
 It used to be (incorrectly) that a read error was treated
 the same as EOF in the read builtin utility.   They should
 be errors, with a message, and exit status > 1.  Now they are.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.57 -r1.58 src/bin/sh/miscbltin.c
 cvs rdiff -u -r1.277 -r1.278 src/bin/sh/sh.1
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 
 
 
 



Home | Main Index | Thread Index | Old Index