Nick Lamb wrote:
>
> On Thu, May 10, 2001 at 09:09:44PM +0200, Oliver Rauch wrote:
> > Although it is not nice that xsane produces a segfault it
> > makes sense to create the gamma table before sane_start is
> > called. The creation of the gamma tables can take some time
> > and it is not good to interrupt the scanning for this
> > what can happen on slow computers.
>
> Perhaps you could simply check if the value has changed when
> re-reading the parameters and only generate a new gamma table
> in that case? Defensive programming is in order because a
> frontend will be used with many backends, perhaps ones we will
> never hear of.
>
> Nick.
Hi Nick,
I am working on a solution for this.
Bye
Oliver
-- Homepage: http://www.rauch-domain.de sane-umax: http://www.rauch-domain.de/sane-umax xsane: http://www.xsane.org E-Mail: mailto:Oliver.Rauch@rauch-domain.de-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
This archive was generated by hypermail 2b29 : Fri May 11 2001 - 00:19:52 PDT