summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-10-03 13:32:55 +0000
committerJim Meyering <jim@meyering.net>2006-10-03 13:32:55 +0000
commit9ac369c2bdea688a5147215440587b03da992535 (patch)
treec0e293b422d6e4f87e4175cdf85c2ae7e7c02c70 /ChangeLog
parentda9541f18e6985593b73c30d121605e8cff62a7b (diff)
downloadcoreutils-9ac369c2bdea688a5147215440587b03da992535.tar.xz
* src/remove.c (remove_entry): With -f, exit successfully in spite
of a missing file under some very unusual conditions (with errno being any of ENOENT, ENOTDIR, ENAMETOOLONG).
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index efd1b36a2..434c96c56 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,10 +1,15 @@
2006-10-03 Jim Meyering <jim@meyering.net>
+ * src/remove.c (remove_entry): With -f, exit successfully in spite
+ of a missing file under some very unusual conditions (with errno
+ being any of ENOENT, ENOTDIR, ENAMETOOLONG).
+
With --force (-f), rm no longer fails for ENOTDIR.
* src/remove.c (ignorable_missing): New function.
Use it everywhere, rather than open-coding the test.
Andreas Schwab reported the ENOTDIR problem.
(ignorable_missing): Similarly, don't fail for ENAMETOOLONG.
+
* NEWS: Mention the bug fix.
* tests/rm/ignorable: New file. Test for the ENOTDIR case.
* tests/rm/ignore-name-too-long: New file. Test for ENAMETOOLONG.