mirror of git://sourceware.org/git/glibc.git
* 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.
This commit is contained in:
parent
c13bc9621f
commit
469dcb0d46
|
@ -2,6 +2,11 @@
|
||||||
|
|
||||||
* stdlib/stdlib.h (realpath): Remove nonnull attribute.
|
* 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>
|
2004-12-01 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
* sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c):
|
* sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c):
|
||||||
|
|
|
@ -600,6 +600,9 @@ FCT (pattern, string, string_end, no_leading_period, flags)
|
||||||
if (!is_range && c == fn)
|
if (!is_range && c == fn)
|
||||||
goto matched;
|
goto matched;
|
||||||
|
|
||||||
|
/* This is needed if we goto normal_bracket; from
|
||||||
|
outside of is_seqval's scope. */
|
||||||
|
is_seqval = 0;
|
||||||
cold = c;
|
cold = c;
|
||||||
c = *p++;
|
c = *p++;
|
||||||
}
|
}
|
||||||
|
|
|
@ -78,6 +78,7 @@ bigtime_test (int j)
|
||||||
struct tm tm;
|
struct tm tm;
|
||||||
time_t now;
|
time_t now;
|
||||||
tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
|
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);
|
now = mktime (&tm);
|
||||||
if (now != (time_t) -1)
|
if (now != (time_t) -1)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue