summaryrefslogtreecommitdiffstats
path: root/win/tclWinDde.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2006-04-05 16:32:39 (GMT)
committerdgp <dgp@users.sourceforge.net>2006-04-05 16:32:39 (GMT)
commit50d05904e2652689f8352c49ba3ea9b256922bb0 (patch)
tree6f98b5676e330825d6971d1bfb90ced3019e59dd /win/tclWinDde.c
parent1aa54c04958fb5a081acbd1440314021b21ca394 (diff)
downloadtcl-50d05904e2652689f8352c49ba3ea9b256922bb0.zip
tcl-50d05904e2652689f8352c49ba3ea9b256922bb0.tar.gz
tcl-50d05904e2652689f8352c49ba3ea9b256922bb0.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
Diffstat (limited to 'win/tclWinDde.c')
-rw-r--r--win/tclWinDde.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/win/tclWinDde.c b/win/tclWinDde.c
index 0171810..5c38115 100644
--- a/win/tclWinDde.c
+++ b/win/tclWinDde.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinDde.c,v 1.29 2005/12/13 22:43:18 kennykb Exp $
+ * RCS: @(#) $Id: tclWinDde.c,v 1.30 2006/04/05 16:32:44 dgp Exp $
*/
#include "tclInt.h"
@@ -81,7 +81,7 @@ static DWORD ddeInstance; /* The application instance handle given to us
* by DdeInitialize. */
static int ddeIsServer = 0;
-#define TCL_DDE_VERSION "1.3.1"
+#define TCL_DDE_VERSION "1.3.2"
#define TCL_DDE_PACKAGE_NAME "dde"
#define TCL_DDE_SERVICE_NAME "TclEval"
#define TCL_DDE_EXECUTE_RESULT "$TCLEVAL$EXECUTE$RESULT"
@@ -377,6 +377,8 @@ DdeSetServerName(
}
}
}
+ Tcl_DStringSetLength(&dString,
+ offset + strlen(Tcl_DStringValue(&dString)+offset));
}
/*