Subject: bin/2580: ldconfig usage lacks -m
To: None <gnats-bugs@NetBSD.ORG>
From: John Hawkinson <jhawk@mit.edu>
List: netbsd-bugs
Date: 06/28/1996 12:54:53
>Number:         2580
>Category:       bin
>Synopsis:       ldconfig usage lacks -m
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 28 13:05:00 1996
>Last-Modified:
>Originator:     John Hawkinson
>Organization:
BBN Planet
>Release:        NetBSD 1.2_ALPHA
>Environment:
SUP 8.26 (4.3 BSD) for system software at Jun 28 12:53:06
Last update occurred at Sat Jun 15 00:53:52 1996 for collection current
	
System: NetBSD zorkmid 1.2_ALPHA NetBSD 1.2_ALPHA (ZORKMID) #62: Sat Jun 22 23:45:49 EDT 1996 jhawk@zorkmid:/u1/usr/src/sys/arch/i386/compile/ZORKMID i386


>Description:
	ldconfig's usage lacks -m.
>How-To-Repeat:
	
> ldconfig -\?
ldconfig: illegal option -- ?
ldconfig: Usage: ldconfig [-r][-s][-v][dir ...]

>Fix:

Note that $Id$ -> $NetBSD$ also needs doing.

Index: ldconfig.c
===================================================================
RCS file: /usr/local/cvsroot/src/gnu/usr.bin/ld/ldconfig/ldconfig.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -c -r1.1 -r1.2
*** ldconfig.c	1996/06/13 23:22:12	1.1
--- ldconfig.c	1996/06/28 16:51:58	1.2
***************
*** 27,33 ****
   * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
   * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   *
!  *	$Id: ldconfig.c,v 1.1 1996/06/13 23:22:12 jhawk Exp $
   */
  
  #include <sys/param.h>
--- 27,33 ----
   * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
   * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   *
!  *	$Id: ldconfig.c,v 1.2 1996/06/28 16:51:58 jhawk Exp $
   */
  
  #include <sys/param.h>
***************
*** 104,110 ****
  			verbose = 1;
  			break;
  		default:
! 			errx(1, "Usage: %s [-r][-s][-v][dir ...]",
  				__progname);
  			break;
  		}
--- 104,110 ----
  			verbose = 1;
  			break;
  		default:
! 			errx(1, "Usage: %s [-m][-r][-s][-v][dir ...]",
  				__progname);
  			break;
  		}
>Audit-Trail:
>Unformatted: