diff options
author | Ilya Zakharevich <ilya@math.berkeley.edu> | 1999-07-09 01:21:13 -0400 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-07-17 18:10:44 +0000 |
commit | d5a9bfb0fc8643b1208bad4f15e3c88ef46b4160 (patch) | |
tree | e0ca8ae480c779cf765b24fc29e445524f8fecf2 /perlapi.c | |
parent | 2f96c7027cf9ba783b07d2fd9195877ecc1a4b55 (diff) | |
download | perl-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-x | perlapi.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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) |