OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2363d3
)
import fix from glibc to resolve segfault reported by wmq in Bug 335
author
Mike Frysinger
<vapier@gentoo.org>
Tue, 12 Jul 2005 01:43:06 +0000
(
01:43
-0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Tue, 12 Jul 2005 01:43:06 +0000
(
01:43
-0000)
libc/misc/glob/glob.c
patch
|
blob
|
history
diff --git
a/libc/misc/glob/glob.c
b/libc/misc/glob/glob.c
index
14e2a6e
..
a93cf0a
100644
(file)
--- 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;