Ticket #8763: no-depmap-dupes.diff
File no-depmap-dupes.diff, 550 bytes (added by jmroot (Joshua Root), 17 years ago) |
---|
-
src/registry1.0/receipt_flat.tcl
732 732 733 733 proc register_dep {dep type port} { 734 734 variable dep_map 735 lappend dep_map [list $dep $type $port] 735 set newdep [list $dep $type $port] 736 # slow, but avoids duplicate entries building up 737 if {[lsearch -exact $dep_map $newdep] == -1} { 738 lappend dep_map $newdep 739 } 736 740 } 737 741 738 742 proc unregister_dep {dep type port} {