On Sat, 24 Apr 2004, Arkady V.Belousov wrote: > 24-сав-2004 15:53 [EMAIL PROTECTED] (Bart Oldeman) wrote to > [EMAIL PROTECTED]: > > > +++ fattab.c 24 Apr 2004 15:53:21 -0000 1.22 > > - idx = (unsigned) ((((unsigned)Cluster1 << 1) + (unsigned)Cluster1) >> 1) > > - % dpbp->dpb_secsize; > > - > > + idx = (((unsigned)Cluster1 << 1) + (unsigned)Cluster1) % > dpbp->>dpb_secsize; > > Bug: in my patch was "Cluster1 >> 1" - difference is that code above > computes 3*Cluster1 instead 3*Cluster1/2.
Sure I already found that and corrected. But please note that replacing fbp by bp->buffer[foo] really doesn't produce better code for Watcom. There is a good reason why I didn't apply these blockio.c patches either. Bart ------------------------------------------------------- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg297 _______________________________________________ Freedos-kernel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-kernel