diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-01-18 14:32:41 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-01-18 14:32:41 (GMT) |
commit | d35ea153489e5abcf15a7e2de5a2659e72c2373b (patch) | |
tree | da1679bd296ab57fb2c10ce5a83d33861d477e87 /generic/tclTrace.c | |
parent | a03db6ab78e482f5bd0a3acbf350f81361ae4da4 (diff) | |
download | tcl-d35ea153489e5abcf15a7e2de5a2659e72c2373b.zip tcl-d35ea153489e5abcf15a7e2de5a2659e72c2373b.tar.gz tcl-d35ea153489e5abcf15a7e2de5a2659e72c2373b.tar.bz2 |
Eliminate some usages of Tcl_GlobalEval() and Tcl_Eval(), which are deprecated functions.
Diffstat (limited to 'generic/tclTrace.c')
-rw-r--r-- | generic/tclTrace.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclTrace.c b/generic/tclTrace.c index fe52d59..4e74c54 100644 --- a/generic/tclTrace.c +++ b/generic/tclTrace.c @@ -1889,7 +1889,8 @@ TraceExecutionProc( * interpreter. */ - traceCode = Tcl_Eval(interp, Tcl_DStringValue(&cmd)); + traceCode = Tcl_EvalEx(interp, Tcl_DStringValue(&cmd), + Tcl_DStringLength(&cmd), 0); tcmdPtr->flags &= ~TCL_TRACE_EXEC_IN_PROGRESS; /* |