On 6/20/15 5:30 AM, Warner Losh wrote:
Author: imp
Date: Fri Jun 19 21:30:45 2015
New Revision: 284608
URL: https://svnweb.freebsd.org/changeset/base/284608
Log:
Back out contested change until dispute is resolved. This proved to be
more contentious than I expected.
Modified:
head/share/man/man9/style.9
Modified: head/share/man/man9/style.9
==============================================================================
--- head/share/man/man9/style.9 Fri Jun 19 21:26:06 2015 (r284607)
+++ head/share/man/man9/style.9 Fri Jun 19 21:30:45 2015 (r284608)
@@ -26,7 +26,7 @@
.\" From: @(#)style 1.14 (Berkeley) 4/28/95
.\" $FreeBSD$
.\"
-.Dd June 17, 2015
+.Dd January 7, 2010
.Dt STYLE 9
.Os
.Sh NAME
@@ -503,14 +503,13 @@ Code which is unreachable for non-obviou
.Pp
Space after keywords
.Pq Ic if , while , for , return , switch .
-Two styles of braces
+No braces
.Ql ( \&{
and
.Ql \&} )
-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.
+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.
Forever loops are done with
.Ic for Ns 's ,
not
man those trolls are hard to get around
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"