misc/140494: Man page fix for getc(3)

Bruce Evans brde at optusnet.com.au
Thu Nov 12 14:29:54 UTC 2009


On Wed, 11 Nov 2009, Jeremy Huddleston wrote:

>> Fix:
> --- getc.3.bsdnew	2009-11-11 13:33:11.000000000 -0800
> +++ getc.3	2009-11-11 14:52:54.000000000 -0800
> @@ -54,7 +54,7 @@
> .Ft int
> .Fn getc_unlocked "FILE *stream"
> .Ft int
> -.Fn getchar void
> +.Fn getchar "void"

This adds bogus quoting.

> .Ft int
> .Fn getchar_unlocked "void"

It should remove this bogus quoting.

> .Ft int

Bogus quoting of "void" is used in about 1100 lines in section 3
man pages (counting links multiply).  It is most common in man pages
for software that doesn't use anything resembling BSD style (e.g.,
VGL, archive, dialog and, readline account for about 2/3 of the 1100
lines).

Bruce


More information about the freebsd-bugs mailing list