Win32: simplify internal mingw_spawn* APIs
commite26ae52591530de2132799d9326f7583c2ff6ee5
authorKarsten Blees <blees@dcon.de>
Fri, 25 Nov 2011 20:33:17 +0000 (25 21:33 +0100)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Tue, 19 Jun 2012 22:37:28 +0000 (19 23:37 +0100)
treec4e98f270ac1f2c09866c80b614da1b4b8bb5b49
parent295849faa3ce0e9ebf74a7ef5dce098f3ecd393b
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