From: Gisle Aas Date: Thu, 29 Jan 2009 20:00:50 +0000 (+0100) Subject: Revert "do_exec() is a mathom, so call its replacement directly" X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5dd60a5265f21462970f7a888d7c260ac7002dae;p=p5sagit%2Fp5-mst-13.2.git Revert "do_exec() is a mathom, so call its replacement directly" The change breaks the build on Windows as this function is really only a mathom when PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION is defined. This reverts commit 06ba78de6df7f363272e855cc63710a634eb6100. --- diff --git a/pp_sys.c b/pp_sys.c index 841392b..cfbf918 100644 --- a/pp_sys.c +++ b/pp_sys.c @@ -4260,7 +4260,7 @@ PP(pp_exec) (void) do_spawn(SvPVx_nolen(sv_mortalcopy(*SP))); value = 0; # else - value = (I32)do_exec3(SvPVx_nolen(sv_mortalcopy(*SP)), 0, 0); + value = (I32)do_exec(SvPVx_nolen(sv_mortalcopy(*SP))); # endif #endif }