Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-11-12
11:08 • Closed ticket [1348067fff]: scan failures from #237 plus 7 other changes artifact: d9b638a452 user: dgp
11:04 • Add attachment 1348067.patch to ticket [1348067fff] artifact: cbb048bbf7 user: dgp
11:04 • Ticket [1348067fff] scan failures from #237 status still Open with 4 other c... artifact: 8038adacae user: dgp
2005-11-04
09:24 • New ticket [1348067fff]. artifact: 48441d7a12 user: dkf

scan failures from #237

Closed / Fixed1348067fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-11-04 09:24:43
The TIP#237 implementation caused tests scan-4.44 and
scan-4.55 to start failing. I suspect that the tests
were testing for the wrong thing before and that the
current result is actually the right one. But I don't
know; it's up to you to decide what to do. FYI, here's
the (segment of the) test log:

safe.test
scan.test

==== scan-4.44 Tcl_ScanObjCmd, integer scanning, odd
cases FAILED
==== Contents of test case:

    set x {}
    list [scan {+} {%i} x] $x

---- Result was:
0 {}
---- Result should have been (exact matching):
-1 {}
==== scan-4.44 FAILED


==== scan-4.55 Tcl_ScanObjCmd, odd cases FAILED
==== Contents of test case:

    set x {}
    list [scan {+} %f x] $x

---- Result was:
0 {}
---- Result should have been (exact matching):
-1 {}
==== scan-4.55 FAILED

security.test
set-old.test
dgpplain2005-11-12 11:04:43
File Added - 155965: 1348067.patch

Logged In: YES 
user_id=80530


attached patch corrects the problem.
dgpplain2005-11-12 11:08:19
Logged In: YES 
user_id=80530

committed.
Log in (anonymous is fine) to add a comment.

Attachments: