[xiph-commits] r15175 - trunk/cdparanoia/interface

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Tue Aug 12 12:50:29 PDT 2008


Author: xiphmont
Date: 2008-08-12 12:50:29 -0700 (Tue, 12 Aug 2008)
New Revision: 15175

Modified:
   trunk/cdparanoia/interface/scsi_interface.c
Log:
Don't try to use a transfer size that requires scatter/gather when we
don't in fact support scatter/gather.  Only pops up when
CDDA_IGNORE_BUFSIZE_LIMIT is set in the environment.



Modified: trunk/cdparanoia/interface/scsi_interface.c
===================================================================
--- trunk/cdparanoia/interface/scsi_interface.c	2008-08-12 10:58:44 UTC (rev 15174)
+++ trunk/cdparanoia/interface/scsi_interface.c	2008-08-12 19:50:29 UTC (rev 15175)
@@ -47,7 +47,7 @@
       table, reserved, table*reserved/CD_FRAMESIZE_RAW);
   cdmessage(d,buffer);
 
-  cur=table*reserved;
+  cur=reserved; /* only use one entry for now */
 
   /* so since we never go above q->max_sectors, we should never get -EIO.
    * we might still get -ENOMEM, but we back off for that later.  Monty



More information about the commits mailing list