GNU bug report logs - #7337
23.2; (require 'time) changes timezone

Previous Next

Package: emacs;

Reported by: Kevin Ryde <user42 <at> zip.com.au>

Date: Fri, 5 Nov 2010 21:45:02 UTC

Severity: normal

Found in version 23.2

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


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

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Kevin Ryde <user42 <at> zip.com.au>
Cc: 7337 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#7337: 23.2; (require 'time) changes timezone
Date: Mon, 08 Aug 2011 11:55:35 -0400
Kevin Ryde <user42 <at> zip.com.au> writes:

> Oh, they might be dodgy too.  I suppose set-time-zone-rule changes the C
> level environ[], but the lisp `getenv' looks in the process-environment
> variable, not environ[].  Does that sound right?  Should
> set-time-zone-rule set TZ in process-environment?

Yes, Lisp code should typically use (setenv "TZ" ...) rather than
set-time-zone-rule for this reason.  I have updated the doc of
set-time-zone-rule, and changed the users of set-time-zone-rule
accordingly.




This bug report was last modified 13 years and 286 days ago.

Previous Next


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