summaryrefslogtreecommitdiffstats
path: root/library/reg/pkgIndex.tcl
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2003-03-23 01:39:03 (GMT)
committerKevin B Kenny <kennykb@acm.org>2003-03-23 01:39:03 (GMT)
commitb52c9a2b4366612102ed299d835e0449d0edbf1b (patch)
treec7d53d34b39121319f7d27ee0c9cec619568b007 /library/reg/pkgIndex.tcl
parent9cb6eb20a290f06006f72f409b1375a6141276ed (diff)
downloadtcl-b52c9a2b4366612102ed299d835e0449d0edbf1b.zip
tcl-b52c9a2b4366612102ed299d835e0449d0edbf1b.tar.gz
tcl-b52c9a2b4366612102ed299d835e0449d0edbf1b.tar.bz2
Fixed a bug where [package require dde] or [package require registry]
attempted to load the release version of the DLL into a debug build. [Bug 708218] Thanks to Joe Mistachkin for the patch.
Diffstat (limited to 'library/reg/pkgIndex.tcl')
-rwxr-xr-xlibrary/reg/pkgIndex.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/reg/pkgIndex.tcl b/library/reg/pkgIndex.tcl
index d4bd27b..230d120 100755
--- a/library/reg/pkgIndex.tcl
+++ b/library/reg/pkgIndex.tcl
@@ -1,5 +1,5 @@
if {![package vsatisfies [package provide Tcl] 8]} {return}
-if {[info exists tcl_platform(debug)]} {
+if {[info exists ::tcl_platform(debug)]} {
package ifneeded registry 1.1.1 \
[list load [file join $dir tclreg11g.dll] registry]
} else {