kopia lustrzana https://gitlab.com/sane-project/website
100 wiersze
4.3 KiB
HTML
100 wiersze
4.3 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
|
|
"http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>sane-devel: Re: ( XSane parameters or buffer bug</TITLE>
|
|
<META NAME="Author" CONTENT="Nick Lamb (njl98r@ecs.soton.ac.uk)">
|
|
<META NAME="Subject" CONTENT="Re: ( XSane parameters or buffer bug">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Re: ( XSane parameters or buffer bug</H1>
|
|
<!-- received="Thu May 10 19:44:43 2001" -->
|
|
<!-- isoreceived="20010511024443" -->
|
|
<!-- sent="Fri, 11 May 2001 03:59:03 +0100" -->
|
|
<!-- isosent="20010511025903" -->
|
|
<!-- name="Nick Lamb" -->
|
|
<!-- email="njl98r@ecs.soton.ac.uk" -->
|
|
<!-- subject="Re: ( XSane parameters or buffer bug" -->
|
|
<!-- id="20010511035903.C32668@ecs.soton.ac.uk" -->
|
|
<!-- inreplyto="3AFAE778.DFFF6197@rauch-domain.de" -->
|
|
<STRONG>From:</STRONG> Nick Lamb (<A HREF="mailto:njl98r@ecs.soton.ac.uk?Subject=Re:%20(%20XSane%20parameters%20or%20buffer%20bug&In-Reply-To=<20010511035903.C32668@ecs.soton.ac.uk>"><EM>njl98r@ecs.soton.ac.uk</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Thu May 10 2001 - 19:59:03 PDT
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0125.html">Nick Lamb: "Re: EOF buffer overflow with Xsane 0.76"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0123.html">Karl Heinz Kremer: "Re: red and green reversed"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0117.html">Oliver Rauch: "Re: ( XSane parameters or buffer bug"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0128.html">Oliver Rauch: "Re: ( XSane parameters or buffer bug"</A>
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0096.html">Henning Meier-Geinitz: "Re: EOF detection"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0128.html">Oliver Rauch: "Re: ( XSane parameters or buffer bug"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#124">[ date ]</A>
|
|
<A HREF="index.html#124">[ thread ]</A>
|
|
<A HREF="subject.html#124">[ subject ]</A>
|
|
<A HREF="author.html#124">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
On Thu, May 10, 2001 at 09:09:44PM +0200, Oliver Rauch wrote:
|
|
<BR>
|
|
<EM>> Although it is not nice that xsane produces a segfault it
|
|
</EM><BR>
|
|
<EM>> makes sense to create the gamma table before sane_start is
|
|
</EM><BR>
|
|
<EM>> called. The creation of the gamma tables can take some time
|
|
</EM><BR>
|
|
<EM>> and it is not good to interrupt the scanning for this
|
|
</EM><BR>
|
|
<EM>> what can happen on slow computers.
|
|
</EM><BR>
|
|
<P>Perhaps you could simply check if the value has changed when
|
|
<BR>
|
|
re-reading the parameters and only generate a new gamma table
|
|
<BR>
|
|
in that case? Defensive programming is in order because a
|
|
<BR>
|
|
frontend will be used with many backends, perhaps ones we will
|
|
<BR>
|
|
never hear of.
|
|
<BR>
|
|
<P>Nick.
|
|
<BR>
|
|
<P><PRE>
|
|
--
|
|
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
|
|
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20(%20XSane%20parameters%20or%20buffer%20bug&In-Reply-To=<20010511035903.C32668@ecs.soton.ac.uk>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0125.html">Nick Lamb: "Re: EOF buffer overflow with Xsane 0.76"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0123.html">Karl Heinz Kremer: "Re: red and green reversed"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0117.html">Oliver Rauch: "Re: ( XSane parameters or buffer bug"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0128.html">Oliver Rauch: "Re: ( XSane parameters or buffer bug"</A>
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0096.html">Henning Meier-Geinitz: "Re: EOF detection"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0128.html">Oliver Rauch: "Re: ( XSane parameters or buffer bug"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#124">[ date ]</A>
|
|
<A HREF="index.html#124">[ thread ]</A>
|
|
<A HREF="subject.html#124">[ subject ]</A>
|
|
<A HREF="author.html#124">[ author ]</A>
|
|
</UL>
|
|
<!-- trailer="footer" -->
|
|
<HR NOSHADE>
|
|
<P>
|
|
<SMALL>
|
|
<EM>
|
|
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
|
|
: <EM>Thu May 10 2001 - 19:47:12 PDT</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|