logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

cvs: ZendEngine2(PHP_5_0) / zend_API.c: msg#00039

Subject: cvs: ZendEngine2(PHP_5_0) / zend_API.c
andi            Fri Jan 14 19:19:06 2005 EDT

  Modified files:              (Branch: PHP_5_0)
    /ZendEngine2        zend_API.c 
  Log:
  - Change to using DL_UNLOAD macro.
  
  
http://cvs.php.net/diff.php/ZendEngine2/zend_API.c?r1=1.256.2.4&r2=1.256.2.5&ty=u
Index: ZendEngine2/zend_API.c
diff -u ZendEngine2/zend_API.c:1.256.2.4 ZendEngine2/zend_API.c:1.256.2.5
--- ZendEngine2/zend_API.c:1.256.2.4    Tue Nov  2 08:19:48 2004
+++ ZendEngine2/zend_API.c      Fri Jan 14 19:19:05 2005
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: zend_API.c,v 1.256.2.4 2004/11/02 13:19:48 sebastian Exp $ */
+/* $Id: zend_API.c,v 1.256.2.5 2005/01/15 00:19:05 andi Exp $ */
 
 #include "zend.h"
 #include "zend_execute.h"
@@ -1498,9 +1498,9 @@
                zend_unregister_functions(module->functions, -1, NULL 
TSRMLS_CC);
        }
 
-#if HAVE_LIBDL
+#if HAVE_LIBDL|| defined(HAVE_MACH_O_DYLD_H)
        if (module->handle) {
-               dlclose(module->handle);
+               DL_UNLOAD(module->handle);
        }
 #endif
 }

-- 
Zend Engine CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>