texlive[50359] Build/source/texk/web2c/luatexdir: Sync with luatex
commits+lscarso at tug.org
commits+lscarso at tug.org
Tue Mar 12 23:40:01 CET 2019
Revision: 50359
http://tug.org/svn/texlive?view=revision&revision=50359
Author: lscarso
Date: 2019-03-12 23:40:01 +0100 (Tue, 12 Mar 2019)
Log Message:
-----------
Sync with luatex rev. 7114
Modified Paths:
--------------
trunk/Build/source/texk/web2c/luatexdir/lua/luastuff.c
trunk/Build/source/texk/web2c/luatexdir/luatex_svnversion.h
trunk/Build/source/texk/web2c/luatexdir/luazlib/lzlib.c
trunk/Build/source/texk/web2c/luatexdir/luazlib/test_zlib.lua
Modified: trunk/Build/source/texk/web2c/luatexdir/lua/luastuff.c
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/lua/luastuff.c 2019-03-12 22:11:04 UTC (rev 50358)
+++ trunk/Build/source/texk/web2c/luatexdir/lua/luastuff.c 2019-03-12 22:40:01 UTC (rev 50359)
@@ -346,9 +346,7 @@
/*tex preload the pure \LUA\ modules */
luatex_socketlua_open(L);
}
- /*tex |zlib|'s slightly odd calling convention */
luaopen_zlib(L);
- lua_setglobal(L, "zlib");
luaopen_gzip(L);
/*tex our own libraries register themselves */
luaopen_fio(L);
Modified: trunk/Build/source/texk/web2c/luatexdir/luatex_svnversion.h
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/luatex_svnversion.h 2019-03-12 22:11:04 UTC (rev 50358)
+++ trunk/Build/source/texk/web2c/luatexdir/luatex_svnversion.h 2019-03-12 22:40:01 UTC (rev 50359)
@@ -1 +1 @@
-#define luatex_svn_revision 7110
+#define luatex_svn_revision 7112
Modified: trunk/Build/source/texk/web2c/luatexdir/luazlib/lzlib.c
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/luazlib/lzlib.c 2019-03-12 22:11:04 UTC (rev 50358)
+++ trunk/Build/source/texk/web2c/luatexdir/luazlib/lzlib.c 2019-03-12 22:40:01 UTC (rev 50359)
@@ -569,7 +569,7 @@
** Stack:
*/
lua_newtable(L);
- luaL_openlib(L, NULL, zlib, 0);
+ luaL_openlib(L, "zlib", zlib, 1);
/*
** Stack: zlib table
Modified: trunk/Build/source/texk/web2c/luatexdir/luazlib/test_zlib.lua
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/luazlib/test_zlib.lua 2019-03-12 22:11:04 UTC (rev 50358)
+++ trunk/Build/source/texk/web2c/luatexdir/luazlib/test_zlib.lua 2019-03-12 22:40:01 UTC (rev 50359)
@@ -54,7 +54,7 @@
line(' deflate/inflate')
local us
-f = io.open('lzlib.c') -- f = io.open('../all.tar')
+f = io.open('test_zlib.lua') -- f = io.open('../all.tar')
us = f:read('*a')
f:close()
More information about the tex-live-commits
mailing list