Fix bug in most recent fix for pcre2grep.

This commit is contained in:
ph10 2017-02-12 13:30:38 +00:00
parent c8a05255d0
commit f95c149ced

View File

@ -2311,6 +2311,7 @@ while (ptr < endptr)
startoffset -= (int)(linelength + endlinelength);
t = end_of_line(ptr, endptr, &endlinelength);
linelength = t - ptr - endlinelength;
length = (size_t)(endptr - ptr);
}
goto ONLY_MATCHING_RESTART;