Page MenuHomeFreeBSD

style.9: update C99 commentary
ClosedPublic

Authored by emaste on Feb 12 2020, 2:36 PM.
Tags
None
Referenced Files
F168980122: D23648.id.diff
Mon, Aug 31, 1:15 AM
F168975787: D23648.diff
Mon, Aug 31, 12:57 AM
Unknown Object (File)
Fri, Aug 14, 8:18 PM
Unknown Object (File)
Fri, Aug 14, 8:15 PM
Unknown Object (File)
Wed, Aug 12, 12:53 PM
Unknown Object (File)
Tue, Aug 11, 11:58 PM
Unknown Object (File)
Sat, Aug 8, 9:02 PM
Unknown Object (File)
Sat, Aug 8, 2:11 PM
Subscribers

Details

Summary

Make style.9 read as a current statement about C99 preferences, rather than a description of ongoing changes to our preferred style. Also use the short form "C99" on the 2nd and later instances rather than repeating the unwieldy ISO/IEC 9899:1999 ("ISO C99").

MFC after: 1 month

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Feb 12 2020, 2:56 PM

I think the .St -isoC-99 is better than a raw C99. Otherwise, I like the prefers.

share/man/man9/style.9
305 ↗(On Diff #68187)

you changed it below, but not here. why?

share/man/man9/style.9
305 ↗(On Diff #68187)

I believe it's important to include the full name of the standard at least once, but it gets excessive to repeat the whole thing every time. .St -isoC-99 renders as ISO/IEC 9899:1999 ("ISO C99"); IMO it's completely reasonable to use the short form after it's introduced.

Maybe the subsequent ones should be ISO C99 though, matching the parenthetical short form.

I vote for using the parenthetical.

I'm cool with the parenthetical form.

This revision was automatically updated to reflect the committed changes.