Change 20643 by [EMAIL PROTECTED] on 2003/08/12 10:13:53
A generally useful hunk from Ilya's microperl patch.
(If no fcntl F_SETFD, fake it the best we can.)
Affected files ...
... //depot/perl/pp_sys.c#348 edit
Differences ...
==== //depot/perl/pp_sys.c#348 (text) ====
Index: perl/pp_sys.c
--- perl/pp_sys.c#347~20630~ Tue Aug 12 00:59:22 2003
+++ perl/pp_sys.c Tue Aug 12 03:13:53 2003
@@ -4138,6 +4138,8 @@
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) {
End of Patch.