plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit caccd753fda0b79a7267ba593a4f0b5ac05f8940
parent 4492a1eef753032e1be77e7359b1b4544a1d1bb6
Author: rsc <devnull@localhost>
Date:   Fri, 13 Apr 2007 12:16:37 +0000

fix double-fclose (Gabi Diaz)

Diffstat:
Msrc/cmd/grap/print.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/cmd/grap/print.c b/src/cmd/grap/print.c @@ -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);