diff options
author | Bart Schaefer <schaefer@zsh.org> | 2023-07-09 19:28:28 -0700 |
---|---|---|
committer | Bart Schaefer <schaefer@zsh.org> | 2023-07-09 19:28:28 -0700 |
commit | 5ead24c8819efb3cd0d24a6ff4f178e1a5defee9 (patch) | |
tree | 80ead5376af5ac9567c7665eb8fbcabfcf4f0890 | |
parent | a84fdd7c8f77935ecce99ff2b0bdba738821ed79 (diff) | |
download | zsh-5ead24c8819efb3cd0d24a6ff4f178e1a5defee9.tar.gz zsh-5ead24c8819efb3cd0d24a6ff4f178e1a5defee9.zip |
51890: fix "whence -wa" for multiple arguments
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | Src/builtin.c | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,7 @@ +2023-07-09 Bart Schaefer <schaefer@zsh.org> + + * 51890: Src/builtin.c: fix "whence -wa" for multiple arguments + 2023-06-26 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> * 51889: Src/Modules/zftp.c, Src/mkbltnmlst.sh: enable loading a diff --git a/Src/builtin.c b/Src/builtin.c index e4f356803..669a47092 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -4046,6 +4046,7 @@ bin_whence(char *nam, char **argv, Options ops, int func) /* Take arguments literally -- do not glob */ queue_signals(); for (; *argv; argv++) { + informed = 0; if (!OPT_ISSET(ops,'p') && !allmatched) { char *suf; |