diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2017-06-13 16:53:16 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2017-06-13 16:53:16 +0000 |
commit | 9e744d9e9a0f37eb6346ab7551f9e6ad8e3a0848 (patch) | |
tree | 1a3aa4bba94e0b6d5e5bc078c05277cd7674f267 /pcregrep.c | |
parent | b82c2fee81bb27e760339beb8124aa0f948ecbd5 (diff) | |
download | pcre-9e744d9e9a0f37eb6346ab7551f9e6ad8e3a0848.tar.gz |
File tidies for 8.41-RC1 release.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1703 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcregrep.c')
-rw-r--r-- | pcregrep.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -1816,18 +1816,18 @@ while (ptr < endptr) /* If the current match ended past the end of the line (only possible in multiline mode), we must move on to the line in which it did end - before searching for more matches. */ - + before searching for more matches. */ + while (startoffset > (int)linelength) - { - matchptr = ptr += linelength + endlinelength; - filepos += (int)(linelength + endlinelength); - linenumber++; + { + matchptr = ptr += linelength + endlinelength; + filepos += (int)(linelength + endlinelength); + linenumber++; startoffset -= (int)(linelength + endlinelength); t = end_of_line(ptr, endptr, &endlinelength); linelength = t - ptr - endlinelength; - length = (size_t)(endptr - ptr); - } + length = (size_t)(endptr - ptr); + } goto ONLY_MATCHING_RESTART; } |