Randy Kobes wrote:
With the recent svn sources, there's a problem with the
order of a declaration in mod_perl.c:

Aaaaaaaaaaah! when will be able to tell gcc to tell use when there is this problem. this just can't continue like that :(


Thanks Randy, please commit it asap.

=========================================================
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

but add an empty line here

     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

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



--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to