The following updates were made to all directories but backends.
That still needs work. There are also still some pthread issues
and syslog is missing.
Windows doesn't support SIGHUP or SIGPIPE so make that optional.
Only include socket header files when sys/socket.h is detected.
Use winsock.h on windows.
Only include syslog.h when vsyslog() was detect by configure.
Skip FD_CLOEXEC when not supported by OS (not defined).
Only include sys/ioctl.h on platforms that define it.
asynchronous SG3 read/write interface.
Makes it possible to use SCSI scanners in 32/64bit mixed environments,
thanks to the ioctl 32bit compatibility layer, which is NOT possible
using the SG3 interface.
instead of allocating on stack to avoid crossing 64k borders due to
restrictions of 16-bit device-driver. Cosmetic changes and some casts to
reduce compiler-warnings. Patch from Franz Bakan <fbakan@gmx.net>.
(Linux). Without this fix, especially long running commands and command
queuing would cause memory corruption if the buffer was invalid after the
flush command.
and --enable-parport-directio.
NOTE: While I know, what the SCSI direct IO means, I have no idea, what
direct IO means in the context of the parport, so somebody needs to add
some useful description about parport direct io to configure.in and to
README (or README.linux)
sanei_scsi.c. Now causes a compiler error, because some macros defined there
are used for the old SG interace too.
Thanks to Henning for discovering the bug
Abel
device strings (vendor, product) consisting of spaces.
sanei_scsi_req_enter2 was changed to copy the CDB and data before
sending it to the device. Both patches are from Abel Deuring.
Henning Meier-Geinitz <henning@meier-geinitz.de>
* sanei/sanei-scsi.c: Corrected bug in sanei_scsi_cmd2 for IRIX:
- scsi_req.ds_senselen has been set to sizeof pointer, is set
to 128 bytes now (1024 bytes does not work)
- sensebuf is cleared before scsi command is executed
- sensehandle always called when it exists and an error occurs
* sanei/sanei_scsi.c:
applied patch by Douglas Gilbert <dgilbert@interlog.com>
that solves compilation problem about:
storage size of `ssid' isn't known
* Problem with SOLARIS_INTERFACE (change from 2001-05-27)
had an other reason than the scsi buffer size (MAX_DATA).
Changed scsi buffer size for solaris sg driver
(USE == SOLARIS_INTERFACE in sanei_scsi.c) again from 32 KB
to 128KB.
* changed scsi buffer size for solaris sg driver
(USE == SOLARIS_INTERFACE in sanei_scsi.c) to 32 KB
again because it does not work for at least one system
with 64KB.