Commit 9ba13fbc authored by Damjan Jovanovic's avatar Damjan Jovanovic Committed by Alexandre Julliard

ntdll: Msdosfs was case-insensitive since FreeBSD 8 or even earlier.

parent d1c86118
...@@ -1123,13 +1123,13 @@ static BOOLEAN get_dir_case_sensitivity_stat( const char *dir ) ...@@ -1123,13 +1123,13 @@ static BOOLEAN get_dir_case_sensitivity_stat( const char *dir )
struct statfs stfs; struct statfs stfs;
if (statfs( dir, &stfs ) == -1) return TRUE; if (statfs( dir, &stfs ) == -1) return TRUE;
/* Assume these file systems are always case insensitive on Mac OS. /* Assume these file systems are always case insensitive.*/
* For FreeBSD, only assume CIOPFS is case insensitive (AFAIK, Mac OS
* is the only UNIX that supports case-insensitive lookup).
*/
if (!strcmp( stfs.f_fstypename, "fusefs" ) && if (!strcmp( stfs.f_fstypename, "fusefs" ) &&
!strncmp( stfs.f_mntfromname, "ciopfs", 5 )) !strncmp( stfs.f_mntfromname, "ciopfs", 5 ))
return FALSE; return FALSE;
/* msdosfs was case-insensitive since FreeBSD 8, if not earlier */
if (!strcmp( stfs.f_fstypename, "msdosfs" ))
return FALSE;
#ifdef __APPLE__ #ifdef __APPLE__
if (!strcmp( stfs.f_fstypename, "msdos" ) || if (!strcmp( stfs.f_fstypename, "msdos" ) ||
!strcmp( stfs.f_fstypename, "cd9660" ) || !strcmp( stfs.f_fstypename, "cd9660" ) ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment