From ab6686c189578e0d76b6cf31c8abd8feaeedac2d Mon Sep 17 00:00:00 2001 From: Jason McIntyre Date: Tue, 31 Aug 2010 17:58:17 +0000 Subject: - catching up with upstream mdoclint, recognise IMPLEMENTATION NOTES and COMPATIBILTY as sections. these remain defined only for netbsd, since we do not use these sections. - contrariwise, undefine EXIT STATUS as being netbsd only. despite some misgivings, i think we probably do need to ressurect this section. i'll start to make these changes soon. --- regress/usr.bin/mdoclint/mdoclint | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'regress') diff --git a/regress/usr.bin/mdoclint/mdoclint b/regress/usr.bin/mdoclint/mdoclint index 7e908b2f224..e05bd17b902 100644 --- a/regress/usr.bin/mdoclint/mdoclint +++ b/regress/usr.bin/mdoclint/mdoclint @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# $OpenBSD: mdoclint,v 1.16 2010/02/10 08:36:33 jmc Exp $ +# $OpenBSD: mdoclint,v 1.17 2010/08/31 17:58:16 jmc Exp $ # $NetBSD: mdoclint,v 1.26 2008/11/22 14:47:28 wiz Exp $ # # Copyright (c) 2001-2008 Thomas Klausner @@ -104,12 +104,14 @@ my $valid_date_re; NETBSD ? "LIBRARY" : undef, "SYNOPSIS", "DESCRIPTION", - NETBSD ? "EXIT STATUS" : undef, + NETBSD ? "IMPLEMENTATION NOTES" : undef, "RETURN VALUES", "ENVIRONMENT", "FILES", + "EXIT STATUS", "EXAMPLES", "DIAGNOSTICS", + NETBSD ? "COMPATIBILITY" : undef, "ERRORS", "SEE ALSO", "STANDARDS", -- cgit v1.2.3