Win32: simplify internal mingw_spawn* APIs
commit386413c4a2d5cde2f7d81cebd817de5eecd41364
authorKarsten Blees <blees@dcon.de>
Fri, 25 Nov 2011 20:33:17 +0000 (25 21:33 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 13 Mar 2012 05:47:56 +0000 (13 00:47 -0500)
tree6796cee42acb0e0cff118016240702a0288e0af4
parent08353ef24c1597b447428b3265c746ebe6179a40
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