ports/sysutils/cdrtools-devel/files/patch-libschily_fnmatch.c
Marius Strobl b61e33735f - Update to 3.02a09
- Pet portlint
2018-05-20 00:34:01 +00:00

16 lines
508 B
C

--- libschily/fnmatch.c.orig 2017-08-29 23:04:40 UTC
+++ libschily/fnmatch.c
@@ -369,11 +369,11 @@ rangematch(pattern, test, flags, newp, p
/*
* Convert to the other case
*/
- if (strcmp(class, "upper") == 0)
+ if (strcmp(class, "upper") == 0) {
if (iswctype(otest,
wctype("lower")))
ok = 1;
- else if (strcmp(class, "lower") == 0)
+ } else if (strcmp(class, "lower") == 0)
if (iswctype(otest,
wctype("upper")))
ok = 1;