Fix bug in most recent fix for pcre2grep.
This commit is contained in:
parent
0299bba9d9
commit
388ffac596
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue