projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd9784a
)
A generally useful hunk from Ilya's microperl patch.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Tue, 12 Aug 2003 10:13:53 +0000
(10:13 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Tue, 12 Aug 2003 10:13:53 +0000
(10:13 +0000)
(If no fcntl F_SETFD, fake it the best we can.)
p4raw-id: //depot/perl@20643
pp_sys.c
patch
|
blob
|
history
diff --git
a/pp_sys.c
b/pp_sys.c
index
910fb14
..
4fb055f
100644
(file)
--- a/
pp_sys.c
+++ b/
pp_sys.c
@@
-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) {