mmap is the default. it's effectively the only tested codepath. so burn down
authortedu <tedu@openbsd.org>
Fri, 23 Oct 2015 07:57:03 +0000 (07:57 +0000)
committertedu <tedu@openbsd.org>
Fri, 23 Oct 2015 07:57:03 +0000 (07:57 +0000)
commitee5c28d53ebaa36e04681b8eecc709ac11ff861d
tree7fdd1f658135f82a2f74a93e04f68eabee1fb4e1
parent27621e3664ff459d729a2acc60ca5db127084774
mmap is the default. it's effectively the only tested codepath. so burn down
the stdio code path.
pros: everything is simpler. how can anyone read code this heavily spliced
with ifdef?
cons: you can't pipe a database into locate. who does this???
ok deraadt
usr.bin/locate/locate/fastfind.c
usr.bin/locate/locate/locate.1
usr.bin/locate/locate/locate.c