[sane-devel] Sane Release 1.1.0 ?

m. allan noah kitno455 at gmail.com
Thu Nov 6 18:19:09 UTC 2008


On Thu, Nov 6, 2008 at 1:16 PM, Julien BLACHE <jb at jblache.org> wrote:
> "m. allan noah" <kitno455 at gmail.com> wrote:
>
>> In fact, adding a function is worse that i first though. A recent
>> frontend could connect directly to an old backend, inspect the version
>> number just like the standard says, and then call sane_status(). Bam!
>> This never happens with our current design, because old backends are
>> forward compatible.
>
> If you are using 1.1 features, you shouldn't use a 1.0 backend. If
> someone does that, they deserve the nice error message they'll be
> getting from the linker. "if it hurts, don't do it"
>
> See how quite a number of big projects do that nowadays, and it's
> perfectly fine. GTK and GNOME introduce new API calls all the time,
> and if you use them, you need to use the proper version.
>
> There's nothing wrong with that as long as a 1.1 backend works just
> like a 1.0 backend if the app expects a 1.0 backend.

ok, so how can a front-end know that it has connected to a 1.0
backend, since the sane standard states that the minor and point
release number are completely under the control of the backend? You
want to make the minor number do exactly what the major number is
supposed to do!

allan
-- 
"The truth is an offense, but not a sin"



More information about the sane-devel mailing list