3-pass code: important bug fix!

David Mosberger-Tang (davidm@azstarnet.com)
Fri, 18 Jul 1997 16:30:20 -0700

I just noticed a bad one in the new mustek code. If you want to try
the 3-pass improvements, be sure to apply this patch---otherwise, your
scanner may get damaged.

--david

--- backend/mustek.c~ Fri Jul 18 16:01:30 1997
+++ backend/mustek.c Fri Jul 18 16:25:59 1997
@@ -1533,7 +1533,7 @@
s->line += bstat[wr].lines;

sigprocmask (SIG_BLOCK, &sigterm_set, 0);
- status = read_req_enter (s, bstat[wr].data, lines_per_buffer, bpl,
+ status = read_req_enter (s, bstat[wr].data, bstat[wr].lines, bpl,
&bstat[wr].num_read, &bstat[wr].id);
sigprocmask (SIG_UNBLOCK, &sigterm_set, 0);
if (status != SANE_STATUS_GOOD)

--
Source code, list archive, and docs: http://www.azstarnet.com/~axplinux/sane/
To unsubscribe: mail -s unsubscribe sane-devel-request@listserv.azstarnet.com