[sane-devel] a backend test

mh crapsite at gmx.net
Sat Mar 16 13:49:27 GMT 2002


Henning Meier-Geinitz, Samstag, 16. März 2002 14:09:
...
> Then tstbackend doesn't like that pnm doesn't return SANE_STATUS_INVAL
> when sane_control_option is called for an inactive option. I'm not
> sure if this is a violation of the standard. Should I change this in
> the pnm backend? The same is true for IS_SETTABLE.

I had the same problem with the plustek backend; IMHO the assumption, that a 
call to sane_control_option() must return SANE_STATUS_INVAL if the option is 
inactive, is simply wrong. I also don't see a reason, why one should change 
code, that (as far as I can tell) works without problems with every frontend 
I've tested.
At the moment, it's tstbackend that needs some bug fixes/improvements :-)

Michael



More information about the sane-devel mailing list