Return-Path: X-Original-To: apmail-apr-commits-archive@www.apache.org Delivered-To: apmail-apr-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2B617426F for ; Thu, 19 May 2011 17:06:54 +0000 (UTC) Received: (qmail 4068 invoked by uid 500); 19 May 2011 17:06:54 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 4036 invoked by uid 500); 19 May 2011 17:06:54 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 4029 invoked by uid 99); 19 May 2011 17:06:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 May 2011 17:06:54 +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; Thu, 19 May 2011 17:06:53 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 006BE2388A32; Thu, 19 May 2011 17:06:32 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1124999 - /apr/apr/branches/1.4.x/strings/apr_fnmatch.c Date: Thu, 19 May 2011 17:06:32 -0000 To: commits@apr.apache.org From: wrowe@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110519170633.006BE2388A32@eris.apache.org> Author: wrowe Date: Thu May 19 17:06:32 2011 New Revision: 1124999 URL: http://svn.apache.org/viewvc?rev=1124999&view=rev Log: Fix t ~= [/-/t] mismatch, observed by jorton. Backports: r1124997 Modified: apr/apr/branches/1.4.x/strings/apr_fnmatch.c Modified: apr/apr/branches/1.4.x/strings/apr_fnmatch.c URL: http://svn.apache.org/viewvc/apr/apr/branches/1.4.x/strings/apr_fnmatch.c?rev=1124999&r1=1124998&r2=1124999&view=diff ============================================================================== --- apr/apr/branches/1.4.x/strings/apr_fnmatch.c (original) +++ apr/apr/branches/1.4.x/strings/apr_fnmatch.c Thu May 19 17:06:32 2011 @@ -129,7 +129,7 @@ leadingclosebrace: * or ranges containing a slash in FNM_PATHNAME mode pattern * fall out to to the rewind and test '[' literal code path */ - if (!**pattern || (slash && (**pattern == '\\'))) + if (!**pattern || (slash && (**pattern == '/'))) break; /* XXX: handle locale/MBCS comparison, advance by MBCS char width */