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: Fabrice Popineau
Subject: Re: Setting TZ in set_time_zone_rule
Date: Fri, 30 Nov 2012 10:26:09 +0100

Do we really need to unsetenv the TZ variable?
I had the impression that we need to set it forth and back,
to change it temporarily.

Also, is unsetenv("TZ") the same as putenv("TZ=") ?

Fabrice


2012/11/30 Eli Zaretskii <address@hidden>
> Date: Thu, 29 Nov 2012 13:39:24 -0800
> From: Paul Eggert <address@hidden>
> CC: address@hidden, address@hidden,
>  address@hidden
>
> On 11/28/12 19:44, Eli Zaretskii wrote:
> > So would it be a problem to use 'setenv' in that function?
>
> I think setenv could be used.  It'd be a tiny bit tricky, though,
> as I expect unsetenv would also need to be used, in some
> cases.

Is 'unsetenv's less wide-spread than 'setenv'?


reply via email to

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