diff src/http/ngx_http_core_module.c @ 2126:5e954395a15e

case insensitive file system location support provided by locale only
author Igor Sysoev <igor@sysoev.ru>
date Tue, 29 Jul 2008 16:55:11 +0000
parents 505af86ac9cb
children 25add486e7aa
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -1204,7 +1204,7 @@ ngx_http_core_find_static_location(ngx_h
 
         n = (len <= (size_t) node->len) ? len : node->len;
 
-        rc = ngx_memcmp(uri, node->name, n);
+        rc = ngx_filename_cmp(uri, node->name, n);
 
         if (rc != 0) {
             node = (rc < 0) ? node->left : node->right;