Win32: patch Windows environment on startup
commita619eba901a9955e180a7c61e6d8e883886ea491
authorKarsten Blees <blees@dcon.de>
Sun, 15 Jan 2012 01:35:26 +0000 (15 02:35 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 5 Jun 2012 18:44:20 +0000 (5 13:44 -0500)
treec85821137c0c4475d2ecb3f364f488e8616f7562
parent6664e3410b0dfea914a69741a1635cf2f32da0c3
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