bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17306: grep: skip checking of multibyte character boundary, reaching


From: Paul Eggert
Subject: bug#17306: grep: skip checking of multibyte character boundary, reaching at eolbyte
Date: Thu, 24 Apr 2014 17:58:28 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

Norihiro Tanaka wrote:
In dfaexec(), if reaches at eolbyte, we can skip checking of multibyte
character boundary.  So then process mbp until here.

Thanks, I installed that. The "mbp = p" assignment can be done unconditionally. Some of the other code in the neighborhood can stand some minor cleanups too, so I did that as per the attached patches.


Attachment: 0001-dfa-simplify-and-be-more-consistent-about-MB_CUR_MAX.patch
Description: Text document

Attachment: 0002-dfa-minor-simplification-of-dfaexec.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]