summaryrefslogtreecommitdiffstats
path: root/Src/init.c
diff options
context:
space:
mode:
authorPhilippe Altherr <philippe.altherr@gmail.com>2026-06-08 17:19:08 -0700
committerBart Schaefer <schaefer@zsh.org>2026-06-08 17:19:08 -0700
commitedd6cc82994c6c6741aa32b7bd794128a721f6e4 (patch)
tree807289427a0674fe6ab182e69c8daf131d1f56fa /Src/init.c
parentChangeLog for preceding commit (diff)
downloadzsh-edd6cc82994c6c6741aa32b7bd794128a721f6e4.tar
zsh-edd6cc82994c6c6741aa32b7bd794128a721f6e4.tar.gz
zsh-edd6cc82994c6c6741aa32b7bd794128a721f6e4.tar.bz2
zsh-edd6cc82994c6c6741aa32b7bd794128a721f6e4.tar.lz
zsh-edd6cc82994c6c6741aa32b7bd794128a721f6e4.tar.xz
zsh-edd6cc82994c6c6741aa32b7bd794128a721f6e4.tar.zst
zsh-edd6cc82994c6c6741aa32b7bd794128a721f6e4.zip
54475: Don't perform dereferencing when looking up certain special parameters
Tweaked to account for workers/54328
Diffstat (limited to 'Src/init.c')
-rw-r--r--Src/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/init.c b/Src/init.c
index 89a7ff714..eb34b4cab 100644
--- a/Src/init.c
+++ b/Src/init.c
@@ -190,7 +190,7 @@ loop(int toplevel, int justonce)
non_empty = 1;
if (toplevel &&
(getshfunc("preexec") ||
- paramtab->getnode(paramtab, "preexec" HOOK_SUFFIX))) {
+ realparamtab->getnode2(realparamtab, "preexec" HOOK_SUFFIX))) {
LinkList args;
char *cmdstr;