about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBart Schaefer <schaefer@zsh.org>2024-02-04 16:13:31 -0800
committerBart Schaefer <schaefer@zsh.org>2024-02-04 16:13:31 -0800
commit58ff6c68d5022c013d58caf1ee6d5c78dc7d67a8 (patch)
tree30de5ed95f9deb5669312e54f36f101947419b31
parent653be0823da9a6b085a0092ac3a7b8792afc142a (diff)
downloadzsh-58ff6c68d5022c013d58caf1ee6d5c78dc7d67a8.tar.gz
zsh-58ff6c68d5022c013d58caf1ee6d5c78dc7d67a8.tar.xz
zsh-58ff6c68d5022c013d58caf1ee6d5c78dc7d67a8.zip
52521: mapfile (mis)handling of empty/unreadable files
-rw-r--r--ChangeLog4
-rw-r--r--Etc/BUGS3
2 files changed, 7 insertions, 0 deletions
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