Hello. I found a little bug in the test backend while doing some tests with xsan= e=20 batch scan mode.
The sane standard chapter 4.4 / code flow shows that sane_cancel shall not be called before each sane_start when a sequence of images is scanned. This is not possible with the test backend. It should reset its SCANNING flag when sane_read comes to EOF. After this it is allowed to call sane_start again. But the test backend does not reset the SCANNING flag and returns sane_start with an error. It also does make sense to allow sane_control_option etc after EOF although that is not explictly shown in the code flow example. Oliver --=20 http://www.xsane.org http://www.mostang.com/sane http://www.rauch-domain.de mailto:[email protected]
