From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: Configure test for whether localtime caches TZ Date: Sun, 31 Oct 2010 14:30:34 -0400 Message-ID: References: <4CCC63EC.7050604@cornell.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1288549849 30191 80.91.229.12 (31 Oct 2010 18:30:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 31 Oct 2010 18:30:49 +0000 (UTC) Cc: Emacs To: Ken Brown Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 31 19:30:44 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PCcfz-00058V-Ls for ged-emacs-devel@m.gmane.org; Sun, 31 Oct 2010 19:30:43 +0100 Original-Received: from localhost ([127.0.0.1]:56828 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PCcfy-00062f-Tx for ged-emacs-devel@m.gmane.org; Sun, 31 Oct 2010 14:30:42 -0400 Original-Received: from [140.186.70.92] (port=33128 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PCcft-00062a-5Y for emacs-devel@gnu.org; Sun, 31 Oct 2010 14:30:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PCcfr-0004oc-Vg for emacs-devel@gnu.org; Sun, 31 Oct 2010 14:30:37 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:45119) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PCcfr-0004oW-T3 for emacs-devel@gnu.org; Sun, 31 Oct 2010 14:30:35 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1PCcfq-0006hK-Ak; Sun, 31 Oct 2010 14:30:34 -0400 X-Spook: cryptographic sniper Centro Zachawi Fortezza UFO condor X-Ran: lx36)IUVY)Y\s3&0`N'ZnA9>,6v.md-f}_y5>.OJs?SWn51h14cs~YO)d.tY"^jAo(}U}K X-Hue: blue X-Attribution: GM In-Reply-To: <4CCC63EC.7050604@cornell.edu> (Ken Brown's message of "Sat\, 30 Oct 2010 14\:29\:00 -0400") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:132219 Archived-At: Ken Brown wrote: > The configure test for whether localtime caches TZ directly modifies > the environment and so (according to POSIX) might produce unreliable > results. Wouldn't it be better to use unsetenv, as in the following > patch (against the emacs-23 branch): Seems better, assuming it is portable. Not worth putting in emacs-23 IMO though, since the current code has been there for decades with no (?) reported problems.