summaryrefslogtreecommitdiff
path: root/src/editfns.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2013-01-11 17:15:06 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2013-01-11 17:15:06 -0800
commitee56a6dc2f54025c7926cb8cbb6974f51d7e0a19 (patch)
treeaa8e907a99270a0897427c9814e9f642b099a575 /src/editfns.c
parent002b843312aa23a3804028314c313e14f0039993 (diff)
downloademacs-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.c1
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)