Skip to content
Tcl Source Code History Of Ticket a16752c252
Login

History Of Ticket a16752c252

Artifacts Associated With Ticket a16752c252

  1. Ticket change [a41279dae2] (rid 133319) by dgp on 2013-08-14 16:29:11:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. 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 {}
      %
      
    5. foundin initialized to: "ALL"
    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: "45. Parsing and Eval"
    14. title initialized to:
      No Tcl_CmdDeleteProc call when string command replaced by obj command
      
    15. type initialized to: "Bug"
  2. Ticket change [f347a8a153] (rid 133320) by dgp on 2013-08-14 16:35:20:

    1. 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
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  3. Ticket change [e1198eb244] (rid 133326) by dgp on 2013-08-14 17:04:35:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2456519.21152081"
    3. closer changed to: "dgp"
    4. icomment: "Fixed for 8.5.15 and 8.6.1."
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
  4. Ticket change [fa2d8e090c] (rid 170376) by jan.nijtmans on 2019-03-24 17:45:06:

    1. closedate changed to: "2458567.23965623"
    2. closer changed to: "jan.nijtmans"
    3. icomment:
      Also see ammendement commit [d041733320ea01c2], in which a special exception is made to this bug-fix.
      
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"