Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2003-03-23
08:53 • Closed ticket [708218ffff]: pkgIndex.tcl broken for latest dde and reg plus ... artifact: 15d0a9ea90 user: kennykb
08:09 • Ticket [708218ffff]: 1 change artifact: 60695039f5 user: mistachkin
01:07 • New ticket [708218ffff]. artifact: e982af78e4 user: nobody

pkgIndex.tcl broken for latest dde and reg

Closed / Fixed708218ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2003-03-23 01:07:44
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]
}

should really be

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]
}

the same goes for the registry package as these 
scripts are not evaluated in the global scope.

the current consequence is that it is impossible to 
load the dde and registry packages from a debug 
build (using the stock source code).

JJM
mistachkin Ticket [708218ffff]: 1 change [History diff]2003-03-23 08:09:39
kennykbplain2003-03-23 08:53:23
Logged In: YES 
user_id=99768

Right you are. Changes committed to 8.4 and 8.5 branches
Log in (anonymous is fine) to add a comment.