]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix bug with set-time-zone-rule and LOCALTIME_CACHE.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 12 Jan 2013 01:15:06 +0000 (17:15 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 12 Jan 2013 01:15:06 +0000 (17:15 -0800)
* 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
src/editfns.c

index 01862b689f89c812625b9364541b31d8417541f3..2481177f465bd33a90283eeae432a5c9f71d5e1c 100644 (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
index 64269bab8dfb35f337c3d597061432ca2f397710..bf19acb42a8f77c3f5875904796669b5dfdb3b19 100644 (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)