summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-03-16 14:52:46 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-03-16 14:52:46 (GMT)
commit85461dc671e51b74fb17b69a207abfedbffc1d91 (patch)
treedfceab88a11dfd23749b50a658e02ee183038edb /generic/tclBasic.c
parent53a12f1cf62f19f53ef964da17fc300de9e1ecdb (diff)
parent91a20bc018f04bcf8ce13412ad16cfcbe9e53489 (diff)
downloadtcl-bug_0b8c387cf7.zip
tcl-bug_0b8c387cf7.tar.gz
tcl-bug_0b8c387cf7.tar.bz2
Merge trunk. bug_0b8c387cf7
Add TCL_EVAL_GLOBAL flag to Tcl_EvalObjEx(), for reason mentioned in [0b8c387cf7].
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r--generic/tclBasic.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index e5d7406..505f6c2 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -580,11 +580,12 @@ Tcl_CreateInterp(void)
iPtr->packageUnknown = NULL;
/* TIP #268 */
+#if (TCL_RELEASE_LEVEL == TCL_FINAL_RELEASE)
if (getenv("TCL_PKG_PREFER_LATEST") == NULL) {
iPtr->packagePrefer = PKG_PREFER_STABLE;
- } else {
+ } else
+#endif
iPtr->packagePrefer = PKG_PREFER_LATEST;
- }
iPtr->cmdCount = 0;
TclInitLiteralTable(&iPtr->literalTable);