GNU bug report logs - #23600
25.1.50; encode-time returns wrong result

Previous Next

Package: emacs;

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

Date: Sun, 22 May 2016 22:12:01 UTC

Severity: normal

Found in version 25.1.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: Eli Zaretskii <eliz <at> gnu.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: kzhr <at> d1.dion.ne.jp, 23600 <at> debbugs.gnu.org
Subject: bug#23600: 25.1.50; encode-time returns wrong result
Date: Sun, 05 Jun 2016 05:47:27 +0300
> Cc: kzhr <at> d1.dion.ne.jp, 23600 <at> debbugs.gnu.org
> From: Paul Eggert <eggert <at> cs.ucla.edu>
> Date: Sat, 4 Jun 2016 15:18:43 -0700
> 
> Eli Zaretskii wrote:
> > I think it would be cleaner if we copied the string before modifying
> > it.
> 
> Other parts of Emacs modify the string in place and expect the modifications to 
> affect the time zone setting, so in general it won't work to copy the string, 
> modify the copy, and pass the copy's address to putenv.

Too bad.




This bug report was last modified 9 years and 35 days ago.

Previous Next


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