makewhatis: scan for potentially missing MLINKS in verbose mode
authorFranco Fichtner <franco@lastsummer.de>
Sun, 5 Jan 2014 11:57:50 +0000 (12:57 +0100)
committerFranco Fichtner <franco@lastsummer.de>
Sun, 5 Jan 2014 12:13:16 +0000 (13:13 +0100)
commit3dd2ec0eae5eea7f3dd1cf6258a112cf3db52ce1
tree60a1cbcffa96b8edf46e35c523257788d122857b
parent30a6375a057a516256f5b86646aa06de019a340e
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.
usr.sbin/makewhatis/makewhatis.c