Workaround for bug in canon630u backend: The backend assumes that the id it gets

back from sanei_usb_open is a file descriptor. It isn't. So sane_get_select_fd
returns just a random number. That breals at least saned, other frontends may
not work either. This is a workaround for bug #300257.
merge-requests/1/head
Henning Geinitz 2003-10-08 15:42:55 +00:00
rodzic d6eaa47b83
commit 5204d4fed8
2 zmienionych plików z 10 dodań i 2 usunięć

Wyświetl plik

@ -1,3 +1,12 @@
2003-10-08 Henning Meier-Geinitz <henning@meier-geinitz.de>
* backend/canon630u.c: Workaround for bug in canon630u backend:
The backend assumes that the id it gets back from sanei_usb_open
is a file descriptor. It isn't. So sane_get_select_fd returns
just a random number. That breals at least saned, other
frontends may not work either. This is a workaround for bug
#300257.
2003-10-07 m. allan noah <anoah at pfeiffer dot edu>
* backend/fujitsu.c: removed ~25 '_' from option names (#300139)

Wyświetl plik

@ -1040,6 +1040,5 @@ sane_get_select_fd (SANE_Handle handle, SANE_Int * fd)
Canon_Scanner *scanner = handle;
DBG (3, "sane_get_select_fd: handle = %p, fd %s 0\n", handle,
fd ? "!=" : "=");
*fd = scanner->scan.fd;
return SANE_STATUS_GOOD;
return SANE_STATUS_UNSUPPORTED;
}