Overview
| Artifact ID: | cc840ac19c75e51a0abbc5ea10b887ce4cd667dc |
|---|---|
| Ticket: | 3317466fffffffffffffffffffffffffffffffff
Tcl_LinkVar should prevent duplicates |
| User & Date: | dgp on 2011-06-16 18:58:52 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed to:
The whole tclLink.c file relies on a constraint that a Tcl variable is only linked to one C variable at a time. However, Tcl_LinkVar() does nothing to detect and prevent violations of this constraint. Detection is easy. Prevention could take two forms. Either raise an error, or let the second Tcl_LinkVar() call on the same Tcl variable implicitly Tcl_UnlinkVar() any previous link that's already in place.
- foundin changed to: "obsolete: 8.5.9"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "09. Linked C Variables"
- title changed to: "Tcl_LinkVar should prevent duplicates"
- type changed to: "Bug"