summaryrefslogtreecommitdiff
path: root/old/fileutils/ChangeLog
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-01-12 22:30:02 +0000
committerJim Meyering <jim@meyering.net>2002-01-12 22:30:02 +0000
commit3fcb933b8c2257e5b459442f0eb06d4595af28d4 (patch)
tree71b889bbc8131662731b8be7cf8a753ac8d00f00 /old/fileutils/ChangeLog
parent50c1199e099a8cf91418f1c91bcfafe970878dd9 (diff)
downloadcoreutils-3fcb933b8c2257e5b459442f0eb06d4595af28d4.tar.xz
*** empty log message ***
Diffstat (limited to 'old/fileutils/ChangeLog')
-rw-r--r--old/fileutils/ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/old/fileutils/ChangeLog b/old/fileutils/ChangeLog
index 32583064e..a246610d0 100644
--- a/old/fileutils/ChangeLog
+++ b/old/fileutils/ChangeLog
@@ -2,6 +2,19 @@
* Version 4.1.6.
+ * src/copy.c (copy_reg): Don't treat errno==ENOENT as a special case.
+ (same_file_ok): Detect a case that would have lead to the errno==ENOENT
+ condition above (and a misleading diagnostic), and return 0 so we give
+ a diagnostic about the source and destination being the same file.
+ (copy_internal): Use an explicit test for errno==EXDEV to detect
+ that rename has failed because source and destination are on
+ different devices. This reverts part of a change from 1997-12-13,
+ and is to avoid letting a race condition evoke a bogus diagnostic.
+ Note that while POSIX has encouraged the errno==EXDEV test for
+ years, it was inadequate back in 1997. I'm hoping that many
+ more systems have conforming support these days.
+ Reported by Michael Gaughen <mgaughen@polyserve.com>
+
* src/shred.c (usage): Also mention Ext3.
Suggestion from Göran Uddeborg.