mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Remove unused kqueue flags
This commit is contained in:
@@ -165,7 +165,7 @@ static NSMutableArray *gPathWatchers;
|
||||
struct kevent event;
|
||||
int filter = EVFILT_VNODE;
|
||||
int flags = EV_ADD | EV_ENABLE | EV_CLEAR;
|
||||
int filterFlags = NOTE_WRITE | NOTE_DELETE | NOTE_ATTRIB | NOTE_EXTEND | NOTE_RENAME | NOTE_REVOKE;
|
||||
int filterFlags = NOTE_WRITE | NOTE_DELETE | NOTE_RENAME;
|
||||
EV_SET(&event, fd, filter, flags, filterFlags, 0, 0);
|
||||
kevent(_kq, &event, 1, NULL, 0, &timeout);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user