summaryrefslogtreecommitdiffstats
path: root/Source/CPack
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CPack')
-rw-r--r--Source/CPack/cmCPackLog.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackLog.cxx b/Source/CPack/cmCPackLog.cxx
index 4b7d285..bb42dc8 100644
--- a/Source/CPack/cmCPackLog.cxx
+++ b/Source/CPack/cmCPackLog.cxx
@@ -208,10 +208,12 @@ void cmCPackLog::Log(int tag, const char* file, int line, const char* msg, size_
if ( error || warning )
{
m_DefaultError->write(msg, length);
+ m_DefaultError->flush();
}
else
{
m_DefaultOutput->write(msg, length);
+ m_DefaultOutput->flush();
}
if ( msg[length-1] == '\n' || length > 2 )
{