summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2013-12-25 14:08:36 +0000
committerschwarze <schwarze@openbsd.org>2013-12-25 14:08:36 +0000
commit1740d7bff4126f95324073cc32073025b3020c8f (patch)
tree5ea10541be19388042d70389cac67a3ca0f7d32c
parentzap defines that don't make any sense for us (diff)
downloadwireguard-openbsd-1740d7bff4126f95324073cc32073025b3020c8f.tar.xz
wireguard-openbsd-1740d7bff4126f95324073cc32073025b3020c8f.zip
Support .St -xsh4.2, the System Interfaces part of the original Single
UNIX Specification. As this one appears to be used in the wild and we already have -xpg4.2 and even -xsh5, it makes sense to add this one. Note that calling the original SUS XPG4.2 appears to be more common than calling it SUSv1, so it's ok that we don't have .St -susv1. From Sascha Wildner <saw at online dot de> (DragonFly) via Franco Fichtner.
-rw-r--r--share/man/man7/mdoc.78
-rw-r--r--usr.bin/mandoc/st.in3
2 files changed, 7 insertions, 4 deletions
diff --git a/share/man/man7/mdoc.7 b/share/man/man7/mdoc.7
index 3b28002e5cf..dde59b854de 100644
--- a/share/man/man7/mdoc.7
+++ b/share/man/man7/mdoc.7
@@ -1,7 +1,7 @@
-.\" $OpenBSD: mdoc.7,v 1.103 2013/11/02 20:39:24 schwarze Exp $
+.\" $OpenBSD: mdoc.7,v 1.104 2013/12/25 14:08:36 schwarze Exp $
.\"
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
-.\" Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org>
+.\" Copyright (c) 2010, 2011, 2013 Ingo Schwarze <schwarze@openbsd.org>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
@@ -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: November 2 2013 $
+.Dd $Mdocdate: December 25 2013 $
.Dt MDOC 7
.Os
.Sh NAME
@@ -2461,6 +2461,8 @@ The following standards are recognised:
.St -xbd5
.It \-xcu5
.St -xcu5
+.It \-xsh4.2
+.St -xsh4.2
.It \-xsh5
.St -xsh5
.It \-xns5
diff --git a/usr.bin/mandoc/st.in b/usr.bin/mandoc/st.in
index 8fad76568c1..809019b7843 100644
--- a/usr.bin/mandoc/st.in
+++ b/usr.bin/mandoc/st.in
@@ -1,4 +1,4 @@
-/* $Id: st.in,v 1.15 2013/10/13 03:09:26 schwarze Exp $ */
+/* $Id: st.in,v 1.16 2013/12/25 14:08:36 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -71,6 +71,7 @@ LINE("-xpg4.2", "X/Open Portability Guide Issue\\~4, Version\\~2 (\\(lqXPG4.2\\
LINE("-xpg4.3", "X/Open Portability Guide Issue\\~4, Version\\~3 (\\(lqXPG4.3\\(rq)")
LINE("-xbd5", "X/Open Base Definitions Issue\\~5 (\\(lqXBD5\\(rq)")
LINE("-xcu5", "X/Open Commands and Utilities Issue\\~5 (\\(lqXCU5\\(rq)")
+LINE("-xsh4.2", "X/Open System Interfaces and Headers Issue\\~4, Version\\~2 (\\(lqXSH4.2\\(rq)")
LINE("-xsh5", "X/Open System Interfaces and Headers Issue\\~5 (\\(lqXSH5\\(rq)")
LINE("-xns5", "X/Open Networking Services Issue\\~5 (\\(lqXNS5\\(rq)")
LINE("-xns5.2", "X/Open Networking Services Issue\\~5.2 (\\(lqXNS5.2\\(rq)")