cvs: ZendEngine2(PHP_5_0) / zend_API.c
| From: | Andi Gutmans | Date: | Sat, 15 Jan 2005 00:19:06 +0000 |
| Subject: | cvs: ZendEngine2(PHP_5_0) / zend_API.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3295@lists.php.net to get a copy of this message | ||
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
}