summaryrefslogtreecommitdiff
path: root/perlapi.c
diff options
context:
space:
mode:
authorIlya Zakharevich <ilya@math.berkeley.edu>1999-07-09 01:21:13 -0400
committerGurusamy Sarathy <gsar@cpan.org>1999-07-17 18:10:44 +0000
commitd5a9bfb0fc8643b1208bad4f15e3c88ef46b4160 (patch)
treee0ca8ae480c779cf765b24fc29e445524f8fecf2 /perlapi.c
parent2f96c7027cf9ba783b07d2fd9195877ecc1a4b55 (diff)
downloadperl-d5a9bfb0fc8643b1208bad4f15e3c88ef46b4160.tar.gz
make system() return -1 and set $! if exec of child failed
Message-ID: <19990709052113.A6201@monk.mps.ohio-state.edu> Subject: [PATCH 5.005_57] system()==-1 and $! from failing fork/exec p4raw-id: //depot/perl@3679
Diffstat (limited to 'perlapi.c')
-rwxr-xr-xperlapi.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/perlapi.c b/perlapi.c
index d3ebc9b3d0..037ad3d77a 100755
--- a/perlapi.c
+++ b/perlapi.c
@@ -682,6 +682,13 @@ Perl_do_aexec(pTHXo_ SV* really, SV** mark, SV** sp)
return ((CPerlObj*)pPerl)->Perl_do_aexec(really, mark, sp);
}
+#undef Perl_do_aexec5
+bool
+Perl_do_aexec5(pTHXo_ SV* really, SV** mark, SV** sp, int fd, int flag)
+{
+ return ((CPerlObj*)pPerl)->Perl_do_aexec5(really, mark, sp, fd, flag);
+}
+
#undef Perl_do_binmode
int
Perl_do_binmode(pTHXo_ PerlIO *fp, int iotype, int flag)