BUG: ::Stdout method should flush cout after writing data.

This commit is contained in:
Brad King 2004-01-21 15:55:47 -05:00
parent 802cc38344
commit f86424414f
1 changed files with 2 additions and 1 deletions

View File

@ -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();
}
}