From a2b3c7afa01e34d33a7bb4a2fc2b8c7987e2f9cd Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Mon, 8 Jun 2026 16:16:27 +0200 Subject: 54704 + 54728: remove obsolete workaround in ksh93 module After 54475 changed deleteparamdef to use getnode2 instead, this workaround isn't needed anymore. --- ChangeLog | 3 +++ Src/Modules/ksh93.c | 10 ---------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index e54e9f6b6..ec5d72124 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2026-06-10 Mikael Magnusson + * 54704 + 54728: Src/Modules/ksh93.c: remove obsolete workaround + in ksh93 module + * 54696: Src/glob.c: unset REPLY before e:: and oe:: so things don't break if it had acquired a weird type diff --git a/Src/Modules/ksh93.c b/Src/Modules/ksh93.c index 95a69bc43..ff9cfba1b 100644 --- a/Src/Modules/ksh93.c +++ b/Src/Modules/ksh93.c @@ -267,18 +267,8 @@ boot_(Module m) int cleanup_(Module m) { - struct paramdef *p; - deletewrapper(m, wrapper); - /* Clean up namerefs, otherwise deleteparamdef() is confused */ - for (p = partab; p < partab + sizeof(partab)/sizeof(*partab); ++p) { - if (p->flags & PM_NAMEREF) { - HashNode hn = gethashnode2(paramtab, p->name); - if (hn) - ((Param)hn)->node.flags &= ~PM_NAMEREF; - } - } return setfeatureenables(m, &module_features, NULL); } -- cgit v1.3.1