/[pcre]/code/trunk/pcregrep.c
ViewVC logotype

Diff of /code/trunk/pcregrep.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1335 by ph10, Tue May 28 09:13:59 2013 UTC revision 1353 by ph10, Mon Aug 5 16:24:02 2013 UTC
# Line 1835  while (ptr < endptr) Line 1835  while (ptr < endptr)
1835          {          {
1836          char *endmatch = ptr + offsets[1];          char *endmatch = ptr + offsets[1];
1837          t = ptr;          t = ptr;
1838          while (t < endmatch)          while (t <= endmatch)
1839            {            {
1840            t = end_of_line(t, endptr, &endlinelength);            t = end_of_line(t, endptr, &endlinelength);
1841            if (t < endmatch) linenumber++; else break;            if (t < endmatch) linenumber++; else break;

Legend:
Removed from v.1335  
changed lines
  Added in v.1353

  ViewVC Help
Powered by ViewVC 1.1.5