Now the fdelimlen doesn't include the NUL it is never true. I didn't
understand how it could ever be true but gcov on the test suite was
showing 22e6 tests had three positives; that's what put me on to
fdelimlen's overshoot.
while (pc != *str++)
if (str > es)
return 0;
while (pc != *str++)
if (str > es)
return 0;
- if (str > es+1)
- return 0;
sp = str; pp = pat;
while (pp < ep && *sp++ == *pp)
pp++;
sp = str; pp = pat;
while (pp < ep && *sp++ == *pp)
pp++;