diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2005-11-28 09:49:57 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2005-11-28 09:49:57 (GMT) |
commit | 2c6f5f96ac3e2cd2f9d6a94d2df7d40ad2e81c90 (patch) | |
tree | ffbfbad9b29d8c91f8fe55f8eec4a6cd244c1ef7 /win/tclWinSock.c | |
parent | e9d4af780f9f9de64703615f616fd9a8e61e5c02 (diff) | |
download | tcl-2c6f5f96ac3e2cd2f9d6a94d2df7d40ad2e81c90.zip tcl-2c6f5f96ac3e2cd2f9d6a94d2df7d40ad2e81c90.tar.gz tcl-2c6f5f96ac3e2cd2f9d6a94d2df7d40ad2e81c90.tar.bz2 |
Apply [Patch 1353853] to prevent UMR randomness.
Diffstat (limited to 'win/tclWinSock.c')
-rw-r--r-- | win/tclWinSock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c index 9af7d3e..6643345 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.36.2.3 2005/01/27 22:53:39 andreas_kupries Exp $ + * RCS: @(#) $Id: tclWinSock.c,v 1.36.2.4 2005/11/28 09:49:57 dkf Exp $ */ #include "tclWinInt.h" @@ -1088,7 +1088,7 @@ CreateSocket(interp, port, host, server, myaddr, myport, async) * in progress. */ SOCKADDR_IN sockaddr; /* Socket address */ SOCKADDR_IN mysockaddr; /* Socket address for client */ - SOCKET sock; + SOCKET sock = INVALID_SOCKET; SocketInfo *infoPtr; /* The returned value. */ ThreadSpecificData *tsdPtr = (ThreadSpecificData *)TclThreadDataKeyGet(&dataKey); |