[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Setting TZ in set_time_zone_rule
From: |
Eli Zaretskii |
Subject: |
Setting TZ in set_time_zone_rule |
Date: |
Wed, 28 Nov 2012 20:12:44 +0200 |
Is there a good reason why we don't use 'putenv' in
set_time_zone_rule, and instead manipulate 'environ' directly?
Fabrice (CC'ed) reported that this causes crashes in Emacs compiled by
MSVC on Windows, because xmalloc on Windows allocates memory from a
different heap than what's used by the runtime library for 'environ'.
But even without that problem, it looks like we go out of our way to
solve a problem that is long solved by a standard library function.
What am I missing?
- Setting TZ in set_time_zone_rule,
Eli Zaretskii <=
- Re: Setting TZ in set_time_zone_rule, Paul Eggert, 2012/11/28
- Re: Setting TZ in set_time_zone_rule, Andreas Schwab, 2012/11/28
- Re: Setting TZ in set_time_zone_rule, Paul Eggert, 2012/11/28
- Re: Setting TZ in set_time_zone_rule, Eli Zaretskii, 2012/11/28
- Re: Setting TZ in set_time_zone_rule, Paul Eggert, 2012/11/29
- Re: Setting TZ in set_time_zone_rule, Eli Zaretskii, 2012/11/30
- Re: Setting TZ in set_time_zone_rule, Fabrice Popineau, 2012/11/30
- Re: Setting TZ in set_time_zone_rule, Eli Zaretskii, 2012/11/30
- Re: Setting TZ in set_time_zone_rule, Paul Eggert, 2012/11/30
- Re: Setting TZ in set_time_zone_rule, Eli Zaretskii, 2012/11/30