Overview
| Artifact ID: | 66328101d1efcdf07eba56328d85d17967c9dc1f |
|---|---|
| Ticket: | 3598580fffffffffffffffffffffffffffffffff
Tcl_ListObjReplace may release deleted elements too early |
| User & Date: | ferrieux on 2012-12-29 20:50:34 |
Changes
- icomment:
FWIW, I agree with Jan's analysis on all points. Re the naked refcount-- , I'm still wondering whether it shouldn't have a more explicit macro (like TclDecrRefCountNoDeleteAtZero : that wasn't a joke), for two reasons: (1) the need to use it, though rare, cannot be worked around; it is a consequence of the unfortunate choice create-at-zero mentioned earlier in this thread (2) A macro keeps the abstraction level for source compat (e.g. in case we want to steal a few bits in the refcount)
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"