[sane-devel] Sane genesys Backend 1.0.24 CanoScan LiDE 210 and tiff scan format
stef.dev at free.fr
Tue Jun 18 20:00:21 UTC 2013
On 18/06/2013 21:22, m. allan noah wrote:
>> I eventually found the root of the problem. Two option groups didn't
>> have there .cap value defined explicitly. This was working until it broke
>> recently, possibly related to the use of a newer compiler. However I pushed
>> a fix in git, and now this issue is fixed.
> Sounds like we need to armor scanimage against this.
we can do:
diff --git a/frontend/scanimage.c b/frontend/scanimage.c
index ce958df..5c52f45 100644
@@ -894,7 +894,7 @@ fetch_options (SANE_Device * device)
- if (!SANE_OPTION_IS_SETTABLE (opt->cap))
+ if (!SANE_OPTION_IS_SETTABLE (opt->cap) || opt->type ==
option_number[option_count] = i;
I can commit this if OK.
More information about the sane-devel