Wykres commitów

20 Commity (22108dca2a52f11c01fc252dbcf430fc40b0ddca)

Autor SHA1 Wiadomość Data
David Ward 1a933bba7e Cast pointer arguments if needed when using "%p" format specifier
Pointer arguments must have type (void *) when printed with the format
specifier "%p".
2022-03-08 19:00:00 -05: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
Thierry HUCHARD abbc93df1a qcam: Reuse sanei_directio 2021-12-15 22:39:33 +02:00
Wolfram Sang eb42ad08d5 treewide: use SANE_CURRENT_* macros consistently
Backends use a mixture of SANE_CURRENT_{MAJOR | MINOR} and V_{MAJOR |
MINOR} with all kind of permutations. I was confused by this and one
comment in pieusb.c tells me I was not alone. Some items in old
changelogs suggest to use the SANE_CURRENT_ macros in backends, so let's
switch to do that with the exception of net.c and dll.c. Done with:

$ find backend -name '*.[ch]' | xargs sed -i '/nearly every/ ! { s/\<V_M/SANE_CURRENT_M/g }'
$ git checkout backend/net.c backend/dll.c

And manually removing the comment from pieusb.c. Everything still builds
fine.
2021-06-08 19:01:41 +02: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 35fe083519 spelling fixes for qcam backend 2020-08-29 09:18:04 +02:00
Olaf Meeuwissen 23891a2646 .editorconfig: trim trailing whitespace 2017-05-29 21:14:29 +09: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
m. allan noah 084a18b0c4 remove undocumented and otherwise unused SANE_CAP_ALWAYS_SETTABLE 2008-05-21 01:20:35 +00:00
Henning Geinitz f05f4777f5 Fixed undefined symbols in the qcam backend on GNU/kFreeBSD (patch from Aurelien
Jarno <aurelien@aurel32.net>).
2006-04-09 15:11:06 +00:00
Gerard Klaver c33139cc82 - indent -gnu
- free (devlist) added so memory allocated by sane_get_devices() will be released (bugreport 300128)
- added more DEBUG lines and some small fixes.
2005-05-06 21:12:21 +00:00
Henning Geinitz e7484c515e Silenced some compilation warnings. 2003-12-27 17:48:39 +00:00
Henning Geinitz 0e70e29baf Moved union Option_Value from backend header files to sanei_backend.h. No need
to copy it over and over again. Changed header inclusion order in backend
files to include backend.h after sanei_backend.h. Based on a patch from stef
<stef-listes@wanadoo.fr>.
2003-09-12 16:10:33 +00:00
Henning Geinitz e3e5173c66 Create lockfile with O_EXCL even when using fcntl locking. Remove it in any
case after exiting. Log file handling is still buggy but this has to be done
by someone who has a qcam.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-11 17:49:09 +00:00
Henning Geinitz b8fafb4701 Actually close the lock file when unlocking.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-10 22:54:32 +00:00
Henning Geinitz be5065a948 Another occurence where struct flock must be defined for OS/2.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-06-02 14:33:32 +00:00
Henning Geinitz 3d4920dde4 Check for struct flock and define it if necessary.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-05-31 20:49:01 +00:00
Petter Reinholdtsen b4a1a513c9 Merge devel (v1.0.3) into head branch. 2000-08-12 15:11:46 +00:00
Petter Reinholdtsen 30ab5e718a Initial revision 1999-08-09 18:06:01 +00:00