summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/mandoc.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2012-04-15 10:31:01 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2012-04-15 10:31:01 +0000
commit980eec0e86e461e8d9899864e5f2b87c53c3f172 (patch)
tree4115e89025c8ec5eba98f7aa901e3919c8bfb619 /usr.bin/mandoc/mandoc.c
parente801a96c6b02f2ad1ad92a0e4e243aa7d2af9778 (diff)
Two bugfixes regarding the -width and -offset macro arguments:
1) They consume the next argument even if it starts with a dash. 2) When -width is the last argument on the line such that the actual width argument is missing, downgrade from a fatal to a non-fatal error, just like for -offset. The formatting still doesn't agree with groff, but at least we don't die any longer. Item 2 was observed and that part of the patch coded by kristaps@, who found lots of instances of this particular formatting error in Mac OSX manuals.
Diffstat (limited to 'usr.bin/mandoc/mandoc.c')
0 files changed, 0 insertions, 0 deletions