Subject: Re: Allow pkill races without aborting?
To: None <tech-userlevel@NetBSD.org>
From: Roland Illig <rillig@NetBSD.org>
List: tech-userlevel
Date: 07/18/2005 13:48:16
Dave Sainty wrote:
> Style says "Don't add braces that aren't necessary except in cases
> where there are ambiguity or readability issues.".  It's probably open
> to interpretation whether this case is an ambiguity or readability
> issue :)
> 
> What does the prior art say?

In src/sys/kern/exec_elf32.c, line 283, there are braces. And even the 
"else" branch has braces, maybe to emphasize the symmetry of the "then" 
and "else" clauses.

There's not much prior art, so this is the only example I can give you 
right now.

Roland