diff options
author | 2010-04-02 11:37:07 +0000 | |
---|---|---|
committer | 2010-04-02 11:37:07 +0000 | |
commit | a52dde15ec2ea835337f852941bc59754f24581a (patch) | |
tree | c83355413b47b572d58aaaaf04f0df69be5f70fa /usr.bin/mandoc/man_validate.c | |
parent | Use a dedicated variable to prevent attempting to open multiple (diff) | |
download | wireguard-openbsd-a52dde15ec2ea835337f852941bc59754f24581a.tar.xz wireguard-openbsd-a52dde15ec2ea835337f852941bc59754f24581a.zip |
merge 1.9.20, keeping local patches
* prevent roff instructions in man(7) from clobbering scopes and line modes
(noted by Sascha Wildner)
* handle leading punctuation in mdoc(7) blocks and line macros
(looks good in principle, but is causing some fallout in OpenBSD,
so i will disable it locally for now with the next commit)
Diffstat (limited to 'usr.bin/mandoc/man_validate.c')
-rw-r--r-- | usr.bin/mandoc/man_validate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/man_validate.c b/usr.bin/mandoc/man_validate.c index 826df3c3138..a12fa9adea5 100644 --- a/usr.bin/mandoc/man_validate.c +++ b/usr.bin/mandoc/man_validate.c @@ -1,4 +1,4 @@ -/* $Id: man_validate.c,v 1.15 2010/03/29 22:56:52 schwarze Exp $ */ +/* $Id: man_validate.c,v 1.16 2010/04/02 11:37:07 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -55,7 +55,7 @@ static v_check posts_part[] = { check_part, NULL }; static v_check posts_sec[] = { check_sec, NULL }; static v_check posts_le1[] = { check_le1, NULL }; static v_check pres_bline[] = { check_bline, NULL }; -static v_check pres_roff[] = { check_bline, check_roff, NULL }; +static v_check pres_roff[] = { check_roff, NULL }; static const struct man_valid man_valids[MAN_MAX] = { { NULL, posts_eq0 }, /* br */ |