stas 2004/07/07 12:46:48
Modified: src/modules/perl modperl_util.c . Changes Log: Use a context-specific Perl_load_module() instead of load_module(), to avoid the problem with 'load_module' symbol resolution on certain platforms, where for some reason it doesn't get resolved at compile time to Perl_load_module_nocontext Revision Changes Path 1.72 +3 -3 modperl-2.0/src/modules/perl/modperl_util.c Index: modperl_util.c =================================================================== RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_util.c,v retrieving revision 1.71 retrieving revision 1.72 diff -u -u -r1.71 -r1.72 --- modperl_util.c 22 Jun 2004 22:34:10 -0000 1.71 +++ modperl_util.c 7 Jul 2004 19:46:48 -0000 1.72 @@ -748,9 +748,9 @@ * notice that B::Deparse is not CPAN-updatable. * 0.61 is available starting from 5.8.0 */ - load_module(PERL_LOADMOD_NOIMPORT, - newSVpvn("B::Deparse", 10), - newSVnv(SvOBJECT((SV*)cv) ? 0.61 : 0.60)); + Perl_load_module(aTHX_ PERL_LOADMOD_NOIMPORT, + newSVpvn("B::Deparse", 10), + newSVnv(SvOBJECT((SV*)cv) ? 0.61 : 0.60)); ENTER; SAVETMPS; 1.405 +5 -0 modperl-2.0/Changes Index: Changes =================================================================== RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.404 retrieving revision 1.405 diff -u -u -r1.404 -r1.405 --- Changes 7 Jul 2004 19:01:04 -0000 1.404 +++ Changes 7 Jul 2004 19:46:48 -0000 1.405 @@ -12,6 +12,11 @@ =item 1.99_15-dev +Use a context-specific Perl_load_module() instead of load_module(), to +avoid the problem with 'load_module' symbol resolution on certain +platforms, where for some reason it doesn't get resolved at compile +time to Perl_load_module_nocontext [Stas] + Make it possible to disable mod_perl for the base server, but enable it for the virtual hosts [Stas]