freebsd-skq/usr.bin/locate
jhb 4064b20ece 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
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