summaryrefslogtreecommitdiff
path: root/posix/fnmatch_loop.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2004-11-30 07:01:14 +0000
committerJakub Jelinek <jakub@redhat.com>2004-11-30 07:01:14 +0000
commitaa8a3b59b1603ce0855e5130cb060318c8e8c78d (patch)
treea4b3fb8b31b3e880c248d2120b929282fc61b5e0 /posix/fnmatch_loop.c
parentc1f8ef75d3ddf687efc5ee23e16075c256fa77be (diff)
Diffstat (limited to 'posix/fnmatch_loop.c')
-rw-r--r--posix/fnmatch_loop.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/posix/fnmatch_loop.c b/posix/fnmatch_loop.c
index fb56bd426b..449e5e02b4 100644
--- a/posix/fnmatch_loop.c
+++ b/posix/fnmatch_loop.c
@@ -600,6 +600,9 @@ FCT (pattern, string, string_end, no_leading_period, flags)
if (!is_range && c == fn)
goto matched;
+ /* This is needed if we goto normal_bracket; from
+ outside of is_seqval's scope. */
+ is_seqval = 0;
cold = c;
c = *p++;
}