Wykres commitów

19 Commity (d6a93b83a7dc3a3871db31ecf11adebe470b52a4)

Autor SHA1 Wiadomość Data
Olaf Meeuwissen df1aba21bc SANE_Pid: Fix [-Wint-conversion] issues
Not all pthreads implementations use an integer type for pthread_t.
As a matter of fact, POSIX has explicitly withdrawn the requirement
that it must be an arithmatic type.

The musl C library uses a `struct __pthread *` which triggered the
warnings.  As of this change, sanei_thread.h works around this by
providing two new macros to help keep this issue out of sight.  All
backends have been changed to use these macros.
2017-07-15 14:47:54 +09:00
Olaf Meeuwissen d3d5dc3da0 Update to autoconf-2.69
This gets rid of a number of obsoleted macros and replaces RETSIGTYPE
with a void literal which can be assumed for C89 and later.

This changeset was prepared using autoupdate and modified to get rid of
whitespace and doubled [] changes.  Changes to acinclude.m4 were added
by hand.
2016-06-13 22:05:34 +09:00
Olaf Meeuwissen 5b8fdd317f artec_eplus48u: fix [-Wunused-but-set-variable] compiler warning
This leaves the sane_close() implementation just as broken as it has
been from the initial commit sometime in 2002.
2015-12-27 18:38:17 +09:00
Olaf Meeuwissen ec1936713e artec_eplus48u: fix [-Wunused-but-set-variable] compiler warning
The variable was only used to silence a [-Wunused-parameter] warning.
2015-12-27 18:38:17 +09:00
Olaf Meeuwissen e094c5b43b Invert sense of sanei_thread validity check
Double negatives suck.
2015-11-24 18:19:31 +09:00
Olaf Meeuwissen fe12d31e68 Fix SANE_Pid related -Wsign-compare warnings
This may fix threading related issues on WIN32 platforms, BTW.
2015-11-24 18:19:31 +09:00
m. allan noah f8725993d3 artec_eplus48u.c: fix HOME env bug #315071 (from Jörg Frings-Fürst) 2015-09-08 21:52:02 -04:00
m. allan noah ff048f4176 add three new SANE_VALUE macros and use mode name macros from saneopts.h 2010-02-10 23:48:21 -05:00
chris@cnpbagwell.com 4d9e8138af standardize including local sane/ include files.
Source code was inconsistent on how they were referencing
include files in include/sane.  In certain cases, sane/sane.h
and sane/saneopts.h was really including external copies (with
some preprocessor implementations anyways).
2009-05-07 22:06:20 -05:00
m. allan noah 91598aa800 * backend/*.[ch]: nearly every backend used V_MAJOR
instead of SANE_CURRENT_MAJOR in sane_init()
* backend/snapscan.c: remove EXPECTED_VERSION check
since new SANE standard is forward compatible
2008-11-26 21:21:31 +00:00
Mattias Ellert d5ae0bbc3d Fix for bug #306751: sanei-thread with pthreads on 64 bit 2008-05-15 12:50:25 +00:00
Mattias Ellert 7c6b4d6a99 Fix handling of valid "negative" PIDs 2007-11-18 10:59:18 +00:00
Mattias Ellert abd402ad51 Correct the test of the return value from sanei_thread_begin 2007-11-16 08:04:02 +00:00
Gerhard Jaeger 67ae886d9c * doc/plustek/Plustek-PARPORT.changes doc/plustek/Plustek-USB.changes
doc/u12/U12.changes: update.
* backend/artec_eplus48u.c backend/plustek.c backend/plustek_pp.c
  backend/u12.c: changed sane.type to "flatbed scanner" only.
* backend/plustek-usbdevs.c: fixed LiDE20/30 motor settings
2006-08-09 12:47:58 +00:00
Henning Geinitz af58065746 64 bit platform fixes (bug #300799). 2004-10-03 17:34:36 +00:00
Mattias Ellert ac9ec0ff1c Missed one... 2004-06-20 01:22:44 +00:00
Michael Herder 20fded72e9 *** empty log message *** 2004-05-15 13:09:45 +00:00
Michael Herder 6b33a0abf0 * backend/artec_eplus48u.c backend/artec_eplus48u.h
backend/artec_eplus48u.conf: added
                  experimental support for the Artec E+ Pro
	  fixed sane-Bugs-300261 (doesn't compile when
	  NDEBUG is defined)
2003-12-12 06:55:45 +00:00
Michael Herder a5e84985fa Initial check-in of the artec_eplus48u backend 2002-11-20 12:21:20 +00:00