mirror of
https://github.com/reactos/reactos.git
synced 2025-04-27 09:00:27 +00:00
- Necessary to trim a path to dll (for example: path/name.dll-> name.dll). It fixes an bug with search dlls if dll it is located in a folder with the program
svn path=/trunk/; revision=40544
This commit is contained in:
parent
ff346bf2bd
commit
92a3744982
1 changed files with 1 additions and 1 deletions
|
@ -882,7 +882,7 @@ LdrFindEntryForName(PUNICODE_STRING Name,
|
|||
return(STATUS_SUCCESS);
|
||||
}
|
||||
|
||||
LdrAdjustDllName (&AdjustedName, Name, FALSE);
|
||||
LdrAdjustDllName (&AdjustedName, Name, TRUE);
|
||||
|
||||
ContainsPath = (AdjustedName.Length >= 2 * sizeof(WCHAR) && L':' == AdjustedName.Buffer[1]);
|
||||
for (i = 0; ! ContainsPath && i < AdjustedName.Length / sizeof(WCHAR); i++)
|
||||
|
|
Loading…
Reference in a new issue