freebsd-skq/usr.bin
Mike Heffner 0c3a8314c0 Merge various changes from OpenBSD and NetBSD.
o remove panic() in favor of err(3) and use err(3) functions
  consistently throughout
o use stat(2)'s S_IS* macros rather than S_IF*
o [r]index -> str[r]chr
o convert some static buffers to dynamic ones
o use real tempfiles rather than reopening the same templates
o rename some functions that clash with libc
o convert wait_status from union to int and use wait(2) status macros
o fix multiple potential buffer overflows
o fix a few comments
o add $FreeBSD$

Reviewed by:	nra, nectar (earlier version)
2001-03-25 04:57:05 +00:00
..
apply Fix bogus checking of snprintf() by decreasing the remaining size of the 2001-01-25 03:40:17 +00:00
ar Don't attempt to parse %c 2001-03-21 20:47:43 +00:00
at mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
banner BDECFLAGS. 2001-03-04 12:28:57 +00:00
basename mdoc(7) police: utilize .St macro. 2001-02-26 15:55:52 +00:00
biff
brandelf Fix typo: compatability -> compatibility. 2001-02-06 12:05:58 +00:00
c89
calendar Don't attempt to parse %c, use nl_langinfo instead 2001-03-21 15:41:02 +00:00
cap_mkdb
chat
checknr
chflags
chkey
chpass
cksum mdoc(7) police: Change -filled displays (which just happen 2001-02-07 13:45:30 +00:00
cmp
col
colcrt
colldef Eliminate mdocNG warnings caused by misplaced or extraneous macro calls. 2001-02-28 17:38:53 +00:00
colrm
column
comm Rework diagnostics text 2001-02-06 20:01:40 +00:00
compile_et
compress
ctags
cut Remove duplicate FreeBSD Id 2001-02-06 20:03:48 +00:00
dig
dirname
dnskeygen
dnsquery
doscmd Fix typo: compatability -> compatibility. 2001-02-06 12:05:58 +00:00
du
ee mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
enigma
env
expand mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
false Fix typo 2001-01-25 13:13:55 +00:00
fetch Now that libfetch uses the high port range by default, add a -U option to 2001-03-24 00:32:11 +00:00
file mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
file2c
find Don't attempt to parse %c, use nl_langinfo instead 2001-03-21 15:51:50 +00:00
finger Don't attempt to parse %c 2001-03-21 18:43:49 +00:00
fmt
fold
from
fstat Fix `fstat -m' (show memory-mapped files), which was broken by 2001-02-15 22:42:44 +00:00
fsync
ftp
gcore MAXPATHLEN contains the trailing NUL. 2001-03-01 06:00:22 +00:00
gencat Optimize gencat(1) sources in same manner as its libc part some time ago: 2001-02-08 16:38:16 +00:00
gensetdefs mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
getconf Reword the description a little bit more for parallel construction. 2001-02-21 19:33:38 +00:00
getopt
gprof
gprof4
head mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
hesinfo man(7) -> mdoc(7). 2001-01-16 17:04:17 +00:00
hexdump mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
host
id
indent Fix indent endless on garbage input (i.e., if it encountered EOF while 2001-02-27 20:50:34 +00:00
ipcrm mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
ipcs
join
jot
kdump
kenv
key
keyinfo
keyinit
keylogin Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and 2001-03-19 12:50:13 +00:00
keylogout
killall Work around the p_comm[] size limit. If the user supplies more than 2001-02-14 21:56:03 +00:00
ktrace
lam mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
last Don't attempt to parse %c 2001-03-21 19:08:01 +00:00
lastcomm
ldd
leave mdoc(7) police: simplify construct. 2001-02-06 16:20:31 +00:00
less
lessecho
lesskey
lex
limits Fixed some style bugs (bogus cloned Id, null overrides of defaults, and 2001-02-17 06:20:14 +00:00
locate
lock
lockf
logger
login Fix login so that it exports environmental variables that are set by PAM 2001-02-09 13:21:50 +00:00
logname
look mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
lorder Pick up the environment variable ${NM} if it exists and use that to list 2001-03-06 15:00:32 +00:00
lsvfs
m4 The secure temporary directory is always created, so always remove it. 2001-02-28 19:21:44 +00:00
mail Merge various changes from OpenBSD and NetBSD. 2001-03-25 04:57:05 +00:00
make with my mentor hat on... 2001-03-15 10:33:00 +00:00
makewhatis
mesg
minigzip mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
mk_cmds
mkdep mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
mkfifo
mklocale mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
mkstr mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
mktemp Update HISTORY. 2001-02-28 03:33:44 +00:00
msgs mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
mt Print out resid portion of MTIOCGET returned data. 2001-01-21 01:33:31 +00:00
ncal Properly deal with one char weekdays 2001-03-22 00:38:46 +00:00
ncplist
ncplogin mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
netstat Add an example of a novel technique to the IPv6 code. This technique seems 2001-03-19 08:51:56 +00:00
newkey Switch from using rand() or random() to a stronger, more appropriate PRNG 2001-03-05 02:15:38 +00:00
nfsstat Take setgid kmem away from nfsstat, it has not needed it for some time 2001-03-22 17:39:57 +00:00
nice
nm Fix typo: seperate -> separate. 2001-02-06 11:21:58 +00:00
nohup
objformat
opieinfo
opiekey
opiepasswd
pagesize
passwd reset uid back to the user before doing kerberised change password. 2001-03-12 03:52:00 +00:00
paste mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
pr Use nl_langinfo instead of %Ef 2001-03-21 14:32:02 +00:00
printenv
printf mdoc(7) police: mark LC_NUMERIC with .Dv. 2001-02-10 10:26:52 +00:00
quota
ranlib mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
renice
rev mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
rlogin mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
rpcgen Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and 2001-03-19 12:50:13 +00:00
rpcinfo Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and 2001-03-19 12:50:13 +00:00
rs
rsh
rup Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and 2001-03-19 12:50:13 +00:00
ruptime
rusers Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and 2001-03-19 12:50:13 +00:00
rwall Prepare for mdoc(7)NG. 2001-01-16 09:39:23 +00:00
rwho Don't attempt to parse %c 2001-03-21 20:26:51 +00:00
sasc Preceed/preceeding are not english words. Use precede and preceding. 2001-02-18 10:44:00 +00:00
script
sed mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
shar
showmount
size
sockstat Use the newly introduced -W flag to netstat(1) to avoid truncated addresses. 2001-03-15 20:46:35 +00:00
soelim
split
strings
strip
su
symorder
systat Get rid of setgid kmem for systat, and while being there, fix some bugs 2001-03-23 03:58:25 +00:00
tail Use EV_SET() macro to initialize kevent structure. 2001-02-28 16:16:31 +00:00
talk
tconv mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
tcopy Move _PATH_DEFTAPE to <paths.h> to remove all the duplication of definitons, 2001-03-08 09:04:40 +00:00
tee
telnet Do not compile INET6 support if RELEASE_CRUNCH is defined 2001-02-18 07:28:31 +00:00
tftp Fix tftpd and tftp to support file transfers of over 65535 blocks 2001-02-02 10:53:02 +00:00
time Localize it (LC_NUMERIC) 2001-02-10 22:46:47 +00:00
tip mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
top Correct the top memory stats display: convert page counts to kB. 2001-03-20 16:02:16 +00:00
touch
tput
tr mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
true Fix typo 2001-01-25 13:13:55 +00:00
truncate
truss
tset
tsort Fix typo: compatability -> compatibility. 2001-02-06 12:05:58 +00:00
tty
uac
ul
uname
unexpand
unifdef
uniq
units All temperature scales are centigrades. Use "Celsius" instead. 2001-03-01 05:51:46 +00:00
unvis
usbhidctl
users
uudecode
uuencode
vacation
vgrind
vi
vis
vmstat fix usage statement (add missing [-n devs] option) 2001-02-22 13:55:12 +00:00
w Fix width for printing time 2001-03-21 21:49:33 +00:00
wall Fix ttynames generation broken with strlcat 2001-03-05 14:10:15 +00:00
wc
what
whereis
which
who Don't attempt to parse %c 2001-03-21 19:16:41 +00:00
whois
window mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
write
xargs
xinstall
xlint mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
xstr
yacc Have yacc use a prototype for yygrowstack(void) on ANSI compilers. 2001-02-19 01:10:01 +00:00
yes
ypcat mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
ypmatch mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
ypwhich
Makefile Removed some garbage (genassym(8) and its infrastructure). 2001-02-17 06:06:14 +00:00
Makefile.inc