[203] in Kerberos-V5-bugs
Fix to lib/ccache/file/fcc_close.c
daemon@ATHENA.MIT.EDU (Joe Pato)
Wed Oct 2 17:37:52 1991
From: pato@apollo.com (Joe Pato)
Date: Wed, 2 Oct 91 16:10:52 EDT
To: krb5-bugs@MIT.EDU
Cc: sommerfeld@apollo.com
The beta1 code will not allow a (FILE) credential cache to be closed if the
file descriptor associated with the cache is -1 (not open). Most uses of the
credential cache leave the file closed, so would lead to internal errors.
fcc_close should ignore the error code from fcc_close_file by using
MAYBE_CLOSE_IGNORE instead of MAYBE_CLOSE.
(chelm|220): diff fcc_close.c /prgy/src/krb5/lib/ccache/file/fcc_close.c/MIT-beta1
50c50
< MAYBE_CLOSE_IGNORE(id);
---
> MAYBE_CLOSE(id, closeval);
-- Joe Pato
Cooperative Object Computing Division / East
Hewlett-Packard Company
pato@apollo.hp.com
-------