From: ellson Date: Tue, 27 Jun 2006 16:21:03 +0000 (+0000) Subject: don't close stdout X-Git-Tag: LAST_LIBGRAPH~32^2~6238 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fb71f132e52113cf5b9287f0a7d4d3e0e76c56c5;p=graphviz don't close stdout --- diff --git a/lib/gvc/gvdevice.c b/lib/gvc/gvdevice.c index b95a227a4..0f6ffc7d7 100644 --- a/lib/gvc/gvdevice.c +++ b/lib/gvc/gvdevice.c @@ -98,7 +98,7 @@ void gvdevice_finalize(GVC_t * gvc) /* FIXME - file output should be its own device */ while(active_job) { - if (active_job->output_file) { + if (active_job->output_file != stdout) { fclose(active_job->output_file); active_job->output_file = NULL; }