From: Jim Meyering Date: Sat, 11 Feb 2006 19:25:29 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: v6.0~757 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e58927dd9d31045f9f8fabda93541dd5de84ffb;p=thirdparty%2Fcoreutils.git *** empty log message *** --- diff --git a/ChangeLog b/ChangeLog index ca87fbb9fe..70d1ff0f58 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.