summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Collingbourne <pcc@google.com>2017-07-05 23:53:45 (GMT)
committerPeter Collingbourne <pcc@google.com>2017-07-05 23:57:11 (GMT)
commite237f1b5a19fcd3f34f580b106e09c8026b434a6 (patch)
treee5e6075d94f3b1b81df62e437f931210968f8594
parent7bbc708ff08f5660f4cff4b3e8c675bec428a1f2 (diff)
downloadNinja-e237f1b5a19fcd3f34f580b106e09c8026b434a6.zip
Ninja-e237f1b5a19fcd3f34f580b106e09c8026b434a6.tar.gz
Ninja-e237f1b5a19fcd3f34f580b106e09c8026b434a6.tar.bz2
Flush stdout after printing "Cleaning..." message
-rw-r--r--src/clean.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/clean.cc b/src/clean.cc
index 1d6ba9e..44b8a80 100644
--- a/src/clean.cc
+++ b/src/clean.cc
@@ -101,6 +101,7 @@ void Cleaner::PrintHeader() {
printf("\n");
else
printf(" ");
+ fflush(stdout);
}
void Cleaner::PrintFooter() {