httpd-test-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject cvs commit: httpd-test/perl-framework/Apache-Test Changes
Date Wed, 07 Apr 2004 22:11:58 GMT
stas        2004/04/07 15:11:58

  Modified:    perl-framework/Apache-Test/lib/Apache TestConfigParse.pm
               perl-framework/Apache-Test Changes
  Log:
  Support continuous configuration line when parsing the inherited
  configuration file
  
  Revision  Changes    Path
  1.45      +9 -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.44
  retrieving revision 1.45
  diff -u -u -r1.44 -r1.45
  --- TestConfigParse.pm	1 Apr 2004 23:57:17 -0000	1.44
  +++ TestConfigParse.pm	7 Apr 2004 22:11:58 -0000	1.45
  @@ -272,6 +272,15 @@
       while (<$fh>) {
           s/^\s*//; s/\s*$//; s/^\#.*//;
           next if /^$/;
  +
  +        # support continuous config lines (which use \ to break the line)
  +        while (s/\\$//) {
  +            my $cont = <$fh>;
  +            $cont =~ s/^\s*//;
  +            $cont =~ s/\s*$//;
  +            $_ .= $cont;
  +        }
  +
           (my $directive, $_) = split /\s+/, $_, 2;
   
           if ($directive eq "Include") {
  
  
  
  1.119     +3 -0      httpd-test/perl-framework/Apache-Test/Changes
  
  Index: Changes
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/Changes,v
  retrieving revision 1.118
  retrieving revision 1.119
  diff -u -u -r1.118 -r1.119
  --- Changes	7 Apr 2004 21:51:36 -0000	1.118
  +++ Changes	7 Apr 2004 22:11:58 -0000	1.119
  @@ -8,6 +8,9 @@
   
   =item 1.10-dev
   
  +Support continuous configuration line when parsing the inherited
  +configuration file [Stas]
  +
   Since some of the inherited from the global httpd.conf modules require
   mod_perl to be loaded first, orrange for that to happen. [Stas]
   
  
  
  

Mime
View raw message