]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
make bill happy (if possible!)
authorJim Jagielski <jim@apache.org>
Fri, 20 Nov 2015 18:57:36 +0000 (18:57 +0000)
committerJim Jagielski <jim@apache.org>
Fri, 20 Nov 2015 18:57:36 +0000 (18:57 +0000)
Note that these are ascii specific.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1715404 13f79535-47bb-0310-9956-ffa450edef68

include/httpd.h
server/util.c

index 38438bfb6af9ce30d1bdbe4b986ece63b75e1876..b21f5d406ca7fa4fc7c4407adb7f32ab578b832b 100644 (file)
@@ -2439,7 +2439,7 @@ AP_DECLARE(int) ap_array_str_contains(const apr_array_header_t *array,
                                       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(const apr_array_header_t *array,
 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
index f531bf323e1538723f4b4aa979d88fda04605746..5679ff8c51cae54a021814193bd6710493fcd2e9 100644 (file)
@@ -3174,6 +3174,7 @@ AP_DECLARE(int) ap_array_str_contains(const apr_array_header_t *array,
 
 /*
  * 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,