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