diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2011-01-03 23:39:28 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2011-01-03 23:39:28 +0000 |
commit | 8e6a3ab86e7918f82355f33fa944cca1df578195 (patch) | |
tree | 41bcb6b2a6fd1c8edf1a0deb8d676d9b196479c5 /usr.bin/write | |
parent | 60a5e3c43953dd77bf29755321b3d66b06f98807 (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/write')
0 files changed, 0 insertions, 0 deletions