From: erg Date: Tue, 15 Feb 2005 22:20:16 +0000 (+0000) Subject: Re-added fflush; processes reading from a pipe (e.g., lefty) need the full X-Git-Tag: LAST_LIBGRAPH~32^2~7935 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=deb74625a6b8b4ff9cfbb8212120be21566c092e;p=graphviz Re-added fflush; processes reading from a pipe (e.g., lefty) need the full output. --- 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