diff options
author | Eli Zaretskii <eliz@gnu.org> | 2013-05-11 17:42:56 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2013-05-11 17:42:56 +0300 |
commit | 5367d393ddb36fc8b3f358418d5c9f2b9f01d2fe (patch) | |
tree | d2d4cc2b1eb8dbaf3a03b121936eba657960a829 /job.c | |
parent | f0529dacedf7da83f8d5107a8ca7d73f35560894 (diff) | |
download | gunmake-5367d393ddb36fc8b3f358418d5c9f2b9f01d2fe.tar.gz |
Avoid printing stdout and stderr messages without a newline between them.
job.c (child_out): Output the newline following the message
before fllush-ing the stream. Avoids displaying the following
failure message, which goes to stderr, on the same line.
Diffstat (limited to 'job.c')
-rw-r--r-- | job.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -503,8 +503,8 @@ child_out (const struct child *child, const char *msg, int out) { FILE *f = out ? stdout : stderr; fputs (msg, f); - fflush (f); putc ('\n', f); + fflush (f); } } |