Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61961 - trunk/tools/jam/src
From: kbelco_at_[hidden]
Date: 2010-05-14 00:06:04


Author: noel_belcourt
Date: 2010-05-14 00:06:03 EDT (Fri, 14 May 2010)
New Revision: 61961
URL: http://svn.boost.org/trac/boost/changeset/61961

Log:
Remove non-blocking on child's pipe file descriptors.

Dan Gohman asked that we not force child's pipe file
descriptors to non-blocking so this commit removes
those fcntls calls. I tested this change on Darwin,
Linux and Solaris and saw no adverse impact to nightly
build behavior.

Text files modified:
   trunk/tools/jam/src/execunix.c | 4 ----
   1 files changed, 0 insertions(+), 4 deletions(-)

Modified: trunk/tools/jam/src/execunix.c
==============================================================================
--- trunk/tools/jam/src/execunix.c (original)
+++ trunk/tools/jam/src/execunix.c 2010-05-14 00:06:03 EDT (Fri, 14 May 2010)
@@ -190,13 +190,9 @@
     {
         if ( pipe( out ) < 0 )
             exit( EXITBAD );
- fcntl( out[0], F_SETFL, O_NONBLOCK );
- fcntl( out[1], F_SETFL, O_NONBLOCK );
 
         if ( pipe( err ) < 0 )
             exit( EXITBAD );
- fcntl( err[0], F_SETFL, O_NONBLOCK );
- fcntl( err[1], F_SETFL, O_NONBLOCK );
     }
 
     /* Start the command */


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk