[sane-devel] Perl Bindings

m. allan noah kitno455 at gmail.com
Sat Dec 13 13:41:49 UTC 2008


On Wed, Dec 10, 2008 at 2:20 AM, Jeffrey Ratcliffe
<jeffrey.ratcliffe at gmail.com> wrote:
> 2008/12/10 m. allan noah <kitno455 at gmail.com>:
>> No, they are not floats, they are fixed. It is possible to manipulate
>> them without UNFIXing them. The fujitsu backend has produced these
>> type of warnings for years, even on simple things like
>> --resolution=100, and I never could figure out why, until now...
>
> Of course, you are right that they are fixed - I should have expressed
> myself more precisely - and whilst it may be possible to manipulate
> them without unfixing them, I don't see why the -1 is necessary:
>
> val = pos + window_val[index] - 1
>
>> If your patch fixed the issue, I wonder if it was just a fluke, that
>> your *info was 0 on that run?
>
> It seems unlikely - but...
>

yes- i dont quite get the -1, but no matter, because the other code
that manipulates this value has +1, so it evens out in the end?

can you verify that the version of scanimage that is in sane CVS now
fixes the complaining?

allan
-- 
"The truth is an offense, but not a sin"



More information about the sane-devel mailing list