[RFA/libiberty] Darwin has case-insensitive filesystems

DJ Delorie dj@redhat.com
Tue Jun 14 22:13:00 GMT 2011

> This is wrong as not all FSs are case insensitive.  In fact HFS+ can
> be case sensitive too.  I think you need better check than just
> saying all Darwin is case insensitive.  This is just like using
> FAT32 on Linux.  In fact I think HAVE_DOS_BASED_FILE_SYSTEM is
> incorrect also for NTFS as it can also be case sensitive.

There's a difference between case preserving and case sensitive,
though, and we really don't have a portable way to detect
case-sensitivity on a per-directory basis, sow how can we do better?

More information about the Gcc-patches mailing list