Re: [RFA/libiberty] use TOLOWER instead of tolower in filename_cmp.c

Eli Zaretskii
2007-05-04T07:18:34Z

> Date: Thu, 3 May 2007 08:36:17 -0700
> From: Joel Brobecker <brobecker@adacore.com>
> Cc: Eli Zaretskii <eliz@gnu.org>, drow@false.org, gcc-patches@gcc.gnu.org,
> gdb-patches@sourceware.org
>
> > For locale-independent case conversion, use TOLOWER or TOUPPER in
> > include/safe-ctype.h.
>
> Thanks for the suggestion, Ian. Now that I'm back, here is a patch
> that implements it.
>
> 2007-05-03 Joel Brobecker <brobecker@adacore.com>
>
> * filename_cmp.c: Replace include of ctype.h by include of
> safe-ctype.h.
> (filename_cmp): Use TOLOWER instead of tolower for conversions
> that are locale-independent.
> * Makefile.in (filename_cmp.o): Add dependency on safe-ctype.h.

Thanks, I'm happy now.