Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/lib/file


Modified Files:
        evas_module.c 


Log Message:
Patch from Glen Larsen to fix dlopen failure handling in module loader.

===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/file/evas_module.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- evas_module.c       18 Sep 2006 09:47:34 -0000      1.20
+++ evas_module.c       3 Feb 2007 09:33:26 -0000       1.21
@@ -257,7 +257,8 @@
        
        err = dlerror();
        printf("[evas module] error loading the module %s. %s\n", buf, err);
-       dlclose(handle);
+       if (handle)
+         dlclose(handle);
        em->handle = NULL;
        em->func.open = NULL;
        em->func.close = NULL;



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to