From spell@mermaid.itl.net.ua  Thu Oct 28 08:20:39 2004
Return-Path: <spell@mermaid.itl.net.ua>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 802F616A553
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 28 Oct 2004 08:20:39 +0000 (GMT)
Received: from mermaid.itl.net.ua (mermaid.itl.net.ua [217.12.192.65])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0C60243D5A
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 28 Oct 2004 08:20:30 +0000 (GMT)
	(envelope-from spell@mermaid.itl.net.ua)
Received: by mermaid.itl.net.ua (Postfix, from userid 111)
	id 43B4621040; Thu, 28 Oct 2004 11:20:23 +0300 (EEST)
Message-Id: <20041028082023.43B4621040@mermaid.itl.net.ua>
Date: Thu, 28 Oct 2004 11:20:23 +0300 (EEST)
From: Irina Liakh <spell@itl.ua>
Reply-To: Irina Liakh <spell@itl.ua>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] [ancontrol] -f option is implemented but refused
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         73229
>Category:       bin
>Synopsis:       [patch] [ancontrol] -f option is implemented but refused
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ceri
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 28 08:30:30 GMT 2004
>Closed-Date:    Sun Nov 28 17:51:29 GMT 2004
>Last-Modified:  Sun Nov 28 17:51:29 GMT 2004
>Originator:     Irina Liakh
>Release:        seems to be on every 4.x and 5.x
>Organization:
ITL
>Environment:
System: FreeBSD 5.3-STABLE Oct 25, an0


>Description:

	ancontrol utility have implemented but refuses -f option in command line.

>How-To-Repeat:

	Run ancontrol -f <num>
>Fix:

	Just add "f:" to getopt() argument:

--- ancontrol.c.orig    Thu Oct 28 11:14:58 2004
+++ ancontrol.c Thu Oct 28 11:15:49 2004
@@ -1547,7 +1547,7 @@
        opterr = 1;

        while ((ch = getopt(argc, argv,
-           "ANISCTRht:a:e:o:s:n:v:d:j:b:c:r:p:w:m:l:k:K:W:QZM:L:")) != -1) {
+           "ANISCTRht:a:e:o:s:n:v:d:j:b:c:r:f:p:w:m:l:k:K:W:QZM:L:")) != -1) {
                switch(ch) {
                case 'Z':
 #ifdef ANCACHE



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->patched 
State-Changed-By: ceri 
State-Changed-When: Wed Nov 3 20:45:59 GMT 2004 
State-Changed-Why:  
Patched in -HEAD. 


Responsible-Changed-From-To: freebsd-bugs->ceri 
Responsible-Changed-By: ceri 
Responsible-Changed-When: Wed Nov 3 20:45:59 GMT 2004 
Responsible-Changed-Why:  
My MFC reminder. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=73229 

From: Ceri Davies <ceri@FreeBSD.org>
To: FreeBSD Gnats Submit <freebsd-gnats-submit@FreeBSD.org>
Cc:  
Subject: Re: bin/73229: [patch] [ancontrol] -f option is implemented but refused
Date: Mon, 8 Nov 2004 18:58:13 +0000

 Followup to note that this was merged to RELENG_5; will merge this back
 to RELENG_4 in ten days or so.
State-Changed-From-To: patched->closed 
State-Changed-By: ceri 
State-Changed-When: Sun Nov 28 17:51:09 GMT 2004 
State-Changed-Why:  
Merged to RELENG_4.  Thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=73229 
>Unformatted:
