Commit ee56a6dc authored by Paul Eggert's avatar Paul Eggert
Browse files

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
parent 002b8433
2013-01-12 Paul Eggert <eggert@cs.ucla.edu>
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 <Aaron.Hawley@vtinfo.com>
 
* insdel.c (Fcombine_after_change_execute, syms_of_insdel): Fix
......
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment