diff options
| author | Bart Schaefer <schaefer@zsh.org> | 2024-02-20 20:16:03 -0800 |
|---|---|---|
| committer | Bart Schaefer <schaefer@zsh.org> | 2024-02-20 20:16:03 -0800 |
| commit | 6b21e5c0e201876f6659b563b56da9a993ae6c03 (patch) | |
| tree | a8495275a78da67503895da1a30df15ee676152f /Src/Modules | |
| parent | 52549: document return works in a script (diff) | |
| download | zsh-6b21e5c0e201876f6659b563b56da9a993ae6c03.tar zsh-6b21e5c0e201876f6659b563b56da9a993ae6c03.tar.gz zsh-6b21e5c0e201876f6659b563b56da9a993ae6c03.tar.bz2 zsh-6b21e5c0e201876f6659b563b56da9a993ae6c03.tar.lz zsh-6b21e5c0e201876f6659b563b56da9a993ae6c03.tar.xz zsh-6b21e5c0e201876f6659b563b56da9a993ae6c03.tar.zst zsh-6b21e5c0e201876f6659b563b56da9a993ae6c03.zip | |
52559: revise "typeset -p" with respect to local readonly special parameters
Update doc and tests to describe handling of global readonly specials and
to account for side-effects on zsh/param/private.
Diffstat (limited to 'Src/Modules')
| -rw-r--r-- | Src/Modules/param_private.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Modules/param_private.c b/Src/Modules/param_private.c index 5003d4627..044617190 100644 --- a/Src/Modules/param_private.c +++ b/Src/Modules/param_private.c @@ -646,7 +646,7 @@ printprivatenode(HashNode hn, int printflags) static struct builtin bintab[] = { /* Copied from BUILTIN("local"), "P" added */ - BUILTIN("private", BINF_PLUSOPTS | BINF_MAGICEQUALS | BINF_PSPECIAL | BINF_ASSIGN, (HandlerFunc)bin_private, 0, -1, 0, "AE:%F:%HL:%PR:%TUZ:%ahi:%lnmprtux", "P") + BUILTIN("private", BINF_PLUSOPTS | BINF_MAGICEQUALS | BINF_PSPECIAL | BINF_ASSIGN, (HandlerFunc)bin_private, 0, -1, 0, "AE:%F:%HL:%PR:%TUZ:%ahi:%lnmrtux", "P") }; static struct features module_features = { |
