Win32: patch Windows environment on startup
commitf95e9104be38b814eb2eb381cb17e4f08f66d3de
authorKarsten Blees <blees@dcon.de>
Sun, 15 Jan 2012 01:35:26 +0000 (15 02:35 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 12 May 2012 04:25:50 +0000 (11 23:25 -0500)
treed3c16154b8e84b2af834fee8f1a74cf86982485e
parent3d4dcb2b9444dd3f0584f97d7a42d4e8c62e8f81
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