[RFA/libiberty] Darwin has case-insensitive filesystems

Corinna Vinschen vinschen@redhat.com
Wed Jun 15 11:07:00 GMT 2011

On Jun 15 10:45, Joseph S. Myers wrote:
> On Wed, 15 Jun 2011, Corinna Vinschen wrote:
> > these functions be replaced with multibyte-aware versions?  Along the
> > same lines, the entire set of safe-ctype functions only work for ASCII
> > and EBCDIC...
> That's the whole point of safe-ctype: that code that is processing things 
> such as C source code whose semantics do not depend on the host locale can 
> examine character properties in a locale-independent way.  Where C source 
> code has multibyte characters, the correct handling depends in detail on 
> the version of C and cannot be done by generic code.

Ok, I see.

Just in this specific case it's about filenames, not C source.  I don't
think it makes sense to restrict filenames to ASCII or EBCDIC chars.


Corinna Vinschen
Cygwin Project Co-Leader
Red Hat

More information about the Gcc-patches mailing list