summaryrefslogtreecommitdiffstats
path: root/src/build.cc
diff options
context:
space:
mode:
authorJan Niklas Hasse <jhasse@bixense.com>2018-11-05 17:51:08 (GMT)
committerJan Niklas Hasse <jhasse@bixense.com>2018-11-05 17:51:08 (GMT)
commit4baea2b826aa5fd356a1f90fef7a7e4a40b4d0b1 (patch)
tree367859a94c67c245b0d08c4e1f0d94ed0feb2748 /src/build.cc
parent775c8e89ef6cae7b95a0cb8ccf48b990f4d9bc45 (diff)
downloadNinja-4baea2b826aa5fd356a1f90fef7a7e4a40b4d0b1.zip
Ninja-4baea2b826aa5fd356a1f90fef7a7e4a40b4d0b1.tar.gz
Ninja-4baea2b826aa5fd356a1f90fef7a7e4a40b4d0b1.tar.bz2
Revert "Fix confusing smart console output from concurrent builds"
This reverts commit 52c1d0c8f8545231581c4d51cb0a85f50564c415. Fixes #1418.
Diffstat (limited to 'src/build.cc')
-rw-r--r--src/build.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/build.cc b/src/build.cc
index 9852a50..6b33024 100644
--- a/src/build.cc
+++ b/src/build.cc
@@ -16,7 +16,6 @@
#include <assert.h>
#include <errno.h>
-#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <functional>
@@ -131,18 +130,6 @@ void BuildStatus::BuildEdgeFinished(Edge* edge,
if (!edge->use_console())
PrintStatus(edge, kEdgeFinished);
- if (printer_.is_smart_terminal()) {
- int oldest_start = INT_MAX;
- Edge* oldest = NULL;
- for (i = running_edges_.begin(); i != running_edges_.end(); i++) {
- if (i->second < oldest_start) {
- oldest_start = i->second;
- oldest = i->first;
- }
- }
- if (oldest)
- PrintStatus(oldest, kEdgeRunning);
- }
// Print the command that is spewing before printing its output.
if (!success) {