]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
*** empty log message ***
authorJim Meyering <jim@meyering.net>
Sun, 7 Sep 2003 16:32:02 +0000 (16:32 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 7 Sep 2003 16:32:02 +0000 (16:32 +0000)
NEWS

diff --git a/NEWS b/NEWS
index e35ddedd2d6d637c9ea0956bdfd83830638ac703..3f52a354662e10d945917107e8060743e510ed0f 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -24,6 +24,16 @@ GNU coreutils NEWS                                    -*- outline -*-
 
 ** Bug fixes
 
+  Mistakenly renaming a file onto itself, e.g., via `mv B b' when `B' is
+  the same directory entry as `b' no longer destroys the directory entry
+  referenced by both `b' and `B'.  Note that this would happen only on
+  file systems like VFAT where two different names may refer to the same
+  directory entry, usually due to lower->upper case mapping of file names.
+  Now, the above can happen only on file systems that perform name mapping and
+  that support hard links (stat.st_nlink > 1).  This mitigates the problem
+  in two ways: few file systems appear to be affected (hpfs and ntfs are),
+  when the bug is triggered, mv no longer removes the last hard link to a file.
+
   stat no longer overruns a buffer for format strings ending in `%'
 
   fold -s -wN would infloop for N < 8 with TABs in the input.