On Wed, Jan 19, 2000 at 06:32:54AM +0100, Gerald Richter wrote:
> Hi,
> 
> I have tested the patch to unload all XS libraries, when libperl is
> unloaded, Daniel sended a few days ago on Unix and on NT and it works!
> Really great!!
> 
> Here is a sligthly modified version, so it works also on NT (and on others
> OS's). It uses the Apache function ap_os_dso_unload instead of dlclose.
> 
> The patch is against the actual CVS of mod_perl.

Well, one problem.

I deleted the old code instead of #if'ing it for a reason - it does NOT
work.  Apache will try to dlclose() the modules anyway, and dlclose(0)
causes a segfault, on Linux at least.

Other than that, looks just fine.


Dan

/--------------------------------\  /--------------------------------\
|       Daniel Jacobowitz        |__|        SCS Class of 2002       |
|   Debian GNU/Linux Developer    __    Carnegie Mellon University   |
|         [EMAIL PROTECTED]         |  |       [EMAIL PROTECTED]      |
\--------------------------------/  \--------------------------------/

Reply via email to