]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
*** empty log message ***
authorJim Meyering <jim@meyering.net>
Fri, 10 Mar 2006 21:44:30 +0000 (21:44 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 10 Mar 2006 21:44:30 +0000 (21:44 +0000)
ChangeLog
NEWS

index 74dafdc0e8eee002ef39d6846113693950577094..2d2f63327d585e3d7d3f9909288b83b1884e8817 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,18 @@
-2006-03-08  Paul Eggert  <eggert@cs.ucla.edu>
+2006-03-10  Jim Meyering  <jim@meyering.net>
 
        * Version 6.0-cvs.
 
+       Fix a bug whereby a user with write access to a directory being removed
+       could cause the removal of that directory to fail with an erroneous
+       diagnostic about a directory cycle.  Reported by Vineet Chadha.
+
+       * NEWS: Mention this.
+       * src/remove.c (AD_pop_and_chdir): If the directory we're about to
+       leave (and try to rmdir) is the one whose dev_ino is being used to
+       detect a cycle, reset cycle_check_state.dev_ino to that of the parent.
+
+2006-03-08  Paul Eggert  <eggert@cs.ucla.edu>
+
        * NEWS: Document dd's new 'directory' and 'nolinks' flags.
        * src/dd.c (set_fd_flags): Handle file-creation flags on file
        descriptors, rather than ignoring them.
diff --git a/NEWS b/NEWS
index cfc50c8e88562ac0e623fd46317b563655fe7f53..29c8089c8fc12dfbf35066f07eb0ff99911a3180 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -115,7 +115,7 @@ GNU coreutils NEWS                                    -*- outline -*-
   rm -r no longer fails to remove an inaccessible and empty directory
 
   rm -r's cycle detection code can no longer be tricked into reporting
-  a false positive.
+  a false positive (introduced in fileutils-4.1.9).
 
   sort would fail for large inputs (~50MB) on systems with a buggy
   mkstemp function.  sort and tac now use the replacement mkstemp