Overview
| Artifact ID: | 85cfa0f4d76bd144437710fc4ac1b15d3fafd17b |
|---|---|
| Ticket: | 1571056fffffffffffffffffffffffffffffffff
TclInvalidateNsPath needed in TclTeardownNamespace? |
| User & Date: | msofer on 2006-10-05 01:21:08 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
(from code inspection, without claiming to have really understood everything) I think that TclTeardownNamespace fails to update the epoch in namespaces that have the dying ns in their path. This could be achieved by a call to TclInvalidateNsPath, or directly by adding at line 1112 if (nsPtr->commandPathSourceList != NULL) { NamespacePathEntry *nsPathPtr = nsPtr->commandPathSourceList; do { + if (nsPathPtr->nsPtr != NULL) { + nsPathPtr->creatorNsPtr->cmdRefEpoch++; + } nsPathPtr->nsPtr = NULL; nsPathPtr = nsPathPtr->nextPtr; } while (nsPathPtr != NULL); } - foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "msofer"
- subsystem changed to: "21. [namespace]"
- title changed to:
TclInvalidateNsPath needed in TclTeardownNamespace?
- type changed to: "Bug"