summaryrefslogtreecommitdiffstats
path: root/library/reg/pkgIndex.tcl
diff options
context:
space:
mode:
authorhobbs <hobbs>1999-11-30 08:37:02 (GMT)
committerhobbs <hobbs>1999-11-30 08:37:02 (GMT)
commitd7393c5ccae5443faac4b81275778462c714ca12 (patch)
treee2ee8c6a1b3ceed265811755d99152741f1ee909 /library/reg/pkgIndex.tcl
parentf27b3b7ae4e9d68e55b5aa6670baa09156eb030c (diff)
downloadtcl-d7393c5ccae5443faac4b81275778462c714ca12.zip
tcl-d7393c5ccae5443faac4b81275778462c714ca12.tar.gz
tcl-d7393c5ccae5443faac4b81275778462c714ca12.tar.bz2
* library/dde1.1/pkgIndex.tcl:
* library/reg1.0/pkgIndex.tcl: added supported for debugged versions of the libraries
Diffstat (limited to 'library/reg/pkgIndex.tcl')
-rwxr-xr-xlibrary/reg/pkgIndex.tcl8
1 files changed, 7 insertions, 1 deletions
diff --git a/library/reg/pkgIndex.tcl b/library/reg/pkgIndex.tcl
index 7f34997..5c2218c 100755
--- a/library/reg/pkgIndex.tcl
+++ b/library/reg/pkgIndex.tcl
@@ -1 +1,7 @@
-package ifneeded registry 1.0 "load [list [file join $dir tclreg83.dll]] registry"
+if {[info exists tcl_platform(debug)]} {
+ package ifneeded registry 1.0 \
+ [list load [file join $dir tclreg83d.dll] registry]
+} else {
+ package ifneeded registry 1.0 \
+ [list load [file join $dir tclreg83.dll] registry]
+}