From ee56a6dc2f54025c7926cb8cbb6974f51d7e0a19 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 11 Jan 2013 17:15:06 -0800 Subject: [PATCH] Fix bug with set-time-zone-rule and LOCALTIME_CACHE. * editfns.c (set_time_zone_rule) [LOCALTIME_CACHE]: Clear tzvalbuf_in_environ if this workaround is in effect. Problem and fix reported by Kazuhiro Ito. Fixes: debbugs:13415 --- src/ChangeLog | 7 +++++++ src/editfns.c | 1 + 2 files changed, 8 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 01862b689f8..2481177f465 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +2013-01-12 Paul Eggert + + Fix bug with set-time-zone-rule and LOCALTIME_CACHE (Bug#13415). + * editfns.c (set_time_zone_rule) [LOCALTIME_CACHE]: + Clear tzvalbuf_in_environ if this workaround is in effect. + Problem and fix reported by Kazuhiro Ito. + 2013-01-11 Aaron S. Hawley * insdel.c (Fcombine_after_change_execute, syms_of_insdel): Fix diff --git a/src/editfns.c b/src/editfns.c index 64269bab8df..bf19acb42a8 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -2188,6 +2188,7 @@ set_time_zone_rule (const char *tzstring) xputenv (set_time_zone_rule_tz[1]); } tzset (); + tzvalbuf_in_environ = 0; #endif if (!tzstring) -- 2.39.5