[Pkg-owncloud-commits] [owncloud-client] 410/470: Vio for windows: Removed the overlap param again.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Thu May 12 16:25:34 UTC 2016
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 051a348afdbc43261d668a7c617d74023ba0a0ad
Author: Klaas Freitag <freitag at owncloud.com>
Date: Wed Apr 27 11:37:21 2016 +0200
Vio for windows: Removed the overlap param again.
After discussion and studying docs again we agreed that
the parameter is not neccessary here as it only affects
the process that opens the handle. And we do not want to
do async stuff.
---
csync/src/vio/csync_vio_local_win.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/csync/src/vio/csync_vio_local_win.c b/csync/src/vio/csync_vio_local_win.c
index aeb8593..f842a61 100644
--- a/csync/src/vio/csync_vio_local_win.c
+++ b/csync/src/vio/csync_vio_local_win.c
@@ -232,8 +232,7 @@ int csync_vio_local_stat(const char *uri, csync_vio_file_stat_t *buf) {
h = CreateFileW( wuri, 0, FILE_SHARE_WRITE | FILE_SHARE_READ | FILE_SHARE_DELETE,
NULL, OPEN_EXISTING,
- FILE_ATTRIBUTE_NORMAL+FILE_FLAG_BACKUP_SEMANTICS+
- FILE_FLAG_OPEN_REPARSE_POINT+FILE_FLAG_OVERLAPPED,
+ FILE_ATTRIBUTE_NORMAL | FILE_FLAG_BACKUP_SEMANTICS | FILE_FLAG_OPEN_REPARSE_POINT,
NULL );
if( h == INVALID_HANDLE_VALUE ) {
CSYNC_LOG(CSYNC_LOG_PRIORITY_CRIT, "CreateFileW failed on %s", uri );
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list