[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] [Patch] small fixes in gnu.*
From: |
Michael Koch |
Subject: |
Re: [cp-patches] [Patch] small fixes in gnu.* |
Date: |
Wed, 2 Mar 2005 20:44:04 +0100 |
User-agent: |
mutt-ng 1.5.8i (Debian) |
On Wed, Mar 02, 2005 at 12:37:25PM -0600, Archie Cobbs wrote:
> Michael Koch wrote:
> >>'n' comes before 'O' in English collation. This "fix" is a regression.
> >
> > No. Uppercase charcters are ordered before lowercase. That is what
> > Eclipse and all other tools I looked do by default. I would have like it
> > the other way too but then I have to change the defaults everywhere.
> > We were inconsistent in this in the past, parts of the code uses this order,
> > other parts use the other order and most code used no real order before.
>
> In case anyone didn't realize this.. sort order is a function of
> your locale setting.
>
> You need to set your LC_ALL to "C" instead of "en" to get the
> traditional sorting, if you're using a tool like sort(1) to do the sort.
I'm aware of this. I descrivbed our style in the hacking infopage now to
make it clear.
Michael
--
Java Trap: http://www.gnu.org/philosophy/java-trap.html