Date: Fri, 14 Mar 2008 22:19:50 +0000 (UTC) From: Tim Kientzle <kientzle@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libarchive archive.h.in Message-ID: <200803142219.m2EMJoE3039219@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kientzle 2008-03-14 22:19:50 UTC
FreeBSD src repository
Modified files:
lib/libarchive archive.h.in
Log:
Rework the versioning information, hopefully for the last time.
* There are now only two public version identifiers: "number" is
a single integer that combines Major/minor/release in a single
value of the form Mmmmrrr. This is easy to compare against for
checking feature support. "string" is a displayable text string
of the form "libarchive M.mm.rr".
* The number is present both as a macro (version of the installed header)
and a function (version of the shared library). The string form
is available only as a function.
* Retain the older version definitions for now, but mark them all
as deprecated, to disappear in libarchive 3.0 (whenever that happens).
* Rework the various deprecation conditionals to use ARCHIVE_VERSION_NUMBER.
An ancillary goal is to reduce the number of @...@ substitutions that
are required. Someday, I might even be able to avoid build-time
processing of archive.h entirely.
Revision Changes Path
1.49 +37 -41 src/lib/libarchive/archive.h.in
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803142219.m2EMJoE3039219>
