Damjan Jovanovic : ntdll: Msdosfs was case-insensitive since FreeBSD 8 or even earlier.
Alexandre Julliard
julliard at winehq.org
Tue Nov 10 15:30:24 CST 2020
Module: wine
Branch: master
Commit: 9ba13fbca604d35037d3da60146091e8be92d697
URL: https://source.winehq.org/git/wine.git/?a=commit;h=9ba13fbca604d35037d3da60146091e8be92d697
Author: Damjan Jovanovic <damjan.jov at gmail.com>
Date: Tue Nov 10 06:49:52 2020 +0200
ntdll: Msdosfs was case-insensitive since FreeBSD 8 or even earlier.
Signed-off-by: Damjan Jovanovic <damjan.jov at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ntdll/unix/file.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/ntdll/unix/file.c b/dlls/ntdll/unix/file.c
index 3699f8b8891..7a97f2bdd85 100644
--- a/dlls/ntdll/unix/file.c
+++ b/dlls/ntdll/unix/file.c
@@ -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" ) ||
More information about the wine-cvs
mailing list