Bug 162719

Summary: [PATCH] add setsockopt to history section of getsockopt.2
Product: Documentation Reporter: Niclas Zeising <niclas.zeising>
Component: Books & ArticlesAssignee: Sergey Kandaurov <pluknet>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
getsockopt.2.diff none

Description Niclas Zeising 2011-11-21 13:40:09 UTC
	the getsockopt.2 manual page covers both getsockopt() and setsockopt() but only getsockopt() is mentioned in the history section.
	# As a side note, this manual should probably have a STANDARDS section as well, but I can not determine if our implementation confirms to POSIX.

Fix: Attached patch adds setsockopt() to the history. I assume that they were added as a pair at the same time.
Comment 1 Sergey Kandaurov freebsd_committer freebsd_triage 2011-11-21 14:30:56 UTC
Responsible Changed
From-To: freebsd-doc->pluknet

Take.
Comment 2 Sergey Kandaurov freebsd_committer freebsd_triage 2011-11-21 14:36:28 UTC
State Changed
From-To: open->patched

Committed.
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-11-21 14:36:38 UTC
Author: pluknet
Date: Mon Nov 21 14:36:19 2011
New Revision: 227792
URL: http://svn.freebsd.org/changeset/base/227792

Log:
  Add history for setsockopt(2).
  
  PR:		docs/162719
  Submitted by:	Niclas Zeising <niclas at zeising gmail>
  MFC after:	1 week

Modified:
  head/lib/libc/sys/getsockopt.2

Modified: head/lib/libc/sys/getsockopt.2
==============================================================================
--- head/lib/libc/sys/getsockopt.2	Mon Nov 21 14:10:13 2011	(r227791)
+++ head/lib/libc/sys/getsockopt.2	Mon Nov 21 14:36:19 2011	(r227792)
@@ -28,7 +28,7 @@
 .\"     @(#)getsockopt.2	8.4 (Berkeley) 5/2/95
 .\" $FreeBSD$
 .\"
-.Dd June 13, 2008
+.Dd November 21, 2011
 .Dt GETSOCKOPT 2
 .Os
 .Sh NAME
@@ -533,7 +533,9 @@ on a non-listening socket was attempted.
 .Sh HISTORY
 The
 .Fn getsockopt
-system call appeared in
+and
+.Fn setsockopt
+system calls appeared in
 .Bx 4.2 .
 .Sh BUGS
 Several of the socket options should be handled at lower levels of the system.
_______________________________________________
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"
Comment 4 Niclas Zeising 2011-12-17 12:42:45 UTC
What's the status here? Just a forgotten MFC?
Regards!
-- 
Niclas
Comment 5 Sergey Kandaurov freebsd_committer freebsd_triage 2011-12-18 10:53:24 UTC
On 17 December 2011 16:42, Niclas Zeising <niclas.zeising@gmail.com> wrote:
> What's the status here? Just a forgotten MFC?
> Regards!

I will merge it after the STABLE_9 branch is opened for committing.
Thanks for the reminder.

-- 
wbr,
pluknet
Comment 6 dfilter service freebsd_committer freebsd_triage 2012-01-04 14:47:42 UTC
Author: pluknet
Date: Wed Jan  4 14:47:32 2012
New Revision: 229489
URL: http://svn.freebsd.org/changeset/base/229489

Log:
  MFC r227792:
  
   Add history for setsockopt(2).
  
  PR:		docs/162719
  Submitted by:	Niclas Zeising <niclas at zeising gmail>

Modified:
  stable/9/lib/libc/sys/getsockopt.2
Directory Properties:
  stable/9/lib/libc/   (props changed)
  stable/9/lib/libc/gen/   (props changed)
  stable/9/lib/libc/stdtime/   (props changed)

Modified: stable/9/lib/libc/sys/getsockopt.2
==============================================================================
--- stable/9/lib/libc/sys/getsockopt.2	Wed Jan  4 14:34:45 2012	(r229488)
+++ stable/9/lib/libc/sys/getsockopt.2	Wed Jan  4 14:47:32 2012	(r229489)
@@ -28,7 +28,7 @@
 .\"     @(#)getsockopt.2	8.4 (Berkeley) 5/2/95
 .\" $FreeBSD$
 .\"
