apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r781066 - /apr/apr-util/branches/0.9.x/strmatch/apr_strmatch.c
Date Tue, 02 Jun 2009 15:35:22 GMT
Author: wrowe
Date: Tue Jun  2 15:35:22 2009
New Revision: 781066

URL: http://svn.apache.org/viewvc?rev=781066&view=rev
Log:
Fix pattern matching for 'signed' tolower() platforms, noted by rpluem

Modified:
    apr/apr-util/branches/0.9.x/strmatch/apr_strmatch.c

Modified: apr/apr-util/branches/0.9.x/strmatch/apr_strmatch.c
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/0.9.x/strmatch/apr_strmatch.c?rev=781066&r1=781065&r2=781066&view=diff
==============================================================================
--- apr/apr-util/branches/0.9.x/strmatch/apr_strmatch.c (original)
+++ apr/apr-util/branches/0.9.x/strmatch/apr_strmatch.c Tue Jun  2 15:35:22 2009
@@ -74,7 +74,7 @@
             }
             s_tmp--;
         }
-        s_next += shift[apr_tolower(*s_next)];
+        s_next += shift[(unsigned char)apr_tolower(*s_next)];
     }
     return NULL;
 }



Mime
View raw message