summaryrefslogtreecommitdiffstats
path: root/generic/tclCompCmds.c
diff options
context:
space:
mode:
authordkf <dkf@noemail.net>2007-12-06 16:36:54 (GMT)
committerdkf <dkf@noemail.net>2007-12-06 16:36:54 (GMT)
commit6b0a458980b36d8907d6e7497ea88ce86e8d4d5a (patch)
treecd025ce33171b781aa7f0a0e714a4f0c5534c10d /generic/tclCompCmds.c
parentcbae4d081255ab66437934bc81309c9856b94df9 (diff)
downloadtcl-6b0a458980b36d8907d6e7497ea88ce86e8d4d5a.zip
tcl-6b0a458980b36d8907d6e7497ea88ce86e8d4d5a.tar.gz
tcl-6b0a458980b36d8907d6e7497ea88ce86e8d4d5a.tar.bz2
Oops!
FossilOrigin-Name: b8ddb19de74a32feea58d37a0362b58c34a35659
Diffstat (limited to 'generic/tclCompCmds.c')
-rw-r--r--generic/tclCompCmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCompCmds.c b/generic/tclCompCmds.c
index 4c13061..5f884f6 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.134 2007/12/06 10:25:58 dkf Exp $
+ * RCS: @(#) $Id: tclCompCmds.c,v 1.135 2007/12/06 16:36:54 dkf 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));
/*