Skip to content
Tcl Source Code History Of Ticket 647307ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 647307ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 647307ffffffffffffffffffffffffffffffffff

  1. Ticket change [87d2dfe67f] (rid 131765) by nobody on 2002-12-02 23:02:53:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. 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
      
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "22. [proc] and [uplevel]"
    10. title initialized to: "Nonstandard return codes misinterpreted"
    11. type initialized to: "Bug"
  2. Ticket change [e4aa16b3cd] (rid 87994) by dgp on 2002-12-05 06:45:37:

    1. assignee changed to: "dgp"
  3. Ticket change [6d3b5c2c5f] (rid 128656) by dgp on 2002-12-12 04:09:45:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      Only negative return code values
      seem to have this problem.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. title changed to: "Negative return codes misinterpreted"
    5. username: "dgp"
  4. Ticket change [e63c8788c2] (rid 104268) by dgp on 2002-12-12 04:15:49:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      The bug is in ProcessProcResultCode()
      which did not consider negative return
      codes.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [9178097949] (rid 120622) by dgp on 2002-12-12 04:29:57:

    1. closedate changed to: "2002-12-11T21:29:57"
    2. closer changed to: "dgp"
    3. foundin changed to: "obsolete: 8.4.1"
    4. icomment:
      Logged In: YES 
      user_id=80530
      
      committing fix and test.
      
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
    9. username: "dgp"