瀏覽代碼

Readahead is not available on all platforms

master
Arun Prakash Jana 4 年之前
父節點
當前提交
97e16364bb
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: A75979F35C080412
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      src/nnn.c

+ 2
- 0
src/nnn.c 查看文件

@@ -3513,7 +3513,9 @@ static int dentfill(char *path, struct entry **dents)
open_max = max_openfds();
}

#if _POSIX_C_SOURCE >= 200112L
posix_fadvise(fd, 0, 0, POSIX_FADV_SEQUENTIAL);
#endif

dp = readdir(dirp);
if (!dp)


Loading…
取消
儲存