mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
Fix inconsistent argument naming.
Typo in commit 842cb9fa6.
This commit is contained in:
parent
a5322ca10f
commit
75f7855369
@ -33,7 +33,7 @@ dlopen(const char *file, int mode)
|
|||||||
flags |= BIND_DEFERRED;
|
flags |= BIND_DEFERRED;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return shl_load(filename, flags | BIND_VERBOSE, 0L);
|
return shl_load(file, flags | BIND_VERBOSE, 0L);
|
||||||
}
|
}
|
||||||
|
|
||||||
void *
|
void *
|
||||||
@ -123,14 +123,14 @@ dlsym(void *handle, const char *symbol)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void *
|
void *
|
||||||
dlopen(const char *path, int mode)
|
dlopen(const char *file, int mode)
|
||||||
{
|
{
|
||||||
HMODULE h;
|
HMODULE h;
|
||||||
int prevmode;
|
int prevmode;
|
||||||
|
|
||||||
/* Disable popup error messages when loading DLLs */
|
/* Disable popup error messages when loading DLLs */
|
||||||
prevmode = SetErrorMode(SEM_FAILCRITICALERRORS | SEM_NOOPENFILEERRORBOX);
|
prevmode = SetErrorMode(SEM_FAILCRITICALERRORS | SEM_NOOPENFILEERRORBOX);
|
||||||
h = LoadLibrary(path);
|
h = LoadLibrary(file);
|
||||||
SetErrorMode(prevmode);
|
SetErrorMode(prevmode);
|
||||||
|
|
||||||
if (!h)
|
if (!h)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user