diff options
author | Brad King <brad.king@kitware.com> | 2005-11-16 16:39:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-11-16 16:39:43 (GMT) |
commit | e3876623f67f59050cd432437ed0ce86533ef507 (patch) | |
tree | 6c486b35e1483b6c2c897747782c2cfad03f1ec6 /Source/kwsys/ProcessUNIX.c | |
parent | 5dae3d67f49099b77ba88d1c6739baea842ce4ad (diff) | |
download | CMake-e3876623f67f59050cd432437ed0ce86533ef507.zip CMake-e3876623f67f59050cd432437ed0ce86533ef507.tar.gz CMake-e3876623f67f59050cd432437ed0ce86533ef507.tar.bz2 |
STYLE: Documented reference to "man select_tut".
Diffstat (limited to 'Source/kwsys/ProcessUNIX.c')
-rw-r--r-- | Source/kwsys/ProcessUNIX.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/kwsys/ProcessUNIX.c b/Source/kwsys/ProcessUNIX.c index f07d8ee..4380b24 100644 --- a/Source/kwsys/ProcessUNIX.c +++ b/Source/kwsys/ProcessUNIX.c @@ -803,7 +803,9 @@ int kwsysProcess_WaitForData(kwsysProcess* cp, char** data, int* length, while(cp->PipesLeft > 0) { /* Check for any open pipes with data reported ready by the last - call to select. */ + call to select. According to "man select_tut" we must deal + with all descriptors reported by a call to select before + passing them to another select call. */ for(i=0; i < KWSYSPE_PIPE_COUNT; ++i) { if(cp->PipeReadEnds[i] >= 0 && |