From 51f4efe56bfea2e7014f8abb0671a0258ae82176 Mon Sep 17 00:00:00 2001 From: Bill Sommerfeld Date: Tue, 30 Jan 1990 15:36:35 +0000 Subject: [PATCH] Add an unlink() here git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@196 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/ccache/file/fcc_destry.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/krb5/ccache/file/fcc_destry.c b/src/lib/krb5/ccache/file/fcc_destry.c index 3b6c584d0..708d32a69 100644 --- 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; } -- 2.26.2