Win32: simplify internal mingw_spawn* APIs
commit10d7d84195a36c6851da0ea30d975cf2f3e3ed7a
authorKarsten Blees <blees@dcon.de>
Fri, 25 Nov 2011 20:33:17 +0000 (25 21:33 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 27 Dec 2013 16:04:53 +0000 (27 10:04 -0600)
treefc963d83f8fdcd43496e609aaa1914c4fedae8ed
parent2dc0aac01b7a0847e0005c248540739c38df4b6f
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