Artifacts Associated With Ticket a16752c25254181c
Ticket change [a41279dae2] (rid 133319) by dgp on 2013-08-14 16:29:11:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
This has been broken as long as Tcl source code history goes back. When a command created by Tcl_CreateCommand is overwritten by a new command created by Tcl_CreateObjCommand, its deletion callback is never called. There is special explicit code in place to make this mistake. "What were they thinking?" Here's the demo, using testing commands already available: % testdel {} foo {puts bar} % proc foo args {} % - foundin initialized to: "ALL"
- 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: "45. Parsing and Eval"
- title initialized to:
No Tcl_CmdDeleteProc call when string command replaced by obj command
- type initialized to: "Bug"
Ticket change [f347a8a153] (rid 133320) by dgp on 2013-08-14 16:35:20:
- icomment:
New test: test rename-4.8 {Bug a16752c252} testdel { set x broken testdel {} foo {set x ok} proc foo args {} rename foo {} return -level 0 $x[unset x] } ok - login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [e1198eb244] (rid 133326) by dgp on 2013-08-14 17:04:35:
- assignee changed to: "dgp"
- closedate changed to: "2456519.21152081"
- closer changed to: "dgp"
- icomment: "Fixed for 8.5.15 and 8.6.1."
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [fa2d8e090c] (rid 170376) by jan.nijtmans on 2019-03-24 17:45:06:
- closedate changed to: "2458567.23965623"
- closer changed to: "jan.nijtmans"
- icomment:
Also see ammendement commit [d041733320ea01c2], in which a special exception is made to this bug-fix.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"