freebsd-nq/usr.bin
Jordan K. Hubbard cd7377a368 Don't assume that the number of fds to select on is known quantity (in
this case 16).  Use dynamic FD_SETs and calculated high-water marks
throughout.
Obtained from:	OpenBSD and Apple's Radar database
MFC after:	2 days
2001-12-08 21:51:34 +00:00
..
apply Use __FBSDID(). 2001-12-02 20:40:22 +00:00
ar Use __FBSDID(). 2001-12-02 20:45:24 +00:00
at Use __FBSDID() 2001-12-02 20:23:02 +00:00
awk Switch to the One True AWK from Bell-Labs, away from GNU AWK. 2001-10-30 08:56:50 +00:00
banner Use __FBSDID(). 2001-12-03 01:15:28 +00:00
basename Use __FBSDID(). 2001-12-03 01:15:28 +00:00
biff Use __FBSDID(). 2001-12-03 01:15:28 +00:00
brandelf Style fixes. 2001-12-03 00:00:22 +00:00
bzip2 Build/install bzip2 documentation (info page). 2001-07-12 14:44:17 +00:00
c89 Use __FBSDID(). 2001-12-03 01:15:28 +00:00
calendar WARNS=2 fixup (mostly. Some are Hard To Fix(tm), so NO_WERROR is set) 2001-12-02 22:44:14 +00:00
cap_mkdb Use __FBSDID(). 2001-12-02 22:46:47 +00:00
chat Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The 2001-07-26 11:02:39 +00:00
checknr Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
chflags Slight makefile style. 2001-12-02 23:04:14 +00:00
chkey WARNS=2 fixes. Also, use __FBSDID(), and sort includes. 2001-12-02 23:12:33 +00:00
chpass Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
cksum WARNS=2 fixup. 2001-12-02 12:54:40 +00:00
cmp Cast off_t to long long before printing. Use %ll instead of %q incase 2001-12-03 20:56:16 +00:00
col Use __FBSDID(). 2001-12-02 23:34:16 +00:00
colcrt Use __FBSDID(). 2001-12-02 23:34:16 +00:00
colldef Only use __FBSDID if it is defined. This fixes the 4.4-release (but 2001-12-08 02:28:16 +00:00
colrm Style stuff. 2001-12-02 23:44:42 +00:00
column Use __FBSDID(). 2001-12-02 23:52:47 +00:00
comm Use __FBSDID(). 2001-12-02 23:52:47 +00:00
compile_et
compress Use __FBSDID(). 2001-12-02 23:58:38 +00:00
ctags Use __FBSDID(). 2001-12-03 00:07:59 +00:00
cut WARNS=2 and -Wall are not both needed. (The second is a subset of the 2001-12-03 00:16:52 +00:00
dig
dirname
dnskeygen
dnsquery
doscmd WARNS=2 fixup 2001-12-02 13:48:40 +00:00
du WARNS=2 fixup 2001-12-02 13:48:40 +00:00
ee Exit gracefully when a SIGHUP is received. This prevents ee from going into 2001-08-31 21:50:06 +00:00
enigma
env
expand mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
false WARNS=2 fixup. 2001-12-02 13:55:09 +00:00
fetch Remove an extraneous argument to fprintf that -Wformat noticed. 2001-11-10 18:39:54 +00:00
file Update for FILE v3.37. 2001-10-09 07:31:02 +00:00
file2c Spell "FreeBSD" with "F" and "BSD" in uppercase. 2001-08-13 16:33:00 +00:00
find Add a missing comma. 2001-11-20 15:45:29 +00:00
finger WARNS=2 fix, remove 'register' and use __FBSDID(). 2001-12-02 20:13:42 +00:00
fmt The old fmt(1) always did what the new ``-l 8'' option does. 2001-08-15 14:53:55 +00:00
fold Add a missing word to form a complete sentence. 2001-11-19 08:35:59 +00:00
from Fix two minor grammar mistakes. 2001-11-19 09:01:43 +00:00
fstat Anding the fsid with 0xffff was causing aliasing problems. 2001-11-05 20:40:24 +00:00
fsync MFS: in HISTORY section, fix release number of first appearance 2001-08-01 12:15:21 +00:00
ftp Make completion work with filenames containing spaces. 2001-11-18 17:49:09 +00:00
gcore Removed unused include of kernel-only file <sys/lock.h>. 2001-10-13 04:54:03 +00:00
gencat Fix grammar in AUTHORS section. 2001-11-23 14:37:27 +00:00
getconf mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
getopt Warns cleanup (just make main return an int). 2001-12-03 20:57:49 +00:00
gprof mdoc(7) police: kill whitespace at EOL. 2001-11-20 15:49:18 +00:00
gprof4 Add -K support to gprof(1), which enables dynamic symbol resolution from 2001-10-30 15:54:09 +00:00
head In order to perform faster when doing "head -n", use a pair of 2001-11-02 09:27:16 +00:00
hesinfo Warns cleanup. 2001-12-03 20:58:56 +00:00
hexdump WARNS=2 fixups. 2001-12-02 12:09:41 +00:00
host
id Fold groups(1) and whoami(1) into id(1). 2001-09-14 14:04:08 +00:00
indent Make this compile cleanly when warnings are enabled: 2001-10-28 18:35:32 +00:00
ipcrm Warns cleanups: 2001-12-03 21:00:33 +00:00
ipcs
join mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
jot Actually, arc4random() returns a uint32_t, not an int. Use the correct 2001-11-08 22:01:35 +00:00
kdump Really fix this work to work. While rev 1.24 did allow awk to run w/o 2001-11-01 02:16:10 +00:00
kenv Deuglify the usage message by putting the program name after the 2001-11-15 15:46:45 +00:00
keylogin Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
keylogout
killall killall operates on all processes owned by the real uid, not the 2001-11-30 00:30:28 +00:00
ktrace Compensate for "Compensate for header dethreading" by backing it out. 2001-10-10 17:48:44 +00:00
lam Cross-reference between lam(1) and paste(1). Add a STANDARDS section to 2001-09-21 02:51:07 +00:00
last localtime() was being called on an int pointer (due to recent 2001-10-29 00:34:20 +00:00
lastcomm Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ldd Fix long format mismatch with int arg 2001-10-29 00:32:58 +00:00
leave Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The 2001-07-26 11:02:39 +00:00
less
lessecho
lesskey
lex ``recognized -> recognize'' where appropriate. 2001-08-23 21:13:31 +00:00
limits Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
locate mdoc(7) police: 2001-08-07 15:48:51 +00:00
lock Warns cleanups: 2001-12-03 21:01:52 +00:00
lockf Warns cleanups. 2001-12-03 21:07:23 +00:00
logger The default for -p was ``kern.notice'' in the -h case. 2001-09-06 12:48:44 +00:00
login Use __FBSDID(). Also do a bit of cosmetic #if and header-order 2001-12-02 20:54:57 +00:00
logname Warns cleanups. Add FreeBSD ID to Makefile. 2001-12-03 21:03:39 +00:00
look Warns cleanup - not ready for WARNS=2 yet. 2001-12-03 21:04:50 +00:00
lorder
lsvfs
m4 Remove the local basename in favor of the libc version. 2001-07-24 14:09:47 +00:00
mail Don't add space after comma unless there was already one (prevents a 2001-09-23 04:07:26 +00:00
make mdoc(7) police: protect trailing full stops of abbreviations 2001-08-10 13:45:36 +00:00
makewhatis mdoc(7) police: removed punctuation after the last SEE ALSO xref. 2001-07-10 18:00:19 +00:00
mesg Add xref to wall(1). 2001-11-20 15:39:58 +00:00
minigzip Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
mkdep Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
mkfifo mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
mklocale Initialize fp in main() 2001-08-13 21:57:12 +00:00
mkstr Warns cleanup. Add FreeBSD ID to Makefile. 2001-12-03 21:06:20 +00:00
mktemp Warns cleanups. 2001-12-03 21:07:23 +00:00
msgs File positions are off_t nowdays, not long, so: 2001-09-03 04:30:46 +00:00
mt mdoc(7) police: s/BSD/.Bx/ where appropriate. 2001-08-14 10:01:54 +00:00
ncal
ncplist
ncplogin Warns cleanups. 2001-12-03 21:07:23 +00:00
netstat - Make ip_rtaddr() global, and use it to look up the correct source 2001-11-30 10:40:28 +00:00
newkey Turn on WARNS=2. this compiles cleanly. 2001-12-02 23:09:09 +00:00
nfsstat Userland part of nfs client/server split and cleanup. 2001-09-18 23:34:44 +00:00
nice Warns cleanup. Add FreeBSD ID to Makefile and nice.c. 2001-12-03 21:10:47 +00:00
nl Fix typo. 2001-11-24 21:22:16 +00:00
nm Expland the emalloc to do the testing at the place of mallocing. 2001-07-24 14:08:02 +00:00
nohup Nohup seems to be warns clean on alpha and i386. Add FreeBSD id to Makefile. 2001-12-03 21:12:03 +00:00
objformat Warns cleanups. Don't use gccism -Wall. 2001-12-03 21:13:03 +00:00
opieinfo Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
opiekey Remove the WANT_INSECURE_OPIE option - it is now a default. This is not 2001-08-12 18:47:56 +00:00
opiepasswd Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
pagesize mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
passwd Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
paste Cross-reference between lam(1) and paste(1). Add a STANDARDS section to 2001-09-21 02:51:07 +00:00
pr Cross-reference rs(1), the general array re-shaper. (pr(1) is commonly used 2001-09-21 02:57:56 +00:00
printenv Warnc cleanups. Add FreeBSD IDs. 2001-12-03 21:15:40 +00:00
printf Warns cleanups. 2001-12-03 21:27:45 +00:00
quota Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
ranlib mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
renice Warns cleanups. 2001-12-03 21:27:45 +00:00
rev Warns cleanups, add FreeBSD IDs. 2001-12-03 21:20:37 +00:00
rlogin Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
rpcgen Have rpcgen output the prototypes for the dispatch tables 2001-11-13 11:08:29 +00:00
rpcinfo Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
rs Do not overrun entry array when printing output tables. 2001-09-10 15:09:12 +00:00
rsh Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
rup If the remote uptime is less than one minute, print the uptime in 2001-10-17 01:44:34 +00:00
ruptime Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
rusers Fix time_t == int assumption, properly convert protocol int to time_t. 2001-10-28 20:24:51 +00:00
rwall mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
rwho Fix time_t == int assumption, convert protocol int to time_t. 2001-10-28 20:26:54 +00:00
sasc Warns cleanups. 2001-12-03 21:27:45 +00:00
script Warns cleanups. Add FreeBSD ID. 2001-12-03 21:22:56 +00:00
sed Don't allocate a zero byte segment. 2001-11-08 16:47:05 +00:00
shar mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
showmount Warns cleanups. This makes the showmount code warns clean, but some 2001-12-03 21:25:28 +00:00
size Warns cleanups. 2001-12-03 21:27:45 +00:00
sockstat Spell "FreeBSD" with "F" and "BSD" in uppercase. 2001-08-13 16:33:00 +00:00
soelim Warns cleanups. 2001-12-03 21:27:45 +00:00
split Use CFLAGS, not COPTS, in the Makefile. bsd.prog.mk conveniently adds 2001-09-05 20:10:59 +00:00
strings Warns cleanups. 2001-12-03 21:27:45 +00:00
strip Strip seems to be warns clean on i386 and alpha. 2001-12-03 21:28:37 +00:00
su Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
symorder Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
systat Remove the 'irq' string from the irqN part of the "interrupts" display. 2001-12-01 17:41:37 +00:00
tail Since kqueue support was added to tail, the "-F" option (check for 2001-11-25 18:03:28 +00:00
talk Add xref to wall(1). 2001-11-20 15:39:58 +00:00
tconv mdoc(7) police: join split punctuation to macro calls. 2001-08-10 17:35:21 +00:00
tcopy Initialize msg in main() 2001-08-13 21:58:16 +00:00
tee Warns cleanups. Add FreeBSD ID to Makefile. 2001-12-03 21:37:35 +00:00
telnet Don't assume that the number of fds to select on is known quantity (in 2001-12-08 21:51:34 +00:00
tftp Fixed most style bugs in previous commit. 2001-10-19 12:27:26 +00:00
time Fix one warning - still not warns clean. 2001-12-03 21:32:01 +00:00
tip ${BINDIR} already has the leading slash. 2001-11-27 09:54:02 +00:00
top Compensate for "Compensate for header dethreading" by backing it out. 2001-10-10 17:48:44 +00:00
touch Clarify that -h implies -c. 2001-09-24 17:42:37 +00:00
tput mdoc(7) police: sort xrefs. 2001-08-07 13:41:38 +00:00
tr mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
true WARNS=2 fixup. 2001-12-02 13:55:09 +00:00
truncate * Update author's e-mail address. 2001-08-16 08:40:54 +00:00
truss Print the correct return code for successful Linux syscalls. 2001-11-17 17:18:36 +00:00
tset mdoc(7) police: s/BSD/.Bx/ where appropriate. 2001-08-14 10:01:54 +00:00
tsort Warns cleanups. Add missing prototype. 2001-12-03 21:32:54 +00:00
tty Warns cleanup - don't declare ttyname(). Add FreeBSD ID to Makefile. 2001-12-03 21:33:59 +00:00
uac Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ul Warns cleanups. Add FreeBSD ID to Makefile. 2001-12-03 21:37:35 +00:00
uname mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
unexpand
unifdef mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
uniq Warns cleanups. Add FreeBSD ID to Makefile. 2001-12-03 21:37:35 +00:00
units Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
unvis Warns cleanups. Add FreeBSD ID to Makefile. 2001-12-03 21:37:35 +00:00
usbhidctl
users Remove a bogus cast and lockdown users(1) with WARNS?=2 2001-09-09 00:40:04 +00:00
uudecode Warns cleanup. Add FreeBSD ID to Makefile. 2001-12-03 21:39:04 +00:00
uuencode Pad input with null characters if it is not a multiple of 3. 2001-10-09 11:05:27 +00:00
vacation
vgrind mdoc(7) police: join split punctuation to macro calls. 2001-08-10 17:35:21 +00:00
vi Style fix: use .else where appropriate. 2001-08-09 07:03:11 +00:00
vis Some warns cleanups - I think this is still not warns clean on the alpha. 2001-12-03 21:40:07 +00:00
vmstat SECURITY: Drop `setgid kmem' bit as early as possible. 2001-08-31 16:26:37 +00:00
w Compensate for "Compensate for header dethreading" by backing it out. 2001-10-10 17:48:44 +00:00
wall - Move the prototype of ttymsg() into ttymsg.h. syslogd and talkd 2001-09-09 14:23:31 +00:00
wc mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
what mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
whereis mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
which Spell "FreeBSD" with "F" and "BSD" in uppercase. 2001-08-13 16:33:00 +00:00
who Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
whois Add support for Brazilian IP Addresses. Example `whois 200.236.70.0'. 2001-12-08 21:22:42 +00:00
window use openpty() instead of rolling a custom function (which didn't support 2001-09-28 22:46:13 +00:00
write Add xref to wall(1). 2001-11-20 15:39:58 +00:00
xargs
xinstall This program uses sysexits(3), so it does not exit 1 on failure. 2001-10-23 00:47:27 +00:00
xlint Make this build on ia64. 2001-10-09 20:04:02 +00:00
xstr Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
yacc Only use __FBSDID if it is defined. This fixes the 4.4-release (but 2001-12-08 02:28:16 +00:00
yes Yes seems to be warns clean on alpha and i386. 2001-12-03 21:42:15 +00:00
ypcat Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ypmatch Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ypwhich
Makefile Put the "tip" in exactly the same place where it was in rev. 1.169. 2001-11-27 09:42:50 +00:00
Makefile.inc Protect "make world", as I am doing some (potentially) dangerous 2001-12-02 23:10:57 +00:00