Adds FILE_SHARE_DELETE in all open file operations in Windows.

Without this flag the open call may fail if the file
is already opened with delete access.
This commit is contained in:
Andrea Mazzoleni 2015-01-07 22:58:49 +01:00
parent 49a66da494
commit de2c68ddb5
2 changed files with 5 additions and 7 deletions

2
TODO
View file

@ -11,8 +11,6 @@ same timestamp/size are present.
* In the log print file name as escaped to avoid that internal ":" and "\n"
get misinterpreted.
* Shall CreateFileW use FILE_SHARE_DELETE ?
- Minor
* Should "diff" warn about not completed sync ?