projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e499963
)
Add an unlink() here
author
Bill Sommerfeld
<wesommer@mit.edu>
Tue, 30 Jan 1990 15:36:35 +0000
(15:36 +0000)
committer
Bill Sommerfeld
<wesommer@mit.edu>
Tue, 30 Jan 1990 15:36:35 +0000
(15:36 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@196
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/ccache/file/fcc_destry.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/ccache/file/fcc_destry.c
b/src/lib/krb5/ccache/file/fcc_destry.c
index 3b6c584d01e65f16bd3f33fd5ce20a7a6419697f..708d32a6966cb1fef624df1982b70a6eac302e9b 100644
(file)
--- a/
src/lib/krb5/ccache/file/fcc_destry.c
+++ b/
src/lib/krb5/ccache/file/fcc_destry.c
@@
-60,9
+60,8
@@
krb5_error_code krb5_fcc_destroy(id)
if (write(((krb5_fcc_data *) id->data)->fd, zeros, size % BUFSIZ) < 0)
return errno;
-#ifdef OPENCLOSE
close(((krb5_fcc_data *) id->data)->fd);
-#endif
+ ((krb5_fcc_data *) id->data)->fd = -1;
return KRB5_OK;
}