summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2008-12-15 23:26:58 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2008-12-15 23:26:58 (GMT)
commit9827c24b7fa3b934568ea04dee4ade7ebf20b232 (patch)
tree13e7c35c464d5b2a4de50619167b6d9f2b5d51b2 /generic/tclExecute.c
parent83965ef6baf152bbe9c64cde37d3a0d57c5f5f06 (diff)
downloadtcl-9827c24b7fa3b934568ea04dee4ade7ebf20b232.zip
tcl-9827c24b7fa3b934568ea04dee4ade7ebf20b232.tar.gz
tcl-9827c24b7fa3b934568ea04dee4ade7ebf20b232.tar.bz2
Fix [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 985a867..2800376 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -13,7 +13,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.369.2.4 2008/08/04 04:48:14 dgp Exp $
+ * RCS: @(#) $Id: tclExecute.c,v 1.369.2.5 2008/12/15 23:26:59 dkf Exp $
*/
#include "tclInt.h"
@@ -6678,7 +6678,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));