summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-08-27 19:41:04 +0000
committerJim Meyering <jim@meyering.net>2006-08-27 19:41:04 +0000
commit520a954d7e8823a4c385c662b3b571ae53f125ea (patch)
treed62505143c782bebd736615f4d44a27db01e0694 /ChangeLog
parent07446625096ddeb9246fb36572d5fe644f56cd1f (diff)
downloadcoreutils-520a954d7e8823a4c385c662b3b571ae53f125ea.tar.xz
* src/copy.c (copy_internal): Don't make a backup if the last
component of the source name is "." or "..". Reported by Andreas Schwab in https://savannah.gnu.org/bugs/?17540. * tests/cp/src-base-dot: New file. Test for the above fix. * tests/cp/Makefile.am (TESTS): Add src-base-dot.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1b373b2d5..a15cec1da 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2006-08-27 Jim Meyering <jim@meyering.net>
+ * src/copy.c (copy_internal): Don't make a backup if the last
+ component of the source name is "." or "..".
+ Reported by Andreas Schwab in https://savannah.gnu.org/bugs/?17540.
+ * tests/cp/src-base-dot: New file. Test for the above fix.
+ * tests/cp/Makefile.am (TESTS): Add src-base-dot.
+
* src/system.h (DOT_OR_DOTDOT): Remove macro. Rewrite as a...
(dot_or_dotdot): ...new static inline function.
* src/remove.c (rm_1): Reflect this renaming.