[Tcl-bugs] tcl-cvs: "tcl/generic tclCmdMZ.c" modified
by Jeffrey Hobbs other posts by this author
Mar 29 2002 10:47PM messages near this date
[Tcl-bugs] tcl-cvs: "tcl ChangeLog" modified
|
[Tcl-bugs] tcl-cvs: "tcl/tests trace.test" modified
Update of /cvsroot/tcl/tcl/generic
In directory usw-pr-cvs1:/tmp/cvs-serv19092/generic
Modified Files:
tclCmdMZ.c
Log Message:
* generic/tclCmdMZ.c (Tcl_TraceObjCmd, TraceVarProc)
(TraceCommandProc, TclTraceCommandObjCmd): corrected
potential double-free of traces on variables by flagging in
Trace*Proc that it will free the var in case the eval wants to
delete the var trace as well. [Bug #536937]
Also converted Tcl_UntraceVar -> Tcl_UntraceVar2 and Tcl_Eval to
Tcl_EvalEx in Trace*Proc for slight efficiency improvement.
_______________________________________________
Tcl-Bugs mailing list
Tcl-Bugs@[...].net
https://lists.sourceforge.net/lists/listinfo/tcl-bugs
|