Paul Eggert <[EMAIL PROTECTED]> 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  <[EMAIL PROTECTED]>
>
>       * 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.


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to