Satoru Takeuchi
154e2026c8
libc: Fix mktime returns an uncorrect time in empty TZ case
...
The mktime API returned an uncorrect time when TZ is set as empty.
A timezone UTC/GMT+0 should be implied in the empty case. However
mktime keeps previous information about timezone. If mktime was called
with a timezone which has DST before, the "defaulttype" member of
"state" structure wouldn't be 0. Then it would be used next time,
even though UTC/GMT+0 doesn't have DST.
Added initialization of the "defaulttype" in the empty TZ case.
Change-Id: Ic480c63c548c05444134e0aefb30a7b380e3f40b
2014-11-14 18:13:07 -08:00
..
2014-11-14 12:17:06 -08:00
2014-10-21 11:22:26 -07:00
2014-11-14 16:22:48 -08:00
2014-05-13 19:17:46 -07:00
2014-08-15 14:22:07 -07:00
2014-11-06 11:09:03 -08:00
2013-12-03 18:42:41 -08:00
2013-12-03 18:42:41 -08:00
2014-11-06 11:16:55 -08:00
2014-04-18 10:29:16 -07:00
2014-11-07 10:20:32 -08:00
2014-10-31 11:39:51 -07:00
2014-11-04 14:37:15 -08:00
2014-11-14 11:19:22 -08:00
2014-02-06 20:12:21 -08:00
2014-09-11 08:45:46 -07:00
2013-02-01 14:51:19 -08:00
2014-10-06 11:38:01 -07:00
2014-10-08 13:21:29 -07:00
2014-11-06 11:09:03 -08:00
2014-09-23 18:21:52 -07:00
2014-08-19 11:18:20 -07:00
2013-02-11 16:39:10 -08:00
2014-09-23 14:53:10 -07:00
2014-08-28 16:37:09 -07:00
2014-09-08 16:44:48 -07:00
2014-11-04 18:03:44 -08:00
2014-08-22 10:23:12 -07:00
2014-11-04 18:00:02 -08:00
2014-11-04 18:00:02 -08:00
2014-11-04 18:00:02 -08:00
2014-11-04 18:00:02 -08:00
2014-11-04 18:00:02 -08:00
2014-11-04 18:00:02 -08:00
2014-11-04 18:00:02 -08:00
2014-11-04 18:00:02 -08:00
2014-11-04 18:00:02 -08:00
2014-11-04 18:00:02 -08:00
2014-11-04 18:00:02 -08:00
2014-11-04 18:00:02 -08:00
2014-11-04 18:00:02 -08:00
2014-11-04 18:00:02 -08:00
2014-11-04 18:00:02 -08:00
2014-11-04 18:00:02 -08:00
2014-11-13 15:51:36 -08:00
2014-10-22 22:23:10 -07:00
2014-11-12 21:03:26 -08:00
2014-05-13 11:19:57 -07:00
2014-05-13 11:19:57 -07:00
2014-10-27 16:14:55 -07:00
2014-07-24 14:55:29 -07:00
2014-09-19 17:37:06 -07:00
2014-09-04 15:43:10 -07:00
2014-04-10 20:44:27 -07:00
2014-11-06 11:09:03 -08:00
2014-10-27 16:14:55 -07:00
2014-09-30 10:28:30 -07:00
2014-02-21 16:27:21 +00:00
2014-08-20 10:23:52 -07:00
2014-11-07 10:20:32 -08:00
2014-11-06 14:14:37 -08:00
2014-11-12 19:31:21 -08:00
2014-11-10 13:58:17 -08:00
2014-11-06 15:52:22 -08:00
2014-05-09 22:29:23 +01:00
2014-05-05 19:48:55 -07:00
2014-06-12 13:16:36 -07:00
2014-11-12 19:31:21 -08:00
2014-04-01 17:42:31 -07:00
2014-02-06 20:12:21 -08:00
2014-11-12 21:03:26 -08:00
2014-10-23 19:10:54 -07:00
2014-02-18 15:39:24 -08:00
2013-11-13 13:14:31 -08:00
2014-11-14 16:22:48 -08:00
2014-07-16 14:27:43 -07:00
2014-01-03 14:49:37 -08:00
2014-02-18 15:48:56 -08:00
2014-11-06 11:09:03 -08:00
2014-09-23 18:21:52 -07:00
2014-11-14 18:13:07 -08:00
2014-08-19 11:18:20 -07:00
2014-09-08 13:02:50 -07:00
2014-11-14 23:45:45 +00:00
2014-11-13 18:56:12 -08:00