You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Bengt-Arne Fjellner <Be...@ltu.se> on 2005/07/22 23:13:43 UTC

[mp2.0.1] [bug] [porting.pm]

porting.pm does not work without Apache2::compat
see patch:
root@xxxx /usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi/Apache2# diff -u
porting.pm.org porting.pm
--- porting.pm.org      2005-07-20 03:46:56.000000000 +0200
+++ porting.pm  2005-07-22 23:10:57.000000000 +0200
@@ -38,7 +38,7 @@
 # XXX: unfortunately it doesn't seem to be possible to install
 # *UNIVERSAL::AUTOLOAD at the server startup, httpd segfaults,
 # child_init seems to be the first stage where it works.
-Apache2->server->push_handlers(PerlChildInitHandler => \&porting_autoload);
+Apache2::ServerUtil->server->push_handlers(PerlChildInitHandler =>
\&porting_autoload);

 sub porting_autoload {
     *UNIVERSAL::AUTOLOAD = sub {


-- 
cheers
Bengt-Arne Fjellner
LuleƄ university of technology
SkellefteƄ Sweden



Re: [mp2.0.1] [bug] [porting.pm]

Posted by "Philippe M. Chiasson" <go...@ectoplasm.org>.
Bengt-Arne Fjellner wrote:
> porting.pm does not work without Apache2::compat

Thanks, applied as r224421

--------------------------------------------------------------------------------
Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5
http://gozer.ectoplasm.org/     F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5

Re: [mp2.0.1] [bug] [porting.pm]

Posted by "Philippe M. Chiasson" <go...@ectoplasm.org>.
Bengt-Arne Fjellner wrote:
> porting.pm does not work without Apache2::compat

Thanks, applied as r224421

--------------------------------------------------------------------------------
Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5
http://gozer.ectoplasm.org/     F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5