Win32: patch Windows environment on startupkb/unicode-v13
commit756ac464c326237dd59c8348ce072b9d76fd998e
authorKarsten Blees <blees@dcon.de>
Fri, 25 Nov 2011 20:36:09 +0000 (25 21:36 +0100)
committerKarsten Blees <blees@dcon.de>
Thu, 1 Dec 2011 14:58:02 +0000 (1 15:58 +0100)
treef26aed6db8dba597046e5107597b03eb0ebafdd0
parent37d2265b15bebcf7151cd5dd3c5dbb8a9cefa6bc
Win32: patch Windows environment 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