clock scan - aberant behaviour
Closed / Works For Me459508ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 24 years ago
Descriptionplain2001-09-07 12:38:43
On Solaris 2.8 (SPARC U10) the following command: "clock scan "19700101T00:00:00" issued twice returns diferent outputs. My ltimezone is EET. Ex: bash-2.03$ tclsh % clock scan "19700104T00:00:00" 252000 % clock scan "19700104T00:00:00" 248400
dkf Ticket [459508ffff]: 2 changes
[History diff]2001-09-07 19:53:05
kennykbplain2003-02-17 02:41:47
Logged In: YES user_id=99768 I just tried this a number of ways on Solaris 2.8, and consistently got the (correct) value of 248400. I'm at a loss to explain the one-hour difference that the original submitter reports. Had it been three or four hours, I'd speculate that there was another thread manipulating $env(TZ) at the time, in order to execute [clock format ... -gmt true]. If that were the case, though, then recent changes to tclClock.c have fixed the problem anyway.
Log in (anonymous is fine) to add a comment.