|
2001-04-23
| ||
| 01:36 | • Ticket [218170ffff] System clock error in AFTER command. status still Closed... artifact: 7b3b5e9b1e user: dgp | |
|
2000-10-26
| ||
| 08:15 | • Closed ticket [218170ffff]. artifact: d2416ff2a7 user: welch | |
| 00:54 | • New ticket [218170ffff]. artifact: fa5bdae337 user: nobody | |
System clock error in AFTER command.
Closed / Invalid218170ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:54:06
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
welch Closed ticket [218170ffff].
[History diff]2000-10-26 08:15:58
dgp Ticket [218170ffff]: 4 changes
[History diff]2001-04-23 01:36:47
Log in (anonymous is fine) to add a comment.