Re: [Patch] Apache->httpd_conf (compat)

2002-10-06 Thread Doug MacEachern
On 7 Oct 2002, Philippe M. Chiasson wrote: > Like this ? should have realized it was that simple, but yes just like that :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [Patch] Apache::PerlSections witout Devel::Symdump

2002-10-06 Thread Doug MacEachern
On 7 Oct 2002, Philippe M. Chiasson wrote: > Here it is, stripped down of Devel::Symdump, and it actually makes the > main loop a bit clearer. very nice, thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

[Patch] modperl_handler_make_args support for tied APR::Table args

2002-10-06 Thread Philippe M. Chiasson
when using modperl_handler_make_args with an apr_table, you get back a blessed object, but it's not tied, so you can't use it as a hash and all. Patch fixes this, but hardcodes APR::Table.? foo Index: lib/Apache/PerlSection.pm === RC

Re: [Patch] Apache->httpd_conf (compat)

2002-10-06 Thread Philippe M. Chiasson
On Mon, 2002-10-07 at 10:37, Doug MacEachern wrote: > thanks, applied. > note that while the method works at request time, it is not thread safe. > of course, the 1.x method was never meant to be used at request time. > could change to use $r->add_config if Apache->request is available just in >

[Patch] Apache::PerlSections witout Devel::Symdump

2002-10-06 Thread Philippe M. Chiasson
On Mon, 2002-10-07 at 10:29, Doug MacEachern wrote: > excellent work Philippe!! thanks, i've applied your patch. > one change i made was to remove the dependency on Devel::Symdump by simply > making a copy of it into ModPerl::Symdump. would happily apply patches > that prune away the things we

Re: [PATCH] mp2: $r->print($scalarref)

2002-10-06 Thread Doug MacEachern
On Wed, 2 Oct 2002, Stephen Clouse wrote: > Hmmm...may I make a plea otherwise :) Being able to pass a reference is much > preferred when outputting large strings (as we tend to do). I suppose I'd have > to hear why it was considered a mistake, since I really don't see it as anything > but use

Re: [PATCH] TestConfigParse can't grok LoadModule Perl::Module

2002-10-06 Thread Doug MacEachern
i've changed the mod_perl overloading of LoadModule to PerlLoadModule. it's been reported that it breaks LoadModule of .so's this will fix the problem you're seeing too ;-) in general probably isn't safe to overload directives of other modules. -

Re: [Patch] Apache->httpd_conf (compat)

2002-10-06 Thread Doug MacEachern
thanks, applied. note that while the method works at request time, it is not thread safe. of course, the 1.x method was never meant to be used at request time. could change to use $r->add_config if Apache->request is available just in case. ---

Re: Question about libpthread warning

2002-10-06 Thread Doug MacEachern
On Thu, 26 Sep 2002, Peter Poeml wrote: > Hi! > > today I saw this warning in the build log of mod_perl 1.27: > > * WARNING * > > Your Perl is linked with -lpthread, make sure that your httpd is built with >LIBS=-lpthread > > > * WARNING * >

Re: [Patch] Default Handler and a wee bit more

2002-10-06 Thread Doug MacEachern
excellent work Philippe!! thanks, i've applied your patch. one change i made was to remove the dependency on Devel::Symdump by simply making a copy of it into ModPerl::Symdump. would happily apply patches that prune away the things we don't need there for Apache::PerlSection, such as inh_tree