mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
[FUSION_WINETEST] Sync with Wine Staging 4.18. CORE-16441
This commit is contained in:
parent
88179a5d0f
commit
7046ddd63c
1 changed files with 2 additions and 2 deletions
|
@ -242,10 +242,10 @@ static void enum_gac_assembly_dirs(struct list *assemblies, const char *parent,
|
|||
|
||||
*end = 0;
|
||||
/* Directories with no dll or exe will not be enumerated */
|
||||
snprintf(end, path + MAX_PATH - end, "%s\\%s.dll", ffd.cFileName, parent);
|
||||
sprintf(end, "%s\\%s.dll", ffd.cFileName, parent);
|
||||
if (GetFileAttributesA(path) == INVALID_FILE_ATTRIBUTES)
|
||||
{
|
||||
snprintf(end, path + MAX_PATH - end, "%s\\%s.exe", ffd.cFileName, parent);
|
||||
sprintf(end, "%s\\%s.exe", ffd.cFileName, parent);
|
||||
if (GetFileAttributesA(path) == INVALID_FILE_ATTRIBUTES) continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue