summaryrefslogtreecommitdiff
path: root/glob/glob.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1996-05-09 18:06:45 +0000
committerRoland McGrath <roland@redhat.com>1996-05-09 18:06:45 +0000
commitf7ecda9a356795220251764c016be3cc3c976955 (patch)
tree67bb4e1764e14c9793265b11709839f3f349f631 /glob/glob.c
parente99a3aca7ec9796973a7e4d93676c5c13483a948 (diff)
downloadmake-f7ecda9a356795220251764c016be3cc3c976955.tar.gz
Updated from libc
Diffstat (limited to 'glob/glob.c')
-rw-r--r--glob/glob.c2
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;