summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-08-12 13:15:17 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-08-12 13:15:17 +0000
commit54fe902f9886cc8f30bf23406997db45be0fb8d6 (patch)
treec6ee3df35c2b0d6029ef56d9b3103c6276df0f8b /pp_sys.c
parent8fd8d6f4c19523f1ce788a39bce2791a00534fad (diff)
downloadperl-54fe902f9886cc8f30bf23406997db45be0fb8d6.tar.gz
Retract #20644 and #20643; on non-microperl non-fcntl
systems Wrong Thing would be done. (And as Sarathy points out, closing both ends of a pipe is rather identical to never opening it...) p4raw-id: //depot/perl@20653
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 25926a2a98..86241faa4b 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -4138,8 +4138,6 @@ 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) {