mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +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:
@@ -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++)
|
||||
|
||||
Reference in New Issue
Block a user