* mdocml: Allow ERRORS in section 4; OpenBSD rev.
@ 2014-03-30 23:28 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2014-03-30 23:28 UTC (permalink / raw)
To: source
Log Message:
-----------
Allow ERRORS in section 4; OpenBSD rev. 1.121.
Modified Files:
--------------
mdocml:
mdoc_validate.c
Revision Data
-------------
Index: mdoc_validate.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mdoc_validate.c,v
retrieving revision 1.206
retrieving revision 1.207
diff -Lmdoc_validate.c -Lmdoc_validate.c -u -p -r1.206 -r1.207
--- mdoc_validate.c
+++ mdoc_validate.c
@@ -2029,9 +2029,11 @@ post_sh_head(POST_ARGS)
assert(mdoc->meta.msec);
switch (sec) {
- case (SEC_RETURN_VALUES):
- /* FALLTHROUGH */
case (SEC_ERRORS):
+ if (*mdoc->meta.msec == '4')
+ break;
+ /* FALLTHROUGH */
+ case (SEC_RETURN_VALUES):
/* FALLTHROUGH */
case (SEC_LIBRARY):
if (*mdoc->meta.msec == '2')
--
To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-03-30 23:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-30 23:28 mdocml: Allow ERRORS in section 4; OpenBSD rev schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).