git: find(1): Fix locate database updating, again. :)

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Oct 26 03:17:18 PDT 2013


commit b1007391c0a54988b369be51e3e79ece4bc37b04
Author: Sascha Wildner <saw at online.de>
Date:   Sat Oct 26 12:06:38 2013 +0200

    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.

Summary of changes:
 usr.bin/find/function.c | 32 ++++++++++++++++++++++++--------
 1 file changed, 24 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b1007391c0a54988b369be51e3e79ece4bc37b04


-- 
DragonFly BSD source repository



More information about the Commits mailing list