Re: dual line backtraces for i386.

From: Bob Copeland
Date: Fri Jan 06 2006 - 14:32:17 EST


On 1/6/06, Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/