Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Nov 2009 01:29:46 +1100 (EST)
From:      Bruce Evans <brde@optusnet.com.au>
To:        Jeremy Huddleston <jeremyhu@apple.com>
Cc:        freebsd-bugs@FreeBSD.org, freebsd-gnats-submit@FreeBSD.org
Subject:   Re: misc/140494: Man page fix for getc(3)
Message-ID:  <20091113012415.N1180@besplex.bde.org>
In-Reply-To: <200911112254.nABMsCmh082515@www.freebsd.org>
References:  <200911112254.nABMsCmh082515@www.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091113012415.N1180>