Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make meta_compat_parent: fflush each line



details:   https://anonhg.NetBSD.org/src/rev/e1d8c769c943
branches:  trunk
changeset: 346164:e1d8c769c943
user:      sjg <sjg%NetBSD.org@localhost>
date:      Wed Jun 29 22:10:08 2016 +0000

description:
meta_compat_parent: fflush each line

diffstat:

 usr.bin/make/meta.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 580ed789d7a7 -r e1d8c769c943 usr.bin/make/meta.c
--- a/usr.bin/make/meta.c       Wed Jun 29 21:40:20 2016 +0000
+++ b/usr.bin/make/meta.c       Wed Jun 29 22:10:08 2016 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: meta.c,v 1.62 2016/06/14 18:16:06 sjg Exp $ */
+/*      $NetBSD: meta.c,v 1.63 2016/06/29 22:10:08 sjg Exp $ */
 
 /*
  * Implement 'meta' mode.
@@ -1543,6 +1543,7 @@
     while (fgets(buf, sizeof(buf), fp)) {
        meta_job_output(NULL, buf, "");
        printf("%s", buf);
+       fflush(stdout);
     }
     fclose(fp);
 }



Home | Main Index | Thread Index | Old Index