Win32: simplify internal mingw_spawn* APIs
commit46d744a2e9302affa094d0dfe79941f943ac9616
authorKarsten Blees <blees@dcon.de>
Fri, 25 Nov 2011 20:33:17 +0000 (25 21:33 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 12 May 2012 04:25:50 +0000 (11 23:25 -0500)
tree7aa024646a9d9bbed7c68b398ace91268e658b26
parent4cfe819e809baa79168d2177f5c1d32690ac91e2
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