tfix double-fclose (Gabi Diaz) - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit caccd753fda0b79a7267ba593a4f0b5ac05f8940
(DIR) parent 4492a1eef753032e1be77e7359b1b4544a1d1bb6
(HTM) Author: rsc <devnull@localhost>
Date: Fri, 13 Apr 2007 12:16:37 +0000
fix double-fclose (Gabi Diaz)
Diffstat:
M src/cmd/grap/print.c | 2 --
1 file changed, 0 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/src/cmd/grap/print.c b/src/cmd/grap/print.c
t@@ -224,8 +224,6 @@ void reset(void) /* done at each "graph ..." statement */
void opentemp(void)
{
- if (tfd != NULL)
- fclose(tfd);
if (tfd != stdout) {
if (tfd != NULL)
fclose(tfd);