Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ff92d494f5c9a0c6e133b4f8b6493d9b71aedca6
Ticket: e0787124655e40ae2d1d4052911fcc1d21dfb20e
operatorStrings missing an empty string
User & Date: dgp on 2014-11-21 21:27:59
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed 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 changed to: "0"
  6. login: "dgp"
  7. priority changed to: "5 Medium"
  8. resolution changed to: "None"
  9. severity changed to: "Minor"
  10. status changed to: "Open"
  11. submitter changed to: "dgp"
  12. subsystem changed to: "47. Bytecode Compiler"
  13. title changed to: "operatorStrings missing an empty string"
  14. type changed to: "Bug"