f08c1d5e48
pattern matches will occur at offset zero of the source string. The bug causes the input source string pointer to be incremented by the offset of the end of the match, instead of it's length. The fix is to only increment the pointer by the length of the pattern match (eo-so). Of course, the one example in the man page shows a situation where the match occurs at offset 0. Submitted by: John W. DeBoskey <jwd@unx.sas.com> Obtained from: freebsd-current@freebsd.org |
||
---|---|---|
.. | ||
cat | ||
chflags | ||
chio | ||
chmod | ||
cp | ||
csh | ||
date | ||
dd | ||
df | ||
domainname | ||
echo | ||
ed | ||
expr | ||
hostname | ||
kill | ||
ln | ||
ls | ||
mkdir | ||
mv | ||
pax | ||
ps | ||
pwd | ||
rcp | ||
rm | ||
rmail | ||
rmdir | ||
sh | ||
sleep | ||
stty | ||
sync | ||
test | ||
Makefile | ||
Makefile.inc |