From deb74625a6b8b4ff9cfbb8212120be21566c092e Mon Sep 17 00:00:00 2001 From: erg Date: Tue, 15 Feb 2005 22:20:16 +0000 Subject: [PATCH] Re-added fflush; processes reading from a pipe (e.g., lefty) need the full output. --- lib/common/emit.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/common/emit.c b/lib/common/emit.c index fa55d0580..83db916ea 100644 --- a/lib/common/emit.c +++ b/lib/common/emit.c @@ -1516,10 +1516,9 @@ static void emit_job(GVC_t * gvc, graph_t * g) break; } -#if 0 + /* Flush is necessary because we may be writing to a pipe. */ if (gvc->job->output_lang != TK) fflush(gvc->job->output_file); -#endif #if 0 emit_deinit(gvc); #endif -- 2.40.0