Win32: patch Windows environment on startup
commit821871501408d2370a86b88d55cd36cf013b9871
authorKarsten Blees <blees@dcon.de>
Sun, 15 Jan 2012 01:35:26 +0000 (15 02:35 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 20 May 2012 23:45:40 +0000 (20 17:45 -0600)
treead4bc88b3b675cfa697e6af40335a15ea29195cd
parent9e51430b35cf06e3621f427eb9cc38bf13e8082c
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