Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d245e54398d974f2b5a62073b04cd3c27fc28ef1
Ticket: 1845320fffffffffffffffffffffffffffffffff
TclCompileEnsemble error ?
User & Date: dgp on 2007-12-06 06:35:05
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    Check me on this, but at line 6360
    of tclCompCmds.c in TclCompileEnsemble(),
    I see:
    
        memcpy(synthetic.tokenPtr + 2, argTokensPtr,
                sizeof(Tcl_Token) * (synthetic.numTokens - 2));
    
    
    and I think that should be:
    
        memcpy(synthetic.tokenPtr + 2*len, argTokensPtr,
                sizeof(Tcl_Token) * (synthetic.numTokens - 2*len));
    
    Probably all of the core ensembles that
    get compiled have (len == 1) so no problem
    so far, but if the aim is a general facility,
    multi-word subcommand targets should be
    done right.
    
    
    
  4. foundin changed to: "obsolete: 8.5b3"
  5. is_private changed to: "0"
  6. priority changed to: "8"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "dgp"
  10. subsystem changed to: "47. Bytecode Compiler"
  11. title changed to: "TclCompileEnsemble error ?"
  12. type changed to: "Bug"