Win32: patch Windows environment on startup
commit71a6de371920bbd3d38b4236c414d71d6f910feb
authorKarsten Blees <blees@dcon.de>
Sun, 15 Jan 2012 01:35:26 +0000 (15 02:35 +0100)
committerStepan Kasal <kasal@ucw.cz>
Wed, 16 Apr 2014 14:31:36 +0000 (16 16:31 +0200)
tree9979c080bac68629d91d186b9da32b935e993933
parent71def2147530b89667844d370cec0decf25a873d
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