HomeFreeBSD

ldconfig: start of cleanup

Description

ldconfig: start of cleanup

Use bool.
Use local variables instead of static.
Remove non-functional debugging override of hints file path.
Use explicit exit() instead of return from main.
Minor style tweaks.

Reviewed by: emaste
Tested by: jbeich
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D33058

Details

Provenance
kibAuthored on Nov 19 2021, 3:35 AM
Reviewer
emaste
Differential Revision
D33058: ldconfig(8): check for no-args command line after options are parsed
Parents
rG83511ce5c473: ldconfig: remove a comment which is another remnant of a.out support
Branches
Unknown
Tags
Unknown