1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/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 remove myself as maintainer 2005-07-17 21:19:28 +00:00
Makefile.inc