Ignore:
Timestamp:
Feb 28, 2010, 8:13:29 PM (11 years ago)
Author:
jmr@…
Message:

reg2 updates, including fix for deadlock during install

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/registry2.0/portimage.tcl

    r64269 r64292  
    118118            }
    119119
    120             if { [string equal [$requested state] "active"] } {
     120            if { [string equal [$requested state] "installed"] } {
    121121                return -code error "Image error: ${name} @${version}_${revision}${variants} is already active."
    122122            }
     
    452452                        if {[info exists portinfo(replaced_by)] && [lsearch -exact -nocase $portinfo(replaced_by) [$port name]] != -1} {
    453453                            lappend deactivated $owner
     454                            # XXX this is bad, deactivate does another write transaction (probably deadlocks)
    454455                            deactivate [$owner name] "" ""
    455456                            set owner {}
Note: See TracChangeset for help on using the changeset viewer.