| Summary: | [patch] Man page fix for getc(3) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Documentation | Reporter: | Jeremy Huddleston <jeremyhu> | ||||
| Component: | Books & Articles | Assignee: | Christian Brueffer <brueffer> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Jeremy Huddleston
2009-11-11 23:00:10 UTC
Responsible Changed From-To: freebsd-bugs->freebsd-doc Over to maintainer(s). 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 State Changed From-To: open->patched Committed a combination of your and Bruce's changes, thanks! Responsible Changed From-To: freebsd-doc->brueffer MFC reminder. Author: brueffer Date: Fri Jan 8 22:02:42 2010 New Revision: 201836 URL: http://svn.freebsd.org/changeset/base/201836 Log: Remove unnecessary quoting and markup, add missing punctuation. PR: 140494 Submitted by: Jeremy Huddleston <jeremyhu@apple.com>, bde MFC after: 1 week Modified: head/lib/libc/stdio/getc.3 Modified: head/lib/libc/stdio/getc.3 ============================================================================== --- head/lib/libc/stdio/getc.3 Fri Jan 8 21:58:12 2010 (r201835) +++ head/lib/libc/stdio/getc.3 Fri Jan 8 22:02:42 2010 (r201836) @@ -56,7 +56,7 @@ .Ft int .Fn getchar void .Ft int -.Fn getchar_unlocked "void" +.Fn getchar_unlocked void .Ft int .Fn getw "FILE *stream" .Sh DESCRIPTION @@ -141,7 +141,7 @@ until the condition is cleared with .Sh STANDARDS The .Fn fgetc , -.Fn getc +.Fn getc , and .Fn getchar functions @@ -167,4 +167,3 @@ The size and byte order of an varies from one machine to another, and .Fn getw is not recommended for portable applications. -.Pp _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" State Changed From-To: patched->closed MFCs done. |