Win32: simplify internal mingw_spawn* APIs
commit99553ba266363a771b2e21f4e90a8f7ea5bfb250
authorKarsten Blees <blees@dcon.de>
Fri, 25 Nov 2011 20:33:17 +0000 (25 21:33 +0100)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Mon, 22 Oct 2012 12:30:40 +0000 (22 13:30 +0100)
tree812c2c783169970857fdab391d9c866eb2689ec3
parent2967b140187c42c59cf4f1c5bbdaca5cf8c984be
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