contrib/hfsplusutils/hfsplusutils-1.0.4-glob.patch
2019-09-03 23:29:00 +10:00

13 lines
215 B
Diff

--- a/src/glob.c
+++ b/src/glob.c
@@ -48,7 +48,7 @@
switch (*pat)
{
- case NULL: // pattern at end
+ case '\0': // pattern at end
return (!*str); // String at end ?
case '*': // match all