mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 07:10:06 +00:00
* time/tzset.c (tzset_internal): Cap hour in POSIX $TZ rule format to
24, not 23.
This commit is contained in:
parent
1e0c12267c
commit
9eec17f5f2
@ -1,3 +1,8 @@
|
||||
2004-02-09 Roland McGrath <roland@redhat.com>
|
||||
|
||||
* time/tzset.c (tzset_internal): Cap hour in POSIX $TZ rule format to
|
||||
24, not 23.
|
||||
|
||||
2004-01-29 Roland McGrath <roland@redhat.com>
|
||||
|
||||
* io/ftwtest-sh: Use $tmp consistently, not literal /tmp.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1991-2002, 2003 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1991-2002,2003,2004 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -241,7 +241,7 @@ tzset_internal (always)
|
||||
break;
|
||||
}
|
||||
tz_rules[0].offset *= (min (ss, 59) + (min (mm, 59) * 60) +
|
||||
(min (hh, 23) * 60 * 60));
|
||||
(min (hh, 24) * 60 * 60));
|
||||
|
||||
for (l = 0; l < 3; ++l)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user