Page MenuHomeFreeBSD

style.9: update C99 commentary
ClosedPublic

Authored by emaste on Feb 12 2020, 2:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 9, 12:03 AM
Unknown Object (File)
Nov 4 2024, 3:16 PM
Unknown Object (File)
Oct 5 2024, 8:00 AM
Unknown Object (File)
Oct 4 2024, 11:41 PM
Unknown Object (File)
Sep 30 2024, 9:46 AM
Unknown Object (File)
Sep 6 2024, 1:19 AM
Unknown Object (File)
Sep 1 2024, 1:36 PM
Unknown Object (File)
Aug 19 2024, 5:28 AM
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.