[Top][All Lists]

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

Re: Setting TZ in set_time_zone_rule

From: Paul Eggert
Subject: Re: Setting TZ in set_time_zone_rule
Date: Fri, 30 Nov 2012 10:22:35 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

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.

>> > 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?

reply via email to

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