~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
math/mpx-mul4-*-sse2.S (squash): We don't care about the top half of c3 here.
[catacomb]
/
key
/
key-io.c
diff --git
a/key/key-io.c
b/key/key-io.c
index
843f81d
..
c79c8e0
100644
(file)
--- a/
key/key-io.c
+++ b/
key/key-io.c
@@
-439,7
+439,7
@@
int key_open(key_file *f, const char *file, unsigned how,
if ((how & KOPEN_MASK) == KOPEN_READ) {
f->f &= ~KF_WRITE;
- fclose(f->fp);
+
if (f->fp)
fclose(f->fp);
f->fp = 0;
}