--- 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 ---