diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-10-03 21:15:11 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2019-10-03 21:15:11 +0530 |
commit | d493f78deac72a1297f0b89b499fd39998b2944a (patch) | |
tree | 1dc40a4d181f56ca9eee374d227a059233599354 /src | |
parent | 3489c87b98a0f2c6b7586703a9bc6ab6388ef2ce (diff) | |
download | nnn-d493f78deac72a1297f0b89b499fd39998b2944a.tar.gz |
Track up to 8 events
Diffstat (limited to 'src')
-rw-r--r-- | src/nnn.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |