Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
af7e1ae5
Commit
af7e1ae5
authored
Apr 13, 2000
by
Andreas Mohr
Committed by
Alexandre Julliard
Apr 13, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FILE_CreateFile()'s read/write-check was broken due to checking of
ERROR_xxx instead of STATUS_xxx.
parent
2cf4ebc1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
file.c
files/file.c
+1
-1
No files found.
files/file.c
View file @
af7e1ae5
...
...
@@ -341,7 +341,7 @@ HANDLE FILE_CreateFile( LPCSTR filename, DWORD access, DWORD sharing,
if
((
req
->
handle
==
-
1
)
&&
!
fail_read_only
&&
(
access
&
GENERIC_WRITE
))
{
if
((
err
==
ERROR_ACCESS_DENIED
)
||
(
err
==
ERROR_WRITE_PROTECT
))
if
((
err
==
STATUS_MEDIA_WRITE_PROTECTED
)
||
(
err
==
STATUS_ACCESS_DENIED
))
{
TRACE
(
"Write access failed for file '%s', trying without "
"write access"
,
filename
);
...
...
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