httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rasmus Lerdorf <ras...@lerdorf.on.ca>
Subject RTLD_GLOBAL for DSO?
Date Fri, 10 Jul 1998 17:13:57 GMT
Would anybody object to the following patch?

+++ os.c        Fri Jul 10 13:12:17 1998
@@ -35,9 +35,9 @@
 #else
 #if defined(OSF1) ||\
     (defined(__FreeBSD_version) && (__FreeBSD_version >= 220000))
-    return dlopen((char *)path, RTLD_NOW);
+    return dlopen((char *)path, RTLD_NOW | RTLD_GLOBAL);
 #else
-    return dlopen(path, RTLD_NOW);
+    return dlopen(path, RTLD_NOW | RTLD_GLOBAL);
 #endif
 #endif
 }

Both mod_php3 and mod_perl would benefit from this since both are capable
of being loaded dynamically and in turn loading other things dynamically.

-Rasmus


Mime
View raw message