Overview
| Artifact ID: | a41279dae2f52083d676992e415bf2cc3da3a700 |
|---|---|
| Ticket: | a16752c25254181ce5edef8cdc29b039d3e46885
No Tcl_CmdDeleteProc call when string command replaced by obj command |
| User & Date: | dgp on 2013-08-14 16:29:11 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed 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 changed to: "ALL"
- is_private changed to: "0"
- login: "dgp"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "45. Parsing and Eval"
- title changed to:
No Tcl_CmdDeleteProc call when string command replaced by obj command
- type changed to: "Bug"