Up to [local] / src / usr.bin / grep
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_3_4_BASE
Revision 1.17 / (download) - annotate - [select for diffs], Sun Jul 20 22:16:52 2003 UTC (20 years, 10 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE,
OPENBSD_3_4
Changes since 1.16: +8 -4 lines
Diff to previous 1.16 (colored)
After some discussion on icb it seems a do {} while is what we want after all since there's no need to check an invariant the first time through. I've fixed the loop invariants (we need to take special care with the "j == fg->patternLen" case) and hopefully made things a tad bit clearer. tedu@ OK