You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-gfx/sane-backends/files/broken_coolscan.patch

19 lines
442 B

--- backend/coolscan2.c 2006-06-11 20:39:40.000000000 +0200
+++ backend/coolscan2.c.new 2007-02-26 12:29:15.000000000 +0100
@@ -1482,6 +1482,7 @@
if (xfer_len_out == 0) /* no more data */
{
*len = 0;
+ s->scanning = SANE_FALSE;
return SANE_STATUS_EOF;
}
@@ -1533,6 +1534,7 @@
if (xfer_len_line == 0) /* no more data */
{
*len = 0;
+ s->scanning = SANE_FALSE;
return SANE_STATUS_EOF;
}