From owner-cvs-gnu Thu Nov 7 18:12:51 1996 Return-Path: owner-cvs-gnu Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA28683 for cvs-gnu-outgoing; Thu, 7 Nov 1996 18:12:51 -0800 (PST) Received: (from jdp@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA28661; Thu, 7 Nov 1996 18:12:43 -0800 (PST) Date: Thu, 7 Nov 1996 18:12:43 -0800 (PST) From: John Polstra Message-Id: <199611080212.SAA28661@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-gnu Subject: cvs commit: src/gnu/usr.bin/ld/ldconfig ldconfig.c Sender: owner-cvs-gnu@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jdp 96/11/07 18:12:42 Modified: gnu/usr.bin/ld/ldconfig ldconfig.c Log: 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. Revision Changes Path 1.16 +13 -5 src/gnu/usr.bin/ld/ldconfig/ldconfig.c