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 <eliz@gnu.org>
> Date: Thu, 29 Nov 2012 13:39:24 -0800
> From: Paul Eggert <eggert@cs.ucla.edu>
> CC: fabrice.popineau@gmail.com, schwab@linux-m68k.org,
>  emacs-devel@gnu.org
>
> 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'?