git: locate(1): Bring in some updates/fixes from FreeBSD
Sascha Wildner
swildner at crater.dragonflybsd.org
Sat Mar 10 06:07:03 PST 2018
commit 1daf624a7a99d096cf50fb7789e33d60472cfd3f
Author: Aaron LI <aly at aaronly.me>
Date: Sat Mar 10 11:59:29 2018 +0800
locate(1): Bring in some updates/fixes from FreeBSD
* The default value of "FILESYSTEMS" option is now determined using lsvfs(1),
which contains all local file systems that are not synthetic, loopback mounts
or read-only.
* New config option "PRUNEDIRS" in /etc/locate.rc with default value of ".git"
to ignore the ".git" directories when making database.
* Warn when locate.updatedb(8) is directly run by root
* Some cleanups (no functional change)
* Improve license declarations, fix white spaces and typos
Summary of changes:
usr.bin/locate/Makefile | 1 -
usr.bin/locate/Makefile.inc | 1 -
usr.bin/locate/bigram/Makefile | 3 +-
usr.bin/locate/bigram/locate.bigram.c | 6 ++--
usr.bin/locate/code/Makefile | 3 +-
usr.bin/locate/locate/Makefile | 1 -
usr.bin/locate/locate/concatdb.sh | 1 -
usr.bin/locate/locate/locate.c | 2 +-
usr.bin/locate/locate/locate.rc | 16 +++++++---
usr.bin/locate/locate/locate.updatedb.8 | 3 +-
usr.bin/locate/locate/mklocatedb.sh | 5 +--
usr.bin/locate/locate/pathnames.h | 9 +++++-
usr.bin/locate/locate/updatedb.sh | 54 +++++++++++++++++++++------------
13 files changed, 65 insertions(+), 40 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1daf624a7a99d096cf50fb7789e33d60472cfd3f
--
DragonFly BSD source repository
More information about the Commits
mailing list