freebsd-skq/usr.bin/locate
John Baldwin 29985e350d Move the check to ensure the locate database has the minimum required size
when using mmap() before invoking mmap().  This avoids a confusing error
message when locate is invoked against a zero-size database after the
recent change to make mmap() fail requests to map 0 bytes.

Submitted by:	Jaakko Heinonen  jh of saunalahti dot fi
Approved by:	re (kensmith)
MFC after:	1 week
2009-07-24 13:40:25 +00:00
..
bigram
code
locate Move the check to ensure the locate database has the minimum required size 2009-07-24 13:40:25 +00:00
Makefile
Makefile.inc