diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2013-01-25 11:48:29 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2013-01-25 11:48:29 (GMT) |
commit | c5ef96a9679e1941687506738ce46327ed0c8e7a (patch) | |
tree | 507709c949d3fd2b5d934023e4e39366cae322df /generic/tclEnsemble.c | |
parent | 1f6e7bb28ce45367ff3158a99e3f7bc776dc53ae (diff) | |
download | tcl-c5ef96a9679e1941687506738ce46327ed0c8e7a.zip tcl-c5ef96a9679e1941687506738ce46327ed0c8e7a.tar.gz tcl-c5ef96a9679e1941687506738ce46327ed0c8e7a.tar.bz2 |
Eliminate some unneeded usages of Tcl_SetResult, Tcl_AddObjErrorInfo
Fix "make test-packages" on cygwin
FossilOrigin-Name: 12d1dbc8af7dcbad460a1432075d951dee4ce8ce
Diffstat (limited to 'generic/tclEnsemble.c')
-rw-r--r-- | generic/tclEnsemble.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclEnsemble.c b/generic/tclEnsemble.c index 88de9f3..f392cad 100644 --- a/generic/tclEnsemble.c +++ b/generic/tclEnsemble.c @@ -2196,7 +2196,7 @@ EnsembleUnknownCallback( } Tcl_AddErrorInfo(interp, "\n result of " "ensemble unknown subcommand handler: "); - Tcl_AddErrorInfo(interp, TclGetString(unknownCmd)); + Tcl_AppendObjToErrorInfo(interp, unknownCmd); Tcl_SetErrorCode(interp, "TCL", "ENSEMBLE", "UNKNOWN_RESULT", NULL); } else { |