diff options
author | wkj <devnull@localhost> | 2004-05-16 07:57:50 +0000 |
---|---|---|
committer | wkj <devnull@localhost> | 2004-05-16 07:57:50 +0000 |
commit | b237df90f9390dac1ff1fdcb6813ca1f2a7bef4f (patch) | |
tree | e1ca0f939b9a7b9a3c817c7a77a4df9ddf610418 /src/cmd/grap/print.c | |
parent | 5f1cf8e6fb130fd48d6f016d13baf5408b3181f8 (diff) | |
download | plan9port-b237df90f9390dac1ff1fdcb6813ca1f2a7bef4f.tar.gz plan9port-b237df90f9390dac1ff1fdcb6813ca1f2a7bef4f.tar.bz2 plan9port-b237df90f9390dac1ff1fdcb6813ca1f2a7bef4f.zip |
Checkpoint.
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); |