[Rafal Dabrowa <rafal@softsystem.com.pl>] libc/1163: glibc: wrong work of strcoll
Rafal Dabrowa
rafal@softsystem.com.pl
Thu Jun 17 00:36:00 GMT 1999
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.
More information about the Libc-alpha
mailing list