emacs-devel
[Top][All Lists]
Advanced

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

Re: Setting TZ in set_time_zone_rule


From: Eli Zaretskii
Subject: Re: Setting TZ in set_time_zone_rule
Date: Fri, 30 Nov 2012 20:52:39 +0200

> Date: Fri, 30 Nov 2012 10:22:35 -0800
> From: Paul Eggert <address@hidden>
> CC: Fabrice Popineau <address@hidden>, address@hidden, 
>  address@hidden
> 
> On 11/30/12 02:02, Eli Zaretskii wrote:
> > Paul, can you point out where would 'unsetenv' be needed,
> > and why?
> 
> set_time_zone_rule (0) needs to unset TZ.

Do we ever call it that way?

> >> > Also, is unsetenv("TZ") the same as putenv("TZ=") ?
> > Yes.
> 
> Doesn't the former unset TZ, and the latter set TZ to the empty string?

The implementation I saw unset TZ in both cases.



reply via email to

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