summaryrefslogtreecommitdiff
path: root/usr.bin/vi/include
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2012-07-12 15:09:51 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2012-07-12 15:09:51 +0000
commit3346b5b6c795f44f3b15c48768f03764b37716fe (patch)
treebc265c63155c1a1a6e4d476b0070e58e12e63ac9 /usr.bin/vi/include
parent4f3b6898a0d56413863db3c64265f241dc1013ab (diff)
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.
Diffstat (limited to 'usr.bin/vi/include')
0 files changed, 0 insertions, 0 deletions