summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>2000-01-24 20:42:45 +0000
committerTom Yu <tlyu@mit.edu>2000-01-24 20:42:45 +0000
commit7353d34dfcc39f3ee543327e82ba8c935b5d9252 (patch)
tree7dfdeb9cca5a5d7d2d569693b75c06803c69160d /src/lib/krb5
parent5a3f1407ddbbd0ae6acafe4515f96140afe38d8c (diff)
downloadkrb5-7353d34dfcc39f3ee543327e82ba8c935b5d9252.tar.gz
krb5-7353d34dfcc39f3ee543327e82ba8c935b5d9252.tar.xz
krb5-7353d34dfcc39f3ee543327e82ba8c935b5d9252.zip
* krb5_libinit.c: Conditionalize call to stdcc_shutdown()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11965 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5')
-rw-r--r--src/lib/krb5/ChangeLog2
-rw-r--r--src/lib/krb5/krb5_libinit.c12
2 files changed, 9 insertions, 5 deletions
diff --git a/src/lib/krb5/ChangeLog b/src/lib/krb5/ChangeLog
index 50fa5131c6..c8a0463875 100644
--- a/src/lib/krb5/ChangeLog
+++ b/src/lib/krb5/ChangeLog
@@ -1,5 +1,7 @@
2000-01-24 Tom Yu <tlyu@mit.edu>
+ * krb5_libinit.c: Conditionalize call to stdcc_shutdown().
+
* configure.in: Fix to build library objects in this directory.
* Makefile.in (STOBJLISTS): Fix to actually build krb5_libinit.o.
diff --git a/src/lib/krb5/krb5_libinit.c b/src/lib/krb5/krb5_libinit.c
index aae213699a..beeb06dbbc 100644
--- a/src/lib/krb5/krb5_libinit.c
+++ b/src/lib/krb5/krb5_libinit.c
@@ -34,13 +34,15 @@ krb5_error_code krb5int_initialize_library (void)
void krb5int_cleanup_library (void)
{
assert (initialized);
-
+
+#if defined(_MSDOS) || defined(_WIN32) || defined(macintosh)
krb5_stdcc_shutdown();
+#endif
- remove_error_table(&et_krb5_error_table);
- remove_error_table(&et_kv5m_error_table);
- remove_error_table(&et_kdb5_error_table);
- remove_error_table(&et_asn1_error_table);
+ remove_error_table(&et_krb5_error_table);
+ remove_error_table(&et_kv5m_error_table);
+ remove_error_table(&et_kdb5_error_table);
+ remove_error_table(&et_asn1_error_table);
initialized = 0;
}