]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* posix/fnmatch_loop.c (internal_fnmatch): Clear is_seqval after
authorRoland McGrath <roland@gnu.org>
Wed, 1 Dec 2004 19:55:58 +0000 (19:55 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 1 Dec 2004 19:55:58 +0000 (19:55 +0000)
normal_bracket label.

* time/tst-mktime2.c (bigtime_test): Initialize tm.tm_isdst to -1.

ChangeLog
posix/fnmatch_loop.c
time/tst-mktime2.c

index c46fcc0a6a1febbb55747daaeb304008d31f4259..f0434213bcc05e1cb755d0f61ecef829fa3808c1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,11 @@
 
        * stdlib/stdlib.h (realpath): Remove nonnull attribute.
 
+       * 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.
+
 2004-12-01  Roland McGrath  <roland@redhat.com>
 
        * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c):
index fb56bd426bc280f17b238b846c1c54d019e057c8..449e5e02b49000a756f0efd0e078bf198bdc6709 100644 (file)
@@ -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++;
                      }
index fe7c3709289215379ba647e75cdea95cd095105b..6279218cba5016d039c145d8259098f00b7ac011 100644 (file)
@@ -78,6 +78,7 @@ bigtime_test (int j)
   struct tm tm;
   time_t now;
   tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
+  tm.tm_isdst = -1;
   now = mktime (&tm);
   if (now != (time_t) -1)
     {