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
59103375
Commit
59103375
authored
Mar 11, 2017
by
Sebastian Lackner
Committed by
Alexandre Julliard
Mar 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
krnl386.exe16: Ignore access denied error when flushing file.
Signed-off-by:
Sebastian Lackner
<
sebastian@fds-team.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
413e27ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
int21.c
dlls/krnl386.exe16/int21.c
+4
-2
No files found.
dlls/krnl386.exe16/int21.c
View file @
59103375
...
...
@@ -5282,7 +5282,8 @@ void WINAPI DOSVM_Int21Handler( CONTEXT *context )
case
0x68
:
/* "FFLUSH" - COMMIT FILE */
TRACE
(
"FFLUSH - handle %d
\n
"
,
BX_reg
(
context
)
);
if
(
!
FlushFileBuffers
(
DosFileHandleToWin32Handle
(
BX_reg
(
context
))
))
if
(
!
FlushFileBuffers
(
DosFileHandleToWin32Handle
(
BX_reg
(
context
))
)
&&
GetLastError
()
!=
ERROR_ACCESS_DENIED
)
bSetDOSExtendedError
=
TRUE
;
break
;
...
...
@@ -5307,7 +5308,8 @@ void WINAPI DOSVM_Int21Handler( CONTEXT *context )
case
0x6a
:
/* COMMIT FILE */
TRACE
(
"COMMIT FILE - handle %d
\n
"
,
BX_reg
(
context
)
);
if
(
!
FlushFileBuffers
(
DosFileHandleToWin32Handle
(
BX_reg
(
context
))
))
if
(
!
FlushFileBuffers
(
DosFileHandleToWin32Handle
(
BX_reg
(
context
))
)
&&
GetLastError
()
!=
ERROR_ACCESS_DENIED
)
bSetDOSExtendedError
=
TRUE
;
break
;
...
...
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