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)
Tue, Apr 23, 9:11 AM
Unknown Object (File)
Dec 20 2023, 4:11 AM
Unknown Object (File)
Dec 20 2023, 3:20 AM
Unknown Object (File)
Nov 22 2023, 7:12 PM
Unknown Object (File)
Nov 13 2023, 5:23 AM
Unknown Object (File)
Nov 8 2023, 1:24 PM
Unknown Object (File)
Oct 25 2023, 12:53 AM
Unknown Object (File)
Oct 7 2023, 12:12 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.