Changeset 54017


Ignore:
Timestamp:
Jul 19, 2009, 1:10:36 AM (10 years ago)
Author:
raimue@…
Message:

port1.0/portutil.tcl:
As addition to r54002, do not compare variants if the statefile is empty, like
on a fresh install.

File:
1 edited

Legend:

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

    r54002 r54017  
    16381638    array set oldvariations {}
    16391639
     1640    seek $fd 0 end
     1641    if {[tell $fd] == 0} {
     1642        # Statefile is empty, skipping further tests
     1643        return 0
     1644    }
     1645
    16401646    seek $fd 0
    16411647    while {[gets $fd line] >= 0} {
Note: See TracChangeset for help on using the changeset viewer.