diff options
Diffstat (limited to 'libc')
-rw-r--r-- | libc/misc/glob/glob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/glob/glob.c b/libc/misc/glob/glob.c index 14e2a6e22..a93cf0ab4 100644 --- a/libc/misc/glob/glob.c +++ b/libc/misc/glob/glob.c @@ -59,7 +59,7 @@ int glob_pattern_p(const char *pattern, int quote) return 1; case '\\': - if (quote) + if (quote && p[1] != '\0') ++p; break; |