From nobody@FreeBSD.org  Fri Nov 27 14:02:26 2009
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 CC947106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 27 Nov 2009 14:02:26 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id BC31C8FC08
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 27 Nov 2009 14:02:26 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nARE2Qos088018
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 27 Nov 2009 14:02:26 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id nARE2Qmu088017;
	Fri, 27 Nov 2009 14:02:26 GMT
	(envelope-from nobody)
Message-Id: <200911271402.nARE2Qmu088017@www.freebsd.org>
Date: Fri, 27 Nov 2009 14:02:26 GMT
From: Bruce Cran <bruce@cran.org.uk>
To: freebsd-gnats-submit@FreeBSD.org
Subject: sctp manual pages contain links to pages in section 2 instead of 3
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         140940
>Category:       docs
>Synopsis:       sctp manual pages contain links to pages in section 2 instead of 3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    danger
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 27 14:10:02 UTC 2009
>Closed-Date:    Mon Jun 06 21:26:12 UTC 2011
>Last-Modified:  Mon Jun  6 21:30:13 UTC 2011
>Originator:     Bruce Cran
>Release:        8.0
>Organization:
>Environment:
>Description:
The sctp_send(3) manual page contains an embedded link to sctp_recvmsg(2). It should link to sctp_recvmsg(3).

"It will be avail-
     able on reception of a message (see sctp_recvmsg(2))."

sctp_sendmsg(3) links to sctp_sendmsg(2) instead of sctp_sendmsg(3).

"No indication of failure to deliver is implicit in a sctp_sendmsg(2)
     call."

"If no space is available at the socket to hold the message to be trans-
     mitted, then sctp_sendmsg(2) normally blocks"

There is also a wrong link to sctp_recvmsg(2): it should be sctp_recvmsg(3):

"It will be available on recep-
     tion of a message (see sctp_recvmsg(2))"
>How-To-Repeat:
View the sctp_send(3) and sctp_sendmsg(3) manual pages:

http://www.freebsd.org/cgi/man.cgi?query=sctp_send&apropos=0&sektion=0&manpath=FreeBSD+8.0-RELEASE&format=html

http://www.freebsd.org/cgi/man.cgi?query=sctp_sendmsg&apropos=0&sektion=0&manpath=FreeBSD+8.0-RELEASE&format=html
>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->patched 
State-Changed-By: danger 
State-Changed-When: Sat Nov 28 11:27:51 UTC 2009 
State-Changed-Why:  
- fixed in head, awaiting MFC 
- thanks for submission! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=140940 
Responsible-Changed-From-To: freebsd-doc->danger 
Responsible-Changed-By: danger 
Responsible-Changed-When: Sat Nov 28 11:28:16 UTC 2009 
Responsible-Changed-Why:  
- assign to me 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/140940: commit references a PR
Date: Sat, 28 Nov 2009 11:27:52 +0000 (UTC)

 Author: danger (doc committer)
 Date: Sat Nov 28 11:27:37 2009
 New Revision: 199873
 URL: http://svn.freebsd.org/changeset/base/199873
 
 Log:
   - correct xref sections
   
   PR:		docs/140940
   Submitted by:	Bruce Cran <bruce@cran.org.uk>
   MFC after:	1 week
 
 Modified:
   head/lib/libc/net/sctp_send.3
   head/lib/libc/net/sctp_sendmsg.3
 
 Modified: head/lib/libc/net/sctp_send.3
 ==============================================================================
 --- head/lib/libc/net/sctp_send.3	Sat Nov 28 11:13:50 2009	(r199872)
 +++ head/lib/libc/net/sctp_send.3	Sat Nov 28 11:27:37 2009	(r199873)
 @@ -111,7 +111,7 @@ The 
  argument is an opaque 32 bit value that is passed transparently
  through the stack to the peer endpoint. It will be available on
  reception of a message (see
 -.Xr sctp_recvmsg 2 ) .
 +.Xr sctp_recvmsg 3 ) .
  Note that the stack passes this value without regard to byte
  order.
  .Pp
 
 Modified: head/lib/libc/net/sctp_sendmsg.3
 ==============================================================================
 --- head/lib/libc/net/sctp_sendmsg.3	Sat Nov 28 11:13:50 2009	(r199872)
 +++ head/lib/libc/net/sctp_sendmsg.3	Sat Nov 28 11:27:37 2009	(r199873)
 @@ -103,13 +103,13 @@ is set to 
  the message is not transmitted.
  .Pp
  No indication of failure to deliver is implicit in a
 -.Xr sctp_sendmsg 2
 +.Xr sctp_sendmsg 3
  call.
  Locally detected errors are indicated by a return value of -1.
  .Pp
  If no space is available at the socket to hold
  the message to be transmitted, then
 -.Xr sctp_sendmsg 2
 +.Xr sctp_sendmsg 3
  normally blocks, unless the socket has been placed in
  non-blocking I/O mode.
  The
 @@ -123,7 +123,7 @@ argument is an opaque 32 bit value that 
  through the stack to the peer endpoint.
  It will be available on
  reception of a message (see
 -.Xr sctp_recvmsg 2 ) .
 +.Xr sctp_recvmsg 3 ) .
  Note that the stack passes this value without regard to byte
  order.
  .Pp
 _______________________________________________
 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: gjb 
