lkml.org 
[lkml]   [2006]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: dual line backtraces for i386.
On 1/6/06, Jan Engelhardt <jengelh@linux01.gwdg.de> wrote:
> >> > printk(space == 0 ? " " : "\n");
> >> > space = !space;
> >>
> >> readability ?
> >
> >Well, if I were going for _un_readability I'd have suggested:
> >
> > printk(space = !space ? " " : "\n");
>
> Anyone voting for "\t" instead of " "?

Sure: if you use '\t' then you can do:

printk("%c", 9+space++);
space &= 1;

No branches ;)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-01-06 20:36    [W:0.054 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site