httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject cvs commit: httpd-2.0/modules/mappers mod_rewrite.c
Date Thu, 24 Jul 2003 19:39:11 GMT
nd          2003/07/24 12:39:11

  Modified:    modules/mappers mod_rewrite.c
  Log:
  remove outdated comments about different regex libs
  
  Revision  Changes    Path
  1.170     +1 -9      httpd-2.0/modules/mappers/mod_rewrite.c
  
  Index: mod_rewrite.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/mappers/mod_rewrite.c,v
  retrieving revision 1.169
  retrieving revision 1.170
  diff -u -r1.169 -r1.170
  --- mod_rewrite.c	24 Jul 2003 19:06:33 -0000	1.169
  +++ mod_rewrite.c	24 Jul 2003 19:39:11 -0000	1.170
  @@ -618,9 +618,6 @@
           cp++;
       }
   
  -    /* now be careful: Under the POSIX regex library
  -       we can compile the pattern for case insensitive matching,
  -       under the old V8 library we have to do it self via a hack */
       if (newcond->flags & CONDFLAG_NOCASE) {
           rc = ((regexp = ap_pregcomp(cmd->pool, cp, REG_EXTENDED|REG_ICASE))
                 == NULL);
  @@ -724,12 +721,7 @@
       newrule->pattern = apr_pstrdup(cmd->pool, cp);
       newrule->regexp  = regexp;
   
  -    /*  arg2: the output string
  -     *  replace the $<N> by \<n> which is needed by the currently
  -     *  used Regular Expression library
  -     *
  -     * TODO: Is this still required for PCRE?  If not, does it *work* with PCRE?
  -     */
  +    /*  arg2: the output string */
       newrule->output = apr_pstrdup(cmd->pool, a2);
   
       /* now, if the server or per-dir config holds an
  
  
  

Mime
View raw message