summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorGisle Aas <gisle@aas.no>2009-01-29 21:00:50 +0100
committerGisle Aas <gisle@aas.no>2009-01-29 21:00:50 +0100
commit5dd60a5265f21462970f7a888d7c260ac7002dae (patch)
treedccc7809a3db1563a1c3d1ef0efe7672c0b27df5 /pp_sys.c
parentc9e1d5f9142b619e9cc9f252aa5b68fc13d9627a (diff)
downloadperl-5dd60a5265f21462970f7a888d7c260ac7002dae.tar.gz
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.
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 841392b505..cfbf9182ea 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
}