Manifest of check-in
[e09d290d78]
- [Tcl Bug 1706140]
* generic/tclCmdMZ.c (Trace*Proc): Update Tcl_VarTraceProcs so
* generic/tclLink.c (LinkTraceProc): that they call
* generic/tclUtil.c (TclPrecTraceProc): Tcl_InterpDeleted() for
themselves, and do not rely on (frequently buggy) setting of the
TCL_INTERP_DESTROYED flag by the trace core.
* generic/tclVar.c: Update callers of CallVarTraces to not
pass in the TCL_INTERP_DESTROYED flag. Also apply filters so that
public routines only pass documented flag values down to lower level
routines.
* generic/tclVar.c (CallVarTraces): The setting of the
TCL_INTERP_DESTROYED flag is now done entirely within the
CallVarTraces routine, the only place it can be done right.
by
dgp on
2007-05-10 18:23:56.
B 4463be0ba6b7cf6f007f9bc69545e9888e8376f3
C \s\s\s\s\s\s\s[Tcl\sBug\s1706140]\n\n\s\s\s\s\s\s\s\s*\sgeneric/tclCmdMZ.c\s(Trace*Proc):\s\s\s\s\s\sUpdate\sTcl_VarTraceProcs\sso\n\s\s\s\s\s\s\s\s*\sgeneric/tclLink.c\s(LinkTraceProc):\s\s\s\sthat\sthey\scall\n\s\s\s\s\s\s\s\s*\sgeneric/tclUtil.c\s(TclPrecTraceProc):\sTcl_InterpDeleted()\sfor\n\s\s\s\s\s\s\s\sthemselves,\sand\sdo\snot\srely\son\s(frequently\sbuggy)\ssetting\sof\sthe\n\s\s\s\s\s\s\s\sTCL_INTERP_DESTROYED\sflag\sby\sthe\strace\score.\n\n\s\s\s\s\s\s\s\s*\sgeneric/tclVar.c:\s\s\s\s\sUpdate\scallers\sof\sCallVarTraces\sto\snot\n\s\s\s\s\s\s\s\spass\sin\sthe\sTCL_INTERP_DESTROYED\sflag.\s\sAlso\sapply\sfilters\sso\sthat\n\s\s\s\s\s\s\s\spublic\sroutines\sonly\spass\sdocumented\sflag\svalues\sdown\sto\slower\slevel\n\s\s\s\s\s\s\s\sroutines.\n\n\s\s\s\s\s\s\s\s*\sgeneric/tclVar.c\s(CallVarTraces):\s\s\s\s\s\s\s\sThe\ssetting\sof\sthe\n\s\s\s\s\s\s\s\sTCL_INTERP_DESTROYED\sflag\sis\snow\sdone\sentirely\swithin\sthe\n\s\s\s\s\s\s\s\sCallVarTraces\sroutine,\sthe\sonly\splace\sit\scan\sbe\sdone\sright.\n
D 2007-05-10T18:23:56
F ChangeLog dc401bfec801c270ee3528ce235413b8c73da313
F generic/tclCmdMZ.c d2d442277207a5cc152777598001dd07b866b50e
F generic/tclLink.c 3f905ba4a6396e9857d4b79dd6a815e1d674ba6e
F generic/tclUtil.c 9f79dfaf925c9ab54df671e835deb763002799a2
F generic/tclVar.c 247cfb1c503d41976141110e44b888cbdfd5c6ae
P 4463be0ba6b7cf6f007f9bc69545e9888e8376f3
U dgp
Z ab962db7765d5ae9285bf5230b826f65