Win32: simplify internal mingw_spawn* APIs
commitfb4f2e25a00c9a159bcb1e30627e6f02d12399ea
authorKarsten Blees <blees@dcon.de>
Fri, 25 Nov 2011 20:33:17 +0000 (25 21:33 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 10 May 2014 21:56:31 +0000 (10 16:56 -0500)
tree90838ce27b9eba8b0da418341f95f3d8330a3f0e
parent1696d8d40a8f51cd153b4a9f4208a0d8b648ab31
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