From: Theodore Tso Date: Fri, 1 Mar 1996 00:45:51 +0000 (+0000) Subject: Added note: Note that calls to WSAStartup and WSACleanup must be in X-Git-Tag: krb5-1.0-beta6~422 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=aa54e47fecd9d7e2b76cdde2947b683157df8cf1;p=krb5.git Added note: Note that calls to WSAStartup and WSACleanup must be in matched pairs. If there is a missing WSACleanup call when a program exits, under Lan Workplace, the name resolver will stop working. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7578 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/ChangeLog b/src/lib/ChangeLog index cc3227655..0a143b439 100644 --- a/src/lib/ChangeLog +++ b/src/lib/ChangeLog @@ -1,6 +1,10 @@ Thu Feb 29 16:49:33 1996 Theodore Y. Ts'o - * win_glue.c: Make sure WSACleanup() is called when the DLL exits. + * win_glue.c: Make sure WSACleanup() is called when the DLL exits. + Note that calls to WSAStartup and WSACleanup must be in + matched pairs. If there is a missing WSACleanup call when + a program exits, under Lan Workplace, the name resolver + will stop working. Tue Feb 27 18:47:17 1996 Theodore Y. Ts'o diff --git a/src/lib/win_glue.c b/src/lib/win_glue.c index 40dbab9c7..c58146764 100644 --- a/src/lib/win_glue.c +++ b/src/lib/win_glue.c @@ -7,6 +7,13 @@ * The code is pretty much copied from winsock.txt from winsock-1.1, * available from: * ftp://sunsite.unc.edu/pub/micro/pc-stuff/ms-windows/winsock/winsock-1.1 + * + * Note: WSAStartup and WSACleanup is called here (and only here). + * This assumes that under Windows, we only use this library via the + * DLL. Note that calls to WSAStartup and WSACleanup must be in + * matched pairs. If there is a missing WSACleanup call when a + * program exits, under Lan Workplace, the name resolver will stop + * working. */ /* We can't include winsock.h directly because of /Za (stdc) options */