summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/l3kernel/l3file.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-12-20 23:00:54 +0000
committerKarl Berry <karl@freefriends.org>2015-12-20 23:00:54 +0000
commitf4e67bebe6f832d21491cfa7ae1dfa9388899117 (patch)
tree3ecab4ba208e0c7ef72957758d26a48d8fc008b8 /Master/texmf-dist/source/latex/l3kernel/l3file.dtx
parent01185308aa1c1a77c8926a0432aeda02d7a240d9 (diff)
l3 (20dec15)
git-svn-id: svn://tug.org/texlive/trunk@39152 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3file.dtx')
-rw-r--r--Master/texmf-dist/source/latex/l3kernel/l3file.dtx22
1 files changed, 15 insertions, 7 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3file.dtx b/Master/texmf-dist/source/latex/l3kernel/l3file.dtx
index 777f595d34e..1c904d50bf3 100644
--- a/Master/texmf-dist/source/latex/l3kernel/l3file.dtx
+++ b/Master/texmf-dist/source/latex/l3kernel/l3file.dtx
@@ -37,7 +37,7 @@
\documentclass[full]{l3doc}
%</driver>
%<*driver|package>
-\GetIdInfo$Id: l3file.dtx 6037 2015-09-23 12:41:15Z joseph $
+\GetIdInfo$Id: l3file.dtx 6317 2015-12-03 16:25:17Z joseph $
{L3 File and I/O operations}
%</driver|package>
%<*driver>
@@ -690,7 +690,7 @@
{
\group_begin:
\seq_map_inline:Nn \l_char_active_seq
- { \cs_set_nopar:Npx ##1 { \token_to_str:N ##1 } }
+ { \char_set:active:Npx ##1 { \cs_to_str:N ##1 } }
\tl_set:Nx \l_@@_internal_name_tl {#1}
\tl_set:Nx \l_@@_internal_name_tl
{ \tl_to_str:N \l_@@_internal_name_tl }
@@ -1227,18 +1227,26 @@
% transcript file (\cs{c_term_iow}).
% \begin{macrocode}
\cs_new_eq:NN \c_log_iow \c_minus_one
-\cs_new_eq:NN \c_term_iow \c_sixteen
+\int_const:Nn \c_term_iow { 128 }
% \end{macrocode}
% \end{variable}
%
% \begin{variable}{\g_@@_streams_seq}
-% A list of the currently-available input streams to be used as a stack.
-% Things are done differently in format and package mode, so the starting
-% point varies!
+% A list of the currently-available output streams to be used as a stack.
% \begin{macrocode}
\seq_new:N \g_@@_streams_seq
%<*initex>
-\seq_gset_eq:NN \g_@@_streams_seq \g__ior_streams_seq
+\seq_set_eq:NN \g_@@_streams_seq \g__ior_streams_seq
+\cs_if_exist:NT \luatex_directlua:D
+ {
+ \int_compare:nNnT \luatex_luatexversion:D > { 80 }
+ {
+ \int_step_inline:nnnn { 16 } { 1 } { 127 }
+ {
+ \seq_gput_right:Nn \g_@@_streams_seq {#1}
+ }
+ }
+ }
%</initex>
% \end{macrocode}
% \end{variable}