Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: cbf1ff2117eed7f163a2070344dabac3d7317e84
Ticket: 2923d52832931c60b2163b2e4b09c828d710a2f0
INST_STR_MATCH != TclStringMatchObj()
User & Date: dgp on 2016-03-30 16:05:15
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    In tclExecute.c, the implementation of the
    INST_STR_MATCH instruction pretty apparently
    wants to be the same function as the internal
    routine TclStringMatchObj().
    
    However, the code is not the same.  It appears
    the tclExecute.c code is correct, since the
    TclStringMatchObj() routine in tclUtil.c is written
    so that a whole stanza is unreachable.
    
    This feels so wrong to have this code duplication.
    Is it truly unacceptable in some way to just have
    tclExecute.c call TclStringMatchObj() when it 
    needs it?  If so, might we at least use a common
    macro expansion in both places?
    
    See also 
    http://core.tcl.tk/tcl/tktview?name=85b87a7570
    
  5. foundin changed to: "trunk"
  6. is_private changed to: "0"
  7. login: "dgp"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "dgp"
  13. subsystem changed to: "10. Objects"
  14. title changed to: "INST_STR_MATCH != TclStringMatchObj()"
  15. type changed to: "Bug"