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 a3d0528..fa97447 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 834e284..d1f86ea 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; } |