summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-05-03 07:31:53 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-05-03 07:31:53 +0000
commit2bbcd4c4f37a857af9346c6d08d77b827186609b (patch)
tree8feb0a4805dcdf04554aee69338bbbd8ac9a77de
parent7c3fb64e886e295b15a81a7b400b56c7efbe736d (diff)
luatexdir: sync with the upstream
git-svn-id: svn://tug.org/texlive/trunk@40860 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/web2c/luatexdir/tex/extensions.w2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/tex/extensions.w b/Build/source/texk/web2c/luatexdir/tex/extensions.w
index a6161dcf243..f787e936092 100644
--- a/Build/source/texk/web2c/luatexdir/tex/extensions.w
+++ b/Build/source/texk/web2c/luatexdir/tex/extensions.w
@@ -525,7 +525,7 @@ void write_out(halfword p)
expand_macros_in_tokenlist(p);
old_setting = selector;
j = write_stream(p);
- if (write_open[j]) {
+ if (file_can_be_written(j)) {
selector = j;
} else if ((j == term_only) && (selector == term_and_log)) {
/* write to the terminal if file isn't open */