]> Sergey Matveev's repositories - nnn.git/commitdiff
Track up to 8 events
authorArun Prakash Jana <engineerarun@gmail.com>
Thu, 3 Oct 2019 15:45:11 +0000 (21:15 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Thu, 3 Oct 2019 15:45:11 +0000 (21:15 +0530)
src/nnn.c

index 85004e121ad7328453af76e0dafe3ae76763c56b..fbc05a15c626a0bff59f5291dd55d790f9d5f019 100644 (file)
--- 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;