diff options
author | Brad King <brad.king@kitware.com> | 2003-12-05 16:53:17 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-12-05 16:53:17 (GMT) |
commit | ed853b5d70649465370f161b774cf91735a822b3 (patch) | |
tree | 23a96d8eba86efd8aa124fd49ca3319689ba02ae /Source/cmSystemTools.cxx | |
parent | 97b469537bffbedf2cfbc9c58f208b2641b1544a (diff) | |
download | CMake-ed853b5d70649465370f161b774cf91735a822b3.zip CMake-ed853b5d70649465370f161b774cf91735a822b3.tar.gz CMake-ed853b5d70649465370f161b774cf91735a822b3.tar.bz2 |
ENH: Removed pipe selection argument from WaitForData method in kwsysProcess. This greatly simplifies its use.
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r-- | Source/cmSystemTools.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 341348d..8d1640d 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -403,9 +403,7 @@ bool cmSystemTools::RunSingleCommand( std::vector<char> tempOutput; char* data; int length; - while(cmsysProcess_WaitForData(cp, (cmsysProcess_Pipe_STDOUT | - cmsysProcess_Pipe_STDERR), - &data, &length, 0)) + while(cmsysProcess_WaitForData(cp, &data, &length, 0)) { if ( output ) { |