Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
35a0461b
Commit
35a0461b
authored
May 31, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
May 31, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Improve parsing of patch summary information.
parent
d17ebc40
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
action.c
dlls/msi/action.c
+25
-0
No files found.
dlls/msi/action.c
View file @
35a0461b
...
...
@@ -496,6 +496,7 @@ UINT msi_parse_patch_summary( MSISUMMARYINFO *si, MSIPATCHINFO **patch )
{
MSIPATCHINFO
*
pi
;
UINT
r
=
ERROR_SUCCESS
;
WCHAR
*
p
;
pi
=
msi_alloc_zero
(
sizeof
(
MSIPATCHINFO
)
);
if
(
!
pi
)
...
...
@@ -508,6 +509,30 @@ UINT msi_parse_patch_summary( MSISUMMARYINFO *si, MSIPATCHINFO **patch )
return
ERROR_OUTOFMEMORY
;
}
p
=
pi
->
patchcode
;
if
(
*
p
!=
'{'
)
{
msi_free
(
pi
->
patchcode
);
msi_free
(
pi
);
return
ERROR_PATCH_PACKAGE_INVALID
;
}
p
=
strchrW
(
p
+
1
,
'}'
);
if
(
!
p
)
{
msi_free
(
pi
->
patchcode
);
msi_free
(
pi
);
return
ERROR_PATCH_PACKAGE_INVALID
;
}
if
(
p
[
1
])
{
FIXME
(
"patch obsoletes %s
\n
"
,
debugstr_w
(
p
+
1
));
p
[
1
]
=
0
;
}
TRACE
(
"patch code %s
\n
"
,
debugstr_w
(
pi
->
patchcode
));
pi
->
transforms
=
msi_suminfo_dup_string
(
si
,
PID_LASTAUTHOR
);
if
(
!
pi
->
transforms
)
{
...
...
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