Messages in this thread | | | From | Rolf Eike Beer <> | Subject | Re: [2.4.23-pre3] Possible bug in fs/buffer.c | Date | Tue, 9 Sep 2003 15:39:49 +0200 |
| |
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/
| |