[Dev-luatex] zlib version check
Norbert Preining
preining at logic.at
Thu Aug 2 03:08:36 CEST 2012
On Di, 31 Jul 2012, Ulrich Mueller wrote:
> - LuaTeX will refuse to run after every minor upgrade of zlib (e.g. if
> upgrading from zlib-1.2.6 to zlib-1.2.7) and needs to be rebuild.
Right, .. now that you mention it, we have a patch like that in
Debian since long:
> So, would it be possible to remove the check for the zlib version?
> See patch included below.
Not good, why not check only the first three items, that should be
fine. In Debian we do since long:
@@ -551,7 +551,7 @@
/* make sure header and library version are consistent */
const char* version = zlibVersion();
- if (strncmp(version, ZLIB_VERSION, 5))
+ if (strncmp(version, ZLIB_VERSION, 3))
{
lua_pushfstring(L, "zlib library version does not match - header: %s, library: %s", ZLIB_VERSION, version);
lua_error(L);
Best wishes
Norbert
------------------------------------------------------------------------
Norbert Preining preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan TeX Live & Debian Developer
DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
SNITTERFIELD (n.)
Office noticeboard on which snitters (q.v.), cards saying 'You don't
have to be mad to work here, but if you are it helps !!!' and slightly
smutty postcards from Ibiza get pinned up by snitterbies (q.v.)
--- Douglas Adams, The Meaning of Liff
More information about the dev-luatex
mailing list