summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2003-11-10 22:42:06 (GMT)
committerdgp@users.sourceforge.net <dgp>2003-11-10 22:42:06 (GMT)
commit417178fd62a5c426c4c52037f115b404298abafc (patch)
tree5e68bff272addf4657c3e95aaaabaff686717b47 /library
parent4c1c52509035fa73586b252f49f04c0648dc56c5 (diff)
downloadtcl-417178fd62a5c426c4c52037f115b404298abafc.zip
tcl-417178fd62a5c426c4c52037f115b404298abafc.tar.gz
tcl-417178fd62a5c426c4c52037f115b404298abafc.tar.bz2
* library/dde/pkgIndex.tcl: Added safeguards so that registry
* library/reg/pkgIndex.tcl: and dde packages are not offered * win/tclWinDde.c: on non-Windows platforms. Bumped to * win/tclWinReg.c: registry 1.1.3 and dde 1.2.2.
Diffstat (limited to 'library')
-rw-r--r--library/dde/pkgIndex.tcl5
-rwxr-xr-xlibrary/reg/pkgIndex.tcl5
2 files changed, 6 insertions, 4 deletions
diff --git a/library/dde/pkgIndex.tcl b/library/dde/pkgIndex.tcl
index 49201f4..b293134 100644
--- a/library/dde/pkgIndex.tcl
+++ b/library/dde/pkgIndex.tcl
@@ -1,6 +1,7 @@
if {![package vsatisfies [package provide Tcl] 8]} {return}
+if {[string compare $::tcl_platform(platform) windows]} {return}
if {[info exists ::tcl_platform(debug)]} {
- package ifneeded dde 1.2.1 [list load [file join $dir tcldde12g.dll] dde]
+ package ifneeded dde 1.2.2 [list load [file join $dir tcldde12g.dll] dde]
} else {
- package ifneeded dde 1.2.1 [list load [file join $dir tcldde12.dll] dde]
+ package ifneeded dde 1.2.2 [list load [file join $dir tcldde12.dll] dde]
}
diff --git a/library/reg/pkgIndex.tcl b/library/reg/pkgIndex.tcl
index ad9a54b..55775f2 100755
--- a/library/reg/pkgIndex.tcl
+++ b/library/reg/pkgIndex.tcl
@@ -1,8 +1,9 @@
if {![package vsatisfies [package provide Tcl] 8]} {return}
+if {[string compare $::tcl_platform(platform) windows]} {return}
if {[info exists ::tcl_platform(debug)]} {
- package ifneeded registry 1.1.2 \
+ package ifneeded registry 1.1.3 \
[list load [file join $dir tclreg11g.dll] registry]
} else {
- package ifneeded registry 1.1.2 \
+ package ifneeded registry 1.1.3 \
[list load [file join $dir tclreg11.dll] registry]
}