CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2025/07/26 06:20:21
Modified files:
usr.bin/mandoc : mdoc_validate.c
Log message:
If the second argument to .Dt (the section number) is invalid,
print "LOCAL" for the volume title, just like when the section
number is missing. This improves compatibility with groff-1.23.0,
and it's not a big deal because we don't use invalid section numbers
in our manuals.
While here, there is no need to set "LOCAL" in the post_dt() validator
because the post_root() validator takes care of setting that at the end,
if nothing set the volume title at all.