find(1): Fix locate database updating, again. :)
authorSascha Wildner <saw@online.de>
Sat, 26 Oct 2013 10:06:38 +0000 (12:06 +0200)
committerSascha Wildner <saw@online.de>
Sat, 26 Oct 2013 10:14:56 +0000 (12:14 +0200)
commitb1007391c0a54988b369be51e3e79ece4bc37b04
treed5b5dc5e28566f6a70299e9bf2a2adde6e8bd88f
parent55e4f80fce45935dc1cf63178f2c1329b2ff0245
find(1): Fix locate database updating, again. :)

This commit re-applies 83c5db2eae3d86.

I should have been more clear in its commit message that locate.updatedb
was not failing with an error if this local change wasn't kept, but that
the database was incomplete and of a much smaller size.

When testing find(1) after an upgrade, a good general rule is that
/var/db/locate.database needs to have about the same size after the
upgrade as it had before the upgrade.
usr.bin/find/function.c