clock-40.1 fails
Closed / Fixed1026125fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-09-10 22:49:53
Solaris 9 system:
==== clock-40.1 regression - bad month with -timezone
:localtime FAILED
==== Contents of test case:
clock scan 1970-01-01T00:00:00 -timezone
:localtime -format %Y-%m-%dT%H:%M:%S
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: time value too large/small to represent
while executing
"::tcl::clock::ConvertLocalToUTC [K $date [set date {}]]"
(procedure
"::tcl::clock::scanproc'%Y-%m-%dT%H:%M:%S'c" line 31)
invoked from within
"$scanner $string $base $timezone"
invoked from within
"::tcl::clock::scan 1970-01-01T00:00:00 -timezone
:localtime -format %Y-%m-%dT%H:%M:%S"
invoked from within
"clock scan 1970-01-01T00:00:00 -timezone :localtime
-format %Y-%m-%dT%H:%M:%S"
("uplevel" body line 2)
invoked from within
"uplevel 1 $script"
---- errorCode: NONE
==== clock-40.1 FAILED
kennykbplain2004-09-12 02:01:52
Logged In: YES user_id=99768 A bad patch to Tcl_GetIntFromObj made it fail on a big-endian 32-bit machine when presented with an object having a wide internal rep. Also, TclMktimeObjCmd had a bad error check. Both are fixed.
Log in (anonymous is fine) to add a comment.