*** empty log message ***
authorJim Meyering <jim@meyering.net>
Sat, 11 Feb 2006 19:25:29 +0000 (19:25 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 11 Feb 2006 19:25:29 +0000 (19:25 +0000)
ChangeLog

index ca87fbb9fe30986928c8de7bc6c19d6836ff8a4b..70d1ff0f581ed590f182f7a489f4023ab69fc4a9 100644 (file)
--- 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.