Date: Thu, 21 Nov 1996 02:34:07 -0800 (PST) From: fn@uidaho.edu To: FreeBSD-gnats-submit@freebsd.org Subject: gnu/2075: ldd usage() output doesn't match reality/man page Message-ID: <199611211034.CAA00731@zork.hungry.com> Resent-Message-ID: <199611211040.CAA16989@freefall.freebsd.org>
index | next in thread | raw e-mail
>Number: 2075
>Category: gnu
>Synopsis: ldd usage() output doesn't match reality/man page
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Nov 21 02:40:04 PST 1996
>Last-Modified:
>Originator: faried nawaz
>Organization:
Hungry Programmers, Inc.
>Release: FreeBSD 3.0-CURRENT i386
>Environment:
3.0-current, dx4-100, a cold unheated living room in moscow, idaho.
>Description:
ldd takes '-f format' and '-v' options; the man page & code shows this
but the output of ldd's usage() function doesn't. found this thanks to
a ref to 'ldd -v' by bde@freebsd.org in email.
>How-To-Repeat:
man ldd
more src/gnu/usr.bin/ld/ldd/ldd.c
and cf with
% ldd <RET>
>Fix:
*** ldd.c~ Thu Nov 21 02:25:52 1996
--- ldd.c Thu Nov 21 02:27:08 1996
***************
*** 52,58 ****
{
extern char *__progname;
! fprintf(stderr, "Usage: %s <filename> ...\n", __progname);
exit(1);
}
--- 52,59 ----
{
extern char *__progname;
! fprintf(stderr, "Usage: %s [-f format] [-v] <filename> ...\n",
! __progname);
exit(1);
}
>Audit-Trail:
>Unformatted:
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611211034.CAA00731>
