diff options
author | redman <redman> | 1999-07-31 01:24:22 (GMT) |
---|---|---|
committer | redman <redman> | 1999-07-31 01:24:22 (GMT) |
commit | 4440b020d403deecad8037fdcbac009f40f8296a (patch) | |
tree | 27c78157ba26b37eb3903cda422d147341acd3e2 /win/tclWinSock.c | |
parent | 69f23df0ea31e3489c8a760a0abc0b71987c8062 (diff) | |
download | tcl-4440b020d403deecad8037fdcbac009f40f8296a.zip tcl-4440b020d403deecad8037fdcbac009f40f8296a.tar.gz tcl-4440b020d403deecad8037fdcbac009f40f8296a.tar.bz2 |
* win/tclWinPipe.c:
* win/Makefile.in: Fixing launching of 16-bit apps on Win9x from
wish. The command line was primed with tclpip82.dll, but it was
ignored. Fixed that, then fixed the gmake makefile to build
tclpip82.dll as an executable.
* win/tclWinSock.c: Applied small patch to get thread-specific
data after initializing the socket driver.
Diffstat (limited to 'win/tclWinSock.c')
-rw-r--r-- | win/tclWinSock.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c index 7d6651f..6f53df3 100644 --- a/win/tclWinSock.c +++ b/win/tclWinSock.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclWinSock.c,v 1.15 1999/07/29 22:58:24 redman Exp $ + * RCS: @(#) $Id: tclWinSock.c,v 1.16 1999/07/31 01:24:25 redman Exp $ */ #include "tclWinInt.h" @@ -1435,13 +1435,14 @@ Tcl_MakeTcpClientChannel(sock) { SocketInfo *infoPtr; char channelName[16 + TCL_INTEGER_SPACE]; - ThreadSpecificData *tsdPtr = - (ThreadSpecificData *)TclThreadDataKeyGet(&dataKey); + ThreadSpecificData *tsdPtr; if (TclpHasSockets(NULL) != TCL_OK) { return NULL; } + tsdPtr = (ThreadSpecificData *)TclThreadDataKeyGet(&dataKey); + /* * Set kernel space buffering and non-blocking. */ |