mktime: systematically normalize tm_isdst comparisons
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 30 Jan 2011 07:00:55 +0000 (23:00 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 30 Jan 2011 07:01:22 +0000 (23:01 -0800)
commit7b359a233b201ba4a65b3e9c947517046e011ea7
tree1030912bb1b4a2d22b2e6878ec1997a045f1916f
parent385b9f9d098b636827593dbd0f813c2b6858b308
mktime: systematically normalize tm_isdst comparisons

* lib/mktime.c (isdst_differ): New function.
(__mktime_internal): Use it systematically for all isdst comparisons.
This completes the fix for libc BZ #6723, and removes the need for
normalizing tm_isdst.  See
<http://sourceware.org/bugzilla/show_bug.cgi?id=6723>
(not_equal_tm) [DEBUG]: Use isdst_differ here, too.
ChangeLog
lib/mktime.c