summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2010-08-31 17:58:17 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2010-08-31 17:58:17 +0000
commitab6686c189578e0d76b6cf31c8abd8feaeedac2d (patch)
treeca20ee756ce8ddfc76816e76a4f57d970169bb35 /regress
parentb72a94105fb1269c2acce90674fe2a0d07012283 (diff)
- 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.
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.bin/mdoclint/mdoclint6
1 files changed, 4 insertions, 2 deletions
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",