summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/base/ltplain.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-04-15 22:59:15 +0000
committerKarl Berry <karl@freefriends.org>2017-04-15 22:59:15 +0000
commit2e36532bb99dce0d6c5fba60f7adba7e2bfb7c37 (patch)
treecc660828dba6c726fdb074cf8863c67909b4c12b /Master/texmf-dist/source/latex/base/ltplain.dtx
parent3921a22f73049427dc715ed4969798cd28ba9142 (diff)
latex2e (15apr17, ltnews27)
git-svn-id: svn://tug.org/texlive/trunk@43813 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/base/ltplain.dtx')
-rw-r--r--Master/texmf-dist/source/latex/base/ltplain.dtx13
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}}