Changeset 498


Ignore:
Timestamp:
Dec 4, 2009 5:07:10 PM (11 years ago)
Author:
toby
Message:

# on 2001/12/16 19:38:52, toby did:
bug fix: ignore update if .EXP file does not exists

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/liveplot

    • Property rcs:date changed from 2001/12/16 18:09:18 to 2001/12/16 19:38:52
    • Property rcs:lines changed from +204 -224 to +3 -1
    • Property rcs:rev changed from 1.24 to 1.25
    r494 r498  
    859859    global cycle modtime expnam env tcl_platform graph
    860860    # has the .EXP file been changed?
    861     if {[file mtime $expnam.EXP] != $modtime} {
     861    set newmodtime $modtime
     862    catch {set newmodtime [file mtime $expnam.EXP]}
     863    if {$newmodtime != $modtime} {
    862864        # are we in windows and are "locked?" If not, OK to update
    863865        if {$tcl_platform(platform) == "windows" && [file exists expgui.lck]} {
Note: See TracChangeset for help on using the changeset viewer.