Re-enable SunOS4 port. Replace
authorTatsuo Ishii
Wed, 5 Dec 2001 02:03:59 +0000 (02:03 +0000)
committerTatsuo Ishii
Wed, 5 Dec 2001 02:03:59 +0000 (02:03 +0000)
RTLD_LAZY | RTLD_GLOBAL to 1.
It seems sunos4.h was accidentally modified between 7.1 and 7.2.

src/backend/port/dynloader/sunos4.h

index 6990892f3bbcabccca58e47be492094de2709e96..0bd685be7dc06229488ac14b9efad3889c040b86 100644 (file)
@@ -7,7 +7,7 @@
  * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $Id: sunos4.h,v 1.11 2001/11/05 17:46:27 momjian Exp $
+ * $Id: sunos4.h,v 1.12 2001/12/05 02:03:59 ishii Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -26,7 +26,7 @@
  * library as the file to be dynamically loaded.
  *
  */
-#define pg_dlopen(f)   dlopen((f), RTLD_LAZY | RTLD_GLOBAL)
+#define pg_dlopen(f)   dlopen((f),1)
 #define pg_dlsym       dlsym
 #define pg_dlclose     dlclose
 #define pg_dlerror     dlerror