From: Jim Jagielski Date: Fri, 20 Nov 2015 18:57:36 +0000 (+0000) Subject: make bill happy (if possible!) X-Git-Tag: 2.5.0-alpha~2625 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=897b8d4fab83cfc5bc4cea940070469b270ce5be;p=thirdparty%2Fapache%2Fhttpd.git make bill happy (if possible!) Note that these are ascii specific. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1715404 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/include/httpd.h b/include/httpd.h index 38438bfb6af..b21f5d406ca 100644 --- a/include/httpd.h +++ b/include/httpd.h @@ -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 diff --git a/server/util.c b/server/util.c index f531bf323e1..5679ff8c51c 100644 --- a/server/util.c +++ b/server/util.c @@ -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,