emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r111492: Fix bug with set-time-zone-r


From: Paul Eggert
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r111492: Fix bug with set-time-zone-rule and LOCALTIME_CACHE.
Date: Fri, 11 Jan 2013 17:15:06 -0800
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 111492
fixes bug: http://debbugs.gnu.org/13415
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Fri 2013-01-11 17:15:06 -0800
message:
  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.
modified:
  src/ChangeLog
  src/editfns.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2013-01-11 23:08:55 +0000
+++ b/src/ChangeLog     2013-01-12 01:15:06 +0000
@@ -1,3 +1,10 @@
+2013-01-12  Paul Eggert  <address@hidden>
+
+       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  <address@hidden>
 
        * insdel.c (Fcombine_after_change_execute, syms_of_insdel): Fix

=== modified file 'src/editfns.c'
--- a/src/editfns.c     2013-01-11 13:25:10 +0000
+++ b/src/editfns.c     2013-01-12 01:15:06 +0000
@@ -2188,6 +2188,7 @@
       xputenv (set_time_zone_rule_tz[1]);
     }
   tzset ();
+  tzvalbuf_in_environ = 0;
 #endif
 
   if (!tzstring)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]