diff options
author | ache <ache@FreeBSD.org> | 1995-03-11 16:57:54 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-03-11 16:57:54 +0000 |
commit | 76821a692c914c958ec43d402d42b40abfdc892f (patch) | |
tree | b9bf2539881a3282b708075212e9d64b30c7c6cf /usr.bin | |
parent | 5ba695bd5c87288f9fbb9d706357c7ed1cf6a6a6 (diff) | |
download | FreeBSD-src-76821a692c914c958ec43d402d42b40abfdc892f.zip FreeBSD-src-76821a692c914c958ec43d402d42b40abfdc892f.tar.gz |
Fix syscmd() output out of sync
Submitted by: smp@clem.systemsix.com
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/m4/eval.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/m4/eval.c b/usr.bin/m4/eval.c index 59fde31..f36f41f 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; |