Overview
| Artifact ID: | fa5bdae337bef3c065bbede6820c676cd0e373de |
|---|---|
| Ticket: | 218170ffffffffffffffffffffffffffffffffff
System clock error in AFTER command. |
| User & Date: | nobody on 2000-10-26 00:54:06 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed 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 - foundin changed to: "final: 8.1.1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to: "System clock error in AFTER command."
- type changed to: "Bug"