summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJan Niklas Hasse <jhasse@bixense.com>2021-06-10 19:25:04 (GMT)
committerJan Niklas Hasse <jhasse@bixense.com>2021-06-10 19:25:45 (GMT)
commit0843ae874643a39a42a11a91d1fbb72c93d43d9b (patch)
tree59008d9349edf4482cff9055618d42aa1f01f737 /src
parent8fa4d05fea5140f80ff5f4629d19c6ce0d6f5cca (diff)
downloadNinja-0843ae874643a39a42a11a91d1fbb72c93d43d9b.zip
Ninja-0843ae874643a39a42a11a91d1fbb72c93d43d9b.tar.gz
Ninja-0843ae874643a39a42a11a91d1fbb72c93d43d9b.tar.bz2
Put Info output back on stdout instead of stderr
See comment in #1899. Also adds two tests to output_test.py which check this behaviour by relying on Python's suprocess.check_output not piping stderr.
Diffstat (limited to 'src')
-rw-r--r--src/util.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util.cc b/src/util.cc
index b40a636..f34656c 100644
--- a/src/util.cc
+++ b/src/util.cc
@@ -105,9 +105,9 @@ void Error(const char* msg, ...) {
}
void Info(const char* msg, va_list ap) {
- fprintf(stderr, "ninja: ");
- vfprintf(stderr, msg, ap);
- fprintf(stderr, "\n");
+ fprintf(stdout, "ninja: ");
+ vfprintf(stdout, msg, ap);
+ fprintf(stdout, "\n");
}
void Info(const char* msg, ...) {