Subject: bug#13939: 24.3; Emacs 24.3 release won't compile on Windows with the msvc toolchain

From: Eli Zaretskii <[email-masked]>
Date: Thu, 14 Mar 2013 20:06:45 +0200

> From: Fabrice Popineau <[email-masked]>
> Date: Thu, 14 Mar 2013 16:13:09 +0100
> Cc: 李丁 <[email-masked]>, 13939 <[email-masked]>
> 
> I can confirm that with GC_MARK_STACK=0, 24.3 does compile with the MS
> compiler.
> With GC_MARK_STACK=1, 24.3 doesn't compile, but the current trunk (well, my
> copy, but which is quite close) does compile, 32bits and 64bits.

Can you copy to 24.3 the changes made on trunk (in
editfns.c:set_time_zone_rule) to use putenv and unsetenv instead of
reallocating entries in 'environ', and see if that solves the problem
in 24.3?  In addition to the changes in editfns.c, you will also need
sys_putenv and unsetenv on w32.c.

TIA