public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7971761
)
only fclose on non-NULL streams
author
ceriel
<none@none>
Thu, 14 Apr 1988 16:09:02 +0000
(16:09 +0000)
committer
ceriel
<none@none>
Thu, 14 Apr 1988 16:09:02 +0000
(16:09 +0000)
mach/proto/ncg/gencode.c
patch
|
blob
|
history
diff --git
a/mach/proto/ncg/gencode.c
b/mach/proto/ncg/gencode.c
index
c103c88
..
c33f492
100644
(file)
--- a/
mach/proto/ncg/gencode.c
+++ b/
mach/proto/ncg/gencode.c
@@
-52,7
+52,7
@@
out_finish() {
fflush(stderr);
else
#endif
- fclose(codefile);
+
if (codefile)
fclose(codefile);
#ifdef TABLEDEBUG
termlset();
#endif