summaryrefslogtreecommitdiffstats
path: root/library/reg/pkgIndex.tcl
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-09-10 12:03:40 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-09-10 12:03:40 (GMT)
commit4dc0eb331451143f9fac2621140d60c8073eb21d (patch)
tree0fbad030b40dd7e8fc532d97b2f75200c62ea9d1 /library/reg/pkgIndex.tcl
parent7f3d79834326c84f710028a5d603ee1a9896d8c7 (diff)
downloadtcl-4dc0eb331451143f9fac2621140d60c8073eb21d.zip
tcl-4dc0eb331451143f9fac2621140d60c8073eb21d.tar.gz
tcl-4dc0eb331451143f9fac2621140d60c8073eb21d.tar.bz2
Backport some improvements to tm.tcl (mostly comments).
Don't use ::tcl_platform(debug) anymore, since it cannot be thrusted: Better use [::tcl::pkgconfig get debug] Reduce limits in tests/compile.test (13.2), since apparently it's still too much for some platforms.
Diffstat (limited to 'library/reg/pkgIndex.tcl')
-rwxr-xr-xlibrary/reg/pkgIndex.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/reg/pkgIndex.tcl b/library/reg/pkgIndex.tcl
index 12c7ea5..9a85944 100755
--- a/library/reg/pkgIndex.tcl
+++ b/library/reg/pkgIndex.tcl
@@ -1,6 +1,6 @@
-if {![package vsatisfies [package provide Tcl] 8]} return
+if {![package vsatisfies [package provide Tcl] 8.5]} return
if {[info sharedlibextension] != ".dll"} return
-if {[info exists ::tcl_platform(debug)]} {
+if {[::tcl::pkgconfig get debug]} {
package ifneeded registry 1.3.3 \
[list load [file join $dir tclreg13g.dll] registry]
} else {