Ticket #40721: mportdepends_debug.patch

File mportdepends_debug.patch, 856 bytes (added by jmroot (Joshua Root), 11 years ago)
  • src/macports1.0/macports.tcl

     
    31113111                # we potentially leak mport references if we mportopen each time,
    31123112                # because mportexec only closes each open mport once.
    31133113                set depport [dlist_match_multi $macports::open_mports [list porturl $dep_portinfo(porturl) options $dep_options]]
     3114                if {[ditem_key $depport workername] eq {}} {
     3115                    error "'dlist_match_multi $macports::open_mports [list porturl $dep_portinfo(porturl) options $dep_options]' returned an mport with no workername!"
     3116                }
    31143117
    31153118                if {$depport eq {}} {
    31163119                    # We haven't opened this one yet.