|
2013-09-29
| ||
| 19:52 | • Closed ticket [d614d63989]: NamespaceDeleteProc not called when namespace delete... artifact: 4fec939267 user: dkf | |
|
2013-09-25
| ||
| 22:58 | • Ticket [d614d63989]: 3 changes artifact: 2320e28beb user: dkf | |
| 22:56 | • Ticket [d614d63989]: 4 changes artifact: 5fadfe58cc user: dkf | |
| 22:54 | [d614d63989] Ensure that there are no trailing colons as that causes chaos when a deleteProc is spec... check-in: 8e508e44f4 user: dkf tags: core-8-5-branch | |
| 21:31 | • Ticket [d614d63989] NamespaceDeleteProc not called when namespace deleted. s... artifact: ab45b57855 user: dkf | |
| 20:55 | • Ticket [d614d63989]: 4 changes artifact: 8dee4e0a0f user: stwo | |
| 20:18 | • Ticket [d614d63989]: 6 changes artifact: 830ba0fa35 user: dkf | |
| 18:26 | • New ticket [d614d63989]. artifact: 852001c4ff user: stwo | |
NamespaceDeleteProc not called when namespace deleted.
Closed / Fixedd614d6398931091c4d3826ea0ef8a58a97d9d129Created 13 years agoUpdated 13 years ago
Descriptionplain2013-09-25 18:26:47
The NamespaceDeleteProc will not be called when the namespace is deleted if a namespace name with trailing "::" was passed to Tcl_CreateNamespace.
Referenced by1
8e508e44f4[d614d63989] Ensure that there are no trailing colons as that causes chaos when a deleteProc is specified. check-in2013-09-25 22:54:29
dkfhtml2013-09-25 20:18:21
What is the full name (namespacePtr->fullName, a public field) of the namespace that was created? And what was the local name (namespacePtr->name)? Are you sure you're not creating a child of the namespace you think you're making with an empty local name…?
stwoplain2013-09-25 20:55:33
Creating a namespace with and without a trailing "::" gives the same result. namespacePtr->fullName is "::duft::dufts::duft0" namespacePtr->name is "duft0"
dkfwiki2013-09-25 21:31:51
See here for relevant lines; the deleteProc isn't (and shouldn't be) passed to the recursive call to find/create the parent.
dkfhtml2013-09-25 22:56:15
Fix committed on 8.5 branch; I'm not committing to trunk right now because of other commits on the 8.5 branch.
dkf Ticket [d614d63989]: 3 changes
[History diff]2013-09-25 22:58:00
dkfhtml2013-09-29 19:52:04
Thanks to DGP for merging.
Log in (anonymous is fine) to add a comment.