Fix timezone-related functions on MS-Windows
commit285260fce84c945acb588a7c70d3df5d8271f586
authorEli Zaretskii <eliz@gnu.org>
Thu, 4 Jun 2015 15:28:29 +0000 (4 18:28 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 4 Jun 2015 15:28:29 +0000 (4 18:28 +0300)
treee88e99bcbd6cf723c2fa5ba32f627c01b6f15248
parentadc7d9e89c8fc3bda483b2b543d7774e8fde1bac
Fix timezone-related functions on MS-Windows

* src/editfns.c (set_time_zone_rule) [WINDOWSNT]: Always call
'xputenv', even if no reallocation of tzvalbuf was necessary.
This fixes a bug in timezone-related functions on MS-Windows.
Reported by Fabrice Popineau <fabrice.popineau@gmail.com>.
src/editfns.c