Arun Prakash Jana 4 years ago
parent
commit
8705cb99a3
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/nnn.c

+ 2
- 0
src/nnn.c View File

@@ -3512,6 +3512,8 @@ static int dentfill(char *path, struct entry **dents)
open_max = max_openfds();
}

posix_fadvise(fd, 0, 0, POSIX_FADV_SEQUENTIAL);

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


Loading…
Cancel
Save