소스 검색

Do not watch dir if entering in filter mode

master
Arun Prakash Jana 5 년 전
부모
커밋
ba088196f6
No known key found for this signature in database GPG 키 ID: A75979F35C080412
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. +3
    -2
      src/nnn.c

+ 3
- 2
src/nnn.c 파일 보기

@@ -2830,10 +2830,11 @@ begin:
populate(path, lastname);

#ifdef LINUX_INOTIFY
if (inotify_wd == -1)
if (presel != FILTER && inotify_wd == -1) {
inotify_wd = inotify_add_watch(inotify_fd, path, INOTIFY_MASK);
}
#elif defined(BSD_KQUEUE)
if (event_fd == -1) {
if (presel != FILTER && event_fd == -1) {
#if defined(O_EVTONLY)
event_fd = open(path, O_EVTONLY);
#else


불러오는 중...
취소
저장