1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-30 12:04:07 +00:00
freebsd/usr.bin
Eitan Adler b268ae6440 Constify where appropriate.
Reported by:	emaste
Approved by:	cperciva (mentor)
MFC After:	3 days
2013-04-23 13:03:17 +00:00
..
alias Make hash, type and ulimit available via execve(). 2010-04-25 17:38:53 +00:00
apply Constify arguments. While I'm there, also add a static for usage(). 2013-01-04 23:44:22 +00:00
ar Add the Clang specific -Wmissing-variable-declarations to WARNS=6. 2013-04-19 19:45:00 +00:00
asa
at - Do not bail out if stat(2) fails with ENOENT in the spool directory. This 2013-04-12 14:32:16 +00:00
atf Add ATF to the build. This is may be a bit rought around the egdes, 2012-10-22 01:18:41 +00:00
atm
awk
banner Add missing static keywords to banner(1) 2011-11-06 08:13:51 +00:00
basename Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
bc Add the Clang specific -Wmissing-variable-declarations to WARNS=6. 2013-04-19 19:45:00 +00:00
biff Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
bluetooth
bmake Update to bmake-20130330 2013-04-02 21:31:11 +00:00
brandelf Fix warning when compiling with gcc46: 2012-01-10 02:58:29 +00:00
bsdiff Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
bzip2
bzip2recover Add the Clang specific -Wmissing-variable-declarations to WARNS=6. 2013-04-19 19:45:00 +00:00
c89 Make c89(1) invoke /usr/bin/cc with argv[0] also set to /usr/bin/cc, 2013-03-07 21:34:16 +00:00
c99 Make c99(1) invoke /usr/bin/cc with argv[0] set to "/usr/bin/cc" instead 2013-03-07 21:37:23 +00:00
calendar Fix typo from previous commit. 2013-04-14 08:49:35 +00:00
cap_mkdb Add missing static keywords to cap_mkdb(1) 2011-11-06 08:14:03 +00:00
catman Add missing static keywords to catman(1) 2011-11-06 08:14:09 +00:00
chat More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
checknr Mark global functions and/or variables in checknr(1) static where possible. 2011-11-06 18:49:03 +00:00
chkey Handle NULL return from crypt(3). Mostly from DragonFly 2012-02-22 06:27:20 +00:00
chpass Avoid possible null deref if ypclnt_new returns null 2012-11-15 15:06:18 +00:00
cksum More -Wmissing-variable-declarations fixes. 2012-10-20 10:33:15 +00:00
clang Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
cmp Add missing static keywords to cmp(1) 2011-11-06 08:14:16 +00:00
col Add missing static keywords to col(1) 2011-11-06 08:14:22 +00:00
colcrt Add missing static keywords to colcrt(1) 2011-11-06 08:14:28 +00:00
colldef Don't generate input() since it's not used. 2010-11-22 14:16:22 +00:00
colrm Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
column Add missing static keywords to column(1) 2011-11-06 08:14:34 +00:00
comm Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
compile_et - Update FreeBSD Heimdal distribution to version 1.5.1. This also brings 2012-03-22 08:48:42 +00:00
compress Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
cpio MFV r248590,248594: 2013-03-22 13:36:03 +00:00
cpuset Add missing static keywords to cpuset(1) 2011-11-06 08:14:40 +00:00
csplit Add missing static keywords to csplit(1) 2011-11-06 08:14:45 +00:00
csup Fix date. 2013-02-14 19:46:41 +00:00
ctags Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
ctlstat Fix bugs in the elapsed time calculation in ctlstat_standard() 2013-04-11 21:18:04 +00:00
cut The is_delim function works on wchar_t characters not ints, update the 2012-11-24 04:15:25 +00:00
dc Properly handle '-h' argument. 2013-02-28 01:22:14 +00:00
dig
dirname Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
dtc dtc: fix bootstrapping from 8.2-STABLE 2013-02-19 18:28:25 +00:00
du New sentence, new line. 2012-11-04 09:27:01 +00:00
ee Fix spelling. 2013-03-11 13:08:32 +00:00
elf2aout
elfdump More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
enigma Handle NULL return from crypt(3). Mostly from DragonFly 2012-02-22 06:27:20 +00:00
env Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
expand Mark global functions and/or variables in expand(1) static where possible. 2011-11-06 18:49:30 +00:00
false Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
fetch Fix bandwidth reporting when doing a restarted download with "-r". 2012-12-09 22:54:03 +00:00
file Update file(1) to version 5.11. 2012-04-19 03:20:13 +00:00
file2c
find Add the Clang specific -Wmissing-variable-declarations to WARNS=6. 2013-04-19 19:45:00 +00:00
finger More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
fmt Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
fold Add missing static keywords to fold(1) 2011-11-06 08:15:23 +00:00
from Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
fstat fuser(1) requires a filename. 2013-04-11 12:24:29 +00:00
fsync
ftp Merge tnftp-20100108 from the vendor branch into head. 2011-06-20 08:00:32 +00:00
gcore Wrong cast. 2013-04-20 15:37:33 +00:00
gencat More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
getconf
getent Teach getent(1) to look up a hostname and find IPv6 addresses. 2012-09-26 09:29:48 +00:00
getopt Fix typo in example getopt(1) script: $i vs $1 [1] 2011-01-26 18:43:15 +00:00
gprof rework old-style functions prototypes 2013-02-14 08:16:03 +00:00
grep Revert r246917, as it is causing incorrect behaviour as reported on 2013-03-12 19:18:10 +00:00
gzip More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
head Remove EOL whitespace accidentally introduced in r248393. 2013-03-17 06:57:25 +00:00
hesinfo
hexdump Fix typo ('1' != 'l') 2013-03-04 02:21:06 +00:00
host
iconv Remove redundant assignments to WARNS. 2011-06-06 20:24:17 +00:00
id Correct the change made in r227166. 2011-11-06 09:09:45 +00:00
indent Add the Clang specific -Wmissing-variable-declarations to WARNS=6. 2013-04-19 19:45:00 +00:00
ipcrm General mdoc(7) and typo fixes. 2012-05-10 02:07:00 +00:00
ipcs Spelling fixes for usr.bin/ 2011-12-30 11:02:40 +00:00
join Cast *tabchar, a wchar_t, to a wint_t as it is the type the %lc printf 2013-02-04 10:05:55 +00:00
jot Remove superfluous paragraph macro. 2012-03-25 09:19:25 +00:00
kdump Merge Capsicum overhaul: 2013-03-02 00:53:12 +00:00
keylogin WARNS=6 compliance 2013-02-19 13:32:26 +00:00
keylogout
killall Once in a month, when the moon is full, killall mistakenly considers 2012-06-30 16:36:22 +00:00
ktrace Don't trace or dump page fault records in the default set of tracepoints 2012-05-31 14:46:02 +00:00
ktrdump - Implement run-time expansion of the KTR buffer via sysctl. 2012-11-15 00:51:57 +00:00
lam Mark global functions and/or variables in lam(1) static where possible. 2011-11-06 18:49:41 +00:00
last Bump date missed in r202756 2012-09-14 17:50:42 +00:00
lastcomm Allow to specify strftime(3) format for process start end exit times. 2012-05-17 11:10:13 +00:00
ldd Fix clang warnings. 2011-06-18 13:56:33 +00:00
leave Build last(1) and leave(1) with WARNS=6. 2011-10-14 07:26:20 +00:00
less Note that the manual page of less(1) says: 2012-12-03 21:49:37 +00:00
lessecho
lesskey
lex Correct double "the the" 2012-09-14 21:28:56 +00:00
limits General mdoc(7) and typo fixes. 2012-05-10 02:07:00 +00:00
locale Sort options. 2012-11-17 23:52:38 +00:00
locate Give users a hint when their locate database is too small. 2012-12-10 02:26:01 +00:00
lock Check the return error of set[e][ug]id. While this can never fail in the 2012-10-22 03:07:05 +00:00
lockf Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
logger Add missing const keywords. 2012-10-19 14:29:03 +00:00
login None of these programs actually use auth.conf. 2012-06-11 16:18:39 +00:00
logins Reencode files from latin1 to UTF-8. 2011-12-30 10:59:15 +00:00
logname Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
look Add missing static keywords to look(1) 2011-11-06 08:15:59 +00:00
lorder Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
lsvfs
lzmainfo Remove unneeded WARNS=3 lines. 2011-10-16 08:04:43 +00:00
m4 Add the Clang specific -Wmissing-variable-declarations to WARNS=6. 2013-04-19 19:45:00 +00:00
mail Fix undefined behaviour in usr.bin/mail/util.c. 2013-02-15 23:59:57 +00:00
make Remove fictitious support for 80386-class CPUs from bsd.cpu.mk and make(1). 2012-12-03 19:27:31 +00:00
makewhatis Currently the code uses gzFile * for a zlib file descriptor, which 2012-06-20 23:53:36 +00:00
man Remove default support for 1aout section manpages. There haven't been 2013-01-16 23:20:24 +00:00
mandoc Merge mandoc from vendor into contrib and provide the necessary Makefile glue. 2012-10-19 22:21:01 +00:00
mesg Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
minigzip MFV: Update zlib to 1.2.7. 2012-06-21 21:47:08 +00:00
ministat Add option to suppress just the plot in ministat while still retaining 2012-11-15 15:06:12 +00:00
mkcsmapper For mkcsmapper, conditionalize gcc-specific compile flags. 2012-11-14 18:51:12 +00:00
mkcsmapper_static Add the BSD-licensed Citrus iconv to the base system with default off 2011-02-25 00:04:39 +00:00
mkdep Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
mkesdb Ensure mkcsmapper and mkesdb compile with clang, if WITH_ICONV is 2012-09-11 16:32:31 +00:00
mkesdb_static Add the BSD-licensed Citrus iconv to the base system with default off 2011-02-25 00:04:39 +00:00
mkfifo Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
mklocale Add the Clang specific -Wmissing-variable-declarations to WARNS=6. 2013-04-19 19:45:00 +00:00
mkstr Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
mktemp Use the macro for standard error return values. 2012-11-18 16:34:06 +00:00
mkulzma mdoc: document title should be all caps. 2012-03-25 19:34:05 +00:00
mkuzip Fixed an embedded shell script. 2011-05-13 09:55:48 +00:00
msgs Check the return error of set[e][ug]id. While this can never fail in the 2012-10-22 03:07:05 +00:00
mt In usr.bin/mt/mt.c, the c_code member of struct commands should really 2011-12-17 02:23:30 +00:00
nc MFV: nc(1) from OpenBSD 4.8. 2010-10-19 00:01:53 +00:00
ncal More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
netstat Replace hardcoded numbers. Also use interface-local scope name instead 2013-04-16 11:25:45 +00:00
newgrp Print a warning if not setuid root. 2013-02-08 14:14:00 +00:00
newkey mdoc cleanup 2010-06-02 10:20:23 +00:00
nfsstat Document the "-m" option added by r243783. 2012-12-02 01:25:19 +00:00
nice Not only had I included a syntax / style error, nice.3 is also 2011-02-26 11:20:51 +00:00
nl Make nl(1) build with WARNS=6. 2011-10-14 07:28:39 +00:00
nohup Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
nslookup
nsupdate bmake and other updates necessary for the BIND 9.8.x upgrade. 2011-07-16 11:20:54 +00:00
opieinfo
opiekey
opiepasswd
pagesize Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
pamtest Update to OpenPAM Micrampelis. 2012-05-26 17:10:16 +00:00
passwd Respect NO_FSCHG and don't set 'schg' flag on passwd/yppasswd is defined. 2012-11-27 16:23:12 +00:00
paste Mark global functions and/or variables in paste(1) static where possible. 2011-11-06 18:49:53 +00:00
patch Remove contractions. 2013-04-11 18:46:41 +00:00
pathchk pathchk(1): Fix the example so it allows arbitrary pathnames. 2010-05-01 22:10:45 +00:00
perror
pr Standardize EXIT STATUS instructions in man pages when possible. 2012-11-18 16:33:51 +00:00
printenv Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
printf POSIX requires that non-existent or null arguments be treated as if a 2012-12-18 21:02:38 +00:00
procstat Make use of newly added libprocstat(3) ability to extract procstat 2013-04-20 08:22:09 +00:00
quota Add missing static keywords to quota(1) 2011-11-06 08:16:29 +00:00
rctl Minor spelling and grammar fixes. 2013-04-11 19:05:24 +00:00
renice Move example to EXAMPLES. 2013-03-17 06:36:04 +00:00
rev Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
revoke
rlogin More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
rpcgen More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
rpcinfo Cleanup use of 'host' when running 'rpcinfo -p'. 2012-08-18 16:14:50 +00:00
rs Add missing static keywords to rs(1) 2011-11-06 08:16:35 +00:00
rsh None of these programs actually use auth.conf. 2012-06-11 16:18:39 +00:00
rup Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
ruptime Add missing static keywords to ruptime(1) 2011-11-06 08:16:41 +00:00
rusers Add missing static keywords to rusers(1) 2011-11-06 08:16:47 +00:00
rwall Add missing static keywords to rwall(1) 2011-11-06 08:16:53 +00:00
rwho Add missing static keywords to rwho(1) 2011-11-06 08:16:59 +00:00
script Fix version in the .Fx macro. 2013-03-16 22:37:56 +00:00
sed Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
seq Standardize EXIT STATUS instructions in man pages when possible. 2012-11-18 16:33:51 +00:00
setchannel Remove superfluous paragraph macro. 2012-03-25 09:19:25 +00:00
shar Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
showmount Ensure there is a whitespace after a mount point. 2011-05-24 06:56:40 +00:00
smbutil
sockstat Update the usage with the new jail option. 2012-06-27 23:26:32 +00:00
sort - Remove forgotten commented out debug code 2013-01-27 19:50:24 +00:00
split Fix warning when compiling with gcc46: 2012-01-10 02:55:43 +00:00
ssh-copy-id Add examples to the ssh-copy-id script. 2012-11-13 13:06:57 +00:00
stat More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
stdbuf Remove stray tabs. 2013-01-14 11:06:50 +00:00
su Undo r226423. 2011-10-16 09:09:33 +00:00
systat Make systat -vmstat to use suffixes to display big floating point numbers 2013-03-23 13:11:54 +00:00
tabs
tail Remove EOL whitespace accidentally introduced in r248393. 2013-03-17 06:57:25 +00:00
talk Bump date missed in r202756 2012-09-14 17:50:42 +00:00
tar MFV r248590,248594: 2013-03-22 13:36:03 +00:00
tcopy Add missing static keywords to tcopy(1) 2011-11-06 08:17:29 +00:00
tee Reverting last change r231449 (fix bin/164947) due to concerns voiced 2012-02-11 16:34:03 +00:00
telnet
tftp More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
time time: Use close-on-exec instead of fclose() in the child process. 2012-12-08 17:41:39 +00:00
tip A number of places in the source tree still reference cuad.* after 2012-12-08 22:16:36 +00:00
top Fix the 'C' field for a running thread to match the behavior described 2013-03-11 16:33:05 +00:00
touch Constify where appropriate. 2013-04-23 13:03:17 +00:00
tput Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
tr When copying the complement of the string loop to WINT_MAX as we are dealing 2013-01-22 05:39:34 +00:00
true Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
truncate
truss Add arm bits to truss. 2013-03-07 23:44:35 +00:00
tset More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
tsort Add missing static keywords to tsort(1) 2011-11-06 08:17:47 +00:00
tty Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
ul Fix a signed/unsigned comparison when wchar_t is unsigned by casting the 2013-01-06 03:08:27 +00:00
uname Add missing static keywords to uname(1) 2011-11-06 08:17:59 +00:00
unexpand Add missing static keywords to unexpand(1) 2011-11-06 08:18:05 +00:00
unifdef Update to upstream version 2.7 2013-03-28 20:33:07 +00:00
uniq Add missing static keywords to uniq(1) 2011-11-06 08:18:11 +00:00
units mdoc: terminate quoted strings. 2012-03-26 15:18:14 +00:00
unvis Replace our (un)vis(1) commands with implementations from NetBSD to 2013-03-15 00:05:50 +00:00
unzip Replace deprecated (or remove obsolete) libarchive 2.8 functions 2013-03-22 10:17:42 +00:00
usbhidaction Add missing static keywords to usbhidaction(1) 2011-11-06 08:18:23 +00:00
usbhidctl Fix style nit: don't use leading zero for dates in .Dd 2012-06-05 03:14:39 +00:00
users Bump date missed in r202756 2012-09-14 17:50:42 +00:00
uudecode Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
uuencode Prefer an example users born after myself might use. 2012-10-26 15:21:23 +00:00
vacation Since clang 3.2 now has an option to suppress warnings about implicitly 2013-02-16 20:17:31 +00:00
vgrind mdoc: terminate quoted strings. 2012-03-26 15:18:14 +00:00
vi
vis Replace our (un)vis(1) commands with implementations from NetBSD to 2013-03-15 00:05:50 +00:00
vmstat - Show page faults requiring I/O when -s invoked. 2013-01-28 12:58:37 +00:00
w - Move 'showthreads' check out of fmt.c. 2013-01-19 00:21:55 +00:00
wall Check the return error of set[e][ug]id. While this can never fail in the 2012-10-22 03:07:05 +00:00
wc Add missing static keywords to wc(1) 2011-11-06 08:19:00 +00:00
what Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
whereis Reencode files from latin1 to UTF-8. 2011-12-30 10:59:15 +00:00
which Mark global functions and/or variables in which(1) static where possible. 2011-11-06 18:50:26 +00:00
who Remove contractions. 2012-10-07 20:01:41 +00:00
whois General mdoc(7) and typo fixes. 2012-05-10 02:07:00 +00:00
write Fix write(1) to support wide characters. 2012-02-13 14:40:15 +00:00
xargs Follow calloc convention in other code, this is functionally identical 2013-01-05 00:23:58 +00:00
xinstall - Fix libmd dependency. It is needed in the bootstrap library list because 2013-02-14 08:32:07 +00:00
xlint Remove clause 3 and 4 from the NetBSD Foundation copyright header, missed 2012-09-09 07:23:15 +00:00
xstr Mark global functions and/or variables in xstr(1) static where possible. 2011-11-06 18:50:39 +00:00
xz Upgrade xz to git snapshot as of 20101010 2010-10-11 21:16:50 +00:00
xzdec Remove unneeded WARNS=3 lines. 2011-10-16 08:04:43 +00:00
yacc Import byacc from invisible island, it brings us lots of compatibilities with 2012-05-21 13:31:26 +00:00
yes yes(1) actually comes from V7. 2012-09-17 23:04:15 +00:00
ypcat
ypmatch
ypwhich Variable 'getmap' is unused. 2010-06-19 16:24:55 +00:00
Makefile Add dtc to the build. 2013-02-09 18:14:26 +00:00
Makefile.amd64 Disconnect non-MPSAFE SMBFS from the build in preparation for dropping 2012-10-18 12:04:56 +00:00
Makefile.arm Add arm bits to truss. 2013-03-07 23:44:35 +00:00
Makefile.i386 Disconnect non-MPSAFE SMBFS from the build in preparation for dropping 2012-10-18 12:04:56 +00:00
Makefile.ia64 Disconnect non-MPSAFE SMBFS from the build in preparation for dropping 2012-10-18 12:04:56 +00:00
Makefile.inc
Makefile.powerpc Disconnect non-MPSAFE SMBFS from the build in preparation for dropping 2012-10-18 12:04:56 +00:00
Makefile.sparc64 Disconnect non-MPSAFE SMBFS from the build in preparation for dropping 2012-10-18 12:04:56 +00:00