summaryrefslogtreecommitdiffstats
path: root/generic/tclInterp.c
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2006-10-24 00:29:30 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2006-10-24 00:29:30 (GMT)
commit7dbcf3186d085c65101f4b9c10cb8ba485258e2e (patch)
treeac8de96d13826b1e1bc57dee584633871ab7e09f /generic/tclInterp.c
parentbf63c22236bf05cc0f69635e66cd22a3010dcb6a (diff)
downloadtcl-7dbcf3186d085c65101f4b9c10cb8ba485258e2e.zip
tcl-7dbcf3186d085c65101f4b9c10cb8ba485258e2e.tar.gz
tcl-7dbcf3186d085c65101f4b9c10cb8ba485258e2e.tar.bz2
* generic/tclProc.c (ApplyObjCmd): fix wrong#args for apply by
using the ensemble rewrite engine, [Bug 1574835]. * generic/tclInterp.c (AliasObjCmd): previous commit missed usage of TCL_EVAL_NOREWRITE for aliases.
Diffstat (limited to 'generic/tclInterp.c')
-rw-r--r--generic/tclInterp.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/generic/tclInterp.c b/generic/tclInterp.c
index 60e6eb6..9de1fbd 100644
--- a/generic/tclInterp.c
+++ b/generic/tclInterp.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclInterp.c,v 1.64 2006/10/17 15:39:24 msofer Exp $
+ * RCS: @(#) $Id: tclInterp.c,v 1.65 2006/10/24 00:29:30 msofer Exp $
*/
#include "tclInt.h"
@@ -1740,10 +1740,12 @@ AliasObjCmd(
if (targetInterp != interp) {
Tcl_Preserve((ClientData) targetInterp);
- result = Tcl_EvalObjv(targetInterp, cmdc, cmdv, TCL_EVAL_INVOKE);
+ result = Tcl_EvalObjv(targetInterp, cmdc, cmdv,
+ TCL_EVAL_INVOKE|TCL_EVAL_NOREWRITE);
TclTransferResult(targetInterp, result, interp);
} else {
- result = Tcl_EvalObjv(targetInterp, cmdc, cmdv, TCL_EVAL_INVOKE);
+ result = Tcl_EvalObjv(targetInterp, cmdc, cmdv,
+ TCL_EVAL_INVOKE|TCL_EVAL_NOREWRITE);
}
if (isRootEnsemble) {