Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
0e4b0b9f
Commit
0e4b0b9f
authored
Feb 25, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Feb 25, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fusion/tests: Directories with no dll or exe are not enumerated.
parent
9fd4f873
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
asmenum.c
dlls/fusion/tests/asmenum.c
+10
-2
No files found.
dlls/fusion/tests/asmenum.c
View file @
0e4b0b9f
...
...
@@ -240,11 +240,19 @@ static BOOL enum_gac_assemblies(struct list *assemblies, int depth, LPSTR path)
if
(
depth
==
0
)
{
sprintf
(
parent
,
"%s, "
,
ffd
.
cFileName
);
lstrcpyA
(
parent
,
ffd
.
cFileName
);
}
else
if
(
depth
==
1
)
{
char
culture
[
MAX_PATH
];
char
dll
[
MAX_PATH
],
exe
[
MAX_PATH
];
/* Directories with no dll or exe will not be enumerated */
sprintf
(
dll
,
"%s
\\
%s
\\
%s.dll"
,
path
,
ffd
.
cFileName
,
parent
);
sprintf
(
exe
,
"%s
\\
%s
\\
%s.exe"
,
path
,
ffd
.
cFileName
,
parent
);
if
(
GetFileAttributesA
(
dll
)
==
INVALID_FILE_ATTRIBUTES
&&
GetFileAttributesA
(
exe
)
==
INVALID_FILE_ATTRIBUTES
)
continue
;
ptr
=
strstr
(
ffd
.
cFileName
,
"_"
);
*
ptr
=
'\0'
;
...
...
@@ -260,7 +268,7 @@ static BOOL enum_gac_assemblies(struct list *assemblies, int depth, LPSTR path)
ptr
=
strchr
(
ptr
,
'_'
);
ptr
++
;
sprintf
(
buf
,
"Version=%s, Culture=%s, PublicKeyToken=%s"
,
sprintf
(
buf
,
"
,
Version=%s, Culture=%s, PublicKeyToken=%s"
,
ffd
.
cFileName
,
culture
,
ptr
);
lstrcpyA
(
disp
,
parent
);
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