lkml.org 
[lkml]   [2003]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [2.4.23-pre3] Possible bug in fs/buffer.c
Date
Am Dienstag, 9. September 2003 02:53 schrieb Alan Cox:
> On Llu, 2003-09-08 at 17:04, Andreas Schwab wrote:
> > > Its not 100% reliable either 8).
> >
> > Could you please elaborate? Casting -1 to an unsigned type is guaranteed
> > to yield the maximum value for that type, at least since C89, but I think
> > even K&R C did get it right.
>
> My error - its ~0 that is unreliable.

Uh-oh:

eike@bilbo:/mnt/kernel/linux-2.4.23-pre3> grep -r "~0[^xX]" *| wc -l
713

Eike
-
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: 2005-03-22 13:48    [W:0.048 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site