freebsd-dev/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 Include missing headers. 2005-02-09 09:13:36 +00:00
code Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
locate Move the check to ensure the locate database has the minimum required size 2009-07-24 13:40:25 +00:00
Makefile remove myself as maintainer 2005-07-17 21:19:28 +00:00
Makefile.inc