mirror of
https://git.freebsd.org/ports.git
synced 2025-05-02 19:46:41 -04:00
plocate is a locate(1) based on posting lists, completely replacing mlocate with a much faster (and smaller) index. It is suitable as a default locate on your system. Like mlocate and slocate, the returned file set is user-dependent, ie. a user will only see a file if find(1) would list it (all directories from the root have +rx permissions). WWW: https://plocate.sesse.net/ PR: 270657
11 lines
287 B
C++
11 lines
287 B
C++
--- conf.cpp.orig 2023-05-04 07:34:30 UTC
|
|
+++ conf.cpp
|
|
@@ -35,6 +35,8 @@ any later version.
|
|
#include <string.h>
|
|
#include <unistd.h>
|
|
|
|
+#define program_invocation_name getprogname()
|
|
+
|
|
using namespace std;
|
|
|
|
/* true if locate(1) should check whether files are visible before reporting
|