Ignore:
Timestamp:
Dec 7, 2003, 11:47:25 PM (15 years ago)
Author:
landonf
Message:

When comparing old variants to new variants, check if the array key exists prior to checking its value.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port1.0/portutil.tcl

    r4105 r4155  
    696696                } else {
    697697                        foreach key [array names upvariations *] {
    698                                 if {$upvariations($key) != $oldvariations($key)} {
     698                                if {![info exists $oldvariations($key)] || $upvariations($key) != $oldvariations($key)} {
    699699                                        set mismatch 1
    700700                                        break
Note: See TracChangeset for help on using the changeset viewer.