This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/libiberty] Darwin has case-insensitive filesystems
> Date: Wed, 15 Jun 2011 10:22:36 +0200
> From: Corinna Vinschen <vinschen@redhat.com>
> Cc: Andrew Pinski <pinskia@gmail.com>, brobecker@adacore.com, gcc-patches@gcc.gnu.org, gdb-patches@sourceware.org
>
> Talking about case-insensitive comparison, the filename_cmp and
> filename_ncmp functions don't work for multibyte codesets, only for
> singlebyte codesets. Given that UTF-8 is standard nowadays, shouldn't
> these functions be replaced with multibyte-aware versions?
I agree, but if we go that way, shouldn't we support UTF-16, which is
used by the native Windows APIs? Windows does not use UTF-8 for file
names.