Ralph Little
3bb5e94d65
artec: strncpy replaced with memcpy()
...
This was a cheeky strncpy hiding what is really the job of memcpy().
2019-12-21 20:57:48 -08:00
Olaf Meeuwissen
23891a2646
.editorconfig: trim trailing whitespace
2017-05-29 21:14:29 +09:00
Olaf Meeuwissen
5b21a24312
artec: fix [-Wunused-but-set-variable] compiler warning
...
The variable is used to assign return values but is not referenced by
anything itself.
2015-12-27 18:38:17 +09:00
Yuri Chornoivan
648d933c56
Fix minor typos in messages and comments
2015-08-31 20:31:54 -04:00
Mark Buda
c591d2b7da
Correction of some spelling/grammatical errors in source code
2014-05-15 22:04:37 -04:00
Julien BLACHE
583e8135f6
artec: fix sane_init() DBG() call wrt function pointer cast to void *
2010-06-23 18:21:34 +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
Chris Bagwell
70f3fdfba4
* acinclude.m4, backend/*.[ch], tools/*.[ch], frontend/*.[ch]:
...
Global replace of u_int??_t with C9x standard based uintxx_t
in order to remove some tricky and overlapping portability logic
from acinclude.m4 and leave it in only m4/stdint.m4.
2009-02-26 03:15:43 +00: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
2dc0cb38bd
separate x-resolution from resolution, and update all backends that use
...
it, to prevent ui change
2008-07-26 03:53:44 +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
af58065746
64 bit platform fixes (bug #300799 ).
2004-10-03 17:34:36 +00:00
Henning Geinitz
9d77463c58
Check for NULL before accessing a pointer. This may fix a segmentation fault
...
mentioned in bug #300339 . Also a compilation warning was fixed.
2003-12-14 19:11:29 +00:00
Henning Geinitz
bbb2a1d88a
Fixed Chris Pinkham's email address.
2003-10-28 19:17:51 +00:00
Henning Geinitz
284ff7a543
Initialize global variables in sane_init.
2003-04-02 15:02:42 +00:00
Henning Geinitz
a2e76b2942
Remove Chris Pinkham as active maintainer because his primary email address
...
bounces, the website is dead and he doesn't respond to mails to other
addresses. Marked email addresses and website as dead. Fixed AT3 misdectection
that was on the TODO list for some time.
2003-04-02 14:40:48 +00:00
Henning Geinitz
8f14a3f2fb
Don't export cap_data.
...
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-21 15:30:40 +00:00
Chris Pinkham
54f2cb2302
2001-05-26 Chris Pinkham <cpinkham@infi.net>
...
* backend/artec.c: Added code in sane_exit() to free memory
malloced in sane_get_devices(). Declared several functions
'static' so they are not exported.
* TODO: removed 'artec' backend from list mentioned in describing
above problems.
2001-05-26 21:50:47 +00:00
Chris Pinkham
9b82d8f9cb
2001-05-16 Chris Pinkham <cpinkham@infi.net>
...
* backend/artec.c: changed #include to use "../include/sane/config.h"
instead of "sane/config.h".
2001-05-16 17:29:41 +00:00
Chris Pinkham
1af3146faa
l2001-04-29 Chris Pinkham <cpinkham@infi.net>
...
* backend/artec.c: Fixed bug causing possible dereference of a NULL
pointer.
* backend/artec.desc: Modified USB entry to say AS6E scanner supported
by SANE AS6E backend.
2001-04-30 02:00:04 +00:00
Chris Pinkham
6fd2eaab21
Removed O_SYNC for posix compatibility. Changed datatype from char to
...
unsigned char to correct overflow error. Changed backend version to v0.5.15.
2000-11-30 01:33: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