Overview
| Artifact ID: | d950e736d11c501df2764eac8d33f6812c2c424e |
|---|---|
| Ticket: | 528448ffffffffffffffffffffffffffffffffff
Tcl_UpdateLinkedVar doesn't report error |
| User & Date: | nobody on 2002-03-11 11:28:34 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed to:
If I have a write trace on a linked variable and my C code calls Tcl_UpdateLinkedVar, the trace gets invoked. But if any errors occur during the trace code, they are ignored. It looks to me as if Tcl_UpdateLinkedVar calls Tcl_SetVar; its return value indicates whether the call was sucessul or not. But Tcl_UpdateLinkedVar doesn't test the value returned from Tcl_SetVar, and since it returns void there is no way to communicate any error back to the C code. A question to comp.lang.tcl has evoked no replies. Is this a bug, or am I missing something? This code seems to be unchanged, except for objectification of the Tcl_SetVar call, for a very long time. Note the email address given *is* valid!
- foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "09. Linked C Variables"
- title changed to: "Tcl_UpdateLinkedVar doesn't report error"
- type changed to: "Bug"