Module Name:    src
Committed By:   jruoho
Date:           Wed Apr 28 14:07:03 UTC 2010

Modified Files:
        src/lib/libc/gen: makecontext.3
        src/lib/libc/sys: getcontext.2
        src/share/man/man2: ucontext.2

Log Message:
Note that the ucontext(2) et. al. were first moved from X/OPEN extensions to
the base POSIX-2001 and later marked as obsolete in POSIX-2008.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/lib/libc/gen/makecontext.3
cvs rdiff -u -r1.5 -r1.6 src/lib/libc/sys/getcontext.2
cvs rdiff -u -r1.4 -r1.5 src/share/man/man2/ucontext.2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/gen/makecontext.3
diff -u src/lib/libc/gen/makecontext.3:1.7 src/lib/libc/gen/makecontext.3:1.8
--- src/lib/libc/gen/makecontext.3:1.7	Mon Apr 20 08:37:22 2009
+++ src/lib/libc/gen/makecontext.3	Wed Apr 28 14:07:03 2010
@@ -1,4 +1,4 @@
-.\"	$NetBSD: makecontext.3,v 1.7 2009/04/20 08:37:22 wiz Exp $
+.\"	$NetBSD: makecontext.3,v 1.8 2010/04/28 14:07:03 jruoho Exp $
 .\"
 .\" Copyright (c) 2001, 2009 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd April 16, 2009
+.Dd April 28, 2010
 .Dt MAKECONTEXT 3
 .Os
 .Sh NAME
@@ -133,7 +133,19 @@
 and
 .Fn swapcontext
 functions conform to
-.St -xsh5 .
+.St -xsh5
+and
+.St -p1003.1-2001 .
+.Pp
+The
+.St -p1003.1-2008
+revision marked the functions
+.Fn makecontext
+and
+.Fn swapcontext
+as obsolete, citing portability issues and recommending the use of
+.Tn POSIX
+threads instead.
 .Pp
 .Bf -symbolic
 The standard does not clearly define the type of integer arguments

Index: src/lib/libc/sys/getcontext.2
diff -u src/lib/libc/sys/getcontext.2:1.5 src/lib/libc/sys/getcontext.2:1.6
--- src/lib/libc/sys/getcontext.2:1.5	Wed Apr 30 13:10:51 2008
+++ src/lib/libc/sys/getcontext.2	Wed Apr 28 14:07:03 2010
@@ -1,4 +1,4 @@
-.\"	$NetBSD: getcontext.2,v 1.5 2008/04/30 13:10:51 martin Exp $
+.\"	$NetBSD: getcontext.2,v 1.6 2010/04/28 14:07:03 jruoho Exp $
 .\"
 .\" Copyright (c) 1999 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd October 28, 1999
+.Dd April 28, 2010
 .Dt GETCONTEXT 2
 .Os
 .Sh NAME
@@ -124,10 +124,22 @@
 and
 .Fn setcontext
 functions conform to
-.St -xsh5 .
+.St -xsh5
+and
+.St -p1003.1-2001 .
 The
 .Va errno
 indications are an extension to the standard.
+.Pp
+The
+.St -p1003.1-2008
+revision marked the functions
+.Fn getcontext
+and
+.Fn setcontext
+as obsolete, citing portability issues and recommending the use of
+.Tn POSIX
+threads instead.
 .Sh HISTORY
 The
 .Fn getcontext

Index: src/share/man/man2/ucontext.2
diff -u src/share/man/man2/ucontext.2:1.4 src/share/man/man2/ucontext.2:1.5
--- src/share/man/man2/ucontext.2:1.4	Wed Apr 28 13:23:02 2010
+++ src/share/man/man2/ucontext.2	Wed Apr 28 14:07:03 2010
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ucontext.2,v 1.4 2010/04/28 13:23:02 jruoho Exp $
+.\"	$NetBSD: ucontext.2,v 1.5 2010/04/28 14:07:03 jruoho Exp $
 .\"
 .\" Copyright (c) 2001 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -96,13 +96,11 @@
 .Xr swapcontext 3
 .Sh STANDARDS
 The
-.Nm ucontext_t
+.Vt ucontext_t
 type conforms to
-.St -xsh5 .
-.Sh HISTORY
-The
-.Fn makecontext
+.St -xsh5
 and
-.Fn swapcontext
-functions first appeared in
-.At V.4 .
+.St -p1003.1-2001 .
+The
+.St -p1003.1-2008
+revision marked the accompanying functions as obsolescent.

Reply via email to