Win32: simplify internal mingw_spawn* APIs
commit29b61295ce6ce1e87acb0e3415a8b7452307d4b7
authorKarsten Blees <blees@dcon.de>
Fri, 25 Nov 2011 20:33:17 +0000 (25 21:33 +0100)
committerStepan Kasal <kasal@ucw.cz>
Thu, 15 May 2014 07:41:24 +0000 (15 09:41 +0200)
tree90838ce27b9eba8b0da418341f95f3d8330a3f0e
parent510e5db6bf04cf3174e8488b34fe0382440eab50
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