From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#19874: 25.0.50; encode-time not working as expected Date: Thu, 26 Feb 2015 09:58:37 -0800 Organization: UCLA Computer Science Department Message-ID: <54EF5ECD.2030909@cs.ucla.edu> References: <54EE0959.5080901@cs.ucla.edu> <86sidta5ak.fsf@chateau.d.if> <54EED638.8070604@cs.ucla.edu> <85385s94c9.fsf@iznogoud.viz> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1424973568 12717 80.91.229.3 (26 Feb 2015 17:59:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Feb 2015 17:59:28 +0000 (UTC) Cc: 19874@debbugs.gnu.org, Ashish SHUKLA To: Wolfgang Jenkner Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 26 18:59:16 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 1YR2iS-0000YX-0r for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Feb 2015 18:59:16 +0100 Original-Received: from localhost ([::1]:60231 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YR2iR-000369-4s for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Feb 2015 12:59:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60139) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YR2iN-00035t-Ky for bug-gnu-emacs@gnu.org; Thu, 26 Feb 2015 12:59:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YR2iE-0002jM-53 for bug-gnu-emacs@gnu.org; Thu, 26 Feb 2015 12:59:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55308) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YR2iE-0002jG-2u for bug-gnu-emacs@gnu.org; Thu, 26 Feb 2015 12:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YR2iD-0001kq-Qp for bug-gnu-emacs@gnu.org; Thu, 26 Feb 2015 12:59:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Feb 2015 17:59:01 +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.14249735306727 (code B ref 19874); Thu, 26 Feb 2015 17:59:01 +0000 Original-Received: (at 19874) by debbugs.gnu.org; 26 Feb 2015 17:58:50 +0000 Original-Received: from localhost ([127.0.0.1]:58906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YR2i2-0001kR-8n for submit@debbugs.gnu.org; Thu, 26 Feb 2015 12:58:50 -0500 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:58826) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YR2i0-0001kB-1g for 19874@debbugs.gnu.org; Thu, 26 Feb 2015 12:58:49 -0500 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 87085A6000C; Thu, 26 Feb 2015 09:58:41 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F13fwyfksIQX; Thu, 26 Feb 2015 09:58:41 -0800 (PST) Original-Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 35A3BA6000A; Thu, 26 Feb 2015 09:58:41 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 In-Reply-To: <85385s94c9.fsf@iznogoud.viz> 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:99845 Archived-At: On 02/26/2015 05:42 AM, Wolfgang Jenkner wrote: >> Is 'configure' setting APPLE_UNIVERSAL_BUILD to 1, or to 0? You can >> >tell by looking for APPLE_UNIVERSAL_BUILD in lib/Makefile. > What has this to do with FreeBSD? > If 'configure' mistakenly set APPLE_UNIVERSAL_BUILD to 1, it would cause 'configure' to guess that mktime was buggy, and I was worried that this would have caused the problem. However, this was a red herring, as you've established that FreeBSD localtime and/or mktime is indeed buggy in this area, so 'configure' appears to be doing the right thing in rejecting FreeBSD mktime. It also appears to be the case that FreeBSD 10.1's implementation of putenv is buggy, and that this is what is breaking Emacs's time code (as Emacs uses putenv to modify the TZ environment variable), but we haven't gotten to the bottom of that yet. I'll try to write a little test program to narrow it down.