summaryrefslogtreecommitdiffstats
path: root/libc/misc/glob/glob.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-07-30 02:54:42 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-07-30 02:54:42 +0000
commit92ac94812b84cef7d9bddfffd0446721a7a6ee06 (patch)
treea5a2c895d613afb96fb71c9c19be9ec266db30d7 /libc/misc/glob/glob.c
parentac02770c4a13eff9fef10c33ebb18d765f25a968 (diff)
downloaduClibc-alpine-92ac94812b84cef7d9bddfffd0446721a7a6ee06.tar.bz2
uClibc-alpine-92ac94812b84cef7d9bddfffd0446721a7a6ee06.tar.xz
Finalize the merge from the trunk. There are more files to be
merged, but they will be done manually.
Diffstat (limited to 'libc/misc/glob/glob.c')
-rw-r--r--libc/misc/glob/glob.c2
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;