diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | NEWS | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -3,6 +3,7 @@ * 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. + * NEWS: Mention this. * tests/cp/src-base-dot: New file. Test for the above fix. * tests/cp/Makefile.am (TESTS): Add src-base-dot. @@ -11,6 +11,9 @@ GNU coreutils NEWS -*- outline -*- ** Bug fixes + cp --backup no longer fails when the last component of a source file + name is "." or "..". + "ls --color" would highlight other-writable and sticky directories no differently than regular directories on a file system with dirent.d_type support. |