OpenBSD CVS

CVS log for src/usr.bin/grep/util.c


[BACK] 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

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.