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
This commit is contained in:
Paul Eggert 2013-01-11 17:15:06 -08:00
parent 002b843312
commit ee56a6dc2f
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,10 @@
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

View file

@ -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)