You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Max Baker <ma...@warped.org> on 2004/10/19 18:57:15 UTC
[mp1] Bug - version listed as 1.27 instead of 1.29. Patch included
I found a typo where version 1.27 is hardcoded into version 1.29 and so if
you do a
perl -MApache -e 'print $Apache::VERSION' you get 1.27 instead of 1.29.
Attached is a patch.
-m
Re: [mp1] Bug - version listed as 1.27 instead of 1.29. Patch included
Posted by Geoffrey Young <ge...@modperlcookbook.org>.
Max Baker wrote:
> I found a typo where version 1.27 is hardcoded into version 1.29 and so if
> you do a
>
> perl -MApache -e 'print $Apache::VERSION' you get 1.27 instead of 1.29.
this number is internal to Apache.pm and isn't intended to match the release
version. you can see where doug last bumped $Apache::VERSION, October 3, 2000.
http://cvs.apache.org/viewcvs.cgi/modperl/Apache/Apache.pm?r1=1.54&r2=1.55
which was in preparation for mod_perl release 1.24_01 on October 10, 2000.
the only official place to check for the mod_perl version is mod_perl.pm via
$mod_perl::VERSION.
> -#define MP_APACHE_VERSION "1.27"
> +#define MP_APACHE_VERSION "1.29"
this is intended to match $Apache::VERSION in order to make sure that the
proper Apache.xs is being used, I suspect due to binary compatibility
issues, which is really what doug looked like he was trying to track.
HTH
--Geoff
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html