Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_module.c 


Log Message:
We need to open with global. Else embrace module wont work, since it
opens its own modules.

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_module.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -3 -r1.30 -r1.31
--- e_module.c  26 Jul 2005 12:25:19 -0000      1.30
+++ e_module.c  24 Aug 2005 21:25:06 -0000      1.31
@@ -105,7 +105,7 @@
        free(m);
        return NULL;
      }
-   m->handle = dlopen(modpath, RTLD_NOW | RTLD_LOCAL);
+   m->handle = dlopen(modpath, RTLD_NOW | RTLD_GLOBAL);
    if (!m->handle)
      {
        e_error_dialog_show(_("Error loading Module"),
@@ -113,7 +113,7 @@
                              "The full path to this module is:\n"
                              "%s\n"
                              "The error reported was:\n"
-                             "%s"),
+                             "dlopen: %s"),
                            name, buf, dlerror());
        free(m);
        return NULL;
@@ -135,7 +135,7 @@
                              "The full path to this module is:\n"
                              "%s\n"
                              "The error reported was:\n"
-                             "%s"),
+                             "dlsym: %s"),
                            name, buf, dlerror());
        dlclose(m->handle);
        free(m);




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to