Return-Path: X-Original-To: apmail-httpd-cvs-archive@www.apache.org Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4666D47A5 for ; Fri, 17 Jun 2011 17:16:17 +0000 (UTC) Received: (qmail 34375 invoked by uid 500); 17 Jun 2011 17:16:17 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 34304 invoked by uid 500); 17 Jun 2011 17:16:16 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 34297 invoked by uid 99); 17 Jun 2011 17:16:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jun 2011 17:16:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jun 2011 17:16:15 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id DA3D62388906; Fri, 17 Jun 2011 17:15:54 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1136946 - /httpd/httpd/trunk/modules/mappers/mod_rewrite.c Date: Fri, 17 Jun 2011 17:15:54 -0000 To: cvs@httpd.apache.org From: jim@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110617171554.DA3D62388906@eris.apache.org> Author: jim Date: Fri Jun 17 17:15:54 2011 New Revision: 1136946 URL: http://svn.apache.org/viewvc?rev=1136946&view=rev Log: Revert "fix unexpected enum operation" This reverts commit d407a566ab24e576a3f143f5c27b2ccf90f5d8da. Modified: httpd/httpd/trunk/modules/mappers/mod_rewrite.c Modified: httpd/httpd/trunk/modules/mappers/mod_rewrite.c URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/mappers/mod_rewrite.c?rev=1136946&r1=1136945&r2=1136946&view=diff ============================================================================== --- httpd/httpd/trunk/modules/mappers/mod_rewrite.c (original) +++ httpd/httpd/trunk/modules/mappers/mod_rewrite.c Fri Jun 17 17:15:54 2011 @@ -3317,7 +3317,7 @@ static const char *cmd_rewritecond(cmd_p newcond->pskip = a2 - newcond->pattern; newcond->pattern += newcond->pskip; - if (newcond->ptype == CONDPAT_REGEX) { + if (!newcond->ptype) { regexp = ap_pregcomp(cmd->pool, a2, AP_REG_EXTENDED | ((newcond->flags & CONDFLAG_NOCASE) ? AP_REG_ICASE : 0));