From 602c56869a61150119dfe9b85f48c5ff78fd8b13 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 7 Apr 2010 18:50:35 +0000 Subject: Allowing `Cd' to be in section 9 (noted by Joerg Sonnenberger). --- mdoc.7 | 2 +- mdoc_validate.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mdoc.7 b/mdoc.7 index e3215fed..cfda70ed 100644 --- a/mdoc.7 +++ b/mdoc.7 @@ -1322,7 +1322,7 @@ and .Sx \&Ux . . .Ss \&Cd -Configuration declaration (suggested for use only in section four +Configuration declaration (suggested for use in section four and nine manuals). This denotes strings accepted by .Xr config 8 . .Pp diff --git a/mdoc_validate.c b/mdoc_validate.c index 2f27220d..1a27f74c 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -806,7 +806,7 @@ static int pre_cd(PRE_ARGS) { - return(check_msec(mdoc, n, 4, 0)); + return(check_msec(mdoc, n, 4, 9, 0)); } -- cgit