GNU bug report logs - #17306
grep: skip checking of multibyte character boundary, reaching at eolbyte

Previous Next

Package: grep;

Reported by: Norihiro Tanaka <noritnk <at> kcn.ne.jp>

Date: Mon, 21 Apr 2014 12:29:01 UTC

Severity: normal

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 17306 in the body.
You can then email your comments to 17306 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-grep <at> gnu.org:
bug#17306; Package grep. (Mon, 21 Apr 2014 12:29:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Norihiro Tanaka <noritnk <at> kcn.ne.jp>:
New bug report received and forwarded. Copy sent to bug-grep <at> gnu.org. (Mon, 21 Apr 2014 12:29:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Norihiro Tanaka <noritnk <at> kcn.ne.jp>
To: bug-grep <at> gnu.org
Subject: grep: skip checking of multibyte character boundary,
 reaching at eolbyte
Date: Mon, 21 Apr 2014 21:27:34 +0900
[Message part 1 (text/plain, inline)]
In dfaexec(), if reaches at eolbyte, we can skip checking of multibyte
character boundary.  So then process mbp until here.

Norihiro
[patch.txt (text/plain, attachment)]

Added tag(s) patch. Request was from Paul Eggert <eggert <at> cs.ucla.edu> to control <at> debbugs.gnu.org. (Mon, 21 Apr 2014 15:01:02 GMT) Full text and rfc822 format available.

Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Fri, 25 Apr 2014 00:59:02 GMT) Full text and rfc822 format available.

Notification sent to Norihiro Tanaka <noritnk <at> kcn.ne.jp>:
bug acknowledged by developer. (Fri, 25 Apr 2014 00:59:03 GMT) Full text and rfc822 format available.

Message #12 received at 17306-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Norihiro Tanaka <noritnk <at> kcn.ne.jp>, 17306-done <at> debbugs.gnu.org
Subject: Re: bug#17306: grep: skip checking of multibyte character boundary,
 reaching at eolbyte
Date: Thu, 24 Apr 2014 17:58:28 -0700
[Message part 1 (text/plain, inline)]
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.


[0001-dfa-simplify-and-be-more-consistent-about-MB_CUR_MAX.patch (text/plain, attachment)]
[0002-dfa-minor-simplification-of-dfaexec.patch (text/plain, attachment)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 23 May 2014 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 24 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.