From: Anantha Kesari H Y Date: Fri, 24 Sep 2004 15:40:22 +0000 (+0000) Subject: selectively avoiding module cleanup code for apache 1 build and removing a duplicate... X-Git-Tag: PRE_NEW_VM_GEN_PATCH~230 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b82a18c8dae64dc66ae309de975652546b22f755;p=php selectively avoiding module cleanup code for apache 1 build and removing a duplicate code --- diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 3a9cabd840..01d6d49f07 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -1498,13 +1498,7 @@ void module_destructor(zend_module_entry *module) } #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); }