Skip to content
Tcl Source Code History Of Ticket 218170
Login

History Of Ticket 218170

Artifacts Associated With Ticket 218170

  1. Ticket change [fa5bdae337] (rid 91853) by nobody on 2000-10-26 00:54:06:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 2267 Bug
      Version: 8.1.1
      SubmitDate: '1999-06-21'
      LastModified: '1999-06-29'
      Severity: LOW
      Status: Closed
      Submitter: techsupp
      ChangedBy: redman
      OS: Linux-Red Hat
      Machine: Other
      FixedDate: '2000-10-25'
      FixedInVersion: NA
      ClosedDate: '1999-06-29'
      
      
      Name:
      Christian Felde
      
      CustomShell:
      No. It's a standard 8.1.1 core downloaded from www.scriptics.com.
      
      ReproducibleScript:
      tcl script:
          
          -- start --
          set num 0
          while {1} {
              set true 0
              after 500 {
                  set true 1
              }
              vwait true
              puts "[incr num]"
          }
          -- end --
          
          Script started using: tclsh <filename of script file>
      
      ObservedBehavior:
      When I'm setting the system time (using date -s <time>) back it halts.
          There is no problems if I set the system time forward.
          
          So if the clock is Sun Jun 20 21:28:37 CEST 1999, and I use date -s
          21:25, then it will halt. If I had been using date -s 21:30, then there
          is no problem.
      
      DesiredBehavior:
      I would have expected it to just keep on counting.
      
      
      
      This is correct behavior.  The "after" command uses the system clock to schedule future events, if you change the clock back, that event gets moved out by that amount of time (if you move the clock back by 1 hour, the event happens one hour later than scheduled).  This is the most efficient way to implement this feature and is very easy to workaround.
      
      -- 06/29/1999 redman
      
      
      
    4. foundin initialized to: "final: 8.1.1"
    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: "System clock error in AFTER command."
    11. type initialized to: "Bug"
  2. Ticket change [d2416ff2a7] (rid 113507) by welch on 2000-10-26 08:15:58:

    1. closedate changed to: "2000-10-26T01:15:58"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [7b3b5e9b1e] (rid 90487) by dgp on 2001-04-23 01:36:47:

    1. closedate changed to: "2001-04-22T18:36:47"
    2. closer changed to: "dgp"
    3. resolution changed to: "Invalid"
    4. subsystem changed to: "06. Time Measurement"