emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#13415: closed (24.3.50; broken set_time_zone_rule


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#13415: closed (24.3.50; broken set_time_zone_rule with LOCALTIME_CACHE)
Date: Sat, 12 Jan 2013 01:18:02 +0000

Your message dated Fri, 11 Jan 2013 17:17:13 -0800
with message-id <address@hidden>
and subject line Re: 24.3.50; broken set_time_zone_rule with LOCALTIME_CACHE
has caused the debbugs.gnu.org bug report #13415,
regarding 24.3.50; broken set_time_zone_rule with LOCALTIME_CACHE
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
13415: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13415
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.3.50; broken set_time_zone_rule with LOCALTIME_CACHE Date: Fri, 11 Jan 2013 17:26:39 +0000 User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/24.3.50 (i386-mingw-nt6.1.7601) MULE/6.0 (HANACHIRUSATO)
On trunk, the below code returns unexpected result in LOCALTIME_CACHE
defined environment.

(list
 (progn (set-time-zone-rule "GMT+0")
        (current-time-zone))
 (progn (set-time-zone-rule "GMT+0")
        (current-time-zone)))

-> ((0 "GMT") (-3600 "GMT"))

Please see the below patch.

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

-- 
Kazuhiro Ito



--- End Message ---
--- Begin Message --- Subject: Re: 24.3.50; broken set_time_zone_rule with LOCALTIME_CACHE Date: Fri, 11 Jan 2013 17:17:13 -0800 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2
Thanks for the problem report and fix; I installed it
into the trunk as bzr 111492.


--- End Message ---

reply via email to

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