Overview
| Artifact ID: | bea283fd4d8fc38cceb54bb9dac713f66d35fa68f325db0fcae46f078378be42 |
|---|---|
| Ticket: | 24d7f1a69572ef507638447eb87ccce0c9d489b9
Recursive [namespace delete] causes a segfault |
| User & Date: | chw on 2025-12-10 04:57:31 |
Changes
- icomment:
More and more my impression is that TclEnsureNamespace() introduced this regression. Despite its name this function does not ensure that the given namespace is kept, since in case it got the NS_DYING flag it usually cannot be recreated, and the function ends up with returning NULL, i.e. no namespace at all. Given that TclEnsureNamespace()'s sole call site is in tclBasic.c IMO this function should be ditched once and for good.
- login: "chw"
- mimetype: "text/x-fossil-plain"