-.Dd June 13, 2008
+.Dd November 21, 2011
 .Dt GETSOCKOPT 2
 .Os
 .Sh NAME
@@ -533,7 +533,9 @@ on a non-listening socket was attempted.
 .Sh HISTORY
 The
 .Fn getsockopt
-system call appeared in
+and
+.Fn setsockopt
+system calls appeared in
 .Bx 4.2 .
 .Sh BUGS
 Several of the socket options should be handled at lower levels of the system.
_______________________________________________
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"
Comment 7 dfilter service freebsd_committer freebsd_triage 2012-01-04 14:49:38 UTC
Author: pluknet
Date: Wed Jan  4 14:49:29 2012
New Revision: 229490
URL: http://svn.freebsd.org/changeset/base/229490

Log:
  MFC r227792:
  
   Add history for setsockopt(2).
  
  PR:		docs/162719
  Submitted by:	Niclas Zeising <niclas at zeising gmail>

Modified:
  stable/8/lib/libc/sys/getsockopt.2
Directory Properties:
  stable/8/lib/libc/   (props changed)
  stable/8/lib/libc/stdtime/   (props changed)

Modified: stable/8/lib/libc/sys/getsockopt.2
==============================================================================
--- stable/8/lib/libc/sys/getsockopt.2	Wed Jan  4 14:47:32 2012	(r229489)
+++ stable/8/lib/libc/sys/getsockopt.2	Wed Jan  4 14:49:29 2012	(r229490)
@@ -28,7 +28,7 @@
 .\"     @(#)getsockopt.2	8.4 (Berkeley) 5/2/95
 .\" $FreeBSD$
 .\"
-.Dd June 13, 2008
+.Dd November 21, 2011
 .Dt GETSOCKOPT 2
 .Os
 .Sh NAME
@@ -515,7 +515,9 @@ on a non-listening socket was attempted.
 .Sh HISTORY
 The
 .Fn getsockopt
-system call appeared in
+and
+.Fn setsockopt
+system calls appeared in
 .Bx 4.2 .
 .Sh BUGS
 Several of the socket options should be handled at lower levels of the system.
_______________________________________________
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"
Comment 8 dfilter service freebsd_committer freebsd_triage 2012-01-04 14:55:34 UTC
Author: pluknet
Date: Wed Jan  4 14:55:24 2012
New Revision: 229491
URL: http://svn.freebsd.org/changeset/base/229491

Log:
  MFC r227792:
  
   Add history for setsockopt(2).
  
  PR:		docs/162719
  Submitted by:	Niclas Zeising <niclas at zeising gmail>

Modified:
  stable/7/lib/libc/sys/getsockopt.2
Directory Properties:
  stable/7/lib/libc/   (props changed)
  stable/7/lib/libc/stdtime/   (props changed)

Modified: stable/7/lib/libc/sys/getsockopt.2
==============================================================================
--- stable/7/lib/libc/sys/getsockopt.2	Wed Jan  4 14:49:29 2012	(r229490)
+++ stable/7/lib/libc/sys/getsockopt.2	Wed Jan  4 14:55:24 2012	(r229491)
@@ -28,7 +28,7 @@
 .\"     @(#)getsockopt.2	8.4 (Berkeley) 5/2/95
 .\" $FreeBSD$
 .\"
-.Dd March 8, 2007
+.Dd November 21, 2011
 .Dt GETSOCKOPT 2
 .Os
 .Sh NAME
@@ -479,7 +479,9 @@ on a non-listening socket was attempted.
 .Sh HISTORY
 The
 .Fn getsockopt
-system call appeared in
+and
+.Fn setsockopt
+system calls appeared in
 .Bx 4.2 .
 .Sh BUGS
 Several of the socket options should be handled at lower levels of the system.
_______________________________________________
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"
Comment 9 Sergey Kandaurov freebsd_committer freebsd_triage 2012-01-04 14:56:26 UTC
State Changed
From-To: patched->closed

Merged to all supported stable branches.