On Thu, Mar 25, 2010 at 01:39:42PM +0100, Paolo Bonzini wrote: > On 03/25/2010 01:13 PM, Paolo Bonzini wrote: > >* src/dfa.c (in_coll_range): Fix ordering for second strcoll. Reported > >by Dmitry V. Levin. > >* tests/spencer1-locale.awk: Also test single-byte character sets. > >* THANKS: Add Dmitry. > >--- > > Rather than adding a specific testcase, I added more locales > > to the spencer1-locale test. > > I pushed this with a NEWS entry.
Thank you for the fix. The bug is not limited to single byte locales, though: $ echo 1 | env -i grep '[0-9]' 1 $ echo 1 | env -i LC_COLLATE=en_US.UTF-8 grep '[0-9]' $ echo 1 | env -i LANG=en_US.UTF-8 grep '[0-9]' 1 Your patch fixes this regression, too. -- ldv
pgpO78K8nEHyy.pgp
Description: PGP signature
