From 7353d34dfcc39f3ee543327e82ba8c935b5d9252 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Mon, 24 Jan 2000 20:42:45 +0000 Subject: [PATCH] * krb5_libinit.c: Conditionalize call to stdcc_shutdown() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11965 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/ChangeLog | 2 ++ src/lib/krb5/krb5_libinit.c | 12 +++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/lib/krb5/ChangeLog b/src/lib/krb5/ChangeLog index 50fa5131c..c8a046387 100644 --- a/src/lib/krb5/ChangeLog +++ b/src/lib/krb5/ChangeLog @@ -1,5 +1,7 @@ 2000-01-24 Tom Yu + * 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 aae213699..beeb06dbb 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; } -- 2.26.2