CVSROOT:        /cvs
Module name:    src
Changes by:     schwa...@cvs.openbsd.org        2025/06/13 08:23:53

Modified files:
        usr.bin/mandoc : mdoc_macro.c 

Log message:
Use the MDOC_JOIN feature for .Ft, too.
Semantically, this makes sense because printing two function return types
one right after the other with nothing in between is never useful, whereas
function return types consisting of more than one word are widespread.
The change matters because people usually do not quote multi-word function
return types (nor should they).  We have about 1800 unquoted instances in
our tree versus about 300 quoted instances.

No output change intended, not even with respect to line breaking.
The regression suite remains happy, and this helps apropos(1)
searching for function return types that contain more than one word.
For example, this improves the command: man -k 'Ft=const EC_METHOD'
which (after makewhatis(8)) no longer misses the EC_GFp_simple_method(3)
manual page.

Reply via email to