diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2010-06-10 23:24:37 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2010-06-10 23:24:37 +0000 |
commit | 54c0fe4b66b6f28b69d70293f915b255af598960 (patch) | |
tree | 098fa67561a5cf2eec5708b6ee89bf1f881648fe /mandoc.1 | |
parent | 92fc4a31da7eb79879434d883684209266ac3ff2 (diff) | |
download | mandoc-54c0fe4b66b6f28b69d70293f915b255af598960.tar.gz |
Fix a regression that crept in in man_term.c 1.73 and mdoc_term.c 1.144.
When the title line uses special characters, mandoc will segfault.
Thus, first set up the character tables, then print the header,
as we always did.
Found in OpenBSD /usr/src/usr.sbin/bind/bin/check/named-checkconf.8.
While here, set p->tabwidth in terminal_man() for symmetry
with terminal_mdoc(), as suggested by millert@ (and already
committed to OpenBSD earlier). Since 5 is the default, this
is not strictly required, but it is certainly clearer and more
robust.
"looks fine" kristaps@
Diffstat (limited to 'mandoc.1')
0 files changed, 0 insertions, 0 deletions