This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: Re: [Rafal Dabrowa <rafal@softsystem.com.pl>] libc/1163: glibc: wrong work of strcoll
- To: schwab@issan.cs.uni-dortmund.de
- Subject: Re: Re: [Rafal Dabrowa <rafal@softsystem.com.pl>] libc/1163: glibc: wrong work of strcoll
- From: Rafal Dabrowa <rafal@softsystem.com.pl>
- Date: Thu, 17 Jun 1999 09:22:41 +0200 (DFT)
- Cc: aj@arthur.rhein-neckar.de, libc-alpha@sourceware.cygnus.com
Really !? See results of this program run on AIX operating system:
$ echo "LANG=$LANG, LC_ALL=$LC_ALL"
LANG=en_US, LC_ALL=en_US
$ strcoll-test B b
strcoll( B, b ) = -1
$ strcoll-test a B
strcoll( a, B ) = 1
similar, but there is a big difference: "B" is LESS than "b" an "a" is
GREATHER than "B" (on Linux with glibc 2.1.1 is inversely). And I
guess, that on AIX is O.K. May be not ?
Rafal
Andreas Schwab <schwab@issan.cs.uni-dortmund.de> wrote:
> Andreas Jaeger <aj@arthur.rhein-neckar.de> writes:
>
> |> What's broken here (i486, glibc 2.1.1)?
>
> Nothing, it's completely correct and consistent with the locale definition.
>
> Andreas.