emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Configure test for whether localtime caches TZ


From: Ken Brown
Subject: Re: Configure test for whether localtime caches TZ
Date: Sun, 31 Oct 2010 19:25:29 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.11) Gecko/20101013 Thunderbird/3.1.5

On 10/31/2010 2:30 PM, Glenn Morris wrote:
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.

It should be more portable than the existing code. I've checked it into the trunk.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]