summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2017-05-02 17:44:31 +0000
committerschwarze <schwarze@openbsd.org>2017-05-02 17:44:31 +0000
commit0b61493ec11a36bc1280e4133a42dd7cfc30aadf (patch)
treea1a09b02c8d43bbd44878aca1a776fc811c16138
parentConvert CMAC and Key Wrap regress tests over to the new AES (diff)
downloadwireguard-openbsd-0b61493ec11a36bc1280e4133a42dd7cfc30aadf.tar.xz
wireguard-openbsd-0b61493ec11a36bc1280e4133a42dd7cfc30aadf.zip
bugfix: treat .Bd -unfilled like .Bd -literal;
OK jmc@ wiz@, and also committed upstream to pkgsrc
-rw-r--r--regress/usr.bin/mdoclint/mdoclint4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.bin/mdoclint/mdoclint b/regress/usr.bin/mdoclint/mdoclint
index a7e281df800..b5733db419f 100644
--- a/regress/usr.bin/mdoclint/mdoclint
+++ b/regress/usr.bin/mdoclint/mdoclint
@@ -1,6 +1,6 @@
#!/usr/bin/perl
#
-# $OpenBSD: mdoclint,v 1.57 2017/04/28 14:11:01 schwarze Exp $
+# $OpenBSD: mdoclint,v 1.58 2017/05/02 17:44:31 schwarze Exp $
# $NetBSD: mdoclint,v 1.65 2017/04/25 13:17:38 wiz Exp $
#
# Copyright (c) 2001-2017 Thomas Klausner
@@ -606,7 +606,7 @@ sub process_line
$s->warning("Invalid date found: `$_'") if $opt_d;
}
- if (/^\.Bd\b.*-literal\b/o) {
+ if (/^\.Bd\b.*-(?:literal|unfilled)\b/o) {
$s->{inliteral} = 1;
}
if ($s->{inliteral} == 1) {