Summary: | locate(1) may not work on very large databases | ||
---|---|---|---|
Product: | Base System | Reporter: | Wolfram Schneider <wosch> |
Component: | bin | Assignee: | Wolfram Schneider <wosch> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | ||
Priority: | --- | ||
Version: | CURRENT | ||
Hardware: | Any | ||
OS: | Any |
Description
Wolfram Schneider
2022-01-17 15:28:48 UTC
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=a97ce14abcf9252cfb14e9759d4ff2f89a2ca10f commit a97ce14abcf9252cfb14e9759d4ff2f89a2ca10f Author: Wolfram Schneider <wosch@FreeBSD.org> AuthorDate: 2022-01-19 19:20:11 +0000 Commit: Wolfram Schneider <wosch@FreeBSD.org> CommitDate: 2022-01-19 19:32:16 +0000 correct type of mmap len parameter Using locate -m on a database > 2GB should work now. PR: 261277 usr.bin/locate/locate/fastfind.c | 4 ++-- usr.bin/locate/locate/locate.c | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) |