always reset DST rules during tzset
authorBenjamin Peterson <benjamin@python.org>
Sat, 15 Sep 2018 17:05:24 +0000 (10:05 -0700)
committerRich Felker <dalias@aerifal.cx>
Sat, 15 Sep 2018 17:22:12 +0000 (13:22 -0400)
commitdbcfb16e43af28ba919f651c51d7a2f15af656a1
treece99f9262a3288efe363e311cd26aae5983ec5f9
parentd6c855caa88ddb1ab6e24e23a14b1e7baf4ba9c7
always reset DST rules during tzset

do_tzset() did't always reset the DST transition rules r0 and r1. That
means the rules from older TZ settings could leak into newer ones.
src/time/__tz.c