Ignore:
Timestamp:
Mar 15, 2016, 3:50:29 PM (4 years ago)
Author:
cal@…
Message:

base: reclaim: Ignore errors in state checking

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/macports1.0/reclaim.tcl

    r146699 r146701  
    312312            set fd [open $path w]
    313313            puts $fd [clock seconds]
     314        } catch {*} {
     315            # Ignore error silently
    314316        } finally {
    315317            if {$fd != -1} {
     
    337339            set fd [open $path r]
    338340            set time [gets $fd]
     341        } catch {*} {
     342            # Ignore error silently; the file might not have been created yet
    339343        } finally {
    340344            if {$fd != -1} {
Note: See TracChangeset for help on using the changeset viewer.