From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Wolfgang Jenkner Newsgroups: gmane.emacs.bugs Subject: bug#19874: 25.0.50; encode-time not working as expected Date: Fri, 27 Feb 2015 01:16:15 +0100 Message-ID: <85lhjkryy8.fsf@iznogoud.viz> References: <54EE0959.5080901@cs.ucla.edu> <86sidta5ak.fsf@chateau.d.if> <54EED638.8070604@cs.ucla.edu> <85385s94c9.fsf@iznogoud.viz> <54EF5ECD.2030909@cs.ucla.edu> <85mw405whp.fsf@iznogoud.viz> <86a900sbix.fsf@chateau.d.if> <85ioeo5tgf.fsf@iznogoud.viz> <8661aos5ui.fsf@chateau.d.if> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1424996242 856 80.91.229.3 (27 Feb 2015 00:17:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Feb 2015 00:17:22 +0000 (UTC) Cc: Paul Eggert , 19874@debbugs.gnu.org To: ashish.is@lostca.se (Ashish SHUKLA) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 27 01:17:11 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YR8cA-0006WY-W9 for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Feb 2015 01:17:11 +0100 Original-Received: from localhost ([::1]:33273 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YR8cA-0002xC-56 for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Feb 2015 19:17:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37592) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YR8c5-0002pE-SZ for bug-gnu-emacs@gnu.org; Thu, 26 Feb 2015 19:17:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YR8c2-0005aX-LT for bug-gnu-emacs@gnu.org; Thu, 26 Feb 2015 19:17:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55479) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YR8c2-0005aR-Ic for bug-gnu-emacs@gnu.org; Thu, 26 Feb 2015 19:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YR8c2-0006C6-90 for bug-gnu-emacs@gnu.org; Thu, 26 Feb 2015 19:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Wolfgang Jenkner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Feb 2015 00:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19874 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19874-submit@debbugs.gnu.org id=B19874.142499618623763 (code B ref 19874); Fri, 27 Feb 2015 00:17:02 +0000 Original-Received: (at 19874) by debbugs.gnu.org; 27 Feb 2015 00:16:26 +0000 Original-Received: from localhost ([127.0.0.1]:59076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YR8bR-0006BC-Qb for submit@debbugs.gnu.org; Thu, 26 Feb 2015 19:16:26 -0500 Original-Received: from b2bfep15.mx.upcmail.net ([62.179.121.60]:56509) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YR8bO-0006Ax-Sa for 19874@debbugs.gnu.org; Thu, 26 Feb 2015 19:16:24 -0500 Original-Received: from edge12.upcmail.net ([192.168.13.82]) by b2bfep15.mx.upcmail.net (InterMail vM.8.01.05.05 201-2260-151-110-20120111) with ESMTP id <20150227001616.CNUK25126.b2bfep15-int.chello.at@edge12.upcmail.net> for <19874@debbugs.gnu.org>; Fri, 27 Feb 2015 01:16:16 +0100 Original-Received: from iznogoud.viz ([91.119.99.97]) by edge12.upcmail.net with edge id xCGF1p00j264PVX0CCGFPX; Fri, 27 Feb 2015 01:16:16 +0100 X-SourceIP: 91.119.99.97 Original-Received: from wolfgang by iznogoud.viz with local (Exim 4.84 (FreeBSD)) (envelope-from ) id 1YR8bH-0000uF-AH; Fri, 27 Feb 2015 01:16:15 +0100 In-Reply-To: <8661aos5ui.fsf@chateau.d.if> (Ashish SHUKLA's message of "Fri, 27 Feb 2015 03:17:17 +0530") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (berkeley-unix) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:99852 Archived-At: On Fri, Feb 27 2015, Ashish SHUKLA wrote: > On Thu, 26 Feb 2015 21:05:52 +0100, Wolfgang Jenkner said: > | On Fri, Feb 27 2015, Ashish SHUKLA wrote: > > || | (encode-time 44 42 6 15 2 2015 0 nil 0) > || | => (21728 16356) > || > || In interactive mode ? In interactive-mode it's broken for me, in batch mode it > || works fine. > > | Yes, it gives the same result as above in both ways for me. > > Very strange. FTR, following is output of `uname -a`: > > FreeBSD chateau.d.if 10.1-RELEASE-p6 FreeBSD 10.1-RELEASE-p6 #0 r279268: Wed Feb 25 12:37:13 IST 2015 root@chateau.d.if:/wrksrc/usr/src/sys/CHATEAU amd64 My 10-STABLE version is actually a month or so older than 10.1-RELEASE (which was announced on 14 Nov 2014): FreeBSD iznogoud.viz 10.1-RC1 FreeBSD 10.1-RC1 #0 r272822M: Thu Oct 9 19:45:54 CEST 2014 adm@iznogoud.viz:/usr/obj/usr/src/sys/IZNOGOUD amd64 Here's the output of `svn info' (I haven't updated since I compiled base and kernel): Path: . Working Copy Root Path: /usr/src URL: svn://svn0.eu.freebsd.org/base/stable/10 Relative URL: ^/stable/10 Repository Root: svn://svn0.eu.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 272822 Node Kind: directory Schedule: normal Last Changed Author: mav Last Changed Rev: 272798 Last Changed Date: 2014-10-09 07:28:11 +0200 (Thu, 09 Oct 2014) > and /etc/localtime points to the file in /usr/share/zoneinfo, and no TZ > environment variable is set, in my case. In my case, /etc/localtime is a copy of the file in /usr/share/zoneinfo. IIUC, `mergemaster -i' is supposed to automatically run `tzsetup -r' to update /etc/localtime from /var/db/zoneinfo. I have no TZ in the environment. $ ls -li /etc/localtime /usr/share/zoneinfo/Europe/Vienna 211986 -r--r--r-- 1 root wheel 2211 Oct 9 20:42 /etc/localtime 7892691 -r--r--r-- 1 root wheel 2211 Oct 9 20:36 /usr/share/zoneinfo/Europe/Vienna $ cmp /etc/localtime /usr/share/zoneinfo/Europe/Vienna $ echo $? 0 $ cat /var/db/zoneinfo Europe/Vienna $ printenv | grep TZ $ echo $? 1