postgres.git / summary / log / commit / refs

commit    cb29ff8315ef74043f279c21783cca8aaf79ebde
Author:   Peter Eisentraut <peter_e@gmx.net>
Date:     Thu Sep 14 12:30:03 2017 +0000

    Fix incorrect use of bool
    
    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 <michael.paquier@gmail.com>


src/backend/port/dynloader/darwin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/port/dynloader/darwin.c b/src/backend/port/dynloader/darwin.c index f8fdeaf1222..18092cc759b 100644 --- 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, FALSE); + NSUnLinkModule(handle, NSUNLINKMODULE_OPTION_NONE); } PGFunction [parent: a9169f0200fc]