Win32: patch Windows environment on startup
commit03d7feb7e3aca5172bbfec7d0716081740e8edbc
authorKarsten Blees <blees@dcon.de>
Sun, 15 Jan 2012 01:35:26 +0000 (15 02:35 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 10 Apr 2014 18:52:14 +0000 (10 13:52 -0500)
tree9979c080bac68629d91d186b9da32b935e993933
parent00ffe4586924410d3978d760945b8c0f3e8c29bb
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