CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2012/07/12 09:09:50
Modified files: usr.bin/mandoc : mandoc.h mdoc_validate.c read.c Log message: The post_nm() validation function crashed when the first .Nm child node was a non-text node. Fix this by rewriting post_nm() to always set the meta name to UNKNOWN when the name is missing or unusable. While here, make MANDOCERR_NONAME an ERROR, as it usually renders the page content unintelligible. Bug reported by Maxim <Belooussov at gmail dot com>, thanks.