Win32: patch Windows environment on startup
commit84b79692651823279f252e2721eba428afc8fed4
authorKarsten Blees <blees@dcon.de>
Sun, 15 Jan 2012 01:35:26 +0000 (15 02:35 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 10 May 2014 21:56:32 +0000 (10 16:56 -0500)
tree953a6839e1ff511d3df87d454f66866c3e78ade1
parentc614600ec49e542ed8742d5a29864402d1f2c8ab
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