[xiph-commits] r15296 - trunk/cdparanoia

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Thu Sep 11 04:57:03 PDT 2008


Author: xiphmont
Date: 2008-09-11 04:57:02 -0700 (Thu, 11 Sep 2008)
New Revision: 15296

Modified:
   trunk/cdparanoia/cachetest.c
Log:
Bugfix to the bugfix; cachegran robustification was not correct


Modified: trunk/cdparanoia/cachetest.c
===================================================================
--- trunk/cdparanoia/cachetest.c	2008-09-11 11:42:37 UTC (rev 15295)
+++ trunk/cdparanoia/cachetest.c	2008-09-11 11:57:02 UTC (rev 15296)
@@ -595,8 +595,9 @@
 	  }
 	  break;
 	}
-	rollbehind=sofar;
       }
+      if(sofar==0)rollbehind=0;
+
     error:
       if(ret<=0){
 	offset+=cachesize;
@@ -672,8 +673,9 @@
 	  }
 	  break;
 	}
-	cachegran=sofar;
       }
+      if(sofar==0)cachegran=0;
+
     error2:
       if(ret<=0){
 	offset+=cachesize;



More information about the commits mailing list