Artifacts Associated With Ticket 2923d52832
Ticket change [cbf1ff2117] (rid 146071) by dgp on 2016-03-30 16:05:15:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- 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
- foundin initialized to: "trunk"
- is_private initialized to: "0"
- login: "dgp"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "10. Objects"
- title initialized to: "INST_STR_MATCH != TclStringMatchObj()"
- type initialized to: "Bug"
Ticket change [220fae1d2e] (rid 146072) by dgp on 2016-03-30 16:20:08:
- 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.
- login: "dgp"
- mimetype: "text/plain"
- icomment: