+1999-03-31 Theodore Ts'o <tytso@rsts-11.mit.edu>
+
+ * win_glue.c (control): Call krb5_stdcc_shutdown when detaching
+ the krb5 library.
+
+ * Makefile.in: Remove reference to the windows Krbcc32.dll
+ library, since this is now dynamically loaded.
+
Mon Feb 8 22:08:22 1999 Theodore Y. Ts'o <tytso@mit.edu>
* Makefile.in: Link in the ccapi import library under windows.
GLIBS = gssapi\gssapi.lib
K4LIBS = krb4\krb4.lib
-##DOS##CCACHE_LIB = $(SRCTOP)\windows\lib\KrbCC32.lib
-
##WIN16##VERLIBS=..\mit\windows\lib\vswin.lib c:\msvc\lib\ver.lib
##WIN32##VERLIBS=..\mit\windows\lib\vsnt.lib \
##WIN32## "c:\program files\devstudio\vc\lib\version.lib"
##WIN32## link $(WINDLLFLAGS) /def:$(PDEF) /out:$*.dll \
##WIN32## no_glue.obj version.res $(PLIBS) $(CLIB) $(WINLIBS)
-$(KLIB): $(KLIBS) $(CLIB) $(PLIB) $(WLIB) $(KDEF) k5_glue.obj $(KRB5RC) $(CCACHE_LIB)
+$(KLIB): $(KLIBS) $(CLIB) $(PLIB) $(WLIB) $(KDEF) k5_glue.obj $(KRB5RC)
##WIN16## link /co /seg:400 /noe /nod /nol \
##WIN16## k5_glue, $*.dll, $*.map, \
##WIN16## $(MITLIBS) $(KLIBS) $(CLIB) $(PLIB) $(WINLIBS), $(KDEF)
##WIN32## -fo version.res $(VERSIONRC)
##WIN32## link $(WINDLLFLAGS) /def:$(KDEF) /out:$*.dll \
##WIN32## k5_glue.obj version.res $(KRB5RC) $(MITLIBS) $(KLIBS) \
-##WIN32## $(CCACHE_LIB) $(CLIB) $(PLIB) \
+##WIN32## $(CLIB) $(PLIB) \
##WIN32## $(WINLIBS) advapi32.lib gdi32.lib
$(GLIB): $(GLIBS) $(KLIB) $(CLIB) $(GDEF) gss_glue.obj
#include "kdb5_err.h"
#include "profile.h"
#include "adm_err.h"
+extern void krb5_stdcc_shutdown();
#endif
#ifdef GSSAPI
#include "gssapi/generic/gssapi_err_generic.h"
return -104; /* FIXME -- better error? */
}
#endif
-
break;
case DLL_SHUTDOWN:
+#ifdef KRB5
+ krb5_stdcc_shutdown();
+#endif
et_func = remove_error_table;
#ifdef NEED_WINSOCK
WSACleanup ();