[Pkg-owncloud-commits] [owncloud-client] 02/33: Mac FS watcher: ignore events from the same process

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu Feb 27 19:44:23 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch upstream
in repository owncloud-client.

commit e4965ab06b548def1fa3ed4a89cab48db4a7f9fc
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Tue Feb 18 16:28:25 2014 +0100

    Mac FS watcher: ignore events from the same process
---
 src/mirall/folderwatcher_mac.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mirall/folderwatcher_mac.cpp b/src/mirall/folderwatcher_mac.cpp
index 59a4dd4..5d06531 100644
--- a/src/mirall/folderwatcher_mac.cpp
+++ b/src/mirall/folderwatcher_mac.cpp
@@ -69,7 +69,7 @@ void FolderWatcherPrivate::startWatching()
                                  pathsToWatch,
                                  kFSEventStreamEventIdSinceNow,
                                  0, // latency
-                                 kFSEventStreamCreateFlagNone
+                                 kFSEventStreamCreateFlagNone+kFSEventStreamCreateFlagIgnoreSelf
                                  );
 
     FSEventStreamScheduleWithRunLoop(stream, CFRunLoopGetCurrent(), kCFRunLoopDefaultMode);

-- 
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