git: makewhatis: scan for potentially missing MLINKS in verbose mode
Franco Fichtner
franco at crater.dragonflybsd.org
Sun Jan 5 04:14:34 PST 2014
commit 3dd2ec0eae5eea7f3dd1cf6258a112cf3db52ce1
Author: Franco Fichtner <franco at lastsummer.de>
Date: Sun Jan 5 12:57:50 2014 +0100
makewhatis: scan for potentially missing MLINKS in verbose mode
Since makewhatis has been switched to tracking files only, it's
likely that a couple of names specified in the manual pages can't
be found anymore. In order to spot which are missing, verbose
mode now prints likely candidates for MLINKS.
While there, plug the strdup() leaks by erroring out properly,
and reduce the diff against the unmodified version.
Summary of changes:
usr.sbin/makewhatis/makewhatis.c | 65 +++++++++++++++++++++++++++++-----------
1 file changed, 47 insertions(+), 18 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3dd2ec0eae5eea7f3dd1cf6258a112cf3db52ce1
--
DragonFly BSD source repository
More information about the Commits
mailing list