NetBSD/bin
christos 5accccd051 Fix problem introduced in yesterday's commit that broke both signed and
unsigned character machines. So that people don't have to reverse engineer
this again:
	mksyntax detects if characters are signed or not and builts a syntax
	table that has a base of 129 for signed characters or 1 for unsigned
	characters. This is so the largest negative signed char [-128] + the
	base == 1. 0 is special and means end of file in both cases. PEOF
	is -1 for the unsigned character case and -129 for the signed
	character case, so that syntax[PEOF + base] == syntax[0] == CEOF
	So PEOF has to be -1, but it is explicitly compared with
	unsigned characters on machines where characters are unsigned.
	The quick fix is to define UPEOF the (unsigned char) version of PEOF
	and use that. A better fix is to always use unsigned characters
	when referencing symbol table entries, but that would require
	extensive changes to the shell. So to summarize

	syntax[0] == CEOF, base + PEOF == 0

		unsigned	signed
	base	1		129
	PEOF	-1		-129
1997-07-05 21:25:09 +00:00
..
cat When allocating a buffer failed, don't fail silently. 1997-06-26 23:07:19 +00:00
chio this program does not need to be setuid root. 1996-08-06 07:21:40 +00:00
chmod POSIX.2 utilities must call setlocale(LC_ALL, ""); 1997-06-26 23:18:05 +00:00
cp Fix one remaining botch when copying directory trees using -R. 1997-05-21 09:48:33 +00:00
csh Rename err.h to errnum.h to avoid collision with err.h 1997-07-04 21:23:50 +00:00
date fix broken timed(8) xrefs, noted by David Brownlee. 1997-05-11 08:34:37 +00:00
dd
df Sync to 4.4BSD-Lite2; really just the SCCS ID, because we don't have vfslist.c in our mount sources. 1997-01-09 03:56:31 +00:00
domainname Xr to [gs]etdomainname in section 3 (from PR#3627) 1997-06-23 20:35:59 +00:00
echo
ed use mkstemp() instead of mktemp() 1997-03-22 03:02:17 +00:00
expr don't spew an error message if setlocale(LC_ALL, ""); fails. This is for 1996-06-04 20:41:15 +00:00
hostname Xr to [gs]ethostname in section 3 (from PR#3627) 1997-06-23 20:37:42 +00:00
kill Fix a typo that caused lack of argument to be misinterpreted as "0". 1997-02-22 01:45:41 +00:00
ksh Define USETBL to get tbl used in making man page. (Closed PR 3144.) 1997-06-30 19:30:04 +00:00
ln Correct bogons and omissions in previous change. 1997-05-16 14:44:01 +00:00
ls Do multicolumn output in a way that's a little more likely to always 1996-12-11 03:25:39 +00:00
mkdir kill use of register 1997-01-09 16:31:05 +00:00
mt Allow a count of zero for the following commands: 1997-07-01 20:15:51 +00:00
mv kill use of register 1997-01-09 16:44:06 +00:00
pax Fix OBOB: when reassembling a file name from the header block's `prefix' 1997-06-25 22:44:00 +00:00
ps Refer to execve(2), add section to `vfork' ref. (almost per PR#3627). 1997-06-23 20:41:50 +00:00
pwd PR 3284, from enami tsugutomo <enami@ba2.so-net.or.jp>. 1997-03-03 22:00:34 +00:00
rcmd expand HISTORY section a bit. 1997-06-09 09:15:49 +00:00
rcp Fix incorrect use of name vs. pwd->pw_name and wrong logic in strdup() test. 1997-06-07 07:11:34 +00:00
rm
rmdir
sh Fix problem introduced in yesterday's commit that broke both signed and 1997-07-05 21:25:09 +00:00
sleep
stty nuke extra : in usage string 1997-06-04 04:38:37 +00:00
sync
test add SYNOPSIS line for [; fixes PR bin/3705 1997-06-05 06:39:59 +00:00
Makefile Add rcmd to the SUBDIR list. 1997-05-29 21:06:11 +00:00
Makefile.inc