kopia lustrzana https://gitlab.com/sane-project/website
107 wiersze
4.4 KiB
HTML
107 wiersze
4.4 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
|
|
"http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>sane-devel: sane.init() and version_code</TITLE>
|
|
<META NAME="Author" CONTENT="Randolph Bentson (bentson@grieg.holmsjoen.com)">
|
|
<META NAME="Subject" CONTENT="sane.init() and version_code">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>sane.init() and version_code</H1>
|
|
<!-- received="Wed Jun 7 22:42:37 2000" -->
|
|
<!-- isoreceived="20000608054237" -->
|
|
<!-- sent="Wed, 7 Jun 2000 22:44:11 -0700" -->
|
|
<!-- isosent="20000608054411" -->
|
|
<!-- name="Randolph Bentson" -->
|
|
<!-- email="bentson@grieg.holmsjoen.com" -->
|
|
<!-- subject="sane.init() and version_code" -->
|
|
<!-- id="200006080544.WAA24045@grieg.holmsjoen.com" -->
|
|
<STRONG>From:</STRONG> Randolph Bentson (<A HREF="mailto:bentson@grieg.holmsjoen.com?Subject=Re:%20sane.init()%20and%20version_code&In-Reply-To=<200006080544.WAA24045@grieg.holmsjoen.com>"><EM>bentson@grieg.holmsjoen.com</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Wed Jun 07 2000 - 22:44:11 PDT
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0062.html">Benjamin Hell: "Problems with sane-scsi"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0060.html">Fernando Barajas: "OT: Relisys Scorpio PRO-C Parallel port scanner"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0068.html">Henning Meier-Geinitz: "Re: sane.init() and version_code"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0068.html">Henning Meier-Geinitz: "Re: sane.init() and version_code"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#61">[ date ]</A>
|
|
<A HREF="index.html#61">[ thread ]</A>
|
|
<A HREF="subject.html#61">[ subject ]</A>
|
|
<A HREF="author.html#61">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
I just discovered that sane_init didn't return a different version_code
|
|
<BR>
|
|
when I upgraded from 1.0.1 to 1.0.2. I traced this back to discover
|
|
<BR>
|
|
a decoupling between lines containing
|
|
<BR>
|
|
VERSION=1.0.2
|
|
<BR>
|
|
found in include/sane/config.h and
|
|
<BR>
|
|
#define SANE_VERSION_CODE(major, minor, build) \
|
|
<BR>
|
|
in include/sane/sane.h The former is used by the frontends and
|
|
<BR>
|
|
backends when displaying a version number to the console, but the
|
|
<BR>
|
|
latter is reported out in the version_code from all the backends
|
|
<BR>
|
|
implementaiton of sane_init.
|
|
<BR>
|
|
<P>The "2" in "1.0.2" appears to be from "V_REV" in configure.in, but
|
|
<BR>
|
|
"build" seems to get only the hard-coded value of "0" in all the backends.
|
|
<BR>
|
|
<P>If the intent of "build" is to distinguish various builds of a given
|
|
<BR>
|
|
backend, shouldn't the various backend drivers use something other
|
|
<BR>
|
|
than "0", and don't we then need some way to get the V_REV out of the
|
|
<BR>
|
|
whole package?
|
|
<BR>
|
|
<P>Randolph Bentson
|
|
<BR>
|
|
<A HREF="mailto:bentson@holmsjoen.com?Subject=Re:%20sane.init()%20and%20version_code&In-Reply-To=<200006080544.WAA24045@grieg.holmsjoen.com>">bentson@holmsjoen.com</A>
|
|
<BR>
|
|
<P><P><PRE>
|
|
--
|
|
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
|
|
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20sane.init()%20and%20version_code&In-Reply-To=<200006080544.WAA24045@grieg.holmsjoen.com>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0062.html">Benjamin Hell: "Problems with sane-scsi"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0060.html">Fernando Barajas: "OT: Relisys Scorpio PRO-C Parallel port scanner"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0068.html">Henning Meier-Geinitz: "Re: sane.init() and version_code"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0068.html">Henning Meier-Geinitz: "Re: sane.init() and version_code"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#61">[ date ]</A>
|
|
<A HREF="index.html#61">[ thread ]</A>
|
|
<A HREF="subject.html#61">[ subject ]</A>
|
|
<A HREF="author.html#61">[ author ]</A>
|
|
</UL>
|
|
<!-- trailer="footer" -->
|
|
<HR NOSHADE>
|
|
<P>
|
|
<SMALL>
|
|
<EM>
|
|
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
|
|
: <EM>Wed Jun 07 2000 - 22:44:30 PDT</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|