Artifacts Associated With Ticket 1208108
Ticket change [6f8264e30a] (rid 100327) by dgp on 2005-05-24 20:30:15:
- assignee initialized to: "hobbs"
- cmimetype initialized to: "text/plain"
- comment initialized to:
When LinkTraceProc handles write traces, it calls on various Tcl_GetFooFromObj() routines to check the "type" of the written value, against the link type. The "interp" is passed to these calls to capture error messages. When there's no error, the impact on the interp isn't supposed to be perceived, and LinkTraceProc saves and restores the interp result to achieve this. The interp result is only a part of the interpreter state. The new routines Tcl_(Save|Restore)InterpState would be better tools to completely achieve this task.
- foundin initialized to: "obsolete: 8.5a3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "09. Linked C Variables"
- title initialized to: "use Tcl_SaveInterpState"
- type initialized to: "Bug"
Ticket change [36a40b28e0] (rid 107142) by dkf on 2005-05-25 16:16:45:
- icomment:
Logged In: YES user_id=79902 Sounds fair to me
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [c71a0d93b4] (rid 121881) by dgp on 2005-07-06 21:44:39:
- icomment:
Logged In: YES user_id=80530 I think I misread this one. LinkTraceProc() is a Tcl_VarTraceProc. It gets called only by TclCallVarTraces, which does its own save/restore of the interp state, precisely so each trace routine doesn't have to.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [b296a1bca9] (rid 98360) by dgp on 2005-07-06 21:56:04:
- icomment:
Logged In: YES user_id=80530 With that in mind, the attached patch simplifies LinkTraceProc a good deal.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Add attachment "1208108.patch" [666ec1984c] (rid 102712) by dgp on 2005-07-06 21:56:05.
Ticket change [187d4c7561] (rid 122667) by dgp on 2005-07-06 21:56:06:
- icomment:
File Added - 141055: 1208108.patch
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [2545f308f3] (rid 88145) by dgp on 2005-07-06 22:11:05:
- status changed to: "Closed"
Ticket change [a173bfb511] (rid 109713) by dgp on 2005-07-06 22:11:06:
- assignee changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 Patch applied to HEAD. *not* safe for 8.4.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Accepted"
- username: "dgp"
Ticket change [62464a3553] (rid 92386) by dgp on 2005-07-06 22:11:08:
- closedate changed to: "2005-07-06T15:11:08"
- closer changed to: "dgp"