summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1996-03-01 00:45:51 +0000
committerTheodore Tso <tytso@mit.edu>1996-03-01 00:45:51 +0000
commitaa54e47fecd9d7e2b76cdde2947b683157df8cf1 (patch)
tree0b8ccc7dab55c593c7d3b9c68dd381d263dfb6fc /src/lib
parent59affc13e7968be765cd85f9ce4d845ebee57011 (diff)
downloadkrb5-aa54e47fecd9d7e2b76cdde2947b683157df8cf1.tar.gz
krb5-aa54e47fecd9d7e2b76cdde2947b683157df8cf1.tar.xz
krb5-aa54e47fecd9d7e2b76cdde2947b683157df8cf1.zip
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
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ChangeLog6
-rw-r--r--src/lib/win_glue.c7
2 files changed, 12 insertions, 1 deletions
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 <tytso@dcl>
- * 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 <tytso@dcl>
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 */