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
e0157f42
Commit
e0157f42
authored
Feb 20, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Feb 20, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fusion/tests: Don't crash if we have a culture attribute.
parent
ad9fb647
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
4 deletions
+17
-4
asmenum.c
dlls/fusion/tests/asmenum.c
+17
-4
No files found.
dlls/fusion/tests/asmenum.c
View file @
e0157f42
...
@@ -244,11 +244,24 @@ static BOOL enum_gac_assemblies(struct list *assemblies, int depth, LPSTR path)
...
@@ -244,11 +244,24 @@ static BOOL enum_gac_assemblies(struct list *assemblies, int depth, LPSTR path)
}
}
else
if
(
depth
==
1
)
else
if
(
depth
==
1
)
{
{
ptr
=
strstr
(
ffd
.
cFileName
,
"__"
);
char
culture
[
MAX_PATH
];
ptr
=
strstr
(
ffd
.
cFileName
,
"_"
);
*
ptr
=
'\0'
;
*
ptr
=
'\0'
;
ptr
+=
2
;
ptr
++
;
sprintf
(
buf
,
"Version=%s, Culture=neutral, PublicKeyToken=%s"
,
ffd
.
cFileName
,
ptr
);
if
(
*
ptr
!=
'_'
)
{
lstrcpyA
(
culture
,
ptr
);
*
strstr
(
culture
,
"_"
)
=
'\0'
;
}
else
lstrcpyA
(
culture
,
"neutral"
);
ptr
=
strchr
(
ptr
,
'_'
);
ptr
++
;
sprintf
(
buf
,
"Version=%s, Culture=%s, PublicKeyToken=%s"
,
ffd
.
cFileName
,
culture
,
ptr
);
lstrcpyA
(
disp
,
parent
);
lstrcpyA
(
disp
,
parent
);
lstrcatA
(
disp
,
buf
);
lstrcatA
(
disp
,
buf
);
...
...
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