do_exec() is a mathom, so call its replacement directly
Gisle Aas [Thu, 29 Jan 2009 15:21:48 +0000 (16:21 +0100)]
pp_sys.c

index cfbf918..841392b 100644 (file)
--- 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_exec(SvPVx_nolen(sv_mortalcopy(*SP)));
+       value = (I32)do_exec3(SvPVx_nolen(sv_mortalcopy(*SP)), 0, 0);
 #  endif
 #endif
     }