summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-01-18 14:32:41 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-01-18 14:32:41 (GMT)
commitd35ea153489e5abcf15a7e2de5a2659e72c2373b (patch)
treeda1679bd296ab57fb2c10ce5a83d33861d477e87 /unix
parenta03db6ab78e482f5bd0a3acbf350f81361ae4da4 (diff)
downloadtcl-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 'unix')
-rw-r--r--unix/dltest/pkge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/dltest/pkge.c b/unix/dltest/pkge.c
index d616352..395cd0e 100644
--- a/unix/dltest/pkge.c
+++ b/unix/dltest/pkge.c
@@ -50,5 +50,5 @@ Pkge_Init(
if (Tcl_InitStubs(interp, TCL_VERSION, 0) == NULL) {
return TCL_ERROR;
}
- return Tcl_Eval(interp, script);
+ return Tcl_EvalEx(interp, script, -1, 0);
}