* cc_stdio.c: Add a "mode" field to krb5_scc_data to keep track of
authorTom Yu <tlyu@mit.edu>
Tue, 31 Oct 2000 00:33:00 +0000 (00:33 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 31 Oct 2000 00:33:00 +0000 (00:33 +0000)
commite4521e79d7069fabfea3144da74973add29b3569
tree7b0ee797b22df19a042013f137210bd81c786820
parentaf8e4edb0dd1df3bdb0306575f93b7378c661930
* cc_stdio.c: Add a "mode" field to krb5_scc_data to keep track of
what mode the file was opened in.
(krb5_scc_close_file): Ignore EBADF from fflush() if the file was
opened for readonly access.  For some reason NetBSD's fflush()
exhibits this behavior.
(krb5_scc_open_file): Save the mode with which the file was opened
in data->mode.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12825 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/ccache/ChangeLog
src/lib/krb5/ccache/cc_stdio.c