diff options
author | Tom Yu <tlyu@mit.edu> | 2000-01-24 20:42:45 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 2000-01-24 20:42:45 +0000 |
commit | 7353d34dfcc39f3ee543327e82ba8c935b5d9252 (patch) | |
tree | 7dfdeb9cca5a5d7d2d569693b75c06803c69160d /src/lib/krb5 | |
parent | 5a3f1407ddbbd0ae6acafe4515f96140afe38d8c (diff) | |
download | krb5-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/ChangeLog | 2 | ||||
-rw-r--r-- | 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 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; } |