diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-09-10 12:03:40 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-09-10 12:03:40 (GMT) |
commit | 4dc0eb331451143f9fac2621140d60c8073eb21d (patch) | |
tree | 0fbad030b40dd7e8fc532d97b2f75200c62ea9d1 /library/reg | |
parent | 7f3d79834326c84f710028a5d603ee1a9896d8c7 (diff) | |
download | tcl-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')
-rwxr-xr-x | library/reg/pkgIndex.tcl | 4 |
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 { |