perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Kobes <ra...@theoryx5.uwinnipeg.ca>
Subject [mp2] mod_perl.c
Date Sat, 11 Dec 2004 05:34:50 GMT
With the recent svn sources, there's a problem with the
order of a declaration in mod_perl.c:
=========================================================
Index: src/modules/perl/mod_perl.c
===================================================================
--- src/modules/perl/mod_perl.c	(revision 111576)
+++ src/modules/perl/mod_perl.c	(working copy)
@@ -642,15 +642,15 @@
 {
     /* in the threaded environment, no server_rec/process_rec
      * modifications should be done beyond this point */
+#ifdef USE_ITHREADS
+    MP_dSCFG(s);
+    dTHXa(scfg->mip->parent->perl);
+#endif
     if (modperl_threaded_mpm()) {
         MP_threads_started = 1;
     }

     MP_post_post_config_phase = 1;
-    #ifdef USE_ITHREADS
-    MP_dSCFG(s);
-    dTHXa(scfg->mip->parent->perl);
-#endif

 #ifdef MP_TRACE
     /* httpd core open_logs handler re-opens s->error_log, which might

========================================================================

-- 
best regards,
randy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message