Sebastian Lackner : ole32: Wait a bit before doing next sanity check in StorageImpl_LockRegionSync.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Mar 12 10:48:19 CDT 2015


Module: wine
Branch: master
Commit: 66e8060204c91d37ee6aef078d779b7ee667159f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=66e8060204c91d37ee6aef078d779b7ee667159f

Author: Sebastian Lackner <sebastian at fds-team.de>
Date:   Thu Mar 12 07:19:54 2015 +0100

ole32: Wait a bit before doing next sanity check in StorageImpl_LockRegionSync.

---

 dlls/ole32/storage32.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c
index 8963044..b4401a6 100644
--- a/dlls/ole32/storage32.c
+++ b/dlls/ole32/storage32.c
@@ -2917,6 +2917,8 @@ static HRESULT StorageImpl_LockRegionSync(StorageImpl *This, ULARGE_INTEGER offs
                     ILockBytes_UnlockRegion(This->lockBytes, sanity_offset, sanity_cb, 0);
                     hr = STG_E_ACCESSDENIED;
                 }
+
+                last_sanity_check = current_time;
             }
             Sleep(delay);
             if (delay < 150) delay++;




More information about the wine-cvs mailing list