HardenedBSD/usr.bin
Steve Price 7dce0a1e9f Fix problems using -Wwrite-strings and -Wcast-qual with yacc generated
parsers.  Closes PR #2792.

Submitted by:	Tim Vanderhoek
1997-04-28 03:36:13 +00:00
..
apply compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
ar compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
at compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
banner compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
basename compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
biff compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
brandelf compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
cal compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
calendar compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
cap_mkdb compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
chat make it so that chat doesn't fail when it can't get terminal params.. 1997-04-02 09:55:26 +00:00
checknr
chflags compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
chpass Fix for PR #3141: check for NULL before strdup()ing pw->pw_class. 1997-03-29 20:29:12 +00:00
cksum `appears'' -> `appeared'' (closes PR#3393, Submitted-by: Josh Gilliam) 1997-04-27 08:45:46 +00:00
cmp compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
col compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
colcrt
colldef Add ASCII collate mainly for fallback for EUC-type locales 1997-03-25 16:50:07 +00:00
colrm compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
column compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
comm compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
compile_et Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
compress compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
cpp Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
ctags compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
cut compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
dig Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
dirname compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
dnsquery Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
du compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
ee Fixed missing ${COPY} in install rule. 1997-04-04 15:09:42 +00:00
env compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
error Use mkstemp rather than mktemp to prevent a small race. 1997-03-24 05:50:27 +00:00
expand
f2c Install f2c.h 1997-04-24 17:04:04 +00:00
false
fetch fix a bug in processing of FTP_TIMEOUT environment variable. 1997-03-11 15:13:28 +00:00
file Remove the etc-magic target since we no longer install the 1997-04-04 02:42:53 +00:00
file2c Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
find compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
finger compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
fmt Removed inconsistent declaration of malloc(). `make world' with DESTDIR 1997-04-23 10:16:58 +00:00
fold compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
fpr
from compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
fsplit
fstat Removed `#define KERNEL'. This was a hack-around for nfs.h being broken 1997-03-29 12:50:41 +00:00
ftp compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
gcore compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
gencat Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
getopt compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
global Update to version 1.9. 1997-04-22 18:02:52 +00:00
gprof
gprof4
head Support for -c, byte count. 1997-04-06 00:54:27 +00:00
hexdump compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
host Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
id `appears'' -> `appeared'' (closes PR#3393, Submitted-by: Josh Gilliam) 1997-04-27 08:45:46 +00:00
indent
ipcrm Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
ipcs compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
join compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
jot Use srandomdev() now 1997-03-30 23:13:59 +00:00
kdump `appears'' -> `appeared'' (closes PR#3393, Submitted-by: Josh Gilliam) 1997-04-27 08:45:46 +00:00
key compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
keyinfo Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
keyinit
killall Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
ktrace `appears'' -> `appeared'' (closes PR#3393, Submitted-by: Josh Gilliam) 1997-04-27 08:45:46 +00:00
kzip compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
lam
last compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
lastcomm compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
ldd Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
leave
lex Add `%{'' and `%}'' to one of the examples so that you can actually 1997-04-11 10:33:12 +00:00
limits compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
locate fix up this man page 1997-04-18 11:12:52 +00:00
lock compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
lockf compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
logger compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
login Use isdialuptty() rather than hard-coded heuristic. 1997-04-13 15:26:04 +00:00
logname `appears'' -> `appeared'' (closes PR#3393, Submitted-by: Josh Gilliam) 1997-04-27 08:45:46 +00:00
look compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
lorder
lsvfs Added missing #include, cleaned up #includes. 1997-03-03 17:21:57 +00:00
m4 Make the $@ macro behave as described in the man page. 1997-04-13 17:51:32 +00:00
mail Renamed undelete() to undelete_messages() to avoid conflict with new 1997-04-14 16:49:30 +00:00
make In these XXX MHz days, waiting 500ms for a process to do something is 1997-04-21 20:32:11 +00:00
makewhatis Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
mesg The text describing exit values >1 was formatted incorrectly. 1997-03-29 20:01:59 +00:00
mk_cmds Removed wrong declarations of malloc() and realloc(). They were unused, 1997-04-22 17:44:34 +00:00
mkdep Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
mkfifo `appears'' -> `appeared'' (closes PR#3393, Submitted-by: Josh Gilliam) 1997-04-27 08:45:46 +00:00
mklocale Fixed bogus existence check related to searching for a nearby obj directory. 1997-04-10 15:15:43 +00:00
mkstr
modstat compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
more Removed inconsistent declaration of malloc(). `make world' with DESTDIR 1997-04-23 10:16:58 +00:00
msgs Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
mt compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
netstat compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
nfsstat `appears'' -> `appeared'' (closes PR#3393, Submitted-by: Josh Gilliam) 1997-04-27 08:45:46 +00:00
nice Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
nm compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
nohup
opieinfo Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
opiekey Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
opiepasswd Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
pagesize Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
passwd Fix for PR #3141: check for NULL before strdup()ing pw->pw_class. 1997-03-29 20:29:12 +00:00
paste compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
pr compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
printenv compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
printf compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
quota compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
ranlib compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
rdist Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
renice
rev compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
rlogin compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
rpcgen
rpcinfo compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
rs
rsh compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
rup Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
ruptime Small formatting change to interval() to align columns so that: 1997-03-31 09:36:59 +00:00
rusers Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
rwall Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
rwho compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
sasc Include unistd.h for new location of getopt() prototypes 1997-03-11 14:44:05 +00:00
script compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
sed compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
sgmlfmt Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
sgmls compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
shar `appears'' -> `appeared'' (closes PR#3393, Submitted-by: Josh Gilliam) 1997-04-27 08:45:46 +00:00
showmount Add -3 option to usage() statement. 1997-04-11 19:54:09 +00:00
size compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
soelim
split compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
strings compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
strip compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
su compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
symorder compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
systat Use new sysctl(3) interface to mbuf statistics. While we're at it, 1997-02-24 20:59:03 +00:00
tail compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
talk Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
tclsh Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
tconv Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
tcopy compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
tee compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
telnet compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
tftp
time compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
tip Add support for GLOBAL style tags. 1997-04-13 06:47:02 +00:00
tn3270
top Long usernames fixes 1997-04-21 13:53:47 +00:00
touch compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
tput `appears'' -> `appeared'' (closes PR#3393, Submitted-by: Josh Gilliam) 1997-04-27 08:45:46 +00:00
tr compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
true
tset compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
tsort compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
tty compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
ul compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
uname compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
unexpand
unifdef
uniq compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
units Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
unvis Typo. 1997-04-25 20:47:15 +00:00
users compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
uudecode compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
uuencode compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
vacation Even better fix: use close(fileno(mfp)); to close unneded descriptor 1997-04-23 22:40:19 +00:00
vgrind minor stylistic change (NULL to '\0') 1997-04-02 10:44:12 +00:00
vi Enable GLOBAL tags support. 1997-04-18 23:44:54 +00:00
vis Typo. 1997-04-25 20:47:15 +00:00
vmstat compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
w compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
wall Fix 8bit chars handling 1997-04-08 13:52:53 +00:00
wc compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
what Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
whereis Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
which Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
who Made sure the string formated by strftime() is properly 1997-03-07 11:04:01 +00:00
whois compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
window
write Remove the text that says nroff and pr automatically disable 1997-03-22 17:19:32 +00:00
xargs compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
xinstall compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
xlint Cope with the possibility of __FreeBSD__ = 3 1997-03-11 14:49:51 +00:00
xstr
yacc Fix problems using -Wwrite-strings and -Wcast-qual with yacc generated 1997-04-28 03:36:13 +00:00
yes
ypcat Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
ypmatch Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
ypwhich Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
Makefile Add global 1997-04-15 12:31:09 +00:00
Makefile.inc