Re: [Patch] Apache->dso_module()

2001-06-18 Thread Doug MacEachern
On Mon, 18 Jun 2001, Philippe M . Chiasson wrote: > In my case, I used it to work around the strange mod_perl behaviour > under DSO (fixed in CVS) right, so that is no longer needed. any other examples? i hesitate on adding the feature because anything that needs to be conditional based on mo

Re: [Patch] Apache->dso_module()

2001-06-18 Thread Philippe M . Chiasson
On Wed, Jun 13, 2001 at 09:52:39PM -0700, Doug MacEachern wrote: > On Fri, 25 May 2001, Philippe M . Chiasson wrote: > > > I know I posted this patch a while ago, but I am looking thru a few patches > > I have and I thought I might re-post this one along with the rest > > > > This module allows

Re: [Patch] Apache->dso_module()

2001-06-13 Thread Doug MacEachern
On Fri, 25 May 2001, Philippe M . Chiasson wrote: > I know I posted this patch a while ago, but I am looking thru a few patches > I have and I thought I might re-post this one along with the rest > > This module allows one to do > > Apache->dso_module('module_name.c') and it will be true only o

[Patch] Apache->dso_module()

2001-05-25 Thread Philippe M . Chiasson
I know I posted this patch a while ago, but I am looking thru a few patches I have and I thought I might re-post this one along with the rest This module allows one to do Apache->dso_module('module_name.c') and it will be true only of the module in question is present and has been loaded as DSO.

Re: [Patch] Apache->dso_module() to find if a module is loaded asDSO or not

2001-04-25 Thread Doug MacEachern
On Thu, 26 Apr 2001, Stas Bekman wrote: > sure, but that's a different matter. I say that PerlModule and PerlRequire > have a bug, which should be fixed. It's just that your problem made me > reiterate the problem. patch below fixes. problem was the reference to @Apache::ReadConfig::PerlConfig

Re: [Patch] Apache->dso_module() to find if a module is loaded asDSO or not

2001-04-25 Thread Stas Bekman
> > Currently I think there is a slight "bug" in the latest mod_perl 1.x, > > where PerlRequire doesn't work as require() in Perl per se on restart. A > > few people have reported this behavior. > > > > So as a quick workaround do this: > > > > start.pl: > > - > > require "real-startup.pl"

Re: [Patch] Apache->dso_module() to find if a module is loaded as DSO or not

2001-04-25 Thread Jens-Uwe Mager
On Wed, Apr 25, 2001 at 12:49:24PM -0400, Philippe M . Chiasson wrote: > There is also the strange case of mod_perl leaking memory on graceful > restarts when compiled as DSO. But I don't feel like getting into > this one quite yet. I would believe that is caused by perl, it does keep its globa

Re: [Patch] Apache->dso_module() to find if a module is loaded as DSO or not

2001-04-25 Thread Philippe M . Chiasson
On Wed, Apr 25, 2001 at 10:59:51PM +0800, Stas Beckman wrote: > On Wed, 25 Apr 2001, Philippe M . Chiasson wrote: > > > A suggested new feature. > > > > Apache->dso_module('mod_example.c') behaves like > > Apache->module('mod_example.c') except it returns 1 if the > > module is loaded as DSO, 0 if

Re: [Patch] Apache->dso_module() to find if a module is loaded asDSO or not

2001-04-25 Thread Stas Bekman
On Wed, 25 Apr 2001, Philippe M . Chiasson wrote: > A suggested new feature. > > Apache->dso_module('mod_example.c') behaves like > Apache->module('mod_example.c') except it returns 1 if the > module is loaded as DSO, 0 if it's compiled in and undef > if it's not present at all. > > I wrote this

[Patch] Apache->dso_module() to find if a module is loaded as DSO or not

2001-04-25 Thread Philippe M . Chiasson
A suggested new feature. Apache->dso_module('mod_example.c') behaves like Apache->module('mod_example.c') except it returns 1 if the module is loaded as DSO, 0 if it's compiled in and undef if it's not present at all. I wrote this because of a few problems I had with the 'slight' differences in