diff options
| author | Mikael Magnusson <mikachu@gmail.com> | 2026-06-08 16:16:27 +0200 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@gmail.com> | 2026-06-10 05:20:52 +0200 |
| commit | a2b3c7afa01e34d33a7bb4a2fc2b8c7987e2f9cd (patch) | |
| tree | cf89318c4d9f2fd5468e2c7c8d4771218eb64dcf | |
| parent | 54696: unset REPLY before e:: and oe:: so things don't break if it had acquir... (diff) | |
| download | zsh-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-- | ChangeLog | 3 | ||||
| -rw-r--r-- | Src/Modules/ksh93.c | 10 |
2 files changed, 3 insertions, 10 deletions
@@ -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); } |
