From 58ff6c68d5022c013d58caf1ee6d5c78dc7d67a8 Mon Sep 17 00:00:00 2001 From: Bart Schaefer <schaefer@zsh.org> Date: Sun, 4 Feb 2024 16:13:31 -0800 Subject: [PATCH] 52521: mapfile (mis)handling of empty/unreadable files --- ChangeLog | 4 ++++ Etc/BUGS | 3 +++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index bb619cf49..c553b02cf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2024-02-04 Bart Schaefer <schaefer@zsh.org> + + * 52521: Etc/BUGS: mapfile handling of empty/unreadable files + 2024-02-04 Mikael Magnusson <mikachu@gmail.com> * 52516: Src/prompt.c: fix crash in %H when hlgroups is empty diff --git a/Etc/BUGS b/Etc/BUGS index e238c161c..b6ee30cbb 100644 --- a/Etc/BUGS +++ b/Etc/BUGS @@ -55,3 +55,6 @@ users/26071: Strange behavior about option completion of "git push --f" return value of the left side of the expression is always 148 (SIGTSTP) and thus the expression is likely to be incorrectly interpreted. ------------------------------------------------------------------------ +52521: Empty files and unreadable files cannot be removed using the +mapfile module "unset 'mapfile[filename]'", and are not distinguished +from files that do not exist. \ No newline at end of file