State-Changed-When: Mon Jun 6 21:25:58 UTC 2011 
State-Changed-Why:  
MFCd to stable/8 and stable/7. 


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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/140940: commit references a PR
Date: Mon,  6 Jun 2011 21:23:25 +0000 (UTC)

 Author: gjb (doc committer)
 Date: Mon Jun  6 21:23:11 2011
 New Revision: 222781
 URL: http://svn.freebsd.org/changeset/base/222781
 
 Log:
   MFC 199873 [1]:
   
   - correct xref sections
   
   PR:		140940
   Original commit by:	danger [1]
 
 Modified:
   stable/8/lib/libc/net/sctp_send.3
   stable/8/lib/libc/net/sctp_sendmsg.3
 Directory Properties:
   stable/8/lib/libc/   (props changed)
   stable/8/lib/libc/stdtime/   (props changed)
 
 Modified: stable/8/lib/libc/net/sctp_send.3
 ==============================================================================
 --- stable/8/lib/libc/net/sctp_send.3	Mon Jun  6 21:07:44 2011	(r222780)
 +++ stable/8/lib/libc/net/sctp_send.3	Mon Jun  6 21:23:11 2011	(r222781)
 @@ -111,7 +111,7 @@ The 
  argument is an opaque 32 bit value that is passed transparently
  through the stack to the peer endpoint. It will be available on
  reception of a message (see
 -.Xr sctp_recvmsg 2 ) .
 +.Xr sctp_recvmsg 3 ) .
  Note that the stack passes this value without regard to byte
  order.
  .Pp
 
 Modified: stable/8/lib/libc/net/sctp_sendmsg.3
 ==============================================================================
 --- stable/8/lib/libc/net/sctp_sendmsg.3	Mon Jun  6 21:07:44 2011	(r222780)
 +++ stable/8/lib/libc/net/sctp_sendmsg.3	Mon Jun  6 21:23:11 2011	(r222781)
 @@ -103,13 +103,13 @@ is set to 
  the message is not transmitted.
  .Pp
  No indication of failure to deliver is implicit in a
 -.Xr sctp_sendmsg 2
 +.Xr sctp_sendmsg 3
  call.
  Locally detected errors are indicated by a return value of -1.
  .Pp
  If no space is available at the socket to hold
  the message to be transmitted, then
 -.Xr sctp_sendmsg 2
 +.Xr sctp_sendmsg 3
  normally blocks, unless the socket has been placed in
  non-blocking I/O mode.
  The
 @@ -123,7 +123,7 @@ argument is an opaque 32 bit value that 
  through the stack to the peer endpoint.
  It will be available on
  reception of a message (see
 -.Xr sctp_recvmsg 2 ) .
 +.Xr sctp_recvmsg 3 ) .
  Note that the stack passes this value without regard to byte
  order.
  .Pp
 _______________________________________________
 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/140940: commit references a PR
Date: Mon,  6 Jun 2011 21:24:16 +0000 (UTC)

 Author: gjb (doc committer)
 Date: Mon Jun  6 21:24:07 2011
 New Revision: 222782
 URL: http://svn.freebsd.org/changeset/base/222782
 
 Log:
   MFC 199873 [1]:
   
   - correct xref sections
   
   PR:		140940
   Original commit by:	danger [1]
 
 Modified:
   stable/7/lib/libc/net/sctp_send.3
   stable/7/lib/libc/net/sctp_sendmsg.3
 Directory Properties:
   stable/7/lib/libc/   (props changed)
   stable/7/lib/libc/stdtime/   (props changed)
 
 Modified: stable/7/lib/libc/net/sctp_send.3
 ==============================================================================
 --- stable/7/lib/libc/net/sctp_send.3	Mon Jun  6 21:23:11 2011	(r222781)
 +++ stable/7/lib/libc/net/sctp_send.3	Mon Jun  6 21:24:07 2011	(r222782)
 @@ -111,7 +111,7 @@ The 
  argument is an opaque 32 bit value that is passed transparently
  through the stack to the peer endpoint. It will be available on
  reception of a message (see
 -.Xr sctp_recvmsg 2 ) .
 +.Xr sctp_recvmsg 3 ) .
  Note that the stack passes this value without regard to byte
  order.
  .Pp
 
 Modified: stable/7/lib/libc/net/sctp_sendmsg.3
 ==============================================================================
 --- stable/7/lib/libc/net/sctp_sendmsg.3	Mon Jun  6 21:23:11 2011	(r222781)
 +++ stable/7/lib/libc/net/sctp_sendmsg.3	Mon Jun  6 21:24:07 2011	(r222782)
 @@ -103,13 +103,13 @@ is set to 
  the message is not transmitted.
  .Pp
  No indication of failure to deliver is implicit in a
 -.Xr sctp_sendmsg 2
 +.Xr sctp_sendmsg 3
  call.
  Locally detected errors are indicated by a return value of -1.
  .Pp
  If no space is available at the socket to hold
  the message to be transmitted, then
 -.Xr sctp_sendmsg 2
 +.Xr sctp_sendmsg 3
  normally blocks, unless the socket has been placed in
  non-blocking I/O mode.
  The
 @@ -123,7 +123,7 @@ argument is an opaque 32 bit value that 
  through the stack to the peer endpoint.
  It will be available on
  reception of a message (see
 -.Xr sctp_recvmsg 2 ) .
 +.Xr sctp_recvmsg 3 ) .
  Note that the stack passes this value without regard to byte
  order.
  .Pp
 _______________________________________________
 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:
