CVS commit: src/bin/sh

"Robert Elz" <[email protected]> Mon, 13 Jul 2026 10:46:21 +0000
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
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.