From b237df90f9390dac1ff1fdcb6813ca1f2a7bef4f Mon Sep 17 00:00:00 2001 From: wkj Date: Sun, 16 May 2004 07:57:50 +0000 Subject: Checkpoint. --- src/cmd/grap/print.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/cmd/grap/print.c') diff --git a/src/cmd/grap/print.c b/src/cmd/grap/print.c index 8f553c8f..9364d110 100644 --- a/src/cmd/grap/print.c +++ b/src/cmd/grap/print.c @@ -184,7 +184,7 @@ void do_first(void) /* done at first .G1: definitions, etc. */ sprintf(buf, "define pid /%d/\n", getpid()); pbstr(buf); if (lib != 0) { - if ((fp = fopen(unsharp(lib_defines), "r")) != NULL) { + if ((fp = fopen(lib_defines, "r")) != NULL) { sprintf(buf1, "copy \"%s\"\n", lib_defines); pbstr(buf1); fclose(fp); @@ -226,8 +226,8 @@ void opentemp(void) if (tfd != NULL) fclose(tfd); if (tfd != stdout) { -// if (tfd != NULL) -// fclose(tfd); + if (tfd != NULL) + fclose(tfd); if ((tfd = fopen(tempfile, "w")) == NULL) { fprintf(stderr, "grap: can't open %s\n", tempfile); exit(1); -- cgit v1.2.3