Skip to content
Tcl Source Code History Of Ticket 534728ffffffffff
Login

History Of Ticket 534728ffffffffff

Artifacts Associated With Ticket 534728ffffffffff

  1. Ticket change [60f9e5d5af] (rid 92163) by hemanglavana on 2002-03-25 16:06:37:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Version: Tcl8.4a4 (CVS Head)
      
      From the man page for Tcl_CreateObjTrace:
      
      Tcl_CmdObjTraceDeleteProc *deleteProc ()
      Procedure to call when the trace is deleted. See below
      for details of the calling sequence. A null pointer is
      permissible and results in no callback when the trace
      is deleted.
      
      However, specifying deleteProc as NULL results in
      segmentation fault. The following patch fixes this problem:
      
      godel:28> cvs diff tclBasic.c 
      Index: tclBasic.c
      ===================================================================
      RCS file: /cvsroot/tcl/tcl/generic/tclBasic.c,v
      retrieving revision 1.52
      diff -r1.52 tclBasic.c
      4963c4963
      <      * Execute any delete callback.
      ---
      >      * Execute any delete callback, if not NULL.
      4966c4966,4968
      <     ( tracePtr->delProc )( tracePtr->clientData );
      ---
      >     if ( (tracePtr->delProc) != NULL) {
      >         ( tracePtr->delProc )( tracePtr->clientData );
      >     }
      
      Next, there is one documentation typo in its man page:
      
      godel:39> cvs diff CrtTrace.3
      Index: CrtTrace.3
      ===================================================================
      RCS file: /cvsroot/tcl/tcl/doc/CrtTrace.3,v
      retrieving revision 1.3
      diff -r1.3 CrtTrace.3
      38c38
      < .AP Tcl_CmdObjTraceProc *proc in
      ---
      > .AP Tcl_CmdObjTraceProc *objProc in
      
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "hemanglavana"
    9. subsystem initialized to: "None"
    10. title initialized to: "Tcl_CreateObjTrace: allow delProc = NULL"
    11. type initialized to: "Bug"
  2. Ticket change [4bf488db46] (rid 126791) by msofer on 2002-03-25 23:35:45:

    1. assignee changed to: "msofer"
    2. closedate changed to: "2002-03-25T16:35:45"
    3. closer changed to: "msofer"
    4. icomment:
      Logged In: YES 
      user_id=148712
      
      Thanks; patch committed.
      
      
    5. login: "msofer"
    6. mimetype: "text/plain"
    7. resolution changed to: "Accepted"
    8. status changed to: "Closed"
    9. username: "msofer"