bug-bash
[Top][All Lists]
Advanced

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

Re: locale specific ordering in EN_US -- why is a<A<b<B<y<Y<z<Z?


From: Paolo Bonzini
Subject: Re: locale specific ordering in EN_US -- why is a<A<b<B<y<Y<z<Z?
Date: Thu, 27 Jun 2013 16:54:46 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6

Il 27/06/2013 16:31, Aharon Robbins ha scritto:
>>>> I would suggest distros to rip out the #else part of this #ifndef.
>>>
>>> And I wouldn't, but as I have no control over the distros, I'm
>>> not going to worry about it.
>>>
>>> All I know is that with the non-gawk case, gawk fails its test suite,
>>> and I've given up discussing it.
>>
>> You've also never tried understanding why you cannot "just do it"
>> without fixing glibc.
> 
> Not true. I have tried. I have simply failed.

Maybe your background is different from mine---you work on a single
program, I tend to think more about the full system.

> You can try (again) using words of one syllable to explain it to me
> and maybe I'll get it.  But don't feel like you have to, since I know
> you've not enjoyed the experience.

Fixing gnulib ensures that, on non-GNU systems, everyone will get the
same result from gnulib users (BTW, note that grep's fix for the problem
did not introduce a particular policy: instead, it just relied on
gnulib's fix).  It's the best you can do on non-GNU systems.

But that's not enough on GNU systems, because GNU systems will always
have regex in glibc and many programs will use the regex that is in
glibc.  On such a system, modifying glibc is the only way to ensure that
everyone will get the same result, either a<A<b or a<b<A.

Paolo



reply via email to

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