summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2007-12-06 17:05:03 (GMT)
committerdgp <dgp@users.sourceforge.net>2007-12-06 17:05:03 (GMT)
commitca999b7a3aa4dbfc85021901f0faa31dbed4cb1c (patch)
tree787adc7e448c711d73f2dcbdf103874dcd98dab3
parent3dea74e948c24822880288263857e57e7092ec79 (diff)
downloadtcl-ca999b7a3aa4dbfc85021901f0faa31dbed4cb1c.zip
tcl-ca999b7a3aa4dbfc85021901f0faa31dbed4cb1c.tar.gz
tcl-ca999b7a3aa4dbfc85021901f0faa31dbed4cb1c.tar.bz2
merge updates from HEAD
-rw-r--r--generic/tclCompCmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCompCmds.c b/generic/tclCompCmds.c
index 839c54c..95ae51e 100644
--- a/generic/tclCompCmds.c
+++ b/generic/tclCompCmds.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclCompCmds.c,v 1.109.2.15 2007/12/06 16:27:45 dgp Exp $
+ * RCS: @(#) $Id: tclCompCmds.c,v 1.109.2.16 2007/12/06 17:05:03 dgp Exp $
*/
#include "tclInt.h"
@@ -6360,7 +6360,7 @@ TclCompileEnsemble(
* Copy over the real argument tokens.
*/
- memcpy(synthetic.tokenPtr + 2, argTokensPtr,
+ memcpy(synthetic.tokenPtr + 2*len, argTokensPtr,
sizeof(Tcl_Token) * (synthetic.numTokens - 2*len));
/*