summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 852c7e7..bf57b5c 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -1434,9 +1434,8 @@ bool WindowsRunCommand(const char* command, const char* dir,
ReadFile(read_stdout,buf,1023,&bread,NULL);
//read the stdout pipe
- std::cout << buf << std::flush;
memset(buf, 0, sizeof(buf));
-
+ std::cout << buf << std::flush;
}
}