diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2013-01-11 17:15:06 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2013-01-11 17:15:06 -0800 |
commit | ee56a6dc2f54025c7926cb8cbb6974f51d7e0a19 (patch) | |
tree | aa8e907a99270a0897427c9814e9f642b099a575 /src/editfns.c | |
parent | 002b843312aa23a3804028314c313e14f0039993 (diff) | |
download | emacs-ee56a6dc2f54025c7926cb8cbb6974f51d7e0a19.tar.gz |
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
Diffstat (limited to 'src/editfns.c')
-rw-r--r-- | src/editfns.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |