Hi All,
In Zend/zend_API.c
function module_destructor
There is a code to do a dlclose on the dlopened handle.
The code looks like following,
if (module->handle) {
dlclose(module->handle);
}
Unfortunately this module->handle is always 0 which causes this symbols
not getting unloaded.(Even for dynamically loaded PHP extnsion also
handle is 0)
Till version 1.91 of ext/standard/dl.c this handle member was getting
populated.
From 1.92 onwards this stopped happening..
With regards
Kamesh Jayachandran
Hello Kamesh,
Tuesday, July 6, 2004, 5:58:20 PM, you wrote:
Hi All,
In Zend/zend_API.c
function module_destructor
There is a code to do a dlclose on the dlopened handle.
The code looks like following,
if (module->handle) {
dlclose(module->handle);
}
Unfortunately this module->handle is always 0 which causes this symbols
not getting unloaded.(Even for dynamically loaded PHP extnsion also
handle is 0)
Till version 1.91 of ext/standard/dl.c this handle member was getting
populated.
From 1.92 onwards this stopped happening..
Committed, Thanks for noticing :-)
--
Best regards,
Marcus mailto:helly@php.net