Просмотр исходного кода

Increase number of events handled

master
Arun Prakash Jana 5 лет назад
Родитель
Сommit
0ef2b61a17
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: A75979F35C080412
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      src/nnn.c

+ 1
- 1
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;


Загрузка…
Отмена
Сохранить