unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Setting TZ in set_time_zone_rule
@ 2012-11-28 18:12 Eli Zaretskii
  2012-11-28 20:21 ` Paul Eggert
  0 siblings, 1 reply; 12+ messages in thread
From: Eli Zaretskii @ 2012-11-28 18:12 UTC (permalink / raw)
  To: emacs-devel; +Cc: Fabrice Popineau

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?



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-11-30 20:47 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-28 18:12 Setting TZ in set_time_zone_rule Eli Zaretskii
2012-11-28 20:21 ` Paul Eggert
2012-11-28 21:24   ` Andreas Schwab
2012-11-29  1:21     ` Paul Eggert
2012-11-29  3:44       ` Eli Zaretskii
2012-11-29 21:39         ` Paul Eggert
2012-11-30  9:08           ` Eli Zaretskii
2012-11-30  9:26             ` Fabrice Popineau
2012-11-30 10:02               ` Eli Zaretskii
2012-11-30 18:22                 ` Paul Eggert
2012-11-30 18:52                   ` Eli Zaretskii
2012-11-30 20:47                     ` Paul Eggert

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).