Fix 'rename' on MS-Windows
commit16f11be4b96fc37204dc950e64f78ed340cd70d8
authorEli Zaretskii <eliz@gnu.org>
Mon, 14 Aug 2017 16:17:22 +0000 (14 19:17 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 14 Aug 2017 16:17:22 +0000 (14 19:17 +0300)
tree5c72675b9dd76663b6fe93d65162952fc0ca0bb6
parent65899e5b0180284b87b1fa94c091b903056c6bfc
Fix 'rename' on MS-Windows

* src/w32.c (sys_rename_replace): Use the FORCE argument only if
the primitive rename errors out with EEXIST.
src/w32.c