This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]