projects
/
nnn.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d95279
)
Increase number of events handled
author
Arun Prakash Jana <engineerarun@gmail.com>
Sat, 14 Mar 2020 01:21:52 +0000 (06:51 +0530)
committer
Arun Prakash Jana <engineerarun@gmail.com>
Sat, 14 Mar 2020 01:21:52 +0000 (06:51 +0530)
src/nnn.c
patch
|
blob
|
history
diff --git
a/src/nnn.c
b/src/nnn.c
index f5ee9330830de9d3c407fd29f38a8fa22b42eae1..76d448b9f64fdb88a370051f9a179c9a20dcaef5 100644
(file)
--- a/
src/nnn.c
+++ b/
src/nnn.c
@@
-631,7
+631,7
@@
static const char * const patterns[] = {
/* Event handling */
#ifdef LINUX_INOTIFY
-#define NUM_EVENT_SLOTS
8
/* Make room for 8 events */
+#define NUM_EVENT_SLOTS
32
/* 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;