Overview
| Artifact ID: | dcb2327c3280a41e34219f3dc3ff3ab6c3f87552 |
|---|---|
| Ticket: | 219393ffffffffffffffffffffffffffffffffff
[trace] should use Tcl_Preserve() |
| User & Date: | dgp on 2001-11-06 06:21:14 |
Changes
- icomment:
File Added - 12904: tip68.patch Logged In: YES user_id=80530 Attached is a corrected patch that stops the segfaulting. I added a check for a NULL value of result near the end of TraceVarProc() in tclCmdMZ.c Now there are just the errors in the test suite: incr-old-2.6 incr-1.28 incr-2.28 set-2.4 set-4.4 trace-8.{1,2,3,5} var-9.{10,12} All due to a failure to transfer the error mesage from the trace script to the final result. This appears to be because the TCL_TRACE_RESULT_* flag values are being masked away by Tcl_TraceVar2(). I'm punting back to DKF on how to resolve that problem. - login: "dgp"
- mimetype: "text/plain"
- username: "dgp"