Page MenuHomeFreeBSD

D2842.diff
No OneTemporary

D2842.diff

Index: head/share/man/man9/style.9
===================================================================
--- head/share/man/man9/style.9
+++ head/share/man/man9/style.9
@@ -503,13 +503,14 @@
.Pp
Space after keywords
.Pq Ic if , while , for , return , switch .
-No braces
+Two styles of braces
.Ql ( \&{
and
.Ql \&} )
-are
-used for control statements with zero or only a single statement unless that
-statement is more than a single line in which case they are permitted.
+are allowed for single line statements.
+Either they are used for all single statements, or
+they are used only where needed for clarity.
+Usage within a file should be consistent.
Forever loops are done with
.Ic for Ns 's ,
not

File Metadata

Mime Type
text/plain
Expires
Tue, Apr 21, 8:45 PM (13 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31830089
Default Alt Text
D2842.diff (709 B)

Event Timeline