diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/base/ltplain.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/base/ltplain.dtx | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/base/ltplain.dtx b/Master/texmf-dist/source/latex/base/ltplain.dtx index 30d2c5c089e..e801cd460fa 100644 --- a/Master/texmf-dist/source/latex/base/ltplain.dtx +++ b/Master/texmf-dist/source/latex/base/ltplain.dtx @@ -32,7 +32,7 @@ %<*driver> % \fi \ProvidesFile{ltplain.dtx} - [2017/01/06 v2.3b LaTeX Kernel (Plain TeX)] + [2017/04/10 v2.3c LaTeX Kernel (Plain TeX)] % \iffalse \documentclass{ltxdoc} \GetFileInfo{ltplain.dtx} @@ -369,14 +369,19 @@ % {Extended stream allocation in luatex (0.85)} % \changes{v2.2b}{2015/11/19} % {Only extend allocation of write streams (see luatex list)} +% \changes{v2.3c}{2017/04/10} +% {Correction to code to skip write18 in luatex} % Skip |\write18| due to its traditional use as a shell-escape. % \begin{macrocode} \ifx\directlua\@undefined \def\newwrite {\e@alloc\write \chardef{\count17}\m@ne\sixt@@n} \else \def\newwrite {\e@alloc\write - {\ifnum\allocationnumber=18 \allocationnumber19\fi - \global\chardef}% + {\ifnum\allocationnumber=18 + \advance\count17\@ne + \allocationnumber\count17 % + \fi + \global\chardef}% {\count17}% \m@ne {128}} @@ -684,7 +689,7 @@ % \begin{macro}{\alloc@} % \begin{macrocode} \def\alloc@#1#2#3#4#5{\global\advance\count1#1\@ne - \ch@ck#1#4#2% make sure there's still room + \ch@ck#1#4#2% \allocationnumber\count1#1% \global#3#5\allocationnumber \wlog{\string#5=\string#2\the\allocationnumber}} |