You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@apache.org on 2015/11/20 19:57:36 UTC

svn commit: r1715404 - in /httpd/httpd/trunk: include/httpd.h server/util.c

Author: jim
Date: Fri Nov 20 18:57:36 2015
New Revision: 1715404

URL: http://svn.apache.org/viewvc?rev=1715404&view=rev
Log:
make bill happy (if possible!)
Note that these are ascii specific.

Modified:
    httpd/httpd/trunk/include/httpd.h
    httpd/httpd/trunk/server/util.c

Modified: httpd/httpd/trunk/include/httpd.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/include/httpd.h?rev=1715404&r1=1715403&r2=1715404&view=diff
==============================================================================
--- httpd/httpd/trunk/include/httpd.h (original)
+++ httpd/httpd/trunk/include/httpd.h Fri Nov 20 18:57:36 2015
@@ -2439,7 +2439,7 @@ AP_DECLARE(int) ap_array_str_contains(co
                                       const char *s);
 
 /**
- * Known-fast version of strcasecmp()
+ * Known-fast version of strcasecmp(): ASCII only
  * @param s1 The 1st string to compare
  * @param s2 The 2nd string to compare
  * @return integer greater than, equal to, or less than 0, depending on
@@ -2449,7 +2449,7 @@ AP_DECLARE(int) ap_array_str_contains(co
 AP_DECLARE(int) ap_strcasecmp(const char *s1, const char *s2);
 
 /**
- * Known-fast version of strncasecmp()
+ * Known-fast version of strncasecmp(): ASCII only
  * @param s1 The 1st string to compare
  * @param s2 The 2nd string to compare
  * @param n  Maximum number of characters in the strings to compare

Modified: httpd/httpd/trunk/server/util.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/util.c?rev=1715404&r1=1715403&r2=1715404&view=diff
==============================================================================
--- httpd/httpd/trunk/server/util.c (original)
+++ httpd/httpd/trunk/server/util.c Fri Nov 20 18:57:36 2015
@@ -3174,6 +3174,7 @@ AP_DECLARE(int) ap_array_str_contains(co
 
 /*
  * Provide our own known-fast implementation of str[n]casecmp()
+ * NOTE: ASCII only!
  */
 static const unsigned char ucharmap[] = {
     0x0,  0x1,  0x2,  0x3,  0x4,  0x5,  0x6,  0x7,