summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1995-03-11 16:57:54 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1995-03-11 16:57:54 +0000
commit3ee80812fd538f9a3f59ebd20ead544b49cd9e3c (patch)
treeb9bf2539881a3282b708075212e9d64b30c7c6cf
parentc2766222c36c861f2d171ba3818dd3f238bf6f9d (diff)
Notes
-rw-r--r--usr.bin/m4/eval.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/m4/eval.c b/usr.bin/m4/eval.c
index 59fde31138b4..f36f41f4805c 100644
--- a/usr.bin/m4/eval.c
+++ b/usr.bin/m4/eval.c
@@ -170,7 +170,10 @@ register int td;
case SYSCTYPE:
/*
* dosys - execute system command
- */
+ */
+ /* Make sure m4 output is NOT interrupted */
+ fflush(stdout);
+ fflush(stderr);
if (argc > 2)
sysval = system(argv[2]);
break;