X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=plocate.cpp;h=dfb12d42573d4c32dac3d8b0b9aaf4311535f2ac;hb=436bb5d60934c534b2ddab599236493fbff4da23;hp=b63fefa4e8cdd1dd7e6e0753b0af51e3bf9954d8;hpb=bd214715b9a8cf89cd51d62acb6efe137f63f570;p=plocate diff --git a/plocate.cpp b/plocate.cpp index b63fefa..dfb12d4 100644 --- a/plocate.cpp +++ b/plocate.cpp @@ -246,7 +246,7 @@ Corpus::Corpus(int fd, IOUringEngine *engine) : fd(fd), engine(engine) { // Enable to test cold-cache behavior (except for access()). - if (true) { + if (false) { off_t len = lseek(fd, 0, SEEK_END); if (len == -1) { perror("lseek");