apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r1124998 - /apr/apr/branches/1.5.x/strings/apr_fnmatch.c
Date Thu, 19 May 2011 17:06:19 GMT
Author: wrowe
Date: Thu May 19 17:06:18 2011
New Revision: 1124998

URL: http://svn.apache.org/viewvc?rev=1124998&view=rev
Log:
Fix t ~= [/-/t] mismatch, observed by jorton.

Backports: r1124997

Modified:
    apr/apr/branches/1.5.x/strings/apr_fnmatch.c

Modified: apr/apr/branches/1.5.x/strings/apr_fnmatch.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.5.x/strings/apr_fnmatch.c?rev=1124998&r1=1124997&r2=1124998&view=diff
==============================================================================
--- apr/apr/branches/1.5.x/strings/apr_fnmatch.c (original)
+++ apr/apr/branches/1.5.x/strings/apr_fnmatch.c Thu May 19 17:06:18 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 */



Mime
View raw message