sane-project-website/old-archive/1997-07/0094.html

54 wiersze
2.4 KiB
HTML

<!-- received="Fri Jul 18 16:48:44 1997 MST" -->
<!-- sent="Fri, 18 Jul 1997 16:30:20 -0700" -->
<!-- name="David Mosberger-Tang" -->
<!-- email="davidm@azstarnet.com" -->
<!-- subject="3-pass code: important bug fix!" -->
<!-- id="199707182330.QAA01285@panda.mosberger" -->
<!-- inreplyto="" -->
<title>sane-devel: 3-pass code: important bug fix!</title>
<h1>3-pass code: important bug fix!</h1>
<b>David Mosberger-Tang</b> (<a href="mailto:davidm@azstarnet.com"><i>davidm@azstarnet.com</i></a>)<br>
<i>Fri, 18 Jul 1997 16:30:20 -0700</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#94">[ date ]</a><a href="index.html#94">[ thread ]</a><a href="subject.html#94">[ subject ]</a><a href="author.html#94">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0095.html">David Mosberger-Tang: "handy script"</a>
<li> <b>Previous message:</b> <a href="0093.html">Phil Ptkwt Kristin: "Re: Help: Umax Vista-S6E &amp; xscanimage / umax-sane problem"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
I just noticed a bad one in the new mustek code. If you want to try<br>
the 3-pass improvements, be sure to apply this patch---otherwise, your<br>
scanner may get damaged.<br>
<p>
--david<br>
<p>
--- backend/mustek.c~ Fri Jul 18 16:01:30 1997<br>
+++ backend/mustek.c Fri Jul 18 16:25:59 1997<br>
@@ -1533,7 +1533,7 @@<br>
s-&gt;line += bstat[wr].lines;<br>
<br>
sigprocmask (SIG_BLOCK, &amp;sigterm_set, 0);<br>
- status = read_req_enter (s, bstat[wr].data, lines_per_buffer, bpl,<br>
+ status = read_req_enter (s, bstat[wr].data, bstat[wr].lines, bpl,<br>
&amp;bstat[wr].num_read, &amp;bstat[wr].id);<br>
sigprocmask (SIG_UNBLOCK, &amp;sigterm_set, 0);<br>
if (status != SANE_STATUS_GOOD)<br>
<p>
<pre>
--
Source code, list archive, and docs: <a href="http://www.azstarnet.com/~axplinux/sane/">http://www.azstarnet.com/~axplinux/sane/</a>
To unsubscribe: mail -s unsubscribe <a href="mailto:sane-devel-request@listserv.azstarnet.com">sane-devel-request@listserv.azstarnet.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0095.html">David Mosberger-Tang: "handy script"</a>
<li> <b>Previous message:</b> <a href="0093.html">Phil Ptkwt Kristin: "Re: Help: Umax Vista-S6E &amp; xscanimage / umax-sane problem"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>