mirror of
https://review.haiku-os.org/haiku
synced 2025-02-21 21:19:09 +01:00
Historically, FAT stored filenames as uppercase. Modern windows versions will however be case-preserving. As a special case, all-uppercase files from old FAT filesystems will be converted to all-lowercase. There are two flags (one for filename and one for extension) indicating that this should be done. We did not make the distinction between these two flags when reading a filename. We still don't set the flags properly when writing files, but we always provide a long file name (even if the name would fit in the 8.3 pattern for a short one, so when reading back our own entries, we should always use the long filename and be safe. Change-Id: I1618a5be22705de3a06534442b62074445069764