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.
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.
This fixes a crash due to a stack corruption.
To reproduce the bug, set a path within the PATH variable, to something,
which exceeds 128 chars. Maybe more chars are needed, to reach the stack
corruption.
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>.
* TODO: Updated. Added point about plustek-share.h using c++ comment
and reminder to check config.in.h. Removed entriy about as6e.c stat
result check.
* backend/as6e.c backend/as63.h: Comitted patch from Eugene Weiss
<eweiss@sas.upenn.edu>. Fixes: Use only DBG (no printfs). Check result
of stat. Add GPL header.