httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject cvs commit: httpd-2.0/server config.c
Date Sat, 11 Oct 2003 06:37:45 GMT
stas        2003/10/10 23:37:45

  Modified:    .        CHANGES STATUS
               server   config.c
  Log:
  fix the config parser to support <Foo>..</Foo> containers (no
  arguments in the opening tag) supported by httpd 1.3. Without
  this change mod_perl 2.0's <Perl> sections are broken.
  Submitted by:	"Philippe M. Chiasson" <gozer@cpan.org>
  Reviewed by:	stas
  
  Revision  Changes    Path
  1.1292    +5 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.1291
  retrieving revision 1.1292
  diff -u -u -r1.1291 -r1.1292
  --- CHANGES	11 Oct 2003 02:12:03 -0000	1.1291
  +++ CHANGES	11 Oct 2003 06:37:45 -0000	1.1292
  @@ -2,6 +2,11 @@
   
     [Remove entries to the current 2.0 section below, when backported]
   
  +  *) fix the config parser to support <Foo>..</Foo> containers (no
  +     arguments in the opening tag) supported by httpd 1.3. Without
  +     this change mod_perl 2.0's <Perl> sections are broken.
  +     ["Philippe M. Chiasson" <gozer@cpan.org>]
  +
     *) mod_cgid: fix a hash table corruption problem which could
        result in the wrong script being cleaned up at the end of a
        request.  [Jeff Trawick]
  
  
  
  1.772     +8 -1      httpd-2.0/STATUS
  
  Index: STATUS
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/STATUS,v
  retrieving revision 1.771
  retrieving revision 1.772
  diff -u -u -r1.771 -r1.772
  --- STATUS	31 Aug 2003 16:14:38 -0000	1.771
  +++ STATUS	11 Oct 2003 06:37:45 -0000	1.772
  @@ -30,6 +30,13 @@
   
   CURRENT VOTES:
   
  +    * httpd-2.0's config parser is incompatible with httpd-1.3's one,
  +      which allowed containers like <Perl>. httpd-2.0's config parser
  +      doesn't like container directives with no arguments (Syntax
  +      error on line nn of httpd.conf: <Perl> directive missing closing
  +      '>'). This fix restores the support for <Foo>..</Foo> containers.
  +      +1: stas
  +
       * Promote mod_cache from experimental to non-experimental
         status (keep issues noted below in EXPERIMENTAL MODULES as
         items to be addressed as a supported module).
  
  
  
  1.167     +3 -0      httpd-2.0/server/config.c
  
  Index: config.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/config.c,v
  retrieving revision 1.166
  retrieving revision 1.167
  diff -u -u -r1.166 -r1.167
  --- config.c	3 Sep 2003 19:27:08 -0000	1.166
  +++ config.c	11 Oct 2003 06:37:45 -0000	1.167
  @@ -926,6 +926,9 @@
           if (*lastc == '>') {
               *lastc = '\0' ;
           }
  +        if (cmd_name[0] == '<' && *args == '\0') {
  +            args = ">";
  +        }
       }
   
       newdir = apr_pcalloc(p, sizeof(ap_directive_t));
  
  
  

Mime
View raw message