texlive[43180] Build/source/texk/web2c/luatexdir/lua: luatexdir: sync
commits+kakuto at tug.org
commits+kakuto at tug.org
Fri Feb 10 22:43:21 CET 2017
Revision: 43180
http://tug.org/svn/texlive?view=revision&revision=43180
Author: kakuto
Date: 2017-02-10 22:43:21 +0100 (Fri, 10 Feb 2017)
Log Message:
-----------
luatexdir: sync with the upstream
Modified Paths:
--------------
trunk/Build/source/texk/web2c/luatexdir/lua/luainit.w
trunk/Build/source/texk/web2c/luatexdir/lua/luajitstuff.w
trunk/Build/source/texk/web2c/luatexdir/lua/luastuff.w
Modified: trunk/Build/source/texk/web2c/luatexdir/lua/luainit.w
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/lua/luainit.w 2017-02-10 02:16:39 UTC (rev 43179)
+++ trunk/Build/source/texk/web2c/luatexdir/lua/luainit.w 2017-02-10 21:43:21 UTC (rev 43180)
@@ -1069,6 +1069,10 @@
fix_dumpname();
}
}
+ /* Maybe we can extend this way to the others tables, using luac. */
+ if ( safer_option || ((shellenabledp == 0) || (shellenabledp == 1 && restrictedshell == 1)) ) {
+ (void) luaL_dostring(Luas,"ffi=require[[ffi]]; for k,_ in pairs(ffi) do if k~='gc' then ffi[k]=nil end; end; ffi=nil;");
+ }
}
@ @c
Modified: trunk/Build/source/texk/web2c/luatexdir/lua/luajitstuff.w
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/lua/luajitstuff.w 2017-02-10 02:16:39 UTC (rev 43179)
+++ trunk/Build/source/texk/web2c/luatexdir/lua/luajitstuff.w 2017-02-10 21:43:21 UTC (rev 43180)
@@ -349,10 +349,6 @@
(void) hide_lua_value(L, "lfs", "rmdir");
(void) hide_lua_value(L, "lfs", "mkdir");
}
- /* Maybe we can extend this way to the others tables, using luac. */
- if ( safer_option || ((shellenabledp == 0) || (shellenabledp == 1 && restrictedshell == 1)) ) {
- (void) luaL_dostring(L,"ffi=require[[ffi]]; for k,_ in pairs(ffi) do if k~='gc' then ffi[k]=nil end ;end; ffi=nil;");
- }
/* fprintf(stdout, "\nLuajitTeX default hash function type:%s\n", */
/* jithash_hashname); */
Luas = L;
Modified: trunk/Build/source/texk/web2c/luatexdir/lua/luastuff.w
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/lua/luastuff.w 2017-02-10 02:16:39 UTC (rev 43179)
+++ trunk/Build/source/texk/web2c/luatexdir/lua/luastuff.w 2017-02-10 21:43:21 UTC (rev 43180)
@@ -310,10 +310,6 @@
(void) hide_lua_value(L, "lfs", "rmdir");
(void) hide_lua_value(L, "lfs", "mkdir");
}
- /* Maybe we can extend this way to the others tables, using luac. */
- if ( safer_option || ((shellenabledp == 0) || (shellenabledp == 1 && restrictedshell == 1)) ) {
- (void) luaL_dostring(L,"ffi=require[[ffi]]; for k,_ in pairs(ffi) do if k~='gc' then ffi[k]=nil end; end; ffi=nil;");
- }
Luas = L;
}
More information about the tex-live-commits
mailing list