freebsd-dev/usr.bin
Jaakko Heinonen 401c9fda42 Remove useless and potentially dangerous rw() function which tries to
update access and modification times by reading and writing the file.
chmod(2) in rw() doesn't help because utimes(2) allow owner and the
super-user to change times. Using just utimes(2) should be sufficient.

The -f option becomes no-op.

Reviewed by:	jilles
2012-02-04 13:37:31 +00:00
..
alias Make hash, type and ulimit available via execve(). 2010-04-25 17:38:53 +00:00
apply Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
ar Whitespace cleanup: 2011-12-23 00:31:26 +00:00
asa
at Partially revert r227233. 2011-11-06 20:30:21 +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 Remove extra sentence, a leftover from r202845. 2012-01-25 18:49:11 +00:00
biff Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
bluetooth
brandelf Fix warning when compiling with gcc46: 2012-01-10 02:58:29 +00:00
bsdiff Silence bogus warning when compiling with gcc46: 2012-01-10 02:58:44 +00:00
bzip2
bzip2recover
c89 Revert most of r210764, now that mdocml does the right 2010-12-28 10:08:50 +00:00
c99 Add missing static keywords to c99(1) 2011-11-06 08:13:58 +00:00
calendar Add myself to the relevant docs. 2012-02-01 19:46:12 +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 mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
checknr Mark global functions and/or variables in checknr(1) static where possible. 2011-11-06 18:49:03 +00:00
chkey Fix fd leak 2010-11-19 10:18:58 +00:00
chpass Mark the structure fields as const. 2011-11-06 17:20:44 +00:00
cksum Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
clang Upgrade our copy of llvm/clang to r142614, from upstream's release_30 2011-10-22 14:08:43 +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 Add helpful clarification text. While not strictly necessary, these 2011-11-16 22:02:59 +00:00
compile_et
compress Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
cpio Use contrib sources for building libarchive, tar and cpio. 2011-12-22 08:42:07 +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 Spelling fixes for usr.bin/ 2011-12-30 11:02:40 +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 building ctlstat with clang. 2012-01-12 22:12:42 +00:00
cut Add missing static keywords to cut(1) 2011-11-06 08:14:51 +00:00
dc Remove unneeded CFLAGS. 2011-11-07 09:42:22 +00:00
dig
dirname Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
du du: Allow multiple -HLP options, the last one wins. 2011-12-17 23:18:14 +00:00
ee - pt_BR.ISO8859-1 catalog 2010-02-09 10:47:44 +00:00
elf2aout Make manpage's SYNOPSIS match program's usage(). 2010-02-12 15:07:24 +00:00
elfdump o Use C99 designated initializer to properly handle ELFOSABI_STANDALONE. 2011-10-16 14:11:05 +00:00
enigma Mark global functions and/or variables in enigma(1) static where possible. 2011-11-06 18:49:23 +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 two issues related to the use of SIGINFO in fetch(1) to display 2012-01-18 15:13:21 +00:00
file
file2c
find Replace char copyright[] by static const char copyright[]. 2011-12-10 18:11:06 +00:00
finger Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +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 Print the owner process for unix domain sockets when restricted to the 2012-02-03 09:07:53 +00:00
fsync
ftp Merge tnftp-20100108 from the vendor branch into head. 2011-06-20 08:00:32 +00:00
gcore Match size_t and ssize_t by using %zu and %zd instead of %d. 2011-07-11 05:46:15 +00:00
gencat mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
getconf
getent Print INIT_PROCESS and LOGIN_PROCESS entries as well. 2011-10-27 16:20:29 +00:00
getopt Fix typo in example getopt(1) script: $i vs $1 [1] 2011-01-26 18:43:15 +00:00
gprof More fixes for correct printf length modifiers usr.bin/gprof. 2011-12-17 14:51:24 +00:00
grep Remove duplicate line from usage 2012-01-15 17:01:28 +00:00
gzip According to the NetBSD foundation [1]: 2011-10-16 07:35:26 +00:00
head Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
hesinfo
hexdump Fix decoding of escape sequences in format strings: 2012-01-28 18:49:04 +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 Spelling fixes for usr.bin/ 2011-12-30 11:02:40 +00:00
ipcrm
ipcs Spelling fixes for usr.bin/ 2011-12-30 11:02:40 +00:00
join Add missing static keywords to join(1) 2011-11-06 08:15:35 +00:00
jot Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
kdump It turns out that truss also used kdump's mkioctls script, and expected 2011-10-21 11:08:25 +00:00
keylogin
keylogout
killall Simplify various code that allowed for sys_signame being lower case. 2011-03-06 19:50:47 +00:00
ktrace Make ktrace(1) build cleanly at WARNS level 6 by completely rethinking the 2011-10-18 08:26:12 +00:00
ktrdump Add -H flag to print thread id. 2011-01-26 06:36:14 +00:00
lam Mark global functions and/or variables in lam(1) static where possible. 2011-11-06 18:49:41 +00:00
last - Replace "wtmp" with "utx.log" because last(1) no longer reads wtmp. 2012-01-22 11:34:24 +00:00
lastcomm Remove unneeded headers. 2011-06-21 20:36:10 +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 Regenerated with latest configure script. 2011-05-10 01:05:41 +00:00
lessecho
lesskey
lex Spelling fixes for usr.bin/ 2011-12-30 11:02:40 +00:00
limits Add -P option to allow get and set limits for other processes. 2012-01-25 20:14:41 +00:00
locale Always assign WARNS using ?= 2010-03-02 16:58:04 +00:00
locate Touch up some more small typos missed in the previous round. 2012-01-05 21:36:45 +00:00
lock Add missing static keywords to lock(1) 2011-11-06 08:15:48 +00:00
lockf mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
logger Add missing static keywords to logger(1) 2011-11-06 08:15:53 +00:00
login Spelling fixes for usr.bin/ 2011-12-30 11:02:40 +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 Unbreak the build after r228697 adding the { } block to make clear which 2011-12-19 08:50:17 +00:00
mail fgets(3) returns a pointer, so compare against NULL, not integer 0. 2012-01-13 06:51:15 +00:00
make Map foreign architecture names to FreeBSD naming convention. 2012-01-20 18:55:56 +00:00
makewhatis
man Spelling fixes for usr.bin/ 2011-12-30 11:02:40 +00:00
mesg Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
minigzip Enable mmap for minigzip(1). 2010-03-22 21:19:17 +00:00
ministat Add missing static keywords to ministat(1) 2011-11-06 08:16:11 +00:00
mkcsmapper [mdoc] Fixed .Dt call. 2011-05-25 14:13:53 +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 - Remove a GCC-specific compiler flag that was added before to eliminate 2011-12-21 12:07:14 +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 Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
mkstr Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
mktemp Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
mkulzma mkulzma used to create lzma compressed images, just like mkuzip do. 2012-01-04 23:45:10 +00:00
mkuzip Fixed an embedded shell script. 2011-05-13 09:55:48 +00:00
msgs Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +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 Fix typo in order of markup and text. 2011-07-11 10:42:36 +00:00
ncplist Fix warning when compiling with gcc46: 2012-01-10 02:58:20 +00:00
ncplogin Spelling fixes for usr.bin/ 2011-12-30 11:02:40 +00:00
netstat Don't print a warning when using netstat to print 2012-01-25 21:49:48 +00:00
newgrp Fix a memory leak in addgroup() by ensuring the allocated memory 2012-01-05 23:08:11 +00:00
newkey mdoc cleanup 2010-06-02 10:20:23 +00:00
nfsstat Fix nfsstat(1) so that it prints out correct stats for the 2011-08-23 13:44:56 +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
passwd Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
paste Mark global functions and/or variables in paste(1) static where possible. 2011-11-06 18:49:53 +00:00
pathchk pathchk(1): Fix the example so it allows arbitrary pathnames. 2010-05-01 22:10:45 +00:00
perror The number after the command is *not* optional. 2010-03-11 12:18:52 +00:00
pr Spelling fixes for usr.bin/ 2011-12-30 11:02:40 +00:00
printenv Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
printf Style cleanups for printf. 2012-01-12 20:30:20 +00:00
procstat Always return 0 if the sysctl failed. 2012-01-29 20:39:42 +00:00
quota Add missing static keywords to quota(1) 2011-11-06 08:16:29 +00:00
rctl Formatting fixes: 2011-12-23 00:29:01 +00:00
renice Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +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 Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
rpcgen Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
rpcinfo Spelling fixes for usr.bin/ 2011-12-30 11:02:40 +00:00
rs Add missing static keywords to rs(1) 2011-11-06 08:16:35 +00:00
rsh Add __unused 2010-12-20 08:47:43 +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 In r225809 the intention was to send VEOF only once if STDIN was not a 2011-10-15 19:08:22 +00:00
sed Reword '}' description to sound more clear. 2011-10-29 06:13:47 +00:00
seq Add missing static keywords to seq(1) 2011-11-06 08:17:05 +00:00
setchannel Apply style(9) and unbreak build. 2010-11-06 15:04:56 +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 Try to avoid ambiguity when sysctl returns ENOMEM additionally 2012-02-01 18:03:21 +00:00
split Fix warning when compiling with gcc46: 2012-01-10 02:55:43 +00:00
stat Synthesize the change from NetBSD's 1.33: 2011-02-11 05:33:35 +00:00
su Undo r226423. 2011-10-16 09:09:33 +00:00
systat Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
tabs
tail Add missing static keywords to tail(1) 2011-11-06 08:17:17 +00:00
talk Remove hand-written version of strcspn(). 2012-01-03 11:13:07 +00:00
tar Use contrib sources for building libarchive, tar and cpio. 2011-12-22 08:42:07 +00:00
tcopy Add missing static keywords to tcopy(1) 2011-11-06 08:17:29 +00:00
tee Add missing static keywords to tee(1) 2011-11-06 08:17:35 +00:00
telnet
tftp fgets(3) returns a pointer, so compare against NULL, not integer 0. 2012-01-13 06:51:15 +00:00
time Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
tip Make tip exit if the device disappears, for instance when unplugging 2012-01-28 20:45:47 +00:00
top Spelling fixes for usr.bin/ 2011-12-30 11:02:40 +00:00
touch Remove useless and potentially dangerous rw() function which tries to 2012-02-04 13:37:31 +00:00
tput Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
tr Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
true Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
truncate Use expand_number(3) from libutil instead of home-grown function to parse 2010-03-03 19:25:28 +00:00
truss Add more static keywords to truss(1) source code. 2011-12-10 18:27:55 +00:00
tset Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +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 Add missing static keywords to ul(1) 2011-11-06 08:17:53 +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 Mark global functions and/or variables in unifdef(1) static where possible. 2011-11-06 18:50:00 +00:00
uniq Add missing static keywords to uniq(1) 2011-11-06 08:18:11 +00:00
units Add missing static keywords to units(1) 2011-11-06 08:18:17 +00:00
unvis Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
unzip fgets(3) returns a pointer, so compare against NULL, not integer 0. 2012-01-13 06:51:15 +00:00
usbhidaction Add missing static keywords to usbhidaction(1) 2011-11-06 08:18:23 +00:00
usbhidctl Add missing static keywords to usbhidctl(1) 2011-11-06 08:18:30 +00:00
users Let the size of the namebuf depend on the size of the ut_user field. 2011-06-18 07:47:15 +00:00
uudecode Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
uuencode Add missing static keywords to uuencode(1) 2011-11-06 08:18:35 +00:00
vacation In usr.bin/vacation/Makefile, fix a typo in the comment about clang 2011-12-19 13:38:28 +00:00
vgrind Spelling fixes for usr.bin/ 2011-12-30 11:02:40 +00:00
vi
vis Add missing static keywords to vis(1) 2011-11-06 08:18:42 +00:00
vmstat In usr.bin/vmstat/vmstat.c, cast several printf field widths to int, and 2011-12-17 19:22:24 +00:00
w Add missing static keywords to w(1) 2011-11-06 08:18:47 +00:00
wall Add missing static keywords to wall(1) 2011-11-06 08:18:55 +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 Add the XSI option -b to show date of the last reboot. 2011-10-28 12:47:37 +00:00
whois Mark global functions and/or variables in whois(1) static where possible. 2011-11-06 18:50:33 +00:00
write Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
xargs Discourage from using "cp -r". 2011-03-24 13:52:59 +00:00
xinstall Add missing static keywords to xinstall(1) 2011-11-06 08:19:07 +00:00
xlint Spelling fixes for usr.bin/ 2011-12-30 11:02:40 +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 Spelling fixes for usr.bin/ 2011-12-30 11:02:40 +00:00
yes Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
ypcat
ypmatch
ypwhich Variable 'getmap' is unused. 2010-06-19 16:24:55 +00:00
Makefile Remove wtmpcvt(1). 2012-01-13 15:40:49 +00:00
Makefile.amd64 Merge from tbemd: Move to using Makefile.arch to control what's build. 2010-09-13 02:23:03 +00:00
Makefile.arm Merge from tbemd: Move to using Makefile.arch to control what's build. 2010-09-13 02:23:03 +00:00
Makefile.i386 Merge from tbemd: Move to using Makefile.arch to control what's build. 2010-09-13 02:23:03 +00:00
Makefile.ia64 Merge from tbemd: Move to using Makefile.arch to control what's build. 2010-09-13 02:23:03 +00:00
Makefile.inc
Makefile.powerpc Merge from tbemd: Move to using Makefile.arch to control what's build. 2010-09-13 02:23:03 +00:00
Makefile.sparc64 Merge from tbemd: Move to using Makefile.arch to control what's build. 2010-09-13 02:23:03 +00:00