summaryrefslogtreecommitdiff
path: root/mathoms.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-10-30 08:23:29 +0000
committerNicholas Clark <nick@ccl4.org>2005-10-30 08:23:29 +0000
commit9555a685dbd794b0e9f549335341b2a3b1ea3da5 (patch)
tree933cd09924b968254d8106493919ea79a1d15676 /mathoms.c
parente4dba78629baadf544a977b8105c4c2d93050b21 (diff)
downloadperl-9555a685dbd794b0e9f549335341b2a3b1ea3da5.tar.gz
Replace do_exec() with a macro to call do_exec3() with the extra two
0 arguments. Move the old body to mathoms.c p4raw-id: //depot/perl@25890
Diffstat (limited to 'mathoms.c')
-rw-r--r--mathoms.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/mathoms.c b/mathoms.c
index eef80f5324..91a170989c 100644
--- a/mathoms.c
+++ b/mathoms.c
@@ -636,6 +636,14 @@ Perl_do_binmode(pTHX_ PerlIO *fp, int iotype, int mode)
return PerlIO_binmode(aTHX_ fp, iotype, mode, name);
}
+#ifdef PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION
+bool
+Perl_do_exec(pTHX_ const char *cmd)
+{
+ return do_exec3(cmd,0,0);
+}
+#endif
+
/*
* Local variables:
* c-indentation-style: bsd