mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
mv: clarify ‘mv -n A A’ change
This commit is contained in:
1 parent
bedd9bb652
commit
4bc50727f0
1 file changed
+2
-1
@@ -7,7 +7,8 @@ GNU coreutils NEWS -*- outline -*-
|
||||
'mv -n A B' no longer suffers from a race condition that can
|
||||
overwrite a simultaneously-created B. This bug fix requires
|
||||
platform support for the renameat2 or renameatx_np syscalls, found
|
||||
in recent Linux and macOS kernels.
|
||||
in recent Linux and macOS kernels. As a side effect, ‘mv -n A A’
|
||||
now silently does nothing if A exists.
|
||||
[bug introduced with coreutils-7.1]
|
||||
|
||||
'cp -n -u' and 'mv -n -u' now consistently ignore the -u option.
|
||||
|
||||
Reference in new issue
Block a user