Skip to content
Tcl Source Code History Of Ticket e078712465
Login

History Of Ticket e078712465

Artifacts Associated With Ticket e078712465

  1. Ticket change [ff92d494f5] (rid 140733) by dgp on 2014-11-21 21:27:59:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      The array "operatorStrings" in tclExecute.c is commented to need
      matching up with the opcode lists in tclCompile.h.  It doesn't
      match.  It's missing an empty string.  There are 8 empty strings
      between "FUNCTION" and "eq" and there need to be 9.
      
      Coverity apparently detected (1251249?) there was something wrong, and declared
      it a off by one.  See the commit
      
      http://core.tcl.tk/tcl/info/12524da9f5
      
      where an attempt to fix was committed.  It's the wrong fix though.
      The true error is in the data, not in the code.
      
      A good test in the test suite followed by the proper fix is
      the right way forward.
      
    5. is_private initialized to: "0"
    6. login: "dgp"
    7. priority initialized to: "5 Medium"
    8. resolution initialized to: "None"
    9. severity initialized to: "Minor"
    10. status initialized to: "Open"
    11. submitter initialized to: "dgp"
    12. subsystem initialized to: "47. Bytecode Compiler"
    13. title initialized to: "operatorStrings missing an empty string"
    14. type initialized to: "Bug"
  2. Ticket change [164b589341] (rid 140739) by dgp on 2014-11-22 19:06:39:

    1. icomment:
      
      The true fix is even easier.  There's no need
      for operatorStrings to extend beyond INST_LNOT.
      Patch coming soon.
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  3. Ticket change [64dc66aee9] (rid 140740) by ferrieux on 2014-11-22 22:47:14:

    1. icomment:
      It would seem cleaner to allocate an full array of size LAST_INST_OPCODE, initialized by a macro-repetitive function, instead of relying on specific ranges of opcodes to belong to specific semantic families (which is not the case; opcode simply grow monotonically over time).
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
  4. Ticket change [08329acb70] (rid 140746) by dgp on 2014-11-24 03:09:25:

    1. closedate changed to: "2456985.63154655"
    2. closer changed to: "dgp"
    3. icomment:
      
      "Fix the hack" applied to active branches.
      
      Agree that a more appealing longer term fix
      would be "merge the hacks" or even re-work so
      that needed functionality is present without hacks.
      Not today.
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"