texlive[44518] Build/source/texk/web2c/luatexdir/lua/liolibext.c:

commits+kakuto at tug.org commits+kakuto at tug.org
Wed Jun 7 10:53:29 CEST 2017


Revision: 44518
          http://tug.org/svn/texlive?view=revision&revision=44518
Author:   kakuto
Date:     2017-06-07 10:53:28 +0200 (Wed, 07 Jun 2017)
Log Message:
-----------
luatexdir/lua/liolibext.c; Fix typos which lead to a bug in io.popen() pointed out by gregorio team

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/luatexdir/lua/liolibext.c

Modified: trunk/Build/source/texk/web2c/luatexdir/lua/liolibext.c
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/lua/liolibext.c	2017-06-07 00:21:20 UTC (rev 44517)
+++ trunk/Build/source/texk/web2c/luatexdir/lua/liolibext.c	2017-06-07 08:53:28 UTC (rev 44518)
@@ -365,7 +365,7 @@
         lua_pushliteral(L,"all command execution is disabled");
     } else if (restrictedshell == 0) {
         lua_pushboolean(L,1);
-        lua_pushliteral(L,"all commands are permitted");
+        lua_pushstring(L,filename);
     } else {
         char *safecmd = NULL;
         char *cmdname = NULL;
@@ -374,10 +374,6 @@
                 lua_pushboolean(L,0);
                 lua_pushliteral(L, "specific command execution disabled");
                 break;
-            case 1:
-                lua_pushboolean(L,1);
-                lua_pushstring(L,filename);
-                break;
             case 2:
                 lua_pushboolean(L,1);
                 lua_pushstring(L,safecmd);



More information about the tex-live-commits mailing list