summaryrefslogtreecommitdiff
path: root/doio.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 /doio.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 'doio.c')
-rw-r--r--doio.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/doio.c b/doio.c
index c2867fb977..3a270db332 100644
--- a/doio.c
+++ b/doio.c
@@ -1473,13 +1473,7 @@ Perl_do_execfree(pTHX)
PL_Cmd = Nullch;
}
-#if !defined(OS2) && !defined(WIN32) && !defined(DJGPP) && !defined(EPOC) && !defined(__SYMBIAN32__) && !defined(MACOS_TRADITIONAL)
-
-bool
-Perl_do_exec(pTHX_ const char *cmd)
-{
- return do_exec3(cmd,0,0);
-}
+#ifdef PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION
bool
Perl_do_exec3(pTHX_ const char *incmd, int fd, int do_report)