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
45dd716e
Commit
45dd716e
authored
May 08, 2014
by
Vincent Povirk
Committed by
Alexandre Julliard
May 09, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Warn in cases where we might corrupt storage files.
parent
cfb81f2c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
storage32.c
dlls/ole32/storage32.c
+8
-0
No files found.
dlls/ole32/storage32.c
View file @
45dd716e
...
...
@@ -4992,6 +4992,8 @@ static HRESULT WINAPI TransactedSnapshotImpl_Commit(
{
if
((
grfCommitFlags
&
STGC_ONLYIFCURRENT
)
&&
transactionSig
!=
This
->
lastTransactionSig
)
hr
=
STG_E_NOTCURRENT
;
else
if
(
transactionSig
!=
This
->
lastTransactionSig
)
ERR
(
"proceeding with unsafe commit
\n
"
);
if
(
SUCCEEDED
(
hr
))
{
...
...
@@ -5546,6 +5548,12 @@ static HRESULT Storage_Construct(
if
(
openFlags
&
STGM_TRANSACTED
)
{
static
int
fixme
;
if
(
STGM_SHARE_MODE
(
openFlags
)
!=
STGM_SHARE_DENY_WRITE
&&
STGM_SHARE_MODE
(
openFlags
)
!=
STGM_SHARE_EXCLUSIVE
&&
!
fixme
++
)
FIXME
(
"transacted storage write sharing not implemented safely
\n
"
);
hr
=
Storage_ConstructTransacted
(
&
newStorage
->
base
,
&
newTransactedStorage
);
if
(
FAILED
(
hr
))
IStorage_Release
(
&
newStorage
->
base
.
IStorage_iface
);
...
...
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