Win32: simplify internal mingw_spawn* APIs
commitd3a03849907a89bf569337b023a38b4f1b520e67
authorKarsten Blees <blees@dcon.de>
Fri, 25 Nov 2011 20:33:17 +0000 (25 21:33 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 20 May 2012 23:45:38 +0000 (20 17:45 -0600)
treefe48ca17253b2d4cf5a3181229ce9ae6e71b92b4
parentabf166ad2e64ac4749ce5441c0cb50b37205f7fc
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