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
b191c3da
Commit
b191c3da
authored
Nov 02, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Nov 02, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handle msi component identifiers without a feature guid.
parent
a182e093
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
lnk.c
tools/winedump/lnk.c
+7
-3
No files found.
tools/winedump/lnk.c
View file @
b191c3da
...
@@ -363,18 +363,22 @@ static int dump_advertise_info(int fd, const char *type)
...
@@ -363,18 +363,22 @@ static int dump_advertise_info(int fd, const char *type)
comp
=
&
avt
->
bufA
[
20
];
comp
=
&
avt
->
bufA
[
20
];
feat
=
strchr
(
comp
,
'>'
);
feat
=
strchr
(
comp
,
'>'
);
if
(
!
feat
)
feat
=
strchr
(
comp
,
'<'
);
if
(
feat
)
if
(
feat
)
{
{
memcpy
(
comp_str
,
comp
,
feat
-
comp
);
memcpy
(
comp_str
,
comp
,
feat
-
comp
);
comp_str
[
feat
-
comp
]
=
0
;
comp_str
[
feat
-
comp
]
=
0
;
}
}
else
else
strcpy
(
prod_str
,
"?"
);
{
strcpy
(
comp_str
,
"?"
);
}
if
(
feat
&&
base85_to_guid
(
&
feat
[
1
],
&
guid
))
if
(
feat
&&
feat
[
0
]
==
'>'
&&
base85_to_guid
(
&
feat
[
1
],
&
guid
))
guid_to_string
(
&
guid
,
feat_str
);
guid_to_string
(
&
guid
,
feat_str
);
else
else
strcpy
(
prod_str
,
"?"
)
;
feat_str
[
0
]
=
0
;
printf
(
" product: %s
\n
"
,
prod_str
);
printf
(
" product: %s
\n
"
,
prod_str
);
printf
(
" component: %s
\n
"
,
comp_str
);
printf
(
" component: %s
\n
"
,
comp_str
);
...
...
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