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)
commit69ddcaa16e000f55028b3df7e01bcda7cd11d5e7 (patch)
tree47922e724b0e60eadf309cdf51b2c7fbc4371917 /generic/tclBasic.c
parentc2480e69a5cb24601c36b41ef4d47cf59b0159b7 (diff)
downloadtcl-69ddcaa16e000f55028b3df7e01bcda7cd11d5e7.zip
tcl-69ddcaa16e000f55028b3df7e01bcda7cd11d5e7.tar.gz
tcl-69ddcaa16e000f55028b3df7e01bcda7cd11d5e7.tar.bz2
Let Tcl 8.7 allow Tk 8.7 to be used by default
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;