diff options
author | hobbs <hobbs@noemail.net> | 2006-08-30 17:59:02 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2006-08-30 17:59:02 (GMT) |
commit | 6988834271ed3de18ed7b62b6106945540ed04a4 (patch) | |
tree | cbfeb8c1deb0217ac36af4aa81706b5a3af7ce56 /generic/tclIOGT.c | |
parent | a2a6ba3eeeba12e8952d059a98426531f4c5fd5b (diff) | |
download | tcl-6988834271ed3de18ed7b62b6106945540ed04a4.zip tcl-6988834271ed3de18ed7b62b6106945540ed04a4.tar.gz tcl-6988834271ed3de18ed7b62b6106945540ed04a4.tar.bz2 |
* generic/tclIOGT.c (ExecuteCallback):
* generic/tclPkg.c (Tcl_PkgRequireEx): replace Tcl_GlobalEval(Obj)
with more efficient Tcl_Eval(Obj)Ex
FossilOrigin-Name: adcd7cfba20c6238301627600eae9057b2d20bd9
Diffstat (limited to 'generic/tclIOGT.c')
-rw-r--r-- | generic/tclIOGT.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclIOGT.c b/generic/tclIOGT.c index bd01d8c..901ced5 100644 --- a/generic/tclIOGT.c +++ b/generic/tclIOGT.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. * - * CVS: $Id: tclIOGT.c,v 1.15 2006/03/27 18:08:50 andreas_kupries Exp $ + * CVS: $Id: tclIOGT.c,v 1.16 2006/08/30 17:59:03 hobbs Exp $ */ #include "tclInt.h" @@ -406,7 +406,7 @@ ExecuteCallback( * current interpreter. Don't copy if in preservation mode. */ - res = Tcl_GlobalEvalObj(dataPtr->interp, command); + res = Tcl_EvalObjEx(dataPtr->interp, command, TCL_EVAL_GLOBAL); Tcl_DecrRefCount(command); command = NULL; |