diff options
author | Brad King <brad.king@kitware.com> | 2004-01-21 20:55:47 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2004-01-21 20:55:47 (GMT) |
commit | f86424414f669650066c7936fd6e9b93fe2f2929 (patch) | |
tree | a3e46d2497ef659ef30852f9278e3f010c4dc8f0 /Source/cmSystemTools.cxx | |
parent | 802cc383443d01890a3da18095b426e6ad758a4c (diff) | |
download | CMake-f86424414f669650066c7936fd6e9b93fe2f2929.zip CMake-f86424414f669650066c7936fd6e9b93fe2f2929.tar.gz CMake-f86424414f669650066c7936fd6e9b93fe2f2929.tar.bz2 |
BUG: ::Stdout method should flush cout after writing data.
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r-- | Source/cmSystemTools.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index a94f223..9f0ea3d 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -238,7 +238,7 @@ void cmSystemTools::Stdout(const char* s) else { std::cout << s; - std::cout << std::flush; + std::cout.flush(); } } @@ -251,6 +251,7 @@ void cmSystemTools::Stdout(const char* s, int length) else { std::cout.write(s, length); + std::cout.flush(); } } |