Move WSAStartup/WSACleanup from DllMain to krb5_init_ctx/krb5_free_ctx
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 23 Apr 2005 00:39:18 +0000 (00:39 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 23 Apr 2005 00:39:18 +0000 (00:39 +0000)
commit6e2d8b4ed34bb438fc8d02389fd1944c67aa70ac
treef0e59628e36f72471cf334231f6b8ed247e8788a
parent52f23f0938f33ee0c5d5f20d3d6be8e84e03a308
Move WSAStartup/WSACleanup from DllMain to krb5_init_ctx/krb5_free_ctx
WSAStartup/WSACleanup cannot be called from DllMain without risking
a deadlock when FreeLibrary().

ticket:2980

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17200 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/ChangeLog
src/lib/krb5/os/ChangeLog
src/lib/krb5/os/init_os_ctx.c
src/lib/win_glue.c