diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-08-12 10:13:53 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-08-12 10:13:53 +0000 |
commit | e8e8ee84602fa907e807fa80c12689426f70adc6 (patch) | |
tree | 5b8d559ec0c2ffa6ad3c7a1af87b474c77c6d12b /pp_sys.c | |
parent | fd9784a1ca62fbb854a3338c1d775fba4fc0f385 (diff) | |
download | perl-e8e8ee84602fa907e807fa80c12689426f70adc6.tar.gz |
A generally useful hunk from Ilya's microperl patch.
(If no fcntl F_SETFD, fake it the best we can.)
p4raw-id: //depot/perl@20643
Diffstat (limited to 'pp_sys.c')
-rw-r--r-- | pp_sys.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -4138,6 +4138,8 @@ PP(pp_system) PerlLIO_close(pp[0]); #if defined(HAS_FCNTL) && defined(F_SETFD) fcntl(pp[1], F_SETFD, FD_CLOEXEC); +#else + PerlLIO_close(pp[1]); /* Do as best as we can: pretend success. */ #endif } if (PL_op->op_flags & OPf_STACKED) { |