cvs: ZendEngine2 / zend_API.c
| From: | Anantha Kesari H Y | Date: | Fri, 24 Sep 2004 15:40:22 +0000 |
| Subject: | cvs: ZendEngine2 / zend_API.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3022@lists.php.net to get a copy of this message | ||
hyanantha Fri Sep 24 11:40:22 2004 EDT
Modified files:
/ZendEngine2 zend_API.c
Log:
selectively avoiding module cleanup code for apache 1 build and removing a duplicate code
http://cvs.php.net/diff.php/ZendEngine2/zend_API.c?r1=1.264&r2=1.265&ty=u
Index: ZendEngine2/zend_API.c
diff -u ZendEngine2/zend_API.c:1.264 ZendEngine2/zend_API.c:1.265
--- ZendEngine2/zend_API.c:1.264 Wed Sep 22 10:31:21 2004
+++ ZendEngine2/zend_API.c Fri Sep 24 11:40:22 2004
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_API.c,v 1.264 2004/09/22 14:31:21 hyanantha Exp $ */
+/* $Id: zend_API.c,v 1.265 2004/09/24 15:40:22 hyanantha Exp $ */
#include "zend.h"
#include "zend_execute.h"
@@ -1498,13 +1498,7 @@
}
#if HAVE_LIBDL
-#ifdef NETWARE
-#ifdef APACHE_2_BUILD
- if (module->handle) {
- dlclose(module->handle);
- }
-#endif
-#else
+#if !(defined(NETWARE) && defined(APACHE_1_BUILD))
if (module->handle) {
dlclose(module->handle);
}