summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2008-12-15 23:09:24 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2008-12-15 23:09:24 (GMT)
commit54a6eed23ab8d46bb42dbf6297fcb2c3d5ea4530 (patch)
tree4d5d8b179ac9900c679c95f71167075e64f3200a /generic/tclExecute.c
parente1f26eae948241e7c888279806dc6ee91c80b482 (diff)
downloadtcl-54a6eed23ab8d46bb42dbf6297fcb2c3d5ea4530.zip
tcl-54a6eed23ab8d46bb42dbf6297fcb2c3d5ea4530.tar.gz
tcl-54a6eed23ab8d46bb42dbf6297fcb2c3d5ea4530.tar.bz2
Fi [Bug 2431847]
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r--generic/tclExecute.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index d1ff368..9fc6dc8 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -14,7 +14,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclExecute.c,v 1.419 2008/10/26 18:34:04 dkf Exp $
+ * RCS: @(#) $Id: tclExecute.c,v 1.420 2008/12/15 23:09:24 dkf Exp $
*/
#include "tclInt.h"
@@ -7085,7 +7085,10 @@ TclExecuteByteCode(
"%u => ERROR reading leaf dictionary key \"%s\": ",
opnd, O2S(dictPtr)), Tcl_GetObjResult(interp));
} else {
- /*Tcl_ResetResult(interp);*/
+ Tcl_Obj *tmpObj;
+
+ TclNewObj(tmpObj);
+ Tcl_SetObjResult(interp, tmpObj);
Tcl_AppendResult(interp, "key \"", TclGetString(OBJ_AT_TOS),
"\" not known in dictionary", NULL);
TRACE_WITH_OBJ(("%u => ERROR ", opnd), Tcl_GetObjResult(interp));