Win32: patch Windows environment on startup
commit29a3963484d3ee943a0b3cc7f5e4eb355b562826
authorKarsten Blees <blees@dcon.de>
Sun, 15 Jan 2012 01:35:26 +0000 (15 02:35 +0100)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Mon, 22 Oct 2012 12:30:51 +0000 (22 13:30 +0100)
treeaf9992639d6a5671341459d244998c6dfa98aef0
parent0b45507857769183be752d5beb297aaee1bad9aa
Win32: patch Windows environment on startup

Fix Windows specific environment settings on startup rather than checking
for special values on every getenv call.

As a side effect, this makes the patched environment (i.e. with properly
initialized TMPDIR and TERM) available to child processes.

Signed-off-by: Karsten Blees <blees@dcon.de>
compat/mingw.c