Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9ba13fbc
Commit
9ba13fbc
authored
Nov 10, 2020
by
Damjan Jovanovic
Committed by
Alexandre Julliard
Nov 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
>
parent
d1c86118
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
file.c
dlls/ntdll/unix/file.c
+4
-4
No files found.
dlls/ntdll/unix/file.c
View file @
9ba13fbc
...
@@ -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"
)
||
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment