summaryrefslogtreecommitdiffstats
path: root/man_html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2011-01-03 23:53:51 +0000
committerIngo Schwarze <schwarze@openbsd.org>2011-01-03 23:53:51 +0000
commit5b840cdde94e169a11d49e62d17d79650e968693 (patch)
tree4cb545ae7692db2410f9b319094ffd3571ee4e83 /man_html.c
parent0e50c1438daedc8128c87f3473ac9f0b508ac7b8 (diff)
downloadmandoc-5b840cdde94e169a11d49e62d17d79650e968693.tar.gz
Partial cleanup of argument count validation in mdoc(7):
* Do not segfault on empty .Db, .Rs, .Sm, and .St. * Let check_count() really throw the requested level, not always ERROR. * Downgrade most bad argument counts from ERROR to WARNING. * And some related internal cleanup. Looks fine to kristaps@. Note that the macros using eerr_ge1() still need to be checked at a later time; but as all the others are done, let's use what we already have.
Diffstat (limited to 'man_html.c')
0 files changed, 0 insertions, 0 deletions