Win32: simplify internal mingw_spawn* APIs
commit1cf7b8fd3a64d458411ac5835cf5d1458ba5ff68
authorKarsten Blees <blees@dcon.de>
Fri, 25 Nov 2011 20:33:17 +0000 (25 21:33 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 5 Jun 2012 18:44:20 +0000 (5 13:44 -0500)
tree450d194a937cba1c444aa347ce9fee6d6a7b292b
parent98af434e29a404af3e7a194e64608ccfa716b22b
Win32: simplify internal mingw_spawn* APIs

The only public spawn function that needs to tweak the environment is
mingw_spawnvpe (called from start_command). Nevertheless, all internal
spawn* functions take an env parameter and needlessly pass the global
char **environ around. Remove the env parameter where it's not needed.

This removes the internal mingw_execve abstraction, which is no longer
needed.

Signed-off-by: Karsten Blees <blees@dcon.de>
compat/mingw.c