Paolo Bonzini wrote:

> On Fri, Jun 3, 2011 at 19:09, Jim Meyering <j...@meyering.net> 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.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to