Artifacts Associated With Ticket 647307ffffffffff
Ticket change [87d2dfe67f] (rid 131765) by nobody on 2002-12-02 23:02:53:
- assignee initialized to: "msofer"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Tcl 8.4 procedure bodies seem to interpret the return code -1 as if it was 4 (continue). This obstructs [returneval] (see http://mini.net/tcl/4346). New bad behaviour: % info patchlevel 8.4.1 % parray tcl_platform tcl_platform(byteOrder) = bigEndian tcl_platform(machine) = ppc tcl_platform(os) = MacOS tcl_platform(osVersion) = 9.0 tcl_platform(platform) = macintosh % proc a {} {return -code -1 Special} % a command returned bad code: -1 % proc b {} {a} % b invoked "continue" outside of a loop It should be "command returned bad code: -1" in both cases. In 8.3.4 it was: % info patchlevel 8.3.4 % proc a {} {return -code -1 Special} % a command returned bad code: -1 % proc b {} {a} % b command returned bad code: -1 This could be related to bug 633204, but they could also be unrelated. Lars Hellström - foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "22. [proc] and [uplevel]"
- title initialized to: "Nonstandard return codes misinterpreted"
- type initialized to: "Bug"
Ticket change [e4aa16b3cd] (rid 87994) by dgp on 2002-12-05 06:45:37:
- assignee changed to: "dgp"
Ticket change [6d3b5c2c5f] (rid 128656) by dgp on 2002-12-12 04:09:45:
- icomment:
Logged In: YES user_id=80530 Only negative return code values seem to have this problem.
- login: "dgp"
- mimetype: "text/plain"
- title changed to: "Negative return codes misinterpreted"
- username: "dgp"
- icomment:
Ticket change [e63c8788c2] (rid 104268) by dgp on 2002-12-12 04:15:49:
- icomment:
Logged In: YES user_id=80530 The bug is in ProcessProcResultCode() which did not consider negative return codes.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [9178097949] (rid 120622) by dgp on 2002-12-12 04:29:57:
- closedate changed to: "2002-12-11T21:29:57"
- closer changed to: "dgp"
- foundin changed to: "obsolete: 8.4.1"
- icomment:
Logged In: YES user_id=80530 committing fix and test.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dgp"