summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-02-11 19:25:29 +0000
committerJim Meyering <jim@meyering.net>2006-02-11 19:25:29 +0000
commit0e58927dd9d31045f9f8fabda93541dd5de84ffb (patch)
treec57b21b4fc1154a3f5a8ff5b8974c1d7939e7942
parent8bb7d21a7c1cbbf1e5f9e9ff906bdd29d2699127 (diff)
downloadcoreutils-0e58927dd9d31045f9f8fabda93541dd5de84ffb.tar.xz
*** empty log message ***
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ca87fbb9f..70d1ff0f5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,15 @@
* Version 6.0-cvs.
+ rm -r must remove an empty directory, even if it is inaccessible.
+ * src/remove.c (close_preserve_errno): New function.
+ (fd_to_subdirp): Don't print a diagnostic in this function.
+ Do it from the callers instead, unless rmdir succeeds.
+ (remove_cwd_entries, remove_dir): Adjust callers.
+ * tests/rm/empty-inacc: New test for the above.
+ * tests/rm/Makefile.am (TESTS): Add empty-inacc.
+ * NEWS: Mention this bug fix.
+
* Makefile.maint (syntax-check-rules): Automatically derive this
list of sc_-prefixed rule names.