diff options
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/ChangeLog | 6 | ||||
| -rw-r--r-- | src/lib/win_glue.c | 7 |
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 */ |
