freebsd-dev/usr.bin
David Schultz d48905120d The cmp utility has the questionable feature of using mmap when
comparing regular files.  Add a SIGSEGV handler to make its
behavior less surprising when a read error occurs.  The handler
does not attempt to distinguish errors from file truncation, but
anyone actively modifying a file while trying to compare it
shouldn't even expect something sane to happen.

PR:		45391
Reviewed by:	mike (mentor)
2003-02-26 06:44:46 +00:00
..
alias
apply
ar
asa
at mdoc(7) police: 2002-11-26 17:55:41 +00:00
awk
banner
basename ANSIify function definitions. 2002-09-04 23:29:10 +00:00
biff
bluetooth mdoc(7) police: markup fixes. 2002-12-12 13:26:32 +00:00
brandelf
bzip2
bzip2recover Complete the bzip2 suite. 2003-01-04 17:09:27 +00:00
c89
c99 mdoc(7) police: overhaul. 2002-12-11 17:26:53 +00:00
calendar Let everyone know when to send the gifts. 2003-02-21 19:25:39 +00:00
cap_mkdb
catman mdoc(7) police: sort xrefs in SEE ALSO. 2002-12-13 16:53:51 +00:00
chat Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ 2002-12-30 21:18:15 +00:00
checknr
chkey
chpass Style cleanup. 2002-12-30 09:46:58 +00:00
cksum
cmp The cmp utility has the questionable feature of using mmap when 2003-02-26 06:44:46 +00:00
col ANSIify function definitions. 2002-09-04 23:29:10 +00:00
colcrt Fixed the abuses of .Ql visible on stderr in troff mode. 2002-12-23 16:04:51 +00:00
colldef mdoc(7) police: markup polishing. 2002-11-26 17:33:37 +00:00
colrm
column
comm
compile_et
compress Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ 2002-12-30 21:18:15 +00:00
csplit
ctags mdoc(7) police: markup polishing. 2002-11-26 17:33:37 +00:00
cut mdoc(7) police: markup polishing. 2002-11-26 10:51:47 +00:00
dig
dirname
dnskeygen
dnsquery
doscmd Uniformly refer to a file system as "file system". 2002-12-12 17:26:04 +00:00
du Back out rev 1.27; getbsize(3)'s original interface has been restored. 2002-12-30 18:13:07 +00:00
ee
elf2aout Back out the removal (here too) of the "custom" version of 2003-02-19 15:25:07 +00:00
elfdump Add a man page. 2003-02-03 01:59:27 +00:00
enigma ANSIify function definitions. 2002-09-04 23:29:10 +00:00
env ANSIify function definitions. 2002-09-04 23:29:10 +00:00
expand mdoc(7) police: markup polishing. 2002-11-26 10:57:57 +00:00
false
fetch mdoc(7) police: Scheduled sweep. 2003-02-24 22:53:26 +00:00
file Update for version 3.40. 2003-02-15 19:05:10 +00:00
file2c
find Correctly alphabetize options[] so we don't stop at -nouser when searching 2003-02-18 14:30:43 +00:00
finger mdoc(7) police: Deal with self-xrefs. 2002-12-24 13:41:48 +00:00
fmt
fold ANSIify function definitions. 2002-09-04 23:29:10 +00:00
from ANSIify function definitions. 2002-09-04 23:29:10 +00:00
fstat Bow to the whining masses and change a union back into void *. Retain 2003-01-13 00:33:17 +00:00
fsync
ftp
gcore Add #include <sys/queue.h> for sparc64's benefit. The MD includes there 2002-09-13 18:24:59 +00:00
gencat Check NULL pointer to avoid SIGSEGV 2002-12-24 07:40:10 +00:00
getconf Uniformly refer to a file system as "file system". 2002-12-12 17:26:04 +00:00
getopt english(4) police. 2002-12-27 12:15:40 +00:00
gprof Remove 2 more unused doc Makefiles. 2003-02-04 18:26:08 +00:00
head
hesinfo ANSIify function definitions. 2002-09-04 23:29:10 +00:00
hexdump Capitalize ASCII code names. 2002-12-05 08:50:00 +00:00
host
id ANSIify function definitions. 2002-09-04 23:29:10 +00:00
indent Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
ipcrm Wrap long line. Use .Ar instead of .Nm where appropriate. 2003-02-05 14:15:02 +00:00
ipcs
join mdoc(7) police: nit. 2002-11-26 11:25:04 +00:00
jot
kdump Backed out revs 1.32-1.33. The problem has been fixed better by 2002-09-16 10:06:02 +00:00
keylogin
keylogout
killall Header was included twice. Hardcode program name in usage string. 2003-02-05 14:20:27 +00:00
ktrace Do not start err(3) strings with uppercase nor dot terminate them. 2003-02-05 14:25:43 +00:00
ktrdump Use strlcpy() instead of strcpy() to not overflow static buffers. 2002-10-06 23:52:06 +00:00
lam
last Fix core dumps when invoking with something like ``last -w1''. 2002-10-30 18:19:59 +00:00
lastcomm Don't try to fseek before the beginning of the file; POSIX requires that 2003-01-27 18:16:32 +00:00
ldd Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ 2002-12-30 21:18:15 +00:00
leave Fixed the abuses of .Ql visible on stderr in troff mode. 2002-12-23 16:04:51 +00:00
less Use ${BINDIR} instead of hardcoded path. 2002-12-18 10:14:01 +00:00
lessecho
lesskey
lex Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
limits Uniformly refer to a file system as "file system". 2002-12-12 17:26:04 +00:00
locale Add locale(1). I have used it for while as useful debugging tool 2002-10-16 13:17:18 +00:00
locate
lock Make this work without COMPAT_43 by using tcgetattr()/tcsetattr() instead 2003-02-10 02:08:49 +00:00
lockf
logger ANSIify function definitions. 2002-09-04 23:29:10 +00:00
login Back out previous commit, I wasn't thinking clearly. 2003-02-15 23:20:04 +00:00
logname ANSIify function definitions. 2002-09-04 23:29:10 +00:00
look ANSIify function definitions. 2002-09-04 23:29:10 +00:00
lorder Make it work with POSIX sort (POS arg) 2002-09-24 18:16:36 +00:00
lsvfs Uniformly refer to a file system as "file system". 2002-12-12 17:26:04 +00:00
m4 english(4) police. 2002-12-27 12:15:40 +00:00
mail Remove 2 more unused doc Makefiles. 2003-02-04 18:26:08 +00:00
make Remove another unused Makefile. 2003-02-03 04:15:53 +00:00
makewhatis Install /usr/libexec/makewhatis.local and /usr/libexec/catman.local. 2002-11-18 10:11:22 +00:00
mesg ANSIify function definitions. 2002-09-04 23:29:10 +00:00
minigzip mdoc(7) police: markup polishing. 2002-11-26 17:33:37 +00:00
mkdep english(4) police. 2002-12-27 12:15:40 +00:00
mkfifo ANSIify function definitions. 2002-09-04 23:29:10 +00:00
mklocale english(4) police. 2002-12-27 12:15:40 +00:00
mkstr Remove claim that pi and ex use mkstr; pi is long gone, and nex doesn't 2002-11-01 12:22:41 +00:00
mktemp
msgs Fix singular/plural confusion in a printf. 2003-02-06 22:39:44 +00:00
mt Add information about the SDLT density codes. 2002-10-15 12:53:29 +00:00
ncal Teach ncal(1) about month names specified on the command line. 2002-10-02 12:31:10 +00:00
ncplist
ncplogin ANSIify function definitions. 2002-09-04 23:29:10 +00:00
netstat o Allow "buckets" in mb_alloc to be differently sized (according to 2003-02-20 04:26:58 +00:00
newgrp
newkey
nfsstat
nice english(4) police. 2002-12-27 12:15:40 +00:00
nl
nm Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
nohup
objformat mdoc(7) police: markup and spelling. 2002-11-26 17:34:25 +00:00
opieinfo
opiekey
opiepasswd
pagesize
passwd mdoc(7) police: Deal with self-xrefs. 2002-12-24 13:41:48 +00:00
paste Fixed the abuses of .Ql visible on stderr in troff mode. 2002-12-23 16:04:51 +00:00
pathchk Unbreak support for systems that have no limit on pathname length. 2002-12-15 00:40:47 +00:00
pr Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ 2002-12-30 21:18:15 +00:00
printenv mdoc(7) police: markup polishing. 2002-11-26 17:33:37 +00:00
printf ANSIify function definitions. 2002-09-04 23:29:10 +00:00
quota Uniformly refer to a file system as "file system". 2002-12-12 17:26:04 +00:00
ranlib
renice
rev ANSIify function definitions. 2002-09-04 23:29:10 +00:00
rlogin Dekerberise. The corresponding userland stuff has been dekerberised 2002-10-16 16:09:05 +00:00
rpcgen Implement nonblocking tpc-connections. rpcgen -m does still 2003-01-16 07:27:30 +00:00
rpcinfo Change the name for the local unix-socket based protocol 2002-12-16 22:24:26 +00:00
rs
rsh Dekerberise. The corresponding userland stuff has been dekerberised 2002-10-16 16:10:46 +00:00
rup
ruptime
rusers
rwall ANSIify function definitions. 2002-09-04 23:29:10 +00:00
rwho
sasc
script ANSIify function definitions. 2002-09-04 23:29:10 +00:00
sed Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
shar
showmount Uniformly refer to a file system as "file system". 2002-12-12 17:26:04 +00:00
size
smbutil
sockstat Bow to the whining masses and change a union back into void *. Retain 2003-01-13 00:33:17 +00:00
soelim Fixed the abuses of .Ql visible on stderr in troff mode. 2002-12-23 16:04:51 +00:00
split
stat Adjust the size passed to readlink so that the null termination 2002-10-25 07:26:36 +00:00
strings
strip
su Pass the correct, verified username to PAM instead of getlogin(). 2003-02-06 14:29:28 +00:00
symorder Introduce option enumeration the standard way. 2002-10-17 12:58:14 +00:00
systat mdoc(7) police: Scheduled sweep. 2003-02-24 22:53:26 +00:00
tabs mdoc(7) police: markup polishing. 2002-11-26 17:33:37 +00:00
tail When doing tail -F, return if the freopen() of the file fails instead of 2002-12-15 11:26:57 +00:00
talk Add a reference to talkd(8) as a hint that talk(1) depends on a 2003-01-23 22:40:18 +00:00
tconv
tcopy english(4) police. 2002-12-27 12:15:40 +00:00
tee ANSIify function definitions. 2002-09-04 23:29:10 +00:00
telnet Diff-reduction WRT crypto telnet; replace "#if 0" code removed by an 2002-12-29 07:36:43 +00:00
tftp mdoc(7) police: markup polishing. 2002-11-26 17:33:37 +00:00
time english(4) police. 2002-12-27 12:15:40 +00:00
tip mdoc(7) police: Deal with self-xrefs. 2002-12-24 13:41:48 +00:00
top Remove #include <sys/dkstat.h> 2003-02-16 14:13:23 +00:00
touch ANSIify function definitions. 2002-09-04 23:29:10 +00:00
tput ANSIify function definitions. 2002-09-04 23:29:10 +00:00
tr Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ 2002-12-30 21:18:15 +00:00
true
truncate
truss Removed extra parentheses. 2003-02-20 15:09:52 +00:00
tset Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
tsort ANSIify function definitions. 2002-09-04 23:29:10 +00:00
tty
uac
ul ANSIify function definitions. 2002-09-04 23:29:10 +00:00
uname Use some macro evil to create the functions for using sysctl(3) to get each 2002-09-23 06:47:39 +00:00
unexpand Fix off-by-one error processing the line after an empty line when the 2002-10-04 16:45:25 +00:00
unifdef mdoc(7) police: Scheduled sweep. 2003-02-24 22:53:26 +00:00
uniq mdoc(7) police: markup polishing. 2002-11-26 17:33:37 +00:00
units
unvis ANSIify function definitions. 2002-09-04 23:29:10 +00:00
usbhidctl
users ANSIify function definitions. 2002-09-04 23:29:10 +00:00
uudecode Variables that come in in and out pairs should be named accordingly. 2002-11-01 02:08:51 +00:00
uuencode Correct minor grammos. 2002-12-22 14:39:23 +00:00
uuidgen o Remove $Id$ from copyright; there's $FreeBSD$, 2002-11-01 06:20:14 +00:00
vacation
vgrind Make it work with POSIX sort (POS arg). 2002-09-24 19:05:40 +00:00
vi Unifdef has got some crack-smoking exit values: 2003-01-04 20:24:27 +00:00
vis ANSIify function definitions. 2002-09-04 23:29:10 +00:00
vmstat Add #include <sys/resource.h> 2003-02-16 16:01:52 +00:00
w
wall Remove "sleeper" nonsense. 2003-02-21 08:46:44 +00:00
wc mdoc(7) police: markup polishing. 2002-11-26 17:33:37 +00:00
what mdoc(7) police: markup polishing. 2002-11-26 17:33:37 +00:00
whereis Adjust max WARNs for sparc64. 2002-12-30 09:48:40 +00:00
which
who Remove unimplemented System V options from the getopt() option string. 2002-12-21 00:38:14 +00:00
whois Fix style bugs in previous commit. 2003-02-24 17:10:32 +00:00
window
write ANSIify function definitions. 2002-09-04 23:29:10 +00:00
xargs A few changes for clarity. 2003-01-27 18:16:36 +00:00
xinstall Uniformly refer to a file system as "file system". 2002-12-12 17:26:04 +00:00
xlint Fix typos; add FreeBSD Id where missing. 2003-01-01 18:13:45 +00:00
xstr Another buffer overflow similar to the recent one in mkstr(1). 2002-11-01 12:48:28 +00:00
yacc Add __unused to the declaration of yyrcsid in a more portable way. 2003-02-12 18:03:55 +00:00
yes #include <err.h> to make yes warns clean again. 2002-11-09 21:00:39 +00:00
ypcat
ypmatch
ypwhich
Makefile Some things don't build for PowerPC yet. 2003-02-21 02:30:51 +00:00
Makefile.inc