diff options
Diffstat (limited to 'src/cmd/grap/print.c')
-rw-r--r-- | src/cmd/grap/print.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |