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
9925785e
Commit
9925785e
authored
Mar 13, 2009
by
Roman Mindalev
Committed by
Alexandre Julliard
Mar 25, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Move search for assemblyIdentity element.
parent
cbd935ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
31 deletions
+29
-31
actctx.c
dlls/ntdll/actctx.c
+29
-31
No files found.
dlls/ntdll/actctx.c
View file @
9925785e
...
...
@@ -1390,37 +1390,6 @@ static BOOL parse_assembly_elem(xmlbuf_t* xmlbuf, struct actctx_loader* acl,
assembly
->
no_inherit
)
return
FALSE
;
if
(
xmlstr_cmp
(
&
elem
,
assemblyIdentityW
))
{
if
(
!
parse_assembly_identity_elem
(
xmlbuf
,
acl
->
actctx
,
&
assembly
->
id
))
return
FALSE
;
ret
=
next_xml_elem
(
xmlbuf
,
&
elem
);
if
(
expected_ai
)
{
/* FIXME: more tests */
if
(
assembly
->
type
==
ASSEMBLY_MANIFEST
&&
memcmp
(
&
assembly
->
id
.
version
,
&
expected_ai
->
version
,
sizeof
(
assembly
->
id
.
version
)))
{
FIXME
(
"wrong version for assembly manifest: %u.%u.%u.%u / %u.%u.%u.%u
\n
"
,
expected_ai
->
version
.
major
,
expected_ai
->
version
.
minor
,
expected_ai
->
version
.
build
,
expected_ai
->
version
.
revision
,
assembly
->
id
.
version
.
major
,
assembly
->
id
.
version
.
minor
,
assembly
->
id
.
version
.
build
,
assembly
->
id
.
version
.
revision
);
return
FALSE
;
}
else
if
(
assembly
->
type
==
ASSEMBLY_SHARED_MANIFEST
&&
(
assembly
->
id
.
version
.
major
!=
expected_ai
->
version
.
major
||
assembly
->
id
.
version
.
minor
!=
expected_ai
->
version
.
minor
||
assembly
->
id
.
version
.
build
<
expected_ai
->
version
.
build
||
(
assembly
->
id
.
version
.
build
==
expected_ai
->
version
.
build
&&
assembly
->
id
.
version
.
revision
<
expected_ai
->
version
.
revision
)))
{
FIXME
(
"wrong version for shared assembly manifest
\n
"
);
return
FALSE
;
}
}
}
while
(
ret
)
{
if
(
xmlstr_cmp_end
(
&
elem
,
assemblyW
))
...
...
@@ -1452,6 +1421,35 @@ static BOOL parse_assembly_elem(xmlbuf_t* xmlbuf, struct actctx_loader* acl,
{
ret
=
parse_clr_surrogate_elem
(
xmlbuf
,
assembly
);
}
else
if
(
xmlstr_cmp
(
&
elem
,
assemblyIdentityW
))
{
if
(
!
parse_assembly_identity_elem
(
xmlbuf
,
acl
->
actctx
,
&
assembly
->
id
))
return
FALSE
;
if
(
expected_ai
)
{
/* FIXME: more tests */
if
(
assembly
->
type
==
ASSEMBLY_MANIFEST
&&
memcmp
(
&
assembly
->
id
.
version
,
&
expected_ai
->
version
,
sizeof
(
assembly
->
id
.
version
)))
{
FIXME
(
"wrong version for assembly manifest: %u.%u.%u.%u / %u.%u.%u.%u
\n
"
,
expected_ai
->
version
.
major
,
expected_ai
->
version
.
minor
,
expected_ai
->
version
.
build
,
expected_ai
->
version
.
revision
,
assembly
->
id
.
version
.
major
,
assembly
->
id
.
version
.
minor
,
assembly
->
id
.
version
.
build
,
assembly
->
id
.
version
.
revision
);
ret
=
FALSE
;
}
else
if
(
assembly
->
type
==
ASSEMBLY_SHARED_MANIFEST
&&
(
assembly
->
id
.
version
.
major
!=
expected_ai
->
version
.
major
||
assembly
->
id
.
version
.
minor
!=
expected_ai
->
version
.
minor
||
assembly
->
id
.
version
.
build
<
expected_ai
->
version
.
build
||
(
assembly
->
id
.
version
.
build
==
expected_ai
->
version
.
build
&&
assembly
->
id
.
version
.
revision
<
expected_ai
->
version
.
revision
)))
{
FIXME
(
"wrong version for shared assembly manifest
\n
"
);
ret
=
FALSE
;
}
}
}
else
{
WARN
(
"unknown element %s
\n
"
,
debugstr_xmlstr
(
&
elem
));
...
...
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