bug-grep
[Top][All Lists]
Advanced

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

Re: Bug#624387: [bug #33198] Incorrect bracket expression when parsing i


From: Jim Meyering
Subject: Re: Bug#624387: [bug #33198] Incorrect bracket expression when parsing in ru_RU.KOI8-R (Russian locale)
Date: Fri, 03 Jun 2011 21:55:51 +0200

Paolo Bonzini wrote:

> On Fri, Jun 3, 2011 at 19:09, Jim Meyering <address@hidden> wrote:
>> The b2 == EOF part is required for the somewhat similar bug I fixed
>> a month ago:
>>
>>    fix a bug whereby echo c|grep '[c]' would fail for any c in 0x80..0xff
>>    8da41c930e03a8635cbd8c89e3e591374c232c89
>
> Wouldn't that be covered by MB_CUR_MAX == 1, too?

No.
The bug I fixed a month ago also affected locales with MB_CUR_MAX
larger than 1, too, including at least a few key UTF8-based ones.

If you have a better patch in mind, please share.
Or try it and see if it fails any of the existing test cases.



reply via email to

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