Colin Percival f9f231846a Don't try to mmap the contents of empty files. This behaviour was harmless
prior to r195693, since historical behaviour of mmap(2) was to silently
ignore length-zero mmap requests; but mmap now returns EINVAL, which caused
look(1) to emit an error message and fail.

Among other things, this makes `freebsd-update fetch` on a newly installed
8.0-BETA3 system print bogus warning messages.

MFC after:	3 days
2009-08-26 03:30:06 +00:00
..
2009-08-15 15:40:30 +00:00
2009-04-01 08:33:54 +00:00
2009-06-01 21:54:59 +00:00
2009-07-31 08:37:27 +00:00
2009-07-08 10:16:16 +00:00
2009-06-23 23:17:04 +00:00
2009-01-16 15:00:30 +00:00
2009-06-15 21:52:27 +00:00
2009-02-11 20:36:17 +00:00
2009-02-21 03:38:46 +00:00
2009-02-21 03:42:31 +00:00
2009-06-15 21:52:27 +00:00