forked from ports/contrib
13 lines
215 B
Diff
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
|
||
|
|