Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 312069 - Upstart does not use 'safe' 1TBS. *FAKE BUG REPORT*
Summary: Upstart does not use 'safe' 1TBS. *FAKE BUG REPORT*
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-30 13:04 UTC by Olliver Schinagl
Modified: 2010-03-30 13:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to fix 1TBS alignemtn (Cosmetic_change.patch,374 bytes, patch)
2010-03-30 13:05 UTC, Olliver Schinagl
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.