freebsd-src/usr.bin/locate
Wolfram Schneider 8d35ca86c5 Fix statistics for empty databases
An empty database is a database which does not contain any filenames.
It should not occur in practice but maybe in the case of an error.

echo | /usr/libexec/locate.mklocatedb > empty.db; locate -d empty.db -S
2022-01-31 17:03:08 +00:00
..
bigram switch to 64 bit integers for counting bigrams 2022-01-26 16:11:51 +00:00
code fix fgets error handling (from last commit) 2022-01-30 13:08:42 +00:00
locate Fix statistics for empty databases 2022-01-31 17:03:08 +00:00
Makefile
Makefile.inc