summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-05-27 23:24:15 +0000
committerKarl Berry <karl@freefriends.org>2013-05-27 23:24:15 +0000
commit5e36809374cc4fb16b79ff84d40852e9e8e9d946 (patch)
treef7355567c034b7c648a778d6c5774d0c9c39e1c8
parent41ff9b9d22d6f0189c73a9befc3ec22cd487924e (diff)
* liolibext.c (io_popen): must use "r" rather than "rb", or io.popen fails (report from Elie Roux, May 27 18:57:20 CEST 2013, fix from Akira)
git-svn-id: svn://tug.org/texlive/trunk@30739 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/web2c/luatexdir/lua/liolibext.c2
-rwxr-xr-xMaster/bin/i386-linux/luatexbin13241852 -> 27326218 bytes
2 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/lua/liolibext.c b/Build/source/texk/web2c/luatexdir/lua/liolibext.c
index 08c6f0b69b3..51cbc5bd979 100644
--- a/Build/source/texk/web2c/luatexdir/lua/liolibext.c
+++ b/Build/source/texk/web2c/luatexdir/lua/liolibext.c
@@ -199,7 +199,7 @@ static int io_popen(lua_State * L)
char *cmdname = NULL;
int allow = 0;
const char *filename = luaL_checkstring(L, 1);
- const char *mode = luaL_optstring(L, 2, "rb");
+ const char *mode = luaL_optstring(L, 2, "r");
LStream *p = newprefile(L);
if (shellenabledp <= 0) {
diff --git a/Master/bin/i386-linux/luatex b/Master/bin/i386-linux/luatex
index 62bbf18b7e6..549e0ed9152 100755
--- a/Master/bin/i386-linux/luatex
+++ b/Master/bin/i386-linux/luatex
Binary files differ