summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Src/builtin.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6a2801e9b..531503312 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;