On Mon, Jan 24, 2011 at 8:59 AM, Cyril Hrubis <[email protected]> wrote: > Hi! >> > Misplaced whitespace after while (!caught_signal) ; >> >> Both of us are wrong. K&R says it should be: >> >> while (!caught_signal) >> ; /* With the correct amount of indentation here of course. */ >> >> LKML always defers to K&R unless stated otherwise. > > Hmm, I'm still not sure. LKML does cite the K&R but but I don't think > that it's set as base coding style.
Yeah, it doesn't state whether or not this is permitted. Oh well... I guess the inline form is fine. > And lindent script seems to format this as: ... > So it looks like LKML conding style just sets some boundaries and > general ideas what to do and what not. Some places yes, some places no. In some areas the LKML coding style is very explicit. Thanks, -Garrett ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
