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
809b6aea
Commit
809b6aea
authored
Jun 16, 2014
by
Francois Gouget
Committed by
Alexandre Julliard
Jun 17, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Fix StorageImpl_LockRegionSync() to actually wait between locking attempts.
parent
8583fc4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
storage32.c
dlls/ole32/storage32.c
+1
-2
No files found.
dlls/ole32/storage32.c
View file @
809b6aea
...
...
@@ -2874,6 +2874,7 @@ static HRESULT StorageImpl_LockRegionSync(StorageImpl *This, ULARGE_INTEGER offs
ULARGE_INTEGER
cb
,
DWORD
dwLockType
)
{
HRESULT
hr
;
int
delay
=
0
;
/* if it's a FileLockBytesImpl use LockFileEx in blocking mode */
if
(
SUCCEEDED
(
FileLockBytesImpl_LockRegionSync
(
This
->
lockBytes
,
offset
,
cb
)))
...
...
@@ -2882,8 +2883,6 @@ static HRESULT StorageImpl_LockRegionSync(StorageImpl *This, ULARGE_INTEGER offs
/* otherwise we have to fake it based on an async lock */
do
{
int
delay
=
0
;
hr
=
ILockBytes_LockRegion
(
This
->
lockBytes
,
offset
,
cb
,
dwLockType
);
if
(
hr
==
STG_E_ACCESSDENIED
)
...
...
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