bin/100684 : pw(8): 'pw groupadd' does not accept -o, contrary to man page

Devon H. O'Dell devon.odell at coyotepoint.com
Wed Sep 13 14:30:27 PDT 2006


The following reply was made to PR bin/100684; it has been noted by GNATS.

From: "Devon H. O'Dell" <devon.odell at coyotepoint.com>
To: bug-followup at FreeBSD.org,  luke at madstop.com
Cc:  
Subject: Re: bin/100684 : pw(8): 'pw groupadd' does not accept -o, contrary
 to man page
Date: Wed, 13 Sep 2006 17:26:19 -0400

 This is a multi-part message in MIME format.
 --------------030802090508020204090809
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 The fix is really silly. Somebody just forgot to add 'o' to the getopt 
 flags. Attached is patch; also at http://databits.net/~dho/pw.patch
 
 Kind regards,
 
 --Devon
 
 --------------030802090508020204090809
 Content-Type: text/plain;
  name="pw.patch"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="pw.patch"
 
 Index: usr.sbin/pw/pw.c
 ===================================================================
 RCS file: /home/ncvs/src/usr.sbin/pw/pw.c,v
 retrieving revision 1.27
 diff -u -r1.27 pw.c
 --- usr.sbin/pw/pw.c	11 Jan 2004 18:28:08 -0000	1.27
 +++ usr.sbin/pw/pw.c	13 Sep 2006 21:23:27 -0000
 @@ -115,7 +115,7 @@
  			"V:C:q"
  		},
  		{ /* grp  */
 -			"V:C:qn:g:h:H:M:pNPY",
 +			"V:C:qn:g:h:H:M:opNPY",
  			"V:C:qn:g:Y",
  			"V:C:qn:g:l:h:H:FM:m:NPY",
  			"V:C:qn:g:FPa",
 
 --------------030802090508020204090809--


More information about the freebsd-bugs mailing list