freebsd-dev/sbin/ldconfig
John Polstra d66f9d22f7 Fixed a bug in the handling of the directories in the search path
that is stored in the hints file.  If that search path contained
a non-existent directory (one, say, that had been removed), and
"ldconfig -m /a/perfectly/good/directory" was run, ldconfig returned
an error status without printing an error message.  This caused
some confusing bombs when installing ports, in particular.

I changed it so that non-existent directories from the stored search
path are silently ignored.  Only non-existent directories named
explicitly on the command line are treated as errors.  Also, a
diagnostic is printed if and only if an error status is returned.

In an unrelated fix, ldconfig now silently ignores any directories
named on the command line when the "-r" option is given.  Formerly,
these directories incorrectly made their way into the "search
directories" line of the listing.  It really should be an error to
specify directories together with "-r", but I don't have time to
fix the manual page in that way right now.

2.2 Candidate.
1996-11-08 02:12:40 +00:00
..
ldconfig.8 Add a new option "-f hints_file" to specify an alternate file instead of 1996-10-10 23:14:23 +00:00
ldconfig.c Fixed a bug in the handling of the directories in the search path 1996-11-08 02:12:40 +00:00
Makefile Updates to deal with ld.so.hints version 2. It now deals with the 1996-10-01 01:31:51 +00:00