[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <p73r6wkjqac.fsf@verdi.suse.de>
Date: 03 Nov 2006 20:14:51 +0100
From: Andi Kleen <ak@...e.de>
To: Alan Cox <alan@...rguk.ukuu.org.uk>
Cc: Andrew Morton <akpm@...l.org>,
Mikulas Patocka <mikulas@...ax.karlin.mff.cuni.cz>,
Gabriel C <nix.or.die@...glemail.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: New filesystem for Linux
Alan Cox <alan@...rguk.ukuu.org.uk> writes:
> Ar Gwe, 2006-11-03 am 17:14 +0000, ysgrifennodd Oleg Verych:
> > In gmane.linux.kernel, you wrote:
> > []
> > > From: Andrew Morton <akpm@...l.org>
> > >
> > > As Mikulas points out, (1 << anything) won't be evaluating to zero.
> >
> > How about integer overflow ?
>
> That is undefined in C and for some cases will not produce zero but roll
> anything%32 bits and the like. If anyone is relying on 1 << foo becoming
> zero they need fixing
Vaxen will throw an exception.
-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists