texlive[68922] Build/source/texk/web2c: relax zlib check to just

commits+karl at tug.org commits+karl at tug.org
Tue Nov 21 00:05:35 CET 2023


Revision: 68922
          https://tug.org/svn/texlive?view=revision&revision=68922
Author:   karl
Date:     2023-11-21 00:05:35 +0100 (Tue, 21 Nov 2023)
Log Message:
-----------
relax zlib check to just major version, following debian

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/ChangeLog
    trunk/Build/source/texk/web2c/luatexdir/ChangeLog
    trunk/Build/source/texk/web2c/luatexdir/luazlib/lzlib.c

Modified: trunk/Build/source/texk/web2c/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/ChangeLog	2023-11-20 22:57:33 UTC (rev 68921)
+++ trunk/Build/source/texk/web2c/ChangeLog	2023-11-20 23:05:35 UTC (rev 68922)
@@ -2,7 +2,7 @@
 
 	* tex.ch,
 	* mf.ch (Undump the dynamic memory): improve fmt/base corruption
-	tests, from DRF.
+	checks, from DRF.
 
 2023-11-19  Andreas Scherer  <https://ascherer.github.io>
 

Modified: trunk/Build/source/texk/web2c/luatexdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/ChangeLog	2023-11-20 22:57:33 UTC (rev 68921)
+++ trunk/Build/source/texk/web2c/luatexdir/ChangeLog	2023-11-20 23:05:35 UTC (rev 68922)
@@ -1,3 +1,12 @@
+2023-11-20  Karl Berry  <karl at freefriends.org>
+
+	* luazlib/lzlib.c: relax zlib version check to just checking
+	the major version, since (it turns out) zlib 1.3 is compatible
+	with 1.2.
+	https://github.com/TeX-Live/texlive-source/pull/62
+	https://lists.debian.org/debian-tex-maint/2010/06/msg00074.html
+	https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581818
+
 2023-10-04  Karl Berry  <karl at freefriends.org>
 
 	* luaoutputdir.test: new test for Lua-level reading from a given

Modified: trunk/Build/source/texk/web2c/luatexdir/luazlib/lzlib.c
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/luazlib/lzlib.c	2023-11-20 22:57:33 UTC (rev 68921)
+++ trunk/Build/source/texk/web2c/luatexdir/luazlib/lzlib.c	2023-11-20 23:05:35 UTC (rev 68922)
@@ -546,7 +546,7 @@
 
     /* make sure header and library version are consistent */
     const char* version = zlibVersion();
-    if (strncmp(version, ZLIB_VERSION, 4))
+    if (strncmp(version, ZLIB_VERSION, 2))
     {
         lua_pushfstring(L, "zlib library version does not match - header: %s, library: %s", ZLIB_VERSION, version);
         lua_error(L);



More information about the tex-live-commits mailing list.