CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2012/04/15 04:31:00
Modified files: usr.bin/mandoc : mdoc_argv.c mdoc_validate.c Log message: 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.