GNU bug report logs - #17034
[PATCH] grep: open CSET and transform into the upper case when MB_CUR_MAX == 1 in dfamust

Previous Next

Package: grep;

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

Date: Tue, 18 Mar 2014 13:40:02 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#17034: closed ([PATCH] grep: open CSET and transform into the
 upper case when MB_CUR_MAX == 1 in dfamust)
Date: Sat, 12 Apr 2014 01:37:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 11 Apr 2014 18:36:50 -0700
with message-id <534898B2.9090101 <at> cs.ucla.edu>
and subject line Re: bug#17034: [PATCH] grep: open CSET and transform into the upper case when MB_CUR_MAX == 1 in dfamust
has caused the debbugs.gnu.org bug report #17034,
regarding [PATCH] grep: open CSET and transform into the upper case when MB_CUR_MAX == 1 in dfamust
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
17034: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17034
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Norihiro Tanaka <noritnk <at> kcn.ne.jp>
To: submit <at> debbugs.gnu.org
Subject: [PATCH] grep: open CSET and transform into the upper case when
 MB_CUR_MAX == 1 in dfamust
Date: Tue, 18 Mar 2014 22:38:54 +0900
[Message part 3 (text/plain, inline)]
Package: grep
Tags: patch

In MB_CUR_MAX == 1 and case-insensitive matching, KWSet doesn't so
helpful, because through parse alphabets of single-byte are changed into
CSET which isn't extracted by dfamust.

This patch opens CSET in dfamust, and makes it possible to take out
a longer character fixed string from tokens.

Norihiro
[patch.txt (text/plain, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Norihiro Tanaka <noritnk <at> kcn.ne.jp>, 17034-done <at> debbugs.gnu.org
Subject: Re: bug#17034: [PATCH] grep: open CSET and transform into the upper
 case when MB_CUR_MAX == 1 in dfamust
Date: Fri, 11 Apr 2014 18:36:50 -0700
[Message part 6 (text/plain, inline)]
Norihiro Tanaka wrote:
> I fixed the bug in the patch.  Added call of resetmust().

Thanks, I installed that, along with the attached fixeup patch, and am 
marking this as done.  The most interesting part of the fixup patch is 
its replacement of 'for (; j < NOTCHAR; j++)' with 'while (++j < 
NOTCHAR)', which should work a bit better when analyzing patterns like 
'[aaa]'.
[0001-grep-improvements-for-the-open-CSET-patch.patch (text/plain, attachment)]

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

Previous Next


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