HardenedBSD/usr.bin
Dag-Erling Smørgrav b1c669700c Fix the following bugs:
- if a command was specified and script(1) failed to execute it,
    it would print the name of your shell in the error message
    instead of that of the command that failed.

  - since finish() was installed as a SIGCHLD handler, it would
    often run before the main loop had had time to process the
    last few bytes of output. This resulted in very strange
    truncated error messages.

  - script(1) would almost always return with an exit status of 0,
    even if the command returned a non-zero exit status. This broke
    my 'build world, install it and rebuild the kernel' scripts
    because 'make installworld' would run even if 'make buildworld'
    had failed.
1998-09-19 09:45:42 +00:00
..
apply .Sh ENVIRONMENT VARIABLES -> .Sh ENVIRONMENT 1998-05-13 07:57:49 +00:00
ar Install the legacy man file in section 1aout. 1998-09-07 06:01:37 +00:00
at Typo fix: garbeld -> garbled 1998-08-30 17:33:05 +00:00
banner .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 07:48:45 +00:00
basename PR: 4866 1998-04-14 22:08:48 +00:00
biff -Wall cleanup. 1997-12-29 00:09:06 +00:00
brandelf Add a forgotten 'static'. 1998-04-21 02:44:12 +00:00
c89
calendar Update to reflect the current Jewish calendar. 1998-02-08 22:57:59 +00:00
cap_mkdb Fixed printf format errors. 1998-08-02 15:18:45 +00:00
chat Merge ppp 2.3.3 -> 2.3.5 changes (for what it's worth) 1998-06-23 21:58:41 +00:00
checknr
chflags
chkey
chpass Bump up the E_SHELL constant after an extra field was added, thus making 1998-09-03 17:32:22 +00:00
cksum Avoid infinite loop if read() fails consistently. 1998-09-16 15:53:25 +00:00
cmp "EOF of file..." is written to stderr and not stdout. 1998-05-26 00:39:12 +00:00
col
colcrt -Wall cleanup. 1997-12-29 00:09:06 +00:00
colldef I have been running with these locale data for a while now and 1998-08-10 09:49:42 +00:00
colrm -Wall cleanup. 1997-12-29 00:09:06 +00:00
column
comm
compile_et Simplified using new yacc rules and by not generating y.tab.h. The 1998-05-04 18:40:18 +00:00
compress
cpp
ctags Ctags write to buffer beyond the end of it when the source file 1998-04-19 18:00:49 +00:00
cut
dig Update for bind-8 1998-05-03 05:16:58 +00:00
dirname
dnsquery Update for bind-8 1998-05-03 05:16:58 +00:00
doscmd Change doscmd to use i386_set_ioperm() call instead of sysarch(). 1998-07-28 03:39:59 +00:00
du Print correct total for -c option (previously, the total for the last 1998-09-11 15:53:08 +00:00
ee Use NL_CAT_LOCALE to activate LC_MESSAGES 1998-04-30 12:49:11 +00:00
env
error .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 07:48:45 +00:00
expand PR: bin/5529 1998-02-02 07:10:59 +00:00
f2c During compilation of a Fortran program f2c/f77 will spew the 1998-07-24 07:13:57 +00:00
false
fetch DTRT for file: URLs when output file is "-". 1998-09-17 00:15:15 +00:00
file Correct zsh shell script entry. 1998-09-07 16:27:24 +00:00
file2c
find PR: 7522 1998-08-10 10:29:11 +00:00
finger fix 8bit clean issue 1998-08-07 16:21:09 +00:00
fmt
fold
fpr
from
fsplit .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 07:48:45 +00:00
fstat Fixed printf format errors. 1998-07-06 21:01:54 +00:00
ftp fd_set is documented to be a typedef, not a struct. Conform more 1998-07-26 18:49:36 +00:00
gcore Don't require an executable file name. If no executable image is 1998-09-14 10:09:30 +00:00
gencat Fixed printf format errors. 1998-08-02 15:18:45 +00:00
getopt
global Don't create an unused obj directory. 1998-02-20 11:18:57 +00:00
gprof Make profiling work for ELF. gprof now autodetects the format of 1998-09-07 23:32:00 +00:00
gprof4 Make profiling work for ELF. gprof now autodetects the format of 1998-09-07 23:32:00 +00:00
head
hexdump
host Update for bind-8 1998-05-03 05:16:58 +00:00
id Add "-P" display the id as a password file entry. 1998-08-21 06:47:58 +00:00
indent Support integer constant unsigned-suffix and long-long-suffix. 1998-05-19 20:41:20 +00:00
ipcrm
ipcs .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 07:48:45 +00:00
join
jot Random data is no longer based on the time of day, rather the random 1998-01-24 03:32:33 +00:00
kdump
key The elf build wants to link against libcrypt. 1998-08-31 00:42:21 +00:00
keyinfo .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 07:48:45 +00:00
keyinit The elf build wants to link against libcrypt. 1998-08-31 00:42:21 +00:00
keylogin
keylogout Add rcsid, remove unused #includes, change exit(-1). 1998-01-14 07:14:11 +00:00
killall Diagnostic rewritten in English. 1998-09-02 10:05:47 +00:00
ktrace
kzip Use -aout for kernels right now. This will have to be changed back if 1998-09-14 11:32:52 +00:00
lam
last Reviewed by: Peter Hawkins <thepish@FreeBSD.org> 1998-05-28 00:58:29 +00:00
lastcomm
ldd Make ldd work on alpha. 1998-09-16 09:31:48 +00:00
leave Don't let secs variable wrap if <= 2. 1998-04-14 00:23:54 +00:00
lex /usr/src/usr.bin/lex/Makefile puts FlexLexer.h into /usr/include/g++, 1998-08-14 06:35:37 +00:00
limits Fix a bunch of spelling errors. 1998-06-04 21:06:07 +00:00
locate Create a save TMPDIR using `mktemp -d'. 1998-06-18 09:26:22 +00:00
lock Don't assume that time_t is long. 1998-06-29 17:06:00 +00:00
lockf Add a "-k" option, to specify that the lock file should be kept 1998-07-08 05:29:05 +00:00
logger
login Remove hardcoded constant in favour of login.conf value. 1998-08-17 03:25:07 +00:00
logname
look Support multiple databases. For example 1998-08-31 16:38:23 +00:00
lorder Removed explict PATH which tended to cause the *wrong* path to be used 1998-08-15 07:10:21 +00:00
lsvfs Fixed anachronisms (nuked vfs type number; don't give a 1/6-baked list 1998-08-29 13:53:22 +00:00
m4 Make the builtin unix macro work as it should (well like Solaris's, 1998-09-07 22:09:13 +00:00
mail Move setting of 'crt' mail variable to {/usr/src}/etc/mail.rc. 1998-08-31 10:53:06 +00:00
make Set the `pc98' string to the MACHINE if machdep.ispc98 != 0. 1998-09-09 14:58:30 +00:00
makewhatis
mesg
minigzip Add SEE ALSO section including ref to gzip. Add .An. 1998-01-05 07:14:54 +00:00
mk_cmds Added y.tab.h to SRCS. This should have been used to get dependencies 1998-05-05 13:16:35 +00:00
mkdep Remove -n for ignoring system headers. Instead add finer grain shell 1998-09-13 09:39:39 +00:00
mkfifo
mklocale I have added the support for BIG5 encoding into libc/libxpg4/mklocale. 1998-08-15 12:51:49 +00:00
mkstr Add #include <string.h> to get prototypes. 1998-02-20 04:48:37 +00:00
mktemp Sort cross references. 1998-08-31 16:41:09 +00:00
modstat .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 07:48:45 +00:00
more Ignore (effectively) SIGTSTP if we're already in the process of tstoping. 1998-08-03 03:11:09 +00:00
msgs Revert "POSIX saved uids change". seteuid(2) is not POSIX, and 1998-07-14 19:07:30 +00:00
mt Augment compression and blocksize support. Update table of known densities. 1998-09-15 10:28:20 +00:00
ncal fix ncal.1 grammar 1998-04-26 06:21:29 +00:00
netstat Quick hack to allow netstat to compile once more: ifdef out MT_SOOPTS 1998-08-23 15:23:11 +00:00
newkey Replace incomplete malloc prototype with #include <stdlib.h> 1998-02-20 04:38:20 +00:00
nfsstat Merged from Lite2. This was mostly already done, mostly indirectly 1998-01-20 12:27:38 +00:00
nice .Nm nice -> .Nm. 1998-03-23 07:45:40 +00:00
nm Install the legacy man file in section 1aout. 1998-09-07 06:01:37 +00:00
nohup
objformat Add links to addr2line, objcopy, and objdump. These exist only for 1998-09-16 04:11:15 +00:00
opieinfo
opiekey
opiepasswd
pagesize
passwd The host commandline option is -h and not -s. 1998-08-24 00:56:20 +00:00
paste Add #include <stdlib.h> to get prototype for malloc(). Without this, 1998-02-20 04:21:46 +00:00
pr Don't assume that time_t is long. 1998-06-29 17:06:00 +00:00
printenv
printf
quota Local filesystems are ufs not ffs 1998-06-11 03:47:29 +00:00
ranlib Install the legacy man file in section 1aout. 1998-09-07 06:01:37 +00:00
rdist Make sure we pass the length - 1 to readlink, since it adds its own 1998-06-09 04:10:08 +00:00
renice
rev
rlogin Add -lcrypt when building kerberos. 1998-09-05 00:32:27 +00:00
rpcgen Add support for the RPC 64-bit integer type ``hyper''. 1998-09-08 17:33:12 +00:00
rpcinfo #include <arpa/inet.h> 1998-06-12 12:37:15 +00:00
rs Add #include <string.h> to get prototypes. 1998-02-20 04:48:37 +00:00
rsh Add -lcrypt when building kerberos. 1998-09-05 00:32:27 +00:00
rup PR: bin/6193 1998-04-01 21:34:10 +00:00
ruptime
rusers
rwall
rwho Be picky about the format of the commandline and cleanup 1998-05-03 23:22:37 +00:00
sasc .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 07:48:45 +00:00
script Fix the following bugs: 1998-09-19 09:45:42 +00:00
sed Make 'y' command 8bit clean 1998-04-29 21:58:36 +00:00
shar
showmount
size Install the legacy man file in section 1aout. 1998-09-07 06:01:37 +00:00
soelim
split
strings Install the legacy man file in section 1aout. 1998-09-07 06:01:37 +00:00
strip Install the legacy man file in section 1aout. 1998-09-07 06:01:37 +00:00
su Removed a buggy ifdef for not linking libmd explicitly. Explicit 1998-09-02 14:46:20 +00:00
symorder
systat Delete unused code. This has been obsoleted by the new devstat code. 1998-09-16 00:25:54 +00:00
tail Fixed printf format errors. 1998-07-06 21:01:54 +00:00
talk Fixed printf format errors. 1998-07-06 21:01:54 +00:00
tconv
tcopy
tee
telnet Fixed printf format errors. 1998-07-06 21:01:54 +00:00
tftp Don't assume that hp->h_lenght == 4. Be conservative in its use. 1998-06-09 04:31:02 +00:00
time When exiting on SIGINT, exit with signal status 1998-08-24 10:17:20 +00:00
tip Don't assume that time_t is long. 1998-06-29 17:06:00 +00:00
tn3270 Make this internal build tool static to avoid trying to use shared 1998-08-17 11:56:22 +00:00
top Some fixes for swap space accounting. 1998-09-11 14:38:12 +00:00
touch Don't assume that time_t is long. 1998-06-29 15:52:49 +00:00
tput
tr
true
truss Use a default execution type if none of the listed ones match. This 1998-09-07 05:49:43 +00:00
tset
tsort
tty
ul
uname Fixed printf format errors. 1998-07-06 21:01:54 +00:00
unexpand Add #include <string.h> to get prototypes. 1998-02-20 04:33:03 +00:00
unifdef
uniq Localize it 1998-03-08 20:56:43 +00:00
units .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 07:48:45 +00:00
unvis
users
uudecode Allow spaces in the filename to be decoded to. 1998-05-25 06:27:09 +00:00
uuencode Add two new options: 1998-01-25 19:26:05 +00:00
vacation
vgrind Change the name of a variable from _start to s_start. On alpha there 1998-05-15 09:26:28 +00:00
vi Remove tcl from /usr/src, according to prior agreement. BTW, tcl-8.0 *is* 1998-09-05 12:25:55 +00:00
vis
vmstat vmstat shows all manually-specified devices rather then just the first 1998-09-16 18:20:23 +00:00
w Remove unused strvisx. 1998-06-09 04:35:20 +00:00
wall A bit of PR7278 which belongs here. 1998-07-22 20:34:24 +00:00
wc
what Make compatible with standard what command: 1998-05-04 22:26:56 +00:00
whereis Sort cross references. 1998-08-31 16:41:09 +00:00
which Sort SEE ALSO section alphabetically. 1998-05-22 11:09:01 +00:00
who Back out Steve's fix, as this was already fixed by me in revision 1.6 1998-05-25 12:04:47 +00:00
whois #include <arpa/inet.h> 1998-06-12 12:55:46 +00:00
window Use <signal.h> instead of <sys/signal.h>. 1998-08-05 09:01:29 +00:00
write
xargs Remove compile time dependency on ARG_MAX. 1998-06-17 12:58:43 +00:00
xinstall fchflags(8) -> fchflags(2) 1998-06-10 07:17:59 +00:00
xlint Put y.tab.h back in SRCS. This used to be the best way to get 1998-05-05 13:00:26 +00:00
xstr
yacc Use mkstemp rather than mktemp for yacc's temp files. This change was made 1998-06-09 04:20:51 +00:00
yes
ypcat .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 07:48:45 +00:00
ypmatch .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 07:48:45 +00:00
ypwhich #include <arpa/inet.h> 1998-06-12 13:04:59 +00:00
Makefile Put ldd back in the standard list since it builds on alpha now. 1998-09-16 09:32:29 +00:00
Makefile.inc