Skip to content
Tcl Source Code History Of Ticket 218042ffffffffff
Login

History Of Ticket 218042ffffffffff

Artifacts Associated With Ticket 218042ffffffffff

  1. Ticket change [90ca389b2f] (rid 120511) by nobody on 2000-10-26 00:52:30:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 1364 Bug
      Version: 8.0.4
      SubmitDate: '1999-03-02'
      LastModified: '1999-08-07'
      Severity: MED
      Status: Closed
      Submitter: pat
      ChangedBy: hobbs
      OS: Solaris
      OSVersion: 2.6
      Machine: Other
      FixedDate: '2000-10-25'
      ClosedDate: '1999-08-07'
      
      
      Name:
      Raj
      
      Extensions:
      many
      
      ReproducibleScript:
       The code
      
        while [doSomething] {
            ...
        }
      
       used to work with tcl8.0, where the proc "doSomething" gets evaluated prior to every iteration. For some reason, it needs braces around the expression in
      tcl8.0.4. I found it the hard way after one of my programs ran into an infinite loop. I don't know where the extra round of substitution crept into ver 8.0.4.  Also, no information regarding this effect is mentioned in any of the release documentation. 
      
      DesiredBehavior:
      proper documentation of changes. 
      
      
      
      The fact that it was not required in earlier 8.0 releases was the
      bug.  According to the rules of substitution, the above becoming
      an infinite loop is the stated behavior.  It would be eval'ed only
      once (let's say to true), and then that is cached for later iterations.
      Placing the {}s around the conditional are required to make sure it
      will be evaluated at every iteration. 
      -- 08/07/1999 hobbs
      
    4. foundin initialized to: "obsolete: 8.0.4"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "69. Other"
    10. title initialized to:
      braces required on expression in while statements - not docu
      
    11. type initialized to: "Bug"
  2. Ticket change [a7fdd138a7] (rid 98899) by welch on 2000-10-26 08:13:43:

    1. closedate changed to: "2000-10-26T01:13:43"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [86e9060a1f] (rid 131599) by dgp on 2001-04-16 23:45:17:

    1. closedate changed to: "2001-04-16T16:45:17"
    2. closer changed to: "dgp"
    3. resolution changed to: "Invalid"
    4. subsystem changed to: "45. Parsing and Eval"