diff options
| author | Bart Schaefer <schaefer@zsh.org> | 2025-05-31 08:10:33 -0700 |
|---|---|---|
| committer | Bart Schaefer <schaefer@zsh.org> | 2025-05-31 08:10:33 -0700 |
| commit | 1a61fa3745e2b50f49e203ddf3e1f07b242ea1cc (patch) | |
| tree | 160af8c287cbbb31b457f6a0207c1b08c82ca53d | |
| parent | completion: _gcc: Add `c1x` `c2x` `c23` `c2y` `gnu2x` `gnu23` `gnu2y` (diff) | |
| download | zsh-1a61fa3745e2b50f49e203ddf3e1f07b242ea1cc.tar zsh-1a61fa3745e2b50f49e203ddf3e1f07b242ea1cc.tar.gz zsh-1a61fa3745e2b50f49e203ddf3e1f07b242ea1cc.tar.bz2 zsh-1a61fa3745e2b50f49e203ddf3e1f07b242ea1cc.tar.lz zsh-1a61fa3745e2b50f49e203ddf3e1f07b242ea1cc.tar.xz zsh-1a61fa3745e2b50f49e203ddf3e1f07b242ea1cc.tar.zst zsh-1a61fa3745e2b50f49e203ddf3e1f07b242ea1cc.zip | |
53713: ${ ... } should not clobber $REPLY
Also fix some ChangeLog email address paste errors
| -rw-r--r-- | ChangeLog | 14 | ||||
| -rw-r--r-- | Src/subst.c | 2 |
2 files changed, 10 insertions, 6 deletions
@@ -1,3 +1,7 @@ +2025-05-31 Bart Schaefer <schaefer@zsh.org> + + * 53713: Src/subst.c: ${ ... } should not clobber $REPLY + 2025-05-26 dana <dana@dana.is> * Ling Wang: 53677: Completion/Unix/Command/_gcc: add more -std @@ -181,7 +185,7 @@ * 53445: Completion/Unix/Type/_path_commands: extra-verbose mode support on some recent Linux and BSD systems -2025-03-31 Bart Schaefer <schaefer@toltec-ubuntu> +2025-03-31 Bart Schaefer <schaefer@zsh.org> * 53431: Src/params.c, Test/K01nameref.ztst: fix assignment via named reference to parameters in outer scopes; add tests @@ -201,7 +205,7 @@ * 53394: Src/Zle/zle_keymap.c: drop OSC and DCS sequences in key input as they are likely to be terminal query responses not keys -2025-03-02 Bart Schaefer <schaefer@toltec-ubuntu> +2025-03-02 Bart Schaefer <schaefer@zsh.org> * 53368: Src/options.c: ignore no-op changes to EMACS/VI options @@ -415,12 +419,12 @@ Completion/Base/Utility/_as_if: complete `as if' a different command were being completed -2024-11-05 Bart Schaefer <schaefer@toltec-ubuntu> +2024-11-05 Bart Schaefer <schaefer@zsh.org> * 53209 + comments + test: Src/params.c, Test/D04parameter.ztst: do not unmetafy via string pointers into global parameter table -2024-10-16 Bart Schaefer <schaefer@toltec-ubuntu> +2024-10-16 Bart Schaefer <schaefer@zsh.org> * 53146: Src/exec.c: trace flags cannot be copied from an undefined function (cf. workers/45131) @@ -429,7 +433,7 @@ * 53134: configure.ac: use -undefined dynamic_lookup on recent macOS -2024-09-21 Bart Schaefer <schaefer@toltec-ubuntu> +2024-09-21 Bart Schaefer <schaefer@zsh.org> * 53103: Test/A08time.ztst: fix spurious test failure on Solaris diff --git a/Src/subst.c b/Src/subst.c index a079672df..d0f2a1b45 100644 --- a/Src/subst.c +++ b/Src/subst.c @@ -2021,7 +2021,7 @@ paramsubst(LinkList l, LinkNode n, char **str, int qt, int pf_flags, /* Future? Expose global value of $REPLY if any? */ /* if (rplyval) setsparam("REPLY", ztrdup(rplyval)); */ } else if (inblank(inchar)) { - rplypm = createparam(".zsh.cmdsubst", + rplypm = createparam((rplyvar = ".zsh.cmdsubst"), PM_LOCAL|PM_UNSET|PM_HIDE| PM_READONLY_SPECIAL); if (rplypm) |
