projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9169f0
)
Fix incorrect use of bool
author
Peter Eisentraut
Thu, 14 Sep 2017 12:30:03 +0000
(08:30 -0400)
committer
Peter Eisentraut
Sat, 4 Nov 2017 16:00:58 +0000
(12:00 -0400)
NSUnLinkModule() doesn't take a bool as second argument but one of set
of specific constants. The numeric values are the same in this case,
but clean it up while we're cleaning up bool use elsewhere.
Reviewed-by: Michael Paquier
src/backend/port/dynloader/darwin.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/port/dynloader/darwin.c
b/src/backend/port/dynloader/darwin.c
index f8fdeaf12222a2d974caad97e5108e05ef130cc3..18092cc759b06e000caeeab475903bb1654e9d95 100644
(file)
--- a/
src/backend/port/dynloader/darwin.c
+++ b/
src/backend/port/dynloader/darwin.c
@@
-69,7
+69,7
@@
pg_dlopen(char *filename)
void
pg_dlclose(void *handle)
{
- NSUnLinkModule(handle,
FALS
E);
+ NSUnLinkModule(handle,
NSUNLINKMODULE_OPTION_NON
E);
}
PGFunction