summaryrefslogtreecommitdiffstats
path: root/generic/tclIORChan.c
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2014-04-16 11:20:54 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2014-04-16 11:20:54 (GMT)
commitd18594e3e256a6f81df66c5562b1c4d3fac0111c (patch)
tree786468d9876d90fd6815b063eeb2cf63e483bca6 /generic/tclIORChan.c
parente20bfcc72e97b4f8fe8a51d67f10571edccf6ab6 (diff)
downloadtcl-d18594e3e256a6f81df66c5562b1c4d3fac0111c.zip
tcl-d18594e3e256a6f81df66c5562b1c4d3fac0111c.tar.gz
tcl-d18594e3e256a6f81df66c5562b1c4d3fac0111c.tar.bz2
Remove unused variable, don't use deprecated function, some formatting.
Diffstat (limited to 'generic/tclIORChan.c')
-rw-r--r--generic/tclIORChan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclIORChan.c b/generic/tclIORChan.c
index 16dc1ed..29819b6 100644
--- a/generic/tclIORChan.c
+++ b/generic/tclIORChan.c
@@ -2324,7 +2324,7 @@ InvokeTclMethod(
Tcl_IncrRefCount(cmd);
sr = Tcl_SaveInterpState(rcPtr->interp, 0 /* Dummy */);
Tcl_Preserve(rcPtr->interp);
- result = Tcl_GlobalEvalObj(rcPtr->interp, cmd);
+ result = Tcl_EvalObjEx(rcPtr->interp, cmd, TCL_EVAL_GLOBAL);
/*
* We do not try to extract the result information if the caller has no