Win32: simplify internal mingw_spawn* APIs
commitc2be675523211a11c3f3bff62516a0e1fe79df3c
authorKarsten Blees <blees@dcon.de>
Fri, 25 Nov 2011 20:33:17 +0000 (25 21:33 +0100)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Thu, 5 Dec 2013 23:19:46 +0000 (5 23:19 +0000)
tree311b04081cde174bcda3ff1454e384cd883cc15f
parent867ef8ccfff555101106aae95c78ec45a179ff2f
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