Module Name: src
Committed By: sjg
Date: Wed Jun 29 22:10:08 UTC 2016
Modified Files:
src/usr.bin/make: meta.c
Log Message:
meta_compat_parent: fflush each line
To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/usr.bin/make/meta.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/make/meta.c
diff -u src/usr.bin/make/meta.c:1.62 src/usr.bin/make/meta.c:1.63
--- src/usr.bin/make/meta.c:1.62 Tue Jun 14 18:16:06 2016
+++ src/usr.bin/make/meta.c Wed Jun 29 22:10:08 2016
@@ -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 @@ meta_compat_parent(void)
while (fgets(buf, sizeof(buf), fp)) {
meta_job_output(NULL, buf, "");
printf("%s", buf);
+ fflush(stdout);
}
fclose(fp);
}