From d493f78deac72a1297f0b89b499fd39998b2944a Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Thu, 3 Oct 2019 21:15:11 +0530 Subject: [PATCH] Track up to 8 events --- src/nnn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nnn.c b/src/nnn.c index 85004e12..fbc05a15 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -428,7 +428,7 @@ static const char * const envs[] = { /* Event handling */ #ifdef LINUX_INOTIFY -#define NUM_EVENT_SLOTS 16 /* Make room for 16 events */ +#define NUM_EVENT_SLOTS 8 /* Make room for 8 events */ #define EVENT_SIZE (sizeof(struct inotify_event)) #define EVENT_BUF_LEN (EVENT_SIZE * NUM_EVENT_SLOTS) static int inotify_fd, inotify_wd = -1;