Cygwin: rename: use FILE_RENAME_POSIX_SEMANTICS if available

starting with W10 1709 on local NTFS drives

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen
2019-01-09 15:47:43 +01:00
parent 15094d5d01
commit ec457e0351
3 changed files with 36 additions and 4 deletions

View File

@@ -54,6 +54,12 @@ all clocks, except CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
clock_setres is a no-op now.
</para></listitem>
<listitem><para>
Use the new POSIX rename semantics on NTFS starting with Windows 10
1709. Renaming a file to another in-use file now actually removes the
other file, rather than moving it to the recycler bin.
</para></listitem>
<listitem><para>
Use the new POSIX unlink semantics on NTFS starting with Windows 10
1709. Deleting an in-use file now actually removes the file, rather