Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 312069

Summary: Upstart does not use 'safe' 1TBS. *FAKE BUG REPORT*
Product: Gentoo Linux Reporter: Olliver Schinagl <oliver>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: Patch to fix 1TBS alignemtn

Description Olliver Schinagl 2010-03-30 13:04:36 UTC
Upstart does not use 1TBS indenting to ensure one could not easily misinterpret a singleton statement when inserting code.

Adding 2 curly bracers around the singleton ensures that inserting new code can not go easily wrong. 

Reproducible: Always
Comment 1 Olliver Schinagl 2010-03-30 13:05:23 UTC
Created attachment 225815 [details, diff]
Patch to fix 1TBS alignemtn

Even though this is a 'fake' bug report, the patch is valid and works.
Comment 2 Olliver Schinagl 2010-03-30 13:05:53 UTC
Closing bug so no-one accidentally comments on it. Also this would be for upstream anyway.