Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5322ca commit 75f7855Copy full SHA for 75f7855
src/port/dlopen.c
@@ -33,7 +33,7 @@ dlopen(const char *file, int mode)
33
flags |= BIND_DEFERRED;
34
#endif
35
36
- return shl_load(filename, flags | BIND_VERBOSE, 0L);
+ return shl_load(file, flags | BIND_VERBOSE, 0L);
37
}
38
39
void *
@@ -123,14 +123,14 @@ dlsym(void *handle, const char *symbol)
123
124
125
126
-dlopen(const char *path, int mode)
+dlopen(const char *file, int mode)
127
{
128
HMODULE h;
129
int prevmode;
130
131
/* Disable popup error messages when loading DLLs */
132
prevmode = SetErrorMode(SEM_FAILCRITICALERRORS | SEM_NOOPENFILEERRORBOX);
133
- h = LoadLibrary(path);
+ h = LoadLibrary(file);
134
SetErrorMode(prevmode);
135
136
if (!h)
0 commit comments