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

Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Damjan Jovanovic 2020-11-10 06:49:52 +02:00 committed by Alexandre Julliard
parent d1c8611886
commit 9ba13fbca6
1 changed files with 4 additions and 4 deletions

View File

@ -1123,13 +1123,13 @@ static BOOLEAN get_dir_case_sensitivity_stat( const char *dir )
struct statfs stfs;
if (statfs( dir, &stfs ) == -1) return TRUE;
/* Assume these file systems are always case insensitive on Mac OS.
* For FreeBSD, only assume CIOPFS is case insensitive (AFAIK, Mac OS
* is the only UNIX that supports case-insensitive lookup).
*/
/* Assume these file systems are always case insensitive.*/
if (!strcmp( stfs.f_fstypename, "fusefs" ) &&
!strncmp( stfs.f_mntfromname, "ciopfs", 5 ))
return FALSE;
/* msdosfs was case-insensitive since FreeBSD 8, if not earlier */
if (!strcmp( stfs.f_fstypename, "msdosfs" ))
return FALSE;
#ifdef __APPLE__
if (!strcmp( stfs.f_fstypename, "msdos" ) ||
!strcmp( stfs.f_fstypename, "cd9660" ) ||