freebsd-skq/usr.bin
cperciva ae925c45f5 Don't try to mmap the contents of empty files. This behaviour was harmless
prior to r195693, since historical behaviour of mmap(2) was to silently
ignore length-zero mmap requests; but mmap now returns EINVAL, which caused
look(1) to emit an error message and fail.

Among other things, this makes `freebsd-update fetch` on a newly installed
8.0-BETA3 system print bogus warning messages.

MFC after:	3 days
2009-08-26 03:30:06 +00:00
..
alias
apply
ar Act like ranlib if our name ends in ranlib. In particular, 2009-03-20 17:11:45 +00:00
asa
at
atm
awk
banner
basename Alow dirname(1) to accept multiple arguments in the same way that 2009-02-02 11:19:56 +00:00
biff
bluetooth Clenup code a bit and do not call fork(2) before dameon(3) where not needed. 2009-02-04 22:04:06 +00:00
brandelf
bsdiff
bzip2
bzip2recover
c89
c99
calendar Add my birthday 2009-08-15 15:40:30 +00:00
cap_mkdb
catman Restore the check against running as root that I accidentally removed in 2009-06-20 18:24:29 +00:00
chat
checknr
chkey Rename all symbols in libmp(3) to mp_*, just like Solaris. 2009-02-26 21:43:15 +00:00
chpass Make the chpass Makefile honour NO_FSCHG. 2009-06-15 21:05:00 +00:00
cksum
cmp
col
colcrt
colldef
colrm
column
comm
compile_et
compress
cpio This addresses some issues with my earlier -R fix that 2009-07-06 02:02:45 +00:00
cpuset
csplit A bit of rewording for clarity, taken from OpenBSD. 2009-01-10 12:47:22 +00:00
csup
ctags
cut Fix punctuation. 2009-04-01 08:33:54 +00:00
dig Add support for the build options that are currently in the port: 2009-06-01 21:58:59 +00:00
dirname Alow dirname(1) to accept multiple arguments in the same way that 2009-02-02 11:19:56 +00:00
du Report the next directory being scanned when a ^T is pressed (or any 2009-04-30 01:24:53 +00:00
ee - Add Hungarian catalog 2009-06-01 21:54:59 +00:00
elf2aout
elfdump
enigma
env
expand
false
fetch The FTP_TIMEOUT and HTTP_TIMEOUT environment variables were ignored because 2009-01-17 13:34:56 +00:00
file Merge vendor/file/dist@191739, bringing FILE 5.00 to 8-CURRENT. 2009-05-04 00:37:44 +00:00
file2c
find rm, find -delete: fix removing symlinks with uchg/uappnd set. 2009-05-30 10:42:19 +00:00
finger
fmt
fold
from
fstat fstat: fix fsid comparison when executed on systems with 64-bit long 2009-08-20 10:57:14 +00:00
fsync
ftp
gcore
gencat
getconf
getent
getopt
gprof If running with "-K" really do not information about symbols from the a.out 2009-01-12 21:49:42 +00:00
gzip Correct a stack underflow in gzip: 2009-07-31 08:37:27 +00:00
head
hesinfo
hexdump Use strlcpy() instead of explicitly set \0 on the tail of the array. 2009-06-23 23:32:24 +00:00
host
id In preparation for raising NGROUPS and NGROUPS_MAX, change base 2009-06-19 15:58:24 +00:00
indent
ipcrm
ipcs Change the ABI of some of the structures used by the SYSV IPC API: 2009-06-24 21:10:52 +00:00
join
jot Fix some uninitialise variables. 2009-07-08 10:16:16 +00:00
kdump Remove no longer needed #include after removing the legacy 2009-07-18 10:36:18 +00:00
keylogin
keylogout K&R -> ANSI 2009-06-23 23:17:04 +00:00
killall Add libjail, a (somewhat) simpler interface to the jail_set and jail_get 2009-06-24 18:18:35 +00:00
ktrace Add a new type of KTRACE record for sysctl(3) invocations. It uses the 2009-03-11 21:48:36 +00:00
ktrdump Remove unnecessary opt* definations. 2009-02-21 03:53:06 +00:00
lam
last
lastcomm
ldd
leave
less Update less to v436. This is considered as a bugfix release from vendor. 2009-07-29 09:20:32 +00:00
lessecho
lesskey
lex
limits Usermode portion of the support for swap allocation accounting: 2009-06-23 20:57:27 +00:00
locale
locate Move the check to ensure the locate database has the minimum required size 2009-07-24 13:40:25 +00:00
lock
lockf
logger
login Pass int arguments to auditon(2)'s A_GETCOND API rather than long 2009-04-19 23:34:22 +00:00
logins
logname
look Don't try to mmap the contents of empty files. This behaviour was harmless 2009-08-26 03:30:06 +00:00
lorder
lsvfs
m4
mail Rename mail(1)'s aux.c to util.c. 2009-01-16 15:00:30 +00:00
make Use strlcpy() instead of manually setting the last byte of the array to \0. 2009-06-23 23:34:46 +00:00
makewhatis %.s expects an int as the length specifier, so cast properly. 2009-06-23 23:37:25 +00:00
mesg
minigzip
ministat Fix some warns - mainly signedness and unused variables. 2009-03-17 19:37:47 +00:00
mkdep
mkfifo
mklocale Make mklocale work again, now that fwrite()'s return codes are different. 2009-07-14 09:19:33 +00:00
mkstr
mktemp
mkuzip
msgs
mt
nc
ncal Since the width is always 2, it is enough to put just one 2009-06-18 16:40:00 +00:00
ncplist
ncplogin
netstat Add manual page links to advertise procstat(1) a little better. 2009-07-09 16:40:00 +00:00
newgrp In preparation for raising NGROUPS and NGROUPS_MAX, change base 2009-06-19 15:58:24 +00:00
newkey Fix compilation of newkey(8) with WITHOUT_NIS=yes. 2009-02-28 16:16:37 +00:00
nfsstat Don't use sys/nfs/rpcv2.h - it is part of the old kernel RPC implementation 2009-06-24 18:42:21 +00:00
nice
nl Use getline() instead of fgets(). This enables nl(1) to handle 2009-02-28 15:53:36 +00:00
nohup
nslookup
nsupdate
objformat
opieinfo
opiekey
opiepasswd
pagesize
passwd
paste
pathchk
perror Use prototype for usage(). This makes perror(1) WARNS=6 clean. 2009-05-28 21:37:40 +00:00
pr
printenv Define extern **environ in global scope instead of in function. 2009-02-21 03:50:25 +00:00
printf
procstat Update procstat(1) for the fact that devfs paths are no longer unsupported. 2009-08-12 10:41:37 +00:00
quota In preparation for raising NGROUPS and NGROUPS_MAX, change base 2009-06-19 15:58:24 +00:00
renice
rev
revoke Add revoke(1). 2009-06-15 21:52:27 +00:00
rlogin
rpcgen
rpcinfo
rs
rsh
rup
ruptime
rusers
rwall
rwho
script
sed Bump the document date to reflect the recent address range enhancements. 2009-05-25 21:29:06 +00:00
setchannel
shar
showmount Don't use sys/nfs/rpcv2.h - it is part of the old kernel RPC implementation 2009-06-24 18:42:21 +00:00
smbutil
sockstat Add manual page links to advertise procstat(1) a little better. 2009-07-09 16:40:00 +00:00
split When "-b" is specified, one could easily create "smaller" files 2009-01-24 05:32:11 +00:00
stat Let stat(1) use fdevname(3). 2009-02-11 20:36:17 +00:00
su Fixup the parameters to audit_submit(3) the order is errno then return 2009-04-04 20:58:18 +00:00
systat Correct a number of evolved problems with inp_vflag and inp_flags: 2009-03-15 09:58:31 +00:00
tabs
tail Change the behaviour of -F slightly; it now persists (forever) in 2009-06-05 09:08:53 +00:00
talk Utilize strlcpy(). 2009-02-21 03:38:46 +00:00
tar Make -lcrypto usage dependent on whether or not we're building with OpenSSL. 2009-04-18 06:03:09 +00:00
tcopy
tee
telnet
tftp
time
tip
top Update top and systat for vfs.bufcache now being a long rather than an int. 2009-03-10 15:25:19 +00:00
touch
tput
tr
true
truncate Initialize 'sz' as 0. 2009-02-21 03:42:31 +00:00
truss Correct off-by-one issue in truss(1) which happens when system call number 2009-05-28 00:38:24 +00:00
tset
tsort
tty
ul
uname
unexpand
unifdef
uniq
units
unvis
unzip
usbhidaction Build fixups for the new USB stack. 2009-02-23 18:36:54 +00:00
usbhidctl Use getprogname() instead of referencing __progname. 2009-06-23 23:16:00 +00:00
users
uudecode
uuencode
vacation
vgrind
vi
vis
vmstat Utilize calloc() instead of bzero'ing manually. 2009-02-21 03:43:20 +00:00
w
wall
wc
what
whereis
which
who
whois
write
xargs
xinstall
xlint
xstr
yacc
yes
ypcat Support shadow.byname and shadow.byuid maps, protecting them by 2009-06-25 16:15:39 +00:00
ypmatch Support shadow.byname and shadow.byuid maps, protecting them by 2009-06-25 16:15:39 +00:00
ypwhich Support shadow.byname and shadow.byuid maps, protecting them by 2009-06-25 16:15:39 +00:00
Makefile Add revoke(1). 2009-06-15 21:52:27 +00:00
Makefile.inc