ntdll: Support a full path name in the loadFrom dll redirection entry.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50978 Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
788fd4ee44
commit
1cf2ae1907
|
@ -2451,7 +2451,8 @@ static NTSTATUS build_dlldata_path( LPCWSTR libname, ACTCTX_SECTION_KEYED_DATA *
|
|||
memcpy( p, base + dlldata->paths[i].offset, dlldata->paths[i].len );
|
||||
p += dlldata->paths[i].len / sizeof(WCHAR);
|
||||
}
|
||||
wcscpy( p, libname );
|
||||
if (p == buffer || p[-1] == '\\') wcscpy( p, libname );
|
||||
else *p = 0;
|
||||
|
||||
if (dlldata->flags & DLL_REDIRECT_PATH_EXPAND)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue