Win32: simplify internal mingw_spawn* APIs
commit7ef917e50b0b2cba478169712ad144f53d204276
authorKarsten Blees <blees@dcon.de>
Fri, 25 Nov 2011 20:33:17 +0000 (25 21:33 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 14 Feb 2012 20:04:01 +0000 (14 14:04 -0600)
tree616d16b8dd0827d538ca0a2539edff0f20ff1a82
parenta809fe2176d6aebc2e876a27b815d44b2ced88cc
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