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;