From nobody@FreeBSD.org  Tue May  3 16:48:39 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id BB6821065672
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  3 May 2011 16:48:39 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id AA0768FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  3 May 2011 16:48:39 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p43GmdJA034917
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 3 May 2011 16:48:39 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p43GmdB4034916;
	Tue, 3 May 2011 16:48:39 GMT
	(envelope-from nobody)
Message-Id: <201105031648.p43GmdB4034916@red.freebsd.org>
Date: Tue, 3 May 2011 16:48:39 GMT
From: Jean-Yves Migeon <jeanyves.migeon@free.fr>
To: freebsd-gnats-submit@FreeBSD.org
Subject: prototype fix in fls(3)
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         156796
>Category:       docs
>Synopsis:       prototype fix in fls(3)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    delphij
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 03 16:50:10 UTC 2011
>Closed-Date:    Fri May 06 18:41:25 UTC 2011
>Last-Modified:  Fri May  6 18:50:07 UTC 2011
>Originator:     Jean-Yves Migeon
>Release:        FreeBSD-9
>Organization:
>Environment:
>Description:
The fls(3) prototype displays incorrectly, as the .Ft int is placed at the wrong place.
>How-To-Repeat:

>Fix:
Index: lib/libc/string/ffs.3
===================================================================
RCS file: /home/ncvs/src/lib/libc/string/ffs.3,v
retrieving revision 1.13
diff -u -p -r1.13 ffs.3
--- lib/libc/string/ffs.3       13 Jan 2009 13:19:42 -0000      1.13
+++ lib/libc/string/ffs.3       3 May 2011 16:17:19 -0000
@@ -50,8 +50,8 @@
 .Ft int
 .Fn ffsl "long value"
 .Ft int
-.Ft int
 .Fn ffsll "long long value"
+.Ft int
 .Fn fls "int value"
 .Ft int
 .Fn flsl "long value"


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->patched 
State-Changed-By: delphij 
State-Changed-When: Tue May 3 19:33:16 UTC 2011 
State-Changed-Why:  
Fixed in -HEAD. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=156796 
Responsible-Changed-From-To: freebsd-doc->delphij 
Responsible-Changed-By: delphij 
Responsible-Changed-When: Tue May 3 19:33:30 UTC 2011 
Responsible-Changed-Why:  
Take. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/156796: commit references a PR
Date: Tue,  3 May 2011 19:33:20 +0000 (UTC)

 Author: delphij
 Date: Tue May  3 19:33:06 2011
 New Revision: 221401
 URL: http://svn.freebsd.org/changeset/base/221401
 
 Log:
   Fix prototype for ffsll(3) and fls(3).
   
   PR:		docs/156796
   Submitted by:	Jean-Yves Migeon <jeanyves.migeon free.fr>
   MFC after:	3 days
 
 Modified:
   head/lib/libc/string/ffs.3
 
 Modified: head/lib/libc/string/ffs.3
 ==============================================================================
 --- head/lib/libc/string/ffs.3	Tue May  3 19:12:42 2011	(r221400)
 +++ head/lib/libc/string/ffs.3	Tue May  3 19:33:06 2011	(r221401)
 @@ -30,7 +30,7 @@
  .\"     @(#)ffs.3	8.2 (Berkeley) 4/19/94
  .\" $FreeBSD$
  .\"
 -.Dd October 26, 2008
 +.Dd May 3, 2011
  .Dt FFS 3
  .Os
  .Sh NAME
 @@ -50,8 +50,8 @@
  .Ft int
  .Fn ffsl "long value"
  .Ft int
 -.Ft int
  .Fn ffsll "long long value"
 +.Ft int
  .Fn fls "int value"
  .Ft int
  .Fn flsl "long value"
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: delphij 
State-Changed-When: Fri May 6 18:40:59 UTC 2011 
State-Changed-Why:  
Patch applied against RELENG_8 and RELENG_7, thanks for your 
submission! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/156796: commit references a PR
Date: Fri,  6 May 2011 18:41:04 +0000 (UTC)

 Author: delphij
 Date: Fri May  6 18:40:51 2011
 New Revision: 221538
 URL: http://svn.freebsd.org/changeset/base/221538
 
 Log:
   MFC r221401:
   
   Fix prototype for ffsll(3) and fls(3).
   
   PR:		docs/156796
   Submitted by:	Jean-Yves Migeon <jeanyves.migeon free.fr>
 
 Modified:
   stable/8/lib/libc/string/ffs.3
 Directory Properties:
   stable/8/lib/libc/   (props changed)
   stable/8/lib/libc/stdtime/   (props changed)
 
 Changes in other areas also in this revision:
 Modified:
   stable/7/lib/libc/string/ffs.3
 Directory Properties:
   stable/7/lib/libc/   (props changed)
   stable/7/lib/libc/stdtime/   (props changed)
 
 Modified: stable/8/lib/libc/string/ffs.3
 ==============================================================================
 --- stable/8/lib/libc/string/ffs.3	Fri May  6 17:51:00 2011	(r221537)
 +++ stable/8/lib/libc/string/ffs.3	Fri May  6 18:40:51 2011	(r221538)
 @@ -30,7 +30,7 @@
  .\"     @(#)ffs.3	8.2 (Berkeley) 4/19/94
  .\" $FreeBSD$
  .\"
 -.Dd October 26, 2008
 +.Dd May 3, 2011
  .Dt FFS 3
  .Os
  .Sh NAME
 @@ -50,8 +50,8 @@
  .Ft int
  .Fn ffsl "long value"
  .Ft int
 -.Ft int
  .Fn ffsll "long long value"
 +.Ft int
  .Fn fls "int value"
  .Ft int
  .Fn flsl "long value"
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/156796: commit references a PR
Date: Fri,  6 May 2011 18:41:15 +0000 (UTC)

 Author: delphij
 Date: Fri May  6 18:40:51 2011
 New Revision: 221538
 URL: http://svn.freebsd.org/changeset/base/221538
 
 Log:
   MFC r221401:
   
   Fix prototype for ffsll(3) and fls(3).
   
   PR:		docs/156796
   Submitted by:	Jean-Yves Migeon <jeanyves.migeon free.fr>
 
 Modified:
   stable/7/lib/libc/string/ffs.3
 Directory Properties:
   stable/7/lib/libc/   (props changed)
   stable/7/lib/libc/stdtime/   (props changed)
 
 Changes in other areas also in this revision:
 Modified:
   stable/8/lib/libc/string/ffs.3
 Directory Properties:
   stable/8/lib/libc/   (props changed)
   stable/8/lib/libc/stdtime/   (props changed)
 
 Modified: stable/7/lib/libc/string/ffs.3
 ==============================================================================
 --- stable/7/lib/libc/string/ffs.3	Fri May  6 17:51:00 2011	(r221537)
 +++ stable/7/lib/libc/string/ffs.3	Fri May  6 18:40:51 2011	(r221538)
 @@ -30,7 +30,7 @@
  .\"     @(#)ffs.3	8.2 (Berkeley) 4/19/94
  .\" $FreeBSD$
  .\"
 -.Dd October 26, 2008
 +.Dd May 3, 2011
  .Dt FFS 3
  .Os
  .Sh NAME
 @@ -50,8 +50,8 @@
  .Ft int
  .Fn ffsl "long value"
  .Ft int
 -.Ft int
  .Fn ffsll "long long value"
 +.Ft int
  .Fn fls "int value"
  .Ft int
  .Fn flsl "long value"
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
>Unformatted:
