freebsd-skq/bin
cracauer 640c6c8f64 The PR diff I committed recently had one bug noticed by
Joe Marcus Clarke <marcus@FreeBSD.ORG>, subshells could lose a
non-zero exit status.

This commit is Joe's proposed patch.  Thanks!

I verified that the problem Joe found is fixed and I ran a full world
with this patch.

I don't plan to ever commit language patches to /bin/sh again.  It is
a minefield too big to navigate without a full-time committment, which
I am not willing to do on our /bin/sh.

Under normal circumstances I would recommend using NetBSD's sh which
has a lot of language fixes (like the ones what these patches were
about) but unfortunately they had implemented broken signal behaviour
for shellscript containing interactive programs.  Similar issues apply
to pdksh which is OpenBSD's sh.

From my perspective bash2 is the only really working bourne sh out
there and that one is GPLed.  Oh well.
2004-01-28 18:22:19 +00:00
..
cat We have to hide copyright[] for gcc33. :-( 2003-04-30 17:40:28 +00:00
chflags mdoc(7) police: Fix document date. 2003-05-16 21:18:01 +00:00
chio Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
chmod Print unambiguous paths with -R -v. 2003-12-16 15:17:30 +00:00
cp Don't mmap(2) and munmap(2) zero-length files. 2003-11-13 05:26:55 +00:00
csh Temporarily turn off -Werror for these components. 2003-07-11 05:24:32 +00:00
date Note the Linux required format. 2004-01-06 19:01:34 +00:00
dd Get this area compiling with the highest WARNS= that it works with. 2003-06-13 07:04:02 +00:00
df Fix format strings (intmax_t is %jd, not %qd) 2003-11-12 21:47:42 +00:00
domainname Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
echo - Check and report write(2) errors. 2003-10-11 20:34:43 +00:00
ed Don't check for the existance of src/crypto/ for building items that 2003-07-24 18:30:25 +00:00
expr Get this area compiling with the highest WARNS= that it works with. 2003-06-13 07:04:02 +00:00
getfacl Grammar. 2003-02-23 01:43:45 +00:00
hostname Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
kenv Get this area compiling with the highest WARNS= that it works with. 2003-06-13 07:04:02 +00:00
kill Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
ln Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
ls Fix alignment of size field in ls -lh -- the width was being computed 2004-01-22 04:33:00 +00:00
mkdir Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
mv Centralize _PATH_* definitions. 2003-05-05 22:49:23 +00:00
pax Get this area compiling with the highest WARNS= that it works with. 2003-06-13 07:04:02 +00:00
ps Bring ps.1 up to date with changes in the past seven years: 2004-01-21 16:25:36 +00:00
pwd Rename a local variable in order to avoid collision with standard 'log' 2003-06-30 17:05:40 +00:00
rcp Turn malloc+snprintf into asnprintf. 2003-10-14 20:42:13 +00:00
realpath realpath(3) should use PATH_MAX instead of MAXPATHLEN according to POSIX. 2003-01-15 21:22:55 +00:00
rm o Fix a style bug and poor wording in comment. 2004-01-01 10:26:43 +00:00
rmail Remove MAINTAINER= lines from individual Makefiles in favor of the 2003-07-07 03:54:04 +00:00
rmdir Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
setfacl Add additional documentation to setfacl(1) regarding the behavior of 2003-08-07 14:52:17 +00:00
sh The PR diff I committed recently had one bug noticed by 2004-01-28 18:22:19 +00:00
sleep Fix warnings. This is now WARNS=9, std=c99 clean in i386. 2003-05-03 10:14:26 +00:00
stty Fix format warning. This is WARNS=9, std=c99 clean on i386. 2003-05-03 10:16:51 +00:00
sync Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
test Don't escape names in MLINKS: this won't work with bsd.man.mk,v 1.53. 2003-09-07 12:52:17 +00:00
uuidgen The uuidgen(1) program is WARNS=6 clean, so flag it as such. 2003-12-07 21:34:56 +00:00
Makefile - Build things in pure dictionary order (see sort(1)). 2004-01-16 15:23:19 +00:00
Makefile.inc Force a staticly linked /bin and /sbin for ia64. The necessary changes 2003-11-19 16:59:00 +00:00