svn commit: r195693 - in head: lib/libc/sys sys/vm
Jaakko Heinonen
jh at saunalahti.fi
Thu Jul 23 18:38:55 UTC 2009
On 2009-07-23, John Baldwin wrote:
> > After this change locate(1) gives an obscure error message for empty
> > database files.
>
> Ah, odd. Perhaps it would be best to just move the original "too
> small" check earlier:
Looks good to me except you should use "db" instead of "database" in
search_mmap().
> + if (len < (2*NBG))
> + errx(1, "database too small: %s", database);
Thanks.
--
Jaakko
More information about the svn-src-all
mailing list