RE: OS Independend Patch for XS Extentions unload

2000-01-19 Thread Gerald Richter

> 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.
>

I just don't wanted to delete the code, before Doug has reviewed it. Anyway
because of the if it will never be used so the result is the same.

Gerald



Re: OS Independend Patch for XS Extentions unload

2000-01-19 Thread Daniel Jacobowitz

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]  |
\/  \/