freebsd-dev/usr.bin
Juli Mallett 4aeb63826e Check the entire length of the current argument for the EOF string with -E,
but don't expect a proper ASCII string to exist right here right now, don't
use strcmp(3) which checks for a NUL.  As we're still building the argument
up, the next character might be garbage.  It would probably be just as safe to
temporarily write a NUL there, but if we've reached the end of argument memory
that might not be the best idea, I think.  It's unclear.

Doing it this way seems to meet the most with the original intent.

PR:		85696
Prodded by:	stefanf
2005-12-31 09:06:45 +00:00
..
alias Use the "builtin" shell function to make sure that the requested 2005-10-24 22:32:19 +00:00
apply
asa
at While revision 1.26 fixed the code to really subtract 3600 due to 2005-08-18 08:18:02 +00:00
atm
awk
banner
basename
biff
bluetooth Teach rfcomm_sppd(8) to recognize "lan" (for LAN Access Using PPP) service 2005-12-07 19:41:58 +00:00
brandelf
bsdiff Fix up markup. 2005-11-18 12:08:31 +00:00
bzip2
bzip2recover
c89
c99
calendar Someone buy me a beer. Now. 2005-12-28 08:41:57 +00:00
cap_mkdb
catman Prepare for MACHINE and hw.machine switching to "pc98" on FreeBSD/pc98. 2005-12-05 14:22:12 +00:00
chat
checknr
chkey
chpass
cksum
cmp -mdoc sweep. 2005-11-18 10:36:29 +00:00
col Avoid shadowing a local scratch variable, 2005-11-13 20:30:13 +00:00
colcrt
colldef
colrm
column
comm
compile_et Style: move .PATH to where it belongs. 2005-10-14 15:50:22 +00:00
compress -mdoc sweep. 2005-11-18 10:36:29 +00:00
csplit
ctags
cut
dig
dirname
du
ee
elf2aout Make our ELF64 type definitions match standards. In particular this 2005-12-18 04:52:37 +00:00
elfdump Know the machines FreeBSD runs on. Print the machine value for 2005-12-17 23:24:34 +00:00
enigma
env
expand
false
fetch Only clear sb.st_size if it is clearly wrong or meaningless. This fixes 2005-12-30 23:36:26 +00:00
file
file2c
find Fixes for gcc4.x. 2005-08-25 13:44:02 +00:00
finger Setting .nofinger will not hide you from root. 2005-09-19 10:11:47 +00:00
fmt
fold
from
fstat Un-break processing of device major/minor values with fstat -n. We do 2005-11-05 23:38:08 +00:00
fsync
ftp
gcore
gencat
getconf
getopt
gprof clone i386.h for powerpc 2005-12-29 04:23:54 +00:00
head
hesinfo
hexdump
host
id
indent Use the appropriate error function for displaying the error, 2005-11-20 13:48:15 +00:00
ipcrm
ipcs
join
jot
kdump -mdoc sweep. 2005-11-18 10:36:29 +00:00
keylogin
keylogout
killall
ktrace
ktrdump Really fix the relative timestamp bug. It was only incorrect for the ALQ 2005-12-09 14:27:03 +00:00
lam
last
lastcomm
ldd
leave
less
lessecho
lesskey
lex
limits
locale Xref setlocale(3), bump document date. 2005-11-01 19:36:17 +00:00
locate Add a -0 option for interoperability with xargs -0. 2005-12-07 12:22:46 +00:00
lock
lockf Finish off style(9) fixes which I started two revisions ago. This basically 2005-10-09 04:45:41 +00:00
logger
login
logins
logname
look
lorder Oops, revert last commit (the manpage is still built in objdir). 2005-09-28 07:54:18 +00:00
lsvfs
m4
mail Sync usage screen with manpage. 2005-10-07 10:18:44 +00:00
make Prepare for MACHINE and hw.machine switching to "pc98" on FreeBSD/pc98. 2005-12-05 14:22:12 +00:00
makewhatis Prepare for MACHINE and hw.machine switching to "pc98" on FreeBSD/pc98. 2005-12-05 14:22:12 +00:00
mesg
minigzip
ministat
mkdep
mkfifo
mklocale
mkstr
mktemp mkstemp(3) and friends use a combination of base 10 digits, along 2005-12-30 20:10:21 +00:00
mkuzip
msgs
mt -mdoc sweep. 2005-11-18 10:36:29 +00:00
nc
ncal Document incorrect handling of multibyte characters. 2005-10-23 01:37:25 +00:00
ncplist
ncplogin
netstat Add support for printing IPSEC protocol stats if the kernel was compiled 2005-12-28 20:36:55 +00:00
newgrp
newkey
nfsstat
nice
nl
nohup
nslookup
nsupdate
objformat
opieinfo
opiekey
opiepasswd
pagesize
passwd
paste
pathchk
pkill -mdoc sweep. 2005-11-18 10:36:29 +00:00
pr Fix misspelled 'argument' and try to make the sentence into English. 2005-10-26 17:37:54 +00:00
printenv
printf
quota
renice
rev
rlogin len and len2 work better as size_t 2005-11-13 21:03:56 +00:00
rpcgen Eliminate coredump problem introduced by last commit. 2005-11-14 13:35:08 +00:00
rpcinfo
rs
rsh
rup Catch up with 64bit time_t on sparc64. The rstat packet expects a 32bit 2005-12-04 18:25:26 +00:00
ruptime - Do not allocate memory to entries in /var/rwho which have been down for 2005-09-02 14:58:26 +00:00
rusers
rwall
rwho
script
sed The function inplace_edit() doesn't exist anymore, remove the prototype. 2005-09-24 13:18:30 +00:00
shar
showmount
smbutil
sockstat
split -mdoc sweep. 2005-11-18 10:36:29 +00:00
stat
su
systat
tabs
tail Unbreak tail -f on non-local filesystems. 2005-08-26 08:15:57 +00:00
talk
tar Remove the -B option from the directory-copying examples. The -B 2005-12-09 05:19:00 +00:00
tcopy
tee
telnet
tftp Use the new name H_SETSIZE instead of the old H_EVENT to set the history 2005-10-19 15:37:43 +00:00
time
tip Fix an erroneous description of the file descriptor assignments for 2005-11-02 05:47:49 +00:00
top
touch
tput
tr
true
truncate
truss The kernel accepts sockaddrs with len set to zero for sockaddr_in 2005-10-15 06:17:29 +00:00
tset
tsort
tty
uac
ul
uname
unexpand
unifdef
uniq
units
unvis
usbhidaction
usbhidctl
users
uudecode
uuencode
uuidgen Mention that uuidgen(1) generates DCE version 1 UUIDs only 2005-09-07 07:49:21 +00:00
vacation
vgrind Fix vgrind(1) indexing I broke in previous revision. 2005-09-23 12:55:22 +00:00
vi
vis
vmstat Obtain true uptime through clock_gettime(CLOCK_MONOTONIC, struct *timespec) 2005-10-17 15:37:22 +00:00
w Obtain true uptime through clock_gettime(CLOCK_MONOTONIC, struct *timespec) 2005-10-17 15:37:22 +00:00
wall
wc
what
whereis
which
who
whois
window Fixes for gcc 4.x. 2005-08-25 14:09:35 +00:00
write
xargs Check the entire length of the current argument for the EOF string with -E, 2005-12-31 09:06:45 +00:00
xinstall
xlint
xstr
yacc
yes
ypcat
ypmatch
ypwhich
Makefile Build gprof for powerpc now. 2005-12-29 04:30:03 +00:00
Makefile.inc