12 lines
309 B
Text
12 lines
309 B
Text
|
--- src/glob.c.orig Sun Apr 17 09:59:32 2011
|
||
|
+++ src/glob.c Sun Apr 17 09:59:38 2011
|
||
|
@@ -48,7 +48,7 @@ int strmatch(const char *str, const char *pat)
|
||
|
|
||
|
switch (*pat)
|
||
|
{
|
||
|
- case NULL: // pattern at end
|
||
|
+ case 0: // pattern at end
|
||
|
return (!*str); // String at end ?
|
||
|
|
||
|
case '*': // match all
|