You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Stas Bekman <st...@stason.org> on 2004/04/26 22:23:10 UTC
Re: cvs commit: modperl-2.0/lib/ModPerl Code.pm
stas@apache.org wrote:
> stas 2004/04/26 13:20:01
>
> Modified: lib/ModPerl Code.pm
> Log:
> ifdef the definition of the new macros imported from 2.0.49 and not
> available in the earlier Apache versions
>
> Revision Changes Path
> 1.120 +4 -1 modperl-2.0/lib/ModPerl/Code.pm
>
> Index: Code.pm
> ===================================================================
> RCS file: /home/cvs/modperl-2.0/lib/ModPerl/Code.pm,v
> retrieving revision 1.119
> retrieving revision 1.120
> diff -u -u -r1.119 -r1.120
> --- Code.pm 2 Apr 2004 01:38:12 -0000 1.119
> +++ Code.pm 26 Apr 2004 20:20:01 -0000 1.120
> @@ -799,7 +799,10 @@
>
> #backwards compat with older httpd/apr
> #XXX: remove once we require newer httpd/apr
> -my %ifdef = map { $_, 1 } qw(APLOG_TOCLIENT APR_LIMIT_NOFILE);
> +my %ifdef = map { $_, 1 }
> + qw(APLOG_TOCLIENT APR_LIMIT_NOFILE), # added in ???
> + qw(AP_MPMQ_STARTING AP_MPMQ_RUNNING AP_MPMQ_STOPPING
> + AP_MPMQ_MPM_STATE); # added in 2.0.49
>
> sub constants_ifdef {
> my $name = shift;
I've just added them to ifdef, so they will be available for 2.0.49+ but
undocumented until fully supported by Apache and we move onto requiring that
version (which is a bit in the future).
--
__________________________________________________________________
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