coar 98/06/30 03:56:17
Modified: src/main fnmatch.c Log: Change toupper()s to tolower() as used elsewhere in the code. Revision Changes Path 1.13 +4 -4 apache-1.3/src/main/fnmatch.c Index: fnmatch.c =================================================================== RCS file: /export/home/cvs/apache-1.3/src/main/fnmatch.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- fnmatch.c 1998/06/30 02:11:34 1.12 +++ fnmatch.c 1998/06/30 10:56:16 1.13 @@ -141,7 +141,7 @@ /* FALLTHROUGH */ default: if (flags & FNM_CASE_BLIND) { - if (toupper(c) != toupper(*string)) { + if (tolower(c) != tolower(*string)) { return (FNM_NOMATCH); } } @@ -188,14 +188,14 @@ } if ((c <= test && test <= c2) || ((flags & FNM_CASE_BLIND) - && ((toupper(c) <= toupper(test)) - && (toupper(test) <= toupper(c2))))) { + && ((tolower(c) <= tolower(test)) + && (tolower(test) <= tolower(c2))))) { ok = 1; } } else if ((c == test) || ((flags & FNM_CASE_BLIND) - && (toupper(c) == toupper(test)))) { + && (tolower(c) == tolower(test)))) { ok = 1; } }