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: Fri, 27 Feb 2015 08:41:06 -0800 Organization: UCLA Computer Science Department Message-ID: <54F09E22.4000603@cs.ucla.edu> 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> <85h9u8rrsb.fsf@iznogoud.viz> <864mq8ar1g.fsf@chateau.d.if> <54F010E7.3040900@cs.ucla.edu> <86twy77o85.fsf@chateau.d.if> 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 1425055342 13095 80.91.229.3 (27 Feb 2015 16:42:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Feb 2015 16:42:22 +0000 (UTC) Cc: Wolfgang Jenkner , 19874-done@debbugs.gnu.org To: Ashish SHUKLA Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 27 17:42: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 1YRNzO-0007hM-GD for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Feb 2015 17:42:10 +0100 Original-Received: from localhost ([::1]:37341 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRNzN-0005cH-I6 for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Feb 2015 11:42:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37559) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRNzJ-0005Rd-Ms for bug-gnu-emacs@gnu.org; Fri, 27 Feb 2015 11:42:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YRNzG-0005g4-BW for bug-gnu-emacs@gnu.org; Fri, 27 Feb 2015 11:42:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56542) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRNzG-0005fz-91 for bug-gnu-emacs@gnu.org; Fri, 27 Feb 2015 11:42:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YRNzF-00070v-VG for bug-gnu-emacs@gnu.org; Fri, 27 Feb 2015 11:42:02 -0500 Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Feb 2015 16:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 19874 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 19874@debbugs.gnu.org, eggert@cs.ucla.edu, ashish.is@lostca.se Original-Received: via spool by 19874-done@debbugs.gnu.org id=D19874.142505527926902 (code D ref 19874); Fri, 27 Feb 2015 16:42:01 +0000 Original-Received: (at 19874-done) by debbugs.gnu.org; 27 Feb 2015 16:41:19 +0000 Original-Received: from localhost ([127.0.0.1]:60138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YRNyZ-0006zq-DV for submit@debbugs.gnu.org; Fri, 27 Feb 2015 11:41:19 -0500 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:53159) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YRNyW-0006zb-Rv for 19874-done@debbugs.gnu.org; Fri, 27 Feb 2015 11:41:17 -0500 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id CC632A6003C; Fri, 27 Feb 2015 08:41:10 -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 dm2vPkkMWkBx; Fri, 27 Feb 2015 08:41:10 -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 1B62239E801F; Fri, 27 Feb 2015 08:41:10 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 In-Reply-To: <86twy77o85.fsf@chateau.d.if> 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:99873 Archived-At: On 02/27/2015 12:28 AM, Ashish SHUKLA wrote: > If your test program is modified a bit: > ... > then it doesn't fail: Sure, but the modified test program has unspecified behavior in POSIX, as there's no guarantee that environ[1] is "abc" (it might be "mno"). Whereas the original test program has well-defined behavior in POSIX, but reports an error because FreeBSD 10.1 getenv is buggy. Anyway, Emacs now works around the FreeBSD bug so I'm closing this Emacs bug report. Thanks for checking the fix.