Add MinGW-specific execv() override.
commit6ddc4d9fb21bc826b929edfb0c8413ea74cb913b
authorEric Sunshine <sunshine@sunshineco.com>
Mon, 27 Sep 2010 11:02:17 +0000 (27 07:02 -0400)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Fri, 1 Oct 2010 22:32:29 +0000 (1 23:32 +0100)
treeadebec7a24ba593c869a4ebc7e1ae91eeae4da7e
parent92d45630cc11203d2a62be7755a9c7ec92ec0c56
Add MinGW-specific execv() override.

As of 2dbc887e, shell.c employs execv(), so provide a MinGW-specific
mingw_execv() override, complementing existing mingw_execvp() and
cousins.

As a bonus, this also resolves a compilation warning due to an
execv() prototype mismatch between Linux and MinGW. Linux expects
the second argument to be (char *const *), whereas MinGW expects
(const char *const *).

Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
compat/mingw.c
compat/mingw.h