summaryrefslogtreecommitdiff
path: root/sysutils/cdrtools-devel/files/patch-libschily_fnmatch.c
blob: e016ebf1921bbc8405658c27879f3d7f5f3a7087 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- 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;