From 469dcb0d463740a3c15ef231ea110bf01bafbaa3 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 1 Dec 2004 19:55:58 +0000 Subject: * posix/fnmatch_loop.c (internal_fnmatch): Clear is_seqval after normal_bracket label. * time/tst-mktime2.c (bigtime_test): Initialize tm.tm_isdst to -1. --- posix/fnmatch_loop.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'posix/fnmatch_loop.c') diff --git a/posix/fnmatch_loop.c b/posix/fnmatch_loop.c index fb56bd4..449e5e0 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++; } -- cgit v1.1