From 1784b58e5fb020c13b6d497efb8c232a635f1ff7 Mon Sep 17 00:00:00 2001 From: schwarze Date: Mon, 30 Dec 2013 09:47:43 +0000 Subject: [PATCH] Support .St -p1003.1-2013, "IEEE Std 1003.1-2008/Cor 1-2013". Note that the POSIX-2008 standard remains in force, so please refrain from wholesale 2008 -> 2013 replacements. Make sure to only use the new -p1003.1-2013 argument for cases where "IEEE Std 1003.1(TM)-2008/ Cor 1-2013, IEEE Standard for Information Technology--Portable Operating System Interface (POSIX(R)), Technical Corrigendum 1" actually changes something in the standard with respect to the specific function documented in the manual you touch. Otherwise, please continue using .St -p1003.1-2008. Triggered by a similar, but slightly incorrect patch from jmc@; ok guenther@. --- share/man/man7/mdoc.7 | 6 ++++-- usr.bin/mandoc/st.in | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/share/man/man7/mdoc.7 b/share/man/man7/mdoc.7 index dde59b854de..f626be9c0fc 100644 --- a/share/man/man7/mdoc.7 +++ b/share/man/man7/mdoc.7 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mdoc.7,v 1.104 2013/12/25 14:08:36 schwarze Exp $ +.\" $OpenBSD: mdoc.7,v 1.105 2013/12/30 09:47:43 schwarze Exp $ .\" .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons .\" Copyright (c) 2010, 2011, 2013 Ingo Schwarze @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: December 25 2013 $ +.Dd $Mdocdate: December 30 2013 $ .Dt MDOC 7 .Os .Sh NAME @@ -2387,6 +2387,8 @@ The following standards are recognised: .St -p1003.1-2004 .It \-p1003.1-2008 .St -p1003.1-2008 +.It \-p1003.1-2013 +.St -p1003.1-2013 .It \-p1003.1 .St -p1003.1 .It \-p1003.1b diff --git a/usr.bin/mandoc/st.in b/usr.bin/mandoc/st.in index 809019b7843..3ccdfa06bc8 100644 --- a/usr.bin/mandoc/st.in +++ b/usr.bin/mandoc/st.in @@ -1,4 +1,4 @@ -/* $Id: st.in,v 1.16 2013/12/25 14:08:36 schwarze Exp $ */ +/* $Id: st.in,v 1.17 2013/12/30 09:47:43 schwarze Exp $ */ /* * Copyright (c) 2009, 2010 Kristaps Dzonsons * @@ -34,6 +34,7 @@ LINE("-p1003.1-96", "ISO/IEC 9945-1:1996 (\\(lqPOSIX.1\\(rq)") LINE("-p1003.1-2001", "IEEE Std 1003.1-2001 (\\(lqPOSIX.1\\(rq)") LINE("-p1003.1-2004", "IEEE Std 1003.1-2004 (\\(lqPOSIX.1\\(rq)") LINE("-p1003.1-2008", "IEEE Std 1003.1-2008 (\\(lqPOSIX.1\\(rq)") +LINE("-p1003.1-2013", "IEEE Std 1003.1-2008/Cor 1-2013 (\\(lqPOSIX.1\\(rq)") LINE("-p1003.1", "IEEE Std 1003.1 (\\(lqPOSIX.1\\(rq)") LINE("-p1003.1b", "IEEE Std 1003.1b (\\(lqPOSIX.1b\\(rq)") LINE("-p1003.1b-93", "IEEE Std 1003.1b-1993 (\\(lqPOSIX.1b\\(rq)") -- 2.20.1