* dlfcn.cc (dlopen): Do not call LoadLibrary with a NULL pointer, when the
library is not found
This commit is contained in:
parent
8f8e7442bb
commit
ee2c7251d0
@ -1,3 +1,8 @@
|
|||||||
|
Wed Feb 14 14:54:40 2001 Christophe Iasci <chrisiasci@aol.com>
|
||||||
|
|
||||||
|
* dlfcn.cc (dlopen): Do not call LoadLibrary with a NULL pointer, when
|
||||||
|
the library is not found
|
||||||
|
|
||||||
2001-02-14 Egor Duda <deo@logos-m.ru>
|
2001-02-14 Egor Duda <deo@logos-m.ru>
|
||||||
|
|
||||||
* fhandler_console.cc (fhandler_console::char_command): Ignore unknown
|
* fhandler_console.cc (fhandler_console::char_command): Ignore unknown
|
||||||
|
@ -177,7 +177,8 @@ dlopen (const char *name, int)
|
|||||||
{
|
{
|
||||||
/* handle for the named library */
|
/* handle for the named library */
|
||||||
const char *fullpath = get_full_path_of_dll (name);
|
const char *fullpath = get_full_path_of_dll (name);
|
||||||
ret = (void *) LoadLibrary (fullpath);
|
if (fullpath)
|
||||||
|
ret = (void *) LoadLibrary (fullpath);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!ret)
|
if (!ret)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user