NetBSD/usr.bin
dsl e934daaae7 Enable the code that adds global constants to every kernel object file
that uses each configuration parameter.
This will stop kernel objects build with different options (that come from
config files) being linked together or loaded as a LKM.
Currently some options that have an effect on the kernel DDI/KI are passed
directly as parameters to cc.
An aim (for anyone adequately bored) would be to reduce the number of these
constants that appear in each .o file.  .o files with the same constants
should be sharable between kernels (even between XEN and i386).
2007-05-12 10:15:31 +00:00
..
apply Fix example; from sat@freebsd via jmc@openbsd. 2006-12-24 10:07:18 +00:00
apropos modified man(1): 2006-04-10 14:39:06 +00:00
asa WARNS=3 2005-01-12 14:41:29 +00:00
at allow time to be specified as 'now' instead of 'now + 0 minutes' 2007-03-12 21:28:48 +00:00
audio use c99 initializer. 2006-10-22 16:12:20 +00:00
awk use -Wno-pointer-sign for GCC4. 2006-05-11 01:19:55 +00:00
banner WARNS=3 2005-01-12 14:45:26 +00:00
basename Clean up by using basename(3) from libc. 2005-04-04 16:47:54 +00:00
bdes WARNS=3 2005-01-12 14:45:26 +00:00
biff Kill __P(), use ANSI function declarations. 2005-02-17 16:53:45 +00:00
bthset Remove reference to btcontrol(8) and clarify mixer(4) 2006-08-19 16:37:26 +00:00
btpin use { | } for required alternates 2007-04-14 09:28:39 +00:00
bzip2 Add hook for SMALL 2004-06-06 06:39:43 +00:00
bzip2recover
cal appease gcc -Wuninitialized 2005-06-02 01:35:57 +00:00
calendar Update to include Zaurus Port. 2007-01-06 03:56:13 +00:00
cap_mkdb Write the database file into a temporary file first, because otherwise if 2005-04-13 04:50:22 +00:00
cdplay Correct documentation: 2007-04-23 11:47:55 +00:00
checknr Coverity CID 2969: Check for negative stack in the 'P' case like we do in 2006-04-25 19:25:19 +00:00
chflags Adapt chflags to the move of string_to_flags() and flags_to_string() 2006-12-14 20:57:00 +00:00
chpass pw_lock(3): ``You should finish writing to and close the file descriptor 2007-02-21 20:32:10 +00:00
cksum Remove duplicate #includes 2007-01-17 00:21:43 +00:00
cmp off-by-one (thanks to our anonymous contributor) 2006-06-03 21:47:55 +00:00
col Kill __P(), use ANSI function declarations; WARNS=3. 2005-02-17 17:12:42 +00:00
colcrt Kill __P(), use ANSI function declarations, constify; WARNS=3. 2005-02-17 17:17:25 +00:00
colrm Kill __P(), use ANSI function declarations, constify; WARNS=3. 2005-02-17 17:17:25 +00:00
column - Change all emalloc to ecalloc, since the previous implementation of emalloc 2006-12-09 21:42:40 +00:00
comm Kill __P(), use ANSI function declarations. 2005-02-17 17:31:28 +00:00
compile_et Only #define HAVE_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:11:17 +00:00
compress Remove unused ctype.h header. 2007-02-07 14:20:58 +00:00
config Enable the code that adds global constants to every kernel object file 2007-05-12 10:15:31 +00:00
crontab apply -Wno-pointer-sign with GCC4. 2006-05-12 03:29:11 +00:00
crunch Remove support for NetBSD/{,evb}sh5. 2007-04-08 09:35:21 +00:00
csplit mdoc improvements. 2006-09-27 17:41:30 +00:00
ctags don't do the -Wno-pointer-sign dance for host programs. 2006-05-12 01:18:25 +00:00
cut Teach 'cut -c' about multibyte characters. Fixes PR 34244, 2007-02-17 19:10:00 +00:00
db * Support reading multiple keys with the same name if '-D' is given, 2007-04-03 04:52:32 +00:00
deroff We already pass WARNS=3. 2005-09-01 18:27:24 +00:00
dirname Clean up by using dirname(3) from libc. 2005-04-04 16:46:55 +00:00
du Fix typo in usage. 2006-09-24 07:19:57 +00:00
eject PR bin/27066 by Sergey Svishchev: "eject(1) does not DTRT for floppy drives 2006-09-24 08:42:55 +00:00
elf2aout s/the the/to the/. 2004-04-23 02:55:11 +00:00
elf2ecoff Fix "pointer targets in passing argument X of 'Y' differ in signedness" 2006-05-31 08:09:55 +00:00
env de-__P, add ANSI prototypes, and a teeny bit of KNF. 2006-01-04 01:05:19 +00:00
error fix spelling of accidentally; from Zapher 2006-11-24 19:37:02 +00:00
expand - ansi 2005-03-09 02:02:07 +00:00
extattr mark strpy safe 2006-06-17 08:32:42 +00:00
false
fdformat Bump date for previous. 2006-07-22 08:36:14 +00:00
fgen Coverity CID 1748: Free alias on error. 2006-04-22 17:51:09 +00:00
file Include bsd.sys.mk so that HOST_SH is defined. (Hi apb) 2006-10-22 22:22:39 +00:00
find Remove macrobreaking whitespace. 2007-03-08 21:23:00 +00:00
finger PR/36278: David A. Holland: hard-coded paths in finger 2007-05-05 16:55:17 +00:00
fmt mail/head.c: make the previous delta only apply if FMT_PROG is not defined 2006-10-22 08:22:34 +00:00
fold
fpr
from isupper(x) can be true for x in [128..255], but since tolower(x) is required 2004-10-30 17:25:34 +00:00
fsplit No need to call isupper() before tolower() 2004-10-30 17:27:28 +00:00
fstat Xref sockstat(1) 2006-07-29 14:46:13 +00:00
ftp Switch from fparseln() to the internal getline() when parsing HTTP headers. 2007-05-10 12:22:04 +00:00
gcore PR/26804: Jason Thorpe: Make PT_DUMPCORE require the process to be PT_ATTACH'ed 2006-04-01 22:34:00 +00:00
genassym Remove unneeded \ from awk script. 2006-10-21 04:48:29 +00:00
gencat MCDelSet() contains an infinite loop! 2006-03-30 20:32:10 +00:00
getconf - Create sysctl nodes for AIO. 2007-05-01 01:01:25 +00:00
getent Remove some unnecessary casts. 2006-08-27 06:58:55 +00:00
getopt ANSIfy, remove unnecessary errno.h inclusion. 2006-07-09 21:39:48 +00:00
gprof
grep Changed the type of some size variables from int to size_t. Added const 2006-05-15 21:12:21 +00:00
gzip Apply fix from PR bin/35526 from Xin LI: fix typo in message 2007-01-31 08:23:22 +00:00
head Mention -c explicitly, use Nm, drop trailing space, 2004-05-04 23:44:21 +00:00
hesinfo Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
hexdump use ecalloc in previous 2006-10-09 14:27:06 +00:00
iconv More programs using efun. 2006-08-26 18:17:41 +00:00
id WFORMAT is no more... 2006-10-08 17:52:28 +00:00
indent WFORMAT is no more... 2006-10-08 17:52:28 +00:00
innetgr Sort options and add -v to usage. From Kouichirou Hiratsuka in PR 26219, 2004-07-10 16:12:29 +00:00
ipcrm
ipcs PR/34837: Mindaguas: Add SysV SHM dynamic reallocation and locking to the 2006-11-25 21:40:04 +00:00
join Be a good citizen and close files that are no longer used. 2007-02-21 20:45:27 +00:00
jot WFORMAT is no more... 2006-10-08 17:52:28 +00:00
kdestroy Remove some more kerberosIV references. 2006-03-23 21:48:18 +00:00
kdump When decoding ioctl commands type; do not output non printable 2007-03-19 18:51:09 +00:00
kgetcred Only #define HAVE_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:11:17 +00:00
kinit Remove some more kerberosIV references. 2006-03-23 21:48:18 +00:00
klist Remove some more kerberosIV references. 2006-03-23 21:48:18 +00:00
ktrace Fix typo. 2007-03-02 20:45:45 +00:00
ktruss since register_t is sometimes unsigned, cast to (long) to check >= 0. 2006-10-23 04:13:51 +00:00
lam WFORMAT is no more... 2006-10-08 17:52:28 +00:00
last Respect the environment variable TMPDIR if set. 2007-01-06 14:29:44 +00:00
lastcomm Note that ACOMPAT and ASU are no longer recorded. 2006-12-22 08:00:20 +00:00
ldd s/existance/existence/, from Zafer. 2006-11-24 22:52:16 +00:00
leave Fix Xref. End sentence with a dot. From YOMURA Masanori in private mail. 2005-09-11 23:18:42 +00:00
less Add the list of differences between more and less provided by mrg@ in 2006-12-17 16:16:53 +00:00
lex WFORMAT is no more... 2006-10-08 17:52:28 +00:00
locale make "locale -a" read locale.alias file. 2006-02-16 19:19:49 +00:00
locate fix typos 2007-04-29 20:23:34 +00:00
lock * Remove unused header ctype.h 2007-02-07 14:11:30 +00:00
logger
login PR/36294: De Zeurkous: login(1) -- inconsistent exit behavior on EOF 2007-05-09 01:56:25 +00:00
logname
look
lorder In preparation for making TOOL_LORDER use TOOL_JOIN, TOOL_MKTEMP and 2007-01-14 16:29:35 +00:00
m4 exp() -> m4_exp(). 2006-05-11 01:22:20 +00:00
machine
mail bump version, from Anon Ymous 2007-02-15 17:18:15 +00:00
make kill clobbered warning from Tobias Nygren 2007-04-05 14:11:35 +00:00
man Add "catman" to the SEE ALSO. 2007-02-10 19:27:39 +00:00
menuc Fully initialize the last element of menu_def[]. 2006-10-23 19:29:48 +00:00
mesg - Check stdin, stdout, and stderr for a tty. From Liam Foy for SUSv3 2005-07-30 16:14:39 +00:00
midiplay Bump date for previous. New sentence, new line. 2006-07-02 01:48:51 +00:00
mixerctl Two improvements, from a diff from jmc@openbsd. 2006-02-25 01:19:22 +00:00
mk_cmds Only #define HAVE_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:11:17 +00:00
mkcsmapper mapper_std iconv module and mkcsmapper(1) now can treat 2006-09-09 14:35:17 +00:00
mkdep kill crypto/rmd160.h and crypto/sha2.h, and instead make symlinks to 2006-10-30 20:22:53 +00:00
mkesdb change #include <sys/endian.h> => #include <machine/endian.h> so that 2006-02-09 22:03:15 +00:00
mkfifo fix setmode error handling. 2005-10-01 20:23:54 +00:00
mklocale Some fixes from jmc@openbsd. 2004-01-24 17:03:26 +00:00
mkstr
mktemp Sync usage with man page. 2006-09-19 19:01:56 +00:00
modstat fix mdoc warning: use -width instead of -column 2007-04-13 18:15:21 +00:00
moduli make MKCRYPTO=no work again. 2006-06-25 03:02:19 +00:00
msgc eliminate an alloca use. 2006-12-03 01:18:34 +00:00
msgs Fix obvious grammar mistake. Most of this file could do with a rewrite. 2004-09-03 14:24:50 +00:00
netgroup Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
netstat Fall back to kvm interface for protocols that do not yet 2007-04-27 18:37:53 +00:00
newsyslog Remove authors section, and update history where appropriate. 2006-11-13 16:33:56 +00:00
nfsstat more NQNFS removal fallout 2006-12-27 21:53:58 +00:00
nice From Liam Foy: 2005-10-05 21:20:46 +00:00
nl WFORMAT is no more... 2006-10-08 17:52:28 +00:00
nohup Improve command description, from jmc, jaredy, and tom, all @openbsd. 2005-07-14 22:16:39 +00:00
openssl libcompat isn't needed any more here. 2006-02-25 12:00:24 +00:00
pagesize
passwd Display a message indicating who's password is being changed, as per 2007-05-06 09:19:44 +00:00
paste Remove duplicate #includes 2007-01-17 00:21:43 +00:00
patch PR/34627: Lubomir Kundrak: patch(1) segfaults, when fed from stdin in batch 2006-09-26 16:36:07 +00:00
pathchk
pkill Allow the -l (long format) option to be used with pkill too. 2007-03-21 20:05:18 +00:00
pmap Complete rename of hfsp to hfs, requested by thorpej. 2007-03-06 11:28:44 +00:00
pmc - add volatile 2006-10-22 16:25:19 +00:00
pr fix typos 2007-04-29 20:23:34 +00:00
printenv
printf Remember to consume input bytes when processing '\0nnn' for %b formats 2005-03-22 23:55:46 +00:00
progress Update example to use KiB per recent change to ../ftp/progressbar.c 2007-04-12 06:31:20 +00:00
pwhash PR/31144: YOMURA Masanori: pwhash -S/-b never use optarg 2006-03-05 08:50:58 +00:00
qsubst Make fn arg 'unsigned char' to avoid passing 'char' to isalnum() 2004-11-01 21:36:11 +00:00
quota Replaced strncpy with strlcpy. Thanks to Peter Postma who 2004-09-07 13:20:39 +00:00
radioctl u_long -> u_int in many places. i guess radioctl(1) was broken on sparc64. 2006-05-11 01:24:14 +00:00
rdist From Anon Ymous: 2006-12-18 15:14:42 +00:00
renice - Exit with non-zero on errors (from Liam Foy) 2005-10-09 18:23:52 +00:00
rev
revoke Remove advertising clause from all of my stuff. 2007-01-09 12:49:36 +00:00
rfcomm_sppd Fix 64bit build, strlen() doesn't return int. 2007-04-21 10:39:30 +00:00
rlogin Remove duplicate #includes 2007-01-17 00:21:43 +00:00
rpcgen xdr sucks. sprinkle some (void *) casts into it's functions taking void **, 2006-05-11 17:11:57 +00:00
rpcinfo Coverity CID 2285: in the dump and dumpshort case, don't trash head so that 2006-05-24 16:04:03 +00:00
rs We have spell again, xref it. From YOMURA Masanori in private mail. 2005-09-11 23:22:03 +00:00
rsh Remove some more old kerberos4 code. Simplify usage. 2006-03-23 23:49:07 +00:00
rup From Liam Foy: 2005-08-07 16:01:45 +00:00
ruptime reference uptime(1) correctly 2006-05-13 12:41:54 +00:00
rusers call ctime() with an actual time_t *. 2006-05-11 01:25:23 +00:00
rwall - Minor logical restructure. Make sure we can create the client before 2005-08-09 23:41:38 +00:00
rwho The nusers variable is actually a size_t, so print with %zd, not %d. 2005-10-01 13:33:21 +00:00
script Fix PR: 26363: script core dumps on incorrect input files. 2006-06-14 16:05:38 +00:00
sdiff PR/34630: GNU sdiff(1) replacement 2007-02-18 22:13:42 +00:00
sdpquery fix warnings produced by -Wextra 2007-03-30 21:25:00 +00:00
sed provide _POSIX2_LINE_MAX if not there. 2007-04-17 20:30:29 +00:00
seq Add missing DPADD for LIBMATH 2006-01-07 07:12:27 +00:00
shar UCB copyrights are supposed to be three clause these days 2005-06-30 02:36:35 +00:00
shlock PR/30819: Peter Postma: src/usr.bin/shlock has no license 2006-10-07 21:13:00 +00:00
showmount ANSIfy. de-P(). Syle nits. 2005-09-25 18:56:33 +00:00
shuffle Xref shuffle(1) from random(6), and vice versa 2007-03-20 16:12:40 +00:00
skey Mark up authors with .An. From YOMURA Masanori in private mail. 2005-09-11 23:25:32 +00:00
skeyinfo
skeyinit Initialize pw to placate -Wuninitialized for sh3. 2005-09-20 15:48:17 +00:00
sockstat Document the option -n and bump date. 2006-07-14 21:14:24 +00:00
soelim Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
sort <ctype.h> is unused. What's still needed is <sys/cdefs.h> (which is 2007-02-21 20:15:17 +00:00
spell use c99 initializers. 2006-10-22 16:36:44 +00:00
split Mention that the argument file is not modified. From jmc@openbsd. 2006-12-24 08:35:21 +00:00
ssh s/independant/independent/, from Zafer. 2006-11-24 22:04:21 +00:00
stat PR/34662: martijnb at atlas dot ipv6 dot stack dot nl: readlink doesn't 2006-10-07 10:41:50 +00:00
string2key Add linking against -lutil to pick up estrdup(). Fixes evbsh5 build. 2006-08-31 07:18:39 +00:00
su remove PAM_DEBUG 2006-07-13 18:18:09 +00:00
systat Document 'systat syscall'. 2007-02-18 17:29:26 +00:00
tail Coverity CID 3204: The USE_SLEEP case can close the fp, and break does 2006-05-24 16:34:25 +00:00
talk Introduce a TALKHOST environment variable to make talk work through NAT. 2007-01-08 17:10:59 +00:00
tcopy Coverity CID 1565: Fix memory leak. 2006-04-30 23:30:13 +00:00
tee
telnet volatile fixes from Anon Ymous 2006-12-18 14:18:40 +00:00
tftp sprinkle volatile. 2006-10-22 16:45:35 +00:00
time Make -p, -l, and -c exclusive (any one turns off the other two). 2007-02-26 21:56:17 +00:00
tip Move #include <libgen.h> from tip.h to the place where it's really needed. 2007-03-09 23:45:21 +00:00
tn3270 - removes unused ctype.h headers 2007-03-10 00:22:57 +00:00
top Revert the changes done after newlock2 merge, except for the removal of 2007-02-17 22:49:56 +00:00
touch Coverty 1212: Avoid close(-1). 2006-03-18 11:15:00 +00:00
tput Usage should exit with to according to posix (from Liam Foy). 2005-07-30 14:43:13 +00:00
tr Remove duplicate #includes 2007-01-17 00:21:43 +00:00
true
tset Rename cat to tset_cat so that coverity does not get confused by the global 2006-05-01 23:18:37 +00:00
tsort WARNS=3 2005-07-19 23:18:31 +00:00
tty
ul
uname Sort options alphabetically. 2005-03-27 18:41:22 +00:00
unexpand
unifdef Coverity CID 1206: Confusion between && and || leads to indexing an array 2006-04-30 23:56:42 +00:00
uniq Don't limit lines to 8K. 2007-01-06 02:18:24 +00:00
units dipotre -> dioptre. 2007-02-15 22:37:27 +00:00
unvis Add -h to decode RFC 1808 URI style encoding (VIS_HTTPSTYLE). 2004-04-22 06:55:15 +00:00
usbhidaction Sprinkle static, pass lib, warns=4 2006-05-19 14:43:58 +00:00
usbhidctl Sync usage with manpage. 2006-10-26 11:12:41 +00:00
users Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
utoppya Sort SEE ALSO; mark up -; end sentence with dot. 2006-04-04 20:45:41 +00:00
uudecode implement HOST_CPPFLAGS+= -DNO_BASE64 2006-09-24 21:43:14 +00:00
uuencode Add -m to SYNOPSIS. 2006-09-24 15:56:42 +00:00
uuidgen Sync usage with man page. 2004-09-13 23:44:19 +00:00
vacation Add Auto-Submitted: header per RFC 3834, from OpenBSD 2006-08-15 16:21:59 +00:00
vgrind Need assert.h now. 2006-05-01 05:14:22 +00:00
vi exit(3) needs stdlib.h. 2007-01-22 11:46:43 +00:00
vis Sync usage with man page; use getprogname(). From Kouichirou Hiratsuka 2004-07-23 13:44:17 +00:00
vmstat warns=4, pass lint. 2006-10-17 15:13:08 +00:00
vndcompress Make example consistent (fix typo in file names). 2007-03-24 23:16:11 +00:00
w Use the UTX sizes + 1 for the struct to save space. 2006-06-22 17:57:31 +00:00
wall Call check_sender with NULL atime, meaning no strict checking. 2004-10-27 17:49:19 +00:00
wc de-__P, ANSIfy prototypes 2006-01-04 01:58:05 +00:00
what
whatis PR/9742: whatis doesn't deal with '.' in manpage names (John Hawkinson) 2006-09-26 04:16:24 +00:00
whereis Apply patch from Michael van Elst to fix PR bin/34114: 2006-07-30 11:50:29 +00:00
who Use Pq. 2007-01-18 00:15:05 +00:00
whois Coverity CID 1736: close files before returning. 2006-05-02 22:26:46 +00:00
window from Anon Ymous: 2006-12-18 20:04:55 +00:00
write strncpy -> strlcpy 2006-06-17 08:22:06 +00:00
xargs Bring in xargs from FreeBSD to gain -I, -J etc. but keep our GNU compatible 2007-04-18 15:56:06 +00:00
xinstall Don't depend on lubutil if we're building host tools. Fix tools build on 2006-12-16 12:59:16 +00:00
xlint Remove support for NetBSD/{,evb}sh5. 2007-04-08 09:35:21 +00:00
xstr Remove unneeded macro default arguments. From YOMURA Masanori in private mail. 2005-09-11 23:29:44 +00:00
yacc fix spelling of accommodate; from Zapher. 2006-11-24 19:46:58 +00:00
yes Make yes exit if a write fails (due to, e.g., EPIPE or revocation). 2006-04-24 05:24:03 +00:00
ypcat Sort SEE ALSO. 2005-02-26 16:20:36 +00:00
ypmatch Sort SEE ALSO, remove superfluous quotes. 2005-02-26 16:21:44 +00:00
ypwhich Sort SEE ALSO. 2005-02-26 16:22:27 +00:00
Makefile Enable sdiff(1) in usr.bin, disable GNU sdiff(1). 2007-02-18 22:44:44 +00:00
Makefile.inc WFORMAT is no more... 2006-10-08 17:52:28 +00:00