freebsd-dev/bin
Stefan Farfeleder f9ec075e88 Reset the internal state used for the 'getopts' built-in when 'shift' or 'set'
are used to modify the arguments.  Not doing so caused random memory reads or
null pointer dereferences when 'getopts' was called again later (SUSv3 says
getopts produces unspecified results in this case).

PR:	48318
2008-03-22 14:06:01 +00:00
..
cat
chflags Make chflags(1) more chmod(1)-like (and more feature complete): 2008-03-09 12:10:24 +00:00
chio
chmod
cp Add an '-a' option which is identical to specifying '-RpP' for 2008-03-10 19:58:41 +00:00
csh Work around a vendor issue that was causing the builtin malloc to be 2007-05-16 21:22:38 +00:00
date Don't reset DST computed by strptime() (when e.g. setting the 2008-02-07 16:04:24 +00:00
dd
df Significantly reduce the memory leak as noted in BUGS section for 2007-07-04 00:00:41 +00:00
domainname
echo
ed Move WARNS as ed(1) also is only WARNS = 2 clean in the !DES case. 2007-12-09 00:14:27 +00:00
expr
getfacl Use owner name and owning group name instead of uid and gid 2007-09-19 02:04:47 +00:00
hostname
kenv
kill
ln Express in the usage() and SYNOPSIS that -F depends on -s, and 2007-11-17 21:01:22 +00:00
ls
mkdir
mv - Roll-back attempts to mimic rename(2) atomicity introduced in 1.47, 2007-12-27 11:33:42 +00:00
pax Remove unnecessary free argument casts. 2007-05-25 17:53:38 +00:00
ps - P_SA has been removed. 2008-03-12 10:01:34 +00:00
pwd
rcp In the error handling path, don't call close(fd) if the error we're 2007-05-22 04:21:00 +00:00
realpath Enhance realpath(1) in a number of ways: 2008-03-09 12:46:39 +00:00
rm
rmail
rmdir
setfacl
sh Reset the internal state used for the 'getopts' built-in when 'shift' or 'set' 2008-03-22 14:06:01 +00:00
sleep
stty
sync
test
uuidgen uuidgen has been repo-copied from usr.bin/ to bin/ to match its "new" 2008-03-13 17:38:06 +00:00
Makefile uuidgen has been repo-copied from usr.bin/ to bin/ to match its "new" 2008-03-13 17:38:06 +00:00
Makefile.inc