Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c9b5c84cbd3e7cdc1a2b1499094b71456d9e35b9
Ticket: 218149ffffffffffffffffffffffffffffffffff
while command runs forever
User & Date: nobody on 2000-10-26 00:53:46
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 2146 Bug
    Version: 8.1.1
    SubmitDate: '1999-06-03'
    LastModified: '1999-07-16'
    Severity: CRIT
    Status: Closed
    Submitter: techsupp
    ChangedBy: redman
    OS: Windows 95
    Machine: X86
    FixedDate: '2000-10-25'
    ClosedDate: '1999-07-16'
    
    
    Name:
    Gerald Jean Francis Banon
    
    CVS:
    May 27, 1999
    
    ReproducibleScript:
    while [file exists fileName] {}
    
    ObservedBehavior:
    This command runs forever even when the file named fileName is deleted
        from the file system by another application.
    
    DesiredBehavior:
    The while command should terminates when the file named fileName is
        deleted
        from the file system.
        This command is working properly with version 8.0p2
    
    
    
    Correct behavior.  The []'s gets called once, returns 1 and you get:
      while 1 {...}
    
    Corrected script would be:
    
       while {[file exists filename]} {}
    
     
    -- 07/16/1999 redman
    
  4. foundin changed to: "final: 8.1.1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: "while command runs forever"
  11. type changed to: "Bug"