[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dircolors patch for locales like Turkish
From: |
Jim Meyering |
Subject: |
Re: dircolors patch for locales like Turkish |
Date: |
Thu, 15 Feb 2007 08:52:52 +0100 |
Paul Eggert <address@hidden> wrote:
> As we've been seeing in bug-gnulib, locales like Turkish say that "i"
> and "I" are not lower- and upper-case variants of the same letter, but
> are two different letters. Hence utilities should not rely on
> strcasecmp when they want the usual ASCII semantics. Here's a patch
> for coreutils.
>
> 2007-02-14 Paul Eggert <address@hidden>
>
> * bootstrap.conf (gnulib_modules): Add c-strcase. Remove strcase.
> * src/dircolors.c: Include c-strcase.h.
> (dc_parse_stream): Use c_strcasecmp rather than
> strcasecmp to avoid unreliable results in locales like Turkish
> where strcasecmp is incompatible with the C locale.
Thanks.
Applied.