projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9881cbf
)
Fixes for use outside glibc.
author
Ulrich Drepper
<drepper@redhat.com>
Wed, 26 Jul 2000 16:04:48 +0000
(16:04 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Wed, 26 Jul 2000 16:04:48 +0000
(16:04 +0000)
posix/fnmatch_loop.c
patch
|
blob
|
history
diff --git
a/posix/fnmatch_loop.c
b/posix/fnmatch_loop.c
index
b7baa7b
..
38cb8f1
100644
(file)
--- a/
posix/fnmatch_loop.c
+++ b/
posix/fnmatch_loop.c
@@
-415,10
+415,11
@@
FCT (pattern, string, no_leading_period, flags)
return FNM_NOMATCH;
else
{
- int is_seqval = 0;
int is_range = 0;
#ifdef _LIBC
+ int is_seqval = 0;
+
if (c == L('[') && *p == L('.'))
{
uint32_t nrules =
@@
-850,7
+851,7
@@
FCT (pattern, string, no_leading_period, flags)
return FNM_NOMATCH;
/* It is a range. */
- if (cold <= f
c && fc
<= c)
+ if (cold <= f
n && fn
<= c)
goto matched;
#endif