From max@bourbon.sfc.wide.ad.jp  Tue Oct 29 02:56:41 1996
Received: from bourbon.sfc.wide.ad.jp (root@bourbon.sfc.wide.ad.jp [133.4.30.17])
          by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id CAA16384
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 29 Oct 1996 02:56:40 -0800 (PST)
Received: (from max@localhost) by bourbon.sfc.wide.ad.jp (8.8.2/3.4W409/27/96) id TAA05617; Tue, 29 Oct 1996 19:56:36 +0900 (JST)
Message-Id: <199610291056.TAA05617@bourbon.sfc.wide.ad.jp>
Date: Tue, 29 Oct 1996 19:56:36 +0900 (JST)
From: max@wide.ad.jp
Reply-To: max@wide.ad.jp
To: FreeBSD-gnats-submit@freebsd.org
Subject: -v flag of ldd does not work properly<Synopsis of the problem (one line)>
X-Send-Pr-Version: 3.2

>Number:         1920
>Category:       junk
>Synopsis:       -v flag of ldd does not work properly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 29 03:00:02 PST 1996
>Closed-Date:    Tue Oct 29 10:45:51 PST 1996
>Last-Modified:  Thu Dec 12 14:33:29 PST 1996
>Originator:     Masafumi NAKANE
>Release:        FreeBSD 2.2-CURRENT i386
>Organization:
>Environment:

	

>Description:

in ldd.c, the variable vflag is used without being initialized whcih
causes the default value for -v flag left undefined.

	

>How-To-Repeat:

	

>Fix:
	
	
Initialize vflag to 0 before getopt().
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: max 
Responsible-Changed-When: Tue Oct 29 09:47:54 PST 1996 
Responsible-Changed-Why:  
I don't know why this PR fell into pending category.  Maybe I mistyped. 
Anyway, this is about simple, but in a way a serious bug related to ldd. 
State-Changed-From-To: open->closed 
State-Changed-By: peter 
State-Changed-When: Tue Oct 29 10:45:51 PST 1996 
State-Changed-Why:  
Fixed in rev 1.8 of ldd.c, thanks! 
>Unformatted:
