perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: [mp2] mod_perl.c
Date Sat, 11 Dec 2004 05:41:48 GMT
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:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

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


Mime
View raw message