You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-cvs@httpd.apache.org by do...@apache.org on 2002/01/10 18:57:19 UTC
cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestConfigParse.pm
dougm 02/01/10 09:57:19
Modified: perl-framework/Apache-Test/lib/Apache TestConfigParse.pm
Log:
add mmn major/minor variables
Revision Changes Path
1.19 +6 -0 httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfigParse.pm
Index: TestConfigParse.pm
===================================================================
RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfigParse.pm,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- TestConfigParse.pm 19 Dec 2001 23:20:55 -0000 1.18
+++ TestConfigParse.pm 10 Jan 2002 17:57:19 -0000 1.19
@@ -236,6 +236,12 @@
close $proc;
+ if (my $mmn = $self->{httpd_info}->{MODULE_MAGIC_NUMBER}) {
+ @{ $self->{httpd_info} }
+ {qw(MODULE_MAGIC_NUMBER_MAJOR
+ MODULE_MAGIC_NUMBER_MINOR)} = split ':', $mmn;
+ }
+
if (my $mpm_dir = $self->{httpd_defines}->{APACHE_MPM_DIR}) {
$self->{mpm} = basename $mpm_dir;
}