Wykres commitów

17 Commity (d5187355f6e0de529b562569509a1851dda7ad84)

Autor SHA1 Wiadomość Data
Ralph Little 821efb2626 ibm/ricoh: suppress warning by using snprintf instead of strncat 2019-12-21 20:21:52 -08:00
Olaf Meeuwissen 23891a2646 .editorconfig: trim trailing whitespace 2017-05-29 21:14:29 +09:00
Olaf Meeuwissen 1c2b28307f Prevent access to memory that was not allocated 2015-09-19 13:39:37 -04:00
Olaf Meeuwissen f152b40faf Prefer string concatenation over copying
The `ibuf.product` byte array may contain embedded NUL characters.  In
that case the revision will not be visible as part of dev->sane.model.
2015-09-19 13:39:37 -04:00
Ilya Gordeev 16dc9c87a6 Fix memory clobbering issue in sane.model creation 2015-09-19 13:39:37 -04:00
Stéphane Voltz f73b2e3dbf fix for #300129
- free memory allocated by sane_get_devices()
2015-08-10 21:38:16 +02: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
Alessandro Zummo b39c12dd7b Define MM_PER_INCH once for all 2009-06-18 15:54:49 +02: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 994bef3b16 reduce gcc pedantic/ansi warnings from 690 to 280 lines, mostly via casts in
str*() calls, also update hpljm1005 sane_cancel code
2008-02-04 01:20:01 +00:00
Julien BLACHE 7ca41423ac OPT_NUM_OPTS must be of type SANE_TYPE_INT. 2007-10-26 14:56:38 +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
Frank Zago 4152fd6811 Fixed warnings. 2002-08-23 03:04:02 +00:00
Petter Reinholdtsen b4a1a513c9 Merge devel (v1.0.3) into head branch. 2000-08-12 15:11:46 +00:00
Petter Reinholdtsen 760423d864 Merged main branch with current DEVEL_1_9. 2000-03-05 13:57:25 +00:00
Petter Reinholdtsen 30ab5e718a Initial revision 1999-08-09 18:06:01 +00:00