Fix bug in most recent fix for pcre2grep.

This commit is contained in:
Philip.Hazel 2017-02-12 13:30:38 +00:00
parent 0299bba9d9
commit 388ffac596
1 changed files with 1 additions and 0 deletions

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;