Re: [mp2] block & PerlOptions +Parent & PerlRequire segfaults on 2.0.2, but not 2.0.1

2006-01-23 Thread Philippe M. Chiasson
Eamon Daly wrote: > This patch worked like a charm for me. Thanks for the quick > response! Great, then a slightly different patch has been applied to SVN in change 371775, documented in change 371776 Now there are 2 identical ways to specify Switch inheritance: - PerlSwitches +inherit (the old

Re: issues with figuring out which mp version is running

2006-01-23 Thread Frank Wiles
On Mon, 23 Jan 2006 16:05:57 -0600 Frank Wiles <[EMAIL PROTECTED]> wrote: > I'll also update the docs to reflect this as there are a couple > of places this needs to change. Here is a patch to update the docs to get rid of the use of $mod_perl::VERSION in the 2.0 docs. I've basically r

Re: failure notice

2006-01-23 Thread David Wheeler
On Jan 23, 2006, at 1:03 PM, Ask Bjørn Hansen wrote: Did you read the bounce message? :-) I don't know why it's configured that way, I suspect it's to cut down on the massive massive amount of spam to otherwise moderate. Oh, *from* an apache.org address. Seems silly to me, at least WRT

Re: issues with figuring out which mp version is running

2006-01-23 Thread Frank Wiles
On Mon, 23 Jan 2006 15:40:32 -0500 Geoffrey Young <[EMAIL PROTECTED]> wrote: > >> if exists $ENV{MOD_PERL_API_VERSION} and ... > > > > > > But these aren't populated if you use SetHandler modperl correct? > > no. these particular %ENV values are always populated, as they're > mod_perl spec

Re: failure notice

2006-01-23 Thread Ask Bjørn Hansen
On Jan 23, 2006, at 12:27 PM, David Wheeler wrote: Anyone know why my post to [email protected] was bounced? Did you read the bounce message? :-) I don't know why it's configured that way, I suspect it's to cut down on the massive massive amount of spam to otherwise moderate. [

Re: issues with figuring out which mp version is running

2006-01-23 Thread Geoffrey Young
Frank Wiles wrote: > On Mon, 23 Jan 2006 11:01:07 -0800 > Stas Bekman <[EMAIL PROTECTED]> wrote: > > >>Stas Bekman wrote: >>[...] >> >>>In which case checking $ENV{MOD_PERL_API_VERSION} should do the >>>trick. >> >>Just remember that mod_perl1 doesn't have this env var. So it should >>probably

Re: issues with figuring out which mp version is running

2006-01-23 Thread Frank Wiles
On Mon, 23 Jan 2006 11:01:07 -0800 Stas Bekman <[EMAIL PROTECTED]> wrote: > Stas Bekman wrote: > [...] > > In which case checking $ENV{MOD_PERL_API_VERSION} should do the > > trick. > > Just remember that mod_perl1 doesn't have this env var. So it should > probably go like: > > if exists $ENV

Fwd: failure notice

2006-01-23 Thread David Wheeler
Anyone know why my post to [email protected] was bounced? Thanks, David Begin forwarded message: From: Geoffrey Young <[EMAIL PROTECTED]> Date: January 23, 2006 12:25:29 PM PST To: David Wheeler <[EMAIL PROTECTED]>, [email protected], [EMAIL PROTECTED] Subject: Re: Fwd: failure no

Re: Fwd: failure notice

2006-01-23 Thread Geoffrey Young
David Wheeler wrote: > Geoff, > > Looks like the Apache mail server didn't like my sending a message to > perl.apache.org. Do you know if there is a new announcements address I > should use? It looks like this is right, to judge from > > http://perl.apache.org/maillist/announce.html > hmm

Re: issues with figuring out which mp version is running

2006-01-23 Thread Geoffrey Young
Stas Bekman wrote: > Stas Bekman wrote: > [...] > >> In which case checking $ENV{MOD_PERL_API_VERSION} should do the trick. > > > Just remember that mod_perl1 doesn't have this env var. So it should > probably go like: > > if exists $ENV{MOD_PERL_API_VERSION} and ... yeah, we ran into that

Re: issues with figuring out which mp version is running

2006-01-23 Thread Stas Bekman
Stas Bekman wrote: [...] In which case checking $ENV{MOD_PERL_API_VERSION} should do the trick. Just remember that mod_perl1 doesn't have this env var. So it should probably go like: if exists $ENV{MOD_PERL_API_VERSION} and ... -- __

Re: issues with figuring out which mp version is running

2006-01-23 Thread Stas Bekman
Geoffrey Young wrote: Stas Bekman wrote: Geoffrey Young wrote: [...] but regardless, stas has a point - we need a definitive way to tell whether you are running under mp1 or mp2, then update the docs. my suggestion is to check for $ENV{MOD_PERL_API_VERSION}, which only exists in the offici

Re: issues with figuring out which mp version is running

2006-01-23 Thread Geoffrey Young
> sorry, I meant to attach my test patch. > Index: t/response/TestModperl/pnotes.pm > === > --- t/response/TestModperl/pnotes.pm (revision 371539) > +++ t/response/TestModperl/pnotes.pm (working copy) and you can ignore this part.

Re: issues with figuring out which mp version is running

2006-01-23 Thread Geoffrey Young
> hmm... > > I started to work on this but couldn't get it to fail as you describe. > basically all I did was add code that looked for $ENV{MOD_PERL_API_VERSION} > during config ( sections) and the open_logs and post_config phases > (where you said you were having trouble) and I can see it every

Re: issues with figuring out which mp version is running

2006-01-23 Thread Geoffrey Young
Stas Bekman wrote: > Geoffrey Young wrote: > [...] > >> but regardless, stas has a point - we need a definitive way to tell >> whether >> you are running under mp1 or mp2, then update the docs. >> >> my suggestion is to check for $ENV{MOD_PERL_API_VERSION}, which only >> exists >> in the officia