Sfoglia il codice sorgente

Readahead is not available on all platforms

master
Arun Prakash Jana 4 anni fa
parent
commit
97e16364bb
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: A75979F35C080412
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      src/nnn.c

+ 2
- 0
src/nnn.c Vedi File

@@ -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…
Annulla
Salva