httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject cvs commit: httpd-2.0/server config.c
Date Fri, 11 May 2001 23:33:50 GMT
rbb         01/05/11 16:33:50

  Modified:    .        CHANGES
               server   config.c
  Log:
  Cleanup the reporting of incorrect end tags for container directives.
  PR:	7617
  Submitted by:	Barrie Slaymaker <barries@slaysys.com>
  
  Revision  Changes    Path
  1.195     +3 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.194
  retrieving revision 1.195
  diff -u -d -b -w -u -r1.194 -r1.195
  --- CHANGES	2001/05/11 08:12:04	1.194
  +++ CHANGES	2001/05/11 23:33:43	1.195
  @@ -1,5 +1,8 @@
   Changes with Apache 2.0.18-dev
   
  +  *) Clean up the reporting of incorrect closing container tags.
  +     [Barrie Slaymaker <barries@slaysys.com>]
  +
     *) Simplify the configure process by moving all libtool stuff to APR
        and moving hints.m4 inline.  [Roy Fielding]
   
  
  
  
  1.129     +7 -0      httpd-2.0/server/config.c
  
  Index: config.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/config.c,v
  retrieving revision 1.128
  retrieving revision 1.129
  diff -u -d -b -w -u -r1.128 -r1.129
  --- config.c	2001/05/11 18:37:41	1.128
  +++ config.c	2001/05/11 23:33:46	1.129
  @@ -809,6 +809,13 @@
   	return NULL;
       }
   
  +    if ( cmd_name[1] != '/' ) {
  +        char *lastc = cmd_name + strlen(cmd_name) - 1;
  +        if (*lastc == '>') {
  +            *lastc = '\0' ;
  +        }
  +    }
  +
       newdir = apr_pcalloc(p, sizeof(ap_directive_t));
       newdir->filename = parms->config_file->name;
       newdir->line_num = parms->config_file->line_number;
  
  
  

Mime
View raw message