xover bug fixed (for sure this time:)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi:
	The xover turned out to have nothing to do with
the previous patch.  The appended patch hopefully fixes
it.  It was quite obvious with the aid of gdb.

-- 
Debian GNU/Linux 1.1 is out! { http://www.debian.org/ }
Email:  Herbert Xu ~{PmV>HI~} <herbert@greathan.apana.org.au>
{ http://greathan.apana.org.au/~herbert/ }
PGP Key:  pgp-public-keys@pgp.mit.edu or any other key sites
--
--- xover.c.orig	Thu Sep  5 01:02:07 1996
+++ xover.c	Sun Sep 29 14:23:54 1996
@@ -602,7 +602,7 @@
 		 * set failed flag in index for xover region asked.
 		 * we then knock em out one by one as xovers come in
 		 */
-		memset (xf->buf+((min%MI)*4), 0xff, ((max>MI)? MI*4: (max%MI)*4)-((min%MI)*4));
+		memset (xf->buf+((min%MI)*4), 0xff, ((max-min>MI)? MI*4: (max%MI)*4)-((min%MI)*4));
 	} else
 	{
 		if (!xf->locked) /* size can't change if we have locked it */


[Index of Archives]     [Yosemite]     [Yosemite Campsites]     [Bugtraq]     [Linux]     [Trn]

Powered by Linux