[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug #36567] grep -i (case-insensitive) is broken with UTF8
From: |
Paul Eggert |
Subject: |
Re: [bug #36567] grep -i (case-insensitive) is broken with UTF8 |
Date: |
Tue, 12 Jun 2012 09:48:53 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 |
On 06/12/2012 09:27 AM, Jim Meyering wrote:
> But please move the declaration of ombclen down to its initialization.
> The only part of grep for which we avoid decl-after-stmt is dfa.c.
Ah, OK, thanks, I did that and pushed. It will be nice
when we can assume statement-before-declaration everywhere.
> Did you try to create a test case that triggers this bug?
> It would be nice to do that, or if that is not possible,
> to say that no such case exists (at least with UTF-8).
Yes, a patch would be nice, but offhand I don't know of
a test case for it (i.e., a locale where changing case
shortens some characters and lengthens others).