diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index df6e1833d..212bd5d3f 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -1,3 +1,8 @@ +2010-08-28 Corinna Vinschen + + * ldh.cc (WinMain): Change DONT_RESOLVE_DLL_REFERENCES to + LOAD_WITH_ALTERED_SEARCH_PATH. + 2010-08-28 Corinna Vinschen * loadlib.h: New header implementing safe LoadLibrary calls. diff --git a/winsup/utils/ldh.cc b/winsup/utils/ldh.cc index db0449f8d..13655ed23 100644 --- a/winsup/utils/ldh.cc +++ b/winsup/utils/ldh.cc @@ -11,7 +11,7 @@ WinMain(HINSTANCE, HINSTANCE, LPSTR, int) cmd += 4; break; } - if (!*cmd || !LoadLibraryExW (cmd, NULL, DONT_RESOLVE_DLL_REFERENCES)) + if (!*cmd || !LoadLibraryExW (cmd, NULL, LOAD_WITH_ALTERED_SEARCH_PATH )) ExitProcess (0x0100); ExitProcess (0x0000); }