|
From: | Paul Eggert |
Subject: | bug#19874: 25.0.50; encode-time not working as expected |
Date: | Wed, 25 Feb 2015 09:41:45 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
Please try the attached patch, just for debugging, and then run the following one-line shell command:
src/emacs -Q -batch -eval '(progn (setenv "TZ" "Asia/Kolkata") (print (encode-time 44 42 6 15 2 2015 0 nil 0)))'
What output do you get? Here's what I get on Fedora 21 x86-64, which seems correct:oldtz=Asia/Kolkata tz=XXX-0:00:00 oldTZ=Asia/Kolkata TZ=XXX-0:00:00 2015-02-15 06:42:44 -1 -> 2015-02-15 06:42:44 0 = 1423982564
Assuming you get different output, can you debug Emacs with GDB to send us more details about what's going wrong? If not, can you give me access to a FreeBSD 10.1 amd64 machine like yours?
debug-encode-time.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |