summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2026-06-08 16:16:27 +0200
committerMikael Magnusson <mikachu@gmail.com>2026-06-10 05:20:52 +0200
commita2b3c7afa01e34d33a7bb4a2fc2b8c7987e2f9cd (patch)
treecf89318c4d9f2fd5468e2c7c8d4771218eb64dcf
parent54696: unset REPLY before e:: and oe:: so things don't break if it had acquir... (diff)
downloadzsh-a2b3c7afa01e34d33a7bb4a2fc2b8c7987e2f9cd.tar
zsh-a2b3c7afa01e34d33a7bb4a2fc2b8c7987e2f9cd.tar.gz
zsh-a2b3c7afa01e34d33a7bb4a2fc2b8c7987e2f9cd.tar.bz2
zsh-a2b3c7afa01e34d33a7bb4a2fc2b8c7987e2f9cd.tar.lz
zsh-a2b3c7afa01e34d33a7bb4a2fc2b8c7987e2f9cd.tar.xz
zsh-a2b3c7afa01e34d33a7bb4a2fc2b8c7987e2f9cd.tar.zst
zsh-a2b3c7afa01e34d33a7bb4a2fc2b8c7987e2f9cd.zip
54704 + 54728: remove obsolete workaround in ksh93 module
After 54475 changed deleteparamdef to use getnode2 instead, this workaround isn't needed anymore.
-rw-r--r--ChangeLog3
-rw-r--r--Src/Modules/ksh93.c10
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 <mikachu@gmail.com>
+ * 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);
}