Ralph Little
f85e2fb9c2
Resolve "Fix `mkstemp` error handling"
2022-05-01 22:02:55 +00:00
David Ward
f3162bafa8
Replace variable self-assignments to avoid Clang warnings
...
These were intended to suppress GCC warnings about unused variables.
However, this leads to different warnings from Clang instead.
Use another approach that suppresses warnings from both compilers.
2022-03-08 19:00:00 -05:00
Olaf Meeuwissen
e79adde8b2
Use URL to refer users to copies of the GPL and LGPL
...
With the exception of use in three quotes as well as our inlcuded copy
of the GPL, all use of the Free Software Foundation's postal address
has been removed.
Re #320 .
2021-02-12 17:41:38 +09:00
Peter Marschall
ec07e73d04
spelling fixes for canon630u backend
2020-08-29 09:18:03 +02:00
Rosen Penev
c320a72e32
treewide: Replace mktemp by mkstemp
...
mktemp has been removed in POSIX 2008. uClibc-ng optionally does not make
it available.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-10-03 11:47:49 -07:00
Olaf Meeuwissen
23891a2646
.editorconfig: trim trailing whitespace
2017-05-29 21:14:29 +09:00
Volker Diels-Grabsch
13b6faee2a
Fix interface of helper function write_many
...
This fixes two occurrences of the following GCC warning:
warning: cast discards 'const' qualifier from pointer target type
2015-12-20 14:43:57 +09:00
Mattias Ellert
f5af24221f
avoid redefinition warning
2009-02-01 19:20:41 +00:00
Henning Geinitz
af58065746
64 bit platform fixes (bug #300799 ).
2004-10-03 17:34:36 +00:00
Henning Geinitz
c973d82237
Minor compilation fixes for MacOS X and OS/2.
2003-04-27 12:29:51 +00:00
Nathaniel Rutman
2b0ea7786e
Removed last change in offset/gain calculation, which croaked for some
...
cases. Give up early if we can't talk on the USB.
Added option to force scanner recalibration.
2003-04-05 19:44:04 +00:00
Nathaniel Rutman
b1d4dce599
calibration and gamma correction enhancements by M.Reinelt <reinelt@eunet.at>
2003-01-13 03:01:04 +00:00
Nathaniel Rutman
76856d6947
Handle more (all?) status states during init.
2002-11-21 02:26:51 +00:00
Petter Reinholdtsen
48125643f6
Change type of size parameter from 'unsigned int' to 'size_t' for
...
gl640WriteBulk() and gl640ReadBulk() to avoid crash on platforms where
'sizeof(size_t) > sizeof(int)'.
2002-10-10 08:03:23 +00:00
Nathaniel Rutman
2643e83d66
Return max buffer when trying to read more than buffer size
...
(was reporting error.)
2002-05-16 23:08:34 +00:00
Nathaniel Rutman
a34ce8e8ad
Twiddle reset pins in more cases on first scanner powerup.
2002-05-04 16:20:55 +00:00
Henning Geinitz
2cbddc816e
Added #include <sys/types.h> to fix compilation on OS/2.
...
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-13 10:21:02 +00:00
Henning Geinitz
fb8283b88f
Fixed compilation on non-Linux systems.
...
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-07 14:43:55 +00:00
Henning Geinitz
d90a7a5357
Added canon630u backend. This backend supports the CanoScan 630u and CanoScan
...
636u (hopefully). Patch from Nathan Rutman <nathan@gordian.com>.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-07 12:27:54 +00:00