freebsd-ports/sysutils/cdrtools-devel/files/patch-ai
2002-04-16 19:02:19 +00:00

20 lines
428 B
Text

--- cdrecord/drv_philips.c.orig Tue Nov 27 02:08:49 2001
+++ cdrecord/drv_philips.c Sun Dec 16 13:05:46 2001
@@ -542,10 +542,15 @@
* expects different parameters.
*/
+ /*
+ * We need to return some !0 value, otherwise the upper
+ * layer would still issue a READ BUFFER, sigh.
+ */
+
if (sp)
- *sp = 0L;
+ *sp = 1L * 1024 * 1024;
if (fp)
- *fp = 0L;
+ *fp = 1L * 1024 * 1024;
return (100); /* 100 % */
}