Overview
| Artifact ID: | d050f7348e6344f9232e07a26a833fd3fc85c97a |
|---|---|
| Ticket: | 1153871fffffffffffffffffffffffffffffffff
Tcl_CreateObjTrace destroyes user-supplied clientData |
| User & Date: | msofer on 2005-03-02 04:14:17 |
Changes
- icomment:
Logged In: YES user_id=148712 (1) Agreed about "unconditionally wrong", not denying the bug! (2) Tcl_CreateObjTrace is documented to accept only TCL_ALLOW_INLINE_COMPILATION as flag value. It should probably throw an error (return NULL) if it receives any other value. Note that under these conditions, the clientData is not deref'ed or overwritten. (3) Alternatively, we may find a way to enable Tcl_CreateObjTrace to process correctly other flag values. This implies some internal redesign. In the meantime - please use the function as documented.
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"