summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkennykb <kennykb@noemail.net>2003-03-23 01:34:40 (GMT)
committerkennykb <kennykb@noemail.net>2003-03-23 01:34:40 (GMT)
commitc7ac6aeef4c84ec568f51d10fd1e77fe742746fa (patch)
tree81bc46bfc7cd742cc26f5135b44467fa666d3cc4
parent4f874564ba88388010cd92b13a3eef00266bdea7 (diff)
downloadtcl-c7ac6aeef4c84ec568f51d10fd1e77fe742746fa.zip
tcl-c7ac6aeef4c84ec568f51d10fd1e77fe742746fa.tar.gz
tcl-c7ac6aeef4c84ec568f51d10fd1e77fe742746fa.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. FossilOrigin-Name: 2e2825b14717ec01c7151da2a05682c5039cf353
-rw-r--r--ChangeLog8
-rw-r--r--library/dde/pkgIndex.tcl2
-rwxr-xr-xlibrary/reg/pkgIndex.tcl2
3 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 95cbae6..54cf21d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2003-03-22 Kevin Kenny <kennykb@acm.org>
+
+ * library/dde/pkgIndex.tcl:
+ * library/reg/pkgIndex.tcl: 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.
+
2003-03-20 Don Porter <dgp@users.sourceforge.net>
* generic/tclInt.h (tclOriginalNotifier):
diff --git a/library/dde/pkgIndex.tcl b/library/dde/pkgIndex.tcl
index b651038..49201f4 100644
--- a/library/dde/pkgIndex.tcl
+++ b/library/dde/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 dde 1.2.1 [list load [file join $dir tcldde12g.dll] dde]
} else {
package ifneeded dde 1.2.1 [list load [file join $dir tcldde12.dll] dde]
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 {