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/cd033655dda4
branches:  trunk
changeset: 816306:cd033655dda4
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 40ddd1ce9813 -r cd033655dda4 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