diff options
-rw-r--r-- | src/line_printer.cc | 1 | ||||
-rw-r--r-- | src/ninja.cc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/line_printer.cc b/src/line_printer.cc index 54ba883..12e82b3 100644 --- a/src/line_printer.cc +++ b/src/line_printer.cc @@ -118,6 +118,7 @@ void LinePrinter::Print(string to_print, LineType type) { have_blank_line_ = false; } else { printf("%s\n", to_print.c_str()); + fflush(stdout); } } diff --git a/src/ninja.cc b/src/ninja.cc index 9ae53de..887d89f 100644 --- a/src/ninja.cc +++ b/src/ninja.cc @@ -672,6 +672,7 @@ int NinjaMain::ToolRules(const Options* options, int argc, char* argv[]) { } } printf("\n"); + fflush(stdout); } return 0; } |