From: Evan Martin Date: Tue, 30 Nov 2010 18:02:00 +0000 (-0800) Subject: simplify output X-Git-Tag: release-120715~607 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=34fbf3de0ee40986ff3eeeb4aae3da8ab5d077da;p=platform%2Fupstream%2Fninja.git simplify output --- diff --git a/build.cc b/build.cc index 58bbcfa..fb6715e 100644 --- a/build.cc +++ b/build.cc @@ -124,12 +124,10 @@ Edge* RealCommandRunner::NextFinishedCommand() { if (!subproc) return NULL; - if (!subproc->stdout_.buf_.empty()) { - printf("%d> %s\n", subproc->pid_, subproc->stdout_.buf_.c_str()); - } - if (!subproc->stderr_.buf_.empty()) { - printf("E%d> %s\n", subproc->pid_, subproc->stderr_.buf_.c_str()); - } + if (!subproc->stdout_.buf_.empty()) + printf("%s\n", subproc->stdout_.buf_.c_str()); + if (!subproc->stderr_.buf_.empty()) + printf("%s\n", subproc->stderr_.buf_.c_str()); map::iterator i = subproc_to_edge_.find(subproc); Edge* edge = i->second;