GNU bug report logs - #13415
24.3.50; broken set_time_zone_rule with LOCALTIME_CACHE

Previous Next

Package: emacs;

Reported by: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>

Date: Fri, 11 Jan 2013 17:28:02 UTC

Severity: normal

Found in version 24.3.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
Subject: bug#13415: closed (Re: 24.3.50; broken set_time_zone_rule with
 LOCALTIME_CACHE)
Date: Sat, 12 Jan 2013 01:18:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#13415: 24.3.50; broken set_time_zone_rule with LOCALTIME_CACHE

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 13415 <at> debbugs.gnu.org.

-- 
13415: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13415
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
Cc: 13415-done <at> debbugs.gnu.org
Subject: Re: 24.3.50; broken set_time_zone_rule with LOCALTIME_CACHE
Date: Fri, 11 Jan 2013 17:17:13 -0800
Thanks for the problem report and fix; I installed it
into the trunk as bzr 111492.

[Message part 3 (message/rfc822, inline)]
From: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; broken set_time_zone_rule with LOCALTIME_CACHE
Date: Fri, 11 Jan 2013 17:26:39 +0000
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



This bug report was last modified 12 years and 217 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.