aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-03-23 08:42:34 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-03-23 08:42:34 +0530
commit9f2955435ed0d87fcb5ea29a6560c28fc15a32bc (patch)
treea7c3d32f98168b6de78c3801cc50dbe991c1b0e2 /src
parentf16455f3e0057448ec1208de8faeaf46ecde5964 (diff)
downloadnnn-9f2955435ed0d87fcb5ea29a6560c28fc15a32bc.tar.gz
Do not subscribe to IN_ATTRIB events
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 930f495..c5e66f7 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -409,7 +409,7 @@ static const char * const envs[] = {
#define EVENT_SIZE (sizeof(struct inotify_event))
#define EVENT_BUF_LEN (EVENT_SIZE * NUM_EVENT_SLOTS)
static int inotify_fd, inotify_wd = -1;
-static uint INOTIFY_MASK = IN_ATTRIB | IN_CREATE | IN_DELETE | IN_DELETE_SELF
+static uint INOTIFY_MASK = /* IN_ATTRIB | */ IN_CREATE | IN_DELETE | IN_DELETE_SELF
| IN_MODIFY | IN_MOVE_SELF | IN_MOVED_FROM | IN_MOVED_TO;
#elif defined(BSD_KQUEUE)
#define NUM_EVENT_SLOTS 1