diff options
author | dgp <dgp@noemail.net> | 2006-04-05 16:32:38 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2006-04-05 16:32:38 (GMT) |
commit | 2045efbb220327fdac92fd570d4412b7e1307776 (patch) | |
tree | 6f98b5676e330825d6971d1bfb90ced3019e59dd /win/tclWinSock.c | |
parent | 24dd028101dbcfd10bd36618c8bfbfa08cfdeb8e (diff) | |
download | tcl-2045efbb220327fdac92fd570d4412b7e1307776.zip tcl-2045efbb220327fdac92fd570d4412b7e1307776.tar.gz tcl-2045efbb220327fdac92fd570d4412b7e1307776.tar.bz2 |
* win/tclWinInit.c: More careful calls to Tcl_DStringSetLength()
* win/tclWinSock.c: to avoid creating invalid DString states.
* win/tclWinDde.c: Bump to version 1.3.2. [RFE 1366195]
* library/dde/pkgIndex.tcl:
* library/reg/pkgIndex.tcl: Bump to registry 1.1.6
* win/tclWinReg.c:
* win/configure.in: Bump package version numbers.
* win/configure: autoconf 2.59
FossilOrigin-Name: 59be4670427aeee92ec545c844ba84a9004ad3bc
Diffstat (limited to 'win/tclWinSock.c')
-rw-r--r-- | win/tclWinSock.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c index c2bfc2c..488618d 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.53 2006/03/27 18:08:51 andreas_kupries Exp $ + * RCS: @(#) $Id: tclWinSock.c,v 1.54 2006/04/05 16:32:45 dgp Exp $ */ #include "tclWinInt.h" @@ -2564,6 +2564,8 @@ InitializeHostName( if (winSock.gethostname(Tcl_DStringValue(&ds), Tcl_DStringLength(&ds)) == 0) { Tcl_DStringSetLength(&ds, 0); + } else { + Tcl_DStringSetLength(&ds, strlen(Tcl_DStringValue(&ds))); } } |