Artifacts Associated With Ticket 534728ffffffffff
Ticket change [60f9e5d5af] (rid 92163) by hemanglavana on 2002-03-25 16:06:37:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- 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 - foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "hemanglavana"
- subsystem initialized to: "None"
- title initialized to: "Tcl_CreateObjTrace: allow delProc = NULL"
- type initialized to: "Bug"
Ticket change [4bf488db46] (rid 126791) by msofer on 2002-03-25 23:35:45:
- assignee changed to: "msofer"
- closedate changed to: "2002-03-25T16:35:45"
- closer changed to: "msofer"
- icomment:
Logged In: YES user_id=148712 Thanks; patch committed.
- login: "msofer"
- mimetype: "text/plain"
- resolution changed to: "Accepted"
- status changed to: "Closed"
- username: "msofer"