From: Bill Sommerfeld Date: Tue, 30 Jan 1990 15:36:35 +0000 (+0000) Subject: Add an unlink() here X-Git-Tag: krb5-1.0-alpha2~1187 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=51f4efe56bfea2e7014f8abb0671a0258ae82176;p=krb5.git Add an unlink() here git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@196 dc483132-0cff-0310-8789-dd5450dbe970 --- 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; }