Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Sep 2024 16:42:50 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 044f94adff55 - main - timeout(1): Update STANDARDS section
Message-ID:  <202409241642.48OGgoWH040751@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by gbe:

URL: https://cgit.FreeBSD.org/src/commit/?id=044f94adff55f13130f03c0c170fa879c8febb5b

commit 044f94adff55f13130f03c0c170fa879c8febb5b
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2024-09-24 16:42:18 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2024-09-24 16:42:18 +0000

    timeout(1): Update STANDARDS section
    
    Update the STANDARDS section for timeout(1) to
    POSIX 1003.1-2024.
    
    Update mandoc to be able to render the
    new POSIX macro.
    
    Reviewed by:    bapt, bcr
    Approved by:    bapt
    Obtained from:  OpenBSD
    MFC after:      2 weeks
    Differential Revision:  https://reviews.freebsd.org/D45691
---
 bin/timeout/timeout.1 | 8 +++++++-
 contrib/mandoc/st.c   | 1 +
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/bin/timeout/timeout.1 b/bin/timeout/timeout.1
index 9e624e809376..10e5fd70c393 100644
--- a/bin/timeout/timeout.1
+++ b/bin/timeout/timeout.1
@@ -24,7 +24,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd June 26, 2023
+.Dd June 17, 2024
 .Dt TIMEOUT 1
 .Os
 .Sh NAME
@@ -195,6 +195,12 @@ $ timeout -k 5s 1m fetch \\
 .Xr nohup 1 ,
 .Xr signal 3 ,
 .Xr daemon 8
+.Sh STANDARDS
+The
+.Nm
+utility is compliant with the
+.St -p1003.1-2024
+specification.
 .Sh HISTORY
 The
 .Nm
diff --git a/contrib/mandoc/st.c b/contrib/mandoc/st.c
index ec754cc036f2..266df0081a95 100644
--- a/contrib/mandoc/st.c
+++ b/contrib/mandoc/st.c
@@ -37,6 +37,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-2024",	"IEEE Std 1003.1-2024 (\\(lqPOSIX.1\\(rq)")
 LINE("-p1003.1-2013",	"IEEE Std 1003.1-2008, 2013 Edition (\\(LqPOSIX.1\\(Rq)")
 LINE("-p1003.1-2016",	"IEEE Std 1003.1-2008, 2016 Edition (\\(LqPOSIX.1\\(Rq)")
 LINE("-p1003.1",	"IEEE Std 1003.1 (\\(lqPOSIX.1\\(rq)")



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409241642.48OGgoWH040751>