From owner-cvs-all Fri May 17 10: 7: 4 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 75D2937B405; Fri, 17 May 2002 10:06:57 -0700 (PDT) Received: (from knu@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4HH6va49708; Fri, 17 May 2002 10:06:57 -0700 (PDT) (envelope-from knu) Message-Id: <200205171706.g4HH6va49708@freefall.freebsd.org> From: Akinori MUSHA Date: Fri, 17 May 2002 10:06:57 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/ldd ldd.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG knu 2002/05/17 10:06:57 PDT Modified files: usr.bin/ldd ldd.c Log: Fix a tiny bug in shlib support of ldd(1); if dlopen(lib, RTLD_TRACE) returns, exit gracefully with 0. This fixes the behavior you see when you specify libc.so. It occurs because ldd(1) itself is linked with libc.so. $ ldd /usr/lib/libc.so /usr/lib/libc.so: ldd: /usr/lib/libc.so: (null) /usr/lib/libc.so: exit status 1 Reviewed by: silence of audit@ Revision Changes Path 1.32 +5 -4 src/usr.bin/ldd/ldd.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message