summaryrefslogtreecommitdiff
path: root/usr.bin/mkdep
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2011-01-03 23:39:28 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2011-01-03 23:39:28 +0000
commit8e6a3ab86e7918f82355f33fa944cca1df578195 (patch)
tree41bcb6b2a6fd1c8edf1a0deb8d676d9b196479c5 /usr.bin/mkdep
parent60a5e3c43953dd77bf29755321b3d66b06f98807 (diff)
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 'usr.bin/mkdep')
0 files changed, 0 insertions, 0 deletions