Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153385724
D2842.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
709 B
Referenced Files
None
Subscribers
None
D2842.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D2842: Update style.9 to reflect consensus on developer's mailing list.
Attached
Detach File
Event Timeline
Log In to Comment