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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 13415 in the body.
You can then email your comments to 13415 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#13415; Package emacs. (Fri, 11 Jan 2013 17:28:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 11 Jan 2013 17:28:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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




Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Sat, 12 Jan 2013 01:18:02 GMT) Full text and rfc822 format available.

Notification sent to Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>:
bug acknowledged by developer. (Sat, 12 Jan 2013 01:18:02 GMT) Full text and rfc822 format available.

Message #10 received at 13415-done <at> debbugs.gnu.org (full text, mbox):

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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 09 Feb 2013 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 86 days ago.

Previous Next


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