Skip to content
Tcl Source Code History Of Ticket 2923d52832931c60
Login

History Of Ticket 2923d52832931c60

Artifacts Associated With Ticket 2923d52832931c60

  1. Ticket change [cbf1ff2117] (rid 146071) by dgp on 2016-03-30 16:05:15:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized 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 initialized to: "trunk"
    6. is_private initialized to: "0"
    7. login: "dgp"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Minor"
    11. status initialized to: "Open"
    12. submitter initialized to: "dgp"
    13. subsystem initialized to: "10. Objects"
    14. title initialized to: "INST_STR_MATCH != TclStringMatchObj()"
    15. type initialized to: "Bug"
  2. Ticket change [220fae1d2e] (rid 146072) by dgp on 2016-03-30 16:20:08:

    1. icomment:
      
      ok, I misread it.  The stanza is not unreachable.
      
      The two code sections do implement different
      logic though, and I cannot see why they ought
      not be the same -- and in fact be the same
      chunk of code.
      
    2. login: "dgp"
    3. mimetype: "text/plain"