NetBSD/bin
kre c531b5689e When a return occurs in the test part of a loop statement (while/until)
(inside a function or dot script) the exit status of that return
statement should become the exit status of the function (or dot
script) - we were ignoring it,

That is
	fn() { while return 7; do return 9; done; return 11; }
should exit with status 7.   It was exiting 0.

This is apparently another old ash bug that has been fixed
everywhere else in the past.

Issue pointed out by Martijn Dekker, (fairly obvious) fix borrowed
from FreeBSD, due for return sometime next century.
2019-05-04 02:52:55 +00:00
..
cat
chio
chmod
cp Clarify a sentence about the error handling of cp(1)'s -p option. 2018-12-23 01:29:23 +00:00
csh compare pointers with NULL not '\0'. 2019-02-01 08:29:03 +00:00
date Remove trailing whitespace and Tn macro. 2018-01-27 18:59:38 +00:00
dd When buffers are at least page sized, explicitely request page alignment. 2019-03-23 09:33:16 +00:00
df -G cannot be specified alongside -i or -P. 2018-08-26 23:34:52 +00:00
domainname
echo
ed Unifdef compatibility for broken realloc. 2019-01-04 19:13:58 +00:00
expr Add a missing check to handle correctly 0 * 0 in expr(1) 2018-06-27 17:23:36 +00:00
hostname
kill Reverse a decision made when the printsignals() routines from 2018-12-12 20:22:43 +00:00
ksh - use -Wno-error=implicit-fallthrough with GCC7. 2019-02-04 04:05:15 +00:00
ln Update usage to include -w 2018-08-26 23:01:06 +00:00
ls
mkdir
mt Bump date for previous. 2018-09-01 07:26:56 +00:00
mv
pax Fix compilation failure with gcc-8. 2019-04-24 17:27:08 +00:00
ps Don't display l_wchan, either there is something in l_wmesg and we display 2018-09-19 15:20:39 +00:00
pwd
rcmd
rcp
rm
rmdir
sh When a return occurs in the test part of a loop statement (while/until) 2019-05-04 02:52:55 +00:00
sleep Deal with overflow when the sleep duration given is a simple 2019-03-10 15:18:45 +00:00
stty
sync
test Allow SMALL (and TINY) builds of test (for SMALL/TINY builds of sh) 2018-09-13 22:00:58 +00:00
Makefile
Makefile.inc