summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorLuigi Scarso <luigi.scarso@gmail.com>2018-02-04 10:24:40 +0000
committerLuigi Scarso <luigi.scarso@gmail.com>2018-02-04 10:24:40 +0000
commit7933c36d926982bb0eaebf343b8eab3c911ade6a (patch)
tree16eeb549378bd24e704f3a69fc96e82ac170df49 /Build/source
parent12ecd84858024552f24a58f0acf3a0fed52b3cb9 (diff)
sync with luatex tags/1.07.0
git-svn-id: svn://tug.org/texlive/trunk@46538 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/web2c/luatexdir/lua/luainit.w2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/lua/luainit.w b/Build/source/texk/web2c/luatexdir/lua/luainit.w
index 763ac1a42a5..fb01d83d7b3 100644
--- a/Build/source/texk/web2c/luatexdir/lua/luainit.w
+++ b/Build/source/texk/web2c/luatexdir/lua/luainit.w
@@ -341,7 +341,7 @@ static void parse_options(int ac, char **av)
lua_offset = optind;
luainit = 1;
} else if (ARGUMENT_IS("lua")) {
- startup_filename = optarg;
+ startup_filename = xstrdup(optarg);
lua_offset = (optind - 1);
luainit = 1;
#ifdef LuajitTeX