diff options
Diffstat (limited to 'glob/glob.c')
-rw-r--r-- | glob/glob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glob/glob.c b/glob/glob.c index eea126d..1a00af6 100644 --- a/glob/glob.c +++ b/glob/glob.c @@ -699,7 +699,7 @@ glob_pattern_p (pattern, quote) return 1; case '\\': - if (quote) + if (quote && p[1] != '\0') ++p; break; |