summaryrefslogtreecommitdiffstats
path: root/generic/tclIOGT.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2006-08-30 17:24:07 (GMT)
committerhobbs <hobbs>2006-08-30 17:24:07 (GMT)
commitbcd3bb70453870d6812d5df7bdb8e662cd6e8b16 (patch)
tree4acce543b99fe80dfb632e244c58391e66a943c6 /generic/tclIOGT.c
parentf1e3cf87942d5b9bb16c44f0b105d78e68743de3 (diff)
downloadtcl-bcd3bb70453870d6812d5df7bdb8e662cd6e8b16.zip
tcl-bcd3bb70453870d6812d5df7bdb8e662cd6e8b16.tar.gz
tcl-bcd3bb70453870d6812d5df7bdb8e662cd6e8b16.tar.bz2
* generic/tclIOGT.c (ExecuteCallback):
* generic/tclPkg.c (Tcl_PkgRequireEx): replace Tcl_GlobalEval(Obj) with more efficient Tcl_Eval(Obj)Ex
Diffstat (limited to 'generic/tclIOGT.c')
-rw-r--r--generic/tclIOGT.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclIOGT.c b/generic/tclIOGT.c
index 552acc0..7fbdda9 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.7.2.1 2004/09/10 20:01:03 andreas_kupries Exp $
+ * CVS: $Id: tclIOGT.c,v 1.7.2.2 2006/08/30 17:24:07 hobbs Exp $
*/
#include "tclInt.h"
@@ -440,7 +440,7 @@ ExecuteCallback (dataPtr, interp, op, buf, bufLen, transmit, preserve)
* message into 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 = (Tcl_Obj*) NULL;