[RFA/libiberty] Darwin has case-insensitive filesystems

Joseph S. Myers joseph@codesourcery.com
Wed Jun 15 10:46:00 GMT 2011


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.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gdb-patches mailing list