You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by se...@apache.org on 2008/03/08 09:56:03 UTC

svn commit: r634909 - in /webservices/axis2/trunk/c/util: include/platforms/unix/axutil_unix.h src/class_loader.c

Author: senaka
Date: Sat Mar  8 00:56:01 2008
New Revision: 634909

URL: http://svn.apache.org/viewvc?rev=634909&view=rev
Log:
Incorporating fixes for use of ltdl in a more justifiable manner

Modified:
    webservices/axis2/trunk/c/util/include/platforms/unix/axutil_unix.h
    webservices/axis2/trunk/c/util/src/class_loader.c

Modified: webservices/axis2/trunk/c/util/include/platforms/unix/axutil_unix.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/platforms/unix/axutil_unix.h?rev=634909&r1=634908&r2=634909&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/platforms/unix/axutil_unix.h (original)
+++ webservices/axis2/trunk/c/util/include/platforms/unix/axutil_unix.h Sat Mar  8 00:56:01 2008
@@ -69,7 +69,7 @@
 #define AXIS2_PLATFORM_LOADLIB(_lib)     lt_dlopen(_lib)
 #define AXIS2_PLATFORM_UNLOADLIB         lt_dlclose
 #define AXIS2_PLATFORM_GETPROCADDR       lt_dlsym
-#define AXIS2_PLATFORM_LOADLIBEXIT()     lt_dlexit();
+#define AXIS2_PLATFORM_LOADLIBEXIT       lt_dlexit
 #define AXIS2_PLATFORM_LOADLIB_ERROR     lt_dlerror()
 #else
 #include <dlfcn.h>

Modified: webservices/axis2/trunk/c/util/src/class_loader.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/class_loader.c?rev=634909&r1=634908&r2=634909&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/src/class_loader.c (original)
+++ webservices/axis2/trunk/c/util/src/class_loader.c Sat Mar  8 00:56:01 2008
@@ -46,7 +46,8 @@
         return AXIS2_FAILURE;
     }
     axutil_class_loader_unload_lib(env, dll_desc);
-    AXIS2_PLATFORM_LOADLIBEXIT()return AXIS2_SUCCESS;
+    AXIS2_PLATFORM_LOADLIBEXIT();
+    return AXIS2_SUCCESS;
 }
 
 AXIS2_EXTERN void *AXIS2_CALL



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org