summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-03-09 15:59:07 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-03-09 15:59:07 (GMT)
commit61616431840c438a6934e3745b7b422f2a1d53c8 (patch)
tree47922e724b0e60eadf309cdf51b2c7fbc4371917 /generic/tclBasic.c
parent5137357e74c887368ad68c3cb09998b154e68d4f (diff)
downloadtcl-61616431840c438a6934e3745b7b422f2a1d53c8.zip
tcl-61616431840c438a6934e3745b7b422f2a1d53c8.tar.gz
tcl-61616431840c438a6934e3745b7b422f2a1d53c8.tar.bz2
Let Tcl 8.7 allow Tk 8.7 to be used by defaultjn_Tcl_requirement
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r--generic/tclBasic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index e5d7406..3f5c113 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -580,7 +580,7 @@ Tcl_CreateInterp(void)
iPtr->packageUnknown = NULL;
/* TIP #268 */
- if (getenv("TCL_PKG_PREFER_LATEST") == NULL) {
+ if ((TCL_RELEASE_LEVEL == TCL_FINAL_RELEASE) && getenv("TCL_PKG_PREFER_LATEST") == NULL) {
iPtr->packagePrefer = PKG_PREFER_STABLE;
} else {
iPtr->packagePrefer = PKG_PREFER_LATEST;