Commit 2905e0fb authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Recognize the Solaris dlopen equivalent of "cannot open".

parent 60cccba5
......@@ -41,11 +41,14 @@ void *BUILTIN32_dlopen( const char *name )
if (!(handle = wine_dll_load( name, error, sizeof(error) )))
{
if (strstr(error, "cannot open")) /* cannot open -> WARN() */
if (strstr(error, "cannot open") || strstr(error, "open failed")) {
/* The file does not exist -> WARN() */
WARN("cannot open .so lib for builtin %s: %s\n", name, error);
else /* ERR() for all other errors (missing functions, ...) */
} else {
/* ERR() for all other errors (missing functions, ...) */
ERR("failed to load .so lib for builtin %s: %s\n", name, error );
}
}
return handle;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment