Date: Friday, April 13, 2007 @ 20:20:24
  Author: marc
    Path: /cvsroot/carob/libmysequoia/ldtest

Modified: main.cpp (1.4 -> 1.5)

Now testing with or without RTLD_GLOBAL


----------+
 main.cpp |    6 ++++++
 1 files changed, 6 insertions(+)


Index: libmysequoia/ldtest/main.cpp
diff -u libmysequoia/ldtest/main.cpp:1.4 libmysequoia/ldtest/main.cpp:1.5
--- libmysequoia/ldtest/main.cpp:1.4    Fri Apr 13 20:17:12 2007
+++ libmysequoia/ldtest/main.cpp        Fri Apr 13 20:20:24 2007
@@ -65,6 +65,7 @@
     & 0)
 #endif
     ;
+  std::cout << ", RTLD_GLOBAL=" << (flags & RTLD_GLOBAL);
 
   std::cout << "   --->        " << (*plugin_function) () << std::endl;
 
@@ -79,8 +80,13 @@
 {
   if (test(RTLD_NOW | RTLD_GLOBAL))
     return 1;
+  if (test(RTLD_NOW))
+    return 1;
 
 #ifdef RTLD_DEEPBIND
+  if (test(RTLD_NOW | RTLD_DEEPBIND))
+    return 1;
+
   if (test(RTLD_NOW | RTLD_GLOBAL | RTLD_DEEPBIND))
     return 1;
 #endif

_______________________________________________
Carob-commits mailing list
[EMAIL PROTECTED]
https://forge.continuent.org/mailman/listinfo/carob-commits

Reply via email to