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
63e4b943
Commit
63e4b943
authored
Jul 19, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 19, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Added parsing of the asmv2:hash element in manifests.
parent
e6b3ca09
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
actctx.c
dlls/ntdll/actctx.c
+25
-0
No files found.
dlls/ntdll/actctx.c
View file @
63e4b943
...
...
@@ -195,6 +195,7 @@ struct actctx_loader
#define DEPENDENTASSEMBLY_ELEM "dependentAssembly"
#define DESCRIPTION_ELEM "description"
#define FILE_ELEM "file"
#define HASH_ELEM "asmv2:hash"
#define NOINHERIT_ELEM "noInherit"
#define NOINHERITABLE_ELEM "noInheritable"
#define TYPELIB_ELEM "typelib"
...
...
@@ -645,6 +646,25 @@ static BOOL parse_end_element(xmlbuf_t *xmlbuf)
return
parse_expect_no_attr
(
xmlbuf
,
&
end
)
&&
!
end
;
}
static
BOOL
parse_unknown_elem
(
xmlbuf_t
*
xmlbuf
,
const
char
*
name
)
{
xmlstr_t
attr_name
,
attr_value
,
elem
;
BOOL
end
=
FALSE
,
error
,
ret
=
TRUE
;
while
(
next_xml_attr
(
xmlbuf
,
&
attr_name
,
&
attr_value
,
&
error
,
&
end
));
if
(
error
||
end
)
return
end
;
while
(
ret
&&
(
ret
=
next_xml_elem
(
xmlbuf
,
&
elem
)))
{
if
(
*
elem
.
ptr
==
'/'
&&
!
strncmp
(
elem
.
ptr
+
1
,
name
,
elem
.
len
-
1
))
break
;
else
ret
=
parse_unknown_elem
(
xmlbuf
,
elem
.
ptr
);
}
return
ret
&&
parse_end_element
(
xmlbuf
);
}
static
BOOL
parse_assembly_identity_elem
(
xmlbuf_t
*
xmlbuf
,
ACTIVATION_CONTEXT
*
actctx
,
struct
assembly_identity
*
ai
)
{
...
...
@@ -1108,6 +1128,11 @@ static BOOL parse_file_elem(xmlbuf_t* xmlbuf, struct assembly* assembly)
{
ret
=
parse_cominterface_proxy_stub_elem
(
xmlbuf
,
dll
);
}
else
if
(
xmlstr_cmp
(
&
elem
,
HASH_ELEM
))
{
WARN
(
HASH_ELEM
" (undocumented) not supported
\n
"
);
ret
=
parse_unknown_elem
(
xmlbuf
,
HASH_ELEM
);
}
else
if
(
xmlstr_cmp
(
&
elem
,
TYPELIB_ELEM
))
{
ret
=
parse_typelib_elem
(
xmlbuf
,
dll
);
...
...
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